/* HypoIQ — een hypotheekdossier dat je zelf afvinkt: koele papierkleur, petrol inkt, markeerstift op wat telt. */
/* HypoIQ: vrolijk en licht. Turquoise als hoofdkleur, zonnig geel als markeerstift, mint en boterzacht geel als vlakken. */
:root {
  --paper: #FBFEFD;
  --surface: #FFFFFF;
  --ink: #12302F;
  --ink-2: #4B6664;
  --line: #D6E7E3;
  --petrol: #0A7A70;        /* turquoise voor tekst en links */
  --pop: #2ED3BE;           /* turquoise vlakken en knoppen */
  --pop-deep: #19B8A4;
  --on-pop: #0D2B29;
  --petrol-deep: #0A7A70;
  --on-petrol: #FFFFFF;
  --mint: #E4F8F3;
  --butter: #FFF4CC;
  --marker: #FFCF33;
  --marker-soft: rgba(255, 207, 51, .55);
  --ok: #138A5A;
  --ok-soft: #DDF5E8;
  --warn: #B4471B;
  --warn-soft: #FDEBE1;
  --range: #A8C5C1;
  --shadow: rgba(18, 48, 47, .28);
  --logo-tile: #12302F; --logo-line: #2ED3BE; --logo-check: #FFCF33;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --s-1: .5rem; --s-2: 1rem; --s-3: 1.5rem; --s-4: 2.5rem; --s-5: 4rem; --s-6: 6rem;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1E1F; --surface: #12292A; --ink: #E8F3F1; --ink-2: #A3BBB8; --line: #24403F;
    --petrol: #5EE6D2; --pop: #2ED3BE; --pop-deep: #5EE6D2; --on-pop: #062320; --petrol-deep: #0E3A3D; --on-petrol: #062320;
    --mint: #10302D; --butter: #2C2814; --marker: #FFCF33; --marker-soft: rgba(255, 207, 51, .3);
    --ok: #5CC995; --ok-soft: #13372A; --warn: #F0956A; --warn-soft: #3A2218; --range: #4F6E6B;
    --shadow: rgba(0, 0, 0, .6);
    --logo-tile: #2ED3BE; --logo-line: #0D2B29; --logo-check: #0D2B29;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1E1F; --surface: #12292A; --ink: #E8F3F1; --ink-2: #A3BBB8; --line: #24403F;
  --petrol: #5EE6D2; --pop: #2ED3BE; --pop-deep: #5EE6D2; --on-pop: #062320; --petrol-deep: #0E3A3D; --on-petrol: #062320;
  --mint: #10302D; --butter: #2C2814; --marker: #FFCF33; --marker-soft: rgba(255, 207, 51, .3);
  --ok: #5CC995; --ok-soft: #13372A; --warn: #F0956A; --warn-soft: #3A2218; --range: #4F6E6B;
  --shadow: rgba(0, 0, 0, .6);
  --logo-tile: #2ED3BE; --logo-line: #0D2B29; --logo-check: #0D2B29;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap {
  max-width: 1140px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; }
