/* BIG BEAR CrossFit Lüdenscheid
   Corporate Design der bestehenden Seite: Nachtschwarz, Fog Green, Bear Yellow,
   Oliv, Sand. Montserrat (Versalien, weit gesperrt) + Inter. Eckige Formen, Outline-Buttons.
   Layout: große gesperrte Versal-Überschriften, Fotos angeschnitten und überlappend,
   ruhiger Wechsel zwischen Nachtschwarz und Melanite. */

@font-face { font-family: "Montserrat"; font-weight: 400 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-var.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }

:root {
  /* Markenfarben, 1:1 von der bestehenden Seite */
  --night: #111013;       /* Seitenhintergrund */
  --melanite: #2D2D27;    /* Dunkel-Oliv, zweite Fläche */
  --anthrazit: #26262A;   /* Open-Gym-Zellen */
  --fog: #BCC8C2;         /* Fließtext, Rahmen, Formularfelder */
  --fog-bright: #E3E9E6;  /* aufgehellter Fog für Hervorhebungen im Text */
  --salbei: #BFC8C1;      /* Spezial-Classes im Kursplan */
  --yellow: #F9EC64;      /* Überschriften, Links */
  --plan-yellow: #F7E967; /* WOB im Kursplan */
  --hyrox: #F7C531;       /* HYROX */
  --olive: #616245;       /* Ziffern, Uhrzeiten, Hover-Text */
  --sand: #B0AC98;        /* Kurskarten */
  --grey-green: #8F9893;  /* leiser Text */
  --ink: #1B1B1D;         /* Text auf Gelb */
  --line: rgba(188, 200, 194, .16);

  --f-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --track-wide: .16em;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1240px;
  --section: clamp(72px, 11vw, 144px);
  --topbar: 64px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 12px); }
body {
  margin: 0;
  background: var(--night);
  color: var(--fog);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

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

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  font: 500 .6875rem/1.2 var(--f-head);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grey-green);
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--olive); }

.display {
  font: 400 clamp(1.9rem, 7vw, 3.6rem)/1.1 var(--f-head);
  letter-spacing: var(--track-wide);
  text-transform: uppercase;
  color: var(--yellow);
  text-wrap: balance;
}

.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); }
.head--split { align-items: end; }
.head__note { max-width: 44ch; color: var(--grey-green); }
@media (min-width: 900px) { .head--split { grid-template-columns: 1fr auto; gap: 48px; } }

