/* ==========================================================================
   SMC FULDA e.V. – Clean, Minimal & Elegant Theme Stylesheet
   Focused on clarity, whitespace, imagery, and calm readability.
   ========================================================================== */

:root {
  /* Color Palette: Calm, Refined, Maritime */
  --bg-page: #ffffff;
  --bg-body: #f8fafc;
  --bg-subtle: #f8fafc;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --brand-navy: #0f172a;

  --border-subtle: #f1f5f9;
  --border-default: #e2e8f0;
  --border-dark: #cbd5e1;
  --border-focus: #0284c7;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --accent-primary: #0284c7;
  --accent-primary-hover: #0369a1;
  --accent-soft: #f0f9ff;
  --accent-soft-text: #0369a1;
  --accent-amber: #d97706;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Shadows (Subtle & Soft) */
  --shadow-subtle: 0 1px 3px 0 rgb(0 0 0 / 0.04);
  --shadow-hover: 0 6px 16px 0 rgb(0 0 0 / 0.06);

  /* Transitions */
  --ease: 0.18s ease;
}

/* ==========================================================================
   Base Reset & Accessibility
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--ease);
}

a:hover {
  color: var(--accent-primary-hover);
}

/* Accessible Skip Link: Hidden offscreen until focused */
.skip-to-content {
  position: absolute;
  top: -120px;
  left: 20px;
  z-index: 9999;
  background: var(--text-main);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-to-content:focus {
  top: 16px;
  color: #ffffff;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-readable {
  max-width: 820px;
}

.container-wide {
  max-width: 1400px;
}

.main-wrapper {
  flex: 1 0 auto;
}

/* ==========================================================================
   Header & Navbar (Clean, Single-tier, Minimalist)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  max-width: 100vw;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-default);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
  min-width: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--ease);
}

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

.chevron-icon {
  opacity: 0.6;
}

/* Clean Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-surface);
  min-width: 200px;
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--ease);
  z-index: 100;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background var(--ease);
}

.dropdown-item:hover {
  background-color: var(--bg-subtle);
  color: var(--accent-primary);
}

.dropdown-divider {
  border: 0;
  border-top: 1px solid var(--border-default);
  margin: 4px 0;
}

/* Search Button */
.search-btn {
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--ease);
}

.search-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: var(--accent-soft);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 1px;
}

@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
    flex-shrink: 0;
  }
}

@media (max-width: 420px) {
  .brand-subtitle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.16);
  z-index: 2001;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, visibility 0.25s ease;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-default);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-link {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-group-header {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-top: 14px;
  margin-bottom: 4px;
}

.mobile-subnav {
  list-style: none;
  padding-left: 12px;
}

.mobile-subnav-link {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mobile-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-default);
  font-size: 0.825rem;
  color: var(--text-muted);
}

.mobile-contact-line {
  margin-bottom: 4px;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

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

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

.btn-outline {
  background-color: transparent;
  border-color: var(--border-default);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--text-muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--accent-primary);
}

.link-arrow:hover {
  gap: 7px;
  color: var(--accent-primary-hover);
}

/* ==========================================================================
   Hero Section with Imagery
   ========================================================================== */
.hero-clean-visual {
  padding: 60px 0 50px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-default);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 860px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.hero-badge-clean {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-soft);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title-clean {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-subtitle-clean {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-actions-clean {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-default);
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

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

.hero-img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-dot-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

/* ==========================================================================
   Common Section Styles
   ========================================================================== */
.section-clean {
  padding: 64px 0;
}

.bg-surface {
  background-color: var(--bg-subtle);
}

.border-top {
  border-top: 1px solid var(--border-default);
}

.border-bottom {
  border-bottom: 1px solid var(--border-default);
}

.section-head-clean {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-heading {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.section-subheading {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.section-link-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
}

/* ==========================================================================
   Pillars Grid (3 Essentials)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.pillar-item {
  display: flex;
  flex-direction: column;
}

.pillar-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

@media (max-width: 800px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ==========================================================================
   Models Grid (Clean & Calm)
   ========================================================================== */
.models-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.model-item-clean {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.model-item-clean:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.model-img-link {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background-color: #0f172a;
  overflow: hidden;
  display: block;
}

.model-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.model-item-clean:hover .model-item-img {
  transform: scale(1.03);
}

.model-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: #1e293b;
}

.model-pill-scale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.model-item-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.model-item-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 4px;
}

.model-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.model-item-name a {
  color: var(--text-main);
}

.model-item-name a:hover {
  color: var(--accent-primary);
}

.model-item-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.model-item-builder {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: auto;
  padding-top: 8px;
}

/* ==========================================================================
   Reports Grid (Clean & Minimal)
   ========================================================================== */
.reports-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.report-item-clean {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), border-color var(--ease);
}

.report-item-clean:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.report-thumb-link {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  display: block;
}

.report-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.report-item-clean:hover .report-thumb-img {
  transform: scale(1.03);
}

.report-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #1e293b;
  color: #fff;
}

.report-item-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.report-item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.report-year-pill {
  font-weight: 600;
  color: var(--accent-primary);
}

.report-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.report-item-title a {
  color: var(--text-main);
}

.report-item-title a:hover {
  color: var(--accent-primary);
}

.report-item-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

/* ==========================================================================
   Page Headers & Breadcrumbs (Clean)
   ========================================================================== */
.page-head-clean {
  padding: 40px 0 28px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border-default);
}

