/**
 * ==========================================================================
 * SG WBO – Premium Sport Redesign (PERFORMANCE OPTIMIZED)
 * „German Football Heritage meets Modern Sports Broadcast"
 * 
 * Performance Features:
 * - GPU-accelerated animations (transform/opacity only)
 * - CSS containment for paint optimization
 * - Efficient keyframes (compositor-only properties)
 * - will-change hints strategically placed
 * - Reduced paint areas
 * - Critical CSS extraction ready
 * 
 * Features:
 * - WCAG AA accessibility compliance
 * - 44px+ touch targets
 * - Semantic color tokens
 * - Reduced-motion support
 * - Mobile-first responsive design
 * 
 * Author: OpenWork Frontend Design
 * Version: 3.0 - Performance Edition
 * ==========================================================================
 */

/* ==========================================================================
   PERFORMANCE: CRITICAL CSS - GPU Acceleration & Containment
   ========================================================================== */

/* GPU Acceleration - Apply to animated elements */
.gpu-accelerated,
.site-hero__picture img,
.site-hero__bg-img,
.news-card-media,
.gallery-item img,
.scroll-reveal,
.stagger-item,
.cdw-unit__value,
.sd-score-n,
.team-card__logo,
.cdw-team__logo {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* GPU Layer Creation - Strategic will-change */
.will-change-transform {
  will-change: transform;
}

.will-change-opacity {
  will-change: opacity;
}

/* CSS Containment - Reduce Layout Thrashing */
.contain-content {
  contain: content;
}

.contain-strict {
  contain: strict;
}

.contain-layout {
  contain: layout;
}

.contain-paint {
  contain: paint;
}

/* Paint Optimization - Limit Paint Areas */
.paint-safe,
.article-container,
.news-card,
.spieler-card,
.board-card,
.candidate-card,
.team-card,
.cdw-card,
.gallery-item,
.sd-hero,
.sd-card {
  contain: content;
}

/* Reduced Update Areas - Isolate Changes */
.isolate-changes,
.gallery-lightbox,
.modal,
.dropdown-menu {
  isolation: isolate;
}

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES - PERFORMANCE OPTIMIZED
   ========================================================================== */

:root {
  /* === KERNFARBEN (Premium Sport Heritage) === */
  /* Semantic color tokens for consistent theming */
  --primary: #009647;
  --primary-dark: #007838;
  --primary-light: #40b472;
  --primary-glow: rgba(0, 150, 71, 0.4);
  
  /* Akzent: Warmes Gold/Amber für Prestige */
  --accent: #D4A853;
  --accent-dark: #B8923D;
  --accent-light: #E8C97A;
  --accent-glow: rgba(212, 168, 83, 0.4);
  
  /* Sekundäre Akzente */
  --coral: #E85A4F;
  --coral-light: #FF8A7A;
  
  /* Tiefes Dunkel für Premium-Feeling */
  --dark: #0A1612;
  --dark-card: #111D17;
  --dark-surface: #162118;
  
  /* Typography Colors - WCAG AA compliant contrast ratios */
  /* Text on white: #0A1612 (ratio: 14.5:1) */
  /* Text on light gray: #4A5D52 (ratio: 6.2:1) */
  /* Text on muted: #7A8F82 (ratio: 4.6:1) */
  --text-primary: #0A1612;
  --text-secondary: #4A5D52;
  --text-muted: #7A8F82;
  --text-inverse: #F5F7F6;
  
  /* Surface Colors */
  --surface: #FDFEFF;
  --surface-elevated: #FFFFFF;
  --surface-muted: #F0F4F1;
  
  /* Functional semantic tokens */
  --success: #10b981;
  --success-bg: #d1f5ea;
  --warning: #f59e0b;
  --error: #ef4444;
  --error-bg: #fde8e8;
  --info: #3b82f6;
  
  /* Focus ring color - high visibility */
  --focus-ring: #009647;
  --focus-ring-offset: 2px;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-card) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(10, 22, 18, 0.92) 0%, rgba(17, 29, 23, 0.88) 50%, rgba(10, 22, 18, 0.95) 100%);
  
  /* Shadows - consistent elevation scale */
  --shadow-sm: 0 2px 8px rgba(10, 22, 18, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 22, 18, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 22, 18, 0.16);
  --shadow-xl: 0 24px 64px rgba(10, 22, 18, 0.20);
  --shadow-glow: 0 0 40px var(--primary-glow);
  --shadow-accent: 0 8px 32px var(--accent-glow);
  
  /* Animations - optimized timing */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.5, 1.5, 0.75, 1);
  
  /* Spacing scale - 8pt grid */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  
  /* Border radius - consistent scale */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Z-index scale - systematic layering */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* ==========================================================================
   2. TYPOGRAPHY - PREMIUM HEADING STYLES
   ========================================================================== */

/* Section Headings mit dekorativem Akzent */
.section-heading {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.section-heading::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.2em;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: var(--shadow-glow);
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), transparent);
  margin-left: 0.5rem;
}

