/* ==========================================================================
   11COACHING — Design Tokens
   11Coaching CI: Rot #C0272D · Schwarz #121212 · Weiß · Hellgrau #F5F5F5.
   Gray/red steps below are tints/shades derived from that 4-color palette
   for UI hierarchy (borders, muted text, hover states) — not separate brand colors.
   - Display font: Trebuchet MS
   - Body font: Calibri
   - Buttons: sharp ~3-4px radius; tags/pills: fully rounded (999px)
   ========================================================================== */

:root {
  --black: #121212;
  --black-soft: #1e1e1e;
  --near-black: #1a1a1a;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-500: #8a8a8a;
  --gray-700: #4a4a4a;
  --gray-900: #1f1f1f;

  --red: #c0272d;
  --red-dark: #961f24;
  --red-darker: #6e171b;
  --red-light: #d95a5f;

  --font-display: "Trebuchet MS", "Trebuchet", "Lucida Grande", sans-serif;
  --font-body: Calibri, Carlito, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --container-w: 1240px;
  --header-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 40px -12px rgba(0, 0, 0, 0.25);
  --shadow-pop: 0 20px 60px -15px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ==========================================================================
   Scrollbar
   ========================================================================== */

/* Firefox kennt die ::-webkit-Pseudoelemente nicht und braucht die
   Standard-Properties. In Chromium haben genau diese Properties aber
   Vorrang vor ::-webkit-scrollbar und würden den Verlauf unten wieder
   plattmachen – deshalb per @supports nur dort ausliefern, wo die
   Pseudoelemente fehlen. */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--black);
  }
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* Dunkle Spur: Das Rot leuchtet darauf deutlich stärker als auf Grau,
   und die Leiste liest sich als eigenes UI-Element statt als heller
   Streifen neben dem Inhalt. */
::-webkit-scrollbar-track {
  background: var(--black);
}

/* Der Daumen bekommt den Marken-Verlauf und einen Rand in Spurfarbe, der
   als Abstand wirkt – dadurch wirkt er wie eine schwebende Pille statt
   wie ein randvoller Block. background-clip: content-box sorgt dafür,
   dass der Verlauf nicht unter den Rand läuft. */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--red-light), var(--red));
  border: 3px solid var(--black);
  border-radius: var(--radius-pill);
  background-clip: content-box;
  transition: background-color 0.2s var(--ease);
}

/* Auf dunklem Grund geht Abdunkeln nach hinten los – hier wird der Daumen
   beim Hover heller statt dunkler. */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e8767a, var(--red-light));
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:active {
  background: var(--red-light);
  background-clip: content-box;
}

/* Ecke zwischen horizontaler und vertikaler Leiste nicht hell blitzen
   lassen. */
::-webkit-scrollbar-corner {
  background: var(--black);
}

/* --- Lesefortschritt ------------------------------------------------------
   Dünner Balken direkt unter dem fixierten Header. Breite kommt aus
   script.js (--scroll-progress), damit hier keine Animation nötig ist. */
.scroll-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  height: 3px;
  width: 100%;
  /* Über dem Header (z-index: 500), sonst verdecken ihn Sektionen mit
     eigenem Stacking-Kontext – etwa das Showcase-Video. */
  z-index: 501;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light));
  pointer-events: none;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress {
    transition: none;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 24px;
  top: 12px;
}

section {
  position: relative;
}

.section-pad {
  padding-block: clamp(64px, 10vw, 128px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head.center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* Wider than the default .section-head (640px) so "Was 11Coaching
   auszeichnet" fits on a single line instead of wrapping. */
#leistungen .section-head {
  max-width: 820px;
}

h2.display,
.h2-display {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.05;
  margin-top: 10px;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--gray-700);
  margin-top: 16px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(232, 28, 35, 0.65);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(232, 28, 35, 0.75);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--near-black);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 0 0 2px var(--black);
}

.btn-outline:hover {
  box-shadow: inset 0 0 0 2px var(--red);
  color: var(--red);
}

