/* =========================================================================
   IRONBOUND — GLOBAL STYLESHEET
   Gilt sitewide für alle Seiten. Design-Tokens (Farben, Schrift, Radius)
   stehen ganz oben im :root Block — dort sollten Design-Anpassungen immer
   zuerst ansetzen, nicht verstreut weiter unten im Code.
   ========================================================================= */

/* SCHRIFT-HINWEIS (wichtig, bitte lesen):
   Die eigentliche Ironbound-Schrift "Overused Grotesk" ist eine
   LIZENZPFLICHTIGE Schrift (Displaay Type Foundry) und aktuell nicht
   verfügbar (siehe Rücksprache mit Kevin). Stattdessen zwei kostenlose,
   selbst gehostete Schriften (Dateien liegen in /fonts/, kein Fremd-CDN
   mehr nötig) — bewusste Zwei-Schrift-Kombination statt einer einzelnen
   Ersatzschrift:
   - "Archivo" (kräftig, athletisch) für grosse Headlines (h1/h2) —
     passt besser zu einer CrossFit/Hyrox-Marke als eine einzelne
     durchgängige Schrift.
   - "General Sans" (ruhiger, neutral) für Fliesstext, Nav, Buttons,
     h3 und alles Weitere.
   SOBALD die echten Overused-Grotesk-Dateien (.woff2) vorliegen, einfach
   zusätzlich per @font-face einbinden und --font-primary/--font-display
   unten umstellen — kein Umbau des restlichen CSS nötig. */
@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Regular.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Medium.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-SemiBold.woff2') format('woff2');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'General Sans';
  src: url('/fonts/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/Archivo-Bold.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}

:root {
  /* --- Farben: 1:1 aus Webflows Variablen-Panel übernommen --- */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark: #232324;
  --color-dark-02: #444444;
  --color-dark-03: #4b4b4b;
  --color-neutral-primary: #808080;
  --color-neutral-secondary: #bbbbbb;

  /* TODO(Kevin): Die exakten Opacity-Werte für die beiden Border-Farben waren
     im Webflow-Screenshot abgeschnitten. Hier vorerst plausible Platzhalter-
     Werte — bei Gelegenheit in Webflow (Variablen-Panel) nachschauen und hier
     den echten Alpha-Wert eintragen. Layout/Design ändert sich dadurch nicht,
     nur der Wert in dieser einen Zeile. */
  --color-border-primary: rgba(255, 255, 255, 0.12);
  --color-border-secondary: rgba(255, 255, 255, 0.06);

  --color-transparent: transparent;
  --color-bg-primary: var(--color-black);

  /* --- Schrift --- (siehe Hinweis ganz oben in der Datei)
     --font-primary = Basisschrift (Fliesstext, Nav, Buttons, h3, ...)
     --font-display = nur für h1/h2 (grosse Headlines) */
  --font-primary: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- Layout --- */
  --radius-card: 18px;
  --radius-button: 999px;
  --max-width: 1320px;
  --space-page-x: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--color-bg-primary);
  color: var(--color-white);
  font-family: var(--font-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }

/* Keine Textschatten irgendwo auf der Seite — globale Pflichtvorgabe. */
h1, h2, h3, h4, h5, p, span, a, button {
  text-shadow: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-page-x);
}

/* ---------- Typografie ---------- */
h1, .h1 { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 700; line-height: 1.05; }
h2, .h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 700; line-height: 1.1; }
h3, .h3 { font-size: clamp(1.2rem, 4vw, 1.6rem); font-weight: 600; }
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-secondary);
}
.text-muted { color: var(--color-neutral-secondary); }

/* ---------- Buttons ----------
   Globale Pflichtvorgabe: nur zwei Button-Farbvarianten sitewide,
   weiss ODER dunkelgrau. Keine weiteren Farbvarianten. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: var(--radius-button);
  border: 1px solid var(--color-border-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.btn-secondary {
  background: var(--color-dark-02);
  color: var(--color-white);
}
.btn-secondary:hover { opacity: 0.85; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.btn-block { width: 100%; }
/* Kompakte Variante — z.B. für zwei Buttons nebeneinander auf schmalen
   Viewports (Hero-CTA-Duo), wo der grosse Standard-Button nicht nebeneinander passt. */
