/* ==========================================================================
   ThermoSolutions Wijkactie — Design System v3
   Pixel-perfect match op XD-design (artboard "Web 1920 – 2")
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens — exact waarden uit XD
   -------------------------------------------------------------------------- */

:root {
  /* Kleuren */
  --teal:       #0a6b70;   /* primair teal — sectiebg, koppen */
  --teal-dark:  #1e4650;   /* donker teal — accordion, footer */
  --teal-light: #29aaab;   /* licht teal — labels, actieve kaart */
  --orange:     #f5911f;   /* CTA oranje */
  --orange-dk:  #e07d0e;
  --pink:       #d91560;   /* roze accent — sticker, CTA */
  --white:      #ffffff;
  --text:       #1a1a1a;
  --gray:       #707070;

  /* Typografie */
  --font: fieldwork, sans-serif;

  /* Border-radii — exact uit XD */
  --r-pill:    100px;
  --r-section: 30px;    /* sectiebg */
  --r-card:    28px;    /* kaartjes */
  --r-sm:      6px;

  /* Schaduw */
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 8px 40px rgba(0, 0, 0, 0.14);

  /* Layout */
  --max-w:   1220px;   /* 1495 − 2×137 = 1221px */
  --pad-x:   1.25rem;

  /* Hero overlay */
  --hero-overlay: rgba(0, 60, 68, 0.55);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; overflow-x: clip; }

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;        /* blokkeert horizontaal scrollen, ook bij uitstekende elementen */
}

img, picture { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --------------------------------------------------------------------------
   3. Container
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

@media (min-width: 768px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1300px) { .container { padding-inline: 2.5rem; } }

/* --------------------------------------------------------------------------
   4. Overline labels — "Alleen maar voordeel.", "Buurtcollectief", etc.
   -------------------------------------------------------------------------- */

.overline {
  display: block;
  font-size: 1.25rem;         /* 20px */
  font-weight: 400;
  color: var(--teal-light);
  margin-bottom: 0.5rem;
}

.overline--white { color: var(--teal-light); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  min-height: 52px;
  white-space: nowrap;
}

.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dk); }

.btn--pink { background: var(--pink); color: var(--white); }
.btn--pink:hover { background: #b5004c; }

.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header .container {
  display: flex;
  align-items: center;
  height: 64px;
}

.header__logo-img {
  height: 26px;
  width: auto;
}

@media (min-width: 768px) {
  .header .container { height: 72px; }
  .header__logo-img { height: 30px; }   /* XD-ratio: logo ~0.45 van header */
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 560px;
  background-color: var(--teal);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  flex: 1;
  padding-block: 3rem 2.5rem;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

/* Pills */
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.125rem;
  border-radius: var(--r-pill);
  font-size: 1.125rem;       /* 18px ≈ 28px XD scaled */
  font-weight: 700;
  line-height: 1;
}

@keyframes pill-urgentie {
  0%, 60%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 21, 96, 0);
  }
  72% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(217, 21, 96, 0.28);
  }
  88% {
    transform: scale(1.03);
    box-shadow: 0 0 0 16px rgba(217, 21, 96, 0);
  }
}

.pill--pink {
  background: var(--pink);
  color: var(--white);
  animation: pill-urgentie 4s ease-in-out 2s infinite;
}
.pill--grey { background: var(--teal-light); color: var(--white); }  /* XD: solid #29aaab */

/* Hero heading */
.hero__heading {
  font-size: clamp(2.25rem, 5.5vw, 5rem); /* 36px → 80px */
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0;
  max-width: 20ch;          /* breed genoeg voor "Extra wijkvoordeel." op 1 regel -> precies 2 regels via <br> */
}

/* Widget card */
.hero__widget {
  background: var(--white);
  border-radius: var(--r-section);
  box-shadow: var(--shadow-lg);
  overflow: visible;            /* dropdown 'Scan mijn huis' niet afknippen */
  width: 100%;
  scroll-margin-top: 88px;      /* sticky header (64-72px) + ademruimte bij #hero-widget-anker */
}

.widget-card {
  padding: 1.5rem 1.5rem 0;
}

.widget-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.875rem;
  line-height: 1.25;
}

.widget-card__list {
  list-style: none;
  margin-bottom: 1rem;
}

.widget-card__list li {
  padding-left: 1.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230a6b70' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.1rem;
  background-position: 0 0.2rem;
}

.widget-card__subtitle {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

hz-embed {
  display: block;
  padding: 0 1.5rem 1.5rem;
}

/* --------------------------------------------------------------------------
   7b. Advies-widget — meerstaps "Vraag vrijblijvend adviesgesprek aan"
   -------------------------------------------------------------------------- */

.ts-advies { display: block; padding: 0 1.5rem 1.5rem; }
.ts-advies__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Voortgang */
.ts-advies__progress {
  display: flex; gap: 0.25rem; list-style: none; margin: 0 0 1.25rem; padding: 0;
}
.ts-advies__progress-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  font-size: 0.6875rem; font-weight: 600; color: var(--gray);
  text-align: center; position: relative; transition: color 0.2s;
}
.ts-advies__progress-item span {
  display: flex; align-items: center; justify-content: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  background: #ededed; color: var(--gray);
  font-size: 0.8125rem; font-weight: 700; transition: background 0.2s, color 0.2s;
}
.ts-advies__progress-item::before {
  content: ""; position: absolute; top: 0.875rem; right: 50%; width: 100%; height: 2px;
  background: #ededed; z-index: 0;
}
.ts-advies__progress-item:first-child::before { display: none; }
.ts-advies__progress-item span { position: relative; z-index: 1; }
.ts-advies__progress-item.is-active { color: var(--text); }
.ts-advies__progress-item.is-active span { background: var(--orange); color: var(--white); }
.ts-advies__progress-item.is-done span { background: var(--teal-light); color: var(--white); }
.ts-advies__progress-item.is-done::before { background: var(--teal-light); }

