/* Borgland huisstijl
   Concept: het register. Een rustig, linksuitgelijnd raster zoals een officieel inschrijvingsbewijs:
   diepgroen (een borg, iets wat blijft staan), messing van een zegel als enige accent,
   papier met een koele groene ondertoon. Monospace alleen voor registergegevens (klassen, termijnen, bedragen). */
/* Zelf gehoste lettertypes (alleen de gebruikte gewichten, latin) */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/publicsans-var.woff2) format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600 700; font-display: swap; src: url(fonts/sourceserif4-600-700.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/plexmono-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/plexmono-500.woff2) format("woff2"); }
:root {
  --paper: #f4f6f2;        /* achtergrond, koel papier */
  --sheet: #ffffff;        /* vlakken die boven het papier liggen */
  --ink: #14211b;          /* tekst */
  --muted: #55645c;        /* secundaire tekst */
  --line: #d9e0d9;         /* hairlines */
  --borg: #0f3d2e;         /* merkkleur: diepgroen */
  --borg-soft: #e3ece6;    /* zachte groene vlakken */
  --seal: #b5832a;         /* accent: messing zegel */
  --seal-soft: #f5ebd6;
  --seal-text: #8a6118;    /* messing als tekstkleur: 5,1:1 op paper, 5,5 op wit, 4,7 op seal-soft */
  --on-borg: #f4f6f2;      /* tekst op groen */
  --ok: #2f7d4f;
  --warn: #a35a12;
  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: 0.875rem; --step-0: 1.0625rem; --step-1: 1.25rem; --step-2: 1.5rem;
  --step-3: 2rem; --step-4: 2.75rem; --step-5: 3.5rem;
  --radius: 6px;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0f1714; --sheet: #15201b; --ink: #e6ece7; --muted: #a3b1a8; --line: #2a3832;
    --borg: #7fc4a4; --borg-soft: #1b2b24; --seal: #d9a94e; --seal-soft: #2a2317; --seal-text: #d9a94e;
    --on-borg: #0f1714; --ok: #6fc18f; --warn: #e0a35a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0f1714; --sheet: #15201b; --ink: #e6ece7; --muted: #a3b1a8; --line: #2a3832;
  --borg: #7fc4a4; --borg-soft: #1b2b24; --seal: #d9a94e; --seal-soft: #2a2317; --seal-text: #d9a94e;
  --on-borg: #0f1714; --ok: #6fc18f; --warn: #e0a35a; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  padding-inline: 16px;
}
img, svg { max-width: 100%; }
a { color: var(--borg); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--seal); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; text-wrap: balance; margin: 0; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 6vw, var(--step-5)); }
h2 { font-size: clamp(1.7rem, 4vw, var(--step-4)); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; }
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.5rem; font-size: var(--step-3); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.eyebrow { font-family: var(--font-data); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 38rem; }
.data { font-family: var(--font-data); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); margin-inline: -16px; padding-inline: 16px; }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .975rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--borg); text-decoration: underline; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .45rem .7rem; color: var(--ink); font: inherit; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: .75rem; padding-bottom: 1rem; }
  .nav.open { display: flex; }
  .site-header .wrap { flex-wrap: wrap; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.2rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1.5px solid var(--borg); background: var(--borg); color: var(--on-borg); font: 600 1rem var(--font-body); cursor: pointer; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--borg); }
.btn.ghost:hover { background: var(--borg-soft); color: var(--ink); border-color: var(--borg); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
section { padding-block: clamp(3rem, 7vw, 5.5rem); }
section + section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .75rem; margin-bottom: 2.25rem; max-width: 44rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { margin-top: .75rem; }
.hero .lead { margin-top: 1.25rem; }
.hero .actions { margin-top: 2rem; }
.proofline { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--muted); font-size: var(--step--1); }
.proofline span::before { content: "✓"; color: var(--ok); margin-right: .4rem; font-weight: 700; }

