/* ==========================================================================
   BASE — Team Röhl One-Pager. Struktur & Komponenten.
   Welt: Gewitter über dem Fight-Yard. WebGL-Blitze, echte Pinselstriche
   vom 2026er Flyer, Beton und Maschendraht.
   ========================================================================== */

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  overflow-x: clip;
}

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

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -48px; z-index: 100;
  background: var(--lime); color: var(--ink-0); font-weight: 600;
  padding: 10px 18px; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink-0); }

[id] { scroll-margin-top: 110px; }

h1, h2, h3, h4 { margin: 0; }
a { color: var(--lime); }
a:hover { color: var(--paper); }

/* Legend M54 kennt kein & und kein € — beide laufen über Barlow Condensed.
   Umlaute und Satzzeichen stecken seit dem Font-Patch in der Schrift selbst. */
.alt { font-family: var(--font-label); font-weight: 700; font-style: normal; }

/* ==========================================================================
   Pinselstriche — drei Varianten, per data-brush gewählt, damit nie zwei
   gleiche direkt untereinander stehen.
   ========================================================================== */

[data-brush="1"] { --brush: url('../assets/img/brush-1.png'); }
[data-brush="2"] { --brush: url('../assets/img/brush-2.png'); }
[data-brush="3"] { --brush: url('../assets/img/brush-3.png'); }
[data-brush="4"] { --brush: url('../assets/img/brush-4.png'); }

/* ==========================================================================
   Reveals — IntersectionObserver + CSS. Bewusst nicht über GSAP, damit der
   Inhalt nie an einem Animations-Ticker hängt. Die Klasse .reveal-armed setzt
   ein Inline-Skript im <head> und nimmt sie notfalls selbst wieder zurück.
   ========================================================================== */

/* Ruhig und sichtbar: kurze Verzögerung, damit die Bewegung wirklich anläuft
   und nicht schon vorbei ist, bevor das Element im Blick liegt. */
[data-reveal] {
  transition: opacity 1.05s cubic-bezier(.16,1,.3,1) .18s,
              transform 1.05s cubic-bezier(.16,1,.3,1) .18s;
}
.reveal-armed [data-reveal] { opacity: 0; transform: translateY(38px); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* Preiskarten laufen dichter gestaffelt ein — mit .32/.46 s wirkte die dritte
   Karte abgehängt statt als Reihe. */
.price[data-reveal] { transition-duration: .7s; transition-delay: 0s; }
.price[data-reveal]:nth-child(2) { transition-delay: .08s; }
.price[data-reveal]:nth-child(3) { transition-delay: .16s; }
.no-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }

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

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  /* CI-Schrift bis in die Knoepfe: Legend M54 traegt Navigation, Ueber-
     schriften UND jeden CTA. Sie laeuft deutlich breiter als Barlow
     Condensed, deshalb weniger Laufweite und etwas mehr Zeilenluft. */
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .03em; font-size: 1.08rem; line-height: 1.06;
  padding: 17px 30px; border: 0; border-radius: 0;
  transition: transform .2s cubic-bezier(.2,.9,.3,1), box-shadow .2s, background .2s, color .2s;
}
.btn--big { padding: 21px 38px; font-size: 1.3rem; }

.btn--solid { background: var(--lime); color: var(--ink-0); box-shadow: 0 4px 18px -6px var(--lime-glow); }
.btn--solid:hover {
  background: var(--paper); color: var(--ink-0);
  transform: translateY(-2px); box-shadow: 0 8px 26px -6px var(--lime-glow);
}

.btn--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-soft); }
.btn--ghost:hover { color: var(--paper); box-shadow: inset 0 0 0 1px var(--paper); }

/* Pinsel-CTA: echter Pinselstrich als Maske. Die Schrift bleibt in JEDEM
   Zustand schwarz — a:hover würde sie sonst auf Lime ziehen, also Lime auf Lime. */
.btn--brush {
  position: relative; background: transparent; z-index: 0;
  padding: 19px 40px; font-size: 1.2rem;
  --brush: url('../assets/img/brush-4.png');
}
.btn--brush, .btn--brush:hover, .btn--brush:focus { color: var(--ink-0); }
.btn--brush::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lime);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transition: transform .22s cubic-bezier(.2,.9,.3,1), background .22s, filter .22s;
  filter: drop-shadow(0 6px 22px rgba(168, 232, 48, .35));
}
.btn--brush:hover::before {
  background: var(--paper);
  transform: scale(1.04, 1.1);
  filter: drop-shadow(0 8px 30px rgba(168, 232, 48, .55));
}

/* ==========================================================================
   Nav — Rundlogo exakt mittig, Links links und rechts, CTA rechts außen
   ========================================================================== */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  /* Alles als eine Gruppe um das Logo zentriert — nicht an die Seitenränder
     gedrückt. Das Logo steht im Fluss, damit es die Leistenhöhe bestimmt und
     nicht unten aus der Leiste herausragt. */
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2.2vw, 34px);
  padding: 14px clamp(20px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(6, 8, 10, .95), rgba(6, 8, 10, .6) 70%, transparent);
  transition: background .3s, transform .35s cubic-bezier(.2,.9,.3,1);
}
.nav.is-scrolled {
  background: rgba(6, 8, 10, .93);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
/* Beim Runterscrollen weg, beim Hochscrollen zurück */
.nav.is-hidden { transform: translateY(-100%); }

.nav__brand { display: block; line-height: 0; flex: none; }
.nav__brand img {
  width: clamp(84px, 9vw, 132px); height: auto;
  transform-origin: center center;
  transition: transform .3s cubic-bezier(.2,.9,.3,1), filter .25s;
  filter: drop-shadow(0 0 18px rgba(168, 232, 48, .18));
}
.nav.is-scrolled .nav__brand img { transform: scale(.72); }
.nav__brand:hover img { filter: drop-shadow(0 0 26px rgba(168, 232, 48, .5)); }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); }
.nav__links--left { justify-content: flex-start; }
.nav__links--right { justify-content: flex-end; }
/* Navigation in der CI-Display-Schrift. Legend M54 läuft deutlich breiter und
   sitzt optisch tiefer als Barlow Condensed — daher kleinerer Schriftgrad,
   fast keine Laufweite und ein Hauch Grundlinien-Korrektur. Die Schrift kennt
   kein „…" (U+2026), im Menü stehen deshalb drei Punkte. */
.nav__links a:not(.btn) {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .02em; font-size: 1.32rem; text-decoration: none;
  color: var(--paper); padding: 6px 2px; position: relative; white-space: nowrap;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--lime); transition: right .22s;
}
.nav__links a:not(.btn):hover { color: var(--lime); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--lime); }

.nav__cta { font-size: 1.12rem; padding: 14px 24px; margin-left: clamp(4px, 1vw, 14px); }