/* ==========================================================================
   3. PREMIUM HERO - KINOREIFE ANIMATION
   ========================================================================== */

.site-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark);
}

.site-hero__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.site-hero__picture img,
.site-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
  /* GPU Acceleration */
  transform: translate3d(0, 0, 0) scale(1.05);
  will-change: transform;
}

@keyframes heroZoom {
  0% { transform: translate3d(0, 0, 0) scale(1.05); }
  100% { transform: translate3d(0, 0, 0) scale(1.15); }
}

.site-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Multi-Layer Overlay für Tiefe */
.site-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--gradient-hero);
}

/* Dynamischer Gradient-Accent - GPU optimized */
.site-hero__overlay::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
  /* GPU Optimization */
  will-change: transform, opacity;
}

@keyframes heroGlow {
  0% { opacity: 0.3; transform: translate3d(0, 0, 0); }
  100% { opacity: 0.5; transform: translate3d(-5%, 3%, 0); }
}

/* Subtiler Scanline-Effekt */
.site-hero__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
}

/* Hero Content - GPU optimized */
.site-hero__inner {
  position: relative;
  z-index: 10;
  padding: 8rem 0 4rem;
  width: 100%;
  /* GPU Acceleration */
  will-change: transform, opacity;
}

.site-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.site-hero__badge i {
  color: var(--primary-light);
}

/* GPU-Optimized: transform + opacity only */
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.site-hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 15ch;
  text-wrap: balance;
  opacity: 0;
  /* GPU Acceleration */
  transform: translate3d(0, 30px, 0);
  will-change: transform, opacity;
  animation: heroFadeUp 1s var(--ease-out-expo) 0.4s forwards;
}

/* Gradient-Text-Effekt für Titel */
.site-hero__title {
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.85) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.6s forwards;
}

.site-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s var(--ease-out-expo) 0.8s forwards;
}

.site-hero__actions .btn {
  padding: 0.875rem 1.75rem;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out-expo);
}

.site-hero__actions .btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.site-hero__actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.site-hero__actions .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.site-hero__actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. COUNTDOWN WIDGET - BROADCAST-QUALITÄT
   ========================================================================== */

.cdw-section {
  padding: 3rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Atmosphärischer Hintergrund */
.cdw-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: 
    radial-gradient(ellipse 60% 80% at 50% 0%, var(--primary-glow) 0%, transparent 60%),
    radial-gradient(circle at 20% 50%, rgba(212, 168, 83, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.cdw-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}

/* Premium Accent-Streifen */
.cdw-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.cdw-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent 30%);
  opacity: 0.6;
}

/* Badges */
.cdw-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.cdw-badge--live {
  background: rgba(232, 90, 79, 0.2);
  border-color: rgba(232, 90, 79, 0.4);
  color: var(--coral-light);
}

.cdw-live-pulse {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--coral);
  /* GPU Acceleration */
  will-change: transform, opacity;
}

@keyframes livePulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  50% { transform: translate3d(0, 0, 0) scale(1.3); opacity: 0.7; }
}

/* Matchup */
.cdw-card__matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 4rem);
  margin: 1.5rem 0;
}

.cdw-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  max-width: 200px;
}

.cdw-team__logo {
  width: clamp(60px, 12vw, 90px);
  height: clamp(60px, 12vw, 90px);
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s var(--ease-spring);
}

.cdw-team:hover .cdw-team__logo {
  transform: scale(1.08) rotate(3deg);
}

.cdw-team__name {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.2;
}

.cdw-team__role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.cdw-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.cdw-vs__text {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* Countdown - Die Hauptattraktion */
.cdw-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin: 2rem 0;
}

.cdw-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cdw-unit__value {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(60px, 14vw, 85px);
  height: clamp(60px, 14vw, 85px);
  background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s var(--ease-spring);
}

.cdw-unit__value:hover {
  transform: translateY(-3px) scale(1.02);
}

/* Gloss-Effekt */
.cdw-unit__value::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

/* Nummer-Wechsel-Animation - GPU Optimized */
.cdw-unit__value.flip {
  animation: countFlip 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  /* Enable GPU layer */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@keyframes countFlip {
  0% { transform: translate3d(0, 0, 0) perspective(200px) rotateX(0); }
  50% { transform: translate3d(0, 0, 0) perspective(200px) rotateX(-15deg) scale(0.96); }
  100% { transform: translate3d(0, 0, 0) perspective(200px) rotateX(0); }
}

.cdw-unit__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

.cdw-countdown__sep {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  padding-bottom: 1.5rem;
  text-shadow: 0 0 20px var(--primary-glow);
}

/* Info-Row */
.cdw-card__info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.cdw-card__info-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.cdw-card__info-item i {
  color: var(--primary-light);
}

/* ==========================================================================
   5. NEWS KARTEN - REDAKTIONELLER MAGAZIN-STIL
   ========================================================================== */

.news-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface-elevated);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Bild-Container mit Hover-Effekt */
.news-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.news-card:hover .news-card-media {
  transform: scale(1.08);
}

