/* ============================================================
   CROSSFIT OETZTAL — Design System
   Palette: Creme / Ink / Petrol (Logo) / Volt
   Fonts:   Anton (Display) / Instrument Serif (Akzent) / Mona Sans
   ============================================================ */

/* ---------- Fonts lokal (DSGVO: kein Google-CDN) ---------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/anton-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../assets/fonts/mona-sans-latin.woff2") format("woff2");
}

:root {
  --cream: #f4f4ed;
  --cream-2: #e9eadf;
  --ink: #111112;
  --ink-soft: #535450;
  --petrol: #124246;
  --petrol-deep: #0a2e31;
  --petrol-mist: #a9b8b3;
  /* Akzentfarbe: helles Petrol (CD-Ton, aufgehellt fuer dunkle Flaechen) */
  --volt: #4fc1c5;
  --volt-ink: #0a2e31;

  --font-display: "Anton", Impact, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-text: "Mona Sans", Arial, sans-serif;

  --gutter: clamp(1rem, 3vw, 2.5rem);
  --radius: clamp(0.6rem, 1.2vw, 1.25rem);
  --nav-h: 4.5rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

::selection { background: var(--volt); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
main { position: relative; z-index: 1; }
.s { position: relative; }
.c { width: 100%; max-width: 100rem; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Topo-Linien (fix, hinter allem, permanent animiert) ---------- */
.topo-layer {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  color: var(--ink);
  overflow: clip;
}
/* Uebergroesse + CSS-Transform-Drift: laeuft auf dem Compositor
   statt das Pattern jeden Frame neu zu rastern */
.topo-layer svg {
  width: calc(100% + 1200px);
  height: calc(100% + 1200px);
  margin-left: -600px;
  margin-top: -600px;
  opacity: 0.07;
  will-change: transform;
}

/* ---------- Typography ---------- */
.display-xl, .display-lg {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.display-xl { font-size: clamp(3.5rem, 11vw, 11rem); }
.display-lg { font-size: clamp(2.75rem, 8vw, 8rem); }

.eyebrow {
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.eyebrow.is-on-dark { color: var(--cream); opacity: 0.85; }

.eyebrow-dot {
  width: 0.45em; height: 0.45em; border-radius: 50%;
  background: var(--petrol); display: inline-block; flex-shrink: 0;
}
.eyebrow-dot.is-volt { background: var(--volt); }

/* ---------- Grain overlay ---------- */
/* Kachel-Rauschen auf Viewport-Groesse statt 200%-Layer:
   background-position wird animiert, das spart massiv GPU-Speicher */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.9s steps(4) infinite;
}
@keyframes grain-shift {
  0% { background-position: 0 0; }
  25% { background-position: -38px 29px; }
  50% { background-position: 29px -19px; }
  75% { background-position: -19px -38px; }
  100% { background-position: 38px 19px; }
}

/* ---------- Scrollbalken ---------- */
/* Native Leiste in CI-Farben (Unterseiten, Handy, Fallback ohne JS) */
html { scrollbar-color: var(--petrol) var(--cream-2); }

/* Eigene Leiste mit Fortschritt (Desktop, per JS aktiviert):
   fuellt sich von oben mit dem Scrollfortschritt, klick- und ziehbar */
html.has-scroll-rail { scrollbar-width: none; }
html.has-scroll-rail::-webkit-scrollbar { display: none; }
.scroll-rail {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 16px;
  z-index: 250;
  cursor: pointer;
  touch-action: none;
}
.scroll-rail-track {
  position: absolute; top: 8px; bottom: 8px; right: 5px;
  width: 4px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(18, 66, 70, 0.14);
  transition: width 0.25s var(--ease-out), background-color 0.4s;
}
.scroll-rail-fill {
  position: absolute; inset: 0;
  border-radius: 99px;
  background: var(--petrol);
  transform: translateY(-100%);
  will-change: transform;
  transition: background-color 0.4s;
}
.scroll-rail:hover .scroll-rail-track,
.scroll-rail.is-dragging .scroll-rail-track { width: 8px; }
/* Auf dunklen Sektionen: helle Schiene, Akzent-Petrol als Fuellung */
.scroll-rail.is-dark .scroll-rail-track { background: rgba(244, 244, 237, 0.16); }
.scroll-rail.is-dark .scroll-rail-fill { background: var(--volt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.9em 1.7em;
  border-radius: 10rem;
  transition: transform 0.4s var(--ease-out), background-color 0.3s, color 0.3s;
  will-change: transform;
}
.btn-volt { background: var(--petrol); color: var(--cream); }
.btn-volt:hover { background: var(--ink); color: var(--volt); }
.btn-lg { font-size: 0.95rem; padding: 1.1em 2.2em; }
.btn-arrow { border: 1px solid currentColor; background: transparent; }
.btn-arrow:hover { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.btn-arrow-icon { font-size: 1.1em; transition: transform 0.35s var(--ease-out); }
.btn-arrow:hover .btn-arrow-icon { transform: translateX(0.3em); }

/* Roll-Hover: zwei gestapelte Labels, rollen beim Hover nach oben.
   Das zweite Label liegt absolut und wuerde die Buttonbreite nicht
   mitbestimmen — ist es laenger als das erste, wuerde es abgeschnitten.
   data-alt="<zweites Label>" spannt den Button unsichtbar auf die
   groessere der beiden Beschriftungen auf. */
.btn-roll-inner { position: relative; display: block; overflow: hidden; }
.btn-roll-inner[data-alt]::after {
  content: attr(data-alt);
  display: block;
  height: 0;
  overflow: hidden;
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}
.btn-roll-inner span { display: block; transition: transform 0.5s var(--ease-out); }
.btn-roll-inner span:last-child {
  position: absolute; top: 100%; left: 0;
  width: 100%; text-align: center;
}
.btn-roll:hover .btn-roll-inner span { transform: translateY(-100%); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform 0.55s var(--ease-out), background-color 0.35s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-scrolled { background: rgba(244, 244, 237, 0.82); backdrop-filter: blur(12px); }
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  max-width: 100rem; margin: 0 auto;
}
.nav-logo img { height: 2.6rem; width: auto; transition: filter 0.35s; }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  position: relative; padding: 0.4em 0;
  transition: color 0.35s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--petrol);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav-right { display: flex; align-items: center; gap: 0.7rem; }

/* Zweiter Header-CTA: Drop-In (offener Rahmen, damit der
   Probetraining-Button der Hauptknopf bleibt) */
.nav-cta-drop { white-space: nowrap; }
.nav.is-dark .nav-cta-drop { color: var(--cream); }
.nav.is-dark .nav-cta-drop:hover { color: var(--volt-ink); }

/* Nav über dunklen Sektionen */
.nav.is-dark .nav-logo img { filter: brightness(0) invert(1); }
.nav.is-dark .nav-link { color: var(--cream); }
.nav.is-dark .nav-link::after { background: var(--volt); }
.nav.is-dark .nav-burger { background: var(--cream); }
.nav.is-dark .nav-burger span { background: var(--petrol-deep); }
.nav.is-dark.is-scrolled { background: rgba(10, 46, 49, 0.78); }

.nav-burger {
  display: none;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--ink);
  flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  transition: background-color 0.35s;
}
.nav-burger span {
  display: block; width: 1.1rem; height: 2px; background: var(--cream);
  transition: transform 0.4s var(--ease-out), background-color 0.35s;
}
.nav-burger.is-open span:first-child { transform: translateY(0.3rem) rotate(45deg); }
.nav-burger.is-open span:last-child { transform: translateY(-0.3rem) rotate(-45deg); }

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--petrol-deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
}
.mobile-menu-links { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu-link {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  text-transform: uppercase; color: var(--cream);
  line-height: 1.05;
}
.mobile-menu-link.is-accent { color: var(--volt); }
.mobile-menu-footer {
  position: absolute; bottom: 2rem; left: var(--gutter);
  color: var(--petrol-mist); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.14em;
}

/* ============================================================
   HERO — 230vh Wrapper, Sticky-Inhalt, Shrink-to-Card
   ============================================================ */
.home-hero {
  height: 230vh;
}
.home-hero.is-static { height: auto; }

.hero-sticky {
  position: sticky; top: 0;
  height: 100svh;
  overflow: clip;
}
.home-hero.is-static .hero-sticky { position: relative; }

/* Grosser Titel hinter der Figur */
.hero-title {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--nav-h) + 1vh);
  text-align: center;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(4rem, 14.5vw, 15.5rem);
  letter-spacing: 0.01em;
  pointer-events: none;
}
.hero-title-line { display: block; overflow: hidden; }
.hero-title-inner { display: block; will-change: transform; }
.hero-title-line.is-second .hero-title-inner { color: var(--petrol); }

/* Marquee-Zeilen hinter der Karte */
.hero-lines {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: clamp(0.5rem, 2vh, 2rem);
  z-index: 1;
  pointer-events: none;
}
.hero-line {
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  visibility: hidden;
}
.hero-line.is-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(3rem, 7.5vw, 7.5rem);
  line-height: 1;
  color: var(--volt);
}
.hero-line.is-bold {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
}

