/* ==========================================================================
   H-YPE Sport Academy – Stylesheet
   ========================================================================== */

/* Self-hosted Plus Jakarta Sans (no external request to Google Fonts) */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-500.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
  /* Colors — brand palette: black, brand red, white (per H-YPE logo) */
  --color-bg: #ffffff;
  --color-bg-alt: #f2f9fc;
  --color-surface: #ffffff;
  --color-surface-2: #eaf6fb;
  --color-border: #e1eaf0;
  --color-text: #0a0a0a;
  --color-text-muted: #4b5563;
  --color-text-dim: #8b96a5;

  --color-primary: #e2001a;
  --color-primary-light: #ff3355;
  --color-primary-dark: #a30014;
  --color-secondary: #0a0a0a;
  --color-secondary-light: #2c2c2c;
  --color-success: #a30014;

  --gradient-primary: linear-gradient(135deg, #ff2d47 0%, #a30014 100%);
  --gradient-secondary: linear-gradient(135deg, #232323 0%, #050505 100%);
  --gradient-hero: radial-gradient(circle at 20% 20%, rgba(10, 10, 10, 0.05), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(10, 10, 10, 0.06), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(10, 10, 10, 0.035), transparent 50%);

  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(10, 20, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 20, 30, 0.1);
  --shadow-glow: 0 0 40px rgba(226, 0, 26, 0.35);

  /* Elevated / colored shadows for the premium hover layer */
  --shadow-card: 0 1px 2px rgba(10, 20, 30, 0.04), 0 8px 24px rgba(10, 20, 30, 0.06);
  --shadow-card-hover: 0 4px 10px rgba(10, 10, 10, 0.06), 0 20px 44px rgba(10, 10, 10, 0.12);
  --shadow-btn: 0 1px 2px rgba(163, 0, 20, 0.15), 0 10px 24px rgba(163, 0, 20, 0.3);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);

  --container: 1200px;
  --header-h: 76px;
  --topbar-h: 0px;
}

/* ---------- Motion ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-16px) translateX(6px);
  }
}

@keyframes meshDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3%, 2%) scale(1.06);
  }
}

@keyframes shimmerSweep {
  0% {
    transform: translateX(-130%) skewX(-15deg);
  }
  100% {
    transform: translateX(230%) skewX(-15deg);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
  /* Lives on <html>, not <body>: overflow-x on body forces overflow-y to
     "auto" per spec, which turns body into its own scroll container. */
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Faint grain texture over the whole page — adds a tactile, premium
   feel instead of flat vector-only surfaces. Purely decorative. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--color-secondary);
  color: #fff;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-alt);
}

::-webkit-scrollbar-thumb {
  background: #c7d0d9;
  border-radius: var(--radius-full);
  border: 3px solid var(--color-bg-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: #a8b4c0;
}

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

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

ul {
  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 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-weight: 800;
}

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

section {
  position: relative;
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 18px;
}

/* Focus ring for keyboard users — consistent across links, buttons, inputs */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.eyebrow.blue {
  color: var(--color-secondary);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-pad {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg-alt), #fff 60%, var(--color-bg-alt));
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, rgba(255, 255, 255, 0.35) 52%, transparent 70%);
  transform: translateX(-130%) skewX(-15deg);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover::after {
  transform: translateX(130%) skewX(-15deg);
}

/* Buttons react with colour only: no lift, no sweeping shine */
.btn::after {
  display: none;
}

.btn-primary {
  background: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn-primary::after {
  display: none;
}

.btn-secondary {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary-light);
}

/* Outline buttons: filled red = "Athletik-Check starten" only. Everything that
   merely leads somewhere else is an outline (dark on light, light on dark/red). */
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-text);
  color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-primary-dark);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-h);
  z-index: 1001;
  background: var(--color-secondary);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.topbar-inner:hover {
  opacity: 0.85;
}

.topbar-text-short {
  display: none;
}

.topbar-arrow {
  display: inline-flex;
  color: var(--color-primary-light);
  transition: transform 0.25s var(--ease-out);
}

.topbar-inner:hover .topbar-arrow {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
}