.btn-outline.on-dark {
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.btn-outline.on-dark:hover {
  box-shadow: inset 0 0 0 2px var(--white);
}

.btn-block {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.btn-sm {
  padding: 11px 20px;
  font-size: 13px;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 13px 20px;
  min-width: 152px;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.store-badge:hover {
  background: var(--near-black);
  transform: translateY(-2px);
}

.store-badge svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Apple's glyph reads visually smaller than Google Play's at the same
   box size, so it gets a ~33% bump to feel balanced next to it. */
.store-badge svg.icon-apple {
  width: 27px;
  height: 27px;
}

.store-badge .store-badge__text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.store-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.store-badge-icon:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.store-badge-icon svg {
  width: 18px;
  height: 18px;
}

.store-badge-icon svg.icon-apple {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--gray-200);
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, 0.3);
}

.site-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* Explicit column pins for all three items: without them, hiding the
   audience switcher on mobile (display:none removes it from the grid
   entirely) shifts .header-actions into the vacated middle column via
   auto-placement, leaving the real 3rd column empty and the hamburger
   sitting mid-header instead of flush right. */
.site-header .brand {
  grid-column: 1;
}

.header-audience-switcher {
  grid-column: 2;
  justify-self: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* Menü-Dropdown: ein kompaktes, am Drei-Striche-Button verankertes
   Panel — kein Vollbild-Overlay. Es "poppt" direkt unter dem Button
   auf (transform-origin: top right + scale/fade), nicht nur mobil.
   Der Zielgruppen-Umschalter sitzt zusätzlich prominent in der
   Kopfzeile selbst (siehe .header-audience-switcher weiter unten). */
.main-nav {
  position: fixed;
  top: calc(var(--header-h) + 10px);
  right: 24px;
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(320px, calc(100vw - 48px));
  max-height: calc(100vh - var(--header-h) - 24px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 14px;
  gap: 2px;
  overflow-y: auto;
  box-shadow: var(--shadow-pop);
  transform-origin: top right;
  opacity: 0;
  transform: scale(0.92) translateY(-10px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.main-nav.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.main-nav__switcher-mobile {
  display: none;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  margin-bottom: 10px;
}

.main-nav__switcher-mobile .switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.main-nav__switcher-mobile .switcher__btn {
  width: 100%;
  padding: 10px 4px;
  font-size: 11.5px;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
}

.main-nav a {
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: 11px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--black);
  background: var(--gray-100);
}

/* Der CTA im Dropdown ist ein .btn-primary, aber .main-nav a ist
   spezifischer und würde ihm sonst Link-Farbe und -Hintergrund
   aufzwingen: graue Schrift auf Rot, beim Hover sogar Weiß auf Grau.
   Hier bekommt der Button seine eigenen Werte zurück. */
.main-nav a.btn-primary {
  color: var(--white);
  background: var(--red);
}

.main-nav a.btn-primary:hover,
.main-nav a.btn-primary:focus-visible {
  color: var(--white);
  background: var(--red-dark);
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-cta-inline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
  width: 100%;
}

.nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Header audience switcher hides below ~920px (three German labels no
   longer fit next to logo + actions) and reappears inside the dropdown. */
@media (max-width: 920px) {
  /* Ancestor-qualified selector so this beats the later, equal-specificity
     .switcher{display:inline-flex} component rule in the cascade. */
  .site-header .header-audience-switcher {
    display: none;
  }

  .main-nav__switcher-mobile {
    display: block;
  }
}

/* ==========================================================================
   Audience / Sport Switcher (pill tabs)
   ========================================================================== */

.switcher {
  position: relative;
  display: inline-flex;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 4px;
}

.switcher__indicator {
  position: absolute;
  top: 6px;
  /* left intentionally 0, not the switcher's 6px padding: JS sets
     transform:translateX(activeBtn.offsetLeft), and offsetLeft is
     already measured from the switcher's padding edge — a static
     left:6px here would double-count that inset, pushing the pill
     6px further right than the button it's supposed to sit under
     (barely visible on the first tab, but eating the whole right-side
     gap on the last one). */
  left: 0;
  height: calc(100% - 12px);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.2);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.25s var(--ease);
  z-index: 0;
}

.switcher__btn {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.switcher__btn[aria-selected="true"] {
  color: var(--black);
}

.switcher--sport {
  background: var(--gray-100);
}

.switcher--sport .switcher__btn {
  padding: 10px 26px;
}

/* underline-style tab (secondary style, used inline in section headers) */
.tabline {
  display: inline-flex;
  gap: 28px;
  border-bottom: 1px solid var(--gray-200);
}

.tabline__btn {
  padding: 10px 2px 14px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tabline__btn[aria-selected="true"] {
  color: var(--black);
  border-color: var(--red);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 72px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background: radial-gradient(60% 60% at 75% 20%, rgba(232, 28, 35, 0.35), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(232, 28, 35, 0.18), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy .eyebrow {
  color: var(--red-light);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.02;
  margin-top: 14px;
  letter-spacing: 0.005em;
}

.hero-headline .accent {
  color: var(--red);
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
}

.hero-usps {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-usps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-usps svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--red);
  margin-top: 1px;
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-store {
  margin-top: 22px;
}

.hero-audience-panel {
  display: none;
}

.hero-audience-panel.is-active {
  display: block;
}

/* Hero visual: phone mockup */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 42px;
  padding: 12px;
  background: linear-gradient(160deg, #2b2b2b, #050505);
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone-mockup::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #050505;
  border-radius: 999px;
  z-index: 2;
}

.phone-mockup__screen {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(155deg, #3a1113 0%, #1a1a1a 45%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-mockup__screen .placeholder-tag {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.phone-mockup__glyph {
  width: 46%;
  opacity: 0.9;
}

.phone-mockup__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-mockup--sm {
  width: min(220px, 60vw);
  border-radius: 34px;
}

.phone-mockup--sm .phone-mockup__screen {
  border-radius: 24px;
}

.hero-visual__img {
  width: 120%;
  max-width: none;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  margin-left: clamp(48px, 10vw, 140px);
}

.hero-visual .glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at center, rgba(232, 28, 35, 0.35), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}

/* ==========================================================================
   Trust / Partner slider
   ========================================================================== */

.trust {
  padding-block: 44px;
  border-bottom: 1px solid var(--gray-200);
}

.trust-label {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.slider-track-wrap {
  overflow: hidden;
  display: flex;
  justify-content: center;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

/* 4 copies of the logo set (20 spans in the HTML) so at least two full
   sets are always wider than the visible track — with only 2 copies,
   a set narrower than the container left a visible gap once its tail
   scrolled past and the next head hadn't caught up yet, which read as
   the loop "stopping" instead of running continuously. */
.slider-track {
  display: flex;
  width: max-content;
  flex-shrink: 0;
  gap: 64px;
  align-items: center;
  animation: scroll-x 26s linear infinite;
}

.slider-track-wrap:hover .slider-track {
  animation-play-state: paused;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-25%);
  }
}

.trust-logo {
  height: clamp(37px, 5.4vw, 56px);
  width: auto;
  max-width: 216px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.25s var(--ease), filter 0.25s var(--ease);
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ==========================================================================
   USP cards
   ========================================================================== */

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usp-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.usp-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}

.usp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  background: var(--white);
}

.usp-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.usp-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.usp-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.01em;
}

.usp-card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--gray-700);
}

.audience-block {
  display: none;
}

.audience-block.is-active {
  display: contents;
}

.audience-block.is-active.as-block {
  display: block;
}

/* ==========================================================================
   How it works — moving tiles
   ========================================================================== */

.steps {
  background: var(--black);
  color: var(--white);
  /* The step cards start translated well outside their column (GSAP
     convergence, see script.js) — clip here so that never produces a
     horizontal scrollbar on the page. */
  overflow-x: clip;
}

.steps .section-head .lede {
  color: rgba(255, 255, 255, 0.65);
}

/* Wider than the default .section-head.center (680px): the headline now
   has an explicit <br> after "zum"/"zur" so it renders as two lines, but
   the remainder ("Performance Path deines Kindes" etc.) is long enough
   that it still wrapped into two lines of its own at the default width. */
.steps .section-head.center {
  max-width: 920px;
}

.steps-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Each card is a fixed 40/60 split — text always readable on the left,
   the app screenshot always visible (not hover-gated) on the right, so
   the user gets both the explanation and a real look at the app. */
.step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1 1 0%;
  min-width: 0;
  background: var(--black-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.step-card:hover,
.step-card:focus-within {
  border-color: rgba(232, 28, 35, 0.5);
}

.step-card__text {
  width: 40%;
  flex-shrink: 0;
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--red-light);
  letter-spacing: 0.08em;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 21px;
  margin-top: 12px;
  line-height: 1.15;
}

.step-card p {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
}

.step-card__visual {
  width: 60%;
  display: flex;
  justify-content: center;
}

.step-card__visual .phone-mockup {
  width: 100%;
  max-width: 220px;
}

/* --- Scroll convergence (GSAP) ------------------------------------------
   The cards' start state is applied by GSAP itself, not here, so nothing
   is ever hidden by CSS alone. This class is added by script.js only once
   gsap + ScrollTrigger are confirmed loaded; it just opts the cards out of
   the generic .reveal transition (which would fight the tween) and gives
   them their own compositing layer for the duration of the animation. */
.js-steps-anim .step-card.reveal,
.js-steps-anim .step-card.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.js-steps-anim .step-card {
  will-change: transform, opacity;
}

/* Safety net: if the user prefers reduced motion, the cards must sit in
   their final position no matter what the script did. */
@media (prefers-reduced-motion: reduce) {
  .js-steps-anim .step-card {
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }
}

/* ==========================================================================
   App Showcase
   ========================================================================== */

.showcase {
  /* Hintergrund = Grauton des Video-Backgrounds, damit der Video-Kasten
     nicht mehr als eigener Block sichtbar ist. Mitte minimal heller. */
  background: radial-gradient(ellipse 70% 75% at 50% 42%, #EDEDED 0%, #E6E6E6 60%, #E1E1E1 100%);
}

.showcase .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.showcase-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-28px);
}

.showcase-video {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  /* Ränder weich in den Hintergrund ausblenden statt harte Kante.
     Seiten stärker ausblenden, damit der Video-Kasten links/rechts verschwindet. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-composite: intersect;
}

.showcase-video-wrap {
  display: inline-block;
}

.showcase-cta {
  position: relative;
  margin-top: -64px;
  z-index: 40;
}

.showcase-feature-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.showcase-feature {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
}

.showcase-feature:last-child {
  border-bottom: none;
}

.showcase-feature__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-feature__icon svg {
  width: 20px;
  height: 20px;
  color: var(--red);
}

.showcase-feature h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.01em;
}

.showcase-feature p {
  margin-top: 4px;
  font-size: 16px;
  color: var(--gray-700);
}

/* ==========================================================================
   Coaches slider
   ========================================================================== */

.coaches-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.coaches-carousel {
  position: relative;
}

.coaches-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.coach-track-wrap {
  overflow-x: auto;
  /* Without an explicit overflow-y, the CSS spec computes it as "auto"
     too (not "visible") the moment overflow-x isn't visible — leaving an
     invisible vertical scroll/drag region that let the cards slide down.
     Locking it to hidden keeps navigation to the horizontal scroll/arrow
     buttons only. */
  overflow-y: hidden;
  /* No scroll-snap here (even on desktop): scroll-snap-align:start on
     .coach-card forces the resting scroll position to ignore any
     padding-inline entirely, always landing the first card flush at 0 —
     same root cause already documented/fixed for mobile further down
     this file. */
  margin: 0 -24px;
  padding-inline: 24px;
  scrollbar-width: none;
}

.coach-track-wrap::-webkit-scrollbar {
  display: none;
}

/* padding-inline on .coach-track-wrap only ever guarantees clearance at
   the scroll position it sits on the SAME side of (it's real, scrollable
   content) — at rest that covers the left/prev edge, but the right/next
   edge only gets its clearance once scrolled all the way to the end, so
   the next-arrow sat over the last visible card at rest. Moving the
   gutter onto the non-scrolling .coaches-carousel instead reserves that
   space outside the scrollable viewport altogether, so neither arrow is
   ever covered by a card regardless of scroll position. */
@media (min-width: 761px) {
  .coaches-carousel {
    padding-inline: 64px;
  }

  .coach-track-wrap {
    margin-inline: 0;
    padding-inline: 0;
  }
}

.coach-track {
  display: flex;
  gap: 20px;
  width: fit-content;
  margin-inline: auto;
}

.coach-card {
  flex: 0 0 260px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.coach-card[hidden] {
  display: none;
}

.coach-card__photo {
  aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--gray-900), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.coach-card__photo svg {
  width: 40%;
  opacity: 0.4;
  color: var(--white);
}

.coach-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.coach-card__body {
  padding: 18px 18px 22px;
}

.coach-card__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 17px;
  min-height: 2.2em;
}

.coach-card__role {
  color: var(--red);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 4px;
}

.coach-card__body p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--gray-700);
}

/* Reserve the same vertical space for every bio regardless of length or
   which cards the active Alle/Fußball/Handball filter currently shows —
   otherwise the flex row (align-items:stretch) rescales every card to
   whichever visible card is tallest, and the whole carousel visibly
   jumps in height when switching filters. */
.coach-card__bio {
  min-height: 4.2em;
}

/* Coaches shared between both sports carry three bio variants (alle /
   fussball / handball); only the one matching the active filter shows. */
.coach-card__bio[data-sport-text] {
  display: none;
}

.coach-card__bio[data-sport-text].is-active {
  display: block;
}

/* Prev/next arrows sit fully beside the card row, in the gutter opened
   up by .coaches-carousel's padding-inline (desktop) — never over the
   cards, regardless of scroll position. */
.coach-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.coach-nav-btn--prev {
  left: 8px;
  transform: translateY(-50%);
}

.coach-nav-btn--next {
  right: 8px;
  transform: translateY(-50%);
}

.coach-nav-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.coach-nav-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.pricing-audience-note {
  display: none;
  text-align: center;
  padding: 48px 24px;
  background: var(--off-white);
  border-radius: var(--radius-lg);
}

.pricing-audience-note.is-active {
  display: block;
}

.pricing-audience-note h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 600;
}

