/* ================= Leben (28.09.2026): Bewegung, die auf Scrollen, Maus und Uhrzeit reagiert — Club =================
   Nur transform/opacity, alles mit prefers-reduced-motion abgeschaltet. Ohne Scroll-Zeitleisten bleibt alles sichtbar. */
:root { --ease-out: cubic-bezier(.22,.61,.36,1); }
@keyframes skyRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes skyZoomAus { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes skyLaufLinks { from { transform: translateX(0); } to { transform: translateX(var(--weg, -22%)); } }
@keyframes skyLaufRechts { from { transform: translateX(var(--weg, -22%)); } to { transform: translateX(0); } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal] { animation: skyRise linear both; animation-timeline: view(); animation-range: entry 5% cover 22%; }
    [data-reveal-gruppe] > * { animation: skyRise linear both; animation-timeline: view(); animation-range: entry 0% cover 20%; }
    [data-reveal-gruppe] > *:nth-child(2) { animation-range: entry 8% cover 24%; }
    [data-reveal-gruppe] > *:nth-child(3) { animation-range: entry 16% cover 28%; }
    [data-reveal-gruppe] > *:nth-child(4) { animation-range: entry 24% cover 32%; }
    [data-reveal-gruppe] > *:nth-child(n+5) { animation-range: entry 30% cover 36%; }
    [data-reveal-bild] > img, [data-reveal-bild] > video { animation: skyZoomAus linear both; animation-timeline: view(); animation-range: cover 0% cover 55%; }
    .laufband-zeile { animation: skyLaufLinks linear both; animation-timeline: view(); animation-range: cover; }
    .laufband-zeile:nth-child(even) { animation-name: skyLaufRechts; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-media > img, .hero-media > video { animation: skyZoomAus 10s var(--ease-out) both; }
}

/* Maus: Karten heben sich, Bilder atmen, gelbe Knöpfe bekommen einen Lichtstreif */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  [data-reveal-gruppe] > li, [data-reveal-gruppe] > article, [data-hebt] { transition: transform .25s var(--ease-out), box-shadow .25s ease; }
  [data-reveal-gruppe] > li:hover, [data-reveal-gruppe] > article:hover, [data-hebt]:hover { box-shadow: 0 18px 40px rgba(0,0,0,.28); }
  [data-reveal-gruppe] img { transition: transform .6s var(--ease-out); }
  [data-reveal-gruppe] > *:hover img { transform: scale(1.045); }
  a[data-track^="cta_"] { position: relative; isolation: isolate; overflow: hidden; transition: transform .18s ease, filter .18s ease; }
  a[data-track^="cta_"]:hover { filter: brightness(1.05); transform: translateY(-1px); }
  a[data-track^="cta_"]::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); transform: translateX(-130%); transition: transform .7s var(--ease-out); pointer-events: none; }
  a[data-track^="cta_"]:hover::after { transform: translateX(130%); }
}
a[data-track^="cta_"]:active { transform: scale(.98); }

