/* ==========================================================================
   De Franse Slag — padelvereniging
   Geen build: deze file wordt zo geserveerd.
   Scroll-animaties lezen custom properties (--p e.d.) die js/main.js zet.
   Zonder JS of met animaties uit vallen die terug op hun defaults: de ruststand.
   ========================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* ---------- tokens ----------
   Alle tekstkleuren halen WCAG AAA (7:1) op hun eigen achtergrond.
   --rouge en --court-bright zijn alleen voor decoratie, niet voor tekst. */
:root {
  --ink: #08152e;
  --ink-2: #0e2247;
  --ink-3: #1a3266;
  --chalk: #f5f2e9;
  --paper: #fffdf7;
  --court: #133a8a;
  --court-bright: #1e4fb5;
  --ball: #d9f24b;
  --rouge: #e4473a;
  --rouge-on-chalk: #8f1f14;
  --rouge-on-ink: #ff7a6b;
  --muted-on-ink: #c3cce0;
  --muted-on-chalk: #3b4560;
  --muted-on-court: #dce4f5;
  --glass: #9fd8ff;

  --font-sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;

  --header-h: 4.5rem;
  --wrap: 82rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --radius: 1.5rem;
  --ease-out: cubic-bezier(.2, .75, .2, 1);
}

/* ---------- thema's per sectie ---------- */
.theme-ink {
  --bg: var(--ink); --fg: #fff; --muted: var(--muted-on-ink); --accent: var(--ball);
  --surface: var(--ink-2); --border: rgb(255 255 255 / .18); --focus: var(--ball);
  background: var(--bg); color: var(--fg);
}
.theme-chalk {
  --bg: var(--chalk); --fg: var(--ink); --muted: var(--muted-on-chalk); --accent: var(--court);
  --surface: var(--paper); --border: rgb(8 21 46 / .14); --focus: var(--court);
  background: var(--bg); color: var(--fg);
}
.theme-court {
  --bg: var(--court); --fg: #fff; --muted: var(--muted-on-court); --accent: var(--ball);
  --surface: rgb(8 21 46 / .22); --border: rgb(255 255 255 / .22); --focus: var(--ball);
  background: var(--bg); color: var(--fg);
}
.theme-ball {
  --bg: var(--ball); --fg: var(--ink); --muted: var(--ink); --accent: var(--court);
  --surface: rgb(255 255 255 / .35); --border: rgb(8 21 46 / .2); --focus: var(--ink);
  background: var(--bg); color: var(--fg);
}

/* ---------- basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}
html[data-motion="on"] { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 750; text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
/* AAA 1.4.8: alinea-afstand minstens 1,5 × regelafstand, nooit uitgevuld */
p + p { margin-top: 1.5em; }

a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .16em; }

abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; cursor: help; }

em { font-style: italic; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--focus, var(--ball));
  outline-offset: 3px;
}
main:focus { outline: none; }
/* De schuine marquee steekt uit; clip (geen hidden) zodat position: sticky blijft werken. */
main { overflow-x: clip; }

