/**
 * SV Neckargerach 1931 e.V. - Zentrales Stylesheet
 * 100% DSGVO-konform: Keine externen Schriften, keine externen CDNs.
 * Dynamische Farbwerte werden über :root Variablen gesteuert.
 */

:root {
  /* Standard-Farbwerte: Frisches SVN-Blau & Warme, erdige Neutraltöne */
  --sv-blue-primary: #0066cc;
  --sv-blue-dark: #16324f;
  --sv-accent: #64748b;
  --sv-accent-hover: #475569;
  --sv-accent-light: #f1f5f9;
  --sv-bg-light: #f6f7f9;
  --sv-bg-card: #ffffff;
  --sv-text-main: #1e293b;
  --sv-text-muted: #5b6778;
  --sv-border: #e5e7eb;
  --sv-radius-sm: 6px;
  --sv-radius-md: 10px;
  --sv-radius-lg: 14px;
  --sv-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --sv-shadow-md: 0 4px 14px rgba(15, 23, 42, 0.07);
  --sv-shadow-lg: 0 10px 26px rgba(15, 23, 42, 0.1);
  --sv-transition: all 0.22s ease-in-out;
  --sv-container-max: 1200px;
}

/* Basis-Reset & Typografie (System-Fonts für maximale Performance & DSGVO) */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sv-text-main);
  background-color: var(--sv-bg-light);
  scroll-behavior: smooth;
  scroll-padding-top: 75px; /* Berücksichtigt den fixierten Header (62px Höhe + 13px Puffer) bei Sprungmarken */
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

body:not(.admin-body) {
  padding-top: 64px;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

a {
  color: var(--sv-blue-primary);
  text-decoration: none;
  transition: var(--sv-transition);
}

a:hover {
  color: var(--sv-blue-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--sv-blue-dark);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
}

/* Hilfsklassen & Layout-Container */
.container {
  width: 100%;
  max-width: var(--sv-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 4rem 0;
  scroll-margin-top: 75px;
}

.section-light {
  background-color: var(--sv-bg-light);
}

.section-white {
  background-color: #ffffff;
}

.section-dark {
  background-color: var(--sv-blue-dark);
  color: #ffffff;
}

.section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  display: inline-block;
  padding: 0 0 6px;
  background: transparent;
  color: var(--sv-blue-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  border-bottom: 2px solid rgba(0, 102, 204, 0.28);
  border-radius: 0;
  margin-bottom: 0.85rem;
}

.section-dark .section-tag {
  background: transparent;
  color: #cbd5e1;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.section-title {
  font-size: 2.15rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--sv-text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--sv-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--sv-transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--sv-blue-primary);
  color: #ffffff;
  border-color: var(--sv-blue-primary);
}

.btn-primary:hover {
  background-color: var(--sv-blue-dark);
  border-color: var(--sv-blue-dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

.btn-accent {
  background-color: var(--sv-accent);
  color: #ffffff;
  border-color: var(--sv-accent);
}

.btn-accent:hover {
  background-color: var(--sv-accent-hover);
  border-color: var(--sv-accent-hover);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--sv-blue-primary);
  border-color: var(--sv-blue-primary);
}

.btn-outline:hover {
  background-color: var(--sv-blue-primary);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--sv-blue-dark);
}

/* Header & Navigation (permanent oben am Bildschirmrand fixiert) */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--sv-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--sv-shadow-sm);
}

.site-header .container {
  max-width: 1360px; /* Großzügige, moderne Breite speziell für die Header-Navigation */
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--sv-blue-dark);
}

.brand-badge {
  width: 38px;
  height: 38px;
  background: var(--sv-blue-dark);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border: 2px solid var(--sv-accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Hochgeladenes Vereinslogo im Header */
.brand-logo {
  height: 40px;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
  color: var(--sv-blue-dark);
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--sv-text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.65rem; /* Harmonischer, lesefreundlicher Abstand */
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-menu {
    gap: 1.15rem; /* Sanfte automatische Anpassung auf kleineren Laptops */
  }
}

.nav-link {
  color: var(--sv-text-main);
  font-weight: 600;
  font-size: 0.96rem;
  position: relative;
  padding: 6px 4px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--sv-blue-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--sv-blue-primary);
}

/* Nav Dropdown für Mannschaften */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 1000;
}

@media (min-width: 1025px) {
  .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
  }
}

.nav-dropdown-menu li a {
  display: block;
  padding: 8px 18px;
  color: var(--sv-text-main);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu li a:hover {
  background: #f1f5f9;
  color: var(--sv-blue-primary);
}

.nav-dropdown-menu .dropdown-header-link {
  font-weight: 700;
  color: var(--sv-blue-dark);
  border-bottom: 1px solid var(--sv-border);
  margin-bottom: 4px;
  padding-bottom: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--sv-blue-dark);
}