/* Register card: het kenmerkende element (een inschrijvingsbewijs) */
.register { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.register .eyebrow { color: var(--seal-text); }
.register h3 { margin-top: .4rem; font-size: var(--step-2); padding-right: 84px; }
.seal { position: absolute; right: 1rem; top: 1rem; width: 78px; height: 78px; color: var(--seal); }
.seal text { font-family: var(--font-data); font-size: 7.4px; letter-spacing: 1.6px; fill: currentColor; }
@media (prefers-reduced-motion: no-preference) { .seal .ring { transform-origin: 50px 50px; animation: seal-turn 40s linear infinite; } }
@keyframes seal-turn { to { transform: rotate(360deg); } }
.register dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem 1.25rem; margin: 1.25rem 0 0; }
.register dt { font-family: var(--font-data); font-size: var(--step--1); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.register dd { margin: 0; font-family: var(--font-data); font-variant-numeric: tabular-nums; font-size: .95rem; }
.register .note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-size: var(--step--1); color: var(--muted); }

/* Situations */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: minmax(0, 1fr); } }
.cell { background: var(--sheet); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; min-width: 0; }
.cell .quote { font-family: var(--font-display); font-size: var(--step-1); font-style: italic; color: var(--ink); }
.cell .then { color: var(--muted); font-size: .975rem; }
.cell a.more { font-weight: 600; text-decoration: none; margin-top: .25rem; }
.cell a.more::after { content: " →"; }

/* Steps (echte volgorde: BOIP-procedure) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-data); color: var(--seal-text); font-size: var(--step-1); }
.steps h4 { font-size: var(--step-1); }
.steps p { color: var(--muted); margin-top: .25rem; }
.steps .when { font-family: var(--font-data); font-size: var(--step--1); color: var(--muted); white-space: nowrap; }
@media (max-width: 600px) { .steps li { grid-template-columns: 2.5rem minmax(0, 1fr); } .steps .when { grid-column: 2; } }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); }
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .975rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-data); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 500; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; }
.us { background: var(--borg-soft); }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--muted); }
.source { margin-top: .75rem; font-size: var(--step--1); color: var(--muted); max-width: 48rem; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 980px) { .packages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .packages { grid-template-columns: minmax(0, 1fr); } }
.pkg { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.pkg.featured { border: 2px solid var(--borg); }
.pkg .tag { justify-self: start; font-family: var(--font-data); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; background: var(--seal-soft); color: var(--ink); padding: .2rem .5rem; border-radius: 3px; }
.pkg .goal { color: var(--muted); }
.price { display: grid; gap: .1rem; }
.price .amount { font-family: var(--font-display); font-size: var(--step-4); font-weight: 600; line-height: 1; }
.price .amount small { font-size: var(--step-0); font-family: var(--font-body); font-weight: 400; color: var(--muted); }
.price .vat { font-size: var(--step--1); color: var(--muted); font-family: var(--font-data); }
.pkg ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.pkg li { padding-left: 1.4rem; position: relative; font-size: .975rem; }
.pkg li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.pkg .btn { justify-self: start; }

/* Price list */
.pricelist { display: grid; gap: 2.5rem; }
.pricelist h3 { margin-bottom: .75rem; }

/* Claims (waarom) */
.claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 860px) { .claims { grid-template-columns: minmax(0, 1fr); } }
.claim { display: grid; gap: .5rem; border-top: 2px solid var(--borg); padding-top: 1rem; }
.claim .figure { font-family: var(--font-data); font-size: var(--step-2); color: var(--borg); }

/* Merkcheck */
.check { background: var(--borg); color: var(--on-borg); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }
.check h2, .check h3 { color: var(--on-borg); }
.check p { color: var(--on-borg); opacity: .9; }
.check form { display: flex; gap: .6rem; flex-wrap: wrap; }
.check input[type="text"] { flex: 1 1 16rem; min-width: 0; padding: .85rem 1rem; border-radius: var(--radius); border: 0; font: 1.05rem var(--font-body); background: var(--paper); color: var(--ink); }
.check .btn { background: var(--seal); border-color: var(--seal); color: #14211b; }
.check .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.check-results { display: grid; gap: .5rem; }
.check-results[hidden] { display: none; }
.check-results a { color: var(--on-borg); }
.check-results ul { margin: 0; padding-left: 1.1rem; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 48rem; }
.faq details { border-top: 1px solid var(--line); padding-block: 1rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--step-1); font-family: var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-data); color: var(--seal-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .75rem; color: var(--muted); max-width: 40rem; }