.breadcrumb-clean {
  font-size: 0.825rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.breadcrumb-clean a {
  color: var(--text-muted);
}

.page-title-clean {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-lead-clean {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-top: 6px;
  max-width: 680px;
}

.subtle-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.subtle-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   Year Selector & Filter Tabs
   ========================================================================== */
.year-selector-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.year-selector-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.year-selector-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.year-selector-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.year-chips-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-tabs-clean {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.filter-tab {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-default);
  color: #334155;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--ease);
}

.filter-tab:hover {
  border-color: var(--accent-primary);
  background-color: var(--accent-soft);
  color: var(--accent-primary-hover);
  transform: translateY(-1px);
}

.filter-tab.active,
.filter-tab.active:hover {
  background-color: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.search-bar-clean {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  max-width: 440px;
  margin-top: 14px;
}

.search-icon-sm {
  color: var(--text-light);
}

.search-bar-clean input {
  flex: 1;
  border: none;
  font-size: 0.9rem;
  color: var(--text-main);
  outline: none;
  background: transparent;
}

.count-pill {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

/* ==========================================================================
   Gruppe-Mitte Redesign: Full-Width Clean Modern Tables
   ========================================================================== */
.league-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-subtle);
  -webkit-overflow-scrolling: touch;
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  text-align: left;
}

.league-table th {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-default);
  border-right: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.league-table th:first-child,
.league-table th:nth-child(2) {
  text-align: left;
}

.league-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid #f1f5f9;
  color: #334155;
  text-align: center;
}

.league-table td:first-child,
.league-table td:nth-child(2) {
  text-align: left;
}

.league-table tr:last-child td {
  border-bottom: none;
}

.league-table tr:hover td {
  background-color: #f8fafc;
}

/* Category header rows (in GM 2015 / 2019) */
.league-table tr.table-cat-row th {
  background-color: #e2e8f0;
  color: var(--brand-navy);
  font-weight: 800;
  font-size: 0.875rem;
  text-align: left;
  padding: 10px 16px;
  letter-spacing: 0.05em;
  border-top: 2px solid var(--border-default);
  border-bottom: 2px solid var(--border-default);
}

/* SMC Fulda highlight row */
.league-table tr.row-fulda td {
  background-color: #f0fdf4 !important;
  font-weight: 600;
  color: #166534;
}

.league-table tr.row-fulda td:first-child {
  color: #15803d;
}

/* Detailed Cross-Tables (2013, 2014, 2015) */
.league-table-detailed {
  font-size: 0.825rem;
  min-width: 1050px;
}

.league-table-detailed th {
  padding: 8px 6px;
  font-size: 0.775rem;
}

.league-table-detailed th.th-station {
  background-color: #0f172a;
  color: #ffffff;
  border-right: 1px solid #334155;
  font-size: 0.825rem;
  letter-spacing: 0.06em;
}

.league-table-detailed th.th-total {
  background-color: #1e3a8a;
  color: #ffffff;
  font-size: 0.825rem;
}

.league-table-detailed th.th-total-sub {
  background-color: #dbeafe;
  color: #1e3a8a;
  font-weight: 800;
}

.league-table-detailed td {
  padding: 8px 6px;
  white-space: nowrap;
}

.league-table-detailed td.td-rank {
  font-weight: 700;
  text-align: center;
  width: 45px;
}

.league-table-detailed td.td-team {
  font-weight: 600;
  text-align: left;
  min-width: 140px;
}

.league-table-detailed td.td-total-fp,
.league-table-detailed td.td-total-wp {
  background-color: #eff6ff;
  color: #1e40af;
  font-weight: 700;
}

/* ==========================================================================
   Editorial Banner & Split Cards (Verein)
   ========================================================================== */
.editorial-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-default);
  background: #0f172a;
  position: relative;
}

.editorial-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.editorial-caption {
  display: block;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-top: 1px solid var(--border-default);
}

.split-cards-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 700px) {
  .split-cards-clean {
    grid-template-columns: 1fr;
  }
}

.split-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), border-color var(--ease);
}

.split-card-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.split-card-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.split-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.split-card-title a {
  color: var(--text-main);
}

.split-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

/* ==========================================================================
   Contact Clean Section
   ========================================================================== */