.nav__burger {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  position: absolute; right: clamp(14px, 3vw, 30px); top: 50%; transform: translateY(-50%);
}
.nav__burger span {
  display: block; width: 26px; height: 3px; background: var(--paper);
  margin: 5px 0; transition: transform .25s, opacity .25s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobilemenu {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(6, 8, 10, .97);
  display: grid; place-items: center;
}
.mobilemenu[hidden] { display: none; }
.mobilemenu nav { display: grid; gap: 26px; text-align: center; }
.mobilemenu a {
  font-family: var(--font-display); font-size: 2rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; color: var(--paper);
}
.mobilemenu a:hover { color: var(--lime); }
.mobilemenu__cta { color: var(--lime) !important; }

@media (max-width: 1099px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}



/* ==========================================================================
   Blitze in den dunklen Flächen
   ========================================================================== */

.bolt-canvas {
  position: absolute; pointer-events: none; mix-blend-mode: screen;
  opacity: 0; transition: opacity .12s ease-out;
}
.hero__bolt { inset: 0; width: 100%; height: 100%; z-index: 3; }
.hero__bolt.is-striking { opacity: 1; }
/* Kleiner als die Sektion: vorher wurde der Shader über die volle Fläche
   hochskaliert und wirkte dadurch grob aufgelöst. */
.section__bolt {
  left: 50%; top: 12%; width: min(760px, 62%); height: 62%;
  transform: translateX(-50%); z-index: 0;
}
.section__bolt.is-striking { opacity: .72; }

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

.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: clip;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, var(--ink-0) 2%, rgba(6, 8, 10, .6) 30%, rgba(6, 8, 10, .2) 62%, rgba(6, 8, 10, .5) 100%);
}
.hero__inner { position: relative; z-index: 5; width: 100%; padding-bottom: clamp(40px, 6svh, 74px); }

.hero__kicker {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .2em; font-size: clamp(.8rem, 1.6vw, .95rem); color: var(--lime);
  margin: 0 0 14px;
}

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 8.4vw, 6rem); line-height: .98; letter-spacing: .015em;
  text-transform: uppercase; margin: 0 0 28px;
  /* Kein nowrap: ab Desktop passt „Protect Yourself" ohnehin in eine Zeile,
     auf schmalen Geräten würde ein erzwungener Einzeiler seitlich überlaufen. */
  text-wrap: balance;
}
.hero__title span { color: var(--lime); text-shadow: 0 0 34px rgba(168, 232, 48, .35); }

/* Subtext und Buttons stehen nebeneinander und schließen den Hero unten ab */
.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: clamp(24px, 4vw, 56px); flex-wrap: wrap;
}
.hero__sub { flex: 1 1 380px; max-width: 52ch; margin: 0; color: var(--paper); font-size: clamp(1rem, 1.3vw, 1.12rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */

.section { padding-block: var(--section-pad); position: relative; overflow: clip; }

.section--concrete::before, .section--prices::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.section--concrete::before { background-image: url('../assets/img/bg-concrete.webp'); opacity: .34; }
/* Preise: Textur deutlicher stehen lassen und die Blitze darin pulsen lassen.
   Nur Helligkeit/Sättigung werden animiert, kein Repaint der Textur selbst. */
.section--prices::before {
  background-image: url('../assets/img/bg-prices.webp'); opacity: .8;
}
/* Der Puls lief vorher ueber eine filter-Animation und hat die komplette
   Sektionsflaeche in jedem Frame neu gezeichnet — davon wurden Reveal und
   Hover der Karten zaeh. Jetzt liegt eine zweite, statisch aufgehellte Kopie
   darueber und nur deren Opazitaet wird animiert. Das laeuft im Compositor. */
.section--prices::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../assets/img/bg-prices.webp') center / cover;
  filter: brightness(1.9) saturate(1.5) contrast(1.15);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  opacity: 0; will-change: opacity;
  animation: bolt-pulse 7s ease-in-out infinite;
}
@keyframes bolt-pulse {
  0%, 44%, 100% { opacity: 0; }
  48%           { opacity: .5; }
  52%           { opacity: .06; }
  56%           { opacity: .34; }
  64%           { opacity: 0; }
}
.section > .container { position: relative; z-index: 1; }

.section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--h-sec); letter-spacing: .02em; text-transform: uppercase;
  margin-bottom: 18px;
}
/* Der Strich wird vollständig gezeigt, nie beschnitten — die Vorlage franst
   an beiden Enden aus. Seitliche Luft, damit die Schrift auf dem satten Teil
   sitzt und die Enden frei auslaufen können. */
.section__brush { position: relative; display: inline-block; padding: .02em .24em; z-index: 0; color: var(--paper); }
.section__brush::before {
  content: ""; position: absolute; inset: .02em -.22em; z-index: -1;
  background: var(--lime);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  opacity: 0; transform: scaleX(.55); transform-origin: left center;
  transition: opacity .14s, transform .42s cubic-bezier(.16,1,.3,1);
}
[data-strike].is-struck .section__brush { color: var(--ink-0); }
[data-strike].is-struck .section__brush::before { opacity: 1; transform: scaleX(1); }

.section__lead {
  max-width: 62ch; color: var(--paper-dim);
  font-size: clamp(1.02rem, 1.3vw, 1.15rem); margin: 0 0 56px;
}

/* ==========================================================================
   Angebote — Bild-Akkordeon. Vier Gruppenkarten nebeneinander, jede mit
   eigenem Foto. Beim Überfahren wächst eine Karte und schiebt die anderen
   zusammen (flex-grow), die Kurse fahren dabei von links ein.

   Die Fotos hängen an --shot pro Karte. Fehlt eine Datei, bleibt der Verlauf
   darunter stehen — es entsteht kein kaputtes Bild.
   ========================================================================== */

.deck {
  display: flex; gap: 10px;
  padding-inline: var(--gutter);
  /* Hoch genug, dass auch die längste Gruppe (Kampfsport, 4 Kurse) offen
     hineinpasst — die Karten sollen beim Aufklappen NICHT wachsen, sonst
     rutscht die halbe Seite darunter weg. svh statt vh: 100vh ändert sich auf
     Mobile-Safari, wenn beim Scrollen die Adressleiste ein-/ausblendet — die
     Sektion sprang dadurch gelegentlich in der Höhe und riss eine sichtbare
     Lücke zur nächsten Sektion auf. svh bleibt bei der kleinsten, sicheren
     Höhe stehen und ändert sich nicht mit der Adressleiste. */
  height: clamp(520px, 76svh, 730px);
}

.deck__card {
  /* flex-basis 0 + gleiches grow = vier gleich breite Karten. Beim Überfahren
     bekommt die aktive Karte mehr grow, die anderen behalten ihres — dadurch
     schiebt sie die Nachbarn zusammen statt sie zu überdecken. */
  position: relative; flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: flex-grow .55s cubic-bezier(.16,1,.3,1), box-shadow .35s;
  /* Trägt die Karte, solange noch kein Foto hinterlegt ist. Steht bewusst
     hier und nicht in .deck__bg: der Abdunklungs-Filter dort soll nur auf
     das Foto wirken, sonst wird die Karte ohne Bild fast schwarz. */
  background: linear-gradient(165deg, rgba(30, 46, 26, .96), rgba(12, 19, 15, .98) 68%);
  --shot: none;
}
.deck__card--kids        { --shot: url('../assets/img/angebote/kids.webp'); }
.deck__card--kampf       { --shot: url('../assets/img/angebote/kampfsport.webp'); }
.deck__card--fitness     { --shot: url('../assets/img/angebote/fitness.webp'); }
.deck__card--individuell { --shot: url('../assets/img/angebote/individuell.webp'); }