/* Cutout-Karte */
.hero-card {
  position: absolute;
  left: 50%; top: 50%;
  width: min(34rem, 86vw);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  z-index: 2;
  will-change: transform;
}
.hero-card-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #b9c4bd 0%, #8fa19a 100%);
  opacity: 0;
}
.hero-figure {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  margin: 0 auto;
  max-height: 92%;
  max-width: 96%;
  width: auto; height: auto;
  will-change: transform;
}
.hero-dither {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}
.hero-card-chip {
  position: absolute; bottom: 0.9rem; left: 0.9rem;
  background: var(--volt); color: var(--volt-ink);
  padding: 0.5em 1em; border-radius: 10rem;
  font-size: 0.66rem;
  visibility: hidden;
}

/* Unterschrift "by Jessica Isak" (zeichnet sich beim Scrollen) */
.hero-signature {
  position: absolute;
  left: 50%; top: 52%;
  width: min(32rem, 78vw);
  height: auto;
  transform: translate(-50%, -22%) rotate(-4deg);
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.hero-signature path {
  stroke: var(--cream);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hero UI-Elemente */
.hero-side {
  position: absolute;
  left: calc(var(--gutter) * 0.6);
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  z-index: 3;
  color: var(--ink-soft);
}
.hero-next {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(1.5rem, 4vh, 3rem);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.45rem;
  z-index: 3;
}
.hero-next-name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--petrol);
}
.hero-next-divider {
  width: 100%; height: 1px;
  background: rgba(17, 17, 18, 0.25);
}
.hero-next-time { color: var(--ink-soft); }

