/* Startpagina van Dynamic Football in de huisstijl "Dynamic Gold" (alleen donker).
   Opbouw volgt de spec (docs/superpowers/specs/2026-11-07-startpagina-design.md): kopbalk, eerste scherm,
   lopende band, vier stappen, 3D-vak, pijlers, club, toekomst, veilig, pilot en voet.
   Zonder JavaScript staat alles gewoon in beeld; landing.js voegt de effecten toe.
   Breedtes alleen als max-width/percentage: nooit horizontaal scrollen op een telefoon van 360 px
   (test landing_css_has_no_wide_fixed_widths in site.rs). */

/* ---------- Lettertypes (van onze eigen server, dezelfde als het dashboard) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Kleuren en maten (DESIGN.md) ---------- */
:root {
  --canvas: #0B0C0E;
  --surface: #121415;
  --elevated: #1A1D20;
  --border: #282C32;
  --gold: #D4AF37;
  --gold-light: #E5C158;
  --gold-deep: #C59B27;
  --gold-border: #856D24;
  --green: #1F7A4D;
  --green-glow: #28A366;
  --white: #FFFFFF;
  --text: #E2E2E3;
  --muted: #969FA8;
  --error: #FFB4AB;
  --pitch: #174a31;

  --r-sm: 8px;
  --r-lg: 16px;
  --pill: 9999px;

  --font-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);
  --topbar: 68px;

  --glass: rgba(18, 20, 21, .85);
  --hairline: rgba(212, 175, 55, .4);
  --gold-grad: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  --gold-bloom: 0 4px 20px rgba(212, 175, 55, .35);
  --ambient: 0 0 24px rgba(212, 175, 55, .08);

  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
p { margin: 0; }
a { color: var(--gold-light); }
::selection { background: rgba(212, 175, 55, .35); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--white); margin: 0; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.03; letter-spacing: -.035em; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.03em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 16px 0 0; }
.section-head .lead { margin-top: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1.3 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.section-head.center .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .8; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--muted); }

/* Glans over kernwoorden (landing.js laat hem bewegen). */
.shine {
  background: linear-gradient(90deg, var(--gold-light) 0%, #FFF3CF 50%, var(--gold) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--canvas); padding: 10px 14px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Knoppen en labels ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--pill); border: 1px solid transparent;
  font: 600 15px/1 var(--font-head); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}
.btn-gold { background: var(--gold-grad); color: var(--canvas); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold:hover { transform: scale(1.02); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), var(--gold-bloom), 0 0 44px -8px rgba(229, 193, 88, .55); }
.btn-ghost { background: var(--elevated); border-color: var(--gold-border); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); box-shadow: var(--ambient); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

/* Alles wat er nog niet is, krijgt dit label. */
.tag-dev {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  padding: 3px 10px; border-radius: var(--pill);
  font: 700 11px/1.4 var(--font-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--gold-light); background: rgba(212, 175, 55, .1); border: 1px dashed rgba(212, 175, 55, .6);
}
.tag-dev::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.tag-sample {
  display: inline-block; padding: 2px 8px; border-radius: var(--pill);
  font: 600 10px/1.5 var(--font-head); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); background: var(--canvas);
}
.pill-ok {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: var(--pill);
  font: 600 11px/1.5 var(--font-head); color: var(--green-glow); background: rgba(40, 163, 102, .14);
}
.pill-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Gedeelde iconen in kaarten (lijn-svg in goud). */
.card-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  color: var(--gold-light); background: rgba(212, 175, 55, .08); border: 1px solid rgba(212, 175, 55, .3);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Levende achtergrond: gloed en fijn raster (beweging uit landing.js / aan bij geen "minder beweging") ---------- */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 25%, transparent 75%);
}
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(90px); }
.aurora i:nth-child(1) { width: min(620px, 90vw); aspect-ratio: 1; left: -14%; top: -34%; background: var(--gold); opacity: .18; }
.aurora i:nth-child(2) { width: min(680px, 100vw); aspect-ratio: 1; right: -16%; bottom: -40%; background: var(--green); opacity: .38; }
.aurora i:nth-child(3) { width: min(320px, 60vw); aspect-ratio: 1; right: 18%; top: -12%; background: var(--gold-light); opacity: .1; }