::selection { background: var(--ball); color: var(--ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: .75rem; left: .75rem;
  z-index: 1000;
  padding: .85rem 1.25rem;
  background: var(--ball);
  color: var(--ink);
  font-weight: 700;
  border-radius: .75rem;
  transform: translateY(-160%);
  --focus: var(--paper);
}
.skip-link:focus { transform: none; }

/* ---------- typografie-bouwstenen ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .dot {
  width: .65rem; height: .65rem;
  border-radius: 50%;
  background: var(--ball);
  box-shadow: 0 0 0 4px rgb(217 242 75 / .2);
}

.section-title {
  font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.25rem);
  font-weight: 800;
  font-stretch: 82%;
  letter-spacing: -.025em;
  line-height: .98;
  max-width: 18ch;
}
.section-title em,
.hero__title em,
.site-footer__claim em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: -.01em;
  color: var(--accent);
}

.lead {
  margin-top: 1.5rem;
  max-width: 60ch;
  font-size: clamp(1.15rem, 1rem + .45vw, 1.35rem);
  line-height: 1.6;
  color: var(--muted);
}

.section-head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head--center { text-align: center; }
.section-head--center .section-title,
.section-head--center .lead { margin-inline: auto; }

/* ---------- knoppen ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.25rem;
  padding: .8rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .35s var(--ease-out);
}
.btn:hover { text-decoration: none; }
.btn--ball { --btn-bg: var(--ball); --btn-fg: var(--ink); }
.btn--ball:hover { box-shadow: 0 .75rem 2rem -0.5rem rgb(217 242 75 / .55); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; }
.btn--ghost:hover { --btn-bg: var(--fg); --btn-fg: var(--bg); border-color: var(--fg); }
.btn--outline { border-color: var(--fg); }
.btn--outline:hover { --btn-bg: var(--fg); --btn-fg: var(--bg); }
.btn--small { min-height: 2.75rem; padding: .55rem 1.15rem; font-size: .98rem; }
.btn--block { width: 100%; }
.btn__arrow { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- scroll-voortgang ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 4px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ball), #f4ff9b);
  transform-origin: 0 50%;
  transform: scaleX(var(--sp, 0));
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  --fg: #fff; --bg: var(--ink); --focus: var(--ball);
  transition: transform .45s var(--ease-out), background-color .3s, box-shadow .3s;
}
.site-header.is-solid {
  background: rgb(8 21 46 / .94);
  box-shadow: 0 1px 0 rgb(255 255 255 / .1);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-hidden:not(:focus-within):not(.is-menu-open) { transform: translateY(-100%); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.75rem;
  margin-right: auto;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo__mark { width: 2.6rem; height: 2.6rem; flex: none; transition: transform .6s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-14deg); }
.logo__racket { fill: var(--paper); }
.logo__handle { fill: var(--rouge); }
.logo__holes circle { fill: var(--ink); }
.logo__ball { fill: var(--ball); }
.logo__seam { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; }
.logo__text em { font-family: var(--font-serif); font-weight: 400; font-size: 1.12em; color: var(--ball); }
.logo__de { font-weight: 500; }

.site-nav__list {
  display: flex;
  gap: .25rem;
  padding: 0;
  list-style: none;
}
.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color .2s;
}
.site-nav a:hover { background: rgb(255 255 255 / .1); }
.site-nav a[aria-current="true"] { color: var(--ball); }
.site-nav a[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: .2rem;
  width: .35rem; height: .35rem;
  margin-left: -.175rem;
  border-radius: 50%;
  background: var(--ball);
}

.site-header__actions { display: flex; align-items: center; gap: .6rem; }

.motion-toggle,
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: .4rem .9rem;
  border: 2px solid rgb(255 255 255 / .35);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.motion-toggle:hover,
.menu-toggle:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.motion-toggle svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.motion-toggle svg circle { fill: var(--ball); stroke: none; transition: transform .4s var(--ease-out); }
.motion-toggle[aria-pressed="false"] svg circle { fill: transparent; stroke: currentColor; }
.motion-toggle[aria-pressed="true"] svg circle { transform: translateX(3px); }
.motion-toggle__state {
  min-width: 2.1rem;
  padding: .05rem .45rem;
  border-radius: 999px;
  background: var(--ball);
  color: var(--ink);
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.motion-toggle[aria-pressed="false"] .motion-toggle__state { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px currentColor; }

.menu-toggle { display: none; }
.menu-toggle__icon { position: relative; width: 1.2rem; height: .8rem; }
.menu-toggle__icon span {
  position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease-out), top .3s var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: calc(100% - 2px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: calc(50% - 1px); transform: rotate(-45deg); }

@media (max-width: 75rem) {
  .motion-toggle__label, .motion-toggle__state { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .motion-toggle { padding-inline: .6rem; }
}

@media (max-width: 66rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: none;
    padding: 2rem var(--gutter) 3rem;
    background: var(--ink);
    overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; animation: menu-in .4s var(--ease-out); }
  .js .site-nav__list { flex-direction: column; gap: .25rem; }
  .js .site-nav a { font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 750; padding: .35rem 0; border-radius: .5rem; }
  .js .site-nav a[aria-current="true"]::after { left: auto; right: -1rem; bottom: 50%; }
  .site-header.is-menu-open { background: var(--ink); }
  html:not(.js) .site-header { position: absolute; height: auto; }
  html:not(.js) .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .site-nav__list { flex-wrap: wrap; }
}
@media (max-width: 30rem) {
  .site-header__cta { display: none; }
  .logo { font-size: 1.12rem; }
}
@media (max-width: 24rem) {
  .site-header__inner { gap: .5rem; }
  .site-header__actions { gap: .4rem; }
  .logo { gap: .45rem; font-size: 1rem; }
  .logo__mark { width: 2.2rem; height: 2.2rem; }
  .menu-toggle { padding-inline: .7rem; }
  .menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-1rem); } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: max(100svh, 46rem);
  padding: calc(var(--header-h) + clamp(2rem, 6vh, 5rem)) 0 clamp(5rem, 10vh, 8rem);
  display: flex;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(60rem 40rem at 85% 10%, rgb(30 79 181 / .55), transparent 65%),
    radial-gradient(40rem 30rem at 0% 100%, rgb(30 79 181 / .3), transparent 70%),
    var(--ink);
}
.hero__lines {
  position: absolute;
  z-index: -1;
  top: 50%; right: -6vw;
  width: min(62vw, 58rem);
  height: auto;
  fill: none;
  stroke: rgb(217 242 75 / .2);
  stroke-width: 2;
  transform: translateY(-50%) rotate(calc(-62deg + var(--p, 0) * 28deg)) scale(calc(1 + var(--p, 0) * .25));
}
.hero__lines .hero__net { stroke: rgb(255 255 255 / .28); stroke-width: 3; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__title {
  font-size: clamp(3.1rem, .6rem + 8vw, 8.4rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: .9;
  letter-spacing: -.035em;
  text-wrap: initial;
}
.hero__line { display: block; will-change: transform; }
.hero__line--1 { transform: translateX(calc(var(--p, 0) * -9vw)); }
.hero__line--2 { transform: translateX(calc(var(--p, 0) * 7vw)); }
.hero__line--2 em { font-size: 1.12em; line-height: .8; padding-right: .06em; }
.hero__line--3 { transform: translateX(calc(var(--p, 0) * -4vw)); }

.hero__lead {
  max-width: 44ch;
  margin-top: 2rem;
  font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem);
  color: var(--muted-on-ink);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  color: var(--muted-on-ink);
  font-size: 1rem;
}
.hero__facts strong { color: #fff; font-weight: 750; }

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 3 / 4.1;
  border-radius: 50% 50% 1.75rem 1.75rem / 32% 32% 1.75rem 1.75rem;
  overflow: hidden;
  box-shadow: 0 2rem 6rem -1.5rem rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .12);
  transform: translateY(calc(var(--p, 0) * -8vh)) rotate(calc(var(--p, 0) * -5deg)) scale(calc(1 - var(--p, 0) * .08));
  transform-origin: 50% 100%;
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(calc(1.14 - var(--p, 0) * .14)) translateY(calc(var(--p, 0) * 4%));
}
.hero__frame::after {
  /* een ‘net’ dat over de foto ligt: decoratief */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  background: linear-gradient(transparent, rgb(8 21 46 / .45));
  pointer-events: none;
}

