/* Alleen de homepage.
   Astro: stijlen van de homepage-secties (scoped <style> per component of src/styles/home.css). */

/* ==========================================================================
   Basis: variabelen, reset en typografie
   ========================================================================== */
.file-input:focus-visible + .drop-zone {
  outline: 3px solid #be7d50;
  outline-offset: 3px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.logo-badge {
  width: 53px;
  height: 53px;
  border: 1px solid #e2d6d6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1edee;
}
.logo-badge img {
  width: 43px;
  height: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  height: min(860px, calc(100svh - 38px));
  min-height: 710px;
  position: relative;
  color: white;
  overflow: hidden;
  background: #34312a;
}
.hero-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 48%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(24, 23, 21, 0.8), rgba(24, 23, 21, 0.56) 30%, transparent 66%),
    linear-gradient(0deg, #1617154d, transparent 30%);
}
.hero-content {
  position: relative;
  padding: 160px 0 95px 6.8%;
  max-width: 660px;
}
.hero .eyebrow {
  display: block;
  font-family: var(--sans);
  font-weight: 650;
  color: #f3dedf;
  font-size: 0.8125rem;
  letter-spacing: 0.19em;
  margin-bottom: 22px;
}
.review {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffffff38;
  background: #17141125;
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 0.75rem;
  margin-top: 28px;
  backdrop-filter: blur(6px);
}
.stars {
  color: #efcfab;
  font-size: 0.875rem;
  letter-spacing: 2px;
}
.hero-foot {
  position: absolute;
  bottom: 28px;
  left: 6.8%;
  right: 4.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
}
.hero-foot a {
  letter-spacing: 0.02em;
  font-size: 0.75rem;
}
.hero-foot a span {
  padding-left: 20px;
}
/* Desktop/tablet: inhoud verticaal centreren in de ruimte onder de navbar (100px)
   en boven de hero-foot (± 60px) */
