/* epb-boete.be — gedeeld stylesheet
   Herontwerp 01-09-2026, ontwerpsysteem uit
   marketing/seo/firmas/EPB-Boete/branding.md, secties 5 en 6 (herzien):
   zacht, licht en uitnodigend, in dezelfde familie als de andere sites van de
   groep (energie-efficient.be, regulariseren.be, verbraecken.be). Kleurpalet
   (bordeaux #7A2036) en logo blijven ongewijzigd; enkel de vormtaal en de
   typografie zijn vernieuwd. Klassenamen blijven Engels/BEM-achtig, bewust
   anders dan energie-efficient.be. */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Variable.woff2") format("woff2-variations"),
       url("/fonts/PlusJakartaSans-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Kleuren, branding.md §4 (ongewijzigd) en §6.1 */
  --color-white: #FFFFFF;      /* pagina-achtergrond */
  --color-mist: #F6F3EE;       /* sectie-afwisseling, warm getint */
  --color-paper-dark: #F1EAE0; /* iets donkerder vlak, bv. disclaimer */
  --color-ink: #1C1A19;        /* koppen */
  --color-ink-muted: #55504B;  /* lopende tekst / bijschriften */
  --color-border: #E7E1D8;
  --color-border-dark: #D8CDBC;

  --color-wine: #7A2036;
  --color-wine-dark: #5C1728;
  --color-wine-tint: #F3DDE2;

  --color-slate: #3D3B6D;
  --color-slate-tint: #E7E7F3;
  --color-archive-tint: #EDEAE4;

  /* Typografie, branding.md §5 (herzien) */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --max-width-marketing: 1180px;
  --max-width-reading: 720px;
  --max-width-tool: 780px;

  /* Vorm, branding.md §6.1 (herzien) */
  --radius-knop: 8px;
  --radius-kaart: 12px;
  --radius-tegel: 10px;
  --radius-beeld: 14px;
  --radius-small: 8px;

  --shadow-kaart: 0 1px 2px rgba(28, 26, 25, 0.06), 0 8px 24px rgba(28, 26, 25, 0.07);
  --shadow-kaart-op: 0 2px 4px rgba(28, 26, 25, 0.08), 0 14px 34px rgba(28, 26, 25, 0.10);

  --ruimte-sectie: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-ink-muted);
  background: var(--color-white);
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--color-ink);
  margin: 0 0 0.55em 0;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.35; font-weight: 700; }
.doc-label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-wine);
  margin: 0 0 0.7em 0;
}

p { margin: 0 0 1em 0; text-align: left; color: var(--color-ink-muted); }
p:last-child { margin-bottom: 0; }
ul, ol { text-align: left; }
strong { color: var(--color-ink); }

a { color: var(--color-wine); }
a:hover { color: var(--color-wine-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--color-wine);
  outline-offset: 2px;
  border-radius: 2px;
}

img { max-width: 100%; display: block; }