.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.5rem, 4vh, 3rem);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.2rem;
  z-index: 3;
}
.hero-scroll-arrow {
  display: inline-block; font-size: 1rem;
  animation: scroll-bounce 1.6s var(--ease-out) infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.4rem); }
}

/* ============================================================
   STATEMENT — dunkel (Body-Farbe), zentriert, Scrub-Reveal
   ============================================================ */
.home-statement {
  background: transparent;
  color: var(--cream);
  padding: clamp(6rem, 16vh, 11rem) 0;
  text-align: center;
}
.statement-mark {
  width: clamp(2.4rem, 4vw, 3.5rem);
  margin: 0 auto clamp(2rem, 5vh, 3.5rem);
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.statement-text {
  font-family: var(--font-text);
  font-size: clamp(1.9rem, 4.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  max-width: 26ch;
  margin: 0 auto;
}
.statement-text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: 0.01em;
}
.statement-text .word { color: rgba(244, 244, 237, 0.2); }

/* ============================================================
   HORIZONTAL GALLERY (Pinned)
   ============================================================ */
.is-horizontal-track { background: transparent; }
.horizontal-sticky {
  height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  /* Vertikal pannt der Browser nativ, horizontale Gesten gehen an unser JS */
  touch-action: pan-y;
}

/* Hinweis + Fortschritt waehrend der gepinnten Strecke */
.h-progress {
  position: absolute;
  left: 50%; bottom: clamp(1.2rem, 3.5vh, 2.5rem);
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.55rem;
  z-index: 5;
  pointer-events: none;
  visibility: hidden;
}
.h-progress-label { color: var(--ink-soft); white-space: nowrap; }
.h-progress-track {
  width: 7rem; height: 2px;
  background: rgba(17, 17, 18, 0.15);
  display: block; overflow: hidden;
}
.h-progress-fill {
  display: block; width: 100%; height: 100%;
  background: var(--petrol);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.horizontal-track {
  display: flex; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: 0 var(--gutter);
  will-change: transform;
}
.horizontal-col {
  display: flex; flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
  flex-shrink: 0;
}
.horizontal-col.is-offset { transform: translateY(clamp(1.5rem, 4vh, 3.5rem)); }

.h-item { flex-shrink: 0; }
.h-item-media {
  width: clamp(16rem, 30vw, 30rem);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
}
.h-item.is-tall .h-item-media { aspect-ratio: 3 / 4; width: clamp(15rem, 26vw, 26rem); }
/* Gruppenfoto: breites Querformat als Auftakt der Galerie */
.h-item.is-wide .h-item-media { aspect-ratio: 3 / 2; width: clamp(19rem, 40vw, 40rem); }
.h-item.is-square .h-item-media {
  aspect-ratio: 1 / 1;
  width: clamp(12rem, 20vw, 19rem);
}
.h-item.is-square .h-item-media img { object-position: center 30%; }

.horizontal-col.is-lead { max-width: clamp(16rem, 26vw, 26rem); }
.h-lead { display: flex; flex-direction: column; gap: 1.25rem; }
.h-lead .display-lg { line-height: 0.9; }
/* Nur minimal vergroessern: zusammen mit der Parallaxe (±2%) werden
   hoechstens ~4,5% einer Seite verdeckt, statt Personen anzuschneiden. */
.h-item-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  will-change: transform;
}
.h-item-media video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.h-item figcaption { margin-top: 0.75rem; color: var(--ink-soft); }

/* Bildwechsel in einer Kachel (zwei Fotos im Loop) */
.h-item-media { position: relative; }
.h-item-media .alt-img {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.h-item-media .alt-img.is-on { opacity: 1; }
.h-item-media .alt-img img { width: 100%; height: 100%; object-fit: cover; }

/* Kacheln mit Steckbrief: Plus-Badge + Zeigefinger */
.h-item[data-trainer] { cursor: pointer; }
.h-item[data-trainer] .h-item-media::after {
  content: "+";
  position: absolute; right: 0.8rem; bottom: 0.8rem;
  width: 2.2rem; height: 2.2rem;
  background: var(--petrol); color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 600; line-height: 1;
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}
.h-item[data-trainer]:hover .h-item-media::after { transform: scale(1.12); }

.h-item-media.is-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem;
  background: var(--petrol);
  color: var(--cream);
  background-image: radial-gradient(rgba(244,244,237,0.12) 1px, transparent 1.5px);
  background-size: 14px 14px;
}
.h-item-media.is-ph .eyebrow { color: var(--cream); opacity: 0.7; }
.ph-mark {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--volt);
  border: 2px solid var(--volt);
  border-radius: 50%;
  width: 4.2rem; height: 4.2rem;
  display: flex; align-items: center; justify-content: center;
}

