/* =====================================================================
   1. FC HEILSBRONN — "Matchday Monochrome"
   Vereinsfarben: Schwarz / Weiß. Signal-Rot nur funktional.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0B0B0C;
  --ink-soft:   #15161A;
  --ink-2:      #1E2026;
  --white:      #FFFFFF;
  --paper:      #F5F5F3;
  --paper-2:    #ECECE8;
  --mute:       #8A8D93;
  --mute-dark:  #5B5E66;
  --accent:     #0B0B0C;   /* Schwarz als Standard-Akzent */
  --accent-ink: #1E2026;   /* dunkleres Grau für Hover */
  --gold:       #FFFFFF;   /* Weiß statt Gelb */
  --red:        #E2001A;   /* Wappenrot — nur LIVE/Niederlage, sehr sparsam */

  --line-light: rgba(255, 255, 255, 0.12);
  --line-dark:  rgba(11, 11, 12, 0.12);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 56px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-synthesis: none; /* Anton gibt es nur in einer Stärke – kein künstliches Fettrechnen */
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.hero .eyebrow,
.section--ink .eyebrow,
.teaser-team .eyebrow {
  color: var(--white);
}
.hero .eyebrow::before,
.section--ink .eyebrow::before,
.teaser-team .eyebrow::before {
  background: var(--white);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

/* Diagonale Trikot-Schräge — Signature */
.slash {
  position: relative;
  display: inline-block;
}
.slash::after {
  content: "";
  position: absolute;
  left: 0; bottom: -0.1em;
  width: 100%; height: 0.08em;
  background: var(--white);
  transform: skewX(-18deg);
}

/* ====================================================================
   HEADER / NAV
   ==================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled,
.site-header--solid {
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand__logo {
  width: 42px;
  height: 42px;
  flex: none;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
  object-fit: contain;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 3px;
}
.nav__links { display: flex; align-items: center; gap: clamp(18px, 1.7vw, 34px); }
.brand__sub, .nav__actions .btn { white-space: nowrap; }
.nav__links > li > a {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav__links > li > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--white);
  transition: width 0.25s var(--ease);
}
.nav__links > li > a:hover,
.nav__links > li > a[aria-current="page"] { opacity: 1; }
.nav__links > li > a:hover::after,
.nav__links > li > a[aria-current="page"]::after { width: 100%; }

/* Navigation Dropdown (Desktop) */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav__dropdown-trigger::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s var(--ease);
}
.nav__links > li > a.nav__dropdown-trigger::after,
.nav__links > li > a.nav__dropdown-trigger:hover::after,
.nav__links > li > a.nav__dropdown-trigger[aria-current="page"]::after {
  position: static; width: 5px; height: 5px; background: none;
}
.nav__links > li > a.nav__dropdown-trigger[aria-current="page"] { text-decoration: underline 2px; text-underline-offset: 9px; }
.nav__dropdown:hover .nav__dropdown-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--ink-soft);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 10px 0;
  min-width: 170px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 150;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu li {
  width: 100%;
}
.nav__dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.2s, background-color 0.2s;
  letter-spacing: 0.05em;
}
.nav__dropdown-menu a:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
}
.nav__dropdown-menu a::after {
  display: none !important; /* Unterlinie für Untermenü ausblenden */
}

/* Dropdown auf Mobile */
@media (max-width: 1240px) {
  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.02);
    padding: 0;
    box-shadow: none;
    border: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    border-radius: 0;
    min-width: 100%;
  }
  /* Antippen löst auf Touchgeräten auch :hover aus – ohne das würde die Desktop-Zentrierung
     (translateX(-50%)) das Untermenü halb aus dem Bildschirm schieben */
  .nav__dropdown:hover .nav__dropdown-menu {
    transform: none;
  }
  /* Pfeil folgt nur dem Auf-/Zuklappen, nicht dem (beim Antippen hängenbleibenden) :hover */
  .nav__dropdown:hover .nav__dropdown-trigger::after {
    transform: rotate(45deg);
  }
  .nav__dropdown.open .nav__dropdown-menu {
    max-height: 350px;
  }
  .nav__dropdown.open .nav__dropdown-trigger::after {
    transform: rotate(-135deg);
  }
  .nav__dropdown-menu a {
    padding: 14px var(--gutter) 14px calc(var(--gutter) + 16px) !important;
    font-size: 0.78rem;
    border-bottom: 1px solid var(--line-light);
    opacity: 0.85;
  }
  .nav__dropdown-menu a:last-child {
    border-bottom: none;
  }
}

.nav__actions { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ghost { color: var(--white); border: 1px solid var(--line-light); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--ink:hover { background: var(--ink-2); }
.btn--lg { padding: 16px 30px; font-size: 0.85rem; }

.hero .btn--accent,
.section--ink .btn--accent,
.teaser-team .btn--accent,
.site-header .btn--accent {
  background: var(--white);
  color: var(--ink);
}
.hero .btn--accent:hover,
.section--ink .btn--accent:hover,
.teaser-team .btn--accent:hover,
.site-header .btn--accent:hover {
  background: var(--paper-2);
}

.nav__burger { display: none; width: 44px; height: 44px; color: var(--white); flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.nav__burger span { width: 24px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-bottom: clamp(40px, 7vw, 90px);
  padding-top: 120px;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(11,11,12,0.88) 0%, rgba(11,11,12,0.55) 45%, rgba(11,11,12,0.15) 100%),
    linear-gradient(180deg, rgba(11,11,12,0.5) 0%, rgba(11,11,12,0) 30%, rgba(11,11,12,0.85) 100%),
    url("../img/team-1-herren.webp");
  background-size: cover;
  background-position: 60% 55%;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.05);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

/* Trikot-Schräge über dem Hero */
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 0; bottom: 0;
  width: 46%;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.05) 2px,
    transparent 2px,
    transparent 26px
  );
  transform: skewX(-12deg);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__kicker { margin-bottom: 22px; }