/* Live-Karte: was laut Kursplan gerade läuft oder als Nächstes kommt */
.jetzt-karte { position: absolute; z-index: 3; right: 14px; bottom: 14px; width: min(360px, calc(100% - 28px)); display: grid; gap: 6px; padding: 14px 16px 15px; border-radius: 0; background: rgba(10,17,25,.94); border: 1px solid var(--linie); border-left: 3px solid var(--gelb); color: #fff; text-decoration: none; }
.jetzt-karte:hover { color: #fff; border-color: rgba(255,255,255,.35); border-left-color: var(--gelb); }
@media (min-width: 900px) { .hero-grid .jetzt-karte { right: clamp(20px, 4vw, 72px); bottom: clamp(20px, 4vw, 56px); } }
.jetzt-kopf { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gelb); }
.jetzt-titel { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.15; }
.jetzt-zeile { font-size: 14px; color: var(--text-hell-2); font-variant-numeric: tabular-nums; }
.jetzt-balken { display: block; height: 4px; background: rgba(255,255,255,.16); overflow: hidden; margin-top: 4px; }
.jetzt-balken > span { display: block; height: 100%; background: var(--gelb); transform-origin: left center; transform: scaleX(var(--s, 0)); transition: transform 1s var(--ease-out); }

/* Laufband: echte Kursnamen auf Gelb, bewegt sich beim Scrollen */
.laufband { overflow: hidden; background: var(--gelb); color: #0A1119; padding-block: clamp(22px, 3.4vw, 44px); display: grid; gap: clamp(2px, .5vw, 6px); }
.laufband-zeile { display: flex; width: max-content; --weg: -22%; }
.laufband-wort { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.025em; text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: .3em; padding-right: .3em; }
.laufband-wort::after { content: ""; flex: 0 0 auto; width: .18em; height: .18em; background: #0A1119; }
.laufband-wort[data-art="kontur"] { color: transparent; -webkit-text-stroke: 2px #0A1119; }
.laufband-wort[data-art="verlauf"] { color: #0A1119; }

/* Hero-Knopf auf schmalen Handys einzeilig */
@media (max-width: 480px) { a[data-track^="cta_"] { padding-left: 16px !important; padding-right: 16px !important; font-size: min(17px, 4.4vw) !important; text-align: center; } }

/* Gemeinsame Kontakt-Bausteine im Club-Look (28.09.2026) */
/* Status-Anzeige (Review 06.10.): ruhige Versalien-Zeile mit kleinem statischem Quadrat, kein Blinken, kein Kasten.
   Petrol = geöffnet bzw. läuft, Grau = geschlossen bzw. kommt später (data-zu="true"). */
.bl-status { --st: var(--petrol); --st-zu: #8A8A8A; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; color: inherit; }
.bl-status::before { content: ""; flex: 0 0 auto; width: .34em; height: .34em; min-width: 8px; min-height: 8px; background: var(--st); }
.bl-status[data-zu="true"]::before { background: var(--st-zu); }
.bl-lila .bl-status, .hero-jetzt .bl-status, .held-status.bl-status, .held-jetzt .bl-status { --st: #fff; --st-zu: #CDBDE3; }
.bl-petrol .bl-status, .k-jetzt .bl-status, .ko-live .bl-status { --st: var(--schwarz); --st-zu: rgba(20,20,20,.45); }
.bl-schwarz .bl-status { --st: var(--petrol); --st-zu: #8A8A8A; }
.c-ico { display: inline-block; flex: 0 0 auto; width: 22px; height: 22px; background: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.c-zeiten { margin: 0; display: grid; gap: 2px; }
.c-zeiten .zeile { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 10px 12px; font-variant-numeric: tabular-nums; font-size: 17px; }
.c-zeiten .zeile[data-heute="true"] { background: rgba(253,198,46,.22); border-left: 3px solid var(--gelb-dunkel, #D9A200); }
.c-zeiten dt { color: var(--text-dunkel-2); }
.c-zeiten .zeile[data-heute="true"] dt { color: var(--text-dunkel); font-weight: 700; }
.c-zeiten .zeile[data-heute="true"] dt::before { content: "heute"; display: block; margin: 0 0 2px; font-family: var(--font-display); font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dunkel); }
.c-zeiten dd { margin: 0; text-align: right; font-weight: 700; white-space: nowrap; }
.c-anfahrt { list-style: none; margin: 20px 0 0; padding: 0; display: grid; }
.c-anfahrt li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--linie); }
.c-anfahrt .c-ico { color: var(--gelb); margin-top: 2px; }
.c-knopf-rand { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border: 1px solid var(--linie); color: #fff; font-weight: 700; font-size: 16px; border-radius: 0; }
.c-knopf-rand:hover { border-color: var(--gelb); color: #fff; }
.c-knopf-rand .c-ico { color: var(--gelb); }
[data-sticky-cta] { transform: translateY(110%); visibility: hidden; transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s linear .3s; }
[data-sticky-cta][data-sichtbar="true"] { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s; }
@media (min-width: 900px) { [data-sticky-cta] { display: none !important; } }
@media (prefers-reduced-motion: reduce) { [data-sticky-cta] { transition: none; } }

/* Kursseite: Live-Karte im Kopfbereich, Fortschritt im Plan, nächster Termin je Kurs */
.jetzt-statisch { position: static; width: 100%; max-width: 440px; }
.jetzt-statisch .jetzt-logo { height: 58px; display: flex; align-items: center; margin-bottom: 4px; }
.jetzt-statisch .jetzt-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; display: block; }
.club-kopf { display: grid; gap: clamp(26px,4vw,52px); align-items: center; }
@media (min-width: 960px) { .club-kopf { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); } }
.kp-fortschritt { grid-column: 1 / -1; display: block; height: 3px; background: rgba(255,255,255,.12); overflow: hidden; margin-top: 8px; }
.kp-fortschritt > span { display: block; height: 100%; background: var(--gelb); transform-origin: left center; transform: scaleX(var(--s, 0)); transition: transform 1s cubic-bezier(.22,.61,.36,1); }
.c-naechster { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 15px; color: var(--text-hell-2); padding-top: 12px; border-top: 1px solid var(--linie); }
.c-naechster strong { color: #fff; }
.c-naechster button { font-family: inherit; font-size: 15px; font-weight: 700; color: var(--gelb); background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; }
.c-naechster button:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Handy-Prüfung 06.10.2026: Öffnungszeiten unter 360 px untereinander (Tage einzeilig, „heute“ über der Zeile) */
@media (max-width: 359px) {
  .c-zeiten .zeile { grid-template-columns: minmax(0,1fr); gap: 2px; }
  .c-zeiten dd { text-align: left; }
}