.btn-sm { padding: 12px 16px; font-size: 0.85rem; }

/* Zwei-Button-CTA-Muster (sitewide Standard, z.B. Bottom-Banner) */
.cta-duo {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-duo .btn { flex: 1 1 200px; }

/* ---------- Cards ---------- */
.card {
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
  padding: 24px;
}

/* ---------- Header ----------
   WICHTIG: Der Header-Container ist im HTML nur id="site-header" (keine
   Klasse) — deshalb hier bewusst #site-header statt .site-header, sonst
   greift die Regel nie (führte zu einem Bug: z-index blieb "auto", wodurch
   der Header auf der Startseite hinter dem Hero-Video-Overlay verschwand). */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-secondary);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-page-x);
  max-width: var(--max-width);
  margin: 0 auto;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
}
.site-header__logo-mark { height: 60px; width: auto; }
.site-header__nav {
  display: none;
}
/* Abgerundete, halbtransparente Pille hinter den Nav-Links (statt reinem
   Text direkt auf dem Hero-Video/Bild — sieht sonst wie schwebende
   Schrift ohne Kontext aus, v.a. im transparenten Header-Overlay-Modus
   auf der Startseite). */
.site-header__nav ul {
  display: flex;
  gap: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 24px;
}
.site-header__nav a { font-size: 0.95rem; font-weight: 500; }
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* Probetraining ist der wichtigste Conversion-Button der Seite — bewusst
   NICHT Teil der normalen Nav-Link-Liste (siehe content.js navCta), damit
   er nicht zwischen Links wie "Die Box"/"Stundenplan" untergeht, sondern
   bei jedem Breakpoint (auch Mobile) sichtbar hervorsticht. */
.site-header__cta { white-space: nowrap; }
.site-header__burger {
  background: none;
  border: none;
  color: var(--color-white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 900px) {
  .site-header__nav { display: block; }
  .site-header__burger { display: none; }
}

/* --- Header-Overlay-Modus (nur Startseite, siehe <body data-hero-header>) ---
   Header liegt transparent über dem Hero-Video, keine sichtbare Kopfzeile.
   Sobald gescrollt wird (is-scrolled), erscheint die normale dunkle Leiste. */
#site-header.site-header--overlay {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  transition: background-color 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}
#site-header.site-header--overlay.is-scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border-secondary);
}

/* --- Vollbild-Menü-Overlay (Hamburger-Menü, sitewide) ---
   Ersetzt das frühere Dropdown unter dem Header — grosse Touch-Targets,
   eigener Logo/Schliessen-Kopf, zentrierte grosse Links. */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  padding: 14px var(--space-page-x) 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.mobile-nav-overlay__top button {
  background: none;
  border: none;
  color: var(--color-white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav-overlay__cta {
  width: 100%;
  margin-top: 12px;
}
.mobile-nav-overlay__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.mobile-nav-overlay__links a {
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-secondary);
}
@media (min-width: 900px) {
  .mobile-nav-overlay { display: none !important; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border-secondary);
  padding: 48px 0 32px;
  margin-top: 64px;
}
.site-footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
}
.site-footer__col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-neutral-secondary);
  margin-bottom: 12px;
}
.site-footer__col a,
.site-footer__col p {
  display: block;
  padding: 4px 0;
  font-size: 0.95rem;
}
.site-footer__logo { height: 26px; width: auto; margin-bottom: 32px; }
.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
/* Kreisrunde dunkle Badges mit weissem Marken-Icon (wie auf ironbound.ch) —
   ersetzt die vorherigen reinen Text-Kürzel (IG/FB/IN/YT). Wird im Footer
   UND auf der Kontakt-Seite verwendet.
   Selektor bewusst als "a.social-badge" (Tag+Klasse, statt nur
   ".social-badge"), um im Footer die generische ".site-footer__col a
   { display:block; padding:4px 0 }"-Regel zu überstimmen (gleiche
   Spezifität, aber späterer Source-Order gewinnt) — sonst zerstört das
   die Flex-Zentrierung der Icons. */
a.social-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  padding: 0;
  transition: background-color 0.2s ease;
}
.social-badge:hover { background: rgba(255, 255, 255, 0.2); }
.site-footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-neutral-secondary);
}
.site-footer__bottom a { text-decoration: underline; }
/* QualiCert-Zertifizierungs-Badge im "Kontakt"-Block, direkt unter der
   Adresse und vor den Social-Media-Icons. */