.hero__badge {
  position: absolute;
  left: -2.75rem; bottom: 2.5rem;
  width: clamp(7rem, 11vw, 9.5rem);
  transform: rotate(calc(-20deg + var(--p, 0) * 220deg));
}
.hero__badge-bg { fill: var(--paper); }
.hero__badge text { font-family: var(--font-sans); font-size: 15.5px; font-weight: 800; letter-spacing: .16em; fill: var(--ink); }
.hero__badge-ball { fill: var(--ball); }
.hero__badge-seam { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }

.hero__ball {
  position: absolute;
  z-index: 3;
  top: 17%; left: 60%;
  width: clamp(3rem, 5.5vw, 5.25rem);
  pointer-events: none;
  /* Boog: x lineair, y = lineair omlaag min een parabool omhoog. */
  transform:
    translate3d(
      calc(var(--p, 0) * var(--ball-x, -46vw)),
      calc(var(--p, 0) * 118vh - var(--p, 0) * (1 - var(--p, 0)) * 60vh),
      0)
    rotate(calc(var(--p, 0) * 720deg))
    scale(calc(1 + var(--p, 0) * .5));
  filter: drop-shadow(0 1.25rem 1.25rem rgb(0 0 0 / .45));
}
.hero__ball svg { width: 100%; height: auto; }
.hero__ball circle { fill: var(--ball); }
.hero__ball path { fill: none; stroke: rgb(255 255 255 / .92); stroke-width: 5; stroke-linecap: round; }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 1.5rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding: .25rem .75rem;
  transform: translateX(-50%);
  color: var(--muted-on-ink);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: .5rem;
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-line {
  position: relative;
  width: 2px; height: 2.75rem;
  overflow: hidden;
  background: rgb(255 255 255 / .2);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ball);
  transform: translateY(-100%);
  /* drie keer en dan stoppen: niets beweegt langer dan vijf seconden vanzelf */
  animation: scroll-cue 1.6s 1.2s var(--ease-out) 3 both;
}
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* entree bij het laden */
[data-motion="on"] .hero__eyebrow,
[data-motion="on"] .hero__line,
[data-motion="on"] .hero__lead,
[data-motion="on"] .hero__actions,
[data-motion="on"] .hero__facts { animation: rise 1s var(--ease-out) both; }
[data-motion="on"] .hero__line { animation-name: rise-line; }
[data-motion="on"] .hero__line--1 { animation-delay: .08s; }
[data-motion="on"] .hero__line--2 { animation-delay: .18s; }
[data-motion="on"] .hero__line--3 { animation-delay: .28s; }
[data-motion="on"] .hero__lead { animation-delay: .42s; }
[data-motion="on"] .hero__actions { animation-delay: .52s; }
[data-motion="on"] .hero__facts { animation-delay: .62s; }
[data-motion="on"] .hero__frame { animation: frame-in 1.3s .15s var(--ease-out) backwards; }
[data-motion="on"] .hero__badge { animation: rise 1s .9s var(--ease-out) backwards; }
[data-motion="on"] .hero__ball svg { animation: ball-drop 1.4s .7s cubic-bezier(.3, 0, .4, 1) both; }
[data-motion="on"] .hero__lines * { stroke-dasharray: 2400; animation: draw 2.4s .2s var(--ease-out) both; }

@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } }
@keyframes rise-line { from { opacity: 0; translate: 0 .5em; } }
@keyframes frame-in { from { opacity: 0; clip-path: inset(100% 0 0 0 round 1.75rem); translate: 0 3rem; } to { clip-path: inset(0 0 0 0 round 1.75rem); } }
@keyframes ball-drop {
  0% { opacity: 0; transform: translateY(-60vh) rotate(-200deg); }
  55% { opacity: 1; transform: translateY(0) rotate(0); }
  70% { transform: translateY(-3.5rem); }
  85% { transform: translateY(0); }
  92% { transform: translateY(-.9rem); }
  100% { transform: translateY(0); }
}
@keyframes draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }

@media (max-width: 60rem) {
  .hero { align-items: flex-start; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 26rem; width: 78%; margin-inline: auto 0; }
  .hero__ball { top: auto; bottom: 34%; left: auto; right: 6%; --ball-x: -62vw; }
  .hero__badge { left: -1.5rem; bottom: 1.5rem; }
  .hero__lines { width: 120vw; right: -40vw; top: 70%; }
  .hero__scroll { display: none; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 2;
  padding-block: clamp(1rem, 2.5vw, 2rem);
  overflow: clip;
  background: var(--ball);
  transform: rotate(-2.2deg) scale(1.04);
  margin-block: -2rem;
  box-shadow: 0 1.5rem 3rem -1.5rem rgb(0 0 0 / .4);
}
.marquee__row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  width: max-content;
  font-size: clamp(2.4rem, 1rem + 5.5vw, 5.75rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.marquee__row--a { transform: translate3d(calc(var(--p, .3) * -40% + 2%), 0, 0); }
.marquee__row--b { transform: translate3d(calc(-45% + var(--p, .3) * 40%), 0, 0); color: var(--court); font-family: var(--font-serif); font-weight: 400; font-style: italic; text-transform: none; letter-spacing: 0; font-stretch: 100%; }
.marquee i {
  flex: none;
  width: .42em; height: .42em;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: inset -.08em -.08em 0 rgb(255 255 255 / .25);
}
.marquee__row--b i { background: var(--court); }

/* ==========================================================================
   CLUB
   ========================================================================== */
.club { padding-block: calc(var(--section-y) + 2rem) var(--section-y); }
.club .eyebrow { color: var(--court); }

.statement {
  max-width: 30ch;
  font-size: clamp(1.85rem, .9rem + 3vw, 3.6rem);
  font-weight: 650;
  font-stretch: 90%;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink);
}
.statement .w {
  background-image: linear-gradient(var(--ball), var(--ball));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: calc(var(--w, 0) * 100%) .38em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.club__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  margin-top: clamp(4rem, 8vw, 7rem);
}
.club__text { max-width: 36rem; }
.club__text > p { color: var(--muted-on-chalk); }

.media-frame,
.club__photo,
.lessen__photo { margin: 0; }
.club__photo > .parallax,
.lessen__photo > .parallax {
  border-radius: var(--radius);
}
.club__photo figcaption {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--muted-on-chalk);
}

/* Parallax: de afbeelding is groter dan haar venster en schuift mee met --p. */
.parallax {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.parallax img {
  position: absolute;
  inset: -14% 0;
  width: 100%;
  height: 128%;
  max-width: none;
  object-fit: cover;
  transform: translate3d(0, calc((var(--p, .5) - .5) * var(--speed, .12) * -100%), 0);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--ink);
}
.stat { display: flex; flex-direction: column-reverse; }
.stat dt { font-size: 1rem; font-weight: 600; color: var(--muted-on-chalk); }
.stat dd { margin: 0; }
.stat__num {
  font-size: clamp(3rem, 2rem + 3vw, 4.75rem);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--court);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 60rem) {
  .club__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ZO WERKT PADEL
   ========================================================================== */
.how {
  padding-block: var(--section-y);
  background:
    radial-gradient(50rem 36rem at 10% 30%, rgb(30 79 181 / .35), transparent 70%),
    var(--ink);
}

.how__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 6rem);
}
.how__sticky {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  align-self: start;
  height: calc(100vh - var(--header-h) - 4rem);
  display: flex;
  align-items: center;
}
.how__figure { width: 100%; margin: 0; }

.court { width: 100%; height: auto; overflow: visible; }
.court__floor { fill: var(--court-bright); }
.court__lines line { stroke: rgb(255 255 255 / .9); stroke-width: 2; }
.court__glass path { fill: none; stroke: var(--glass); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.court__fence line { stroke: #a9b8d6; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.court__net { stroke: #fff; stroke-width: 4; stroke-linecap: round; }
.court__zone { fill: var(--ball); opacity: 0; transition: opacity .5s; }
.court__zone--serve { stroke: var(--ball); stroke-width: 2; stroke-dasharray: 6 5; }
.court[data-step="1"] .court__zone--serve { opacity: .45; }

.court__path {
  fill: none;
  stroke: var(--ball);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--draw, 1));
  opacity: 0;
  transition: opacity .35s;
}
.court[data-step="1"] [data-path="1"],
.court[data-step="2"] [data-path="2"],
.court[data-step="3"] [data-path="3"],
.court[data-step="4"] [data-path="4"] { opacity: 1; }
.court[data-step="2"] [data-path="1"] { opacity: .3; stroke-dashoffset: 0; stroke-dasharray: .015 .02; }

.court__bounce {
  fill: none;
  stroke: var(--ball);
  stroke-width: 2.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(.4);
  transition: opacity .3s, transform .5s var(--ease-out);
}
.court__bounce.is-on { opacity: 1; transform: scale(1); }

.player circle { stroke-width: 3; }
.player text { font-family: var(--font-sans); font-size: 11px; font-weight: 800; text-anchor: middle; }
.player--a circle { fill: var(--ball); stroke: var(--ink); }
.player--a text { fill: var(--ink); }
.player--b circle { fill: var(--paper); stroke: var(--ink); }
.player--b text { fill: var(--ink); }
.player { transition: transform .8s var(--ease-out); }
.court[data-step="4"] .player circle { stroke: var(--rouge); }

