/* ==========================================================================
   TC GARSTEDT e.V. - Modernes Webseiten-Konzept (Redesign 2026)
   Farbschema basierend auf www.tcgarstedt.de (#990000 / #ac0019)
   ========================================================================== */

:root {
  --tcg-red: #990000;
  --tcg-red-bright: #ac0019;
  --tcg-red-dark: #6e0000;
  --tcg-red-soft: rgba(153, 0, 0, 0.08);
  --tcg-red-border: rgba(153, 0, 0, 0.2);
  --tcg-clay: #c85a32;
  --tcg-green: #16794b;
  --tcg-green-soft: rgba(22, 121, 75, 0.1);
  --tcg-blue: #1d5fa7;
  --tcg-blue-soft: rgba(29, 95, 167, 0.1);
  --tcg-amber: #b45309;
  --tcg-amber-soft: rgba(245, 158, 11, 0.14);

  --bg-page: #f6f7f9;
  --bg-surface: #ffffff;
  --bg-subtle: #f0f2f5;
  --bg-dark: #16181d;

  --text-main: #181a20;
  --text-secondary: #4a5060;
  --text-muted: #767d8e;

  --border-light: #e4e7ee;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container-width: 1320px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: var(--tcg-red);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--tcg-red-dark);
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--tcg-red-dark) 0%, var(--tcg-red) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.92);
}

.top-bar-item a {
  color: #ffffff;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-bar-link {
  color: #ffffff;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.top-bar-link:hover {
  background: #ffffff;
  color: var(--tcg-red);
}

.top-bar-link.highlight {
  background: #ffffff;
  color: var(--tcg-red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.top-bar-link.highlight:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.15rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--tcg-red);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.44rem 0.6rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--tcg-red);
  background: var(--tcg-red-soft);
}

.nav-cta {
  background: var(--tcg-red);
  color: #ffffff !important;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0.35rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(153, 0, 0, 0.25);
}

