/* Autobrug — huisstijl
   Blauw van de Duitse Autobahn-borden, geel van het Nederlandse kenteken. */

@font-face { font-family: 'Barlow'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-style: normal; font-display: swap; src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2'); }

:root {
  --ink: #13213a;
  --ink-soft: #33415a;
  --muted: #5a6880;
  --blue: #1d4b9a;
  --blue-deep: #143a7b;
  --blue-tint: #e8eef8;
  --plate: #ffc72c;
  --plate-deep: #f0b400;
  --paper: #f2f4f7;
  --white: #ffffff;
  --line: #d6dce5;
  --line-strong: #b9c2d0;
  --green: #18794e;
  --green-tint: #e6f4ec;
  --red: #b42318;
  --red-tint: #fdecea;
  --amber-tint: #fff6db;

  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;

  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 14px;
  --wrap: 1160px;
  --gutter: 20px;
  --shadow-panel: 0 1px 0 rgba(19, 33, 58, .04), 0 12px 32px -12px rgba(19, 33, 58, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--plate-deep); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--plate); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.65rem; letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-group > button {
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink-soft); text-decoration: none;
  padding: 8px 12px; border-radius: var(--radius-s); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.nav > a:hover, .nav-group > button:hover, .nav > a[aria-current="page"], .nav-group.is-current > button { color: var(--blue); background: var(--blue-tint); }
.nav-group { position: relative; }
.nav-group > button::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.nav-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-panel); padding: 8px; display: none;
}
.nav-group.open .nav-menu { display: block; }
.nav-menu a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius-s); }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--blue-tint); color: var(--blue); }
.nav-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.header-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; max-height: calc(100vh - 68px); overflow-y: auto; }
  .header-cta { white-space: normal; }
  .nav.open { display: flex; }
  .nav > a, .nav-group > button { width: 100%; justify-content: space-between; padding: 12px 8px; }
  .nav-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .header-cta { margin: 8px 0 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 13px 20px; border-radius: var(--radius); border: 2px solid transparent;
  background: var(--blue); color: var(--white); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--blue-deep); color: var(--white); }
.btn-plate { background: var(--plate); color: var(--ink); }
.btn-plate:hover { background: var(--plate-deep); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--blue-tint); color: var(--blue-deep); }
.btn-small { padding: 8px 14px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { background: var(--blue); color: var(--white); padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { /* rijstrook-markering */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--plate) 0 64px, transparent 64px 112px);
  opacity: .9;
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 48px; align-items: start; }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero-lead { font-size: 1.2rem; color: #dbe4f3; max-width: 34ch; }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero-facts li { display: flex; gap: 12px; align-items: baseline; color: #e9eef8; margin: 0; }
.hero-facts li::before { content: ''; flex: 0 0 10px; height: 10px; background: var(--plate); border-radius: 2px; transform: translateY(1px); }
.hero a:not(.btn) { color: var(--white); }
@media (max-width: 920px) {
  .hero { padding: 36px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-lead { font-size: 1.05rem; margin-bottom: 0; }
  .hero-facts { display: none; }
}

.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-head p { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted); }

/* Sections */
.section { padding: 64px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 900px) {
  .grid-2, .grid-3, .layout-aside { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .section { padding: 44px 0; }
}

/* Kenteken (Nederlandse plaat) */
.plate {
  display: flex; align-items: stretch; background: var(--plate); border: 2px solid var(--ink);
  border-radius: 6px; overflow: hidden; max-width: 340px; box-shadow: inset 0 0 0 2px var(--plate);
}
.plate-eu { background: #003399; color: var(--white); width: 38px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 4px 0 5px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.plate-eu svg { width: 22px; height: 22px; margin-bottom: auto; margin-top: 2px; }
.plate input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; letter-spacing: .08em;
  text-transform: uppercase; text-align: center; padding: 6px 10px;
}
.plate input::placeholder { color: rgba(19, 33, 58, .35); }
.plate input:focus { outline: none; }
.plate:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Calculator */
.calc { background: var(--white); color: var(--ink); border-radius: var(--radius-l); box-shadow: var(--shadow-panel); overflow: hidden; }
.calc-tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); }
.calc-tabs button {
  flex: 1; font: inherit; font-weight: 600; font-size: .98rem; color: var(--muted); background: none; border: 0;
  padding: 14px 10px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.calc-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--plate-deep); background: var(--white); }