.pricing-audience-note p {
  margin-top: 10px;
  color: var(--gray-700);
  max-width: 480px;
  margin-inline: auto;
}

.pricing-audience-note .btn {
  margin-top: 22px;
}

.pricing-note-store-label {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--gray-500);
}

.pricing-audience-note .store-badges {
  margin-top: 10px;
}

.pricing-grid {
  display: none;
  gap: 20px;
  align-items: stretch;
}

.pricing-grid.is-active {
  display: flex;
}

/* Every plan card is clickable — selecting one makes it the prominent
   (black) card and returns whichever was active to the light/receding
   state. Only one card per grid is ever active at a time. */
.price-card {
  flex: 1 1 0%;
  min-width: 0;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 18px -10px rgba(0, 0, 0, 0.12);
  color: var(--black);
  transition: flex-grow 0.5s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.price-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.price-card.is-active {
  flex-grow: 1.7;
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
  box-shadow: var(--shadow-pop);
}

.price-card.is-active:hover {
  transform: none;
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: 26px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.price-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 17px;
  letter-spacing: 0.02em;
  transition: font-size 0.4s var(--ease);
}

.price-card.is-active h3 {
  font-size: 22px;
}

.price-card__tagline {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--gray-500);
}

.price-card.is-active .price-card__tagline {
  color: rgba(255, 255, 255, 0.6);
}