/* ---------- 0. Kopbalk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 14, .55);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(212, 175, 55, .12);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.topbar.scrolled { background: var(--glass); border-bottom-color: var(--hairline); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .9); }
.topbar-in { display: flex; align-items: center; gap: 24px; height: var(--topbar); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font: 700 17px/1 var(--font-head); letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a, .nav-login {
  color: var(--muted); text-decoration: none; font: 500 14px/1 var(--font-head);
  padding: 10px 12px; border-radius: var(--pill); transition: color .2s ease, background-color .2s ease;
}
.nav a:hover, .nav-login:hover { color: var(--white); background: rgba(255, 255, 255, .05); }
.topbar-act { display: flex; align-items: center; gap: 8px; }

/* ---------- 1. Eerste scherm ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy h1 { margin: 20px 0 22px; }
.hero-copy .lead { max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.facts {
  display: flex; flex-wrap: wrap; gap: 16px 36px; list-style: none;
  margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--border);
}
.facts li { display: flex; flex-direction: column; gap: 6px; }
.fact-num { display: inline-flex; align-items: baseline; gap: 3px; font: 700 30px/1 var(--font-head); letter-spacing: -.02em; color: var(--gold-light); }
.fact-num i { font-style: normal; font-size: 20px; color: var(--gold); }
.fact-num b { font-weight: 700; font-variant-numeric: tabular-nums; }
.fact-label { font-size: 13px; color: var(--muted); }

/* Apparaten: laptop links, telefoon er rechtsonder overheen. */
.hero-visual { position: relative; min-width: 0; }
.devices { position: relative; padding-bottom: 64px; }
.spot {
  position: absolute; inset: -8%; z-index: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 60%) var(--my, 40%), rgba(212, 175, 55, .16), transparent 62%);
}

