/* ============================================================
   WM 2026 PLANER – STYLES
   Design-DNA: hell & clean, frische Farbpalette,
   weiche Schatten, abgerundete Karten, Poppins/Inter.
   ============================================================ */
:root {
  /* CSS-Lade-Marker (vom Failsafe im <head> geprüft – NICHT entfernen) */
  --css-loaded: 1;
  /* Primärfarben (frisch, sportlich) */
  --green-primary: #15a34a;
  --green-light: #22c55e;
  --green-dark: #0f7d39;
  --orange: #ff9f1c;
  --orange-dark: #f97316;
  --coral: #ef4444;
  --sky: #0ea5e9;
  --sky-dark: #0284c7;
  --purple: #8b5cf6;
  --gold: #eab308;

  /* Hintergründe */
  --bg-white: #ffffff;
  --bg-off-white: #f8fafc;
  --bg-soft: #f1f5f9;
  --bg-mint: #ecfdf5;

  /* Text */
  --text-darker: #0f172a;
  --text-dark: #334155;
  --text-gray: #64748b;
  --text-light: #94a3b8;

  /* UI */
  --border: #e2e8f0;
  --border-soft: #eef2f6;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 28px rgba(21, 163, 74, 0.18);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --t-fast: 0.18s ease;
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);

  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; color: var(--text-darker); }
a { text-decoration: none; color: inherit; transition: var(--t-fast); }
button { font-family: inherit; border: none; cursor: pointer; transition: var(--t); background: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.hidden { display: none !important; }
.text-muted { color: var(--text-gray); }

/* ===================== Navigation ===================== */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-container {
  max-width: var(--maxw); margin: 0 auto; padding: 0.5rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
/* ---- Nav Logo ---- */
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.15rem;
  color: var(--text-darker); text-decoration: none; flex-shrink: 0;
}
.logo-icon-wrap {
  flex-shrink: 0;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-darker); /* steuert currentColor im SVG */
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon-wrap { transform: rotate(-6deg) scale(1.07); }
.logo-icon { width: 72px; height: 72px; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-wordmark { font-size: 1.05rem; font-weight: 800; }
.logo-wordmark strong { color: var(--green-dark); }
.logo small { display: block; font-size: 0.6rem; font-weight: 600; color: var(--text-light); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 2px; }

/* ---- Footer Logo ---- */
.footer-brand { display: flex; flex-direction: column; gap: 0.9rem; max-width: 340px; }
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; color: #fff;
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.05rem;
}
.footer-logo:hover { color: #fff; opacity: 0.9; }
.footer-logo-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  color: #ffffff; /* steuert currentColor im SVG */
  transition: transform 0.3s ease;
}
.footer-logo:hover .footer-logo-icon { transform: rotate(-6deg) scale(1.07); }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.footer-logo-text strong { color: #4ade80; }
.footer-logo-text small { display: block; font-size: 0.6rem; font-weight: 600; color: #475569; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }
.footer-logo-text small { display: block; font-size: 0.6rem; font-weight: 600; color: #475569; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

.nav-menu { display: flex; gap: 0.35rem; align-items: center; }
.nav-menu a {
  padding: 0.5rem 0.85rem; border-radius: 999px; font-weight: 600; font-size: 0.85rem; color: var(--text-dark);
}
.nav-menu a:hover { background: var(--bg-soft); color: var(--green-dark); }
.nav-menu a.active { background: var(--bg-mint); color: var(--green-dark); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }
.lang-toggle {
  display: flex; background: var(--bg-soft); border-radius: 999px; padding: 3px; font-size: 0.8rem; font-weight: 700;
}
.lang-toggle button { padding: 0.3rem 0.7rem; border-radius: 999px; color: var(--text-gray); }
.lang-toggle button.active { background: #fff; color: var(--green-dark); box-shadow: var(--shadow-sm); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.92rem;
}
.btn-primary { background: linear-gradient(135deg, var(--green-primary), var(--green-light)); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(21, 163, 74, 0.28); }
.btn-ghost { background: var(--bg-soft); color: var(--text-dark); }
.btn-ghost:hover { background: var(--border); }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; }

/* "Aktuelles Spiel" – Sprint-Button (korall/orange, sticht neben Grün hervor) */
.btn-current-match {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(249,115,22,0.32);
  white-space: nowrap;
}
.btn-current-match:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(249,115,22,0.38);
}
.btn-current-match i { animation: ball-bob 1.6s ease-in-out infinite; }
@keyframes ball-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-2px) rotate(-12deg); } }

/* Toggle "Nur meine Spiele" */
#toggleMyMatches { gap: 0.4rem; transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
#toggleMyMatches i { color: var(--gold); transition: transform 0.2s; }
#toggleMyMatches[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold), #ca8a04);
  color: #fff;
  box-shadow: 0 4px 14px rgba(234,179,8,0.35);
}
#toggleMyMatches[aria-pressed="true"] i { color: #fff; transform: scale(1.2); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--t); }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  z-index: 1;
  padding: 8rem 0 4rem;
  overflow: hidden;
  /* Hintergrund: Foto-Layer + Farbüberlagerung */
  background: var(--bg-off-white);
}

/* === Stadion-Hintergrund-Layer === */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Panorama-Foto (Hauptbild, volle Breite) */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-image: url('../images/stadium-hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Zoom-Effekt deaktiviert — Totale, statisch */
  transform: none;
  transition: none;
}
.hero-bg-photo.loaded { transform: none; } /* Zoom deaktiviert */

/* Zweites Foto entfernt — kein rechtes Bild-Overlay mehr */

/* Transparenz-Overlays — mehrschichtig für Tiefe */
.hero-bg-overlay1 {
  /* Klarer statt milchig: Foto rechts klar sichtbar, links sanfter Schleier nur für Textbereich.
     Horizontaler Verlauf statt flachem Vollflächen-Schleier. */
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.90) 0%,
    rgba(255,255,255,0.72) 38%,
    rgba(255,255,255,0.22) 62%,
    rgba(255,255,255,0.05) 100%
  );
}
.hero-bg-overlay2 {
  /* Grüner Farbton-Akzent von oben */
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(21, 163, 74, 0.18) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(14, 165, 233, 0.10) 100%
  );
}
.hero-bg-overlay3 {
  /* Vertikales Fade-to-white nach unten → sanfter Übergang zur Seite */
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.95) 100%
  );
}
.hero-bg-overlay4 {
  /* Gezielte Aufhellung exakt hinter dem Text (links) für maximale Lesbarkeit,
     ohne das restliche Bild zu überdecken. */
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 720px 420px at 28% 48%,
    rgba(255,255,255,0.82) 0%,
    rgba(255,255,255,0.42) 45%,
    transparent 75%
  );
}