.text-link {
  color: var(--color-wine);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  font-family: var(--font);
}
.text-link:hover { color: var(--color-wine-dark); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-wine);
  color: #fff; padding: 12px 18px; z-index: 100; font-family: var(--font);
  border-radius: 0 0 var(--radius-knop) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  max-width: var(--max-width-marketing);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--color-white);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.005em;
  color: var(--color-ink);
  text-decoration: none;
}
.wordmark:hover { color: var(--color-wine); }
.wordmark svg { width: 26px; height: 18px; flex-shrink: 0; color: var(--color-wine); }
.wordmark__text { white-space: nowrap; }
.wordmark__ext { font-weight: 400; color: var(--color-ink-muted); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
}
.main-nav a {
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  text-decoration: none;
  padding: 4px 0;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--color-wine);
}

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.2 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.2.2 2.4.6 3.6.1.4 0 .8-.2 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.header-phone:hover { color: var(--color-wine); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-knop);
  padding: 9px 14px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-ink);
  cursor: pointer;
}
.menu-icon { width: 18px; height: 2px; background: var(--color-ink); position: relative; display: inline-block; border-radius: 1px; }
.menu-icon::before, .menu-icon::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--color-ink); border-radius: 1px;
}
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--color-border);
    padding-top: 14px;
    gap: 14px;
  }
  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .header-actions .btn--primary { order: 2; }
  .header-actions.is-open .main-nav,
  .main-nav.is-open { display: flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  padding: 13px 24px;
  border-radius: var(--radius-knop);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
  line-height: 1.3;
}
.btn--primary {
  background: var(--color-wine);
  color: #fff;
  border-color: var(--color-wine);
}
.btn--primary:hover { background: var(--color-wine-dark); border-color: var(--color-wine-dark); color: #fff; }
.btn--secondary {
  background: var(--color-white);
  color: var(--color-ink);
  border-color: var(--color-border-dark);
}
.btn--secondary:hover { border-color: var(--color-wine); color: var(--color-wine); }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Layout helpers ---------- */
.reading-column {
  max-width: var(--max-width-reading);
  margin: 0 auto;
  padding: 0 24px;
}
.tool-column {
  max-width: var(--max-width-tool);
  margin: 0 auto;
  padding: 0 24px;
}
.wide-column {
  max-width: var(--max-width-marketing);
  margin: 0 auto;
  padding: 0 24px;
}

.content-section {
  padding-top: 40px;
  padding-bottom: 40px;
}
.content-section:first-of-type { padding-top: 8px; }

section.page-section { padding: var(--ruimte-sectie) 0; }
section.page-section--tint { background: var(--color-mist); }

.lead {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-ink-muted);
}

.breadcrumb, .editorial-note, .footer-copyright, small {
  font-family: var(--font);
  font-size: 13px;
  color: var(--color-ink-muted);
}
.breadcrumb { margin: 22px 0 4px 0; }
.breadcrumb a { color: var(--color-ink-muted); text-decoration: underline; }
.editorial-note { margin-top: 8px; }

.pitfall-list { padding-left: 20px; }
.pitfall-list li { margin-bottom: 10px; color: var(--color-ink-muted); }

.law-ref {
  display: inline-block;
  font-size: 13px;
  color: var(--color-ink-muted);
}

/* ---------- Status badges (branding.md §4.3, kleuren en labels ongewijzigd) ---------- */
.status-badge {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 999px;
}
.status-badge--critical { background: var(--color-wine-tint); color: var(--color-wine-dark); }
.status-badge--calm { background: var(--color-slate-tint); color: var(--color-slate); }
.status-badge--archived { background: var(--color-archive-tint); color: var(--color-ink-muted); }