.site-footer__cert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}
/* Etwas grösser als ein normales Logo, da es ein rundes Siegel mit
   umlaufendem Text ("Wir sind zertifiziert") ist — bei 28px kaum lesbar. */
.site-footer__cert-badge { height: 44px; width: auto; }
/* Etwas mehr Abstand als das globale .site-footer__social margin-top (8px),
   da hier direkt davor das Badge sitzt statt eines einzelnen Text-Links —
   sonst wirkt die Gruppe Badge+Icons zusammengequetscht. Bewusst nur für
   den Footer-Kontext (Nachbar-Selektor), NICHT die Kontakt-Seite betroffen. */
.site-footer__cert + .site-footer__social { margin-top: 18px; }

/* Wiederverwendbare Variante des QualiCert-Badges ausserhalb des Footers
   (z.B. Angebote-Seite, direkt unter den Preisen — passt inhaltlich zur
   FAQ-Frage "Zahlt die Krankenkasse mein Training mit?" gleich darunter). */
.cert-badge { display: flex; align-items: center; gap: 10px; }
.cert-badge__img { height: 44px; width: auto; }

/* ---------- Schwebender WhatsApp-Button (sitewide) ----------
   Bewusst dezent im Ironbound-Look statt im grellen WhatsApp-Grün —
   dunkler Kreis, weisses Icon, wie die Social-Badges im Footer. */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-dark);
  border: 1px solid var(--color-border-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); opacity: 0.85; }
@media (min-width: 900px) {
  .whatsapp-float { right: 28px; bottom: 28px; }
}

/* ---------- AGB Modal ---------- */
.agb-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  align-items: center;
  justify-content: center;
}
.agb-modal.is-open { display: flex; }
.agb-modal__box {
  background: var(--color-dark);
  border-radius: var(--radius-card);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  border: 1px solid var(--color-border-secondary);
}
.agb-modal__close {
  background: none;
  border: none;
  color: var(--color-white);
  float: right;
  font-size: 1.4rem;
  line-height: 1;
}
.agb-modal__box h3 { margin-top: 24px; margin-bottom: 8px; }
.agb-modal__box h3:first-of-type { margin-top: 0; }
.agb-modal__box p { color: var(--color-neutral-secondary); font-size: 0.95rem; margin-bottom: 4px; }

/* ---------- Utility layout ----------
   WICHTIG: Hier NIE die 2-/3-Wert-Padding-Kurzschreibweise (z.B. "padding: 56px 0")
   verwenden — das setzt links/rechts explizit auf 0 und überschreibt damit
   .container's Seiten-Padding (--space-page-x), egal in welcher Reihenfolge
   die Klassen im HTML stehen. Deshalb hier ausschliesslich top/bottom setzen. */
.section { padding-top: 56px; padding-bottom: 56px; }
.section-tight { padding-top: 32px; padding-bottom: 32px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- Sanftes Scroll-Reveal (sitewide) ---
   Element mit class="reveal" versehen, dann einmal pro Seite
   window.ironboundInitReveal() aufrufen (siehe site.js). Staffelung
   zwischen Geschwister-Elementen passiert automatisch. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Media-Platzhalter: klar erkennbarer visueller Hinweis, austauschbar über
   content.js ohne dieses CSS anzufassen. */
.media-slot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-dark);
}
.media-slot img, .media-slot video { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================================
   Wiederverwendbare Komponenten (sitewide, nicht nur Probetraining)
   ========================================================================= */

/* --- Hero (Above the fold) --- */
.hero {
  padding-top: 24px;
  padding-bottom: 8px;
}
.hero__cta {
  margin-top: 20px;
}
.hero__cta-microcopy {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-neutral-secondary);
  text-align: center;
}

/* --- Mini Trust-Fakten Reihe --- */
.trust-facts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 640px) {
  .trust-facts { flex-direction: row; }
}
.trust-facts__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  padding: 10px 14px;
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: 12px;
  flex: 1;
}