.horizontal-col.is-quote { max-width: clamp(20rem, 32vw, 30rem); }
.h-quote p {
  font-family: var(--font-text);
  font-size: clamp(1.3rem, 2.2vw, 2rem);
  font-weight: 650; line-height: 1.25;
  text-transform: uppercase;
}
.h-number {
  font-family: var(--font-display);
  font-size: clamp(14rem, 40vh, 28rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--petrol);
}

/* ============================================================
   TRAINING (hell, Cutout rechts)
   ============================================================ */
.training-feature { padding: clamp(5rem, 14vh, 10rem) 0; }
.training-grid {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.training-copy {
  max-width: 36rem;
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 1.75rem;
}
.training-copy p {
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  max-width: 30rem;
}
.training-media {
  flex: 1;
  display: flex; justify-content: flex-end;
  min-width: min(20rem, 100%);
}
.training-media img {
  width: clamp(17rem, 38vw, 34rem);
  height: auto;
}
.training-schedule {
  width: min(44rem, 100%);
  height: clamp(28rem, 68vh, 40rem);
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(17, 17, 18, 0.08);
}
@media (max-width: 900px) {
  .training-media { justify-content: center; }
}

/* ============================================================
   SPLIT PANELS (Training / Community)
   ============================================================ */
.split-panel {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
  color: var(--cream);
}
.split-panel-bg { position: absolute; inset: 0; }
.split-panel-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 46, 49, 0.88), rgba(10, 46, 49, 0.25) 60%);
}
.split-panel-bg img,
.split-panel-bg video {
  width: 100%; height: 115%; object-fit: cover;
  filter: saturate(0.7);
  will-change: transform;
}
.split-panel-content {
  position: relative; z-index: 2;
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
  display: flex; flex-direction: column; gap: 1.5rem;
}
.split-panel-title { color: var(--cream); }
.is-community .split-panel-title { color: var(--volt); }
.split-panel-info {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem;
}
.split-panel-info p { max-width: 34rem; font-size: clamp(0.95rem, 1.3vw, 1.15rem); opacity: 0.9; }

/* ============================================================
   INSTAGRAM GRID
   ============================================================ */
.home-instagram { padding: clamp(5rem, 14vh, 10rem) 0; }
.ig-header { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.ig-header .display-lg { margin: 1.25rem 0 1rem; }
.ig-sub { max-width: 32rem; color: var(--ink-soft); font-size: 1.05rem; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.5rem);
}
.ig-item { display: block; }
/* Versetzte Spalten wie im Helm-Grid der Referenz */
@media (min-width: 901px) {
  .ig-item:nth-child(4n+2) { margin-top: 2.5rem; }
  .ig-item:nth-child(4n+4) { margin-top: 4.5rem; }
}
.ig-item-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  position: relative;
}
.ig-item-media img,
.ig-item-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
.ig-item:hover .ig-item-media img,
.ig-item:hover .ig-item-media video { transform: scale(1.07); }
.ig-item-media::after {
  content: "↗";
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 2.2rem; height: 2.2rem;
  background: var(--volt); color: var(--volt-ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  opacity: 0; transform: translateY(0.5rem);
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.ig-item:hover .ig-item-media::after { opacity: 1; transform: translateY(0); }
.ig-item-media.is-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.7rem;
  background: var(--petrol);
  background-image: radial-gradient(rgba(244,244,237,0.12) 1px, transparent 1.5px);
  background-size: 14px 14px;
  transition: transform 0.6s var(--ease-out);
}
.ig-item-media.is-ph .eyebrow { color: var(--cream); opacity: 0.7; }
.ig-item-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 0.7rem;
}
.ig-item-title {
  font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.ig-item-year { font-size: 0.72rem; color: var(--ink-soft); }

.ig-more {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
}
.ig-more p { max-width: 26rem; font-weight: 650; text-transform: uppercase; font-size: 1rem; }

/* ============================================================
   MEMBERSHIP CALLOUT
   ============================================================ */
.home-callout {
  background: transparent;
  color: var(--cream);
  padding: clamp(6rem, 16vh, 11rem) 0;
  overflow: clip;
}
/* Headline lebt in der linken Spalte neben dem Formular —
   deshalb kompakter als die uebrigen display-lg-Titel */
.callout-title {
  color: var(--volt);
  margin: 0.5rem 0 0.5rem;
  max-width: 14ch;
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
}
.callout-bottom {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
}
.callout-text { max-width: 32rem; opacity: 0.85; font-size: 1.05rem; }

/* ============================================================
   SOCIALS
   ============================================================ */
.home-socials { padding: clamp(5rem, 14vh, 10rem) 0; }
.socials-title { margin-bottom: 1rem; }
.socials-sub { color: var(--ink-soft); margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.socials-list { border-top: 1px solid rgba(17, 17, 18, 0.15); }
.social-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.2rem, 3vh, 2rem) 0.5rem;
  border-bottom: 1px solid rgba(17, 17, 18, 0.15);
  position: relative;
  overflow: hidden;
  transition: padding 0.45s var(--ease-out);
}
.social-row::before {
  content: ""; position: absolute; inset: 0;
  background: var(--volt);
  transform: scaleY(0); transform-origin: bottom center;
  transition: transform 0.5s var(--ease-out);
  z-index: 0;
}
.social-row:hover::before { transform: scaleY(1); }
.social-row:hover { padding-left: 1.5rem; padding-right: 1.5rem; }
.social-row-name {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 5rem);
  text-transform: uppercase; line-height: 1;
}
.social-row-arrow {
  position: relative; z-index: 1;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform 0.45s var(--ease-out);
}
.social-row:hover .social-row-arrow { transform: translate(0.3rem, -0.3rem) rotate(45deg); }

