/* ===========================================================
   Torriecher v2 — design tokens
   One accent hue drives the whole palette so the sport switcher
   can re-tint the entire page by changing three numbers.
   =========================================================== */

@property --accent-h {
  syntax: "<number>";
  inherits: true;
  initial-value: 150;
}
@property --accent-s {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 55%;
}
@property --accent-l {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 42%;
}

:root {
  --accent-h: 150;
  --accent-s: 55%;
  --accent-l: 42%;
  --accent: hsl(var(--accent-h) var(--accent-s) var(--accent-l));
  --accent-strong: hsl(var(--accent-h) calc(var(--accent-s) + 8%) calc(var(--accent-l) - 8%));
  --accent-soft: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 12%);
  --accent-line: hsl(var(--accent-h) var(--accent-s) var(--accent-l) / 35%);
  --accent-foreground: oklch(0.99 0 0);

  --gold: oklch(0.83 0.16 87);
  --gold-strong: oklch(0.74 0.17 76);
  --gold-foreground: oklch(0.2 0.05 80);

  --ink: oklch(0.16 0.02 145);
  --paper: oklch(0.99 0.003 100);
  --paper-dim: oklch(0.965 0.006 120);
  --card: oklch(1 0 0);
  --muted-foreground: oklch(0.4 0.02 145);
  --border: oklch(0.9 0.015 120);
  --shadow-color: oklch(0.15 0.05 145 / 10%);

  --field: oklch(0.2 0.03 150);
  --field-dark: oklch(0.11 0.025 150);

  --radius-sm: 0.6rem;
  --radius: 1.1rem;
  --radius-lg: 1.75rem;
  --max-width: 76rem;

  --font-display: -apple-system, "SF Pro Display", "Segoe UI Semibold", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas,
    monospace;

  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: oklch(0.96 0.005 145);
    --paper: oklch(0.14 0.014 150);
    --paper-dim: oklch(0.18 0.016 150);
    --card: oklch(0.2 0.018 150);
    --muted-foreground: oklch(0.74 0.03 145);
    --border: oklch(1 0 0 / 10%);
    --shadow-color: oklch(0 0 0 / 45%);
    --accent-foreground: oklch(0.12 0.02 150);
    --field: oklch(0.16 0.03 150);
    --field-dark: oklch(0.08 0.02 150);
  }
}

/* Sport themes — switching [data-sport] retunes the whole site.
   @property above makes the hue/sat/light glide instead of snapping. */
:root[data-sport="fussball"] {
  --accent-h: 150;
  --accent-s: 60%;
  --accent-l: 40%;
}
:root[data-sport="unihockey"] {
  --accent-h: 195;
  --accent-s: 75%;
  --accent-l: 45%;
}
:root[data-sport="eishockey"] {
  --accent-h: 210;
  --accent-s: 70%;
  --accent-l: 48%;
}
:root[data-sport="handball"] {
  --accent-h: 24;
  --accent-s: 80%;
  --accent-l: 50%;
}

:root[data-sport="fussball"] .stadium-layer { filter: none; }
:root[data-sport="unihockey"] .stadium-layer { filter: hue-rotate(155deg) saturate(1.15) brightness(1.05); }
:root[data-sport="eishockey"] .stadium-layer { filter: hue-rotate(175deg) saturate(0.75) brightness(1.18) contrast(1.05); }
:root[data-sport="handball"] .stadium-layer { filter: hue-rotate(-95deg) saturate(1.3) brightness(0.98); }

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  /* Not scroll-behavior: smooth — combined with the pinned 300vh scroll
     scene below, Chromium's smooth-scroll silently fails to reach anchors
     past it (in-page nav links would do nothing). Instant jumps are the
     reliable choice here. */
  transition: color 0.4s ease;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

a { color: var(--accent-strong); }

::selection { background: var(--accent); color: var(--accent-foreground); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Fully removes a section from layout and the accessibility tree, unlike
   .visually-hidden — for content that's disabled, not just decorative. */
.is-hidden {
  display: none;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--accent-strong);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  /* Wider than the shared content max-width: logo + sport switcher + full
     nav + CTA need more horizontal room than a text column does. */
  max-width: 80rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: linear-gradient(155deg, var(--accent), var(--accent-strong));
  font-size: 1.0625rem;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.08); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3125rem;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle .bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  flex-direction: column;
  gap: 0;
  margin-top: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px -16px var(--shadow-color);
  overflow: hidden;
}

.nav-links.is-open { display: flex; }

.nav-links a:not(.btn) {
  padding: 0.9rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  border-top: 1px solid var(--border);
}

.nav-links a:not(.btn):first-child { border-top: none; }
.nav-links .nav-cta { margin: 0.75rem; }

/* Secondary utility action (external link to the app), styled a step
   quieter than the same-page section links so "Verein anmelden" stays the
   one visually dominant call to action. */