.hero__title {
  font-size: clamp(3.2rem, 12vw, 11rem);
  letter-spacing: -0.01em;
}
.hero__title span { display: block; }
.hero__title .slash { width: fit-content; }
.hero__title .thin { color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.hero__lead {
  max-width: 540px;
  margin-top: 26px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__meta {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.hero__scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 26px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__scroll::after { content: ""; width: 1px; height: 34px; background: linear-gradient(var(--accent), transparent); }

/* Reveal animation */
/* Nur verstecken, wenn JavaScript läuft — sonst bleiben Inhalte für Suchmaschinen/ohne JS sichtbar */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ====================================================================
   MATCH CENTER
   ==================================================================== */
.matchbar {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line-light);
}
.matchbar__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.matchcard {
  padding: 30px var(--gutter);
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.matchcard:last-child { border-right: none; }
.matchcard__label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.matchcard__teams { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.matchcard__team { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; text-align: center; }
.matchcard__crest {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.8rem;
}
img.matchcard__crest {
  border: none;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
  object-fit: contain;
}
.matchcard__crest--fch { background: var(--white); color: var(--ink); border-color: var(--white); }
.matchcard__abbr { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; }
.matchcard__score { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.04em; }
.matchcard__vs { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--mute); }
.matchcard__meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--mute); text-align: center; }
.matchcard__result--win { color: #36d07a; }
.matchcard__result--loss { color: #ff5a6a; }
.matchcard__result--draw { color: var(--white); }
.matchcard__crest--text { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; }
.matchcard__empty { text-align: center; color: rgba(255,255,255,0.75); line-height: 1.6; padding-block: 12px; }
.matchcard__empty a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* Countdown */
.countdown { display: flex; gap: 14px; justify-content: center; }
.countdown[hidden] { display: none; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.countdown__num { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown__lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-top: 5px; }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(226,0,26,0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(226,0,26,0.6);} 70% { box-shadow: 0 0 0 9px rgba(226,0,26,0);} 100% { box-shadow: 0 0 0 0 rgba(226,0,26,0);} }

/* ====================================================================
   SECTION SHELL
   ==================================================================== */
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--paper { background: var(--paper); }
.section--paper, .membership-section, .legal { --mute: var(--mute-dark); }
.section--tight-top { padding-top: clamp(16px, 3vw, 40px); }
.section--ink { background: var(--ink); color: var(--white); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(34px, 5vw, 60px);
  flex-wrap: wrap;
}
.section__title { font-size: clamp(2.4rem, 6vw, 5rem); }
.link-more {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: gap 0.2s var(--ease), border-color 0.2s;
}
.link-more:hover { gap: 15px; border-color: var(--accent); }

/* ====================================================================
   NEWS GRID
   ==================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1px;
  align-items: start;
}
.news-grid > .news-card { box-shadow: 0 0 0 1px var(--line-dark); }
.news-grid--few .news-card--feature { grid-row: auto; }
.section--ink .news-grid { background: var(--line-light); border-color: var(--line-light); }

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
}
.section--ink .news-card { background: var(--ink); }
.news-card--feature { grid-row: span 2; }

.news-card__img {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-height: 180px;
  background: var(--ink-soft);
}
.news-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.5s;
}
.news-card:hover .news-card__img img { transform: scale(1.06); filter: grayscale(0.2); }
.news-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 5px 10px;
  font-weight: 600;
  z-index: 2;
}
.news-card__tag--ink { background: var(--ink); }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-card__date { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--mute); text-transform: uppercase; }
.news-card__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-size: 1.35rem;
  transition: color 0.2s;
}
.news-card--feature .news-card__title { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.news-card:hover .news-card__title { text-decoration: underline; }
.news-card__excerpt { color: var(--mute-dark); font-size: 0.92rem; line-height: 1.5; max-width: 62ch; }
.section--ink .news-card__excerpt { color: var(--mute); }
.news-card__readmore {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  margin-top: auto;
  transition: opacity 0.2s, transform 0.2s;
}
.section--ink .news-card__readmore {
  color: var(--white);
}
.news-card:hover .news-card__readmore {
  opacity: 0.8;
  transform: translateX(4px);
}
.news-card__link { position: absolute; inset: 0; z-index: 3; }

/* ====================================================================
   KADER / SPIELER
   ==================================================================== */
.squad-tabs {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 16px;
  overflow-x: auto;
}
.tab-btn {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--mute-dark);
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  text-align: left;
  border: 1px solid transparent;
  flex: none;
}
.tab-btn:hover {
  color: var(--ink);
}
.tab-btn__league { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: 0.75rem; text-transform: none; color: var(--mute-dark); }
.tab-btn.active {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line-dark);
}

.squad-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.squad-filter[hidden], .empty-note[hidden], [data-staff-block][hidden] { display: none; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover { border-color: var(--ink); background-color: var(--paper-2); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

.squad {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.squad__pos-group {
  display: block;
}
.squad__pos-group[hidden] { display: none; }
.squad__pos-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
  padding: 48px 0 20px;
}
.squad__pos-group:first-child .squad__pos-heading { padding-top: 8px; }
.squad__pos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 28px 16px;
}
.staff-grid--spaced { margin-bottom: 64px; }

/* --------------------------------------------------------------------
   Spielerkarte im Stil der Profi-Kaderseiten:
   helle Foto-Kachel (Graustufen, Wappen als Wasserzeichen),
   große Rückennummer, Name darunter auf dunklem Grund
   -------------------------------------------------------------------- */
.player { position: relative; color: var(--white); }
.player[hidden] { display: none; }
.player__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ECECE8;
  isolation: isolate;
}
.player__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Graustufen + aufgehellte Mitteltöne: das Wappen im Hintergrund wird zum dezenten Wasserzeichen,
     die schwarzen Trikots bleiben satt */
  filter: grayscale(1) brightness(1.18) contrast(1.22);
  mix-blend-mode: multiply;
  transform: scale(1.14);
  transform-origin: center bottom;     /* Spieler größer im Bild, wie bei Freisteller-Fotos */
  transition: filter 0.5s var(--ease), transform 0.6s var(--ease);
}
.player:hover .player__img { filter: none; transform: scale(1.18); }
.player__num {
  position: absolute;
  top: 10px; right: 14px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.2vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.player__initials {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.6rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 11, 12, 0.28);
  background:
    repeating-linear-gradient(135deg, rgba(11,11,12,0.04) 0 2px, transparent 2px 18px),
    #ECECE8;
}
.player__caption {
  display: flex;
  flex-direction: column;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line-light);
  position: relative;
}
.player__caption::after {
  content: "";
  position: absolute; left: 0; bottom: -1px;
  height: 2px; width: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.player:hover .player__caption::after { transform: scaleX(1); }
.player__role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.player__first { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.2; }
.player__last {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

/* Dunkler Kaderbereich: Reiter, Filter und Hinweise anpassen */
.squad-section { background: var(--ink); color: var(--white); --mute: #9DA0A6; }
.squad-section--staff { padding-top: 0; }
/* Mannschaft ohne Spielerkarten: Trainerteam direkt unter dem Mannschaftsfoto */
.squad-section.is-team-only { padding-bottom: 0; }
/* Namen unter dem Mannschaftsfoto */
.squad-caption { margin: -22px 0 34px; max-width: 80ch; font-size: .88rem; line-height: 1.6; color: var(--mute); }
/* Training und Ansprechpartner je Mannschaft (unter dem Mannschaftsfoto) */
.team-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2px; margin: 0 0 40px; background: var(--line-light); border: 1px solid var(--line-light); }
.team-info[hidden] { display: none; }
.team-info__col { background: var(--ink); padding: 22px 24px; }
.team-info__title { font-size: 1.5rem; margin-bottom: 14px; }
.team-info__times { display: grid; gap: 10px; }
.team-info__times li { display: grid; grid-template-columns: 7.5rem auto; column-gap: 14px; align-items: baseline; }
.team-info__times b { font-weight: 700; }
.team-info__times span { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.team-info__times small { grid-column: 2; font-size: .82rem; color: var(--mute); }
.team-info__note { color: var(--mute); }
.team-contact { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.team-contact__img { width: 56px; height: 56px; flex: none; border-radius: 50%; object-fit: cover; object-position: top; background: #1c1d21; }
.team-contact__img--initials { display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
.team-contact b { display: block; font-size: 1.05rem; }
.team-contact small { display: block; font-size: .85rem; color: var(--mute); }
.team-contact__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-contact__actions .btn { flex: 1 1 auto; justify-content: center; }
@media (max-width: 720px) { .team-info { grid-template-columns: 1fr; } .team-info__col { padding: 18px; } }
/* Schmale Zeile unter dem Mannschaftsfoto (Mannschaften mit Spielerkarten) */
.team-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin: -14px 0 34px; padding: 14px 18px; border: 1px solid var(--line-light); font-size: .92rem; }
.team-line[hidden], .team-contact-section[hidden], .cta-band[hidden] { display: none; }
.team-line b { margin-right: 6px; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.team-line a { margin-left: auto; font-weight: 700; white-space: nowrap; }
.team-contact-section { padding-top: 0; }
.team-contact-section .section__title { margin-bottom: 22px; }
.team-contact-section .team-info { margin-bottom: 0; }
#kontakt { scroll-margin-top: 90px; }
.team-tile__train { margin-top: 6px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.squad-section .section__head { margin-bottom: 20px; padding-top: 48px; }
.squad-section .section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.squad-section .squad-tabs { border-bottom-color: var(--line-light); }
.squad-section .tab-btn { color: rgba(255,255,255,0.55); }
.squad-section .tab-btn:hover { color: var(--white); }
.squad-section .tab-btn.active { background: var(--white); color: var(--ink); border-color: var(--white); }
.squad-section .tab-btn__league { color: inherit; opacity: 0.75; }
.squad-section .chip { color: var(--white); border-color: var(--line-light); }
.squad-section .chip:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
.squad-section .chip[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.squad-section .empty-note { border-color: var(--line-light); color: rgba(255,255,255,0.75); }
.squad-section .empty-note a { color: var(--white); }
.squad-section .squad-banner { border-color: var(--line-light); }

/* ====================================================================
   KADER TEASER (Startseite)
   ==================================================================== */
.teaser-team { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; align-items: stretch; }
.teaser-team__media {
  background-image:
    linear-gradient(120deg, rgba(11,11,12,0.2), rgba(11,11,12,0.85)),
    url("../img/team-2-herren.webp");
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  min-height: 420px;
}
.teaser-team__body { background: var(--ink-soft); color: var(--white); padding: clamp(36px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.teaser-team__title { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.teaser-team__text { color: rgba(255,255,255,0.78); max-width: 46ch; }

/* ====================================================================
   SPONSORS
   ==================================================================== */
.sponsors { padding-block: clamp(48px, 6vw, 80px); background: var(--paper); border-top: 1px solid var(--line-dark); }
.sponsors__head { text-align: center; margin-bottom: 40px; }
.sponsors__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.sponsors__item {
  background: var(--paper);
  display: grid; place-items: center;
  padding: 34px 20px;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--mute-dark);
  letter-spacing: 0.04em;
  transition: color 0.25s, background 0.25s;
}
.sponsors__item:hover { color: var(--ink); background: var(--paper-2); }

/* ====================================================================
   CTA BANNER
   ==================================================================== */
.cta-band {
  position: relative;
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,0.08) 0 2px, transparent 2px 28px);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(44px, 6vw, 74px); flex-wrap: wrap; }
.cta-band__title { font-size: clamp(2rem, 4.5vw, 3.6rem); max-width: 16ch; }
.cta-band .btn--ink { background: var(--white); color: var(--ink); }
.cta-band .btn--ink:hover { background: var(--paper-2); }

/* ====================================================================
   FOOTER
   ==================================================================== */
.footer { background: #000; color: var(--white); padding-top: clamp(54px, 7vw, 90px); }

/* Sponsoren-Leiste im Footer */
.footer__sponsors {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "head cta" "logos logos";
  align-items: center;
  gap: 28px 48px;
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--line-light);
}
.footer__sponsors .footer__heading { margin: 0; grid-area: head; }
.footer__sponsors-grid {
  grid-area: logos;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 56px;
  list-style: none;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  height: 44px;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
}
.sponsor-logo img { height: 100%; width: auto; max-width: 200px; object-fit: contain; }
.sponsor-logo:hover, .sponsor-logo:focus-visible { opacity: 1; }
.footer__sponsors-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding-block: 10px;
  grid-area: cta;
}
.footer__sponsors-cta:hover { color: var(--white); }
@media (max-width: 768px) {
  .footer__sponsors { grid-template-columns: 1fr; grid-template-areas: "head" "logos" "cta"; justify-items: center; text-align: center; }
  .footer__sponsors-grid { gap: 24px 40px; justify-content: center; }
  .sponsor-logo { height: 36px; }
}

.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__brand .brand__logo { width: 46px; height: 46px; }
.footer__about { color: var(--mute); font-size: 0.92rem; max-width: 34ch; }
.footer__heading { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white); margin-bottom: 18px; }
.footer__col li { margin-bottom: 4px; color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.footer__col a { display: inline-block; padding-block: 8px; color: rgba(255,255,255,0.78); font-size: 0.92rem; transition: color 0.2s; }
.footer__address { padding-block: 8px; line-height: 1.5; }
.footer__brand .brand__name { color: var(--white); }
.footer__col a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-light); border-radius: 50%; transition: background 0.2s, color 0.2s; }
.footer__social a:hover { background: var(--white); color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 0 16px; padding-block: 26px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--mute); }
.footer__bottom a { display: inline-block; padding-block: 10px; }
.footer__bottom a:hover { color: var(--white); }

/* ====================================================================
   PAGE HERO (Unterseiten)
   ==================================================================== */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding-top: 150px;
  padding-bottom: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -6%; top: 0; bottom: 0; width: 40%;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
  transform: skewX(-12deg);
}
.page-hero__title { font-size: clamp(2.8rem, 9vw, 7rem); position: relative; z-index: 2; }
.page-hero__lead { color: var(--mute); max-width: 52ch; margin-top: 18px; position: relative; z-index: 2; }

/* ====================================================================
   PLAYER MODAL
   ==================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(6px); }
.modal__box {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  animation: modalIn 0.4s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
.modal__media { position: relative; background: var(--paper-2); overflow: hidden; }
.modal__media .player__num { font-size: 12rem; color: rgba(11, 11, 12, 0.04); }
.modal__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-color: var(--paper-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='32' r='14' fill='%23A0A09E'/><path d='M22 85 C22 62, 34 52, 50 52 C66 52, 78 62, 78 85 Z' fill='%23A0A09E'/></svg>");
  background-repeat: no-repeat;
  background-size: 60% auto;
  background-position: center bottom;
  z-index: 1;
}
.modal__media::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(245,245,243,0.85)); z-index: 2; }
.modal__content { padding: 36px 38px; overflow-y: auto; }
.modal__pos { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute-dark); }
.modal__name { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 0.95; margin-top: 10px; }
.modal__statgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line-dark); border: 1px solid var(--line-dark); margin-top: 26px; }
.modal__stat { background: var(--paper); padding: 18px; text-align: center; }
.modal__stat b { font-family: var(--font-display); font-size: 1.8rem; display: block; }
.modal__stat span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-dark); }
.modal__bio { margin-top: 24px; color: var(--mute-dark); font-size: 0.94rem; line-height: 1.7; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-dark); color: var(--ink); border-radius: 50%; font-size: 1.2rem; transition: background 0.2s; }
.modal__close:hover { background: var(--ink); color: var(--white); }

/* ====================================================================
   RESPONSIVE
   ==================================================================== */
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--feature { grid-column: span 2; grid-row: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1240px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11,11,12,0.98);
    backdrop-filter: blur(14px);
    padding: 10px 0 20px;
    border-top: 1px solid var(--line-light);
  }
  .nav.open .nav__links a { padding: 16px var(--gutter); width: 100%; opacity: 1; transition: background 0.2s, color 0.2s; }
  .nav.open .nav__links > li > a::after { display: none; }
  .nav.open .nav__links > li > a { display: block; }
  .nav.open .nav__links > li > a.nav__dropdown-trigger { display: flex; justify-content: space-between; text-decoration: none; }
  .nav.open .nav__links > li > a.nav__dropdown-trigger::after { display: inline-block; margin-right: 4px; }
  .nav.open .nav__links > li.nav__mobile-only > a.btn--light { display: flex; color: var(--ink); justify-content: center; }
  .nav.open .nav__links > li { width: 100%; }
  .nav.open .nav__links a[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);
  }
  .nav.open { }
  .nav.open .nav__links { min-height: calc(100svh - 76px); overflow-y: auto; }
}
@media (max-width: 860px) {
  .hero { min-height: 92svh; }
  .matchbar__grid { grid-template-columns: 1fr; }
  .matchcard { border-right: none; border-bottom: 1px solid var(--line-light); }
  .stats { grid-template-columns: 1fr 1fr; }
  .teaser-team { grid-template-columns: 1fr; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__media { min-height: 220px; }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card--feature { grid-column: auto; }
  .stats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .matchbar :focus-visible, .page-hero :focus-visible,
.teaser-team :focus-visible, .cta-band :focus-visible, .footer :focus-visible, .section--ink :focus-visible {
  outline-color: var(--white);
}
::selection { background: var(--ink); color: var(--white); }
.hero ::selection, .matchbar ::selection, .page-hero ::selection, .footer ::selection { background: var(--white); color: var(--ink); }

/* Mannschaftsfoto Banner */
.squad-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 220px;
  max-height: 400px;
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--line-light);
  margin-bottom: 34px;
}
.squad-banner__image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.squad-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.8s var(--ease);
}
.squad-banner:hover img {
  transform: scale(1.03);
}
.squad-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,0.0) 50%, rgba(11,11,12,0.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  z-index: 2;
  color: var(--white);
}
.squad-banner__tag {
  color: var(--white) !important;
  font-size: 0.72rem;
  margin-bottom: 8px;
}
.squad-banner__tag::before {
  background: var(--white) !important;
}
.squad-banner__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .squad-banner {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 860px) {
}

/* Spielplan & Tabelle Grid */
.fixtures-table-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 60px);
}
.fixtures-col, .table-col {
  background: var(--white);
  padding: 34px;
  border: 1px solid var(--line-dark);
}
.fixtures-title {
  margin-bottom: 24px;
  color: var(--ink) !important;
}
.fixtures-title::before {
  background: var(--ink) !important;
}
.fixtures-list { list-style: none; }
.fixtures-list {
  display: flex;
  flex-direction: column;
}
.fixture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.92rem;
}
.fixture-row:last-child {
  border-bottom: none;
}
.fixture-date {
  display: flex;
  flex-direction: column;
  min-width: 60px;
}
.fixture-date .day {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute-dark);
  text-transform: uppercase;
}
.fixture-date .date {
  font-weight: 700;
}
.fixture-match {
  flex: 1;
  padding-inline: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fixture-match .home, .fixture-match .away {
  font-weight: 600;
}
.fixture-match .vs {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--mute-dark);
}
.fixture-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 80px;
}
.fixture-info .time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}
.fixture-info .location {
  font-size: 0.72rem;
  color: var(--mute-dark);
}

/* Mini Tabelle */
.mini-table-wrapper {
  overflow-x: auto;
}
.mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.mini-table th, .mini-table td {
  padding: 12px 8px;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
}
.mini-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute-dark);
  text-transform: uppercase;
  font-weight: 600;
}
.mini-table td {
  font-weight: 500;
}
.mini-table tr.highlight {
  background: var(--ink);
  color: var(--white);
}
.mini-table tr.highlight td {
  font-weight: 700;
  border-bottom-color: var(--ink);
}
.txt-center {
  text-align: center !important;
}
.table-legend {
  font-size: 0.78rem;
  color: var(--mute-dark);
  margin-top: 16px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .fixtures-table-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .fixtures-col, .table-col { padding: 22px 18px; }
  .mini-table th, .mini-table td { padding-inline: 6px; white-space: nowrap; }
  .mini-table td:nth-child(2) { width: 100%; max-width: 0; white-space: normal; }   /* Vereinsname bricht um, Zahlen bleiben im Bild */
  .mini-table .table-team { display: flex; line-height: 1.25; overflow-wrap: break-word; }
}
@media (max-width: 500px) {
  .fixture-row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .fixture-match {
    width: 100%;
    flex: 1 1 100%;   /* eigene Zeile unter Datum und Uhrzeit (flex: 1 allein ignoriert die Breite und quetscht die Teams daneben) */
    padding-inline: 0;
    order: 3;
    min-width: 0;
    display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);   /* zwei gleich breite Spalten: kein Team wird auf Buchstabenbreite gestaucht */
  }
  .fixture-match .fixture-team { min-width: 0; overflow-wrap: break-word; }   /* lange Namen brechen zwischen Wörtern um statt über den Rand */
}

/* ====================================================================
   MITGLIEDSCHAFT SEKTION
   ==================================================================== */
.membership-section {
  padding-block: clamp(64px, 9vw, 130px);
  background: var(--white);
  border-top: 1px solid var(--line-dark);
}
.membership-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(30px, 5vw, 60px);
}
.membership-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.membership-text { color: var(--mute-dark); max-width: 60ch; line-height: 1.65; }
.membership-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.membership-downloads__title { font-family: var(--font-display); font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.membership-contact { border-top: 1px solid var(--line-dark); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.membership-contact p { font-weight: 600; }
.membership-contact .btn { justify-content: center; }
.membership-downloads {
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.download-title {
  margin-bottom: 8px;
  color: var(--ink) !important;
}
.download-title::before {
  background: var(--ink) !important;
}
.download-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line-dark);
  transition: border-color 0.2s, background-color 0.2s;
}
.download-item:hover {
  border-color: var(--ink);
  background-color: var(--paper-2);
}
.download-info {
  display: flex;
  flex-direction: column;
}
.download-name {
  font-weight: 600;
  font-size: 0.92rem;
}
.download-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute-dark);
}
.download-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.2s;
}
.download-item:hover .download-icon-btn {
  transform: translateY(-2px);
}

@media (max-width: 860px) {
  .membership-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .membership-rates {
    grid-template-columns: 1fr;
  }
}

/* ====================================================================
   MOBILE & SMARTPHONE OPTIMISATIONS
   ==================================================================== */

/* Mobil-Eintrag standardmäßig verstecken */
.nav__mobile-only {
  display: none;
}

@media (max-width: 1240px) {
  /* Mobil-Button für Mitgliedschaft im Menü */
  .nav__mobile-only {
    display: block;
    width: 100%;
    padding: 10px 24px 20px;
  }
  .nav__mobile-only .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.85rem;
  }
}

/* Platzmangel im Header auf Smartphones verhindern */
@media (max-width: 600px) {
  .nav__actions .btn {
    display: none;
  }
}