/* ---------- Buttons (CD: eckig, 1 px Fog-Rahmen, Kleinbuchstaben) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  border: 1px solid var(--fog); border-radius: 0;
  background: transparent; color: var(--fog);
  font: 400 1rem/1 var(--f-head); letter-spacing: .02em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--fog); color: var(--olive); }
.btn--solid { background: var(--fog); color: var(--melanite); font-weight: 500; }
.btn--solid:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--lg { min-height: 56px; padding-inline: 34px; font-size: 1.125rem; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(17, 16, 19, .86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { height: var(--topbar); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
.brand__logo { height: 22px; width: auto; }
@media (min-width: 700px) { .brand__logo { height: 28px; } }
.brand__word { font: 700 1.25rem/1 var(--f-head); letter-spacing: .08em; color: var(--fog); }
.brand__word span { display: none; }

.nav { display: none; gap: 30px; }
.nav a {
  font: 500 .6875rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; padding-block: 10px; position: relative; transition: color .2s ease;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--yellow); }
.topbar__cta { display: none; min-height: 42px; padding-inline: 22px; font-size: .9375rem; }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; padding: 12px 0 12px 12px; cursor: pointer;
  font: 500 .6875rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase;
}
.menu-btn__icon { display: grid; gap: 6px; width: 24px; }
.menu-btn__icon i { display: block; height: 1px; background: currentColor; transition: transform .25s ease; }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (min-width: 1100px) {
  .nav { display: flex; }
  .topbar__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

.menu {
  position: fixed; inset: calc(var(--topbar) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 39;
  background: var(--night);
  display: flex; flex-direction: column; justify-content: space-between;
  padding-block: 16px calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
}
.menu__nav { display: grid; }
.menu__nav a {
  font: 400 1.5rem/1.2 var(--f-head); letter-spacing: var(--track-wide); text-transform: uppercase;
  color: var(--yellow); text-decoration: none; padding: 20px 0; border-bottom: 1px solid var(--line);
}
.menu__foot { display: grid; gap: 16px; padding-top: 32px; }
.menu__foot p { font-size: .875rem; color: var(--grey-green); }
body.menu-open { overflow: hidden; }

/* ---------- Fotos ---------- */
.photo { position: relative; overflow: hidden; background: var(--melanite); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
img.is-missing { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { padding-bottom: 8px; }
.hero__grid { display: grid; }
.hero__media {
  margin-inline: calc(var(--gutter) * -1);
  width: calc(100% + 2 * var(--gutter));
  aspect-ratio: 4 / 4.4; max-height: 68vh;
}
/* Gesicht des Coaches liegt oben rechts im Bild: Ausschnitt nach oben ziehen, nichts darüberlegen */
.hero__media img { object-position: 62% 8%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(17,16,19,0) 0%, rgba(17,16,19,0) 45%, rgba(17,16,19,.2) 62%, var(--night) 100%);
}
.hero__copy { position: relative; z-index: 2; display: grid; gap: 20px; margin-top: -4rem; }
.hero__title {
  font: 400 clamp(2.1rem, 9.4vw, 4.4rem)/1.08 var(--f-head);
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--yellow);
}
.hero__title .l { display: block; }
.hero__title b { font-weight: 800; }
.hero__promise { display: flex; flex-wrap: wrap; gap: 0 .4em; font: 500 1.125rem/1.45 var(--f-head); color: var(--fog-bright); }
.hero__promise b { font-weight: 700; color: var(--yellow); }
.hero__offer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0;
  padding-block: 14px; border-block: 1px solid var(--line);
  font: 600 .75rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase;
}
.hero__offer li { display: flex; align-items: center; }
.hero__offer li + li:not(.hero__offer-tail)::before { content: ""; width: 1px; height: 14px; margin-inline: 14px; background: var(--olive); }
.hero__offer a { color: var(--fog-bright); text-decoration: none; padding-block: 6px; transition: color .2s ease; }
.hero__offer a:hover { color: var(--yellow); }
.hero__offer-tail { margin-left: 14px; color: var(--grey-green); font-weight: 500; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .hero__actions .btn { flex: 0 0 auto; } }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .8125rem; color: var(--fog); text-decoration: none; }
.rating__g { width: 18px; height: 18px; flex: none; }
.rating__stars { width: 84px; height: 15px; flex: none; color: var(--yellow); }
.rating:hover span { color: var(--yellow); }

/* Live-Anzeige: auf dem Handy unten links im Foto, oberhalb von Eyebrow und Überschrift
   (Foto und Anzeige teilen sich Grid-Zeile 1, der Text überlappt das Foto um 4rem) */