/* Stappen */
.ts-advies__step { animation: ts-advies-in 0.3s ease; }
@keyframes ts-advies-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ts-advies__step-title {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 0.35rem; line-height: 1.25;
}
.ts-advies__step-sub {
  font-size: 0.875rem; color: var(--gray); margin-bottom: 1.1rem; line-height: 1.45;
}

/* Velden */
.ts-advies__row { display: flex; gap: 0.6rem; margin-bottom: 0.75rem; }
.ts-advies__field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 0.75rem; }
.ts-advies__field--full { width: 100%; }
.ts-advies__field--pc { flex: 1 1 auto; }
.ts-advies__field--nr { flex: 0 0 5rem; }
.ts-advies__field--toev { flex: 0 0 4.5rem; }
.ts-advies__field > span {
  font-size: 0.8125rem; font-weight: 600; color: var(--text);
}
.ts-advies__field input {
  width: 100%; font-family: var(--font); font-size: 1rem; color: var(--text);
  padding: 0.7rem 0.9rem; border: 1.5px solid #dcdcdc; border-radius: var(--r-sm);
  background: var(--white); transition: border-color 0.15s, box-shadow 0.15s;
}
.ts-advies__field input::placeholder { color: #b0b0b0; }
.ts-advies__field input:focus {
  outline: none; border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 145, 31, 0.18);
}

/* Knoppen + acties */
.ts-advies__next, .ts-advies__submit { width: 100%; }
.ts-advies .btn { position: relative; }
.ts-advies__actions {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem;
}
.ts-advies__actions .btn { flex: 1; }
.ts-advies__back {
  background: none; border: none; cursor: pointer; padding: 0.5rem 0.25rem;
  font-family: var(--font); font-size: 0.875rem; font-weight: 600; color: var(--gray);
  flex: 0 0 auto;
}
.ts-advies__back:hover { color: var(--text); text-decoration: underline; }

/* Spinner */
.ts-advies__spinner {
  position: absolute; top: 50%; left: 50%; width: 1.1rem; height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem; border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: var(--white); border-radius: 50%; animation: ts-advies-spin 0.7s linear infinite;
}
@keyframes ts-advies-spin { to { transform: rotate(360deg); } }

/* Fout */
.ts-advies__error {
  font-size: 0.8125rem; color: var(--pink); font-weight: 600;
  margin: 0.1rem 0 0.5rem;
}

