/* AutoSaldo: licht, rustig, professioneel. Mobiel eerst. */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f0f4fa;
  --ink: #0f1f3a;
  --ink-2: #26385a;
  --muted: #5b6b85;
  --line: #e2e8f1;
  --line-2: #cfd8e6;
  --primary: #1d5fd6;
  --primary-600: #164cb0;
  --primary-50: #ebf2ff;
  --primary-100: #d6e4ff;
  --accent: #0e9f6e;
  --accent-50: #e7f7f0;
  --warn: #c77700;
  --warn-50: #fff6e5;
  --danger: #d6336c;
  --danger-50: #fdecf2;
  --sponsor: #8a6d00;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 31, 58, .06), 0 1px 1px rgba(15, 31, 58, .04);
  --shadow: 0 6px 24px rgba(15, 31, 58, .08), 0 2px 6px rgba(15, 31, 58, .05);
  --shadow-lg: 0 22px 60px rgba(15, 31, 58, .14);
  --c-depreciation: #2f6fed;
  --c-energy: #12b886;
  --c-insurance: #7950f2;
  --c-mrb: #f59f00;
  --c-maintenance: #ef6c57;
  --c-tyres: #22a6d6;
  --c-opportunity: #9aa7bb;
  --c-other: #e64980;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.mono, .num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid #7aa7ff; outline-offset: 2px; border-radius: 4px; }
.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; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.section { padding: 56px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.lead { font-size: 1.12rem; color: var(--ink-2); }
.center { text-align: center; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid.cols-2 { grid-template-columns: repeat(2, 1fr); } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 32px; height: 32px; }
.logo b { color: var(--primary); font-weight: 800; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--primary-50); color: var(--primary); }
.nav .btn { margin-left: 6px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--primary); }
.nav a.btn-primary:hover { background: var(--primary-600); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 40px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.badge-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; }
.demo-bar { background: #1f2a44; color: #fff; text-align: center; font-size: .85rem; padding: 7px 16px; line-height: 1.4; }
.demo-bar strong { color: #3ed39b; margin-right: 6px; }
.pass-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-50); color: var(--accent); font-weight: 700; font-size: .8rem; padding: 5px 10px; border-radius: 99px; }
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; font-size: .97rem; line-height: 1; padding: 13px 20px; border-radius: 11px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(29, 95, 214, .28); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(14, 159, 110, .25); }
.btn-accent:hover { background: #0b875d; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-link { background: none; border: none; color: var(--primary); padding: 6px 0; font-weight: 700; }
.btn-sm { padding: 9px 14px; font-size: .88rem; border-radius: 9px; }
.btn-lg { padding: 16px 24px; font-size: 1.05rem; border-radius: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

label { font-weight: 650; font-size: .92rem; color: var(--ink-2); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 12px; min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 130px; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235b6b85' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
select:disabled { background-color: var(--surface-2); color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-100); }
.input-group { display: flex; align-items: stretch; }
.input-group .addon { display: inline-flex; align-items: center; padding: 0 12px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); font-weight: 600; font-size: .92rem; }
.input-group .addon:first-child { border-right: 0; border-radius: 10px 0 0 10px; }
.input-group .addon:last-child { border-left: 0; border-radius: 0 10px 10px 0; }
.input-group input { border-radius: 0; }
.input-group input:first-child { border-radius: 10px 0 0 10px; }
.input-group input:last-child { border-radius: 0 10px 10px 0; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } .form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .93rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--primary); }

