/* ============================================================
   WM 2026 PLANER – STYLES
   Design-DNA: hell & clean, frische Farbpalette,
   weiche Schatten, abgerundete Karten, Poppins/Inter.
   ============================================================ */
:root {
  /* 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; }

.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;
  padding: 10.5rem 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('https://www.genspark.ai/api/files/s/WKJZfuqG');
  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; }

.fav-team-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.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; }
.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); }

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

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

.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; }
.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-search { max-width: 520px; margin: 0 auto 2rem; 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-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); }
.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.3rem 0; }
.pv-card .pv-meta { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: 0.82rem; color: var(--text-gray); margin: 0.6rem 0; }
.pv-card .pv-meta span { display: inline-flex; align-items: center; gap: 0.35rem; }
.pv-card .pv-note { font-size: 0.86rem; color: var(--text-dark); background: var(--bg-off-white); border-radius: var(--radius-sm); padding: 0.6rem 0.8rem; }

.pv-next-matches { margin-top: 0.8rem; border-top: 1px dashed var(--border); padding-top: 0.8rem; }
.pv-next-matches .pv-mini { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; padding: 0.2rem 0; color: var(--text-gray); }

/* ===================== 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; }
}

/* ===================== 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; }
.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; }
}