/* ---------- Tables (branding.md §6.4) ---------- */
.table-scroll {
  overflow-x: auto;
  margin: 20px 0;
  -webkit-overflow-scrolling: touch;
  background:
    linear-gradient(to right, var(--color-white) 30%, rgba(255, 255, 255, 0)) left center,
    linear-gradient(to left, var(--color-white) 30%, rgba(255, 255, 255, 0)) right center,
    radial-gradient(farthest-side at 0 50%, rgba(28, 26, 25, 0.12), rgba(28, 26, 25, 0)) left center,
    radial-gradient(farthest-side at 100% 50%, rgba(28, 26, 25, 0.12), rgba(28, 26, 25, 0)) right center;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
  border-radius: var(--radius-kaart);
  box-shadow: var(--shadow-kaart);
}
.table-scroll table { background: var(--color-white); }
.table-hint { display: none; }
@media (max-width: 640px) {
  .table-hint {
    display: block;
    font-size: 14px;
    color: var(--color-ink-muted);
    margin: -12px 0 16px 0;
  }
}
.fee-table { width: 100%; min-width: 480px; border-collapse: collapse; font-family: var(--font); margin: 0; }
.fee-table th {
  text-align: left; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--color-ink);
  border-bottom: 2px solid var(--color-wine); padding: 14px 18px;
}
.fee-table td { border-bottom: 1px solid var(--color-border); padding: 14px 18px; font-size: 16px; vertical-align: top; color: var(--color-ink-muted); }
.fee-table tr:last-child td { border-bottom: none; }
.fee-table .law-ref { display: block; margin-top: 4px; }
.fee-table__amount {
  text-align: right; font-weight: 700;
  color: var(--color-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Oproepblok / CTA-band (branding.md §6.5, herzien: volle bordeauxband) ---------- */
.contact-note {
  max-width: var(--max-width-marketing);
  margin: 48px auto 0 auto;
  border-radius: var(--radius-kaart);
  padding: 40px 44px;
  background: var(--color-wine);
  display: grid;
  column-gap: 32px;
  row-gap: 18px;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title  button"
    "lead   button"
    "colofon colofon";
  align-items: center;
}
.contact-note h3 {
  grid-area: title;
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  margin: 0;
}
.contact-note > p:not(.contact-note__colofon) {
  grid-area: lead;
  color: #F3DDE2;
  margin: 0;
  max-width: 46ch;
}
.contact-note .btn {
  grid-area: button;
  justify-self: start;
}
.contact-note .btn--primary {
  background: #fff;
  color: var(--color-wine);
  border-color: #fff;
}
.contact-note .btn--primary:hover {
  background: var(--color-wine-tint);
  border-color: var(--color-wine-tint);
  color: var(--color-wine-dark);
}
.contact-note__colofon {
  grid-area: colofon;
  font-size: 13px;
  color: #E3B9C3;
  margin: 8px 0 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
@media (max-width: 640px) {
  .contact-note {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "lead"
      "button"
      "colofon";
    padding: 32px 26px;
  }
  .contact-note .btn { justify-self: stretch; text-align: center; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-mist);
  margin-top: 72px;
  padding: 56px 0 0 0;
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-col__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  margin: 0 0 16px 0;
}
.footer-col--brand .wordmark { margin-bottom: 14px; }
.footer-col--brand p { max-width: 34ch; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-nav a {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--color-wine); }
.footer-contact p { margin: 0 0 10px 0; font-size: 15px; }
.footer-contact a { color: var(--color-ink-muted); font-weight: 600; text-decoration: none; }
.footer-contact a:hover { color: var(--color-wine); }

.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding: 24px 0 28px 0;
}
.footer-copyright { margin: 0 0 8px 0; }
.footer-identificatie {
  margin: 0;
  font-size: 13px;
  color: var(--color-ink-muted);
}
.footer-identificatie strong { color: var(--color-ink); }

@media (max-width: 780px) {
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Funnel / Trechterlijn (branding.md §8, herzien §6.7) ---------- */
.funnel { margin: 32px 0; }
.funnel__list { list-style: none; margin: 0; padding: 0; position: relative; }

.funnel__phase {
  position: relative;
  border: none;
  margin: 0 0 14px 0;
  padding: 0;
}
.funnel__phase::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  bottom: -14px;
  width: 2px;
  background: var(--color-border);
}
.funnel__phase:last-child::before { display: none; }

.funnel__summary {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 4px 0;
}
.funnel__summary::-webkit-details-marker { display: none; }
.funnel__summary::marker { content: ""; }

.funnel__node {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-tegel);
  background: var(--color-white);
  font-family: var(--font); font-weight: 700; font-size: 15px;
  color: var(--color-ink-muted);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.funnel__phase--active .funnel__node {
  background: var(--color-wine); border-color: var(--color-wine); color: #fff;
}

.funnel__summary-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.funnel__summary-title { font-family: var(--font); font-weight: 700; font-size: 18px; color: var(--color-ink); }
.funnel__toggle-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--color-ink-muted);
}
.funnel__phase[open] .funnel__toggle-icon { transform: rotate(180deg); }

.funnel__card {
  margin: 10px 0 0 48px;
  padding: 22px 24px;
  border-radius: var(--radius-kaart);
  background: var(--color-white);
  box-shadow: var(--shadow-kaart);
}
.funnel__phase--active .funnel__card { box-shadow: var(--shadow-kaart-op); }
.funnel__card p:last-child { margin-bottom: 0; }