.calc-body { padding: 24px; }
.calc-panel[hidden] { display: none; }
@media (max-width: 520px) { .calc-body { padding: 18px 16px; } .calc-tabs button { font-size: .9rem; padding: 12px 6px; } }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); line-height: 1.4; }
.input, select.input, textarea.input {
  font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong);
  border-radius: var(--radius); padding: 11px 12px; width: 100%; min-height: 48px;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 75, 154, .18); }
.input-unit { position: relative; }
.input-unit .input { padding-right: 64px; }
.input-unit > span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .9rem; pointer-events: none; }
.input-prefix { position: relative; }
.input-prefix .input { padding-left: 30px; }
.input-prefix > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }

.segmented { display: flex; border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 3px; gap: 3px; background: var(--paper); }
.segmented label { flex: 1; text-align: center; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 8px 6px; border-radius: 5px; font-weight: 600; font-size: .95rem; color: var(--muted); }
.segmented input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(19, 33, 58, .18); }
.segmented input:focus-visible + span { outline: 3px solid var(--plate-deep); }

details.more { border-top: 1px dashed var(--line-strong); margin-top: 18px; padding-top: 12px; }
details.more summary { cursor: pointer; font-weight: 600; color: var(--blue); list-style: none; display: flex; align-items: center; gap: 8px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: '+'; font-size: 1.2rem; width: 18px; text-align: center; }
details.more[open] summary::before { content: '−'; }
details.more .fields { margin-top: 14px; }

/* Resultaat */
.result { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.result-empty { color: var(--muted); font-size: .95rem; }
.result-figure { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.result-figure .label { font-weight: 600; color: var(--ink-soft); }
.result-amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 7vw, 3.8rem); line-height: 1; color: var(--ink); }
.result-amount.zero { color: var(--green); }
.result-sub { color: var(--ink-soft); font-size: .98rem; margin-top: 8px; }
.result-lines { list-style: none; padding: 0; margin: 16px 0 0; border: 1px solid var(--line); border-radius: var(--radius); }
.result-lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; margin: 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.result-lines li:last-child { border-bottom: 0; font-weight: 600; background: var(--paper); }
.result-lines .val { white-space: nowrap; font-weight: 600; }
.result-actions { margin-top: 18px; }
.linkish { font: inherit; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.result-errors { background: var(--red-tint); color: var(--red); border-radius: var(--radius); padding: 12px 14px; font-size: .95rem; }

.notice { border-left: 4px solid var(--blue); background: var(--blue-tint); padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; margin: 12px 0 0; }
.notice.warn { border-color: var(--plate-deep); background: var(--amber-tint); }
.notice.good { border-color: var(--green); background: var(--green-tint); }
.notice p:last-child { margin: 0; }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; background: var(--paper); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
tr.is-best td { background: var(--green-tint); font-weight: 600; }
tr.is-off td { color: var(--muted); }
tr.is-highlight td { background: var(--amber-tint); }
caption { text-align: left; padding: 0 0 8px; font-weight: 600; caption-side: top; }

.options-table { min-width: 680px; }
.options-table th { white-space: normal; }
.options-table thead th { vertical-align: bottom; }
.options-table tbody th { width: 18%; }
.options-table .is-ours { background: var(--amber-tint); }
.options-table thead .is-ours { background: var(--plate); }

.compare { margin-top: 18px; }
.compare summary { cursor: pointer; font-weight: 600; color: var(--blue); }
.compare .table-wrap { margin-top: 10px; }

/* Stappen (echte volgorde) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--ink); }
.steps li { counter-increment: step; padding: 20px 20px 0 0; margin: 0; position: relative; }
.steps li::before { content: counter(step); font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--blue); display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.25rem; margin-bottom: .3em; }
.steps p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pakketten */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); overflow: hidden; }
.tier { padding: 28px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.tier:last-child { border-right: 0; }
.tier.featured { background: var(--ink); color: var(--white); }
.tier.featured .tier-note, .tier.featured li { color: #c9d3e3; }
.tier h3 { margin-bottom: .2em; }
.tier-price { font-family: var(--font-display); font-weight: 700; font-size: 2.8rem; line-height: 1.05; margin: 10px 0 2px; }
.tier-price small { font-family: var(--font); font-size: .9rem; font-weight: 500; }
.tier-note { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier li { padding-left: 26px; position: relative; font-size: .98rem; }
.tier li::before { content: ''; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.tier.featured li::before { border-color: var(--plate); }
.tier-tag { display: inline-block; background: var(--plate); color: var(--ink); font-weight: 600; font-size: .85rem; padding: 2px 10px; border-radius: 99px; margin-bottom: 10px; align-self: flex-start; }
@media (min-width: 901px) { .tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 880px; margin: 0 auto; } .tiers-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tiers-4 .tier { padding: 24px 20px; } .tiers-4 .tier-price { font-size: 2rem; } }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } .tier { border-right: 0; border-bottom: 1px solid var(--line); } .tier:last-child { border-bottom: 0; } }

/* Vergelijking met nadruk */
.figure-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.figure-row > div { padding: 18px 18px 0 0; }
.figure-row strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; line-height: 1.1; }
.figure-row span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) { .figure-row { grid-template-columns: 1fr; } }