/* Blur lives on a pseudo-element so `.site-header` itself never gets a
   backdrop-filter — that property turns an element into the containing
   block for its `position: fixed` descendants (like `.nav-links` on
   mobile), which would trap the fullscreen menu inside the header's
   own 76px box instead of letting it span the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(10, 10, 10, 0.28), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled::before {
  background: rgba(255, 255, 255, 0.92);
}

.site-header.is-scrolled::after {
  opacity: 1;
}

.logo img {
  transition: transform 0.3s var(--ease-out);
}

.logo:hover img {
  transform: scale(1.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 30px;
  width: auto;
  display: block;
}

.footer-brand .logo img {
  height: 37px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-links a {
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ---------- Nav dropdown (Athleten / Trainer) ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 500;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item .dropdown a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  white-space: normal;
}

.nav-item .dropdown a::after {
  display: none;
}

.nav-item .dropdown a:hover {
  background: var(--color-bg-alt);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Stats banner ---------- */
.stats-banner {
  padding: 46px 0;
  background: var(--gradient-secondary);
  position: relative;
  overflow: hidden;
}

.stats-banner::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  top: -180px;
  right: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}

.stats-banner-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 64px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stats-banner-grid div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  position: relative;
}

.stats-banner-grid div:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.stats-banner-grid strong {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.12);
}

.stats-banner-grid span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .stats-banner-grid div:not(:first-child)::before {
    display: none;
  }
}

/* ---------- Hero ---------- */
/* Hero + number strip together always fill exactly one screen (desktop). */
.hero-screen {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 980px) {
  .hero-screen {
    display: block;
    min-height: 0;
  }
}

.hero {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--topbar-h) + 36px) 0 36px;
  background: var(--gradient-hero), var(--color-bg);
  position: relative;
  overflow: hidden;
}

@media (max-width: 980px) {
  /* The mobile browser chrome showing/hiding on scroll makes 100vh unstable
     there, and forcing a full 100vh here meant the stacked text block alone
     could fill the whole first screen, pushing the hero photo below the
     fold. Let the section size itself to its (now tightened) content
     instead, so the photo already peeks into view without scrolling. */
  .hero {
    height: auto;
    min-height: 0;
    padding-top: calc(var(--header-h) + var(--topbar-h) + 32px);
    padding-bottom: 36px;
  }

  .hero h1 {
    margin-bottom: 14px;
  }

  .hero p.lead {
    margin-bottom: 22px;
  }

  .hero-actions {
    margin-bottom: 14px;
  }

  .hero-meta {
    margin-bottom: 28px;
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  animation: meshDrift 16s ease-in-out infinite;
}

.hero::before {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(10, 10, 10, 0.08), transparent 70%);
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(10, 10, 10, 0.06), transparent 70%);
  animation-delay: -8s;
}

.hero > .container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero .eyebrow,
.hero h1,
.hero p.lead,
.hero .hero-actions {
  animation: fadeInUp 0.7s var(--ease-out) both;
}

.hero h1 {
  animation-delay: 0.08s;
}

.hero p.lead {
  animation-delay: 0.16s;
}

.hero .hero-actions {
  animation-delay: 0.24s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-bottom: 48px;
}

.hero-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 10px;
  color: var(--color-text-dim);
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--color-text);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.hero-visual {
  position: relative;
  height: 440px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-card-hover);
  animation: float 6s ease-in-out infinite, fadeInUp 0.7s var(--ease-out) both;
}

.floating-card.card-1 {
  top: 2%;
  left: -6%;
  width: 230px;
  animation-delay: 0s, 0.3s;
}

.floating-card.card-2 {
  bottom: 8%;
  left: -10%;
  width: 210px;
  animation-delay: 1.2s, 0.45s;
}

.floating-card.card-3 {
  top: 36%;
  right: -10%;
  width: 220px;
  animation-delay: 2.4s, 0.6s;
}

.hero-photo {
  position: absolute;
  inset: 8% 12%;
  border-radius: var(--radius-lg);
  background: var(--gradient-secondary);
  opacity: 0.18;
  filter: blur(2px);
}

.hero-photo-inner {
  position: absolute;
  inset: 8% 12%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card-hover), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.hero-photo-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.5) 50%, transparent 60%);
  transform: translateX(-100%);
  animation: shimmerSweep 5s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-photo-inner svg {
  width: 55%;
  opacity: 0.9;
}

.hero-photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Rotating hero photos: all stacked in the same box, crossfaded via JS
   toggling .is-active (see script.js). Absolute + inset:0 so they overlap
   exactly instead of stacking vertically. */
