/* ============================================================
   FC EGGLKOFEN 1947 e.V. - Offizielle Website Stylesheet
   Modern, responsive, ultra-fast & mobile-optimiert
   Vereinsfarben: Schwarz (#111827) & Gelb (#F59E0B / #FFD000)
   ============================================================ */

:root {
  --primary-yellow: #FFC700;
  --primary-yellow-hover: #E5B200;
  --primary-yellow-light: rgba(255, 199, 0, 0.12);
  --primary-yellow-glow: rgba(255, 199, 0, 0.35);

  --bg-dark: #0D1117;
  --bg-darker: #06090E;
  --bg-card: #161B22;
  --bg-card-hover: #1C2128;
  --border-color: #30363D;
  --border-color-light: #484F58;

  --text-main: #F0F6FC;
  --text-muted: #8B949E;
  --text-muted-light: #C9D1D9;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Montserrat', 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(255, 199, 0, 0.25);

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.text-yellow {
  color: var(--primary-yellow) !important;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-yellow);
  background: var(--primary-yellow-light);
  border: 1px solid rgba(255, 199, 0, 0.25);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted-light);
  max-width: 680px;
  margin-bottom: 36px;
}

.section-header-center {
  text-align: center;
}
.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Topbar */
.topbar {
  background: var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 8px 0;
  color: var(--text-muted);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topbar-info a:hover {
  color: var(--primary-yellow);
}
.topbar-badge {
  color: var(--primary-yellow);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo {
  height: 54px;
  width: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #FFFFFF;
}
.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-yellow);
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
}
.nav-link.active {
  color: var(--primary-yellow);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted-light);
  border-radius: var(--radius-sm);
}
.dropdown-item:hover {
  background: var(--primary-yellow-light);
  color: var(--primary-yellow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--primary-yellow);
  color: #000000;
  box-shadow: 0 4px 14px rgba(255, 199, 0, 0.35);
}
.btn-primary:hover {
  background: var(--primary-yellow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 199, 0, 0.45);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}
.btn-outline-yellow {
  background: transparent;
  color: var(--primary-yellow);
  border: 2px solid var(--primary-yellow);
}
.btn-outline-yellow:hover {
  background: var(--primary-yellow);
  color: #000000;
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.75) 0%, rgba(13, 17, 23, 0.95) 100%),
              url('../assets/Banner_final-scaled.png') center/cover no-repeat;
  padding: 80px 0;
  border-bottom: 2px solid var(--primary-yellow);
}
.hero-content {
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 199, 0, 0.15);
  color: var(--primary-yellow);
  border: 1px solid var(--primary-yellow);
  padding: 8px 18px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted-light);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 650px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Quick Facts Bar */
.quick-facts {
  margin-top: -40px;
  position: relative;
  z-index: 10;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: var(--transition);
}
.fact-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-yellow);
  box-shadow: var(--shadow-glow);
}
.fact-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-yellow);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 8px;
}
.fact-label {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Card Grids */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

/* Haupt-Layout für Abteilungs-Unterseiten (2-spaltig auf Desktop, 1-spaltig mobil) */
.dept-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  align-items: start;
}

@media (max-width: 900px) {
  .dept-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
}

/* Ausstattungs-Raster (z.B. Fitnessraum) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-muted-light);
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-yellow);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #000;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-image-wrap img {
  transform: scale(1.05);
}
.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  color: var(--primary-yellow);
  border: 1px solid var(--primary-yellow);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--text-muted-light);
}
.card-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-meta-item svg {
  color: var(--primary-yellow);
  flex-shrink: 0;
}

/* Trainingsplan Table */
.schedule-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.schedule-table th {
  background: var(--bg-darker);
  color: var(--primary-yellow);
  padding: 16px 20px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--border-color);
}
.schedule-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}
.schedule-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.schedule-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--primary-yellow-light);
  color: var(--primary-yellow);
}

/* Person / Vorstand Cards */
.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.person-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}
.person-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-yellow);
}
.person-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-yellow);
  box-shadow: var(--shadow-md);
}
.person-name {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #FFFFFF;
}
.person-role {
  font-size: 0.85rem;
  color: var(--primary-yellow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sponsoren Grid */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.sponsor-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  color: #111827;
}
.sponsor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.sponsor-logo {
  max-height: 70px;
  max-width: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}
.sponsor-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #111827;
}
.sponsor-desc {
  font-size: 0.82rem;
  color: #4B5563;
  line-height: 1.4;
}