/* Buttons auf Handys auf die volle Breite skalieren für bessere Klickbarkeit */
@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    width: 100%;
  }
  .hero__cta .btn,
  .cta-band__inner .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cta-band__title {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

/* Download-Buttons auf sehr schmalen Displays kompakter darstellen */
@media (max-width: 400px) {
  .download-item {
    padding: 12px;
  }
  .download-name {
    font-size: 0.85rem;
  }
  .download-meta {
    font-size: 0.72rem;
  }
  .download-icon-btn {
    width: 32px;
    height: 32px;
  }
}

/* ====================================================================
   RECHTLICHE SEITEN (Impressum, Datenschutz)
   ==================================================================== */
.legal { padding-top: 140px; min-height: 70vh; }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__title { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; line-height: 0.95; margin: 12px 0 32px; color: var(--ink); }
.legal h2 { font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin: 36px 0 10px; color: var(--ink); }
.legal p { line-height: 1.7; color: var(--ink); margin-bottom: 12px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin: 26px 0 8px; color: var(--ink); }
.legal h4 { font-size: 0.98rem; font-weight: 700; margin: 18px 0 6px; color: var(--ink); }
.legal ul { margin: 0 0 12px 1.2em; padding: 0; list-style: disc; }
.legal li { line-height: 1.7; color: var(--ink); margin-bottom: 4px; }
.legal a { overflow-wrap: anywhere; }
.legal__box { border: 1px solid var(--line-light); padding: 18px 22px; margin: 12px 0 16px; }
.legal__note { font-size: .95rem; }
.legal__todo { background: #ffe066; color: #000; padding: 0 4px; font-family: var(--font-mono); font-size: 0.85em; }


/* ====================================================================
   NEUE BAUSTEINE: Spielplan, Tabelle, leere Zustände, 404
   ==================================================================== */
.block-title { font-size: 2.2rem; margin-bottom: 24px; }
.fixture-team, .table-team { display: inline-flex; align-items: center; gap: 8px; }
.fixture-crest {
  width: 20px; height: 20px; flex: none;
  object-fit: contain; background: var(--white); border-radius: 50%; padding: 1.5px;
}
.fixture-crest--text { display: none; } /* ohne Logo nur der Name, kein Platzhalter */
.fixtures-col .link-more, .table-col .link-more { margin-top: 22px; }
.mini-table { font-variant-numeric: tabular-nums; }
.empty-note {
  padding: 22px 24px;
  border: 1px dashed var(--line-dark);
  color: var(--mute-dark);
  line-height: 1.6;
  max-width: 62ch;
}
.empty-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-hero--error { min-height: 70vh; display: flex; align-items: center; }
.error-code {
  font-size: clamp(6rem, 18vw, 13rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

/* ====================================================================
   HANDY-FEINSCHLIFF
   ==================================================================== */
@media (max-width: 560px) {
  /* Kader: zwei Spieler nebeneinander */
  .squad__pos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .player__num { font-size: 2.4rem; top: 6px; right: 10px; }
  .player__last { font-size: 1.15rem; }
  .player__first { font-size: 0.82rem; }
  .squad__pos-heading { padding-top: 36px; }

  /* Mannschafts-Reiter umbrechen statt seitlich abschneiden */
  .squad-tabs { flex-wrap: wrap; gap: 6px; overflow: visible; }
  .tab-btn { font-size: 1.05rem; padding: 8px 12px; }

  /* Doppelter Link über dem Kader-Teaser (darunter gibt es den Button) */
  #mannschaft .section__head .link-more { display: none; }

  /* Footer kompakter: Mannschaft & Verein nebeneinander */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__top > div:first-child, .footer__top > .footer__col:last-child { grid-column: 1 / -1; }

  .news-content { font-size: 1.05rem !important; line-height: 1.7 !important; }
}

/* ====================================================================
   SPIELERPROFIL
   ==================================================================== */
.player__link { position: absolute; inset: 0; z-index: 5; }
.player__link:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.matchcard__meta a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.profile {
  background: var(--ink);
  color: var(--white);
  padding: 120px 0 clamp(56px, 8vw, 110px);
  min-height: 80vh;
}
.profile__back {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding-block: 10px;
  margin-bottom: 20px;
}
.profile__back:hover { color: var(--white); }
.profile__grid {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) 7fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.profile__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ECECE8;
}
.profile__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.profile__info { position: relative; padding-top: 8px; }
.profile__num {
  position: absolute;
  top: -0.12em; right: 0;
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 12rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
  pointer-events: none;
}
.profile__meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.profile__name { margin: 12px 0 36px; }
.profile__first { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; color: rgba(255,255,255,0.75); margin-bottom: 0.25em; }
.profile__last { display: block; font-size: clamp(3.2rem, 8vw, 6rem); line-height: 1; padding-top: 0.08em; overflow-wrap: anywhere; }
.profile__facts {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}
.profile__facts div { flex: 1 1 150px; max-width: 50%; padding: 16px 18px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); min-width: 150px; }
.profile__facts dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.profile__facts dd { font-weight: 600; font-size: 1.05rem; }
.profile__facts-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}
.profile__bio { margin-top: 36px; max-width: 62ch; line-height: 1.7; color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.profile__pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}
.profile__pager-link { display: flex; flex-direction: column; gap: 4px; padding-block: 8px; }
.profile__pager-link span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.profile__pager-link b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; text-transform: uppercase; }
.profile__pager-link:hover b { text-decoration: underline; text-underline-offset: 4px; }
.profile__pager-link--next { text-align: right; margin-left: auto; }
@media (max-width: 760px) {
  .profile { padding-top: 100px; }
  .profile__grid { grid-template-columns: 1fr; }
  .profile__media { max-width: 420px; }
  .profile__num { font-size: 6rem; }
  .profile__facts { grid-template-columns: 1fr 1fr; }
  .profile__pager-link b { font-size: 1.1rem; }
}

/* ====================================================================
   SPIELORT
   ==================================================================== */
.venue-hero { position: relative; overflow: hidden; min-height: 52vh; display: flex; align-items: flex-end; }
.venue-hero .container { position: relative; z-index: 2; }
.venue-hero__media {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.92) 100%),
    url("../img/team-2-herren.webp") center 40% / cover no-repeat;
  filter: grayscale(1);
}
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.venue-card { background: var(--white); border: 1px solid var(--line-dark); padding: clamp(22px, 3vw, 34px); }
.venue-address { font-style: normal; font-size: 1.15rem; line-height: 1.6; margin-bottom: 22px; }
.venue-hint { color: var(--mute-dark); font-size: 0.92rem; margin-bottom: 10px; }
.venue-maps { display: flex; flex-wrap: wrap; gap: 10px; }
.venue-facts { margin-top: 28px; border-top: 1px solid var(--line-dark); }
.venue-facts div { display: grid; grid-template-columns: 9rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.venue-facts dt { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-dark); padding-top: 3px; }
.venue-card .link-more { margin-top: 22px; }
@media (max-width: 860px) {
  .venue-grid { grid-template-columns: 1fr; }
  .venue-facts div { grid-template-columns: 1fr; gap: 2px; }
}

/* ====================================================================
   SPIELPLAN, SPIELTAG, STATISTIK
   ==================================================================== */
.matchcard { position: relative; }
.matchcard__link, .fixture-row__link, .game-row__link { position: absolute; inset: 0; z-index: 3; }
.matchcard__link:focus-visible, .game-row__link:focus-visible, .fixture-row__link:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.matchcard:hover .matchcard__score { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.fixture-row--link { position: relative; }
.fixture-row--link:hover .fixture-team { text-decoration: underline; text-underline-offset: 3px; }

.season-strip { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px; position: relative; z-index: 2; }
.season-strip dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.season-strip dd { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }

.games-layout { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 40px); max-width: 960px; }
.games-block { background: var(--white); border: 1px solid var(--line-dark); padding: clamp(20px, 3vw, 32px); }
.games-list { list-style: none; }
.game-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.game-row:last-child { border-bottom: none; }
.game-row:hover .game-row__team { text-decoration: underline; text-underline-offset: 3px; }
.game-row__date span { display: block; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; color: var(--mute-dark); }
.game-row__date b { font-variant-numeric: tabular-nums; }
.game-row__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; min-width: 0; font-size: 0.92rem; }
.game-row__team { display: flex; align-items: center; gap: 8px; min-width: 0; overflow-wrap: break-word; hyphens: manual; }   /* Vereinsnamen zwischen Wörtern umbrechen, nicht „Lauben-dorf“ */
.game-row__team > * { min-width: 0; }
.game-row__team--away { justify-content: flex-end; text-align: right; }
.game-row__score { font-family: var(--font-display); font-size: 1.25rem; min-width: 3.4rem; text-align: center; font-variant-numeric: tabular-nums; }
.game-row__score--time { font-family: var(--font-mono); font-size: .8rem; font-weight: 600; min-width: 0; padding: 4px 7px; border: 1px solid var(--line-dark); color: var(--mute-dark); }   /* Anstoßzeit, kein Ergebnis */
.game-row__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 0.75rem; color: var(--mute-dark); }
.games-source { grid-column: 1 / -1; margin-top: 8px; color: var(--mute-dark); font-size: 0.92rem; }
.games-source a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.result-badge { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 6px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; border-radius: 3px; }
.result-badge--win { background: var(--ink); color: var(--white); }
.result-badge--draw { background: var(--paper-2); color: var(--ink); border: 1px solid var(--line-dark); }
.result-badge--loss { background: var(--red); color: var(--white); }
.result-badge--lg { height: auto; padding: 6px 12px; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; }
.match-hero .result-badge--win { background: var(--white); color: var(--ink); }
.match-hero .result-badge--draw { background: transparent; color: var(--white); border-color: var(--line-light); }

.match-hero { background: var(--ink); color: var(--white); padding: 120px 0 clamp(40px, 6vw, 72px); }
.match-hero__meta { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); text-align: center; }
.match-hero__board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: clamp(16px, 4vw, 56px); margin: 28px auto 0; max-width: 900px; }
/* Lange Vereinsnamen brechen in ihrer Spalte um (erst Silbentrennung), damit das Ergebnis mittig bleibt */
.match-hero__board > *, .app-match__board > *, .tipp__board > * { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.match-hero__team { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; font-weight: 600; font-size: clamp(0.95rem, 1.6vw, 1.2rem); }
.match-hero__crest { width: clamp(64px, 10vw, 112px); height: clamp(64px, 10vw, 112px); object-fit: contain; background: var(--white); border-radius: 50%; padding: 8px; }
.match-hero__crest--text { display: grid; place-items: center; color: var(--ink); font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem; }
.match-hero__center { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.match-hero__score { font-size: clamp(3.4rem, 9vw, 6.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.match-hero__note { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.match-hero__venue { text-align: center; margin-top: 26px; color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.match-hero__venue a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.match-hero .profile__back { display: block; width: fit-content; }

.match-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.match-main, .match-side { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.match-card { background: var(--white); border: 1px solid var(--line-dark); padding: clamp(20px, 3vw, 32px); }
.match-report { line-height: 1.75; }
.lineup__title { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-dark); margin: 18px 0 6px; }
.lineup__title:first-of-type { margin-top: 0; }
.lineup { list-style: none; }
.lineup a { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line-dark); }
.lineup a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lineup__num { font-family: var(--font-display); width: 1.8rem; text-align: right; }
.h2h { list-style: none; }
.h2h a { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.92rem; }
.h2h b { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }
.profile__pager--light { border-top-color: var(--line-dark); color: var(--ink); }
.profile__pager--light .profile__pager-link span { color: var(--mute-dark); }


@media (max-width: 860px) {
  .games-layout, .match-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .game-row { grid-template-columns: 2.8rem 1fr; }
  .game-row__meta { grid-column: 2; flex-direction: row; align-items: center; justify-content: flex-start; }
  .game-row__teams { font-size: 0.85rem; gap: 6px; }
  .game-row__team .fixture-crest { display: none; }
  .season-strip { gap: 10px 24px; }
  .season-strip dd { font-size: 1.5rem; }
  .match-hero__board { gap: 10px; }
  .match-hero__team { font-size: 0.85rem; }
}

/* --------------------------------------------------------------------
   Freigestellte Spielerfotos (tools/freistellen.php):
   Spieler in Farbe vor hellem Verlauf, große Nummer dahinter
   -------------------------------------------------------------------- */
.player--cutout .player__media { background: transparent; }
.player--cutout .player__img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: center top;
  filter: none;
  mix-blend-mode: normal;
  transform: scale(1.12);
  transform-origin: center 20%;
}
.player--cutout:hover .player__img { filter: none; transform: scale(1.17); }
.player--cutout .player__num {
  z-index: 0;
  top: 4px; right: 10px;
  font-size: clamp(4.6rem, 7vw, 6.2rem);
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.22);
}
.profile__media--cutout { background: transparent; }
.profile__media--cutout img { object-position: center top; transform: scale(1.1); transform-origin: center 15%; }
@media (max-width: 560px) {
  .player--cutout .player__num { font-size: 3.6rem; }
}
/* Ohne Foto: dunkle Initialen-Kachel, passend zu den freigestellten Spielern */
.squad-section .player__initials, .profile .player__initials {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.3);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 18px),
    var(--ink-soft);
}
.squad-section .player:not(.player--cutout) .player__num { color: var(--white); }

/* ====================================================================
   PARTNER
   ==================================================================== */
.footer__heading a:hover { text-decoration: underline; text-underline-offset: 4px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.partner-card { background: var(--white); border: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.partner-card__logo {
  display: grid; place-items: center;
  aspect-ratio: 16 / 7;
  background: var(--ink);
  padding: 12% 14%;
  transition: background 0.25s var(--ease);
}
.partner-card__logo:hover { background: var(--ink-2); }
.partner-card__logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; }
.partner-card__body { padding: clamp(20px, 3vw, 28px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.partner-card__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; line-height: 1; }
.partner-card__claim { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-dark); }
.partner-card__text { line-height: 1.6; color: var(--ink); max-width: 52ch; }
.partner-card .link-more { margin-top: auto; padding-top: 8px; }

.become { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.become .section__title { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; }
.become__lead { color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 52ch; margin-bottom: 26px; }
.become__contact { margin-top: 20px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.become__contact a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.become__benefits { list-style: none; border-top: 1px solid var(--line-light); }
.become__benefits li { padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.become__benefits h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; margin-bottom: 6px; }
.become__benefits p { color: rgba(255,255,255,0.75); line-height: 1.6; }
.packages-head { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line-light); }
.packages-head .block-title { color: var(--white); margin-bottom: 10px; }
.packages-head p { color: rgba(255,255,255,0.75); max-width: 60ch; line-height: 1.6; }
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 28px; }
@media (min-width: 1100px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.package { border: 1px solid var(--line-light); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.package:hover { border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.03); }
.package__name { font-size: clamp(1.45rem, 2vw, 1.7rem); line-height: 1; hyphens: manual; overflow-wrap: break-word; }
.package__sponsor { color: var(--white); line-height: 1.5; font-weight: 600; }
.package__sponsor span, .package__label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); font-weight: 400; margin-bottom: 4px; }
.package__label { margin-bottom: -6px; }
.package__items { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.package__items li { position: relative; padding-left: 20px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.package__items li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 2px; background: var(--white); }
.package__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-light); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.package__price { color: var(--white); font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; text-transform: uppercase; }
.package__cta { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); padding-block: 8px; }
.package__cta:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 860px) { .become { grid-template-columns: 1fr; } }
/* Partner-Pakete nach Stufen: Hauptsponsor invertiert hervorgehoben */
@media (min-width: 1100px) { .packages--tiers { grid-template-columns: 1.15fr 1fr 1fr; } }
.package--feature { background: var(--white); border-color: var(--white); color: var(--ink); }
.package--feature:hover { background: var(--white); border-color: var(--white); }
.package--feature .package__label { color: var(--mute-dark); }
.package--feature .package__items li { color: var(--ink); }
.package--feature .package__items li::before { background: var(--ink); }
.package--feature .package__foot { border-top-color: var(--line-dark); }
.package--feature .package__price, .package--feature .package__cta { color: var(--ink); }
.package__taken { align-self: flex-start; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid currentColor; padding: 5px 9px; }
.packages + .packages-head { margin-top: clamp(48px, 7vw, 80px); }
@media (max-width: 400px) { .partner-grid { grid-template-columns: 1fr; } }