.nav-links a.nav-login { color: var(--muted-foreground); }

@media (min-width: 80rem) {
  .nav-toggle { display: none; }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem 1.5rem;
    margin: 0;
    border: none;
    background: none;
    box-shadow: none;
  }

  .nav-links a:not(.btn) {
    padding: 0;
    border-top: none;
    font-weight: 600;
    font-size: 0.9375rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .nav-links a:not(.btn):hover { color: var(--accent-strong); }
  .nav-links .nav-cta { margin: 0; flex-shrink: 0; }
}

/* Sport switcher (header pill group) */

.sport-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--paper-dim);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem;
}

.sport-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  font: inherit;
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

.sport-pill .sport-emoji { font-size: 1.0625rem; line-height: 1; }

/* Header switcher stays icon-only at every width — the labeled version
   lives in the #sportarten showcase. Label text stays for screen readers. */
.sport-pill .sport-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sport-pill:hover { color: var(--ink); }

.sport-pill.is-active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 2px 10px -4px var(--shadow-color), inset 0 0 0 1px var(--accent-line);
}

.sport-pill:active { transform: scale(0.94); }

.sport-switch--card {
  margin-top: 1rem;
  flex-wrap: wrap;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  flex-shrink: 0;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease,
    background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(155deg, var(--accent), var(--accent-strong));
  color: var(--accent-foreground);
  box-shadow: 0 12px 28px -12px var(--shadow-color);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px var(--shadow-color); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent-strong); }

.btn-ghost {
  background: color-mix(in oklch, #fff 10%, transparent);
  color: #fff;
  border-color: color-mix(in oklch, #fff 30%, transparent);
  backdrop-filter: blur(6px);
}

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

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }

/* ===========================================================
   Sections / type rhythm
   =========================================================== */

section { padding: 5.5rem 0; }

.section-alt { background: var(--paper-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-head { max-width: 40rem; margin-bottom: 2.75rem; }

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  margin: 0;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -14rem;
  left: 50%;
  width: 56rem;
  height: 34rem;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-soft), transparent 70%);
  pointer-events: none;
  transition: background 0.5s ease;
}

.hero .container { position: relative; text-align: center; }

.hero-eyebrow-swap { transition: opacity 0.25s ease; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(155deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  color: var(--muted-foreground);
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  max-width: 34rem;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 40rem) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

/* ===========================================================
   Scrollytelling stadium scene (true scroll-jacking)
   =========================================================== */

.scrollytell {
  position: relative;
  height: 300vh;
  height: 300svh;
  background: var(--field-dark);
}

.scrollytell-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.scrollytell-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: color-mix(in oklch, #fff 15%, transparent);
  z-index: 5;
}

.scrollytell-progress-fill {
  height: 100%;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--accent));
}

.stadium-layer {
  position: absolute;
  inset: 0;
  background-image: url("assets/football_stadium.webp");
  background-repeat: no-repeat;
  /* Height-driven sizing (width left to auto) keeps the photo's own aspect
     ratio intact — a fixed "220% 100%" size stretched it since width and
     height were scaled independently. The height percentage just controls
     how much wider than the viewport the image renders, i.e. how much
     room there is to pan; it's larger on wider screens because a
     photo this wide already nearly fills a portrait phone screen at 100%. */
  background-size: auto 115%;
  background-position: 0% center;
  transition: filter 0.5s ease;
}

@media (min-width: 48rem) {
  .stadium-layer { background-size: auto 155%; }
}

.scrollytell-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, color-mix(in oklch, var(--field-dark) 88%, transparent) 0%, color-mix(in oklch, var(--field-dark) 40%, transparent) 40%, transparent 68%),
    linear-gradient(to bottom, color-mix(in oklch, var(--field-dark) 75%, transparent) 0%, transparent 25%);
}

.scrollytell-track {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* Panels are stacked full-bleed and cross-fade based on scroll progress —
   they don't physically slide. Only the stadium background pans
   continuously; sliding the text panels too would show two overlapping
   captions whenever scroll wasn't paused exactly on a boundary. */
.scrollytell-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 3.5rem 1.5rem 6rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.scrollytell-panel.is-active { pointer-events: auto; }

.scrollytell-copy {
  max-width: 26rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.scrollytell-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.scrollytell-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
}

.score-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--gold);
  background: color-mix(in oklch, #000 48%, transparent);
  border: 1px solid color-mix(in oklch, var(--gold) 45%, transparent);
  border-radius: 0.75rem;
  padding: 0.3rem 1.5rem;
  line-height: 1.2;
}

.score-chip span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: color-mix(in oklch, #fff 75%, transparent);
  font-family: var(--font-body);
}