p { margin: 0; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34em; }
.eyebrow {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--petrol); font-weight: 500;
}
.mark {
  background: linear-gradient(transparent 58%, var(--marker-soft) 58%, var(--marker-soft) 92%, transparent 92%);
  padding-inline: .08em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.num { font-variant-numeric: tabular-nums; }
.fine { font-size: .88rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  padding: .95rem 1.4rem; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height: 52px; background: none; color: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pop); color: var(--on-pop); box-shadow: 0 6px 0 -2px color-mix(in srgb, var(--pop-deep) 55%, transparent); }
.btn-primary:hover { background: var(--pop-deep); color: var(--on-pop); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { color: var(--petrol); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: var(--s-3); padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.logo-svg { height: 36px; width: auto; display: block; }
.site-footer .logo-svg { height: 30px; }
.nav { display: none; gap: var(--s-3); margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: .98rem; padding-block: .3rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--marker); }
.header-cta { margin-left: auto; padding: .6rem 1.1rem; font-size: .95rem; min-height: 44px; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 980px) {
  .nav { display: flex; }
  .header-cta { margin-left: var(--s-2); }
  .menu-btn { display: none; }
}
.mobile-nav { border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0 1rem; display: grid; }
.mobile-nav a { display: block; padding: .75rem 0; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ---------- Hero (home) ---------- */
.hero { padding-block: var(--s-4) var(--s-5); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, var(--marker-soft) 0%, transparent 68%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, color-mix(in srgb, var(--pop) 30%, transparent) 0%, transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: var(--s-4); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: var(--s-5); } .hero { padding-block: var(--s-5) var(--s-6); } }
.hero-copy { display: grid; gap: var(--s-3); min-width: 0; }
.eo-note { font-size: .95rem; color: var(--ink-2); max-width: 36em; }
.eo-note a { color: var(--petrol); font-weight: 700; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding-top: var(--s-1); font-size: .92rem; color: var(--ink-2); }
.trust-row span { display: inline-flex; align-items: center; gap: .4rem; }
.stars { color: var(--marker); letter-spacing: 1px; }
.trust-row strong { color: var(--ink); }

/* Dossier mock */
.dossier {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px var(--shadow);
  padding: var(--s-3); display: grid; gap: var(--s-2); min-width: 0; position: relative;
}
.dossier-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.dossier-head h3 { font-size: 1.15rem; }
.tag { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); border: 1px dashed var(--line); border-radius: 999px; padding: .15rem .6rem; }
.steps-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.steps-mini li { display: grid; grid-template-columns: 28px 1fr auto; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.steps-mini li:first-child { border-top: 0; }
.dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.dot.done { background: var(--ok); color: var(--surface); }
.dot.busy { border: 2px solid var(--pop-deep); background: conic-gradient(var(--pop) 0 66%, transparent 66% 100%); }
.dot.todo { border: 2px dashed var(--line); }
.steps-mini .label { font-weight: 700; min-width: 0; }
.steps-mini .meta { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-2); text-align: right; }
.meta.okc { color: var(--ok); }
.progress { grid-column: 2 / -1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 66%; background: var(--pop); border-radius: inherit; }
.ai-alert {
  display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start;
  background: var(--warn-soft); border-radius: 12px; padding: .85rem 1rem; font-size: .93rem;
}
.ai-alert .badge { font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .06em; background: var(--warn); color: var(--surface); border-radius: 6px; padding: .2rem .45rem; margin-top: .15rem; }
.ai-alert strong { display: block; color: var(--ink); }
.ai-alert span { color: var(--ink-2); }
.dossier-foot { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); flex-wrap: wrap; font-size: .9rem; color: var(--ink-2); padding-top: .25rem; }
.dossier-foot .fake-btn { font-family: var(--f-display); font-weight: 700; color: var(--on-pop); background: var(--pop); border: 2px solid var(--pop); border-radius: 999px; padding: .35rem .9rem; font-size: .88rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-block: var(--s-4) var(--s-4); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .page-hero { padding-block: var(--s-5) var(--s-4); } }
.page-hero .wrap { display: grid; gap: var(--s-2); }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18em; }
.page-hero .lede { max-width: 38em; }
.crumbs { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs a { color: var(--ink-2); }
.meta-line { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-5); }
@media (min-width: 960px) { .section { padding-block: var(--s-6); } }
.section.tight { padding-block: var(--s-4); }
.section-head { display: grid; gap: var(--s-2); max-width: 44rem; margin-bottom: var(--s-4); }
.band { background: var(--mint); }
.band.sun { background: var(--butter); }