/* Startseite: Partner-Bereich (Hauptsponsor als breiter Block mit Text, übrige als kleine Kacheln mit Kurzbeschreibung) */
.home-partners__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.home-partners__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; background: var(--ink); color: var(--white); min-height: 340px; transition: background 0.25s var(--ease); }
.home-partners__main:hover { background: var(--ink-2); }
.home-partners__logo { display: grid; place-items: center; padding: 40px 48px; border-right: 1px solid rgba(255,255,255,0.12); }
.home-partners__logo img { max-width: min(100%, 460px); max-height: 170px; width: auto; height: auto; }
.home-partners__logo--square img { max-height: 230px; }
.home-partners__logo .wordmark { font-size: clamp(2.4rem, 5vw, 4rem); }
.home-partners__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 36px 40px; }
.home-partners__label { align-self: flex-start; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.4); padding: 5px 9px; }
.home-partners__name { font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; text-transform: uppercase; }
.home-partners__claim { font-weight: 600; color: rgba(255,255,255,0.85); }
.home-partners__text { color: rgba(255,255,255,0.65); line-height: 1.6; font-size: 0.95rem; }
.home-partners__more { margin-top: 4px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.home-partners__rest { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.home-partners .home-partners__rest .partner-logos__tile { min-height: 150px; padding: 22px 16px 16px; grid-template-rows: 48px auto 1fr; }
.home-partners .home-partners__rest .partner-logos__tile img { max-height: 34px; }
.home-partners .home-partners__rest .partner-logos__tile--square img { max-height: 48px; }
.home-partners__cta { margin-top: 22px; color: var(--mute-dark); line-height: 1.6; }
.home-partners__cta a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 860px) {
  .home-partners__main { grid-template-columns: 1fr; min-height: 0; }
  .home-partners__logo { padding: 32px 24px; min-height: 180px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .home-partners__logo img { max-height: 120px; }
  .home-partners__body { padding: 24px; }
}

/* Partner ohne Logo: Name als Schriftzug, bis das Logo da ist */
.wordmark { font-family: var(--font-display); text-transform: uppercase; color: var(--white); line-height: 1.12; text-align: center; font-size: 1.5rem; letter-spacing: 0.01em; -webkit-hyphens: auto; hyphens: auto; }
.sponsor-logo .wordmark { font-size: 1.05rem; white-space: nowrap; }
.sponsor-logo--main .wordmark { font-size: 2rem; }
.partner-main__logo .wordmark { font-size: clamp(2rem, 4vw, 3.2rem); }
.partner-logos__tile .wordmark { font-size: 1.05rem; }
.perk__logo .wordmark { font-size: 0.85rem; }

/* Partner-Stufen: Hauptsponsor groß, Premium-Partner als Karten, übrige Partner kompakt */
.partner-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--white); border: 1px solid var(--line-dark); margin-bottom: clamp(48px, 7vw, 80px); }
.partner-main__logo { display: grid; place-items: center; background: var(--ink); padding: clamp(36px, 7vw, 72px); min-height: clamp(220px, 28vw, 340px); transition: background 0.25s var(--ease); }
.partner-main__logo:hover { background: var(--ink-2); }
.partner-main__logo img { max-width: min(100%, 420px); max-height: 120px; width: auto; height: auto; }
.partner-main__logo--square img { max-height: 200px; }
.partner-main__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.partner-main__tier { align-self: flex-start; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: var(--white); padding: 6px 10px; }
.partner-main__name { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 0.95; text-transform: uppercase; }
.partner-main__text { line-height: 1.65; color: var(--ink); max-width: 52ch; }
.partner-main .link-more { margin-top: 6px; }
.partner-tier + .partner-tier { margin-top: clamp(48px, 7vw, 80px); }
/* Vorteile und Jobs bei Partnern */
.partner-extras { padding-top: 0; }
.partner-extras__lead { color: var(--mute-dark); line-height: 1.6; max-width: 60ch; margin: -6px 0 22px; }
.perk-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.perk { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; background: var(--white); border: 1px solid var(--line-dark); padding: 14px 18px 14px 14px; }
.perk__logo { display: grid; place-items: center; height: 72px; background: var(--ink); padding: 12px; }
.perk__logo img { max-width: 100%; max-height: 30px; width: auto; height: auto; }
.perk__logo--square img { max-height: 52px; }
.perk__name { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.2rem; line-height: 1; margin-bottom: 6px; }
.perk__text { line-height: 1.5; color: var(--ink); }
.job-list { list-style: none; border-top: 1px solid var(--line-dark); }
.job { display: grid; grid-template-columns: 9rem 1fr auto; gap: 16px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line-dark); color: var(--ink); transition: background 0.2s var(--ease); }
.job:hover { background: rgba(11,11,12,0.04); }
.job__kind { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-dark); }
.job__title { font-weight: 600; }
.job__company { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
@media (max-width: 600px) { .job { grid-template-columns: 1fr; gap: 4px; } .perk-list { grid-template-columns: 1fr; } }
.partner-logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.partner-logos__tile { display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 14px; height: 168px; padding: 26px 22px 16px; background: var(--ink); color: var(--white); transition: background 0.25s var(--ease); }
.partner-logos__tile:hover { background: var(--ink-2); }
.partner-logos__tile img { max-width: 100%; max-height: 46px; width: auto; height: auto; }
.partner-logos__tile--square img { max-height: 76px; }
.partner-logos__name { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); text-align: center; }
.partner-logos__claim { font-size: 0.78rem; line-height: 1.35; color: rgba(255,255,255,0.72); text-align: center; text-wrap: balance; }
.partner-logos > li { display: grid; }
.partner-logos__tile:has(.partner-logos__claim) { grid-template-rows: 56px auto 1fr; align-items: start; gap: 8px; height: auto; min-height: 168px; }
.partner-logos__tile:has(.partner-logos__claim) img { align-self: center; }
@media (max-width: 480px) { .partner-logos { grid-template-columns: repeat(2, 1fr); } .partner-logos__tile { height: 140px; padding: 20px 14px 12px; } }
@media (max-width: 760px) { .partner-main { grid-template-columns: 1fr; } }

.footer__main-sponsor { grid-area: main; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line-light); }
.footer__main-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.sponsor-logo--main { height: 88px; opacity: 0.9; }
.sponsor-logo--main img { max-width: 280px; }
.sponsor-logo--main.sponsor-logo--square { height: 110px; }
.footer__sponsors:has(.footer__main-sponsor) { grid-template-areas: "head cta" "main main" "logos logos"; }
@media (max-width: 768px) {
  .footer__sponsors:has(.footer__main-sponsor) { grid-template-areas: "head" "main" "logos" "cta"; }
  .footer__main-sponsor { flex-direction: column; justify-content: center; }
  .sponsor-logo--main { height: 68px; }
}

/* Runde/quadratische Partnerlogos optisch an breite Schriftzüge angleichen */
.sponsor-logo--square { height: 68px; }
.partner-card__logo--square img { max-height: 112px; }
@media (max-width: 768px) { .sponsor-logo--square { height: 56px; } }

/* Spieltagspate */
/* „Präsentiert von“ / Spielerpate: Logo auf dunkler Kachel, passt auf helle und dunkle Flächen */
.presented { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 14px 0 18px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.presented__logo { display: inline-flex; align-items: center; height: 46px; padding: 8px 14px; background: var(--ink); border: 1px solid rgba(255,255,255,0.14); transition: background 0.2s var(--ease); }
.presented__logo:hover { background: var(--ink-2); }
.presented__logo img { height: 100%; width: auto; max-width: 160px; object-fit: contain; }
.presented__logo--square { height: 60px; padding: 6px 12px; }
.presented__logo b { font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--white); }
.profile .presented { color: rgba(255,255,255,0.65); }
.match-presenter { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 26px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.match-presenter b { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--white); }
.match-presenter__logo { display: flex; height: 34px; opacity: 0.9; }
.match-presenter__logo--square { height: 52px; }
.match-presenter__logo:hover { opacity: 1; }
.match-presenter__logo img { height: 100%; width: auto; max-width: 180px; object-fit: contain; }
.matchcard__presenter { color: rgba(255,255,255,0.75); }
.package--custom { border-style: dashed; }
.package--custom .package__sponsor { font-weight: 400; color: rgba(255,255,255,0.8); }

/* ====================================================================
   VEREIN & GESCHICHTE
   ==================================================================== */
.club-facts { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 18px clamp(28px, 5vw, 64px); margin-top: clamp(36px, 5vw, 56px); padding-top: 26px; border-top: 1px solid var(--line-light); }
.club-facts dt { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; }
.club-facts dd { margin-top: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.65); max-width: 24ch; line-height: 1.5; }
/* Helle Variante auf Papier-Flächen (Startseite, Partner-Bereich) */
.club-facts--light { margin: 0 0 24px; padding: 0 0 22px; border-top: 0; border-bottom: 1px solid var(--line-dark); }
.club-facts--light dt { color: var(--ink); font-size: clamp(2rem, 4vw, 2.8rem); }
.club-facts--light dd { color: var(--mute-dark); }
@media (max-width: 600px) {
  .club-facts--compact { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 14px; }
  .club-facts--compact dt { font-size: 2rem; }
  .club-facts--compact dd { font-size: 0.6rem; letter-spacing: 0.06em; }
}