.price-card__price {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-card__price .amount {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  transition: font-size 0.4s var(--ease);
}

.price-card.is-active .price-card__price .amount {
  font-size: 44px;
}

.price-card__price .unit {
  font-size: 14px;
  color: var(--gray-500);
}

.price-card.is-active .price-card__price .unit {
  color: rgba(255, 255, 255, 0.55);
}

.price-card__trial {
  margin-top: 10px;
  display: inline-flex;
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.price-card__list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  flex-grow: 1;
}

.price-card__list li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: flex-start;
  text-align: left;
  color: var(--gray-700);
  transition: color 0.4s var(--ease), font-size 0.4s var(--ease);
}

.price-card.is-active .price-card__list li {
  font-size: 13.8px;
  color: rgba(255, 255, 255, 0.85);
}

.price-card__list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 1px;
}

/* Special / new-vs-previous-tier benefits get a filled badge check +
   bolder text so they stand out from the inherited/repeated items. */
.price-card__list li.is-new {
  font-weight: 600;
  color: var(--black);
}

.price-card.is-active .price-card__list li.is-new {
  color: var(--white);
}

.price-card__list li.is-new svg {
  color: var(--white);
  background: var(--red);
  border-radius: 50%;
  padding: 3px;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
}

.price-card__cta {
  margin-top: 26px;
  width: 100%;
  background: var(--black);
  color: var(--white);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.25s var(--ease);
  white-space: normal;
  text-align: center;
}