/* --- Hero-Bild kompakt --- */
.hero__image {
  margin-top: 20px;
  aspect-ratio: 3 / 2;
  max-height: 320px;
}
@media (min-width: 900px) {
  /* Cap komplett entfernt (ein grösserer fixer Cap von 480px reichte laut
     Feedback immer noch nicht) — Foto nutzt jetzt die volle Container-
     Breite bei nativem 3:2-Seitenverhältnis. */
  .hero__image { max-height: none; }
}

/* --- Klassen-Kacheln (Auswahl) --- */
.class-tile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
  font-weight: 600;
}
.class-tile__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- "So läuft's ab" Schritte --- */
.steps { counter-reset: step; }
.steps__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-secondary);
}
.steps__item:last-child { border-bottom: none; }
/* Sanfte Einblend-Animation beim Scrollen (siehe initStepsReveal in
   js/pages/probetraining.js). Ohne JS/IntersectionObserver-Support bleibt
   der Inhalt einfach sofort sichtbar (kein Funktionsverlust). */
.steps__item[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.steps__item[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
.steps__number {
  counter-increment: step;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.steps__number::before { content: counter(step); }

/* --- Timeline (z.B. "So startet dein Weg bei uns") ---
   Bewusst anders als .steps (Kreise mit Nummer): durchgehende Linie mit
   gefüllten Punkten + Karten, damit zwei aufeinanderfolgende Abschnitte
   nicht optisch identisch wirken und wie ein Fliesstext-Block verschmelzen. */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--color-border-secondary);
}
.timeline__item { position: relative; padding-bottom: 28px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-white);
}

/* --- Timeline-Reveal (eigene, lebendigere Animation statt generischem
   Fade-Slide-Up von ".reveal") ---
   Die Linie zeichnet sich von oben nach unten, jeder Punkt "poppt" mit
   leichtem Überschwingen rein, und die Items gleiten seitlich statt nur
   nach oben — fühlt sich sequenziell/verbunden an statt wie ein
   gleichzeitiges generisches Einblenden. */
.timeline.reveal {
  /* Container selbst NICHT ausblenden (sonst verschwinden auch die Kinder,
     die ihre eigene Sichtbarkeit unabhängig steuern) — nur als Trigger für
     die Linien-Zeichnen-Animation über ".is-visible" genutzt. */
  opacity: 1;
  transform: none;
  transition: none;
}
.timeline.reveal::before {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.timeline.reveal.is-visible::before { transform: scaleY(1); }

.timeline__item.reveal {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.timeline__item.reveal.is-visible { opacity: 1; transform: translateX(0); }

.timeline__item .timeline__dot {
  transform: scale(0);
  /* Verzögerung wird inline pro Punkt gesetzt (siehe klassen-detail.js) —
     etwas später als das zugehörige Item, damit der Punkt sichtbar NACH
     dem Text "poppt" statt gleichzeitig. */
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.timeline__item.reveal.is-visible .timeline__dot { transform: scale(1); }

/* --- FAQ Accordion --- */
.faq-item {
  border-bottom: 1px solid var(--color-border-secondary);
}
.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-white);
  text-align: left;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item__question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.is-open .faq-item__question::after { content: "–"; }
.faq-item__answer {
  display: none;
  padding-bottom: 18px;
  color: var(--color-neutral-secondary);
  font-size: 0.95rem;
}
.faq-item.is-open .faq-item__answer { display: block; }

/* --- Kontaktformular --- */
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.85rem; color: var(--color-neutral-secondary); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--color-dark);
  border: 1px solid var(--color-border-primary);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--color-white);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field textarea { resize: vertical; min-height: 90px; }

/* --- Formular-Erfolgsmeldung (ersetzt das Formular nach Netlify-Versand) --- */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--color-white);
}
.form-success svg { flex-shrink: 0; margin-top: 2px; color: var(--color-white); }
.form-success p { color: var(--color-neutral-secondary); font-size: 0.95rem; }

/* --- YouTube-Video-Embed (Klassen-Unterseiten) --- */
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dark);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- "Für wen ist [Klasse]?" Zielgruppen-Bullets --- */
.audience-list { display: flex; flex-direction: column; gap: 12px; }
.audience-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 1rem;
}
.audience-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--color-white);
  flex-shrink: 0;
}

/* --- Abschluss-CTA-Banner (Klassen-Unterseiten) --- */
.final-cta-banner {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
}