/* Modul: Hero Section */
.hero-section {
  background: linear-gradient(145deg, var(--sv-hero-grad-start, var(--sv-blue-dark)) 0%, var(--sv-hero-grad-end, #153e68) 100%);
  color: #ffffff;
  padding: 4.25rem 0;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow-club {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.1rem;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.28);
}

.hero-eyebrow-crest {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0;
  background: transparent;
  border: none;
  color: #e2e8f0;
  border-radius: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0;
}

.hero-title {
  color: #ffffff;
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: #e2e8f0;
  font-size: 1.08rem;
  margin-bottom: 1.75rem;
  max-width: 560px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-card-preview {
  background: #ffffff;
  color: var(--sv-text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--sv-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(8, 22, 48, 0.28);
}

.hero-match-head {
  background: #ffffff;
  color: var(--sv-blue-dark);
  border-bottom: 1px solid var(--sv-border, #e2e8f0);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-match-head-title {
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sv-blue-dark);
}

.hero-match-head-meta {
  font-size: 0.78rem;
  color: var(--sv-text-muted, #64748b);
  font-weight: 600;
}

.match-teaser-box {
  background: #ffffff;
  color: var(--sv-text-main);
  border-radius: 0;
  padding: 1.25rem;
  box-shadow: none;
}

/* Hero-Widget Container: Fokussiert ausschließlich die Match-Karte ohne verschachtelten Rahmen */
.hero-widget-viewport {
  background: #ffffff;
  color: var(--sv-text-main);
  border-radius: 0;
  box-shadow: none;
  min-height: 295px;
  overflow: hidden;
  position: relative;
}

.hero-widget-viewport .svn-widget-container {
  margin: 0 !important;
  border-radius: 0 !important;
}

.hero-widget-viewport .svn-widget-placeholder {
  padding: 1.5rem 1rem !important;
  min-height: 295px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-widget-viewport .svn-widget-rendered {
  height: 295px;
  overflow: hidden;
  position: relative;
}

.hero-widget-viewport .fussballde_widget {
  width: 100%;
}

.hero-widget-viewport .svn-widget-rendered iframe {
  display: block;
  width: 100% !important;
  border: none;
  /* Schneidet oben sauber die Kopfzeilen des Widgets ab */
  transform: translateY(-235px);
  min-height: 580px !important;
}

@media (max-width: 768px) {
  .hero-widget-viewport {
    min-height: 360px;
    height: auto;
  }
  .hero-widget-viewport .svn-widget-placeholder {
    min-height: 360px;
    height: auto;
    padding: 1.25rem 1rem !important;
  }
  .hero-widget-viewport .svn-widget-rendered {
    min-height: 360px;
    height: 360px; /* Großzügige Höhe, damit unten absolut nichts abgeschnitten wird */
  }
  .hero-widget-viewport .svn-widget-rendered iframe {
    /* Schneidet oben sauber die Tabellenköpfe ab */
    transform: translateY(-240px);
    min-height: 650px !important;
  }
}

/* Modul-Widget für Begegnungen: Schneidet nur den oberen schwarzen Header & Titel ab */
.matches-widget-wrapper {
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--sv-radius-md);
  box-shadow: var(--sv-shadow-sm);
  background: #ffffff;
  position: relative;
  padding-bottom: 0px;
}

.matches-widget-wrapper .svn-widget-rendered iframe {
  display: block;
  width: 100% !important;
  border: none;
  transform: translateY(-130px);
  margin-bottom: -130px;
}

@media (max-width: 768px) {
  .matches-widget-wrapper {
    overflow: hidden;
    padding-bottom: 10px;
  }
  .matches-widget-wrapper .svn-widget-rendered iframe {
    transform: translateY(-135px);
    margin-bottom: -135px !important;
  }
}

.match-badge {
  display: inline-block;
  background: var(--sv-blue-dark);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.match-vs {
  font-size: 0.85rem;
  color: var(--sv-text-muted);
  font-weight: 400;
  padding: 0 10px;
}

.match-details {
  font-size: 0.85rem;
  color: var(--sv-text-muted);
  border-top: 1px solid var(--sv-border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
}

/* Modul: News Cards Grid */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.news-card {
  flex: 1 1 300px;
  max-width: 380px;
  min-width: 280px;
  background: var(--sv-bg-card);
  border-radius: var(--sv-radius-md);
  overflow: hidden;
  border: 1px solid var(--sv-border);
  box-shadow: var(--sv-shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 102, 204, 0.08);
  transition: var(--sv-transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sv-shadow-md);
  border-color: #cbd5e1;
}

.news-thumb-wrapper {
  position: relative;
  height: 215px;
  background: #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Kein Social-Media-Blur auf News-Fotos */
.news-thumb-blur {
  display: none !important;
}

.news-thumb-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.35s ease;
}

/* Redaktionelles Aufmacher- + 3er-Grid (verhindert 3+1 Umbruch) */
.news-editorial-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.news-card-lead {
  flex: none;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.news-thumb-lead {
  height: 100%;
  min-height: 290px;
}
.news-body-lead {
  padding: 2rem 2.25rem;
  justify-content: center;
}
.news-title-lead {
  font-size: 1.6rem;
  line-height: 1.3;
}
.news-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}
.news-subgrid .news-card {
  max-width: 100%;
  min-width: 0;
}
@media (max-width: 960px) {
  .news-card-lead {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .news-thumb-lead {
    min-height: 190px;
    height: 190px;
  }
  .news-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  #news .section-header {
    margin-bottom: 1.5rem;
  }
  .news-subgrid {
    grid-template-columns: 1fr;
  }
  .news-thumb-lead {
    min-height: 165px;
    height: 165px;
  }
  .news-body-lead {
    padding: 1.15rem 1.25rem 1.2rem;
  }
  .news-title-lead {
    font-size: 1.22rem;
    margin-bottom: 0.55rem;
  }
  .news-card-lead .news-teaser {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

.news-card:hover .news-thumb-img {
  transform: scale(1.03);
}

.news-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--sv-accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.news-body {
  padding: 1.75rem 1.75rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.news-date {
  font-size: 0.82rem;
  color: var(--sv-text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.4;
  word-break: break-word;
}

.news-teaser {
  color: var(--sv-text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  word-break: break-word;
}

.news-footer {
  border-top: 1px solid var(--sv-border);
  padding-top: 1.1rem;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Technische Aufrufzähler auf öffentlichen News-Karten ausblenden */
.news-footer > span[title*="Aufrufe"] {
  display: none !important;
}

.news-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(145deg, var(--sv-blue-dark, #16324f) 0%, #1e4b7a 100%);
  color: #ffffff;
}
.news-thumb-placeholder-club {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.78);
}
.news-thumb-placeholder-label {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.btn-read-more {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--sv-blue-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-read-more:hover {
  color: var(--sv-blue-dark);
  transform: translateX(3px);
}

/* News Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--sv-border);
  background: #ffffff;
  color: var(--sv-text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--sv-transition);
}

.filter-btn:hover {
  border-color: var(--sv-blue-primary);
  color: var(--sv-blue-primary);
}

.filter-btn.active {
  background: var(--sv-blue-primary);
  color: #ffffff;
  border-color: var(--sv-blue-primary);
}

/* Modul: Mannschaften */
.teams-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.team-card {
  flex: 1 1 280px;
  max-width: 360px;
  min-width: 260px;
  background: #ffffff;
  border-radius: var(--sv-radius-md);
  padding: 1.75rem;
  border: 1px solid var(--sv-border);
  box-shadow: var(--sv-shadow-sm);
  transition: var(--sv-transition);
}

.team-card:hover {
  border-color: var(--sv-blue-primary);
  box-shadow: var(--sv-shadow-md);
  transform: translateY(-4px);
}

.team-card:hover .team-card-photo {
  transform: scale(1.04);
}

.team-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0,86,179,0.1);
  color: var(--sv-blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.team-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

/* Modul: Vereinswerte */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: left;
  padding: 1.75rem 1.75rem 1.75rem 1.85rem;
  background: #ffffff;
  border-radius: var(--sv-radius-sm);
  border: 1px solid var(--sv-border);
  border-top: 3px solid var(--sv-blue-primary);
  box-shadow: var(--sv-shadow-sm);
}

.value-badge {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: var(--sv-blue-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}

/* Modul: Vereinsstimme & Heimat (2-Spalten-Editorial statt 3 Kacheln) */
.club-voice-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 2.5rem;
  align-items: center;
}
.club-voice-media {
  border-radius: var(--sv-radius-md);
  overflow: hidden;
  box-shadow: var(--sv-shadow-md);
  border: 1px solid var(--sv-border);
  background: #ffffff;
}
.club-voice-photo {
  width: 100%;
  height: 410px;
  object-fit: cover;
  display: block;
}
.club-voice-heritage {
  min-height: 360px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, var(--sv-blue-dark, #16324f) 0%, #1d4e7e 100%);
  color: #ffffff;
}
.club-voice-crest {
  max-height: 110px;
  max-width: 150px;
  object-fit: contain;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.club-voice-year {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.club-voice-place {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-weight: 600;
}
.club-voice-quote {
  margin: 0 0 1.75rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-left: 4px solid var(--sv-blue-primary);
  border-radius: 0 var(--sv-radius-sm) var(--sv-radius-sm) 0;
  box-shadow: var(--sv-shadow-sm);
}
.club-voice-quote-text {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--sv-blue-dark);
  font-style: italic;
  margin: 0 0 0.6rem;
}
.club-voice-quote-meta {
  font-size: 0.88rem;
  color: var(--sv-text-muted);
}
.club-voice-quote-meta strong {
  color: var(--sv-blue-dark);
}
.club-voice-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.club-voice-pillar {
  padding-left: 1rem;
  border-left: 2px solid var(--sv-border);
}
.club-voice-pillar-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sv-blue-primary);
  margin-bottom: 2px;
}
.club-voice-pillar h3 {
  font-size: 1.08rem;
  margin: 0 0 2px;
}
.club-voice-pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sv-text-muted);
  line-height: 1.55;
}
.club-voice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .club-voice-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .club-voice-photo {
    height: 280px;
  }
  .club-voice-heritage {
    min-height: 240px;
  }
}

/* Mannschafts-Gruppierung & Wappen-Platzhalter */
.teams-groups-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.teams-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.teams-group-header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--sv-blue-dark);
  white-space: nowrap;
}
.teams-group-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--sv-border), transparent);
}
.team-card-crest-fallback {
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(145deg, var(--sv-hero-grad-start, var(--sv-blue-dark)) 0%, var(--sv-hero-grad-end, #153e68) 100%);
  color: #ffffff;
}
.team-card-crest-img {
  max-height: 78px;
  max-width: 110px;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 8px;
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}
.team-card-crest-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}
.team-card-crest-sub {
  font-size: 0.72rem;
  color: #cbd5e1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Sponsorenwand (3 Stufen, Originalfarben) */
.sponsor-wall {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}
.sponsor-tier-heading {
  text-align: center;
  margin-bottom: 1.15rem;
}
.sponsor-tier-heading span {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--sv-text-muted);
}
.sponsor-wall-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.sponsor-wall-card {
  background: #ffffff;
  border: 1px solid var(--sv-border);
  border-radius: var(--sv-radius-md);
  box-shadow: var(--sv-shadow-sm);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--sv-transition);
}
.sponsor-wall-card:hover {
  border-color: var(--sv-blue-primary);
  box-shadow: var(--sv-shadow-md);
  transform: translateY(-2px);
}
.sponsor-wall-card--main {
  width: 280px;
  min-height: 165px;
}
.sponsor-wall-card--premium {
  width: 230px;
  min-height: 140px;
}
.sponsor-wall-card--supporter {
  width: 195px;
  min-height: 118px;
}
.sponsor-wall-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.sponsor-wall-logo-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 8px;
}
.sponsor-wall-card--main .sponsor-wall-logo {
  max-height: 85px;
  max-width: 100%;
  object-fit: contain;
}
.sponsor-wall-card--premium .sponsor-wall-logo {
  max-height: 68px;
  max-width: 100%;
  object-fit: contain;
}
.sponsor-wall-card--supporter .sponsor-wall-logo {
  max-height: 54px;
  max-width: 100%;
  object-fit: contain;
}
.sponsor-wall-name {
  font-weight: 700;
  color: var(--sv-blue-dark);
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.25;
}
.sponsor-wall-name--solo {
  font-size: 0.98rem;
  padding: 0.5rem 0;
}

/* Modul: Sponsoren */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.sponsor-box {
  background: #ffffff;
  border: 1px dashed var(--sv-border);
  border-radius: var(--sv-radius-sm);
  padding: 1.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--sv-text-muted);
  font-size: 0.95rem;
}

/* Modul: CTA Section */
.cta-box {
  background: linear-gradient(135deg, var(--sv-blue-primary) 0%, var(--sv-blue-dark) 100%);
  color: #ffffff;
  border-radius: var(--sv-radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-box h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Pagination "Mehr laden" Container */
.load-more-container {
  text-align: center;
  margin-top: 3rem;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* In-Page Article Overlay (Modal) */
.article-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.article-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.overlay-dialog {
  background: #ffffff;
  border-radius: var(--sv-radius-lg);
  max-width: 820px;
  width: 100%;
  margin: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: overlayFadeIn 0.25s ease-out;
}

@keyframes overlayFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.overlay-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  border-radius: 50%;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--sv-transition);
}

.overlay-close-btn:hover {
  background: rgba(0,0,0,0.85);
  transform: rotate(90deg);
}

.overlay-hero {
  height: 280px;
  position: relative;
  background: linear-gradient(135deg, var(--sv-blue-dark) 0%, var(--sv-blue-primary) 100%);
}

.overlay-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-content-wrapper {
  padding: 2.5rem;
}

.overlay-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--sv-text-muted);
}

.overlay-category {
  background: var(--sv-accent);
  color: #ffffff;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.overlay-title {
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.overlay-article-html {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.overlay-article-html p {
  margin-bottom: 1.25rem;
}

.overlay-article-html h2, .overlay-article-html h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.overlay-article-html blockquote {
  border-left: 4px solid var(--sv-blue-primary);
  background: var(--sv-bg-light);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #475569;
}

.overlay-article-html img {
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Zentrale Stile für gerenderte WYSIWYG / Rich-Text Inhalte (News, Chronik, Vereinsseiten, Impressum etc.) */
.prose,
.club-content-view,
.card-desc-content,
.overlay-article-html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #334155;
  line-height: 1.8;
}

.prose p,
.club-content-view p,
.card-desc-content p {
  margin: 0 0 1rem 0;
  line-height: 1.8;
}

.prose p:last-child,
.club-content-view p:last-child,
.card-desc-content p:last-child {
  margin-bottom: 0;
}

.prose h1, .club-content-view h1, .card-desc-content h1,
.prose h2, .club-content-view h2, .card-desc-content h2,
.prose h3, .club-content-view h3, .card-desc-content h3,
.prose h4, .club-content-view h4, .card-desc-content h4 {
  color: var(--sv-blue-dark, #16324f);
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.prose h1:first-child, .club-content-view h1:first-child, .card-desc-content h1:first-child,
.prose h2:first-child, .club-content-view h2:first-child, .card-desc-content h2:first-child,
.prose h3:first-child, .club-content-view h3:first-child, .card-desc-content h3:first-child {
  margin-top: 0;
}

.prose h1, .club-content-view h1, .card-desc-content h1 { font-size: 1.85rem; font-weight: 800; }
.prose h2, .club-content-view h2, .card-desc-content h2 { font-size: 1.45rem; }
.prose h3, .club-content-view h3, .card-desc-content h3 { font-size: 1.25rem; }
.prose h4, .club-content-view h4, .card-desc-content h4 { font-size: 1.1rem; }

.prose blockquote,
.club-content-view blockquote,
.card-desc-content blockquote {
  border-left: 4px solid var(--sv-blue-primary, #0066cc);
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  color: #475569;
  font-style: italic;
  background: var(--sv-bg-light, #f8fafc);
  border-radius: 0 6px 6px 0;
}

.prose ol, .prose ul,
.club-content-view ol, .club-content-view ul,
.card-desc-content ol, .card-desc-content ul {
  padding-left: 1.6rem;
  margin: 0.5rem 0 1rem 0;
}

.prose li,
.club-content-view li,
.card-desc-content li {
  margin-bottom: 0.35rem;
}

.prose img,
.club-content-view img,
.card-desc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  display: block;
  box-shadow: var(--sv-shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
}

.prose a,
.club-content-view a,
.card-desc-content a {
  color: var(--sv-blue-primary, #0066cc);
  text-decoration: underline;
}

/* Quill Ausrichtungsklassen im Frontend */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }
.ql-align-left { text-align: left; }

.overlay-footer {
  border-top: 1px solid var(--sv-border);
  padding: 1.5rem 2.5rem;
  background: var(--sv-bg-light);
  display: flex;
  justify-content: flex-end;
}

/* Footer & Cookie Banner */
.site-footer {
  background: var(--sv-blue-dark);
  color: #ffffff;
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.footer-contact-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 600px;
  margin-bottom: 1.25rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--sv-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--sv-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Social Media Icons im Footer */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.social-fb:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-insta:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: #dc2743;
}

.social-yt:hover {
  background: #ff0000;
  border-color: #ff0000;
}

@media (max-width: 900px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-main-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .footer-brand {
    gap: 10px;
  }
  .footer-contact-box {
    padding: 1.1rem 1.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.25rem;
  }
  .footer-legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
  }
}

/* 100% DSGVO-Cookie-Banner (Keine Tracking-Cookies, rein informativ & Bestätigung) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: var(--sv-text-main);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  border-top: 3px solid var(--sv-accent);
  padding: 1.25rem 0;
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease-out;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.9rem;
  color: #475569;
  flex: 1;
  min-width: 280px;
}

.cookie-text strong {
  color: var(--sv-blue-dark);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem 0;
    max-height: 85vh;
    overflow-y: auto;
  }
  .cookie-text {
    min-width: 0;
    width: 100%;
    font-size: 0.85rem;
  }
  .cookie-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* 2-Klick Datenschutz-Sperre für externe Widgets & YouTube */
.svn-widget-container, .svn-youtube-container {
  transition: all 0.25s ease;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
  contain: inline-size;
}
.svn-widget-container {
  overflow: hidden !important;
}
.svn-widget-rendered {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  contain: inline-size;
}
.svn-widget-rendered iframe,
.svn-widget-rendered [id^="fp-widget_root"] iframe {
  width: 1px !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.svn-widget-rendered [id^="fp-widget_root"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}
.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}
.svn-widget-placeholder button:hover, .svn-yt-placeholder button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

/* 2-Klick YouTube-Container (inline in News/Umfragen & SVN TV) */
.svn-youtube-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  border-radius: 8px;
}
.svn-yt-rendered {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.svn-yt-placeholder {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0.9rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 58, 138, 0.94) 100%);
  color: #fff;
  z-index: 5;
}
.svn-yt-placeholder-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.svn-yt-placeholder-title {
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
  color: #fff;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: break-word;
}
.svn-yt-placeholder-desc {
  margin: 0 auto 0.65rem;
  font-size: 0.76rem;
  color: #cbd5e1;
  max-width: 360px;
  line-height: 1.4;
}
.svn-yt-placeholder-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.svn-yt-placeholder-btn {
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  max-width: 100%;
  white-space: normal;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}
.svn-yt-placeholder-remember {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
  margin-top: 2px;
}
.svn-yt-placeholder-remember input {
  width: 14px;
  height: 14px;
  accent-color: var(--sv-blue-primary);
  cursor: pointer;
  flex-shrink: 0;
}

/* SVN TV Hauptplayer 2-Klick-Overlay */
.svn-tv-player-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}
.svn-yt-consent-overlay {
  position: relative;
  flex: 1 0 auto;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 58, 138, 0.94) 100%);
  z-index: 10;
  color: #fff;
}
.svn-yt-consent-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  flex-shrink: 0;
}
.svn-yt-consent-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
}
.svn-yt-consent-desc {
  margin: 0 auto 1.25rem;
  max-width: 540px;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.svn-yt-consent-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
  max-width: 100%;
}
.svn-yt-consent-btn {
  padding: 10px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  white-space: normal;
}
.svn-yt-consent-remember {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #cbd5e1;
  cursor: pointer;
}
.svn-yt-consent-remember input {
  accent-color: var(--sv-blue-primary);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .svn-yt-consent-overlay {
    padding: 1.35rem 1rem;
  }
  .svn-yt-consent-icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
  }
  .svn-yt-consent-title {
    font-size: 1.12rem;
  }
  .svn-yt-consent-desc {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  .svn-yt-consent-btn {
    padding: 9px 18px;
    font-size: 0.88rem;
  }
  .svn-widget-placeholder {
    padding: 1.5rem 1rem !important;
  }
  .svn-widget-placeholder .btn {
    white-space: normal;
    max-width: 100%;
    text-align: center;
  }
  #osmConsentOverlay {
    padding: 1.25rem 1rem !important;
    overflow-y: auto;
  }
  #osmConsentOverlay h3 {
    font-size: 1.15rem !important;
  }
  #osmConsentOverlay p {
    font-size: 0.85rem !important;
  }
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch; /* Einheitlich volle Breite für alle Punkte */
    text-align: left;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--sv-border);
    box-shadow: var(--sv-shadow-md);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 999;
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 6px;
    font-size: 1.02rem;
    text-align: left;
    justify-content: flex-start;
  }

  .nav-link.active::after {
    display: none; /* Unterstrich auf Mobil durch dezente Hervorhebung ersetzen */
  }

  .nav-link.active {
    color: var(--sv-blue-primary);
    font-weight: 700;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
    border-radius: 6px;
    cursor: pointer;
  }

  .nav-toggle:active,
  .nav-toggle:focus {
    background: #f1f5f9;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: 6px;
    margin: 0 0 10px 0;
    padding: 6px 12px;
    display: none !important;
    width: 100%;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block !important;
  }

  .nav-dropdown-menu li a {
    padding: 9px 8px;
    font-size: 0.95rem;
    text-align: left;
  }

  .nav-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
  }

  .nav-actions {
    margin-top: 12px;
    padding: 6px 0;
    width: 100%;
    justify-content: flex-start;
  }

  .nav-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .overlay-content-wrapper {
    padding: 1.5rem;
  }

  .overlay-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   MOBILE SCHNELLZUGRIFF (Verein & Mannschaften)
   Auf Desktop in der rechten Sidebar; auf Smartphones dezent oben über dem Inhalt
   ========================================================================== */
