/* =====================================================================
   PALET  (in één keer te wisselen)
   Warm grijs, zand en antraciet. De accentkleur komt per stad uit
   config.js en overschrijft --accent*.
   ===================================================================== */
:root {
  --paper: #F4F1EC;        /* pagina-achtergrond, gebroken wit */
  --surface: #FBFAF7;      /* kaarten */
  --sand: #E7E0D4;         /* zandvlak */
  --stone: #CFC6B8;        /* warm grijs licht */
  --concrete: #9D958A;     /* warm grijs */
  --slate: #5C5750;        /* gedempte tekst */
  --ink: #211F1C;          /* antraciet */
  --ink-2: #2D2A26;        /* antraciet vlak */
  --line: rgba(33, 31, 28, 0.13);
  --line-light: rgba(255, 255, 255, 0.16);

  --accent: #9A6424;       /* fallback, zie config.js */
  --accent-dark: #7D4F18;
  --accent-soft: #F1E4CF;
  --on-accent: #FFFFFF;

  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(33, 31, 28, .05), 0 24px 48px -20px rgba(33, 31, 28, .28);

  --font-display: "Archivo", "Helvetica Neue", Helvetica, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Helvetica, sans-serif;

  --header-h: 68px;
}

/* --------------------------------------------------------------------- */
@view-transition { navigation: auto; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:not(.ready) body { opacity: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: opacity .2s ease;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.font-display, body h1, body h2, body h3, .h1, .h2, .h3 { font-family: var(--font-display); }
body h1, .h1 {
  font-weight: 700;
  font-size: clamp(2.6rem, 8.2vw, 5.6rem);
  line-height: .96;
  letter-spacing: -0.035em;
  font-stretch: 92%;
}
body h2, .h2 {
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-stretch: 94%;
}
body h3, .h3 {
  font-weight: 650;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.lead { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--slate); }
.muted { color: var(--slate); }
.balance { text-wrap: balance; }
.pretty { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--slate);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--accent); }
.on-dark .eyebrow { color: rgba(255,255,255,.7); }

.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }
.section { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.section-sm { padding-block: clamp(3rem, 7vw, 5rem); }

.bg-concrete-tex {
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .18 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.on-dark { background: var(--ink); color: #F4F1EC; }
.on-dark .muted, .on-dark .lead { color: rgba(244,241,236,.68); }

/* ------------------------------ Knoppen ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -0.005em;
  border-radius: var(--radius); border: 1.5px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  cursor: pointer; white-space: nowrap; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.on-dark .btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.on-dark .btn-line:hover { background: #fff; color: var(--ink); }
.btn-lg { min-height: 58px; padding: 0 1.7rem; font-size: 1.05rem; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .38; cursor: not-allowed; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ------------------------------ Header ------------------------------ */
.topbar { background: var(--ink); color: rgba(244,241,236,.78); font-size: .82rem; }
.topbar a { color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244,241,236,.92);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 1rem; }

.wm { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--ink); }
.wm-top {
  font-family: var(--font-display); font-weight: 800; font-size: 1.28rem;
  letter-spacing: -0.03em; font-stretch: 112%; text-transform: uppercase;
}
.wm-city {
  margin-top: .28rem; display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 600; font-size: .7rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--slate);
}
.wm-city::before { content: ""; width: 14px; height: 3px; background: var(--accent); }
.on-dark .wm { color: #fff; }
.on-dark .wm-city { color: rgba(255,255,255,.65); }

.nav a {
  position: relative; font-family: var(--font-display); font-weight: 550; font-size: .95rem;
  color: var(--ink); padding: .4rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.icon-btn {
  width: 48px; height: 48px; display: inline-grid; place-items: center;
  border-radius: var(--radius); border: 1.5px solid var(--line); color: var(--ink); background: transparent;
}
.icon-btn svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: var(--paper);
  display: flex; flex-direction: column;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .2s ease; }
.mobile-menu nav a {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.03em;
  padding: .9rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu nav a svg { width: 22px; height: 22px; color: var(--accent); }

/* Onderbalk mobiel (duimzone) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244,241,236,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.action-bar.show { transform: none; }
.action-bar .btn { min-height: 50px; min-width: 0; padding-inline: 1.1rem; }
@media (min-width: 1024px) { .action-bar { display: none; } }
body.has-action-bar { padding-bottom: 76px; }
@media (min-width: 1024px) { body.has-action-bar { padding-bottom: 0; } }

/* ------------------------------ Hero ------------------------------ */
.hero { position: relative; }
.hero-media { position: relative; overflow: hidden; background: var(--sand); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,.0) 35%, rgba(20,18,16,.52) 100%);
}