/* Nur das Foto plus die Abdunklung darüber, damit der Text unten lesbar
   bleibt. Fehlt das Foto, bleibt allein der Schleier stehen. */
.deck__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(6, 8, 10, .93) 4%, rgba(6, 8, 10, .5) 44%, rgba(6, 8, 10, .22)),
    var(--shot) center / cover no-repeat;
  filter: grayscale(.55) brightness(.8);
  transform: scale(1.04);
  transition: filter .5s, transform .7s cubic-bezier(.16,1,.3,1);
}

/* Kopf: Zähler, Gruppenname, kurzer Zusatz. Immer sichtbar, auch schmal. */
.deck__head {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  width: 100%; padding: 22px 20px; margin: 0;
  background: none; border: 0; text-align: left; cursor: pointer; color: inherit;
}
.deck__count {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: .72rem; color: var(--lime);
}
.deck__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.3vw, 2.15rem); letter-spacing: .02em; line-height: 1.02;
  color: var(--paper); text-wrap: balance;
}
.deck__hint {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .74rem; color: var(--paper-dim);
  /* Immer einzeilig: bricht der Zusatz auf einer schmalen Karte um, stehen
     die Gruppennamen der vier Karten nicht mehr auf einer Linie. */
  max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Die Kursliste. Zusammengeklappt nimmt sie keine Höhe ein (grid 0fr) und
   ist unsichtbar — aufgeklappt fährt sie auf und von links ein. */
.deck__panel {
  position: relative; z-index: 2;
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .55s cubic-bezier(.16,1,.3,1);
}
.deck__list {
  overflow: hidden; min-height: 0;
  margin: 0; padding: 0 20px; list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; translate: -18px 0;
  transition: opacity .3s, translate .5s cubic-bezier(.16,1,.3,1);
}

.course { display: flex; flex-direction: column; gap: 6px; }

/* Überschrift und Tag stehen NEBENEINANDER in einer Zeile — das spart pro
   Kurs eine Zeile gegenüber dem gestapelten Aufbau. Der Pinselstrich liegt
   hinter dem Tag, die Überschrift bleibt schlicht. */
.course__head {
  display: flex; align-items: baseline; flex-wrap: wrap;
  gap: 4px clamp(8px, 1vw, 14px);
}
.course__name {
  margin: 0;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.15rem, 1.7vw, 1.42rem); letter-spacing: .02em; line-height: 1.12;
  color: var(--paper);
}
.course__tag {
  position: relative; z-index: 0; margin: 0; flex: none;
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; font-size: .74rem; color: var(--ink-0);
  padding: 3px 13px; white-space: nowrap;
}
.course__tag::before {
  content: ""; position: absolute; inset: -2px -6px; z-index: -1;
  background: var(--lime);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
}
.course__desc { margin: 0; color: var(--paper-dim); font-size: .9rem; line-height: 1.45; max-width: 58ch; }
.course__times {
  margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 0 8px;
  font-family: var(--font-label); font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; font-size: .78rem; color: var(--lime);
}
.course__times span + span::before { content: "· "; opacity: .5; }

/* ---- Hinweis-Pfeil ----
   Sitzt oben rechts auf der Karte und pulsiert, solange die Karte zu ist —
   er ist das einzige Signal "hier kann man klicken". Beim Oeffnen dreht er
   sich zum Schliessen-Pfeil und hoert auf zu pulsieren. */
.deck__cue {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(6, 8, 10, .55);
  box-shadow: inset 0 0 0 1px var(--lime);
  opacity: 0; translate: 0 -6px;
  transition: opacity .28s, translate .28s cubic-bezier(.16,1,.3,1), rotate .4s cubic-bezier(.16,1,.3,1);
}
.deck__cue svg {
  width: 17px; height: 17px;
  fill: none; stroke: var(--lime); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
/* Der Puls laeuft als eigener Ring, nicht als Skalierung des Knopfes — sonst
   wackelt der Pfeil darin mit und wird unruhig. */
.deck__cue::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 var(--lime-glow);
  animation: cue-pulse 1.9s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes cue-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(168, 232, 48, .55); }
  70%  { box-shadow: 0 0 0 14px rgba(168, 232, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 232, 48, 0); }
}

/* ---- Ueberfahren: nur ansehen ----
   Das Foto zoomt leicht an und wird farbig, der Pfeil taucht auf. Die Karte
   waechst dabei NICHT — das passiert erst beim Klick. */
@media (hover: hover) and (pointer: fine) {
  .deck__card:hover .deck__bg,
  .deck__card:focus-within .deck__bg {
    filter: grayscale(.1) brightness(.95);
    transform: scale(1.11);
  }
  .deck__card:hover, .deck__card:focus-within {
    box-shadow: inset 0 0 0 1px var(--lime);
  }
  .deck__card:hover .deck__cue,
  .deck__card:focus-within .deck__cue { opacity: 1; translate: 0 0; }
  .deck__card:hover .deck__hint,
  .deck__card:focus-within .deck__hint { color: var(--lime); }
}
/* Ohne Zeigegeraet gibt es kein Ueberfahren — dort steht der Pfeil immer. */
@media (hover: none), (pointer: coarse) {
  .deck__cue { opacity: 1; translate: 0 0; }
}

/* ---- Geoeffnet ----
   Gilt jetzt auf allen Breiten und wird ausschliesslich per Klick gesetzt
   (.is-open aus deck() in main.js). Am Desktop waechst die Karte in der
   Reihe, darunter klappt sie nach unten auf. */
.deck__card.is-open { box-shadow: inset 0 0 0 1px var(--lime); }
.deck__card.is-open .deck__bg {
  filter: grayscale(0) brightness(.85); transform: scale(1);
}
.deck__card.is-open .deck__count { display: none; }
.deck__card.is-open .deck__hint { color: var(--lime); }
.deck__card.is-open .deck__panel { grid-template-rows: 1fr; }
.deck__card.is-open .deck__list {
  opacity: 1; translate: 0 0; transition-delay: .14s; padding-bottom: 24px;
}
.deck__card.is-open .deck__cue { rotate: 90deg; opacity: 1; translate: 0 0; }
.deck__card.is-open .deck__cue::before { animation: none; }

@media (min-width: 1024px) and (pointer: fine) {
  .deck__card.is-open { flex-grow: 3.2; }
  /* Steht eine Karte offen, treten die uebrigen zurueck. */
  .deck.has-open .deck__card:not(.is-open) .deck__bg {
    filter: grayscale(.7) brightness(.45);
  }
}

/* Laenger als die Karte kann die Liste nie werden: statt ueberzulaufen
   bekommt sie einen eigenen, unsichtbaren Rollbalken. */
.deck__list { overscroll-behavior: contain; }
.deck__panel { overflow: hidden; }