.hero__media { grid-row: 1; grid-column: 1; }
.hero__copy { grid-row: 2; grid-column: 1; }
.board {
  grid-row: 1; grid-column: 1; align-self: end; justify-self: start;
  position: relative; z-index: 3; margin-bottom: calc(4rem + 16px);
  display: grid; gap: 2px; padding: 10px 14px 11px;
  max-width: min(78%, 300px);
  background: rgba(17,16,19,.74);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--yellow);
  color: var(--fog);
}
.board__label { font: 500 .625rem/1.4 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--grey-green); display: flex; align-items: center; gap: 8px; }
.board__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }
.board.is-open .board__label::before { background: var(--yellow); box-shadow: 0 0 0 3px rgba(249,236,100,.2); animation: pulse 2.4s ease-in-out infinite; }
.board__state { font: 600 1rem/1.3 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.board__state { margin-bottom: 4px; }
.board__list { display: grid; gap: 1px; font: 400 .8125rem/1.45 var(--f-body); color: var(--fog); }
.board__list li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); column-gap: 8px; }
.board__list .is-free { display: block; }
.board__list time { font-variant-numeric: tabular-nums; color: var(--grey-green); }
.board__list .is-past { color: var(--grey-green); opacity: .6; }
.board__list .is-now, .board__list .is-next { color: var(--yellow); font-weight: 700; }
.board__list .is-now time, .board__list .is-next time { color: var(--yellow); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(249,236,100,0); } }

@media (min-width: 960px) {
  .hero { padding-top: clamp(40px, 5vw, 72px); }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 56px; align-items: center; }
  .hero__copy { grid-column: 1; grid-row: 1; margin-top: 0; padding-block: 24px; gap: 24px; }
  .hero__media { grid-column: 2; grid-row: 1; margin: 0; width: auto; aspect-ratio: auto; max-height: none; height: min(78vh, 720px); min-height: 560px; }
  .hero__media img { object-position: 60% 20%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(17,16,19,0) 55%, rgba(17,16,19,.55)); }
  .hero__title { margin-right: -30%; font-size: clamp(3.4rem, 4.6vw, 4.5rem); }
  .hero__title .l { white-space: nowrap; }
  .hero__promise { font-size: 1.375rem; }
  .hero__offer { justify-self: start; padding-right: 8px; }
  .board { grid-column: 2; grid-row: 1; justify-self: end; margin: 0 20px 20px 0; max-width: 300px; }
}

/* ---------- Intro ---------- */
.intro { padding-block: var(--section) 0; }
.intro__grid { display: grid; gap: 28px; }
.intro__title b { font-weight: 700; }
.intro__text { display: grid; gap: 16px; max-width: 56ch; font-size: 1rem; line-height: 1.7; color: var(--fog); }
.intro__turn { color: var(--fog-bright); font-weight: 500; }
.intro__gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; border-top: 1px solid var(--line); }
.intro__gains li {
  padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line);
  font: 600 .75rem/1.3 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow);
  display: flex; align-items: center; gap: 10px;
}
.intro__gains li::before { content: ""; width: 14px; height: 1px; background: var(--olive); flex: none; }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: end; }
}

