/* Het Willem II Vak: full-screen slides onder flutlicht. Willem II-kleuren, merkkleur van de klant als --brand. */
:root {
  --night: #0B0F24;
  --night-2: #141A36;
  --navy: #1C2348;
  --navy-2: #2E3766;
  --line: rgba(180, 184, 210, .16);
  --line-2: rgba(180, 184, 210, .28);
  --red: #BC1C19;
  --gold: #D29E27;
  --gold-2: #F0C35A;
  --chalk: #F5EEEE;
  --mist: #A9AECB;
  --paper: #F7F2F0;
  --paper-ink: #141A36;
  --paper-line: #E2D9D7;
  --brand: #BC1C19;
  --brand-ink: #F5EEEE;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'Barlow', Arial, sans-serif;
  --r: 22px;
  --r-s: 12px;
  --hud: 72px;
  --dock: 68px;
  --gut: clamp(16px, 3vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; overflow: hidden; background: var(--night); color: var(--chalk);
  font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .9; margin: 0; text-wrap: balance; letter-spacing: -.005em; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* ---------- sfeer ---------- */
.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.ambient .beam { position: absolute; top: -30vh; width: 70vw; height: 120vh; filter: blur(60px); opacity: .5; transform-origin: 50% 0; }
.ambient .b1 { left: -20vw; background: radial-gradient(closest-side, rgba(255, 246, 216, .14), transparent); animation: sway 18s ease-in-out infinite alternate; }
.ambient .b2 { right: -25vw; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 32%, transparent), transparent); animation: sway 22s ease-in-out -6s infinite alternate-reverse; transition: background .8s; }
.ambient .b3 { left: 30vw; top: -50vh; background: radial-gradient(closest-side, rgba(46, 55, 102, .55), transparent); animation: sway 26s ease-in-out -12s infinite alternate; }
.ambient .pitchglow { position: absolute; left: -10vw; right: -10vw; bottom: -40vh; height: 60vh; background: radial-gradient(50% 50% at 50% 50%, rgba(37, 105, 58, .22), transparent 70%); }
.ambient .grain { position: absolute; inset: -50%; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(4) infinite; }
@keyframes sway { from { transform: rotate(-8deg) translateX(-4vw); } to { transform: rotate(10deg) translateX(4vw); } }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }

/* ---------- HUD ---------- */
.hud {
  position: fixed; inset: 0 0 auto; height: var(--hud); z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: env(safe-area-inset-top, 0) var(--gut) 0; background: linear-gradient(to bottom, rgba(11, 15, 36, .9), rgba(11, 15, 36, 0));
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.crest { width: 30px; height: 34px; border-radius: 4px 4px 15px 15px; overflow: hidden; display: flex; flex: none; box-shadow: 0 0 0 1px var(--line-2), 0 6px 20px rgba(188, 28, 25, .35); }
.crest i { flex: 1; } .crest i:nth-child(1) { background: var(--red); } .crest i:nth-child(2) { background: var(--chalk); } .crest i:nth-child(3) { background: var(--navy-2); }
.brand-tx { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-tx b { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.brand-tx small { color: var(--mist); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.steps { justify-self: center; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(28, 35, 72, .55); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.steps button { position: relative; border: 0; background: none; padding: 7px 12px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); white-space: nowrap; transition: color .3s; }
.steps button span { position: relative; z-index: 1; }
.steps button[aria-current="step"] { color: var(--night); }
.steps .pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--chalk); transition: transform .6s var(--ease), width .6s var(--ease); box-shadow: 0 4px 20px rgba(245, 238, 238, .25); }
.steps button.done::after { content: ""; position: absolute; right: 6px; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hud-right { display: flex; align-items: center; gap: 10px; position: relative; }
.total {
  display: grid; grid-template-columns: auto auto; grid-template-areas: "lbl amt" "sub amt"; align-items: center; column-gap: 14px; text-align: left;
  padding: 7px 8px 7px 16px; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent);
  background: linear-gradient(135deg, rgba(210, 158, 39, .16), rgba(28, 35, 72, .6)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); transition: transform .3s var(--ease), box-shadow .3s;
}
.total:hover { transform: translateY(-1px); }
.total-lbl { grid-area: lbl; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.total small { grid-area: sub; font-size: 12px; color: var(--mist); font-variant-numeric: tabular-nums; white-space: nowrap; }
.total-amt { grid-area: amt; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; padding: 6px 12px; border-radius: 11px; background: var(--gold); color: #1B1606; font-variant-numeric: tabular-nums; min-width: 6.4ch; text-align: right; }
.total.bump { animation: bump .6s var(--ease); }
.total.bump .total-amt { animation: glow .9s ease-out; }
@keyframes bump { 30% { transform: scale(1.05); } }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(240, 195, 90, .8); } 100% { box-shadow: 0 0 0 16px rgba(240, 195, 90, 0); } }
.total-pop {
  position: absolute; right: 52px; top: calc(100% + 10px); width: 340px; padding: 16px; border-radius: 16px; background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.total-pop.open { opacity: 1; transform: none; pointer-events: auto; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: rgba(28, 35, 72, .55); display: grid; place-items: center; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s, transform .3s var(--ease); }
.icon-btn:hover { background: var(--navy-2); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.on { border-color: var(--gold); color: var(--gold); }

/* ---------- deck & slides ---------- */
.deck { position: fixed; inset: 0; z-index: 1; perspective: 2200px; perspective-origin: 50% 40%; overflow: hidden; touch-action: pan-y; }
.slide {
  position: absolute; inset: 0; padding: calc(var(--hud) + env(safe-area-inset-top, 0px) + 8px) var(--gut) calc(var(--dock) + 16px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--navy-2) transparent;
  --d: 0; --ad: 0;
  transform: translate3d(calc(var(--d) * 100%), 0, calc(var(--ad) * -340px)) rotateY(calc(var(--d) * -24deg)) scale(calc(1 - var(--ad) * .06));
  opacity: calc(1 - var(--ad) * .75); filter: blur(calc(var(--ad) * 3px));
  transition: transform 1s var(--ease-io), opacity .9s var(--ease-io), filter .9s var(--ease-io);
  transform-origin: calc(50% - var(--d) * 50%) 50%; will-change: transform; visibility: hidden;
  --fade-top: calc(var(--hud) + env(safe-area-inset-top, 0px));
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--fade-top) - 18px), #000 calc(var(--fade-top) + 6px), #000 calc(100% - var(--dock) - 10px), transparent calc(100% - var(--dock) + 14px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--fade-top) - 18px), #000 calc(var(--fade-top) + 6px), #000 calc(100% - var(--dock) - 10px), transparent calc(100% - var(--dock) + 14px));
}
.slide.near { visibility: visible; }
.slide.is-active { visibility: visible; z-index: 2; }
.slide:not(.is-active) { pointer-events: none; }
.slide-in { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); min-height: 100%; justify-content: center; }

.slide [data-in] { opacity: 0; transform: translateY(28px) rotateX(8deg); transform-origin: 50% 100%; }
.slide.is-active [data-in] { animation: rise .9s var(--ease) both; animation-delay: calc(240ms + var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(28px) rotateX(8deg); } to { opacity: 1; transform: none; } }

.eyebrow { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.eyebrow.red { color: var(--red); }
.lede { color: var(--mist); font-size: clamp(16px, 1.3vw, 19px); max-width: 64ch; }
.sec-head { display: flex; flex-direction: column; gap: 10px; }
.sec-head h2 { font-size: clamp(40px, 5.4vw, 80px); }
.note { font-size: 14px; color: var(--mist); }
.fine { font-size: 13px; color: #5A6080; }
.lbl { font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--mist); }

/* ---------- bento & cards ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.card {
  position: relative; border-radius: var(--r); padding: clamp(18px, 2vw, 28px); min-width: 0;
  background: linear-gradient(160deg, rgba(46, 55, 102, .55), rgba(20, 26, 54, .72)); border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 24px 60px -20px rgba(0, 0, 0, .55);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card.light { background: var(--paper); color: var(--paper-ink); border-color: transparent; }
.card.light .note { color: #4A5070; }
.tilt { transform-style: preserve-3d; transition: transform .5s var(--ease); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 12px 20px;
  background: var(--chalk); color: var(--night); font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1B1606; }
.btn.brand { background: var(--brand); color: var(--brand-ink); }
.btn.ghost { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1px var(--line-2); }
.card.light .btn.ghost { color: var(--paper-ink); box-shadow: inset 0 0 0 1px #C9BFBF; }
.btn.small { padding: 7px 12px; font-size: 14px; border-radius: 10px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link { background: none; border: 0; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; padding: 0; font-size: 14px; }

.inp { width: 100%; background: rgba(11, 15, 36, .6); border: 1px solid var(--line-2); border-radius: 12px; color: var(--chalk); padding: 10px 14px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
.inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(210, 158, 39, .18); }
.inp.big { font-size: 24px; font-family: var(--display); font-weight: 800; letter-spacing: .02em; padding: 10px 16px; }
.card.light .inp { background: #fff; color: var(--paper-ink); border-color: #D6CCCC; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line-2); background: transparent; border-radius: 999px; padding: 7px 14px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); transition: all .25s var(--ease); }
.chip:hover { color: var(--chalk); border-color: var(--chalk); }
.chip[aria-pressed="true"] { background: var(--chalk); color: var(--night); border-color: var(--chalk); box-shadow: 0 6px 20px rgba(245, 238, 238, .2); }

.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(11, 15, 36, .6); border: 1px solid var(--line); position: relative; }
.seg button { position: relative; z-index: 1; border: 0; background: none; border-radius: 10px; padding: 8px 16px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--mist); transition: color .3s; }
.seg button[aria-checked="true"] { color: var(--night); background: var(--chalk); }
.seg.big { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.seg.big button { padding: 14px 16px; font-size: 21px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.seg.big button small { font-family: var(--body); font-weight: 600; letter-spacing: 0; text-transform: none; font-size: 14px; opacity: .8; font-variant-numeric: tabular-nums; }
.seg.big button[aria-checked="true"] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1B1606; box-shadow: 0 10px 30px rgba(210, 158, 39, .3); }
.card.light .seg { background: #EAE3E1; border-color: transparent; }
.card.light .seg button { color: #4A5070; }

.switch { position: relative; width: 50px; height: 28px; border-radius: 999px; background: rgba(180, 184, 210, .25); border: 0; flex: none; transition: background .25s; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--chalk); transition: transform .35s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.switch[aria-checked="true"] { background: var(--gold); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }

.tag { font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 15, 36, .6); color: var(--mist); white-space: nowrap; }
.tag.zicht { background: var(--brand); color: var(--brand-ink); }
.tag.extra { background: transparent; border: 1px dashed var(--gold); color: var(--gold); }
.tag.gekozen { background: var(--gold); color: #1B1606; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- 1 · intro ---------- */
.b-intro { grid-template-areas: "hero hero hero hero hero stand stand stand stand stand stand stand" "naam naam naam kleur kleur kleur kleur doel doel doel doel doel"; }
.b-intro > :nth-child(1) { grid-area: hero; }
.b-intro > :nth-child(2) { grid-area: stand; }
.b-intro > :nth-child(3) { grid-area: naam; }
.b-intro > :nth-child(4) { grid-area: kleur; }
.b-intro > :nth-child(5) { grid-area: doel; }
.hero { display: flex; flex-direction: column; justify-content: center; gap: 20px; background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%), linear-gradient(160deg, rgba(46, 55, 102, .5), rgba(20, 26, 54, .7)); transition: background .6s; }
.hero { container-type: inline-size; }
.hero h1 { font-size: clamp(40px, calc(92cqi / (var(--nl, 10) * .5)), 128px); }
.cta { container-type: inline-size; }
.hero h1 .name, .cta .name { color: var(--brand); display: block; word-break: break-word; transition: color .5s; text-shadow: 0 0 60px color-mix(in srgb, var(--brand) 40%, transparent); }
.hero h1 .name.light, .cta .name.light { color: var(--chalk); }
.cfg { display: flex; flex-direction: column; gap: 12px; }
.presets { display: flex; gap: 6px 10px; flex-wrap: wrap; font-size: 14px; color: var(--mist); }
.presets button { background: none; border: 0; color: var(--gold); padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.swatches { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sw { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; box-shadow: 0 0 0 1px var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.sw:hover { transform: scale(1.12); }
.sw[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--night), 0 0 0 5px var(--chalk); transform: scale(1.08); }
.sw-custom { position: relative; overflow: hidden; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.sw-custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.drop { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--mist); cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--gold); background: rgba(210, 158, 39, .08); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-tx { flex: 1; min-width: 0; }
.range-row { display: flex; align-items: center; gap: 14px; }
.range-row input { flex: 1; accent-color: var(--gold); }
.range-row output { font-family: var(--display); font-weight: 800; font-size: 30px; min-width: 3ch; text-align: right; }

.stand { margin: 0; padding: 14px; display: flex; flex-direction: column; gap: 12px; background: radial-gradient(120% 90% at 50% 0%, #2B3468 0%, var(--night-2) 70%); overflow: hidden; }
.stand svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.stand-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 6px 4px; }
.stand-foot small { color: var(--mist); font-size: 14px; }
#doek { transition: transform 1.2s cubic-bezier(.6, 0, .2, 1), opacity 1.2s; transform-box: fill-box; transform-origin: 50% 0; }
.revealed #doek { transform: translateY(-120%) scaleY(.4) skewX(-6deg); opacity: 0; }
.fans .fan { transform-box: fill-box; transform-origin: 50% 100%; }
.revealed .fans .fan { animation: jump .5s ease-in-out infinite alternate; }
@keyframes jump { to { transform: translateY(-4px); } }
.flash { opacity: 0; }
.revealed .flash { animation: flash 1.2s ease-out 1; }
@keyframes flash { 20% { opacity: .55; } 100% { opacity: 0; } }
/* LED-boarding: twee kopieën achter elkaar, afgeknipt op het bord; één kopie verschuiven = naadloze lus. */
.led-scroll { animation: led var(--led-dur, 14s) linear infinite; }
@keyframes led { from { transform: translateX(0); } to { transform: translateX(calc(var(--led-shift, 300px) * -1)); } }
#lights circle { animation: flicker 4s ease-in-out infinite alternate; }
@keyframes flicker { 50% { opacity: .6; } }

/* ---------- 2 · klok ---------- */
.clock { padding: 14px 18px; }
.track-wrap { overflow-x: auto; scrollbar-width: none; }
.track-wrap::-webkit-scrollbar { display: none; }
/* Lijn op het midden van de bolletjes: padding 4 + tijd 24 + gap 7 + half bolletje 10 = 45. */
.track { position: relative; display: flex; gap: 4px; min-width: 820px; --line-y: 44px; }
.track::before { content: ""; position: absolute; left: 12px; right: 12px; top: var(--line-y); height: 2px; background: var(--line-2); }
.track .fill { position: absolute; left: 12px; top: var(--line-y); height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transition: width .6s var(--ease); box-shadow: 0 0 12px var(--gold); }
.stop { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 2px; color: var(--mist); min-width: 0; }
.stop .t { height: 24px; line-height: 24px; font-family: var(--display); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--chalk); }
.stop .dot { flex: none; box-sizing: border-box; width: 20px; height: 20px; border-radius: 50%; background: var(--night); border: 3px solid var(--line-2); transition: all .35s var(--ease); position: relative; z-index: 1; }
.stop .s { font-size: 12px; line-height: 1.2; text-align: center; }
.stop.kick .dot { border-color: var(--chalk); }
.stop.extra .dot { border-style: dashed; border-color: var(--gold); }
.stop.has-opt.on .dot { background: var(--brand); border-color: var(--brand); }
.track .stop[aria-selected="true"] .dot { background: var(--gold); border-color: var(--gold); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(210, 158, 39, .2), 0 0 24px var(--gold); }
.stop[aria-selected="true"] .s { color: var(--chalk); }
.b-clock > :nth-child(1) { grid-column: span 8; }
.b-clock > :nth-child(2) { grid-column: span 4; }
.detail { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; min-height: 260px; }
.big-t { font-family: var(--display); font-weight: 800; font-size: clamp(70px, 9vw, 140px); line-height: .82; font-variant-numeric: tabular-nums; min-width: 3.1ch; background: linear-gradient(180deg, var(--gold-2), var(--gold) 60%, #8a6414); -webkit-background-clip: text; background-clip: text; color: transparent; }
.detail h3 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 12px; }
.detail p { color: var(--mist); max-width: 60ch; margin-bottom: 16px; }
.detail.swap .detail-tx, .detail.swap .big-t { animation: swap .55s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(24px); filter: blur(4px); } }
.clock-side { display: flex; flex-direction: column; gap: 16px; justify-content: space-between; }
.clock-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-cta { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: rgba(11, 15, 36, .55); border: 1px solid var(--line); }
.opt-cta .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.opt-cta b { font-weight: 600; }
.opt-cta .pr { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--gold); font-variant-numeric: tabular-nums; }

/* ---------- 3 · seizoen ---------- */
.b-season > :nth-child(1) { grid-column: span 7; display: flex; flex-direction: column; gap: 16px; }
.b-season > :nth-child(2) { grid-column: span 5; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; perspective: 800px; }
.tile { aspect-ratio: 1/1.05; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(11, 15, 36, .45); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 10px; text-align: left; transition: background .3s, transform .5s var(--ease), border-color .3s; transform-style: preserve-3d; }
.tile:hover { transform: translateY(-3px) rotateX(8deg); }
.tile.flip { animation: flip .55s var(--ease); }
@keyframes flip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg) scale(.95); } 100% { transform: rotateY(0); } }
.tile .n { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .m { display: flex; flex-direction: column; gap: 1px; line-height: 1.15; min-width: 0; width: 100%; }
.tile .m b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .m small { font-size: 11px; opacity: .75; }
.tile .g { font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; color: var(--mist); }
.tile[data-g="klanten"] { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.tile[data-g="medewerkers"] { background: var(--gold); border-color: var(--gold); color: #1B1606; }
.tile[data-g="familie"] { background: var(--chalk); border-color: var(--chalk); color: var(--night); }
.tile[data-g="netwerk"] { background: var(--navy-2); border: 2px dashed var(--chalk); }
.tile[data-g]:not([data-g=""]) .g { color: inherit; }
.legend-row { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--mist); }
.legend-row i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend-row i.dash { background: var(--navy-2); outline: 1px dashed var(--chalk); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.calc { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid var(--paper-line); padding-bottom: 10px; }
.row b { font-family: var(--display); font-weight: 800; font-size: 28px; }
.row.win { border: 0; background: var(--night-2); color: var(--chalk); padding: 12px 14px; border-radius: 12px; }
.row.win b { color: var(--gold); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid #C9BFBF; background: #fff; color: var(--paper-ink); font-weight: 700; font-size: 18px; }
.stepper output { font-family: var(--display); font-weight: 800; font-size: 26px; min-width: 2ch; text-align: center; }
.mixbar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; background: #E3DADA; }
.mixbar span { transition: flex .5s var(--ease); }

/* ---------- 4 · spotlights ---------- */
.b-expo { grid-auto-rows: minmax(180px, auto); }
.b-expo > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.b-expo > :nth-child(2) { grid-column: span 5; }
.b-expo > :nth-child(3) { grid-column: span 5; }
.b-expo > :nth-child(4), .b-expo > :nth-child(5), .b-expo > :nth-child(6) { grid-column: span 4; }
.expo-card { display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.expo-card .k { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--brand); transition: color .5s; }
.expo-card h3 { font-size: clamp(26px, 2.4vw, 36px); }
.expo-card p { color: var(--mist); max-width: 46ch; }
.expo-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; }
.expo-card .opt-tag { font-family: var(--display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(11, 15, 36, .6); color: var(--mist); }
.expo-card .opt-tag.in { background: var(--brand); color: var(--brand-ink); }
.expo-card.hero-x { background: radial-gradient(100% 120% at 100% 100%, color-mix(in srgb, var(--brand) 45%, transparent), transparent 60%), linear-gradient(160deg, rgba(46, 55, 102, .55), rgba(20, 26, 54, .72)); }
.expo-card.hero-x .k { font-size: clamp(90px, 12vw, 180px); opacity: .9; }
.expo-card.hero-x h3 { font-size: clamp(40px, 4.4vw, 68px); }
.expo-card .mini-doek { position: absolute; right: -40px; top: -30px; width: 55%; aspect-ratio: 1; border-radius: 30px; background: var(--brand); transform: rotate(14deg) translateZ(0); opacity: .18; transition: background .5s; animation: wave 6s ease-in-out infinite alternate; }
@keyframes wave { to { transform: rotate(8deg) translateY(10px) skewX(4deg); } }

/* ---------- 5 · feest ---------- */
.b-feest > :nth-child(1) { grid-column: span 4; }
.b-feest > :nth-child(2) { grid-column: span 8; }
.poster { background: var(--red); display: flex; flex-direction: column; gap: 14px; text-align: center; overflow: hidden; border: 0; }
.poster::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(245, 238, 238, .06) 0 14px, transparent 14px 28px); pointer-events: none; border-radius: inherit; }
.poster > * { position: relative; z-index: 1; }
.poster .pre { font-family: var(--display); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; font-size: 12px; }
.poster .head { font-family: var(--display); font-weight: 800; font-size: clamp(60px, 6.6vw, 104px); line-height: .85; text-transform: uppercase; }
.poster .head small { display: block; font-size: .34em; letter-spacing: .06em; color: var(--gold-2); }
.poster .bill { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 1.05; display: flex; flex-direction: column; gap: 4px; }
.poster .l1 { font-size: 30px; } .poster .l2 { font-size: 21px; color: #F3D9D8; } .poster .l3 { font-size: 17px; color: #F3D9D8; letter-spacing: .06em; }
.poster hr { border: 0; border-top: 1px solid rgba(245, 238, 238, .35); margin: 2px 0; width: 100%; }
.poster .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; text-align: left; font-size: 14px; }
.poster .meta b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: .06em; color: var(--gold-2); }
.cmp { display: flex; flex-direction: column; gap: 14px; }
.score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; background: rgba(11, 15, 36, .6); border-radius: 16px; padding: 16px 20px; }
.score .side { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.score .side.vak { text-align: right; }
.score .val { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1; }
.score .vak .val { color: var(--gold); }
.score .pp { font-size: 13px; color: var(--mist); font-variant-numeric: tabular-nums; }
.vs-mark { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--gold); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); }
.verdict { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.05; }
.verdict span { color: var(--gold); }
.tbl-wrap { overflow-x: auto; }
table.vs { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
table.vs th { font-family: var(--display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--mist); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
table.vs th.r { text-align: right; }
table.vs td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.vs td.post { font-weight: 600; }
table.vs td.post small { display: block; font-weight: 400; color: var(--mist); font-size: 12px; }
table.vs td.amt { text-align: right; white-space: nowrap; }
table.vs td.amt .pp { font-size: 11px; color: var(--mist); }
table.vs input { width: 92px; background: rgba(11, 15, 36, .6); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 8px; text-align: right; font-variant-numeric: tabular-nums; }
.inc { display: inline-block; font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); margin-right: 6px; white-space: nowrap; }
.inc.ov { background: transparent; border: 1px dashed var(--gold); color: var(--gold); }

/* ---------- 6 · merch ---------- */
.b-merch > :nth-child(1) { grid-column: span 7; }
.b-merch > :nth-child(2) { grid-column: span 5; }
.merch-stage { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.merch-vis { padding: 0; aspect-ratio: 16/10; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(90% 80% at 50% 35%, #2E3766 0%, var(--night-2) 75%); perspective: 1000px; }
.merch-vis.studio { background: radial-gradient(90% 80% at 50% 40%, #fff 0%, #E9E4E4 80%); }
.merch-vis .spin { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; transition: transform .6s var(--ease); transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.merch-vis .spin.enter { animation: spinIn .8s var(--ease); }
@keyframes spinIn { from { transform: rotateY(-70deg) scale(.85); opacity: 0; } }
.merch-vis svg { width: 100%; height: 100%; display: block; }
.merch-vis .photo { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.merch-vis .photo img.prod { max-width: 92%; max-height: 92%; object-fit: contain; }
.merch-vis .photo .ov { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.merch-vis .photo .ov svg { width: 100%; height: 100%; }
.merch-vis .two { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.merch-vis .two .photo + .photo { border-left: 1px solid #DCD3D3; }
.merch-vis .kant { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: #5A6080; }
.merch-vis .empty { color: #5A6080; text-align: center; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.merch-vis .badge { position: absolute; left: 14px; top: 14px; font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 12px; background: rgba(11, 15, 36, .75); color: var(--chalk); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.merch-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.merch-tabs button { position: relative; background: rgba(28, 35, 72, .55); border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; color: var(--mist); transition: transform .3s var(--ease), border-color .3s; }
.merch-tabs button:hover { transform: translateY(-3px); }
.merch-tabs button svg { width: 100%; max-width: 96px; height: auto; aspect-ratio: 4/3; }
.merch-tabs button[aria-selected="true"] { border-color: var(--gold); color: var(--chalk); box-shadow: 0 0 0 1px var(--gold), 0 10px 30px rgba(210, 158, 39, .15); }
.merch-tabs .on { position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #1B1606; font-size: 11px; display: grid; place-items: center; font-family: var(--body); }
.merch-side { display: flex; flex-direction: column; gap: 16px; }
.merch-side h3 { font-size: clamp(32px, 3vw, 46px); }
.merch-side .oms { color: var(--mist); }
.toggle-add { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(11, 15, 36, .5); border: 1px solid var(--line); }
.radios { display: flex; flex-direction: column; gap: 6px; }
.radios label { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-weight: 500; transition: all .2s; }
.radios label:has(input:checked) { border-color: var(--gold); background: rgba(210, 158, 39, .1); }
.radios input { accent-color: var(--gold); margin-right: 8px; }
.radios .p { color: var(--mist); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fld { display: flex; flex-direction: column; gap: 6px; flex: 1 1 120px; min-width: 0; }
.fld-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: end; }
.merch-price { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; font-variant-numeric: tabular-nums; color: var(--mist); }
.merch-price b { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--gold); }

/* ---------- 7 · aanbod ---------- */
.b-offer > :nth-child(1) { grid-column: span 8; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.b-offer > :nth-child(2) { grid-column: span 4; align-self: start; position: sticky; top: 0; }
.basis { padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.basis h3 { font-size: 24px; color: var(--red); }
.basis ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 20px; }
.basis li { display: flex; gap: 8px; align-items: baseline; font-weight: 500; }
.basis li::before { content: "✓"; font-weight: 800; color: var(--red); }
.opt-groups { display: flex; flex-direction: column; gap: 18px; }
.opt-group h3 { font-size: 22px; margin-bottom: 10px; color: var(--gold); }
.opt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; padding: 14px; border-radius: 16px; background: rgba(28, 35, 72, .55); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .25s, background .25s, transform .35s var(--ease); }
.opt:hover { transform: translateY(-2px); border-color: var(--line-2); }
.opt .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--line-2); margin-top: 2px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #1B1606; transition: all .25s var(--ease); }
.opt[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(160deg, rgba(210, 158, 39, .16), rgba(28, 35, 72, .6)); }
.opt[aria-pressed="true"] .box { background: var(--gold); border-color: var(--gold); transform: scale(1.1); }
.opt[aria-pressed="true"] .box::before { content: "✓"; }
.opt .tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.opt .tx b { font-weight: 600; }
.opt .tx small { color: var(--mist); font-size: 13px; line-height: 1.35; }
.opt .pr { white-space: nowrap; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; }
.opt .pr small { display: block; font-weight: 400; color: var(--mist); font-size: 11px; }

.receipt { display: flex; flex-direction: column; gap: 10px; }
.receipt h3 { font-size: 30px; }
.receipt .rc-gasten { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.receipt .rc-gasten input { width: 92px; text-align: right; }
.receipt .lines { display: flex; flex-direction: column; max-height: 42vh; overflow-y: auto; }
.receipt .line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; font-variant-numeric: tabular-nums; animation: lineIn .45s var(--ease) both; }
.receipt .line small { display: block; color: #5A6080; font-size: 12px; }
.receipt .line .v { white-space: nowrap; font-weight: 600; }
.receipt .line.head { font-weight: 700; }
@keyframes lineIn { from { opacity: 0; transform: translateX(-10px); } }
.receipt .tot { display: flex; justify-content: space-between; align-items: center; background: var(--night-2); color: var(--chalk); border-radius: 14px; padding: 12px 16px; }
.receipt .tot b { font-family: var(--display); font-weight: 800; font-size: 38px; color: var(--gold); font-variant-numeric: tabular-nums; }
.receipt .pp { font-size: 13px; color: #4A5070; font-variant-numeric: tabular-nums; }

/* ---------- 8 · versturen ---------- */
.b-send > :nth-child(1) { grid-column: span 7; grid-row: span 2; }
.b-send > :nth-child(2) { grid-column: span 5; grid-row: span 2; }
.b-send > :nth-child(3) { grid-column: span 7; }
.b-send > :nth-child(4) { grid-column: span 5; }
.cta { display: flex; flex-direction: column; gap: 20px; justify-content: center; background: radial-gradient(100% 100% at 100% 0%, color-mix(in srgb, var(--brand) 32%, transparent), transparent 60%), linear-gradient(160deg, rgba(46, 55, 102, .55), rgba(20, 26, 54, .72)); }
.cta h2 { font-size: clamp(40px, calc(92cqi / (var(--nl, 10) * .5)), 116px); }
.sender { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(11, 15, 36, .5); border: 1px solid var(--line); }
.sender .av { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1B1606; font-family: var(--display); font-weight: 800; font-size: 22px; flex: none; }
.sender b { display: block; font-size: 17px; }
.sender span { color: var(--mist); font-size: 14px; }
.sender a { color: var(--gold); }
.share-card, .mail-card { display: flex; flex-direction: column; gap: 10px; }
.share-row { display: flex; gap: 10px; align-items: center; }
.share-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: rgba(11, 15, 36, .6); border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--mist); }
.mail-card select { width: 100%; }
.mail-ok { display: flex; gap: 10px; align-items: center; color: var(--gold); font-weight: 600; }
.status { font-size: 14px; color: var(--mist); min-height: 1.4em; }
.status.err { color: #FF8A80; }

/* ---------- dock ---------- */
.dock {
  position: fixed; inset: auto 0 0; height: calc(var(--dock) + env(safe-area-inset-bottom, 0px)); z-index: 30; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px;
  padding: 0 var(--gut) env(safe-area-inset-bottom, 0px); background: linear-gradient(to top, rgba(11, 15, 36, .92), rgba(11, 15, 36, 0));
}
.counter { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 700; color: var(--mist); letter-spacing: .08em; }
.counter b { font-size: 26px; color: var(--chalk); font-weight: 800; font-variant-numeric: tabular-nums; }
.counter em { font-style: normal; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; margin-left: 10px; color: var(--gold); }
.progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .9s var(--ease-io); }
.arrows { display: flex; gap: 8px; }
.arrow { height: 46px; min-width: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(28, 35, 72, .6); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; font-family: var(--display); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 16px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .25s var(--ease), background .2s; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { transform: translateY(-2px); }
.arrow.primary { background: var(--chalk); color: var(--night); border-color: var(--chalk); padding: 0 16px 0 20px; }
.arrow[disabled] { opacity: .35; pointer-events: none; }

/* ---------- drawer (instellingen) ---------- */
.drawer-bg { position: fixed; inset: 0; z-index: 40; background: rgba(5, 7, 18, .55); backdrop-filter: blur(4px); animation: fade .3s; }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(640px, 100%); background: var(--night-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: -40px 0 80px rgba(0, 0, 0, .5); animation: slideIn .5s var(--ease); }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: calc(20px + env(safe-area-inset-top, 0px)) 24px 12px; }
.drawer-head h2 { font-size: 44px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 24px 32px; display: flex; flex-direction: column; gap: 16px; }
.dtabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--night-2); z-index: 1; }
.dtabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px; font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 15px; color: var(--mist); }
.dtabs button[aria-selected="true"] { color: var(--chalk); border-bottom-color: var(--gold); }
.dsec { display: flex; flex-direction: column; gap: 14px; }
.dcard { background: var(--navy); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dcard h3 { font-size: 22px; }
.drow { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.drow label { color: var(--mist); font-size: 14px; flex: 1; }
.drow input { width: 120px; text-align: right; }
.drow.sub label { padding-left: 16px; }
.results { display: flex; flex-direction: column; gap: 6px; }
.result { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(11, 15, 36, .4); transition: border-color .2s, background .2s; }
.result:hover { border-color: var(--gold); }
.result.sel { border-color: var(--gold); background: rgba(210, 158, 39, .12); }
.result .lg { width: 38px; height: 38px; border-radius: 10px; background: var(--chalk); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--night); font-family: var(--display); font-weight: 800; }
.result .lg img { width: 100%; height: 100%; object-fit: contain; }
.result small { display: block; color: var(--mist); font-size: 13px; }
.contact { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); cursor: pointer; }
.contact:has(input:checked) { border-color: var(--gold); background: rgba(210, 158, 39, .1); }
.contact input { accent-color: var(--gold); }
.contact small { display: block; color: var(--mist); font-size: 13px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--gold); animation: spin .8s linear infinite; display: inline-block; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }

#toast { position: fixed; left: 50%; bottom: calc(var(--dock) + 20px); transform: translateX(-50%); z-index: 50; background: var(--chalk); color: var(--night); padding: 10px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); animation: toastIn .4s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- responsive ---------- */
@media (max-width: 1380px) { .brand-tx { display: none; } }
@media (max-width: 1180px) { .steps button { padding: 7px 9px; font-size: 12px; letter-spacing: .06em; } }
@media (max-width: 980px) {
  :root { --hud: 64px; --dock: 64px; }
  .steps { display: none; }
  .hud { grid-template-columns: 1fr auto; }
  .bento > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .b-intro { grid-template-areas: none; }
  .b-intro > * { grid-area: auto !important; }
  .b-offer > :nth-child(2) { position: static; }
  .slide-in { justify-content: flex-start; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .total-amt { font-size: 24px; }
  .total-pop { right: 0; width: min(340px, calc(100vw - 32px)); }
}
@media (max-width: 560px) {
  .brand-tx { display: none; }
  .total { padding: 5px 6px 5px 12px; column-gap: 10px; }
  .counter em { display: none; }
  .arrow.primary span { display: none; }
  .arrow.primary { padding: 0 12px; }
  .merch-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .score .side.vak { text-align: left; }
}
@media (max-height: 820px) and (min-width: 981px) {
  .sec-head h2 { font-size: clamp(36px, 4.2vw, 60px); }
  .sec-head .lede { font-size: 15px; }
  .tile { aspect-ratio: 1.3/1; }
  .slide-in { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slide { transform: translate3d(calc(var(--d) * 100%), 0, 0); filter: none; }
  .slide [data-in] { opacity: 1; transform: none; }
}
.cta h2 .name { display: inline; }

/* wedstrijdkeuze */
.match-pick { display: flex; flex-direction: column; gap: 10px; }
.match-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.match-chips::-webkit-scrollbar { display: none; }
.match-chip { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(28, 35, 72, .55); text-align: left; transition: border-color .25s, background .25s, transform .3s var(--ease); }
.match-chip:hover { transform: translateY(-2px); border-color: var(--chalk); }
.match-chip b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 17px; letter-spacing: .03em; }
.match-chip small { color: var(--mist); font-size: 13px; }
.match-chip[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(160deg, rgba(210, 158, 39, .2), rgba(28, 35, 72, .6)); box-shadow: 0 0 0 1px var(--gold); }

/* ---------- klantweergave ---------- */
html:not(.present) [data-view] { display: none !important; }
.present [data-edit] { display: none !important; }
.present .b-intro { grid-template-areas: "hero hero hero hero hero stand stand stand stand stand stand stand"; }
.present .seg.big { grid-template-columns: 1fr; }
.present .seg.big button { cursor: default; }
.present .b-send > .mail-card { grid-column: 1 / span 7; }
.ro { display: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.present .ro { display: inline; }
.present [data-post], .present .rc-gasten input { display: none; }
.ro-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ro-facts > div { padding: 12px 14px; border-radius: 14px; background: rgba(11, 15, 36, .5); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.ro-facts b { font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.view-toggle { width: auto; padding: 0 12px; gap: 8px; display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.view-toggle[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
@media (max-width: 980px) { .view-toggle span { display: none; } .present .b-intro { grid-template-areas: none; } }

/* aanbieden aan de klant */
.opt-wrap { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.offer-flag { align-self: flex-start; border: 1px dashed var(--line-2); background: none; border-radius: 999px; padding: 3px 10px; font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); transition: all .2s; }
.offer-flag:hover { color: var(--chalk); border-color: var(--chalk); }
.offer-flag[aria-pressed="true"] { border-style: solid; border-color: var(--gold); color: var(--gold); }