/* Gallery & Lightbox */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.gallery-filter-btn {
  background: var(--bg-card);
  color: var(--text-muted-light);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--primary-yellow);
  color: #000000;
  border-color: var(--primary-yellow);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
  padding: 12px;
  text-align: center;
}
.gallery-overlay-title {
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
}
/* Gallery Toggle & Expand */
.gallery-toggle-wrap {
  text-align: center;
  margin-top: 36px;
}
.gallery-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-card);
  color: var(--text-color);
  border: 2px solid var(--primary-yellow);
  padding: 13px 32px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.gallery-toggle-btn:hover {
  background: var(--primary-yellow);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 199, 0, 0.35);
}
.gallery-toggle-icon {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
  display: inline-block;
}
.gallery-toggle-btn.expanded .gallery-toggle-icon {
  transform: rotate(180deg);
}

.gallery-item {
  animation: galleryFadeIn 0.35s ease-in-out;
}
@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Modal Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox-modal.active {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  object-fit: contain;
}
.lightbox-caption {
  color: var(--text-main);
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
}
.lightbox-counter {
  color: var(--primary-yellow);
  font-size: 0.85rem;
  margin-top: 4px;
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-color);
  color: #FFFFFF;
  font-size: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.lightbox-nav:hover {
  background: var(--primary-yellow);
  color: #000000;
}
.lightbox-prev {
  left: -70px;
}
.lightbox-next {
  right: -70px;
}

@media (max-width: 860px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: -40px; right: 10px; }
}
.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* Contact & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-yellow-light);
  color: var(--primary-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.contact-item-content p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted-light);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.2);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* History Timeline */
.timeline {
  position: relative;
  padding: 20px 0;
  margin-top: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: var(--border-color);
}
.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 36px;
}
.timeline-dot {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-yellow);
  border: 4px solid var(--bg-dark);
  box-shadow: 0 0 0 2px var(--border-color);
}
.timeline-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-yellow);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: var(--primary-yellow);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a:hover {
  color: var(--primary-yellow);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 48px 20px;
    display: none;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
    z-index: 10000;
  }
  .nav-link {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    font-size: 1rem;
  }
  .dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: none;
    padding: 6px;
    margin: 4px 0 10px 10px;
    min-width: 0;
    width: calc(100% - 10px);
    box-sizing: border-box;
  }
  .dropdown-item {
    padding: 9px 12px;
    font-size: 0.92rem;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links .btn {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Interaktiver Bilder-Slider / Karussell für Unterseiten
   ============================================================ */
.fce-slider {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 45px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.slider-title-wrap {
  flex: 1 1 300px;
}

.slider-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 6px;
  margin-bottom: 6px;
}

.slider-subheading {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-yellow);
  background: rgba(255, 199, 0, 0.1);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 199, 0, 0.25);
  letter-spacing: 0.5px;
}

.slider-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
  user-select: none;
  line-height: 1;
}

.slider-btn:hover {
  background: var(--primary-yellow);
  color: #000000;
  border-color: var(--primary-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 199, 0, 0.35);
}

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

.slider-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-md);
  position: relative;
  cursor: grab;
}

.slider-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slider-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .slider-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .slider-title-wrap {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  .slider-controls {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }
  .slider-slide {
    flex: 0 0 100%;
  }
  .fce-slider {
    padding: 20px 14px;
    overflow: hidden;
  }
  #bfv-live-daten {
    padding: 20px 14px !important;
  }
}

.slider-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.slider-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.slider-card-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000000;
}

.slider-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.slider-card:hover img {
  transform: scale(1.06);
}

.slider-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.slider-card:hover .slider-card-overlay {
  opacity: 1;
}

.slider-card-caption {
  padding: 12px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slider-card-caption span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-card-caption .zoom-icon {
  color: var(--primary-yellow);
  font-size: 0.85rem;
  margin-left: 8px;
  flex-shrink: 0;
}

/* Slider Pagination Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color-light);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.slider-dot:hover {
  background: var(--text-muted);
}

.slider-dot.active {
  background: var(--primary-yellow);
  width: 28px;
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(255, 199, 0, 0.45);
}

/* Mode Switcher (Slider vs Grid) */
.slider-view-toggle {
  display: inline-flex;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 3px;
  gap: 4px;
}

.slider-view-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.slider-view-btn.active {
  background: var(--primary-yellow);
  color: #000000;
}

/* Grid Mode */
.fce-slider.is-grid .slider-viewport {
  overflow: visible;
  cursor: default;
}

.fce-slider.is-grid .slider-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  transform: none !important;
}

