/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #0d2748;
  --navy2: #12305c;
  --navy3: #1a3a6b;
  --gold: #f5a848;
  --gold2: #ffc842;
  --gold-dim: rgba(245,168,72,0.15);
  /* Berge (Dark Mode) */
  --mtn-top: #1a3a6b;
  --mtn-bottom: #0d2748;
  --mtn-mid: rgba(13,39,72,0.6);
  --mtn-front: rgba(13,39,72,0.9);
  --white: #ffffff;
  --off-white: #e8e8f0;
  --muted: #8888aa;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}
::selection { background: var(--gold); color: var(--navy); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 8vw, 6rem); font-weight: 900; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
p { color: var(--muted); font-size: 1rem; }

.gold { color: var(--gold); }
.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 50%, #ff9d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* ===== NAVIGATION ===== */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#nav.scrolled, #nav.solid {
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--glass-border);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon { width: 42px; height: 42px; position: relative; }
.nav-logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.nav-logo-icon svg { width: 100%; height: 100%; }
/* Logo: Original (farbig) im Light Mode, helle Variante im Dark Mode */
.logo-light-only { display: none; }
.logo-dark-only  { display: block; }
html[data-theme="light"] .logo-light-only { display: block; }
html[data-theme="light"] .logo-dark-only  { display: none; }
.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--off-white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 10px 22px !important;
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  color: var(--navy) !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-size: 0.8rem !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,0.4) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  padding: 2rem 5%;
  z-index: 999;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  text-decoration: none;
  color: var(--off-white);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--glass-border);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn-primary { text-align: center; border: none; border-radius: 50px; margin-top: 0.5rem; }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,26,62,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(240,165,0,0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0a0a1f 50%, var(--navy2) 100%);
}
.hero-mountains {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  pointer-events: none;
}
.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8rem 5% 4rem;
  max-width: 1000px;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,165,0,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(240,165,0,0.6); }
  50% { opacity: 0.8; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(240,165,0,0); }
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 0.3em;
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 50%, var(--gold2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--off-white);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.85;
}
.hero-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 12px 24px;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-date-badge .date-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-date-badge .date-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.hero-date-badge .date-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.hero-date-badge .sep {
  width: 1px;
  height: 32px;
  background: var(--glass-border);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* ===== PAGE HERO (für Unterseiten) ===== */
.page-hero {
  padding: 120px 5% 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,26,62,0.6) 0%, transparent 70%),
    var(--navy);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.page-hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 1rem;
}
.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold2) 0%, #ff9d00 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(240,165,0,0.45); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--off-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold);
  transform: translateY(-3px);
}
.btn-sm { padding: 10px 20px; font-size: 0.75rem; }

/* ===== COUNTDOWN ===== */
.countdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.countdown-val {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  position: relative;
}
.countdown-val::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.countdown-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.countdown-sep {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  align-self: flex-start;
  padding-top: 4px;
  opacity: 0.6;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
}
.hero-scroll svg { opacity: 0.5; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS ===== */
section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* ===== ABOUT ===== */
#about { background: var(--navy); position: relative; overflow: hidden; }
#about::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,165,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}
.stat-card:hover { border-color: rgba(240,165,0,0.3); transform: translateY(-4px); }
.stat-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-lbl { font-size: 0.8rem; color: var(--muted); margin-top: 4px; letter-spacing: 0.04em; }
.about-visual { position: relative; }
.about-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--navy2) 0%, var(--navy3) 100%);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(13,13,26,0.8) 100%);
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(240,165,0,0.35);
}
.about-float .float-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.about-float .float-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 2px;
}