.result-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.result-score {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.scrollytell-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.scrollytell-hud > * { pointer-events: auto; }

.scrollytell-dots { display: flex; gap: 0.5rem; }

.scrollytell-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: color-mix(in oklch, #fff 25%, transparent);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.scrollytell-dot.is-active { background: var(--gold); transform: scale(1.4); }

.scrollytell-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: color-mix(in oklch, #fff 65%, transparent);
  animation: hint-bob 2s ease-in-out infinite;
}

.scrollytell-hint svg { width: 1rem; height: 1rem; stroke: currentColor; }

@keyframes hint-bob {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(4px); opacity: 1; }
}

.scrollytell.is-complete .scrollytell-hint { opacity: 0; visibility: hidden; }

/* Reduced-motion / no-JS fallback: plain stacked panels, no pin */
.no-js .scrollytell,
.scrollytell.is-static {
  height: auto;
}

.no-js .scrollytell-stage,
.scrollytell.is-static .scrollytell-stage {
  position: static;
  height: auto;
  overflow: visible;
}

.no-js .scrollytell-track,
.scrollytell.is-static .scrollytell-track {
  display: block;
  width: 100%;
  transform: none !important;
}

.no-js .scrollytell-panel,
.scrollytell.is-static .scrollytell-panel {
  position: static;
  opacity: 1;
  pointer-events: auto;
  width: 100%;
  min-height: 70vh;
  min-height: 70svh;
}

.no-js .stadium-layer,
.scrollytell.is-static .stadium-layer {
  background-size: cover;
  background-position: center;
}

.no-js .scrollytell-progress,
.scrollytell.is-static .scrollytell-progress,
.no-js .scrollytell-hint,
.scrollytell.is-static .scrollytell-hint {
  display: none;
}

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

/* ===========================================================
   Manifesto ("Warum")
   =========================================================== */

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 46rem;
  margin: 0 0 3.5rem;
}

.manifesto-quote .accent-mark { color: var(--accent-strong); }

.manifesto-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 48rem) {
  .manifesto-grid { grid-template-columns: repeat(3, 1fr); }
}

.manifesto-item { position: relative; padding-top: 0.5rem; }

.manifesto-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--border);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}

.manifesto-item:hover .manifesto-num { color: var(--accent-soft); }

.manifesto-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.manifesto-item p { margin: 0; color: var(--muted-foreground); }

/* ===========================================================
   Timeline ("So funktioniert's")
   =========================================================== */

.timeline-wrap {
  position: relative;
  max-width: 40rem;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-wrap::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background: var(--border);
}

.timeline-fill {
  position: absolute;
  left: 1.375rem;
  top: 0.75rem;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent), var(--gold));
  transition: height 0.1s linear;
}

.timeline li {
  position: relative;
  padding: 0 0 2.75rem 3.75rem;
}

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

.timeline-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 2px solid var(--border);
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--muted-foreground);
  z-index: 1;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.timeline li.is-active .timeline-num {
  border-color: var(--accent);
  color: var(--accent-foreground);
  background: linear-gradient(155deg, var(--accent), var(--accent-strong));
}

.timeline h3 { margin: 0 0 0.375rem; font-size: 1.125rem; font-weight: 700; }
.timeline p { margin: 0; color: var(--muted-foreground); }

/* ===========================================================
   Feature cards with cursor spotlight
   =========================================================== */

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .card-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}

.spot-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.spot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    18rem circle at var(--spot-x, 50%) var(--spot-y, 0%),
    var(--accent-soft),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spot-card:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.spot-card:hover::before { opacity: 1; }

.spot-card.is-future { border-style: dashed; }

.spot-card > * { position: relative; }

.spot-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--accent-soft);
  margin-bottom: 1rem;
  font-size: 1.375rem;
  transition: transform 0.2s ease;
}

.spot-card:hover .icon-badge { transform: rotate(-6deg) scale(1.06); }

.spot-card h3 { margin: 0 0 0.5rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.005em; }
.spot-card p { margin: 0; color: var(--muted-foreground); }

/* ===========================================================
   CTA banner
   =========================================================== */