.nav-cta:hover {
  background: var(--tcg-red-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  color: var(--tcg-red);
  cursor: pointer;
}

/* ==========================================================================
   NEWS TICKER BANNER
   ========================================================================== */
.news-ticker-bar {
  background: #fff8f6;
  border-bottom: 1px solid rgba(153, 0, 0, 0.15);
  padding: 0.6rem 0;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ticker-badge {
  background: var(--tcg-red);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.ticker-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  flex: 1;
}

.ticker-text a {
  text-decoration: underline;
  margin-left: 0.4rem;
}

/* ==========================================================================
   HERO SLIDER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #1a1d24;
  overflow: hidden;
  color: #ffffff;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(18, 20, 26, 0.88) 0%,
    rgba(18, 20, 26, 0.68) 52%,
    rgba(153, 0, 0, 0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 4rem 0;
  width: 100%;
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.hero-title span {
  color: #ff6b6b;
}

.hero-lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8rem 1.45rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--tcg-red);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(153, 0, 0, 0.35);
}

.btn-primary:hover {
  background: var(--tcg-red-bright);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: #ffffff;
  color: var(--tcg-red);
}

.btn-outline {
  background: transparent;
  color: var(--tcg-red);
  border: 1.5px solid var(--tcg-red);
}

.btn-outline:hover {
  background: var(--tcg-red);
  color: #ffffff;
}

.hero-stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.hero-stats-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stats-header img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 14px;
  padding: 0.35rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat-item {
  background: rgba(0, 0, 0, 0.28);
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 28px;
  background: #ffffff;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-surface);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-kicker {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tcg-red);
  background: var(--tcg-red-soft);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
  max-width: 680px;
  margin-top: 0.35rem;
}

/* ==========================================================================
   NULIGA 2-WOCHEN MATCHCENTER (NEUE KERNFUNKTION)
   ========================================================================== */
.nuliga-section {
  position: relative;
  margin-top: -2rem;
  z-index: 10;
  padding-bottom: 4rem;
}

.nuliga-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.nuliga-topbar {
  background: linear-gradient(135deg, #1b1e26 0%, #2a1215 60%, var(--tcg-red) 100%);
  color: #ffffff;
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nuliga-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nuliga-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffd6d6;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.nuliga-topbar h2 {
  color: #ffffff;
  font-size: 1.65rem;
}

.nuliga-topbar p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.nuliga-sync-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sync-status-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  text-align: right;
}

.btn-sync {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.btn-sync:hover {
  background: #ffffff;
  color: var(--tcg-red);
}

.btn-sync.loading svg {
  animation: spin 1s linear infinite;
}

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

/* 2-Wochen-Steuerung & Filterleiste */
.nuliga-controls {
  background: var(--bg-subtle);
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.window-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.window-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-step:hover {
  border-color: var(--tcg-red);
  color: var(--tcg-red);
  background: #fffafa;
}

.btn-step.active-preset {
  background: var(--tcg-red);
  color: #ffffff;
  border-color: var(--tcg-red);
}

.current-window-pill {
  background: var(--bg-surface);
  border: 1.5px solid var(--tcg-red-border);
  padding: 0.48rem 1.1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--tcg-red);
}

.date-picker-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.date-input {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.85rem;
  background: var(--bg-surface);
  color: var(--text-main);
}

.filter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pill-tabs {
  display: inline-flex;
  background: #e4e7ee;
  padding: 0.22rem;
  border-radius: var(--radius-sm);
  gap: 0.2rem;
}

.pill-tab {
  border: none;
  background: transparent;
  padding: 0.42rem 0.9rem;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-tab.active {
  background: var(--bg-surface);
  color: var(--tcg-red);
  box-shadow: var(--shadow-sm);
}

.filter-inputs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.select-control,
.search-control {
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--text-main);
}

.search-control {
  min-width: 210px;
}

/* Summary KPI Bar inside Matchcenter */
.nuliga-summary-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  background: #fffdfb;
  border-bottom: 1px solid var(--border-light);
}

.summary-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.summary-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.summary-chip.home {
  background: var(--tcg-green-soft);
  color: var(--tcg-green);
}

.summary-chip.away {
  background: var(--tcg-blue-soft);
  color: var(--tcg-blue);
}

/* Match List / Cards */
.nuliga-body {
  padding: 1.5rem 2rem 2rem;
}

.match-day-group {
  margin-bottom: 1.5rem;
}

.match-day-group:last-child {
  margin-bottom: 0;
}

.match-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.9rem;
  background: var(--bg-subtle);
  border-left: 4px solid var(--tcg-red);
  border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  margin-bottom: 0.75rem;
}

.match-day-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.match-day-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.matches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.match-row-card {
  display: grid;
  grid-template-columns: 110px 150px 1fr 180px 150px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.match-row-card:hover {
  border-color: var(--tcg-red-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.match-row-card.is-home {
  border-left: 4px solid var(--tcg-green);
}

.match-row-card.is-away {
  border-left: 4px solid var(--tcg-blue);
}

.match-time-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.match-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
}

.match-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.match-badge.home {
  background: var(--tcg-green-soft);
  color: var(--tcg-green);
}

.match-badge.away {
  background: var(--tcg-blue-soft);
  color: var(--tcg-blue);
}

.match-team-col {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.match-tcg-team {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--tcg-red);
}

.match-league {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.match-versus-col {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.club-pill {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.club-pill.tcg-highlight {
  background: var(--tcg-red-soft);
  color: var(--tcg-red);
  font-weight: 700;
}

.vs-divider {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.match-venue-col {
  font-size: 0.83rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.match-note {
  font-size: 0.75rem;
  color: var(--tcg-amber);
  background: var(--tcg-amber-soft);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  width: fit-content;
}

.match-score-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.score-pill {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-main);
}

.score-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.match-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.match-action-link {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.match-action-link:hover {
  background: var(--tcg-red);
  color: #ffffff;
}

.empty-window-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-light);
}

.empty-window-box h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.empty-window-box p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

/* ==========================================================================
   AKTUELLES & WETTER / GASTRO GRID
   ========================================================================== */
.news-sidebar-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 2rem;
}

.card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.news-thumb {
  height: 100%;
  min-height: 180px;
  background-size: cover;
  background-position: center;
}

.news-body {
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.news-tag {
  background: var(--tcg-red-soft);
  color: var(--tcg-red);
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}

.news-body h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.news-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.widget-card {
  padding: 1.5rem;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--tcg-red-soft);
}

.widget-header h4 {
  font-size: 1.1rem;
  color: var(--tcg-red);
}

.weather-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.weather-temp {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
}

/* ==========================================================================
   MANNSCHAFTEN SECTION (LIVE AUS NULIGA)
   ========================================================================== */
.teams-filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.15rem;
}

.team-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--tcg-red);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.team-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.team-card h4 {
  font-size: 1.08rem;
  color: var(--text-main);
}

.team-season-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.team-meta-list {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.team-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   VEREIN, JUGEND, TRAINER & VORSTAND
   ========================================================================== */
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.feature-box-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.feature-box-content {
  padding: 1.5rem;
}

.feature-box-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-box-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

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

.person-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--tcg-red);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.person-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--tcg-red-soft);
}

.person-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tcg-red);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   MITGLIED WERDEN & BEITRÄGE
   ========================================================================== */
.membership-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
  background: var(--bg-subtle);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pricing-table td:last-child {
  font-weight: 700;
  color: var(--tcg-red);
  text-align: right;
}

/* ==========================================================================
   SPONSOREN & FOOTER
   ========================================================================== */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.sponsor-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sponsor-tile:hover {
  border-color: var(--tcg-red-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.sponsor-tile img {
  max-height: 70px;
  max-width: 140px;
  object-fit: contain;
}

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   FORM UTILITIES & RESPONSIVE DESIGN (TABLET & SMARTPHONE)
   ========================================================================== */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.35rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    gap: 0.35rem;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }

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

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.96rem;
    border-bottom: 1px solid var(--bg-subtle);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.8rem 1.1rem;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }

  .hero-grid,
  .news-sidebar-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .match-row-card {
    grid-template-columns: 110px 140px 1fr;
    gap: 0.75rem;
  }

  .match-venue-col,
  .match-score-col {
    grid-column: span 3;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-light);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Kompakte Top-Bar auf Smartphones */
  .top-bar {
    padding: 0.45rem 0;
    font-size: 0.78rem;
  }

  .top-bar-left .top-bar-item:nth-child(3),
  .top-bar-left .top-bar-item:nth-child(4) {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .top-bar-link {
    font-size: 0.76rem;
    padding: 0.3rem 0.65rem;
  }

  /* Hero auf Mobilgeräten */
  .hero-section {
    min-height: auto;
  }

  .hero-content {
    padding: 2.5rem 0 3.25rem;
  }

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

  .hero-lead {
    font-size: 0.96rem;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-card {
    display: none;
  }

  /* Section Abstände */
  .section {
    padding: 3rem 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* nuLiga Matchcenter auf Smartphones */
  .hide-on-mobile {
    display: none !important;
  }

  .nuliga-section {
    margin-top: -1rem;
    padding-bottom: 2.5rem;
  }

  .nuliga-controls,
  .nuliga-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .nuliga-topbar {
    padding: 0.85rem 1rem;
    gap: 0.5rem;
  }

  .nuliga-title-wrap {
    gap: 0.2rem;
  }

  .nuliga-live-badge {
    font-size: 0.65rem;
    gap: 0.35rem;
  }

  .pulse-dot {
    width: 7px;
    height: 7px;
  }

  .nuliga-topbar h2 {
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .nuliga-topbar p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .nuliga-sync-controls {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .sync-status-text {
    text-align: left;
    font-size: 0.68rem;
  }

  .btn-sync {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  .window-nav-row {
    flex-direction: column;
    align-items: stretch;
  }

  .window-stepper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  #btn-window-prev,
  #btn-window-next {
    display: none !important;
  }

  .current-window-pill {
    grid-column: span 2;
    order: -1;
    justify-content: center;
    text-align: center;
    font-size: 0.86rem;
    padding: 0.5rem 0.75rem;
  }

  .btn-step {
    justify-content: center;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    min-height: 40px;
  }

  .date-picker-group,
  .nuliga-summary-strip,
  .summary-badges,
  #wp-section-kicker,
  #wp-sync-status,
  #wp-events-subtitle {
    display: none !important;
  }

  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .pill-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
  }

  .pill-tab {
    flex: 1;
    text-align: center;
    white-space: nowrap;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }

  .filter-inputs {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .select-control,
  .search-control {
    width: 100%;
    min-height: 42px;
    font-size: 0.92rem;
  }

  /* Match-Karten im Smartphone-App-Layout */
  .match-row-card {
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
  }

  .match-time-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--bg-subtle);
  }

  .match-team-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .match-versus-col {
    background: var(--bg-subtle);
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    justify-content: space-between;
  }

  .club-pill {
    font-size: 0.88rem;
    padding: 0.15rem 0.4rem;
  }

  .match-venue-col,
  .match-score-col {
    grid-column: span 1;
    border-top: none;
    padding-top: 0;
  }

  .match-venue-col {
    flex-direction: column;
    align-items: flex-start;
  }

  .match-score-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 0.55rem;
    border-top: 1px dashed var(--border-light);
    width: 100%;
  }

  /* Weitere Sektionen mobil */
  .news-card,
  .feature-cards-grid,
  .footer-grid,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .news-thumb {
    min-height: 190px;
  }

  .news-body {
    padding: 1.15rem;
  }

  .widget-card {
    padding: 1.15rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.65rem 0.5rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 420px) {
  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
  }

  .match-versus-col {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* ==========================================================================
   BEITRAGS- & INFO-MODAL (AKTUELLES / BOOKANDPLAY FAQ / IMPRESSUM)
   ========================================================================== */
.news-readmore-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--tcg-red);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.news-readmore-btn:hover {
  color: var(--tcg-red-dark);
  text-decoration: underline;
}

.tcg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.tcg-modal-backdrop.open {
  display: flex;
}

.tcg-modal-dialog {
  background: var(--bg-surface);
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-light);
  animation: modalFadeIn 0.2s ease-out;
}

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

.tcg-modal-header {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--bg-subtle);
}