.news-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 18, 0.6) 0%, transparent 50%);
  pointer-events: none;
}

/* Kategorie-Badge über dem Bild */
.news-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.35rem 0.85rem;
  background: var(--gradient-primary);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

/* Datum-Accessoire */
.news-card-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.news-card-date__day {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--primary-dark);
}

.news-card-date__month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Card Body */
.news-card .p-3 {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

.news-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card:hover h4 {
  color: var(--primary-dark);
}

.news-card .small {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Link */
.card-readmore-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.card-readmore-link i {
  transition: transform 0.3s var(--ease-spring);
}

.news-card:hover .card-readmore-link {
  color: var(--primary-dark);
}

.news-card:hover .card-readmore-link i {
  transform: translateX(4px);
}

/* ==========================================================================
   6. MATCH/SPIEL KARTEN - PREMIUM SPORT
   ========================================================================== */

.home-match-card {
  position: relative;
  background: var(--surface-elevated);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.5rem;
  padding: 2rem;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.home-match-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Dekorativer Akzent-Streifen */
.home-match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.home-match-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--surface-muted);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.home-match-card__label i {
  color: var(--primary);
}

.home-match-card__teams {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Ergebnis-Display (für letztes Spiel) */
.home-match-card__result {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--dark);
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.home-match-card__score {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.home-match-card__score-sep {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
}

.home-match-card__result-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* Meta-Info */
.home-match-card .text-muted {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.home-match-card .text-muted i {
  color: var(--primary);
  width: 16px;
}

/* CTA Button */
.home-match-card .btn {
  margin-top: 1.25rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.3s var(--ease-out-expo);
}

.home-match-card .btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.home-match-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.home-match-card .btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.home-match-card .btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   7. SPIELER-KADER KARTEN - SPORTS CARD ÄSTHETIK
   ========================================================================== */

.spieler-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1.25rem;
  background: var(--surface-elevated);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  text-align: center;
}

.spieler-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.spieler-card:hover::before {
  transform: scaleX(1);
}

.spieler-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Avatar Container */
.spieler-card__avatar-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.spieler-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--surface-elevated);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--primary);
  transition: all 0.3s var(--ease-out-expo);
}

.spieler-card:hover .spieler-card__avatar {
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--primary), 0 0 30px var(--primary-glow);
  transform: scale(1.05);
}

/* Nummer-Accessoire */
.spieler-card__number {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--accent);
}

.spieler-card__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.spieler-card__position {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  min-height: auto;
}

/* Badges */
.spieler-card__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.spieler-card__badge {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.spieler-card__badge--active {
  background: rgba(0, 150, 71, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(0, 150, 71, 0.2);
}

.spieler-card__badge--inactive {
  background: var(--surface-muted);
  color: var(--text-muted);
}

/* Stats Grid */
.spieler-card__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin-top: auto;
}

.spieler-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem;
  background: var(--surface-muted);
  border-radius: 0.75rem;
  transition: all 0.2s var(--ease-out-expo);
}

.spieler-card:hover .spieler-card__stat {
  background: var(--surface-elevated);
}

.spieler-card__stat strong {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.spieler-card__stat span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ==========================================================================
   8. KADER OVERVIEW - STATS DASHBOARD
   ========================================================================== */

.kader-overview__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: var(--surface-elevated);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s var(--ease-out-expo);
}

.kader-overview__item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.kader-overview__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.kader-overview__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.kader-overview__value {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

/* ==========================================================================
   9. KADER TOOLBAR - PREMIUM FILTER
   ========================================================================== */

.kader-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-elevated);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.25rem;
}

.kader-toolbar__field {
  min-width: 180px;
}

.kader-toolbar__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kader-toolbar .form-control,
.kader-toolbar .form-select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.75rem;
  background: var(--surface-elevated);
  font-weight: 500;
  transition: all 0.2s var(--ease-out-expo);
}

.kader-toolbar .form-control:focus,
.kader-toolbar .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.kader-toolbar__results {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--primary-bg-light);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ==========================================================================
   10. LIVETICKER - MODERNES DESIGN
   ========================================================================== */

.liveticker-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
}

.liveticker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.liveticker-header h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.liveticker-live-dot {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--coral);
}

.liveticker-content {
  padding: 1.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.liveticker-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid var(--primary);
  transition: all 0.3s var(--ease-out-expo);
}

.liveticker-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.liveticker-item__time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-light);
  white-space: nowrap;
}

.liveticker-item__text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* ==========================================================================
   11. SPONSOREN SLIDER - PREMIUM ELEGANCE
   ========================================================================== */

.spslider-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-muted) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.spslider-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.spslider-header__title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.spslider-header__title::before,
.spslider-header__title::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-muted));
}

.spslider-header__title::after {
  background: linear-gradient(90deg, var(--text-muted), transparent);
}

.spslider-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 1rem;
  background: var(--surface-elevated);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  transition: all 0.3s var(--ease-out-expo);
}