.funnel__facts { margin: 14px 0; display: grid; gap: 8px; }
.funnel__facts dt { font-weight: 700; font-size: 14px; color: var(--color-ink); }
.funnel__facts dd { margin: 2px 0 8px 0; font-size: 15px; color: var(--color-ink-muted); }

.funnel__branch {
  margin: 22px 0 0 48px;
  padding: 22px 24px;
  border-radius: var(--radius-kaart);
  background: var(--color-wine-tint);
  box-shadow: var(--shadow-kaart);
  max-width: 440px;
}
.funnel__branch .doc-label { margin-bottom: 8px; }

.funnel__outside {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--radius-kaart);
  background: var(--color-mist);
}

/* Mini-funnel op fasepagina's (branding.md §8.3) */
.funnel--mini { margin: 24px 0; }
.funnel--mini .funnel__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.funnel--mini .funnel__phase {
  display: flex; align-items: center; gap: 8px; margin: 0 18px 8px 0;
}
.funnel--mini .funnel__phase::before { display: none; }
.funnel--mini .funnel__node {
  width: 20px; height: 20px; font-size: 11px; border-width: 1.5px; border-radius: 6px;
}
.funnel--mini .funnel__label { font-size: 13px; color: var(--color-ink-muted); }
.funnel--mini .funnel__phase--active .funnel__label { color: var(--color-wine); font-weight: 700; }

/* ---------- Calculator (boete-indicatie) ---------- */
.calculator { margin: 24px 0; display: grid; gap: 16px; }
.calculator__option {
  border-radius: var(--radius-kaart);
  background: var(--color-white);
  box-shadow: var(--shadow-kaart);
  padding: 24px 26px;
}
.calculator__option h3 { font-size: 18px; margin-bottom: 8px; }
.calculator__formula {
  font-family: var(--font);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  color: var(--color-wine);
  margin: 10px 0;
}
.calculator__field { margin-top: 14px; }
.calculator__field label { display: block; font-size: 14px; font-weight: 700; color: var(--color-ink); margin-bottom: 6px; }
.calculator__field input, .calculator__field select {
  font-family: var(--font);
  font-size: 16px;
  padding: 11px 13px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-ink);
  width: 100%;
  max-width: 260px;
}
.calculator__field input:focus, .calculator__field select:focus { border-color: var(--color-wine); }
.calculator__result {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-small);
  background: var(--color-wine-tint);
  font-family: var(--font);
  font-weight: 800;
  font-size: 22px;
  color: var(--color-wine-dark);
  font-variant-numeric: tabular-nums;
}
.calculator__conditional {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-ink-muted);
  border-left: 3px solid var(--color-border-dark);
  padding-left: 14px;
}

/* Progressive enhancement: JS-only elementen blijven onzichtbaar zonder JS */
.js-only { display: none; }
html.js .js-only { display: block; }
html.js .js-only--inline { display: inline-block; }

/* ---------- Dagteller (dwangsom, branding.md §8.4) ---------- */
.day-counter {
  border-radius: var(--radius-kaart);
  padding: 24px 26px;
  background: var(--color-white);
  box-shadow: var(--shadow-kaart);
  max-width: 380px;
  margin: 22px 0;
}
.day-counter__amount {
  font-family: var(--font);
  font-weight: 800;
  font-size: 36px;
  font-variant-numeric: tabular-nums;
  color: var(--color-wine);
  margin: 8px 0;
}
.day-counter__note { font-size: 13px; color: var(--color-ink-muted); }

/* ---------- Verplicht voorbehoud ---------- */
.disclaimer {
  border-radius: var(--radius-kaart);
  background: var(--color-mist);
  padding: 18px 22px;
  font-size: 14px;
  color: var(--color-ink-muted);
  margin: 22px 0;
}
.disclaimer strong { color: var(--color-ink); }