.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(48px, 7vw, 88px);
}
.facts__item { padding: 20px 12px 22px 0; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.facts__item:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
.facts dt { font: 500 .625rem/1.3 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey-green); }
.facts dd { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.facts dd b { font: 400 clamp(1.9rem, 6vw, 3rem)/1 var(--f-head); letter-spacing: .04em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.facts dd span { font: 500 .75rem/1.2 var(--f-head); letter-spacing: .06em; color: var(--fog); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facts__item { padding: 28px 24px 30px; }
  .facts__item + .facts__item { border-left: 1px solid var(--line); padding-left: 28px; }
  .facts__item:first-child { padding-left: 0; }
}

/* ---------- Partner ---------- */
.partners { padding-block: clamp(32px, 5vw, 56px); }
.partners__inner { display: grid; gap: 22px; align-items: center; }
.partners__inner > p { font: 500 .75rem/1.6 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-green); max-width: 36ch; }
.partners__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.partners__logos img { height: 30px; width: auto; opacity: .85; }
.partners__logos li:first-child img { height: 38px; }
.partners__logos .partners__hyrox img { height: 64px; opacity: 1; }
.partners__logos .logo-text { font: 600 .75rem/1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; }
@media (min-width: 900px) {
  .partners__inner { grid-template-columns: 1fr auto; gap: 48px; }
  .partners__logos img { height: 36px; }
  .partners__logos li:first-child img { height: 46px; }
  .partners__logos .partners__hyrox img { height: 76px; }
}
@media (min-width: 1300px) {
  .partners__logos .partners__hyrox img { height: 20px; }
}

/* ---------- Bears only ---------- */
.only { padding-block: var(--section); }
.only__grid { display: grid; gap: 34px; }
.perk { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 4px 20px; align-items: start; }
.perk__num { grid-row: span 2; font: 400 clamp(4rem, 16vw, 6rem)/.8 var(--f-head); color: var(--olive); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.perk h3 { font: 600 1.25rem/1.25 var(--f-head); color: var(--fog); }
.perk p { color: var(--fog); font-size: .9375rem; max-width: 40ch; }
@media (min-width: 900px) {
  .only__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .perk h3 { font-size: 1.5rem; }
}

/* ---------- Community-Band ---------- */
.band { position: relative; margin: 0; background: var(--night); overflow: hidden; }
.band img { width: 100%; height: clamp(440px, 125vw, 620px); object-fit: cover; object-position: 50% 30%; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,19,.1) 35%, rgba(17,16,19,.85)); pointer-events: none; }
.band__caption {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(32px, 6vw, 72px);
  display: grid; justify-items: start; gap: .1em;
  font: 400 clamp(2rem, 8.5vw, 4.6rem)/1.1 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow);
}
.band__caption b { font-weight: 800; }
@media (min-width: 700px) {
  .band img { height: clamp(460px, 52vw, 720px); }
  .band::after { background: linear-gradient(90deg, rgba(17,16,19,.82), rgba(17,16,19,.15) 62%); }
  .band__caption { top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* ---------- Classes ---------- */
.classes { padding-block: var(--section); background: var(--melanite); }
.classes .head__note { color: var(--fog); }

.classes__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 360px);
  gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.classes__track::-webkit-scrollbar { display: none; }
.class { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: var(--sand); color: var(--melanite); min-width: 0; }
.class__photo { aspect-ratio: 4 / 4.2; max-width: 100%; }
.class__photo img { object-position: 50% 22%; transition: transform .6s ease; }
.class:hover .class__photo img { transform: scale(1.03); }
.class__body { display: grid; gap: 10px; align-content: start; padding: 22px 22px 26px; }
.class__kicker { font: italic 700 .8125rem/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--olive); }
.class__name { font: 600 1.5rem/1.1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--melanite); order: -1; }
.class__body p:not(.class__kicker) { font-size: .9375rem; line-height: 1.55; color: var(--melanite); }
.class__name small { font-size: .55em; font-weight: 600; letter-spacing: .12em; color: var(--olive); margin-left: .35em; vertical-align: .15em; }
.class__points { display: grid; gap: 8px; margin-top: 6px; }
.class__points li { position: relative; padding-left: 20px; font: 500 .875rem/1.45 var(--f-head); color: var(--melanite); }
.class__points li::before { content: ""; position: absolute; left: 0; top: .7em; width: 11px; height: 2px; background: var(--melanite); }

.track-nav { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.track-nav__hint { font: 500 .625rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--grey-green); white-space: nowrap; }
.track-nav__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.track-nav__bar i { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--yellow); transition: transform .1s linear; }

@media (min-width: 960px) {
  .classes__track {
    grid-auto-flow: row; overflow: visible; margin-inline: 0; padding-inline: 0;
    grid-template-columns: 1.3fr 1fr 1fr; grid-auto-columns: auto; gap: 20px;
  }
  .class--feature { grid-row: span 3; grid-template-rows: 1fr auto; }
  .class--feature .class__photo { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .class--feature .class__name { font-size: 2.25rem; }
  .class__photo { aspect-ratio: 16 / 10; }
  .track-nav { display: none; }
}

.extras { margin-top: clamp(56px, 8vw, 96px); display: grid; gap: 18px; }
.extras__title { font: 500 .6875rem/1.2 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey-green); }
.extras__list { display: grid; }
.extras__list li {
  display: grid; grid-template-columns: 12px minmax(0,1fr); gap: 4px 14px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.extras__list b { font: 600 1rem/1.3 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--fog); }