/* ===== DISTANCES ===== */
#distances { background: var(--navy2); position: relative; overflow: hidden; }
#distances::before {
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(240,165,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.distances-header { text-align: center; margin-bottom: 3.5rem; }
.distances-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.distance-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.distance-card:hover { transform: translateY(-6px); }
.distance-card.featured {
  border-color: rgba(240,165,0,0.3);
  background: linear-gradient(135deg, rgba(240,165,0,0.06) 0%, var(--glass) 100%);
}
.distance-card.featured:hover { box-shadow: 0 24px 60px rgba(240,165,0,0.15); }
.distance-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.badge-wander { background: rgba(138,180,255,0.12); color: #8ab4ff; border: 1px solid rgba(138,180,255,0.2); }
.badge-ultra { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(240,165,0,0.2); }
.distance-km {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.distance-km span { font-size: 0.4em; font-weight: 600; opacity: 0.7; vertical-align: super; }
.distance-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.distance-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.distance-specs { border-top: 1px solid var(--glass-border); padding-top: 1.5rem; margin-bottom: 1.5rem; }
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.85rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-key { color: var(--muted); }
.spec-val { font-weight: 600; color: var(--off-white); }
.spec-val.gold { color: var(--gold); }
.distance-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ===== ROUTE ===== */
#route { background: var(--navy); }
.route-header { text-align: center; margin-bottom: 3.5rem; }
.route-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.route-timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  position: relative;
  padding-bottom: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--glass-border);
}
.timeline-item:last-child::before { display: none; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--glass);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: border-color var(--transition), background var(--transition);
  position: relative;
  z-index: 1;
}
.timeline-dot.active {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold);
}
.timeline-body { padding-top: 8px; }
.timeline-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  text-transform: uppercase;
}
.timeline-place {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  margin: 0.2rem 0;
}
.timeline-detail { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.route-map-wrap { position: sticky; top: 100px; }
.route-map-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.route-map-placeholder img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius); }
.altitude-img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  margin-top: 1.25rem;
  filter: brightness(1.1) contrast(1.1);
}

/* ===== STATIONS ===== */
#stations { background: var(--navy2); }
.stations-header { text-align: center; margin-bottom: 3.5rem; }
.stations-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.station-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform var(--transition), border-color var(--transition);
}
.station-card:hover { transform: translateY(-4px); border-color: rgba(240,165,0,0.25); }
.station-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.station-name { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; color: var(--off-white); margin-bottom: 0.3rem; }
.station-km { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.station-amenities { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.amenity {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.7rem;
  color: var(--off-white);
  font-weight: 500;
}
.stations-note {
  margin-top: 2.5rem;
  background: var(--gold-dim);
  border: 1px solid rgba(240,165,0,0.25);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.stations-note svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.stations-note p { color: var(--off-white); font-size: 0.9rem; line-height: 1.7; }
.stations-note strong { color: var(--gold); }

/* ===== GALLERY ===== */
#gallery { background: var(--navy); }
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.gallery-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}
.gallery-tab:hover, .gallery-tab.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy2);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(240,165,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}
.gallery-overlay svg { color: var(--white); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--off-white);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
  background: none;
  border: none;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--glass-border);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-btn:hover { background: rgba(240,165,0,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ===== INCLUDED ===== */
#included { background: var(--navy2); }
.included-header { text-align: center; margin-bottom: 3rem; }
.included-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.included-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.included-item:hover {
  transform: translateY(-6px);
  border-color: rgba(240,165,0,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.included-icon {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border: 1px solid rgba(240,165,0,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
}
.included-title { font-family: 'Montserrat', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--off-white); margin-bottom: 0.4rem; }
.included-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }

/* ===== SPONSORS ===== */
#sponsors { background: var(--navy); }
.sponsors-header { text-align: center; margin-bottom: 3.5rem; }
.sponsors-tier { margin-bottom: 3rem; }
.sponsors-tier-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sponsors-tier-label::before, .sponsors-tier-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--glass-border);
}
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.sponsor-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  min-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
  text-decoration: none;
}
.sponsor-card:hover {
  border-color: rgba(240,165,0,0.3);
  background: rgba(240,165,0,0.04);
  transform: translateY(-4px);
}
.sponsor-card img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(40%) brightness(1.1);
  transition: filter var(--transition);
}
.sponsor-card:hover img { filter: grayscale(0%) brightness(1.2); }
.sponsor-card.main { min-width: 200px; padding: 1.75rem 2.5rem; }
.sponsor-card.main img { max-width: 160px; max-height: 70px; }
.sponsors-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}
.sponsors-cta p { margin-bottom: 1.25rem; font-size: 1rem; color: var(--off-white); }