.court__ball { fill: #fff; stroke: var(--ink); stroke-width: 2; }

.how__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--muted-on-ink);
}
.how__counter { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.how__legend { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.legend { display: inline-block; width: 1.4rem; height: .35rem; border-radius: 1rem; margin-left: .6rem; }
.legend--glass { background: var(--glass); }
.legend--fence { background: repeating-linear-gradient(90deg, #a9b8d6 0 .2rem, transparent .2rem .45rem); }
.legend--ball { width: .8rem; height: .8rem; border: 2px solid var(--ball); border-radius: 50%; }

.how__steps { padding: 0; list-style: none; }
.how__step {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 2rem 2rem;
  border-left: 2px solid rgb(255 255 255 / .16);
  transition: border-color .4s;
}
.how__step:first-child { min-height: 62vh; justify-content: flex-start; padding-top: 18vh; }
.how__step:last-child { min-height: 70vh; }
.how__step.is-active { border-left-color: var(--ball); }
.how__num {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgb(255 255 255 / .6);
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.how__step.is-active .how__num { color: var(--ball); -webkit-text-stroke-color: var(--ball); }
.how__step h3 {
  margin-top: 1rem;
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 750;
  font-stretch: 85%;
  letter-spacing: -.02em;
}
.how__step p { margin-top: 1rem; max-width: 40ch; color: var(--muted-on-ink); font-size: 1.2rem; }
.how__step .btn { margin-top: 2rem; align-self: flex-start; }

@media (max-width: 60rem) {
  .how__stage { grid-template-columns: 1fr; gap: 0; }
  .how__sticky {
    top: var(--header-h);
    z-index: 2;
    height: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding: 1rem var(--gutter) 1.25rem;
    background: var(--ink);
    box-shadow: 0 1.5rem 2rem -1rem var(--ink);
  }
  .how__caption { margin-top: .75rem; }
  .how__step, .how__step:first-child { min-height: 70vh; padding-top: 3rem; justify-content: flex-start; }
}
@media (max-width: 60rem) and (max-height: 40rem) {
  .how__sticky { position: static; }
  .how__step, .how__step:first-child { min-height: 0; padding-block: 2rem; }
}

/* ==========================================================================
   DE WEEK — horizontaal schuiven met verticaal scrollen
   ========================================================================== */
.week { position: relative; }
.week__sticky {
  padding-block: var(--section-y);
}
.week__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.week__head .lead { margin-top: 0; max-width: 36ch; }

.week__viewport { overflow: hidden; }
.week__track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.5rem;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
  list-style: none;
}

.day article {
  height: 100%;
  padding: .85rem .85rem 1.75rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgb(8 21 46 / .06), 0 1.5rem 3rem -2rem rgb(8 21 46 / .35);
}
.day__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: calc(var(--radius) - .6rem);
  background: var(--court);
}
.day__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12) translateX(calc((var(--p, .5) - .5) * -10%));
}
.day__name {
  display: inline-block;
  margin: -1.6rem 0 0 .9rem;
  position: relative;
  padding: .3rem .9rem;
  border-radius: 999px;
  background: var(--ball);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.day__name abbr { text-decoration: none; }
.day__title, .day__time, .day article > p:last-child { padding-inline: .9rem; }
.day__title {
  margin-top: 1rem;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem);
  font-weight: 750;
  font-stretch: 85%;
  letter-spacing: -.015em;
}
.day__time { margin-top: .35rem; font-weight: 700; color: var(--court); }
.day article > p:last-child { margin-top: .75rem; color: var(--muted-on-chalk); }

.week__progress { display: none; }

/* Pinned modus: alleen met JS, animaties aan en genoeg ruimte. JS zet .week--pinned. */
.week--pinned .week__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 1rem) 2rem;
  overflow: hidden;
}
.week--pinned .week__head { margin-bottom: clamp(1.25rem, 3vh, 2.5rem); }
.week--pinned .week__head .eyebrow { margin-bottom: .75rem; }
.week--pinned .week__head .section-title { font-size: clamp(2.5rem, 1rem + 3.6vw, 4.5rem); }
.week--pinned .week__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  max-width: none;
  margin: 0;
  padding-inline: max(var(--gutter), (100vw - var(--wrap)) / 2 + var(--gutter));
  transform: translate3d(var(--x, 0), 0, 0);
  will-change: transform;
}
.week--pinned .day { width: clamp(17rem, 27vw, 24rem); flex: none; }
.week--pinned .week__viewport { flex: none; }
.week--pinned .day__media { aspect-ratio: 16 / 10; max-height: 30vh; }
.week--pinned .day__media img { height: 100%; }
.week--pinned .week__progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
  font-weight: 700;
  font-size: .95rem;
  color: var(--muted-on-chalk);
}
.week__bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgb(8 21 46 / .12); overflow: hidden; }
.week__bar span { position: absolute; inset: 0; background: var(--court); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ==========================================================================
   BANEN
   ========================================================================== */
.banen { padding-bottom: var(--section-y); overflow: clip; }
.banen__media {
  position: relative;
  height: clamp(22rem, 70vh, 46rem);
  overflow: hidden;
  clip-path: inset(calc((1 - var(--p, 1)) * 14%) calc((1 - var(--p, 1)) * 22%) round calc(var(--radius) * 2 * (1 - var(--p, 1))));
}
.banen__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(calc(1.25 - var(--p, 1) * .25));
}
.banen__media::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, var(--ink));
}

.banen__grid { position: relative; z-index: 1; }
.banen__head {
  max-width: 50rem;
  margin-top: clamp(-9rem, -12vw, -5rem);
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--ink);
}

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 0;
  list-style: none;
}
.feature {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .3s, transform .5s var(--ease-out);
}
.feature:hover { border-color: var(--ball); }
.feature svg { width: 2.75rem; height: 2.75rem; fill: none; stroke: var(--ball); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 750; }
.feature p { margin-top: .6rem; color: var(--muted-on-ink); font-size: 1.05rem; }