/* Geschiktheidscheck */
.check {
  background: var(--surface); border: 0; border-radius: 24px; box-shadow: 0 20px 40px -28px var(--shadow);
  padding: var(--s-3); display: grid; gap: var(--s-3); min-width: 0;
}
@media (min-width: 720px) { .check { padding: var(--s-4); } }
.check-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.check-progress { display: flex; gap: 6px; }
.check-progress i { width: 26px; height: 6px; border-radius: 99px; background: var(--line); }
.check-progress i.on { background: var(--pop); }
.check-q { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.85rem); line-height: 1.2; text-wrap: balance; }
.check-hint { color: var(--ink-2); font-size: .95rem; max-width: 40em; }
.check-answers { display: flex; flex-wrap: wrap; gap: .75rem; }
.check-answers .btn { min-width: 130px; }
.check-result { display: grid; gap: var(--s-2); }
.check-result .verdict { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; width: fit-content; }
.verdict.good { background: var(--ok-soft); color: var(--ok); }
.verdict.maybe { background: var(--marker-soft); color: var(--ink); }
.verdict.advice { background: var(--warn-soft); color: var(--warn); }
.check-result h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.check-result p { color: var(--ink-2); max-width: 40em; }
.reset-link { background: none; border: 0; padding: 0; color: var(--ink-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .92rem; width: fit-content; }

/* Price */
.price-grid { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 960px) { .price-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s-5); } }
.compare { display: grid; gap: var(--s-3); min-width: 0; }
.bar-row { display: grid; gap: .45rem; }
.bar-row .bar-label { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; font-weight: 700; }
.bar-row .bar-label .amt { font-family: var(--f-mono); font-weight: 500; }
.track { position: relative; height: 34px; border-radius: 8px; background: color-mix(in srgb, var(--line) 45%, transparent); overflow: hidden; }
.track .fill { position: absolute; inset: 0 auto 0 0; border-radius: 8px; }
.track .fill.bank { width: 70%; background: var(--range); }
.track .fill.bank-range { left: 70%; width: 16%; background: repeating-linear-gradient(135deg, var(--range) 0 6px, transparent 6px 11px); border-radius: 0 8px 8px 0; }
.track .fill.hq { width: 21.67%; background: var(--pop); }
.axis { position: relative; height: 1.4rem; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-2); }
.axis span { position: absolute; top: 0; transform: translateX(-50%); }
.axis span:first-child { transform: none; }
.axis span:last-child { transform: translateX(-100%); }
.saving { font-size: 1.05rem; }
.saving strong { font-family: var(--f-display); font-size: 1.3rem; }
.source { font-size: .82rem; color: var(--ink-2); }
.source a { color: var(--ink-2); }

.price-card {
  background: var(--butter); border: 0; border-radius: 24px; padding: var(--s-3); box-shadow: 0 20px 40px -30px var(--shadow);
  display: grid; gap: var(--s-2); min-width: 0;
}
.price-card .amount { font-family: var(--f-display); font-weight: 800; font-size: 4rem; line-height: 1; letter-spacing: -0.03em; }
.price-card .amount small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-2); font-family: var(--f-body); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; position: relative; }
.checks li::before { content: ""; width: 20px; height: 20px; margin-top: .2rem; border-radius: 6px; background: var(--ok-soft); box-shadow: inset 0 0 0 2px var(--ok); }
.checks li::after { content: ""; position: absolute; left: 7px; top: .45rem; width: 5px; height: 10px; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; display: grid; gap: .6rem; align-content: start; padding: var(--s-3); background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); border-top: 6px solid var(--pop); min-width: 0; }
.steps li::before { content: "Stap " counter(s); font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--petrol); }
.steps p { color: var(--ink-2); }
.steps .who { font-family: var(--f-mono); font-size: .74rem; color: var(--ink-2); }
.steps .who b { color: var(--ink); font-weight: 500; background: var(--marker-soft); padding: 0 .3rem; border-radius: 3px; }
.after-steps { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* Differentiators */
.why-grid { display: grid; gap: var(--s-3) var(--s-4); }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why { display: grid; grid-template-columns: 44px 1fr; gap: var(--s-2); align-items: start; min-width: 0; }
.why .ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--marker); color: #12302F; }
.why .ico svg { width: 22px; height: 22px; }
.why h3 { margin-bottom: .3rem; }
.why p { color: var(--ink-2); }

/* Fit */
.fit-grid { display: grid; gap: var(--s-3); }
@media (min-width: 800px) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit { border-radius: var(--r); padding: var(--s-3); display: grid; gap: var(--s-2); align-content: start; min-width: 0; }
.fit.yes { background: var(--ok-soft); }
.fit.no { background: var(--warn-soft); }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.fit li { display: grid; grid-template-columns: 1.3rem 1fr; gap: .5rem; }
.fit.yes li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.fit.no li::before { content: "✕"; color: var(--warn); font-weight: 700; }
.fit-foot { margin-top: var(--s-3); color: var(--ink-2); max-width: 46em; }
.fit-foot strong { color: var(--ink); }

