/* Getikt! landingspagina. Kleuren en type volgen src/theme/tokens.ts van de app. */
:root {
  --green: #22C55E;
  --green-soft: #DCFCE7;
  --orange: #F97316;
  --orange-soft: #FFEDD5;
  --ink: #0F172A;
  --muted: #64748B;
  --line: #E2E8F0;
  --surface: #F8FAFC;
  --red: #EF4444;
  --white: #FFFFFF;
  --hdr: 60px;
  --gutter: 16px;
  --font: 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 900; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.top::after { /* scrollvoortgang */
  content: ''; position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--green), var(--orange));
  transform-origin: left; transform: scaleX(var(--progress, 0));
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.3rem; }
.brand img { border-radius: 9px; }
.top-nav { display: none; gap: 24px; margin-left: auto; }
.top-nav a { text-decoration: none; font-weight: 800; }
.top-nav a:hover { color: var(--orange); }
.lang { margin-left: auto; display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  font: 800 .85rem/1 var(--font); border: 0; background: none; color: var(--muted);
  padding: 8px 12px; border-radius: 999px; cursor: pointer; min-width: 44px; min-height: 36px;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:focus-visible, .top-nav a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- Story ---------- */
.story { position: relative; overflow-x: clip; background: var(--white); transition: background-color .6s ease, color .6s ease; }
.story.is-dark { background: var(--ink); color: #fff; }
.story.is-dark .phone-main { box-shadow: inset 0 0 0 1.5px #4a5162, inset 0 0 0 4px #0b0d12, 0 0 0 1px rgba(255, 255, 255, .14), 0 0 90px -10px rgba(249, 115, 22, .45); }

.step { position: relative; }
.step .copy { max-width: 34rem; }
.kicker { display: flex; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.story.is-dark .kicker { color: #94A3B8; }
.kicker .num {
  display: inline-grid; place-items: center; min-width: 2.3em; height: 2.3em; border-radius: 999px;
  background: var(--green); color: var(--ink); font-weight: 900; letter-spacing: 0;
}
.step:nth-of-type(odd) .kicker .num { background: var(--orange); }
.step h2 { font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: -.02em; margin-bottom: 14px; }
.step h2.big { font-size: clamp(2.6rem, 8vw, 5.4rem); }
.copy h2.big { color: var(--orange); }
.step p { font-size: clamp(1rem, 1.6vw, 1.2rem); color: inherit; opacity: .86; }
.copy strong { color: var(--green); font-weight: 900; }

/* Hero */
.step-hero {
  min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--hdr) + 28px) var(--gutter) 48px;
}
.hero-icon {
  width: 92px; height: 92px; border-radius: 22%; margin-bottom: 20px;
  box-shadow: 0 18px 40px -12px rgba(34, 197, 94, .7), 0 0 0 1px rgba(15, 23, 42, .06);
  transform: rotate(-6deg); animation: wobble 4s ease-in-out infinite;
}
.eyebrow { margin-bottom: 14px; }
.pill { display: inline-block; font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; padding: 6px 12px; border-radius: 999px; }
.pill-green { background: var(--green-soft); color: #15803D; }
.hero-title { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.hero-word { font-size: clamp(4rem, 19vw, 8.6rem); line-height: .9; letter-spacing: -.04em; }
.hero-sub {
  font-size: clamp(1.45rem, 5vw, 2.3rem); font-weight: 900; line-height: 1.1;
  background: linear-gradient(transparent 62%, var(--green-soft) 62%); width: fit-content;
}
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 32rem; color: #334155; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px;
  border-radius: 14px; background: var(--ink); color: #fff; cursor: default; user-select: none;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, .6);
}
.store-btn svg { width: 28px; height: 28px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: .72rem; font-weight: 700; opacity: .8; }
.store-btn b { font-size: 1.25rem; font-weight: 900; }
.store-btn.light { background: var(--ink); }
.cta-note { font-size: .9rem; color: var(--muted); font-weight: 700; }
.scroll-hint { display: inline-flex; gap: 8px; margin-top: 36px; font-weight: 800; text-decoration: none; color: var(--muted); }
.scroll-hint span:last-child { animation: nudge 1.6s ease-in-out infinite; }

.hero-blobs span { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .45; z-index: -1; }
.hero-blobs span:nth-child(1) { width: 320px; height: 320px; background: var(--green); right: -120px; top: 12%; animation: float 9s ease-in-out infinite; }
.hero-blobs span:nth-child(2) { width: 220px; height: 220px; background: var(--orange); left: -100px; bottom: 6%; animation: float 11s ease-in-out infinite reverse; }
.hero-blobs span:nth-child(3) { width: 140px; height: 140px; background: var(--green); left: 40%; bottom: -60px; opacity: .25; }
.step-hero { isolation: isolate; }

/* Sticky podium */
.stage-col {
  position: sticky; top: var(--hdr); z-index: 2;
  height: calc(100svh - var(--hdr));
}
.stage { position: relative; height: 100%; display: flex; flex-direction: column; padding: 10px var(--gutter) 14px; gap: 10px; }
.phone-area { position: relative; flex: 1; min-height: 0; container-type: size; display: grid; place-items: center; }
.caption { flex: 0 0 auto; height: 33%; overflow: hidden; }
.caption .copy { animation: capIn .45s ease both; }
.caption h2 { font-size: clamp(1.5rem, 7vw, 2.1rem); margin-bottom: 8px; }
.caption h2.big { font-size: clamp(2rem, 10vw, 2.8rem); }
.caption p { font-size: clamp(.95rem, 4vw, 1.05rem); line-height: 1.45; }
.caption .kicker { margin-bottom: 8px; font-size: .78rem; }

/* Op mobiel zijn de stappen onzichtbare scroll-ankers; de tekst staat in .caption. */
.step:not(.step-hero) { height: 85svh; opacity: 0; pointer-events: none; }
.stage-col + .step { margin-top: calc(var(--hdr) - 100svh); }
.step:last-of-type { height: 100svh; }

.dots { display: none; }

/* ---------- iPhone ---------- */
.phone {
  --ph: min(100cqh, calc(100cqw * 2.164));
  position: relative; height: var(--ph); aspect-ratio: 390 / 844;
  padding: 3.4%; border-radius: 15% / 7%;
  background: linear-gradient(145deg, #2b303b, #0b0d12 40%, #1a1d24);
  box-shadow:
    inset 0 0 0 1.5px #4a5162,
    inset 0 0 0 4px #0b0d12,
    0 40px 70px -24px rgba(15, 23, 42, .55),
    0 12px 24px -12px rgba(15, 23, 42, .4);
}
.phone::before, .phone::after { content: ''; position: absolute; width: 1.2%; border-radius: 2px; background: #2b303b; }
.phone::before { right: -1%; top: 24%; height: 12%; }
.phone::after { left: -1%; top: 19%; height: 7%; box-shadow: 0 calc(var(--ph) * .1) 0 #2b303b; }
.screen {
  --pt: calc(100cqw / 390);
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: 12.5% / 5.8%; background: #fff; container-type: inline-size;
  font-family: var(--font); color: var(--ink); line-height: 1.3;
  transform: translateZ(0);
}
.island {
  position: absolute; z-index: 30; top: calc(11 * var(--pt)); left: 50%; transform: translateX(-50%);
  width: calc(122 * var(--pt)); height: calc(36 * var(--pt)); border-radius: calc(20 * var(--pt)); background: #000;
}
.sbar {
  position: absolute; z-index: 25; inset: 0 0 auto 0; height: calc(54 * var(--pt));
  display: flex; align-items: center; justify-content: space-between; padding: calc(4 * var(--pt)) calc(34 * var(--pt)) 0;
  font-weight: 800; font-size: calc(16 * var(--pt)); color: var(--ink); transition: color .3s;
}
.story[data-step="3"] .sbar, .story[data-step="4"] .sbar { color: #fff; }
.sb-icons { display: inline-flex; align-items: center; gap: calc(6 * var(--pt)); }
.sb-icons i { display: block; background: currentColor; }
.sig { width: calc(17 * var(--pt)); height: calc(11 * var(--pt)); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.wifi { width: calc(15 * var(--pt)); height: calc(11 * var(--pt)); clip-path: polygon(0 0, 100% 0, 50% 100%); border-radius: 50% 50% 0 0; }
.bat { width: calc(25 * var(--pt)); height: calc(12 * var(--pt)); border-radius: calc(4 * var(--pt)); }

/* App-typografie (pt = 1/390 van de schermbreedte) */
.a-hero { font-weight: 900; font-size: calc(44 * var(--pt)); line-height: 1.09; }
.a-h1 { font-weight: 900; font-size: calc(32 * var(--pt)); line-height: 1.19; }
.a-h2 { font-weight: 800; font-size: calc(22 * var(--pt)); line-height: 1.27; }
.a-body { font-weight: 600; font-size: calc(17 * var(--pt)); line-height: 1.41; }
.a-small { font-weight: 600; font-size: calc(14 * var(--pt)); line-height: 1.43; color: var(--muted); }
.a-label { font-weight: 800; font-size: calc(13 * var(--pt)); letter-spacing: calc(.8 * var(--pt)); text-transform: uppercase; color: var(--muted); }
.a-clock { font-weight: 900; font-size: calc(40 * var(--pt)); font-variant-numeric: tabular-nums; line-height: 1.1; }
.a-clock.sm { font-size: calc(28 * var(--pt)); }
.a-clock.orange { color: var(--orange); }
.a-clock.green { color: var(--green); }
.a-link { font-weight: 800; font-size: calc(17 * var(--pt)); text-decoration: underline; }
.muted { color: var(--muted); }
.light { color: #fff; text-align: center; }

.a-btn {
  display: grid; place-items: center; min-height: calc(60 * var(--pt)); padding: 0 calc(24 * var(--pt));
  border-radius: calc(16 * var(--pt)); border: calc(2 * var(--pt)) solid var(--bg, var(--ink));
  background: var(--bg, var(--ink)); color: var(--fg, #fff); font-weight: 900; font-size: calc(20 * var(--pt));
}
.a-btn.hunter { --bg: var(--orange); --fg: var(--ink); }
.a-btn.runner { --bg: var(--green); --fg: var(--ink); }
.a-btn.dark { --bg: var(--ink); --fg: #fff; }
.a-btn.ghost { --bg: #fff; --fg: var(--ink); border-color: var(--line); }
.a-btn.small { min-height: calc(44 * var(--pt)); border-radius: calc(10 * var(--pt)); font-size: calc(16 * var(--pt)); font-weight: 800; padding: 0 calc(16 * var(--pt)); }
.a-btn.tiny { min-height: calc(40 * var(--pt)); border-radius: calc(10 * var(--pt)); font-size: calc(15 * var(--pt)); font-weight: 800; padding: 0 calc(14 * var(--pt)); }
.a-chip {
  padding: calc(10 * var(--pt)) calc(16 * var(--pt)); border-radius: 999px; border: calc(2 * var(--pt)) solid var(--line);
  font-weight: 800; font-size: calc(15 * var(--pt)); background: #fff;
}
.a-chip.on-runner { background: var(--green); border-color: var(--green); }
.a-card { background: var(--surface); border: calc(1 * var(--pt)) solid var(--line); border-radius: calc(16 * var(--pt)); padding: calc(16 * var(--pt)); }
.a-card.white { background: #fff; border-color: #fff; display: flex; flex-direction: column; gap: calc(2 * var(--pt)); }
.dot { display: inline-block; flex: none; width: calc(12 * var(--pt)); height: calc(12 * var(--pt)); border-radius: 50%; background: var(--c); }

/* Schermwissel */
.scr {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(3%) scale(.97);
  transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s;
}
.scr.on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* 0 · Home */
.s-home { display: flex; flex-direction: column; padding-top: calc(54 * var(--pt)); }
.home-top { text-align: right; padding: calc(8 * var(--pt)) calc(24 * var(--pt)); }
.home-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(8 * var(--pt)); }
.logo-dots { display: flex; margin-bottom: calc(16 * var(--pt)); }
.logo-dots i { width: calc(56 * var(--pt)); height: calc(56 * var(--pt)); border-radius: 50%; border: calc(4 * var(--pt)) solid #fff; }
.logo-dots .g { background: var(--green); }
.logo-dots .o { background: var(--orange); margin-left: calc(-18 * var(--pt)); }
.s-home.on .logo-dots .o { animation: tagDot 2.4s ease-in-out infinite; }
.home-actions { padding: calc(24 * var(--pt)) calc(24 * var(--pt)) calc(30 * var(--pt)); display: flex; flex-direction: column; gap: calc(16 * var(--pt)); }
.home-links { text-align: center; padding: calc(8 * var(--pt)) 0; }

/* Kaart */
.map { position: absolute; inset: 0; background: #F2EFE9; overflow: hidden; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zone {
  position: absolute; left: var(--x); top: var(--y); width: var(--d); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: calc(3 * var(--pt)) solid var(--orange); background: rgba(249, 115, 22, .1);
}
.scr.on .zone { animation: zoneIn .9s cubic-bezier(.2, 1.3, .4, 1) both; }
.me-dot, .hunter-dot {
  position: absolute; left: var(--x); top: var(--y); translate: -50% -50%;
  width: calc(20 * var(--pt)); height: calc(20 * var(--pt)); border-radius: 50%;
  background: #0A84FF; border: calc(3 * var(--pt)) solid #fff; box-shadow: 0 0 0 calc(10 * var(--pt)) rgba(10, 132, 255, .18);
}
.me-dot.green { background: var(--green); box-shadow: 0 0 0 calc(10 * var(--pt)) rgba(34, 197, 94, .22); }
.me-dot.out { background: var(--green); box-shadow: 0 0 0 calc(4 * var(--pt)) var(--red); animation: outPulse 1s ease-in-out infinite; }
.hunter-dot { width: calc(18 * var(--pt)); height: calc(18 * var(--pt)); background: var(--orange); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.ping { position: absolute; left: var(--x); top: var(--y); translate: -50% calc(-11 * var(--pt)); display: flex; flex-direction: column; align-items: center; }
.ping i {
  position: relative; width: calc(22 * var(--pt)); height: calc(22 * var(--pt)); border-radius: 50%;
  background: var(--green); border: calc(3 * var(--pt)) solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}
.ping i::after { content: ''; position: absolute; inset: calc(-3 * var(--pt)); border-radius: 50%; border: calc(3 * var(--pt)) solid var(--green); opacity: 0; }
.scr.on .ping i::after { animation: ring 2.2s ease-out infinite; }
.scr.on .ping:nth-of-type(2) i::after { animation-delay: .3s; }
.scr.on .ping:nth-of-type(3) i::after { animation-delay: .6s; }
.ping span { margin-top: calc(2 * var(--pt)); background: var(--ink); color: #fff; border-radius: calc(6 * var(--pt)); padding: 0 calc(6 * var(--pt)); font-weight: 800; font-size: calc(12 * var(--pt)); line-height: 1.4; }
.scr.on .ping { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
.scr.on .ping:nth-of-type(2) { animation-delay: .12s; }
.scr.on .ping:nth-of-type(3) { animation-delay: .24s; }
.range {
  position: absolute; left: var(--x); top: var(--y); width: 40%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; border: calc(2.5 * var(--pt)) dashed var(--ink); background: rgba(34, 197, 94, .14);
}
.range span { position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%); background: var(--ink); color: #fff; font-weight: 900; font-size: calc(13 * var(--pt)); padding: 0 calc(8 * var(--pt)); border-radius: calc(6 * var(--pt)); white-space: nowrap; }
.scr.on .range { animation: zoneIn .9s cubic-bezier(.2, 1.3, .4, 1) both; }

.sheet {
  position: absolute; inset: auto 0 0 0; background: #fff; display: flex; flex-direction: column; gap: calc(12 * var(--pt));
  padding: calc(24 * var(--pt)) calc(24 * var(--pt)) calc(34 * var(--pt));
  border-radius: calc(24 * var(--pt)) calc(24 * var(--pt)) 0 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
}
.scr.on .sheet { animation: sheetUp .6s cubic-bezier(.2, .9, .3, 1) both .1s; }
.map-title {
  position: absolute; top: calc(60 * var(--pt)); left: calc(16 * var(--pt)); right: calc(16 * var(--pt));
  background: #fff; border-radius: calc(16 * var(--pt)); padding: calc(10 * var(--pt)) calc(16 * var(--pt));
  display: flex; align-items: baseline; justify-content: space-between; box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
}
.s-create .map { bottom: 36%; }
.code-row { display: flex; align-items: center; gap: calc(16 * var(--pt)); }
.code-col { flex: 1; display: flex; flex-direction: column; gap: calc(8 * var(--pt)); min-width: 0; }
.code { letter-spacing: calc(2 * var(--pt)); white-space: nowrap; }
.s-create .code { font-size: calc(38 * var(--pt)); }
.qr { flex: none; padding: calc(8 * var(--pt)); border: calc(1 * var(--pt)) solid var(--line); border-radius: calc(12 * var(--pt)); background: #fff; }
.qr-svg { display: block; width: calc(104 * var(--pt)); height: calc(104 * var(--pt)); }

/* 2 · Lobby */
.s-lobby .pad { padding: calc(64 * var(--pt)) calc(24 * var(--pt)) 0; display: flex; flex-direction: column; gap: calc(8 * var(--pt)); }
.mt { margin-top: calc(10 * var(--pt)); }
.chips { display: flex; gap: calc(8 * var(--pt)); }
.players { display: flex; flex-direction: column; gap: calc(6 * var(--pt)); }
.pl { display: flex; align-items: center; gap: calc(8 * var(--pt)); min-height: calc(32 * var(--pt)); }
.pl b { flex: 1; font-weight: 700; font-size: calc(17 * var(--pt)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr.on .pl { animation: slideIn .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.scr.on .pl:nth-child(2) { animation-delay: .15s; }
.scr.on .pl:nth-child(3) { animation-delay: .3s; }
.scr.on .pl:nth-child(4) { animation-delay: .45s; }
.scr.on .pl:nth-child(5) { animation-delay: .6s; }
.scr.on .pl:nth-child(6) { animation-delay: .75s; }
.foot { position: absolute; inset: auto 0 0 0; padding: calc(16 * var(--pt)) calc(24 * var(--pt)) calc(34 * var(--pt)); border-top: calc(1 * var(--pt)) solid var(--line); background: #fff; }

/* 3 · Countdown */
.s-count {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(8 * var(--pt));
  background: var(--cbg, var(--ink)); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .6s, background-color .12s;
}
.q { font-weight: 900; font-size: calc(250 * var(--pt)); line-height: 1; color: #fff; }
.q.beat { animation: beat .45s cubic-bezier(.2, .8, .3, 1); }
.num { font-weight: 900; font-size: calc(72 * var(--pt)); line-height: 1; }

/* 4 · Onthulling */
.face { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: calc(16 * var(--pt)); padding: calc(24 * var(--pt)); text-align: center; }
.face-q { background: var(--ink); }
.face-role { background: var(--orange); opacity: 0; transform: scale(.6); }
.role-title { font-weight: 900; font-size: calc(62 * var(--pt)); line-height: 1.1; color: var(--ink); }
.is-flipped .face-role { opacity: 1; transform: none; transition: transform .55s cubic-bezier(.3, 1.7, .5, 1), opacity .12s; }

/* 5 · Spelen */
.topbar { position: absolute; top: calc(56 * var(--pt)); left: calc(16 * var(--pt)); right: calc(16 * var(--pt)); display: flex; align-items: center; gap: calc(8 * var(--pt)); }
.badge {
  display: flex; align-items: center; gap: calc(8 * var(--pt)); padding: calc(8 * var(--pt)) calc(16 * var(--pt));
  border-radius: 999px; border: calc(2 * var(--pt)) solid; font-size: calc(17 * var(--pt)); font-weight: 900;
}
.badge.hunter { background: var(--orange-soft); border-color: var(--orange); }
.badge.runner { background: var(--green-soft); border-color: var(--green); }
.timer { margin-left: auto; background: #fff; border-radius: calc(16 * var(--pt)); padding: calc(4 * var(--pt)) calc(16 * var(--pt)); display: flex; flex-direction: column; align-items: flex-end; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.ping-row { display: flex; align-items: flex-end; justify-content: space-between; }
.ping-row b { font-weight: 800; }
.r-row { display: flex; align-items: center; gap: calc(14 * var(--pt)); background: var(--surface); border-radius: calc(16 * var(--pt)); padding: calc(8 * var(--pt)) calc(8 * var(--pt)) calc(8 * var(--pt)) calc(16 * var(--pt)); }
.r-row div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.r-row b { font-weight: 700; font-size: calc(17 * var(--pt)); }

/* 6 · Tikken */
.overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.sheet.modal { gap: calc(14 * var(--pt)); padding-bottom: calc(44 * var(--pt)); }

/* 7 · Zone */
.banner {
  position: absolute; top: calc(118 * var(--pt)); left: calc(16 * var(--pt)); right: calc(16 * var(--pt));
  background: var(--red); color: #fff; border-radius: calc(16 * var(--pt)); padding: calc(16 * var(--pt));
  font-weight: 800; font-size: calc(17 * var(--pt)); text-align: center;
}
.scr.on .banner { animation: shake .6s ease both .3s; }
.red-frame { position: absolute; inset: 0; border: calc(8 * var(--pt)) solid var(--red); pointer-events: none; }
.scr.on .red-frame { animation: blink 1.2s ease-in-out infinite; }

/* 8 · Einde */
.s-end { background: var(--green); display: flex; flex-direction: column; padding-top: calc(54 * var(--pt)); }
.end-hero { flex: 1; display: flex; align-items: center; justify-content: center; padding: calc(24 * var(--pt)); text-align: center; }
.end-hero .a-hero { font-size: calc(52 * var(--pt)); }
.scr.on .end-hero .a-hero { animation: pop .7s cubic-bezier(.3, 1.6, .5, 1) both; }
.end-cards { padding: 0 calc(24 * var(--pt)); display: flex; flex-direction: column; gap: calc(14 * var(--pt)); }
.foot.clear { position: static; border: 0; background: none; display: flex; flex-direction: column; gap: calc(14 * var(--pt)); padding-top: calc(22 * var(--pt)); }

/* Waaier van telefoons (onthulling) */
.phone-main { z-index: 3; transition: transform .8s cubic-bezier(.2, .9, .25, 1.15); }
.fan {
  --pw: calc(min(100cqh, calc(100cqw * 2.164)) / 2.164);
  --spread: .5;
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  opacity: 0; transform: none;
  transition: transform .9s cubic-bezier(.2, .9, .25, 1.12), opacity .35s ease;
}
.fan .phone { --ph: calc(min(100cqh, calc(100cqw * 2.164)) * .74); }
.fan-1, .fan-4 { z-index: 1; }
.fan-2, .fan-3 { z-index: 2; }
.is-reveal .fan { opacity: 1; }
.is-reveal .fan-1 { transform: translate(calc(var(--pw) * var(--spread) * -1.75), 7%) rotate(-17deg); }
.is-reveal .fan-2 { transform: translate(calc(var(--pw) * var(--spread) * -.95), 2.5%) rotate(-8deg); transition-delay: .05s; }
.is-reveal .fan-3 { transform: translate(calc(var(--pw) * var(--spread) * .95), 2.5%) rotate(8deg); transition-delay: .05s; }
.is-reveal .fan-4 { transform: translate(calc(var(--pw) * var(--spread) * 1.75), 7%) rotate(17deg); }
.is-reveal .phone-main { transform: scale(.84); }
.mini-role { position: absolute; inset: 0; }
.mq, .mr { position: absolute; inset: 0; display: grid; place-items: center; }
.mq { background: var(--ink); color: #fff; font-weight: 900; font-size: calc(200 * var(--pt)); }
.mr { background: var(--green); opacity: 0; transform: scale(.6); }
.mr b { font-weight: 900; font-size: calc(88 * var(--pt)); color: var(--ink); line-height: 1; }
.is-flipped .mr { opacity: 1; transform: none; transition: transform .55s cubic-bezier(.3, 1.7, .5, 1), opacity .12s; }
.is-flipped .fan-1 .mr { transition-delay: .08s; }
.is-flipped .fan-2 .mr { transition-delay: .03s; }
.is-flipped .fan-3 .mr { transition-delay: .05s; }
.is-flipped .fan-4 .mr { transition-delay: .1s; }
.is-flipped .phone-main { animation: thump .5s ease both; }

/* ---------- Secties ---------- */
.block { padding: 88px var(--gutter); }
.wrap { max-width: 1120px; margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
.section-tag { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: #15803D; margin-bottom: 10px; }
.section-title { font-size: clamp(2.1rem, 7vw, 3.8rem); letter-spacing: -.02em; margin-bottom: 36px; max-width: 18ch; }

.how { background: var(--surface); }
.section-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #334155; max-width: 40rem; margin: -18px 0 32px; }

.occ-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.occ { position: relative; border-radius: 24px; padding: 24px; background: #fff; border: 2px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.occ:hover { transform: translateY(-4px) rotate(-.6deg); border-color: var(--ink); }
.occ.o-green { background: var(--green); border-color: var(--green); }
.occ.o-orange { background: var(--orange); border-color: var(--orange); }
.occ.o-green p, .occ.o-orange p { color: var(--ink); }
.occ-ico { display: block; font-size: 2.2rem; line-height: 1; margin-bottom: 14px; }
.occ h3 { font-size: 1.35rem; margin-bottom: 8px; }
.occ p { color: #475569; font-size: 1rem; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: how; }
.how-list li { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.how-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--green); font-weight: 900; font-size: 1.6rem; margin-bottom: 16px; }
.how-num.o { background: var(--orange); }
.how-list h3 { font-size: 1.45rem; margin-bottom: 8px; }
.how-list p { color: #475569; }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.feat { border-radius: 24px; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.feat.f-green { background: var(--green-soft); border-color: #BBF7D0; }
.feat.f-orange { background: var(--orange-soft); border-color: #FED7AA; }
.feat .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #fff; font-weight: 900; font-size: 1.35rem; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(15, 23, 42, .06); }
.feat h3 { font-size: 1.3rem; margin-bottom: 6px; }
.feat p { color: #475569; font-size: 1rem; }

.faq details { border-bottom: 2px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.3rem);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); font-size: 1.4rem; transition: transform .25s, background-color .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange-soft); }
.faq summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; border-radius: 8px; }
.faq details p { padding: 0 0 22px; color: #334155; max-width: 60ch; }

.cta-band { background: var(--green); padding: 88px var(--gutter); text-align: center; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; position: relative; }
.cta-band img { width: 96px; height: 96px; border-radius: 22%; box-shadow: 0 0 0 4px #fff, 0 18px 40px -12px rgba(15, 23, 42, .5); transform: rotate(6deg); }
.cta-band h2 { font-size: clamp(2.6rem, 10vw, 5.5rem); letter-spacing: -.03em; }
.cta-band p { font-size: 1.15rem; max-width: 30rem; }
.cta-band::before { content: "JIJ BENT 'M! RUN! JIJ BENT 'M! RUN! JIJ BENT 'M! RUN!"; position: absolute; left: -10%; top: 50%; transform: translateY(-50%) rotate(-8deg); white-space: nowrap; font-weight: 900; font-size: 9rem; color: rgba(255, 255, 255, .14); pointer-events: none; }

.foot-site { background: var(--ink); color: #CBD5E1; padding: 48px var(--gutter) 56px; }
.foot-site .wrap { display: flex; flex-direction: column; gap: 14px; }
.foot-site .brand { color: #fff; }
.foot-site nav { display: flex; gap: 22px; }
.foot-site nav a { font-weight: 800; color: #fff; }
.foot-site .small { font-size: .85rem; color: #94A3B8; }

/* ---------- Animaties ---------- */
@keyframes wobble { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg) translateY(-4px); } }
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes capIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes zoneIn { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes slideIn { from { transform: translateX(-30%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes beat { from { transform: scale(1.3); } to { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-4%); } 40%, 80% { transform: translateX(4%); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes outPulse { 0%, 100% { box-shadow: 0 0 0 calc(4 * var(--pt)) var(--red); } 50% { box-shadow: 0 0 0 calc(12 * var(--pt)) rgba(239, 68, 68, .25); } }
@keyframes tagDot { 0%, 60%, 100% { transform: none; } 70% { transform: translateX(-12%) scale(1.06); } 80% { transform: none; } }
@keyframes thump { 0% { transform: scale(.84); } 40% { transform: scale(.9); } 100% { transform: scale(.84); } }

/* ---------- Breder ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .occ-grid { grid-template-columns: repeat(2, 1fr); }
  .how-list { grid-template-columns: repeat(2, 1fr); }
  .block, .cta-band { padding-top: 112px; padding-bottom: 112px; }
}

@media (min-width: 960px) {
  :root { --hdr: 68px; }
  .top-nav { display: flex; }
  .lang { margin-left: 8px; }
  .story {
    display: grid;
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 560px) minmax(0, 600px) minmax(var(--gutter), 1fr);
    column-gap: 24px;
  }
  .step { grid-column: 2; }
  .step-hero { padding: var(--hdr) 0 0; overflow: visible; }
  .stage-col { grid-column: 3; grid-row: 1 / span 9; align-self: start; top: 0; height: 100vh; padding-top: var(--hdr); }
  .stage { padding: 28px 0 28px; }
  .caption { display: none; }
  .step:not(.step-hero) { height: auto; min-height: 100vh; opacity: 1; pointer-events: auto; display: flex; align-items: center; }
  .stage-col + .step { margin-top: 0; }
  .step:last-of-type { height: auto; }
  .step .copy { transition: opacity .5s ease, transform .5s ease; }
  .step:not(.step-hero):not(.is-active) .copy { opacity: .18; transform: translateX(-12px); }
  .hero-icon { width: 112px; height: 112px; }
  .fan { --spread: .64; }
  .step { z-index: 3; }
  .step-reveal .copy { max-width: 25rem; }
  .step-reveal h2.big { text-shadow: 0 4px 24px rgba(15, 23, 42, .6); }
  .dots { display: flex; flex-direction: column; gap: 10px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0; }
  .dots li { width: 8px; height: 8px; border-radius: 4px; background: var(--line); transition: height .3s, background-color .3s; }
  .dots li.on { height: 26px; background: var(--orange); }
  .story.is-dark .dots li:not(.on) { background: #334155; }
  .how-list { grid-template-columns: repeat(4, 1fr); }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .occ-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-blobs span:nth-child(1) { right: auto; left: 70%; width: 480px; height: 480px; }
}

/* ---------- Minder beweging ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
}

/* ---- Replay & meekijker (telefoonschermen 9 en 10) ---- */
.trails { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trail { fill: none; stroke-width: 1.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; }
.scr.on .trail { animation: trail-draw 3.2s ease-out forwards; }
.trail.green { stroke: var(--green); stroke-width: 4; }
.trail.green2 { stroke: #15803D; stroke-width: 4; animation-delay: .3s; }
.trail.orange { stroke: var(--orange); stroke-width: 4; animation-delay: .6s; }
@keyframes trail-draw { to { stroke-dashoffset: 0; } }
.ping.ghost i { opacity: .55; }
.tag-x {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff;
  border: 2px solid #fff; display: grid; place-items: center; font-weight: 900; font-size: 12px;
}
.live-dot { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; }
.live-dot i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 30%, transparent); }
.scr.on .live-dot i { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--c) 0%, transparent); } }
.live-dot span { margin-top: 2px; background: var(--ink); color: #fff; font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 5px; }
.badge.observer { background: var(--ink); color: #fff; border-color: var(--ink); }
.scrub { position: relative; height: 14px; border-radius: 7px; background: #F1F5F9; border: 1px solid #E2E8F0; overflow: hidden; margin-bottom: 6px; }
.scrub-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--green); }
.scr.on .scrub-fill { animation: scrub-run 3.2s ease-out forwards; }
@keyframes scrub-run { to { width: 62%; } }
.scrub-tag { position: absolute; top: 2px; bottom: 2px; left: 58%; width: 3px; border-radius: 2px; background: var(--orange); }
@media (prefers-reduced-motion: reduce) {
  .trail { stroke-dashoffset: 0; animation: none !important; }
  .scr.on .live-dot i, .scr.on .scrub-fill { animation: none !important; }
  .scrub-fill { width: 62%; }
}