.banen__info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.courts, .hours {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--ink-2);
}
.courts__title, .hours caption {
  font-size: 1.5rem;
  font-weight: 750;
  text-align: left;
  margin-bottom: 1.25rem;
}
.courts__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  padding: 0;
  list-style: none;
}
.courts__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .8rem 1rem;
  border-radius: 1rem;
  background: var(--ink);
}
.courts__name { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.2; }
.tag {
  padding: .1rem .65rem;
  border-radius: 999px;
  border: 1.5px solid var(--glass);
  font-size: .9rem;
  font-weight: 700;
  color: var(--glass);
}
.tag--out { border-color: var(--ball); color: var(--ball); }

.hours table { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .9rem 0; border-top: 1px solid var(--border); text-align: left; vertical-align: top; }
.hours th { font-weight: 600; color: var(--muted-on-ink); padding-right: 1rem; }
.hours td { font-weight: 750; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 66rem) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .features, .banen__info { grid-template-columns: 1fr; }
}
@media (max-width: 26rem) {
  .courts__list { grid-template-columns: 1fr; }
  .hours td { white-space: normal; }
}

/* ==========================================================================
   LESSEN
   ========================================================================== */
.lessen {
  padding-block: var(--section-y);
  background:
    radial-gradient(40rem 30rem at 100% 0%, rgb(30 79 181 / .3), transparent 70%),
    var(--court);
}
.lessen__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.lessen__photo { position: sticky; top: calc(var(--header-h) + 2rem); }
.lessen__photo .parallax { aspect-ratio: 4 / 5; }
.lessen__copy .lead { color: var(--muted-on-court); }

.levels { margin-top: 3rem; padding: 0; list-style: none; display: grid; gap: 1rem; }
.level {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background-color .3s, border-color .3s;
}
.level:hover { background: rgb(8 21 46 / .35); border-color: var(--ball); }
.level__step {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: var(--ball);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.35rem;
}
.level h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); font-weight: 750; }
.level h3 [lang="fr"] { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.12em; }
.level__trans { font-size: .62em; font-weight: 600; color: var(--muted-on-court); white-space: nowrap; }
.level p { margin-top: .6rem; color: var(--muted-on-court); }
.level .level__step { margin-top: 0; color: var(--ink); }
.level .level__meta { margin-top: 1rem; font-weight: 750; color: var(--ball); }

@media (max-width: 60rem) {
  .lessen__grid { grid-template-columns: 1fr; }
  .lessen__photo { position: static; }
  .lessen__photo .parallax { aspect-ratio: 16 / 10; }
}
@media (max-width: 30rem) {
  .level { grid-template-columns: 1fr; gap: 1rem; padding: 1.4rem; }
}

/* ==========================================================================
   LID WORDEN
   ========================================================================== */
.plans { padding-block: var(--section-y); }
.plans__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  padding: 0;
  list-style: none;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: calc(var(--radius) + .25rem);
  background: var(--paper);
  border: 1px solid var(--border);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
[data-motion="on"] .plan:hover { transform: translateY(-.4rem); box-shadow: 0 2rem 3rem -2rem rgb(8 21 46 / .45); }
.plan--featured {
  --fg: #fff; --bg: var(--ink); --focus: var(--ball);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: 0 2rem 4rem -2rem rgb(8 21 46 / .6);
}
.plan__badge {
  position: absolute;
  top: 0; right: 1.75rem;
  transform: translateY(-50%);
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--ball);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.plan__name { font-size: 2rem; font-weight: 800; font-stretch: 85%; }
.plan__for { margin-top: .25rem; color: var(--muted-on-chalk); font-weight: 600; }
.plan--featured .plan__for { color: var(--muted-on-ink); }
.plan__price { margin-top: 1.75rem; font-weight: 600; color: var(--muted-on-chalk); }
.plan--featured .plan__price { color: var(--muted-on-ink); }
.plan__amount {
  display: block;
  font-size: clamp(2.75rem, 2rem + 2vw, 3.75rem);
  font-weight: 800;
  font-stretch: 80%;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--court);
}
.plan--featured .plan__amount { color: var(--ball); }
.plan__perks {
  flex: 1;
  margin: 1.75rem 0 2rem;
  padding: 1.5rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  display: grid;
  align-content: start;
  gap: .7rem;
}
.plan--featured .plan__perks { border-color: rgb(255 255 255 / .2); }
.plan__perks li { position: relative; padding-left: 2rem; }
.plan__perks li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2308152e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.plan .btn { width: 100%; }

@media (max-width: 60rem) {
  .plans__list { grid-template-columns: 1fr; max-width: 32rem; margin-inline: auto; }
}

/* ==========================================================================
   AGENDA
   ========================================================================== */
.agenda { padding-block: var(--section-y); }
.events { padding: 0; list-style: none; border-bottom: 1px solid var(--border); }
.event {
  position: relative;
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
  isolation: isolate;
}
.event::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -.5);
  z-index: -1;
  border-radius: var(--radius);
  background: var(--ink-2);
  transform: scaleY(.6);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.event:hover::before { opacity: 1; transform: none; }
.event__date { display: flex; flex-direction: column; line-height: 1; }
.event__date time { display: flex; align-items: baseline; gap: .5rem; }
.event__day { font-size: clamp(3.25rem, 2.5rem + 2vw, 4.5rem); font-weight: 800; font-stretch: 75%; letter-spacing: -.03em; color: var(--ball); }
.event__month { font-size: 1.35rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.event__weekday { margin-top: .5rem; font-size: 1rem; color: var(--muted-on-ink); }
.event__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 750; font-stretch: 88%; letter-spacing: -.015em; }
.event__title [lang="fr"] { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1em; }
.event__time { margin-top: .35rem; font-weight: 700; color: var(--ball); }
.event__body > p:last-child { margin-top: .6rem; max-width: 56ch; color: var(--muted-on-ink); }
.event__ics { justify-self: end; }