@media (min-width: 701px) {
  .hero {
    display: flex;
    align-items: center;
  }
  .hero-content {
    width: 100%;
    padding-top: 100px;
    padding-bottom: 48px;
  }
}
@media (min-width: 1600px) {
  .hero-content {
    padding-left: 9%;
    max-width: 850px;
  }
}
@media (max-width: 1150px) {
  .hero-content {
    padding-left: 5%;
    max-width: 580px;
  }
}
@media (max-width: 900px) {
  .hero-content {
    padding-top: 80px;
    max-width: 510px;
  }
  .hero-shade {
    background: linear-gradient(90deg, #151311cb, #15131185 37%, transparent 82%);
  }
  .hero-image {
    object-position: 58%;
  }
  .hero {
    min-height: 700px;
  }
}
@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }
  .hero-image {
    position: relative;
    height: 440px;
    object-fit: cover;
    flex-shrink: 0;
    object-position: 83% center;
  }
  .hero-shade {
    height: 440px;
    bottom: auto;
    background: var(--hero-bottom-gradient), linear-gradient(180deg, #211b1b77, transparent 30%);
  }
  .hero-content {
    background: #302827;
    padding: 12px 6% 38px;
    max-width: none;
    padding-top: 28px;
  }
  .hero .eyebrow {
    font-size: 0.6875rem;
    margin-bottom: 18px;
    color: var(--accent);
  }
  .review {
    font-size: 0.6875rem;
    margin-top: 24px;
    gap: 8px;
    padding: 8px 10px;
  }
  .stars {
    font-size: 0.75rem;
  }
  .hero-foot {
    display: none;
  }
  .hero-image,
  .hero-shade {
    height: 330px;
  }
  .hero,
  .hero-content {
    background: var(--base);
    color: var(--ink);
  }
  .hero .outline {
    color: var(--ink);
    border-color: var(--ink);
    background: transparent;
  }
  .hero .outline:hover {
    background: #3029270a;
  }
  .hero .review {
    color: var(--ink);
    border-color: var(--line);
    background: var(--paper);
    backdrop-filter: none;
  }
  .hero .stars {
    color: var(--accent);
  }
}
@media (max-width: 370px) {
  .review {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Belofte en Google reviews
   ========================================================================== */
.home-promise-reviews {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding-top: 0;
}
.home-promise,
.home-review-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.home-promise {
  background: var(--ink);
  color: var(--paper);
}
.home-promise .eyebrow {
  color: #dab8bb;
}
.home-promise .home-display {
  color: var(--paper);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  font-family: var(--serif);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 26px;
}
.home-promise > p:not(.home-display) {
  color: #e4dcda;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.home-promise .text-link {
  color: var(--paper);
  margin-top: 28px;
}
.home-review-card {
  background: var(--paper);
  border: 1px solid var(--line);
}
.home-review-score {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.home-review-score strong {
  font: 400 5.5rem/1.1 var(--serif);
  letter-spacing: -0.05em;
}
.home-review-score span {
  font-size: 0.875rem;
  color: var(--muted);
}
.home-review-stars {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin: 10px 0 20px;
}
.home-review-card > p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.home-review-card .text-link {
  margin-top: auto;
}
.home-promise-reviews h2.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.15em;
}
@media (max-width: 700px) {
  .home-promise-reviews {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .home-promise,
  .home-review-card {
    padding: 28px 24px;
  }
  .home-promise .home-display {
    font-size: 2.1rem;
  }
}

/* ==========================================================================
   Realisaties (projectgalerij)
   ========================================================================== */
.invitation-copy h3 {
  font: 400 clamp(2rem, 3.4vw, 3.4rem)/1.08 var(--serif);
  letter-spacing: -0.025em;
}
@media (max-width: 1150px) and (min-width: 701px) {
  .invitation-copy h3 {
    font-size: 2rem;
  }
}
@media (max-width: 700px) {
  .invitation-copy h3 {
    font-size: 2.47rem;
  }
}
@media (max-width: 380px) {
  .project-invitation .invitation-copy h3 {
    font-size: 2.09rem;
  }
}

/* ==========================================================================
   Diensten
   ========================================================================== */
.services {
  background: #F1ECEF;
}
.service-grid {
  --service-card-bg: #fff;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 22px;
}
.service {
  border: 1px solid #e1d8d5;
  background: var(--service-card-bg);
  display: flex;
  flex-direction: column;
}
.service-media {
  background: #e9e2de;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #756763;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  flex-shrink: 0;
}
.service-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to bottom,
    transparent,
    rgb(255 255 255 / 12%) 20%,
    rgb(255 255 255 / 50%) 50%,
    rgb(255 255 255 / 88%) 80%,
    var(--service-card-bg));
  pointer-events: none;
}
.service-body {
  padding: 22px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  gap: 12px;
}
.service h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0;
}
.service p {
  font-size: 0.875rem;
  margin: 0;
}
.service-action {
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  color: var(--accent);
  font-weight: 600;
}
.service-tag {
  position: absolute;
  z-index: 1;
  right: 12px;
  top: 12px;
  font-size: 0.6875rem;
  background: var(--accent);
  color: white;
  padding: 3px 9px;
}
.service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service > a {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
}
.service > a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.service > a:hover .service-action {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .service-body {
    padding: 18px 20px;
  }
  .service h3 {
    overflow-wrap: anywhere;
    font-size: 1.33rem;
  }
  .service p {
    font-size: 0.8125rem;
  }
  .service-action {
    font-size: 0.75rem;
    gap: 8px;
  }
  .service-tag {
    font-size: 0.625rem;
    right: 8px;
  }
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: 16px;
  }
}

/* ==========================================================================
   Waarom REVEN en prijsvergelijking
   ========================================================================== */