/* --- Team-Karten (Über uns) ---
   Schwarz-Weiss-Foto, Name + Rolle, abgerundete Karten-Optik — bestätigt
   positives Design-Element, exakt beibehalten (siehe Spezifikationsdokument).
   Grosses, randloses Foto mit Name/Rolle direkt darauf (Verlauf-Overlay),
   nicht in separater Info-Leiste darunter — matcht die Live-Seite 1:1. */
/* 1 Spalte auf Mobile (volle Breite), 2 nebeneinander ab Tablet/Desktop —
   vorher ".stack" (immer 1 Spalte), dadurch wirkten die Fotos auf Desktop
   riesig und liefen übereinander statt nebeneinander. */
.team-grid { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 480px; }
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
.team-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.team-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}
.team-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 50%, transparent 75%);
}
.team-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
}
.team-card__name { font-weight: 700; font-size: 1.3rem; color: var(--color-white); }
.team-card__role { color: var(--color-neutral-secondary); font-size: 0.95rem; margin-top: 4px; }

/* --- Foto-Karte (Bild oben + Text darunter, z.B. Die Box) --- */
.photo-card {
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.photo-card__image { aspect-ratio: 4 / 3; }
.photo-card__body { padding: 20px; }

/* --- Kennzahlen-Reihe (Die Box) --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}
.stats-row__value { font-size: 2rem; font-weight: 700; }
.stats-row__label { color: var(--color-neutral-secondary); font-size: 0.85rem; margin-top: 4px; }

/* --- "So findest du uns" (Die Box) --- */
.find-us-fact { margin-bottom: 16px; }
.find-us-fact:last-of-type { margin-bottom: 0; }
.find-us-fact h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-neutral-secondary);
  margin-bottom: 6px;
}
.map-embed {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dark);
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

/* --- Stundenplan-Tabelle ---
   Eigene HTML-Tabelle statt iFrame (siehe Spezifikationsdokument) — rein
   informativ, kein Klick pro Slot. Horizontal scrollbar auf Mobile, damit
   die Tabelle nie das Seiten-Layout sprengt. */
.schedule-scroll-wrap { position: relative; }
.schedule-scroll { overflow-x: auto; border-radius: var(--radius-card); border: 1px solid var(--color-border-secondary); }
.schedule-table { width: 100%; border-collapse: collapse; min-width: 560px; }
/* Sichtbares Signal, dass die Tabelle nach rechts weitergeht (Fr/Sa) —
   Verlaufs-Kante + Hinweistext, nur solange die Tabelle breiter als der
   Viewport ist (siehe schedule.js, das die Kante ausblendet sobald
   durchgescrollt/alles sichtbar ist). */
.schedule-scroll-wrap::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 36px;
  background: linear-gradient(to right, transparent, var(--color-black) 90%);
  pointer-events: none;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  transition: opacity 0.2s ease;
}
.schedule-scroll-wrap.is-end::after { opacity: 0; }
.schedule-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--color-neutral-secondary);
}
@media (min-width: 900px) {
  .schedule-scroll-wrap::after { display: none; }
  .schedule-scroll-hint { display: none; }
}
.schedule-table th, .schedule-table td {
  padding: 12px 14px;
  text-align: center;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-border-secondary);
  white-space: nowrap;
}
.schedule-table th {
  background: var(--color-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-neutral-secondary);
}
.schedule-table td:first-child, .schedule-table th:first-child {
  text-align: left;
  font-weight: 600;
  position: sticky;
  left: 0;
  background: var(--color-black);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td:empty::after { content: "–"; color: var(--color-neutral-primary); }

/* --- Coach-Teaser (Cross-Link zu Über uns) --- */
.coach-teaser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
}

/* =========================================================================
   Startseite-spezifische Komponenten
   ========================================================================= */

/* --- Hero mit Hintergrund-Video (Pflicht: bleibt bestehen) ---
   Bewusst NICHT in .container — Video soll randlos (full-bleed) über die
   volle Breite laufen, nur der Text-Inhalt bekommt über .container das
   normale Seiten-Padding. */
.home-hero {
  position: relative;
  min-height: 78vh;
  max-height: 860px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.home-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-dark);
}
.home-hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Verlauf: unten (wo der Text sitzt) kräftig abgedunkelt für Lesbarkeit,
     nach oben hin heller, damit das echte Video sichtbar bleibt. */
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.05) 100%);
}
.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 32px;
  width: 100%;
}
/* Kleinere Headline nur im Hero (nicht global) — passt sich der Referenzseite
   an: 2 Zeilen statt 3, dadurch automatisch weiter unten/kompakter, da der
   Text bottom-anchored ist (align-items:flex-end am .home-hero). */