@media (max-width: 48rem) {
  .event { grid-template-columns: 1fr; gap: 1rem; }
  .event__ics { justify-self: start; }
}

/* ==========================================================================
   QUOTES
   ========================================================================== */
.quotes { padding-block: clamp(4rem, 8vw, 7rem); }
.quotes .eyebrow { color: var(--ink); }
.quotes__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 0;
  list-style: none;
}
.quote blockquote { position: relative; padding-top: 3.25rem; }
.quote blockquote::before {
  content: "“";
  position: absolute;
  top: -.75rem; left: -.25rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 6.5rem;
  line-height: 1;
  color: var(--court);
}
.quote blockquote p {
  font-size: clamp(1.4rem, 1.1rem + .9vw, 1.85rem);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.quote figcaption { margin-top: 1.25rem; font-weight: 600; }
.quote figcaption::before { content: "— "; }

@media (max-width: 60rem) { .quotes__list { grid-template-columns: 1fr; max-width: 40rem; } }

/* ==========================================================================
   WOORDENLIJST
   ========================================================================== */
.glossary { padding-block: var(--section-y); }
.glossary__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}
.term {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
}
.term dt dfn { font-family: var(--font-serif); font-style: italic; font-size: 2rem; line-height: 1.1; color: var(--court); }
.term dd { margin-top: .75rem; color: var(--muted-on-chalk); font-size: 1.05rem; }
.term--ball { background: var(--ball); border-color: var(--ball); }
.term--ball dt dfn { color: var(--ink); }
.term--ball dd { color: var(--ink); }