/* ---- Handy / Touch: Karten untereinander ---- */
@media (max-width: 1023px), (pointer: coarse) {
  .deck { display: flex; flex-direction: column; gap: 12px; height: auto; }
  .deck__card { flex: none; justify-content: flex-start; min-height: 128px; }
  .deck__head { padding: 26px 22px; }
  .deck__cue { top: 50%; translate: 0 -50%; }
  .deck__card.is-open .deck__cue { rotate: 90deg; translate: 0 -50%; }
  .deck__card.is-open .deck__list { padding-bottom: 26px; }
}

/* Ohne JS bleibt alles offen — niemand steht dann vor vier zugeklappten
   Karten ohne Moeglichkeit, sie zu oeffnen. */
html:not(.js) .deck__panel { grid-template-rows: 1fr; }
html:not(.js) .deck__list { opacity: 1; translate: 0 0; padding-bottom: 24px; }
html:not(.js) .deck { height: auto; flex-direction: column; }
html:not(.js) .deck__cue { display: none; }

@media (prefers-reduced-motion: reduce) {
  .deck__card, .deck__bg, .deck__panel, .deck__list { transition: none; }
}

/* ==========================================================================
   Gym-Band
   ========================================================================== */

/* Unten knapper als oben: direkt darunter folgt der Bildstreifen, der seinen
   eigenen Abstand mitbringt. */
/* Oben stand vorher clamp(120px, 18vw, 220px) — deutlich mehr als der
   Site-Standard (--section-pad, max. 168px). Zusammen mit dem Bottom-Padding
   von #angebote (168px) ergab das bei breiten Fenstern bis zu 388px reinen
   Leerraum zwischen den Angebots-Karten und "Unser Gym" — sah wie eine
   kaputte Lücke aus, obwohl es "nur" Abstand war. Jetzt naeher am
   Site-Rhythmus. */
.gymband { position: relative; overflow: clip; padding-block: clamp(70px, 10vw, 140px) clamp(70px, 9vw, 120px); }
.gymband__bg, .gymband__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gymband__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6, 8, 10, .9) 22%, rgba(6, 8, 10, .35) 68%, rgba(6, 8, 10, .55)),
    linear-gradient(to top, var(--ink-0), transparent 22%),
    linear-gradient(to bottom, var(--ink-0), transparent 18%);
}
.gymband__inner { position: relative; z-index: 1; }

.gymband__big {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1; letter-spacing: .02em;
  margin: 8px 0 22px; text-shadow: 0 4px 30px rgba(0, 0, 0, .7);
}
.gymband__text { max-width: 52ch; color: var(--paper); font-size: 1.08rem; margin: 0 0 30px; }

/* Hochgestellte Zwei bündig zur Oberkante des M.
   Rechenweg: Legend M54 hat eine Versalhöhe von 1571/2048 = 0.767em. Bei
   font-size .5em ist die Versalhöhe der Zwei halb so groß (0.383em der
   Elternschrift). Damit beide Oberkanten fluchten, muss ihre Grundlinie um
   0.767 - 0.383 = 0.384em der Elternschrift steigen. `top` rechnet aber in
   der EIGENEN Schriftgröße, also 0.384 / 0.5 = 0.77em. */
.sup {
  font-size: .5em; line-height: 1;
  vertical-align: baseline; position: relative; top: -.77em;
  margin-left: .03em;
}
/* Barlow im Fließtext hat eine flachere Versalhöhe (≈0.72em) */
.gymband__text .sup, .hero__sub .sup { top: -.72em; }

.gymband__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.gymband__facts li {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: .85rem; color: var(--lime);
  padding: 9px 16px; box-shadow: inset 0 0 0 1px var(--line);
  background: rgba(6, 8, 10, .5);
}

/* ==========================================================================
   Bild-Streifen — waagrecht über die volle Breite, ganz normal scrollbar
   (Wischen, Mausrad, Ziehen). KEIN Pin, kein Scrub: die Seite scrollt weiter
   wie überall sonst, nur der Streifen selbst lässt sich schieben.
   Alle Bilder gleich hoch, die Breite kommt aus dem Seitenverhältnis —
   Quer- und Hochformat mischen sich dadurch von allein.
   Weitere Fotos = weiterer <button>, sonst ist nichts anzupassen.
   ========================================================================== */

.strip {
  position: relative; z-index: 1;
  margin-block: clamp(40px, 6vw, 76px);
  /* Beide Enden weich auslaufen lassen: der Streifen wirkt offen statt an
     einer harten Kante abgeschnitten. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.strip__track {
  display: flex; gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  /* Die erste Kante fluchtet mit dem Text im .container */
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  padding-block: 2px;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
}
.strip__track::-webkit-scrollbar { display: none; }
/* Am Desktop schiebt der Seitenscroll den Streifen (siehe initStripScrub in
   main.js). Dann darf der Track nicht zusätzlich selbst scrollen — sonst
   kämpfen GSAP und der Browser um dieselbe Position.

   Beschnitten wird dabei der ÄUSSERE Rahmen, nicht der Track. Liegt das
   overflow auf dem Track, wandert sein Sichtfenster beim Verschieben mit —
   sichtbar blieb dann immer nur der Ausschnitt, der beim Start zu sehen war,
   und der Rest der Galerie tauchte nie auf. */
.strip.is-scrubbed { overflow: hidden; }
.strip.is-scrubbed .strip__track { overflow: visible; cursor: default; will-change: transform; }
/* Während des Ziehens darf weder Snap noch Smooth-Scroll dazwischenfunken */
.strip__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.strip__track.is-dragging img { pointer-events: none; }

.strip__item {
  flex: 0 0 auto; scroll-snap-align: center;
  height: clamp(250px, 42svh, 440px);
  position: relative; overflow: hidden;
  margin: 0; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--ink-2); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 26px 56px -30px rgba(0, 0, 0, .9);
  transition: box-shadow .3s;
}
.strip__item img {
  /* max-width:none hebt die globale img-Regel auf — sonst würde ein breites
     Querformat gestaucht und die Höhe stimmte nicht mehr. */
  height: 100%; width: auto; max-width: none; object-fit: cover;
  filter: grayscale(.28) contrast(1.06) brightness(.9);
  transition: transform .6s cubic-bezier(.2,.9,.3,1), filter .35s;
}
.strip__item:hover { box-shadow: inset 0 0 0 1px var(--lime), 0 26px 56px -30px rgba(0, 0, 0, .9); }
.strip__item:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.06) brightness(1); }
/* Lupe unten rechts, erscheint beim Überfahren */
.strip__item::after {
  content: ""; position: absolute; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 999px;
  /* Lupe als Data-URI: eine Datei weniger, und die Strichfarbe steht fest */
  background: rgba(6, 8, 10, .72) center / 16px no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8e830' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px var(--line);
  opacity: 0; transition: opacity .25s;
}
.strip__item:hover::after, .strip__item:focus-visible::after { opacity: 1; }

@media (max-width: 767px) { .strip__item { height: clamp(220px, 34svh, 320px); } }