.home-hero__content h1 { font-size: clamp(1.6rem, 6.5vw, 2.6rem); }

/* --- Klassen-Kacheln (grosses Video oben + Name/Pfeil-Zeile unten) ---
   Format wie auf der aktuellen Live-Seite: ein Kachel-Block mit grossem
   Vorschau-Video (volle Kachelbreite, oben abgerundet) und darunter eine
   eigene Zeile mit Klassenname + rundem Pfeil-Button. */
/* 1 Spalte auf Mobile, 2x2 ab Tablet/Desktop (wie auf ironbound.ch) —
   eigene Klasse statt ".stack", da ".stack" sitewide für einspaltige
   Listen (Formulare etc.) verwendet wird und nicht verändert werden soll. */
.classes-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
}
.class-card {
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.class-card__video {
  aspect-ratio: 16 / 9;
  background: var(--color-dark-02);
}
.class-card__video video { width: 100%; height: 100%; object-fit: cover; }
.class-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.class-card__name {
  font-weight: 700;
  letter-spacing: 0.02em;
}
.class-card__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark-03);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Preis-Karten (Angebote-Teaser) ---
   Format wie auf der aktuellen Live-Seite: grosszügiger, ruhiger Aufbau mit
   klaren Trennlinien zwischen Name / Leistungen / Preis, statt alles eng
   zusammengedrängt — wirkt hochwertiger. */
.pricing-card {
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
  padding: 32px 28px;
}
.pricing-card__name {
  font-size: 1.8rem;
  font-weight: 700;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--color-border-secondary);
}
.pricing-card__bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border-secondary);
}
.pricing-card__bullets li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
}
.pricing-card__bullets li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-white);
  flex-shrink: 0;
}
.pricing-card__price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.pricing-card__price { font-size: 2.6rem; font-weight: 700; }
.pricing-card__price-suffix { font-size: 0.95rem; color: var(--color-neutral-secondary); font-weight: 400; }

/* --- Google-Bewertungen (Startseite, ganz unten vor dem Footer) --- */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.reviews-summary__score { font-weight: 700; font-size: 1.1rem; }
.reviews-summary__stars { display: flex; gap: 2px; }
.reviews-summary__link {
  font-size: 0.9rem;
  color: var(--color-neutral-secondary);
  text-decoration: underline;
}
.review-star { color: #f5b400; display: flex; }
.review-card {
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
  padding: 24px;
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__google { color: var(--color-neutral-secondary); display: flex; }
.review-card__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-dark-02);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.review-card__who { flex: 1 1 auto; }
.review-card__name { font-weight: 600; font-size: 0.95rem; }
.review-card__time { color: var(--color-neutral-secondary); font-size: 0.82rem; }
.review-card__stars { display: flex; gap: 2px; margin-top: 14px; }
.review-card__text { color: var(--color-neutral-secondary); font-size: 0.92rem; margin-top: 10px; }

/* --- Orientierungshinweis-Banner (z.B. "Noch nie trainiert? Probetraining") --- */
.notice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 20px;
  background: var(--color-dark);
  border: 1px solid var(--color-border-secondary);
  border-radius: var(--radius-card);
}

/* --- Tabs (mobile Gruppierung Angebote) --- */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--color-dark);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--color-border-secondary);
}
.tabs__btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: none;
  border: none;
  color: var(--color-neutral-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}
.tabs__btn.is-active {
  background: var(--color-white);
  color: var(--color-black);
}
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; }
.pricing-group-heading {
  margin-top: 32px;
  margin-bottom: 4px;
}
.pricing-group-heading:first-child { margin-top: 0; }

/* Preis-CTA bewusst als "Outline"-Variante (Rahmen statt Volltonfläche) —
   bleibt innerhalb der erlaubten Button-Farben (weiss/dunkel), wirkt aber
   dezenter/hochwertiger als ein flächiger Button. */
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-neutral-secondary);
}
.btn-outline:hover { background: rgba(255,255,255,0.06); transform: translateY(-1px); }