/* ---------- Openstaand-markering (nooit stil laten doorlopen) ---------- */
.todo-marker {
  display: inline;
  background: var(--color-wine-tint);
  color: var(--color-wine-dark);
  border: 1px dashed var(--color-wine);
  border-radius: var(--radius-small);
  padding: 2px 7px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
}

/* ---------- FAQ (geen accordeon-chevron-icoon, plat +/- ) ---------- */
.faq-item { border-top: 1px solid var(--color-border); padding: 20px 0; }
.faq-item:first-child { border-top: none; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-ink);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font); font-weight: 700; color: var(--color-wine); font-size: 22px; flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; }

/* ---------- Hub-lijsten (Blok A/C/D-overzichten): witte kaarten met icoontegel ---------- */
.hub-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 700px) {
  .hub-list { grid-template-columns: repeat(2, 1fr); }
}
.hub-list__item {
  position: relative;
  border-radius: var(--radius-kaart);
  background: var(--color-white);
  box-shadow: var(--shadow-kaart);
  padding: 24px 24px 24px 84px;
  min-height: 44px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
@media (prefers-reduced-motion: reduce) {
  .hub-list__item { transition: none; }
}
.hub-list__item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-kaart-op);
}
.hub-list__item::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-tegel);
  background: var(--color-wine-tint);
}
.hub-list__item::after {
  content: "";
  position: absolute;
  left: 37px;
  top: 37px;
  width: 18px;
  height: 18px;
  background-color: var(--color-wine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5l9 7-9 7V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5l9 7-9 7V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.hub-list__item h3 { margin-bottom: 8px; font-size: 1.1rem; }
.hub-list__item h3 a { text-decoration: none; color: var(--color-ink); }
.hub-list__item h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-kaart); }
.hub-list__item h3 a:hover { color: var(--color-wine); }
.hub-list__item p { margin-bottom: 0; color: var(--color-ink-muted); font-size: 15px; }

/* --------------------------------------------------------------------------
   Keuzekaarten van de zelfcheck: zelfde kaartvorm als de hub-kaarten, maar de
   hele kaart is één keuze. De tekst is dus geen losse link meer met onderlijning,
   maar de titel van de kaart.
   -------------------------------------------------------------------------- */
.choice-list__item::after,
.choice-list .hub-list__item::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='1.5'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='1.5'/%3E%3Cpath d='m3.5 7.5 8.5 6 8.5-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.choice-list > .hub-list__item > a {
  display: block;
  text-decoration: none;
  color: var(--color-ink);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.5;
  padding-right: 22px;
}
.choice-list > .hub-list__item > a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-kaart);
}
.choice-list > .hub-list__item > a::after {
  content: "\2192";
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--color-wine);
  font-weight: 700;
  transition: transform 150ms ease;
}
.choice-list > .hub-list__item:hover > a { color: var(--color-wine); }
.choice-list > .hub-list__item:hover > a::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .choice-list > .hub-list__item > a::after { transition: none; }
}

@media (max-width: 480px) {
  .hub-list__item { padding-left: 24px; padding-top: 84px; }
  .hub-list__item::before { left: 24px; top: 24px; }
  .hub-list__item::after { left: 37px; top: 37px; }
}

/* ---------- Homepage hero (twee kolommen) ---------- */
.hero { padding: clamp(32px, 6vw, 56px) 0 clamp(16px, 4vw, 32px) 0; }
.hero .wide-column,
.hero .tool-column {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero .wide-column,
  .hero .tool-column {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-wine);
  margin: 0 0 14px 0;
}
.hero h1 { max-width: 620px; }
.hero .lead { max-width: 560px; margin-top: 16px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-beeld);
  box-shadow: var(--shadow-kaart);
}
@media (max-width: 899px) {
  .hero__media { max-width: 480px; }
}

/* ---------- Beeld binnen een tekstsectie (bv. hoe-het-hoort) ---------- */
.section-image {
  margin: 28px 0;
  border-radius: var(--radius-beeld);
  overflow: hidden;
  box-shadow: var(--shadow-kaart);
}
.section-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ---------- Formulier ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 15px; color: var(--color-ink); margin-bottom: 6px; }
.form-field .optional { font-weight: 400; color: var(--color-ink-muted); font-size: 13px; }
.form-field input, .form-field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 11px 13px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-small);
  background: var(--color-white);
  color: var(--color-ink);
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--color-wine); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; }
.form-footnote { font-size: 13px; color: var(--color-ink-muted); }