/* Blog */
.posts { display: grid; gap: 0; }
.post-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding-block: 1.5rem; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row:hover h3 { color: var(--borg); text-decoration: underline; }
.post-row .meta { font-family: var(--font-data); font-size: var(--step--1); color: var(--muted); }
.post-row p { color: var(--muted); margin-top: .4rem; }
@media (max-width: 600px) { .post-row { grid-template-columns: minmax(0, 1fr); gap: .4rem; } }
.article-head { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; max-width: 44rem; }
.article-head .meta { margin-top: 1rem; font-family: var(--font-data); font-size: var(--step--1); color: var(--muted); }
.callout { background: var(--borg-soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.callout h3 { font-size: var(--step-1); margin-bottom: .5rem; }
.sources { font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; }
.sources ol { padding-left: 1.2rem; }
.sources a { word-break: break-word; }
.cta-end { margin-top: 2.5rem; background: var(--sheet); border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .75rem; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 36rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: 1rem var(--font-body); padding: .75rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sheet); color: var(--ink); width: 100%; }
.form textarea { min-height: 8rem; resize: vertical; }
.form .hint { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.form-ok { background: var(--borg-soft); border-radius: var(--radius); padding: 1rem 1.25rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-card { display: grid; gap: 1rem; align-content: start; }
.contact-card .line { display: grid; gap: .15rem; }

/* Footer */
.site-footer { margin-inline: -16px; padding-inline: 16px; background: var(--sheet); border-top: 1px solid var(--line); padding-block: 3rem 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-grid h4 { font-family: var(--font-data); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: .75rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--borg); text-decoration: underline; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--step--1); color: var(--muted); }
.theme-switch { background: none; border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius); padding: .3rem .6rem; font: inherit; cursor: pointer; }

/* Hulpklasse */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Vertrouwensstrook */
.trust { margin-inline: -16px; padding-inline: 16px; background: var(--sheet); border-block: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; padding: 1rem 0; max-width: var(--wrap); display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .95rem; }
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust svg { width: 18px; height: 18px; color: var(--borg); flex: none; }

/* Groene band voor ritme */
.band { margin-inline: -16px; padding-inline: 16px; background: var(--borg); color: var(--on-borg); border: 0; }
section.band + section { border-top: 0; }
.band h2, .band h3, .band p { color: var(--on-borg); }
.band .quote-big { font-family: var(--font-display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.25; max-width: 50rem; text-wrap: balance; }
.band .eyebrow { color: var(--on-borg); opacity: .8; }
.band .btn { background: var(--seal); border-color: var(--seal); color: #14211b; }
.band .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* Icoon bij situaties */
.cell .icon { width: 28px; height: 28px; color: var(--seal); }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
@media (max-width: 760px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; }
.calc label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.calc select, .calc input[type=number] { font: 1rem var(--font-body); padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.calc .toggle { display: flex; gap: .6rem; align-items: center; font-weight: 400; }
.calc-out { display: grid; gap: .5rem; align-content: start; }
.calc-out .row { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-data); font-variant-numeric: tabular-nums; border-bottom: 1px dashed var(--line); padding-bottom: .4rem; }
.calc-out .row.total { font-size: var(--step-1); color: var(--borg); border-bottom: 0; font-weight: 500; }

/* Klassenhulp */
.classes { display: grid; gap: .75rem; }
.class-row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: .9rem 1rem; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); }
.class-row .nr { font-family: var(--font-data); font-size: var(--step-2); color: var(--seal-text); line-height: 1; }
.class-row h4 { font-size: var(--step-0); font-family: var(--font-body); }
.class-row p { color: var(--muted); font-size: .95rem; margin-top: .2rem; }

/* Chat */
.chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; justify-items: end; gap: .75rem; }
.chat-open { display: inline-flex; align-items: center; gap: .6rem; background: var(--borg); color: var(--on-borg); border: 0; border-radius: 999px; padding: .8rem 1.15rem; font: 600 .975rem var(--font-body); cursor: pointer; box-shadow: 0 6px 20px rgb(15 61 46 / .25); }
.chat-open:hover { background: var(--ink); color: var(--paper); }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--seal); box-shadow: 0 0 0 3px rgb(181 131 42 / .3); }
.chat.is-open .chat-open { display: none; }
.chat-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 50px rgb(0 0 0 / .18); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 1rem; background: var(--borg); color: var(--on-borg); }
.chat-head span { display: block; font-size: .8rem; opacity: .85; }
.chat-close { background: none; border: 0; color: var(--on-borg); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .2rem .4rem; }
.chat-log { overflow-y: auto; padding: 1rem; display: grid; gap: .6rem; align-content: start; background: var(--paper); }
.msg { max-width: 88%; padding: .65rem .85rem; border-radius: 10px; font-size: .95rem; line-height: 1.45; }
.msg.bot { background: var(--sheet); border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 3px; }
.msg.me { background: var(--borg); color: var(--on-borg); justify-self: end; border-bottom-right-radius: 3px; }
.msg-links { display: grid; gap: .35rem; margin-top: .6rem; }
.msg-links a { font-weight: 600; text-decoration: none; }
.msg-links a::after { content: " →"; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { background: var(--paper); border: 1px solid var(--borg); color: var(--borg); border-radius: 999px; padding: .4rem .75rem; font: .875rem var(--font-body); cursor: pointer; text-align: left; }
.chip:hover { background: var(--borg-soft); color: var(--ink); }
.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--line); background: var(--sheet); }
.chat-form input { flex: 1; min-width: 0; font: 1rem var(--font-body); padding: .6rem .75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.chat-form .btn { padding: .6rem .9rem; }
.chat-foot { margin: 0; padding: 0 .9rem .7rem; font-size: .75rem; color: var(--muted); background: var(--sheet); }

/* Vaste knop onderin op de telefoon */
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: .5rem; padding: .6rem 16px calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--sheet); border-top: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; justify-content: center; }
  .chat { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .chat-open { padding: .65rem .9rem; font-size: .9rem; }
  body { padding-bottom: 76px; }
}
.pricelist > *, .hero-grid > *, .contact-grid > * { min-width: 0; }

