:root {
  --ink: #141414; --cream: #f4f1eb; --muted: #6b6862; --line: rgba(0, 0, 0, .1);
  --green: #5eb13c; --gold: #d2b47a; --gold-2: #f0dcae;
  --glass: rgba(255, 255, 255, .86); --glass-dark: rgba(12, 13, 15, .72);
  --shadow: 0 30px 80px rgba(0, 0, 0, .28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #0d0f10; color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }

/* ---------- 3D op de achtergrond ---------- */
.world { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.world canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world .v-overlay { display: none; }
.shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; transition: background .9s ease;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, 0) 26%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .25) 100%); }
body.hero-on .shade { background: radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, .44), rgba(0, 0, 0, .12) 70%); }
body.grid-on .shade { background: rgba(10, 12, 13, .58); }

/* ---------- laden ---------- */
.loader { position: fixed; inset: 0; z-index: 50; background: var(--cream); display: grid; place-content: center; justify-items: center; gap: 22px; transition: opacity 1s ease, visibility 1s; }
.loader img { width: 220px; height: auto; animation: breathe 2.4s ease-in-out infinite; }
.loader .bar { width: 220px; height: 2px; background: rgba(0, 0, 0, .08); overflow: hidden; border-radius: 2px; }
.loader .bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .4s ease; }
.loader span { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
body.ready .loader { opacity: 0; visibility: hidden; }
@keyframes breathe { 50% { opacity: .55; } }

/* ---------- navigatie ---------- */
.nav { position: fixed; z-index: 10; top: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.nav > * { pointer-events: auto; }
.brand { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-radius: 14px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.brand img { display: block; height: 26px; width: auto; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { text-decoration: none; color: #fff; font-size: 14px; font-weight: 500; padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .22); transition: background .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .26); }
.nav-links a.pill { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- hoofdstukken rechts ---------- */
.rail { position: fixed; z-index: 10; right: 26px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; }
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-decoration: none; color: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.rail a span { opacity: 0; transform: translateX(6px); transition: .3s; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.rail a i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: .3s; box-shadow: 0 0 0 4px rgba(0, 0, 0, .08); }
.rail a:hover span { opacity: 1; transform: none; }
.rail a.on { color: #fff; } .rail a.on i { background: #fff; transform: scale(1.5); }
.rail a.sig.on i { background: var(--gold); }

/* ---------- secties ---------- */
main { position: relative; z-index: 2; }
.sec { min-height: 150vh; display: flex; align-items: center; padding: 0 6vw; position: relative; }
main .sec > * { position: sticky; top: 50%; transform: translateY(-50%); }
main .sec > .cue { position: fixed; top: auto; transform: translateX(-50%); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.eyebrow.gold { color: var(--gold); }
.lead { font-size: clamp(16px, 1.45vw, 19px); line-height: 1.6; max-width: 620px; margin: 0 auto; }

/* hero */
.hero { min-height: 115vh; justify-content: center; text-align: center; color: #fff; }
.hero-in { max-width: 900px; }
.hero .eyebrow { color: rgba(255, 255, 255, .85); }
.hero h1 { font-size: clamp(46px, 8.6vw, 132px); line-height: .95; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 26px; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); }
.hero .lead { color: rgba(255, 255, 255, .9); text-shadow: 0 2px 20px rgba(0, 0, 0, .45); }
.stats { display: flex; justify-content: center; gap: clamp(22px, 5vw, 64px); margin-top: 40px; }
.stats div { display: grid; gap: 4px; }
.stats b { font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.cue { position: fixed; z-index: 3; transition: opacity .6s; bottom: 4vh; left: 50%; transform: translateX(-50%); display: grid; justify-items: center; gap: 12px; text-decoration: none; color: rgba(255, 255, 255, .85); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.cue i { width: 1px; height: 46px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); position: relative; overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: -2px; width: 5px; height: 12px; border-radius: 3px; background: #fff; animation: drip 1.8s ease-in-out infinite; }
body:not(.hero-on) .cue, body:not(.ready) .cue { opacity: 0; pointer-events: none; }
@keyframes drip { from { top: -12px; } to { top: 46px; } }

/* letters die opkomen */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2, .8, .1, 1); }
.split.in .w > span { transform: none; }

/* productkaarten */
.card { width: min(440px, 88vw); background: var(--glass); backdrop-filter: blur(20px) saturate(1.3); border-radius: 26px; padding: 34px 34px 30px; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .6); position: relative; overflow: hidden;
  opacity: 0; translate: 0 40px; transition: opacity .9s ease, translate 1.1s cubic-bezier(.2, .8, .1, 1); }
.card.in { opacity: 1; translate: 0 0; }
.card.right { margin-left: auto; }
.card .num { position: absolute; right: 26px; top: 14px; font-size: 76px; font-weight: 700; letter-spacing: -.06em; color: rgba(0, 0, 0, .06); line-height: 1; }
.card h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; margin: 12px 0 14px; }
.card p { color: #44423e; line-height: 1.6; font-size: 15.5px; margin: 0 0 18px; }
.card ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.card li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; font-weight: 500; }
.card li::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }
.card > * { opacity: 0; translate: 0 14px; transition: opacity .7s ease, translate .9s cubic-bezier(.2, .8, .1, 1); }
.card.in > * { opacity: 1; translate: 0 0; }
.card.in > *:nth-child(2) { transition-delay: .08s; } .card.in > *:nth-child(3) { transition-delay: .14s; } .card.in > *:nth-child(4) { transition-delay: .2s; }
.card.in > *:nth-child(5) { transition-delay: .26s; } .card.in > *:nth-child(6) { transition-delay: .32s; } .card.in > *:nth-child(7) { transition-delay: .38s; }
.card.dark { background: var(--glass-dark); border-color: rgba(210, 180, 122, .28); color: #fff; }
.card.dark .num { color: rgba(210, 180, 122, .14); }
.card.dark p { color: rgba(255, 255, 255, .78); }
.card.dark::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(240, 220, 174, .7), rgba(240, 220, 174, 0) 40%, rgba(240, 220, 174, 0) 70%, rgba(240, 220, 174, .45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 1; translate: none; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; padding: 15px 24px; border-radius: 999px; transition: transform .25s, box-shadow .25s; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); }
.btn span { transition: transform .25s; }
.btn:hover { transform: translateY(-2px); } .btn:hover span { transform: translateX(4px); }
.btn.soon { background: rgba(0, 0, 0, .06); color: var(--muted); box-shadow: none; cursor: default; font-weight: 500; }
.card.dark .btn.soon { background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); }

/* signature */
.signature-intro { justify-content: center; text-align: center; color: #fff; min-height: 140vh; }
.sig-in { max-width: 900px; }
.big { font-size: clamp(40px, 6.6vw, 100px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 18px 0 24px; }
.signature-intro .big { background: linear-gradient(180deg, #fff 30%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signature-intro .lead { color: rgba(255, 255, 255, .8); }

/* alle configurators */
.grid-sec { justify-content: center; color: #fff; min-height: 130vh; }
.grid-in { width: min(1120px, 100%); text-align: center; }
.grid-in .eyebrow { color: rgba(255, 255, 255, .75); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; text-align: left; }
.tile { display: grid; gap: 6px; padding: 24px 22px 22px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); text-decoration: none; color: #fff; transition: transform .3s, background .3s, border-color .3s;
  opacity: 0; translate: 0 26px; }
.grid-in.in .tile { opacity: 1; translate: 0 0; transition: opacity .8s ease, translate 1s cubic-bezier(.2, .8, .1, 1), transform .3s, background .3s, border-color .3s; }
.grid-in.in .tile:nth-child(2) { transition-delay: .06s; } .grid-in.in .tile:nth-child(3) { transition-delay: .12s; } .grid-in.in .tile:nth-child(4) { transition-delay: .18s; } .grid-in.in .tile:nth-child(5) { transition-delay: .24s; } .grid-in.in .tile:nth-child(6) { transition-delay: .3s; }
.tile svg { width: 64px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; opacity: .9; }
.tile b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.tile small { font-size: 13px; color: rgba(255, 255, 255, .6); }
.tile.live { background: #fff; color: var(--ink); border-color: #fff; }
.tile.live small { color: var(--ink); font-weight: 600; }
.tile.live:hover { transform: translateY(-4px); }
.tile.sig { border-color: rgba(210, 180, 122, .35); }
.tile.sig.live { background: rgba(210, 180, 122, .16); color: #fff; } .tile.sig.live small { color: var(--gold-2); } .tile.live:hover { transform: translateY(-4px); } .tile.sig svg { color: var(--gold); } .tile.sig small { color: rgba(240, 220, 174, .75); }

.tile { font: inherit; text-align: left; cursor: pointer; }
.tile.wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; background: linear-gradient(110deg, rgba(255, 214, 160, .2), rgba(255, 255, 255, .06)); border-color: rgba(255, 214, 160, .45); }
.tile.wide svg { margin: 0; color: #ffd6a0; } .tile.wide span { display: grid; gap: 4px; } .tile.wide small { color: #ffd6a0; font-weight: 600; }
.tile.wide:hover { transform: translateY(-3px); }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.card.dark .btn:not(.soon) { background: #fff; color: var(--ink); }

/* offerte schutting */
.quote { border: 0; padding: 0; border-radius: 24px; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); box-shadow: 0 40px 120px rgba(0, 0, 0, .45); color: var(--ink); }
.quote::backdrop { background: rgba(8, 9, 10, .55); backdrop-filter: blur(6px); }
.quote[open] { animation: pop .45s cubic-bezier(.2, .8, .1, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.qform, .qdone { padding: 30px 30px 26px; display: grid; gap: 14px; position: relative; }
.quote h2 { margin: 4px 0 0; font-size: 28px; letter-spacing: -.03em; font-weight: 600; }
.qlead { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.qclose { position: absolute; right: 16px; top: 16px; border: 0; background: #f1efea; width: 38px; height: 38px; border-radius: 50%; font-size: 15px; cursor: pointer; }
.qform label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.qform input:not([type=radio]):not([type=checkbox]), .qform textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #dcd8d0; border-radius: 10px; background: #fff; width: 100%; }
.qform input:focus, .qform textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: transparent; }
.qgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.chip input, .tog input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid #dcd8d0; border-radius: 999px; font-size: 14px; cursor: pointer; }
.chip i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.chip input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:focus-visible + span, .tog input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.tog { display: block !important; }
.tog span { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid #dcd8d0; border-radius: 10px; font-size: 14px; cursor: pointer; }
.tog span::before { content: ""; width: 34px; height: 20px; border-radius: 999px; background: #d9d5cd; flex: none; transition: .2s; box-shadow: inset 0 0 0 2px #d9d5cd; background-image: radial-gradient(circle at 10px 10px, #fff 7px, transparent 7.5px); }
.tog input:checked + span::before { background-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); background-image: radial-gradient(circle at 24px 10px, #fff 7px, transparent 7.5px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qerr { color: #a3261b; font-size: 13px; min-height: 0; }
.btn.block { width: 100%; justify-content: center; }
.qdone { text-align: center; justify-items: center; padding: 44px 30px; }
.qdone .tick { width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 26px; }

/* voet */
.foot { position: relative; z-index: 2; background: var(--cream); padding: 56px 6vw 64px; display: grid; justify-items: center; gap: 10px; text-align: center; color: #3b3935; font-size: 14px; }
.foot img { height: 30px; width: auto; margin-bottom: 8px; }
.foot p { margin: 0; } .foot a { text-decoration: none; font-weight: 500; }
.foot .small { font-size: 12.5px; color: var(--muted); }

/* ---------- telefoon ---------- */
@media (max-width: 760px) {
  .nav { top: 12px; left: 12px; right: 12px; }
  .brand { padding: 8px 10px; } .brand img { height: 20px; }
  .nav-links a:not(.pill) { display: none; }
  .nav-links a.pill { padding: 10px 14px; font-size: 13px; }
  .rail { right: 10px; gap: 12px; } .rail a span { display: none; }
  .sec { padding: 0 16px; min-height: 140vh; align-items: flex-end; }
  main .sec > * { top: auto; bottom: 18px; transform: none; }
  main .sec > .cue { bottom: 3vh; transform: translateX(-50%); }
  .hero, .signature-intro, .grid-sec { align-items: center; }
  main .hero > .hero-in, main .signature-intro > .sig-in { top: 50%; bottom: auto; transform: translateY(-50%); }
  .hero h1 { margin: 14px 0 18px; }
  .stats { margin-top: 26px; }
  .card { width: 100%; padding: 22px 22px 20px; border-radius: 22px; margin: 0 0 env(safe-area-inset-bottom); }
  .card .num { font-size: 56px; right: 18px; top: 10px; }
  .card h2 { font-size: 26px; margin: 8px 0 10px; }
  .card p { font-size: 14.5px; margin-bottom: 12px; }
  .card ul { margin-bottom: 16px; gap: 6px; } .card li { font-size: 13.5px; }
  .card.right { margin-left: 0; }
  .btn { padding: 13px 20px; font-size: 14.5px; }
  .grid-sec { min-height: auto; padding-top: 18vh; padding-bottom: 12vh; }
  main .grid-sec > .grid-in { position: relative; top: auto; bottom: auto; transform: none; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qform { padding: 24px 18px 20px; } .qgrid { grid-template-columns: 1fr; gap: 10px; }
  .tile { padding: 18px 16px; } .tile b { font-size: 15.5px; } .tile svg { width: 52px; height: 32px; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .split .w > span, .card > *, .tile { transform: none !important; translate: none !important; opacity: 1 !important; }
  .card { translate: none !important; opacity: 1 !important; }   /* transform blijft: daarmee staat de kaart verticaal in het midden */
}