.why {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 9%;
  align-items: center;
}
.values {
  margin-top: 38px;
  display: grid;
  gap: 25px;
}
.values article {
  display: flex;
  gap: 20px;
}
.values article > span {
  color: var(--accent);
  font-size: 0.75rem;
  padding-top: 3px;
}
.values h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.values p {
  font-size: 0.875rem;
  max-width: 380px;
}
.comparison {
  background: var(--paper);
  padding: 42px 36px;
  border: 1px solid #e0d6d6;
}
.comparison .eyebrow {
  font-size: 0.6875rem;
}
.comparison > h3 {
  font: 400 2.5rem/1.15 var(--serif);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.comparison > p {
  font-size: 0.875rem;
}
.comparison figure {
  margin: 30px 0 22px;
}
.comparison figcaption {
  font-size: 0.75rem;
  margin-bottom: 25px;
  color: var(--muted);
}
.bar-row {
  margin-top: 22px;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  margin-bottom: 7px;
}
.bar-label strong {
  font-weight: 600;
}
.bar-track {
  width: 100%;
  height: 14px;
  background: #f1edeb;
  border-left: 1px solid #c6b5b4;
}
.bar {
  height: 100%;
  background: #c6beb8;
}
.bar-row.reven .bar {
  background: var(--accent);
}
.bar-row.reven .bar-label {
  color: var(--accent);
}
.bar-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: #776b68;
  border-top: 1px solid #dbd0cd;
  margin-top: 17px;
  padding-top: 5px;
}
.comparison .chart-note {
  font-size: 0.75rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #dacfd0;
  border-radius: 999px;
  background: #f3eeee;
  color: #665a58;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
}
.trust-pill--green {
  background: #e6f1e7;
  border-color: #b9d1bc;
  color: #2f6b3b;
}
.detail-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}
.detail-pair img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}
@media (max-width: 1150px) {
  .why {
    gap: 5%;
  }
  .comparison {
    padding: 32px 25px;
  }
}
@media (max-width: 900px) {
  .why {
    gap: 45px;
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 700px) {
  .why {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .comparison {
    padding: 30px 24px;
  }
  .values {
    margin-top: 30px;
    gap: 23px;
  }
  .trust-pills {
    margin-bottom: 20px;
  }
  .detail-pair img {
    height: 130px;
  }
  .comparison > h3 {
    font-size: 2.185rem;
  }
}

/* ==========================================================================
   Werkwijze
   ========================================================================== */
.process-photo {
  position: relative;
  height: 210px;
  margin-top: 35px;
  overflow: hidden;
}
.process-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.process-photo p {
  position: absolute;
  bottom: 20px;
  left: 24px;
  background: var(--paper);
  padding: 10px 16px;
  color: var(--ink);
  font: italic 1.3rem var(--serif);
}
@media (min-width: 701px) {
  .process-photo {
    height: min(52vw, 620px);
    background: var(--paper);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .process-photo img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    margin-inline: auto;
  }
}
@media (max-width: 700px) {
  .process-photo {
    height: 170px;
  }
  .process-photo p {
    bottom: 14px;
    left: 14px;
    font-size: 1.1rem;
    padding: 9px 12px;
  }
}

/* ==========================================================================
   Veelgestelde vragen
   ========================================================================== */
#vragen .faq-photo {
  display: block;
  width: min(100%, 300px);
  height: auto;
  aspect-ratio: 1;
  margin: 32px auto 0;
  object-fit: cover;
  mask: url("/assets/reven-beeldmerk-masker.svg") center / contain no-repeat;
}

.home-seo-copy p a,
#werkwijze .steps p a,
#vragen .faq-list p a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* ==========================================================================
   Adviezen
   ========================================================================== */
.advice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.advice-grid article {
  border-top: 1px solid #bea9aa;
  padding-top: 20px;
}
.advice-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--accent);
  font-size: 0.6875rem;
  letter-spacing: 0.07em;
}
.advice-meta span {
  color: var(--muted);
  letter-spacing: 0;
}
.advice h3 {
  font: 400 1.8rem/1.25 var(--serif);
  margin: 30px 0 18px;
  max-width: 330px;
  min-height: 105px;
}
.advice article p {
  font-size: 0.875rem;
  max-width: 330px;
}
.advice-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 22px;
}
@media (max-width: 900px) {
  .advice-grid {
    gap: 22px;
  }
  .advice h3 {
    font-size: 1.5rem;
    min-height: 100px;
  }
}
@media (max-width: 700px) {
  .advice-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .advice h3 {
    min-height: 0;
    max-width: none;
    margin: 22px 0 13px;
    font-size: 1.71rem;
  }
  .advice article p {
    max-width: none;
  }
  .advice-photo {
    height: 190px;
  }
}

/* ==========================================================================
   Offerteformulier en contact
   ========================================================================== */