.extras__list li > span:last-child { grid-column: 2; font-size: .9375rem; }
@media (min-width: 900px) {
  .extras { grid-template-columns: 220px 1fr; gap: 48px; }
  .extras__list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot--wob { background: var(--plan-yellow); }
.dot--hyrox { background: var(--hyrox); }
.dot--spec { background: var(--salbei); }
.dot--open { background: var(--anthrazit); box-shadow: inset 0 0 0 1px var(--grey-green); }

/* ---------- Kursplan ---------- */
.plan { padding-block: var(--section); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; font: 500 .75rem/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }

.days {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px;
  position: sticky; top: calc(var(--topbar) + env(safe-area-inset-top, 0px)); z-index: 2;
  background: var(--night); padding-block: 10px; margin-bottom: 14px;
}
.days button {
  position: relative; min-height: 54px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--anthrazit); color: var(--grey-green);
  font: 600 .8125rem/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}
.days button[aria-selected="true"] { background: var(--olive); color: var(--fog); }
.days button.is-today::after {
  content: ""; position: absolute; left: 50%; bottom: 9px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--yellow);
}

.week { display: grid; gap: 28px; }
.js .day.is-inactive { display: none; }
.day { display: grid; gap: 8px; align-content: start; min-width: 0; }
.day__name { font: 600 .75rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--fog); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--olive); border-radius: 3px; }
.day__name em { font-style: normal; font-weight: 600; font-size: .5625rem; letter-spacing: .16em; background: var(--yellow); color: var(--ink); padding: 4px 6px 3px; border-radius: 2px; }
.slots { display: grid; gap: 4px; }
.slot {
  display: grid; grid-template-columns: 7.4em minmax(0,1fr); align-items: center; gap: 12px;
  padding: 15px 14px; border-radius: 3px;
  background: var(--plan-yellow); color: var(--ink);
}
.slot time { font: 700 .875rem/1 var(--f-body); font-variant-numeric: tabular-nums; }
.slot b { font: 600 .9375rem/1.2 var(--f-head); letter-spacing: .06em; text-transform: uppercase; }
.slot--hyrox { background: var(--hyrox); }
.slot--spec { background: var(--salbei); }
.slot--rest { background: var(--anthrazit); color: var(--grey-green); }
.slot--rest b { font-weight: 500; }
.slot.is-now { outline: 2px solid var(--fog); outline-offset: 2px; }
.slot b small { display: block; margin-top: 4px; font: 500 .6875rem/1.2 var(--f-body); letter-spacing: .02em; text-transform: none; opacity: .75; }

.changes { margin-bottom: 22px; padding: 16px 18px; background: var(--anthrazit); border-left: 3px solid var(--yellow); border-radius: 3px; }
.changes__title { margin-bottom: 10px; font: 600 .75rem/1.3 var(--f-head); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.changes__list { display: grid; gap: 6px; font: 400 .875rem/1.45 var(--f-body); color: var(--fog); }
.changes__list li { display: grid; grid-template-columns: 5.4em minmax(0, 1fr); column-gap: 10px; }
.changes__list time { color: var(--grey-green); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .changes__list { grid-template-rows: repeat(3, auto); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); column-gap: 40px; }
}

.plan__open {
  margin-top: 26px; display: flex; gap: 12px; align-items: flex-start;
  padding-top: 20px; border-top: 1px solid var(--line); max-width: 70ch; font-size: .9375rem;
}
.plan__open .dot { margin-top: 7px; }
.plan__open b { color: var(--fog-bright); font-weight: 700; }
.plan__foot { margin-top: 10px; padding-left: 26px; font-size: .8125rem; line-height: 1.5; color: var(--grey-green); }