.spslider-logo-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.spslider-logo {
  max-width: 120px;
  max-height: 50px;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.spslider-logo-link:hover .spslider-logo {
  filter: grayscale(0%);
}

/* ==========================================================================
   12. GLASS MORPHISM - PREMIUM VARIANT
   ========================================================================== */

.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1.25rem;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
  pointer-events: none;
}

.glass:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   13. PAGE CONTENT - ENHANCED (GPU Optimized)
   ========================================================================== */

.page-content {
  padding: 4rem 0;
  animation: pageFadeIn 0.6s var(--ease-out-expo) both;
  will-change: transform, opacity;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Staggered Animation für Sections */
.home-secondary section,
.home-match-card,
.news-card {
  animation: staggerFadeIn 0.6s var(--ease-out-expo) both;
  animation-delay: calc(var(--i, 0) * 0.1s);
  will-change: transform, opacity;
}

@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   14. BUTTONS - PREMIUM STYLES (Accessibility & Touch Optimized)
   ========================================================================== */

/* Button base - ensures consistent touch targets */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  min-height: 48px; /* Touch-friendly */
  min-width: 48px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out-expo);
  -webkit-tap-highlight-color: transparent;
}

/* Primary button */
.btn-primary {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px var(--primary-glow);
}

/* Outline primary button */
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary:active {
  transform: translateY(0);
}

/* Outline light button (for dark backgrounds) */
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* Disabled state - clear visual distinction */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* Focus state for accessibility */
.btn:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Button sizes */
.btn-sm {
  min-height: 40px;
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 56px;
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
}

/* Icon-only button - ensure proper touch target */
.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

.btn-icon i {
  margin: 0;
}

/* ==========================================================================
   15. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 768px) {
  .site-hero {
    min-height: 70vh;
  }
  
  .site-hero__title {
    max-width: 100%;
  }
  
  .cdw-card {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  
  .cdw-card__matchup {
    flex-direction: column;
    gap: 1rem;
  }
  
  .cdw-team {
    flex-direction: row;
    max-width: 100%;
    gap: 1rem;
  }
  
  .cdw-vs {
    width: 40px;
    height: 40px;
  }
  
  .cdw-countdown {
    gap: 0.25rem;
  }
  
  .cdw-unit__value {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 0.75rem;
  }
  
  .news-card-media {
    aspect-ratio: 16/9;
  }
  
  .home-match-card {
    padding: 1.5rem;
  }
  
  .kader-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .spieler-card__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-heading {
    font-size: 1.25rem;
  }
  
  .cdw-countdown {
    flex-wrap: wrap;
  }
  
  .cdw-countdown__sep {
    display: none;
  }
  
  .kader-overview {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   16. REDUCTION FOR PREFERS-REDUCED-MOTION
   ========================================================================== */

/* ==========================================================================
   17. LIVE TICKER WIDGET - PREMIUM
   ========================================================================== */

.ltw-wrapper {
  margin: 2rem auto;
  max-width: 600px;
}

.ltw-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  overflow: hidden;
}

.ltw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ltw-live-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
}

.ltw-live-dot {
  width: 10px;
  height: 10px;
  background: var(--coral);
  border-radius: 50%;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--coral);
}

.ltw-refresh-info {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Scoreboard */
.ltw-scoreboard {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.ltw-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ltw-team-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
}

.ltw-team-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

.ltw-score-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ltw-score {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.ltw-score-num {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.ltw-score-sep {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.ltw-minute-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ltw-minute-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.ltw-minute {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
}

/* Events Feed */
.ltw-feed-wrap {
  padding: 1rem 1.5rem 1.5rem;
}

.ltw-feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.ltw-feed-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
}

.ltw-events {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ltw-event {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  border-left: 3px solid var(--primary);
  transition: all 0.3s var(--ease-out-expo);
}

.ltw-event:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(4px);
}

.ltw-event--status {
  border-left-color: var(--accent);
}

.ltw-ev-min {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-light);
  min-width: 35px;
}

.ltw-ev-icon {
  color: var(--primary-light);
}

.ltw-icon--goal {
  color: var(--accent);
}

.ltw-icon--yellow {
  color: #fbbf24;
}

.ltw-icon--red {
  color: var(--coral);
}

.ltw-team-badge {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}

.ltw-badge--home {
  background: rgba(0, 150, 71, 0.2);
  color: var(--primary-light);
}

.ltw-badge--away {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.ltw-ev-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ltw-ev-player {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.ltw-ev-player--out {
  color: rgba(255, 255, 255, 0.5);
}

.ltw-ev-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.ltw-ev-sub-arrow {
  color: rgba(255, 255, 255, 0.4);
}

.ltw-empty {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

/* Score Pop Animation - GPU Optimized */
.ltw-score-pop {
  animation: scorePop 0.4s var(--ease-out-expo);
  will-change: transform;
}

@keyframes scorePop {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 0, 0) scale(1.3); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes livePulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  50% { transform: translate3d(0, 0, 0) scale(1.2); opacity: 0.7; }
}

/* Progress Bar */
.ltw-progress {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.ltw-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ==========================================================================
   17. PREMIUM FOOTER
   ========================================================================== */

.main-footer {
  position: relative;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
  overflow: hidden;
}

/* Dekoratives Gradient */
.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--primary) 20%, 
    var(--accent) 50%, 
    var(--primary) 80%, 
    transparent 100%
  );
  opacity: 0.6;
}

/* Ambient Glow */
.main-footer::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, 
    rgba(0, 150, 71, 0.15) 0%, 
    transparent 60%
  );
  pointer-events: none;
}