.hero-photo-inner .rotator-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-photo-inner .rotator-img.is-active {
  opacity: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.card-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon.orange {
  background: rgba(10, 10, 10, 0.06);
  color: var(--color-secondary);
}

.card-icon.blue {
  background: rgba(10, 10, 10, 0.06);
  color: var(--color-secondary);
}

.card-icon.green {
  background: rgba(10, 10, 10, 0.06);
  color: var(--color-secondary);
}

.floating-card strong {
  display: block;
  font-size: 0.95rem;
}

.floating-card span {
  font-size: 0.78rem;
  color: var(--color-text-dim);
}

/* ---------- Trust bar ---------- */
.trust-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-grid strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-grid span {
  color: var(--color-text-dim);
  font-size: 0.88rem;
}

/* ---------- Audience cards ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.audience-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}

.audience-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 10px 20px rgba(10, 10, 10, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.35s var(--ease-out);
}

.audience-card:hover .audience-icon {
  transform: scale(1.08) rotate(-4deg);
}

.audience-card:nth-child(1) .audience-icon {
  background: var(--gradient-secondary);
}

.audience-card:nth-child(2) .audience-icon {
  background: linear-gradient(135deg, #2c2c2c 0%, #0a0a0a 100%);
}

.audience-card:nth-child(3) .audience-icon {
  background: var(--gradient-secondary);
}

.audience-icon svg {
  width: 28px;
  height: 28px;
  color: #fff;
}

.audience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.audience-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex-grow: 1;
}

.audience-card ul {
  margin-bottom: 26px;
}

.audience-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 6px 0;
}

.audience-card ul li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-success);
}

.audience-card .btn {
  align-self: center;
}

/* ---------- Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  text-align: center;
}

.step:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0 auto 18px;
  box-shadow: 0 8px 18px rgba(10, 10, 10, 0.24);
  transition: transform 0.3s var(--ease-out);
}

.step:hover .step-num {
  transform: scale(1.1);
}

.step h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* For item counts that aren't a clean multiple of 3 — flex-wrap
   centers a short last row instead of leaving it stranded on the left. */
.feature-grid.balanced {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.feature-grid.balanced .feature-card {
  flex: 1 1 320px;
  max-width: 360px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  text-align: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--color-surface-2), rgba(10, 10, 10, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--color-secondary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.3s var(--ease-out);
}

.feature-card:hover .icon {
  }

.feature-card .icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.stars {
  color: #ffb020;
  font-size: 0.9rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p.quote {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ---------- Video showcase (portrait clips with poster + caption) ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 620px;
  margin: 0 auto;
}

.video-grid.single {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
}

.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.video-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0a0a0a;
}

.video-card-caption {
  padding: 16px 20px 20px;
}

.video-card-caption strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.video-card-caption span {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
  }
}

/* ---------- Screenshot showcase (app screens) ---------- */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screenshot-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.screenshot-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-card-caption {
  padding: 14px 18px 18px;
  text-align: center;
}

.screenshot-card-caption strong {
  display: block;
  font-size: 0.9rem;
}

.screenshot-card-caption span {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* ---------- Split feature (small photo alongside real text, not standalone) ---------- */
.split-feature {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}

.split-feature.reverse {
  grid-template-columns: 1fr 260px;
}

.split-feature.reverse .split-photo {
  order: 2;
}

.split-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-card);
}

.split-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Standalone use outside a .split-feature grid (e.g. stacked above a card) */
.split-photo.small {
  max-width: 220px;
  margin: 0 0 24px;
}

@media (max-width: 720px) {
  .split-feature,
  .split-feature.reverse {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .split-feature.reverse .split-photo {
    order: 0;
  }

  .split-photo {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(226, 0, 26, 0.1), var(--color-surface) 30%);
  transform: scale(1.03);
  box-shadow: var(--shadow-glow);
}

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.price-card .plan-desc {
  color: var(--color-text-dim);
  font-size: 0.85rem;
  margin-bottom: 22px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
}

.price-amount .num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
}

.price-amount .period {
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

.price-card ul {
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding: 7px 0;
  border-bottom: 1px dashed var(--color-border);
}

.price-card ul li:last-child {
  border-bottom: none;
}

.price-card ul li svg {
  width: 16px;
  height: 16px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(163, 0, 20, 0.3);
}

.cta-banner::before {
  display: none;
}

.cta-banner::after {
  display: none;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: #fff;
  max-width: 480px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
  position: relative;
}

.cta-banner .btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1.5px solid #fff;
  position: relative;
}

.cta-banner .btn-secondary:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
  transform: none;
  box-shadow: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 70px 0 30px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 50px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  margin: 16px 0 20px;
  max-width: 280px;
}