/* Woningdetail-kaart */
.ts-advies__woning {
  background: #f6f8f8; border: 1.5px solid #e2eaea; border-radius: var(--r-card);
  padding: 1.1rem 1.25rem; margin-bottom: 0.5rem;
}
.ts-advies__woning-adres { font-size: 1.0625rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.ts-advies__woning-adres span { font-weight: 400; font-size: 0.9375rem; color: var(--gray); }
.ts-advies__woning-grid {
  display: flex; gap: 0.6rem; margin: 0.9rem 0 0;
}
.ts-advies__woning-row {
  flex: 1; background: var(--white); border-radius: var(--r-sm);
  padding: 0.6rem 0.75rem; text-align: center;
}
.ts-advies__woning-row dt { font-size: 0.6875rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.03em; }
.ts-advies__woning-row dd { font-size: 1.1875rem; font-weight: 700; color: var(--teal); margin-top: 0.15rem; }
.ts-advies__woning-note { font-size: 0.75rem; color: var(--gray); margin-top: 0.8rem; line-height: 1.4; }

/* Energielabel-badge */
.ts-advies__label-wrap { display: flex; align-items: center; gap: 0.6rem; margin-top: 0.9rem; }
.ts-advies__label-cap {
  font-size: 0.6875rem; font-weight: 600; color: var(--gray);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.ts-advies__label {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 1.65rem; padding: 0 0.6rem;
  border-radius: var(--r-sm); font-weight: 800; font-size: 0.9375rem;
  color: var(--white); background: var(--gray); letter-spacing: 0.01em;
}
.ts-advies__label--A { background: #00a651; }
.ts-advies__label--B { background: #4cb847; }
.ts-advies__label--C { background: #a6ce39; }
.ts-advies__label--D { background: #fff200; color: #1a1a1a; }
.ts-advies__label--E { background: #fdb913; color: #1a1a1a; }
.ts-advies__label--F { background: #f37021; }
.ts-advies__label--G { background: #ed1c24; }
.ts-advies__label--leeg {
  background: #eceeee; color: var(--gray); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0; padding: 0 0.7rem;
}

/* Maatregel-keuze */
.ts-advies__maatregelen { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ts-advies__maatregel {
  display: flex; align-items: center; gap: 0.85rem; cursor: pointer;
  padding: 0.8rem 1rem; border: 1.5px solid #dcdcdc; border-radius: var(--r-card);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.ts-advies__maatregel:hover { border-color: var(--orange); }
.ts-advies__maatregel input { position: absolute; opacity: 0; pointer-events: none; }
.ts-advies__maatregel-icon {
  flex: 0 0 auto; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f1f4f4; color: var(--teal); transition: background 0.15s, color 0.15s;
}
.ts-advies__maatregel-icon svg { width: 1.25rem; height: 1.25rem; }
.ts-advies__maatregel-label {
  flex: 1; font-size: 0.9375rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 0.5rem;
}
.ts-advies__tag {
  font-style: normal; font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--white); background: var(--orange);
  padding: 0.15rem 0.45rem; border-radius: var(--r-pill);
}
.ts-advies__maatregel-check {
  flex: 0 0 auto; width: 1.25rem; height: 1.25rem; border-radius: 5px;
  border: 2px solid #cfcfcf; transition: border-color 0.15s, background 0.15s;
}
.ts-advies__maatregel.is-selected {
  border-color: var(--orange); background: rgba(245, 145, 31, 0.06);
  box-shadow: 0 0 0 1px var(--orange) inset;
}
.ts-advies__maatregel.is-selected .ts-advies__maatregel-icon { background: var(--orange); color: var(--white); }
.ts-advies__maatregel.is-selected .ts-advies__maatregel-check {
  border-color: var(--orange); background: var(--orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}
.ts-advies__maatregel input:focus-visible + .ts-advies__maatregel-icon {
  box-shadow: 0 0 0 3px rgba(245, 145, 31, 0.35);
}

/* Privacy */
.ts-advies__privacy { font-size: 0.6875rem; color: var(--gray); margin-top: 0.9rem; line-height: 1.45; }
.ts-advies__privacy a { color: var(--teal); text-decoration: underline; }

/* Bedankt */
.ts-advies__step--done { text-align: center; padding-top: 0.5rem; }
.ts-advies__done-icon {
  width: 3.5rem; height: 3.5rem; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--teal-light); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  animation: ts-advies-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ts-advies__done-icon svg { width: 1.75rem; height: 1.75rem; }
@keyframes ts-advies-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ts-advies__step, .ts-advies__done-icon { animation: none; }
  .ts-advies__spinner { animation-duration: 1.4s; }
}

/* Tablet + desktop (≥768): hero 2-koloms zoals XD-design */
@media (min-width: 768px) {
  .hero__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }
  .hero__content {
    flex: 1;
    min-width: 0;                              /* voorkomt flex-overflow */
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
  }
  .hero__widget {
    flex: 0 0 min(440px, 48%);
    width: min(440px, 48%);
    align-self: flex-start;
  }
  .hero__heading {
    white-space: nowrap;                       /* breekt alleen bij de <br> -> precies 2 regels */
    font-size: clamp(1.75rem, 3.6vw, 4rem);    /* schaalt mee zodat "Extra wijkvoordeel." in 1 regel past */
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .hero__inner { gap: 3rem; }
  .hero__widget {
    flex: 0 0 min(460px, 46%);
    width: min(460px, 46%);
  }
}

@media (min-width: 1200px) {
  .hero__widget {
    flex: 0 0 480px;
    width: 480px;
  }
}

/* --------------------------------------------------------------------------
   8. Gemeente sticker (onderkant hero → boven gemeente-sectie)
   -------------------------------------------------------------------------- */

/* Sticker overlapt onderkant hero (XD: -4.5° gekanteld, links uitgelijnd) */
.gemeente-sticker {
  position: absolute;
  z-index: 5;
  left: max(var(--pad-x), calc((100% - var(--max-w)) / 2 + var(--pad-x)));
  bottom: 0;                    /* op hero-rand; translateY laat 'm straddelen (breedte-onafhankelijk) */
  transform: translateY(42%) rotate(-4.5deg);
  transform-origin: left center;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
}

.gemeente-sticker__label-wrap {
  background: var(--teal-light);
  color: var(--white);
  font-size: 1.125rem;          /* mobile: 18px */
  font-weight: 600;
  padding: 0.3rem 1rem 0.35rem;
  align-self: flex-start;
}

.gemeente-sticker__naam-wrap {
  background: var(--pink);
  color: var(--white);
  font-size: 1.875rem;          /* mobile: 30px */
  font-weight: 700;
  padding: 0.2rem 1.25rem 0.4rem;
  margin-left: -0.5rem;
}

@media (min-width: 768px) {
  .gemeente-sticker { bottom: 1rem; }
  .gemeente-sticker__label-wrap { font-size: 1.625rem; }
  .gemeente-sticker__naam-wrap { font-size: 3rem; }
}

/* --------------------------------------------------------------------------
   9. Gemeente sectie (wit bg, tekst + euro-cirkels)
   -------------------------------------------------------------------------- */

.gemeente-sectie {
  background: var(--white);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .gemeente-sectie {
    padding-top: 4rem;
    padding-bottom: 8rem;        /* desktop: meer wit onder de euro-munten */
  }
}

.gemeente-sectie__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gemeente-sectie__heading {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem); /* 28px → 50px */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.gemeente-sectie__tekst p {
  font-size: 1.125rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}

.meer-weten-link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 0.75rem;
}
.meer-weten-link:hover { color: var(--teal-dark); }

/* Euro-munten — 4 echte XD-munten, afwisselend licht/donker, zigzag-cascade */
.euro-icons {
  position: relative;
  min-height: 280px;            /* mobile: compacter */
  max-width: 320px;             /* mobile: voorkomt out-of-frame schaalpunten */
  margin-inline: auto;
}

.euro-icon {
  position: absolute;
  display: block;
  height: auto;
}

/* Elke munt eigen kanteling — afwisselend links/rechts, zoals design */
.euro-icon--1 { width: 41%; top: 4%;  right: 17%; z-index: 1; transform: rotate(-15deg); }
.euro-icon--2 { width: 54%; top: 22%; right: 36%; z-index: 2; transform: rotate(12deg);  }
.euro-icon--3 { width: 51%; top: 44%; right: 0;   z-index: 3; transform: rotate(-12deg); }
.euro-icon--4 { width: 39%; top: 68%; right: 24%; z-index: 4; transform: rotate(15deg);  }

@media (min-width: 768px) {
  .gemeente-sectie__inner { flex-direction: row; align-items: flex-start; gap: 4rem; } /* bovenaan uitlijnen; wit onder munten */
  .gemeente-sectie__tekst { flex: 1; }
  .gemeente-sectie__icons { flex: 0 0 320px; }
  .euro-icons { min-height: 260px; max-width: none; }

  .euro-icon--1 { width: 132px; top: 10px;  right: 55px;  transform: rotate(-15deg); }
  .euro-icon--2 { width: 174px; top: 80px;  right: 115px; transform: rotate(12deg);  }
  .euro-icon--3 { width: 162px; top: 150px; right: 0;     transform: rotate(-12deg); }
  .euro-icon--4 { width: 124px; top: 255px; right: 78px;  transform: rotate(15deg);  }
}

/* --------------------------------------------------------------------------
   10. Wij geloven sectie (teal bg, foto + accordion)
   -------------------------------------------------------------------------- */

.geloven-sectie {
  background: var(--teal);
  padding-block: 5rem;
}

.geloven-sectie__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.geloven-sectie__foto {
  position: relative;
  border-radius: var(--r-section);
  overflow: hidden;
  max-width: 100%;
  flex-shrink: 0;
}

.geloven-sectie__foto img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--r-section);
  display: block;
}

.geloven-sectie__foto .btn--pink {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

.geloven-sectie__tekst { color: var(--white); }

.geloven-sectie__tekst h2 {
  font-size: clamp(1.5rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 2rem;
}

.geloven-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.geloven-item__heading {
  font-size: 1.5rem;           /* 24px ≈ 38px XD */
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.geloven-item p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.geloven-item a {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-light);
  text-decoration: none;
  margin-top: 0.25rem;
}
.geloven-item a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .geloven-sectie__inner { flex-direction: row; align-items: flex-start; gap: 3.5rem; }
  .geloven-sectie__foto { flex: 0 0 42%; max-width: 440px; }
  .geloven-sectie__foto img { height: 560px; }
  .geloven-sectie__tekst { flex: 1; }
}

/* --------------------------------------------------------------------------
   11. Voordelen sectie (wit bg, 4 kaarten)
   -------------------------------------------------------------------------- */

.voordelen-sectie {
  background: #eef1f2;
  padding-block: 5rem;
}

.voordelen-sectie__top {
  margin-bottom: 2.5rem;
}

.voordelen-sectie__heading {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-top: 0.25rem;
}

.voordelen-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.voordeel-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}

.voordeel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
}

.voordeel-card__stat {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4.6875rem); /* 40px → 75px */
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.voordeel-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.voordeel-card p {
  font-size: 0.875rem;
  color: var(--teal);
  line-height: 1.45;
  opacity: 0.75;
}

/* Warmtefonds-financieringskaart (vervangt de 4e voordeel-kaart) */
.voordeel-card__logo {
  display: block;
  width: 100%;
  height: clamp(2.5rem, 5vw, 4.6875rem);   /* zelfde hoogte als .voordeel-card__stat -> h3 op gelijke lijn */
  margin-bottom: 0.5rem;                    /* zelfde als de €-stat */
  object-fit: contain;                      /* logo schaalt mee zonder vervorming */
  object-position: center;                  /* gecentreerd ipv links */
}

/* Klikbare kaart */
.voordeel-card--warmtefonds { cursor: pointer; }
.voordeel-card--warmtefonds:focus-visible {
  outline: 3px solid rgba(245, 145, 31, 0.5);
  outline-offset: 2px;
}
.voordeel-card__cta {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--orange);
}
.voordeel-card--warmtefonds:hover .voordeel-card__cta { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Warmtefonds rekentool — modal
   -------------------------------------------------------------------------- */
.wf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.wf-modal[hidden] { display: none; }
.wf-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 30, 33, 0.55);
  animation: wf-fade 0.2s ease;
}
.wf-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: wf-pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes wf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wf-pop { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.wf-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
}
.wf-modal__close:hover { color: var(--text); }
.wf-modal__logo { height: 2.25rem; width: auto; margin-bottom: 0.75rem; }
.wf-modal__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.wf-field { margin-bottom: 1rem; }
.wf-field > label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.wf-field input[type="text"],
.wf-select select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #dcdcdc;
  border-radius: var(--r-sm);
  background: var(--white);
}
.wf-field input[type="text"]:focus,
.wf-select select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 145, 31, 0.18);
}
.wf-select { position: relative; }
.wf-select select { appearance: none; cursor: pointer; padding-right: 2.5rem; }
.wf-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--text);
  border-bottom: 2px solid var(--text);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.wf-hint { display: block; margin-top: 0.3rem; font-size: 0.75rem; color: var(--gray); }