.club-chronicle { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.club-chronicle__head { position: sticky; top: 110px; }
.club-chronicle__head p { color: var(--mute-dark); line-height: 1.7; margin: 18px 0 22px; max-width: 40ch; }
.chronicle { list-style: none; border-top: 2px solid var(--ink); }
.chronicle__item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.chronicle__year { font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; }
.chronicle__body h3 { font-weight: 700; font-size: 1.08rem; margin-bottom: 6px; }
.chronicle__body p { color: var(--ink); line-height: 1.65; max-width: 62ch; }

.squad-section#heute .section__title { margin-bottom: clamp(28px, 4vw, 44px); }
.club-depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.club-dept { border: 1px solid var(--line-light); padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.club-dept h3 { font-size: 1.7rem; line-height: 1; }
.club-dept p { color: rgba(255,255,255,0.75); line-height: 1.6; }
.club-dept .link-more { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.club-dept .link-more:hover { border-color: var(--white); }
.club-board__title { margin-top: clamp(56px, 8vw, 88px); }
.club-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px clamp(24px, 4vw, 48px); }
.club-board__group h4 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding-bottom: 10px; border-bottom: 1px solid var(--line-light); }
.club-board__group ul { list-style: none; }
.club-board__group li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.club-board__group b { font-weight: 600; }
.club-board__group span { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.club-board__note { margin-top: 26px; color: rgba(255,255,255,0.65); line-height: 1.6; font-size: 0.92rem; }
.club-board__note a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.club-chairs { list-style: none; columns: 3 260px; column-gap: clamp(24px, 4vw, 48px); border-top: 2px solid var(--ink); padding-top: 6px; }
.club-chairs li { break-inside: avoid; display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
.club-chairs span { font-family: var(--font-mono); font-size: 0.8rem; color: var(--mute-dark); font-variant-numeric: tabular-nums; padding-top: 2px; }
.club-chairs b { font-weight: 600; }
.club-chairs__note { margin-top: 18px; font-size: 0.85rem; color: var(--mute-dark); }

@media (max-width: 960px) {
  .club-chronicle { grid-template-columns: 1fr; }
  .club-chronicle__head { position: static; }
  .club-depts, .club-board { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .chronicle__item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
}

/* Spieltag: Bericht-Überschrift und Bildergalerie */
.match-report__title { font-weight: 700; font-size: 1.2rem; line-height: 1.35; margin: -8px 0 14px; }
.match-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.match-gallery__item { display: block; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); }
.match-gallery__item--lead { grid-column: span 2; grid-row: span 2; }
.match-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.match-gallery__item:hover img { transform: scale(1.04); }
.match-gallery__credit { margin-top: 12px; font-size: 0.85rem; color: var(--mute-dark); }
.match-gallery__credit a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .match-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.match-layout--single { grid-template-columns: minmax(0, 1fr); }
.match-card--gallery { margin-top: clamp(20px, 3vw, 32px); }
.match-card--gallery .match-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .match-card--gallery .match-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .match-card--gallery .match-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Kalender-Abo */
.cal-sub { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px clamp(24px, 4vw, 48px); align-items: center; background: var(--white); border: 1px solid var(--line-dark); border-left: 4px solid var(--ink); padding: clamp(22px, 3vw, 32px); }
.cal-sub__title { font-size: 1.8rem; margin-bottom: 8px; }
.cal-sub__text p { line-height: 1.65; color: var(--ink); }
.cal-sub__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-sub__actions .btn { flex: 1 1 auto; justify-content: center; }
.btn--ghost-ink { color: var(--ink); border: 1px solid var(--line-dark); }
.btn--ghost-ink:hover { border-color: var(--ink); }
.cal-sub__hint { flex-basis: 100%; font-size: 0.82rem; line-height: 1.55; color: var(--mute-dark); }
.cal-sub__hint a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.match-hero__cal { text-align: center; margin-top: 18px; }
.match-hero__cal a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); border: 1px solid var(--line-light); padding: 9px 14px; display: inline-block; }
.match-hero__cal a:hover { background: var(--white); color: var(--ink); }
@media (max-width: 760px) { .cal-sub { grid-template-columns: 1fr; } }

/* Spieler des Spiels */
.motm { border-top: 4px solid var(--ink); }
.motm__lead { color: var(--mute-dark); line-height: 1.6; margin: -8px 0 18px; }
.motm__notice { background: var(--ink); color: var(--white); padding: 10px 14px; margin: -6px 0 16px; font-weight: 600; }
.motm__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.motm__form fieldset { border: 0; padding: 0; margin: 0; }
.motm__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px; margin-bottom: 18px; }
.motm__option { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-dark); cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.motm__option:hover { border-color: var(--ink); }
.motm__option input { position: absolute; opacity: 0; pointer-events: none; }
.motm__option:has(input:checked) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.motm__option:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.motm__num { font-family: var(--font-display); font-size: 1.4rem; min-width: 1.8rem; text-align: center; }
.motm__name { font-weight: 600; line-height: 1.25; }
.motm__privacy { margin-top: 12px; font-size: 0.8rem; color: var(--mute-dark); }
.motm__results { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.motm__results li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--line-dark); overflow: hidden; }
.motm__results li > * { position: relative; }
.motm__bar { position: absolute !important; inset: 0 auto 0 0; width: var(--pct); background: var(--paper-2); }
.motm__results li:first-child .motm__bar { background: var(--ink); }
.motm__results li:first-child b, .motm__results li:first-child span:last-child { color: var(--white); mix-blend-mode: difference; }
.motm__results span:last-child { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.motm__winner { display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: var(--ink); color: var(--white); }
.motm__winner-num { font-size: 3.4rem; line-height: 1; min-width: 4rem; text-align: center; }
.motm__winner b { display: block; font-size: 1.9rem; line-height: 1.05; font-weight: 400; text-transform: uppercase; }
.motm__winner small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.motm__winner:hover b { text-decoration: underline; text-underline-offset: 4px; }
.matchcard__vote { position: relative; z-index: 4; display: inline-block; align-self: center; margin-top: 14px; padding: 9px 14px; background: var(--white); color: var(--ink); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.matchcard__vote:hover { background: var(--paper-2); }
.profile__motm { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line-light); }
.profile__motm-count { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); display: flex; align-items: baseline; gap: 10px; }
.profile__motm-count b { font-size: 2.4rem; color: var(--white); font-weight: 400; letter-spacing: 0; }
.profile__motm ul { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 4px; color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.profile__motm a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ====================================================================
   VEREINSSONG (Startseite)
   ==================================================================== */
.song-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}
.song-info { display: flex; flex-direction: column; gap: 20px; }
.song-section .section__title { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.song-text { color: rgba(255, 255, 255, 0.72); max-width: 46ch; line-height: 1.65; }

.song-player {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: var(--ink-2);
  border: 1px solid var(--line-light);
}
.song-player audio { display: none; }
.song-player__play {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: transform 0.2s var(--ease);
}
.song-player__play:hover { transform: scale(1.05); }
.song-player__play:focus-visible,
.song-player__download:focus-visible,
.song-player__seek:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.song-player__icon-play { margin-left: 3px; }
.song-player__icon-pause,
.song-player.is-playing .song-player__icon-play { display: none; }
.song-player.is-playing .song-player__icon-pause { display: block; }
.song-player__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.song-player__title {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.song-player__seek {
  --progress: 0%;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--white) var(--progress), rgba(255, 255, 255, 0.2) var(--progress));
  cursor: pointer;
}
.song-player__seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--white);
}
.song-player__seek::-moz-range-thumb {
  width: 14px; height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
}
.song-player__time {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}
.song-player__download {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--white);
  transition: background-color 0.2s, color 0.2s;
}
.song-player__download:hover { background: var(--white); color: var(--ink); }

/* Ohne JavaScript: nativer Player statt eigener Steuerung */
.song-player--native .song-player__play,
.song-player--native .song-player__body { display: none; }
.song-player--native audio { display: block; flex: 1; width: 100%; }

@media (max-width: 860px) {
  .song-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .song-player { gap: 14px; padding: 16px; }
  .song-player__play { width: 52px; height: 52px; }
}

/* Songtext (aufklappbar) */
.song-grid { align-items: start; }
.lyrics { border-top: 1px solid var(--line-light); padding-top: 18px; }
.lyrics__toggle {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.lyrics__toggle::-webkit-details-marker { display: none; }
.lyrics__toggle::after { content: "+"; font-size: 1.1rem; line-height: 1; transition: transform 0.2s var(--ease); }
.lyrics[open] .lyrics__toggle::after { transform: rotate(45deg); }
.lyrics__toggle:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.lyrics__body { display: grid; gap: 22px; margin-top: 22px; }
.lyrics__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.lyrics__part p { color: rgba(255, 255, 255, 0.82); line-height: 1.7; }
.lyrics__part--chorus { border-left: 2px solid var(--white); padding-left: 16px; }
.lyrics__part--chorus p { color: var(--white); font-weight: 600; }
.lyrics__repeat { font-style: italic; color: rgba(255, 255, 255, 0.5) !important; }

/* ====================================================================
   MANNSCHAFTEN (Übersicht)
   ==================================================================== */
.teams-group + .teams-group { margin-top: clamp(48px, 6vw, 80px); }
.teams-group__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 20px; }
.teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.team-tile { position: relative; display: flex; flex-direction: column; background: var(--ink-soft); border: 1px solid var(--line-light); transition: border-color .2s; }
.team-tile:hover, .team-tile:focus-within { border-color: rgba(255,255,255,.45); }
.team-tile__link { position: absolute; inset: 0; z-index: 2; }
.team-tile__link:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.team-tile__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.team-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.team-tile:hover .team-tile__media img { transform: scale(1.03); }
.team-tile__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.team-tile__league { margin-bottom: 6px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.team-tile__name { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1; margin-bottom: 22px; }
.team-tile__go { display: flex; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-light); font-weight: 600; font-size: .9rem; }
.teams-group__count { margin-left: .35em; font-family: var(--font-mono); font-size: .45em; color: var(--mute); vertical-align: .55em; }

/* ====================================================================
   LIVE-TICKER (Spielseite)
   ==================================================================== */