.social-row {
  display: flex;
  gap: 10px;
}

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

.social-row a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 0.82rem;
  margin-bottom: 18px;
  color: var(--color-text);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact a,
.footer-contact span {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.footer-contact a:hover {
  color: var(--color-primary-dark);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-primary-dark);
  padding-left: 6px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.8rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--color-text-dim);
}

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

.footer-bottom .legal-links a:hover {
  color: var(--color-text-muted);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + var(--topbar-h) + 70px) 0 70px;
  background: var(--gradient-hero), var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: meshDrift 18s ease-in-out infinite;
}

.page-hero::before {
  width: 340px;
  height: 340px;
  top: -140px;
  right: 6%;
  background: radial-gradient(circle, rgba(10, 10, 10, 0.06), transparent 70%);
}

.page-hero::after {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: 8%;
  background: radial-gradient(circle, rgba(10, 10, 10, 0.05), transparent 70%);
  animation-delay: -9s;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 auto 16px;
  max-width: 700px;
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  animation: fadeInUp 0.6s var(--ease-out) 0.08s both;
}

.page-hero .breadcrumb {
  animation: fadeInUp 0.5s var(--ease-out) both;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--color-primary-dark);
}

/* ---------- Toggle (pricing monthly/yearly) ---------- */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-toggle span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pricing-toggle span.active {
  color: var(--color-text);
}

.switch {
  width: 52px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  position: relative;
  cursor: pointer;
}

.switch .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  transition: transform 0.25s ease;
}

.switch.on .knob {
  transform: translateX(24px);
}

.save-badge {
  background: rgba(43, 213, 118, 0.15);
  color: var(--color-success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.faq-question .plus {
  font-size: 1.3rem;
  color: var(--color-primary-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- About page ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease-out);
}

.value-card:hover {
}

.value-card:hover .icon {
  transform: scale(1.08) rotate(-4deg);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--color-surface-2), rgba(226, 0, 26, 0.14));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--color-primary-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.3s var(--ease-out);
}

.value-card .icon svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

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

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.team-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(163, 0, 20, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split > div:last-child {
  text-align: center;
}

/* ---------- Founder spotlight (Über uns) ---------- */
.founder-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.founder-info {
  text-align: center;
}

.founder-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card-hover);
  max-width: 380px;
  margin: 0 auto;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 10, 10, 0.28));
  pointer-events: none;
}

.founder-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 6px;
}

.founder-role {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.founder-info p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.founder-info p:last-child {
  margin-bottom: 0;
}

.about-split p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.about-visual {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--color-surface), var(--color-bg-alt));
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.25;
  filter: blur(50px);
}

.about-visual svg {
  width: 40%;
  position: relative;
  opacity: 0.9;
}

.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
  border-left: 2px solid var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(226, 0, 26, 0.2);
}

.timeline-item .year {
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
  display: block;
}

.timeline-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 34px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

.contact-info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  transition: transform 0.25s var(--ease-out);
}

.contact-info-row:hover {
  transform: translateX(3px);
}

.contact-info-row:last-child {
  border-bottom: none;
}

.contact-info-row .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--color-surface-2), rgba(10, 10, 10, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.contact-info-row .icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-row strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.contact-info-row span,
.contact-info-row a {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--color-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.checkbox-row input {
  margin-top: 3px;
}

.checkbox-row label {
  font-size: 0.84rem;
  color: var(--color-text-dim);
}

.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .check-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(43, 213, 118, 0.15);
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.form-success .check-circle svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 10px;
}

.form-success p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-side {
  background: var(--gradient-hero), var(--color-bg);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1px solid var(--color-border);
}

.auth-side .quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.4;
  max-width: 420px;
}

.auth-side .quote span {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-dim);
  font-weight: 400;
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.auth-box > p {
  color: var(--color-text-muted);
  margin-bottom: 34px;
  font-size: 0.94rem;
}

.role-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.role-option input {
  display: none;
}

.role-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  text-align: center;
}

.role-option label svg {
  width: 22px;
  height: 22px;
}

.role-option input:checked + label {
  border-color: var(--color-primary);
  color: var(--color-text);
  background: rgba(226, 0, 26, 0.08);
}

.divider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

.divider-row::before,
.divider-row::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.social-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.social-auth .btn-ghost {
  gap: 10px;
}