/* ===== FAQ ===== */
#faq { background: var(--navy2); }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(240,165,0,0.2); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-q svg { flex-shrink: 0; transition: transform var(--transition); color: var(--gold); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}
.faq-a-inner p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ===== REGISTER CTA ===== */
#anmeldung-cta { background: var(--navy); position: relative; overflow: hidden; }
#anmeldung-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(240,165,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.register-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.register-inner h2 { margin-bottom: 1rem; }
.register-inner p { margin-bottom: 2.5rem; font-size: 1rem; }
.register-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.register-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}
.reg-info-item { text-align: center; }
.reg-info-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
}
.reg-info-lbl { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }

/* ===== ANMELDUNG FORM ===== */
.form-section { background: var(--navy2); }
.form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.form-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
}
.form-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.form-card-title::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--gold);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-row.full { grid-template-columns: 1fr; }
.form-row.triple { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.04em;
}
.form-group label .req { color: var(--gold); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,165,0,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group select option { background: var(--navy2); }
.form-group textarea { resize: vertical; min-height: 100px; }

.distance-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.distance-option {
  position: relative;
}
.distance-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.distance-option label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 2px solid var(--glass-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.distance-option input:checked + label {
  border-color: var(--gold);
  background: var(--gold-dim);
}
.distance-option label .dist-km {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.distance-option label .dist-name { font-weight: 700; font-size: 0.9rem; color: var(--off-white); }
.distance-option label .dist-price { font-size: 0.8rem; color: var(--muted); }
.distance-option label .dist-details { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--gold);
  cursor: pointer;
}
.form-check label {
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}
.form-check label a { color: var(--gold); text-decoration: underline; }

.form-submit { text-align: center; margin-top: 2rem; }
.form-submit .btn-primary { font-size: 1rem; padding: 16px 48px; }

.success-box {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}
.success-box h3 {
  color: #4ade80;
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}
.success-box p { color: var(--off-white); font-size: 0.9rem; }

.error-box {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: var(--radius-sm);
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #fca5a5;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}
.price-table th, .price-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}
.price-table th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.price-table td { color: var(--off-white); }
.price-table tr.current td { color: var(--gold); font-weight: 700; }

/* ===== KONTAKT ===== */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.kontakt-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.kontakt-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.kontakt-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.88rem;
}
.kontakt-item:last-child { border-bottom: none; }
.kontakt-item svg { color: var(--gold); flex-shrink: 0; }
.kontakt-item a { color: var(--off-white); text-decoration: none; transition: color var(--transition); }
.kontakt-item a:hover { color: var(--gold); }
.impressum-block {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  margin-top: 2.5rem;
}
.impressum-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.impressum-block p, .impressum-block li {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}
.impressum-block a { color: var(--gold); text-decoration: none; }

/* ===== FOOTER ===== */
footer {
  background: #070710;
  border-top: 1px solid var(--glass-border);
  padding: 3rem 5%;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-top: 1rem; color: var(--muted); }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { text-decoration: none; font-size: 0.85rem; color: var(--muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.6s ease, transform 0.6s ease; }
.revealed { opacity: 1; transform: translateX(0) translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .route-content { grid-template-columns: 1fr; }
  .route-map-wrap { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  section { padding: 4rem 5%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .distances-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .register-info { gap: 1.5rem; }
  .hero-date-badge { flex-wrap: wrap; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.triple { grid-template-columns: 1fr; }
  .distance-selector { grid-template-columns: 1fr; }
  .page-hero { padding: 100px 5% 4rem; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .distance-actions { flex-direction: column; }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
/* Dark mode (default): show sun icon → click to go light */
.theme-toggle .icon-sun  { display: flex; align-items: center; }
.theme-toggle .icon-moon { display: none; align-items: center; }

/* ===== LIGHT MODE — CSS CUSTOM PROPERTIES ===== */

/* Auto: system is light */
@media (prefers-color-scheme: light) {
  :root {
    --navy: #f2f1ec;
    --navy2: #e9e8e2;
    --navy3: #deddd6;
    --white: #1a1a2e;
    --off-white: #1e1e35;
    --muted: #60607a;
    --glass: rgba(255,255,255,0.78);
    --glass-border: rgba(0,0,0,0.1);
    --gold-dim: rgba(245,168,72,0.12);
    /* Berge (System-Hell) */
    --mtn-top: #c9c3b2;
    --mtn-bottom: #b3ac98;
    --mtn-mid: rgba(150,144,124,0.5);
    --mtn-front: rgba(120,114,96,0.62);
  }
  /* In light mode show moon (click to go dark) */
  .theme-toggle .icon-sun  { display: none; }
  .theme-toggle .icon-moon { display: flex; }
}

/* Manual: user explicitly chose light */
html[data-theme="light"] {
  --navy: #f2f1ec;
  --navy2: #e9e8e2;
  --navy3: #deddd6;
  --white: #1a1a2e;
  --off-white: #1e1e35;
  --muted: #60607a;
  --glass: rgba(255,255,255,0.78);
  --glass-border: rgba(0,0,0,0.1);
  --gold-dim: rgba(245,168,72,0.12);
  /* Berge (Light Mode) – weiche Taupe/Grau-Blau-Silhouette */
  --mtn-top: #c9c3b2;
  --mtn-bottom: #b3ac98;
  --mtn-mid: rgba(150,144,124,0.5);
  --mtn-front: rgba(120,114,96,0.62);
}
html[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: flex; }

/* Manual: user explicitly chose dark (overrides system light) */
html[data-theme="dark"] {
  --navy: #0d0d1a;
  --navy2: #12122a;
  --navy3: #1a1a3e;
  --white: #ffffff;
  --off-white: #e8e8f0;
  --muted: #8888aa;
  --glass: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.08);
  --gold-dim: rgba(240,165,0,0.15);
}
html[data-theme="dark"] .theme-toggle .icon-sun  { display: flex; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== LIGHT MODE — HARDCODED OVERRIDES ===== */
/* Values that CSS variables alone can't reach */

@media (prefers-color-scheme: light) {
  ::selection { color: #0d0d1a; }
  ::-webkit-scrollbar-track { background: var(--navy2); }
  #nav.scrolled, #nav.solid {
    background: rgba(242,241,236,0.96);
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
  }
  .mobile-nav {
    background: rgba(242,241,236,0.98);
    border-top-color: rgba(0,0,0,0.1);
  }
  .mobile-nav a { border-bottom-color: rgba(0,0,0,0.08); }
  .star { background: #2a2a4a; }
  .hero-bg {
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(190,185,160,0.5) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 80% 80%, rgba(240,165,0,0.07) 0%, transparent 60%),
      linear-gradient(180deg, #f2f1ec 0%, #e9e8e2 60%, #f2f1ec 100%);
  }
  .hero-title {
    background: linear-gradient(135deg, #12122a 0%, var(--gold) 55%, var(--gold2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .page-hero {
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(190,185,160,0.5) 0%, transparent 70%),
      var(--navy);
  }
  .about-img-wrap::after {
    background: linear-gradient(180deg, transparent 50%, rgba(242,241,236,0.88) 100%);
  }
  .form-group input,
  .form-group select,
  .form-group textarea { background: rgba(0,0,0,0.05); color: var(--off-white); }
  .form-group select option { background: #e9e8e2; color: #1e1e35; }
  .distance-option label { background: rgba(0,0,0,0.04); }
  footer { background: #d6d5ce; }
  .sponsor-card img { filter: grayscale(20%) brightness(0.88); }
  .sponsor-card:hover img { filter: grayscale(0%) brightness(0.95); }
  .gallery-item { background: var(--navy3); }
}

/* Same overrides, via explicit data-theme="light" attribute */
html[data-theme="light"] ::selection { color: #0d0d1a; }
html[data-theme="light"] ::-webkit-scrollbar-track { background: var(--navy2); }
html[data-theme="light"] #nav.scrolled,
html[data-theme="light"] #nav.solid {
  background: rgba(242,241,236,0.96);
  box-shadow: 0 1px 8px rgba(0,0,0,0.1);
}
html[data-theme="light"] .mobile-nav {
  background: rgba(242,241,236,0.98);
  border-top-color: rgba(0,0,0,0.1);
}
html[data-theme="light"] .mobile-nav a { border-bottom-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .star { background: #2a2a4a; }
html[data-theme="light"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(190,185,160,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(240,165,0,0.07) 0%, transparent 60%),
    linear-gradient(180deg, #f2f1ec 0%, #e9e8e2 60%, #f2f1ec 100%);
}
html[data-theme="light"] .hero-title {
  background: linear-gradient(135deg, #12122a 0%, var(--gold) 55%, var(--gold2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .page-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(190,185,160,0.5) 0%, transparent 70%),
    var(--navy);
}
html[data-theme="light"] .about-img-wrap::after {
  background: linear-gradient(180deg, transparent 50%, rgba(242,241,236,0.88) 100%);
}
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea { background: rgba(0,0,0,0.05); color: var(--off-white); }
html[data-theme="light"] .form-group select option { background: #e9e8e2; color: #1e1e35; }
html[data-theme="light"] .distance-option label { background: rgba(0,0,0,0.04); }
html[data-theme="light"] footer { background: #d6d5ce; }
html[data-theme="light"] .sponsor-card img { filter: grayscale(20%) brightness(0.88); }
html[data-theme="light"] .sponsor-card:hover img { filter: grayscale(0%) brightness(0.95); }
html[data-theme="light"] .gallery-item { background: var(--navy3); }

/* Re-assert dark hardcoded values (for light-preferring users who switch to dark) */
html[data-theme="dark"] #nav.scrolled,
html[data-theme="dark"] #nav.solid { background: rgba(13,13,26,0.95); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
html[data-theme="dark"] .mobile-nav { background: rgba(13,13,26,0.97); border-top-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .mobile-nav a { border-bottom-color: rgba(255,255,255,0.08); }
html[data-theme="dark"] .star { background: white; }
html[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,26,62,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(240,165,0,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0d0d1a 0%, #0a0a1f 50%, #12122a 100%);
}
html[data-theme="dark"] .hero-title {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold) 50%, var(--gold2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
html[data-theme="dark"] .page-hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,26,62,0.6) 0%, transparent 70%),
    #0d0d1a;
}
html[data-theme="dark"] .about-img-wrap::after { background: linear-gradient(180deg, transparent 50%, rgba(13,13,26,0.8) 100%); }
html[data-theme="dark"] .form-group input,
html[data-theme="dark"] .form-group select,
html[data-theme="dark"] .form-group textarea { background: rgba(255,255,255,0.05); }
html[data-theme="dark"] .form-group select option { background: #12122a; }
html[data-theme="dark"] .distance-option label { background: rgba(255,255,255,0.03); }
html[data-theme="dark"] footer { background: #070710; }
html[data-theme="dark"] .sponsor-card img { filter: grayscale(40%) brightness(1.1); }
html[data-theme="dark"] .sponsor-card:hover img { filter: grayscale(0%) brightness(1.2); }
html[data-theme="dark"] .gallery-item { background: #12122a; }

/* ===== 70K-Teaser (Punkt 4) ===== */
.route-teaser {
  display: flex; gap: 1.2rem; align-items: flex-start;
  max-width: 760px; margin: 0 auto 2.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
}
.route-teaser-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.route-teaser h3 { font-family: 'Montserrat',sans-serif; color: var(--gold); margin: 0 0 .4rem; font-size: 1.15rem; }
.route-teaser p { font-size: .95rem; line-height: 1.6; color: var(--off-white); margin: 0; }

/* ===== NEU-2027 Badge (Punkt 4) ===== */
.dist-badge {
  display: inline-block; margin-bottom: .6rem;
  background: var(--gold); color: #1a1208;
  font-family: 'Montserrat',sans-serif; font-weight: 800;
  font-size: .6rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 999px;
}

/* ===== Cookie-Consent-Banner (Punkt 7) ===== */
.cookie-banner {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 1rem; z-index: 200;
  width: min(680px, calc(100% - 2rem));
  background: var(--navy2); border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 1.1rem 1.3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .85rem; color: var(--off-white); flex: 1 1 260px; line-height: 1.5; }
.cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: .6rem; margin-left: auto; }
.cookie-btn {
  font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: .8rem;
  padding: .55em 1.2em; border-radius: var(--radius-sm); cursor: pointer; border: none;
}
.cookie-accept { background: var(--gold); color: #1a1208; }
.cookie-decline { background: transparent; color: var(--off-white); border: 1px solid var(--glass-border); }
.cookie-btn:hover { opacity: .88; }

/* ===== Fliegende Vögel (Light Mode statt Sterne) ===== */
.hero-birds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; display: none; }
.bird { position: absolute; left: 0; color: #5f5848; opacity: .55; will-change: transform; }
.bird svg { display: block; width: 100%; height: auto; transform-origin: center; animation: birdFlap .5s ease-in-out infinite; }
.bird-1 { top: 14%; width: 46px; animation: birdFly1 24s linear infinite; }
.bird-2 { top: 22%; width: 30px; animation: birdFly1 30s linear infinite 5s; }
.bird-3 { top: 8%;  width: 38px; animation: birdFly1 27s linear infinite 11s; }
.bird-4 { top: 30%; width: 26px; animation: birdFly2 32s linear infinite 3s; }
.bird-5 { top: 17%; width: 52px; animation: birdFly2 28s linear infinite 15s; }
.bird-2 svg { animation-duration: .42s; }
.bird-4 svg { animation-duration: .58s; }
@keyframes birdFly1 { from { transform: translate(-14vw, 0); } 50% { transform: translate(48vw, -4vh); } to { transform: translate(116vw, 3vh); } }
@keyframes birdFly2 { from { transform: translate(116vw, 0); } 50% { transform: translate(48vw, 4vh); } to { transform: translate(-14vw, -3vh); } }
@keyframes birdFlap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.5); } }

/* Light Mode: Vögel an, Sterne aus */
html[data-theme="light"] .hero-birds { display: block; }
html[data-theme="light"] .hero-stars { display: none; }
html[data-theme="dark"]  .hero-birds { display: none; }
html[data-theme="dark"]  .hero-stars { display: block; }
@media (prefers-color-scheme: light) {
  .hero-birds { display: block; }
  .hero-stars { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bird, .bird svg { animation: none !important; }
  .hero-birds { display: none !important; }
}

/* ===== Ziel-Versorgung hervorgehoben ===== */
.station-card-featured {
  position: relative;
  border: 1.5px solid var(--gold);
  background: linear-gradient(160deg, var(--gold-dim), transparent 70%);
  box-shadow: 0 0 0 4px var(--gold-dim);
}
.station-badge {
  position: absolute; top: -12px; left: 1.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy); font-family: 'Montserrat',sans-serif; font-weight: 800;
  font-size: .65rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .35em .9em; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(245,168,72,0.4);
}

.bird { animation-fill-mode: backwards; }

/* ===== FIX: Logo-Umschaltung auch bei System-Hell (prefers-color-scheme) ===== */
@media (prefers-color-scheme: light) {
  .logo-light-only { display: block; }
  .logo-dark-only  { display: none; }
}
html[data-theme="dark"] .logo-light-only { display: none; }
html[data-theme="dark"] .logo-dark-only  { display: block; }

/* ===== MOBILE-OPTIMIERUNG ===== */
@media (max-width: 600px) {
  /* Countdown – passt in eine Zeile */
  .countdown { gap: 0.3rem; }
  .countdown-item { min-width: 0; }
  .countdown-val { font-size: 1.7rem; }
  .countdown-lbl { font-size: 0.48rem; letter-spacing: 0.03em; }
  .countdown-sep { font-size: 1.3rem; }

  /* Distanz-Badge als 2×2-Raster, Trenner weg */
  .hero-date-badge { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 8px; width: 100%; max-width: 300px; margin: 0 auto; }
  .hero-date-badge .sep { display: none; }

  /* Preistabelle kompakt (verhindert Abschneiden) */
  .price-table { font-size: 0.72rem; }
  .price-table th, .price-table td { padding: 0.5rem 0.3rem; }

  /* Cookie-Banner gestapelt, Buttons full-width */
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 0.7rem; padding: 1rem; bottom: 0.5rem; }
  .cookie-banner p { flex: none; }
  .cookie-actions { margin-left: 0; }
  .cookie-btn { flex: 1; padding: 0.75em 1em; }

  /* Page-Hero Titel sauber umbrechen */
  .page-hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.8rem); word-break: break-word; }

  /* 70K-Teaser gestapelt */
  .route-teaser { flex-direction: column; gap: 0.8rem; }

  /* Vögel etwas kleiner/dezenter */
  .bird { opacity: 0.5; }
}

/* ===== MOBILE-FIX 2: Hero-Texte umbrechen + Preistabelle bändigen ===== */
@media (max-width: 600px) {
  /* erzwungene Zeilenumbrüche im Hero aufheben → natürliches Umbrechen */
  .hero-subtitle br, .page-hero p br { display: none; }
  .hero-subtitle { font-size: 0.95rem; }
  .page-hero p { font-size: 0.95rem; }

  /* Preistabelle: feste Spaltenbreiten, Inhalt bricht um (kein Überlauf) */
  .price-table { table-layout: fixed; width: 100%; }
  .price-table th, .price-table td { word-break: break-word; }
  .price-table th:first-child,  .price-table td:first-child  { width: 33%; }
  .price-table th:nth-child(2), .price-table td:nth-child(2) { width: 31%; }
  .price-table th:nth-child(3), .price-table td:nth-child(3) { width: 18%; }
  .price-table th:nth-child(4), .price-table td:nth-child(4) { width: 18%; }
}

/* Mobile Preistabelle: Preisspalten rechtsbündig, etwas mehr Platz */
@media (max-width: 600px) {
  .price-table th:first-child,  .price-table td:first-child  { width: 30%; }
  .price-table th:nth-child(2), .price-table td:nth-child(2) { width: 30%; }
  .price-table th:nth-child(3), .price-table td:nth-child(3) { width: 20%; text-align: right; }
  .price-table th:nth-child(4), .price-table td:nth-child(4) { width: 20%; text-align: right; padding-right: 0.5rem; }
}

/* ===== Haupt-Partner (Adnexum) hervorgehoben ===== */
.sponsor-feature {
  position: relative;
  max-width: 640px;
  margin: 0 auto 3.5rem;
  padding: 2.25rem 2.5rem 2rem;
  text-align: center;
  background: linear-gradient(160deg, var(--gold-dim), transparent 75%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 0 0 5px var(--gold-dim);
}
.sponsor-feature-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy);
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45em 1.3em; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 14px rgba(245,168,72,0.45);
}
.sponsor-feature-card {
  display: inline-block; background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.5rem 2.25rem; margin: 0.5rem 0 1.25rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.sponsor-feature-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.sponsor-feature-card img { max-width: 280px; max-height: 110px; width: auto; height: auto; display: block; }
.sponsor-feature-text { color: var(--off-white); font-size: 0.98rem; line-height: 1.65; max-width: 480px; margin: 0 auto; }
@media (max-width: 600px) {
  .sponsor-feature { padding: 2rem 1.25rem 1.5rem; }
  .sponsor-feature-card { padding: 1.25rem 1.5rem; }
  .sponsor-feature-card img { max-width: 220px; }
}

/* ===== Hauptsponsor (Adnexum) – doppelt so groß ===== */
.sponsor-card-xl { padding: 2.2rem 3rem; }
.sponsor-card-xl img { max-width: 280px; max-height: 120px; }
@media (max-width: 600px) { .sponsor-card-xl img { max-width: 220px; max-height: 95px; } }

/* ===== Sponsor-Tiles: weiß, Logos in Farbe ===== */
.sponsor-card { background: #fff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.sponsor-card:hover { background: #fff; border-color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.sponsor-card img { filter: none !important; opacity: 1 !important; }
.sponsor-card:hover img { filter: none !important; }

/* ===== Dunkle Sponsor-Tile (für helle/gelbe Logos wie Kerschbaumer) ===== */
.sponsor-card-dark { background: #14243f !important; border: 1px solid rgba(255,255,255,0.12) !important; }
.sponsor-card-dark:hover { background: #182c4d !important; border-color: var(--gold) !important; }

/* Mobile: schwebendes Jahr-Badge ausblenden (überlappt sonst die Buttons) */
@media (max-width: 768px) { .about-float { display: none !important; } }

/* ===== Anmeldung: Pflichtfeld-Fehler markieren ===== */
input.has-error, select.has-error, textarea.has-error {
  border-color: #e0564a !important;
  background: rgba(224,86,74,.07) !important;
}
.form-check.has-error label { color: #e0564a; }
.distance-selector.has-error { outline: 2px solid #e0564a; outline-offset: 5px; border-radius: 10px; }

/* ===== Versorgung & Leistungen: Boxen zentrieren ===== */
.stations-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; }
.included-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 240px)); justify-content: center; }