.ticker-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.ticker-card__head .block-title { margin-bottom: 0; }
.ticker-card__live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute-dark); }
.ticker { list-style: none; }
.ticker__item { display: grid; grid-template-columns: 3.2rem 1fr auto; align-items: start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.ticker__item:first-child { border-top: 0; padding-top: 4px; }
.ticker__min { font-family: var(--font-mono); font-weight: 600; font-size: .95rem; color: var(--ink); padding-top: 1px; }
.ticker__body { display: grid; gap: 2px; min-width: 0; }
.ticker__title { font-weight: 700; }
.ticker__text { color: var(--mute-dark); font-size: .95rem; }
.ticker__score { font-family: var(--font-mono); font-weight: 600; font-size: .95rem; padding: 2px 8px; border: 1px solid var(--line-dark); }
.ticker__item--tor .ticker__title { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; }
.ticker__item--tor .ticker__score { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ticker__item--notiz .ticker__title { font-weight: 500; }   /* eigener Eintrag aus dem Studio: liest sich wie ein Kommentar */
.ticker__by { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; justify-self: start; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.ticker__by b { font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.ticker__by-logo { display: inline-flex; align-items: center; height: 30px; padding: 5px 10px; background: var(--ink); }
.ticker__by-logo img { height: 100%; width: auto; max-width: 110px; object-fit: contain; }
.ticker__by-logo .wordmark { font-size: .8rem; }
.ticker__item--halbzeit, .ticker__item--abpfiff, .ticker__item--anpfiff, .ticker__item--anpfiff2 { background: var(--paper); margin: 0 calc(-1 * clamp(20px, 3vw, 32px)); padding-inline: clamp(20px, 3vw, 32px); }

/* ====================================================================
   APP-MODUS (vom Homescreen gestartet, html.is-app)
   Menü oben und Footer-Links weichen einer Leiste unten am Daumen.
   ==================================================================== */
.app-tabbar, .app-sheet:not([open]), .app-ptr, .install-hint { display: none; }
.is-app body { padding-top: env(safe-area-inset-top); padding-bottom: calc(96px + env(safe-area-inset-bottom)); overscroll-behavior-y: contain; }
.is-app .site-header { padding-top: env(safe-area-inset-top); background: var(--ink); }
.is-app .nav__links, .is-app .nav__burger, .is-app .nav__actions .btn { display: none !important; }
.is-app .footer__top { display: none; }
.is-app .cta-band { display: none; }
/* Die Leiste: kompakte Kapsel mittig über dem Inhalt, nur Icons; der aktive Bereich ist ein weißer Kreis */
.is-app .app-tabbar {
  display: flex; gap: 4px; position: fixed; z-index: 120;
  left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  padding: 7px; border-radius: 999px;
  background: rgba(18, 19, 22, .97);
  backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .7), 0 2px 8px rgba(0, 0, 0, .25);
}
.app-tabbar a, .app-tabbar button {
  position: relative; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
  font-size: 0; line-height: 0; color: #8f929a; background: transparent; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .25s cubic-bezier(.22, 1, .36, 1), color .25s cubic-bezier(.22, 1, .36, 1), transform .15s ease-out;
}
.app-tabbar a:active, .app-tabbar button:active { transform: scale(.9); }
.app-tabbar a:focus-visible, .app-tabbar button:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.app-tabbar svg { flex: none; display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-tabbar [aria-current] { background: var(--white); color: var(--ink); }
.app-tabbar [aria-current] svg { stroke-width: 2; }
.app-tabbar__live { position: absolute; top: 9px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px rgb(18, 19, 22); }
.app-tabbar [aria-current] .app-tabbar__live { box-shadow: 0 0 0 2px var(--white); }
/* Mehr: schwebende Karte über der Leiste */
.app-sheet {
  margin: auto auto calc(10px + env(safe-area-inset-bottom)); width: calc(100% - 24px); max-width: 520px; max-height: 80vh; overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px;
  background: #16171b; color: var(--white); padding: 8px 8px 14px;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .7);
}
.app-sheet[open] { display: block; animation: sheet-up .32s cubic-bezier(.22, 1, .36, 1); }
.app-sheet::backdrop { background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@keyframes sheet-up { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .app-sheet[open] { animation: none; } }
.app-sheet__grip { width: 36px; height: 4px; border-radius: 2px; background: #3a3c43; margin: 4px auto 10px; }
.app-sheet__list { display: grid; }
.app-sheet__list a { display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: 14px; min-height: 52px; padding: 0 12px; border-radius: 14px; font-size: 1rem; font-weight: 600; }
.app-sheet__list a:active { background: rgba(255, 255, 255, .07); }
.app-sheet__list svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.app-sheet__list .app-sheet__chev { width: 16px; height: 16px; color: var(--mute); stroke-width: 2; }
.app-sheet__small { margin: 12px 12px 0; font-size: .82rem; color: var(--mute); }
/* Nach unten ziehen zum Aktualisieren */
.is-app .app-ptr { display: grid; place-items: center; position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 70px); z-index: 130; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.35); opacity: 0; transform: translateY(-30px); transition: opacity .15s; pointer-events: none; }
.app-ptr svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.app-ptr.is-loading svg { animation: ptr-spin .8s linear infinite; }
@keyframes ptr-spin { to { transform: rotate(360deg); } }
/* Hinweis im Browser: als App hinzufügen */
.install-hint.is-shown { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 140; gap: 12px; align-items: center; padding: 12px 14px; background: var(--ink); color: var(--white); border: 1px solid var(--line-light); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.install-hint img { width: 40px; height: 40px; flex: none; }
.install-hint p { flex: 1; font-size: .88rem; line-height: 1.4; }
.install-hint p b { display: block; font-size: .95rem; }
.install-hint button { flex: none; background: none; border: 0; color: var(--white); font-weight: 600; font-size: .85rem; padding: 8px; cursor: pointer; }
.install-hint .install-hint__go { background: var(--white); color: var(--ink); padding: 8px 12px; }

/* --------------------------------------------------------------------
   App-Leiste oben (Seiten mit $appBar): schmal wie bei iPhone-Apps –
   Zurück links, Seitentitel mittig, eine Aktion rechts. Vereinskopf und
   Website-Menü entfallen. Unten bleibt die runde Kapsel-Leiste.
   -------------------------------------------------------------------- */
.app-bar { display: none; }
.is-app .has-appbar { --app-header: 48px; }
.is-app .has-appbar .site-header { background: rgba(11, 11, 12, .94); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: none; transition: box-shadow .2s; }
.is-app .has-appbar .site-header.scrolled { box-shadow: 0 .5px 0 rgba(255, 255, 255, .14); }
.is-app .has-appbar .site-header > .container { display: none; }
.is-app .has-appbar .app-bar { display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; align-items: center; height: 48px; padding: 0 6px; color: var(--white); }
.app-bar__side { display: flex; align-items: center; min-width: 0; }
.app-bar__side--end { justify-content: flex-end; }
.app-bar__back { display: inline-flex; align-items: center; gap: 0; min-height: 44px; padding: 0 8px 0 2px; font-size: 1.02rem; font-weight: 500; color: var(--white); -webkit-tap-highlight-color: transparent; }
.app-bar__back svg, .app-bar__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.app-bar__back:active, .app-bar__icon:active { opacity: .5; }
.app-bar__icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.app-bar__icon svg { width: 23px; height: 23px; stroke-width: 1.8; }
.app-bar__brand { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 0; white-space: nowrap; font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; color: var(--white); }
.app-bar__brand img { width: 30px; height: 30px; }
.app-bar__title { position: relative; display: grid; min-width: 0; font-weight: 600; font-size: 1.02rem; text-align: center; }
.app-bar__title > span { grid-area: 1 / 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .2s, transform .2s; }
[data-app-title-alt] { opacity: 0; transform: translateY(6px); }
.app-bar.is-alt [data-app-title] { opacity: 0; transform: translateY(-6px); }
.app-bar.is-alt [data-app-title-alt] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .app-bar__title > span { transition: none; } }

/* Inhalt im App-Modus: ruhiger, dichter, keine Website-Bänder */
.is-app .has-appbar .section { padding-block: 26px; }
.is-app .has-appbar .section--tight-top { padding-top: 6px; }
.is-app .has-appbar .section__head { margin-bottom: 14px; }
.is-app .has-appbar .section__title { font-size: 1.7rem; }
.is-app .has-appbar .block-title { font-size: 1.5rem; margin-bottom: 14px; }
.is-app .has-appbar .bento-section { padding-top: 24px; }
.is-app .has-appbar .bento-section__title { font-size: 1.7rem; margin-bottom: 14px; }
.is-app .has-appbar .song-section:not(:target), .is-app .has-appbar .membership-section:not(:target) { display: none; }   /* über „Mehr“ erreichbar */
.is-app .has-appbar .song-section:target, .is-app .has-appbar .membership-section:target { scroll-margin-top: calc(48px + env(safe-area-inset-top)); }
.is-app .has-appbar [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }   /* Apps blenden beim Scrollen nichts ein */
.is-app .has-appbar .link-more, .is-app .has-appbar a { text-underline-offset: 3px; }

/* Übrige Seiten in der App: großer Titel kompakt, Zurück-Links im Inhalt entfallen (sitzen in der Leiste) */
.is-app .has-appbar .page-hero { padding-top: calc(48px + 14px); padding-bottom: 22px; }
.is-app .has-appbar .page-hero::after { display: none; }
.is-app .has-appbar .page-hero__title { font-size: 2.6rem; }
.is-app .has-appbar .page-hero__lead { margin-top: 8px; font-size: .95rem; }
.is-app .has-appbar .page-hero--error { min-height: 0; }
.is-app .has-appbar .profile { padding-top: calc(48px + 14px); min-height: 0; }
.is-app .has-appbar .profile__back, .is-app .has-appbar .article-page .btn-back { display: none !important; }   /* Link hat Inline-Stil */
.is-app .has-appbar .article-page { padding-top: calc(48px + 18px) !important; }
.is-app .has-appbar .legal { padding-top: calc(48px + 10px); }
.is-app .has-appbar .legal__title { font-size: 2.4rem; margin-bottom: 20px; }

/* Spielplan in der App: Kalender und Benachrichtigungen als kompakte Aktionen unter den nächsten Spielen */
.is-app .has-appbar .games-block--next { order: -1; }
.is-app .has-appbar .cal-sub { grid-template-columns: 1fr; gap: 12px; padding: 16px 18px; }
.is-app .has-appbar .cal-sub__title { font-size: 1.3rem; margin: 0; }
.is-app .has-appbar .cal-sub__text p, .is-app .has-appbar .cal-sub__hint:not([data-push-hint]) { display: none; }
.is-app .has-appbar .cal-sub__actions .btn { min-height: 44px; padding-block: 10px; font-size: .78rem; }

/* Zeile, die einen eingeklappten Bereich öffnet (nur App); der Bereich selbst erscheint erst als Sprungziel */
.app-row { display: none; }
.is-app .has-appbar .app-row { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 12px; margin: 0 clamp(20px, 5vw, 24px) 28px; padding: 16px 18px; background: var(--ink); color: var(--white); }
.is-app .has-appbar .app-row b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .02em; }
.is-app .has-appbar .app-row span span { display: block; margin-top: 2px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.is-app .has-appbar .app-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-app .has-appbar #partner-werden:not(:target) { display: none; }
.is-app .has-appbar .app-row:has(+ #partner-werden:target) { display: none; }
.is-app .has-appbar #partner-werden { scroll-margin-top: calc(48px + env(safe-area-inset-top)); }

/* Spielseite in der App: Kopf schlanker, Zurück und Teilen sitzen in der Leiste */
.is-app .has-appbar .match-hero { padding: calc(48px + 18px) 0 26px; }
.is-app .has-appbar .match-hero .profile__back, .is-app .has-appbar .match-hero__tools [data-share] { display: none; }
.is-app .has-appbar .match-hero__board { margin-top: 18px; }
.is-app .has-appbar .match-hero__crest { width: 72px; height: 72px; }
.is-app .has-appbar .match-hero__venue { margin-top: 16px; font-size: .85rem; }
.is-app .has-appbar .match-hero__venue a { text-decoration: none; }
.is-app .has-appbar .match-presenter { margin-top: 18px; }

/* ====================================================================
   BENACHRICHTIGUNGEN
   ==================================================================== */
.push-settings { display: grid; gap: 20px; max-width: 760px; }
.push-settings .block-title { font-size: 1.8rem; margin-bottom: 14px; }
.push-settings__state { margin-bottom: 16px; color: var(--mute-dark); }
.push-settings__prefs fieldset { border: 0; padding: 0; margin: 0; }
.push-settings__prefs fieldset + fieldset { margin-top: 28px; }
.push-opt { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-dark); cursor: pointer; }
.push-opt input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.push-opt span { display: grid; gap: 2px; }
.push-opt small { color: var(--mute-dark); font-size: .9rem; }
.push-settings__saved { min-height: 1.4em; margin-top: 12px; font-size: .9rem; color: var(--mute-dark); }

/* Anstoßzeit vor dem Spiel: Mono-Schrift im Rahmen mit „Uhr“ – klar unterscheidbar vom großen Spielstand */
.kickoff { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .28); font-family: var(--font-mono); color: var(--white); white-space: nowrap; }
.kickoff__time { font-size: 1.55rem; font-weight: 600; letter-spacing: .02em; font-variant-numeric: tabular-nums; line-height: 1; }
.kickoff__unit { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.kickoff--lg { padding: 10px 18px; }
.kickoff--lg .kickoff__time { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.app-match__center .kickoff, .match-hero__center .kickoff { margin-bottom: 6px; }
.match-hero__board > .match-hero__team, .app-match__board > .app-match__team { hyphens: manual; overflow-wrap: normal; }   /* Vereinsnamen zwischen Wörtern umbrechen, nicht „Lauben-dorf“ */
@media (max-width: 420px) {   /* kleines Handy: Kasten schmaler, damit die Vereinsnamen daneben nicht getrennt werden */
  .kickoff, .kickoff--lg { padding: 6px 9px; gap: 4px; }
  .kickoff__time, .kickoff--lg .kickoff__time { font-size: 1.25rem; }
  .kickoff__unit { font-size: .64rem; }
}

/* ====================================================================
   APP-STARTSEITE: Spieltagskarte statt Bildbereich und Spielleiste
   ==================================================================== */
.app-match { display: none; }
.is-app .app-match { display: block; background: var(--ink); color: var(--white); padding: calc(var(--app-header, 76px) + 22px) 0 30px; border-bottom: 1px solid var(--line-light); }
.is-app .hero, .is-app .matchbar { display: none; }
.app-match__label { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.app-match--live .app-match__label { color: var(--white); }
.app-match__board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; text-align: center; }
.app-match__team { display: grid; justify-items: center; gap: 8px; font-weight: 600; font-size: .92rem; line-height: 1.25; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
/* Die Karte zeigt den Live-Stand schon: auf der App-Startseite keine zweite Live-Zeile */
.is-app body:has(.app-match) .liveband { display: none; }
.app-match__crest { width: 64px; height: 64px; object-fit: contain; }
.app-match__center { display: grid; justify-items: center; gap: 2px; }
.app-match__score { font-size: clamp(3rem, 15vw, 4.6rem); line-height: 1; }
.app-match__note { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.app-match__countdown { margin: 22px auto 0; justify-content: center; }
.app-match__meta { margin-top: 16px; text-align: center; color: var(--mute); font-size: .9rem; }
.app-match__lineup { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line-light); font-size: .92rem; line-height: 1.55; }
.app-match__sub { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.app-match__ticker { list-style: none; margin-top: 20px; border-top: 1px solid var(--line-light); }
.app-match__ticker li { display: grid; grid-template-columns: 2.6rem 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-light); font-size: .92rem; }
.app-match__min { font-family: var(--font-mono); font-weight: 600; }
.app-match__actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 20px; }
.app-match__actions .btn { justify-content: center; min-height: 48px; }
.app-match__last { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--mute); }

/* ====================================================================
   TORJUBEL
   ==================================================================== */
.goal-burst {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; text-align: center; cursor: pointer;
  background: var(--ink) repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 2px, transparent 2px 22px);
  color: var(--white); animation: goal-in .25s ease-out both;
}
.goal-burst.is-out { animation: goal-out .3s ease-in both; }
.goal-burst__inner { display: grid; justify-items: center; gap: 10px; padding: 24px; }
.goal-burst__word { font-size: clamp(7rem, 42vw, 16rem); line-height: .85; text-transform: uppercase; letter-spacing: .02em; animation: goal-pop .7s cubic-bezier(.2, 1.6, .4, 1) both, goal-pulse 1.2s ease-in-out .7s 3; }
.goal-burst__score { font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1; border: 2px solid var(--white); padding: 6px 18px 2px; }
.goal-burst__text { font-size: 1.05rem; font-weight: 600; max-width: 28ch; }
.goal-burst__hint { margin-top: 18px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
@keyframes goal-in { from { opacity: 0; } }
@keyframes goal-out { to { opacity: 0; } }
@keyframes goal-pop { from { transform: scale(.3); opacity: 0; } }
@keyframes goal-pulse { 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .goal-burst, .goal-burst__word, .goal-burst.is-out { animation: none; } }

/* ====================================================================
   BRANCHENBUCH
   ==================================================================== */
.directory { display: grid; gap: clamp(36px, 5vw, 56px); max-width: 900px; }
.directory__title { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-dark); padding-bottom: 10px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.directory__list { list-style: none; }
.directory__item { display: grid; grid-template-columns: 88px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.directory__logo { display: grid; place-items: center; width: 88px; height: 88px; padding: 12px; background: var(--ink); color: var(--white); }
.directory__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.directory__logo--square { padding: 8px; }
.directory__logo .wordmark { font-family: var(--font-display); font-size: .9rem; text-transform: uppercase; text-align: center; line-height: 1.05; }
.directory__body { min-width: 0; display: grid; gap: 4px; align-content: start; }
.directory__name { font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.directory__tier { display: inline-block; margin-left: 6px; padding: 2px 7px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px; border: 1px solid var(--ink); }
.directory__claim, .directory__address { color: var(--mute-dark); font-size: .92rem; }
.directory__perk { font-size: .92rem; }
.directory__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.directory__btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-dark); font-size: .85rem; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.directory__btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.directory__btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.directory__cta { margin-top: 4px; }
@media (max-width: 480px) { .directory__item { grid-template-columns: 64px 1fr; gap: 14px; } .directory__logo { width: 64px; height: 64px; padding: 8px; } }
.ticker-card__by { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.ticker-card__logo { display: grid; place-items: center; height: 34px; padding: 5px 10px; background: var(--ink); color: var(--white); }
.ticker-card__logo img { max-height: 24px; max-width: 110px; object-fit: contain; }
.ticker-card__logo .wordmark { font-family: var(--font-body); font-weight: 700; font-size: .8rem; letter-spacing: 0; text-transform: none; }

/* ====================================================================
   UMFRAGE DES SPIELTAGS
   ==================================================================== */
.poll-section { background: var(--paper); padding: clamp(36px, 5vw, 56px) 0 0; }
.poll-section .poll { max-width: 760px; background: var(--white); border: 1px solid var(--line-dark); padding: clamp(20px, 3vw, 32px); }
.poll__q { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1.05; margin-bottom: 18px; }
.poll__form { display: grid; gap: 8px; }
.poll__opt { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border: 1px solid var(--ink); background: var(--white); color: var(--ink); font: 600 1rem/1.2 var(--font-body); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.poll__opt:hover, .poll__opt:focus-visible { background: var(--ink); color: var(--white); }
.poll__opt:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.poll.is-busy { opacity: .6; pointer-events: none; }
.poll__hp { position: absolute; left: -9999px; }
.poll__results { list-style: none; display: grid; gap: 8px; }
.poll__row { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; border: 1px solid var(--line-dark); overflow: hidden; isolation: isolate; }
.poll__row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--pct); background: var(--paper-2); z-index: -1; transition: width .8s cubic-bezier(.22, 1, .36, 1); }
.poll__row.is-mine { border-color: var(--ink); }
.poll__row.is-mine::before { background: var(--ink); }
.poll__row.is-mine .poll__label, .poll__row.is-mine .poll__pct { color: var(--white); mix-blend-mode: difference; }
.poll__label { font-weight: 600; }
.poll__label small { display: block; margin-top: 2px; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.poll__pct { flex: none; white-space: nowrap; font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.poll__note { margin-top: 12px; font-size: .85rem; color: var(--mute-dark); }
.match-card .poll__q { font-size: 1.9rem; }

/* ====================================================================
   SPIELERPROFIL: Saison in Zahlen, Wischen zum nächsten Spieler
   ==================================================================== */
.profile__season { margin: 22px 0 26px; }
.profile__season-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.profile__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.profile__stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 14px 16px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.profile__stats dd { font-size: clamp(2.2rem, 7vw, 3rem); line-height: .9; }
.profile__stats dt { font-size: .78rem; color: var(--mute); }
.profile__swipe-hint { display: none; }
@media (pointer: coarse) { .profile__swipe-hint { display: block; margin-top: 28px; text-align: center; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); } }
.profile.is-leaving { transition: transform .22s ease-in, opacity .22s ease-in; }
.profile.is-leaving.to-next { transform: translateX(-28%); opacity: 0; }
.profile.is-leaving.to-prev { transform: translateX(28%); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .profile.is-leaving { transition: none; } }

/* ====================================================================
   TIPPSPIEL
   ==================================================================== */
.poll-section + .poll-section { padding-top: 16px; }
.poll-section .tipp { max-width: 760px; background: var(--white); border: 1px solid var(--line-dark); padding: clamp(20px, 3vw, 32px); }
.tipp.is-busy { opacity: .6; pointer-events: none; }
.tipp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tipp__title { font-size: clamp(1.7rem, 4.5vw, 2.4rem); line-height: 1; }
.tipp__link { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.tipp__board { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px; }
.tipp__side { display: grid; justify-items: center; gap: 10px; min-width: 0; text-align: center; }
.tipp__team { font-weight: 600; font-size: .92rem; line-height: 1.25; overflow-wrap: break-word; hyphens: auto; }
.tipp__stepper { display: grid; grid-template-columns: 40px 64px 40px; align-items: center; border: 1px solid var(--ink); }
.tipp__step { height: 64px; background: none; border: 0; font-size: 1.4rem; line-height: 1; color: var(--ink); cursor: pointer; }
.tipp__step:active { background: var(--paper-2); }
.tipp__num { width: 64px; height: 64px; border: 0; border-inline: 1px solid var(--line-dark); text-align: center; font-size: 2.4rem; background: none; color: var(--ink); -moz-appearance: textfield; }
.tipp__num::-webkit-inner-spin-button, .tipp__num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tipp__num:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.tipp__colon { font-size: 2.4rem; line-height: 64px; }
.tipp__nick { display: grid; gap: 6px; margin-top: 18px; font-size: .88rem; font-weight: 600; }
.tipp__nick input { min-height: 48px; padding: 0 14px; border: 1px solid var(--ink); font: 500 1rem var(--font-body); background: var(--white); color: var(--ink); }
.tipp__submit { width: 100%; justify-content: center; min-height: 50px; margin-top: 16px; }
.tipp__note, .tipp__count { margin-top: 12px; font-size: .85rem; color: var(--mute-dark); }
.tipp__error { margin-bottom: 12px; padding: 10px 14px; border: 1px solid var(--ink); font-size: .9rem; font-weight: 600; }
.tipp__mine { display: flex; align-items: center; gap: 16px; }
.tipp__mine-score { font-size: 3rem; line-height: 1; padding: 6px 14px 2px; background: var(--ink); color: var(--white); }
.tipp__change { display: inline-block; margin-top: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 380px) { .tipp__stepper { grid-template-columns: 34px 52px 34px; } .tipp__num { width: 52px; font-size: 2rem; } .tipp__step { height: 56px; } .tipp__num { height: 56px; } }
/* Rangliste */
.tipp-page { display: grid; gap: 20px; max-width: 760px; }
.tipp-table { list-style: none; }
.tipp-table__row { display: grid; grid-template-columns: 2.4rem 1fr auto; grid-template-areas: "pos name pts" "pos meta pts"; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.tipp-table__row.is-me { background: var(--paper); margin-inline: calc(-1 * clamp(20px, 3vw, 32px)); padding-inline: clamp(20px, 3vw, 32px); }
.tipp-table__pos { grid-area: pos; font-family: var(--font-mono); font-weight: 600; padding-top: 2px; }
.tipp-table__name { grid-area: name; font-weight: 700; }
.tipp-table__name small { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; margin-left: 6px; }
.tipp-table__meta { grid-area: meta; font-size: .8rem; color: var(--mute-dark); }
.tipp-table__pts { grid-area: pts; align-self: center; font-family: var(--font-display); font-size: 1.9rem; }
.tipp-mine { list-style: none; }
.tipp-mine a { display: grid; grid-template-columns: 3.2rem 1fr auto; grid-template-areas: "date opp pts" "date nums pts"; column-gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.tipp-mine__date { grid-area: date; font-family: var(--font-mono); font-size: .85rem; padding-top: 2px; }
.tipp-mine__opp { grid-area: opp; font-weight: 600; }
.tipp-mine__nums { grid-area: nums; font-size: .85rem; color: var(--mute-dark); font-variant-numeric: tabular-nums; }
.tipp-mine__pts { grid-area: pts; align-self: center; font-family: var(--font-mono); font-weight: 600; }
.goal-burst__fav { padding: 6px 14px; background: var(--white); color: var(--ink); font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; animation: goal-pop .5s cubic-bezier(.2, 1.6, .4, 1) .15s both; }
@media (prefers-reduced-motion: reduce) { .goal-burst__fav { animation: none; } }
.profile__favbox { margin: 16px 0 4px; }
.profile__fav { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-light); background: none; color: var(--white); font: 600 .9rem var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.profile__fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.profile__fav:hover { border-color: var(--white); }
.profile__fav[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.profile__fav[aria-pressed="true"] svg { fill: currentColor; }
.profile__fav-hint { margin-top: 8px; font-size: .85rem; color: var(--mute); }
.profile__fav-hint a { text-decoration: underline; text-underline-offset: 3px; }
.push-fav { margin-top: 28px; }
.push-fav .push-opt { cursor: default; }

/* ====================================================================
   VIDEOS
   ==================================================================== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.video-grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.video-card { background: var(--white); border: 1px solid var(--line-dark); }
.video-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.video-card__body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.video-card__title { font-size: 1rem; font-weight: 700; }
.video-card__game { font-size: .85rem; color: var(--mute-dark); }
.ticker__img { display: block; margin-top: 10px; width: min(100%, 220px); border: 1px solid var(--line-dark); }
.ticker__img img { display: block; width: 100%; height: auto; }

/* Teilen und Kalender */
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-light); background: none; color: var(--white); font: 600 .85rem var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.share-btn:hover { border-color: var(--white); }
.share-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.share-btn--ink { margin-top: 20px; color: var(--ink); border-color: var(--line-dark); }
.share-btn--ink:hover { border-color: var(--ink); }
.match-hero__tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.profile__favbox .share-btn { margin-left: 8px; vertical-align: top; }

/* ====================================================================
   APP-EINSTIEG
   ==================================================================== */
.onboard { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: calc(28px + env(safe-area-inset-top)) 22px calc(24px + env(safe-area-inset-bottom)); border: 0; background: var(--ink); color: var(--white); overflow-y: auto; }
.onboard[open] { display: block; animation: sheet-up .35s cubic-bezier(.22, 1, .36, 1); }
.onboard::backdrop { background: var(--ink); }
.onboard__step { max-width: 460px; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; }
.onboard__step[hidden] { display: none; }
.onboard__logo { width: 84px; height: 84px; margin: 6vh 0 22px; }
.onboard__title { font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: .95; text-transform: uppercase; }
.onboard__text { margin-top: 12px; color: var(--mute); line-height: 1.5; }
.onboard__list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.onboard__list li { display: grid; gap: 3px; padding-left: 16px; border-left: 1px solid var(--line-light); }
.onboard__list span { color: var(--mute); font-size: .95rem; line-height: 1.45; }
.onboard__players { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.onboard__player { display: grid; justify-items: center; gap: 8px; padding: 12px 4px; border: 1px solid var(--line-light); background: none; color: var(--white); cursor: pointer; }
.onboard__player[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.onboard__face { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: var(--ink-2); font-family: var(--font-display); font-size: 1.2rem; }
.onboard__face img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.onboard__pname { font-size: .8rem; font-weight: 600; text-align: center; line-height: 1.2; }
.onboard__pname i { font-style: normal; font-family: var(--font-mono); opacity: .7; }
.onboard__status { min-height: 1.5em; margin-top: 18px; font-weight: 600; }
.onboard__actions { position: sticky; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: auto; padding-top: 24px; background: linear-gradient(transparent, var(--ink) 30%); }
.onboard__actions .btn { justify-content: center; min-height: 52px; }

/* ====================================================================
   SAISON IN ZAHLEN (Spielplan)
   ==================================================================== */
.season-stats__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); align-items: start; }
.season-stats__title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-dark); margin-bottom: 12px; }
.season-stats__title:not(:first-child) { margin-top: 26px; }
.season-stats__note { margin-top: 10px; font-size: .82rem; color: var(--mute-dark); }
.season-form { list-style: none; display: flex; gap: 8px; }
.season-form .result-badge { display: grid; place-items: center; width: 42px; height: 42px; font-size: 1rem; }
.season-split { display: grid; gap: 0; }
.season-split div { display: grid; grid-template-columns: 6rem 1fr; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.season-split dt { font-weight: 700; }
.season-split dd { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.season-split__goals { font-family: var(--font-mono); font-weight: 600; }
.scorers { list-style: none; }
.scorers li { display: grid; grid-template-columns: 2.2rem 1fr auto; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.scorers li:first-child { border-top: 0; padding-top: 0; }
.scorers__pos { font-family: var(--font-mono); font-weight: 600; color: var(--mute-dark); }
.scorers a { font-weight: 600; }
.scorers__goals { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }

/* Aufstellung auf dem Spielfeld (Spielseite) */
.pitch {
  position: relative; display: flex; flex-direction: column; justify-content: space-around; gap: 6px;
  aspect-ratio: 68 / 100; max-height: 560px; margin: 4px 0 18px; padding: 16px 6px;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink); overflow: hidden; isolation: isolate;
}
/* Linien: Mittellinie, Mittelkreis, Strafräume */
.pitch::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.22); z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) center / 100% 1px no-repeat,
    radial-gradient(circle at center, transparent 0 13%, rgba(255,255,255,.22) 13% calc(13% + 1px), transparent calc(13% + 1px)); }
.pitch::after { content: ""; position: absolute; left: 25%; right: 25%; top: 10px; bottom: 10px; z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) top left / 1px 15% no-repeat,
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) top right / 1px 15% no-repeat,
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 0 15% / 100% 1px no-repeat,
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) bottom left / 1px 15% no-repeat,
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) bottom right / 1px 15% no-repeat,
    linear-gradient(rgba(255,255,255,.22), rgba(255,255,255,.22)) 0 85% / 100% 1px no-repeat; }
.pitch__row { display: flex; justify-content: space-evenly; gap: 4px; }
.pitch__player { display: grid; justify-items: center; gap: 4px; min-width: 0; flex: 0 1 25%; text-align: center; }
.pitch__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--ink); font-family: var(--font-mono); font-weight: 600; font-size: .85rem; }
.pitch__name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .74rem; font-weight: 600; }
.pitch__player:hover .pitch__num { outline: 2px solid var(--white); outline-offset: 2px; }
/* Willkommen und Benachrichtigungen: Knöpfe direkt unter dem Text statt ganz unten am Rand */
.onboard__step[data-onboard-step="1"] .onboard__actions, .onboard__step[data-onboard-step="3"] .onboard__actions { position: static; margin-top: 36px; padding-top: 0; background: none; }
.onboard__logo { margin-top: 3vh; }
/* Vorbericht auf der App-Spieltagskarte */
.app-match__preview { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line-light); }
.app-match__preview span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.app-match__preview b { font-size: 1rem; line-height: 1.35; }
/* Für Tester (Benachrichtigungen) */
.push-tester > summary { cursor: pointer; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.push-tester[open] > summary { margin-bottom: 14px; }
.push-tester__form { display: flex; gap: 10px; flex-wrap: wrap; }
.push-tester__form input { flex: 1; min-width: 140px; min-height: 48px; padding: 0 14px; border: 1px solid var(--ink); font: 600 1.1rem var(--font-mono); letter-spacing: .15em; text-transform: uppercase; background: var(--white); color: var(--ink); }
/* Hinweis-Knopf: Ton für den Torjubel freischalten (iPhone braucht einmal Tippen) */
.sound-chip { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 125; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: var(--white); color: var(--ink); font: 700 .88rem var(--font-body); box-shadow: 0 10px 30px rgba(0,0,0,.35); cursor: pointer; }
.is-app .sound-chip { bottom: calc(96px + env(safe-area-inset-bottom)); }
.sound-chip svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.goal-burst__play { margin-top: 18px; min-height: 48px; padding: 0 22px; border: 0; background: var(--white); color: var(--ink); font: 700 .95rem var(--font-body); cursor: pointer; }

/* ====================================================================
   MITMACHEN (Bento auf der Startseite): Tipp groß, Umfrage breit, kleine Kacheln
   ==================================================================== */
.bento-section { background: var(--paper); padding: clamp(40px, 6vw, 72px) 0 0; }
.bento-section__title { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 20px; }
.bento { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: row dense; }
.bento__tile { min-width: 0; background: var(--white); border: 1px solid var(--line-dark); }
.bento__tip { grid-column: span 2; grid-row: span 2; }
.bento__poll { grid-column: span 2; }
.bento__small { grid-column: span 1; }
.bento .tipp, .bento .poll { height: 100%; max-width: none; background: none; border: 0; padding: clamp(20px, 2.4vw, 30px); }
/* Tipp-Kachel dunkel abgesetzt */
.bento__tip { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bento__tip .tipp__link, .bento__tip .tipp__change { color: var(--white); }
.bento__tip .tipp__stepper { border-color: rgba(255,255,255,.55); }
.bento__tip .tipp__step, .bento__tip .tipp__num, .bento__tip .tipp__colon { color: var(--white); }
.bento__tip .tipp__step:active { background: rgba(255,255,255,.1); }
.bento__tip .tipp__num { border-inline-color: rgba(255,255,255,.2); }
.bento__tip .tipp__nick input { border-color: rgba(255,255,255,.55); background: transparent; color: var(--white); }
.bento__tip .tipp__nick input::placeholder { color: rgba(255,255,255,.45); }
.bento__tip .tipp__submit { background: var(--white); color: var(--ink); }
.bento__tip .tipp__note, .bento__tip .tipp__count { color: var(--mute); }
.bento__tip .tipp__mine-score { background: var(--white); color: var(--ink); }
.bento__tip .tipp__error { border-color: var(--white); }
.bento__tip .tipp__board { margin-top: 8px; }
/* Kleine Kacheln */
.bento__link { display: flex; flex-direction: column; gap: 8px; padding: 22px; transition: border-color .2s, transform .2s var(--ease); }
.bento__link:hover { border-color: var(--ink); transform: translateY(-2px); }
.bento__label { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.bento__head { font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.bento__text { font-size: .92rem; line-height: 1.45; color: var(--mute-dark); }
.bento__go { margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .88rem; }
.bento__icon { width: 56px; height: 56px; border-radius: 14px; }
.bento__rank { list-style: none; display: grid; gap: 6px; counter-reset: r; }
.bento__rank li { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; counter-increment: r; font-weight: 600; }
.bento__rank li span::before { content: counter(r) ". "; font-family: var(--font-mono); color: var(--mute-dark); }
.bento__rank b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; }
.is-app .bento__app { display: none; }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__tip { grid-row: auto; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__tip, .bento__poll, .bento__small { grid-column: auto; } }
.tipp__meta { margin: -8px 0 18px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: var(--mute-dark); }
.bento__tip .tipp__meta { color: var(--mute); }
.bento__tip .tipp { display: flex; flex-direction: column; }
.bento__tip .tipp__form { display: flex; flex-direction: column; flex: 1; }
.bento__tip .tipp__board { margin: auto 0; padding: 18px 0; }
.bento__tip .tipp__count { margin-top: 14px; }

/* ====================================================================
   DIE FCH-APP (Anleitung)
   ==================================================================== */
.app-guide { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .app-guide { grid-template-columns: minmax(0, 1fr) 340px; } .app-guide__video { position: sticky; top: 100px; } }
.app-guide__steps { display: grid; gap: 20px; }
.app-steps { list-style: none; counter-reset: s; display: grid; }
.app-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.app-steps li:first-child { border-top: 0; padding-top: 0; }
.app-steps li::before { content: counter(s); grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--font-mono); font-weight: 600; }
.app-steps--plain li::before { content: ""; width: 10px; height: 10px; margin: 6px 0 0 13px; }
.app-steps b { font-size: 1.05rem; }
.app-steps span { color: var(--mute-dark); font-size: .95rem; line-height: 1.5; }
.app-guide__install { margin-top: 18px; }
.app-guide__video { margin: 0; }
.app-guide__video video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--ink); border: 1px solid var(--line-dark); }
.app-guide__video figcaption { margin-top: 10px; font-size: .85rem; color: var(--mute-dark); }