/* Infokaart naast tekst */
.aside-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; position: sticky; top: 92px; }
.aside-box h3 { font-size: 1.3rem; }
.aside-box .btn { width: 100%; margin-top: 8px; }
.aside-links { list-style: none; padding: 0; margin: 0; }
.aside-links a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line); text-decoration: none; }

/* Veelgestelde vragen */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: '−'; }
.faq .answer { padding: 0 0 18px; max-width: 70ch; color: var(--ink-soft); }

/* Formulieren */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
.form-panel h2 { font-size: 1.7rem; }
.form-section + .form-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.form-section > h3 { font-size: 1.2rem; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-actions .form-status.info { flex-basis: 100%; margin-top: 0; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.form-status.info { color: var(--ink); font-weight: 500; display: block; margin-top: 10px; padding: 10px 12px; background: var(--amber-tint); border-left: 4px solid var(--plate-deep); border-radius: 0 var(--radius-s) var(--radius-s) 0; }

/* Advertentie plakken */
.advert-steps { margin: 2px 0 6px; padding-left: 1.3em; font-size: .92rem; color: var(--ink-soft); display: grid; gap: 3px; }
.advert-steps li { margin: 0; }
.advert-steps li::marker { font-weight: 700; color: var(--blue); }
kbd { font-family: var(--font); font-size: .82em; font-weight: 600; background: var(--paper); border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; white-space: nowrap; }
.only-touch { display: none; }
@media (pointer: coarse) { .only-touch { display: list-item; } .only-fine { display: none; } }
.advert-alt { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
#c-advert { min-height: 120px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: left; padding: 8px 0; }
.form-success h2 { color: var(--green); }
.required::after { content: ' *'; color: var(--red); }
@media (max-width: 520px) { .form-panel { padding: 20px 16px; } }

.summary-box { background: var(--paper); border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
.summary-box dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 0; }
.summary-box dt { color: var(--muted); }
.summary-box dd { margin: 0; font-weight: 600; }

/* CTA-band */
.cta-band { background: var(--ink); color: var(--white); padding: 48px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 .2em; }
.cta-band p { color: #c9d3e3; margin: 0; max-width: 52ch; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-family: var(--font); font-size: 1rem; font-weight: 600; margin-bottom: .7em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45em; }
.footer-grid a { color: var(--ink-soft); text-decoration: none; }
.footer-grid a:hover { color: var(--blue); text-decoration: underline; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.kv { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
@media (max-width: 480px) { .kv { grid-template-columns: minmax(0, 1fr); row-gap: 2px; } .kv dd { margin-bottom: 10px; } }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tag-list a { display: inline-block; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; text-decoration: none; color: var(--ink-soft); font-size: .93rem; background: var(--white); }
.tag-list a:hover { border-color: var(--blue); color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .calc-tabs, .result-actions { display: none; }
  body { background: #fff; }
}

/* Wizard 'BPM-aangifte zelf maken' */
.wizard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-panel); max-width: 860px; margin: 0 auto; }
.wizard-top { display: flex; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); position: sticky; top: 68px; background: var(--white); z-index: 5; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.wizard-progress { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex: 1; min-width: 0; counter-reset: wz; }
.wizard-progress li { flex: 1; margin: 0; font-size: .8rem; font-weight: 600; color: var(--muted); counter-increment: wz; padding-top: 10px; border-top: 4px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard-progress li::before { content: counter(wz) '. '; }
.wizard-progress li.done { border-top-color: var(--blue); color: var(--ink-soft); }
.wizard-progress li.current { border-top-color: var(--plate-deep); color: var(--ink); }
.wizard-chip { flex-shrink: 0; background: var(--paper); border-radius: var(--radius); padding: 6px 12px; text-align: right; line-height: 1.2; }
.wizard-chip span { display: block; font-size: .78rem; color: var(--muted); }
.wizard-chip strong { font-family: var(--font-display); font-size: 1.45rem; }
#wz-form { padding: 24px; }
.wz-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.wz-step legend { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; margin-bottom: 14px; padding: 0; }
.wz-advert { margin: 0 0 18px; padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--paper); }
.wz-advert summary { color: var(--blue); }
.wz-mono { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.wz-live { margin-top: 20px; }
.wz-live:empty { display: none; }
.wz-live-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .97rem; }
.wz-live-row strong { white-space: nowrap; }
.wz-live-row.total { border-bottom: 0; font-weight: 600; }
.wz-live-row.total strong { font-family: var(--font-display); font-size: 1.6rem; }
.wz-options { display: grid; gap: 10px; }
.wz-option { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line-strong); border-radius: var(--radius); padding: 14px; cursor: pointer; }
.wz-option.is-on { border-color: var(--blue); background: var(--blue-tint); }
.wz-option input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex-shrink: 0; }
.wz-option-body { display: flex; flex-direction: column; gap: 2px; }
.wz-option-body span { color: var(--ink-soft); font-size: .95rem; }
.wz-option-body em { font-style: normal; color: var(--muted); font-size: .86rem; }
.wz-pay { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--paper); }
.wz-price { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1.1; }
.wz-price small { font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); }
.wizard-nav { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.wizard-nav .form-status { flex: 1; text-align: center; font-size: .93rem; }
.wizard-nav #wz-next { margin-left: auto; }
[aria-invalid="true"] { border-color: var(--red) !important; }
@media (max-width: 700px) {
  .wizard-top { padding: 12px 16px; top: 68px; }
  .wizard-progress li { font-size: 0; padding-top: 6px; }
  .wizard-progress li::before { font-size: .78rem; }
  .wizard-progress li.current { font-size: .78rem; flex: 5; }
  .wizard-progress li.current::before { content: counter(wz) '/6 '; }
  #wz-form { padding: 18px 16px; }
  .wz-step legend { font-size: 1.45rem; }
  .wizard-nav { flex-wrap: wrap; }
  .wizard-nav .form-status { order: -1; flex-basis: 100%; text-align: left; }
}

/* Wizard: kenteken en adres automatisch ophalen */
.wz-plate { background: var(--blue-tint); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 14px; }
.wz-plate > label { display: block; font-weight: 600; margin-bottom: 8px; }
.wz-plate-row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.wz-plate-row .plate { flex: 1 1 220px; max-width: 300px; }
.wz-plate .form-status { margin: 8px 0 0; display: block; }

/* Pagina's per automodel */
.model-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 20px; }
.model-links a { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.model-links a:hover { text-decoration: underline; }
.model-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 36px; }
.model-group h2 { font-size: 1.35rem; margin-bottom: 8px; }
.model-group h2 a { text-decoration: none; color: inherit; }
.model-group .model-links { grid-template-columns: 1fr; }

/* Eendagskenteken: platen printen */
.plate-tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-panel); overflow: hidden; }
.plate-tool-form { padding: 32px; }
.plate-tool-form h2 { font-size: 1.9rem; margin-bottom: .2em; }
.plate-tool-form form { display: grid; gap: 20px; margin-top: 20px; }
.input-plate { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; padding: 10px 14px; border: 2px solid var(--ink); }
.input-plate::placeholder { font-size: 1.2rem; letter-spacing: .02em; text-transform: none; font-weight: 500; color: var(--muted); }
.ek-sizes { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.ek-sizes legend { margin-bottom: 6px; }
.ek-error { margin: 0; color: var(--red); font-weight: 600; font-size: .95rem; }
.plate-tool-preview { background: linear-gradient(160deg, #24324d 0%, var(--ink) 70%); display: flex; align-items: center; justify-content: center; padding: 32px; }
.plate-stage { width: 100%; max-width: 520px; text-align: center; }
.plate-stage-label { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--plate); margin-bottom: 18px; }
.plate-bumper { background: #0b1322; border-radius: 14px; padding: 22px 20px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .06), 0 18px 40px -18px rgba(0, 0, 0, .7); }
.plate-svg { display: block; width: 100%; height: auto; }
.plate-bumper .plate-svg { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.plate-stage-note { color: rgba(255, 255, 255, .72); font-size: .92rem; margin: 18px auto 0; max-width: 40ch; }
@media (max-width: 900px) { .plate-tool { grid-template-columns: minmax(0, 1fr); } .plate-tool-preview { order: -1; padding: 24px 16px; } .plate-tool-form { padding: 24px 18px; } }

/* Tijdlijn met stappen */
.timeline { list-style: none; padding: 0; margin: 24px 0 0; counter-reset: tl; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 28px 56px; margin: 0; }
.timeline li::before { content: counter(tl); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.timeline li::after { content: ''; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--plate); color: var(--ink); }
.timeline h3 { font-size: 1.25rem; margin-bottom: .25em; }
.timeline p { color: var(--ink-soft); margin: 0 0 6px; }
.timeline-link { font-weight: 600; }
.timeline-link[target="_blank"]::after { content: ' ↗'; }

/* Checklist */
.checklist { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 22px; margin-top: 18px; }
.checklist-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.checklist-bar { flex: 1; height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.checklist-bar span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 99px; transition: width .25s ease; }
.checklist-count { font-weight: 600; font-size: .92rem; color: var(--ink-soft); white-space: nowrap; }
.checklist ul { list-style: none; padding: 0; margin: 0 0 12px; }
.checklist li { padding: 10px 0; border-top: 1px solid var(--line); margin: 0; }
.checklist li.is-done label { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.checklist-done { margin: 0 0 12px; padding: 12px 14px; background: var(--green-tint); border-radius: var(--radius); font-weight: 600; }

/* Printen van de platen: alleen de platen, A4 liggend */
#ek-print { display: none; }
@page plates { size: A4 landscape; margin: 10mm; }
@media print {
  body.ek-printing > *:not(#ek-print) { display: none !important; }
  body.ek-printing { background: #fff; }
  body.ek-printing #ek-print { display: block; }
  .ek-page { page: plates; break-after: page; font-family: var(--font); color: #000; }
  .ek-page:last-child { break-after: auto; }
  .ek-caption { font-size: 9pt; margin: 0 0 3mm; color: #444; }
  .ek-compact .ek-caption:not(:first-child) { margin-top: 12mm; }
  .ek-clip { width: 270mm; height: 110mm; overflow: hidden; position: relative; }
  .ek-clip .plate-svg { display: block; max-width: none; width: 520mm; height: 110mm; }
  .ek-compact .plate-svg { width: 277mm; height: 58.6mm; }
  .ek-overlap { position: absolute; left: 250mm; top: 0; bottom: 0; border-left: 0.4mm dashed #555; }
}