/* Ronde 1: fixes na browsertest */
.nav a.btn, .nav a.btn:hover { color: var(--on-borg); text-decoration: none; }
.nav a.btn:hover { background: var(--ink); }
.register > .eyebrow, .register > h3 { padding-right: 92px; }
.trust ul { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: .6rem 1.5rem; font-size: .9rem; }
@media (max-width: 1100px) { .trust ul { grid-template-columns: repeat(3, auto); justify-content: start; } }
@media (max-width: 640px) { .trust ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .chat-open { display: none; }
  .chat { right: 16px; left: 16px; justify-items: stretch; }
  .chat-panel { width: 100%; height: min(70vh, 560px); }
}
section.chat-panel { padding: 0; border-top: 1px solid var(--line); }

/* Ronde 2: artikel met zijbalk */
.article-body { display: grid; grid-template-columns: minmax(0, 40rem) minmax(0, 18rem); gap: 4rem; align-items: start; }
@media (max-width: 1000px) { .article-body { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .article-side { order: -1; } .article-side .cta { display: none; } }
.article-side { position: sticky; top: calc(90px + env(safe-area-inset-top, 0px)); display: grid; gap: 1rem; }
.side-card { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .6rem; }
.side-card ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .925rem; }
.side-card a { text-decoration: none; }
.side-card a:hover { text-decoration: underline; }
.side-card.cta { background: var(--borg-soft); border-color: transparent; }
.side-card.cta .btn { justify-self: start; }
.prose sup a { text-decoration: none; font-family: var(--font-data); font-size: .75em; }
.prose h2[id] { scroll-margin-top: 100px; }
.related { padding-block: 3rem 1rem; }
.related h2 { font-size: var(--step-2); margin-bottom: 1rem; }
.sources li:target { background: var(--seal-soft); }

.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 40rem; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--borg); color: var(--on-borg); padding: .6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }
.chat-tools { display: flex; align-items: center; gap: .25rem; }
.chat-reset { background: none; border: 1px solid currentColor; color: var(--on-borg); border-radius: 999px; padding: .2rem .6rem; font: .8rem var(--font-body); cursor: pointer; }
.msg.typing { display: inline-flex; gap: 4px; padding: .7rem .85rem; }
.msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .5; animation: tik 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes tik { 50% { opacity: 1; transform: translateY(-2px); } }
@media (max-width: 520px) { .register dl { grid-template-columns: minmax(0, 1fr); gap: .1rem; } .register dd { margin-bottom: .55rem; } }
@media (min-width: 861px) { .hero-grid > aside.pkg { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); } }

