/* ==========================================================================
   TTC Korb – Vereinswebsite
   Ein dunkles Design (kein Hell-Modus), Schrift: Figtree vom eigenen Server.
   Aufbau: Schrift · Tokens · Grundlagen · Kopf · Banner · Einstieg · Abschnitte
           · Tabellen · Spielplan · Kontakt · Fuß · Rechtstexte · schmale Screens
   ========================================================================== */

/* ---------- Schrift (SIL Open Font License, siehe assets/fonts/OFL.txt) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../assets/fonts/figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0a161b;
  --band: #0d1c22;
  --surface: #10222a;
  --surface-2: #152b34;
  --footer: #071014;

  --ink: #e7f1f5;
  --ink-strong: #f2f8fa;
  --soft: #b8ccd4;
  --muted: #9cb6c0;
  --faint: #8aa5b0;

  /* Himmelblau aus dem Logo: Auswahl, Schaltflächen, Hervorhebungen */
  --accent: #6cc1e5;
  --accent-ink: #0b2531;
  --link: #8ed3f0;
  --warn: #fbbf24;

  --line: rgba(148, 180, 193, 0.12);
  --line-2: rgba(148, 180, 193, 0.16);
  --line-3: rgba(148, 180, 193, 0.3);

  --gutter: 24px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Teamfarben: --team = Farbfläche, --team-ink = Schrift darauf,
   --team-soft = helle Schrift auf dunklem Grund, --team-tint/-edge = gedämpfte Fläche.
   Die drei Flächen sind auf Rot-Grün-Sehschwächen und gegen das Himmelblau geprüft. */
.team--h1 {
  --team: #d37e01;
  --team-ink: #0b2531;
  --team-soft: #eeb97b;
  --team-tint: rgba(211, 126, 1, 0.22);
  --team-edge: rgba(211, 126, 1, 0.6);
}
.team--h2 {
  --team: #ca3a80;
  --team-ink: #ffffff;
  --team-soft: #f4acc7;
  --team-tint: rgba(202, 58, 128, 0.24);
  --team-edge: rgba(202, 58, 128, 0.65);
}
.team--ju {
  --team: #805ddf;
  --team-ink: #ffffff;
  --team-soft: #c5bafa;
  --team-tint: rgba(128, 93, 223, 0.26);
  --team-edge: rgba(128, 93, 223, 0.7);
}

/* ---------- Grundlagen ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  transition: filter 0.15s ease;
}
button:hover {
  filter: brightness(1.12);
}
button:disabled:hover {
  filter: none;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
}
.skip-link:focus {
  top: 12px;
}

.icon {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Schaltflächen als Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
}
.btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--ghost {
  border-color: rgba(148, 180, 193, 0.35);
}
.btn--dark {
  background: var(--accent-ink);
  color: #ffffff;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--link);
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--link);
}

/* ---------- Kopf ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  display: block;
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 32px;
}
.nav a {
  padding: 12px 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.nav a:hover {
  color: var(--link);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border-radius: 12px;
  border: 1.5px solid var(--line-3);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon {
  width: 22px;
  height: 22px;
}
.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* ---------- Banner ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 56px 96px;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tag {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(108, 193, 229, 0.14);
  color: var(--link);
  font-size: 14px;
  font-weight: 600;
}

.hero h1 {
  margin: 20px 0;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink-strong);
  text-wrap: balance;
}

.hero__lead {
  margin: 0 0 32px;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.2vw + 0.8rem, 1.25rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.mosaic {
  position: relative;
  margin-top: 56px;
}

.mosaic__band {
  position: absolute;
  left: -60px;
  right: -60px;
  top: 42%;
  bottom: -36px;
  background: var(--accent);
  border-radius: 10px;
  transform: skewX(-23deg);
}

.mosaic__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.mosaic figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
}
.mosaic figure:nth-child(2) {
  margin-top: 36px;
}
.mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mosaic figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 22, 27, 0.88);
  font-size: 14px;
  font-weight: 700;
}
.mosaic figcaption span {
  font-weight: 500;
  color: var(--soft);
}

/* ---------- Einstieg: Einladung + zwei Karten ---------- */
.intro {
  padding-bottom: 96px;
}