@media (min-width: 960px) {
  .days { display: none !important; }
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .js .day.is-inactive { display: grid; }
  .day { gap: 4px; }
  .day.is-today .day__name { background: var(--yellow); color: var(--ink); }
  .day { grid-template-columns: minmax(0, 1fr); }
  .day__name { min-width: 0; overflow: hidden; white-space: nowrap; }
  /* Heute: nur der Kopf wird gelb, das Raster bleibt gleich breit und gleich hoch */
  .day.is-today .day__name em { display: none; }
  .slot { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 14px 12px; min-height: 76px; align-content: center; min-width: 0; }
  .slot b { overflow-wrap: break-word; hyphens: auto; }
  .slot time { font-size: .75rem; }
  .slot b { font-size: .8125rem; }
  /* Alle Tage teilen sich dieselben Zeilen: Kacheln einer Reihe sind gleich hoch, auch wenn eine einen Zusatz wie „statt HYROX“ hat (max. 3 Classes pro Tag) */
  @supports (grid-template-rows: subgrid) {
    .week { grid-template-rows: auto repeat(3, auto); }
    .day { grid-row: span 4; grid-template-rows: subgrid; }
    .slots { grid-row: span 3; grid-template-rows: subgrid; }
  }
}
@media (min-width: 960px) and (max-width: 1199px) {
  .day__name { font-size: .6875rem; letter-spacing: .1em; padding-inline: 10px; }
  .slot { padding-inline: 10px; }
  .slot b { font-size: .75rem; letter-spacing: .02em; }
}
@media (min-width: 960px) and (max-width: 1059px) {
  .slot b { font-size: .6875rem; letter-spacing: 0; }
}

/* ---------- Box ---------- */
.box { padding-block: var(--section); background: var(--melanite); }
.box__grid { display: grid; gap: 52px; }
.box__copy { display: grid; gap: 20px; align-content: start; }
.box__copy .display { margin-bottom: 4px; }
.box__lead { font: 500 clamp(1.125rem, 2vw, 1.375rem)/1.45 var(--f-head); color: var(--fog-bright); max-width: 32ch; }
.box__copy > p:not(.eyebrow):not(.box__lead) { max-width: 48ch; font-size: .9375rem; }
.addr { font: 500 .875rem/1.6 var(--f-head); letter-spacing: .06em; font-style: normal; display: grid; padding: 16px 0; border-block: 1px solid var(--line); }
.addr span:first-child { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .6875rem; color: var(--yellow); margin-bottom: 4px; }
.box__copy .btn { justify-self: start; }

.box__media { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); align-items: start; padding-bottom: 8px; }
.box__a { grid-column: 1 / 11; grid-row: 1; aspect-ratio: 4 / 3; max-width: 100%; }
.box__b { grid-column: 6 / 13; grid-row: 1; margin-top: 50%; aspect-ratio: 4 / 5; max-width: 100%; outline: 8px solid var(--melanite); }
.box__stamp {
  position: absolute; left: 0; bottom: 8px;
  display: grid; gap: 4px; padding: 16px 20px 18px;
  background: var(--yellow); color: var(--ink);
}
.box__stamp b { font: 700 clamp(1.4rem, 5vw, 2rem)/1 var(--f-head); letter-spacing: .04em; }
.box__stamp span { font: 600 .625rem/1.2 var(--f-head); letter-spacing: .22em; text-transform: uppercase; }
@media (min-width: 960px) {
  .box__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
}