.fce-slider.is-grid .slider-slide {
  flex: none;
  width: 100%;
}

.fce-slider.is-grid .slider-controls .slider-btn,
.fce-slider.is-grid .slider-counter,
.fce-slider.is-grid .slider-dots {
  display: none !important;
}

/* ============================================================
   Google Maps & Standort Integration
   ============================================================ */
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 30px;
}

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

.map-card-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-iframe-container {
  position: relative;
  width: 100%;
  min-height: 420px;
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-dark);
}

.map-iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 6px 4px 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 8px;
}

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

/* BFV Widget Styling */
#bfv-widget-container {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#bfv-widget-container iframe {
  width: 100% !important;
  border: none !important;
  border-radius: var(--radius-md);
}

/* ============================================================ */
/* LAUNCH COUNTDOWN EVENT SCREEN */
/* ============================================================ */
.fce-launch-screen {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: radial-gradient(circle at 50% 20%, #1a2233 0%, #0d1117 50%, #06080b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}

.fce-launch-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fce-confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.launch-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 100%;
  text-align: center;
  margin: auto;
  padding: 20px 0;
}

.launch-crest-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.launch-glow {
  position: absolute;
  inset: -15px;
  background: radial-gradient(circle, rgba(254, 204, 0, 0.45) 0%, rgba(254, 204, 0, 0) 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.9; }
}

.launch-crest {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.7));
  position: relative;
  z-index: 2;
}

.launch-tag {
  display: inline-block;
  background: rgba(254, 204, 0, 0.15);
  border: 1px solid var(--primary-yellow);
  color: var(--primary-yellow);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.launch-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.launch-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted-light);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Timer Grid */
.launch-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.timer-box {
  background: rgba(20, 26, 38, 0.85);
  border: 2px solid rgba(254, 204, 0, 0.35);
  border-radius: 16px;
  padding: 16px 14px;
  min-width: 90px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s;
}

.timer-box:hover {
  border-color: var(--primary-yellow);
}

.timer-val {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--primary-yellow);
  line-height: 1;
  letter-spacing: -1px;
}

.timer-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted-light);
  margin-top: 6px;
}

.timer-divider {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(254, 204, 0, 0.4);
  line-height: 1;
}

/* Celebrate box */
.launch-celebrate {
  margin-bottom: 30px;
  padding: 24px;
  background: rgba(254, 204, 0, 0.12);
  border: 2px solid var(--primary-yellow);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(254, 204, 0, 0.3);
  animation: pop-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pop-in {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.celebrate-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-yellow);
  margin-bottom: 16px;
  line-height: 1.3;
}

.pulse-btn {
  animation: pulse-button 2s infinite;
  font-size: 1.1rem;
  padding: 14px 28px;
}

@keyframes pulse-button {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254, 204, 0, 0.7); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 16px rgba(254, 204, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(254, 204, 0, 0); }
}

/* Teaser cards */
.launch-teasers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.launch-teaser-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}

.launch-teaser-item .teaser-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 4px;
}

.launch-teaser-item strong {
  display: block;
  font-size: 0.85rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.launch-teaser-item span {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  display: block;
}

@media (max-width: 600px) {
  .launch-teasers {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timer-box {
    min-width: 72px;
    padding: 12px 8px;
  }
  .timer-divider {
    font-size: 1.6rem;
  }
}

/* VIP Bypass Button */
.launch-footer-vip {
  margin-top: 10px;
}

.btn-vip-bypass {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-vip-bypass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

/* Floating Banner when VIP preview is active */
.launch-vip-active-bar {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 999999;
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid var(--primary-yellow);
  border-radius: 9999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  font-size: 0.82rem;
  color: #FFFFFF;
}

.launch-vip-active-bar button {
  background: var(--primary-yellow);
  border: none;
  color: #000000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 9999px;
  cursor: pointer;
}