/* =====================================================================
   INTRO BEIM APP-START (header.php, nur html.is-launch)
   Wappen exakt mittig und 120px groß wie im iOS-Startbild (assets/img/splash/):
   Puls mit Ring-Welle, Lichtreflex über das Wappen, dann Durchflug (Zoom) in die App.
   ===================================================================== */
.launch { display: none; }
.is-launch .launch {
  display: flex; align-items: center; justify-content: center;
  position: fixed; inset: 0; z-index: 10000;
  background: var(--ink);
}
.is-launch body { overflow: hidden; }
.launch__logo {
  position: relative; width: 120px; height: 120px; border-radius: 50%; overflow: hidden;
}
.launch__logo img { display: block; width: 120px; height: 120px; }
.launch__shine {
  position: absolute; inset: -10%;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.35) 44%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.35) 56%, transparent 70%);
  transform: translateX(-120%);
}
.launch__ring {
  position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
  border: 2px solid rgba(255, 255, 255, 0.8); border-radius: 50%; opacity: 0;
}
/* Abgespielt wird erst mit .is-launch-play – gesetzt, wenn die Seite geladen und sichtbar ist (header.php).
   Vorher steht das Wappen still wie auf dem iOS-Startbild; sonst liefe die Animation unsichtbar dahinter ab. */