.photo-field {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
  min-width: 0;
}
.photo-field legend {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.photo-field legend small {
  color: var(--muted);
  font-weight: 400;
}
.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  margin: 0;
  padding: 20px;
  border: 1px dashed #bdaeb0;
  border-radius: 3px;
  background: #f8f5f4;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--accent);
  background: #f1e7e8;
  transform: translateY(-1px);
}
.upload-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
  border-radius: 50%;
  background: #efe4e5;
  color: var(--accent);
}
.upload-icon b {
  position: absolute;
  right: -3px;
  bottom: -3px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.75rem;
  line-height: 1;
}
.drop-zone strong {
  font-size: 0.8125rem;
}
.drop-zone > span:not(.upload-icon) {
  font-size: 0.75rem;
  color: var(--muted);
}
.upload-hint {
  margin: 7px 0 0;
  color: #786c69;
  font-size: 0.6875rem;
  line-height: 1.45;
}
.photo-previews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 11px;
}
.photo-preview {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 1px solid #ded3d1;
  border-radius: 3px;
  overflow: hidden;
  background: white;
}
.photo-preview img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.photo-preview figcaption {
  padding: 5px 7px;
  color: #6f6461;
  font-size: 0.625rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.photo-remove {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 1px solid #ffffffad;
  border-radius: 50%;
  background: #302827dc;
  color: white;
  font-size: 1rem;
  line-height: 1;
  box-shadow: 0 2px 8px #30282733;
}
.photo-remove:hover {
  background: var(--accent);
}
.file-feedback {
  min-height: 20px;
  margin-top: 6px;
  color: #49634e;
  font-size: 0.6875rem;
}
.file-feedback.is-error,
.form-error {
  color: #a12f39;
}
.form-error {
  min-height: 20px;
  margin: 2px 0 8px;
  font-size: 0.75rem;
}
.response-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: #c9bebc;
  font-size: 0.75rem;
}
.contact-form .response-time {
  color: #675c59;
}
.response-time > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #57a564;
  box-shadow: 0 0 0 3px #57a56420;
}
@media (max-width: 700px) {
  .drop-zone {
    min-height: 135px;
    padding: 18px 12px;
  }
  .photo-previews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Desktopwerkwijze: fotografie naast de vier stappen. */
@media (min-width: 1001px) {
  #werkwijze { display:grid; grid-template-columns:.9fr 1.1fr; gap:40px clamp(40px,6vw,88px); align-items:center; }
  #werkwijze > .section-head { grid-column:1/-1; margin-bottom:0; }
  #werkwijze > .process-photo { margin:0; width:100%; height:clamp(480px,42vw,620px); background:transparent; display:block; }
  #werkwijze > .process-photo img { width:100%; height:100%; object-fit:cover; object-position:center; margin:0; }
  #werkwijze > .steps { grid-template-columns:1fr; gap:28px; margin:0; }
  #werkwijze > .steps article { display:grid; grid-template-columns:48px minmax(0,1fr); column-gap:20px; padding-top:24px; }
  #werkwijze > .steps article > span { grid-row:1/3; line-height:1.1; }
  #werkwijze > .steps h3 { margin:0 0 10px; font-size:1.05rem; }
  #werkwijze > .steps p { margin:0; line-height:1.8; max-width:52ch; }
}

/* Lokale renovatie-inhoud in de bestaande redactionele REVEN-stijl. */
.home-seo-editorial{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,88px);align-items:center;}
.home-seo-copy{min-width:0;}.home-seo-copy p{font-size:1rem;line-height:1.8;color:var(--muted);max-width:62ch;margin:0 0 20px;}
.home-seo-copy strong{font-weight:600;color:var(--ink);}.home-seo-copy p a{text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px;}.home-seo-copy .text-link,.home-seo-copy>.button{margin-top:8px;}
.home-seo-editorial .home-section-display,.home-seo-local .home-section-display{font:400 clamp(2.2rem,3.5vw,3.65rem)/1.13 var(--serif);letter-spacing:-.03em;margin:0 0 28px;overflow-wrap:normal;hyphens:none;text-wrap:balance;}
.home-seo-placeholder{margin:0;min-width:0;aspect-ratio:4/5;background:#e8e0e1;border:1px solid var(--line);padding:28px;display:grid;align-items:stretch;}
.home-seo-placeholder>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:24px;width:100%;color:var(--muted);}
.home-seo-placeholder span:first-child{font-size:.625rem;letter-spacing:.14em;}.home-seo-placeholder .placeholder-cross{font:400 4rem/1 var(--serif);color:#ad9294;align-self:center;margin:auto;}.home-seo-placeholder strong{font:400 clamp(1.6rem,2.3vw,2.25rem)/1.15 var(--serif);color:var(--ink);}.home-seo-placeholder small{font-size:.75rem;}
.home-seo-editorial-reverse{background:var(--paper);}.home-seo-editorial-reverse .home-seo-copy{grid-column:2;grid-row:1;}.home-seo-editorial-reverse .home-seo-placeholder{grid-column:1;grid-row:1;}
.home-seo-local{background:var(--paper);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,88px);align-items:start;}
@media(max-width:700px){.home-seo-editorial,.home-seo-local{grid-template-columns:1fr;gap:28px;}.home-seo-editorial .home-section-display,.home-seo-local .home-section-display{font-size:2.15rem;margin-bottom:24px;}.home-seo-copy p{font-size:.9375rem;line-height:1.8;}.home-seo-placeholder{aspect-ratio:4/3;padding:24px;}.home-seo-editorial-reverse .home-seo-copy,.home-seo-editorial-reverse .home-seo-placeholder{grid-column:auto;grid-row:auto;}.home-seo-local .home-section-display{margin-bottom:0;}}