/* ---------- Friends ---------- */
.friends { padding-block: var(--section); }
.friends__grid { display: grid; gap: 52px; }
.quote { display: grid; gap: 24px; align-content: space-between; }
.quote blockquote { display: grid; gap: 12px; font-size: .9375rem; line-height: 1.65; padding-top: 26px; border-top: 1px solid var(--olive); position: relative; }
.quote blockquote::before {
  content: "\201E"; position: absolute; top: -30px; left: 0;
  font: 400 3.4rem/1 var(--f-head); color: var(--yellow); background: var(--night); padding-right: 12px;
}
.quote blockquote p:last-child { color: var(--fog-bright); font-weight: 500; }
.quote figcaption { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 14px; align-items: center; }
.quote figcaption > span:nth-child(2) { display: grid; font: 400 .8125rem/1.4 var(--f-body); color: var(--grey-green); }
.quote figcaption b { font: 600 .8125rem/1.3 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--fog); }
.avatar { width: 56px; height: 56px; overflow: hidden; background: var(--melanite); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: var(--yellow); letter-spacing: .12em; font-size: .75rem; }
@media (min-width: 900px) {
  .friends__grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 48px; }
}

.friends__lead { font: 400 clamp(1.25rem, 3vw, 1.75rem)/1.35 var(--f-head); color: var(--fog); max-width: 30ch; }
.friends__lead b { display: block; font-weight: 600; color: var(--fog-bright); }
.friends__more { margin-top: clamp(40px, 6vw, 64px); }
.friends__more a {
  display: inline-flex; align-items: center; gap: 12px; padding-block: 10px;
  font: 500 .75rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase;
  color: var(--fog); text-decoration: none; border-bottom: 1px solid var(--olive); transition: color .15s ease, border-color .15s ease;
}
.friends__more a::after { content: ""; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.friends__more a:hover { color: var(--yellow); border-color: var(--yellow); }

/* ---------- Coaches ---------- */
.coaches { padding-block: var(--section); }
.coaches__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.coaches__grid::-webkit-scrollbar { display: none; }
.coach { scroll-snap-align: start; }
.coach { display: grid; gap: 6px; align-content: start; }
.coach__photo { aspect-ratio: 8 / 9; margin-bottom: 10px; }
.coach__photo img { filter: saturate(.85); }
.coach__name { font: 600 1rem/1.25 var(--f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.coach__role { font-size: .75rem; line-height: 1.45; color: var(--fog); }
@media (min-width: 700px) {
  .coaches__grid { grid-auto-columns: 28%; }
}
@media (min-width: 960px) {
  .coaches__grid { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 24px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .coach__name { font-size: 1.0625rem; }
}

/* ---------- FAQ ---------- */
.faq { padding-block: 0 var(--section); }
.faq__grid { display: grid; gap: 8px; }
.faq .head { margin-bottom: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 44px 22px 0;
  font: 600 1.0625rem/1.35 var(--f-head); color: var(--fog-bright);
  transition: color .15s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--yellow);
  transition: transform .2s ease;
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0deg); }
.qa summary:hover { color: var(--yellow); }
.qa__a { display: grid; gap: 12px; padding: 0 0 24px; max-width: 62ch; font-size: .9375rem; line-height: 1.65; color: var(--fog); }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: start; }
  .faq .head { position: sticky; top: calc(var(--topbar) + 32px); }
  .qa summary { font-size: 1.25rem; padding-block: 26px; }
}

/* ---------- Platzhalter: vor dem Livegang mit echten Angaben ersetzen ---------- */
.ph {
  background: rgba(249, 236, 100, .1); color: var(--yellow);
  outline: 1px dashed rgba(249, 236, 100, .7); outline-offset: 1px;
  padding: 0 .3em; font-style: normal;
}

/* ---------- Kontakt ---------- */
.contact { padding-block: var(--section); border-top: 1px solid var(--line); }
.contact__grid { display: grid; gap: 48px; }
.contact__copy { display: grid; gap: 20px; align-content: start; }
.contact .display { font-size: clamp(2.4rem, 10vw, 4.6rem); }
.contact__title { font: 600 clamp(1.375rem, 3vw, 1.875rem)/1.25 var(--f-head); color: var(--fog); max-width: 18ch; }
.contact__copy > p:not(.contact__title) { max-width: 46ch; font-size: .9375rem; }