/* EO explainer */
.eo-grid { display: grid; gap: var(--s-3); }
@media (min-width: 860px) { .eo-grid { grid-template-columns: repeat(3, 1fr); } }
.eo-col { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.eo-col .who-label { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; }
.eo-col p { color: var(--ink-2); }
.not-included { margin-top: var(--s-4); padding: var(--s-3); border: 2px dashed var(--line); border-radius: var(--r); display: grid; gap: .4rem; max-width: 52rem; }

/* Trust */
.trust-grid { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 900px) { .trust-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s-5); } }
.score { display: grid; gap: .25rem; }
.score .big { font-family: var(--f-display); font-weight: 800; font-size: 5.5rem; line-height: .9; letter-spacing: -0.04em; }
.score .stars { font-size: 1.5rem; }
.score p { color: var(--ink-2); max-width: 26em; }
.score a { color: var(--petrol); font-weight: 700; }
blockquote { margin: 0; display: grid; gap: var(--s-2); }
blockquote p { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; letter-spacing: -0.01em; }
blockquote footer { color: var(--ink-2); font-size: .95rem; }
.creds { margin-top: var(--s-4); display: grid; gap: var(--s-2); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cred { border-top: 1px solid var(--line); padding-top: .75rem; display: grid; gap: .15rem; }
.cred .k { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.cred .v { font-weight: 700; }

/* Guide cards */
.guides { display: grid; gap: var(--s-3); }
@media (min-width: 860px) { .guides { grid-template-columns: repeat(3, 1fr); } }
.guide {
  display: grid; gap: .6rem; align-content: start; text-decoration: none; padding: var(--s-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .15s ease, transform .15s ease; min-width: 0;
}
.guide:hover { border-color: var(--pop); transform: translateY(-3px); box-shadow: 0 16px 30px -24px var(--shadow); }
.guide p { color: var(--ink-2); }
.guide .go { font-family: var(--f-display); font-weight: 700; color: var(--petrol); }

/* FAQ */
.faq { display: grid; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--f-display); font-weight: 700; font-size: 1.15rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font-size: 1.6rem; font-weight: 500; color: var(--petrol); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 1.25rem; color: var(--ink-2); max-width: 44em; display: grid; gap: .6rem; }
.faq .a a { color: var(--petrol); font-weight: 700; }
.faq-group { display: grid; gap: var(--s-2); margin-bottom: var(--s-4); }
.faq-group h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }

/* Prose (guides) */
.prose-layout { display: grid; gap: var(--s-4); }
@media (min-width: 1000px) { .prose-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-5); } }
.toc { display: none; }
@media (min-width: 1000px) {
  .toc { display: block; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); align-self: start; font-size: .92rem; }
  .toc p { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; border-left: 2px solid var(--line); }
  .toc a { display: block; padding-left: .9rem; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-2); }
  .toc a:hover { color: var(--ink); border-left-color: var(--petrol); }
}
.prose { max-width: 42rem; display: grid; gap: var(--s-2); min-width: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: var(--s-4); scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-2); }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { margin: 0; padding-left: 1.25rem; display: grid; gap: .4rem; }
.prose a:not(.btn) { color: var(--petrol); font-weight: 700; text-underline-offset: 3px; }
.callout { border-left: 4px solid var(--marker); background: var(--surface); padding: var(--s-2) var(--s-3); border-radius: 0 var(--r) var(--r) 0; display: grid; gap: .4rem; }
.callout.warn { border-left-color: var(--warn); }
.callout strong { font-family: var(--f-display); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .97rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; background: var(--paper); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; }
td.hq { background: color-mix(in srgb, var(--marker-soft) 40%, transparent); }

/* Oefenvragen */
.quiz { display: grid; gap: var(--s-3); }
.quiz-q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-3); display: grid; gap: var(--s-2); min-width: 0; }
.quiz-q legend { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; padding: 0; margin-bottom: .25rem; }
.quiz-q fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.quiz-q .n { font-family: var(--f-mono); font-size: .74rem; color: var(--petrol); letter-spacing: .06em; text-transform: uppercase; }
.opt { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.opt:hover { border-color: var(--ink-2); }
.opt input { margin: .25rem 0 0; accent-color: var(--petrol); width: 18px; height: 18px; }
.opt.right { border-color: var(--ok); background: var(--ok-soft); }
.opt.wrong { border-color: var(--warn); background: var(--warn-soft); }
.quiz-q.answered .opt { cursor: default; }
.explain { font-size: .95rem; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: var(--s-2); }
.explain strong { color: var(--ink); }
.quiz-score { position: sticky; bottom: 96px; z-index: 5; background: var(--ink); color: var(--paper); border-radius: 999px; padding: .6rem 1.1rem; font-family: var(--f-mono); font-size: .85rem; width: fit-content; justify-self: end; }
@media (min-width: 900px) { .quiz-score { bottom: 20px; } }

/* Documentenchecklist */
.doclist { display: grid; gap: var(--s-3); }
.doc-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-3); display: grid; gap: .25rem; min-width: 0; }
.doc-group h3 { margin-bottom: .5rem; display: flex; justify-content: space-between; gap: var(--s-2); align-items: baseline; flex-wrap: wrap; }
.doc-group h3 .cnt { font-family: var(--f-mono); font-size: .76rem; font-weight: 500; color: var(--ink-2); }
.doc { display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start; padding: .7rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.doc:first-of-type { border-top: 0; }
.doc input { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--ok); }
.doc b { display: block; }
.doc span { color: var(--ink-2); font-size: .94rem; }
.doc input:checked + div b { text-decoration: line-through; text-decoration-color: var(--ok); text-decoration-thickness: 2px; }
.doc-total { display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); flex-wrap: wrap; padding: var(--s-2) var(--s-3); border-radius: var(--r); background: var(--ink); color: var(--paper); }
.doc-total .bar { flex: 1 1 160px; height: 8px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; min-width: 120px; }
.doc-total .bar i { display: block; height: 100%; width: 0; background: var(--pop); transition: width .25s ease; }
.doc-total .num { font-family: var(--f-mono); font-size: .9rem; }