.form-foot {
  margin-top: 26px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.form-foot a {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.field-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field-flex a {
  font-size: 0.82rem;
  color: var(--color-primary-dark);
}

/* ---------- Mobile ---------- */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-visual {
    height: 380px;
  }

  .trust-grid,
  .audience-grid,
  .steps-grid,
  .feature-grid,
  .testimonial-grid,
  .pricing-grid,
  .value-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-split,
  .founder-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 300px;
  }

  .auth-side {
    display: none;
  }

  .auth-wrap {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

/* Six nav items + CTA need the mobile menu earlier than the general
   tablet breakpoint below — this duplicates just the nav rules. */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 16px;
    font-size: 1rem;
  }

  .nav-item {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-item .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    backdrop-filter: none;
    padding: 0 0 0 20px;
    margin-top: -6px;
  }

  .nav-item .dropdown a {
    padding: 12px 16px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 16px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
  }

  /* On narrow screens the 3 floating info-cards overlapped and hid almost
     the entire hero photo. Same info already lives in the "Drei Wege"
     section further down, so we simply hide the cards here and let the
     photo take up the full hero-visual box. */
  .floating-card {
    display: none;
  }

  .hero-photo,
  .hero-photo-inner {
    inset: 0;
  }

  .hero-visual {
    height: 300px;
  }

  .trust-grid,
  .steps-grid,
  .testimonial-grid,
  .pricing-grid,
  .value-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Card grids become a horizontal, snap-scrolling row instead of stacking */
  .audience-grid,
  .feature-grid,
  .screenshot-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 6px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
  }

  .audience-grid::-webkit-scrollbar,
  .feature-grid::-webkit-scrollbar,
  .screenshot-grid::-webkit-scrollbar {
    display: none;
  }

  .audience-grid > *,
  .feature-grid > *,
  .screenshot-grid > * {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 44px 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .role-select {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .section-pad {
    padding: 70px 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 22px;
  }

  .role-select {
    grid-template-columns: 1fr;
  }

  .social-auth {
    grid-template-columns: 1fr;
  }

  .topbar-text-full {
    display: none;
  }

  .topbar-text-short {
    display: inline;
  }
}

/* ---------- Athletes ---------- */
.athlete-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.athlete-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}


.athlete-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--color-surface-2);
}

.athlete-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}


.athlete-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.athlete-card ul {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.athlete-card ul li {
  padding: 3px 0;
  border-top: 1px solid var(--color-border);
}

.athlete-card ul li:first-child {
  border-top: none;
}

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

@media (max-width: 480px) {
  .athlete-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.legal-content ul li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--color-text);
}

/* ---------- Strategy pages: shared components ---------- */
.steps-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Highlighted single-message card (Zusatzleistung / Vertrauen-Absatz) */
.addon-card {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg-alt) 140%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.addon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-secondary);
}

.addon-card .eyebrow {
  margin-bottom: 16px;
}

.addon-card h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.addon-card p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.addon-card p:last-of-type {
  margin-bottom: 0;
}

.addon-card .btn {
  margin-top: 4px;
}

/* Abgrenzung: passt / passt nicht */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.fit-card {
  border-radius: var(--radius-md);
  padding: 30px 28px;
  border: 1px solid var(--color-border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  text-align: center;
}

.fit-card:hover {
  box-shadow: var(--shadow-card);
}

.fit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.fit-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.fit-card.fit-yes {
  background: rgba(10, 10, 10, 0.03);
  border-color: rgba(10, 10, 10, 0.18);
}

.fit-card.fit-no {
  background: var(--color-bg-alt);
}

/* Module list (Trainer-Ausbildung) */
.module-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.module-item {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.module-item:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

.module-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-secondary);
  color: #fff;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 18px rgba(10, 10, 10, 0.24);
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
}

.module-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.module-item p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }

  .addon-card {
    padding: 32px 26px;
  }

  .module-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* ---------- Ausbildungssystem (Level-Übersicht, Moduldetails, Preise) ---------- */

.level-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.level-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.level-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.level-card .level-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.level-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.level-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.level-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-dim);
  font-style: italic;
  margin-top: 22px;
}

.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 6px 0 10px;
}

.module-umfang {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  font-style: italic;
}

.module-req {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  background: rgba(226, 0, 26, 0.08);
  padding: 3px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.level-abschluss {
  max-width: 820px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding: 16px 20px;
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
}

.level-abschluss strong {
  color: var(--color-text);
}

.check-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.check-list li svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-table-wrap {
  max-width: 820px;
  margin: 0 auto 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  overflow-x: auto;
}

table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
}

.pricing-table caption {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 18px 22px 4px;
}