.contact-grid-clean {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

@media (max-width: 860px) {
  .contact-grid-clean {
    grid-template-columns: 1fr;
  }
}

.info-card-clean {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
}

.info-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.clean-meta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.clean-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-field input, .form-field textarea {
  padding: 9px 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  color: var(--text-main);
  outline: none;
  font-family: inherit;
  transition: border-color var(--ease);
}

.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent-primary);
}

.form-hint {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Anti-Spam Protected Email Link */
.protected-email-link {
  color: var(--accent-primary);
  font-weight: 500;
}
.protected-email-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Single Model / Page Layout
   ========================================================================== */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
}

.prose-clean {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.prose-clean p {
  margin-bottom: 1.25rem;
}

.prose-clean h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-clean h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  /* margin-top: 1.5rem; */
  margin-bottom: 0.5rem;
}

.prose-clean ul, .prose-clean ol {
  padding-left: 24px;
  margin-bottom: 1.25rem;
}

.prose-clean li {
  margin-bottom: 4px;
}

.specs-card-clean {
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 22px;
}

.specs-head-clean {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-default);
}

.specs-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  font-size: 0.875rem;
}

.specs-dl dt {
  color: var(--text-muted);
}

.specs-dl dd {
  color: var(--text-main);
  font-weight: 500;
  text-align: right;
}

.specs-footer-clean {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-default);
}

.gallery-clean {
  margin-top: 36px;
}

.subheading-clean {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.gallery-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 240px));
  gap: 16px;
}

.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #0f172a;
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-subtle);
}

.gallery-tile::after {
  content: "🔍";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.78);
  color: #ffffff;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--ease), transform var(--ease);
  pointer-events: none;
}

.gallery-tile:hover::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(1.03);
  transition: transform var(--ease);
}

.gallery-tile:hover .gallery-tile-img {
  transform: scale(1.04);
}

/* ==========================================================================
   Clean Officer Grid (Vorstand)
   ========================================================================== */
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.officer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.officer-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.officer-avatar {
  font-size: 2rem;
  margin-bottom: 8px;
}

.officer-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.officer-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.officer-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.highlight-banner {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent-primary);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
}

.banner-icon {
  font-size: 1.8rem;
}

.banner-text h3 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.banner-text p {
  font-size: 0.925rem;
  color: #334155;
  margin: 0;
}

/* ==========================================================================
   Clean Footer
   ========================================================================== */
.site-footer-clean {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-default);
  padding: 48px 0 32px;
  margin-top: auto;
}

.footer-clean-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .footer-clean-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-clean-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-clean-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.footer-clean-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-clean-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  margin-bottom: 12px;
}

.footer-clean-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.875rem;
}

.footer-clean-links a {
  color: var(--text-muted);
}

.footer-clean-links a:hover {
  color: var(--accent-primary);
}

.footer-legal-links {
  margin-top: 10px;
  font-size: 0.825rem;
  color: var(--text-light);
}

.footer-legal-links a {
  color: var(--text-muted);
}

.footer-clean-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-default);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Modals (Search & Lightbox)
   ========================================================================== */
.smc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.smc-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
}

.lightbox-dialog {
  position: relative;
  z-index: 2001;
  width: min(860px, 92vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 12px;
  color: #e2e8f0;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.lightbox-actions {
  display: flex;
  gap: 8px;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease);
}

.lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: min(480px, 68vh);
  padding: 20px;
  background: #0b1324;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.lightbox-stage-bg {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.35) saturate(1.2);
  transform: scale(1.1);
  opacity: 0.85;
  pointer-events: none;
  z-index: 0;
}

.lightbox-img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: min(820px, 84vw);
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  filter: contrast(1.03) saturate(1.04);
  transition: opacity 0.2s ease;
}

.lightbox-caption {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding-top: 12px;
}

/* Live Search Modal */
.smc-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 70px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s ease;
}

.smc-search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.search-container {
  position: relative;
  z-index: 1501;
  width: 100%;
  max-width: 580px;
  margin: 0 20px;
}

.search-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-default);
  overflow: hidden;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-default);
}

.search-icon {
  color: var(--text-light);
  margin-right: 10px;
}

.search-input {
  flex: 1;
  border: none;
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
}

.search-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-default);
  border-radius: 4px;
  font-size: 0.75rem;
  padding: 2px 6px;
  color: var(--text-muted);
  cursor: pointer;
}

.search-filter-pills {
  display: flex;
  gap: 6px;
  padding: 8px 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-default);
}

.filter-pill {
  padding: 3px 10px;
  background: #ffffff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-pill.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

.search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
}

.search-placeholder {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--ease);
}

.search-result-item:hover {
  background: var(--bg-subtle);
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text-main);
}

.search-result-summary {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.search-result-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: var(--accent-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Utilities */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.pt-3 { padding-top: 1rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.inline-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