.price-card__cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.price-card.is-active .price-card__cta {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(232, 28, 35, 0.65);
}

.price-card.is-active .price-card__cta:hover {
  background: var(--red-dark);
}

.price-card__foot {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--gray-500);
  text-align: center;
}

.price-card.is-active .price-card__foot {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-extra {
  margin-top: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-700);
}

.pricing-extra strong {
  color: var(--black);
}

/* ==========================================================================
   Off-Season popup
   Triggered once (see script.js) when #preise scrolls into view, or when
   the "Preise" nav link is clicked — not a repeat-every-visit interruption.
   ========================================================================== */

.offseason-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.offseason-modal[hidden] {
  display: none;
}

.offseason-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.offseason-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  padding: 36px 32px 32px;
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.offseason-modal.is-visible .offseason-modal__backdrop {
  opacity: 1;
}

.offseason-modal.is-visible .offseason-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.offseason-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-700);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.offseason-modal__close:hover {
  background: var(--gray-100);
  color: var(--black);
}

.offseason-modal__close svg {
  width: 16px;
  height: 16px;
}

.offseason-modal__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(232, 28, 35, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

.offseason-modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 26px;
  margin-top: 16px;
}

.offseason-modal__text {
  margin-top: 12px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.5;
}

.offseason-modal__benefits {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  text-align: left;
}

