/*! Mystery Gym Güglingen – main.css */

@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/hubot-sans.woff2") format("woff2-variations"),
       url("../fonts/hubot-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
/* Ziffern aus Mona Sans (gleiche Familie, aber mit normaler Null statt „θ“) */
@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/mona-digits.woff2") format("woff2-variations"),
       url("../fonts/mona-digits.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

:root {
  --void: #000;
  --mat: #161618;
  --wall: #ECE8E1;
  --chalk: #F4F2EE;
  --smoke: #ABA7A1;
  --ash: #75716C;
  --red: #E71A22;
  --red-hot: #C8101A;
  --led: #FF2D1F;
  --led-off: #2C0907;
  --line: rgba(244, 242, 238, .14);
  --pad: clamp(1.125rem, 4.4vw, 4.5rem);
  --sec: clamp(4.5rem, 10vw, 9rem);
  --nav-h: 72px;
  --notch: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --punch: cubic-bezier(.2, 1.6, .35, 1);
  --glow: 0 0 3px rgba(255, 45, 31, .95), 0 0 12px rgba(255, 45, 31, .6), 0 0 34px rgba(255, 45, 31, .32);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--void);
  color: var(--chalk);
  font-family: "Hubot Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-stretch: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}
body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ol, ul, figure, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
:focus-visible { outline: 3px solid var(--led); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -5rem; z-index: 300;
  background: var(--chalk); color: #000; padding: .8rem 1.1rem; font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

/* Filmkorn über allem – nimmt dem Schwarz das Digitale */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typo ---------- */
.display {
  font-weight: 900;
  font-stretch: 75%;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.012em;
}
.lead { font-size: clamp(1.0625rem, 1.45vw, 1.3125rem); line-height: 1.5; }
.muted { color: var(--smoke); }

/* ---------- LED-Leiste (wie an der Hallendecke) ---------- */
.led {
  display: block; height: 3px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #ff705a 0 3px, var(--led) 3px 10px);
  box-shadow: var(--glow);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 3.25rem; padding: .8rem 1.45rem;
  font-size: 1.0625rem; font-weight: 720; font-stretch: 87.5%; line-height: 1.1; letter-spacing: .005em;
  text-decoration: none; text-align: center;
  border: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  transition: background-color .2s, color .2s, transform .3s var(--punch);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; opacity: 0; pointer-events: none;
}
.btn.is-hit::before { animation: flash .38s ease-out; }
.btn:active { transform: scale(.955); }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hot); }
.btn--black { background: #000; color: var(--chalk); }
.btn--black:hover { background: #1c1c1c; }
.btn--chalk { background: var(--chalk); color: #000; }
.btn--chalk:hover { background: #fff; }
.btn--outline { clip-path: none; background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .35); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--chalk); }
.btn--sm { min-height: 2.6rem; padding: .55rem 1.05rem; font-size: .9375rem; --notch: 9px; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Textlink mit LED-Unterstrich */
.tlink {
  position: relative; display: inline-flex; align-items: center; min-height: 3.25rem;
  font-weight: 680; font-stretch: 87.5%; text-decoration: none;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .7rem; height: 2px;
  background: currentColor; transform-origin: left; transition: transform .35s var(--ease), background-color .2s, box-shadow .2s;
}
.tlink:hover::after { background: var(--led); box-shadow: var(--glow); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--pad);
  transition: background-color .35s;
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
  transition: opacity .35s;
}
.nav.is-scrolled { background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.is-scrolled::before { opacity: 0; }
.nav > .led { position: absolute; left: 0; right: 0; bottom: -1px; border-radius: 0; }
.nav__brand { display: block; width: clamp(104px, 8.4vw, 122px); flex: none; }
.nav__brand img { width: 100%; height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1.25rem, 2.6vw, 2.5rem); }
.nav__links a:not(.btn) {
  position: relative; padding: .4rem 0; text-decoration: none;
  font-weight: 640; font-stretch: 87.5%; font-size: 1rem;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--led); box-shadow: var(--glow);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__links a:not(.btn):hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__burger { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 55; background: #000;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--nav-h) + 2.25rem) var(--pad) 2rem;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .6s var(--ease), visibility 0s .6s;
  overflow-y: auto;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s var(--ease), visibility 0s; }
.menu__links a {
  display: block; padding: .15rem 0; text-decoration: none;
  font-size: clamp(2.6rem, 13.5vw, 6.5rem);
  opacity: 0; transform: translateY(35%);
  transition: opacity .45s var(--ease), transform .6s var(--ease), color .2s;
}
.menu__links a[aria-current="page"] { color: var(--led); text-shadow: 0 0 22px rgba(255, 45, 31, .5); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: .06s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: .12s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: .18s; }
.menu__foot { display: grid; gap: 1.25rem; }
.menu__contact { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--smoke); font-size: .9375rem; }
.menu__contact a { text-decoration: none; }

@media (max-width: 899px) {
  :root { --nav-h: 64px; }
  .nav__links { display: none; }
  .nav__burger {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; margin-right: -10px;
  }
  .nav__burger span {
    position: absolute; left: 13px; right: 13px; height: 2px; background: var(--chalk);
    transition: transform .4s var(--ease);
  }
  .nav__burger span:first-child { transform: translateY(-4px); }
  .nav__burger span:last-child { transform: translateY(4px); }
  .nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
  .nav__brand { width: 92px; }
}

/* ---------- Rundenuhr (Live-Countdown, 7-Segment) ---------- */
.clock {
  display: inline-grid; gap: .55rem; max-width: 100%;
  padding: .8rem 1.1rem .85rem .85rem;
  color: var(--chalk); background: #050505; border: 1px solid #262626; border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 22px 44px -22px rgba(0, 0, 0, .9);
}
.clock__row { display: flex; align-items: center; gap: 1rem; }
.clock__face svg {
  height: clamp(2.3rem, 3.4vw, 3.3rem); width: auto; overflow: visible;
  filter: drop-shadow(0 0 2px rgba(255, 45, 31, .85)) drop-shadow(0 0 9px rgba(255, 45, 31, .45));
}
.seg { fill: var(--led-off); }
.seg.on { fill: var(--led); }
.clock__info { display: grid; gap: .1rem; line-height: 1.3; min-width: 0; }
.clock__label { font-size: .875rem; color: var(--smoke); }
.clock__next { font-size: 1rem; font-weight: 660; font-stretch: 87.5%; }
.clock__live { display: flex; align-items: center; gap: .55rem; font-size: .875rem; }
.clock__live[hidden] { display: none; }
.dot {
  width: .5rem; height: .5rem; flex: none; border-radius: 50%; background: var(--led); box-shadow: var(--glow);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  column-gap: clamp(2rem, 5vw, 6rem);
  padding: calc(var(--nav-h) + clamp(1.5rem, 5vh, 3.5rem)) var(--pad) clamp(2rem, 5vh, 3.5rem);
}
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__title { font-size: clamp(4rem, 12.2vw, 13.5rem); }
.hero__title .l { display: block; }
.hero__lead { margin-top: clamp(1.1rem, 2.6vh, 1.9rem); max-width: 30em; color: var(--smoke); }
.hero .clock { margin-top: clamp(1.25rem, 3.2vh, 2.1rem); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; margin-top: clamp(1.25rem, 3.2vh, 2rem); }

.hero__reel {
  position: relative; z-index: 1;
  height: min(calc(100svh - var(--nav-h) - 5.5rem), 860px);
  aspect-ratio: 9 / 16;
}
.reel { position: absolute; inset: 0; overflow: hidden; background: #0c0c0c; will-change: transform; transform-origin: 50% 50%; }
.hero__reel .reel { box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 50px 90px -30px #000; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ambient {
  position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none;
  width: 230%; height: 135%; transform: translate(-50%, -50%);
  filter: blur(42px) saturate(1.9) brightness(1.25); opacity: .8;
}
.reel__toggle {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 3;
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .22);
}
.reel__toggle svg { width: 16px; height: 16px; fill: var(--chalk); }
.reel__toggle .i-play { display: none; }
.reel__toggle[aria-pressed="true"] .i-play { display: block; }
.reel__toggle[aria-pressed="true"] .i-pause { display: none; }

@media (max-width: 899px) {
  .hero {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: calc(var(--nav-h) + 1rem) var(--pad) 1.6rem;
  }
  .hero__reel { position: absolute; inset: 0; height: auto; aspect-ratio: auto; z-index: 0; }
  .hero__reel .reel { box-shadow: none; }
  .ambient { display: none; }
  .hero::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .72) 52%, rgba(0, 0, 0, .94) 74%, #000 100%);
  }
  .hero__title { font-size: clamp(3rem, 14.6vw, 6rem); }
  .hero__title .l2, .hero__title .l3 { display: inline; }
  .hero__lead { color: rgba(244, 242, 238, .86); font-size: 1rem; }
  .reel__toggle { top: calc(var(--nav-h) + .75rem); bottom: auto; right: var(--pad); }
  .hero .clock { width: 100%; }
}