.wf-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.25rem 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
}
.wf-check input { margin-top: 0.2rem; flex: 0 0 auto; accent-color: var(--orange); width: 1.05rem; height: 1.05rem; }
.wf-result {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1.1rem 1.25rem;
  background: #f6f8f8;
  border-radius: var(--r-sm);
  margin-bottom: 1.1rem;
}
.wf-result__cap { display: block; font-size: 0.75rem; font-style: italic; color: var(--gray); margin-bottom: 0.15rem; }
.wf-result strong { font-size: 1.0625rem; font-weight: 700; color: var(--text); }
.wf-result__big { font-size: 1.5rem !important; color: var(--teal-light) !important; }
.wf-result.is-loading { opacity: 0.5; transition: opacity 0.15s; }
.wf-error {
  font-size: 0.8125rem; font-weight: 600; color: var(--pink);
  margin: 0 0 0.9rem;
}
.wf-modal__cta { width: 100%; }
.wf-back {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: none; border: none; cursor: pointer; padding: 0 0 0.75rem;
  font-family: var(--font); font-size: 0.875rem; font-weight: 600; color: var(--gray);
}
.wf-back:hover { color: var(--text); text-decoration: underline; }
/* Ingesloten advies-widget in de pop-up: eigen padding van .ts-advies weghalen */
.wf-widget .ts-advies { padding: 0; }