/* Prijskaart */
.price-card {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.price-big {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; font-stretch: 92%;
  font-variant-numeric: tabular-nums;
}
.price-unit { font-size: .45em; letter-spacing: 0; font-weight: 600; color: var(--slate); }
.disclaimer {
  display: flex; gap: .55rem; align-items: flex-start;
  font-size: .82rem; line-height: 1.45; color: var(--slate);
}
.disclaimer svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); }

.num-field {
  display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden; transition: border-color .15s ease;
}
.num-field:focus-within { border-color: var(--ink); }
.num-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--font-display); font-weight: 650; font-size: 1.35rem; padding: .55rem .9rem;
  font-variant-numeric: tabular-nums;
}
.num-field span { display: grid; place-items: center; padding: 0 1rem; color: var(--slate); font-weight: 600; background: var(--paper); border-left: 1px solid var(--line); }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* Bandbreedte-balk */
.band { position: relative; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--stone), var(--concrete)); }
.band-labels { display: flex; justify-content: space-between; font-size: .76rem; color: var(--slate); margin-top: .5rem; font-weight: 500; }
.band-labels b { color: var(--ink); font-weight: 650; }
.band-hl {
  position: absolute; top: -4px; bottom: -4px; border-radius: 99px;
  background: var(--accent); opacity: .9; transition: left .3s ease, right .3s ease;
}