.offseason-modal__benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--gray-700);
}

.offseason-modal__benefits svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--red);
}

.offseason-modal__cta {
  margin-top: 22px;
  width: 100%;
  white-space: normal;
  text-align: center;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews {
  background: var(--off-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
}

.review-card__stars {
  display: flex;
  gap: 3px;
  color: var(--red);
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
}

.review-card p.quote {
  margin-top: 14px;
  font-size: 15px;
  color: var(--near-black);
}

.review-card__author {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gray-700);
  font-size: 14px;
}

.review-card__author strong {
  display: block;
  font-size: 13.5px;
}

.review-card__author span {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
}

.placeholder-note {
  margin-top: 28px;
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-500);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
}

.contact-info h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 20px;
  margin-top: 24px;
}

.contact-info p {
  margin-top: 10px;
  color: var(--gray-700);
  font-size: 14.5px;
}

.contact-points {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.contact-points li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  align-items: flex-start;
}

.contact-points svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 1px;
}

.form-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  background: var(--white);
  font-size: 14.5px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 28, 35, 0.15);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
}

.field__error {
  font-size: 12px;
  color: var(--red);
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.form-note {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 4px;
}

.form-success {
  display: none;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 18px;
  font-size: 14.5px;
  align-items: center;
  gap: 12px;
}

.form-success.is-visible {
  display: flex;
}

.form-success svg {
  width: 24px;
  height: 24px;
  color: var(--red-light);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px -10px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.faq-item:hover {
  border-color: var(--gray-300);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.18);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  text-align: left;
  font-weight: 600;
  font-size: 15.5px;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-item__icon::before {
  width: 12px;
  height: 2px;
}

.faq-item__icon::after {
  width: 2px;
  height: 12px;
}

.faq-item[aria-expanded="true"] .faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item[aria-expanded="true"] .faq-item__icon::before {
  background: var(--red);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-item__a-inner {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--gray-700);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
  background: var(--black);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(232, 28, 35, 0.4), transparent 70%);
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  max-width: 780px;
  margin-inline: auto;
}

.final-cta .lede {
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin-inline: auto;
}

.final-cta-actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.final-cta .store-badges {
  justify-content: center;
}

.final-cta-sub {
  margin-top: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.final-cta-sub a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--black-soft);
  color: rgba(255, 255, 255, 0.7);
  padding-block: 64px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand span {
  color: var(--white);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.footer-social a:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.footer-col h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.9);
}