.channels { display: grid; margin-top: 6px; }
.channels a {
  display: grid; gap: 4px; padding: 16px 40px 16px 0; text-decoration: none;
  border-top: 1px solid var(--line); position: relative; transition: color .15s ease;
}
.channels li:last-child a { border-bottom: 1px solid var(--line); }
.channels a::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px;
  border-top: 1px solid currentColor; border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg); transition: transform .15s ease;
}
.channels a:hover { color: var(--yellow); }
.channels a:hover::after { transform: translate(4px, -50%) rotate(45deg); }
.channels small { font: 500 .625rem/1.2 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey-green); }
.channels span { font: 500 1.0625rem/1.3 var(--f-head); letter-spacing: .02em; overflow-wrap: anywhere; }

.quick { display: grid; gap: 18px; align-content: start; }
.quick__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.quick__topics legend { font: 500 .625rem/1.2 var(--f-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey-green); margin-bottom: 12px; padding: 0; }
.quick__topics label { position: relative; }
.quick__topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quick__topics span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  border: 1px solid var(--line); font: 500 .8125rem/1 var(--f-head); color: var(--fog);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.quick__topics input:checked + span { background: var(--fog); color: var(--olive); border-color: var(--fog); }
.quick__topics input:focus-visible + span { outline: 2px solid var(--yellow); outline-offset: 2px; }
.quick__wa { gap: 12px; width: 100%; margin-top: 6px; }
.quick__wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.quick__hint { font-size: .8125rem; color: var(--grey-green); margin-top: -6px; }
.quick .channels { margin-top: 14px; }

@media (min-width: 960px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
  .quick { padding-top: 12px; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 44px calc(96px + env(safe-area-inset-bottom, 0px)); font-size: .8125rem; color: var(--grey-green); }
.footer__grid { display: grid; gap: 22px; }
.footer__mark { display: block; width: 60px; }
.footer__mark img { display: block; width: 100%; height: auto; }
.footer__claim { font: 400 1.125rem/1.2 var(--f-head); letter-spacing: .02em; color: var(--yellow); margin-bottom: 6px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin-block: -10px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; font: 500 .6875rem/1.8 var(--f-head); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.footer__nav a:hover { color: var(--yellow); }
.footer__copy { font-size: .75rem; }
@media (min-width: 960px) {
  .footer { padding-bottom: 44px; }
  .footer__grid { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; }
  .footer__copy { grid-column: 2 / -1; }
}

/* ---------- Mobile Dock ---------- */
.dock {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(17,16,19,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .3s ease;
}
.dock.is-visible { transform: none; }
.dock .btn { flex: 1; }
.dock__wa { flex: none; width: 50px; display: grid; place-items: center; border: 1px solid var(--fog); }
.dock__wa svg { width: 22px; height: 22px; fill: var(--fog); }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- Unterseiten ---------- */
.legal { padding-block: clamp(40px, 8vw, 96px) var(--section); }
.legal .display { margin-bottom: clamp(28px, 5vw, 48px); }
.legal__body { max-width: 68ch; display: grid; gap: 28px; font-size: .9375rem; overflow-wrap: anywhere; }
.legal__body h2 { font: 600 .8125rem/1.4 var(--f-head); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.legal__body p, .legal__body address { font-style: normal; }
.legal__body a { color: var(--yellow); }
.legal__todo { border: 1px dashed var(--yellow); padding: 18px 20px; }
.legal__back { display: inline-flex; align-items: center; min-height: 44px; margin: -14px 0 6px; font: 500 .6875rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: var(--grey-green); }
.legal__back:hover { color: var(--yellow); }

/* ---------- Motion: Headline baut sich zeilenweise auf ---------- */
.hero__title .l { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__title .l:nth-child(2) { animation-delay: .08s; }
.hero__title .l:nth-child(3) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translateY(.35em); } }

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