.main-footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s var(--ease-out-expo);
}

.main-footer a:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Footer Logo */
.footer-logo {
  height: clamp(40px, 5vw, 56px);
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: all 0.3s var(--ease-out-expo);
}

.main-footer a:hover .footer-logo {
  opacity: 1;
  transform: scale(1.05);
}

/* Footer Tagline */
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 28ch;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all 0.3s var(--ease-out-expo);
}

.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--primary-glow);
}

.footer-social a:hover i {
  transform: scale(1.1);
}

/* Footer Columns */
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 168, 83, 0.3), transparent);
}

/* Footer Navigation */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-list a {
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding-left: 0;
  transition: all 0.3s var(--ease-out-expo);
}

.footer-nav-list a::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease-out-expo);
  color: var(--primary-light);
}

.footer-nav-list a:hover {
  color: #fff;
  padding-left: 1.25rem;
}

.footer-nav-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Legal Links */
.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  position: relative;
}

.footer-legal-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-light);
  transition: width 0.3s var(--ease-out-expo);
}

.footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: none;
}

.footer-legal-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   18. MOBILE BOTTOM NAV - PREMIUM
   ========================================================================== */

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  background: rgba(10, 22, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.bottom-nav-item i {
  font-size: 1.25rem;
  transition: transform 0.3s var(--ease-spring);
}

.bottom-nav-item.active {
  color: var(--primary-light);
}

.bottom-nav-item.active i {
  transform: scale(1.15);
}

.bottom-nav-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.bottom-nav-item:hover i {
  transform: scale(1.1);
}

/* ==========================================================================
   19. SOCIAL FIXED SIDEBAR - PREMIUM
   ========================================================================== */

.social-fixed {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: var(--z-fixed);
}

.social-fixed a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px; /* Touch target minimum */
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  transition: all var(--duration-normal) var(--ease-out-expo);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-fixed a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateX(4px) scale(1.05);
  box-shadow: 0 8px 25px var(--primary-glow);
}

/* Accessibility: visible focus state */
.social-fixed a:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

@media (max-width: 992px) {
  .social-fixed {
    display: none;
  }
}

/* ==========================================================================
   20. RESPONSIVE DESIGN - MOBILE FIRST
   ========================================================================== */

/* === Mobile First Breakpoints === */
/* Following systematic breakpoint scale */

@media (min-width: 576px) {
  /* Small devices (landscape phones) */
}

@media (min-width: 768px) {
  /* Medium devices (tablets) */
}

@media (min-width: 992px) {
  /* Large devices (desktops) */
}

@media (min-width: 1200px) {
  /* Extra large devices (large desktops) */
}

@media (min-width: 1400px) {
  /* XXL devices */
}

/* === Mobile Styles (Base) === */
@media (max-width: 767.98px) {
  /* Typography adjustments for mobile */
  h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
  h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
  
  /* Touch-friendly spacing */
  .btn {
    width: 100%;
    margin-bottom: var(--space-2);
  }
  
  /* Card adjustments */
  .team-card,
  .news-card,
  .spieler-card {
    margin-bottom: var(--space-4);
  }
  
  /* Hero adjustments */
  .site-hero {
    min-height: 60vh;
  }
  
  /* Countdown adjustments */
  .cdw-countdown {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .cdw-countdown__sep {
    display: none;
  }
  
  /* Footer mobile */
  .main-footer {
    padding: var(--space-8) 0 var(--space-16);
  }
}

/* === Large Screen Enhancements === */
@media (min-width: 768px) {
  .btn {
    width: auto;
    margin-bottom: 0;
  }
  
  .team-card,
  .news-card {
    height: 100%;
  }
}

/* === Touch Device Optimizations === */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .btn:hover,
  .team-card:hover,
  .news-card:hover,
  .spieler-card:hover {
    transform: none;
  }
  
  /* Add active states instead */
  .btn:active,
  .team-card:active,
  .news-card:active,
  .spieler-card:active {
    transform: scale(0.98);
  }
}