@media (min-width: 1024px) {
  .philo {
    display: grid; grid-template-columns: minmax(0, 1fr) clamp(268px, 27vw, 372px);
    gap: clamp(28px, 4vw, 64px); align-items: start;
  }
  /* Ein Bild auf einmal, scrollgesteuert — derselbe Effekt wie beim Gym-
     Streifen, nur in der schmalen Spalte rechts. flex-basis 100% heisst:
     ein Bild fuellt die Spalte, das naechste steht direkt dahinter.
     Gepinnt wird die Spalte selbst; initStripScrub() in main.js greift
     automatisch, sobald der Track breiter ist als sein Ausschnitt. */
  /* Beschneidet hart auf die Spaltenbreite: waehrend des Durchlaufs soll
     kein Rand des vorherigen Bildes danebenstehen. */
  .strip--side { margin: 0; overflow: hidden; -webkit-mask-image: none; mask-image: none; }
  .strip--side .strip__track {
    flex-direction: row; gap: 16px; padding-inline: 0; cursor: default;
  }
  .strip--side .strip__item {
    flex: 0 0 100%; width: 100%; height: clamp(360px, 54svh, 560px);
    scroll-snap-align: center;
  }
  .strip--side .strip__item img {
    width: 100%; height: 100%; max-width: 100%; object-fit: cover;
  }
}

/* Die Team-Sektion darf nicht beschneiden: das gepinnte Bild wird sonst
   waehrend des Durchlaufs an der Sektionskante abgeschnitten. Der Hintergrund
   liegt ohnehin bei inset:0 und laeuft nicht heraus. */
.section--philo { overflow: visible; }
@media (max-width: 1023px) {
  /* Darunter steht das Bild unter dem Text und darf flacher sein */
}

/* Lightbox — Klick auf ein Bild zeigt es groß, ohne Filter */
.lightbox {
  position: fixed; inset: 0; z-index: 96; display: grid; place-items: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0; pointer-events: none; transition: opacity .28s;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(6, 8, 10, .93); backdrop-filter: blur(8px); }
.lightbox img {
  position: relative; z-index: 1;
  max-width: min(92vw, 1400px); max-height: 86vh; width: auto; height: auto;
  border-radius: var(--radius); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: scale(.96); transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__step {
  position: absolute; z-index: 2; width: 46px; height: 46px; cursor: pointer;
  display: grid; place-items: center; border: 0; border-radius: 999px;
  background: rgba(6, 8, 10, .6); color: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: color .2s, box-shadow .2s;
}
.lightbox__close:hover, .lightbox__step:hover { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.lightbox__close { top: clamp(14px, 3vw, 28px); right: clamp(14px, 3vw, 28px); font-size: 1.3rem; line-height: 1; }
.lightbox__step { top: 50%; transform: translateY(-50%); }
.lightbox__step[data-dir="-1"] { left: clamp(10px, 2vw, 26px); }
.lightbox__step[data-dir="1"]  { right: clamp(10px, 2vw, 26px); }
.lightbox__step svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .lightbox, .lightbox img { transition: none; } }

/* ==========================================================================
   Trainingsplan — echter Stundenplan. Zeitachse links, Mo–Fr als Spalten,
   jede Einheit ein Block in ihrer Stunde. Die ganze Woche steht auf einen
   Blick da: nichts wird gepinnt, nichts durchgeblättert.
   Platziert wird allein über die Klassen col-N / row-N am <li> — wer eine
   Einheit ergänzt, setzt zwei Klassen und ist fertig.
   ========================================================================== */

.plan { position: relative; }

.plan__legend {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0 0 22px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; color: var(--paper-dim);
}
.plan__key { display: flex; align-items: center; gap: 8px; }
/* Die Merkzeichen sind Miniaturen der Blöcke im Raster, nicht bloße Punkte */
/* Breit statt quadratisch: nimmt das Verhältnis der Kalenderkästen auf,
   quadratisch las es sich wie eine Checkbox. */
.plan__key::before {
  content: ""; width: 36px; height: 15px; flex: none;
  border-radius: 3px;
}
.plan__key--kids::before  { background: rgba(18, 27, 22, .92); box-shadow: inset 0 0 0 1px var(--line-soft); }
.plan__key--adult::before { background: rgba(27, 43, 22, .94); box-shadow: inset 0 0 0 1px rgba(168, 232, 48, .45); }

/* Unter ~900 px passt die Woche nicht mehr nebeneinander — dann wird das
   Raster ganz normal waagrecht gewischt, statt umzubrechen. */
.plan__scroll {
  overflow-x: auto; overflow-y: hidden;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  /* Waagrecht scrollbar heisst senkrecht beschnitten. Der Heute-Rahmen ragt
     oben und unten 10 px ueber das Raster hinaus — ohne diese Luft wird er
     an beiden Enden abgeschnitten. Das margin nimmt sie optisch zurueck. */
  padding-block: 18px; margin-block: -18px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.plan__scroll::-webkit-scrollbar { display: none; }

.plan__grid {
  display: grid;
  grid-template-columns: 3.2rem repeat(5, minmax(0, 1fr));
  grid-template-rows: auto repeat(5, minmax(84px, auto));
  gap: 8px 10px;
  min-width: 800px;
}
.plan__slots { display: contents; margin: 0; padding: 0; list-style: none; }

.plan__head {
  grid-row: 1; align-self: end;
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1rem, 1.5vw, 1.25rem); letter-spacing: .03em;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
  color: var(--paper);
}
/* Nur einfärben, KEIN zusätzliches Label: das schob die Überschrift dieser
   einen Spalte nach oben und brachte die ganze Kopfzeile aus der Flucht.
   Das „heute" sitzt jetzt am Rahmen (.plan__today). */
.plan__head.is-today { color: var(--lime); border-bottom-color: var(--lime); position: relative; }
/* Steht auf der Zeile des Wochentags, rechts in der Spalte — nicht mehr oben
   in der Rahmenecke. Absolut positioniert, damit diese eine Überschrift nicht
   höher wird als die anderen vier. */
.plan__head.is-today::after {
  content: "heute"; position: absolute; right: 0; bottom: 14px;
  font-family: var(--font-label); font-weight: 700; font-size: .66rem; line-height: 1;
  letter-spacing: .2em; text-transform: uppercase; color: var(--paper-dim);
}
/* Der leere Platz über der Zeitachse */
.plan__corner { grid-area: 1 / 1; }

.plan__hour {
  grid-column: 1; justify-self: end; padding-top: 10px;
  font-family: var(--font-label); font-weight: 600; letter-spacing: .1em;
  font-size: .8rem; color: var(--paper-dim); white-space: nowrap;
}
.plan__hour::after { content: " Uhr"; font-size: .7em; opacity: .6; }

/* Spalte = Wochentag, Zeile = Stunde. +1, weil links die Zeitachse und oben
   die Tagesnamen stehen. */
.col-1 { grid-column: 2; } .col-2 { grid-column: 3; } .col-3 { grid-column: 4; }
.col-4 { grid-column: 5; } .col-5 { grid-column: 6; }
.row-1 { grid-row-start: 2; } .row-2 { grid-row-start: 3; } .row-3 { grid-row-start: 4; }
.row-4 { grid-row-start: 5; } .row-5 { grid-row-start: 6; }
.slot { grid-row-end: span 1; }
.slot.span-2 { grid-row-end: span 2; }

.slot {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0; padding: 12px 13px 11px;
  border-radius: var(--radius);
  /* Kinder-/Jugendkurse stehen neutral, Erwachsenenkurse tragen die Marken-
     farbe: grünlicher Grund, Lime-Kante, Lime-Uhrzeit. Kein Farbbalken an der
     Seite — die Fläche selbst trägt die Unterscheidung. */
  background: rgba(18, 27, 22, .92);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: box-shadow .22s, background .22s, transform .22s cubic-bezier(.16,1,.3,1);
}
.slot:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line); }
.slot b {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em; font-size: .95rem; line-height: 1.15; color: var(--paper);
}
.slot i { font-style: normal; font-size: .78rem; line-height: 1.3; color: var(--paper-dim); }
.slot em {
  font-style: normal; margin-top: auto; padding-top: 8px;
  font-family: var(--font-label); font-weight: 600; letter-spacing: .09em;
  font-size: .76rem; color: var(--paper-dim);
}
.slot--adult {
  background: rgba(27, 43, 22, .94);
  box-shadow: inset 0 0 0 1px rgba(168, 232, 48, .32);
}
.slot--adult em { color: var(--lime); }
.slot--adult:hover { box-shadow: inset 0 0 0 1px var(--lime); }
/* Der heutige Tag bekommt einen eigenen, pulsenden Lime-Rahmen um die ganze
   Spalte. Das Element setzt planToday() in main.js ein; es liegt als reines
   Rahmen-Overlay über der Spalte und verschiebt nichts. Die Blöcke selbst
   bleiben unangetastet — ein Lime-Rahmen an einem Block hieße „Erwachsene". */
