/* Crunchtime – Website. Dunkel wie die App, schmale fette Titel wie „NÄCHSTES SPIEL“.
   Keine Fremd-Dienste: Schrift und Bilder liegen hier im Ordner. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-condensed-800-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --bg: #0E0E0F;
  --bg2: #151518;
  --line: #26262B;
  --ink: #EDEEF4;
  --muted: #A3A4AD;
  --dim: #6F7079;
  --cond: "Barlow Condensed", "SF Pro Display", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #8FA8FF; outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #111; padding: 8px 14px; border-radius: 999px; font-weight: 700; z-index: 10; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(5vw, 16px, env(safe-area-inset-left, 0px)); padding-right: max(5vw, 16px, env(safe-area-inset-right, 0px)); }

/* Kopf */
.top { position: sticky; top: 0; z-index: 5; background: rgba(14, 14, 15, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 24px/1 var(--cond); letter-spacing: .02em; text-transform: uppercase; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

/* Titel wie in der App */
.t { font-family: var(--cond); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; margin: 0; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 12px; }

/* Start: Halle */
.hall { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hall > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.court path { fill: none; stroke: rgba(237, 238, 244, .2); stroke-width: 1.5; }
.court .dash { stroke-dasharray: 7 9; stroke: rgba(237, 238, 244, .13); }
.cone { transform-origin: 600px -40px; animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding-block: clamp(48px, 8vw, 104px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(56px, 9vw, 112px); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 34em; margin: 24px 0 0; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font-size: 15px; }
.store b { font-weight: 700; }
.store span { color: var(--dim); }
.pilot { margin-top: 20px; color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 10px; }
.pilot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #FF453A; box-shadow: 0 0 0 4px rgba(255, 69, 58, .18); flex: none; }
.phone { justify-self: center; width: min(320px, 78vw); border-radius: 40px; padding: 8px; background: #1C1C21; box-shadow: 0 0 0 1px #2A2A31, 0 40px 80px rgba(0, 0, 0, .55); }
.phone img { border-radius: 32px; aspect-ratio: 598 / 1300; }

/* Abschnitte */
.band { padding-block: clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--line); }
.band h2 { font-size: clamp(44px, 6vw, 72px); }
.band .intro { color: var(--muted); font-size: 19px; max-width: 40em; margin: 20px 0 0; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.feats li { border-top: 1px solid var(--line); padding-top: 20px; }
.feats h3 { font: 800 30px/1 var(--cond); text-transform: uppercase; margin: 0 0 10px; }
.feats p { margin: 0; color: var(--muted); }
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.shots figure { margin: 0; }
.shots img { border-radius: 28px; border: 1px solid var(--line); aspect-ratio: 598 / 1300; }
.shots figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.shots figcaption b { color: var(--ink); font-weight: 600; display: block; }
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; }
.level { border: 1px solid var(--line); border-radius: 20px; padding: 20px; background: var(--bg2); }
.level h3 { font: 800 26px/1 var(--cond); text-transform: uppercase; margin: 0 0 8px; }
.level p { margin: 0; color: var(--muted); font-size: 15px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.mail { display: inline-flex; align-items: center; height: 56px; padding: 0 28px; border-radius: 999px; background: var(--ink); color: #111; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mail:hover { background: #fff; }
.mailtext { color: var(--muted); font-size: 15px; margin-top: 10px; text-align: right; overflow-wrap: anywhere; }

/* Fuß */
.foot { padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); color: var(--dim); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }

/* Rechtstexte */
.doc { padding-block: 48px 72px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(48px, 8vw, 80px); margin-bottom: 12px; }
.doc .stand { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font: 800 30px/1.05 var(--cond); text-transform: uppercase; margin: 48px 0 12px; scroll-margin-top: 80px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: #D6D7DE; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc address { font-style: normal; }
.toc { border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; background: var(--bg2); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.lede { font-size: 19px; color: var(--ink) !important; }


@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .court { display: none; } /* Auf dem Handy kreuzten die Linien den Titel; das Bildschirmfoto zeigt die Halle ohnehin. */
  .phone { width: min(280px, 72vw); }
  .feats, .levels { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .shots { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-right: calc(-1 * max(5vw, 16px)); padding-right: max(5vw, 16px); }
  .shots figure { scroll-snap-align: start; }
  .contact { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .mailtext { text-align: left; }
  .toc ol { columns: 1; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cone { animation: none; }
}