/* Preis-Zeilen (nutzen das Social-Row-Layout) */
.price-row-value {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--petrol);
  flex-shrink: 0;
}

/* Umschalter Jahres-/Halbjahresvertrag (eigene Zeile vor den Mitgliedschaften) */
.price-terms {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.9rem 1.5rem;
  padding: clamp(1.6rem, 4vh, 2.6rem) 0.5rem clamp(1rem, 2.2vh, 1.4rem);
  border-bottom: 1px solid rgba(17, 17, 18, 0.15);
}
.price-switch {
  display: inline-flex; gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid rgba(18, 66, 70, 0.28);
  border-radius: 99px;
}
.price-switch-btn {
  font-family: var(--font-text);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--petrol);
  padding: 0.7rem 1.2rem;
  border-radius: 99px;
  transition: background-color 0.3s, color 0.3s;
}
.price-switch-btn:hover { background: rgba(18, 66, 70, 0.08); }
.price-switch-btn.is-active { background: var(--petrol); color: var(--cream); }
.price-switch-btn:focus-visible { outline: 2px solid var(--volt); outline-offset: 2px; }

/* Beide Preise liegen uebereinander, nur der aktive ist sichtbar —
   die Breite richtet sich nach dem laengeren, nichts springt */
.price-dual,
.price-dual > .rv-inner { display: inline-grid; justify-items: end; }
.price-term {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.price-term:not(.is-active) { opacity: 0; transform: translateY(0.5em); }
.price-term.is-leaving { transform: translateY(-0.5em); }
@media (max-width: 600px) {
  .price-switch { width: 100%; }
  .price-switch-btn { flex: 1; padding: 0.7rem 0.4rem; font-size: 0.72rem; }
}
@media (prefers-reduced-motion: reduce) {
  .price-term { transition: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.is-footer {
  background: transparent;
  color: var(--cream);
  padding-top: clamp(4rem, 10vh, 7rem);
  overflow: clip;
}
.footer-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-bottom: clamp(3rem, 8vh, 5rem);
  position: relative; z-index: 2;
}
.footer-col { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.footer-col .eyebrow { margin-bottom: 0.5rem; }
.footer-link {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase; line-height: 1;
  position: relative;
}
.footer-link::after {
  content: ""; position: absolute; left: 0; bottom: -0.15em;
  width: 100%; height: 2px; background: var(--volt);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s var(--ease-out);
}
.footer-link:hover::after { transform: scaleX(1); transform-origin: left center; }
.footer-link.is-mail { font-family: var(--font-text); font-size: 1rem; font-weight: 600; text-transform: none; color: var(--volt); }
.footer-contact-note { color: var(--petrol-mist); font-size: 0.95rem; }

.marquee { overflow: clip; white-space: nowrap; }
.marquee-track {
  display: inline-flex; white-space: nowrap;
  will-change: transform;
}
.footer-marquee {
  border-top: 1px solid rgba(244, 244, 237, 0.14);
  border-bottom: 1px solid rgba(244, 244, 237, 0.14);
  padding: 1.2rem 0;
  overflow: clip; white-space: nowrap;
  position: relative; z-index: 2;
}
.footer-marquee-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7.5rem);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--volt);
  line-height: 1.1;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-top: 2rem; padding-bottom: 0.9rem;
  font-size: 0.78rem; color: var(--petrol-mist);
  position: relative; z-index: 2;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a:hover { color: var(--volt); }
/* Credit ganz unten rechts */
.footer-credit {
  display: flex; justify-content: flex-end;
  padding-bottom: 2rem;
  font-size: 0.78rem; color: var(--petrol-mist);
  position: relative; z-index: 2;
}
.footer-credit a { color: var(--cream); transition: color 0.3s; }
.footer-credit a:hover { color: var(--volt); }
.footer-watermark {
  position: absolute; left: 50%; bottom: -18%;
  transform: translateX(-50%);
  width: clamp(20rem, 44vw, 44rem);
  opacity: 0.05; pointer-events: none; z-index: 1;
}
.footer-watermark img { filter: brightness(0) invert(1); }

/* ============================================================
   INSTAGRAM-EMBED-OVERLAY
   ============================================================ */
.ig-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden; opacity: 0;
  transition: opacity 0.35s, visibility 0s 0.35s;
}
.ig-modal.is-open {
  visibility: visible; opacity: 1;
  transition: opacity 0.35s;
}
.ig-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 46, 49, 0.92);
  cursor: pointer;
}
.ig-modal-frame {
  position: relative;
  width: min(29rem, 92vw);
  height: min(46rem, 86vh);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateY(1.5rem);
  transition: transform 0.45s var(--ease-out);
}
.ig-modal.is-open .ig-modal-frame { transform: translateY(0); }
.ig-modal-iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.ig-modal-close {
  position: absolute; top: 0.7rem; right: 0.7rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--volt); color: var(--volt-ink);
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}
.ig-modal-close:hover { transform: rotate(90deg); }