@media(max-width:700px){.contact-intro,.contact-form{min-width:0;}}

/* The established small sans-serif SEO headings and large editorial titles. */
main h2.eyebrow,main h3.eyebrow,.home-section-display>.eyebrow{display:block;font-family:var(--sans);font-size:.75rem;font-weight:650;line-height:1.6;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);margin:0 0 20px;}
.home-section-display{font:400 clamp(2.4rem,4.5vw,4.1rem)/1.12 var(--serif);letter-spacing:-.035em;color:var(--ink);margin:0 0 26px;}
.home-seo-copy>.home-section-display{font:400 clamp(2.4rem,4.5vw,4.1rem)/1.12 var(--serif);letter-spacing:-.035em;color:var(--ink);margin:0 0 26px;max-width:none;}
#contact .contact-intro>.home-section-display{font:400 clamp(3rem,5.3vw,5rem)/1.12 var(--serif);letter-spacing:-.035em;color:var(--paper);margin:0 0 26px;}
#contact h2.eyebrow{color:#dab8bb;}.home-promise h2.eyebrow{color:#dab8bb;}
@media(max-width:700px){main h2.eyebrow,main h3.eyebrow,.home-section-display>.eyebrow{font-size:.6875rem;margin-bottom:15px;}.home-section-display,.home-seo-copy>.home-section-display,.home-seo-editorial .home-section-display,.home-seo-local .home-section-display{font-size:2.47rem;line-height:1.12;margin-bottom:24px;}#contact .contact-intro>.home-section-display{font-size:clamp(2.3rem,10vw,3.61rem);}}

/* FAQ display title must override the generic paragraph styling. */
#vragen .home-section-display{font:400 clamp(2.4rem,4.5vw,4.1rem)/1.12 var(--serif);letter-spacing:-.035em;color:var(--ink);margin:0 0 26px;}
@media(max-width:700px){#vragen .home-section-display{font-size:2.47rem;margin-bottom:24px;}}

.home-local-placeholder{aspect-ratio:4/3;margin-top:32px;}

/* Supplied photographs keep their original aspect ratios. */
.home-renovation-photo{margin:0;min-width:0;align-self:center;}
.home-renovation-photo img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;position:static;}
.home-local-photo{margin-top:32px;}
.home-seo-editorial-reverse .home-renovation-photo{grid-column:1;grid-row:1;}
@media(max-width:700px){.home-seo-editorial-reverse .home-renovation-photo{grid-column:auto;grid-row:auto;}}

/* The introductory renovation photo can break out of the text container. */
@media(min-width:1001px){
  #renovatiewerken-antwerpen{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);padding-right:0;column-gap:4vw;}
  #renovatiewerken-antwerpen>.home-renovation-photo{width:100%;}
}
@media(max-width:700px){
  #renovatiewerken-antwerpen>.home-renovation-photo{width:calc(100% + 12vw);max-width:none;margin-inline:-6vw;}
}

/* Homepage photography: original proportions with room to break the grid. */
:root{--home-photo-bleed:max(6.8vw,calc((100vw - 1400px)/2));}
.advice-photo,.detail-pair img{height:auto;aspect-ratio:auto;object-fit:contain;}
#realisaties .project:not(.project-invitation) .project-image{aspect-ratio:auto;}
#realisaties .project:not(.project-invitation) .project-image img{position:static;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
@media(min-width:1001px){
  .home-seo-editorial-reverse{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);padding-left:0;column-gap:4vw;}
  #werkgebied .home-local-photo,#waarom .detail-pair,#werkwijze>.process-photo{width:calc(100% + var(--home-photo-bleed));max-width:none;margin-left:calc(-1 * var(--home-photo-bleed));}
  #werkwijze>.process-photo{height:auto;display:block;background:transparent;}
  #werkwijze>.process-photo img{width:100%;height:auto;object-fit:contain;}
  #diensten .service-grid{gap:28px;}
}
@media(min-width:1001px) and (max-width:1150px){:root{--home-photo-bleed:5vw;}}
@media(max-width:700px){
  .home-renovation-photo,#renovatiewerken-antwerpen>.home-renovation-photo,.process-photo,.detail-pair,.advice-photo{width:calc(100% + 12vw);max-width:none;margin-left:-6vw;margin-right:-6vw;}
  .home-renovation-photo img,.advice-photo,.detail-pair img,.process-photo img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;}
  .advice-photo{width:calc(100% + 12vw);}
  .process-photo{height:auto;}
  .detail-pair{grid-template-columns:1fr;gap:16px;}
  #realisaties .project-grid{padding-inline:0;scroll-padding-inline:0;}
  #realisaties .project-grid .project{flex-basis:100%;}
  #realisaties .project-caption{padding-inline:6vw;}
}