.plan__today {
  grid-row: 1 / -1; z-index: 3; pointer-events: none;
  margin: -10px -7px; border-radius: 6px;
  border: 1px solid var(--lime);
  animation: today-glow 2.8s ease-in-out infinite;
}
@keyframes today-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(168, 232, 48, 0), 0 0 18px -4px rgba(168, 232, 48, .35); opacity: .72; }
  50%      { box-shadow: 0 0 0 4px rgba(168, 232, 48, .07), 0 0 34px -2px rgba(168, 232, 48, .6); opacity: 1; }
}
.plan__today { position: relative; }
@media (prefers-reduced-motion: reduce) { .plan__today { animation: none; opacity: 1; } }

/* -------- Tagesansicht auf schmalen Schirmen -------- */
.plan__pills { display: none; }
.plan__pill {
  flex: none; cursor: pointer; border: 0; border-radius: 999px;
  padding: 10px 0; width: 3.1rem;
  background: transparent; color: var(--paper-dim);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .82rem;
  transition: color .2s, box-shadow .2s, background .2s;
}
.plan__pill.is-on { color: var(--ink-0); background: var(--lime); box-shadow: none; }
.plan__pill.is-today:not(.is-on) { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }

/* Wochenende läuft vormittags und passt nicht in dieselbe Zeitachse */
/* Wochenende — eigener kleiner Block im selben Stil: eigene Tages-
   überschriften, in der Achsenspalte steht „Wochenende" statt einer Uhrzeit.
   Dasselbe Spaltenraster wie oben, damit die Kästen gleich breit sind. */
.weekend {
  display: grid;
  grid-template-columns: 3.2rem repeat(5, minmax(0, 1fr));
  /* Gleiche Zeilenhoehe wie im Stundenplan darueber — die Wochenendkaesten
     sollen genauso gross sein wie alle anderen. */
  grid-template-rows: auto repeat(2, minmax(84px, auto));
  gap: 8px 10px; align-items: stretch;
  min-width: 800px;
  margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line);
}
.weekend .schedule__note {
  /* Füllt die freie Fläche links neben Samstag/Sonntag */
  grid-area: 1 / 1 / -1 / 5; align-self: center; margin: 0;
  color: var(--paper-dim); font-size: .95rem;
}
.weekend .plan__head { grid-row: 1; }
.weekend .slot { grid-row-end: span 1; }

.schedule__note { color: var(--paper-dim); margin-top: 26px; }

/* ==========================================================================
   Preise — alle Karten gleich, Lime-Glow läuft beim Hover um die Kante
   ========================================================================== */

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 899px) { .prices { grid-template-columns: 1fr; max-width: 460px; } }

/* Der Rahmen lief vorher über einen rotierenden conic-gradient mit
   @property-Winkel. Das zeichnet den Verlauf in jedem Frame neu und ruckelt
   auf schwächerer Hardware. Jetzt: statischer Rahmen plus ein kurzes
   Aufblitzen beim Hover — reine Opazität, also GPU-günstig. */
.price {
  position: relative; padding: 46px 32px 34px;
  border-radius: var(--radius);   /* wie .slot und .deck__card */
  /* Dieselbe leichte Rundung wie .slot und .deck__card — einheitliche Kante
     ueber die ganze Seite. Sonst aendert sich an den Karten nichts. */
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(24, 38, 21, .97), rgba(10, 16, 13, .96) 60%);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform .34s cubic-bezier(.16,1,.3,1), box-shadow .34s;
  will-change: transform;
}
.price:hover {
  transform: translateY(-8px);
  box-shadow: inset 0 0 0 1px var(--lime), 0 26px 54px -24px rgba(79, 138, 29, .5);
}
.price::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: var(--radius);
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(168, 232, 48, .28), rgba(168, 232, 48, .04) 55%);
  box-shadow: inset 0 0 0 1px var(--lime), 0 0 40px rgba(168, 232, 48, .35);
  opacity: 0;
}
.price:hover::after { animation: price-flash .5s cubic-bezier(.16,1,.3,1); }
@keyframes price-flash {
  0%   { opacity: 0; }
  18%  { opacity: 1; }
  100% { opacity: 0; }
}

.price__stamp {
  position: absolute; top: 0; left: 22px; right: 22px; transform: translateY(-46%) rotate(-1.2deg);
  margin: 0; text-align: center; z-index: 1;
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; font-size: .78rem; color: var(--ink-0);
  padding: 8px 14px;
}
.price__stamp::before {
  content: ""; position: absolute; inset: -1px -8px; z-index: -1;
  background: var(--lime);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
}

.price__name {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: 1.5rem; letter-spacing: .03em; margin-bottom: 20px;
}

.price__amount { margin: 0 0 4px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__amount span {
  font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--lime); line-height: 1; text-shadow: 0 0 26px rgba(168, 232, 48, .25);
}
.price__amount small {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .85rem; color: var(--paper-dim);
}
.price__alt { color: var(--paper-dim); font-size: .92rem; margin: 0 0 20px; }

.price__list { margin: 0; padding: 0; list-style: none; }
.price__list li { padding: 9px 0 9px 26px; position: relative; font-size: .98rem; border-top: 1px solid var(--line-soft); }
.price__list li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 12px; height: 12px; background: var(--lime);
  clip-path: polygon(58% 0, 22% 56%, 46% 56%, 38% 100%, 78% 40%, 52% 40%);
}