[id] { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }

/* Bovenbalk: telefoon en belafspraak */
.topbar { margin-inline: -16px; padding-inline: 16px; background: var(--borg); color: var(--on-borg); font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; padding-block: .4rem; }
.topbar-plan { background: none; border: 0; color: var(--on-borg); font: 600 .85rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.topbar-plan:hover { color: var(--seal-soft); }
@media (max-width: 600px) { .topbar .wrap > span { display: none; } .topbar .wrap { justify-content: center; } }

/* Aanvraag in stappen met live prijs */
.wiz-hero { padding-bottom: 1rem; }
section.wiz-section { border-top: 0; padding-top: 1rem; }
.wiz { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 920px) { .wiz { grid-template-columns: minmax(0, 1fr); } }
.wiz-main { min-width: 0; }
.wiz-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; counter-reset: none; }
.wiz-steps li { display: grid; justify-items: center; gap: .35rem; font-size: .8rem; color: var(--muted); text-align: center; cursor: pointer; padding-top: .2rem; border-top: 3px solid var(--line); }
.wiz-steps li span { font-family: var(--font-data); width: 1.9rem; height: 1.9rem; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: var(--sheet); margin-top: .5rem; }
.wiz-steps li.klaar { border-top-color: var(--borg); color: var(--ink); }
.wiz-steps li.klaar span { background: var(--borg); border-color: var(--borg); color: var(--on-borg); }
.wiz-steps li[aria-current="step"] { border-top-color: var(--seal); color: var(--ink); font-weight: 600; }
.wiz-steps li[aria-current="step"] span { border-color: var(--seal); background: var(--seal-soft); color: var(--ink); }
@media (max-width: 520px) { .wiz-steps li { font-size: 0; } .wiz-steps li span { font-size: .85rem; } }
.wiz-form { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.wiz-panel { border: 0; padding: 0; margin: 0; display: grid; gap: 1.1rem; min-width: 0; }
.wiz-panel[hidden] { display: none; }
.wiz-panel legend { padding: 0; margin-bottom: .25rem; }
.wiz-panel legend h2 { font-size: var(--step-3); }
.wiz-panel h2:focus { outline: none; }
.choices { display: grid; gap: .6rem; }
.choices.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .75rem; align-items: start; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-weight: 400; }
.choice:hover { border-color: var(--borg); }
.choice:has(input:checked) { border-color: var(--borg); background: var(--borg-soft); }
.choice input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--borg); }
.choice small { display: block; color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.choice em { font-style: normal; color: var(--seal-text); font-size: .85rem; margin-left: .25rem; }
.tip { background: var(--seal-soft); border-radius: var(--radius); padding: .8rem 1rem; font-size: .95rem; }
.inline-num { max-width: 18rem; }
.wiz-form .form { max-width: none; }
.wiz-form .akkoord { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.wiz-form .akkoord input { width: auto; margin-top: .3rem; }
.klas-zoek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .klas-zoek { grid-template-columns: minmax(0, 1fr); } }
.klas-lijst { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .4rem; max-height: 24rem; overflow-y: auto; padding: .2rem; }
.klas { display: grid; grid-template-columns: auto 2rem minmax(0, 1fr); gap: .5rem; align-items: center; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-size: .9rem; }
.klas[hidden] { display: none; }
.klas.aan { border-color: var(--borg); background: var(--borg-soft); }
.klas input { accent-color: var(--borg); }
.klas .nr { font-family: var(--font-data); color: var(--seal-text); }
.wiz-nav { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.wiz-nav #w-verder, .wiz-nav #w-aanvragen { margin-left: auto; }
.wiz-side { display: grid; gap: 1rem; min-width: 0; }
@media (min-width: 921px) { .wiz-side { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); } }
.keuze .keuze-lijst { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1rem; margin: .25rem 0 .75rem; font-size: .9rem; }
.keuze dt { color: var(--muted); }
.keuze dd { margin: 0; overflow-wrap: anywhere; }
.beloftes { list-style: none; padding: .75rem 0 0; margin: .25rem 0 0; border-top: 1px dashed var(--line); display: grid; gap: .35rem; font-size: .9rem; }
.beloftes li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: .45rem; }
.samen { background: var(--borg-soft); border-color: transparent; }
.samen .btn { justify-self: start; }