/* === Reduced Motion (already defined above, reinforced here) === */
@media (prefers-reduced-motion: reduce) {
  .btn:active,
  .team-card:active,
  .news-card:active,
  .spieler-card:active {
    transform: none;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 3rem 0 5rem; /* Extra Padding für Bottom Nav */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-tagline {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .team-card__actions {
    flex-direction: column;
  }
  
  .share-buttons {
    flex-direction: column;
  }
  
  .share-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   18. PREMIUM MATCH DETAIL (spiel_detail.php)
   ========================================================================== */

/* Root Container */
.sd-root {
  --sd-glow: var(--primary-glow);
  --sd-surface: var(--dark-card);
  --sd-surface-elevated: var(--dark-surface);
  --sd-border: rgba(255, 255, 255, 0.08);
  font-family: inherit;
  color: #fff;
}

/* Hero Card */
.sd-hero {
  position: relative;
  padding: 1.5rem;
  background: var(--sd-surface);
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

/* Dynamic Accent based on competition */
.sd-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ma, var(--primary)), var(--accent));
}

.sd-hero-glow {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse, var(--sd-glow) 0%, transparent 60%);
  opacity: 0.3;
  pointer-events: none;
}

.sd-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* Status Badge */
.sd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sd-status-pill.is-live {
  background: rgba(232, 90, 79, 0.2);
  color: var(--coral-light);
  border: 1px solid rgba(232, 90, 79, 0.4);
}

.sd-status-pill.is-finished {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sd-status-pill.is-upcoming {
  background: rgba(0, 150, 71, 0.15);
  color: var(--primary-light);
  border: 1px solid rgba(0, 150, 71, 0.3);
}

.sd-status-dot {
  width: 8px;
  height: 8px;
  background: var(--coral);
  border-radius: 50%;
  animation: sdPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--coral);
  will-change: transform, opacity;
}

.sd-status-dot--sm {
  width: 6px;
  height: 6px;
}

@keyframes sdPulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  50% { transform: translate3d(0, 0, 0) scale(1.3); opacity: 0.7; }
}

/* Back Button */
.sd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out-expo);
}

.sd-back-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-4px);
}

.sd-back-btn i {
  transition: transform 0.25s var(--ease-out-expo);
}

.sd-back-btn:hover i {
  transform: translateX(-2px);
}

/* Competition Row */
.sd-competition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.sd-comp-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.sd-comp-label i {
  color: var(--ma, var(--primary));
}

/* Scoreboard */
.sd-scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 3rem);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.sd-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  max-width: 160px;
}

.sd-crest-wrap {
  position: relative;
  padding: 0.5rem;
}

.sd-crest {
  width: clamp(50px, 15vw, 80px);
  height: clamp(50px, 15vw, 80px);
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s var(--ease-spring);
}

.sd-team:hover .sd-crust {
  transform: scale(1.08) rotate(3deg);
}

.sd-team__name {
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sd-team__role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* Score Center */
.sd-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sd-score-caption {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.sd-score-value {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sd-score-n {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sd-score-n--animate {
  animation: sdScoreReveal 0.6s var(--ease-out-expo);
  will-change: transform, opacity;
}

@keyframes sdScoreReveal {
  0% { transform: translate3d(0, 0, 0) scale(0.5); opacity: 0; }
  50% { transform: translate3d(0, 0, 0) scale(1.1); }
  100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}

.sd-score-sep {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
}

.sd-score-vs {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.sd-score-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  margin: 0;
}

.sd-score-sub--live {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--coral-light);
}

/* Meta Row */
.sd-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.sd-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.sd-meta-chip--accent {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.sd-meta-chip i {
  color: var(--ma, var(--primary));
}

/* Info Card */
.sd-card {
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.sd-card--info {
  border-top: 3px solid var(--ma, var(--primary));
}

.sd-card--live {
  border: 1px solid rgba(232, 90, 79, 0.4);
  box-shadow: 0 0 30px rgba(232, 90, 79, 0.15);
}

.sd-card--muted {
  opacity: 0.7;
}

.sd-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sd-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.sd-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

.sd-card-icon--info { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.sd-card-icon--goal { background: rgba(0, 150, 71, 0.2); color: var(--primary-light); }
.sd-card-icon--photo { background: rgba(212, 168, 83, 0.2); color: var(--accent); }

.sd-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* Info DL */
.sd-info-dl {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}

.sd-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sd-info-row:last-child {
  border-bottom: none;
}

.sd-info-row dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.sd-info-row dt i {
  color: var(--ma, var(--primary));
}

.sd-info-row dd {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

/* Scoreline */
.sd-scoreline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.sd-scoreline-team {
  flex: 1;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-scoreline-team--right {
  text-align: right;
}

.sd-scoreline-result {
  font-weight: 900;
  color: var(--accent);
  font-size: 1rem;
}

/* Timeline */
.sd-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: timeline-counter;
}

.sd-tl-item {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  padding: 0.75rem 0;
  animation: sdTlFade 0.4s var(--ease-out-expo) calc(var(--i, 0) * 0.1s) both;
  will-change: transform, opacity;
}

@keyframes sdTlFade {
  from { opacity: 0; transform: translate3d(-10px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.sd-tl-min-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
}

.sd-tl-min {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(212, 168, 83, 0.15);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent);
}

.sd-tl-line-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.sd-tl-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--dark-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 0.6rem;
  color: var(--accent);
  z-index: 1;
}

.sd-tl-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(212, 168, 83, 0.2));
  margin-top: 4px;
}

.sd-tl-item:last-child .sd-tl-line {
  display: none;
}

.sd-tl-body-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
  padding-bottom: 0.5rem;
}

.sd-tl-scorer {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.sd-tl-assist {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.sd-tl-assist i {
  color: rgba(255, 255, 255, 0.3);
}

/* Empty Message */
.sd-empty-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Live/Upcoming Info */
.sd-live-info,
.sd-upcoming-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.5rem 0;
}

.sd-live-info .sd-status-dot {
  margin-top: 0.35rem;
}

.sd-upcoming-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 150, 71, 0.15);
  border-radius: 50%;
  color: var(--primary-light);
  font-size: 1rem;
  flex-shrink: 0;
}

.sd-live-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.sd-live-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* Photo Grid */
.sd-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 0.75rem;
}

.sd-photo-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.sd-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}

.sd-photo-item:hover img {
  transform: scale(1.1);
}

.sd-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.sd-photo-overlay--count {
  background: rgba(0, 0, 0, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 1;
}

.sd-photo-item:hover .sd-photo-overlay:not(.sd-photo-overlay--count) {
  opacity: 1;
}

/* ==========================================================================
   19. PREMIUM NEWS DETAIL (news_detail.php)
   ========================================================================== */

.article-page {
  --article-max-width: 900px;
}

.article-hero {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.article-hero img {
  width: 100%;
  height: clamp(250px, 40vw, 400px);
  object-fit: cover;
  border-radius: 1.5rem;
}

/* Article Container */
.article-container {
  max-width: var(--article-max-width);
  margin: 0 auto;
  padding: 2rem;
  background: var(--surface-elevated);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.article-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 0 0 4px 4px;
}

/* Article Header */
.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--surface-muted);
}

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--gradient-primary);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.article-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta-item i {
  color: var(--primary);
}