/* Sicherstellen, dass Inhalt über Hintergrund liegt */
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem; align-items: center;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 1px 2px rgba(255,255,255,0.6); }
.hero h1 .grad {
  /* Schillernder Mehrfarb-Verlauf: sattes Grün → leuchtendes Türkis → kräftiges Sky-Blue */
  background: linear-gradient(
    110deg,
    #00c853 0%,
    #00e5a0 28%,
    #00c6ff 58%,
    #0072ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* Personal Tag */
.hero-personal-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-darker);
  margin-bottom: 0.15em;
  position: relative;
}
.hero-personal-tag::after {
  content: '';
  display: block;
  height: 4px;
  width: 60%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-primary), var(--sky));
  margin-top: 0.15em;
}

/* Countdown mit Label */
.countdown-wrap { margin-top: 1.4rem; }
.countdown-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.countdown-label.own { color: var(--green-dark); }
.countdown-label.own::before { content: "⭐"; }
.countdown-label.generic::before { content: "⚽"; }

/* Logo strong */
.logo strong { color: var(--green-dark); }
.hero p.lead { font-size: 1.08rem; color: var(--text-darker); font-weight: 600; margin: 1.2rem 0 2rem; max-width: 540px; text-shadow: 0 1px 3px rgba(255,255,255,0.75); }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.hero-stat {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1px 4px rgba(0,0,0,0.06);
  transition: var(--t);
}
.hero-stat:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); background: rgba(255,255,255,0.92); }
.hero-stat .num { font-family: 'Poppins'; font-size: 2.1rem; font-weight: 800; color: var(--green-dark); }
.hero-stat .lbl { font-size: 0.85rem; color: var(--text-gray); font-weight: 600; }
.hero-stat .ic { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--sky); }

/* Countdown: Glasmorphismus-Style passend zum Hero */
.countdown { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.cd-box {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.7rem 0.9rem;
  text-align: center;
  min-width: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.cd-box .cd-num { font-family: 'Poppins'; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.cd-box .cd-lbl { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.7; margin-top: 0.25rem; }

/* Hero-Badge Glasmorphismus */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; border-radius: 999px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: 0.8rem; color: var(--green-dark); margin-bottom: 1.4rem;
}

/* ===================== Sections ===================== */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg-off-white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-head .eyebrow { font-weight: 800; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-primary); }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 0.5rem 0; }
.section-head p { color: var(--text-gray); }

/* ===================== Filterleiste ===================== */
.filters {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.2rem;
  box-shadow: var(--shadow-sm); margin-bottom: 1.8rem; position: sticky; top: 72px; z-index: 50;
}
.filters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-gray); }
.field select, .field input {
  font-family: inherit; font-size: 0.92rem; padding: 0.55rem 0.7rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-off-white); color: var(--text-dark); transition: var(--t-fast); width: 100%;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(21,163,74,0.12); background: #fff; }
.filters-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip {
  font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--bg-soft); color: var(--text-gray); display: inline-flex; align-items: center; gap: 0.35rem;
}
.chip.fav { background: var(--bg-mint); color: var(--green-dark); }
.result-count { font-size: 0.85rem; color: var(--text-gray); font-weight: 600; }

/* Lieblingsteams-Leiste: einklappbar (Default: auf) */
.fav-team-section { margin-top: 0.9rem; }
.fav-team-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-off-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  cursor: pointer;
  font-family: inherit;
  margin-bottom: 0.6rem;
  transition: var(--t-fast);
}
.fav-team-toggle:hover { border-color: var(--green-primary); background: var(--bg-mint); }
.fav-team-toggle-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--text-gray);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.fav-team-toggle:hover .fav-team-toggle-label { color: var(--green-dark); }
.fav-team-toggle .fas.fa-star { color: var(--gold); }
/* Rechte Aktions-Gruppe: macht klar, dass der Kopf ein Schalter ist */
.fav-team-toggle-action {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-left: 0.3rem;
  padding-left: 0.6rem;
  border-left: 1px solid var(--border);
}
.fav-team-toggle-hint {
  font-size: 0.7rem; font-weight: 600;
  color: var(--green-primary);
  text-transform: none; letter-spacing: 0;
}
.fav-team-toggle:hover .fav-team-toggle-hint { color: var(--green-dark); }
.fav-team-chevron {
  font-size: 0.75rem; color: var(--green-primary);
  transition: transform var(--t);
}
.fav-team-toggle:hover .fav-team-chevron { color: var(--green-dark); }
.fav-team-toggle.is-collapsed .fav-team-chevron { transform: rotate(180deg); }

.fav-team-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.fav-team-bar.is-collapsed { display: none; }
.team-pill {
  font-size: 0.82rem; font-weight: 700; padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--border);
  background: #fff; color: var(--text-dark); display: inline-flex; align-items: center; gap: 0.4rem;
}
.team-pill.on { background: var(--green-primary); color: #fff; border-color: var(--green-primary); }

/* Flag icon sizing */
.team-flag { width: 1.15em; height: 0.85em; border-radius: 2px; flex-shrink: 0; }
.team-flag-fallback { font-size: 0.9em; }
.team-flag-fallback i { color: #b08400; }
.team-pending-badge {
  display: inline-block;
  margin-left: 0.3rem;
  padding: 0.05rem 0.4rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #8a6d00;
  background: #fff4d6;
  border: 1px solid #ffe7a3;
  border-radius: 999px;
  vertical-align: middle;
}
.mc-team .flag { font-size: 0; line-height: 1; display: flex; align-items: center; }
.mc-team .flag .fi { width: 1.7rem; height: 1.25rem; border-radius: 3px; }

/* ===================== Spielplan / Tage ===================== */
.matchday { margin-bottom: 1.8rem; }
.matchday-head {
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.9rem; position: sticky; top: 88px; z-index: 10;
}
.matchday-head .md-date { font-family: 'Poppins'; font-weight: 800; font-size: 1.05rem; color: var(--text-darker); }
.matchday-head .md-line { flex: 1; height: 1px; background: var(--border); }
.matchday-head .md-count { font-size: 0.78rem; font-weight: 700; color: var(--text-light); }

/* "Heute"-Badge + Hervorhebung des aktuellen Spieltags */
.md-today-badge {
  display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.55rem;
  border-radius: 999px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; color: #fff;
  background: linear-gradient(135deg, var(--coral), var(--orange-dark));
  vertical-align: middle;
}
.matchday.is-today { scroll-margin-top: 120px; }
.matchday.is-today .matchday-head {
  background: linear-gradient(90deg, rgba(239,68,68,0.08), transparent);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.6rem 0.35rem 0;
}

/* Flash-Effekt: Ziel-Karte blitzt nach dem Scroll-Sprung kurz auf */
.match-card.flash-current {
  animation: flash-current 2.2s ease-out;
  scroll-margin-top: 120px;
}
@keyframes flash-current {
  0%   { box-shadow: 0 0 0 0 rgba(249,115,22,0); border-color: var(--border-soft); }
  15%  { box-shadow: 0 0 0 4px rgba(249,115,22,0.45); border-color: var(--orange-dark); transform: scale(1.015); }
  40%  { box-shadow: 0 0 0 4px rgba(249,115,22,0.30); border-color: var(--orange-dark); }
  100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); border-color: var(--border-soft); transform: scale(1); }
}