/* Venster belafspraak */
dialog.plan { width: min(34rem, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 1px solid var(--line); border-radius: 10px; padding: 0; background: var(--sheet); color: var(--ink); box-shadow: 0 18px 50px rgb(0 0 0 / .25); }
dialog.plan::backdrop { background: rgb(15 23 20 / .55); }
.plan-form { display: grid; gap: 1rem; padding: 1.25rem 1.4rem 1.5rem; }
.plan-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.plan-head .eyebrow { color: var(--seal-text); }
.plan-close { background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0 .2rem; }
.plan fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; min-width: 0; }
.plan-label { font-weight: 600; font-size: .95rem; padding: 0; }
.plan-dagen { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .2rem; }
.plan-tijden { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr)); gap: .35rem; max-height: 9.5rem; overflow-y: auto; }
.slot { border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: .45rem .5rem; font: .9rem var(--font-data); cursor: pointer; }
.slot.dag { display: grid; gap: .1rem; min-width: 4.6rem; text-align: center; font-family: var(--font-body); }
.slot.dag span { font-size: .75rem; color: var(--muted); }
.slot:hover { border-color: var(--borg); }
.slot[aria-pressed="true"] { border-color: var(--borg); background: var(--borg); color: var(--on-borg); }
.slot[aria-pressed="true"] span { color: var(--on-borg); }
.plan .form { max-width: none; }
.plan-fout { color: var(--warn); font-weight: 600; }
.plan-ok-knop { justify-self: start; }
.plan-ok-knop[hidden] { display: none; }
.iso-regel { display: block; margin-top: .75rem; font-family: var(--font-data); font-size: .75rem; letter-spacing: .02em; color: var(--muted); text-decoration: none; border-top: 1px dashed var(--line); padding-top: .65rem; }
.iso-regel:hover { color: var(--borg); text-decoration: underline; }
/* Verborgen blijft verborgen, ook als een klasse display zet */
[hidden] { display: none !important; }

/* Ronde 3: ontwerp na vergelijking met Merk-Echt (rondere vormen, sterker accent, menu op klantvragen) */
:root { --radius: 10px; --radius-lg: 18px; }
.btn { border-radius: 999px; padding: .75rem 1.25rem; }
.btn .chev { width: 14px; height: 14px; flex: none; transition: transform .15s; }
.btn:hover .chev { transform: translateX(2px); }
.btn.cta { background: var(--seal); border-color: var(--seal); color: #14211b; }
.btn.cta:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.register, .pkg, .wiz-form, .side-card, .calc, .table-wrap, .cell, .class-row, .check { border-radius: var(--radius-lg); }
.grid { border-radius: var(--radius-lg); }

/* Bovenbalk met doelgroepen */
.topbar .wrap { padding-block: 0; min-height: 2.4rem; }
.tabs { display: flex; gap: .25rem; align-self: stretch; align-items: flex-end; }
.tabs a { color: var(--on-borg); text-decoration: none; padding: .45rem .9rem; border-radius: 10px 10px 0 0; font-weight: 600; font-size: .85rem; opacity: .85; }
.tabs a:hover { opacity: 1; text-decoration: underline; }
.tabs a[aria-current="page"] { background: var(--paper); color: var(--ink); opacity: 1; }
.topbar-rechts { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.topbar-rechts a { color: var(--on-borg); text-decoration: none; }
.topbar-rechts a:hover { text-decoration: underline; }
.topbar .tel { display: inline-flex; align-items: center; gap: .35rem; }
.topbar .tel svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .topbar-rechts a, .topbar .tel { display: none; } .topbar .wrap { justify-content: space-between; } }
@media (max-width: 600px) { .topbar .wrap > span { display: inline; } }

/* Hoofdmenu met uitklapmenu's */
.nav { gap: .35rem 1rem; }
.dd { position: relative; }
.dd-knop { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; padding: .35rem 0; font: .975rem var(--font-body); color: var(--ink); cursor: pointer; }
.dd-knop svg { width: 14px; height: 14px; transition: transform .15s; }
.dd.open .dd-knop svg { transform: rotate(180deg); }
.dd[data-current] .dd-knop { color: var(--borg); text-decoration: underline; text-underline-offset: 3px; }
.dd-menu { display: none; position: absolute; top: calc(100% + .4rem); left: -1rem; min-width: 17rem; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 14px 40px rgb(0 0 0 / .12); padding: .5rem; z-index: 20; }
.dd-menu a { display: block; padding: .55rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.dd-menu a:hover { background: var(--borg-soft); color: var(--ink); text-decoration: none; }
.dd.open .dd-menu { display: block; }
@media (hover: hover) and (min-width: 861px) { .dd:hover .dd-menu, .dd:focus-within .dd-menu { display: block; } .dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: .6rem; } }
.nav a.btn.cta, .nav a.btn.cta:hover { color: #14211b; text-decoration: none; }
.nav a.btn.cta:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 1100px) and (min-width: 861px) { .nav .dd-knop, .nav > a { font-size: .9rem; } .nav { gap: .25rem .8rem; } }
@media (max-width: 860px) {
  .dd { width: 100%; }
  .dd-knop { width: 100%; justify-content: space-between; font-weight: 600; padding: .5rem 0; }
  .dd-menu { position: static; box-shadow: none; border: 0; padding: 0 0 .25rem .5rem; min-width: 0; background: none; }
}

/* Kaart "Wat kost jouw merk?" */
section.kost-kaart-sectie { border-top: 0; padding-bottom: 0; }
.kost-kaart { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--sheet); padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 2.5rem; align-items: center; border-left: 6px solid var(--seal); }
.kost-kaart h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.kost-kaart .lead { margin-top: .6rem; }
@media (max-width: 860px) { .kost-kaart { grid-template-columns: minmax(0, 1fr); } }