.mobile-schnellzugriff-bar {
  display: none;
}

@media (max-width: 991px) {
  .mobile-schnellzugriff-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--sv-border, #e2e8f0);
    border-radius: var(--sv-radius-md, 10px);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--sv-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.05));
  }

  .mobile-schnellzugriff-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sv-blue-dark, #0b1f3a);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-schnellzugriff-select {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--sv-text-main, #1e293b);
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    transition: all 0.15s ease;
  }

  .mobile-schnellzugriff-select:focus {
    border-color: var(--sv-blue-primary, #0066cc);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
  }
}

/* Team & Club Detail Layout (Sidebar & Facts) */
.team-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.team-layout-grid > *,
.team-layout-grid .card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  contain: inline-size;
}

.team-layout-grid .card {
  overflow: hidden !important;
}

/* Team Widget Container (FuPa / fussball.de / DFB) Responsiveness & Anti-Overflow */
.team-widget-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  contain: inline-size;
}

.team-widget-container iframe {
  width: 1px !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.team-widget-container [id^="fp-widget_root"] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .team-layout-grid .card {
    padding: 1rem !important;
  }
}

/* Verhindert horizontales Ausbrechen der gesamten Seite auf Mobilgeräten (clip erhält position: sticky) */
html, body, .section {
  max-width: 100%;
  overflow-x: clip;
}