.prices__note { color: var(--paper-dim); font-size: .9rem; margin-top: 30px; }

/* ==========================================================================
   Team / Philosophie
   ========================================================================== */

.philo__quote { margin: 0 0 34px; }
.philo__quote p {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: .02em;
  margin: 0; color: var(--paper);
}
.philo__text { max-width: 62ch; color: var(--paper); font-size: 1.08rem; margin: 0 0 28px; }
.philo__lead { max-width: 62ch; color: var(--paper-dim); margin: 0 0 14px; }
.philo__names {
  margin: 0; max-width: 70ch;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 2;
  color: var(--lime);
}

/* ==========================================================================
   CTA — Lime-Fläche mit Grunge-Schleier, Kämpfer-Silhouette rechts
   ========================================================================== */

.cta {
  position: relative; overflow: clip;
  padding-block: clamp(110px, 14vw, 180px) clamp(90px, 12vw, 150px);
  background: var(--lime);
}
.cta__ground {
  position: absolute; inset: 0;
  background: url('../assets/img/bg-lime.webp') center / cover;
  mix-blend-mode: multiply; opacity: .3;
}
.cta__inner { position: relative; z-index: 2; color: var(--ink-0); }

/* Kämpfer füllen die freie rechte Hälfte und atmen leicht */
.cta__fighters {
  position: absolute; right: clamp(-40px, -2vw, 0px); bottom: 0; z-index: 1;
  height: clamp(320px, 46vw, 560px); width: auto;
  opacity: .92; pointer-events: none;
  transform-origin: bottom right;
  /* Kein gleichmäßiges Wiegen: kurze Ausfallschritte mit Pausen dazwischen,
     damit es nach Schlagabtausch aussieht und nicht nach Atmen. */
  animation: fighters-spar 5.2s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes fighters-spar {
  0%,  14% { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  22%      { transform: translate3d(-14px,-6px,0) rotate(-1.6deg) scale(1.03); }
  30%      { transform: translate3d(4px,2px,0) rotate(.5deg) scale(.995); }
  44%      { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  56%      { transform: translate3d(10px,-9px,0) rotate(1.4deg) scale(1.035); }
  66%      { transform: translate3d(-3px,1px,0) rotate(-.4deg) scale(.998); }
  100%     { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
}
@media (max-width: 899px) { .cta__fighters { opacity: .14; height: 300px; } }

.cta__title {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.8rem, 8vw, 5.6rem); line-height: .95; letter-spacing: .015em;
  margin: 0 0 22px;
}
.cta__text { max-width: 46ch; font-size: 1.1rem; font-weight: 600; margin: 0 0 36px; }

.cta__actions { display: flex; flex-wrap: wrap; gap: 16px 20px; margin-bottom: 44px; max-width: 46rem; }
.cta__actions .btn--solid { background: var(--ink-0); color: var(--lime); box-shadow: none; }
.cta__actions .btn--solid:hover { background: #101613; color: var(--paper); transform: translateY(-2px); }
.cta__actions .btn--ghost { color: var(--ink-0); box-shadow: inset 0 0 0 2px rgba(6, 8, 10, .55); }
.cta__actions .btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--ink-0); color: var(--ink-0); }

.cta__address { font-style: normal; font-weight: 600; line-height: 1.7; }
.cta__address a { color: var(--ink-0); text-decoration-thickness: 2px; }
.cta__address a:hover { color: #1a2a17; }

/* ==========================================================================
   Stimmen — Überschrift links, die Zitate laufen rechts daneben durch.
   Endlos: hinter dem letzten Zitat geht es nahtlos beim ersten weiter
   (drei Kopien im Streifen, siehe quotes() in main.js).
   ========================================================================== */

.voices { padding-block: var(--section-pad); position: relative; overflow: clip; background: var(--ink-1); }
.voices::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../assets/img/gloves.webp') center / cover;
  opacity: .3;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.voices__inner { position: relative; z-index: 1; }

@media (min-width: 1024px) {
  .voices__inner {
    display: grid; grid-template-columns: minmax(260px, 30%) 1fr;
    gap: clamp(30px, 5vw, 70px); align-items: center;
  }
  .voices__head { padding-right: 10px; }
}
@media (max-width: 1023px) {
  /* Mobil zentriert und untereinander */
  .voices__head { text-align: center; }
  .voices__head .section__lead { margin-inline: auto; }
}

/* min-width:0, sonst wächst die Rasterspalte auf die Breite aller Folien
   zusammen und schiebt die Zitate seitlich aus dem Bild. */
.quotes { position: relative; min-width: 0; }
@media (max-width: 1023px) { .quotes { margin-top: 36px; } }

.quotes__viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  /* Muss hart bleiben: das Umsetzen auf die mittlere Kopie (siehe quotes()
     in main.js) darf keine sichtbare Bewegung auslösen. Die weichen Sprünge
     der Pfeile setzt das Skript einzeln per behavior:'smooth'. */
  scroll-behavior: auto;
  scrollbar-width: none; -ms-overflow-style: none;
  /* Weiche Ränder als MASKE, nicht als farbiger Verlauf: ein Verlauf trägt
     Farbe auf und lag vorher als sichtbarer Kasten über dem Handschuh-Foto.
     Eine Maske nimmt nur Deckkraft weg, der Hintergrund bleibt unberührt. */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.quotes__viewport::-webkit-scrollbar { display: none; }
.quotes__track { display: flex; margin: 0; padding: 0; list-style: none; }

.quote {
  flex: 0 0 100%; scroll-snap-align: center;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; padding: 8px clamp(16px, 4vw, 54px) 10px;
}
.quote__mark { width: 30px; height: auto; fill: var(--lime); opacity: .9; }
.quote blockquote {
  margin: 0; max-width: 32ch;
  font-size: clamp(1.1rem, 1.7vw, 1.42rem); line-height: 1.45;
  color: var(--paper); font-weight: 600;
}
.quote__name {
  margin: 4px 0 0;
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: .92rem; color: var(--lime);
}
.quote__role {
  margin: 0; font-family: var(--font-label); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  font-size: .76rem; color: var(--paper-dim);
}

.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.quotes__btn {
  width: 42px; height: 42px; flex: none; cursor: pointer;
  display: grid; place-items: center;
  background: transparent; color: var(--paper);
  border: 0; box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 999px;
  transition: color .2s, box-shadow .2s, transform .2s cubic-bezier(.2,.9,.3,1);
}
.quotes__btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quotes__btn:hover { color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); transform: translateY(-2px); }

/* ==========================================================================
   Partner & Sponsoren
   ========================================================================== */

.sponsors { padding-block: clamp(56px, 8vw, 90px) clamp(30px, 4vw, 50px); background: var(--ink-0); }
.sponsors__title {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: .9rem; color: var(--paper-dim);
  text-align: center; margin-bottom: 40px;
}
.sponsors__marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sponsors__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.sponsors__track img {
  height: clamp(38px, 5vw, 52px); width: auto;
  margin-inline: clamp(26px, 4vw, 52px);
  opacity: 1;
}
.sponsors__track img:hover { filter: drop-shadow(0 0 10px rgba(168, 232, 48, .4)); }

/* ==========================================================================
   Instagram
   ========================================================================== */

/* Instagram ist jetzt eine vollwertige Sektion mit Pinsel-Headline statt
   einer kleinen Kachelzeile im Fussbereich: gleicher Rhythmus wie die
   uebrigen Sektionen (section-pad, section__title), groessere Kacheln und
   ein echter Abschluss-CTA. */
.insta {
  position: relative; overflow: clip;
  padding-block: var(--section-pad);
  background: var(--ink-1);
}
.insta__inner { position: relative; z-index: 1; }

.insta__head { margin-bottom: clamp(30px, 4vw, 48px); }
.insta__head .section__lead { margin-bottom: 20px; }

.insta__handle {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: 1rem; text-decoration: none;
  color: var(--lime); padding: 10px 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .25s, transform .25s, background-color .25s;
}
.insta__handle:hover {
  transform: translateY(-2px);
  background: rgba(168, 232, 48, .08);
  box-shadow: inset 0 0 0 1px var(--lime);
}
.insta__glyph {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
}
.insta__glyph .insta__dot { fill: currentColor; stroke: none; }

/* Drei grosse Kacheln statt sechs kleiner — der Feed soll auf den ersten
   Blick als Bildflaeche wirken, nicht als Icon-Leiste. */
.insta__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
@media (max-width: 899px) { .insta__feed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px) { .insta__feed { grid-template-columns: 1fr 1fr; } }

.insta__tile { position: relative; display: block; overflow: hidden; background: var(--ink-2); }
.insta__tile img {
  /* height:auto ist Pflicht — sonst gewinnt das height-Attribut aus dem HTML
     und aspect-ratio greift gar nicht, die Kacheln waeren 600 px hoch. */
  width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  transition: transform .45s cubic-bezier(.2,.9,.3,1), filter .35s;
}
.insta__tile::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 0 var(--lime); transition: box-shadow .25s;
}
.insta__tile:hover img { transform: scale(1.07); filter: grayscale(0) contrast(1.05); }
.insta__tile:hover::after { box-shadow: inset 0 0 0 2px var(--lime); }

.insta__foot {
  margin-top: clamp(28px, 3.6vw, 44px);
  display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap;
}
.insta__note {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em;
  font-size: .82rem; color: var(--paper-dim); margin: 0;
}

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

/* Insgesamt eine Spur kleiner als der Rest der Seite — der Footer soll
   tragen, nicht mitreden. */
.footer {
  position: relative; font-size: .95rem;
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 84px) 0 30px;
  background: linear-gradient(to bottom, transparent, rgba(12, 18, 16, .8)), var(--ink-0);
}