.match-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1rem; }
.match-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm); transition: var(--t); position: relative; overflow: hidden;
}
.match-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green-light); }
.match-card.phase-r32::before, .match-card.phase-r16::before { background: var(--sky); }
.match-card.phase-qf::before { background: var(--orange); }
.match-card.phase-sf::before { background: var(--purple); }
.match-card.phase-tp::before { background: var(--text-light); }
.match-card.phase-final::before { background: var(--gold); }
.match-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.match-card.selected { border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(21,163,74,0.14), var(--shadow-md); }

.mc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.mc-phase { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green-dark); background: var(--bg-mint); padding: 0.2rem 0.55rem; border-radius: 999px; }
.mc-num { font-size: 0.72rem; color: var(--text-light); font-weight: 700; }

.mc-teams { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.9rem; }
.mc-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; text-align: center; }
/* .mc-team .flag handled above via flag-icons */
.mc-team .name { font-weight: 700; font-size: 0.92rem; color: var(--text-darker); }
.mc-vs { font-family: 'Poppins'; font-weight: 800; color: var(--text-light); font-size: 0.85rem; }

/* ===================== Live-Ergebnisse ===================== */
/* Score in der Mitte der Teams (ersetzt das VS bei Spielen mit Ergebnis) */
.mc-score {
  font-family: 'Poppins'; font-weight: 800; font-size: 1.35rem; line-height: 1;
  color: var(--text-darker); white-space: nowrap; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 0.35rem;
}
.mc-score .sep { color: var(--text-light); font-weight: 700; }
/* Karten mit Live-/Endstand bekommen einen dezent gefärbten Rahmenakzent */
.match-card.has-score { border-color: var(--border); }
.match-card.is-live { border-color: rgba(220,38,38,0.45); box-shadow: 0 0 0 2px rgba(220,38,38,0.08), var(--shadow-sm); }