.footer-col ul {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Scroll reveal helper
   ========================================================================== */

/* Content is fully visible by default. Only once the tiny synchronous
   head script confirms JS is running (html.js) do reveal targets start
   hidden — this guarantees nothing stays permanently invisible if a
   script fails to load or a ScrollTrigger timing edge-case is hit. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    flex-wrap: wrap;
  }

  .pricing-grid .price-card {
    flex-basis: calc(50% - 10px);
    flex-grow: 0;
  }

  .pricing-grid .price-card.is-active {
    flex-basis: 100%;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Mobil liegen Eyebrow + Headline ÜBER dem Video: Container und Visual
     teilen sich dieselbe Grid-Zelle (Zeile 1), der Rest der Copy folgt
     darunter in Zeile 2. Der Rest des Panels (Sub, USPs, CTAs) wird per
     display: contents aus .hero-copy herausgelöst, damit die Kinder
     direkt im Grid liegen und einzeln platzierbar sind. */
  .hero .container {
    grid-template-rows: auto repeat(4, min-content);
    /* Der Spalten-Gap der Desktop-Ansicht würde hier als Zeilenabstand
       wirken und die Blöcke auseinanderreißen – die Abstände bringen die
       Elemente selbst mit. */
    row-gap: 0;
  }

  .hero-copy,
  .hero-audience-panel.is-active {
    display: contents;
  }

  /* Das Video startet unterhalb der Textzone, damit Eyebrow und Headline
     auf dem dunklen Hintergrund sitzen und nicht auf dem hellen
     Handy-Screen mit seinen Badges. Der Text überlappt dann nur noch das
     obere Ende des Geräts. */
  .hero-visual {
    grid-column: 1;
    grid-row: 1;
    margin: 96px 0 8px;
  }

  /* Overlay-Teil: gleiche Zelle wie das Video, aber darüber. Die Zelle
     bekommt Innenabstand, damit die Schrift nicht an den Rändern klebt,
     und endet unten – so sitzt der Text auf dem oberen Teil des Handys,
     wo im Video ohnehin kaum Bildinhalt liegt. */
  .hero-copy .eyebrow,
  .hero-headline {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    justify-self: center;
    text-align: center;
    max-width: min(520px, 92vw);
    padding-inline: 16px;
  }

  .hero-copy .eyebrow {
    align-self: start;
    margin-top: 0;
  }

  .hero-headline {
    align-self: start;
    margin-top: 34px;
    /* Wo die Headline doch aufs Gerät ragt, hält der Schatten sie lesbar. */
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.4);
  }

  /* Alles Übrige rutscht unter das Video. Ohne eigene Zeilen landen die
     vier Blöcke sonst alle in Zeile 2 übereinander – deshalb bekommt
     jeder seine eigene implizite Zeile zugewiesen. */
  .hero-sub {
    grid-column: 1;
    grid-row: 2;
  }

  .hero-usps {
    grid-column: 1;
    grid-row: 3;
  }

  .hero-ctas {
    grid-column: 1;
    grid-row: 4;
  }

  .hero-store {
    grid-column: 1;
    grid-row: 5;
  }

  /* Der Überhang (120% + margin-left) funktioniert nur neben dem Text.
     Einspaltig muss das Video zentriert in die Spalte passen. */
  .hero-visual__img {
    width: 115%;
    max-width: 520px;
    margin-left: 0;
  }

  .phone-mockup {
    width: min(230px, 60vw);
  }

  .showcase .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Reihenfolge mobil: Text -> Video -> Button.
     .showcase-visual auflösen, damit Video und Button direkte
     Flex-Kinder werden und einzeln sortierbar sind. */
  .showcase-visual {
    display: contents;
  }

  .showcase .container > div:not(.showcase-visual) {
    order: 1;
  }

  .showcase-video-wrap {
    order: 2;
    transform: none;
  }

  .showcase-cta {
    order: 3;
    margin-top: -80px;
  }

  .showcase-video {
    max-width: min(440px, 96vw);
  }

  .contact-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  /* Only the store icons + inline CTA collapse away at this width — the
     hamburger/dropdown itself already works at every breakpoint. */
  .header-actions .btn-primary.header-cta,
  .header-actions .store-badge-icon {
    display: none;
  }

  .usp-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps-grid {
    flex-direction: column;
  }

  .step-card {
    flex-direction: column;
  }

  .step-card__text,
  .step-card__visual {
    width: 100%;
  }

  .step-card__visual {
    margin-top: 8px;
  }

  .pricing-grid {
    flex-direction: column;
  }

  .pricing-grid .price-card,
  .pricing-grid .price-card.is-active {
    flex-basis: auto;
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .coaches-head {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hero: center the eyebrow/headline/subline text on mobile — the 3 USP
     bullets (.hero-usps) are deliberately left untouched/left-aligned.
     .eyebrow is display:inline-flex, so text-align:center on the element
     ITSELF has no effect on its own position (text-align only aligns
     inline content *within* a box, not the box among its siblings) — it
     has to become its own centered flex row instead. */
  .hero-copy .eyebrow {
    display: flex;
    justify-content: center;
  }

  .hero-headline,
  .hero-sub {
    text-align: center;
  }

  .hero-store {
    justify-content: center;
  }

  /* Leistungen: center the section head (eyebrow/h2/lede) on mobile.
     Targets the *parent* .section-head (block-level), which correctly
     centers the inline-flex .eyebrow inside it — see note above. */
  #leistungen .section-head {
    text-align: center;
  }

  /* App-Showcase ("Mehr als Trainingspläne"): center eyebrow/headline/text.
     Scoped to .audience-block (which wraps only eyebrow+h2+p here) so the
     feature list below (.showcase-feature-list) is a separate sibling and
     stays untouched/left-aligned. */
  .showcase .audience-block {
    text-align: center;
  }

  /* Coaches ("Unsere Experten"): same pattern as Leistungen — .section-head
     wraps only the eyebrow/h2/lede, the sport switcher is a separate
     sibling in .coaches-head and stays as-is. */
  #coaches .section-head {
    text-align: center;
  }

  /* On a phone the swipe gesture is self-explanatory — the prev/next
     arrows are redundant clutter on mobile and get hidden. */
  .coach-nav-btn {
    display: none;
  }

  /* .coach-track uses width:fit-content + margin-inline:auto to center
     the cards between the arrows on desktop when they all fit. On mobile
     the 4 cards always overflow and need scrolling, so centering never
     applies anyway. Disable it here. */
  .coach-track {
    width: auto;
    margin-inline: 0;
  }

  /* The actual cause: .coach-card has scroll-snap-align:start, which
     forces the browser's initial scroll position so the first card's
     start edge sits at 0 regardless of any padding, margin, or spacer
     placed before it — tried all three, snapping kept cancelling the
     gap, and scroll-padding only affects snapping during a scroll
     gesture, not the default resting position. Simplest reliable fix:
     drop snap scrolling on mobile (a nice-to-have, not something that
     was asked for) so ordinary padding behaves normally again. */
  .coach-track-wrap {
    scroll-snap-type: none;
    padding-inline: 24px;
  }

  .coach-card {
    scroll-snap-align: none;
  }

  /* Kontakt: center the eyebrow + per-audience heading/intro on mobile,
     but keep .contact-points (the bullet list) left-aligned as-is. Same
     inline-flex fix as the hero eyebrow above. */
  .contact-info .eyebrow {
    display: flex;
    justify-content: center;
  }

  .contact-info .audience-block h2,
  .contact-info .audience-block p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .switcher {
    width: 100%;
  }

  .switcher__btn {
    flex: 1;
    padding: 10px 8px;
    font-size: 12.5px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}