.form-message { display: none; border-radius: var(--radius-kaart); padding: 22px 24px; margin-bottom: 22px; }
.form-message.is-visible { display: block; }
.form-message--success { background: var(--color-slate-tint); }
.form-message--error { background: var(--color-wine-tint); }
.form-message h2 { font-size: 1.3rem; }

.contact-details { margin-top: 8px; }
.contact-details address { font-style: normal; }
.contact-details h2 { font-size: 22px; }

/* ---------- 404 ---------- */
.error-page { padding: 96px 0; text-align: left; }
.error-page p:has(.btn) { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

@media (max-width: 640px) {
  .lead { font-size: 1.05rem; }
  .funnel__card, .funnel__branch { margin-left: 0; }
  .funnel__summary { grid-template-columns: 28px 1fr auto; }
  .contact-note { margin-top: 32px; }
  .footer-columns { padding-bottom: 32px; }
}

/* Regelverdeling: voorkomt dat een kort woorddeel als "EPB-" of "u?" alleen
   op de laatste regel van een kop belandt. */
h1, h2, h3 { text-wrap: balance; }
.lead { text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Dienstenkaarten: elk een eigen icoon in plaats van het generieke pijltje.
   Volgorde: EPB-verslaggeving, ventilatieverslaggeving, blowerdoortest.
   -------------------------------------------------------------------------- */
.service-list > .hub-list__item:nth-child(1)::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a1.5 1.5 0 0 0-1.5 1.5v15A1.5 1.5 0 0 0 7 21h10a1.5 1.5 0 0 0 1.5-1.5V7.5z'/%3E%3Cpath d='M14 3v4.5h4.5'/%3E%3Cpath d='M9 12.5h6M9 16h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a1.5 1.5 0 0 0-1.5 1.5v15A1.5 1.5 0 0 0 7 21h10a1.5 1.5 0 0 0 1.5-1.5V7.5z'/%3E%3Cpath d='M14 3v4.5h4.5'/%3E%3Cpath d='M9 12.5h6M9 16h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.service-list > .hub-list__item:nth-child(2)::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h9.5a2.5 2.5 0 1 0-2.5-2.5'/%3E%3Cpath d='M3 12h13a2.5 2.5 0 1 1-2.5 2.5'/%3E%3Cpath d='M3 16h6.5a2 2 0 1 1-2 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h9.5a2.5 2.5 0 1 0-2.5-2.5'/%3E%3Cpath d='M3 12h13a2.5 2.5 0 1 1-2.5 2.5'/%3E%3Cpath d='M3 16h6.5a2 2 0 1 1-2 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.service-list > .hub-list__item:nth-child(3)::after { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='1.8'/%3E%3Cpath d='M12 10.2V4.5M13.6 13l4.9 2.8M10.4 13l-4.9 2.8'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Ccircle cx='12' cy='12' r='1.8'/%3E%3Cpath d='M12 10.2V4.5M13.6 13l4.9 2.8M10.4 13l-4.9 2.8'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Kaartkoppen op de hubs zijn h2 voor de structuur, maar houden de kleinere h3-maat. */
.card-heading { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.35; font-weight: 700; }

/* Contextuele doorverwijzing naar een dienstenpagina, onderaan de inhoud.
   Bewust rustig: een geliniëerd blok, geen tweede oproepblok. */
.service-pointer {
  max-width: var(--max-width-tekst, 720px);
  margin: 32px auto 0;
  padding: 16px 20px;
  border-left: 3px solid var(--color-wine);
  background: var(--color-mist);
  border-radius: 0 var(--radius-kaart) var(--radius-kaart) 0;
  font-size: 16px;
  line-height: 1.6;
}