#realisaties .gallery-controls button {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 0;
  border-radius: 0;
  font-size: 22px;
  cursor: pointer;
}
#realisaties .gallery-controls button:hover:enabled {
  border-color: var(--accent);
  background: var(--paper);
  color: var(--accent);
}
#realisaties .gallery-controls button:disabled {
  cursor: default;
}
#realisaties .gallery-controls button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
#realisaties .project-grid {
  scrollbar-width: none;
}
#realisaties .project-grid::-webkit-scrollbar {
  display: none;
}

/* Keep the two card collections visually uniform. */
#realisaties .project .project-image{aspect-ratio:.87;}
#realisaties .project:not(.project-invitation) .project-image{aspect-ratio:.87;}
#realisaties .project:not(.project-invitation) .project-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
#adviezen .advice-photo{width:100%;max-width:100%;height:200px;object-fit:cover;margin-left:0;margin-right:0;}
@media(max-width:700px){
  #realisaties .project-grid{padding-inline:6vw;scroll-padding-inline:6vw;}
  #realisaties .project-grid .project{flex-basis:80vw;}
  #realisaties .project .project-image,#realisaties .project:not(.project-invitation) .project-image{aspect-ratio:.95;}
  #realisaties .project-caption{padding-inline:0;}
  #adviezen .advice-photo{height:190px;}
}

/* More restrained desktop scale for the three portrait photographs. */
@media(min-width:1001px){
  .home-seo-editorial-reverse{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-left:var(--home-photo-bleed);column-gap:clamp(40px,6vw,88px);}
  .home-seo-editorial-reverse>.home-renovation-photo{width:min(100%,420px);justify-self:center;}
  #werkwijze>.process-photo{width:min(100%,400px);margin-left:0;justify-self:center;}
  #werkgebied .home-local-photo{width:min(100%,420px);margin-left:0;}
}

@media(min-width:1001px){.home-seo-editorial-reverse>.home-renovation-photo{width:100%;max-width:none;justify-self:stretch;align-self:start;}}

@media(min-width:1001px){#werkwijze>.process-photo{width:100%;max-width:none;margin-left:0;justify-self:stretch;}}