.intro__stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding: 28px 36px;
  border-radius: 24px;
  background: var(--accent);
  color: var(--accent-ink);
}
.cta-strip__text {
  flex: 1 1 420px;
  min-width: 0;
}
.cta-strip h2 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.cta-strip p {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  scroll-margin-top: 16px;
}
.card h2 {
  margin: 0 0 24px;
  font-size: clamp(1.875rem, 2vw + 1.25rem, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.card .more-link {
  margin-top: auto;
}

.rows {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
}
.row {
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.row__time {
  flex: 0 0 auto;
  min-width: 60px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.row__time--range {
  min-width: 132px;
}
.row__sub {
  display: block;
  font-size: 15px;
  color: var(--muted);
}
.row .is-ours {
  font-weight: 700;
}

.card__note {
  margin: 24px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Abschnitte ---------- */
.section {
  padding-block: 96px;
  scroll-margin-top: 16px;
}
.section--line {
  border-top: 1px solid var(--line);
}
.section--band {
  background: var(--band);
  border-block: 1px solid var(--line);
}
.section--band + .site-footer,
.section--last {
  border-bottom: 0;
}

.section__head {
  margin-bottom: 40px;
}
.section__head h2,
.about__text h2 {
  margin: 0 0 14px;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  color: var(--muted);
}

/* Verein */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
}
.about__text {
  flex: 1.1 1 420px;
  min-width: 0;
}
.about__text h2 {
  margin-bottom: 20px;
}
.about__text p:not(.eyebrow) {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  color: var(--muted);
}
.about__text p:last-child {
  margin-bottom: 0;
}

.stats {
  flex: 0.9 1 340px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.stat strong {
  display: block;
  font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.stat span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

/* ---------- Mannschaften & Tabellen ---------- */
.table-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  align-items: start;
}

.table-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.table-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.table-card__head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--team);
}

.standings {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.standings th {
  padding: 8px 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-align: left;
}
.standings td {
  padding: 9px 6px;
  border-top: 1px solid rgba(148, 180, 193, 0.14);
}
.standings .num {
  text-align: right;
  white-space: nowrap;
}
.standings th:first-child,
.standings td:first-child {
  width: 34px;
}
.standings td:first-child {
  color: var(--muted);
}
.standings tr.is-ours td {
  background: var(--team-tint);
  color: var(--team-soft);
  font-weight: 800;
}

.table-card .more-link {
  margin-top: 8px;
}
.table-card .more-link .icon {
  width: 16px;
  height: 16px;
}

/* ---------- Spielplan ---------- */
.schedule__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line-3);
  background: transparent;
  color: #d5e3e9;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.chip-btn[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}
.chip-btn[class*="team--"] {
  border-color: var(--team-edge);
  background: var(--team-tint);
  color: var(--ink);
}
.chip-btn[class*="team--"][aria-pressed="true"] {
  border-color: var(--team);
  background: var(--team);
  color: var(--team-ink);
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 999px;
  border: 1.5px solid rgba(148, 180, 193, 0.2);
  background: var(--surface);
}
.segmented button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.segmented button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Kalender */
.cal-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}

.cal {
  flex: 1.35 1 520px;
  min-width: 0;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.cal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.cal__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.cal__count {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.cal__nav {
  display: flex;
  gap: 8px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-3);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.icon-btn .icon {
  width: 16px;
  height: 16px;
}

.cal__weekdays,
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.cal__weekdays {
  margin-bottom: 6px;
}
.cal__weekdays span {
  padding-block: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.day {
  min-width: 0;
  min-height: 84px;
  padding: 7px 9px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--faint);
  text-align: left;
}
.day.is-weekend {
  background: rgba(21, 43, 52, 0.55);
}
.day.is-today {
  border-color: rgba(148, 180, 193, 0.5);
  color: var(--ink);
  font-weight: 800;
}
.day__today {
  margin-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--link);
}

button.day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(148, 180, 193, 0.2);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
button.day .day__num {
  padding-inline: 2px;
}
button.day.is-today {
  border-color: rgba(148, 180, 193, 0.6);
}
button.day.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 10px 24px -10px rgba(108, 193, 229, 0.7);
  color: var(--accent-ink);
  font-weight: 800;
}
button.day.is-selected .day__today {
  color: var(--accent-ink);
}

/* Mannschafts-Etikett im Kalender: gefüllt = Heimspiel, umrandet = auswärts */
.pill {
  display: block;
  overflow: hidden;
  padding-inline: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pill--home {
  background: var(--team);
  color: var(--team-ink);
}
.pill--away {
  box-shadow: inset 0 0 0 1.5px var(--team);
  color: var(--team-soft);
}
.is-selected .pill--home {
  box-shadow: inset 0 0 0 1px rgba(11, 37, 49, 0.3);
}
.is-selected .pill--away {
  background: rgba(11, 37, 49, 0.12);
  color: var(--accent-ink);
}
.pill__short {
  display: none;
}

.cal__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 180, 193, 0.14);
}
.legend-chip {
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}
.legend-chip--home {
  background: var(--muted);
  color: var(--accent-ink);
}
.legend-chip--away {
  box-shadow: inset 0 0 0 1.5px var(--muted);
  color: #d5e3e9;
}

/* Tagesdetail */
.day-detail {
  flex: 0.65 1 280px;
  min-width: 0;
}
.day-detail .eyebrow {
  margin-bottom: 4px;
  font-size: 14px;
}
.day-detail__title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.match-stack,
.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.empty-note {
  margin: 0;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1.5px dashed var(--line-3);
  font-size: 15px;
  color: var(--muted);
}

/* Ein Spiel (Liste: nebeneinander, Tagesdetail: gestapelt) */
.match {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 16px 20px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.match__when {
  flex: 0 0 108px;
}
.match__date {
  display: block;
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.match__time {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.match__body {
  flex: 1 1 320px;
  min-width: 0;
}
.match__teams {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  font-size: 17px;
  line-height: 1.35;
}
.match__teams .is-ours {
  font-weight: 800;
}
.match__mid {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.match__mid.is-score {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.match__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}
.team-chip {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--team);
  color: var(--team-ink);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.match__side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
}

.badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.badge--home {
  background: rgba(108, 193, 229, 0.16);
  color: var(--link);
}
.badge--away {
  background: rgba(148, 180, 193, 0.14);
  color: var(--soft);
}
.badge--moved {
  background: rgba(251, 191, 36, 0.16);
  color: var(--warn);
}
.badge--win {
  background: rgba(126, 217, 170, 0.16);
  color: #86e0b3;
}
.badge--draw {
  background: rgba(231, 241, 245, 0.12);
  color: var(--ink);
}
.badge--loss {
  box-shadow: inset 0 0 0 1px rgba(148, 180, 193, 0.4);
  color: var(--muted);
}

.report-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  color: var(--link);
}
.report-link .icon {
  width: 15px;
  height: 15px;
}

.match--stack {
  display: block;
  padding: 18px 20px;
}
.match__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 8px;
}
.match__clock {
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.match__clock small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.match--stack .match__teams {
  margin-bottom: 10px;
}
.match--stack .report-link {
  margin: 6px 0 -10px;
}

/* Listen */
.list__count {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.list__month {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.list__month:first-child {
  margin-top: 0;
}
.list__more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.list__more .btn {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.empty-box {
  padding: 32px 24px;
  border-radius: 24px;
  border: 1.5px dashed var(--line-3);
  text-align: center;
}
.empty-box h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
}
.empty-box p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.footnote {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.contact-card--message {
  flex-direction: column;
  gap: 0;
}
.contact-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.contact-card--message h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.contact-card--message h3 .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.contact-card--message p {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--muted);
}
.contact-card--message .btn {
  margin-top: auto;
  min-height: 48px;
  padding: 0 24px;
}

.role {
  margin: 2px 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--link);
}
.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 15px;
}
.contact-rows div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
}
.contact-rows .icon {
  color: var(--accent);
}

/* ---------- Fuß ---------- */
.site-footer {
  padding-top: 64px;
  border-top: 1px solid var(--line);
  background: var(--footer);
  color: var(--muted);
}
.site-footer--slim {
  padding-top: 0;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-cols > div {
  flex: 1 1 200px;
  min-width: 0;
}
.footer-cols > .footer-about {
  flex: 1.4 1 280px;
}
.footer-about img {
  display: block;
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}
.footer-about p {
  margin: 0;
  max-width: 26rem;
  font-size: 15px;
}
.site-footer h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.site-footer li a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--soft);
}
.footer-contact {
  gap: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px;
  padding-bottom: max(20px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.site-footer--slim .footer-bottom {
  border-top: 0;
}
.footer-bottom nav {
  display: flex;
  gap: 24px;
}
.footer-bottom nav a {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Rechtstexte ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 600;
}

.legal {
  padding-block: 72px 96px;
  line-height: 1.6;
}
.legal > * {
  max-width: 46rem;
}
.legal h1 {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  overflow-wrap: anywhere;
}
.legal h2 {
  margin: 36px 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.legal p {
  margin: 0 0 12px;
  color: var(--soft);
  overflow-wrap: anywhere;
}
.legal .stand {
  margin-top: 36px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Schmale Screens ---------- */
@media (max-width: 760px) {
  /* Eigener Innenabstand, damit Logo und Menü-Knopf auch bei offenem Menü Luft nach oben haben */
  .site-header__inner {
    padding-block: 12px;
  }
  .nav-toggle {
    display: grid;
  }
  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 12px;
  }
  .nav a:last-child {
    padding-bottom: 6px;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .mosaic__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .mosaic figure:first-child {
    grid-column: 1 / -1;
  }
  .mosaic figure:nth-child(2) {
    margin-top: 0;
  }
  .mosaic figure {
    border-radius: 16px;
  }
  .mosaic__band {
    left: -40px;
    right: -40px;
    top: 34%;
    bottom: -24px;
  }
  .mosaic figcaption {
    left: 8px;
    bottom: 8px;
    max-width: calc(100% - 16px);
    padding: 6px 10px;
    font-size: 12px;
  }
  .mosaic figure:not(:first-child) figcaption span {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 20px;
  }

  .site-header__inner {
    min-height: 68px;
  }
  .brand img {
    height: 40px;
  }

  .hero {
    padding-block: 40px 72px;
  }
  .hero__actions {
    align-self: stretch;
  }
  .hero__actions .btn {
    flex: 1 1 200px;
  }
  .mosaic {
    margin-top: 40px;
  }

  .intro {
    padding-bottom: 64px;
  }
  .cta-strip,
  .card {
    padding: 24px;
  }
  .cta-strip h2 {
    font-size: 24px;
  }
  .cta-strip .btn {
    flex: 1 1 100%;
  }
  .rows {
    font-size: 16px;
  }
  .row {
    gap: 14px;
  }
  .row__time {
    min-width: 52px;
  }
  .row__time--range {
    min-width: 112px;
  }

  .section {
    padding-block: 64px;
  }
  .section__head {
    margin-bottom: 28px;
  }
  .about {
    gap: 32px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }

  .table-card {
    padding: 20px 16px;
  }

  .schedule__controls {
    margin-bottom: 20px;
  }
  .segmented {
    width: 100%;
  }
  .segmented button {
    padding: 0 8px;
  }

  .cal {
    padding: 16px 12px;
    border-radius: 20px;
  }
  .cal__weekdays,
  .cal__grid {
    gap: 4px;
  }
  .day {
    min-height: 58px;
    padding: 5px 4px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
  }
  button.day {
    gap: 3px;
    padding: 5px 3px;
    font-size: 13px;
  }
  button.day .day__num {
    padding-inline: 0;
  }
  .day__today {
    display: none;
  }
  .pill {
    padding-inline: 1px;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
    text-overflow: clip;
  }
  .pill__long {
    display: none;
  }
  .pill__short {
    display: inline;
  }

  .match {
    padding: 16px;
  }
  .match__when {
    flex: 1 1 100%;
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .match__side {
    justify-content: flex-start;
  }

  .contact-card {
    padding: 22px 20px;
    gap: 16px;
  }
  .contact-card--message .btn {
    align-self: stretch;
  }

  .site-footer {
    padding-top: 48px;
  }
  .legal {
    padding-block: 48px 64px;
  }
}

/* Handy im Querformat: wenig Höhe, deshalb knappere Abstände im Banner */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    padding-block: 28px 72px;
  }
  .hero h1 {
    margin-block: 14px;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
  }
  .hero__lead {
    margin-bottom: 20px;
  }
  .mosaic {
    margin-top: 36px;
  }
  .section {
    padding-block: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  button {
    transition: none;
  }
}