/* ============================================================
   TRAINER-STECKBRIEF (Popup)
   ============================================================ */
.tr-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  visibility: hidden; opacity: 0;
  transition: opacity 0.35s, visibility 0s 0.35s;
}
.tr-modal.is-open {
  visibility: visible; opacity: 1;
  transition: opacity 0.35s;
}
.tr-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 46, 49, 0.92);
  cursor: pointer;
}
.tr-modal-card {
  position: relative;
  width: min(46rem, 94vw);
  max-height: 90vh;
  background: var(--cream);
  border-radius: 1.1rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  transform: translateY(1.5rem);
  transition: transform 0.45s var(--ease-out);
}
.tr-modal.is-open .tr-modal-card { transform: translateY(0); }
.tr-modal-media {
  position: relative;
  background: var(--petrol-deep);
  min-height: 22rem;
}
.tr-modal-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tr-modal-body {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  overflow-y: auto;
  display: flex; flex-direction: column;
  gap: 1.1rem;
}
.tr-modal-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.tr-modal-role { color: var(--ink-soft); }
.tr-modal-facts {
  display: grid;
  gap: 0.7rem;
  border-top: 1px solid rgba(17, 17, 18, 0.12);
  padding-top: 1.1rem;
}
.tr-fact { display: grid; gap: 0.15rem; }
.tr-fact dt {
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--petrol);
}
.tr-fact dd { font-weight: 600; font-size: 0.98rem; }
.tr-modal-motto {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.3;
  color: var(--petrol);
  border-top: 1px solid rgba(17, 17, 18, 0.12);
  padding-top: 1.1rem;
}
.tr-modal-note {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.tr-modal-close {
  position: absolute; top: 0.8rem; right: 0.8rem;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--petrol); color: var(--cream);
  font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform 0.3s var(--ease-out);
}
.tr-modal-close:hover { transform: rotate(90deg); }