/* Doelgroeppagina's: situaties als kaarten met pijl */
.kaarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 700px) { .kaarten { grid-template-columns: minmax(0, 1fr); } }
.kaart { position: relative; display: grid; gap: .4rem; padding: 1.4rem 3.5rem 1.4rem 1.4rem; background: var(--sheet); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.kaart:hover { border-color: var(--borg); color: var(--ink); transform: translateY(-1px); }
.kaart h3 { font-size: var(--step-1); }
.kaart p { color: var(--muted); }
.kaart-pijl { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--seal-soft); color: var(--ink); display: grid; place-items: center; }
.kaart-pijl .chev { width: 14px; height: 14px; }
.kaart:hover .kaart-pijl { background: var(--seal); }
.doelgroep .pkg { align-self: center; }

/* Nog vragen? */
.vragen { background: var(--borg-soft); margin-inline: -16px; padding-inline: 16px; border-top: 0; }
.vragen-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
@media (max-width: 860px) { .vragen-grid { grid-template-columns: minmax(0, 1fr); } }
.vragen .actions { margin-top: 1.5rem; }
.vragen-kaart { background: var(--sheet); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: .35rem; box-shadow: 0 10px 30px rgb(15 61 46 / .08); }
.vragen-kaart .eyebrow { color: var(--seal-text); }