.laptop { position: relative; z-index: 1; width: 84%; }
.laptop-lid {
  position: relative; padding: 12px 12px 14px; border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, #2b2f35, #191c20);
  box-shadow: inset 0 0 0 1px #363a41, 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 70px -24px rgba(212, 175, 55, .3);
}
.laptop-lid::before { content: ""; position: absolute; top: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #41464d; }
.laptop-base {
  position: relative; height: 14px; margin: 0 -6%;
  background: linear-gradient(180deg, #3a3e45 0%, #1d2024 60%, #121417 100%);
  border-radius: 2px 2px 16px 16px; box-shadow: 0 24px 30px -14px rgba(0, 0, 0, .9);
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: #23262b; border-radius: 0 0 8px 8px; }
/* Alles binnen de schermen schaalt mee met het apparaat (container-eenheden): de inhoud staat er als een
   schermafbeelding in, ook op een smalle telefoon. Maten daarbinnen zijn in em. */
.screen {
  position: relative; display: flex; flex-direction: column; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; background: #0d0f11;
  container-type: inline-size; font-size: 11px; font-size: clamp(5px, 2.05cqw, 12px); line-height: 1.4;
}
.app-bar {
  display: flex; align-items: center; gap: .45em; flex: none; height: 2.2em; padding: 0 .9em;
  background: var(--surface); border-bottom: 1px solid var(--border); font: 600 .9em/1 var(--font-head); color: var(--muted);
}
.app-bar i { width: .7em; height: .7em; border-radius: 50%; background: #3a3f46; }
.app-bar span { margin-left: .8em; }
.screen-body { position: relative; flex: 1; min-height: 0; }
.layer { position: absolute; inset: 0; }
.screen .tag-dev, .screen .tag-sample, .screen .pill-ok { font-size: .85em; }

/* Stilstaand beeld in de 3D-vakken (de live weergave van landing-3d.js vervangt het). */
.stage { position: relative; overflow: hidden; background: #0c1a12; }
.stage img { width: 100%; height: 100%; object-fit: contain; }

/* Laag "3D-ontwerp": ontwerpomgeving. */
.ed { display: flex; }
.ed-tools { flex: none; display: flex; flex-direction: column; gap: .55em; width: 13%; max-width: 4.2em; padding: .7em .55em; background: var(--surface); border-right: 1px solid var(--border); }
.ed-tools span { display: grid; place-items: center; aspect-ratio: 1; border-radius: .55em; background: var(--elevated); color: var(--muted); }
.ed-tools span.on { background: rgba(212, 175, 55, .18); outline: 1px solid var(--gold-border); color: var(--gold-light); }
.ed-tools svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ed-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ed-main .stage { flex: 1; min-height: 0; }
.ed-time { flex: none; display: flex; align-items: center; gap: .7em; height: 2.4em; padding: 0 .9em; background: var(--surface); border-top: 1px solid var(--border); }
.ed-play { width: 0; height: 0; border-left: .73em solid var(--gold-light); border-top: .45em solid transparent; border-bottom: .45em solid transparent; }
.ed-track { position: relative; flex: 1; height: .36em; border-radius: .2em; background: var(--border); }
.ed-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; border-radius: .2em; background: var(--gold-grad); }
.ed-track b { position: absolute; top: -.18em; width: 2px; height: .73em; background: #4a4f57; }
.ed-track b:nth-of-type(1) { left: 25%; }
.ed-track b:nth-of-type(2) { left: 50%; }
.ed-track b:nth-of-type(3) { left: 75%; }
.ed-label { font: 600 .82em/1 var(--font-head); color: var(--muted); white-space: nowrap; }

/* Laag "Training aanvragen": trainingspagina. */
.tp { display: flex; flex-direction: column; gap: .7em; padding: 1.1em 1.3em; background: linear-gradient(180deg, #111416, #0d0f11); }
.tp-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .9em; }
.tp-head b { font: 700 1.27em/1.2 var(--font-head); color: var(--white); }
.tp-head > span:last-child { width: 100%; font-size: .95em; color: var(--muted); }
.tp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.tp-list li { display: flex; align-items: center; gap: .9em; padding: .55em .9em; border-radius: .64em; background: var(--elevated); border: 1px solid var(--border); font-size: 1.05em; }
.tp-list li:nth-child(2) { border-color: var(--gold-border); }
.tp-min { flex: none; width: 2.3em; font: 700 .95em/1 var(--font-head); color: var(--gold-light); }
.tp-list b { flex: 1; min-width: 0; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-list em { font: 700 .78em/1 var(--font-head); font-style: normal; letter-spacing: .06em; color: var(--green-glow); border: 1px solid rgba(40, 163, 102, .4); border-radius: .35em; padding: .3em .5em; }
.tp-ai { margin-top: auto; font-size: .9em; color: var(--muted); }

/* Laag "Clubbeheer" en scherm 4 van de stappen: klein dashboard. */
.mini-dash { display: flex; background: #0f1113; }
.md-side { flex: none; display: flex; flex-direction: column; gap: .55em; width: 13%; max-width: 4.2em; padding: .7em .55em; background: var(--surface); border-right: 1px solid var(--border); }
.md-side span { height: 1.45em; border-radius: .45em; background: var(--elevated); }
.md-side span.on { background: rgba(212, 175, 55, .22); outline: 1px solid var(--gold-border); }
.md-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .9em; padding: 1.1em 1.3em; }
.md-title { display: flex; align-items: center; justify-content: space-between; gap: .7em; }
.md-title b { font: 700 1.27em/1 var(--font-head); color: var(--white); }
.md-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7em; }
.md-tiles div { padding: .7em .9em; border-radius: .7em; background: var(--elevated); border: 1px solid var(--border); }
.md-tiles b { display: block; font: 700 1.8em/1.1 var(--font-head); color: var(--gold-light); }
.md-tiles span { font-size: .9em; color: var(--muted); }

/* Balkjes voor de leerlijn (waarde via --v). */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; gap: 6px; font-size: 14px; color: var(--text); }
.bars i { display: block; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light)) 0 0 / var(--v, 50%) 100% no-repeat, var(--border); }
.bars-sm { gap: .64em; }
.bars-sm li { gap: .27em; font-size: .95em; }
.bars-sm i { height: .36em; }

/* Laag "Toekomst": sponsorborden langs het veld (indruk, geen echte functie). */
.fut { display: flex; flex-direction: column; justify-content: center; gap: .55em; padding: 1.1em 1.3em; background: radial-gradient(ellipse at 50% 120%, #173a29, #0d1512 55%, #0b0c0e); }
.fut .pitch { flex: 1; min-height: 0; width: 100%; }
.boards { display: flex; justify-content: center; gap: .6em; }
.board {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; flex: 1; max-width: 16em; min-width: 0;
  padding: .55em .9em; border-radius: .4em; white-space: nowrap; overflow: hidden;
  font: 700 .82em/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-light);
  background: linear-gradient(180deg, #1f2226, #121415); border: 1px solid var(--gold-border);
  box-shadow: 0 0 1.4em -.6em rgba(212, 175, 55, .55);
}
.board img { width: 1.8em; height: 1.8em; flex: none; }
.boards-back { transform: perspective(500px) rotateX(16deg); }
.boards-front .board { font-size: .95em; max-width: 18em; }
.fut-tag { align-self: center; }

/* Telefoon. */
.phone {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 27%; aspect-ratio: 9 / 18.5;
  padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, #2c3036, #16191c);
  box-shadow: inset 0 0 0 1px #3a3f46, 0 40px 70px -24px rgba(0, 0, 0, .95), 0 0 50px -20px rgba(40, 163, 102, .35);
}
.phone-screen {
  position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 24px; overflow: hidden; background: var(--surface);
  container-type: inline-size; font-size: 11px; font-size: clamp(7px, 5.5cqw, 12px); line-height: 1.4;
}
.phone-screen::before { content: ""; position: absolute; top: .55em; left: 50%; width: 30%; height: 1.1em; transform: translateX(-50%); border-radius: .7em; background: #050607; z-index: 2; }
.phone-head { flex: none; display: flex; align-items: center; gap: .7em; padding: 2.4em .9em .7em; border-bottom: 1px solid var(--border); background: #101213; }
.phone-head img { width: 2.4em; height: 2.4em; flex: none; }
.phone-head span { display: flex; flex-direction: column; min-width: 0; }
.phone-head b { font: 700 1em/1.2 var(--font-head); color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone-head small { font-size: .86em; color: var(--green-glow); }
.phone-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.phone-input {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: .55em;
  margin: 0 .7em .9em; padding: .6em .6em .6em 1.1em; border-radius: var(--pill);
  background: var(--elevated); border: 1px solid var(--border); font-size: .9em; color: var(--muted);
}
.phone-input i { width: 1.9em; height: 1.9em; flex: none; border-radius: 50%; background: var(--gold-grad); }
.phone .tag-dev { font-size: .82em; }

/* Chatberichten (ook voor landing.js: .msg.me, .msg.ai en .msg.typing met drie <i>). */
.chat { display: flex; flex-direction: column; justify-content: flex-end; gap: .6em; height: 100%; padding: .9em .7em; }
.phone .msg { max-width: 94%; }
.msg { max-width: 88%; padding: .6em .87em; border-radius: 1.2em; font-size: 1.05em; line-height: 1.4; }
.msg.me { align-self: flex-end; background: #1F3B2C; color: var(--white); border-bottom-right-radius: .35em; }
.msg.ai { align-self: flex-start; background: var(--elevated); border: 1px solid var(--border); color: var(--text); border-bottom-left-radius: .35em; }
.msg b { color: var(--white); }
.msg-card { display: flex; flex-direction: column; gap: .5em; }
.mini-pitch { width: 100%; height: auto; max-height: 5.5em; border-radius: .5em; background: #0c1a12; }
.open3d { font: 700 .95em/1 var(--font-head); color: var(--gold-light); text-decoration: none; }
.ai-note { font-size: .8em; color: var(--muted); }
.msg-voice { display: flex; align-items: center; gap: .6em; }
.mic { position: relative; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--gold-grad); }
.mic::after { content: ""; position: absolute; left: 50%; top: 22%; width: 22%; height: 40%; transform: translateX(-50%); border-radius: .2em; background: var(--canvas); }
.wave { display: flex; align-items: center; gap: .18em; flex: 1; }
.wave i { width: .18em; min-width: 1px; border-radius: .1em; background: rgba(255, 255, 255, .7); height: .5em; }
.wave i:nth-child(2n) { height: .95em; }
.wave i:nth-child(3n) { height: 1.3em; }
.msg-note { font-size: .92em; color: var(--muted); border-style: dashed; }
.chat-tag { align-self: center; margin-bottom: auto; margin-top: .35em; }
.msg.typing { display: inline-flex; gap: .35em; padding: .87em 1em; }
.msg.typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--muted); }

/* Tabbladen onder de schermen. */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.tabs button {
  appearance: none; cursor: pointer; padding: 9px 16px; border-radius: var(--pill);
  font: 500 14px/1.2 var(--font-head); color: var(--muted);
  background: rgba(26, 29, 32, .7); border: 1px solid var(--border);
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.tabs button:hover { color: var(--white); border-color: var(--gold-border); }
.tabs button[aria-selected="true"] { color: var(--gold-light); border-color: var(--gold); background: rgba(212, 175, 55, .09); box-shadow: 0 0 22px -6px rgba(212, 175, 55, .45); }
.tab-captions { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.tab-captions p { max-width: 36em; margin: 0 auto; }

/* ---------- 2. Lopende band ---------- */
.band { position: relative; display: grid; gap: 12px; padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), var(--canvas)); }
.marquee { overflow: hidden; padding: 0 var(--gutter); }
.marquee-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* landing.js zet "is-running": één rij, verdubbelde inhoud, zachte randen. */
.marquee.is-running { padding: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee.is-running .marquee-track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; }
.chip {
  display: inline-flex; align-items: center; flex: none; padding: 9px 16px; border-radius: var(--pill);
  font-size: 14px; color: var(--text); white-space: nowrap; background: var(--elevated); border: 1px solid var(--border);
}
.chip b { color: var(--gold-light); font: 600 14px/1 var(--font-head); }
.chip b { margin-right: .3em; }
.chip .tag-dev { margin-left: 10px; padding: 1px 8px; font-size: 10px; }

/* ---------- 3. Zo werkt het (vastgezet scherm) ---------- */
.werking-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps { display: grid; }
.step { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 58vh; padding: 32px 0 32px 28px; border-left: 1px solid var(--border); position: relative; transition: opacity .4s ease; }
.step::before { content: ""; position: absolute; left: -1px; top: 50%; width: 2px; height: 0; background: var(--gold-grad); transform: translateY(-50%); transition: height .4s ease; }
.step.is-active::before { height: 64px; }
.step-no { font: 600 13px/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.step p { color: var(--muted); max-width: 30em; }
.werking-visual { position: sticky; top: calc(var(--topbar) + max(24px, 50vh - 260px)); }

/* Tablet in het vastgezette scherm; de schermen liggen op elkaar, "is-active" is zichtbaar. */
.tablet {
  padding: 12px; border-radius: 26px;
  background: linear-gradient(160deg, #2c3036, #16191c);
  box-shadow: inset 0 0 0 1px #3a3f46, 0 50px 90px -40px rgba(0, 0, 0, .95), 0 0 70px -26px rgba(212, 175, 55, .3);
}
.tablet-screen {
  position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 50% 120%, #173a29, #0f1311 60%);
  container-type: inline-size; font-size: 13px; font-size: clamp(8px, 2.6cqw, 15px); line-height: 1.4;
}
.wscreen { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .85em; padding: 1.3em; opacity: 0; transform: scale(.97); transition: opacity .5s ease, transform .5s ease; }
.wscreen.is-active { opacity: 1; transform: none; }
.wscreen .msg { max-width: 80%; }
.ws-chat { justify-content: flex-end; }
.ws-top { display: flex; align-items: center; gap: .7em; margin-bottom: auto; padding-bottom: .8em; border-bottom: 1px solid var(--border); }
.ws-top img { width: 2.2em; height: 2.2em; }
.ws-top b { font: 700 1em/1.2 var(--font-head); color: var(--white); }
.ws-top small { display: block; font-size: .8em; color: var(--green-glow); }
.ws-voice { display: flex; align-items: center; justify-content: space-between; gap: .7em; align-self: stretch; padding: .7em 1.1em; border-radius: var(--pill); background: var(--elevated); border: 1px solid var(--border); font-size: .9em; color: var(--muted); }
.ws-voice .mic { width: 2em; height: 2em; }
.ws-head { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.ws-head b { font: 700 1.1em/1.2 var(--font-head); color: var(--white); }
.wscreen .pitch { flex: 1; min-height: 0; width: 100%; }
.ws-cta { align-self: flex-start; padding: .6em 1.05em; border-radius: var(--pill); background: var(--gold-grad); color: var(--canvas); font: 700 .9em/1 var(--font-head); }
.ws-editor { flex-direction: row; padding: 0; }
.ws-editor .ed-tools { width: 12%; max-width: 4em; padding: .85em .55em; gap: .6em; }
.ws-editor .pitch { padding: 1.3em; }
.ws-club { justify-content: center; }
.ws-club .tag-sample { align-self: flex-start; font-size: .75em; }
.wscreen .pill-ok { font-size: .8em; }

/* ---------- 4. Probeer de 3D ---------- */
.try { max-width: 1080px; margin: 0 auto; }
.try-frame {
  position: relative; padding: 1px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 175, 55, .65), rgba(40, 44, 50, .7) 38%, rgba(40, 44, 50, .7) 62%, rgba(40, 163, 102, .55));
  box-shadow: 0 60px 140px -60px rgba(31, 122, 77, .6), var(--ambient);
}
.stage-lg { aspect-ratio: 16 / 9; border-radius: 19px; }
.try-hints { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.try-hints b { color: var(--gold-light); font-weight: 600; }

/* ---------- 5. Drie pijlers ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card, .fcard, .trust li { position: relative; border-radius: var(--r-lg); }
.card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px 28px;
  background: linear-gradient(180deg, var(--elevated), var(--surface));
  transition: box-shadow .3s ease;
}
/* Rand die van goud naar grafiet loopt (DESIGN.md "Elevated Dynamic Layer"). */
.card::before, .dash::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, var(--gold-border), var(--border) 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover { box-shadow: 0 0 40px -14px rgba(212, 175, 55, .35); }
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); margin-bottom: 8px; }
.ticks { list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 9px; font-size: 14px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 5px; height: 9px; border: solid var(--gold-light); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- 6. Voor de club ---------- */
.club-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.club-copy h2 { margin: 16px 0 18px; }
.checks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: rgba(40, 163, 102, .16); border: 1px solid rgba(40, 163, 102, .45); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 9px; border: solid var(--green-glow); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.dash { position: relative; border-radius: var(--r-lg); background: var(--surface); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .95), var(--ambient); overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 16px; border-bottom: 1px solid var(--border); background: #0f1112; font: 600 12px/1 var(--font-head); color: var(--muted); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f46; }
.dash-body { display: flex; }
.dash-side { flex: none; display: flex; flex-direction: column; gap: 4px; width: 26%; max-width: 170px; padding: 16px 10px; border-right: 1px solid var(--border); background: #101213; }
.dash-side span { padding: 8px 10px; border-radius: var(--r-sm); font: 500 13px/1.2 var(--font-head); color: var(--muted); }
.dash-side span.on { color: var(--gold-light); background: rgba(212, 175, 55, .1); box-shadow: inset 2px 0 0 var(--gold); }
.dash-main { flex: 1; min-width: 0; display: grid; gap: 16px; padding: 20px; }
.dash-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dash-title b { font: 700 18px/1 var(--font-head); color: var(--white); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 14px 16px; border-radius: 12px; background: var(--elevated); border: 1px solid var(--border); }
.tile b { display: block; font: 700 32px/1.1 var(--font-head); letter-spacing: -.02em; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.tile span { font-size: 12.5px; color: var(--muted); }
.dash-panel { padding: 16px; border-radius: 12px; background: var(--elevated); border: 1px solid var(--border); }
.dash-panel h3 { font-size: 14px; margin-bottom: 12px; }
.dash-use { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dash-use h3 { margin-bottom: 2px; }
.dash-use p { font-size: 13px; color: var(--muted); }
.meter { position: relative; flex: none; width: 34%; height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 50%); border-radius: 4px; background: linear-gradient(90deg, var(--green), var(--green-glow)); }

/* ---------- 7. Waar we naartoe gaan ---------- */
.section-future { overflow: hidden; }
.section-future .wrap { position: relative; z-index: 1; }
.future-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fcard {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px;
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--hairline); box-shadow: var(--ambient);
}
.fcard h3 { margin-top: 4px; }
.fcard p { color: var(--muted); }
.fcard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 28px; }
.fcard-wide > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.fcard-visual { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; width: 100%; padding: 16px; border-radius: 12px; background: radial-gradient(ellipse at 50% 120%, #173a29, #0d1512 60%, #0b0c0e); border: 1px solid var(--border); }
.fcard-visual .board { font-size: 11px; max-width: 19em; padding: .75em 1.1em; }

/* ---------- 8. Veilig en eerlijk ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.trust li { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; background: var(--surface); border: 1px solid var(--border); }
.trust h3 { font-size: 17px; margin-top: 6px; }
.trust p { font-size: 15px; color: var(--muted); }

/* ---------- 9. Pilot aanvragen ---------- */
#pilot { position: relative; overflow: hidden; padding: var(--section) 0; border-top: 1px solid var(--border); }
.pilot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.pilot-copy h2 { margin: 16px 0 18px; }
.form-panel {
  padding: clamp(20px, 3vw, 34px); border-radius: var(--r-lg);
  background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid var(--hairline); box-shadow: var(--ambient), 0 50px 100px -50px rgba(0, 0, 0, .9);
}
#pilot form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#pilot label { display: flex; flex-direction: column; gap: 7px; font: 500 13px/1.3 var(--font-head); color: var(--text); }
#pilot input, #pilot select, #pilot textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  font: 400 15px/1.4 var(--font-body); color: var(--white);
  background: rgba(11, 12, 14, .8); border: 1px solid var(--border);
  transition: border-color .2s ease, box-shadow .2s ease;
}
#pilot input:hover, #pilot select:hover, #pilot textarea:hover { border-color: #3a3f46; }
#pilot input:focus, #pilot select:focus, #pilot textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .18); }
#pilot select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E5C158' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
#pilot select option { background: var(--surface); color: var(--white); }
#pilot textarea { min-height: 110px; resize: vertical; }
#pilot .full { grid-column: 1 / -1; }
#pilot .btn { width: 100%; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 13px; color: var(--muted); }
.error { min-height: 1em; color: var(--error); font-size: 14px; }
.error:empty { display: none; }
.thanks { display: none; text-align: center; padding: 24px 8px; }
.thanks h3 { font-size: 26px; margin: 16px 0 8px; }
.thanks p { color: var(--muted); }
.thanks-icon { position: relative; display: block; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--gold-grad); box-shadow: var(--gold-bloom); }
.thanks-icon::after { content: ""; position: absolute; left: 21px; top: 14px; width: 10px; height: 20px; border: solid var(--canvas); border-width: 0 3px 3px 0; transform: rotate(45deg); }
#pilot.sent form { display: none; }
#pilot.sent .thanks { display: block; }

/* ---------- Voet ---------- */
.footer { border-top: 1px solid var(--border); background: #08090A; padding: 48px 0 28px; font-size: 14px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.footer-brand p { margin-top: 12px; max-width: 26em; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a, .contact a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover, .contact a:hover { color: var(--gold-light); }
.contact { display: flex; flex-direction: column; gap: 8px; }
.footer-base { margin-top: 36px; font-size: 13px; }
.footer-base p { padding-top: 20px; border-top: 1px solid var(--border); }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 1099px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Onder 900 px: apparaten onder de tekst, telefoon vóór de laptop. */
@media (max-width: 899px) {
  :root { --topbar: 60px; }
  .nav { display: none; }
  .topbar-act { margin-left: auto; }
  .hero-grid, .club-grid, .pilot-grid, .werking-grid { grid-template-columns: minmax(0, 1fr); }
  .devices { display: flex; flex-direction: column; align-items: center; gap: 28px; padding-bottom: 0; }
  .phone { position: relative; right: auto; bottom: auto; order: -1; width: 66%; max-width: 250px; aspect-ratio: 9 / 16; }
  .laptop { width: 92%; }
  .laptop-base { margin: 0 -4%; }
  .tabs { margin-top: 24px; }
  .cards, .future-grid { grid-template-columns: minmax(0, 1fr); }
  .fcard-wide { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }

  /* Stappen: het scherm blijft bovenaan staan, de tekst schuift eronderdoor. */
  .werking-visual { order: -1; top: var(--topbar); z-index: 2; padding: 12px 0 16px; background: linear-gradient(180deg, var(--canvas) 85%, transparent); }
  .tablet { max-width: 340px; margin: 0 auto; padding: 8px; border-radius: 20px; }
  .tablet-screen { border-radius: 13px; }
  .step { min-height: 48vh; padding: 24px 0 24px 20px; }
}

@media (max-width: 599px) {
  .stage-lg { aspect-ratio: 4 / 3; }
  .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tile:last-child { grid-column: 1 / -1; }
  .tile b { font-size: 26px; }
  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .dash-use { flex-direction: column; align-items: stretch; }
  .meter { width: 100%; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  #pilot form { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .fact-num { font-size: 24px; }
  .fact-label { font-size: 12px; }
}

/* Smalste telefoons: alleen het logo in de kopbalk (de link heeft een aria-label). */
@media (max-width: 479px) {
  .topbar .brand span { display: none; }
  .topbar-act { gap: 4px; }
  .nav-login { padding: 10px 8px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- Effecten (landing.js) ----------
   html.js zet het inline script in <head>; html.fx zet landing.js zelf. Laadt landing.js niet, dan haalt het script
   "js" na 2,5 s weer weg en staat alles gewoon in beeld. Alle beweging alleen bij prefers-reduced-motion: no-preference. */
@media (prefers-reduced-motion: no-preference) {
  /* 4. Inschuiven. */
  html.js .reveal { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
  html.js .reveal:not(.in) { opacity: 0; transform: translateY(24px); }

  /* 1. Kantelen (landing.js zet --rx/--ry en "is-tilting", alleen met een muis). */
  html.js [data-tilt] { transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .7s cubic-bezier(.2, .7, .2, 1), box-shadow .3s ease; }
  html.js [data-tilt].is-tilting {
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .12s ease-out, box-shadow .3s ease;
  }

  /* 5. Levende achtergrond: zwevende gloed en glans over kernwoorden. */
  .aurora i { will-change: transform; }
  .aurora i:nth-child(1) { animation: aurora-1 18s ease-in-out infinite alternate; }
  .aurora i:nth-child(2) { animation: aurora-2 23s ease-in-out infinite alternate; }
  .aurora i:nth-child(3) { animation: aurora-3 15s ease-in-out infinite alternate; }
  .shine { animation: shine 5s ease-in-out infinite alternate; }

  /* 6. Lopende band: de inhoud staat er (minstens) twee keer in; -50% loopt naadloos rond.
     padding-right = gap, zodat de helft precies één reeks plus tussenruimte is. */
  .marquee.is-running .marquee-track { padding-right: 10px; animation: marquee var(--marquee-dur, 40s) linear infinite; }
  .marquee-rev.is-running .marquee-track { animation-direction: reverse; }
  .marquee.is-running:hover .marquee-track { animation-play-state: paused; }

  /* 2. Chat: berichten schuiven in, de assistent typt. */
  .msg-in { animation: msg-in .35s cubic-bezier(.2, .7, .2, 1) both; }
  .msg.typing i { animation: typing-dot 1s ease-in-out infinite; }
  .msg.typing i:nth-child(2) { animation-delay: .15s; }
  .msg.typing i:nth-child(3) { animation-delay: .3s; }
}
@keyframes aurora-1 { to { transform: translate(22%, 16%) scale(1.08); } }
@keyframes aurora-2 { to { transform: translate(-20%, -10%) scale(.94); } }
@keyframes aurora-3 { to { transform: translate(-30%, 24%) scale(1.15); } }
@keyframes shine { to { background-position: 100% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes typing-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

/* Lichtvlek: zachte randen, ook als de muis in een hoek staat (anders een harde rand van het vlak). */
.spot {
  -webkit-mask-image: radial-gradient(farthest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(farthest-side, #000 55%, transparent 100%);
}

/* Chat tijdens het afspelen: nog niet getoond, en het veldje en de 3D-knop klappen pas aan het eind open.
   De titel van de training op één regel, zodat een lange titel de vraag niet onder de kop van de telefoon duwt. */
.chat .chat-hide { display: none; }
.msg-card > span b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-card .mini-pitch { transition: max-height .6s ease, opacity .4s ease; }
.msg-card .open3d { transition: opacity .4s ease .2s; }
.msg-card.is-closed .mini-pitch { max-height: 0; opacity: 0; }
.msg-card.is-closed .open3d { opacity: 0; }

/* Stappen wisselen bij "minder beweging" zonder overgang. */
@media (prefers-reduced-motion: reduce) {
  .wscreen, .step, .step::before { transition: none; }
}

/* 8. Magnetische knoppen gloeien als de muis dichtbij is; gouden ring volgt de cursor (alleen muis). */
.magnetic.is-near.btn-gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), var(--gold-bloom), 0 0 44px -8px rgba(229, 193, 88, .55); }
.cursor-ring {
  position: fixed; left: 0; top: 0; z-index: 90; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border: 1.5px solid var(--gold-light); border-radius: 50%; pointer-events: none; opacity: 0;
  transition: opacity .2s ease, width .2s ease, height .2s ease, margin .2s ease, background-color .2s ease;
}
.cursor-ring.is-on { opacity: .85; }
.cursor-ring.is-big { width: 60px; height: 60px; margin: -30px 0 0 -30px; background: rgba(212, 175, 55, .12); }

/* ---------- Live 3D (landing-3d.js) ----------
   De speler zet zijn canvas vooraan in het vak; het vloeit pas in als het eerste beeld getekend is (.is-live), tot dan
   staat het stilstaande beeld eronder. Op een touchscherm scrolt verticaal vegen gewoon de pagina. */
.stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; opacity: 0; }
.stage > canvas:active { cursor: grabbing; }
.stage.is-live > canvas { opacity: 1; }
@media (pointer: coarse) { .stage > canvas { touch-action: pan-y; } }
@media (prefers-reduced-motion: no-preference) { .stage > canvas { transition: opacity .4s ease; } }
/* Laptopvak: te klein voor tekst in beeld (actiewoorden, wolkje of ondertitel van de trainer); alleen de beweging. */
#hero-stage .v3d-labels { display: none; }
/* Groot vak na een klik erin: het wiel zoomt nu (landing-3d.js); een gouden rand laat dat zien. */
.stage.is-engaged::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--gold-border);
}

/* Bediening onder het grote vak: afspelen/pauze, oefening en variant. */
.try-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin: 18px 0 0; }
.try-bar[hidden] { display: none; }
.try-play { min-width: 8.5em; }
.try-pick { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; font: 500 13px/1.3 var(--font-head); color: var(--muted); }
.try-pick select {
  min-width: 0; max-width: min(24em, 70vw); min-height: 38px; padding: 0 36px 0 14px; border-radius: var(--pill);
  font: 500 14px/1.2 var(--font-body); color: var(--white); text-overflow: ellipsis;
  background: var(--elevated) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E5C158' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px;
  border: 1px solid var(--gold-border); appearance: none; cursor: pointer;
}
.try-pick select:hover { border-color: var(--gold); }
.try-pick select option { background: var(--surface); color: var(--white); }