.tcg-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.tcg-modal-close:hover {
  background: var(--tcg-red);
  color: #ffffff;
  border-color: var(--tcg-red);
}

.tcg-modal-body {
  padding: 1.75rem 1.75rem;
  overflow-y: auto;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.tcg-modal-body h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.tcg-modal-body h3 {
  font-size: 1.12rem;
  margin: 1.35rem 0 0.5rem;
  color: var(--tcg-red);
}

.tcg-modal-body p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.tcg-modal-body .faq-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--tcg-red);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 0.9rem;
}

.tcg-modal-body .faq-box h4 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.tcg-modal-body .faq-box p,
.tcg-modal-body .faq-box ol {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.tcg-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .tcg-modal-backdrop {
    padding: 0.65rem;
  }

  .tcg-modal-dialog {
    max-height: 92vh;
  }

  .tcg-modal-header,
  .tcg-modal-footer {
    padding: 0.9rem 1.1rem;
  }

  .tcg-modal-body {
    padding: 1.2rem 1.1rem;
    font-size: 0.92rem;
  }

  .tcg-modal-body h2 {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   WORDPRESS VERANSTALTUNGEN & TERMINE (TRIBE EVENTS / SIMEVEMA)
   ========================================================================== */
.wp-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
}

.wp-event-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.wp-event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--tcg-red);
}

.wp-event-date-box {
  min-width: 68px;
  background: linear-gradient(135deg, var(--tcg-red), var(--tcg-red-dark));
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(153, 0, 0, 0.2);
}

.wp-event-date-box.past-event {
  background: var(--bg-dark-2);
  box-shadow: none;
}

.wp-event-day {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
}

.wp-event-month {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.1rem;
}

.wp-event-year {
  font-size: 0.66rem;
  opacity: 0.85;
}

.wp-event-body {
  flex: 1;
  min-width: 0;
}

.wp-event-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.wp-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.45rem;
}

.wp-event-cost {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  background: var(--tcg-red-soft);
  color: var(--tcg-red);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.74rem;
}

@media (max-width: 768px) {
  .wp-events-grid {
    grid-template-columns: 1fr;
  }
}