.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(28px, 4vw, 56px); flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 18px; }
.footer__crest { width: 78px; height: auto; flex: none; }
.footer__brandtext p {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.85rem; line-height: 1.05; margin: 0;
}
.footer__brandtext span {
  font-family: var(--font-label); font-weight: 600; letter-spacing: .14em;
  font-size: .74rem; color: var(--paper-dim);
}
.footer__py { width: 122px; height: auto; flex: none; }

.footer__cols { display: flex; gap: clamp(28px, 4vw, 60px); flex-wrap: wrap; }
.footer__col h3 {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .8rem; color: var(--lime); margin-bottom: 12px;
}
.footer__col p { margin: 0 0 11px; color: var(--paper-dim); font-size: .92rem; }
.footer a { text-decoration: none; }
.footer__col a { color: var(--paper); }
.footer__col a:hover { color: var(--lime); }

@media (max-width: 1099px) {
  .footer__inner { justify-content: flex-start; }
  .footer__py { order: 3; }
}

.footer__baseline {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 10px 24px;
  color: var(--paper-dim); font-size: .8rem;
}
.footer__baseline p { margin: 0; }
.footer__by a { color: var(--paper-dim); text-decoration: none; }
.footer__by a:hover { color: var(--lime); }
.footer a:hover { color: var(--lime); }

/* ==========================================================================
   Rechtsseiten
   ========================================================================== */

.legal__main { padding-top: clamp(50px, 6vw, 70px); padding-bottom: var(--section-pad); max-width: 820px; }
/* Einfacher Rueckweg statt der vollen Nav-Leiste — kein Logo, keine zweite
   Startseiten-Ebene, nur ein Link oben links in der Spalte. */
.legal__back {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px;
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .85rem; color: var(--paper-dim);
  text-decoration: none; transition: color .2s;
}
.legal__back:hover { color: var(--lime); }
.legal__main h1 { margin-bottom: 42px; }
.legal__main h2 {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: 1.05rem; color: var(--lime); margin: 40px 0 12px;
}
.legal__main p, .legal__main ul { color: var(--paper-dim); max-width: 70ch; }
.legal__main a { color: var(--lime); }
.legal__stand { margin-top: 48px; font-size: .9rem; }

/* ==========================================================================
   Mobil: Hero gestapelt statt überlagert
   ========================================================================== */

@media (max-width: 767px) {
  /* Text und Buttons stehen UNTER dem Video, damit das Intro frei sichtbar
     bleibt. Der Abstand oben hält das Video unter der festen Navigation. */
  .hero { min-height: 0; display: block; padding-top: 116px; }
  .hero__video { position: relative; width: 100%; height: 54svh; z-index: 0; }
  .hero__scrim {
    top: 116px; bottom: auto; height: 54svh;
    background: linear-gradient(to top, rgba(6, 8, 10, .5), transparent 42%);
  }
  .hero__bolt { top: 116px; bottom: auto; height: 54svh; }
  .hero__inner { padding-top: 28px; padding-bottom: 6px; }
  .hero__foot { gap: 22px; }
  .hero__actions { width: 100%; }

  /* Footer: Wappen — Team Röhl — Protect Yourself in einer Zeile, Rest darunter */
  .footer__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px 14px; }
  /* Zeilen explizit setzen: die Auto-Platzierung springt sonst nicht in
     Zeile 1 zurück und schiebt das Protect-Yourself-Logo ganz nach unten. */
  .footer__brand { grid-row: 1; grid-column: 1; gap: 12px; }
  .footer__crest { width: 64px; }
  .footer__brandtext p { font-size: 1.7rem; }
  .footer__py { grid-row: 1; grid-column: 2; width: 78px; }
  .footer__cols { grid-row: 2; grid-column: 1 / -1; }
}

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .bolt-canvas, .arc canvas { display: none; }
  .ticker__track, .sponsors__track { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .price:hover, .btn:hover { transform: none; }
  .price:hover::after { animation: none; }
  .cta__fighters { animation: none; }
  .nav.is-hidden { transform: none; }
  /* Aufklappen und Bildstreifen bleiben bedienbar, nur ohne Bewegung */
  .deck__card, .deck__bg, .deck__panel, .deck__list { transition: none; }
  .slot:hover, .strip__item:hover img { transform: none; }
  .strip__item img { transition: none; }
  .plan__today { animation: none; opacity: 1; }
}