/* Nieuwsbrief */
.nieuwsbrief { background: var(--borg); color: var(--on-borg); margin-inline: -16px; padding-inline: 16px; border-top: 0; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.nieuwsbrief h2 { color: var(--on-borg); font-size: clamp(1.5rem, 3vw, 2rem); }
.nieuwsbrief p { opacity: .9; margin-top: .5rem; max-width: 34rem; }
.nb-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
@media (max-width: 860px) { .nb-grid { grid-template-columns: minmax(0, 1fr); } }
.nb-form { display: flex; flex-wrap: wrap; gap: .6rem; }
.nb-form input { flex: 1 1 14rem; min-width: 0; padding: .8rem 1.1rem; border-radius: 999px; border: 0; font: 1rem var(--font-body); background: var(--paper); color: var(--ink); }
.nb-form p { flex-basis: 100%; margin: 0; }
.nb-form a { color: var(--on-borg); }
section.nieuwsbrief + * { border-top: 0; }

/* Aanvraag: voorbeelden in beeld en een donker keuzevak */
.choice.met-voorbeeld { grid-template-columns: auto 7.5rem minmax(0, 1fr); align-items: center; }
.voorbeeld { display: grid; place-items: center; height: 4rem; border-radius: 10px; background: var(--sheet); border: 1px solid var(--line); color: var(--borg); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.voorbeeld svg { width: 2.2rem; height: 2.2rem; color: var(--seal); }
.v-woordbeeld { display: flex; gap: .35rem; justify-content: center; align-items: center; font-size: .85rem; }
.v-woordbeeld svg { width: 1.5rem; height: 1.5rem; }
@media (max-width: 520px) { .choice.met-voorbeeld { grid-template-columns: auto minmax(0, 1fr); } .voorbeeld { grid-column: 2; justify-self: start; padding-inline: .75rem; height: 3rem; } }
.keuze.donker { background: var(--borg); border-color: var(--borg); color: var(--on-borg); }
.keuze.donker .eyebrow, .keuze.donker dt, .keuze.donker .muted { color: var(--on-borg); opacity: .75; }
.keuze.donker .calc-out .row { border-bottom-color: rgb(255 255 255 / .2); }
.keuze.donker .calc-out .row.total { color: var(--seal); }
.keuze.donker .beloftes { border-top-color: rgb(255 255 255 / .2); }
.keuze.donker .beloftes li::before { color: var(--seal); }
.keuze.donker .iso-regel { color: var(--on-borg); opacity: .75; border-top-color: rgb(255 255 255 / .2); }
.samen-knop { justify-content: center; margin-top: .5rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .keuze.donker { background: var(--borg-soft); border-color: var(--line); color: var(--ink); } :root:not([data-theme="light"]) .keuze.donker .eyebrow, :root:not([data-theme="light"]) .keuze.donker dt, :root:not([data-theme="light"]) .keuze.donker .iso-regel { color: var(--muted); } }
:root[data-theme="dark"] .keuze.donker { background: var(--borg-soft); border-color: var(--line); color: var(--ink); }
:root[data-theme="dark"] .keuze.donker .eyebrow, :root[data-theme="dark"] .keuze.donker dt, :root[data-theme="dark"] .keuze.donker .iso-regel { color: var(--muted); }
@media (max-width: 520px) { .choice.met-voorbeeld > span:last-child { grid-column: 2; } .voorbeeld { max-width: 100%; } }


/* Ronde 1: klikdoelen minimaal 24px (WCAG 2.5.8) */
.tabs a { min-height: 24px; display: inline-flex; align-items: center; }
.topbar-plan { min-height: 24px; display: inline-flex; align-items: center; }
@media (min-width: 861px) { .topbar-rechts a { min-height: 24px; display: inline-flex; align-items: center; } }
.prose sup a { display: inline-block; min-width: 24px; min-height: 24px; line-height: 24px; text-align: center; }
.footer-grid a { display: inline-block; padding-block: .2rem; min-height: 24px; }
.footer-legal a { display: inline-block; padding-block: .2rem; min-height: 24px; }
.choice input { width: 1.5rem; height: 1.5rem; margin-top: 0; }
.klas input, .choice.check input { min-width: 24px; min-height: 24px; }
.dd-knop { min-height: 24px; }

/* Wizard: stapteller en inline meldingen */
.wiz-teller { font-family: var(--font-data); font-size: var(--step--1); color: var(--muted); margin: 0 0 .5rem; }
.veld-fout { color: var(--warn); font-size: .9rem; margin-top: .25rem; font-weight: 600; }
.veld-fout[hidden] { display: none; }
input[aria-invalid="true"] { border-color: var(--warn); }
.zakelijk-regel { font-size: var(--step--1); color: var(--muted); margin-top: .75rem; }

/* Vertrouwensblok homepage */
.vertrouwen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 760px) { .vertrouwen-grid { grid-template-columns: minmax(0, 1fr); } }
.vertrouwen-grid .side-card h3 { font-size: var(--step-1); }
.vertrouwen-grid ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.bronnen-lijst { margin: .75rem 0 0; padding-left: 1.1rem; display: grid; gap: .25rem; font-size: var(--step--1); color: var(--muted); }

/* Kruimelpad */
.crumbs { padding-block: .5rem 0; font-size: var(--step--1); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin-right: .5rem; }
.crumbs a { display: inline-block; min-height: 24px; line-height: 24px; color: var(--muted); }
.crumbs li[aria-current] { color: var(--ink); line-height: 24px; }

/* Link naar het klantportaal blijft ook op de telefoon zichtbaar */
.topbar-rechts a.topbar-mijn { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 24px; align-items: center; }
@media (max-width: 860px) { .topbar-rechts a.topbar-mijn { display: inline-flex; } }