/* Bron-melding bovenaan de advies-widget (bijv. via Warmtefonds) */
.ts-advies__bron {
  background: rgba(41, 170, 171, 0.12);
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.wf-disclaimer { font-size: 0.6875rem; color: var(--gray); line-height: 1.45; margin-top: 0.9rem; }
.wf-disclaimer a { color: var(--orange); text-decoration: underline; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .wf-modal__backdrop, .wf-modal__dialog { animation: none; }
}

@media (min-width: 640px) {
  .voordelen-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .voordeel-card h3 { font-size: 1.375rem; }
}

/* --- Euro icons: idle float + scroll-exit parallax --- */

@keyframes euro-bob-1 {
  0%, 100% { transform: rotate(-15deg) translateY(var(--euro-dy, 0px)); }
  50%       { transform: rotate(-13deg) translateY(calc(-12px + var(--euro-dy, 0px))); }
}
@keyframes euro-bob-2 {
  0%, 100% { transform: rotate(12deg)  translateY(var(--euro-dy, 0px)); }
  50%       { transform: rotate(14deg)  translateY(calc(-16px + var(--euro-dy, 0px))); }
}
@keyframes euro-bob-3 {
  0%, 100% { transform: rotate(-12deg) translateY(var(--euro-dy, 0px)); }
  50%       { transform: rotate(-10deg) translateY(calc(-10px + var(--euro-dy, 0px))); }
}
@keyframes euro-bob-4 {
  0%, 100% { transform: rotate(15deg)  translateY(var(--euro-dy, 0px)); }
  50%       { transform: rotate(13deg)  translateY(calc(-14px + var(--euro-dy, 0px))); }
}

.euro-icon { will-change: transform, opacity; }
.euro-icon--1 { animation: euro-bob-1 4.2s ease-in-out          infinite; }
.euro-icon--2 { animation: euro-bob-2 5.8s ease-in-out 1.1s     infinite; }
.euro-icon--3 { animation: euro-bob-3 4.9s ease-in-out 0.6s     infinite; }
.euro-icon--4 { animation: euro-bob-4 5.3s ease-in-out 1.8s     infinite; }

/* --- Voordeel cards: entrance animation --- */

@keyframes stat-arrive {
  0%   { opacity: 0; transform: scale(0.25) translateY(8px); }
  65%  { opacity: 1; transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Hidden state — only when JS adds class (cards below fold) */
.voordeel-card.will-animate { opacity: 0; }
.voordelen-grid .voordeel-card.will-animate:nth-child(1) { transform: translateY(50px) translateX(-8px)  scale(0.83); }
.voordelen-grid .voordeel-card.will-animate:nth-child(2) { transform: translateY(62px) translateX(10px)  scale(0.83); }
.voordelen-grid .voordeel-card.will-animate:nth-child(3) { transform: translateY(74px) translateX(-6px)  scale(0.83); }
.voordelen-grid .voordeel-card.will-animate:nth-child(4) { transform: translateY(86px) translateX(12px)  scale(0.83); }
.voordeel-card.will-animate .voordeel-card__stat         { opacity: 0; transform: scale(0.25); }

/* Entrance */
.voordeel-card.animate-in {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
  transition: opacity 0.65s ease, transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.voordelen-grid .voordeel-card.animate-in:nth-child(1) { transition-delay: 0ms;   }
.voordelen-grid .voordeel-card.animate-in:nth-child(2) { transition-delay: 110ms; }
.voordelen-grid .voordeel-card.animate-in:nth-child(3) { transition-delay: 220ms; }
.voordelen-grid .voordeel-card.animate-in:nth-child(4) { transition-delay: 330ms; }

/* Stat pop — per card, delayed after card entrance starts */
.voordelen-grid .voordeel-card.animate-in:nth-child(1) .voordeel-card__stat { animation: stat-arrive 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.30s both; }
.voordelen-grid .voordeel-card.animate-in:nth-child(2) .voordeel-card__stat { animation: stat-arrive 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.41s both; }
.voordelen-grid .voordeel-card.animate-in:nth-child(3) .voordeel-card__stat { animation: stat-arrive 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.52s both; }
.voordelen-grid .voordeel-card.animate-in:nth-child(4) .voordeel-card__stat { animation: stat-arrive 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) 0.63s both; }

/* Settled state after animation — restores normal hover */
.voordeel-card.is-visible                        { opacity: 1; }
.voordeel-card.is-visible .voordeel-card__stat   { opacity: 1; transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .euro-icon--1, .euro-icon--2, .euro-icon--3, .euro-icon--4 { animation: none; }
  .voordeel-card.will-animate                        { opacity: 1; transform: none; }
  .voordeel-card.will-animate .voordeel-card__stat   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   12. Hoe het werkt sectie (lichtgrijs bg, foto + accordion)
   -------------------------------------------------------------------------- */

.hoe-werkt-sectie {
  background: #eef1f2;          /* effen lichtgrijs — onderscheidt van witte buurt-sectie */
  padding-block: 5rem;
}

.hoe-werkt-sectie__heading {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.hoe-werkt-sectie__sub {
  color: var(--gray);
  max-width: 50rem;
  margin-bottom: 3rem;
  line-height: 1.65;
  font-size: 1.125rem;
}

.hoe-werkt__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hoe-werkt__foto {
  position: relative;
  border-radius: var(--r-card);
  overflow: visible;
  flex-shrink: 0;
}

.hoe-werkt__foto img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--r-card);
  display: block;
}

/* Ronde "Gratis woning Check" badge */
.badge-gratis {
  position: absolute;
  top: -0.75rem;
  left: -0.5rem;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 0.5rem;
  z-index: 2;
  transform: rotate(-16deg);
}

@media (min-width: 768px) {
  .badge-gratis {
    top: -1.75rem;
    left: -1.75rem;
    width: 140px;
    height: 140px;
    font-size: 1.4rem;
  }
}

/* Accordion kaart + items */
.hoe-werkt__stappen { display: flex; flex-direction: column; gap: 0; }

/* Eerste item als open kaart */
.hoe-werkt__stap {
  background: var(--white);
  border-radius: var(--r-card);
  margin-bottom: 0.625rem;
  overflow: hidden;
}

/* Trigger (kop van elk item) */
.hoe-werkt__stap-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

/* +/− icoon dat vloeiend van + naar − morpht */
.hoe-werkt__stap-trigger::after {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(#bfbfbf, #bfbfbf),
    linear-gradient(#bfbfbf, #bfbfbf);
  background-position: center;
  background-size: 100% 2px, 2px 100%;   /* horizontale + verticale balk = + */
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, transform 0.3s ease;
}

.hoe-werkt__stap.is-open .hoe-werkt__stap-trigger::after {
  background-size: 100% 2px, 0 100%;     /* verticale balk verdwijnt → − */
  transform: rotate(180deg);
}

/* Vloeiende open/dicht via grid-fr (gouden standaard, geen reflow-meting) */
.hoe-werkt__stap-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.hoe-werkt__stap.is-open .hoe-werkt__stap-panel {
  grid-template-rows: 1fr;
}

.hoe-werkt__stap-body {
  min-height: 0;
  overflow: hidden;             /* grid-item: geen padding hier, anders blijft resthoogte staan */
}

.hoe-werkt__stap-text {
  margin: 0;
  padding: 0 1.5rem 1.375rem;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  .hoe-werkt__stap-panel { transition: none; }
}

@media (min-width: 768px) {
  .hoe-werkt__inner { flex-direction: row; align-items: flex-start; gap: 3.5rem; }
  .hoe-werkt__foto { flex: 0 0 40%; max-width: 420px; }
  .hoe-werkt__foto img { height: 500px; }
  .hoe-werkt__stappen { flex: 1; }
}

/* --------------------------------------------------------------------------
   13. Buurtkorting sectie (wit bg, 3 kaarten)
   -------------------------------------------------------------------------- */

.buurtkorting-sectie {
  background: var(--white);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .buurtkorting-sectie {
    padding-top: 5rem;
    padding-bottom: 9rem;        /* desktop: ruimte voor telefoon-overlap */
  }
}

.buurtkorting-sectie__heading {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.buurtkorting-sectie__sub {
  color: var(--gray);
  max-width: none;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  font-size: 1.125rem;
}

.buurtkorting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.buurtkorting-card {
  border-radius: var(--r-card);
  padding: 2rem 1.75rem;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              background-color 0.3s ease;
  will-change: transform;
}

.buurtkorting-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
  border-color: rgba(41, 170, 171, 0.25);
  background: var(--teal-light);
}

.buurtkorting-card:hover .buurtkorting-pct,
.buurtkorting-card:hover .buurtkorting-card__omschrijving {
  color: var(--white);
}

.buurtkorting-card:hover .buurtkorting-card__omschrijving {
  color: rgba(255, 255, 255, 0.88);
}

.buurtkorting-card--active {
  background: var(--teal-light);
  box-shadow: none;
}

/* Als een andere card gehovered wordt, reset de actieve card naar wit */
.buurtkorting-grid:has(.buurtkorting-card:hover) .buurtkorting-card--active:not(:hover) {
  background: var(--white);
  box-shadow: var(--shadow-card);
  transform: translateY(0);
  border-color: transparent;
}

.buurtkorting-grid:has(.buurtkorting-card:hover) .buurtkorting-card--active:not(:hover) .buurtkorting-pct {
  color: var(--teal);
}

.buurtkorting-grid:has(.buurtkorting-card:hover) .buurtkorting-card--active:not(:hover) .buurtkorting-card__omschrijving {
  color: var(--gray);
}

.buurtkorting-pct {
  display: block;
  font-size: clamp(2rem, 3.8vw, 3.4375rem); /* 32px → 55px */
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.875rem;
  line-height: 1;
}

.buurtkorting-card--active .buurtkorting-pct { color: var(--white); }

.buurtkorting-card__omschrijving {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.55;
}

.buurtkorting-card--active .buurtkorting-card__omschrijving { color: rgba(255,255,255,0.88); }

@media (min-width: 640px) {
  .buurtkorting-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   14. Woning check sectie (teal bg, afgeronde hoeken, tekst + mockup)
   -------------------------------------------------------------------------- */

.woningcheck-sectie {
  background: var(--teal);
  padding-block: 3.5rem;        /* mobile + tablet: compact (geen telefoon) */
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .woningcheck-sectie {
    padding-block: 11.5rem;     /* desktop: balkhoogte met telefoon-overlap */
    overflow: visible;
  }
}

.woningcheck-sectie__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.woningcheck-sectie__tekst { color: var(--white); }

.woningcheck-sectie__tekst .overline { color: var(--teal-light); font-size: 1.25rem; }

.woningcheck-sectie__tekst h2 {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem); /* gelijk aan buurtkorting/reviews */
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.woningcheck-sectie__tekst p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  max-width: 46rem;
}

/* Telefoon-mockup + sticker: alleen tonen op desktop (≥1024px) */
.woningcheck-sectie__visual { display: none; }

@media (min-width: 1024px) {
  .woningcheck-sectie__tekst { max-width: 62%; }
  .woningcheck-sectie__visual {
    display: flex;
    position: absolute;
    right: max(-7rem, calc((100% - var(--max-w)) / 2 - 12rem));
    bottom: -170px;
    width: 480px;
    justify-content: flex-end;
    align-items: flex-end;
  }
  .woningcheck-sectie__inner { flex-direction: row; align-items: center; gap: 3.5rem; }
  .woningcheck-sectie__tekst { flex: 1; }
}

/* Telefoon + badge wrapper (alleen desktop zichtbaar) */
.telefoon-wrap { position: relative; }

.telefoon-mockup-img {
  display: block;
  width: auto;
  height: 900px;
  max-width: none;
  transform: rotate(-10deg);
  transform-origin: center;
  filter: drop-shadow(0 24px 50px rgba(0,0,0,0.4));
}

.badge-gratis-lg {
  position: absolute;
  top: 12%;
  left: -23%;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 0.5rem;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   15. Reviews sectie
   -------------------------------------------------------------------------- */

.reviews-sectie {
  background: var(--white);
  padding-block: 5rem;
  position: relative;
  z-index: 2;                   /* hand valt áchter deze sectie, niet ervoor */
}

.reviews-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.reviews-sectie__heading {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
}

.reviews-sectie__sub {
  color: var(--gray);
  max-width: 46rem;
  line-height: 1.65;
  font-size: 1.125rem;
}

.rating-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.5rem 2rem;
  min-width: 200px;
  flex-shrink: 0;
  box-shadow: var(--shadow-card);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rating-badge:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.12); transform: translateY(-2px); }

.rating-badge__label { font-size: 1rem; font-weight: 600; color: var(--text); }

.rating-badge__getal {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--teal);          /* teal, zoals design */
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}
.rating-badge__max {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--gray);
  margin-left: 0.15rem;
}

.rating-badge__sterren {
  --rating-pct: 78%;
  --star-empty: #e0e0e0;
  --star-fill: #00aa65;
  display: inline-block;
  position: relative;
  font-size: 1.375rem;
  letter-spacing: 0.1em;
  line-height: 1;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}
.rating-badge__sterren::before,
.rating-badge__sterren::after {
  content: "\2605\2605\2605\2605\2605";
}
.rating-badge__sterren::before { color: var(--star-empty); }
.rating-badge__sterren::after {
  color: var(--star-fill);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating-pct);
  overflow: hidden;
}

.rating-badge__bron {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 400;
  margin-top: 0.1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.review-card__sterren {
  --rating-pct: 100%;
  --star-empty: #e0e0e0;
  --star-fill: #00aa65;
  display: block;
  position: relative;
  width: max-content;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: Arial, sans-serif;
  white-space: nowrap;
  margin-bottom: 1rem;
}
.review-card__sterren::before,
.review-card__sterren::after {
  content: "\2605\2605\2605\2605\2605";
}
.review-card__sterren::before { color: var(--star-empty); }
.review-card__sterren::after {
  color: var(--star-fill);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating-pct);
  overflow: hidden;
}

.review-card__auteur span {
  color: var(--teal-light);
  font-weight: 600;
}

.review-card__tekst {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 1rem;
}

.review-card__auteur {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray);
}

