/* Erfwijzer — v0.2-schets.
 *
 * Kleur: diep dennengroen als enige merkkleur. Het veld (notaris.be, LawBase,
 * TestamentTest, Legacio, Firm24) zit op donkerblauw/leisteen + oranje of geel;
 * groen geeft hetzelfde gevoel van rust en betrouwbaarheid, maar is van ons en
 * past bij "stamboom" en "wat doorgaat". Amber en roest zijn alleen signalen
 * (aandachtspunt, termijn) — nooit decoratie. Geen fel rood, geen zwart.
 * Type: Newsreader (serif, gezag) voor koppen, Instrument Sans voor tekst;
 * dezelfde huisletters als co-legal.be, lokaal geserveerd (CSP: 'self').
 * Basis 18px en knoppen van 56px: een deel van het publiek is 60+.
 */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/fonts/newsreader-normal-latin.woff2) format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/instrument-sans-normal-latin.woff2) format("woff2");
}

:root {
  --bg: #f4f6f4;
  --surface: #ffffff;
  --ink: #1a2923;
  --muted: #56655e;
  --line: #d9e1dc;
  --pine: #1f4a3d;
  --pine-strong: #163a2f;
  --sage: #e2ece6;
  --sage-strong: #c9dbd1;
  --amber: #8a5300;
  --amber-soft: #fbefd9;
  --rust: #9b3a26;
  --rust-soft: #f7e3dc;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }

/* ── Kop ─────────────────────────────────────────────────────────── */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.topbar-inner { max-width: 760px; margin: 0 auto; padding: 14px 16px 12px; display: grid; gap: 12px; }
.brandline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--pine); letter-spacing: -.01em; }
.brand-sub { font-size: .8rem; color: var(--muted); }
.country-switcher { display: inline-grid; grid-template-columns: 1fr 1fr; flex: none; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.country-switcher a { min-width: 46px; min-height: 38px; display: grid; place-items: center; padding: 0 12px; border-radius: 999px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; }
.country-switcher a:hover { color: var(--pine); }
.country-switcher a[aria-current="page"] { background: var(--pine); color: white; box-shadow: 0 1px 2px rgb(20 45 36 / .18); }
.visually-hidden { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }

/* Stappenbalk: vier benoemde fases, de huidige vet, voltooide met vinkje. */
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.stepper li { display: grid; gap: 6px; font-size: .78rem; color: var(--muted); }
.stepper li::before { content: ""; height: 4px; border-radius: 2px; background: var(--line); }
.stepper li.done::before { background: var(--pine); }
.stepper li.current::before { background: var(--sage-strong); }
.stepper li.current { color: var(--ink); font-weight: 600; }
.stepper li.done { color: var(--pine); }
.stepper li.done span::before { content: "✓ "; }
.topbar[data-hidden="true"] .stepper { display: none; }

/* Eigen consentlaag: geen pixels, tags of profielopbouw. */
.monitoring-consent { position:fixed; right:16px; bottom:16px; z-index:20; display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; max-width:min(520px,calc(100vw - 32px)); padding:14px 16px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 8px 28px rgb(20 45 36 / .16); font-size:.78rem; }
.monitoring-consent p { flex-basis:100%; color:var(--muted); }
.monitoring-consent .consent-choice { min-height:42px; padding:8px 14px; background:var(--surface); color:var(--pine); border:1px solid var(--pine); }
.monitoring-consent .consent-choice:hover { background:var(--sage); }
.monitoring-consent a,.monitoring-consent .link { color:var(--pine); text-decoration:underline; text-underline-offset:3px; background:none; border:0; padding:8px 0; cursor:pointer; }
.monitoring-consent.is-settled { position:static; max-width:760px; margin:0 auto 18px; box-shadow:none; border-radius:0; border-inline:0; }
@media print { .monitoring-consent { display:none; } }

/* ── Inhoud ──────────────────────────────────────────────────────── */
main { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; display: grid; gap: 24px; }

/* Start: twee ingangen, want nabestaanden en planners willen iets anders. */
.intro { display: grid; gap: 14px; padding-top: 8px; }
.intro h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.intro .lead { color: var(--muted); max-width: 52ch; }
.promises { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.promises li::before { content: "✓"; color: var(--pine); font-weight: 700; margin-right: 6px; }
.intents { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.intent {
  text-align: left; cursor: pointer; display: grid; gap: 6px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px;
}
.intent strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.intent span { color: var(--muted); font-size: .92rem; }
.intent:hover { border-color: var(--pine); background: var(--sage); }
.lawyer { display: flex; gap: 14px; align-items: center; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-strong); display: grid; place-items: center; font-family: var(--serif); color: var(--pine); font-weight: 600; flex: none; }

/* Vraag: één per scherm, grote keuzes, kiezen = verder. */
.question { display: grid; gap: 18px; }
.section-label { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--pine); font-weight: 600; }

.why { font-size: .92rem; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.why b { color: var(--ink); font-weight: 600; }
.options { display: grid; gap: 10px; }
.options.cols { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.option {
  min-height: 56px; text-align: left; cursor: pointer;
  display: grid; gap: 2px; align-content: center;
  padding: 12px 16px; background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius);
}
.option { grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.option .label { display: grid; gap: 2px; }
.option small { color: var(--muted); font-size: .85rem; }
.option .key {
  width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line);
  display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--muted);
}
.option:hover .key, .option:focus-visible .key { border-color: var(--pine); color: var(--pine); }
.options.cols .option { grid-template-columns: 1fr; justify-items: start; }
.options.cols .option .key { display: none; }
@media (hover: none) { .option .key { display: none; } .option { grid-template-columns: 1fr; } }
.question h2:focus, .overview h1:focus { outline: none; }
.option:hover { border-color: var(--pine); background: var(--sage); }
.option[aria-pressed="true"] { border-color: var(--pine); background: var(--sage); box-shadow: inset 0 0 0 1px var(--pine); }
.navrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.link { padding: 8px 0; background: none; border: 0; color: var(--pine); cursor: pointer; font-weight: 600; }
.count { font-size: .85rem; color: var(--muted); }

/* ── Overzicht ───────────────────────────────────────────────────── */
.overview { display: grid; gap: 28px; }
.overview > header { display: grid; gap: 10px; }
.overview h1 { font-size: clamp(1.9rem, 5.5vw, 2.5rem); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 14px; }
.panel h2 { font-size: 1.35rem; }
.panel-note { font-size: .85rem; color: var(--muted); }

.shares { display: grid; gap: 10px; }
.share { display: grid; gap: 2px; }
.share .who { font-weight: 600; }
.share .what { font-size: .88rem; color: var(--muted); }

.flags { display: grid; gap: 10px; list-style: none; padding: 0; margin: 0; }
.flag { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--amber-soft); color: var(--ink); font-size: .95rem; }
.flag::before { content: "!"; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.flag.ok { background: var(--sage); }
.flag.ok::before { content: "✓"; background: var(--pine); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline li > span:last-child { font-size: .95rem; }
.timeline .when { font-weight: 600; color: var(--pine); font-size: .92rem; }
.timeline li.urgent .when { color: var(--rust); }

.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.route { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 4px; align-content: start; }
.route b { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.route span { font-size: .85rem; color: var(--muted); }
.route.pick { border-color: var(--pine); background: var(--sage); }
.route.pick::before { content: "Past bij uw situatie"; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--pine); font-weight: 700; }

.cta { display: grid; gap: 12px; background: var(--pine); color: #fff; border-radius: var(--radius); padding: 24px 20px; }
.cta h2 { font-size: 1.5rem; }
.cta p { color: #d7e6de; font-size: .95rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { min-height: 52px; padding: 0 20px; border-radius: 8px; border: 0; cursor: pointer; font-weight: 600; }
.btn.primary { background: #fff; color: var(--pine); }
.btn.ghost { background: transparent; color: #fff; border: 1.5px solid #9cc2b0; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }
.btn.outline { background: var(--surface); color: var(--pine); border: 1.5px solid var(--pine); }
.btn.plain { background: transparent; color: var(--pine); padding: 0 8px; }
.soft-cta p { color: var(--muted); font-size: .95rem; }
.soft-cta .fine { color: var(--muted); }

.disclaimer { font-size: .82rem; color: var(--muted); }

.fine { font-size: .82rem; color: #d7e6de; }
.fine:empty { display: none; }

.recap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.recap summary { cursor: pointer; font-weight: 600; color: var(--pine); }
.recap dl { margin: 12px 0 0; display: grid; }
.recap-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.recap-row dt { color: var(--muted); font-size: .85rem; grid-column: 1; }
.recap-row dd { margin: 0; font-weight: 600; grid-column: 1; }
.recap-row .link { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.link.small { font-size: .88rem; }

@media (prefers-reduced-motion: no-preference) {
  .screen { animation: rise .25s ease-out; }
  @keyframes rise { from { transform: translateY(6px); } to { transform: none; } }
}
@media (max-width: 480px) {
  .stepper li span { display: none; }
  .stepper li.current span { display: inline; }
  .stepper { grid-template-columns: repeat(4, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

/* B2C: retain the pine/serif identity, with a clear reading and decision rhythm. */
:root { --bg: #f6f7f3; --radius: 14px; }
html { scroll-padding-top: 110px; }
a { color: var(--pine); text-underline-offset: .2em; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: wait; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 16px; padding: 12px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.topbar-inner { max-width: 1200px; padding: 20px 28px; }
.brandline { align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 1.65rem; }
/* Het merkteken van de wijzers (src/shared/brand.js): volgt de kleur van de wijzer. */
.wijzer-mark { width: 30px; height: 30px; flex: none; color: var(--pine); }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.landing-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 38px; }
.landing-nav a { font-size: .85rem; color: var(--muted); text-decoration: none; }
.landing-nav a:hover { color: var(--pine); text-decoration: underline; }
.topbar[data-hidden="false"] .landing-nav { display: none; }
.topbar[data-hidden="false"] .topbar-inner { max-width: 820px; }
.topbar[data-hidden="false"] .brand { font-size: 1.35rem; }
main { max-width: 820px; padding: 40px 28px 64px; }
main:has(.landing) { max-width: 1200px; padding-top: 0; }
main:focus { outline: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 58px; align-items: center; padding: 72px 0 64px; }
.intro { gap: 22px; padding: 0; }
.intro h1 { font-size: clamp(2.5rem, 4.2vw, 3.65rem); line-height: 1.06; letter-spacing: -.035em; text-wrap: initial; }
.intro h1 em { color: var(--pine); font-weight: 400; }
.intro .lead { font-size: 1.05rem; line-height: 1.7; max-width: 49ch; }
.promises { gap: 8px 16px; font-size: .8rem; }
.intents { gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.intent { padding: 22px 20px; gap: 10px; grid-template-rows: auto auto 1fr auto; border-color: #b9c9bf; min-width: 0; }
.intent strong { font-size: 1.45rem; line-height: 1.12; }
.intent span { font-size: .85rem; }
.intent .intent-kicker { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--pine); font-weight: 600; }
.intent .intent-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; color: var(--pine); padding-top: 12px; }
.intent-action > span { font-size: 1.2rem; color: var(--pine); }
.intro-note, .small-note { font-size: .78rem; line-height: 1.6; color: var(--muted); }
.result-preview { background: #e6eee6; padding: 28px; border: 1px solid #ccd9cc; border-radius: 120px 120px 16px 16px; box-shadow: 0 16px 40px -28px #274a3455; }
.preview-top { display: flex; justify-content: space-between; padding: 76px 0 16px; border-bottom: 1px solid #b8cab9; color: #465c4c; font-size: .6rem; letter-spacing: .12em; }
.preview-top span:last-child { letter-spacing: 0; }
.preview-eyebrow { color: var(--muted); font-size: .75rem; margin: 24px 0 10px; }
.result-preview h2 { font-size: 2.15rem; letter-spacing: -.02em; }
.preview-list { padding: 0; margin: 24px 0; list-style: none; display: grid; gap: 22px; }
.preview-list li { display: flex; gap: 14px; }
.preview-number { font-size: .7rem; padding-top: 4px; color: var(--pine); }
.preview-list strong { font-weight: 600; font-size: .85rem; }
.preview-list p { color: #465c4c; font-size: .78rem; line-height: 1.5; margin-top: 4px; }
.preview-bottom { border-top: 1px solid #b8cab9; padding-top: 18px; display: flex; align-items: center; gap: 14px; }
.preview-bottom > span { font-size: 1.5rem; }
.preview-bottom p { font-size: .7rem; color: #465c4c; }
.how-section, .faq-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 88px; padding: 64px 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; align-content: start; gap: 18px; }
.section-heading h2, .advice-section h2, .closing h2 { font-size: clamp(2rem, 3vw, 2.65rem); letter-spacing: -.025em; }
.section-heading > p:last-child { color: var(--muted); font-size: .95rem; max-width: 35ch; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
.how-list li { display: flex; gap: 24px; }
.how-list li > span { font-size: .75rem; color: var(--pine); border-top: 1px solid #b9c9bf; padding-top: 6px; }
.how-list h3 { font-size: 1.5rem; }
.how-list p { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.advice-section { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; background: var(--pine); color: white; padding: 44px; border-radius: 16px; }
.advice-section .section-label { color: #c9dbd1; margin-bottom: 18px; }
.advice-copy { display: grid; gap: 16px; font-size: .95rem; }
.advice-copy p { color: #e0eae3; }
.advice-copy a { color: white; }
.text-link { display: inline-flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; font-weight: 600; }
.advice-copy .small-note { color: #c9dbd1; }
.faq-section { border-top: 0; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { padding: 20px 30px 20px 0; cursor: pointer; position: relative; font-weight: 600; font-size: .95rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 0; top: 17px; color: var(--pine); font-size: 1.35rem; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { color: var(--muted); font-size: .9rem; padding-bottom: 20px; }
.closing { border-top: 1px solid var(--line); text-align: center; padding: 55px 0 12px; display: grid; justify-items: center; gap: 24px; }
.closing p { color: var(--muted); font-size: .8rem; }
.btn.solid { background: var(--pine); color: white; gap: 24px; }
.site-footer { max-width: 1144px; margin: 0 auto; border-top: 1px solid var(--line); padding: 28px 0 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.site-footer .brand { font-size: 1.2rem; }
.site-footer p, .site-footer .link { font-size: .75rem; color: var(--muted); }
#privacy-info { flex-basis: 100%; max-width: 65ch; }
.question { gap: 20px; }
.question h1 { font-size: clamp(1.9rem, 4.5vw, 2.5rem); letter-spacing: -.025em; }
.question h1:focus { outline: none; }
.question .why { background: transparent; padding: 0; border: 0; max-width: 62ch; }
.question-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.question-help { font-size: .8rem; color: var(--muted); }
.option { min-height: 64px; padding: 14px 18px; }
.option[aria-pressed="true"]::after { content: '✓'; grid-column: 3; color: var(--pine); }
.options.cols { grid-template-columns: repeat(5, 1fr); }
.options.cols .option { justify-items: center; }
.options.cols .option[aria-pressed="true"]::after { grid-column: auto; }
.link { min-height: 44px; }
.stepper { gap: 10px; }
.stepper li.current::before { background: var(--sage-strong); }
.question .question-bottom { border-top: 1px solid var(--line); padding-top: 16px; }
.overview { gap: 22px; }
.overview > header { gap: 16px; }
.overview-jumps { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .82rem; }
.overview-jumps a { min-height: 44px; display: flex; align-items: center; }
.result-summary { display: grid; gap: 12px; padding: 26px; background: var(--sage); border: 1px solid #bdd0c3; border-radius: var(--radius); }
.result-summary h2 { font-size: 1.65rem; }
.result-summary p { font-size: .95rem; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.print-help { font-size: .78rem; color: var(--muted); }
.print-contact { display: none; }
.shares { gap: 14px; }
.share { border-left: 3px solid var(--sage-strong); padding-left: 14px; }
.panel { padding: 26px; }
.panel h2 { font-size: 1.65rem; }
.notice { background: var(--amber-soft); padding: 18px; border-radius: 10px; font-size: .9rem; }
.cta { padding: 28px; }
.cta :focus-visible, .advice-section :focus-visible { outline-color: white; outline-offset: 4px; }
.route.pick::before { content: 'Mogelijke volgende stap'; }
.recap summary { min-height: 44px; display: list-item; align-content: center; }
@media (hover: hover) {
  .intent:hover { transform: translateY(-2px); }
  .btn:hover { filter: brightness(.95); }
}
@media (prefers-reduced-motion: no-preference) {
  .intent, .option, .btn { transition: background-color .16s, border-color .16s, transform .16s; }
}
@media (max-width: 1024px) {
  .hero { gap: 28px; }
  .result-preview { padding: 24px; }
  .how-section, .faq-section { gap: 40px; }
  .site-footer { margin: 0 28px; }
  .landing-nav { margin-right: 10px; gap: 18px; }
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; gap: 32px; }
  .intro h1 { font-size: clamp(2.65rem, 6vw, 3.65rem); max-width: 18ch; }
  .result-preview { border-radius: 14px; }
  .preview-top { padding-top: 0; }
  .preview-list { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .preview-list li { display: block; }
  .preview-number { display: block; margin-bottom: 6px; }
  .result-preview h2 br { display: none; }
  .how-section, .faq-section, .advice-section { grid-template-columns: 1fr; gap: 30px; }
  .how-section, .faq-section { padding: 44px 0; }
  .section-heading > p:last-child { max-width: 55ch; }
  .landing-nav { display: none; }
}
@media (max-width: 480px) {
  .topbar-inner { padding: 15px 20px; }
  .brand { font-size: 1.4rem; }
  .brand-sub { font-size: .7rem; }
  .country-switcher a { min-width: 42px; padding: 0 9px; }
  .country-switcher + .brand-sub { display: none; }
  main { padding: 24px 20px 44px; }
  .hero { padding: 34px 0 38px; }
  .intro { gap: 20px; }
  .intro h1 { font-size: 2.65rem; }
  .intro .lead { font-size: .95rem; }
  .promises { font-size: .72rem; gap: 6px 12px; }
  .intents { grid-template-columns: 1fr; }
  .intent { padding: 20px; gap: 8px; }
  .intent strong { font-size: 1.5rem; }
  .intent .intent-action { padding-top: 4px; }
  .preview-list { grid-template-columns: 1fr; }
  .preview-list li { display: flex; }
  .result-preview h2 { font-size: 1.85rem; }
  .preview-number { margin: 0; }
  .preview-top { padding-top: 6px; }
  .advice-section { padding: 26px 22px; }
  .site-footer { margin: 0 20px; align-items: start; flex-direction: column; }
  .question-top { gap: 8px; }
  .question-top .section-label { font-size: .7rem; }
  .options.cols { grid-template-columns: repeat(3, 1fr); }
  .question-help { font-size: .75rem; }
  .panel, .result-summary, .cta { padding: 20px; }
  .overview h1 { font-size: 2.25rem; }
  .cta-actions, .result-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; min-height: 56px; font-size: .9rem; }
  .recap { padding: 14px; }
}

/* Uitlegpagina's: leesbare kolom, antwoord eerst. */
.article { max-width: 720px; }
.article h1 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); }
.article h2 { font-size: 1.4rem; margin-top: 12px; }
.article p, .article li { max-width: 64ch; }
.article ol, .article ul { display: grid; gap: 8px; padding-left: 1.2em; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--pine); }
.meta { font-size: .85rem; color: var(--muted); }
.answer { font-size: 1.12rem; line-height: 1.55; border-left: 3px solid var(--pine); padding-left: 14px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .92rem; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table-wrap th { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); }
.table-wrap tr:last-child td { border-bottom: 0; }
.timeline-static { gap: 12px !important; }
.try { background: var(--pine); color: #fff; border-radius: var(--radius); padding: 22px 20px; display: grid; gap: 10px; }
.try h2 { margin: 0; }
.try p { color: #d7e6de; }
.try .btn.solid { background: #fff; color: var(--pine); display: inline-flex; align-items: center; justify-self: start; text-decoration: none; }
.sources { font-size: .85rem; color: var(--muted); }
.sources a { color: var(--pine); }


.try .btn.solid { background: white; color: var(--pine); }
.learn { font-size: .85rem; font-weight: 600; }
.intent-context { color: var(--muted); font-size: .85rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.reading-section { display: grid; gap: 20px; padding: 0 0 48px; }
.reading-section h2 { font-size: 2rem; }
.reading-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reading-links a { border: 1px solid var(--line); border-radius: 10px; padding: 20px; background: white; font-size: .9rem; font-weight: 600; display: flex; gap: 20px; justify-content: space-between; align-items: center; text-decoration: none; }
.reading-links a:hover { border-color: var(--pine); }
@media (max-width: 800px) { .reading-links { grid-template-columns: 1fr; } }
.landing-nav a { min-height: 44px; display: inline-flex; align-items: center; }

/* v0.4: meerdere antwoorden, uw positie, tariefgroepen, u in het schema */
.options.multi .option { grid-template-columns: auto 1fr; }
.options.multi .option .key { display: grid; width: 22px; height: 22px; border-radius: 5px; border: 1.5px solid var(--line); }
.options.multi .option[aria-pressed="true"] .key { background: var(--pine); border-color: var(--pine); }
.options.multi .option[aria-pressed="true"] .key::after { content: "✓"; color: #fff; font-size: .8rem; font-weight: 700; }
.btn.next { justify-self: start; background: var(--pine); color: #fff; min-width: 160px; }
.btn.next:disabled { opacity: .4; cursor: not-allowed; }
.groups { margin: 0; display: grid; gap: 0; }
.groups > div { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.groups > div:first-child { border-top: 0; }
.groups dt { font-weight: 600; }
.groups dd { margin: 0; color: var(--pine); }
@media (max-width: 480px) { .groups > div { grid-template-columns: 1fr; gap: 2px; } }

.options.multi .option[aria-pressed="true"]::after { content: none; }
@media (max-width: 480px) { .btn.next { width: 100%; } }

/* The completed intake becomes a personal, printable situation overview. */
body[data-mode="overview"] main { max-width: 1120px; }
.overview > header { max-width: 760px; }
.overview h1 { font-size: clamp(2.2rem, 4.5vw, 3.15rem); text-wrap: balance; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.result-status { font-size: .8rem; color: var(--pine); border: 1px solid var(--sage-strong); padding: 8px 13px; border-radius: 6px; background: var(--sage); }
.situation-map { border: 1px solid var(--sage-strong); border-radius: 14px; overflow: hidden; background: #edf3ee; }
.map-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px 0; }
.map-heading h2 { font-size: 2rem; margin-top: 8px; }
.family-map { padding: 32px; }
.family-core { display: flex; align-items: center; justify-content: center; }
.family-person { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; border: 1px solid #bacfc0; border-radius: 10px; padding: 22px 16px; background: var(--surface); min-width: 0; }
.family-person svg { width: 27px; height: 27px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.family-person b { font-weight: 600; font-size: 1rem; }
.family-person span { font-size: .78rem; line-height: 1.5; max-width: 26ch; color: var(--muted); }
.family-core .family-person { flex: 0 1 240px; min-height: 153px; }
.family-person.subject { background: var(--pine); border-color: var(--pine); color: white; }
.family-person.subject span { color: #dfebe4; }
.family-join { width: 40px; height: 1px; flex-shrink: 0; background: #829c8c; }
.family-branches { position: relative; list-style: none; display: flex; justify-content: center; gap: 18px; margin: 0; padding: 32px 0 0; }
.family-branches::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 32px; background: #829c8c; }
.family-branches:empty { display: none; }
.family-branches .family-person { flex: 0 1 300px; }
.map-caption { text-align: center; max-width: 72ch; margin: 0 auto; padding: 0 28px 24px; color: var(--muted); font-size: .78rem; }
.situation-facts { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #c9dbd1; background: #f8faf7; }
.situation-facts > div { padding: 20px 26px; }
.situation-facts > div + div { border-left: 1px solid #d9e1dc; }
.situation-facts dt { color: var(--muted); font-size: .76rem; margin-bottom: 5px; }
.situation-facts dd { margin: 0; font-size: .9rem; font-weight: 600; }
.result-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 22px; }
.legal-picture { gap: 20px; }
.rights-flow { display: grid; gap: 12px; }
.right-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.right-card h3 { font: 600 1rem var(--sans); margin: 0 0 8px; }
.right-card p { font-size: .9rem; line-height: 1.65; margin: 0; }
.right-number { flex: 0 0 34px; display: grid; place-items: center; height: 34px; background: var(--sage); color: var(--pine); border-radius: 50%; font-size: .75rem; }
.personal-position { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; }
.personal-position h3 { font-size: 1.3rem; }
.personal-position p { font-size: .95rem; }
.result-grid .result-summary { background: var(--pine); border-color: var(--pine); color: white; }
.result-grid .result-summary p { color: #e0eae3; }
.result-grid .result-summary .btn { background: white; color: var(--pine); border-color: white; }
.scope-list { padding-left: 20px; font-size: .9rem; display: grid; gap: 12px; }
.answer-check { border-color: var(--amber); background: var(--amber-soft); }
.reserve-visual { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--sage-strong); border-radius: 8px; }
.reserve-visual > span { font: 2.5rem var(--serif); background: var(--pine); color: white; padding: 22px; }
.reserve-visual > span + span { background: var(--sage); color: var(--pine); }
.reserve-visual small { display: block; font: .85rem/1.5 var(--sans); margin-top: 8px; }
.preparation ul { padding: 0; list-style: none; display: grid; gap: 12px; }
.preparation li { padding-left: 28px; position: relative; font-size: .95rem; }
.preparation li::before { content: ''; width: 12px; height: 12px; border: 1px solid #718679; position: absolute; left: 0; top: 6px; border-radius: 2px; }
@media (max-width: 780px) {
  .result-grid { grid-template-columns: 1fr; }
  .map-heading { padding: 22px 20px 0; align-items: flex-start; }
  .map-heading h2 { font-size: 1.65rem; }
  .family-map { padding: 24px 16px; }
  .family-person { padding: 16px 10px; }
  .family-person b { font-size: .9rem; }
  .family-join { width: 20px; }
  .family-person span { font-size: .73rem; }
  .family-branches { flex-wrap: wrap; gap: 12px; }
  .family-branches .family-person { flex: 1 1 140px; }
  .situation-facts { grid-template-columns: 1fr; }
  .situation-facts > div { padding: 13px 20px; display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
  .situation-facts > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .situation-facts dt { margin: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .situation-map { animation: overview-in .35s ease-out; }
  @keyframes overview-in { from { opacity: .65; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}

/* One focused journey: choose, answer, see the result, take the next step. */
main:has(.landing) { max-width: 900px; }
.landing .hero { display: block; padding: 48px 0 28px; }
.landing .intro { max-width: none; }
.landing .hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.landing .lead { max-width: 55ch; font-size: 1.05rem; }
.landing .intro-note { max-width: 75ch; }
.funnel-process { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .8rem; padding: 22px 0; border-top: 1px solid var(--line); }
.landing .faq-section { display: block; padding: 28px 0; }
.landing .faq-section .section-label { display: none; }
.landing .faq-section h2 { font-size: 1.65rem; margin-bottom: 20px; }
.landing .faq-section .section-heading { margin-bottom: 12px; }
.landing .intents { margin-top: 24px; }
.question-explanation { color: var(--muted); font-size: .85rem; }
.question-explanation summary { cursor: pointer; min-height: 44px; padding: 10px 0; }
.question-explanation p { padding: 4px 0 14px; max-width: 65ch; }
body[data-mode="overview"] main { max-width: 880px; }
.compact-result { gap: 22px; }
.compact-result > header { gap: 8px; }
.compact-result h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.result-intro { font-size: .95rem; color: var(--muted); }
.result-picture { padding: 26px; gap: 18px; }
.result-picture h2 { font-size: 1.6rem; }
.family-strip { display: flex; gap: 14px; align-items: center; padding: 18px; background: #edf3ee; border-radius: 8px; }
.family-origin { flex: 0 1 160px; min-width: 0; color: var(--pine); }
.family-strip b { display: block; font-size: .85rem; }
.family-strip small { display: block; color: var(--muted); font-size: .73rem; line-height: 1.45; margin-top: 4px; }
.family-arrow { color: #617c6c; }
.family-strip ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex: 1; }
.family-strip li { flex: 1; min-width: 0; }
.compact-result .rights-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.compact-result .right-card { display: block; padding: 0 0 0 14px; border-top: 0; border-left: 2px solid var(--sage-strong); }
.compact-result .right-card h3 { font-size: .95rem; }
.compact-result .right-card p { font-size: .9rem; }
.result-caveat { font-size: .77rem; color: var(--muted); }
.personal-detail { border-top: 1px solid var(--line); padding-top: 8px; }
.personal-detail summary, .result-details > summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--pine); padding: 12px 0; min-height: 44px; }
.personal-detail p { font-size: .9rem; padding: 8px 0; }
.result-attention { padding: 0 4px; }
.result-attention h2 { font-size: 1.35rem; }
.result-attention ul { display: grid; gap: 10px; padding-left: 20px; font-size: .9rem; margin: 12px 0 0; }
.result-next { display: grid; gap: 12px; padding: 26px; border-radius: 10px; background: var(--pine); color: white; }
.result-next h2 { font-size: 1.8rem; }
.result-next > p { color: #e2ece6; font-size: .92rem; }
.result-next .section-label { color: #d6e5db; font-size: .7rem; }
.result-next .btn { justify-self: start; background: white; color: var(--pine); border-color: white; margin-top: 4px; }
.result-next .fine { font-size: .72rem; }
.result-details { border-bottom: 1px solid var(--line); }
.result-details-content { display: grid; gap: 16px; padding: 12px 0 24px; }
.result-details-content .panel { padding: 20px; }
.result-details-content .panel h2 { font-size: 1.4rem; }
.compact-result .recap { border: 0; background: none; padding: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.compact-result .recap > summary { padding: 12px 0; }
.result-utilities { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.result-utilities button { min-height: 44px; color: var(--muted); }
.compact-result .navrow { margin-top: 0; }
@media (max-width: 600px) {
  .landing .hero { padding-top: 28px; }
  .family-strip { gap: 10px; padding: 14px; }
  .family-strip ul { flex-direction: column; gap: 12px; }
  .family-origin { flex-basis: 100px; }
  .compact-result .rights-flow { grid-template-columns: 1fr; gap: 16px; }
  .result-picture, .result-next { padding: 20px; }
  .result-next .btn { width: 100%; font-size: .87rem; text-align: center; }
  .landing-nav { display: none; }
}
.landing .intent { min-height: 140px; padding: 22px; gap: 10px; }
.landing .intro { gap: 20px; }
.landing .intents { margin-top: 8px; }
@media (max-width: 600px) {
  .landing .intent { min-height: 128px; padding: 20px; }
  .landing .hero h1 { font-size: 2.35rem; }
}
.analysis-slot { padding: 12px 0 24px; font-size: .9rem; }
.analysis-slot button { min-height: 44px; }
.analysis { display:grid; gap:12px; }
.analysis h2 { font-size:1.35rem; }
.analysis input[type=checkbox] { width:20px; height:20px; }
.analysis p { white-space:pre-line; }
.analysis button { justify-self:start; padding:10px 16px; border:1px solid var(--pine); border-radius:6px; }
.analysis button:disabled { opacity:.6; cursor:not-allowed; }

/* Topic icons support the text; they never carry an answer on their own. */
.ui-icon { display:inline-block; width:24px; height:24px; flex-shrink:0; vertical-align:middle; }
.icon-heading { display:flex; align-items:center; gap:12px; }
.icon-heading .ui-icon { color:var(--pine); }

/* Optional follow-up, secondary to the completed result and primary next step. */
.next-product { display:grid;gap:12px;padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--surface); }
.next-product .section-label { margin:0; }
.next-product h2 { font-size:1.4rem; }
.next-product > p:not([class]) { font-size:.9rem;line-height:1.6;max-width:64ch; }
.next-product .link { justify-self:start;min-height:44px;display:inline-flex;align-items:center; }
.next-product .small-note { font-size:.72rem; }
@media(max-width:480px) { .next-product { padding:20px; } }

/* Editorial paths sit outside the question flow. */
.knowledge-footer { flex-basis:100%; max-width:960px; margin:12px auto 0; font-size:.78rem; line-height:1.7; }
.knowledge-footer a { display:inline-block; padding:10px 0; text-underline-offset:3px; }
body[data-mode="quiz"] .knowledge-footer { display:none; }

.result-next .link { color:inherit; display:inline-flex; align-items:center; gap:8px; justify-self:start; text-align:left; }
.result-next .btn { gap:8px; }
.result-next .ui-icon { width:20px; height:20px; flex-shrink:0; }

/* Quiet, optional product proof and a practical next step. */
.inheritance-preview { border-block:1px solid var(--line); margin-block:20px; }
.inheritance-preview summary { cursor:pointer; min-height:48px; padding:15px 0; color:var(--pine); font-weight:600; }
.inheritance-preview-body { display:grid; gap:16px; padding:8px 0 24px; }
.inheritance-preview-body .right-card h3 { font-size:1.2rem; }
.inheritance-first-step { display:grid; gap:12px; padding:24px; border:1px solid var(--sage-strong); border-radius:12px; background:var(--sage); }
.inheritance-first-step h2 { font-size:1.6rem; }
.inheritance-first-step p { font-size:.92rem; }
.inheritance-first-step .section-label { font-size:.72rem; }
.inheritance-first-step ul { padding:8px 0 12px 20px; display:grid; gap:8px; font-size:.88rem; }
@media print { .inheritance-first-step { background:white; break-inside:avoid; } }