.cta-banner {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--field), var(--field-dark));
  color: #fff;
  overflow: hidden;
  padding: 4.5rem 0;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 44rem 22rem at 50% -10%, color-mix(in oklch, var(--gold) 35%, transparent), transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 2.5rem, color-mix(in oklch, #fff 4%, transparent) 2.5rem 2.5625rem),
    repeating-linear-gradient(90deg, transparent 0 2.5rem, color-mix(in oklch, #fff 4%, transparent) 2.5rem 2.5625rem);
  pointer-events: none;
}

.cta-banner .container { position: relative; }

.cta-banner .eyebrow { background: color-mix(in oklch, var(--gold) 22%, transparent); color: var(--gold); }

.cta-banner h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-banner p {
  margin: 0 auto 2rem;
  max-width: 34rem;
  color: color-mix(in oklch, #fff 72%, transparent);
  font-size: 1.0625rem;
}

/* ===========================================================
   Sportarten switcher showcase
   =========================================================== */

.sport-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .sport-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64rem) {
  .sport-grid { grid-template-columns: repeat(4, 1fr); }
}

.sport-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  cursor: pointer;
  font: inherit;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.sport-tile:hover { transform: translateY(-3px); }

.sport-tile.is-active {
  border-color: var(--accent);
  box-shadow: 0 16px 36px -20px var(--shadow-color), inset 0 0 0 1px var(--accent-line);
}

.sport-tile-preview {
  width: 100%;
  height: 5rem;
  border-radius: 0.65rem;
  background-image: url("assets/football_stadium.webp");
  background-size: cover;
  background-position: center 65%;
  position: relative;
}

.sport-tile[data-sport="fussball"] .sport-tile-preview { filter: none; }
.sport-tile[data-sport="unihockey"] .sport-tile-preview { filter: hue-rotate(155deg) saturate(1.15) brightness(1.05); }
.sport-tile[data-sport="eishockey"] .sport-tile-preview { filter: hue-rotate(175deg) saturate(0.75) brightness(1.18) contrast(1.05); }
.sport-tile[data-sport="handball"] .sport-tile-preview { filter: hue-rotate(-95deg) saturate(1.3) brightness(0.98); }

.sport-tile-emoji { font-size: 1.75rem; }

.sport-tile h3 { margin: 0; font-size: 1.0625rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; }

.badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--paper-dim);
  color: var(--muted-foreground);
}

.badge-live { background: linear-gradient(155deg, var(--gold-strong), var(--gold)); color: var(--gold-foreground); }

.sport-tile p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

.sr-announce { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

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

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.price-card.is-highlighted {
  border-color: var(--gold);
  box-shadow: 0 16px 36px -18px var(--shadow-color);
  position: relative;
}

.price-card.is-highlighted::before {
  content: "Beliebt";
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: linear-gradient(155deg, var(--gold-strong), var(--gold));
  color: var(--gold-foreground);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.price-card h3 { margin: 0; font-size: 1.0625rem; font-weight: 700; }

.price { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.01em; margin: 0.75rem 0 0.25rem; }
.price span { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }

.price-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0.625rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

.price-features li { display: flex; align-items: center; gap: 0.5rem; }
.price-features .icon { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }

.pricing-note, .pricing-disclaimer {
  color: var(--muted-foreground);
  max-width: 40rem;
}

.pricing-note { margin: 0 0 2.5rem; font-size: 1.0625rem; }
.pricing-disclaimer { margin-top: 1.75rem; font-size: 0.875rem; }

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

.faq-list { display: grid; gap: 0.75rem; max-width: 44rem; }

.faq-list details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.125rem 1.375rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.125rem;
  transition: transform 0.15s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0.875rem 0 0; color: var(--muted-foreground); }

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

.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 56rem) {
  .contact-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}

.contact-aside h2 { margin-top: 0; }

.contact-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1rem; }

.contact-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.contact-points .icon { flex-shrink: 0; margin-top: 0.125rem; }

.contact-form { display: grid; gap: 1.125rem; }

.contact-form label { display: block; font-weight: 600; margin-bottom: 0.375rem; font-size: 0.9375rem; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8125rem 0.9375rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  font: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form textarea { min-height: 8rem; resize: vertical; }

.form-note { font-size: 0.8125rem; color: var(--muted-foreground); margin: -0.25rem 0 0; }

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

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
  background: var(--paper-dim);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  max-width: 22rem;
  margin: 0.75rem 0 0;
}

.footer-col h4 {
  margin: 0 0 0.875rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.625rem; }

.footer-col a { color: var(--ink); text-decoration: none; font-size: 0.9375rem; }
.footer-col a:hover { color: var(--accent-strong); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--muted-foreground); text-decoration: none; }
.footer-links a:hover { color: var(--accent-strong); }

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* ===========================================================
   Legal pages — plain, readable, unfussy on purpose
   =========================================================== */

.legal main { padding: 3rem 0 4.5rem; }
.legal .container { max-width: 42rem; }

.legal h1 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.legal .legal-updated { color: var(--muted-foreground); font-size: 0.875rem; margin: 0 0 2.5rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2.25rem; }
.legal p { color: var(--muted-foreground); }
.legal a { word-break: break-word; }

.placeholder { color: var(--accent-strong); font-weight: 600; }

/* ===========================================================
   Reduced motion
   =========================================================== */

@media (prefers-reduced-motion: reduce) {
  .scrollytell-hint { animation: none; }

  .card, .spot-card, .btn-primary, .logo-mark, .sport-tile {
    transition: none;
  }
}