/* ------------------------------ Kaarten ------------------------------ */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.photo { position: relative; overflow: hidden; background: var(--sand); border-radius: var(--radius-lg); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
a:hover .photo img, .photo:hover img { transform: scale(1.03); }

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: .28rem .6rem; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.tag-accent { background: var(--accent-soft); border-color: transparent; color: var(--accent-dark); }

.placeholder {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 600; color: var(--accent-dark);
  border: 1.5px dashed var(--accent); background: var(--accent-soft);
  padding: .2rem .55rem; border-radius: 4px;
}
.on-dark .placeholder { color: #fff; background: transparent; border-color: rgba(255,255,255,.4); }

.num-list { counter-reset: n; }
.num-list > * { counter-increment: n; }
.num-list > * .n::before {
  content: counter(n, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; color: var(--accent);
}

.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem 0; border-top: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 1px solid var(--line); }
.check-list svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 4px; }
.on-dark .check-list li { border-color: var(--line-light); }

/* ------------------------------ Formulieren ------------------------------ */
.field label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: .8rem 1rem; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(33,31,28,.08); }
.field .err { display: none; font-size: .82rem; color: #A1341F; margin-top: .35rem; }
.field.invalid input { border-color: #A1341F; }
.field.invalid .err { display: block; }
.on-dark .field input { background: rgba(255,255,255,.06); border-color: var(--line-light); color: #fff; }
.on-dark .field input::placeholder { color: rgba(255,255,255,.4); }
.on-dark .field input:focus { border-color: #fff; box-shadow: none; }

/* ------------------------------ Wizard ------------------------------ */
.progress { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .35s ease; }

.step { display: none; }
.step.active { display: block; animation: stepIn .28s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.opt-grid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .opt-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.opt {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem;
  text-align: left; width: 100%; min-height: 118px; padding: 1rem;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent; color: var(--ink);
}
.opt:hover { border-color: var(--concrete); }
.opt .opt-ico { width: 34px; height: 34px; color: var(--ink); }
.opt .opt-title { font-family: var(--font-display); font-weight: 650; font-size: 1.02rem; line-height: 1.2; letter-spacing: -0.01em; }
.opt .opt-sub { font-size: .86rem; line-height: 1.4; color: var(--slate); }
.opt:not(.opt-img) .opt-title { padding-right: 1.9rem; }
.opt .opt-check {
  position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 99px;
  border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; background: #fff;
}
.opt .opt-check svg { width: 14px; height: 14px; }
.opt[aria-checked="true"] { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 1px var(--accent) inset; }
.opt[aria-checked="true"] .opt-check { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.opt.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; }
.opt-img { padding: 0; overflow: hidden; min-height: 0; }
.opt-img .opt-media { width: 100%; aspect-ratio: 16/9; background: var(--sand); overflow: hidden; }
.opt-img .opt-media img { width: 100%; height: 100%; object-fit: cover; }
.opt-img .opt-body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; gap: .3rem; }
@media (max-width: 639px) {
  .opt-img { flex-direction: row; align-items: stretch; grid-column: 1 / -1; }
  .opt-img .opt-media { width: 36%; aspect-ratio: auto; min-height: 104px; flex: none; }
  .opt-img .opt-body { padding-right: 2.6rem; justify-content: center; }
}

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button, .chip-btn {
  min-height: 46px; padding: 0 1rem; border-radius: 99px; border: 1.5px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer;
  transition: all .15s ease; font-variant-numeric: tabular-nums;
}
.seg button:hover, .chip-btn:hover { border-color: var(--concrete); }
.seg button[aria-pressed="true"], .chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

input[type=range].slider { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
input[type=range].slider::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--pct, 10%), var(--stone) var(--pct, 10%)); }
input[type=range].slider::-moz-range-track { height: 6px; border-radius: 99px; background: var(--stone); }
input[type=range].slider::-moz-range-progress { height: 6px; border-radius: 99px; background: var(--accent); }
input[type=range].slider::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 99px; background: #fff; border: 2px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
input[type=range].slider::-moz-range-thumb { width: 28px; height: 28px; border-radius: 99px; background: #fff; border: 2px solid var(--accent); }

.wiz-bar {
  position: sticky; bottom: 0; z-index: 30;
  background: rgba(244,241,236,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.live-price { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.flash { animation: flash .5s ease; }
@keyframes flash { 0% { color: var(--accent); } 100% { color: inherit; } }

/* ------------------------------ Galerij ------------------------------ */
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.g-item { text-align: left; cursor: zoom-in; background: none; border: 0; padding: 0; color: inherit; width: 100%; }
.g-item .photo { aspect-ratio: 3 / 2; border-radius: 10px; }
.g-item figcaption { display: flex; gap: .5rem; align-items: baseline; padding-top: .7rem; font-size: .92rem; }
.g-item figcaption b { font-family: var(--font-display); font-weight: 650; }
.g-item figcaption span { color: var(--slate); }
.gallery > figure.hide { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(18,17,15,.96); color: #fff;
  display: grid; grid-template-rows: auto minmax(0,1fr) auto; height: 100svh;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s;
}
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .2s ease; }
.lightbox .lb-stage { position: relative; display: grid; place-items: center; padding: 0 12px; min-height: 0; touch-action: pan-y; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 170px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.lightbox .lb-btn {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 99px;
  background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer;
}
.lightbox .lb-btn:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-btn svg { width: 22px; height: 22px; }

/* ------------------------------ Diversen ------------------------------ */
.rule { height: 1px; background: var(--line); }
.on-dark .rule { background: var(--line-light); }
.big-list li {
  font-family: var(--font-display); font-weight: 650; letter-spacing: -0.025em;
  font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.15;
  padding: .55rem 0; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.big-list li small { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: 0; color: var(--accent-dark); white-space: nowrap; }
.on-dark .big-list li { border-color: var(--line-light); }

.thanks { display: none; }
.sent .thanks { display: block; animation: stepIn .3s ease both; }
.sent .form-body { display: none; }

/* Scroll-fade, subtiel */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   V2: modernere, dynamischere componenten
   ===================================================================== */

/* ---------- Knoppen: pijl schuift mee, subtiele glans ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn svg { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s ease;
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary { box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); }

/* ---------- Header: indicatie-pil ---------- */
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(33,31,28,.35); }
.ind-pill {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: 0 .9rem;
  border-radius: 99px; background: var(--accent-soft); color: var(--accent-dark);
  font-family: var(--font-display); font-weight: 650; font-size: .88rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ind-pill i { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }

/* ---------- Hero V2 ---------- */
.hero2 { position: relative; overflow: clip; background: var(--ink); color: #fff; }
.hero2-media { position: absolute; inset: 0; }
.hero2-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%; will-change: transform; }
.hero2-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,18,16,.86) 0%, rgba(20,18,16,.6) 45%, rgba(20,18,16,.18) 80%),
    linear-gradient(0deg, rgba(20,18,16,.55) 0%, rgba(20,18,16,0) 40%);
}
@media (max-width: 1023px) {
  .hero2-media::after { background: linear-gradient(180deg, rgba(20,18,16,.45) 0%, rgba(20,18,16,.68) 50%, rgba(20,18,16,.94) 100%); }
}
.hero2 .eyebrow { color: rgba(255,255,255,.8); }
.kenburns { animation: kenburns 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }

.rotator { position: relative; display: block; height: 1.12em; overflow: hidden; }
.rotator > span { position: absolute; left: 0; top: 0; white-space: nowrap; color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .07em; text-underline-offset: .14em; transform: translateY(110%); opacity: 0; transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.rotator > span.on { transform: none; opacity: 1; }
.rotator > span.off { transform: translateY(-110%); opacity: 0; }

.glass {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
}
.hero-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; border-radius: 99px; font-size: .86rem; font-weight: 500; color: rgba(255,255,255,.92); }
.hero-chip svg { width: 16px; height: 16px; color: var(--accent-soft); }

.word-in > span { display: inline-block; opacity: 0; transform: translateY(.35em); animation: wordIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* ---------- Rekenhulp V2 ---------- */
.calc { color: var(--ink); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero2 .calc { box-shadow: 0 30px 80px -30px rgba(0,0,0,.55); border-color: rgba(255,255,255,.6); }
.calc-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.calc-tabs button { position: relative; min-height: 42px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--slate); transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.calc-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 4px 12px -6px rgba(0,0,0,.2); }
.calc-total { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; font-stretch: 90%; line-height: 1; font-variant-numeric: tabular-nums; font-size: clamp(2rem, 6.5vw, 2.7rem); }
.calc-total small { font-size: .42em; color: var(--slate); font-weight: 600; letter-spacing: 0; margin-inline: .25em; }
.calc-m2 { display: flex; align-items: baseline; gap: .35rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.calc-m2 input { width: 3.2ch; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 0; outline: none; border-bottom: 2px solid var(--line); text-align: right; }
.calc-m2 input:focus { border-bottom-color: var(--accent); }
.meter { position: relative; height: 8px; border-radius: 99px; background: var(--stone); overflow: hidden; }
.meter > i { position: absolute; top: 0; bottom: 0; left: 0; right: 0; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 55%, #fff)); border-radius: 99px; transition: left .4s cubic-bezier(.2,.7,.2,1), right .4s cubic-bezier(.2,.7,.2,1); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.5rem); letter-spacing: -0.02em; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tabs (vloerkiezer) ---------- */
.tabbar { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 99px; width: max-content; max-width: 100%; }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar button { min-height: 46px; padding: 0 1.15rem; border-radius: 99px; font-weight: 600; white-space: nowrap; color: var(--slate); transition: all .2s ease; }
.tabbar button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabpanel { display: none; }
.tabpanel.active { display: grid; animation: panelIn .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Bento ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .bento { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; } .bento > :first-child { grid-row: span 2; } }
.tile { position: relative; display: block; overflow: hidden; border-radius: 22px; min-height: 300px; color: #fff; background: var(--ink); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,16,0) 30%, rgba(20,18,16,.82) 100%); transition: background .4s ease; }
.tile:hover img { transform: scale(1.05); }
.tile .tile-body { position: absolute; inset: auto 0 0 0; padding: clamp(1.25rem, 3vw, 2rem); }
.tile .tile-go { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.tile .tile-go svg { width: 20px; height: 20px; }
.tile:hover .tile-go { background: var(--accent); transform: rotate(-45deg); }
.tile .tile-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1); }
.tile .tile-more > div { overflow: hidden; }
@media (hover: hover) { .tile:hover .tile-more, .tile:focus-visible .tile-more { grid-template-rows: 1fr; } }
@media (hover: none) { .tile .tile-more { grid-template-rows: 1fr; } }

/* ---------- Carrousel ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; padding-inline: 20px; padding-bottom: 6px; scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.dragging * { pointer-events: none; }
@media (min-width: 640px) { .rail { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 80px - 28px) / 3.15); gap: 14px; padding-inline: max(40px, calc((100vw - 80rem) / 2 + 40px)); scroll-padding-inline: max(40px, calc((100vw - 80rem) / 2 + 40px)); } }
.rail > * { scroll-snap-align: start; }
.rail .photo { aspect-ratio: 4 / 5; border-radius: 18px; }
.rail-btn { width: 52px; height: 52px; border-radius: 99px; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--surface); transition: all .2s ease; }
.rail-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.rail-btn svg { width: 20px; height: 20px; }
.rail-progress { height: 2px; background: var(--line); border-radius: 99px; overflow: hidden; }
.rail-progress > i { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 99px; transition: transform .15s linear; transform-origin: left; }

/* ---------- Tijdlijn ---------- */
.timeline { position: relative; }
.timeline-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--line); }
.timeline-line > i { position: absolute; inset: 0 0 auto 0; height: var(--p, 0%); background: var(--accent); }
@media (min-width: 1024px) {
  .timeline-line { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; }
  .timeline-line > i { inset: 0 auto 0 0; height: 100%; width: var(--p, 0%); }
}
.t-dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 99px; display: grid; place-items: center; background: var(--paper); border: 2px solid var(--stone); font-family: var(--font-display); font-weight: 700; font-size: .95rem; transition: all .4s ease; }
.t-step.lit .t-dot { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.35rem 0; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.08rem, 2vw, 1.3rem); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 99px; border: 1.5px solid var(--line); position: relative; transition: all .25s ease; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s ease; }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 3rem 1.4rem 0; color: var(--slate); }
.faq details[open] .ans { animation: stepIn .35s ease both; }

/* ---------- Reveal V2: stagger en beeld ---------- */
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); }
.stagger.in > * { opacity: 1; transform: none; }
.reveal-img { clip-path: inset(12% 0 0 0 round 18px); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal-img.in { clip-path: inset(0 0 0 0 round 18px); }

/* ---------- Lightbox CTA ---------- */
.lb-cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1rem; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.lb-cta svg { width: 16px; height: 16px; }

/* ---------- Wizard V2 ---------- */
.steps-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.steps-nav button { text-align: left; padding: 0; background: none; border: 0; cursor: default; color: var(--concrete); font-size: .74rem; font-weight: 600; }
.steps-nav button i { display: block; height: 4px; border-radius: 99px; background: var(--line); margin-bottom: .45rem; overflow: hidden; position: relative; }
.steps-nav button i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.steps-nav button.done i::after, .steps-nav button.current i::after { transform: scaleX(1); }
.steps-nav button.current { color: var(--ink); }
.steps-nav button.done { color: var(--slate); cursor: pointer; }
.steps-nav button.done:hover { color: var(--ink); }
@media (max-width: 639px) { .steps-nav button span { display: none; } }
.resume { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: .92rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .stagger > * { opacity: 1; transform: none; }
  .reveal-img { clip-path: none; }
  .rotator > span.off { display: none; }
}