.pricing-table th,
.pricing-table td {
  padding: 13px 20px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.pricing-table th {
  background: var(--color-surface-2);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}

.pricing-table td:last-child,
.pricing-table th:last-child {
  text-align: right;
  font-weight: 600;
}

.pricing-table td:nth-child(1),
.pricing-table th:nth-child(1) {
  white-space: normal;
}

.pricing-table tr.pricing-total td {
  font-weight: 700;
  background: var(--color-surface-2);
}

.pricing-table tr.pricing-total.featured td {
  color: var(--color-primary-dark);
}

.pricing-summary {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 24px;
  background: var(--gradient-secondary);
  color: #fff;
  border-radius: var(--radius-md);
}

.pricing-summary strong {
  font-size: 1.15rem;
}

.pricing-note {
  max-width: 820px;
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

@media (max-width: 720px) {
  .level-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }
}


/* ---------- Spieler page: 2x2 tiles, compact add-on, price block ---------- */
@media (min-width: 721px) {
  .feature-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
}

.addon-card.compact {
  padding: 34px 40px;
}

.addon-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.price-block {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, var(--color-surface), var(--color-bg-alt) 140%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.price-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.price-block .eyebrow {
  margin-bottom: 14px;
}

.price-block-amount {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
}

.price-fine {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin: 8px 0 22px;
}

.price-desc {
  color: var(--color-text-muted);
  margin-bottom: 26px;
}

.price-alt {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.price-alt a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pro-note {
  max-width: 560px;
  margin: 32px auto 0;
  text-align: center;
}

.pro-note h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.pro-note p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .price-block {
    padding: 36px 24px;
  }
  .addon-card.compact {
    padding: 28px 22px;
  }
}

/* Über uns: Referenzblock unter dem Gründertext, abgesetzt und kleiner */
.founder-refs {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.founder-refs p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.founder-refs .btn {
  margin-top: 8px;
}

/* Hero text column sits slightly lower on desktop so the air below the
   header matches the air above the number strip. */
@media (min-width: 981px) {
  .hero-grid > div:first-child {
    padding-top: 40px;
  }
}

/* Meta line inside sub-page heroes: .page-hero p would otherwise make it body-sized */
.page-hero p.hero-meta {
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

.section-head.wide {
  max-width: 960px;
}

/* ---------- Athletik-Check ---------- */
.check-section {
  padding-top: calc(var(--header-h) + var(--topbar-h) + 50px);
}

.check-container {
  max-width: 780px;
}

.check-panel {
  display: none;
}

.check-panel.is-active {
  display: block;
}

.check-intro {
  text-align: center;
  margin-bottom: 30px;
}

.check-intro h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.check-intro p {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 12px;
}

.check-areas {
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 2px;
}

.check-areas > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--color-border);
}

.check-areas dt {
  font-weight: 700;
}

.check-areas dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.check-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.check-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(226, 0, 26, 0.08);
  border: 1px solid rgba(226, 0, 26, 0.3);
  color: var(--color-primary-dark);
  font-size: 0.92rem;
}

.check-error[hidden] {
  display: none;
}

/* Fortschritt */
.check-progress {
  margin-bottom: 26px;
}

.check-progress-label {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.check-progress-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--color-border);
  overflow: hidden;
}

.check-progress-fill {
  display: block;
  height: 100%;
  background: var(--color-primary);
  border-radius: 99px;
}

.check-domain {
  margin-bottom: 22px;
}

.check-domain h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 6px;
}

.check-domain p {
  color: var(--color-text-muted);
  margin: 0;
}