/* Article Content */
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3 {
  font-weight: 800;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}

.article-content h2 {
  font-size: 1.5rem;
}

.article-content h3 {
  font-size: 1.25rem;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(0, 150, 71, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.article-content a:hover {
  color: var(--primary-dark);
  text-decoration-color: var(--primary);
}

.article-content blockquote {
  position: relative;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--surface-muted);
  border-left: 4px solid var(--primary);
  border-radius: 0 1rem 1rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content blockquote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.75rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  margin: 1.5rem 0;
}

/* Article Share */
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-muted);
}

.article-share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Back Link */
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--surface-muted);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s var(--ease-out-expo);
  margin-bottom: 1.5rem;
}

.article-back:hover {
  background: var(--primary);
  color: #fff;
  transform: translateX(-4px);
}

/* ==========================================================================
   20. PREMIUM ARCHIV & HALL OF FAME
   ========================================================================== */

/* Timeline */
.history {
  padding: 1rem 0;
}

.history-timeline {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: timeline-counter;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  transform: translateX(-50%);
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.history-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.history-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.history-dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border: 4px solid var(--surface-elevated);
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.history-year {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.history-card {
  flex: 2;
  padding: 1.25rem 1.5rem;
  background: var(--surface-elevated);
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: all 0.3s var(--ease-out-expo);
}

.history-card::before {
  content: '';
  position: absolute;
  top: 1rem;
  width: 12px;
  height: 12px;
  background: var(--surface-elevated);
  transform: rotate(45deg);
}

.history-item:nth-child(odd) .history-card::before {
  right: -6px;
}

.history-item:nth-child(even) .history-card::before {
  left: -6px;
}

.history-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.history-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin: 0;
}

/* Hall of Fame */
.hof-section {
  padding: 2rem 0;
}

.hof-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: var(--gradient-dark);
  border-radius: 1rem;
}

.vote-summary {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.vote-summary span {
  color: var(--accent);
  font-size: 1.5rem;
}

.vote-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
}

/* Candidate Cards */
.voting-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.candidate-card {
  background: var(--surface-elevated);
  border-radius: 1.25rem;
  padding: 1.5rem;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.candidate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.candidate-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.candidate-card:hover::before {
  opacity: 1;
}

.candidate-card[aria-selected="true"] {
  border-color: var(--primary);
  background: rgba(0, 150, 71, 0.05);
}

.candidate-card[aria-selected="true"]::before {
  opacity: 1;
}

.candidate-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--surface-muted);
  transition: all 0.3s var(--ease-out-expo);
}

.candidate-card:hover img {
  transform: scale(1.05);
  border-color: var(--primary);
}

.candidate-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.candidate-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.vote-result-bar {
  position: relative;
  height: 24px;
  background: var(--surface-muted);
  border-radius: 999px;
  overflow: hidden;
}

.vote-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 999px;
  transition: width 0.6s var(--ease-out-expo);
}

.vote-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
}