.team-sidebar-col {
  position: sticky;
  top: 85px;
}

@media (max-width: 991px) {
  html, body, main, .section, .container {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .team-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .team-sidebar-col {
    position: static;
    top: auto;
    width: 100%;
  }

  .team-sidebar-card {
    padding: 1.25rem !important;
  }

  .team-facts-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
  }

  .team-fact-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--sv-radius-sm);
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 576px) {
  .team-layout-grid {
    gap: 1.5rem;
  }

  .team-facts-list {
    grid-template-columns: 1fr !important;
  }

  .team-sidebar-card {
    padding: 1rem !important;
  }

  .team-contact-name {
    font-size: 1.05rem;
  }
}

/* Fanshop Info-Box Responsive */
.fanshop-info-box {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--sv-border, #e2e8f0);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  padding: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.fanshop-info-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .fanshop-info-box {
    padding: 1.5rem;
  }
  .fanshop-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .fanshop-info-box {
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
  }
  .fanshop-info-box h2 {
    font-size: 1.15rem !important;
  }
  .fanshop-contact-buttons {
    flex-direction: column !important;
  }
  .fanshop-contact-buttons a,
  .fanshop-contact-buttons button {
    width: 100% !important;
  }
}

/* Sponsoren- & Fanshop-Karussell Animation */
@keyframes sponsorScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sponsors-carousel-wrapper:hover .sponsors-carousel-track,
.fanshop-carousel-wrapper:hover .fanshop-carousel-track {
  animation-play-state: paused;
}