/* Legende (nur Handy) */
.check-legend {
  display: none;
  list-style: none;
  margin: 0 0 22px;
  padding: 14px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.check-legend li {
  margin: 3px 0;
}

.check-legend strong {
  color: var(--color-text);
}

/* Fragen */
.check-question {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 0;
  padding: 22px 0 24px;
  min-width: 0;
}

.check-question legend {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 0;
  margin-bottom: 14px;
  float: none;
  width: 100%;
}

.check-qnum {
  flex-shrink: 0;
  color: var(--color-primary);
  font-weight: 700;
  min-width: 24px;
}

.check-qtext {
  font-weight: 500;
  line-height: 1.45;
}

.check-scale {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.check-scale input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.check-scale label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 10px 6px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.check-scale label:hover {
  border-color: var(--color-text);
}

.check-digit {
  font-weight: 700;
  font-size: 1.05rem;
}

.check-cap {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--color-text-dim);
}

.check-scale input:checked + label {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.check-scale input:checked + label .check-cap {
  color: rgba(255, 255, 255, 0.9);
}

.check-scale input:focus-visible + label {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.check-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.check-back {
  background: none;
  border: 0;
  padding: 8px 4px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.check-back:hover {
  color: var(--color-text);
}

.check-nav .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Ergebnis */
.check-result-title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 28px;
  text-align: center;
}

.check-result-rows {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.check-result-row {
  display: grid;
  grid-template-columns: 230px 1fr 44px;
  gap: 18px;
  align-items: center;
}

.check-result-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check-tier {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.check-tier.is-warn {
  color: var(--color-primary);
}

.check-result-rows.is-neutral .check-tier.is-warn {
  color: var(--color-text-dim);
}

.check-result-label small {
  color: var(--color-text-dim);
  font-size: 0.78rem;
  line-height: 1.3;
}

.check-bar {
  height: 12px;
  border-radius: 99px;
  background: var(--color-border);
  overflow: hidden;
}

.check-bar-fill {
  display: block;
  height: 100%;
  background: var(--color-primary);
  border-radius: 99px;
}

.check-value {
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.check-copy {
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 24px 26px;
  margin-bottom: 22px;
}

.check-copy p {
  margin: 0 0 12px;
  color: var(--color-text-muted);
}

.check-copy p:last-child {
  margin-bottom: 0;
}

.check-copy .check-copy-big {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.check-copy .check-copy-small {
  font-size: 0.9rem;
}

.check-copy-small a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .check-section {
    padding-top: calc(var(--header-h) + var(--topbar-h) + 30px);
  }

  .check-card {
    padding: 24px 18px;
  }

  .check-areas > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .check-legend {
    display: block;
  }

  .check-cap {
    display: none;
  }

  .check-scale {
    gap: 6px;
  }

  .check-scale label {
    min-height: 48px;
    padding: 8px 2px;
  }

  .check-result-row {
    grid-template-columns: 1fr 40px;
    gap: 8px 12px;
  }

  .check-result-label {
    grid-column: 1 / -1;
  }

  .check-result-row .check-bar {
    grid-column: 1;
  }
}

/* ---------- Referenzen: Athletenliste ---------- */
.athlete-grid.roster {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.athlete-grid.roster .athlete-card {
  padding: 18px 16px;
}

.athlete-card .club {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.athlete-card .prev {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  margin: 3px 0 0;
}

.roster-note {
  text-align: center;
  color: var(--color-text-dim);
  margin: 26px 0 0;
}

.athlete-more {
  margin-top: 64px;
  padding-top: 44px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.athlete-more h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.athlete-more > p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 26px;
}

.athlete-grid.roster.compact {
  gap: 14px;
}

.athlete-grid.roster.compact .athlete-card {
  padding: 14px 14px;
  box-shadow: none;
}

.athlete-grid.roster.compact .athlete-card h3 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.athlete-grid.roster.compact .club {
  font-size: 0.8rem;
}

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

@media (max-width: 560px) {
  .athlete-grid.roster {
    grid-template-columns: 1fr;
  }
}

/* Referenzen: "Und viele mehr" + "Nicht nur Fußball" sicher zentriert, mit Luft oben/unten */
.roster-note,
.athlete-more h2,
.athlete-more > p {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: none;
}

.roster-note {
  margin-top: 40px;
  margin-bottom: 0;
}

.athlete-more {
  margin-top: 72px;
  padding-top: 56px;
}

/* ---------- Vereine & Berater (scouts.html) ---------- */
.vb-link {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.vb-link:hover {
  color: var(--color-text);
}

.vb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vb-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.vb-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.vb-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.vb-prose {
  max-width: 640px;
  margin: 0 auto;
}

.vb-prose p {
  margin: 0 0 16px;
  color: var(--color-text);
}

.vb-prose p.muted,
.vb-case p.muted {
  color: var(--color-text-muted);
}

.vb-prose h3 {
  text-align: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.vb-split {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.vb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px auto 0;
  max-width: 760px;
}

.vb-chips span {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.vb-case {
  max-width: 640px;
  margin: 52px auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}

.vb-case p {
  margin: 0 0 14px;
}

.vb-case-list {
  list-style: none;
  margin: 22px 0 22px;
  padding: 18px 0 0;
  border-top: 1px solid var(--color-border);
}

.vb-case-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 14px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.vb-case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 2px;
  background: var(--color-primary);
}

.vb-case-list strong {
  color: var(--color-text);
}

.vb-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.vb-pillars > div {
  border-top: 3px solid var(--color-primary);
  padding-top: 16px;
}

.vb-pillars h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.vb-pillars p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.vb-center {
  max-width: 660px;
  margin: 48px auto 0;
  text-align: center;
  color: var(--color-text-muted);
}

.vb-callout {
  max-width: 680px;
  margin: 44px auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}

.vb-callout p {
  margin: 0;
}

.vb-fine {
  max-width: 640px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.vb-form {
  max-width: 560px;
  margin: 0 auto;
}

.vb-call {
  text-align: center;
  margin: 18px 0 0;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .vb-cards,
  .vb-pillars {
    grid-template-columns: 1fr;
  }
}

/* ---------- Individuelle Spielanalyse ---------- */
.vb-inline {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vb-callout .vb-callout-muted {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.sa-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface);
}

.sa-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  border-top: 1px solid var(--color-border);
}

.sa-row:first-child {
  border-top: 0;
}

.sa-row > div {
  padding: 20px 22px;
  font-size: 0.95rem;
}

.sa-row > div:first-child {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-border);
}

.sa-head > div {
  padding: 14px 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.sa-price {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 30px;
}

.sa-price-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 8px;
}

.sa-price p {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .sa-row {
    grid-template-columns: 1fr;
  }

  .sa-row > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .sa-head {
    display: none;
  }
}

/* ---------- Athletik-Check: Seitenaufbau (Hero, Schritte, Karte, Bereiche) ---------- */
.check-only-start { display: block; }
body.check-running .check-only-start { display: none; }

.page-hero.check-hero,
.page-hero.check-hero .container {
  text-align: center;
}

.page-hero.check-hero h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-hero.check-hero p:not(.hero-meta) {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero.check-hero p.hero-meta {
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  max-width: none;
}

.page-hero.check-hero .hero-meta span:not(:last-child)::after {
  content: "•";
  color: var(--color-primary);
}

.check-steps-wrap {
  padding: 48px 0 0;
}

.check-steps {
  max-width: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.check-steps > div {
  padding: 28px 20px 26px;
  border-left: 1px solid var(--color-border);
}

.check-steps > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.check-steps span {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.check-steps h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.check-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.check-section {
  padding-top: 48px;
}

body.check-running .check-section {
  padding-top: calc(var(--header-h) + var(--topbar-h) + 50px);
}

.check-card-title {
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.check-card-sub {
  margin: 0 0 22px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.check-note {
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 26px;
}

.check-note p {
  margin: 0 0 8px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.check-note p:last-child {
  margin-bottom: 0;
}

.check-fine {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.check-guardian {
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 20px 22px 6px;
  margin-bottom: 20px;
}

.check-guardian[hidden] {
  display: none;
}

.check-guardian-title {
  font-weight: 700;
  margin: 0 0 6px;
}

.check-guardian-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.check-areas-section {
  padding-top: 40px;
}

.check-areas-table {
  max-width: 650px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.check-areas-table > div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 18px 2px;
  border-bottom: 1px solid var(--color-border);
}

.check-areas-table strong {
  display: block;
}

.check-areas-table small {
  display: block;
  margin-top: 4px;
  color: var(--color-text-dim);
  font-size: 0.8rem;
}

.check-areas-table p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.check-pending {
  margin-top: 28px;
  padding: 16px 22px;
  background: var(--color-bg-alt);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
}

.check-pending p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .check-steps { grid-template-columns: 1fr; }
  .check-steps > div,
  .check-steps > div:first-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--color-border); }
  .check-steps > div:first-child { border-top: 0; }
  .check-areas-table > div { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Referenzen: Hervorgehobene Reihen ---------- */
.athlete-grid.roster.featured {
  gap: 20px;
  margin-bottom: 20px;
}

.athlete-grid.roster.featured .athlete-card {
  padding: 26px 22px;
  border-top: 3px solid var(--color-primary);
}

.athlete-grid.roster.featured .athlete-card h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.athlete-grid.roster.featured .club {
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 600;
}

.athlete-grid.roster.featured.second .athlete-card {
  padding: 22px 20px;
  border-top-width: 2px;
}

.athlete-grid.roster.featured.second .athlete-card h3 {
  font-size: 1.05rem;
}

.roster-divider {
  height: 1px;
  background: var(--color-border);
  max-width: 120px;
  margin: 36px auto 36px;
}