/* ---------- Kombi (Werte) – helle Hallenwand ---------- */
.kombi { position: relative; overflow: hidden; background: var(--wall); color: #000; }
.kombi > .led { position: absolute; top: 0; left: 0; right: 0; border-radius: 0; }
.kombi__inner { position: relative; padding: var(--sec) var(--pad); }
.kombi__intro { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 640; font-stretch: 87.5%; }
.kombi__list { margin-top: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: clamp(.15rem, .6vw, .5rem); }
.kombi__item { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.75rem); }
.kombi__n {
  flex: none; display: grid; place-items: center;
  width: clamp(2.1rem, 4vw, 3.6rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; font-stretch: 87.5%; font-size: clamp(1rem, 1.9vw, 1.6rem);
}
.kombi__w { font-size: clamp(2.9rem, 11vw, 12rem); }
.kombi__text { margin-top: clamp(1.5rem, 3.5vw, 2.75rem); max-width: 26em; font-size: clamp(1.125rem, 1.8vw, 1.625rem); line-height: 1.4; font-weight: 520; }
.kombi__photo {
  position: absolute; z-index: 0; right: var(--pad); top: 50%; transform: translateY(-50%);
  width: 18vw; max-width: 340px; aspect-ratio: 3 / 4.4; overflow: hidden;
}
.kombi__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
.kombi__list, .kombi__intro, .kombi__text { position: relative; z-index: 1; }
@media (max-width: 899px) {
  .kombi__photo { display: none; }
}

/* Punch-Animation: nur mit JS + ohne „weniger Bewegung“ */
.kombi.is-armed .kombi__item { opacity: 0; }
.kombi.is-armed.is-in .kombi__item { animation: punchIn .44s var(--ease) both; }
.kombi.is-armed.is-in .kombi__item:nth-child(2) { animation-delay: .32s; }
.kombi.is-armed.is-in .kombi__item:nth-child(3) { animation-delay: .64s; }
.kombi.is-armed.is-in .kombi__n { animation: badge .5s var(--punch) both; animation-delay: inherit; }
.kombi.is-armed .kombi__text, .kombi.is-armed .kombi__photo img { opacity: 0; transition: opacity .8s ease 1.05s; }
.kombi.is-armed.is-in .kombi__text, .kombi.is-armed.is-in .kombi__photo img { opacity: 1; }
.kombi__inner.is-hit { animation: shake .2s linear; }
@keyframes punchIn {
  0% { opacity: 0; transform: translateX(-.5em) scale(1.14); filter: blur(7px); }
  62% { opacity: 1; transform: translateX(.035em) scale(.99); filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes badge { 0% { transform: scale(.3); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(6px, -3px); }
  50% { transform: translate(-4px, 2px); }
  75% { transform: translate(2px, -1px); }
}

/* ---------- Disziplinen (Matte) ---------- */
.disc {
  position: relative; padding: var(--sec) var(--pad);
  background-color: var(--mat);
  background-image: radial-gradient(circle, rgba(255, 255, 255, .045) 1.1px, transparent 1.6px);
  background-size: 10px 10px;
}
.disc__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.disc__title { font-size: clamp(2.7rem, 6.2vw, 6.25rem); }
.disc__lead { max-width: 24em; color: var(--smoke); }
.disc__lead a { color: var(--chalk); font-weight: 650; text-underline-offset: 3px; }

.panels { display: flex; gap: .5rem; height: clamp(440px, 66vh, 700px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: #0d0d0d; cursor: pointer; transition: flex-grow .75s var(--ease); }
.panel.is-active { flex-grow: 3.3; cursor: auto; }
.panel::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 4;
  background: var(--led); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.panel.is-active::before { transform: scaleX(1); }
.panel__img, .panel__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__img { filter: grayscale(1) contrast(1.1) brightness(.6); transition: filter .7s ease; }
.panel.is-active .panel__img { filter: none; }
.panel__clip { opacity: 0; transition: opacity .5s ease; }
.panel.is-playing .panel__clip { opacity: 1; }
.panel__inner {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; gap: 1.25rem;
  padding: 1.25rem; background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, .1) 100%);
}
.panel__name {
  flex: none; writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: clamp(3rem, 5vw, 5.4rem); white-space: nowrap; transition: color .4s;
}
.panel.is-active .panel__name { color: var(--chalk); }
.panel:not(.is-active) .panel__name { color: rgba(244, 242, 238, .78); }
.panel__body {
  flex: 1; min-width: 17rem; max-width: 30rem;
  opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .5s var(--ease); pointer-events: none;
}
.panel.is-active .panel__body { opacity: 1; transform: none; transition-delay: .28s; pointer-events: auto; }
.panel__claim { font-size: clamp(1.375rem, 2.1vw, 1.875rem); font-weight: 800; font-stretch: 87.5%; line-height: 1.1; }
.panel__text { margin-top: .6rem; color: rgba(244, 242, 238, .82); }
.panel__when { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  display: inline-flex; align-items: center; min-height: 1.75rem; padding: .2rem .6rem;
  font-size: .8125rem; font-weight: 640; font-stretch: 87.5%; border: 1px solid rgba(244, 242, 238, .3); border-radius: 2px;
}
.panel__link { margin-top: .35rem; }

@media (max-width: 899px) {
  .panels {
    height: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: .75rem;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) .25rem; scroll-padding: 0 var(--pad);
    scrollbar-width: none;
  }
  .panels::-webkit-scrollbar { display: none; }
  .panel { aspect-ratio: 3 / 4.6; scroll-snap-align: start; cursor: auto; }
  .panel__text { display: none; }
  .panel::before { transform: scaleX(1); }
  .panel__img { filter: none; }
  .panel__inner { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .4rem; padding: 1.1rem; }
  .panel__name { writing-mode: horizontal-tb; transform: none; font-size: clamp(2.6rem, 12vw, 3.6rem); color: var(--chalk) !important; }
  .panel__body { flex: none; min-width: 0; opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------- Finale (rot) ---------- */
.finale { position: relative; overflow: hidden; isolation: isolate; background: var(--red); color: #000; padding: var(--sec) var(--pad) clamp(3rem, 6vw, 4.5rem); }
.finale::after {
  content: ""; position: absolute; z-index: -1; right: -6vw; bottom: -10vw; width: min(64vw, 820px); aspect-ratio: 237.8 / 179.8;
  background: rgba(0, 0, 0, .1);
  -webkit-mask: url("../img/logo-icon.svg") center / contain no-repeat; mask: url("../img/logo-icon.svg") center / contain no-repeat;
}
.finale__title { font-size: clamp(3rem, 8.6vw, 9.5rem); max-width: 11.5ch; }
.finale__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-top: clamp(2rem, 5vw, 3.75rem); }
.finale__text { max-width: 30em; font-size: clamp(1.0625rem, 1.5vw, 1.375rem); line-height: 1.45; font-weight: 520; }
.finale .clock { margin-top: 1.5rem; }
.finale__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; margin-top: 1.5rem; }
.finale :focus-visible { outline-color: #000; }
.finale__addr { display: grid; gap: .3rem; font-size: 1.0625rem; font-weight: 560; }
.finale__addr strong { font-weight: 850; font-stretch: 87.5%; font-size: 1.25rem; margin-bottom: .2rem; }
.finale__addr a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.finale--short .finale__title { font-size: clamp(2.8rem, 7vw, 7.5rem); max-width: 14ch; }
@media (max-width: 899px) { .finale__grid { grid-template-columns: 1fr; } .finale .clock { width: 100%; } }

/* ---------- Footer ---------- */
.foot { position: relative; background: #000; color: var(--smoke); padding: 2.75rem var(--pad) 2rem; font-size: .9375rem; }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.foot__brand img { width: 120px; height: auto; }
.foot__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.foot__nav a, .foot__legal a { text-decoration: none; }
.foot__nav a:hover, .foot__legal a:hover { color: var(--chalk); }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.5rem; }
.foot__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Unterseiten: Kopf ---------- */
.pagehero { position: relative; padding: calc(var(--nav-h) + clamp(3rem, 10vh, 6.5rem)) var(--pad) clamp(2.5rem, 6vw, 4.5rem); }
.pagehero__title { font-size: clamp(3.6rem, 13vw, 13rem); }
.pagehero__lead { margin-top: clamp(1rem, 2.5vw, 1.75rem); max-width: 32em; color: var(--smoke); }
.pagehero .clock { margin-top: clamp(1.25rem, 3vw, 2rem); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.05rem;
  border: 1px solid var(--line); border-radius: 2px; text-decoration: none;
  font-weight: 640; font-stretch: 87.5%; font-size: .9375rem;
  transition: border-color .2s, box-shadow .25s, color .2s;
}
.chip:hover { border-color: rgba(244, 242, 238, .5); }
.chip[aria-pressed="true"] { border-color: var(--led); box-shadow: inset 0 0 0 1px var(--led), 0 0 22px -6px rgba(255, 45, 31, .8); }

/* ---------- Training ---------- */
.track {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center;
  gap: clamp(1.75rem, 5vw, 5.5rem); padding: clamp(2.5rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line);
}
.track:nth-of-type(even) .track__media { order: 2; }
.track__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #111; }
.track__media img, .track__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.track__media video { opacity: 0; transition: opacity .5s; }
.track__media.is-playing video { opacity: 1; }
.track__media::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--led); box-shadow: var(--glow); }
.track__name { font-size: clamp(3.2rem, 8.5vw, 8rem); }
.track__claim { margin-top: .65rem; font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 780; font-stretch: 87.5%; line-height: 1.15; }
.track__text { margin-top: 1rem; max-width: 34em; color: var(--smoke); }
.slots { margin-top: 1.75rem; border-top: 1px solid var(--line); max-width: 40rem; }
.slot { display: grid; grid-template-columns: minmax(10.5rem, auto) 1fr; gap: .2rem 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.slot__name { font-weight: 700; font-stretch: 87.5%; }
.slot__name small { font-weight: 500; color: var(--smoke); font-size: .875rem; margin-left: .35rem; }
.slot__when { color: var(--smoke); }
@media (max-width: 899px) {
  .track { grid-template-columns: 1fr; }
  .track:nth-of-type(even) .track__media { order: 0; }
  .track { padding-top: 2.25rem; padding-bottom: 2.5rem; gap: 1.25rem; }
  .track__media { aspect-ratio: 16 / 11; }
  .track__media img, .track__media video { object-position: 50% 38%; }
  .slot { grid-template-columns: 1fr; }
}

/* ---------- Trainingsplan ---------- */
.planbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 2rem; padding: 0 var(--pad); margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.planbar .chips { margin-top: 0; }
.plan { padding: 0 var(--pad); }
.plan__static .pday { padding: 1rem 0; border-top: 1px solid var(--line); }
.plan__static h2 { font-size: 1.5rem; }
.plan__static li { color: var(--smoke); }
.js .plan__static { display: none; }

.week {
  display: grid; grid-template-columns: 3.4rem repeat(6, minmax(0, 1fr));
  grid-template-rows: auto repeat(12, minmax(2.5rem, auto)); column-gap: .45rem;
}
.week__day {
  grid-row: 1; position: relative; padding: .5rem .6rem .7rem; margin-bottom: .45rem;
  font-size: clamp(1.25rem, 1.9vw, 1.75rem); border-bottom: 1px solid var(--line);
}
.week__day small { display: block; font-size: .8125rem; font-weight: 560; font-stretch: 87.5%; text-transform: none; letter-spacing: 0; color: var(--smoke); margin-top: .3rem; }
.week__day.is-today { color: var(--chalk); border-bottom-color: transparent; }
.week__day.is-today::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--led); box-shadow: var(--glow); }
.week__col { grid-row: 2 / 14; position: relative; border-radius: 2px; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .045) 0 1px, transparent 1px 100%); background-size: 100% calc(100% / 6); }
.week__col.is-today { background-color: rgba(255, 45, 31, .05); }
.week__time { grid-column: 1; align-self: start; font-size: .8125rem; color: var(--ash); transform: translateY(-.6em); }
.week__now { position: absolute; left: -4px; right: 0; height: 2px; background: var(--led); box-shadow: var(--glow); z-index: 3; pointer-events: none; }
.week__now::before { content: ""; position: absolute; left: -3px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--led); box-shadow: var(--glow); }