/* Status-Badge (oben rechts neben der Spielnummer) */
.mc-status {
  font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.18rem 0.5rem; border-radius: 999px; display: inline-flex; align-items: center; gap: 0.3rem;
}
.mc-status.live { background: #fee2e2; color: #b91c1c; }
.mc-status.finished { background: var(--bg-soft); color: var(--text-gray); }
.mc-status.halftime { background: #fef3c7; color: #92400e; }
.mc-status.pending { background: #e0e7ff; color: #4338ca; }

/* "Ergebnis folgt": dezenter Platzhalter statt VS, wenn die Quelle noch kein
   Ergebnis liefert, das Spiel laut Ansetzung aber bereits begonnen hat. */
.mc-score-pending {
  font-family: 'Poppins'; font-weight: 800; font-size: 1.35rem; line-height: 1;
  color: var(--text-light); white-space: nowrap; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 0.35rem; cursor: help;
}
.mc-score-pending .sep { color: var(--text-light); font-weight: 700; }
.match-card.is-pending { border-color: rgba(67,56,202,0.30); }
.mc-status .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #dc2626; display: inline-block;
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) { .mc-status .pulse { animation: none; } }

/* kleiner Live-Tick unter den Teams (Minute) */
.mc-livemin { font-size: 0.72rem; font-weight: 700; color: #b91c1c; text-align: center; margin-top: -0.4rem; margin-bottom: 0.5rem; }

.mc-meta { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.84rem; color: var(--text-gray); border-top: 1px dashed var(--border); padding-top: 0.8rem; }
.mc-meta .row { display: flex; align-items: center; gap: 0.5rem; }
.mc-meta .row i { width: 16px; color: var(--green-primary); text-align: center; }
.mc-time-de { font-weight: 800; color: var(--text-darker); }
.mc-time-local { font-size: 0.76rem; color: var(--text-light); }

/* --- TV-Übertragungs-Zeile in der Spielkarte (ohne Gewähr) --- */
.mc-tv { flex-wrap: wrap; }
.mc-tv > i { color: var(--green-primary); }
.mc-tv-free {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-weight: 800; color: var(--green-dark);
}
.mc-tv-free i { color: var(--green-primary) !important; width: auto !important; }
.mc-tv-pay { font-weight: 700; color: #b3168a; } /* Magenta */
.mc-tv-note { font-size: 0.74rem; color: var(--text-light); font-style: italic; }
.mc-tv-badge {
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 0.1rem 0.45rem; border-radius: 999px; line-height: 1.4;
}
.mc-tv-badge.free { background: var(--bg-mint, #e6f6ee); color: var(--green-dark); border: 1px solid var(--green-primary); }
.mc-tv-badge.pay { background: #fbe9f5; color: #b3168a; border: 1px solid #e89ccf; }
.mc-tv-badge.pay i { font-size: 0.55rem; }

/* --- K.-o.-Spiele: bekannte/mögliche Teams in der Spieltagsübersicht --- */
/* Label für Platzhalter ("Sieger Sp. 74", "1. Gr.A", "3. Gr.…") */
.mc-ko-label {
  font-size: 0.8rem; font-weight: 700; color: var(--text-gray);
  line-height: 1.2;
}
.mc-ko-clinch { color: var(--green-primary); font-size: 0.72rem; }
/* Liste möglicher Teams unter dem Team-Namen */
.mc-teams.has-poss { align-items: flex-start; }
.mc-poss-list {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  margin-top: 0.4rem; justify-content: center;
}
.mc-team:last-child .mc-poss-list { justify-content: center; }
.mc-poss-chip {
  display: inline-flex; align-items: center; gap: 0.22rem;
  background: var(--bg-off-white, #f7f9f8);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.12rem 0.4rem 0.12rem 0.28rem;
}
.mc-poss-flag { font-size: 0.8rem; border-radius: 2px; }
.mc-poss-abbr {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 0.62rem; color: var(--text-dark); letter-spacing: 0.02em;
}
.mc-poss-more {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; font-weight: 800; color: var(--text-light);
  padding: 0.12rem 0.4rem;
}

/* --- K.-o.-Block im Detail-Modal --- */
.ko-modal-block {
  margin-top: 1rem; padding: 0.9rem 1rem;
  background: var(--bg-off-white, #f7f9f8);
  border: 1px solid var(--border); border-radius: 12px;
}
.ko-modal-head { font-weight: 800; color: var(--text-darker); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; }
.ko-modal-head i { color: var(--green-primary); }
.ko-modal-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0.6rem; align-items: start;
}
.ko-modal-vs { align-self: center; font-weight: 800; color: var(--text-light); font-size: 0.8rem; }
.ko-modal-side { min-width: 0; }
.ko-modal-slotname { font-size: 0.72rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.35rem; }
.ko-modal-fixed { display: flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; color: var(--text-darker); }
.ko-modal-poss-label { font-size: 0.72rem; color: var(--text-gray); margin-bottom: 0.35rem; }
.ko-modal-open { font-size: 0.82rem; color: var(--text-light); font-style: italic; }
.ko-modal-open i { color: var(--orange-dark, #c77700); }

/* --- TV-Block im Detail-Modal --- */
.tv-detail {
  margin-top: 1rem; padding: 0.9rem 1rem;
  background: var(--bg-off-white, #f7f9f8);
  border: 1px solid var(--border); border-radius: 12px;
}
.tv-detail-head { font-weight: 800; color: var(--text-darker); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.tv-detail-head i { color: var(--green-primary); }
.tv-detail-sender { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; }
.tv-detail-note { font-size: 0.78rem; color: var(--text-gray); line-height: 1.5; margin: 0; }
.tv-detail-note i { color: var(--gold, #c79a00); }
.tv-detail-src { color: var(--text-light); font-size: 0.74rem; }
.tv-detail-src a { color: var(--green-primary); }

.mc-actions { display: flex; gap: 0.5rem; margin-top: 0.9rem; }
.mc-btn {
  flex: 1; padding: 0.5rem; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.82rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  background: var(--bg-soft); color: var(--text-dark);
}
.mc-btn:hover { background: var(--border); }
.mc-btn.add { background: var(--green-primary); color: #fff; }
.mc-btn.add:hover { background: var(--green-dark); }
.mc-btn.added { background: var(--bg-mint); color: var(--green-dark); }

/* ===================== Mein Spielplan ===================== */
.watchlist-wrap { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.watch-summary {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.watch-summary .stats { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.watch-summary .stat .n { font-family: 'Poppins'; font-size: 1.5rem; font-weight: 800; color: var(--green-dark); }
.watch-summary .stat .l { font-size: 0.78rem; color: var(--text-gray); font-weight: 600; }
.watch-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---- Share-Button ---- */
.btn-share {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  box-shadow: 0 4px 14px rgba(109,40,217,0.28);
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
}
.btn-share:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(109,40,217,0.36); }
.btn-share:disabled { opacity: 0.42; cursor: not-allowed; }

/* ---- Share-Sheet ---- */
.share-sheet {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  overflow: hidden;
  animation: slideDown 0.22s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.share-sheet-inner { padding: 1.2rem 1.4rem 1rem; }
.share-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.9rem;
}
.share-sheet-title { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); display: flex; align-items: center; gap: 0.45rem; }
.share-sheet-title i { color: #7c3aed; }
.share-sheet-close {
  background: none; border: none; cursor: pointer; padding: 0.3rem 0.5rem;
  color: var(--text-gray); border-radius: 6px; font-size: 1rem;
  transition: background var(--t-fast);
}
.share-sheet-close:hover { background: var(--bg-soft); color: var(--text-dark); }

/* Vorschau-Text */
.share-preview {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-dark);
  white-space: pre-wrap;
  max-height: 160px;
  overflow-y: auto;
  margin-bottom: 1rem;
  font-family: ui-monospace, "Cascadia Code", "Fira Code", monospace;
  scrollbar-width: thin;
}

/* Share-Optionen */
.share-options {
  display: flex; gap: 0.65rem; flex-wrap: wrap; margin-bottom: 0.85rem;
}
.share-opt {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  background: none; border: 1px solid var(--border); border-radius: 12px;
  padding: 0.7rem 1.1rem; cursor: pointer; font-size: 0.78rem; font-weight: 600;
  color: var(--text-dark); transition: all var(--t-fast); min-width: 80px;
}
.share-opt:hover { border-color: var(--green-primary); background: var(--bg-soft); transform: translateY(-2px); }
.share-opt-icon {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
}
.share-opt-wa   { background: #25d366; }
.share-opt-mail { background: #3b82f6; }
.share-opt-copy { background: var(--text-gray); }
.share-opt.copied .share-opt-copy { background: var(--green-primary); }

/* Datenschutz-Hinweis */
.share-hint {
  font-size: 0.73rem; color: var(--text-gray); display: flex; align-items: flex-start; gap: 0.4rem;
  margin: 0; line-height: 1.5;
}
.share-hint i { margin-top: 0.1rem; flex-shrink: 0; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-gray); }
.empty-state i { font-size: 2.6rem; color: var(--border); margin-bottom: 0.8rem; }

/* ===================== Public Viewing ===================== */
.pv-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  border: 1px dashed var(--border);
}
.pv-controls { display: grid; gap: 1rem; margin-bottom: 2rem; }
.pv-search { max-width: 520px; margin: 0 auto; position: relative; }
.pv-search input {
  width: 100%; padding: 0.9rem 1.1rem 0.9rem 3rem; font-size: 1rem; border: 1px solid var(--border);
  border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
}
.pv-search input:focus { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(21,163,74,0.12); }
.pv-search i { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.pv-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.9rem; }
.pv-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  background: var(--bg-off-white);
  border: 1px dashed var(--border);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
}
.pv-check { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); }
.pv-check input { accent-color: var(--green-primary); }

.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.pv-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow-sm); transition: var(--t); display: flex; flex-direction: column; gap: 0.6rem; }
.pv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pv-card .pv-city { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--sky-dark); }
.pv-card h3 { font-size: 1.15rem; margin: 0.1rem 0 0.3rem; }
.pv-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pv-tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 999px; background: var(--bg-mint); color: var(--green-dark);
}
.pv-tag.outdoor { background: #e0f2fe; color: var(--sky-dark); }
.pv-details { display: grid; gap: 0.35rem; font-size: 0.86rem; color: var(--text-gray); }
.pv-details span { display: inline-flex; align-items: flex-start; gap: 0.45rem; }
.pv-details i { margin-top: 0.1rem; }
.pv-source { margin-top: auto; }
.pv-source a { color: var(--green-dark); font-weight: 700; font-size: 0.85rem; }
.pv-source a:hover { text-decoration: underline; }

/* ===================== News ===================== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.news-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 1.3rem; box-shadow: var(--shadow-sm); transition: var(--t); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card .cat { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--bg-mint); color: var(--green-dark); }
.news-card h3 { font-size: 1.1rem; margin: 0.7rem 0 0.4rem; }
.news-card .date { font-size: 0.76rem; color: var(--text-light); font-weight: 600; }
.news-card p { font-size: 0.9rem; color: var(--text-gray); margin-top: 0.5rem; }
.news-card .src { font-size: 0.74rem; color: var(--text-light); margin-top: 0.7rem; font-style: italic; }

/* ===================== Modal ===================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.5); backdrop-filter: blur(4px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 480px; width: 100%; padding: 1.8rem; box-shadow: var(--shadow-lg); animation: modalIn 0.25s ease; }
@keyframes modalIn { from { transform: translateY(20px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.modal .modal-foot { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 1.4rem; }

/* ===================== Toast ===================== */
.toast-wrap { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 0.5rem; }
.toast { background: var(--text-darker); color: #fff; padding: 0.8rem 1.2rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.6rem; animation: toastIn 0.3s ease; }
.toast i { color: var(--green-light); }
@keyframes toastIn { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ===================== Footer ===================== */
.footer { background: var(--text-darker); color: #cbd5e1; padding: 2.5rem 0; margin-top: 3rem; }
.footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer h4 { color: #fff; margin-bottom: 0.6rem; font-size: 1rem; }
.footer a { color: #cbd5e1; font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer .disclaimer { font-size: 0.78rem; color: #64748b; max-width: 420px; line-height: 1.5; }

/* ===================== Tabs (Spielplan/Kalender) ===================== */
.view-tabs { display: inline-flex; background: var(--bg-soft); border-radius: 999px; padding: 4px; margin: 0 auto 1.5rem; }
.view-tabs button { padding: 0.5rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: 0.88rem; color: var(--text-gray); }
.view-tabs button.active { background: #fff; color: var(--green-dark); box-shadow: var(--shadow-sm); }
.center { text-align: center; }

/* ===================== Responsive ===================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}
@media (max-width: 760px) {
  .nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; gap: 0.2rem; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--border); }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; }
  .nav-toggle { display: flex; }
  .filters { position: static; }
  .matchday-head { position: static; }
  .hero { padding-top: 7rem; }
  /* Mobile: Sprachumschalter + "Planen" ausblenden, "Aktuelles Spiel" 
     als prominenter Sprint-Button in der Top-Bar behalten */
  .nav-actions .lang-toggle { display: none; }
  .nav-actions .btn-sm[href="#schedule"] { display: none; }
  #btnCurrentMatch { padding: 0.4rem 0.7rem; }
}
/* Sehr schmale Screens: nur Icon im Sprint-Button */
@media (max-width: 420px) {
  #btnCurrentMatch span { display: none; }
  #btnCurrentMatch { padding: 0.5rem 0.6rem; }
  #btnCurrentMatch i { font-size: 1rem; }
}

/* ===================== Logo-Bild ===================== */
.logo-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  /* Kein border-radius mehr – das minimalistische Logo braucht keine Rahmung */
  border-radius: 0;
  /* Leichter Drop-Shadow nur auf das Motiv */
  filter: drop-shadow(0 2px 6px rgba(21,163,74,0.18));
  transition: transform 0.28s cubic-bezier(.34,1.56,.64,1), filter 0.25s;
}
.logo:hover .logo-img {
  transform: scale(1.12) rotate(-5deg);
  filter: drop-shadow(0 4px 12px rgba(21,163,74,0.32));
}

/* ===================== Guide / Kalender-Anleitung ===================== */
.guide-section { background: var(--bg-soft); }
.guide-steps { display: flex; flex-direction: column; gap: 0.9rem; max-width: 760px; margin: 0 auto; }

.guide-step {
  background: #fff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--t), border-color var(--t);
  outline: none;
}
.guide-step:hover,
.guide-step:focus { box-shadow: var(--shadow-md); border-color: var(--green-primary); }
.guide-step.open { border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(21,163,74,0.12); }

.guide-step-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  user-select: none;
}
.guide-num {
  min-width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--sky));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.guide-step-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.guide-step-title strong { font-size: 1rem; color: var(--text-darker); }
.guide-step-sub { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

.guide-chevron {
  color: var(--text-light);
  transition: transform 0.25s;
  font-size: 0.85rem;
}
.guide-step.open .guide-chevron { transform: rotate(180deg); color: var(--green-primary); }

.guide-step-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 1.4rem;
}
.guide-step.open .guide-step-body {
  max-height: 400px;
  padding: 0 1.4rem 1.3rem;
}
.guide-step-body p { font-size: 0.95rem; color: var(--text-gray); margin-bottom: 0.7rem; }
.guide-step-body a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }

.guide-tip {
  background: var(--bg-mint);
  border-left: 3px solid var(--green-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  color: var(--green-dark);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.4rem;
}
.guide-tip i { margin-top: 2px; flex-shrink: 0; }

.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0;
}
.guide-list li {
  padding: 0.6rem 0.8rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
}
.guide-list li strong { color: var(--text-darker); }

/* ===================== Impressum Modal ===================== */
.modal-overlay.active { display: flex; }

/* Kalender-Export-Modal (3 Schritte) – breiter, scrollbar */
.guide-modal {
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem 2.2rem;
  position: relative;
  scroll-behavior: smooth;
}
.guide-modal-head { text-align: center; margin-bottom: 1.4rem; }
.guide-modal-head .eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green-dark); margin-bottom: 0.5rem;
}
.guide-modal-head h2 {
  font-family: 'Poppins', sans-serif; font-size: 1.45rem;
  color: var(--text-darker); line-height: 1.25; margin-bottom: 0.4rem;
}
.guide-modal-head p { color: var(--text-gray); font-size: 0.92rem; }
.guide-modal .guide-steps { max-width: 100%; }
@media (max-width: 560px) {
  .guide-modal { padding: 1.4rem 1.2rem; }
  .guide-modal-head h2 { font-size: 1.2rem; }
}

.impressum-modal {
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2rem 2.2rem;
  position: relative;
  scroll-behavior: smooth;
}
.impressum-modal h2 {
  font-size: 1.6rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text-darker);
  margin-bottom: 1.2rem;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid var(--border-soft);
}
.impressum-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: var(--green-dark);
}
.impressum-section {
  margin-bottom: 1.4rem;
}
.impressum-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.impressum-section p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
}
.impressum-section.disclaimer-box {
  background: #fff7ed;
  border: 1.5px solid #fed7aa;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
.impressum-section.disclaimer-box h3 { color: #c2410c; }
.impressum-section.disclaimer-box p { color: #7c2d12; }
.impressum-footer {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.78rem;
  color: var(--text-light);
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--text-gray);
  transition: background var(--t), color var(--t);
  z-index: 10;
}
.modal-close:hover { background: #fee2e2; color: #ef4444; }

@media (max-width: 640px) {
  .impressum-modal { padding: 1.4rem 1.2rem; }
  .guide-step-head { padding: 0.9rem 1rem; gap: 0.7rem; }
  .guide-step.open .guide-step-body { padding: 0 1rem 1rem; }
}

/* ============================================================
   SPENDEN-BANNER (PayPal-Buttons oben & unten)
   ============================================================ */
.donate-banner {
  position: relative;
  z-index: 5;
  padding: 2.2rem 0;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.donate-banner-bottom {
  background: linear-gradient(135deg, #fff7ed 0%, #ecfdf5 100%);
}
.donate-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.donate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
}
.donate-eyebrow i { color: var(--coral); }
.donate-text {
  margin: 0.55rem auto 1.3rem;
  max-width: 600px;
  color: var(--text-dark);
  font-size: 0.98rem;
  line-height: 1.55;
}
.donate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-donate {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 290px;
  flex: 1 1 290px;
  max-width: 360px;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: none;
  outline: none;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}
.btn-donate:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.btn-donate-club {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
}
.btn-donate-beer {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}
.btn-donate-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.btn-donate-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.btn-donate-label strong {
  font-family: 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}
.btn-donate-label small {
  font-size: 0.8rem;
  opacity: 0.92;
  font-weight: 500;
}
.paypal-mark {
  flex-shrink: 0;
  font-size: 1.4rem;
  opacity: 0.95;
}
.donate-clublink {
  margin: 1.2rem 0 0;
  font-size: 0.86rem;
  color: var(--text-gray);
}
.donate-clublink a {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: none;
}
.donate-clublink a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .donate-banner { padding: 1.7rem 0; }
  .btn-donate { min-width: 0; flex: 1 1 100%; max-width: 100%; cursor: pointer; border: none; }
}

/* ============================================================
   SPENDEN-MODAL
   ============================================================ */
.donate-modal-overlay {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9999;
  padding: 1rem;
  overflow-y: auto;
}
.donate-modal-overlay.active { display: flex; }

.donate-modal {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: 100%;
  padding: 2rem 2rem 1.8rem;
  animation: modalIn 0.28s cubic-bezier(.4,0,.2,1);
}

/* Header */
.donate-modal-header {
  text-align: center;
  margin-bottom: 1.4rem;
}
.donate-modal-ball {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.donate-modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-darker);
  line-height: 1.2;
  margin: 0 0 0.4rem;
}
.donate-modal-title span {
  color: var(--green-primary);
}
.donate-modal-sub {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin: 0;
}

/* Split-Balken */
.donate-split {
  margin: 0 0 1.4rem;
}
.donate-split-bar {
  display: flex;
  height: 2.4rem;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.donate-split-fill {
  background: linear-gradient(90deg, var(--green-primary), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
}
.donate-split-rest {
  flex: 1;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Empfänger */
.donate-recipients {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.donate-recipient {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
}
.donate-recipient-club {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}
.donate-recipient-beer {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.donate-recipient-icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border-radius: 50%;
}
.donate-recipient-club .donate-recipient-icon {
  background: var(--green-primary);
  color: #fff;
}
.donate-recipient-beer .donate-recipient-icon {
  background: var(--orange);
  font-size: 1.4rem;
}
.donate-recipient-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-darker);
  margin-bottom: 0.3rem;
}
.donate-recipient-text p {
  font-size: 0.86rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin: 0 0 0.4rem;
}
.donate-recipient-text em {
  font-style: italic;
  color: var(--text-gray);
}
.donate-club-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.donate-club-link:hover { text-decoration: underline; }

/* CTA */
.donate-modal-cta {
  text-align: center;
}
.btn-donate-paypal {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #0070ba;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 112, 186, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-donate-paypal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 112, 186, 0.45);
}
.btn-donate-paypal i { font-size: 1.3rem; }
.donate-modal-fine {
  margin: 0.8rem 0 0;
  font-size: 0.76rem;
  color: var(--text-light);
}

@media (max-width: 560px) {
  .donate-modal { padding: 1.5rem 1.2rem; }
  .donate-modal-title { font-size: 1.25rem; }
  .btn-donate-paypal { font-size: 0.95rem; padding: 0.75rem 1.5rem; }
}

/* ============================================================
   MEINE WM – DASHBOARD
   ============================================================ */
.dashboard-section {
  background: linear-gradient(180deg, var(--bg-mint) 0%, var(--bg-white) 60%);
}

/* Widget-Grid: responsives Masonry-artiges Layout */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  align-items: start;
}

/* Symmetrisches 2×2-Raster (4 Widgets). Gleiche Spaltenbreiten,
   damit die Karten sauber ausgerichtet sind. */
.dash-grid-2x2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .dash-grid-2x2 { grid-template-columns: 1fr; }
}

/* Basis-Widget-Karte */
.dash-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.35rem 1.4rem;
  transition: box-shadow var(--t), transform var(--t);
}
.dash-card:hover { box-shadow: var(--shadow-md); }

.dash-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.dash-card-head .dash-ic {
  width: 2.3rem; height: 2.3rem;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
}
.dash-card-head h3 {
  font-size: 1.02rem;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}
.dash-card-head .dash-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Akzentfarben pro Widget-Typ */
.dash-card.accent-live .dash-ic { background: linear-gradient(135deg, var(--coral), #dc2626); }
.dash-card.accent-next .dash-ic { background: linear-gradient(135deg, var(--sky), var(--sky-dark)); }
.dash-card.accent-teams .dash-ic { background: linear-gradient(135deg, var(--purple), #6d28d9); }
.dash-card.accent-plan .dash-ic { background: linear-gradient(135deg, var(--green-primary), var(--green-dark)); }
.dash-card.accent-pv .dash-ic { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }

/* Live-Widget hervorheben, wenn etwas läuft */
.dash-card.accent-live.has-live {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 0 1px rgba(239,68,68,0.18), var(--shadow-md);
}

/* Kompakte Spielzeile innerhalb der Widgets */
.dash-match {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.dash-match:last-child { border-bottom: none; }
.dash-match .dm-teams {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.dash-match .dm-line {
  display: flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.92rem;
  color: var(--text-darker);
}
.dash-match .dm-line .fi { border-radius: 2px; }
.dash-match .dm-meta {
  font-size: 0.76rem; color: var(--text-gray);
  display: flex; align-items: center; gap: 0.35rem; flex-wrap: wrap;
}
.dash-match .dm-score {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-darker);
  white-space: nowrap;
}
.dash-match .dm-score .sep { color: var(--text-light); margin: 0 1px; }
.dash-match .dm-vs {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.8rem; color: var(--text-light);
}

/* Live-Badge im Dashboard */
.dash-livebadge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.7rem; font-weight: 700;
  color: var(--coral);
  text-transform: uppercase; letter-spacing: 0.03em;
}
.dash-livebadge .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(239,68,68,0.55);
  animation: dashPulse 1.4s infinite;
}
@keyframes dashPulse {
  0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.dash-finbadge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.7rem; font-weight: 700; color: var(--text-gray);
}

/* Großer Countdown im "Nächstes Spiel"-Widget */
.dash-next-hero {
  text-align: center;
  padding: 0.4rem 0 0.2rem;
}
.dash-next-teams {
  display: flex; align-items: center; justify-content: center;
  gap: 0.6rem; flex-wrap: wrap;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1.1rem; color: var(--text-darker);
  margin-bottom: 0.3rem;
}
.dash-next-teams .fi { font-size: 1.2rem; border-radius: 3px; }
.dash-next-when {
  font-size: 0.85rem; color: var(--text-gray); margin-bottom: 0.9rem;
}
.dash-countdown {
  display: flex; justify-content: center; gap: 0.5rem;
}
.dash-cd-box {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  min-width: 3.4rem;
}
.dash-cd-num {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.4rem; color: var(--text-darker); line-height: 1;
}
.dash-cd-lbl {
  font-size: 0.66rem; color: var(--text-gray);
  text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.2rem;
}
.dash-next-live {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: #fff; font-weight: 700;
  padding: 0.6rem 1.2rem; border-radius: 999px; font-size: 0.95rem;
}

/* Mini-Statistiken im Plan-Widget */
.dash-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem; margin-bottom: 1rem;
}
.dash-stat {
  text-align: center;
  background: var(--bg-off-white);
  border-radius: 12px;
  padding: 0.7rem 0.4rem;
}
.dash-stat .n {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.35rem; color: var(--green-dark); line-height: 1;
}
.dash-stat .l {
  font-size: 0.68rem; color: var(--text-gray);
  text-transform: uppercase; letter-spacing: 0.03em; margin-top: 0.25rem;
}
.dash-progress {
  height: 0.5rem; border-radius: 999px;
  background: var(--bg-soft); overflow: hidden; margin: 0.2rem 0 0.4rem;
}
.dash-progress-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--green-light), var(--green-primary));
  transition: width 0.5s ease;
}
.dash-progress-lbl { font-size: 0.76rem; color: var(--text-gray); }

/* Mini-Link/Button am Kartenfuß */
.dash-card-foot {
  margin-top: 1rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.dash-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.84rem; font-weight: 600;
  color: var(--green-dark);
}
.dash-link:hover { color: var(--green-primary); text-decoration: underline; }

/* PV-Tipp-Widget */
.dash-pv-name {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--text-darker); margin-bottom: 0.2rem;
}
.dash-pv-city { font-size: 0.82rem; color: var(--text-gray); margin-bottom: 0.7rem; }
.dash-pv-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.dash-pv-tag {
  font-size: 0.72rem; font-weight: 600;
  background: var(--bg-soft); color: var(--text-dark);
  padding: 0.25rem 0.6rem; border-radius: 999px;
}

/* leere Mini-Info innerhalb eines Widgets */
.dash-empty-mini {
  color: var(--text-gray); font-size: 0.88rem; padding: 0.4rem 0;
}

/* ---------- Onboarding-Leerzustand (keine Favoriten/Watchlist) ---------- */
.dash-onboard {
  background: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.8rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.dash-onboard .dash-onboard-ball { font-size: 2.6rem; margin-bottom: 0.6rem; }
.dash-onboard h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.dash-onboard p { color: var(--text-gray); max-width: 460px; margin: 0 auto 1.5rem; }
.dash-onboard-steps {
  display: grid; gap: 0.8rem; text-align: left;
  max-width: 440px; margin: 0 auto 1.6rem;
}
.dash-onboard-step {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--bg-off-white); border-radius: 12px; padding: 0.8rem 1rem;
}
.dash-onboard-step .num {
  flex-shrink: 0; width: 1.9rem; height: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 800; font-family: 'Poppins', sans-serif;
  background: var(--green-primary); color: #fff; font-size: 0.9rem;
}
.dash-onboard-step span:last-child { font-size: 0.9rem; color: var(--text-dark); }
.dash-onboard-cta { display: inline-flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 560px) {
  .dash-stats { grid-template-columns: repeat(3, 1fr); }
  .dash-cd-box { min-width: 3rem; padding: 0.5rem 0.55rem; }
  .dash-cd-num { font-size: 1.2rem; }
}

/* ============================================================
   HERO – 3-Schritte-Kurzanleitung
   ============================================================ */
.hero-steps {
  margin-top: 1.6rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(6px);
  max-width: 480px;
}
.hero-steps-title {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.98rem; color: var(--text-darker);
  margin-bottom: 0.7rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.hero-steps-title::before { content: "📅"; }
.hero-steps-list {
  list-style: none; margin: 0 0 0.7rem; padding: 0;
  display: grid; gap: 0.5rem;
}
.hero-steps-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text-dark); font-weight: 500;
}
.hero-step-num {
  flex-shrink: 0; width: 1.55rem; height: 1.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 800; font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: #fff;
}
.hero-steps-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem; font-weight: 700; color: var(--green-dark);
}
.hero-steps-link:hover { color: var(--green-primary); text-decoration: underline; }

/* ============================================================
   PREDIKTIVER TURNIERBAUM (Bracket)
   ============================================================ */
.bracket-section { background: var(--bg-off-white); }

/* Aufklappbarer Kopf (Accordion) */
.bracket-accordion-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.bracket-accordion-head:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow-md);
}
.bracket-accordion-head.is-open {
  border-color: var(--green-primary);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.bracket-accordion-titlewrap { display: flex; flex-direction: column; gap: 0.25rem; }
.bracket-accordion-head .eyebrow {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green-dark);
}
.bracket-accordion-title {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1.35rem; color: var(--text-darker); line-height: 1.2;
}
.bracket-accordion-chevron {
  flex-shrink: 0;
  font-size: 1.1rem; color: var(--green-primary);
  transition: transform var(--t);
}
.bracket-accordion-head.is-open .bracket-accordion-chevron { transform: rotate(180deg); }

/* Aufklappbarer Inhalt */
.bracket-accordion-body {
  background: var(--bg-white);
  border: 1px solid var(--green-primary);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  animation: bracketAccordionIn 0.3s ease;
}
.bracket-accordion-body[hidden] { display: none; }
@keyframes bracketAccordionIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bracket-accordion-sub {
  color: var(--text-gray); font-size: 0.92rem;
  margin: 0 0 1.2rem; max-width: 720px;
}

@media (max-width: 560px) {
  .bracket-accordion-head { padding: 0.95rem 1.1rem; }
  .bracket-accordion-title { font-size: 1.15rem; }
  .bracket-accordion-body { padding: 1.1rem 0.9rem; }
}

.bracket-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem;
}
.bracket-tabs {
  display: flex; gap: 0.5rem; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: 0.4rem;
  scrollbar-width: thin;
}
.bracket-tab {
  position: relative;
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.bracket-tab:hover { border-color: var(--green-light); color: var(--green-dark); }
.bracket-tab.is-active {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-color: var(--green-dark); color: #fff;
  box-shadow: var(--shadow-glow);
}
.bracket-tab-badge {
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--orange); color: #fff;
  padding: 0.12rem 0.45rem; border-radius: 999px;
}
.bracket-tab.is-active .bracket-tab-badge { background: rgba(255,255,255,0.28); }

.bracket-legend {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  font-size: 0.76rem; color: var(--text-gray);
}
.bracket-leg { display: inline-flex; align-items: center; gap: 0.35rem; }
.bracket-leg .dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; display: inline-block; }
.bracket-leg .dot-fixed { background: var(--green-primary); }
.bracket-leg .dot-possible { background: var(--orange); }
.bracket-leg .dot-open { background: var(--text-light); }