@media (max-width: 700px) {
  .tr-modal-card { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .tr-modal-media { min-height: 15rem; position: relative; }
  .tr-modal-media img { position: absolute; }
  .tr-modal-body { overflow-y: visible; }
}

/* ============================================================
   SPLIT-TEXT Hilfsklassen
   ============================================================ */
.split-line-mask { overflow: hidden; display: block; }
[data-split] .line, [data-split] .word, .char { will-change: transform; }

/* Block-Reveal: Volt-Balken wischt ueber jede Zeile */
.rv-line { position: relative; }
.rv-block {
  position: absolute;
  top: -0.05em; bottom: -0.05em;
  left: -0.1em; right: -0.1em;
  background: var(--volt);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  z-index: 2;
  will-change: transform;
}
.rv-inner { display: inline; }

/* ============================================================
   REDUCED-MOTION-FALLBACK (Sektionen behalten feste Farben)
   ============================================================ */
body.reduced .home-statement,
body.reduced .home-faq,
body.reduced .home-callout,
body.reduced .is-footer { background: var(--petrol-deep); }
body.reduced .statement-text .word { color: var(--cream); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* Beide CTAs bleiben am Handy sichtbar — kompakter, damit sie
     zusammen mit dem Burger in die Zeile passen */
  .nav-right { gap: 0.4rem; }
  .nav-cta, .nav-cta-drop { font-size: 0.62rem; padding: 0.7em 0.95em; letter-spacing: 0.06em; }
}

/* Sehr schmale Geraete (ab iPhone SE): Logo und Buttons noch etwas
   kleiner, damit Logo, beide CTAs und der Burger nebeneinander passen */
@media (max-width: 400px) {
  .nav-logo img { height: 2.1rem; }
  .nav-right { gap: 0.3rem; }
  .nav-cta, .nav-cta-drop { font-size: 0.56rem; padding: 0.65em 0.8em; letter-spacing: 0.04em; }
  .nav-burger { width: 2.4rem; height: 2.4rem; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-item:nth-child(2n) { margin-top: 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-col.is-contact { grid-column: span 2; }
  .split-panel-info { flex-direction: column; align-items: flex-start; }
  .hero-side { display: none; }
  /* Event-Widget steht am Handy auf der Team-Figur — als milchiger
     Chip bleibt es lesbar und wirkt wie eine bewusste Karte */
  .hero-next {
    background: rgba(244, 244, 237, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.7rem 0.95rem;
    border-radius: 0.9rem;
    gap: 0.35rem;
  }
  .hero-next-divider { background: rgba(17, 17, 18, 0.15); }
}
@media (max-width: 540px) {
  .ig-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .statement-text { font-size: clamp(1.5rem, 6.4vw, 2.2rem); }
  .hero-card { width: 80vw; }
}

/* ============================================================
   WODIFY-FACADE (Kalender laedt erst nach Klick)
   ============================================================ */
.schedule-facade {
  display: flex; align-items: center; justify-content: center;
  background: var(--cream-2);
  background-image: radial-gradient(rgba(17, 17, 18, 0.08) 1px, transparent 1.5px);
  background-size: 14px 14px;
  box-shadow: none;
  border: 1px solid rgba(17, 17, 18, 0.1);
}
.schedule-facade-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.2rem;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 26rem;
}
.schedule-facade-text { color: var(--ink-soft); font-size: 0.92rem; }

/* ============================================================
   GOOGLE-BEWERTUNGEN
   ============================================================ */
.home-reviews { padding: clamp(4rem, 10vh, 8rem) 0; }
.reviews-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.reviews-score { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.reviews-note {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.9;
}
.reviews-stars {
  color: var(--petrol);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: 0.15em;
}
.reviews-count { color: var(--ink-soft); font-size: 0.95rem; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
  margin-bottom: clamp(2rem, 5vh, 3rem);
}
.review-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 17, 18, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.review-card blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.4;
}
.review-card figcaption { color: var(--ink-soft); }
@media (max-width: 800px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ (dunkle Sektion — Teil des Schlussblocks vor dem Callout)
   ============================================================ */
.home-faq {
  padding: clamp(4rem, 10vh, 8rem) 0;
  color: var(--cream);
}
.faq-title { margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.faq-list { border-top: 1px solid rgba(244, 244, 237, 0.18); max-width: 56rem; }
.faq-item { border-bottom: 1px solid rgba(244, 244, 237, 0.18); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.5vh, 1.6rem) 0.25rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.faq-icon {
  position: relative; flex-shrink: 0;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: var(--volt);
  transition: transform 0.4s var(--ease-out), background-color 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 0.9rem; height: 2px; background: var(--volt-ink);
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--cream); }
.faq-body { overflow: hidden; }
.faq-body p {
  color: var(--petrol-mist);
  max-width: 46rem;
  padding: 0 0.25rem clamp(1.1rem, 2.5vh, 1.6rem);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

/* ============================================================
   ANFRAGE-FORMULAR (im Callout)
   ============================================================ */
.callout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.callout-info { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.callout-steps {
  list-style: none;
  display: flex; flex-direction: column; gap: 1rem;
}
.callout-steps li {
  display: flex; align-items: baseline; gap: 1rem;
  font-weight: 650;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.callout-step-nr {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--volt);
  flex-shrink: 0;
}
.callout-wa { color: var(--cream); }

.anfrage-form {
  display: flex; flex-direction: column; gap: 1.2rem;
  background: rgba(244, 244, 237, 0.05);
  border: 1px solid rgba(244, 244, 237, 0.16);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
}
.anfrage-field { display: flex; flex-direction: column; gap: 0.45rem; }
.anfrage-field label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--petrol-mist);
}
.anfrage-optional { opacity: 0.6; text-transform: none; letter-spacing: 0; }
.anfrage-field input,
.anfrage-field textarea {
  font: inherit;
  color: var(--cream);
  background: rgba(244, 244, 237, 0.07);
  border: 1px solid rgba(244, 244, 237, 0.2);
  border-radius: 0.6rem;
  padding: 0.85em 1em;
  transition: border-color 0.3s, background-color 0.3s;
  resize: vertical;
}
.anfrage-field input::placeholder,
.anfrage-field textarea::placeholder { color: rgba(244, 244, 237, 0.35); }
.anfrage-field input:focus,
.anfrage-field textarea:focus {
  outline: none;
  border-color: var(--volt);
  background: rgba(244, 244, 237, 0.1);
}
.anfrage-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.anfrage-submit { align-self: flex-start; }
.anfrage-status { min-height: 1.2em; font-weight: 650; font-size: 0.95rem; color: var(--volt); }
.anfrage-status.is-error { color: #ff9f8a; }
.anfrage-note { font-size: 0.75rem; color: var(--petrol-mist); }
.anfrage-note a { text-decoration: underline; }
.anfrage-form.is-done .anfrage-field,
.anfrage-form.is-done .anfrage-submit { display: none; }
@media (max-width: 900px) {
  .callout-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER-ADRESSE (Maps-Link)
   ============================================================ */
.footer-address { transition: color 0.3s; }
.footer-address:hover { color: var(--volt); }

/* ============================================================
   KONTEXT-LABELS AM CURSOR (nur Desktop, pointer: fine)
   Der native Mauszeiger bleibt normal — nur ein kleines Label
   haengt bei bestimmten Elementen direkt daneben.
   ============================================================ */
.cursor {
  position: fixed; top: 0; left: 0;
  z-index: 500;
  pointer-events: none;
}
.cursor-label {
  position: absolute; top: 0; left: 0;
  transform: translate(1.2rem, 1.4rem) scale(0);
  transform-origin: 0 0;
  background: var(--volt); color: var(--volt-ink);
  font-size: 0.66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.5em 1em;
  border-radius: 10rem;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out);
}
.cursor.is-label .cursor-label { transform: translate(1.2rem, 1.4rem) scale(1); }

/* ============================================================
   MAGNESIA-STAUBWOLKE + REP-COUNTER
   ============================================================ */
.chalk-canvas {
  position: fixed; inset: 0;
  z-index: 450;
  pointer-events: none;
}
.rep-chip {
  position: fixed;
  z-index: 460;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--volt);
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -120%);
}
.rep-chip.is-big {
  white-space: normal;
  width: max-content;
  max-width: min(88vw, 30rem);
  text-align: center;
  line-height: 1.05;
}
.footer-marquee[data-rep-counter] { cursor: pointer; }

/* Dezenter Hinweis aufs Easter Egg: Pfeil zeichnet sich, stupst ab und zu */
/* Desktop: Zeile ohne eigene Hoehe — der Hinweis haengt neben der
   Copyright-Zeile, das Footer-Layout bleibt unveraendert */
.rep-hint-row { position: relative; z-index: 3; height: 0; }
.rep-hint {
  display: flex; align-items: flex-end; gap: 0.15rem;
  width: max-content;
  margin-left: 56%;
  padding-top: 0.35rem;
  color: var(--volt);
  cursor: pointer;
  transition: opacity 0.5s var(--ease-out);
}
.rep-hint-arrow {
  width: 2.6rem; height: auto;
  overflow: visible;
  transform-origin: 30% 10%;
}
.rep-hint-arrow path {
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--ease-out);
}
.rep-hint-arrow path + path { transition-delay: 0.75s; transition-duration: 0.35s; }
.rep-hint-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(0.3rem) rotate(-5deg);
  opacity: 0;
  transition: opacity 0.6s 0.9s, transform 0.6s 0.9s var(--ease-out);
}
.rep-hint-tap { display: none; }
@media (hover: none) {
  .rep-hint-click { display: none; }
  .rep-hint-tap { display: inline; }
}
.rep-hint.is-in .rep-hint-arrow path { stroke-dashoffset: 0; }
.rep-hint.is-in .rep-hint-text { opacity: 0.85; transform: translateY(0) rotate(-5deg); }
.rep-hint.is-in .rep-hint-arrow { animation: rep-hint-poke 3.2s ease-in-out 2s infinite; }
.rep-hint.is-done { opacity: 0; pointer-events: none; }
@keyframes rep-hint-poke {
  0%, 62%, 100% { transform: translate(0, 0); }
  70% { transform: translate(-1px, -5px); }
  78% { transform: translate(0, 0); }
  85% { transform: translate(-1px, -3px); }
  92% { transform: translate(0, 0); }
}
@media (max-width: 700px) {
  /* Handy: eigene Zeile, damit nichts die Copyright-Zeile ueberdeckt */
  .rep-hint-row { height: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .rep-hint-arrow path, .rep-hint-text { transition: none; }
  .rep-hint.is-in .rep-hint-arrow { animation: none; }
}

/* ============================================================
   RECHTSSEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal-page {
  background: var(--cream);
  min-height: 100vh;
}
.legal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem var(--gutter);
  max-width: 60rem; margin: 0 auto;
}
.legal-nav img { height: 2.6rem; width: auto; }
.legal-nav a.legal-back {
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.legal-nav a.legal-back:hover { color: var(--petrol); }
.legal-main {
  max-width: 60rem; margin: 0 auto;
  padding: clamp(2rem, 6vh, 4rem) var(--gutter) clamp(4rem, 10vh, 6rem);
}
.legal-main h1 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 0.95;
  margin-bottom: 2.5rem;
}
.legal-main h2 {
  font-family: var(--font-text);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 0.8rem;
}
.legal-main p, .legal-main li { color: var(--ink-soft); margin-bottom: 0.7rem; max-width: 65ch; }
.legal-main ul { padding-left: 1.2rem; }
.legal-main a { color: var(--petrol); text-decoration: underline; }
.legal-ph {
  background: rgba(79, 193, 197, 0.25);
  padding: 0.05em 0.3em;
  border-radius: 0.3em;
  font-style: normal;
}
.legal-note {
  border: 1px solid var(--volt);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  color: var(--petrol-deep);
  font-weight: 600;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .hero-scroll-arrow { animation: none; }
  .cursor { display: none; }
  * { transition-duration: 0.01ms !important; }
}
