/* Season Opening – TSV Zirndorf Leichtathletik */

/* Schriften: liegen die Dateien in assets/fonts/, werden sie genutzt (lokal gehostet, DSGVO-freundlich).
   Fehlen sie, greifen die System-Schriften darunter. Siehe ANLEITUNG.md. */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-800.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("fonts/barlow-condensed-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("fonts/inter-variable.woff2") format("woff2"); }

:root {
  --navy: #0E1A2B;
  --navy-line: #2A3A52;
  --accent: #C93A1F;
  --accent-text: #B8361C;
  --accent-light: #FF9A7E;
  --paper: #F4F2ED;
  --card: #FFFFFF;
  --soft: #E9E5DC;
  --line: #E6E3DC;
  --line-2: #EFEDE8;
  --ink: #121417;
  --ink-2: #3A414B;
  --muted: #5C6470;
  --on-dark: #DCE3EC;
  --on-dark-2: #C9D2DE;
  --on-dark-3: #9FB0C6;
  --cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; -webkit-text-size-adjust: 100%; }
a { color: var(--accent-text); }
a:hover { color: #8E2A15; }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.acc { color: var(--accent); }
.acc-l { color: var(--accent-light); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
h1, h2, h3 { margin: 0; }

/* Navigation */
.nav { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.nav-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding-top: 12px; padding-bottom: 12px; }
.brand { color: #fff; text-decoration: none; font-family: var(--cond); font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; }
.brand:hover { color: #fff; }
.nav nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 15px; font-weight: 500; }
.nav nav a { color: var(--on-dark); text-decoration: none; padding: 10px 0; display: inline-block; }
.nav nav a:hover { color: #fff; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.lanes { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; flex-direction: column; justify-content: space-between; opacity: .18; }
.lanes i, .lanes-side i { display: block; height: 2px; background: #fff; }
.hero-in { position: relative; display: flex; flex-direction: column; gap: 28px; padding-top: 72px; padding-bottom: 140px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { border: 1px solid #5B6B82; color: var(--on-dark); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }
.badge-acc { background: var(--accent); border-color: var(--accent); color: #fff; }
.display { font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(64px, 12vw, 168px); line-height: .86; letter-spacing: -.01em; }
.lead { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: var(--on-dark-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 12px 22px; border-radius: 6px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-acc { background: var(--accent); color: #fff; }
.btn-acc:hover { background: #A92F18; color: #fff; }
.btn-ghost { color: #fff; border: 1px solid #5B6B82; }
.btn-ghost:hover { color: #fff; border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { color: #fff; background: #1B2B42; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; display: inline-block; }
.dot-live { background: #1E9E5A; margin-right: 8px; vertical-align: middle; }

/* Eckdaten */
.facts-wrap { margin-top: -64px; position: relative; }
.facts { display: flex; flex-wrap: wrap; background: var(--card); border-radius: 12px; box-shadow: 0 12px 40px rgba(14,26,43,.14); overflow: hidden; }
.fact { flex: 1 1 220px; padding: 24px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact .k, .eyebrow-s { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-family: var(--cond); font-weight: 700; font-size: 30px; margin-top: 4px; line-height: 1.15; }
.fact .s { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Abschnitte */
.sec { padding-top: 72px; display: flex; flex-direction: column; gap: 28px; }
.sec-first { padding-top: 96px; }
.sec-last { padding-bottom: 96px; }
.head { display: flex; flex-direction: column; gap: 8px; }
.head-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.head-row p { margin: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
h2 { font-family: var(--cond); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 7.5vw, 52px); line-height: 1; overflow-wrap: break-word; }
.head-row > div { min-width: 0; }
h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; font-size: 26px; line-height: 1.1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.card.soft { background: var(--soft); border-color: var(--soft); }
.pad { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pad p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pad ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--ink-2); }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.kv b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu .kv { border-bottom: 0; border-top: 1px solid var(--line-2); font-size: 16px; }
.grid3, .grid2 { display: flex; flex-wrap: wrap; gap: 24px; }
.grid3 > * { flex: 1 1 320px; }
.grid2 > * { flex: 1 1 340px; }
.stack { display: flex; flex-direction: column; gap: 24px; }

/* Wettbewerbe */
.trow { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 18px 24px; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; }
.thead { background: var(--navy); color: var(--on-dark-3); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding-top: 14px; padding-bottom: 14px; }
.c1 { flex: 0 0 170px; }
.c1 b { display: block; font-family: var(--cond); font-weight: 700; font-size: 24px; line-height: 1.15; }
.c1 small { font-size: 13px; color: var(--muted); }
.c2 { flex: 1 1 360px; color: var(--ink-2); }
.c3 { flex: 0 0 150px; font-weight: 600; font-variant-numeric: tabular-nums; }
.thead .c2, .thead .c3 { color: inherit; font-weight: inherit; }

/* Zeitplan */
.teaser-light { padding: 32px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.teaser-light > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.teaser-light h3 { font-weight: 800; font-size: 32px; }
.teaser-light p { margin: 0; font-size: 16px; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { min-height: 44px; padding: 10px 18px; border-radius: 999px; font: 600 15px var(--sans); cursor: pointer; background: #fff; color: var(--ink); border: 1px solid #CFC9BD; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.zrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 16px 24px; border-top: 1px solid var(--line-2); }
.zrow:first-child { border-top: 0; }
.zrow .t { flex: 0 0 72px; font-family: var(--cond); font-weight: 700; font-size: 26px; font-variant-numeric: tabular-nums; }
.zrow .d { flex: 1 1 220px; font-weight: 600; font-size: 17px; }
.zrow .g { flex: 1 1 260px; color: var(--ink-2); font-size: 15px; }
.zrow .a { flex: 0 0 auto; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.zempty { padding: 32px 24px; color: var(--muted); }

/* Live */
.teaser-dark { background: var(--navy); color: #fff; border-radius: 16px; padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.lanes-side { position: absolute; right: -40px; top: 0; bottom: 0; width: 320px; display: flex; flex-direction: column; justify-content: center; gap: 14px; opacity: .16; }
.lanes-side i { height: 3px; background: var(--accent-light); }
.t-main { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.t-main .k, .events .k, .best .k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.display-s { font-family: var(--cond); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: clamp(36px, 5vw, 48px); line-height: .95; }
.t-main p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.55; color: var(--on-dark-2); }
.t-list { flex: 1 1 280px; position: relative; }
.t-list div { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--navy-line); }
.t-list div:last-child { border-bottom: 1px solid var(--navy-line); }
.t-list b { font-family: var(--cond); font-weight: 800; font-size: 32px; color: var(--accent-light); flex: 0 0 64px; }
.t-list span { color: var(--on-dark); }
.best-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.best { flex: 1 1 380px; background: var(--navy); color: #fff; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.best-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.best-top .n { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: 1; text-transform: uppercase; }
.best-top .m { font-size: 14px; color: var(--on-dark-2); margin-top: 4px; }
.best-top .p { font-size: 17px; font-weight: 600; margin-top: 8px; }
.best-top .pts { text-align: right; }
.best-top .pts b { display: block; font-family: var(--cond); font-weight: 800; font-size: 64px; line-height: .9; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.best-top .pts span { font-size: 12px; color: var(--on-dark-3); letter-spacing: .08em; text-transform: uppercase; }
.best-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--navy-line); font-size: 14px; }
.best-row .r { flex: 0 0 18px; color: var(--on-dark-3); font-weight: 600; }
.best-row .x { flex: 1 1 auto; min-width: 0; }
.best-row .x b { display: block; }
.best-row .x span { font-size: 12px; color: var(--on-dark-3); }
.best-row .q { font-family: var(--cond); font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.best-empty { color: var(--on-dark-2); }
.live-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.live-foot p { margin: 0; flex: 1 1 360px; font-size: 13px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px; border-radius: 8px; border: 1px solid #CFC9BD; background: #fff; color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
.toggle .box { width: 18px; height: 18px; border-radius: 4px; border: 2px solid var(--muted); }
.toggle[aria-pressed="true"] .box { background: var(--navy); border: 5px solid var(--navy); box-shadow: inset 0 0 0 2px #fff; }

/* Stadionplan, Bewirtung, Anfahrt */
.plan { padding: 16px; overflow-x: auto; border-radius: 16px; }
.plan-in { min-width: 640px; }
.pfand { background: var(--navy); color: #fff; border-radius: 12px; padding: 24px 28px; display: flex; align-items: center; gap: 16px; }
.pfand b { font-family: var(--cond); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent-light); }
.pfand span { color: var(--on-dark); font-size: 15px; }
.dark-box { display: flex; flex-wrap: wrap; gap: 32px; background: var(--navy); color: #fff; border-radius: 16px; padding: 40px; }
.dark-box > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.dark-box h2 { font-size: 44px; }
.addr { margin: 0; font-size: 17px; color: var(--on-dark-2); }
.events .ev { display: flex; gap: 20px; align-items: center; padding: 16px 0; border-top: 1px solid var(--navy-line); width: 100%; }
.events .ev b { font-family: var(--cond); font-weight: 700; font-size: 28px; flex: 0 0 96px; }
.muted-d { color: var(--on-dark-3); }

/* Footer */
.foot { border-top: 1px solid #DDD8CE; }
.foot-in { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--ink-2); }
.foot-in > div { flex: 1 1 220px; }
.foot-in .wide { flex: 2 1 360px; }
.foot-in strong { display: block; color: var(--ink); }
.legal { margin-top: 12px; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-in { padding-top: 48px; padding-bottom: 112px; }
  .lead { font-size: 17px; }
  .teaser-dark, .dark-box { padding: 28px 24px; }
  .best { padding: 24px; }
  .best-top .n { font-size: 32px; }
  .c1, .c3 { flex-basis: 100%; }
  .thead { display: none; }
  .trow:nth-child(2) { border-top: 0; }
  .c3::before { content: "Kugel m / w: "; font-weight: 400; color: var(--muted); }
  .nav { position: static; }
  .nav nav { gap: 0 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