.sess {
  position: relative; z-index: 1; margin: 3px 0; display: flex; flex-direction: column; gap: .15rem; min-width: 0;
  padding: .5rem .6rem .55rem; text-align: left; overflow: hidden;
  background: var(--bg); color: var(--fg); border-left: 3px solid var(--edge);
  transition: opacity .3s, transform .25s var(--punch), filter .3s;
}
.sess:hover { transform: translateY(-2px); }
.sess__time { font-size: .8125rem; font-weight: 600; }
.sess__name { font-size: .975rem; font-weight: 760; font-stretch: 87.5%; line-height: 1.15; }
.sess__group { font-size: .8125rem; }
.sess.is-live { box-shadow: 0 0 0 2px var(--led), 0 0 26px -4px rgba(255, 45, 31, .8); }
.sess__live { display: none; align-self: flex-start; margin-top: .25rem; padding: .05rem .4rem; font-size: .75rem; font-weight: 800; font-stretch: 87.5%; background: #000; color: var(--led); border-radius: 2px; }
.sess.is-live .sess__live { display: inline-block; }
.sess.is-dim { opacity: .14; filter: grayscale(1); pointer-events: none; }
[data-k="boxen"] { --bg: var(--red); --fg: #fff; --edge: #ff8a7a; }
[data-k="kickboxen"] { --bg: #4a0a0d; --fg: var(--chalk); --edge: var(--red); }
[data-k="ringen"] { --bg: var(--chalk); --fg: #000; --edge: #555; }
[data-k="tanz"] { --bg: #2a2a2e; --fg: var(--chalk); --edge: var(--chalk); }

.days { display: none; }
.daylist { display: none; }
.plan__note { margin-top: 1.5rem; color: var(--smoke); font-size: .9375rem; }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .875rem; color: var(--smoke); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: .85rem; height: .85rem; border-radius: 2px; background: var(--bg); box-shadow: inset 3px 0 0 var(--edge); }

@media (max-width: 899px) {
  .week { display: none; }
  .days { display: flex; gap: .35rem; margin: 0 calc(var(--pad) * -1) 1rem; padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
  .days button {
    flex: 1 0 3.4rem; min-height: 3.6rem; display: grid; place-items: center; gap: 0; padding: .35rem .25rem;
    border: 1px solid var(--line); border-radius: 2px; font-size: 1.35rem; line-height: 1;
  }
  .days button small { font-size: .6875rem; font-weight: 600; font-stretch: 87.5%; text-transform: none; color: var(--smoke); }
  .days button[aria-selected="true"] { border-color: var(--led); box-shadow: inset 0 0 0 1px var(--led), 0 0 22px -6px rgba(255, 45, 31, .8); }
  .daylist { display: block; }
}
.row {
  width: 100%; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr) auto; align-items: center; gap: .9rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line); text-align: left;
}
.row:first-child { border-top: 1px solid var(--line); }
.row__time { font-weight: 800; font-stretch: 75%; font-size: 1.5rem; line-height: 1; }
.row__time small { display: block; font-size: .75rem; font-weight: 560; font-stretch: 87.5%; color: var(--smoke); margin-top: .3rem; }
.row__name { font-weight: 760; font-stretch: 87.5%; font-size: 1.0625rem; line-height: 1.2; display: flex; align-items: center; gap: .55rem; }
.row__name i { width: .65rem; height: .65rem; flex: none; border-radius: 2px; background: var(--bg); box-shadow: inset 3px 0 0 var(--edge); }
.row__meta { font-size: .875rem; color: var(--smoke); margin-top: .2rem; }
.row__cta { font-size: .875rem; font-weight: 700; font-stretch: 87.5%; color: var(--chalk); padding: .5rem .75rem; border: 1px solid var(--line); border-radius: 2px; white-space: nowrap; }
.row.is-live .row__meta { color: var(--chalk); }
.row.is-past { opacity: .4; }
.daylist__empty { padding: 1.5rem 0; color: var(--smoke); border-top: 1px solid var(--line); }

/* ---------- Kalender-Dialog ---------- */
.sheet {
  width: min(31rem, calc(100% - 2rem)); max-width: none; max-height: calc(100% - 2rem);
  padding: 0; border: 0; color: var(--chalk); background: #0b0b0b;
  box-shadow: 0 0 0 1px #262626, 0 40px 90px rgba(0, 0, 0, .85);
}
.sheet::backdrop { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet[open] { animation: sheetIn .4s var(--ease); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px); } }
.sheet__led { border-radius: 0; }
.sheet__body { padding: 1.5rem 1.5rem 1.6rem; display: grid; gap: 1.1rem; }
.sheet__kicker { font-size: .875rem; color: var(--smoke); }
.sheet__title { font-size: clamp(2.2rem, 8vw, 3rem); }
.sheet__when { font-size: 1.0625rem; font-weight: 600; font-stretch: 87.5%; }
.sheet__actions { display: grid; gap: .5rem; }
.sheet__actions .btn { width: 100%; justify-content: flex-start; }
.sheet__close { position: absolute; right: .5rem; top: .75rem; width: 44px; height: 44px; display: grid; place-items: center; }
.sheet__close svg { width: 18px; height: 18px; stroke: var(--chalk); }
@media (max-width: 599px) {
  .sheet { width: 100%; margin: auto 0 0; max-height: 92%; }
  .sheet[open] { animation: sheetUp .45s var(--ease); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
}

/* ---------- Probetraining ---------- */
.block { padding: clamp(2.5rem, 6vw, 5rem) var(--pad); border-top: 1px solid var(--line); }
.block__title { font-size: clamp(2.4rem, 6vw, 5.25rem); margin-bottom: clamp(1.25rem, 3vw, 2.25rem); }
.next { max-width: 52rem; }
.next .row__cta { border-color: var(--led); }
.next__more { margin-top: .75rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); counter-reset: s; }
.step { position: relative; padding-top: 1.1rem; border-top: 3px solid var(--chalk); }
.step::before { counter-increment: s; content: counter(s); display: block; font-weight: 900; font-stretch: 75%; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: var(--red); }
.step h3 { margin-top: .5rem; font-size: 1.375rem; font-weight: 800; font-stretch: 87.5%; }
.step p { margin-top: .35rem; color: var(--smoke); max-width: 22em; }
.bring { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); align-items: center; }
.bring strong { margin-right: .5rem; font-stretch: 87.5%; }
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: stretch; }
.visit__card { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); background: #0b0b0b; border: 1px solid #232323; display: grid; gap: 1.25rem; align-content: start; }
.visit__card > .led { position: absolute; top: -1px; left: -1px; right: -1px; border-radius: 0; }
.visit__addr { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 850; font-stretch: 80%; line-height: 1.1; text-transform: uppercase; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.contact a {
  display: flex; align-items: center; gap: .7rem; min-height: 3.25rem; padding: .65rem .9rem;
  border: 1px solid var(--line); border-radius: 2px; text-decoration: none; font-weight: 650; font-stretch: 87.5%;
  transition: border-color .2s, box-shadow .25s;
}
.contact a:hover { border-color: var(--led); box-shadow: 0 0 22px -8px rgba(255, 45, 31, .9); }
.contact svg { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.visit__photo { position: relative; min-height: 22rem; overflow: hidden; background: #111; }
.visit__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 720; font-stretch: 87.5%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: .7rem; height: .7rem; flex: none; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-25%); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 1.25rem; color: var(--smoke); max-width: 40em; }
@media (max-width: 899px) {
  .steps { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .visit__photo { min-height: 16rem; }
}
@media (max-width: 420px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Rechtliches / 404 ---------- */
.legal { padding: 0 var(--pad) var(--sec); max-width: calc(46rem + 2 * var(--pad)); }
.legal h2 { margin-top: 2.25rem; font-size: 1.375rem; font-weight: 800; font-stretch: 87.5%; }
.legal p, .legal ul { margin-top: .75rem; color: var(--smoke); }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { color: var(--chalk); }
.todo { background: #3a2b00; color: #ffd24a; padding: .05rem .35rem; border-radius: 2px; font-weight: 600; }
.lost { min-height: 100svh; display: grid; align-content: center; padding: calc(var(--nav-h) + 2rem) var(--pad) 3rem; }
.lost .pagehero__lead { margin-bottom: 2rem; }

/* ---------- „Licht an“ – Intro beim Laden ---------- */
.lights-off .nav > .led, .lights-off .pagehero .led { opacity: .1; box-shadow: none; }
.lights-off .hero__title .l, .lights-off .pagehero__title { color: #1c1c1c; text-shadow: none; }
.lights-off .hero__reel { opacity: 0; }
.lights-off [data-fade] { opacity: 0; transform: translateY(12px); }

.hero__title .l, .pagehero__title { text-shadow: 0 -.04em .32em rgba(255, 45, 31, .22); }
.motion .hero__title .l, .motion .pagehero__title { transition: color .5s ease, text-shadow 1.1s ease; }
.motion .hero__reel { transition: opacity .9s ease; }
.motion [data-fade] { transition: opacity .6s ease, transform .8s var(--ease); }
.nav > .led { transform-origin: left center; }

.lights-on .nav > .led { animation: ledOn .8s linear both; }
.lights-on .hero__title .l1 { transition-delay: .26s; }
.lights-on .hero__title .l2 { transition-delay: .34s; }
.lights-on .hero__title .l3 { transition-delay: .42s; }
.lights-on .pagehero__title { transition-delay: .26s; }
.lights-on .hero__reel { transition-delay: .3s; }
.lights-on [data-fade] { transition-delay: calc(.6s + var(--d, 0) * .08s); }
.quick.lights-on .nav > .led { animation-duration: .01s; }
.quick.lights-on .hero__title .l, .quick.lights-on .pagehero__title, .quick.lights-on .hero__reel, .quick.lights-on [data-fade] { transition-delay: 0s; transition-duration: .45s; }
@keyframes ledOn {
  0% { transform: scaleX(0); opacity: 1; box-shadow: var(--glow); }
  42% { transform: scaleX(1); opacity: 1; box-shadow: var(--glow); }
  52% { opacity: .2; box-shadow: none; }
  66%, 100% { transform: scaleX(1); opacity: 1; box-shadow: var(--glow); }
}

/* Seitenwechsel: kurzer Blackout statt hartem Schnitt */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .22s ease both; }
::view-transition-new(root) { animation: vtIn .32s ease both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .panel { transition: none; }
}