.bracket-progress {
  font-size: 0.82rem; color: var(--text-gray); font-weight: 600;
  margin: 0.2rem 0 1.2rem;
}

.bracket-matches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

.bracket-match {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-fast), transform var(--t-fast);
}
.bracket-match:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bracket-match-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; margin-bottom: 0.8rem;
}
.bracket-match-no {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 0.75rem; color: var(--green-dark);
  background: var(--bg-mint); padding: 0.2rem 0.55rem; border-radius: 999px;
}
.bracket-match-meta { font-size: 0.74rem; color: var(--text-gray); text-align: right; }

.bracket-pairing {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.6rem;
}
.bracket-vs {
  display: flex; align-items: center; justify-content: center;
}
.bracket-vs-label {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 0.8rem; color: var(--text-light);
}
.bracket-score {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 1rem; color: var(--text-darker);
  background: var(--bg-soft); border-radius: 10px;
  padding: 0.25rem 0.5rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.bracket-score.is-live { color: var(--coral); }
.bracket-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--coral); animation: dashPulse 1.4s infinite;
}

/* Slot: feststehend */
.bracket-slot {
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.35rem;
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  min-height: 64px;
}
.bracket-slot.is-fixed {
  flex-direction: row; align-items: center; gap: 0.55rem;
  background: var(--bg-mint);
  border: 1.5px solid #bbf7d0;
}
.bracket-slot.is-fixed .bracket-flag {
  font-size: 1.4rem; border-radius: 4px; flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.bracket-team-name {
  font-family: 'Poppins', sans-serif; font-weight: 700;
  font-size: 0.92rem; color: var(--text-darker); line-height: 1.2;
}

/* Vorzeitig feststehender Platz (rechnerisch sicher, Gruppe noch nicht durch) */
.bracket-slot.is-fixed.is-clinched {
  border-color: #34d399;
  background: linear-gradient(180deg, #ecfdf5 0%, var(--bg-mint) 100%);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.35);
}
.bracket-clinched {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.25rem;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.04em;
  color: #047857;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  white-space: nowrap;
}
.bracket-clinched i { font-size: 0.62rem; }

/* Slot: mögliche Gegner */
.bracket-slot.is-possible {
  background: #fff7ed;
  border: 1.5px dashed #fed7aa;
}
.bracket-slot-head {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700; color: var(--orange-dark);
  text-transform: uppercase; letter-spacing: 0.02em;
}
.bracket-poss-list {
  display: flex; flex-wrap: wrap; gap: 0.35rem;
}
.bracket-poss-chip {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.5rem 0.2rem 0.35rem;
}
.bracket-poss-flag { font-size: 0.95rem; border-radius: 3px; }
.bracket-poss-abbr {
  font-family: 'Poppins', sans-serif; font-weight: 800;
  font-size: 0.72rem; color: var(--text-dark); letter-spacing: 0.02em;
}
.bracket-flag-fallback { font-size: 1.1rem; }

/* Slot: noch komplett offen */
.bracket-slot.is-open {
  flex-direction: row; align-items: center; gap: 0.5rem;
  background: var(--bg-soft);
  border: 1.5px dashed var(--border);
  color: var(--text-gray); font-size: 0.84rem; font-weight: 600;
}

.bracket-empty {
  text-align: center; color: var(--text-gray);
  padding: 2.4rem 1rem; font-size: 0.95rem;
}

@media (max-width: 560px) {
  .bracket-matches { grid-template-columns: 1fr; }
  .bracket-match-meta { font-size: 0.68rem; }
  .bracket-pairing { gap: 0.4rem; }
  .bracket-team-name { font-size: 0.86rem; }
}