.is-launch-play .launch__logo { animation: launch-beat 0.6s 0.15s var(--ease) both; }
.is-launch-play .launch__shine { animation: launch-shine 0.65s 0.45s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
.is-launch-play .launch__ring { animation: launch-ring 0.8s 0.28s cubic-bezier(0.2, 0.7, 0.3, 1) forwards; }
@keyframes launch-beat { 0% { transform: scale(1); } 35% { transform: scale(1.1); } 65% { transform: scale(0.97); } 100% { transform: scale(1); } }
@keyframes launch-shine { to { transform: translateX(120%); } }
@keyframes launch-ring { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.8); } }
/* Großes animiertes Logo (assets/img/logo-intro-app.svg): das kleine Wappen vom Startbild tritt zurück */
.launch__intro { position: absolute; left: 50%; top: 50%; width: min(78vw, 46vh, 380px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.launch__intro img { display: block; width: 100%; height: 100%; }
.launch__intro:empty { display: none; }
.is-launch-play .launch__logo:has(~ .launch__intro img) { animation: launch-handover .3s cubic-bezier(.4, 0, .2, 1) forwards; }
.is-launch-out .launch__logo:has(~ .launch__intro img) { animation: none; opacity: 0; }
.is-launch-play .launch:has(.launch__intro img) .launch__ring { display: none; }
@keyframes launch-handover { to { transform: scale(.4); opacity: 0; } }
.is-launch-out .launch__intro { animation: launch-fly-intro 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards; }
@keyframes launch-fly-intro { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 75% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(6); opacity: 0; } }
/* Durchflug: Wappen zoomt auf den Betrachter zu, der schwarze Grund blendet dahinter aus */
/* Wappen nimmt sofort Fahrt auf (gleichmäßig beschleunigend) und bleibt fast bis zum Schluss deckend;
   der schwarze Grund hält bis knapp zur Hälfte, damit die App erst hinter dem anfliegenden Wappen auftaucht */
.is-launch-out .launch { animation: launch-bg-out 0.6s linear forwards; pointer-events: none; }
.is-launch-out .launch__logo { animation: launch-fly 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards; }
@keyframes launch-fly { 0% { transform: scale(1); opacity: 1; } 75% { opacity: 1; } 100% { transform: scale(14); opacity: 0; } }
@keyframes launch-bg-out { 0%, 45% { background-color: var(--ink); } 100% { background-color: transparent; } }
/* Sanfte Variante bei „Bewegung reduzieren“: kein Puls, keine Ring-Welle, kein Zoom –
   nur der Lichtreflex innerhalb des Wappens und eine weiche Überblendung in die App */
@media (prefers-reduced-motion: reduce) {
  .is-launch-play .launch__logo, .is-launch-play .launch__ring { animation: none; }
  .launch__ring { display: none; }
  /* !important, weil die allgemeine Regel oben bei „Bewegung reduzieren“ sonst jede Animation abschaltet */
  .is-launch-play .launch__shine { animation: launch-shine 0.7s 0.1s cubic-bezier(0.45, 0, 0.25, 1) forwards !important; }
  .is-launch-out .launch { animation: none; opacity: 0; transition: opacity 0.45s ease !important; }
  .is-launch-out .launch__logo { animation: none; }
}

/* ====================================================================
   VEREINSKLEIDUNG & FAN-SHOP (kleidung.php, fanshop.php)
   ==================================================================== */
.kl { display: grid; gap: 20px; }
.kl-side { display: grid; gap: 20px; align-content: start; }
.kl-beleg, .kl > .match-card { max-width: 820px; width: 100%; justify-self: center; }
.kl > .kl-code { max-width: 520px; }
/* Desktop: Artikel links in voller Breite, Angaben, Abholung, Bezahlung und Summe in der rechten Spalte */
@media (min-width: 1080px) {
  .kl-form { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); align-items: start; gap: 24px; }
  .kl-form > .kl-runde, .kl-form > .kl-err { grid-column: 1 / -1; }
  .kl-side .kl-fields { grid-template-columns: minmax(0, 1fr); }
  .kl-submit { width: 100%; justify-self: stretch; }
}
.kl-form { display: grid; gap: 20px; }
.kl-box { border: 1px solid var(--line-dark); margin: 0; min-width: 0; }
.kl-box > legend { float: left; width: 100%; padding: 0; }
.kl-box > legend + * { clear: both; }
.kl .block-title { font-size: 1.8rem; margin-bottom: 14px; }
.kl-meta { color: var(--mute-dark); line-height: 1.6; margin-bottom: 14px; }
.kl-meta a, .kl-hinweis a, .push-opt small a { text-decoration: underline; text-underline-offset: 3px; }
.kl-runde { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; justify-content: space-between; background: var(--ink); color: var(--white); padding: 16px 22px; }
.kl-runde span { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.kl-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.kl-field { display: grid; gap: 6px; }
.kl-field--wide { grid-column: 1 / -1; }
.kl-field > span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); }
.kl-field small { text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.kl input:not([type=checkbox]):not([type=radio]), .kl select, .kl textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white); border: 1px solid rgba(11,11,12,.25); border-radius: var(--radius); padding: 11px 12px; min-height: 46px; }
.kl input:focus, .kl select:focus, .kl textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.kl-person { border: 0; margin: 0 0 8px; padding: 0; position: relative; min-width: 0; }
.kl-person + .kl-person { margin-top: 26px; }
.kl-person__title { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-display); text-transform: uppercase; font-size: 1.4rem; margin-bottom: 12px; padding: 0; }
.kl-person + .kl-person .kl-person__title { border-top: 2px solid var(--ink); padding-top: 18px; }
.kl-person__remove { font-family: var(--font-body); text-transform: none; font-size: .85rem; color: var(--mute-dark); text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }
.kl-gruppe { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute-dark); margin: 22px 0 4px; }
.kl-row { display: grid; grid-template-columns: minmax(0, 1fr) 11rem 4.6rem; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-dark); }
.kl-row__name { font-weight: 600; }
.kl-row__name small { display: block; font-weight: 400; color: var(--mute-dark); font-variant-numeric: tabular-nums; }
.kl-row.is-on .kl-row__name::before { content: "✓ "; }
.kl .kl-row select { min-height: 42px; padding: 8px 10px; }
.kl-row__qty select:disabled { opacity: .35; }
.kl-row__name small + small { margin-top: 2px; }
.kl-row__img { display: block; width: 56px; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.kl-row__img img { width: 100%; height: 100%; object-fit: contain; }
.kl-row__img--leer { display: grid; place-items: center; }
.kl-row__img--leer img { width: 46%; height: auto; opacity: .18; filter: grayscale(1); }
.kl-list--img .kl-row { grid-template-columns: 76px minmax(0, 1fr) 11rem 4.6rem; }
.kl-list--img .kl-row__img { width: 76px; }
/* Fan-Shop: Produktkarten wie im Profi-Shop – großes Bild, Name, Preis, darunter Größe und Anzahl */
.kl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; margin-top: 6px; }
.kl-row--card { grid-template-columns: minmax(0, 1fr) 4.6rem; align-content: start; gap: 10px; padding: 0 0 16px; border: 1px solid var(--line-dark); background: var(--white); transition: border-color .2s var(--ease); }
.kl-row--card.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.kl-row--card .kl-row__img { grid-column: 1 / -1; width: 100%; aspect-ratio: 1; }
.kl-row--card .kl-row__img img { transition: transform .5s var(--ease); }
@media (hover: hover) { .kl-row--card .kl-row__img:hover img { transform: scale(1.04); } }
.kl-row--card .kl-row__name { grid-column: 1 / -1; padding: 4px 16px 0; font-size: 1.05rem; }
.kl-row--card .kl-row__price { font-family: var(--font-mono); font-size: 1rem; color: var(--ink); font-weight: 600; margin-top: 2px; }
.kl-row--card .kl-row__size { padding-left: 16px; }
.kl-row--card .kl-row__qty { padding-right: 16px; }
.kl-row--card.is-on .kl-row__name::before { content: none; }
.kl-grid--katalog .kl-row--card { padding-bottom: 6px; }
.kl-add { margin-top: 18px; }
.kl-sum { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); margin-top: 18px; padding-top: 14px; font-size: 1.1rem; }
.kl-sum b { font-family: var(--font-mono); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.kl-sum[hidden] { display: none; }
.kl-legal { font-size: .88rem; margin: 10px 0; }
.kl-ust { font-size: .85rem; margin: -6px 0 12px; text-align: right; }
.kl-hinweis { background: var(--paper); border-left: 4px solid var(--ink); padding: 14px 18px; margin: 16px 0; line-height: 1.6; }
.kl-err { background: #fff0f1; border-left: 4px solid var(--red); padding: 12px 16px; color: var(--ink); }
.kl-err p + p { margin-top: 4px; }
.kl-ok { font-weight: 600; margin-bottom: 14px; }
.kontakt__box { max-width: 680px; margin: 0 auto; display: grid; gap: 16px; }
.kontakt__box .btn { justify-self: start; }
.kl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kl-code { display: grid; gap: 14px; max-width: 520px; }
.kl-code .btn, .kl-submit { justify-self: start; margin-top: 8px; }
.kl-submit:disabled { opacity: .6; }
.kl-beleg__label { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-dark); }
.kl-beleg__nr { font-size: clamp(2.6rem, 8vw, 4rem); margin: 4px 0 10px; }
.kl-lines { border-top: 1px solid var(--line-dark); margin-bottom: 8px; }
.kl-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto 6rem; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-dark); }
.kl-lines li span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .kl-fields { grid-template-columns: minmax(0, 1fr); }
  .kl-row { grid-template-columns: minmax(0, 1fr) 4.4rem; }
  .kl-row__name { grid-column: 1 / -1; }
  .kl-list--img .kl-row { grid-template-columns: 48px minmax(0, 1fr) 4.4rem; }
  .kl-list--img .kl-row__img { width: 48px; grid-row: span 2; }
  .kl-list--img .kl-row__name { grid-column: 2 / -1; }
  .kl-row--card { grid-template-columns: minmax(0, 1fr) 4.4rem; }
  .kl-lines li { grid-template-columns: minmax(0, 1fr) auto; }
  .kl-lines li span:last-child { grid-column: 1 / -1; text-align: left; color: var(--mute-dark); }
  .kl-lines li span:last-child:empty { display: none; }
}
/* Mitglieder im Fan-Shop: Code-Kasten, Mitgliederpreis, gesperrte Artikel */
.kl-mitglied { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; background: var(--ink); color: var(--white); padding: 20px 22px; }
.kl-mitglied b { display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; font-weight: 400; line-height: 1; margin-bottom: 6px; }
.kl-mitglied span { color: rgba(255,255,255,.78); line-height: 1.5; }
.kl-mitglied a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.kl-mitglied .kl-err { grid-column: 1 / -1; }
.kl-mitglied__code { display: flex; gap: 8px; }
.kl .kl-mitglied__code input { width: 12rem; min-height: 46px; background: var(--white); }
.kl-mitglied__code .btn { background: var(--white); color: var(--ink); }
.kl-mitglied.is-on { grid-template-columns: minmax(0, 1fr); border-left: 6px solid var(--white); }
.kl-mitglied.is-on b::before { content: "✓ "; }
.kl-badge { display: inline-block; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 2px 6px; border: 1px solid var(--ink); color: var(--ink); vertical-align: 1px; }
.kl-badge--ink { background: var(--ink); color: var(--white); }
.kl-row__price s { color: var(--mute-dark); font-weight: 400; margin-right: 4px; }
.kl-row--locked { opacity: .9; }
.kl-row--locked .kl-row__img { position: relative; }
.kl-row--locked .kl-row__img img { filter: grayscale(1) blur(2px); opacity: .55; }
.kl-row--locked .kl-row__img::after { content: "🔒"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; }
.kl-row--locked .kl-row__price { font-family: var(--font-body); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .kl-mitglied { grid-template-columns: minmax(0, 1fr); }
  .kl-mitglied__code { width: 100%; }
  .kl .kl-mitglied__code input { flex: 1; width: auto; }
}