@media (max-width: 66rem) { .glossary__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .glossary__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   PROEFLES + FORMULIER
   ========================================================================== */
.trial { position: relative; padding-block: var(--section-y); overflow: clip; isolation: isolate; }
.trial__bg {
  position: absolute;
  inset: 0 0 0 35%;
  z-index: -1;
  opacity: .3;
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 95%);
  mask-image: linear-gradient(to left, #000 30%, transparent 95%);
}
.trial__bg .parallax { position: absolute; inset: 0; aspect-ratio: auto; }

.trial__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.trial__intro { position: sticky; top: calc(var(--header-h) + 2rem); }

.checks { margin-top: 2rem; padding: 0; list-style: none; display: grid; gap: .8rem; }
.checks li { position: relative; padding-left: 2.1rem; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: .25em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--ball) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2308152e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-style: normal;
  color: var(--muted-on-ink);
}
.contact h3 { margin-bottom: 1rem; font-size: 1.35rem; color: #fff; }
.contact p + p { margin-top: .75rem; }
.contact a { color: #fff; font-weight: 700; }

.form-card {
  --fg: var(--ink); --bg: var(--paper); --focus: var(--court); --muted: var(--muted-on-chalk); --border: rgb(8 21 46 / .14);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + .5rem);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 2.5rem 5rem -2rem rgb(0 0 0 / .55);
}
.form__title { font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; }
.form__title:focus { outline: none; }
.form__intro, .form__privacy { margin-top: .75rem; color: var(--muted-on-chalk); font-size: 1rem; }
.form__privacy { margin: 1.75rem 0 1.25rem; }
.req-mark { color: var(--rouge-on-chalk); font-weight: 800; }

.form__summary {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 3px solid var(--rouge-on-chalk);
  border-radius: 1rem;
  background: #fff4f2;
}
.form__summary:focus { outline: 3px solid var(--court); outline-offset: 3px; }
.form__summary h4 { font-size: 1.15rem; color: var(--rouge-on-chalk); }
.form__summary ul { margin-top: .5rem; padding-left: 1.25rem; }
.form__summary a { color: var(--rouge-on-chalk); font-weight: 700; }

.field { margin-top: 1.5rem; }
.field label, .field legend { display: block; font-weight: 700; font-size: 1.05rem; }
.field__optional { font-weight: 500; color: var(--muted-on-chalk); }
.field__hint { margin-top: .2rem; font-size: .98rem; color: var(--muted-on-chalk); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 3.25rem;
  margin-top: .5rem;
  padding: .7rem 1rem;
  border: 2px solid #5a6478;
  border-radius: .85rem;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field select {
  appearance: none;
  padding-right: 3rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%2308152e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / 1.25rem no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 3px solid var(--court);
  outline-offset: 2px;
  border-color: var(--court);
}
.field [aria-invalid="true"] { border-color: var(--rouge-on-chalk); border-width: 3px; }
.field__error {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
  color: var(--rouge-on-chalk);
  font-weight: 700;
  font-size: 1rem;
}
.field__error::before {
  content: "!";
  flex: none;
  display: grid; place-items: center;
  width: 1.35rem; height: 1.35rem;
  margin-top: .1rem;
  border-radius: 50%;
  background: var(--rouge-on-chalk);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}
.field__error[hidden] { display: none; }

.field--choices { margin-inline: 0; padding: 0; border: 0; min-width: 0; }
.field--choices legend { margin-bottom: .5rem; padding: 0; }
.choice { position: relative; }
.choice + .choice { margin-top: .5rem; }
.choice input {
  position: absolute;
  top: 50%; left: 1rem;
  width: 1.4rem; height: 1.4rem;
  margin: 0;
  transform: translateY(-50%);
  accent-color: var(--court);
}
.choice label {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: .6rem 1rem .6rem 3.25rem;
  border: 2px solid rgb(8 21 46 / .2);
  border-radius: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.choice label:hover { border-color: var(--ink); }
.choice input:checked + label { border-color: var(--court); background: #eaf0fb; }
.choice input[aria-invalid="true"] + label { border-color: var(--rouge-on-chalk); }
.choice input:focus-visible { outline: 3px solid var(--court); outline-offset: 3px; }

.review p { margin-top: .75rem; color: var(--muted-on-chalk); }
.review__list { margin-top: 1.5rem; border-top: 1px solid var(--border); }
.review__list div { display: grid; grid-template-columns: minmax(0, 12rem) 1fr; gap: .25rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.review__list dt { font-weight: 700; }
.review__list dd { margin: 0; overflow-wrap: anywhere; }
.review__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.done { text-align: center; padding-block: 1.5rem; }
.done__icon { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; fill: none; stroke: var(--court); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.done__icon circle { fill: var(--ball); stroke: none; }
[data-motion="on"] .done:not([hidden]) .done__icon path { stroke-dasharray: 60; animation: check 1s .2s var(--ease-out) both; }
@keyframes check { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
.done p { margin: 1rem auto 2rem; max-width: 40ch; color: var(--muted-on-chalk); }

@media (max-width: 60rem) {
  .trial__grid { grid-template-columns: 1fr; }
  .trial__intro { position: static; }
  .trial__bg { inset: 0; opacity: .18; }
}
@media (max-width: 30rem) {
  .review__list div { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding-block: clamp(4rem, 8vw, 7rem) 2.5rem;
  border-top: 1px solid rgb(255 255 255 / .1);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.site-footer__claim {
  font-size: clamp(2.5rem, 1rem + 5vw, 5.5rem);
  font-weight: 800;
  font-stretch: 78%;
  line-height: .95;
  letter-spacing: -.03em;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 3rem;
  color: var(--muted-on-ink);
}
.site-footer__h { margin-bottom: 1rem; font-size: 1rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ball); }
.site-footer__grid ul { padding: 0; list-style: none; display: grid; gap: .25rem; }
.site-footer__grid a { display: inline-flex; align-items: center; min-height: 2.75rem; color: #fff; }
.site-footer__credits { font-size: 1rem; }
.site-footer__credits a { display: inline; min-height: 0; }
.site-footer__bottom { padding-top: 2rem; border-top: 1px solid var(--border); font-size: 1rem; color: var(--muted-on-ink); }
.site-footer__bottom a { color: #fff; }

@media (max-width: 60rem) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   TOEGANKELIJKHEIDSPAGINA
   ========================================================================== */
.page { padding-block: calc(var(--header-h) + 4rem) var(--section-y); min-height: 80vh; }
.page .wrap { max-width: 52rem; }
.page h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); font-weight: 800; font-stretch: 82%; letter-spacing: -.025em; line-height: 1; }
.page h2 { margin-top: 3rem; font-size: 1.75rem; }
.page p, .page li { color: var(--muted-on-chalk); }
.page ul { margin-top: 1rem; padding-left: 1.25rem; display: grid; gap: .5rem; }
.page p { margin-top: 1rem; }
.page a { color: var(--court); font-weight: 700; }

/* ==========================================================================
   REVEAL BIJ SCROLLEN
   Alleen verborgen als JS draait én animaties aan staan; anders gewoon zichtbaar.
   ========================================================================== */
[data-motion="on"] [data-reveal] {
  transition: opacity .9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-motion="on"] [data-reveal]:not(.is-in) { opacity: 0; transform: translate3d(0, 2.5rem, 0); }
[data-motion="on"] .event[data-reveal]:not(.is-in) { transform: translate3d(-2.5rem, 0, 0); }
[data-motion="on"] .plan[data-reveal]:not(.is-in) { transform: translate3d(0, 4rem, 0) rotate(calc(var(--r, 0) * 1deg)); }
[data-motion="on"] .club__photo[data-reveal]:not(.is-in),
[data-motion="on"] .lessen__photo[data-reveal]:not(.is-in) { transform: scale(.94); }

/* ==========================================================================
   ANIMATIES UIT
   Knop in de header, of systeeminstelling ‘minder beweging’ (die zet de knop standaard uit).
   ========================================================================== */
[data-motion="off"] .scroll-progress { display: none; }
[data-motion="off"] *,
[data-motion="off"] *::before,
[data-motion="off"] *::after {
  animation: none !important;
  transition-duration: .01ms !important;
  transition-delay: 0s !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html:not([data-motion="on"]) *,
  html:not([data-motion="on"]) *::before,
  html:not([data-motion="on"]) *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HOGE-CONTRASTMODUS (Windows) EN PRINT
   ========================================================================== */
@media (forced-colors: active) {
  .btn, .motion-toggle, .menu-toggle, .choice label { border: 2px solid ButtonText; }
  .court__path { stroke: Highlight; }
  .statement .w { background: none; }
  .how__num { color: CanvasText; -webkit-text-stroke: 0; }
}

@media print {
  .site-header, .scroll-progress, .hero__ball, .hero__scroll, .marquee, .hero__badge, .trial__bg, .event__ics { display: none !important; }
  body, .theme-ink, .theme-court, .theme-ball { background: #fff !important; color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