.bekijk-link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bekijk-link:hover { color: var(--teal); }

/* Stats-strip (847 klanten / 12 jaar / 4.8) */
.reviews-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}
.reviews-stat__getal {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: #0a6b70;
}
.reviews-stat__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.4;
}

.reviews-stat__stars {
  display: block;
  margin: 0.4rem auto 0;
  width: max-content;
  color: #00aa65;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.reviews-stat__stars::before {
  content: "\2605\2605\2605\2605\2605";   /* ★★★★★ */
}
.reviews-stat__stars + .reviews-stat__label {
  margin-top: 0.3rem;
}

@media (min-width: 640px) {
  .reviews-header { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-stats { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* --------------------------------------------------------------------------
   16. Info sectie (wit bg, 3 kaarten met foto's)
   -------------------------------------------------------------------------- */

.info-sectie {
  background: #eef1f2;          /* lichtgrijs, onderscheidt van witte secties */
  padding-block: 5rem;
}

.info-sectie__overline {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 0.75rem;
}

.info-sectie__heading {
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.info-sectie__sub {
  color: var(--gray);
  margin-bottom: 2.5rem;
  line-height: 1.65;
  font-size: 1.125rem;
  max-width: 46rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
  border-color: rgba(41, 170, 171, 0.25);
}

.info-card__foto {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.info-card__body { padding: 1.375rem 1.5rem 1.75rem; display: flex; flex-direction: column; flex: 1; }

.info-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--teal-light);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.info-card p {
  font-size: 0.9375rem;
  color: var(--teal);
  line-height: 1.6;
}

.info-card__link {
  display: block;
  margin-top: auto;          /* lijn + label onderaan uitlijnen over de kaarten */
  padding-top: 0.85rem;
  border-top: 1px solid var(--teal-light);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--teal-light);
}
.info-card__body > p { margin-bottom: 1.1rem; }
.info-card__link:hover { color: var(--teal); text-decoration: underline; }

@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--white);
  color: var(--white);
}

/* Witte banden (boven + onder) */
.footer__band {
  background: var(--white);
  position: relative;
  z-index: 2;
}

.footer__band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
}

.footer__logo-img {
  height: 30px;
  width: auto;
}

/* Rating-widget (Trustpilot-stijl): "Bekijk onze X reviews" + sterren + 9,6/10 */
.footer__rating {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.footer__rating:hover { color: var(--teal); }

.footer__rating-text { font-weight: 400; }
.footer__rating-prefix { display: none; }
@media (min-width: 480px) {
  .footer__rating-prefix { display: inline; }
}

.footer__rating-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* 5 sterren: lege als achtergrond, % gevulde overlay (CSS-only, exact 96%) */
.footer__rating-stars {
  --rating-pct: 96%;
  --star-empty: #e0e0e0;
  --star-fill: #00aa65;
  display: inline-block;
  position: relative;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: Arial, sans-serif;       /* consistente ster-rendering, los van Fieldwork */
  white-space: nowrap;
}
.footer__rating-stars::before,
.footer__rating-stars::after {
  content: "\2605\2605\2605\2605\2605";  /* ★★★★★ */
}
.footer__rating-stars::before { color: var(--star-empty); }
.footer__rating-stars::after {
  color: var(--star-fill);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating-pct);
  overflow: hidden;
}

.footer__rating-score {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.footer__rating-score-max {
  font-weight: 400;
  color: var(--gray);
}

/* Gemeente-sticker — gekanteld, overlapt naar beneden in donkere body */
.footer__gemeente-sticker {
  position: relative;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  transform: rotate(-4.5deg);
  margin-bottom: -2.75rem;       /* roze deel zakt in de donkere body */
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.2));
}

