/* Homepage design (c2-v3), for / and /nl/. Loaded after style.css and overrides it. Merged from the design drafts:
   shared.css, live.css, kit.css, paths.css, l2.css, c2.css, c2v.css, lang.css. */

/* ── shared.css ── */
/* Gedeeld door de drie varianten (night.html, roadbook.html, poster.html): de secties die blijven
   (de drie stappen en de kaarten voor functies 5–7), de kleine profielen en routekaartjes, en de variantkiezer van de draft.
   Laadt na site/style.css; elke variant zet daarna zijn eigen kleuren via de CSS-variabelen. Geen inline styles (CSP). */

:where(.page > section) { padding-top: 112px; }
.eyebrow, .section-head .eyebrow { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin: 0 0 -8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.button:active { transform: translateY(1px) scale(0.98); }

/* Alleen in de draft: wisselen tussen de varianten. */
.draft-switch { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: #121722; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6); font-family: var(--mono); font-size: 12px; }
.draft-switch a { padding: 8px 12px; border-radius: 10px; color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.draft-switch a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.draft-switch a[aria-current="page"] { background: #fff; color: #121722; }

/* Kleine hoogteprofielen en routekaartjes (echte data uit public/routes/*.gpx). */
.spark { display: block; width: 200px; height: 44px; overflow: visible; }
.spark-line { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.spark-area { fill: var(--cobalt-soft); }
.rmap { display: block; overflow: visible; }
.rmap-line { fill: none; stroke: var(--cobalt); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.rmap-start { fill: var(--bg); stroke: var(--cobalt); stroke-width: 2; }
.rmap-end { fill: var(--cobalt); }

/* Functies 5–7 als kaarten. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card { --pad: clamp(24px, 3.2vw, 44px); position: relative; display: flex; flex-direction: column; gap: 28px; min-width: 0; padding: var(--pad); border-radius: 32px; overflow: hidden; }
.card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 12px 0 14px; }
.card-copy > p { margin: 0 0 20px; font-size: 1.05rem; color: var(--muted); }
.card-race { grid-column: span 5; color: #fff; background: radial-gradient(120% 90% at 0% 0%, #2b3550, transparent 60%), var(--ink); }
.card-rider { grid-column: span 7; background: radial-gradient(90% 80% at 100% 100%, #dfe6fb, transparent 60%), var(--cobalt-soft); }
.card-progress { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 5vw, 72px); color: #fff; background: radial-gradient(90% 120% at 100% 0%, var(--cobalt-mid), transparent 60%), var(--cobalt); }
.card-race .card-copy > p, .card-progress .card-copy > p { color: rgba(255, 255, 255, 0.78); }
.card-race .tag, .card-progress .tag { color: var(--cobalt-pale); }
.card-race .points, .card-progress .points { border-top-color: rgba(255, 255, 255, 0.16); }
.card-race .points li::before { background: var(--cobalt-pale); }
.card-progress .points li::before { background: #fff; }
.card-race .board { margin-top: auto; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.peloton { position: relative; height: 26px; margin: 0 clamp(18px, 3vw, 32px) 18px; border-bottom: 2px dashed rgba(255, 255, 255, 0.2); }
.peloton i { position: absolute; bottom: 5px; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.peloton i:nth-child(1) { left: 66%; background: #fff; }
.peloton i:nth-child(2) { left: 57%; background: var(--cobalt-pale); }
.peloton i:nth-child(3) { left: 52%; }
.peloton i:nth-child(4) { left: 40%; background: var(--cobalt-pale); }
.peloton i:nth-child(5) { left: 18%; }
.card-shot { margin: 0; min-width: 0; }
.card-shot img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(15, 29, 82, 0.6); }
.card-rider .card-shot { margin-top: auto; margin-right: -22%; }
.card-rider .card-shot img { border-radius: 14px 0 0 14px; }
.card-progress .card-shot { margin-bottom: calc(-1 * var(--pad) - 70px); transform: rotate(1.5deg); transition: transform 0.6s var(--ease); }
.card-progress:hover .card-shot { transform: rotate(0) translateY(-14px); }

/* De drie stappen als kaarten. */
.steps ol.steps-cards { gap: 20px; border-top: 0; }
.steps ol.steps-cards::before { display: none; }
.steps-cards li { display: flex; flex-direction: column; padding: 0; border-radius: 28px; background: var(--bg-soft); overflow: hidden; }
.step-art { display: grid; place-items: center; min-height: 220px; padding: 24px; background: radial-gradient(120% 100% at 100% 0%, #dfe6fb, transparent 60%), var(--cobalt-soft); }
.step-body { padding: 24px 26px 28px; }
.steps-cards .step { font-size: 12px; letter-spacing: 0.12em; color: var(--cobalt); margin-bottom: 10px; }
.ui { width: min(100%, 290px); padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 13.5px; line-height: 1.4; color: #121722; box-shadow: 0 20px 40px -22px rgba(31, 58, 158, 0.55), 0 0 0 1px rgba(31, 58, 158, 0.06); }
.ui-from { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.ui-sub { display: block; margin: 2px 0 12px; color: var(--muted); }
.ui-btn { display: inline-block; padding: 8px 12px; border-radius: 10px; background: var(--cobalt); color: #fff; font-weight: 800; font-size: 13px; }
.ui-pair { display: grid; gap: 8px; padding: 12px; }
.ui-pair span { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px; background: var(--bg-soft); font-weight: 600; }
.ui-pair em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cobalt); }
.ui-pair em::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ui-route { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; }
.ui-route strong { font-weight: 800; }
.ui-route small { grid-column: 1; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.ui-route .ui-btn { grid-column: 2; grid-row: 1 / span 2; border-radius: 999px; }
.ui-route .spark { grid-column: 1 / -1; width: 100%; height: auto; margin-top: 8px; }

@media (prefers-reduced-motion: no-preference) {
  .peloton i { animation: chase 3.4s ease-in-out infinite alternate; }
  .peloton i:nth-child(2) { animation-duration: 4.6s; animation-delay: -1s; }
  .peloton i:nth-child(3) { animation-duration: 2.8s; animation-delay: -2s; }
  .peloton i:nth-child(4) { animation-duration: 5.2s; }
  .peloton i:nth-child(5) { animation-duration: 3.9s; animation-delay: -0.5s; }
  .steps-cards li { transition: transform 0.35s var(--ease), box-shadow 0.35s; }
  .steps-cards li:hover { transform: translateY(-4px); }
  @supports (animation-timeline: view()) {
    .steps-cards li { view-timeline-name: --step; }
    .ui-pair span { animation: from-left linear both; animation-timeline: --step; animation-range: entry 30% cover 35%; }
    .ui-pair span:nth-child(2) { animation-range: entry 45% cover 42%; }
    .ui-pair span:nth-child(3) { animation-range: entry 60% cover 50%; }
  }
}
@keyframes chase { from { transform: translateX(-14px); } to { transform: translateX(22px); } }
@keyframes draw { from { stroke-dashoffset: 1; } }
@keyframes from-right { from { opacity: 0; transform: translateX(64px); } }

@media (max-width: 960px) {
  .card-race, .card-rider { grid-column: 1 / -1; }
  .card-progress { grid-template-columns: minmax(0, 1fr); }
  .steps ol.steps-cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .card-rider .card-shot { margin-right: -60%; }
  .draft-switch { left: 8px; bottom: 8px; font-size: 11px; }
  .draft-switch a { padding: 7px 9px; }
}

/* ---------- Voor de varianten app / climb / live: de lichte basis van de app (Kalk Kobalt, src/styles.css) ---------- */
body.kalk { --app-bg: #f3f5f8; --surface: #fff; --surface-2: #eef1f5; --line-strong: #cfd5df; --ghost: #5b6b8c; --radius: 26px; --app-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -26px rgba(22, 32, 64, 0.22); --glass: rgba(255, 255, 255, 0.78); --glass-line: rgba(18, 23, 34, 0.08); background: var(--app-bg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.zbars .z1 { fill: #c9d0dc; } .zbars .z2 { fill: #aebef0; } .zbars .z3 { fill: #879fe7; }
.zbars .z4 { fill: #5b79dd; } .zbars .z5 { fill: #2f55d4; } .zbars .z6 { fill: #1d3488; }
/* Het downloadformulier op een lichte achtergrond (op de site staat het op kobalt). */
.form-light .signup label { color: var(--text); }
.form-light .signup input:not([type="checkbox"]) { border: 1px solid var(--line-strong); box-shadow: 0 1px 2px rgba(18, 23, 34, 0.04); }
.form-light .signup input:not([type="checkbox"]):focus-visible { outline: 3px solid var(--cobalt-pale); border-color: var(--cobalt); }
.form-light .signup-consent, .form-light .signup-hint { color: var(--muted); }
.form-light .signup-consent a { color: var(--text); }
.form-light .signup input[type="checkbox"] { accent-color: var(--cobalt); }
.form-light .button.primary { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: 0 16px 30px -16px rgba(47, 85, 212, 0.75); }
.form-light .button.primary:hover { background: var(--cobalt-hover); color: #fff; }
.form-light .signup-status.error { color: #c2453d; }
/* Rollende cijfers in de nagebouwde HUD: een kolom waarden die per stap één regel opschuift. Zonder animatie staat de eerste waarde. */
.roll { display: inline-block; height: 1em; overflow: hidden; line-height: 1; vertical-align: top; }
.roll > span { display: flex; flex-direction: column; }
.roll i { display: block; height: 1em; font-style: normal; }
@media (prefers-reduced-motion: no-preference) {
  .roll > span { animation: roll 10s var(--ease) infinite; }
  .roll.slow > span { animation-duration: 14s; }
}
@keyframes roll { 0%, 14% { transform: translateY(0); } 17%, 31% { transform: translateY(-1em); } 34%, 48% { transform: translateY(-2em); } 51%, 65% { transform: translateY(-3em); } 68%, 82% { transform: translateY(-4em); } 85%, 100% { transform: translateY(-5em); } }

/* ── live.css ── */
/* Variant C · Live: een bento van witte tegels zoals het startscherm van de app, en in elke tegel beweegt iets kleins
   (vermogen, de race die klaarstaat, een route die zich tekent, een workout die opbouwt, de week die vordert).
   Kalk Kobalt-kleuren. Laadt na site/style.css en shared.css. Geen inline styles (CSP); zonder animaties staat alles stil
   in zijn eindtoestand en is alle tekst gewoon zichtbaar. */

.v-live .site-head { position: sticky; top: 12px; margin: 12px auto 0; max-width: 1180px; width: calc(100% - 24px); color: var(--text); border-radius: 20px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -28px rgba(22, 32, 64, 0.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); animation: none; }
.v-live .site-head .wrap { padding-block: 10px; padding-left: 16px; padding-right: 10px; }
.v-live .site-head .brand { color: var(--text); }
.v-live .head-nav a { color: var(--muted); }
.v-live .head-nav a:hover { color: var(--text); }
.v-live .head-cta { color: #fff; background: var(--ink); border-color: var(--ink); border-radius: 12px; }
.v-live .head-cta:hover { color: #fff; background: var(--cobalt); border-color: var(--cobalt); }
.v-live h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -0.04em; line-height: 1.03; }
.c-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px; align-items: end; margin-bottom: 36px; }
.c-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.c-tile { position: relative; min-width: 0; border-radius: var(--radius); background: #fff; box-shadow: var(--app-shadow), 0 0 0 1px var(--line); overflow: hidden; }
.c-lab { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.c-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cobalt); }

/* ---------- Hero: kop over de volle breedte, formulier ernaast, daaronder het bord met live tegels ---------- */
.c-hero { padding-top: clamp(48px, 6vw, 88px); }
.c-hero-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.c-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.c-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.3rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 800; }
.c-hero h1 em { font-style: normal; color: var(--cobalt); }
.c-lead { max-width: 54ch; margin: 22px 0 0; color: var(--muted); font-size: 1.1rem; }
.c-form { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--app-shadow), 0 0 0 1px var(--line); }
.c-ticks { list-style: none; margin: 14px 0 0; padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; }
.c-ticks li { display: flex; align-items: center; gap: 7px; }
.c-ticks li::before { content: ''; width: 16px; height: 16px; border-radius: 5px; background: var(--cobalt) url("img/check.svg") center / 11px no-repeat; }

.c-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.c-video { grid-column: span 6; grid-row: span 2; margin: 0; background: var(--ink); }
.c-video .hero-video, .c-video .hero-video img { height: 100%; border-radius: 0; }
.c-power { grid-column: span 3; display: flex; flex-direction: column; padding: 18px 20px; color: #fff; background: var(--cobalt); box-shadow: 0 24px 40px -26px rgba(47, 85, 212, 0.8); }
.c-power .c-lab { color: rgba(255, 255, 255, 0.72); }
.c-power-num { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.c-power-num .roll { font-family: var(--mono); font-size: 52px; letter-spacing: -0.05em; }
.c-power-num small { color: rgba(255, 255, 255, 0.75); font-size: 13px; }
.c-trace { position: relative; height: 44px; margin: auto -20px -18px; overflow: hidden; }
.c-trace svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.c-trace path { fill: rgba(255, 255, 255, 0.16); stroke: rgba(255, 255, 255, 0.7); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.c-race { grid-column: span 3; display: flex; flex-direction: column; padding: 18px 20px; color: #fff; background: var(--ink); }
.c-race .c-lab { color: rgba(255, 255, 255, 0.6); }
.c-race b { margin-top: 8px; font-family: var(--mono); font-size: 46px; line-height: 1; letter-spacing: -0.05em; }
.c-race-state { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.c-race-state .c-live { background: var(--cobalt-pale); }
.c-race .peloton { margin: auto 0 0; }
.c-map { grid-column: span 3; display: flex; flex-direction: column; padding: 16px 18px 14px; background: linear-gradient(rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 24px 24px, #fff; }
.c-map .rmap { flex: 1; width: 100%; min-height: 90px; }
.c-map .rmap-line { stroke-width: 3; }
.c-map span:last-child { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.c-ever { grid-column: span 3; display: flex; flex-direction: column; padding: 18px 20px; }
.c-ever strong { margin-top: 8px; font-size: 1.15rem; letter-spacing: -0.02em; }
.c-ever-bar { height: 8px; margin-top: auto; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.c-ever-bar i { display: block; width: 38.6%; height: 100%; border-radius: 4px; background: var(--cobalt); transform-origin: left; }
.c-ever-n { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.c-ever-n b { color: var(--text); }

/* ---------- Functies 1–4: tegels als galerij, de tekst eronder ---------- */
.c-feats { padding-top: clamp(88px, 11vw, 150px); }
.c-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 20px; }
.c-item { min-width: 0; }
.c-i1, .c-i4 { grid-column: span 7; }
.c-i2, .c-i3 { grid-column: span 5; }
.c-vis { height: clamp(260px, 28vw, 360px); }
.c-cap { padding: 22px 6px 0; }
.c-cap h3 { margin: 10px 0 10px; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.1; letter-spacing: -0.03em; }
.c-cap > p { margin: 0 0 16px; max-width: 58ch; color: var(--muted); }
.c-cap .points { max-width: 58ch; }
.c-cap .points li { font-size: 15px; }
.c-vis-ride { background: var(--app-bg); }
.c-vis-ride img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Routes: een GPX-bestand wordt een route. */
.c-vis-import { display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 20px; background: var(--app-bg); }
.c-drop { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 14px; padding: 14px 16px; border: 1.5px dashed var(--cobalt-pale); border-radius: 16px; background: #fff; }
.c-file-ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 48px; border-radius: 6px 14px 6px 6px; background: var(--cobalt-soft); font-family: var(--mono); font-size: 10px; font-weight: 700; color: var(--cobalt); }
.c-drop .roll { font-family: var(--mono); font-size: 14px; height: 1.4em; line-height: 1.4; }
.c-drop .roll i { height: 1.4em; }
.c-progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.c-progress i { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--cobalt); transform-origin: left; }
.c-route-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.c-route-card .rmap { width: 100%; height: 100%; min-height: 100px; }
.c-route-card .rmap-line { stroke-width: 3; }
.c-route-card div { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.c-route-card .spark { width: 100%; height: auto; }
.c-route-card strong { font-size: 14px; }
/* Workouts: de blokken bouwen op, ERG houdt het vermogen vast. */
.c-vis-wo { display: flex; flex-direction: column; padding: 20px 20px 18px; background: var(--app-bg); }
.c-wo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.c-wo-head strong { font-size: 15px; }
.c-erg { padding: 5px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; }
.c-blocks { position: relative; display: flex; align-items: flex-end; gap: 3px; flex: 1; margin-top: 18px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.c-blocks i { border-radius: 4px 4px 2px 2px; transform-origin: bottom; }
.c-blocks .z1 { background: #c9d0dc; } .c-blocks .z2 { background: #aebef0; } .c-blocks .z3 { background: #879fe7; } .c-blocks .z4 { background: #5b79dd; } .c-blocks .z5 { background: #2f55d4; }
.c-blocks i:nth-child(1) { flex: 3; height: 26%; } .c-blocks i:nth-child(2) { flex: 3; height: 38%; } .c-blocks i:nth-child(3) { flex: 2; height: 50%; }
.c-blocks i:nth-child(4), .c-blocks i:nth-child(6), .c-blocks i:nth-child(8), .c-blocks i:nth-child(10) { flex: 4; height: 82%; }
.c-blocks i:nth-child(5), .c-blocks i:nth-child(7), .c-blocks i:nth-child(9) { flex: 2; height: 30%; }
.c-blocks i:nth-child(11) { flex: 3; height: 36%; } .c-blocks i:nth-child(12) { flex: 3; height: 24%; }
.c-cursor { position: absolute; top: 8px; bottom: 8px; left: 12px; right: 12px; pointer-events: none; transform: translateX(34%); }
.c-cursor i { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.c-wo-foot { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
/* Plan: de week in de kalender, met de kleuren van de chips in de app. */
.c-vis-plan { display: flex; flex-direction: column; padding: 20px; background: var(--app-bg); }
.c-plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.c-plan-head strong { font-size: 15px; }
.c-week { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; flex: 1; }
.c-day { display: flex; flex-direction: column; gap: 8px; padding: 10px 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.c-day > span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.c-chip { padding: 6px 8px; border-radius: 8px; font-size: 12px; font-weight: 600; line-height: 1.25; }
.c-chip small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--muted); }
.c-chip.done { box-shadow: inset 3px 0 0 #1f3a9e; background: rgba(31, 58, 158, 0.1); }
.c-chip.today { box-shadow: inset 3px 0 0 var(--cobalt); background: var(--cobalt-soft); }
.c-chip.planned { box-shadow: inset 3px 0 0 var(--ghost); background: var(--surface-2); }
.c-today { position: absolute; top: -4px; bottom: -4px; left: 0; width: calc((100% - 48px) / 7 + 8px); margin-left: -4px; border: 2px solid var(--cobalt); border-radius: 17px; pointer-events: none; transform: translateX(300%); }
.c-plan-foot { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }

.v-live .more { padding-top: clamp(64px, 8vw, 104px); }

/* ---------- Routes: een band van routekaarten die langzaam voorbijschuift ---------- */
.c-routes { padding-top: clamp(88px, 11vw, 150px); }
.c-stream { display: flex; overflow: hidden; padding: 8px 0 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.c-stream ul { flex: none; display: flex; gap: 16px; margin: 0; padding: 0 16px 0 0; list-style: none; }
.c-rcard { display: flex; flex-direction: column; width: 280px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--app-shadow), 0 0 0 1px var(--line); transition: transform 0.35s var(--ease); }
.c-rcard:hover { transform: translateY(-6px); }
.c-rcard .rmap { width: 100%; height: 130px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 22px 22px, #f6f8fb; }
.c-rcard .rmap-line { stroke-width: 3; }
.c-rcard .c-lab { margin-bottom: 4px; }
.c-rcard h3, .c-rcard .h3 { margin: 0; font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.c-rcard small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.c-rcard .spark { width: 100%; height: auto; margin-top: auto; padding-top: 14px; }
.c-rcard .spark-area { fill: var(--cobalt-soft); }
.c-rcard .num { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--cobalt); }

/* ---------- Privacy: wat de app doorstuurt en wat thuis blijft ---------- */
.c-priv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.c-priv-copy { padding: clamp(24px, 3vw, 40px); }
.c-claims { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.c-claims li { position: relative; padding-left: 30px; color: var(--muted); }
.c-claims li::before { content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: var(--cobalt) url("img/check.svg") center / 12px no-repeat; }
.c-flow { display: grid; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); align-items: center; padding: clamp(20px, 3vw, 36px); background: var(--app-bg); }
.c-node { display: grid; gap: 8px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.c-node .c-lab { margin-bottom: 4px; }
.c-node span:not(.c-lab) { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.c-node.home { box-shadow: 0 0 0 2px var(--cobalt); }
.c-node.home span:not(.c-lab) { background: var(--cobalt-soft); color: var(--cobalt-deep); }
.c-wire { position: relative; height: 2px; margin: 0 6px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px); }
.c-wire i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); }

/* ---------- FAQ: twee kolommen tegels ---------- */
.v-live .faq { max-width: 1180px; }
.c-faq h2 { margin-bottom: 32px; }
.c-faq-cols { columns: 2; column-gap: 16px; }
.c-faq details { break-inside: avoid; margin-bottom: 12px; padding: 0 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.c-faq details[open] { box-shadow: 0 0 0 2px var(--cobalt); }

/* ---------- Slot ---------- */
.c-final { padding-bottom: clamp(72px, 9vw, 120px); }
.c-final-tile { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: 32px; color: #fff; background: var(--cobalt); box-shadow: 0 40px 80px -50px rgba(47, 85, 212, 0.9); }
.c-final h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.c-final .lead { margin: 16px 0 26px; color: rgba(255, 255, 255, 0.84); font-size: 1.1rem; }
.c-final-vis { padding: 18px 20px 16px; border-radius: 22px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.c-final-read { display: flex; gap: 28px; margin-bottom: 14px; }
.c-final-read div { display: grid; gap: 4px; }
.c-final-read .c-lab { color: rgba(255, 255, 255, 0.65); }
.c-final-read b { font-family: var(--mono); font-size: 1.8rem; letter-spacing: -0.04em; }
.c-final-read b .roll { height: 1em; }
.c-final-prof { position: relative; height: 110px; overflow-x: clip; }
.c-final-prof .zbars { display: block; width: 100%; height: 100%; }
.c-final-prof .zbars rect { fill: rgba(255, 255, 255, 0.3); }
.c-final-prof .zbars .z4, .c-final-prof .zbars .z5, .c-final-prof .zbars .z6 { fill: rgba(255, 255, 255, 0.62); }
.c-final-prof .c-track { position: absolute; inset: -4px 0; }
.c-final-prof .c-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; }
.c-final-prof .c-track i::before { content: ''; position: absolute; left: -5px; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3); }

/* ---------- Beweging: kleine lussen in elke tegel ---------- */
@media (prefers-reduced-motion: no-preference) {
  .c-live { animation: c-breathe 2.2s ease-in-out infinite; }
  .c-hero-top > * { animation: c-up 0.8s var(--ease) both; }
  .c-hero-top > :nth-child(2) { animation-delay: 0.12s; }
  .c-board > * { animation: c-up 0.9s var(--ease) both; }
  .c-board > :nth-child(2) { animation-delay: 0.08s; } .c-board > :nth-child(3) { animation-delay: 0.14s; }
  .c-board > :nth-child(4) { animation-delay: 0.2s; } .c-board > :nth-child(5) { animation-delay: 0.26s; }
  .c-trace svg { animation: c-scroll 9s linear infinite; }
  .c-map .rmap-line { animation: c-draw 6s var(--ease) infinite; }
  .c-ever-bar i { animation: c-fill 6s var(--ease) infinite; }
  .c-progress i { animation: c-fill 2.5s var(--ease) infinite; }
  .c-drop .roll > span { animation-duration: 7.5s; animation-name: c-roll3; }
  .c-route-card .rmap-line { animation: c-draw 2.5s var(--ease) infinite; }
  .c-blocks i { animation: c-grow 7s var(--ease) infinite; }
  .c-blocks i:nth-child(2) { animation-delay: 0.08s; } .c-blocks i:nth-child(3) { animation-delay: 0.16s; } .c-blocks i:nth-child(4) { animation-delay: 0.24s; }
  .c-blocks i:nth-child(5) { animation-delay: 0.32s; } .c-blocks i:nth-child(6) { animation-delay: 0.4s; } .c-blocks i:nth-child(7) { animation-delay: 0.48s; } .c-blocks i:nth-child(8) { animation-delay: 0.56s; }
  .c-blocks i:nth-child(9) { animation-delay: 0.64s; } .c-blocks i:nth-child(10) { animation-delay: 0.72s; } .c-blocks i:nth-child(11) { animation-delay: 0.8s; } .c-blocks i:nth-child(12) { animation-delay: 0.88s; }
  .c-cursor { animation: c-sweep 7s linear infinite; }
  .c-today { animation: c-week 10s steps(1) infinite; }
  .c-stream ul { animation: c-stream 60s linear infinite; }
  .c-stream:hover ul { animation-play-state: paused; }
  .c-wire i { animation: c-packet 3s var(--ease) infinite; }
  .c-final-prof .c-track { animation: c-climb 14s linear infinite; }
  .c-final-read .roll > span { animation-duration: 14s; }
  @supports (animation-timeline: view()) {
    .c-item { animation: c-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .c-i2, .c-i4 { animation-range: entry 8% cover 32%; }
    .c-priv > * { animation: c-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes c-breathe { 50% { box-shadow: 0 0 0 6px rgba(47, 85, 212, 0.18); } }
@keyframes c-up { from { transform: translateY(26px); } }
@keyframes c-rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes c-scroll { to { transform: translateX(-50%); } }
@keyframes c-draw { 0% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes c-fill { 0% { transform: scaleX(0); } 60%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0.3; } }
@keyframes c-roll3 { 0%, 28% { transform: translateY(0); } 33%, 61% { transform: translateY(-1.4em); } 66%, 94% { transform: translateY(-2.8em); } 100% { transform: translateY(-4.2em); } }
@keyframes c-grow { 0% { transform: scaleY(0); } 12%, 88% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes c-sweep { 0%, 14% { transform: translateX(0); opacity: 0; } 18% { opacity: 1; } 86% { transform: translateX(100%); opacity: 1; } 90%, 100% { transform: translateX(100%); opacity: 0; } }
@keyframes c-week { 0% { transform: translateX(0); } 14% { transform: translateX(100%); } 28% { transform: translateX(200%); } 42% { transform: translateX(300%); } 57% { transform: translateX(400%); } 71% { transform: translateX(500%); } 85% { transform: translateX(600%); } }
@keyframes c-stream { to { transform: translateX(-100%); } }
@keyframes c-packet { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateX(58px); opacity: 0; } }
@keyframes c-climb { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* ---------- Kleinere schermen ---------- */
@media (max-width: 960px) {
  .c-hero-top, .c-head, .c-priv, .c-final-tile { grid-template-columns: minmax(0, 1fr); }
  .c-video { grid-column: 1 / -1; grid-row: auto; }
  .c-power, .c-race, .c-map, .c-ever { grid-column: span 6; }
  .c-i1, .c-i2, .c-i3, .c-i4 { grid-column: 1 / -1; }
  .c-faq-cols { columns: 1; }
}
@media (max-width: 620px) {
  .v-live .head-nav { display: none; }
  .c-form { padding: 16px; }
  .c-board { gap: 12px; grid-auto-rows: minmax(140px, auto); }
  .c-power, .c-race, .c-map, .c-ever { grid-column: span 12; }
  .c-power-num .roll { font-size: 44px; }
  .c-vis { height: auto; min-height: 260px; }
  .c-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c-today { display: none; }
  .c-flow { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .c-wire { width: 2px; height: 40px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--line-strong) 0 6px, transparent 6px 11px); }
  .c-wire i { display: none; }
  .c-route-card { grid-template-columns: minmax(0, 1fr); }
}

/* ── kit.css ── */
/* Onderdelen voor de varianten C1, C2 en C3 (live-1/2/3.html): de 3D-scène met een nagebouwde HUD, de vier
   demo's voor de functies (helling en weerstand, een GPX-import, een ERG-workout, een trainingsweek) en de slot-CTA
   (de detailkaart van de Ventoux uit variant A). Laadt na site/style.css, shared.css en live.css.
   Geen inline styles (CSP). Zonder animaties staat elke demo in zijn eindtoestand: alles is zichtbaar. */

/* ---------- De 3D-scène: een uitsnede van een echte rit, zonder de HUD van de app (img/indoor-cycling-app-3d-ride-bike-path.jpg) ---------- */
.scene { position: relative; overflow: hidden; border-radius: var(--radius); background: #a9bccd; isolation: isolate; box-shadow: 0 40px 80px -50px rgba(22, 32, 64, 0.55), 0 0 0 1px rgba(18, 23, 34, 0.06); }
.scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform-origin: 50% 60%; }
.hud { position: absolute; z-index: 2; }
.glass { border-radius: 14px; background: rgba(255, 255, 255, 0.82); box-shadow: 0 0 0 1px rgba(18, 23, 34, 0.08), 0 18px 30px -20px rgba(22, 32, 64, 0.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hud .c-lab { display: block; font-size: 9.5px; }
.hud-pow { left: 14px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 8px 14px 11px; border-radius: 14px; color: #fff; background: var(--cobalt); box-shadow: 0 18px 30px -16px rgba(31, 58, 158, 0.8); overflow: hidden; }
.hud-pow::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--cobalt-deep); }
.hud-pow .roll { font-family: var(--mono); font-size: 34px; letter-spacing: -0.04em; }
.hud-pow small { font-size: 10.5px; line-height: 1.25; color: rgba(255, 255, 255, 0.8); }
.hud-grade { left: 14px; top: 84px; padding: 8px 12px 10px; }
.hud-grade b, .hud-speed b { font-family: var(--mono); font-size: 28px; line-height: 1.05; letter-spacing: -0.05em; }
.hud-grade b small, .hud-speed b small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.hud-speed { right: 14px; top: 14px; padding: 8px 12px 10px; text-align: right; }
.hud-prof { left: 14px; right: 14px; bottom: 14px; height: 50px; padding: 7px 9px; overflow-x: clip; }
.hud-prof .zbars { display: block; width: 100%; height: 100%; }
.trk { position: absolute; inset: 7px 9px; pointer-events: none; }
.trk i { position: absolute; left: 0; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--ink); }
.trk i::before { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px #fff; }
.hud-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.hud-chip .c-live { width: 7px; height: 7px; }
.hud-chip b { font-family: var(--mono); color: var(--cobalt); }

/* ---------- Demo 1 · Ride: de helling stuurt de weerstand ---------- */
.d-ride .scene { aspect-ratio: 2; }
.gauge { right: 14px; top: 84px; bottom: 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 54px; padding: 10px 8px; }
.gauge-bar { position: relative; flex: 1; width: 14px; border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.gauge-bar i { position: absolute; inset: 0; border-radius: 7px; background: linear-gradient(to top, #879fe7, #2f55d4 60%, #1d3488); transform-origin: bottom; transform: scaleY(0.22); }
.gauge .c-lab { writing-mode: vertical-rl; transform: rotate(180deg); }
.hud-ghost { left: 14px; bottom: 14px; } /* not .ghost: site/style.css uses that for the big "21 km" in the old closing section */

/* ---------- Demo 2 · Routes: een GPX-bestand wordt een route ---------- */
.d-import { display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 18px; border-radius: 22px; background: var(--app-bg); }
.imp-drop { position: relative; display: grid; place-items: center; min-height: 92px; border: 1.5px dashed var(--cobalt-pale); border-radius: 16px; background: #fff; }
.imp-hint { transition: opacity 0.3s; }
.imp-file { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 24px -14px rgba(22, 32, 64, 0.5); font-family: var(--mono); font-size: 13px; }
.imp-file .c-file-ic { width: 30px; height: 36px; }
.imp-bar { position: absolute; left: 18px; right: 18px; bottom: 12px; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.imp-bar i { display: block; height: 100%; background: var(--cobalt); transform-origin: left; }
.imp-out { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.imp-out .rmap { width: 100%; height: 100%; min-height: 120px; border-radius: 10px; background: linear-gradient(rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 18px 18px, #f6f8fb; }
.imp-out .rmap-line { stroke-width: 3; }
.imp-side { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
.imp-side strong { font-size: 15px; }
.imp-side .spark { width: 100%; height: auto; transform-origin: bottom; }
.imp-ready { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--cobalt); color: #fff; font-size: 12.5px; font-weight: 700; }

/* ---------- Demo 3 · Workouts: ERG houdt het vermogen vast ---------- */
.d-erg { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--app-bg); }
.erg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.erg-head strong { font-size: 15px; }
.erg-pill { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 13px; }
.erg-pill .roll { font-size: 13px; }
.erg-box { position: relative; display: flex; flex: 1; min-height: 150px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.erg-chart { display: block; flex: 1; width: 100%; min-height: 126px; overflow: visible; }
.erg-chart .z1 { fill: #c9d0dc; } .erg-chart .z2 { fill: #aebef0; } .erg-chart .z3 { fill: #879fe7; } .erg-chart .z4 { fill: #5b79dd; } .erg-chart .z5 { fill: #2f55d4; }
.erg-power { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.erg-foot { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.erg-foot b { color: var(--text); }
.erg-foot .roll { font-size: 12px; }

/* ---------- Demo 4 · Plan: de week vult zich ---------- */
.d-plan { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 22px; background: var(--app-bg); }
.plan-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.plan-head strong { font-size: 15px; }
.plan-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; flex: 1; }
.plan-day { display: flex; flex-direction: column; gap: 6px; min-height: 120px; padding: 8px 6px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.plan-day > span { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.plan-day.is-today { box-shadow: 0 0 0 2px var(--cobalt); }
.p-chip { position: relative; padding: 6px 7px; border-radius: 8px; font-size: 11.5px; font-weight: 600; line-height: 1.25; }
.p-chip small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--muted); }
.p-chip.done { box-shadow: inset 3px 0 0 #1f3a9e; background: rgba(31, 58, 158, 0.1); }
.p-chip.today { box-shadow: inset 3px 0 0 var(--cobalt); background: var(--cobalt-soft); }
.p-chip.planned { box-shadow: inset 3px 0 0 var(--ghost); background: var(--surface-2); }
.plan-load { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.plan-bar { height: 6px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.plan-bar i { display: block; width: 69%; height: 100%; background: var(--cobalt); transform-origin: left; }

/* ---------- Slot: de detailkaart van de Ventoux (variant A), zonder de blokken onderaan ---------- */
.cta { padding-bottom: clamp(72px, 9vw, 120px); }
.cta-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); border-radius: 32px; background: #fff; box-shadow: var(--app-shadow), 0 0 0 1px var(--line); overflow: hidden; }
.cta-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4.4vw, 64px); }
.cta-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.cta-copy > p { margin: 16px 0 28px; color: var(--muted); font-size: 1.1rem; }
.cta-btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border-radius: 999px; background: var(--cobalt); color: #fff; font-size: 1.05rem; font-weight: 800; text-decoration: none; box-shadow: 0 18px 30px -16px rgba(47, 85, 212, 0.85); transition: background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s; }
.cta-btn small { font-weight: 400; opacity: 0.8; }
.cta-btn::after { content: '→'; transition: transform 0.25s var(--ease); }
.cta-btn:hover { color: #fff; background: var(--cobalt-hover); transform: translateY(-2px); }
.cta-btn:hover::after { transform: translateX(4px); }
.cta-btn:active { transform: scale(0.98); }
.cta-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; }
.cta-facts li { padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-family: var(--mono); font-size: 12.5px; }
.cta-facts b { color: var(--cobalt); }
.cta-map { position: relative; min-height: 380px; border-left: 1px solid var(--line); background: linear-gradient(rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(47, 85, 212, 0.05) 1px, transparent 1px) 0 0 / 28px 28px, #f6f8fb; overflow: hidden; }
.cta-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-halo { fill: none; stroke: var(--cobalt-soft); stroke-width: 12; stroke-linejoin: round; stroke-linecap: round; }
.cta-route { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.cta-pin circle { fill: #fff; stroke: var(--cobalt); stroke-width: 3; }
.cta-pin.end circle { fill: var(--cobalt); }
.cta-pin text { font: 800 18px var(--font); fill: var(--ink); paint-order: stroke; stroke: #f6f8fb; stroke-width: 5px; stroke-linejoin: round; }
.cta-pin text.sub { font: 700 13px var(--mono); fill: var(--muted); }
.cta-rider circle { fill: var(--ink); }
.cta-rider .halo { fill: rgba(47, 85, 212, 0.2); }
.cta-readout { position: absolute; right: 18px; top: 18px; padding: 10px 14px; }
.cta-readout b { display: block; font-family: var(--mono); font-size: 22px; letter-spacing: -0.04em; }
.cta-map > .cta-prof { inset: auto 0 0; height: 70px; }
.cta-prof path { fill: rgba(47, 85, 212, 0.08); }
.cta-prof .line { fill: none; stroke: var(--cobalt-pale); stroke-width: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  .scene > img { animation: k-drift 24s ease-in-out infinite alternate; }
  .trk { animation: k-ride 20s linear infinite; }
  .gauge-bar i { animation: k-res 10s var(--ease) infinite; }
  /* GPX-import: 8 s per lus. */
  .imp-file { animation: k-file 8s var(--ease) infinite; }
  .imp-hint { animation: k-hint 8s linear infinite; }
  .imp-bar i { animation: k-bar 8s var(--ease) infinite; }
  .imp-out .rmap-line { animation: k-map 8s var(--ease) infinite; }
  .imp-side .spark { animation: k-prof 8s var(--ease) infinite; }
  .imp-ready { animation: k-ready 8s var(--ease) infinite; }
  /* ERG: de vermogenslijn tekent zich over de blokken. */
  .erg-power { animation: k-trace 9s linear infinite; }
  /* Plan: de chips verschijnen één voor één. */
  .p-chip { animation: k-chip 9s var(--ease) infinite; }
  .plan-day:nth-child(2) .p-chip { animation-delay: 0.25s; } .plan-day:nth-child(4) .p-chip { animation-delay: 0.5s; }
  .plan-day:nth-child(6) .p-chip { animation-delay: 0.75s; } .plan-day:nth-child(7) .p-chip { animation-delay: 1s; }
  .plan-bar i { animation: k-load 9s var(--ease) infinite; }
  .plan-day.is-today { animation: c-breathe 2.4s ease-in-out infinite; }
  @supports (animation-timeline: view()) {
    .cta-card { view-timeline-name: --cta; }
    .cta-route { animation: draw linear both; animation-timeline: --cta; animation-range: entry 10% entry 90%; }
    .cta-pin.end { animation: k-pop linear both; animation-timeline: --cta; animation-range: entry 80% entry 100%; transform-box: fill-box; transform-origin: center; }
  }
}
@keyframes k-drift { from { transform: scale(1); } to { transform: scale(1.07) translateX(-1%); } }
@keyframes k-ride { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes k-res { 0%, 14% { transform: scaleY(0.22); } 17%, 31% { transform: scaleY(0.5); } 34%, 48% { transform: scaleY(0.8); } 51%, 65% { transform: scaleY(0.6); } 68%, 82% { transform: scaleY(0.34); } 85%, 100% { transform: scaleY(0.22); } }
@keyframes k-file { 0% { opacity: 0; transform: translate(-90px, -70px) rotate(-10deg); } 6% { opacity: 1; } 18%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes k-hint { 0%, 14% { opacity: 1; } 18%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes k-bar { 0%, 18% { transform: scaleX(0); } 32%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
@keyframes k-map { 0%, 30% { stroke-dashoffset: 1; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes k-prof { 0%, 45% { transform: scaleY(0); } 60%, 92% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes k-ready { 0%, 60% { opacity: 0; transform: translateY(6px) scale(0.9); } 66%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes k-trace { 0% { stroke-dashoffset: 1; } 88%, 100% { stroke-dashoffset: 0; } }
@keyframes k-chip { 0%, 4% { opacity: 0; transform: translateY(8px) scale(0.92); } 12%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes k-load { 0%, 30% { transform: scaleX(0); } 60%, 92% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes k-pop { from { transform: scale(0); } }

@media (max-width: 960px) {
  .cta-card { grid-template-columns: minmax(0, 1fr); }
  .cta-map { min-height: 300px; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .hud-pow .roll { font-size: 26px; }
  .hud-grade { top: 70px; }
  .hud-grade b, .hud-speed b { font-size: 21px; }
  .hud-speed { display: none; }
  .gauge { top: 14px; width: 44px; }
  .plan-week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .plan-day { min-height: 0; }
  .imp-out { grid-template-columns: minmax(0, 1fr); }
}

/* ── paths.css ── */
/* Gegenereerd: het pad van de Ventoux op de kaart van de slot-CTA (C2), voor de renner die erover rijdt. */
@supports (offset-path: path("M0 0L1 1")) {
  .l2-cta .cta-rider { transform: none; offset-path: path("M61.3 165.4L60 167.9L63.1 168.5L65.7 168.8L67.5 171.1L70.7 171.3L73.9 171.7L76.7 173.1L78.6 175.7L81 177.8L83.5 179.8L86.2 181.6L88.6 183.7L91 185.9L93.4 188.1L96.1 189.9L99.2 190.7L102.2 191.7L105.2 192.9L108.2 194.2L110.6 196.2L109.4 198.7L106.9 200.7L104.9 202.6L101.7 202.5L99.2 204.3L96.1 204.6L93.2 205.9L91 208.3L89 210.8L88.7 214L89 217.2L89.1 220.4L89.9 223.5L92 225.9L94.9 225.6L97 223.1L99.2 220.8L102.2 220.1L105.2 219.6L105.6 222.3L108.2 224.2L111.2 225.3L111.2 228L108.5 229.9L107.3 232.8L106.5 235.9L106.3 239.1L107.7 241.8L109.6 239.5L112.1 237.4L115.1 236.6L118.3 236.4L121.2 235L123.6 232.8L126 230.8L126.4 227.7L126.7 224.5L128.1 221.6L129.8 218.8L132.2 216.8L135.3 215.7L138.5 215.3L141.1 213.7L142.2 210.7L143.4 207.7L146.1 206L149.2 205.2L152 203.6L154.6 201.7L157.7 200.9L160.9 200.4L164.1 199.7L167 198.3L169.7 196.6L172.7 195.5L176 195.6L179.2 195.7L182.4 195.8L185.7 195.8L188.9 195.6L192 194.7L195.1 194.5L198.1 195.8L201.1 196.9L204.3 197.3L207.2 195.9L210 194.3L212.9 193L216.1 192.2L219.2 191.3L221.7 189.3L224.7 188.6L227.4 190.3L230.3 191.4L232.7 189.4L234.8 187.1L237.2 188.5L238 191.6L238.8 194.7L241.1 196.9L244 198.4L246.6 197.4L247.8 194.3L248.7 191.2L249.7 188.2L251.5 185.4L254.3 186.2L256.8 188.3L259.6 189.8L262.6 188.8L264.9 186.6L266.2 183.7L267.8 180.9L270.8 180.3L273.9 181.4L276.9 180.8L279.7 179L282.6 177.6L285.6 176.5L288.7 175.4L291.8 174.7L294.9 173.8L298.2 173.4L301.3 172.5L304.3 171.4L307.3 170.2L310.3 169L313.4 168.5L316.1 170.2L319.2 171.1L322.4 171.2L325.3 170L326.6 172.4L325.7 175.5L323.6 178L326.1 177.6L328.9 176L331.9 174.6L334.7 173L337.6 171.6L340.7 170.6L343.7 169.5L346.6 168.1L349.4 166.4L352 164.5L354.7 162.8L357.7 161.6L360.8 160.7L364.1 160.6L367.2 161.4L370 160.2L372.4 158L375.1 156.3L378.2 156.1L381.2 157.3L383.9 156.3L385.8 153.7L388.3 151.7L391.1 150.2L394.2 149.3L397.3 148.5L399.3 145.9L401.6 143.8L404.4 142L407.4 140.9L410.6 140.9L413.8 141.3L416.4 143L419.5 143.5L422.6 142.6L424.6 140.3L427 138.5L430.2 138.3L433.5 138.2L434 139.2L430.7 139.2L427.7 139.8L425.8 142.3L423.5 144.4L420.5 145.7L417.5 146.8L414.3 147.1L411.2 147.8L408.5 149.5L406 151.6L403.6 153.8L401.3 156L402.5 155.9L405.5 154.7L408.6 153.8L411.8 153.1L415 152.7L418.2 152.4L421.4 152.1L424.6 152.1L427.8 151.9L430.9 151.2L434.1 151.3L437.2 152.1L440.4 151.6L443.7 151.6L446.9 151.8L450.1 151.7L453.4 151.8L456.5 152.3L459.7 152.5L462.9 152.4L466.2 152.6L469.4 152.9L472.6 153.5L475.7 154.2L478 156.3L480.5 158.4L482.7 157.6L484.3 154.8L487 153.1L490.1 152.3L493.4 152.3L496.6 152.5L499.6 153.4L497.2 153.7L494.1 154.6L491.2 156.2L489 158.4L487.8 161.4L487 164.5L484.9 167L482.1 168.3L478.8 168.3L477 169.3L480 169.6L483.3 169.6L486.4 168.8L489.1 167.1L491.3 164.7L493.8 162.9L497 162.6L500 163.8L498.4 165.9L496.8 168.7"); offset-rotate: 0deg; offset-distance: 55%; }
}

/* ── l2.css ── */
/* C2 · Bento: de hero is zelf een bento (tekst en formulier in de grote tegel, de rit, het vermogen en de race ernaast).
   Functies 1–4 als een stapel kaarten die over elkaar schuiven terwijl je scrolt (position: sticky, geen JavaScript).
   In de slot-CTA rijdt een renner over de Ventoux. Laadt na site/style.css, shared.css, live.css, kit.css en paths.css. */

.l2-hero { padding-top: clamp(28px, 3.6vw, 48px); }
.l2-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.l2-copy { grid-column: 1 / span 6; grid-row: 1 / span 2; display: flex; flex-direction: column; padding: clamp(26px, 3.4vw, 48px); }
.l2-copy h1 { font-size: clamp(2.3rem, 3.8vw, 3.6rem); line-height: 0.99; letter-spacing: -0.05em; font-weight: 800; }
.l2-copy h1 em { font-style: normal; color: var(--cobalt); }
.l2-copy .c-lead { margin: 18px 0 26px; font-size: 1.05rem; }
.l2-copy .form-light { margin-top: auto; }
.l2-scene { grid-column: 7 / -1; grid-row: 1; min-height: 320px; }
.l2-pow { grid-column: 7 / span 3; grid-row: 2; }
.l2-race { grid-column: 10 / span 3; grid-row: 2; }
.l2-race b { font-size: 40px; }
.l2-strip { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 14px 22px; }
.l2-strip-name strong { display: block; font-size: 15px; }
.l2-strip-prof { position: relative; height: 40px; overflow-x: clip; }
.l2-strip-prof .zbars { display: block; width: 100%; height: 100%; }
.l2-strip-prof .trk { inset: 0; }
.l2-strip-km { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.l2-strip-km b { color: var(--text); font-size: 18px; }

/* Functies als stapel: elke kaart blijft staan en de volgende schuift erover. */
.l2-feats { padding-top: clamp(88px, 11vw, 150px); }
.l2-stack { display: grid; gap: 32px; }
.l2-card { position: sticky; top: 104px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: min(560px, calc(100vh - 150px)); padding: clamp(24px, 3.6vw, 52px); box-shadow: 0 -24px 50px -34px rgba(22, 32, 64, 0.35), 0 0 0 1px var(--line); }
.l2-card:nth-child(2) { top: 122px; } .l2-card:nth-child(3) { top: 140px; } .l2-card:nth-child(4) { top: 158px; }
.l2-card:nth-child(even) .l2-text { order: 2; }
.l2-card h3 { margin: 14px 0 14px; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.04; letter-spacing: -0.04em; }
.l2-text > p { margin: 0 0 20px; color: var(--muted); font-size: 1.06rem; }
.l2-n { display: flex; align-items: center; gap: 10px; }
.l2-n i { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.l2-n i::after { content: ''; display: block; height: 100%; background: var(--cobalt); }
.l2-card:nth-child(1) .l2-n i::after { width: 25%; } .l2-card:nth-child(2) .l2-n i::after { width: 50%; }
.l2-card:nth-child(3) .l2-n i::after { width: 75%; } .l2-card:nth-child(4) .l2-n i::after { width: 100%; }
.l2-card .d-ride .scene { aspect-ratio: 1.6; }
.l2-card .d-import, .l2-card .d-erg, .l2-card .d-plan { min-height: 380px; }

/* Slot: de renner rijdt over de route; de kaart toont een uitlezing. */
.l2-cta .cta-rider { transform-box: view-box; }

@media (prefers-reduced-motion: no-preference) {
  .l2-bento > * { animation: c-up 0.9s var(--ease) both; }
  .l2-bento > :nth-child(2) { animation-delay: 0.08s; } .l2-bento > :nth-child(3) { animation-delay: 0.14s; }
  .l2-bento > :nth-child(4) { animation-delay: 0.2s; } .l2-bento > :nth-child(5) { animation-delay: 0.26s; }
  .l2-cta .cta-rider { animation: l2-ride 18s linear infinite; }
  .l2-cta .cta-readout .roll > span { animation-duration: 18s; }
  @supports (animation-timeline: view()) {
    .l2-card { view-timeline-name: --card; }
    .l2-card > * { animation: c-rise linear both; animation-timeline: --card; animation-range: entry 10% entry 80%; }
  }
}
@keyframes l2-ride { from { offset-distance: 0%; } to { offset-distance: 100%; } }

@media (max-width: 960px) {
  .l2-copy, .l2-scene { grid-column: 1 / -1; grid-row: auto; }
  .l2-scene { aspect-ratio: 1.7; min-height: 0; }
  .l2-pow, .l2-race { grid-column: span 6; grid-row: auto; }
  .l2-card { position: static; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .l2-card:nth-child(even) .l2-text { order: 0; }
}
@media (max-width: 620px) {
  .l2-pow, .l2-race { grid-column: 1 / -1; }
  .l2-strip { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* ── c2.css ── */
/* C2 verder (c2-a/b/c.html): drie heroes zonder formulier, met twee knoppen (de app downloaden, de functies bekijken).
   Het formulier staat nu in de slotkaart van de Ventoux. Laadt na site/style.css, shared.css, live.css, kit.css,
   paths.css en l2.css. Geen inline styles (CSP). */

/* ---------- Knoppen in de hero ---------- */
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-primary, .btn-secondary { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; font-size: 1.02rem; font-weight: 800; text-decoration: none; transition: background 0.2s, box-shadow 0.25s, transform 0.25s var(--ease); }
.btn-primary { color: #fff; background: var(--cobalt); box-shadow: 0 18px 30px -16px rgba(47, 85, 212, 0.85); }
.btn-primary small { font-size: 13px; font-weight: 400; opacity: 0.8; }
.btn-primary::after { content: '→'; transition: transform 0.25s var(--ease); }
.btn-primary:hover { color: #fff; background: var(--cobalt-hover); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-secondary { color: var(--text); background: #fff; box-shadow: 0 0 0 1px var(--line-strong); }
.btn-secondary::after { content: '↓'; color: var(--cobalt); transition: transform 0.25s var(--ease); }
.btn-secondary:hover { color: var(--text); background: var(--surface-2); }
.btn-secondary:hover::after { transform: translateY(3px); }
.btn-primary:active, .btn-secondary:active { transform: scale(0.98); }
.h-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 28px 0 0; }
.h-proof li { padding: 7px 12px; border-radius: 999px; background: var(--surface-2); font-size: 13.5px; font-weight: 600; }
.h-proof b { font-family: var(--mono); color: var(--cobalt); }
.h-kick { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 14px; font-weight: 600; color: var(--muted); }

/* ---------- Hero A: de bento van C2, de grote tegel met tekst, knoppen en kerncijfers ---------- */
.ha .l2-copy { justify-content: center; }
.ha .l2-copy h1 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
.ha .h-proof { margin-top: auto; }

/* ---------- Hero B: de rit is de grote tegel; tekst, race en het aantal routes ernaast ---------- */
.hb-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.hb-copy { grid-column: 1 / span 5; grid-row: 1; padding: clamp(24px, 3vw, 40px); }
.hb-copy h1 { font-size: clamp(2.2rem, 3.4vw, 3.3rem); line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.hb-copy h1 em { font-style: normal; color: var(--cobalt); }
.hb-copy .c-lead { margin: 16px 0 0; font-size: 1.04rem; }
.hb-copy .hero-ctas { gap: 10px; }
.hb-copy .btn-primary, .hb-copy .btn-secondary { padding: 0 18px; font-size: 0.98rem; }
.hb-scene { grid-column: 6 / -1; grid-row: 1 / span 2; min-height: 560px; }
.hb-riders { right: 14px; top: 86px; }
.hb-race { grid-column: 1 / span 3; grid-row: 2; }
.hb-race b { font-size: 40px; }
.hb-count { grid-column: 4 / span 2; grid-row: 2; display: flex; flex-direction: column; padding: 18px 20px; color: #fff; background: var(--cobalt); box-shadow: 0 24px 40px -26px rgba(47, 85, 212, 0.8); }
.hb-count .c-lab { color: rgba(255, 255, 255, 0.72); }
.hb-count b { margin-top: 8px; font-family: var(--mono); font-size: 52px; line-height: 1; letter-spacing: -0.05em; }
.hb-count span:last-child { margin-top: auto; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); }
.hb-bento .l2-strip { grid-row: 3; }

/* ---------- Hero C: grote kop zonder tegel, daaronder een rij tegels ---------- */
.hc-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.hc-top h1 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: 0.95; letter-spacing: -0.055em; font-weight: 800; }
.hc-top h1 em { font-style: normal; color: var(--cobalt); }
.hc-top .c-lead { margin: 0; }
.hc-top .hero-ctas { margin-top: 24px; }
.hc-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.hc-scene { grid-column: span 6; aspect-ratio: 1.7; }
.hc-pow, .hc-race { grid-column: span 3; }
.hc-race b { font-size: 46px; }
.hc-bento .l2-strip { grid-column: 1 / -1; }

/* ---------- Slot: de kaart van de Ventoux met het formulier ---------- */
#download { scroll-margin-top: 110px; }
.cta-form .cta-copy > p { margin-bottom: 22px; }
.cta-form .c-ticks { margin-top: 16px; }
.cta-form .cta-map { min-height: 540px; }

@media (prefers-reduced-motion: no-preference) {
  .hb-bento > *, .hc-bento > *, .hc-top > * { animation: c-up 0.9s var(--ease) both; }
  .hb-bento > :nth-child(2), .hc-bento > :nth-child(2), .hc-top > :nth-child(2) { animation-delay: 0.08s; }
  .hb-bento > :nth-child(3), .hc-bento > :nth-child(3) { animation-delay: 0.14s; }
  .hb-bento > :nth-child(4), .hc-bento > :nth-child(4) { animation-delay: 0.2s; }
  .hb-bento > :nth-child(5) { animation-delay: 0.26s; }
}

@media (max-width: 960px) {
  .hb-copy, .hb-scene { grid-column: 1 / -1; grid-row: auto; }
  .hb-scene { min-height: 0; aspect-ratio: 1.5; }
  .hb-race, .hb-count { grid-column: span 6; grid-row: auto; }
  .hb-bento .l2-strip { grid-row: auto; }
  .hc-top { grid-template-columns: minmax(0, 1fr); }
  .hc-scene { grid-column: 1 / -1; }
  .hc-pow, .hc-race { grid-column: span 6; }
  .cta-form .cta-map { min-height: 300px; }
}
@media (max-width: 620px) {
  .hero-ctas > * { flex: 1 1 100%; justify-content: center; }
  .hb-race, .hb-count, .hc-pow, .hc-race { grid-column: 1 / -1; }
  .hb-scene, .hc-scene { aspect-ratio: 1.2; }
}

/* ── c2v.css ── */
/* Hero A met de video (c2-v1 … c2-v4.html): tekst links, video rechts, boven- en onderkant gelijk.
   Laadt na site/style.css, shared.css, live.css, kit.css, paths.css, l2.css en c2.css. Geen inline styles (CSP).
   De video is die van de site: main.js laadt hem pas in beeld, kiest 1080p op brede schermen en zet de pauzeknop erop. */

.hv { padding-top: clamp(28px, 3.6vw, 48px); }
.hv-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 16px; align-items: stretch; }
.hv-copy { display: flex; flex-direction: column; min-width: 0; }
.hv-copy h1 { font-size: clamp(2.3rem, 3.7vw, 3.5rem); line-height: 0.98; letter-spacing: -0.05em; font-weight: 800; }
.hv-copy h1 em { font-style: normal; color: var(--cobalt); }
.hv-copy .c-lead { max-width: 46ch; margin: 18px 0 0; }
.hv-copy .h-proof { margin-top: auto; }
/* De video vult de kolom: even hoog als de tekst. De app staat in het midden van het beeld, dus bijsnijden aan de zijkanten kan. */
/* width 100% and min-width 0: otherwise the aspect ratio makes the video as wide as the stretched height asks for. */
.hv-video { position: relative; width: 100%; min-width: 0; aspect-ratio: 1.3; margin: 0; border-radius: var(--radius); overflow: hidden; background: #eef1f5; }
.hv-video .hero-video, .hv-video .hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; background: #eef1f5; object-fit: cover; object-position: 50% 50%; }
.hv-video .video-toggle { z-index: 2; }

/* 1 · Twee tegels: de tekst in een witte tegel, de video in een tegel ernaast. */
.hv-1 .hv-copy { padding: clamp(26px, 3vw, 42px); }
.hv-1 .hv-video { box-shadow: var(--app-shadow), 0 0 0 1px var(--line); }

/* 2 · Open: de tekst rechtstreeks op de achtergrond, de video als enige tegel; de kop staat gelijk met de bovenkant van de video. */
.hv-2 .hv-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 4vw, 56px); }
.hv-2 .hv-copy { padding: 4px 0; }
.hv-2 .hv-copy h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
.hv-2 .hv-video { box-shadow: 0 50px 90px -60px rgba(22, 32, 64, 0.55), 0 0 0 1px var(--line); }
.hv-2 .h-proof li { background: #fff; box-shadow: 0 0 0 1px var(--line); }

/* 3 · Kobalt: de teksttegel in de kleur van de app, de video in een witte tegel. */
.hv-3 .hv-copy { padding: clamp(26px, 3vw, 42px); color: #fff; background: var(--cobalt); box-shadow: 0 30px 60px -36px rgba(47, 85, 212, 0.8); }
.hv-3 .h-kick { color: rgba(255, 255, 255, 0.78); }
.hv-3 .h-kick .c-live { background: #fff; }
.hv-3 .hv-copy h1 em { color: var(--cobalt-pale); }
.hv-3 .hv-copy .c-lead { color: rgba(255, 255, 255, 0.84); }
.hv-3 .btn-primary { color: var(--cobalt); background: #fff; box-shadow: 0 18px 30px -18px rgba(12, 16, 25, 0.6); }
.hv-3 .btn-primary:hover { color: var(--cobalt-deep); background: var(--cobalt-soft); }
.hv-3 .btn-secondary { color: #fff; background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); }
.hv-3 .btn-secondary::after { color: #fff; }
.hv-3 .btn-secondary:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }
.hv-3 .h-proof li { color: #fff; background: rgba(255, 255, 255, 0.12); }
.hv-3 .h-proof b { color: #fff; }
.hv-3 .hv-video { box-shadow: var(--app-shadow), 0 0 0 1px var(--line); }

/* 3, verfijnd: geen eyebrow maar een ondertitel, de kerncijfers als vinkjes onder de knoppen, de video in zijn volle 16:9 (nooit bijgesneden). */
.hv-3 .hv-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.hv-3 .hv-copy { justify-content: center; padding: clamp(26px, 2.6vw, 36px) clamp(26px, 2.7vw, 38px); }
.hv-3 .hv-copy h1 { font-size: clamp(2.3rem, 3.78vw, 3.4rem); }
.hv-sub { margin: 14px 0 0; font-size: clamp(1.05rem, 1.3vw, 1.15rem); font-weight: 600; letter-spacing: -0.01em; color: var(--cobalt-pale); }
/* The text tile is a little higher than a 16:9 video: the video sits centred in its white tile instead of being cropped. */
.hv-3 .hv-video { display: flex; flex-direction: column; justify-content: center; aspect-ratio: auto; padding: clamp(12px, 1.4vw, 18px); background: #fff; overflow: visible; }
.hv-frame { position: relative; flex: none; border-radius: 16px; overflow: hidden; background: #eef1f5; }
.hv-3 .hv-frame .hero-video, .hv-3 .hv-frame .hero-video img { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 0; }
.hv-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
/* Not flex: the text and the bold number would become separate items with a gap between them. */
.hv-checks li { position: relative; padding-left: 26px; }
.hv-checks li::before { content: ''; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: url("img/check.svg") center / 16px no-repeat; }
.hv-checks b { font-family: var(--mono); }

/* 4 · Eén kaart: tekst en video in dezelfde tegel, de video loopt tot de rand. */
.hv-4 .hv-grid { gap: 0; border-radius: 32px; background: #fff; box-shadow: var(--app-shadow), 0 0 0 1px var(--line); overflow: hidden; }
.hv-4 .hv-copy { padding: clamp(26px, 3.4vw, 48px); }
.hv-4 .hv-video { border-radius: 0; border-left: 1px solid var(--line); }
.hv-4 .h-proof { border-top: 1px solid var(--line); margin-top: auto; padding-top: 22px; }
.hv-4 .hv-copy .c-lead { margin-bottom: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hv-grid > * { animation: c-up 0.9s var(--ease) both; }
  .hv-grid > :nth-child(2) { animation-delay: 0.1s; }
  .hv-4 .hv-grid { animation: c-up 0.9s var(--ease) both; }
  .hv-4 .hv-grid > * { animation: none; }
}

@media (max-width: 960px) {
  .hv-grid, .hv-2 .hv-grid, .hv-3 .hv-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-video { aspect-ratio: 16 / 10; }
  .hv-4 .hv-video { border-left: 0; border-top: 1px solid var(--line); }
  .hv-copy .h-proof { margin-top: 0; }
}

/* V3: de slotkaart in het blauw zoals de hero; de tekst en het formulier op kobalt, de kaart van de Ventoux blijft licht. */
.v-c2-v3 .cta-copy { color: #fff; background: var(--cobalt); }
.v-c2-v3 .cta-copy > p { color: rgba(255, 255, 255, 0.84); }
.v-c2-v3 .cta-copy .signup label, .v-c2-v3 .cta-copy .signup-consent a { color: #fff; }
.v-c2-v3 .cta-copy .signup-consent, .v-c2-v3 .cta-copy .signup-hint { color: rgba(255, 255, 255, 0.78); }
.v-c2-v3 .cta-copy .signup input:not([type="checkbox"]) { border-color: transparent; }
.v-c2-v3 .cta-copy .signup input[type="checkbox"] { accent-color: #fff; }
.v-c2-v3 .cta-copy .button.primary { color: var(--cobalt); background: #fff; border-color: #fff; box-shadow: 0 18px 30px -18px rgba(12, 16, 25, 0.6); }
.v-c2-v3 .cta-copy .button.primary:hover { color: var(--cobalt-deep); background: var(--cobalt-soft); }
.v-c2-v3 .cta-copy .signup-status.error { color: #ffd2d2; }
.v-c2-v3 .cta-copy .c-ticks { border-top-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.92); }
.v-c2-v3 .cta-copy .c-ticks li::before { border-radius: 0; background: url("img/check.svg") center / 16px no-repeat; }
.v-c2-v3 .cta-map { border-left: 0; }

/* ── lang.css: language switch ── */
/* Taalkeuze in de kop (NL / EN). Bij het overzetten naar de site: onderaan in site/style.css (CSP style-src 'self', dus geen inline styles). */
.lang-switch { display: flex; gap: 2px; margin-right: 14px; padding: 3px; border: 1px solid rgba(255,255,255,0.35); border-radius: 11px; }
.lang-switch a { color: rgba(255,255,255,0.82); font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; padding: 5px 9px; border-radius: 8px; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,0.12); }
.lang-switch a[aria-current="page"] { background: #fff; color: var(--cobalt); }
/* Op een smalle telefoon is .head-nav weg: dan duwt de taalkeuze zichzelf naar rechts, met grotere tikvlakken. */
@media (max-width: 640px) {
  .lang-switch { margin-left: auto; margin-right: 10px; }
  .lang-switch a { padding: 10px 10px; }
}
/* Lichte kop van het nieuwe design (body.v-live): donkere tekst in plaats van wit. */
.v-live .lang-switch { border-color: var(--line); }
.v-live .lang-switch a { color: var(--muted); }
.v-live .lang-switch a:hover { color: var(--text); background: rgba(0,0,0,0.05); }
.v-live .lang-switch a[aria-current="page"] { background: var(--cobalt); color: #fff; }
/* Heel smal: alleen de andere taal als één knop, zodat de merknaam op één regel blijft. */
@media (max-width: 420px) {
  .lang-switch { padding: 0; margin-right: 8px; }
  .lang-switch a[aria-current="page"] { display: none; }
  .lang-switch a { padding: 12px 10px; }
}