/* Automatischer Scroll-Offset für fixierte Navigation & Untermenüs */
#fanzone-content,
#club-content,
#team-content {
  scroll-margin-top: 85px;
}

/* Fanzone Highscore Formulare (Verhindert horizontales Überlaufen auf Handys) */
.fanzone-hs-input-group {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.fanzone-hs-input-group input {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.fanzone-hs-input-group button {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}
@media (max-width: 440px) {
  .fanzone-hs-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .fanzone-hs-input-group button {
    width: 100% !important;
  }
}


/* Fanshop Product Detail Modal */
@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
@media (max-width: 768px) {
    .contact-submit-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .contact-submit-btn {
        justify-content: center !important;
        margin-inline: auto !important;
    }
    #productModalBody {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1.5rem !important;
    }
}

/* AI Generated Image Badge */
.svn-ai-badge {
    position: absolute;
    bottom: 6px;
    right: 8px;
    z-index: 8;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.25;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.2px;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 3px rgba(0,0,0,0.22);
}
.svn-ai-badge.svn-ai-badge-compact {
    font-size: 0.54rem;
    padding: 1px 4px;
    bottom: 3px;
    right: 3px;
    max-width: calc(100% - 6px);
}

/* Floating Admin Quick-Edit Pill (only visible to logged-in authorized editors) */
.svn-admin-quickedit {
    position: fixed;
    bottom: 18px;
    left: 18px;
    z-index: 9990;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 39, 68, 0.94);
    color: #ffffff;
    border: 1px solid rgba(147, 197, 253, 0.45);
    backdrop-filter: blur(6px);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.svn-admin-quickedit:hover {
    background: var(--sv-blue-primary, #0066cc);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 102, 204, 0.38);
}
@media print {
    .svn-admin-quickedit {
        display: none !important;
    }
}

/* ==========================================================================
   Moderne Formular-Elemente (Frontend & Barrierefreiheit)
   ========================================================================== */
.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-label {
    display: block;
    width: 100%;
    font-weight: 700;
    color: var(--sv-blue-dark, #0f2744);
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
    line-height: 1.35;
}

.form-control {
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--sv-text-main, #1e293b);
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 11px 14px;
    line-height: 1.5;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease;
}

.form-control::placeholder {
    color: #64748b;
    opacity: 1;
}

.form-control:hover {
    border-color: #94a3b8;
}

.form-control:focus {
    border-color: var(--sv-blue-primary, #0066cc);
    outline: 2px solid transparent;
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(0, 102, 204, 0.15);
}

:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--sv-blue-primary, #0066cc);
    outline-offset: 2px;
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.6;
}

/* Schnellauswahl Topic-Pills */
.topic-pill-btn {
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.topic-pill-btn:hover {
    border-color: var(--sv-blue-primary, #0066cc);
    color: var(--sv-blue-primary, #0066cc);
    background: #f0f7ff;
}

.topic-pill-btn.active,
.topic-pill-btn:focus-visible {
    border-color: var(--sv-blue-primary, #0066cc);
    background: var(--sv-blue-primary, #0066cc);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.25);
    outline: none;
}

/* ==========================================================================
   Zentrales Design-System: Karten, Icon-Boxen, Sub-Boxen, Badges & Alerts
   ========================================================================== */
.svn-card {
    background: var(--sv-bg-card, #ffffff);
    border: 1px solid var(--sv-border, #e2e8f0);
    border-radius: var(--sv-radius-md, 12px);
    padding: 1.5rem;
    box-shadow: var(--sv-shadow-sm, 0 2px 10px rgba(15, 39, 68, 0.04));
    box-sizing: border-box;
}

.svn-card--lg {
    border-radius: var(--sv-radius-md, 12px);
    box-shadow: var(--sv-shadow-md, 0 8px 24px rgba(15, 39, 68, 0.06));
    overflow: hidden;
    position: relative;
    padding: 0;
}

.svn-card--highlight {
    border: 1px solid #bfdbfe;
    border-top: 4px solid var(--sv-blue-primary, #0066cc);
    border-radius: var(--sv-radius-md, 12px);
    box-shadow: var(--sv-shadow-md, 0 8px 24px rgba(15, 39, 68, 0.06));
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

.svn-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--sv-border, #e2e8f0);
    border-radius: var(--sv-radius-md, 12px);
    padding: 1.4rem;
    box-shadow: var(--sv-shadow-sm, 0 2px 10px rgba(15, 39, 68, 0.04));
    margin-bottom: 1.35rem;
}

.svn-sidebar-card--muted {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.svn-sidebar-card h3 {
    color: var(--sv-blue-dark);
    font-size: 1.12rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--sv-border);
    padding-bottom: 0.5rem;
}

.svn-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.svn-sidebar-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--sv-radius-sm, 8px);
    text-decoration: none;
    font-weight: 500;
    background: #f8fafc;
    color: #1e293b;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.svn-sidebar-nav a:hover {
    background: #eff6ff;
    color: var(--sv-blue-primary);
}

.svn-sidebar-nav a.is-active {
    font-weight: 700;
    background: var(--sv-blue-primary);
    color: #ffffff;
}

.svn-sidebar-editor-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--sv-radius-md, 12px);
    padding: 1rem;
    font-size: 0.85rem;
    text-align: center;
}

.svn-subbox {
    background: var(--sv-bg-light, #f8fafc);
    border: 1px solid var(--sv-border, #e2e8f0);
    border-radius: var(--sv-radius-sm, 8px);
    padding: 10px 12px;
}

.svn-badge {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.svn-badge--blue {
    background: #eff6ff;
    color: var(--sv-blue-primary, #0066cc);
}

.svn-alert {
    padding: 1.15rem 1.25rem;
    border-radius: var(--sv-radius-sm, 8px);
    margin-bottom: 1.5rem;
}

/* Einheitliche Startseiten-Karten für Begegnungen & Fanshop-Schaufenster */
.svn-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 1.5rem;
}

.svn-match-card {
    background: #ffffff;
    border: 1px solid var(--sv-border, #e2e8f0);
    border-left: 4px solid var(--sv-blue-primary, #0066cc);
    border-radius: var(--sv-radius-md, 12px);
    padding: 1.4rem;
    box-shadow: var(--sv-shadow-sm, 0 2px 8px rgba(15, 39, 68, 0.04));
}

.svn-match-card--result {
    border-left-color: var(--sv-blue-dark, #16324f);
}

.svn-match-score-pill {
    display: inline-block;
    background: var(--sv-blue-dark, #16324f);
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Unterseiten-Kopfbereich (.page-banner) */
.page-banner {
    color: #ffffff;
    padding: 3rem 0;
    position: relative;
}

.page-banner-title {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-weight: 800;
    line-height: 1.2;
}

.page-banner-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 800px;
    line-height: 1.6;
}

.svn-fanshop-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.svn-fanshop-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.svn-fanshop-placeholder img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    opacity: 0.72;
}

.svn-consent-box {
    background: linear-gradient(160deg, #0f2447 0%, #16324f 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.svn-anfahrt-callout {
    background: #f8fafc;
    border: 1px solid var(--sv-border, #e2e8f0);
    border-left: 4px solid var(--sv-blue-primary, #0066cc);
    border-radius: var(--sv-radius-md, 12px);
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.svn-team-stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 3px solid var(--sv-blue-primary, #0066cc);
    border-radius: var(--sv-radius-sm, 8px);
    padding: 1.25rem;
    text-align: center;
}

.svn-alert--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.svn-alert--danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.svn-alert--info {
    background: #e0f2fe;
    border: 1px solid #7dd3fc;
    color: #075985;
}

.svn-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.svn-btn-full {
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.shop-product-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--sv-border, #e2e8f0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
}

.shop-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sv-shadow-md, 0 10px 25px rgba(0, 0, 0, 0.08));
}

/* ==========================================================================
   Dezenter "Nach oben"-Button (Back to Top)
   ========================================================================== */
.svn-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 980;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    background: var(--sv-blue-primary, #0066cc);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.35);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.svn-back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.svn-back-to-top:hover {
    background: var(--sv-blue-dark, #0f2744);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 39, 68, 0.4);
}

@media (max-width: 600px) {
    .svn-back-to-top {
        bottom: 18px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .svn-card--highlight {
        padding: 1.25rem !important;
    }

    .svn-card--lg > div[style*="padding: 2rem"] {
        padding: 1.25rem !important;
    }

    .svn-form-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    #productDetailModal {
        padding: 0.75rem !important;
    }
}

@media (max-width: 900px) {
    .contact-grid-wrap {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .club-card-split {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }

    .chronik-section-card > div {
        padding: 1.15rem !important;
    }

    #productModalBody {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }
}

#chronikStickyWrap,
#chronikStickyNav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    contain: inline-size;
}

#chronikStickyNav {
    overflow: hidden;
}

.chronik-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    max-width: 100%;
}

.chronik-nav-pill {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.25;
}

@media (max-width: 768px) {
    .page-banner {
        padding: 2rem 0 !important;
    }
    .page-banner-title {
        font-size: 1.75rem !important;
        line-height: 1.25;
    }
    .page-banner-subtitle {
        font-size: 0.98rem !important;
        line-height: 1.5;
    }
    #svnAnfahrtMap {
        height: 340px !important;
    }
    .contact-form-body {
        padding: 1.35rem 1.15rem !important;
    }
    .news-controls-bar {
        flex-direction: column;
        align-items: stretch !important;
    }
    .news-search-wrap {
        max-width: 100% !important;
        width: 100%;
    }
    .news-filter-bar {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .news-filter-bar .filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        min-height: 40px;
    }
    #chronikStickyNav {
        padding: 0.55rem 0.75rem !important;
    }
    .chronik-nav-list {
        gap: 6px !important;
    }
    .chronik-nav-pill {
        font-size: 0.76rem !important;
        padding: 5px 10px !important;
    }
}

@media (max-width: 640px) {
    .svn-team-section-card {
        padding: 1.2rem 1rem !important;
    }
    .svn-team-table--stacked thead {
        display: none;
    }
    .svn-team-table--stacked,
    .svn-team-table--stacked tbody,
    .svn-team-table--stacked tr,
    .svn-team-table--stacked td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .svn-team-table--stacked tr {
        padding: 0.75rem 0;
        border-bottom: 1px solid #e2e8f0 !important;
    }
    .svn-team-table--stacked tr:last-child {
        border-bottom: none !important;
    }
    .svn-team-table--stacked td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        padding: 4px 2px !important;
        text-align: right !important;
        width: auto !important;
    }
    .svn-team-table--stacked td::before {
        content: attr(data-label);
        font-size: 0.74rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        text-align: left;
        flex-shrink: 0;
    }
    .svn-team-table--stacked td.svn-table-vs-cell {
        display: none;
    }
    #svnAnfahrtMap {
        height: 300px !important;
    }
}

/* ==========================================================================
   Öffentliche Dienstplan / Helfer-Übersicht (Desktop Tabelle, Mobil Karten)
   ========================================================================== */
.svn-duty-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.svn-duty-shifts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.925rem;
}
.svn-duty-shifts-table thead tr {
    background: #f8fafc;
    border-bottom: 1px solid var(--sv-border);
    text-align: left;
    color: #475569;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.svn-duty-shifts-table thead th {
    padding: 12px 16px;
}
.svn-duty-shift-row {
    border-bottom: 1px solid #f1f5f9;
}
.svn-duty-shift-row.is-full {
    background: #ffffff;
}
.svn-duty-shift-row.is-open {
    background: #fffdfa;
}
.svn-duty-cell {
    padding: 14px 16px;
    vertical-align: top;
}
.svn-duty-cell--actions {
    text-align: right;
    white-space: nowrap;
}
.svn-duty-time-badge {
    color: var(--sv-blue-dark);
    font-size: 0.95rem;
    white-space: nowrap;
}
.svn-duty-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.svn-duty-slot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-sizing: border-box;
}
.svn-duty-slot--taken {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.svn-duty-slot--free {
    background: #ffffff;
    border: 1.5px dashed var(--sv-blue-primary, #0066cc);
    color: var(--sv-blue-primary, #0066cc);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.svn-duty-slot--closed {
    background: #ffffff;
    border: 1.5px dashed #cbd5e1;
    color: #94a3b8;
}
.svn-duty-slot-cta {
    font-size: 0.72rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 2px;
}
.svn-duty-actions-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.svn-duty-cal-btn {
    padding: 5px 10px;
    font-size: 0.8rem;
    text-decoration: none;
}
.svn-duty-join-btn {
    padding: 6px 14px;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .svn-duty-table-wrap {
        overflow-x: visible;
    }
    .svn-duty-shifts-table thead {
        display: none;
    }
    .svn-duty-shifts-table,
    .svn-duty-shifts-table tbody,
    .svn-duty-shift-row,
    .svn-duty-cell {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .svn-duty-shift-row {
        padding: 14px;
        border-bottom: 1px solid #e2e8f0;
    }
    .svn-duty-shift-row:last-child {
        border-bottom: none;
    }
    .svn-duty-cell {
        padding: 0;
        text-align: left;
        white-space: normal;
    }
    .svn-duty-cell--time {
        margin-bottom: 4px;
    }
    .svn-duty-time-badge {
        display: inline-block;
        background: #eff6ff;
        border: 1px solid #bfdbfe;
        padding: 3px 9px;
        border-radius: 6px;
        font-size: 0.86rem;
    }
    .svn-duty-cell--station {
        margin-bottom: 10px;
    }
    .svn-duty-cell--slots {
        margin-bottom: 12px;
    }
    .svn-duty-cell--slots::before {
        content: attr(data-label);
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: #64748b;
        margin-bottom: 6px;
    }
    .svn-duty-slots-list {
        flex-direction: column;
        gap: 8px;
    }
    .svn-duty-slot {
        width: 100%;
        justify-content: space-between;
        min-height: 42px;
        padding: 8px 12px;
    }
    .svn-duty-cell--actions {
        text-align: left;
    }
    .svn-duty-actions-wrap {
        display: flex;
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
    }
    .svn-duty-cal-btn,
    .svn-duty-join-btn {
        flex: 1 1 120px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 0.9rem;
    }
}

.club-card-split > *,
.chronik-section-card > div > * {
    min-width: 0;
    max-width: 100%;
}

.card-desc-content,
.article-content {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.card-desc-content table,
.article-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.card-desc-content img,
.article-content img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Barrierefreiheit (WCAG): Skip-Link & Reduced Motion
   ========================================================================== */
.svn-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 100000;
    background: var(--sv-blue-dark, #16324f);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: top 0.15s ease;
}

.svn-skip-link:focus,
.svn-skip-link:focus-visible {
    top: 16px;
    outline: 3px solid #38bdf8;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .sponsors-carousel-track,
    .fanshop-carousel-track {
        animation: none !important;
    }
}

/* ==========================================================================
   Automatischer Neuigkeiten-Ticker unter der Hauptnavigation
   ========================================================================== */
.svn-news-ticker-bar {
    background: var(--sv-blue-dark, #16324f);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
    z-index: 20;
}

.svn-news-ticker-bar .container {
    max-width: 1360px;
}

.svn-ticker-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 7px 0;
}

.svn-ticker-badge {
    background: var(--sv-blue-primary, #0066cc);
    color: #ffffff;
    padding: 5px 11px;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1.2;
}

.svn-ticker-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y;
}

.svn-ticker-track {
    display: flex;
    align-items: stretch;
}

.svn-ticker-item {
    display: none;
    text-decoration: none;
    color: #ffffff;
    min-width: 0;
}

.svn-ticker-item.is-visible-slot {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 4px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 4px;
    transition: background-color 0.18s ease;
}

.svn-ticker-item.is-visible-slot.is-last-slot {
    border-right: none;
}

.svn-ticker-item:hover,
.svn-ticker-item:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    outline: none;
}

.svn-ticker-cat {
    display: block;
    color: #93c5fd;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.25;
}

.svn-ticker-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.svn-ticker-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

.svn-ticker-controls--mobile-only {
    display: none;
}

.svn-ticker-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1;
    padding: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.svn-ticker-btn:hover,
.svn-ticker-btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
}

.svn-ticker-btn-pause {
    font-size: 0.62rem;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .svn-ticker-inner {
        gap: 10px;
        min-height: 48px;
        padding: 6px 0;
    }

    .svn-ticker-badge {
        padding: 4px 9px;
        font-size: 0.66rem;
    }

    .svn-ticker-item.is-visible-slot {
        display: none;
    }

    .svn-ticker-item.is-mobile-active {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding: 2px 4px;
        border-right: none;
    }

    .svn-ticker-text {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        font-size: 0.82rem;
    }

    .svn-ticker-controls--mobile-only {
        display: flex;
    }

    .svn-ticker-btn {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 576px) {
    .svn-ticker-btn-pause {
        display: none;
    }
}

@media print {
    .svn-back-to-top,
    .svn-news-ticker-bar {
        display: none !important;
    }
}