.footer__gemeente-label {
  background: var(--teal-light);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.35rem 1.25rem 0.4rem;
  align-self: flex-start;
}

.footer__gemeente-naam {
  background: var(--pink);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  padding: 0.25rem 1.5rem 0.4rem;
  margin-left: -0.6rem;
}

/* Donkere teal body */
.footer__body {
  background: var(--teal-dark);
  padding-block: 3rem;
}

/* Hoofdinhoud footer: 3 kolommen */
.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer__sitemap-col h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__sitemap-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__sitemap-col a {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer__sitemap-col a:hover { color: var(--white); }

.footer__tagline h3 {
  font-size: clamp(1.375rem, 2.7vw, 2.5rem); /* 22px → 40px */
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.footer__tagline p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .footer__main { grid-template-columns: 1fr 1fr 1.5fr; }
}

/* Onderste witte balk */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.footer__bottom-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
}
.footer__bottom-rating:hover { color: var(--teal); }
.footer__bottom-rating-max {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--gray);
  margin-left: 0.05rem;
}

.footer__bottom-rating-stars {
  --rating-pct: 78%;
  --star-empty: #e0e0e0;
  --star-fill: #00aa65;
  display: inline-block;
  position: relative;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  line-height: 1;
  font-family: Arial, sans-serif;
  white-space: nowrap;
}
.footer__bottom-rating-stars::before,
.footer__bottom-rating-stars::after {
  content: "\2605\2605\2605\2605\2605";
}
.footer__bottom-rating-stars::before { color: var(--star-empty); }
.footer__bottom-rating-stars::after {
  color: var(--star-fill);
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating-pct);
  overflow: hidden;
}

.footer__bottom nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__bottom nav a {
  color: var(--text);
  font-weight: 600;
}
.footer__bottom nav a:hover { color: var(--teal); }

.footer__bottom-copy { margin-left: auto; color: var(--text); }

/* --------------------------------------------------------------------------
   18. Toegankelijkheid
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}