/* Final CTA */
.final { background: #2ED3BE; color: #0D2B29; position: relative; overflow: hidden; }
.final::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 207, 51, .7) 0%, transparent 70%); pointer-events: none; }
.final .wrap { padding-block: var(--s-5); display: grid; gap: var(--s-3); position: relative; z-index: 1; }
.final h2 { color: #0D2B29; max-width: 18em; }
.final p { color: #134440; max-width: 36em; font-size: 1.1rem; }
.final .btn-primary { background: #FFCF33; color: #1B1B12; box-shadow: 0 6px 0 -2px #D9A70E; }
.final .btn-primary:hover { background: #FFDB66; color: #1B1B12; }
.final .btn-ghost { color: #0D2B29; border-color: rgba(13, 43, 41, .35); }
.final .btn-ghost:hover { border-color: #0D2B29; }

/* Footer */
.site-footer { padding-block: var(--s-4) var(--s-5); font-size: .93rem; color: var(--ink-2); }
.foot-grid { display: grid; gap: var(--s-3); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h3 { font-size: 1rem; color: var(--ink); margin-bottom: .5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.site-footer .legal { margin-top: var(--s-4); padding-top: var(--s-2); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; }
.copyable { user-select: all; font-family: var(--f-mono); font-size: .9rem; color: var(--ink); }

/* Mobile sticky CTA */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 8;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: .65rem max(16px, env(safe-area-inset-right, 0px)) calc(.65rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-2);
  box-shadow: 0 -10px 30px -20px var(--shadow);
}
.mobile-cta .p { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.1; }
.mobile-cta .p small { display: block; font-family: var(--f-body); font-weight: 400; font-size: .78rem; color: var(--ink-2); }
.mobile-cta .btn { padding: .7rem 1.15rem; min-height: 46px; font-size: 1rem; }
@media (min-width: 900px) { .mobile-cta { display: none; } }

/* ---------- Aanvraag ---------- */
.apply-layout { display: grid; gap: var(--s-4); align-items: start; }
@media (min-width: 1000px) { .apply-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s-5); } }
.apply-aside { display: grid; gap: var(--s-2); position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
@media (max-width: 999px) { .apply-aside { position: static; order: 2; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-3); display: grid; gap: .5rem; }
.aside-card .amount { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.aside-card p { color: var(--ink-2); font-size: .95rem; }
#flow { min-width: 0; }
.demo-note { background: var(--marker-soft); border-radius: 10px; padding: .6rem .9rem; font-size: .9rem; margin-bottom: var(--s-2); }
.stepper { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper li { display: grid; gap: .35rem; font-size: .8rem; color: var(--ink-2); border-top: 4px solid var(--line); padding-top: .5rem; min-width: 0; }
.stepper li.done { border-top-color: var(--ok); }
.stepper li.on { border-top-color: var(--pop); color: var(--ink); font-weight: 700; }
.stepper .n { font-family: var(--f-mono); font-size: .72rem; }
.stepper .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .stepper li:not(.on) .t { display: none; } }
.flow-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: var(--s-3); display: grid; gap: var(--s-3); box-shadow: 0 24px 48px -36px var(--shadow); }
@media (min-width: 720px) { .flow-card { padding: var(--s-4); } }
.flow-card.busy { opacity: .75; }
.flow-head { display: grid; gap: .5rem; }
.flow-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); outline: none; }
.lede-s { color: var(--ink-2); font-size: 1.05rem; max-width: 40em; }
.qcount { display: block; font-family: var(--f-mono); font-size: .76rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--petrol); margin-bottom: .6rem; }
.stack { display: grid; gap: var(--s-3); }
.grid2 { display: grid; gap: var(--s-2) var(--s-3); }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field label, .choice legend { font-weight: 700; font-size: .98rem; }
.opt-l { font-weight: 400; color: var(--ink-2); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px;
  padding: .7rem .85rem; min-height: 48px; transition: border-color .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px var(--marker-soft); }
.money { display: flex; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding-left: .85rem; }
.money:focus-within { border-color: var(--petrol); box-shadow: 0 0 0 3px var(--marker-soft); }
.money input { border: 0; background: transparent; box-shadow: none !important; padding-left: .4rem; }
.money > span { color: var(--ink-2); font-weight: 700; }
.hint { font-size: .86rem; color: var(--ink-2); }
.err { font-size: .86rem; color: var(--warn); font-weight: 700; min-height: 0; }
.err:empty { display: none; }
.field.bad input, .field.bad select, .field.bad textarea, .field.bad .money { border-color: var(--warn); }
.choice { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.choice legend { padding: 0; margin-bottom: .35rem; line-height: 1.35; }
.choice-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; min-height: 46px; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; transition: all .15s ease; }
.pill:hover span { border-color: var(--ink-2); }
.pill input:checked + span { background: var(--pop); border-color: var(--pop); color: var(--on-pop); }
.pill input:focus-visible + span { outline: 3px solid var(--marker); outline-offset: 2px; }
.choice.bad .pill span { border-color: var(--warn); }
.sect { display: grid; gap: var(--s-2); padding-top: var(--s-3); border-top: 1px solid var(--line); }
.sect:first-of-type { border-top: 0; padding-top: 0; }
.sect h3 { font-size: 1.25rem; }
.flow-nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.flow-nav .btn-primary { margin-left: auto; }
.flow-error { background: var(--warn-soft); color: var(--warn); border-radius: 10px; padding: .75rem 1rem; font-weight: 700; }
.rules { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.opts { border: 0; padding: 0; margin: 0; display: grid; gap: .6rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tprog { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.tprog i { display: block; height: 100%; background: var(--pop); border-radius: inherit; transition: width .25s ease; }
.opt input:checked + span { font-weight: 700; }
.opt:has(input:checked) { border-color: var(--petrol); background: color-mix(in srgb, var(--marker-soft) 45%, transparent); }
.result { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; border-radius: var(--r); padding: var(--s-2) var(--s-3); font-weight: 700; }
.result.good { background: var(--ok-soft); color: var(--ok); }
.result.bad { background: var(--warn-soft); color: var(--warn); }
.result .big { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; }
.why-list { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.callout-s { border-left: 4px solid var(--marker); background: var(--paper); padding: var(--s-2) var(--s-3); border-radius: 0 var(--r) var(--r) 0; display: grid; gap: .25rem; }
.callout-s p { color: var(--ink-2); }
.sum { border: 1px solid var(--line); border-radius: var(--r); padding: var(--s-2) var(--s-3); display: grid; gap: .5rem; }
.sum h3 { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); font-size: 1.1rem; }
.sum dl { margin: 0; display: grid; gap: .35rem; }
.sum dl > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: .75rem; font-size: .95rem; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.edit { background: none; border: 0; color: var(--petrol); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: underline; padding: 0; }
.akk { display: grid; gap: .6rem; }
.akk h3 { font-size: 1.1rem; }
.ck { display: grid; grid-template-columns: 24px 1fr; gap: .7rem; align-items: start; cursor: pointer; padding: .6rem .8rem; border: 1.5px solid var(--line); border-radius: 12px; }
.ck input { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--petrol); }
.ck:has(input:checked) { border-color: var(--ok); background: var(--ok-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.next { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; gap: var(--s-2); }
.next li { counter-increment: n; display: grid; grid-template-columns: 36px 1fr; gap: .25rem .9rem; }
.next li::before { content: counter(n); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--pop); color: var(--on-pop); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 500; }
.next span { color: var(--ink-2); }
.check-answers { align-items: center; }
.check-opt { text-align: left; }
.check-opt:hover { border-color: var(--pop-deep); background: var(--mint); }
.check-back { margin-left: auto; }
.header-cta { white-space: nowrap; }
@media (max-width: 560px) {
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .logo-svg { height: 30px; }
}