/* Segmented control */
.seg { display: flex; flex-wrap: wrap; gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 12px; border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1 1 auto; text-align: center; padding: 10px 12px; border-radius: 9px; font-weight: 650; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.seg input:checked + label { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + label { outline: 3px solid #7aa7ff; }
.choice-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choice-cards input { position: absolute; opacity: 0; pointer-events: none; }
.choice-cards label { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; height: 100%; }
.choice-cards label strong { font-size: .97rem; color: var(--ink); }
.choice-cards label span { font-size: .82rem; color: var(--muted); font-weight: 500; }
.choice-cards input:checked + label { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px var(--primary-100); }
.choice-cards input:focus-visible + label { outline: 3px solid #7aa7ff; }

/* Range slider */
.range { display: flex; flex-direction: column; gap: 8px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.range-head output { font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(to right, var(--primary) var(--fill, 50%), var(--line) var(--fill, 50%)); outline: none; margin: 8px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: var(--shadow-sm); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; font-size: .76rem; color: var(--muted); }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.card.pad-lg { padding: 28px; }
.card h3 { margin-bottom: 6px; }
.card-flat { background: var(--surface-2); border-radius: var(--radius); padding: 18px; }
.alert { padding: 13px 16px; border-radius: 11px; font-size: .94rem; border: 1px solid; margin: 0 0 16px; }
.alert-success { background: var(--accent-50); border-color: #b5e8d2; color: #0a6b4a; }
.alert-error { background: var(--danger-50); border-color: #f5c2d4; color: #a3164a; }
.alert-info { background: var(--primary-50); border-color: var(--primary-100); color: var(--primary-600); }
.alert-warn { background: var(--warn-50); border-color: #ffe0a3; color: #8a5300; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.tag.blue { background: var(--primary-50); color: var(--primary); border-color: var(--primary-100); }
.tag.green { background: var(--accent-50); color: var(--accent); border-color: #c4eedc; }
.tag.amber { background: var(--warn-50); color: var(--warn); border-color: #ffe0a3; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 56px; background:
  radial-gradient(1200px 500px at 85% -10%, #dfe9ff 0%, transparent 60%),
  radial-gradient(900px 500px at -10% 110%, #e2f7ee 0%, transparent 55%),
  linear-gradient(180deg, #f8fbff 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(29, 95, 214, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 95, 214, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); animation: grid-drift 30s linear infinite; pointer-events: none; }
@keyframes grid-drift { to { background-position: 44px 44px, 44px 44px; } }
.hero-grid { position: relative; display: grid; gap: 34px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: start; } .hero { padding: 56px 0 72px; } .hero-meter { position: sticky; top: 96px; margin-top: 36px; } }
.hero h1 .hl { background: linear-gradient(90deg, var(--primary), #4f8bff 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 560px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-2); font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points svg { color: var(--accent); flex: none; }

/* Live kostenmeter */
.meter { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.meter-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px 20px 6px; }
.meter-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.meter-label .dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .5); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
.meter-car { font-weight: 800; font-size: 1.05rem; margin-top: 4px; transition: opacity .35s; }
.meter-car small { display: block; font-weight: 600; color: var(--muted); font-size: .82rem; }
.meter-total { text-align: right; }
.meter-total .euro { font-size: clamp(1.6rem, 3.6vw, 2.15rem); font-weight: 850; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); line-height: 1.05; }
.meter-total small { color: var(--muted); font-weight: 600; font-size: .8rem; }
.scene { position: relative; height: 210px; overflow: hidden; background: linear-gradient(180deg, #e9f2ff 0%, #f6fbff 62%, #eef2f7 62%); }
.scene .layer { position: absolute; left: 0; width: 200%; display: flex; }
.scene .layer svg { width: 50%; flex: none; }
.scene .sky { top: 14px; height: 70px; animation: scroll 60s linear infinite; opacity: .9; }
.scene .city { top: 46px; height: 86px; animation: scroll 28s linear infinite; }
.scene .trees { top: 82px; height: 50px; animation: scroll 11s linear infinite; }
.scene .road { position: absolute; left: 0; right: 0; bottom: 0; height: 78px; background: linear-gradient(180deg, #4b5563 0%, #374151 100%); }
.scene .road::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: #9ca3af; }
.scene .lane { position: absolute; left: 0; width: 200%; top: 38px; height: 5px; background: repeating-linear-gradient(90deg, #f8fafc 0 46px, transparent 46px 92px); animation: scroll-lane .55s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes scroll-lane { to { transform: translateX(-92px); } }
.car { position: absolute; left: 50%; bottom: 40px; width: 210px; margin-left: -125px; animation: bob .9s ease-in-out infinite; transition: filter .4s; z-index: 2; }
.car .wheel { transform-box: fill-box; transform-origin: center; animation: spin .45s linear infinite; }
.car .body-paint { transition: fill .6s ease; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.car-shadow { position: absolute; left: 50%; bottom: 33px; width: 190px; height: 14px; margin-left: -115px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .35), transparent); z-index: 1; }
.speed-lines { position: absolute; left: calc(50% - 175px); bottom: 66px; width: 70px; height: 40px; z-index: 1; }
.speed-lines i { position: absolute; left: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .9); animation: speed .7s linear infinite; }
.speed-lines i:nth-child(1) { top: 6px; width: 46px; }
.speed-lines i:nth-child(2) { top: 20px; width: 30px; animation-delay: .25s; }
.speed-lines i:nth-child(3) { top: 33px; width: 40px; animation-delay: .45s; }
@keyframes speed { from { transform: translateX(30px); opacity: 0; } 30% { opacity: 1; } to { transform: translateX(-40px); opacity: 0; } }
.chip-layer { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.cost-chip { position: absolute; left: 50%; bottom: 96px; padding: 5px 10px; border-radius: 99px; font-size: .76rem; font-weight: 800; color: #fff; white-space: nowrap; box-shadow: 0 6px 14px rgba(0, 0, 0, .16); animation: chip-fly 2.6s cubic-bezier(.2, .7, .3, 1) forwards; font-variant-numeric: tabular-nums; }
@keyframes chip-fly {
  0% { transform: translate(-50%, 10px) scale(.6); opacity: 0; }
  12% { transform: translate(-50%, -6px) scale(1); opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx, 60px)), -110px) scale(.9); opacity: 0; }
}
.meter-bottom { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.stack-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--surface-2); }
.stack-bar span { display: block; height: 100%; transition: width .9s cubic-bezier(.2, .7, .3, 1); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .8rem; color: var(--ink-2); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend b { font-variant-numeric: tabular-nums; }
.meter-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: .8rem; color: var(--muted); }
.meter-switch { display: flex; gap: 6px; }
.meter-switch button { border: 1px solid var(--line-2); background: #fff; border-radius: 99px; padding: 4px 10px; font: inherit; font-size: .76rem; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.meter-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  .scene .layer, .lane, .car, .car .wheel, .speed-lines i, .hero::before, .meter-label .dot { animation: none !important; }
}

/* Snelle calculator */
.quick { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; }
.quick-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.quick-title h2 { font-size: 1.08rem; margin: 0; }
.quick .form-grid { gap: 12px; }
@media (min-width: 640px) { .quick .form-grid { grid-template-columns: repeat(2, 1fr); } }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.plate-input { font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; background: linear-gradient(90deg, #003399 0 30px, #ffcc00 30px) !important; padding-left: 40px !important; color: #111 !important; border-color: #c9a800 !important; }
.or-split { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 4px 0; }
.or-split::before, .or-split::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.quick-result { margin-top: 16px; border-top: 1px dashed var(--line-2); padding-top: 16px; display: none; }
.quick-result.show { display: block; animation: fade-up .45s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.big-number { font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 850; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.big-number small { font-size: 1rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--surface-2); border-radius: 12px; padding: 12px; }
.kpi .k { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi .v { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 2px; }
.kpi .s { font-size: .78rem; color: var(--muted); }
.bars { display: grid; gap: 9px; margin-top: 14px; }
.bar-row { display: grid; grid-template-columns: minmax(110px, 1.1fr) 2fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.bar-row .track { height: 10px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.bar-row .fill { height: 100%; border-radius: 99px; width: 0; transition: width .8s cubic-bezier(.2, .7, .3, 1); }
.bar-row .val { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; min-width: 64px; }
@media (max-width: 480px) { .bar-row { grid-template-columns: 1fr auto; } .bar-row .track { grid-column: 1 / -1; order: 3; } }

/* ---------- Home sections ---------- */
.logos-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; font-size: .9rem; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.cost-tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .cost-tiles { grid-template-columns: repeat(4, 1fr); } }
.cost-tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; position: relative; overflow: hidden; }
.cost-tile::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, var(--primary)); }
.cost-tile h3 { font-size: 1rem; margin-bottom: 4px; }
.cost-tile p { margin: 0; font-size: .86rem; color: var(--muted); }
.steps { counter-reset: s; display: grid; gap: 16px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -14px; left: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(29, 95, 214, .35); }
.compare-visual { display: grid; gap: 10px; }
.cv-row { display: grid; grid-template-columns: 150px 1fr 90px; gap: 12px; align-items: center; font-weight: 650; font-size: .93rem; }
.cv-row .track { height: 30px; background: var(--surface-2); border-radius: 8px; overflow: hidden; }
.cv-row .fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--primary), #5a8dff); width: 0; transition: width 1.2s cubic-bezier(.2, .7, .3, 1); }
.cv-row.best .fill { background: linear-gradient(90deg, var(--accent), #3ed39b); }
.cv-row .v { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; }
@media (max-width: 560px) { .cv-row { grid-template-columns: 1fr 76px; } .cv-row .track { grid-column: 1 / -1; order: 3; height: 20px; } }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }
.cta-band { background: linear-gradient(120deg, #1d5fd6, #3f7bf0 55%, #12a77a); color: #fff; border-radius: 22px; padding: 36px 26px; display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); margin: 0; }
.cta-band .btn-ghost { background: #fff; border: 0; color: var(--primary); }
@media (min-width: 820px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px 44px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(4, 1fr); align-items: stretch; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
.plan.hl { border: 2px solid var(--primary); box-shadow: 0 16px 40px rgba(29, 95, 214, .16); }
.plan .ribbon { position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; letter-spacing: .03em; }
.plan .price { font-size: 2.1rem; font-weight: 850; letter-spacing: -.03em; }
.plan .price small { font-size: .9rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .93rem; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' stroke='%230e9f6e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
.plan .btn { margin-top: auto; }

/* ---------- Calculator wizard ---------- */
.wizard { display: grid; gap: 22px; }
@media (min-width: 1000px) { .wizard { grid-template-columns: 1fr 340px; align-items: start; } }
.progress { display: flex; gap: 6px; margin-bottom: 18px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.progress button { flex: 1 0 auto; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 14px 8px 8px; font: inherit; font-size: .86rem; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.progress button .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .78rem; }
.progress button[aria-current="step"] { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.progress button[aria-current="step"] .n { background: var(--primary); color: #fff; }
.progress button.done .n { background: var(--accent); color: #fff; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fade-up .3s ease; }
.step-panel h2 { font-size: 1.35rem; }
.qblock { padding: 18px 0; border-top: 1px solid var(--line); }
.qblock:first-of-type { border-top: 0; padding-top: 4px; }
.qblock > label, .qblock > .q { display: block; font-weight: 750; font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.qblock .hint { font-size: .86rem; color: var(--muted); margin: 0 0 10px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-summary { position: sticky; top: 84px; }
.side-summary .vehicle-card { display: flex; gap: 12px; align-items: center; }
.vehicle-card .vc-ico { width: 52px; height: 52px; border-radius: 12px; background: var(--primary-50); display: grid; place-items: center; color: var(--primary); flex: none; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .88rem; margin: 12px 0 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.conditional { display: none; }
.conditional.show { display: block; }
.mix-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .mix-grid { grid-template-columns: repeat(4, 1fr); } }
.mix-total { font-size: .85rem; margin-top: 6px; }
.suggest { position: relative; }
.suggest-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; max-height: 280px; overflow: auto; display: none; }
.suggest-list.open { display: block; }
.suggest-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .95rem; }
.suggest-list li[aria-selected="true"], .suggest-list li:hover { background: var(--primary-50); color: var(--primary); }

/* ---------- Report ---------- */
.report-head { display: grid; gap: 18px; align-items: end; padding: 28px 0 8px; }
@media (min-width: 900px) { .report-head { grid-template-columns: 1fr auto; } }
.report-head .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.report-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.summary-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .summary-grid { grid-template-columns: 1.1fr 1fr; } }
.donut-wrap { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; }
@media (max-width: 480px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } }
.donut { width: 160px; height: 160px; }
.option-cards { display: grid; gap: 12px; }
@media (min-width: 720px) { .option-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .option-cards { grid-template-columns: repeat(3, 1fr); } }
.opt { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.opt.best { border: 2px solid var(--accent); box-shadow: 0 10px 28px rgba(14, 159, 110, .14); }
.opt .opt-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.opt h3 { margin: 0; font-size: 1.02rem; }
.opt .opt-price { font-size: 1.7rem; font-weight: 850; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.opt .opt-price small { font-size: .82rem; font-weight: 650; color: var(--muted); letter-spacing: 0; }
.opt dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 0; font-size: .88rem; }
.opt dt { color: var(--muted); }
.opt dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.opt .opt-notes { font-size: .84rem; color: var(--muted); margin: 0; padding-left: 18px; }
.rank { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); font-weight: 800; font-size: .8rem; flex: none; }
.opt.best .rank { background: var(--accent); color: #fff; }
.credit-warning { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; color: #111; background: #fff; border: 1.5px solid #111; border-radius: 6px; padding: 4px 8px; width: fit-content; }
.credit-warning svg { flex: none; }

/* Vergelijkingstabel: desktop tabel, mobiel kaarten */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .9rem; min-width: 760px; }
table.cmp th, table.cmp td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 650; color: var(--ink-2); box-shadow: 1px 0 0 var(--line); }
table.cmp thead th { background: var(--surface-2); font-size: .82rem; color: var(--ink); position: sticky; top: 0; white-space: normal; vertical-align: bottom; min-width: 110px; }
table.cmp thead th:first-child { background: var(--surface-2); z-index: 2; }
table.cmp tr.total td { font-weight: 850; font-size: 1rem; background: var(--primary-50); }
table.cmp tr.total td:first-child { background: var(--primary-50); }
table.cmp tr.sub td { color: var(--muted); font-size: .84rem; }
table.cmp td.best, table.cmp th.best { background: var(--accent-50); }
table.cmp .zero { color: #b7c1d1; }
.cmp-cards { display: none; }
@media (max-width: 760px) {
  .cmp-desktop { display: none; }
  .cmp-cards { display: grid; gap: 10px; }
  .cmp-cards details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
  .cmp-cards summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; cursor: pointer; font-weight: 750; list-style: none; }
  .cmp-cards summary::-webkit-details-marker { display: none; }
  .cmp-cards summary .v { font-weight: 850; font-variant-numeric: tabular-nums; }
  .cmp-cards dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; padding: 0 16px 14px; font-size: .9rem; }
  .cmp-cards dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
  .cmp-cards dt { color: var(--muted); }
}
.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.chart .axis { stroke: var(--line-2); }
.chart .grid-line { stroke: var(--line); stroke-dasharray: 3 4; }

/* Paywall */
.locked { position: relative; }
.locked .blur { filter: blur(6px); pointer-events: none; user-select: none; opacity: .65; }
.paywall { position: relative; margin-top: -120px; z-index: 2; background: linear-gradient(180deg, rgba(245, 247, 251, 0) 0%, var(--bg) 26%); padding: 110px 0 0; }
.paywall .card { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.paywall-options { display: grid; gap: 12px; margin-top: 14px; }
@media (min-width: 720px) { .paywall-options { grid-template-columns: repeat(3, 1fr); } }
.pw-opt { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.pw-opt.free { border-color: var(--accent); background: var(--accent-50); }
.pw-opt .p { font-size: 1.5rem; font-weight: 850; }

/* Sponsored & ads */
.sponsored { border: 1px solid #ecdca8; background: #fffdf5; border-radius: 14px; padding: 18px; }
.sponsor-label { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--sponsor); }
.rec-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .rec-grid { grid-template-columns: repeat(2, 1fr); } }
.rec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.rec h4 { margin: 0; font-size: .98rem; }
.rec p { margin: 0; font-size: .88rem; color: var(--muted); }
.partner { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line-2); padding-top: 10px; }
.partner strong { font-size: .92rem; }
.partner span { display: block; font-size: .8rem; color: var(--muted); }
.ad-slot { display: none; margin: 24px auto; text-align: center; }
.ad-slot.on { display: block; }
.ad-slot .ad-label { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-slot .ad-box { min-height: 100px; border-radius: 12px; }
.house-ad { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed var(--line-2); border-radius: 12px; padding: 16px 18px; background: #fff; text-align: left; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 64px; background: #0f1f3a; color: #c5d0e3; padding: 46px 0 24px; font-size: .92rem; }
.site-footer a { color: #e4ebf7; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.site-footer .logo { color: #fff; }
.footer-legal { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .82rem; color: #9fb0cc; }
.footer-legal button { background: none; border: none; color: #e4ebf7; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 18px; display: none; }
.cookie.show { display: block; animation: fade-up .3s ease; }
.cookie h2 { font-size: 1.05rem; margin-bottom: 6px; }
.cookie p { font-size: .88rem; color: var(--ink-2); margin-bottom: 12px; }
.cookie .cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .cookie-actions .btn { flex: 1 1 auto; }
.cookie-prefs { display: none; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.cookie-prefs.show { display: grid; gap: 10px; }
.cookie-prefs .check span { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }

/* ---------- Legal / prose ---------- */
.prose { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.3em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.page-head { padding: 34px 0 18px; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a { color: var(--muted); }
.disclaimer-box { font-size: .84rem; color: var(--muted); background: var(--surface-2); border-radius: 12px; padding: 14px 16px; }

/* Admin */
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 22px; }
.admin-nav a { padding: 8px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 650; font-size: .9rem; color: var(--ink-2); }
.admin-nav a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
table.list { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; }
table.list th, table.list td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.list th { background: var(--surface-2); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Print: rapport netjes op papier/PDF */
@media print {
  .site-header, .site-footer, .cookie, .report-actions, .ad-slot, .no-print, .paywall, .sponsored { display: none !important; }
  body { background: #fff; font-size: 12px; }
  .card, .opt, .table-wrap { box-shadow: none !important; break-inside: avoid; }
  .cmp-desktop { display: block !important; }
  .cmp-cards { display: none !important; }
  table.cmp { min-width: 0; font-size: 10px; }
  .section { padding: 16px 0; }
  a { color: inherit; text-decoration: none; }
}

/* Overflow-fixes mobiel */
fieldset { min-width: 0; }
.wizard > *, .rec-grid > *, .grid > *, .summary-grid > * { min-width: 0; }
.partner { flex-wrap: wrap; }
.partner > div { min-width: 0; flex: 1 1 160px; }
[hidden] { display: none !important; }
.wizard-nav { flex-wrap: wrap; }
@media (max-width: 520px) { .wizard-nav .btn { flex: 1 1 auto; } .wizard-nav > span { display: none; } }

/* ---------- Kostengroepen (vast / variabel / verborgen / eenmalig) ---------- */
:root { --g-fixed: #2f6fed; --g-variable: #12b886; --g-hidden: #f08c00; --g-oneoff: #9aa7bb; }
.sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; flex: none; }
.sw-fixed, .seg-fixed { background: var(--g-fixed); }
.sw-variable, .seg-variable { background: var(--g-variable); }
.sw-hidden, .seg-hidden { background: repeating-linear-gradient(135deg, var(--g-hidden) 0 5px, #ffc56b 5px 9px); }
.sw-oneOff, .seg-oneOff { background: var(--g-oneoff); }
.seg-hidden.in-lease { background: repeating-linear-gradient(135deg, #2f6fed 0 5px, #ffc56b 5px 9px); }
.group-legend { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 18px; }
.group-legend > div { display: grid; grid-template-columns: auto 1fr; column-gap: 2px; font-size: .9rem; align-items: center; }
.group-legend span { grid-column: 2; font-size: .8rem; color: var(--muted); }
.vs { display: grid; gap: 4px; border-top: 1px solid var(--line); padding-top: 14px; }
.vs-row { display: grid; grid-template-columns: minmax(170px, 230px) 1fr auto; gap: 12px; align-items: center; }
.vs-label { display: flex; flex-direction: column; line-height: 1.3; }
.vs-bar, .gbar { display: flex; height: 20px; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.gbar { height: 12px; border-radius: 99px; }
.vs-bar .seg, .gbar .seg { display: block; height: 100%; }
.vs-val { font-weight: 850; font-variant-numeric: tabular-nums; min-width: 70px; text-align: right; }
.vs-note { margin: 0 0 10px; color: var(--ink-2); }
@media (max-width: 640px) { .vs-row { grid-template-columns: 1fr auto; } .vs-bar { grid-column: 1 / -1; order: 3; } }
.gl { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; margin: 0; font-size: .87rem; }
.gl dt { color: var(--ink-2); display: flex; align-items: center; }
.gl dd { margin: 0; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.paybox { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.paybox > div { display: flex; flex-direction: column; }
.paybox strong { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.endbox { border-radius: 10px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; }
.endbox-own { border-color: #c4eedc; background: var(--accent-50); }
.endbox-balloon { border-color: #ffe0a3; background: var(--warn-50); }
.endbox-none { background: var(--surface-2); }
.inlease summary { cursor: pointer; color: var(--primary); font-weight: 700; }
table.cmp tr.grp td { background: var(--surface-2); font-weight: 800; color: var(--ink); }
table.cmp tr.grp td:first-child { background: var(--surface-2); }
table.cmp tr.line td:first-child { padding-left: 30px; font-weight: 500; }
.cmp-cards .grp-dt { font-weight: 800; color: var(--ink) !important; margin-top: 6px; display: flex; align-items: center; }
.cmp-cards .grp-dd { font-weight: 800; margin-top: 6px; }
.timeline { display: flex; gap: 3px; margin: 8px 0 12px; height: 28px; font-size: .72rem; font-weight: 700; color: #fff; }
.timeline span { display: flex; align-items: center; justify-content: center; border-radius: 6px; overflow: hidden; white-space: nowrap; }
.tl-down { background: var(--g-oneoff); }
.tl-pay { flex: 1; background: var(--g-fixed); }
.tl-balloon { flex: 0 0 16%; background: var(--g-hidden); }

/* ---------- Auto zoeken ---------- */
.search-layout { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .search-layout { grid-template-columns: 440px 1fr; } .search-layout > form { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; } }
.choice-cards.compact { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.choice-cards.compact label { padding: 11px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-top: 8px; }
.more-filters summary { cursor: pointer; font-weight: 750; }
.res-grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .res-grid { grid-template-columns: repeat(2, 1fr); } }
.res-top { margin-bottom: 14px; }
.res { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.res.res-close { border-style: dashed; border-color: #ffd58a; }
.res-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.res-head h3 { margin: 2px 0; font-size: 1.08rem; }
.res-pick { white-space: nowrap; font-weight: 700; color: var(--primary); }
.res-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.res-specs span { font-size: .78rem; background: var(--surface-2); border-radius: 99px; padding: 3px 9px; color: var(--ink-2); font-weight: 600; }
.res-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.res-prices > div { background: var(--surface-2); border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; }
.res-prices strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.res-prices strong small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .86rem; }
.res-list li { padding-left: 20px; position: relative; }
.res-list li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.res-list li.pro::before { content: "✓"; color: var(--accent); }
.res-list li.con::before { content: "!"; color: var(--warn); left: 4px; }
.res-list.miss li { color: #8a5300; }
.res-list.miss li::before { content: "≠"; color: var(--warn); }
.res .btn { align-self: flex-start; margin-top: auto; }
.compare-tray { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; background: #0f1f3a; color: #fff; padding: 12px 0; box-shadow: 0 -8px 30px rgba(15, 31, 58, .2); }
.spinner { width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--primary-100); border-top-color: var(--primary); animation: spin .8s linear infinite; }

.finder-cta { display: grid; gap: 18px; align-items: center; border: 2px solid var(--primary-100); background: linear-gradient(120deg, #fff 60%, var(--primary-50)); }
@media (min-width: 820px) { .finder-cta { grid-template-columns: 1fr auto; } }

/* Kosten per model */
.makes-grid { columns: 1; column-gap: 18px; }
@media (min-width: 640px) { .makes-grid { columns: 2; } }
@media (min-width: 980px) { .makes-grid { columns: 4; } }
.makes-grid .card { break-inside: avoid; margin-bottom: 18px; scroll-margin-top: 90px; }
.model-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .93rem; }
.model-list a { text-decoration: none; }
.model-list a:hover { text-decoration: underline; }

/* Handleiding in het beheer */
.guide { display: grid; gap: 18px; }
.guide h3 { margin-top: 1.3em; font-size: 1.05rem; }
.guide ol, .guide ul { padding-left: 20px; }
.guide li { margin-bottom: 6px; }
.guide table.list { display: block; overflow-x: auto; }
.guide code { font-family: var(--mono); font-size: .85em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
pre.code { font-family: var(--mono); font-size: .85rem; background: #0f1f3a; color: #e4ebf7; padding: 12px 14px; border-radius: 10px; overflow-x: auto; margin: 8px 0; }
.partner span.tag { display: inline-flex; font-size: .7rem; margin-left: 4px; vertical-align: 1px; }

/* Mobiel: brede inhoud (tabellen, code, lange URL's) mag nooit de pagina breder maken */
.guide > *, .form-grid > *, .field { min-width: 0; }
.guide code, .alert code, .hint, .prose td { overflow-wrap: anywhere; }
.guide pre.code { white-space: pre-wrap; word-break: break-all; }
input, select, textarea { max-width: 100%; }
@media (max-width: 560px) {
  .btn-lg { white-space: normal; text-align: center; line-height: 1.25; }
  .cta-band .btn { width: 100%; }
  .card.pad-lg, .prose { padding: 18px; }
  .card { padding: 16px; }
  .admin-nav a { font-size: .84rem; padding: 7px 10px; }
  .guide table.list { font-size: .84rem; }
  .guide table.list th, .guide table.list td { padding: 7px 8px; }
}
@media (max-width: 720px) {
  .admin-nav { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav a { flex: none; white-space: nowrap; }
}

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s ease, border-color .2s ease; }
.post-card:hover { border-color: var(--primary-100); box-shadow: var(--shadow); }
.post-card h2, .post-card h3 { font-size: 1.15rem; line-height: 1.3; margin: 2px 0 0; }
.post-card h2 a, .post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--primary); }
.post-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.post-more { margin-top: auto; font-weight: 700; font-size: .9rem; text-decoration: none; }
.post-meta { font-size: .84rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; }
.post h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.15; margin: 4px 0 12px; }
.post-lead { font-size: 1.15rem; margin: 16px 0 0; }
.post-body { font-size: 1.04rem; line-height: 1.72; }
.post-body h2 { scroll-margin-top: 80px; }
.post-body h3 { font-size: 1.1rem; scroll-margin-top: 80px; }
.post-body blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--primary-100); color: var(--ink-2); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.post-body code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.table-scroll { overflow-x: auto; margin: 1.2em 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { display: table; min-width: 480px; }
.callout { border-radius: 12px; padding: 14px 18px; margin: 1.4em 0; border: 1px solid var(--line); background: var(--surface-2); }
.callout > :last-child { margin-bottom: 0; }
.callout-title { font-weight: 800; margin: 0 0 4px; }
.callout-tip { background: var(--accent-50); border-color: #c4eedc; }
.callout-let-op { background: var(--warn-50); border-color: #ffe0a3; }
.callout-info { background: var(--primary-50); border-color: var(--primary-100); }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin: 0 0 18px; }
.toc summary { cursor: pointer; font-weight: 700; }
.toc ol { margin: 10px 0 4px; padding-left: 20px; }
.toc li { margin: 4px 0; }
.post-tool { margin: 22px 0 10px; padding: 16px 18px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 12px 12px 0; }
.post-tool p { margin: 0 0 6px; color: var(--ink-2); }
.post-tool a { font-weight: 700; }
.post-disclaimer { margin-top: 18px; }
.blog-teaser .post-grid { margin-top: 18px; }
.blog-form { display: grid; gap: 18px; align-items: start; }
@media (min-width: 980px) { .blog-form { grid-template-columns: minmax(0, 1fr) 340px; } }
.blog-form-main { display: grid; gap: 16px; }
.blog-form-side { display: grid; gap: 14px; }
.blog-form textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; line-height: 1.55; }
.md-help summary { cursor: pointer; font-weight: 700; }
.md-help pre { white-space: pre-wrap; font-size: .8rem; background: var(--surface-2); padding: 10px; border-radius: 8px; margin: 10px 0; }
