/* =========================================================
   Sport Office Barendrecht – moderne variant
   ========================================================= */

/* ---------- Lokale fonts ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Yellowtail";
  src: url("../assets/fonts/yellowtail-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #07090d;
  --bg-2: #0d1117;
  --surface: #121720;
  --surface-2: #19202b;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef2f7;
  --muted: #98a3b3;
  --brand: #009afe;
  --brand-2: #52c2ff;
  --brand-deep: #1e70b8;
  --grad: linear-gradient(135deg, #009afe 0%, #1e70b8 100%);

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-script: "Yellowtail", cursive;

  --r: 18px;
  --r-sm: 12px;
  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
main { overflow-x: clip; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.h2 {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 6vw, 72px); letter-spacing: .005em; line-height: .95;
  margin-bottom: 20px;
}
.accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Knoppen ---------- */
.btn {
  --pad: 13px 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--lg { --pad: 17px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(0, 154, 254, .7); }
.btn--primary:hover { background: #1aa6ff; box-shadow: 0 14px 34px -10px rgba(0, 154, 254, .9); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--brand); color: #fff; background: rgba(0, 154, 254, .1); }
.btn--light { background: #fff; color: #06121f; }
.btn--light:hover { background: #e8f5ff; }
.btn--ghost-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 9, 13, .72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 50px; width: auto; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a {
  position: relative; display: block; padding: 8px 12px;
  font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav ul a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px; transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav ul a:hover, .nav ul a.active { color: #fff; }
.nav ul a.active::after { transform: scaleX(1); }

.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero__bg {
  /* foto rechts, zodat het gezicht naast de tekst staat */
  position: absolute; inset: 0 0 0 28%; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 9, 13, .55) 22%, rgba(7, 9, 13, 0) 55%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    url("../assets/img/hero.webp") 40% center / cover no-repeat;
  animation: heroZoom 9s cubic-bezier(.16, .8, .24, 1) both;
  transform-origin: 65% 40%;
}
.hero::after { /* zachte blauwe gloed linksboven (boven de foto, zodat er geen harde rand ontstaat) */
  content: ""; position: absolute; z-index: -1; pointer-events: none; left: -10%; top: -20%; width: 60%; height: 90%;
  background: radial-gradient(closest-side, rgba(0, 154, 254, .16), transparent);
}
@keyframes heroZoom { from { transform: scale(1.3); filter: brightness(.6); } to { transform: scale(1); filter: none; } }
.hero__content { position: relative; }
.hero__title {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(64px, 11vw, 150px); line-height: .86; letter-spacing: -.005em;
  max-width: 9ch;
}
.hero__script {
  font-family: var(--f-script); color: var(--brand-2);
  font-size: clamp(30px, 4vw, 46px); line-height: 1; margin: 14px 0 22px;
  transform: rotate(-3deg); transform-origin: left;
}
.hero__lead { max-width: 480px; color: #c6cfdb; font-size: 18px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero__facts {
  display: inline-flex; flex-wrap: wrap;
  background: rgba(10, 14, 22, .55); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  position: relative; overflow: hidden;
}
.hero__facts::before { /* blauwe lichtlijn bovenaan */
  content: ""; position: absolute; inset: 0 0 auto; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand-2) 50%, var(--brand) 80%, transparent);
}
.hero__facts li {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 26px 18px 20px;
}
.hero__facts li + li { border-left: 1px solid rgba(255, 255, 255, .08); }
.fact__icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 22px -8px rgba(0, 154, 254, .9);
}
.fact__icon svg { width: 22px; height: 22px; }
.hero__facts strong {
  font: 800 46px/.9 var(--f-head); color: #fff; letter-spacing: -.01em;
  text-shadow: 0 0 24px rgba(0, 154, 254, .45);
}
.fact__label {
  font: 700 15px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; color: #b9c6d6;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 34px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--brand-2); animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; background: var(--grad); padding: 16px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span {
  font: 800 26px/1 var(--f-head); text-transform: uppercase; letter-spacing: .03em; color: #fff;
  padding: 0 28px; display: flex; align-items: center; gap: 56px;
}
.ticker span::after { content: "✦"; font-size: 16px; opacity: .7; margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Secties ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--row { max-width: none; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section__head--row .h2 { margin-bottom: 0; }
.section__head-side { display: flex; align-items: center; gap: 20px; color: var(--muted); flex-wrap: wrap; }
.section__head-side p { margin: 0; max-width: 300px; font-size: 15px; }
.section__intro { color: var(--muted); font-size: 18px; }

/* ---------- Over ons ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__text p:not(.eyebrow) { color: #c3ccd8; }
.about__media { margin: 0; position: relative; }
.about__media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% center;
  border-radius: var(--r); box-shadow: var(--shadow);
}
.about__media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px solid var(--brand); border-radius: var(--r); opacity: .5;
}
.about__badge {
  position: absolute; left: -24px; bottom: 36px;
  display: flex; align-items: center; gap: 12px;
  background: var(--grad); padding: 16px 22px; border-radius: 16px; box-shadow: var(--shadow);
  font-weight: 600; font-size: 15px; line-height: 1.2; max-width: 210px;
}
.about__badge strong { font: 800 48px/1 var(--f-head); }

.usps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: clamp(70px, 9vw, 110px); }
.usp {
  padding: 22px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .3s, transform .3s var(--ease);
}
.usp:hover { border-color: rgba(0, 154, 254, .5); transform: translateY(-4px); }
.usp__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(0, 154, 254, .12); color: var(--brand-2); margin-bottom: 14px; }
.usp__icon svg { width: 22px; height: 22px; }
.usp h3 { font: 700 20px/1.1 var(--f-head); text-transform: uppercase; margin-bottom: 6px; }
.usp p { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Vrij trainen / voorzieningen ---------- */
.facilities__intro { max-width: 440px !important; font-size: 17px; color: var(--muted); }
.gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, clamp(170px, 17vw, 240px));
  grid-template-areas:
    "a a b c c"
    "a a b d e";
}
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); }
.gallery__item--a { grid-area: a; }
.gallery__item--b { grid-area: b; }
.gallery__item--c { grid-area: c; }
.gallery__item--d { grid-area: d; }
.gallery__item--e { grid-area: e; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .5s;
  filter: saturate(.9) brightness(.92);
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(7, 9, 13, .85) 0%, rgba(7, 9, 13, 0) 45%);
  pointer-events: none;
}
.gallery__item:hover img { transform: scale(1.06); filter: none; }
.gallery__item figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  font: 700 20px/1.1 var(--f-head); text-transform: uppercase; letter-spacing: .02em;
  display: flex; align-items: center; gap: 10px;
}
.gallery__item figcaption::before { content: ""; width: 18px; height: 2px; background: var(--brand-2); border-radius: 2px; flex: 0 0 auto; }
.gallery__item--a figcaption { font-size: 28px; left: 24px; bottom: 22px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.feature { display: flex; gap: 14px; padding: 22px 20px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.feature__icon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(0, 154, 254, .12); color: var(--brand-2); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font: 700 20px/1.1 var(--f-head); text-transform: uppercase; margin: 2px 0 6px; }
.feature p { font-size: 14px; line-height: 1.5; color: var(--muted); }

.facilities__cta {
  margin-top: 18px; padding: 26px 28px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(0, 154, 254, .16), rgba(30, 112, 184, .08));
  border: 1px solid rgba(0, 154, 254, .28);
}
.facilities__cta p { margin: 0; font-size: 17px; font-weight: 500; }
.facilities__cta p { flex: 1 1 260px; }
.facilities__price {
  display: grid; grid-template-columns: auto auto; align-items: end; column-gap: 8px;
  padding-right: 24px; border-right: 1px solid rgba(0, 154, 254, .28);
}
.facilities__price span { grid-column: 1 / -1; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }
.facilities__price b { font: 800 44px/1 var(--f-head); }
.facilities__price small { font-size: 14px; color: var(--muted); padding-bottom: 5px; }
.facilities__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Lessen ---------- */
.classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.class-card {
  --c: var(--brand);
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; min-height: 250px;
  padding: 28px 26px 24px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); color: var(--text); font: inherit;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.class-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--c);
}
.class-card::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%;
  background: var(--c); opacity: .09; filter: blur(10px); transition: opacity .35s, transform .5s var(--ease);
}
.class-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 55%, transparent); background: var(--surface-2); }
.class-card:hover::after { opacity: .2; transform: scale(1.3); }
.class-card__tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.class-card h3 { font: 800 44px/0.95 var(--f-head); text-transform: uppercase; margin-bottom: 12px; }
.class-card p { color: #b8c2cf; font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.class-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--c); }
.class-card__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.class-card:hover .class-card__more svg { transform: translateX(4px); }

/* ---------- Sfeerimpressie ---------- */
.mood__intro { max-width: 420px !important; font-size: 17px; color: var(--muted); }
.mood {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, clamp(170px, 18vw, 250px));
  grid-template-areas:
    "a a b c"
    "a a b c"
    "d d e f";
}
.mood__item { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--surface); cursor: zoom-in; }
.mood__item--a { grid-area: a; }
.mood__item--b { grid-area: b; }
.mood__item--c { grid-area: c; }
.mood__item--d { grid-area: d; }
.mood__item--e { grid-area: e; }
.mood__item--f { grid-area: f; }
.mood__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.95); }
.mood__item--b { background: #000; }
.mood__item--b img { object-fit: contain; transform-origin: center; } /* tekst mag niet afgesneden worden */
.mood__item--c img { object-position: center 25%; }
.mood__item--f img { object-position: center 55%; }
.mood__item::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(7, 9, 13, .35));
}
.mood__item::before {
  content: ""; position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(7, 9, 13, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 18px no-repeat;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.mood__item:hover img { transform: scale(1.05); }
.mood__item:hover::before, .mood__item:focus-visible::before { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 5, 8, .97); color: #fff;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; animation: modalIn .3s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: min(92vw, 1400px); max-height: 84dvh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  transition: background .2s;
}
.lightbox__btn:hover { background: rgba(0, 154, 254, .5); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; margin: 0; font-size: 14px; color: var(--muted); letter-spacing: .1em; }

/* ---------- Rooster ---------- */
.section--rooster { overflow: hidden; }
.section--rooster::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(7,9,13,.86) 30%, rgba(7,9,13,.86) 70%, var(--bg) 100%),
              url("../assets/img/rooster-bg.webp") center / cover no-repeat;
}
.section--rooster { isolation: isolate; }
.rooster-card {
  background: #f5f8fc; color: #1a2230;
  border-radius: var(--r); padding: clamp(14px, 2.5vw, 30px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255,255,255,.06);
  overflow-x: auto; min-height: 380px;
}
.rooster-loading { display: grid; place-items: center; gap: 16px; padding: 110px 20px; text-align: center; color: #5b6778; }
.rooster-msg a { color: var(--brand-deep); font-weight: 600; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #d7e3f0; border-top-color: var(--brand); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* kleine verfijningen van het Sportbit-rooster */
#sportbit-rooster .embed-rooster { font-family: var(--f-body) !important; }
#sportbit-rooster .evtitem { border-radius: 8px; transition: transform .2s var(--ease), box-shadow .2s; }
#sportbit-rooster .evtitem:not(.gepasseerd):hover { transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(0, 40, 90, .35); }

/* ---------- Trainers ---------- */
.trainers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trainer {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .35s var(--ease), border-color .35s;
}
.trainer:hover { transform: translateY(-6px); border-color: rgba(0, 154, 254, .45); }
.trainer__photo { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: #0f141c; }
.trainer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease); filter: grayscale(.2); }
.trainer:hover .trainer__photo img { transform: scale(1.05); filter: none; }
.trainer__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, var(--surface), transparent); }
.trainer__body { padding: 0 22px 22px; margin-top: -40px; position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.trainer__script { font-family: var(--f-script); color: var(--brand-2); font-size: 34px; line-height: 1; margin-bottom: 4px; }
.trainer__name { font: 800 30px/1 var(--f-head); text-transform: uppercase; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(0, 154, 254, .12); color: #bfe4ff; border: 1px solid rgba(0, 154, 254, .25); }
.trainer .btn { margin-top: auto; }

.trainer--placeholder { border-style: dashed; border-color: var(--line-2); }
.trainer--placeholder .trainer__photo { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #1b2431, #0f141c 70%); }
.trainer__silhouette { width: 46%; fill: #243044; stroke: none; margin-top: 18%; }
.trainer__soon {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); border: 1px solid var(--line-2);
}
.trainer--placeholder .trainer__script, .trainer--placeholder .trainer__name { color: #5d6a7c; }
.trainer--placeholder .chips li { background: transparent; color: #5d6a7c; border-color: var(--line-2); }

/* ---------- Tarieven ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: stretch; }
.price-card {
  position: relative; padding: 32px 28px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.price-card h3 { font: 800 30px/1 var(--f-head); text-transform: uppercase; margin-bottom: 20px; }
.price-card__h-sm { font-size: 22px !important; margin: 28px 0 12px !important; color: var(--muted); }
.price-rows li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: #c3ccd8;
}
.price-rows li:last-child { border-bottom: 0; }
.price-rows b { font: 700 24px/1 var(--f-head); color: #fff; white-space: nowrap; }

.price-card--featured {
  background: var(--grad); border: 0; text-align: center; align-items: center; justify-content: center;
  box-shadow: 0 30px 70px -25px rgba(0, 154, 254, .7);
  padding-top: 70px;
  margin: -16px 0 16px; /* iets hoger dan de buren */
}
.price-card--featured h3 { margin-bottom: 4px; }
.price-card__label {
  position: absolute; top: 18px; left: 50%; translate: -50% 0;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(0, 0, 0, .22); padding: 6px 12px; border-radius: 999px;
}
.price-card__big { font: 800 120px/1 var(--f-head); margin: 10px 0 6px; letter-spacing: -.02em; }
.price-card__big span { font-size: .45em; vertical-align: .9em; margin-right: 4px; }
.price-card__sub { color: rgba(255, 255, 255, .85); max-width: 240px; margin-bottom: 26px; }
.price-card__link { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.price-card__link:hover { color: #fff; }

/* ---------- CTA ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; text-align: center; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, rgba(0, 154, 254, .92), rgba(20, 60, 120, .94)),
              url("../assets/img/tarieven-bg.webp") center / cover no-repeat;
}
.cta__script { font-family: var(--f-script); font-size: clamp(34px, 5vw, 56px); line-height: 1; margin-bottom: 8px; }
.cta .h2 { margin-bottom: 36px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__intro p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-bottom: 30px; }
.contact__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__list li.wide { grid-column: 1 / -1; }
.contact__list li { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); }
.contact__icon { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 154, 254, .12); color: var(--brand-2); }
.contact__icon svg { width: 22px; height: 22px; }
.contact__list h3 { font: 700 18px/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 2px 0 6px; }
.contact__list p { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--brand-2); }
.contact__list small { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.footer__logo { width: 220px; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
.footer__nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.footer__nav a:hover { color: #fff; }
.footer__meta { font-size: 13px; color: #6b7686; }

/* ---------- Mobiele actiebalk ---------- */
.mobile-bar { display: none; }

/* ---------- Modals ---------- */
.modal {
  --c: var(--brand);
  width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 40px 36px 34px; border: 1px solid var(--line-2); border-radius: 22px;
  background: var(--surface); color: var(--text);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .7);
}
.modal::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--c); border-radius: 22px 22px 0 0; }
.modal::backdrop { background: rgba(3, 5, 8, .75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--text);
}
.modal__close:hover { background: rgba(255, 255, 255, .12); }
.modal__close svg { width: 18px; height: 18px; }
.modal__tag { padding-right: 48px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c); margin-bottom: 8px; }
.modal h3 { font: 800 52px/.95 var(--f-head); text-transform: uppercase; margin-bottom: 20px; }
.modal p { color: #c3ccd8; font-size: 16px; }
.modal .btn { margin-top: 12px; }
body.modal-open { overflow: hidden; }

/* ---------- Reveal-animaties (alleen met JS) ---------- */
/* 'translate' i.p.v. 'transform', zodat hover-effecten (transform) blijven werken */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s var(--ease), border-color .35s, background .35s; }
.js .reveal.in { opacity: 1; translate: 0 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .usps { grid-template-columns: repeat(3, 1fr); }
  .trainers { grid-template-columns: repeat(2, 1fr); }
  .nav ul a { padding: 8px 9px; font-size: 14px; }
  .nav { gap: 12px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(7, 9, 13, .97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; align-items: center; gap: 4px; }
  .nav ul a { font: 800 38px/1.1 var(--f-head); text-transform: uppercase; color: var(--text); padding: 6px 12px; }
  .nav ul a::after { display: none; }
  .nav ul a.active { color: var(--brand-2); }
  .nav__cta { font-size: 17px; padding: 16px 34px; }
  .brand { z-index: 2; }

  .hero__bg {
    inset: 0;
    background:
      linear-gradient(90deg, rgba(7, 9, 13, .92) 0%, rgba(7, 9, 13, .6) 55%, rgba(7, 9, 13, .25) 100%),
      linear-gradient(0deg, var(--bg) 0%, transparent 30%),
      url("../assets/img/hero.webp") 60% center / cover no-repeat;
  }
  .about { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, clamp(150px, 24vw, 220px));
    grid-template-areas: "a a b" "a a b" "c d e";
  }
  .features { grid-template-columns: 1fr 1fr; }
  .mood {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, clamp(150px, 24vw, 230px));
    grid-template-areas: "a a b" "a a b" "d e c";
  }
  .mood__item--f { display: none; }
  .about__media { max-width: 560px; }
  .about__media img { aspect-ratio: 16 / 11; }
  .classes { grid-template-columns: repeat(2, 1fr); }
  .trainers { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr 1fr; }
  .price-card--featured { grid-column: 1 / -1; order: -1; margin: 0; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { padding-inline: 18px; }
  .brand img { height: 42px; }

  .hero { min-height: 92svh; padding-bottom: 90px; align-items: flex-end; }
  .hero__bg {
    inset: 0;
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(7, 9, 13, .9) 38%, rgba(7, 9, 13, .35) 70%, rgba(7, 9, 13, .6) 100%),
      url("../assets/img/hero.webp") 62% center / cover no-repeat;
  }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-bottom: 30px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts { display: flex; flex-wrap: nowrap; border-radius: 16px; }
  .hero__facts li { flex: 1 1 0; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 12px; }
  .fact__icon { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 2px; }
  .fact__icon svg { width: 18px; height: 18px; }
  .hero__facts strong { font-size: 34px; }
  .fact__label { font-size: 12px; letter-spacing: .04em; }
  .hero__scroll { display: none; }
  .ticker span { font-size: 20px; }

  .about__badge { left: 12px; bottom: 12px; padding: 12px 16px; }
  .about__badge strong { font-size: 38px; }
  .about__media::before { display: none; }
  .usps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .usp { padding: 18px 14px; }
  .classes, .trainers, .pricing, .contact__list { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr; gap: 10px;
    grid-template-rows: 200px 130px 130px 150px;
    grid-template-areas: "a a" "b c" "b d" "e e";
  }
  .gallery__item figcaption { font-size: 16px; left: 12px; bottom: 10px; }
  .gallery__item--a figcaption { font-size: 22px; left: 16px; bottom: 14px; }
  .features { grid-template-columns: 1fr; gap: 10px; }
  /* sfeerimpressie: veegbare fotostrip */
  .mood {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: -18px; padding: 0 18px 6px; scrollbar-width: none;
  }
  .mood::-webkit-scrollbar { display: none; }
  .mood__item, .mood__item--f { display: block; flex: 0 0 78%; height: 380px; scroll-snap-align: center; }
  .mood__item::before { opacity: 1; transform: none; width: 34px; height: 34px; right: 10px; bottom: 10px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; width: 46px; height: 46px; }
  .lightbox__count { bottom: 34px; }
  .facilities__cta { padding: 22px 20px; }
  .facilities__cta-actions .btn { flex: 1 1 auto; }
  .facilities__price { padding-right: 0; border-right: 0; }
  .class-card { min-height: 0; }
  .class-card h3 { font-size: 38px; }
  .section__head { margin-bottom: 40px; }
  .price-card__big { font-size: 100px; }
  .modal { padding: 36px 22px 26px; }
  .modal h3 { font-size: 42px; }

  .mobile-bar {
    display: flex; gap: 8px; align-items: center;
    position: fixed; inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px; z-index: 40;
    padding: 8px; border-radius: 18px;
    background: rgba(18, 23, 32, .88); border: 1px solid var(--line-2);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
    transition: transform .35s var(--ease);
  }
  .mobile-bar.hide { transform: translateY(140%); }
  .mobile-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 6px 4px; border-radius: 12px; font-size: 12px; font-weight: 600; text-decoration: none; color: var(--muted);
  }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .mobile-bar__main { flex: 1.6; flex-direction: row; justify-content: center; background: var(--brand); color: #fff; font-size: 15px; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
}