/* HOF Actions */
.hof-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.submit-button {
  padding: 1rem 3rem;
  background: var(--gradient-primary);
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.submit-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Suggestion Form */
.suggestion-form-container {
  max-width: 500px;
  margin: 0 auto;
}

.suggestion-form-container .form-group {
  margin-bottom: 1.5rem;
}

.suggestion-form-container label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.suggestion-form-container input,
.suggestion-form-container textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--surface);
  border: 2px solid var(--surface-muted);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.25s var(--ease-out-expo);
}

.suggestion-form-container input:focus,
.suggestion-form-container textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* ==========================================================================
   21. PREMIUM GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.gallery-item {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-muted);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 18, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  color: #fff;
}

.gallery-info h4 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}

.gallery-info p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin: 0;
}

.gallery-zoom {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s var(--ease-out-expo);
}

.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   22. PREMIUM SPONSORING
   ========================================================================== */

.sponsor-tier {
  margin-bottom: 3rem;
}

.sponsor-tier-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.sponsor-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: var(--gradient-accent);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface-elevated);
  border-radius: 1rem;
  border: 1px solid var(--surface-muted);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.sponsor-logo {
  width: 100%;
  max-width: 120px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.sponsor-card:hover .sponsor-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.sponsor-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.25rem;
}

.sponsor-type {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Become a Sponsor CTA */
.sponsor-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gradient-dark);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.sponsor-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 60%);
  opacity: 0.3;
}

.sponsor-cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.sponsor-cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* ==========================================================================
   23. PREMIUM VORSTAND (BOARD)
   ========================================================================== */

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.board-card {
  background: var(--surface-elevated);
  border-radius: 1.25rem;
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--surface-muted);
  transition: all 0.3s var(--ease-out-expo);
}

.board-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.board-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid var(--surface-muted);
  transition: all 0.3s var(--ease-out-expo);
}

.board-card:hover .board-avatar {
  border-color: var(--primary);
  transform: scale(1.05);
}

.board-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.board-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.board-contact {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.board-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--surface-muted);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-out-expo);
}

.board-contact a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ==========================================================================
   24. PREMIUM CONTACT FORM
   ========================================================================== */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  padding: 2rem;
  background: var(--gradient-dark);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--primary-glow) 0%, transparent 50%);
  opacity: 0.3;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: var(--primary-light);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--primary-light);
}

/* Mobile Responsive for New Components */
@media (max-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .history-item {
    flex-direction: column !important;
    text-align: left !important;
    padding-left: 3rem;
  }
  
  .history-timeline::before {
    left: 0.75rem;
  }
  
  .history-dot {
    left: 0.75rem;
  }
  
  .voting-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .sd-scoreboard {
    flex-direction: column;
    gap: 1rem;
  }
  
  .sd-team {
    flex-direction: row;
    max-width: 100%;
    gap: 1rem;
  }
  
  .sd-score-center {
    order: -1;
    margin-bottom: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .site-hero__picture img,
  .site-hero__bg-img {
    animation: none;
  }
  
  .cdw-live-pulse,
  .livePulse,
  .sd-status-dot,
  .sd-live-pulse {
    animation: none;
  }
  
  /* Gallery Lightbox */
  .gallery-lightbox__image {
    transform: none;
  }
  
  /* Scroll Reveal */
  .scroll-reveal {
    opacity: 1;
    transform: none;
  }
  
  /* Counter Animation */
  .cdw-unit__value.flip {
    animation: none;
  }
  
  /* Card Tilt */
  .spieler-card,
  .board-card,
  .candidate-card {
    transform: none !important;
  }
  
  /* Image Zoom */
  .news-card-media,
  .gallery-item img,
  .sd-photo-item img {
    transform: none !important;
  }
  
  /* Hero Parallax */
  .site-hero__inner {
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Reading Progress */
  .reading-progress__bar {
    transition: none;
  }
}

/* ==========================================================================
   EXTRA LARGE SCREENS (1920px+)
   ========================================================================== */

@media (min-width: 1920px) {
  :root {
    --space-16: 5rem;
    --space-20: 6rem;
  }
  
  .site-hero__title {
    font-size: 4.5rem;
  }
  
  .article-container {
    max-width: 1000px;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .main-header,
  .social-fixed,
  .bottom-nav,
  .footer-social,
  .article-share,
  .gallery-overlay,
  .gallery-zoom,
  .reading-progress {
    display: none !important;
  }
  
  .site-hero {
    min-height: auto;
    background: #fff;
    color: #000;
  }
  
  .site-hero__overlay {
    display: none;
  }
  
  .article-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
  
  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */

@media (prefers-contrast: high) {
  :root {
    --primary: #006633;
    --text-primary: #000000;
    --text-secondary: #333333;
    --surface-muted: #e0e0e0;
    --shadow-sm: 0 2px 4px #000;
    --shadow-md: 0 4px 12px #000;
    --shadow-lg: 0 8px 24px #000;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .news-card,
  .spieler-card,
  .board-card,
  .candidate-card {
    border: 2px solid #000;
  }
  
  a {
    text-decoration: underline;
  }
}
