/* ================================================================
   SEILBAHN SCHAFFHAUSEN – Marketing Site
   Raumplanung & Stadtentwicklung
   Bootstrap 5 Custom Theme
   ================================================================ */

/* ── CSS Variables ──────────────────────────────────────────────── */
:root {
  --primary:        #0B4FA8;
  --primary-dark:   #083a7e;
  --primary-light:  #3a7fd4;
  --secondary:      #C8102E;
  --success:        #198754;
  --eco:            #2daf65;
  --warning:        #f5a623;
  --dark:           #0D1B2A;
  --dark-2:         #1a2d42;
  --dark-3:         #1e3a5f;
  --light:          #F4F6F9;
  --white:          #ffffff;
  --text:           #1E2D3D;
  --muted:          #607080;
  --border:         rgba(0,0,0,.09);
  --shadow-sm:      0 2px 12px rgba(11,79,168,.10);
  --shadow-md:      0 8px 32px rgba(11,79,168,.16);
  --shadow-lg:      0 16px 56px rgba(11,79,168,.22);
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      22px;
  --transition:     .28s cubic-bezier(.4,0,.2,1);
  --navbar-h:       70px;
  --hero-grad:      linear-gradient(135deg, #040f1e 0%, #0a2040 40%, #0b4fa8 100%);
  --section-grad:   linear-gradient(180deg, #F4F6F9 0%, #ffffff 100%);
}

/* ── Reset / Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.25; }

/* ── Utility ────────────────────────────────────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(11,79,168,.10);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(11,79,168,.18);
}
.section-badge.eco  { background: rgba(45,175,101,.1); color: var(--eco); border-color: rgba(45,175,101,.2); }
.section-badge.dark { background: rgba(255,255,255,.1); color: #aac8f0; border-color: rgba(255,255,255,.18); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

.text-eco    { color: var(--eco)       !important; }
.text-muted2 { color: var(--muted)     !important; }
.bg-dark-2   { background: var(--dark-2)!important; }
.bg-dark-3   { background: var(--dark-3)!important; }

.divider {
  width: 56px; height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 16px 0 28px;
}
.divider.eco { background: var(--eco); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 34px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(11,79,168,.35);
}
.btn-primary-custom:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11,79,168,.45);
  color: #fff;
}
.btn-outline-light-custom {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 50px;
  padding: 13px 32px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
  color: #fff;
}
.btn-eco {
  background: var(--eco);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 34px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-eco:hover { background: #249a57; color: #fff; transform: translateY(-2px); }

/* ── Navbar ─────────────────────────────────────────────────────── */
#mainNav {
  height: var(--navbar-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 1050;
}
#mainNav.scrolled {
  background: rgba(13,27,42,.97) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
}

/* ── Mobile: aufgeklapptes Menü hat soliden Hintergrund ─────────── */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: rgba(10,22,40,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    margin-top: 8px;
    padding: 12px 16px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.08);
  }
  #mainNav .nav-link {
    padding: 10px 14px !important;
    border-radius: 8px;
  }
  #mainNav .navbar-nav {
    gap: 2px;
  }
  #mainNav .ms-2 {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  /* Toggler-Icon immer sichtbar */
  #mainNav .navbar-toggler {
    border-color: rgba(255,255,255,.3);
    padding: 6px 10px;
  }
  #mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}
.navbar-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-icon {
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.brand-text { line-height: 1.15; }
.brand-text .name  { font-size: .95rem; font-weight: 700; color: #fff; }
.brand-text .sub   { font-size: .65rem; color: #9ab8d8; letter-spacing: .06em; text-transform: uppercase; }

#mainNav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-size: .88rem;
  font-weight: 500;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: #fff !important; background: rgba(255,255,255,.1); }

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 7px 20px !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  letter-spacing: .02em;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: var(--primary-light) !important; transform: none !important; }

/* ── Hero ───────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: var(--hero-grad);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-h);
}

.hero-bg-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(11,79,168,.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(11,79,168,.2) 0%, transparent 40%);
}

.hero-city-line {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 240px;
  background: url('../images/skyline-sh.svg') center bottom / 100% auto no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* Cable animation in hero */
.hero-cable-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
}
#heroCable { width: 100%; height: 100%; }

.hero-content { position: relative; z-index: 5; }

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7ab3e8;
  margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.hero-title span { color: #5aa0e0; }

.hero-sub {
  font-size: 1.1rem;
  color: #ffffff;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero stats row */
.hero-stats {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 56px;
  padding-top: 32px;
}
.hero-stat-item { text-align: center; padding: 0 20px; }
.hero-stat-item .value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-item .unit  { font-size: .85rem; color: #7ab3e8; font-weight: 600; }
.hero-stat-item .label { font-size: .72rem; color: rgba(255,255,255,.52); margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
.stat-divider { width: 1px; background: rgba(255,255,255,.12); height: 48px; align-self: center; }

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
  opacity: .55;
  animation: scrollBounce 2s ease-in-out infinite;
  text-decoration: none;
}
.scroll-down span { font-size: .65rem; color: #fff; letter-spacing: .1em; text-transform: uppercase; }
.scroll-down i { font-size: 1.1rem; color: #fff; }
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Problem Section ────────────────────────────────────────────── */
#problem { background: var(--white); }

.problem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}
.problem-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.problem-card:hover::before { opacity: 1; }

.problem-icon {
  width: 56px; height: 56px;
  background: rgba(11,79,168,.08);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}

/* ── Map Section ────────────────────────────────────────────────── */
#karte { background: var(--light); }

#map {
  height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1;
  border: 3px solid #fff;
  overflow: hidden;
}

.map-legend {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  color: var(--text);
  margin-bottom: 10px;
}
.legend-item:last-child { margin-bottom: 0; }
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-line {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--primary);
  flex-shrink: 0;
  background: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 6px, transparent 6px, transparent 10px);
}

/* Leaflet custom styles */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid var(--border) !important;
}
.leaflet-popup-content { font-family: inherit !important; }
.map-popup-title {
  font-weight: 700;
  font-size: .92rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.map-popup-sub { font-size: .78rem; color: var(--muted); line-height: 1.5; }
.gondola-marker-icon {
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.5));
  transition: transform .12s ease;
  animation: gondolaMapPulse 2.5s ease-in-out infinite;
}
@keyframes gondolaMapPulse {
  0%,100% { filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
  50%      { filter: drop-shadow(0 3px 12px rgba(11,79,168,.8)) drop-shadow(0 0 8px rgba(74,158,255,.6)); }
}

/* ── Stationen ──────────────────────────────────────────────────── */
#stationen { background: var(--white); }

.station-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
}
.station-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.station-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.station-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.station-card:hover .station-img-wrap img { transform: scale(1.05); }

.station-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.station-badge.berg { background: var(--eco); }

.station-coords {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(0,0,0,.7);
  color: #9ab8d8;
  font-size: .68rem;
  font-family: 'Courier New', monospace;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.station-body { padding: 28px; }
.station-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.station-tag.tal  { color: var(--primary); }
.station-tag.berg { color: var(--eco); }
.station-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }

.station-features {
  list-style: none;
  padding: 0; margin: 18px 0 0;
}
.station-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.station-features li:last-child { border-bottom: none; }
.station-features li i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }
.station-features li.eco i { color: var(--eco); }

/* ── Vorteile ───────────────────────────────────────────────────── */
#vorteile { background: var(--light); }

.vorteil-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 24px;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}
.vorteil-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.vorteil-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  font-size: 1.65rem;
}
.vorteil-icon.blue   { background: rgba(11,79,168,.08);  color: var(--primary); }
.vorteil-icon.green  { background: rgba(45,175,101,.08); color: var(--eco); }
.vorteil-icon.orange { background: rgba(245,166,35,.1);  color: var(--warning); }
.vorteil-icon.red    { background: rgba(200,16,46,.08);  color: var(--secondary); }

.vorteil-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.vorteil-text  { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ── Technische Daten ───────────────────────────────────────────── */
#technik { background: var(--white); }

.spec-table { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table table { margin-bottom: 0; }
.spec-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .03em;
  padding: 14px 20px;
  border: none;
}
.spec-table tbody tr { transition: background var(--transition); }
.spec-table tbody tr:hover { background: rgba(11,79,168,.04); }
.spec-table td {
  padding: 12px 20px;
  font-size: .9rem;
  vertical-align: middle;
  border-color: rgba(0,0,0,.06);
}
.spec-table td:first-child { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.spec-table td:last-child   { font-weight: 600; color: var(--text); }

.spec-highlight {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.spec-highlight .big-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}
.spec-highlight .big-unit  { font-size: .9rem; color: rgba(255,255,255,.7); }
.spec-highlight .big-label { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 6px; text-transform: uppercase; letter-spacing: .06em; }

/* ── Finanzierung ───────────────────────────────────────────────── */
#finanzierung { background: var(--dark); color: #fff; }
#finanzierung h2, #finanzierung h3, #finanzierung h4, #finanzierung h5 { color: #fff; }
#finanzierung .fw-semibold { color: rgba(255,255,255,.92); }
#finanzierung .text-muted   { color: rgba(255,255,255,.55) !important; }
#finanzierung .small        { color: rgba(255,255,255,.60); }


/* ── Game ───────────────────────────────────────────────── */
#game { background: var(--dark); color: #fff; }
#game h2, #game h3, #game h4, #game h5 { color: #fff; }
#game .fw-semibold { color: rgba(255,255,255,.92); }
#game .text-muted   { color: rgba(255,255,255,.55) !important; }
#game .small        { color: rgba(255,255,255,.60); }



.finance-total {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
}
.finance-total span { color: #5aa0e0; }

.funding-bar-wrap { margin-bottom: 18px; }
.funding-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: .88rem;
}
.funding-label .source { color: rgba(255,255,255,.82); font-weight: 500; }
.funding-label .amount { color: #5aa0e0; font-weight: 700; }
.funding-bar {
  height: 10px;
  background: rgba(255,255,255,.1);
  border-radius: 50px;
  overflow: hidden;
}
.funding-fill {
  height: 100%;
  border-radius: 50px;
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.fill-bund    { background: linear-gradient(90deg, #5aa0e0, #7ab8f0); }
.fill-kanton  { background: linear-gradient(90deg, #4ea870, #6dc88a); }
.fill-stadt   { background: linear-gradient(90deg, #f0c040, #f5d870); }
.fill-privat  { background: linear-gradient(90deg, #d06060, #e08080); }

.finance-card {
  border-radius: var(--radius-md);
}

/* ── Zeitplan / Timeline ────────────────────────────────────────── */
#zeitplan { background: var(--light); }

.timeline { position: relative; padding-left: 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(11,79,168,.1));
}

.timeline-item {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(11,79,168,.08);
}
.timeline-dot.done    { background: var(--primary); border-color: var(--primary); color: #fff; }
.timeline-dot.active  { background: var(--eco); border-color: var(--eco); color: #fff; box-shadow: 0 0 0 6px rgba(45,175,101,.12); }
.timeline-dot.future  { border-color: rgba(11,79,168,.3); color: var(--muted); }
.timeline-dot .year   { font-size: .68rem; font-weight: 700; color: inherit; line-height: 1; }

.timeline-content {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  flex: 1;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.timeline-phase {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-phase.active { color: var(--eco); }
.timeline-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.timeline-desc  { font-size: .88rem; color: var(--muted); line-height: 1.65; margin-bottom: 0; }

.timeline-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.timeline-tag {
  font-size: .68rem;
  font-weight: 600;
  background: rgba(11,79,168,.08);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
}

/* ── CTA / Support ──────────────────────────────────────────────── */
#unterstuetzung { background: var(--dark-2); color: #fff; }

.support-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}
.support-card.card {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.support-card:hover {
  background: rgba(255,255,255,.10);
  transform: translateY(-4px);
}
.support-card .s-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.support-card h3, .support-card h4, .support-card h5 { color: #fff; font-size: 1.1rem; }
.support-card p  { color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.65; }
.support-card .text-muted  { color: rgba(255,255,255,.55) !important; }
.support-card .list-unstyled li { color: rgba(255,255,255,.72); }

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .9rem;
}
.contact-form .form-control::placeholder { color: rgba(255,255,255,.35); }
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(11,79,168,.25);
  color: #fff;
}
.contact-form .form-label { color: rgba(255,255,255,.72); font-size: .85rem; font-weight: 500; }
.contact-form .form-select option { background: var(--dark-2); color: #fff; }

/* ── Numbers / Counters ─────────────────────────────────────────── */
.counter-section { background: var(--primary); }
.counter-item { text-align: center; padding: 20px; }
.counter-item .count {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.counter-item .c-unit  { font-size: 1rem; color: rgba(255,255,255,.7); }
.counter-item .c-label { font-size: .75rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }

/* ── Referenz / Vergleich ───────────────────────────────────────── */
.ref-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  height: 100%;
}
.ref-card img {
  width: 100%; height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
}
.footer-brand { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-desc  { font-size: .82rem; line-height: 1.7; }
.footer-heading { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-link {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-link:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  font-size: .8rem;
}

/* ── Animations ─────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }
.fade-up.delay-5 { transition-delay: .5s; }

.scale-in {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .5s ease, transform .5s ease;
}
.scale-in.visible { opacity: 1; transform: none; }

/* ── Gondola SVG pulse on hero ──────────────────────────────────── */
@keyframes gondolaPulse {
  0%,100% { opacity: .6; }
  50%      { opacity: 1; }
}
@keyframes gondolaMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--travel, 900px)); }
}
@keyframes swayGondola {
  0%,100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}

/* ── Responsive – Tablet (768–991) ─────────────────────────────── */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-stat-item .value { font-size: 1.65rem; }
  .section-title { font-size: 1.9rem; }
  #map { height: 420px; }
  .station-img-wrap { height: 240px; }
  .counter-section .count { font-size: 2rem; }
  .vorteil-card { padding: 24px 20px; }
  .spec-table td, .spec-table th { font-size: .82rem; padding: 10px 12px; }
  .finance-total { font-size: 2.8rem; }
  blockquote { padding: 22px 28px !important; }
}

/* ── Responsive – ≤991 ──────────────────────────────────────────── */
@media (max-width: 991.98px) {
  #map { height: 380px; }
  .timeline::before { left: 22px; }
  .timeline-dot { width: 46px; height: 46px; }
  #aerialPane img { max-height: 360px; }
}

/* ── Responsive – ≤767 ──────────────────────────────────────────── */
@media (max-width: 767.98px) {
  .hero-stat-item .value { font-size: 1.4rem; }
  .stat-divider { display: none; }
  #map { height: 320px; }
  .station-img-wrap { height: 210px; }
  .finance-total { font-size: 2.4rem; }
  .timeline-content { padding: 16px 18px; }
  .map-legend { padding: 14px 16px; }
  #aerialPane img { max-height: 280px; }
}

/* ── Responsive – ≤575 ──────────────────────────────────────────── */
@media (max-width: 575.98px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-light-custom { width: 100%; text-align: center; }
  .counter-section .count { font-size: 1.6rem; }
  .c-unit { font-size: .85rem; }
  .section-title { font-size: 1.55rem; }
  blockquote { padding: 18px 18px !important; }
  blockquote p { font-size: 1rem !important; }
}

/* ── Print ──────────────────────────────────────────────────────── */
@media print {
  #mainNav, .scroll-down, #unterstuetzung { display: none !important; }
  #hero { min-height: auto; padding: 40px 0; }
  * { -webkit-print-color-adjust: exact !important; }
}

/* ================================================================
   MULTI-PAGE EXTENSIONS
   Additional styles for the multi-page PHP site
   ================================================================ */

/* ── Utility ────────────────────────────────────────────────────── */
.py-6 { padding-top:  5rem !important; padding-bottom:  5rem !important; }
.mb-6 { margin-bottom: 5rem !important; }
.text-muted-light { color: rgba(255,255,255,.65) !important; }
.bg-eco-subtle { background: rgba(45,175,101,.1) !important; }
.border-eco { border-color: var(--eco) !important; }
.btn-outline-eco {
  color: var(--eco); border: 2px solid var(--eco);
  border-radius: 50px; padding: 10px 28px; font-weight: 700;
  transition: var(--transition);
}
.btn-outline-eco:hover { background: var(--eco); color: #fff; }

/* ── Navbar eco CTA ─────────────────────────────────────────────── */
.btn-eco-nav {
  background: var(--eco);
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 20px !important;
  font-weight: 700;
  transition: var(--transition);
}
.btn-eco-nav:hover { background: #249a57; transform: translateY(-1px); }

/* ── Page Hero ──────────────────────────────────────────────────── */
.page-hero { padding-top: calc(var(--navbar-h) + 2rem); }
.page-hero .lead { color: rgba(255,255,255,.75); }

/* ── Hero Scroll Arrow ──────────────────────────────────────────── */
.hero-scroll-arrow {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: 1.8rem;
  animation: arrowBounce 1.8s ease-in-out infinite;
  text-decoration: none;
  z-index: 5;
}
.hero-scroll-arrow:hover { color: #fff; }
@keyframes arrowBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Hero Cable SVG ─────────────────────────────────────────────── */
.hero-cable-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

/* ── Hero Fact Cards ─────────────────────────────────────────────── */
.hero-fact-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  backdrop-filter: blur(6px);
}
.hero-fact-num  { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.hero-fact-label{ font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; margin-top: .25rem; }

/* ── Counter Bar ────────────────────────────────────────────────── */
.counter-bar { border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.counter-item { padding: 1rem; }
.counter-num   { display: block; font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 800; color: var(--eco); line-height: 1.1; }
.counter-label { display: block; font-size: .7rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; margin-top: .3rem; }

/* ── Map Container ──────────────────────────────────────────────── */
.map-container { width: 100%; height: 480px; min-height: 300px; }

/* ── Problem Stats ──────────────────────────────────────────────── */
.problem-stat .badge { font-size: .78rem; border-radius: 50px; }

/* ── Solution Box ───────────────────────────────────────────────── */
.solution-box { border: 1px solid rgba(255,255,255,.08); }

/* ── Upgrade Cards ──────────────────────────────────────────────── */
.upgrade-card { transition: var(--transition); border-radius: var(--radius-md) !important; }
.upgrade-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── VBSH Box ───────────────────────────────────────────────────── */
.vbsh-box { transition: var(--transition); }

/* ── Turm Box ───────────────────────────────────────────────────── */
.turm-box { border: 1px solid rgba(255,255,255,.08); }
.turm-stat { background: rgba(255,255,255,.07); padding: .5rem 1rem; border-radius: 50px; font-size: .9rem; }

/* ── Kabinen Features ───────────────────────────────────────────── */
.kabinen-feature { transition: var(--transition); border-radius: var(--radius-sm) !important; }
.kabinen-feature:hover { background: var(--primary) !important; }
.kabinen-feature:hover strong, .kabinen-feature:hover div { color: #fff !important; }
.kabinen-feature:hover i { color: #fff !important; }

/* ── Betrieb Banner ─────────────────────────────────────────────── */
.betrieb-banner { border: 1px solid rgba(255,255,255,.08); }
.betrieb-num  { font-size: 2rem; font-weight: 800; line-height: 1.1; }
.betrieb-label{ font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }

/* ── Vorteil Cards ──────────────────────────────────────────────── */
.vorteil-icon { height: 56px; display: flex; align-items: center; justify-content: center; }

/* ── Tech Highlight Cards ───────────────────────────────────────── */
.tech-highlight-card { transition: var(--transition); }
.tech-highlight-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

/* ── Finance Bars ───────────────────────────────────────────────── */
.fin-bar-item .progress { border-radius: 8px; background: var(--border); }
.fin-bar { transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.total-invest-box { border: 1px solid rgba(255,255,255,.08); }
.bg-eco { background: var(--eco) !important; }
.progress-bar.bg-eco { background-color: var(--eco) !important; }

/* ── Timeline ───────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 3.5rem; }
.timeline::before {
  content: '';
  position: absolute; left: 22px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 2.5rem; }
.timeline-dot {
  position: absolute; left: -3.5rem; top: 1.2rem;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 3px solid currentColor;
  background: #fff;
  z-index: 1;
}
.bg-eco.timeline-dot  { background: var(--eco); border-color: var(--eco); }
.bg-primary.timeline-dot { background: var(--primary); border-color: var(--primary); }
.bg-warning.timeline-dot { background: var(--warning); border-color: var(--warning); }
.bg-secondary.timeline-dot { background: #6c757d; border-color: #6c757d; }

/* ── Support Cards ──────────────────────────────────────────────── */
.support-card { transition: var(--transition); border-radius: var(--radius-md) !important; }
.support-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── Petition Counter Box ───────────────────────────────────────── */
.petition-counter-box { border: 1px solid rgba(255,255,255,.1); }

/* ── Signatory Cards ────────────────────────────────────────────── */
.signatory-card { border-radius: var(--radius-md) !important; transition: var(--transition); }
.signatory-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.signatory-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.signatory-avatar--initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.signatory-avatar--photo { border: 2px solid var(--border); }

/* Infinite scroll fade-in */
.sig-card-wrap {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease;
}
.sig-card-wrap.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Back to Top ────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff;
  border: none; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  cursor: pointer;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

@media (max-width: 767.98px) {
  .map-container { height: 320px; }
  .page-hero { padding-top: calc(var(--navbar-h) + 1rem); }
}

/* ================================================================
   FIXES: Kontrast, Skyline, Mobile-Hero-Animation
   ================================================================ */

/* ── 1. Stadtsilhouette: SVG-Datei → assets/images/skyline-sh.svg ── */

/* ── 2. Kontrast: kein schwarzer Text auf dunklen Hintergründen ─── */

/* footer */
footer .footer-desc { color: rgba(255,255,255,.6); }
footer p,
footer span,
footer div { color: inherit; }

/* Dark sections: only elements actually on dark backgrounds */
.bg-dark-2 p,
.bg-dark-2 span,
.bg-dark-2 div,
.bg-dark-3 p,
.bg-dark-3 span,
.bg-dark-3 div,
.counter-bar p,
.counter-bar span,
.counter-bar div {
  color: inherit;
}

/* Bootstrap .text-muted ist rgba(0,0,0,.55) – auf dunklem BG unsichtbar/schlecht */
footer .text-muted,
.bg-dark .text-muted,
.bg-dark-2 .text-muted,
.bg-dark-3 .text-muted,
[style*="background:var(--dark)"] .text-muted,
[style*="background:linear-gradient(135deg,#0a1628"] .text-muted {
  color: rgba(255,255,255,.55) !important;
}

/* Sicherstellen dass alle dark-bg Sektionen weissen Text haben */
[style*="background:var(--dark)"],
[style*="background:var(--dark-2)"],
[style*="background:var(--dark-3)"],
[style*="background:linear-gradient(135deg,#0a1628"],
[style*="background:linear-gradient(135deg, #0a1628"] {
  color: rgba(255,255,255,.85);
}
[style*="background:var(--dark)"] h2,
[style*="background:var(--dark)"] h3,
[style*="background:var(--dark)"] h4,
[style*="background:var(--dark)"] h5,
[style*="background:var(--dark-2)"] h2,
[style*="background:var(--dark-2)"] h3,
[style*="background:var(--dark-2)"] h4,
[style*="background:var(--dark-2)"] h5 {
  color: #fff;
}

/* Petition Dark Box */
.bg-dark-3.text-white p,
.bg-dark-3.text-white span,
.bg-dark-3.text-white div {
  color: rgba(255,255,255,.85);
}
.petition-counter-box .text-muted { color: rgba(255,255,255,.6) !important; }

/* ── 3. Mobile Hero: Seilbahn-Animation sichtbarer machen ─────────── */
@media (max-width: 767.98px) {
  /* Hero auf Mobile höher damit Animation sichtbar */
  #hero {
    min-height: 100svh;
    padding-top: calc(var(--navbar-h) + 1rem);
    padding-bottom: 5rem;
  }

  /* Seilbahn-SVG auf Mobile grösser / sichtbarer */
  .hero-cable-svg {
    opacity: 1;
    z-index: 0;
  }

  /* Stadtsilhouette auf Mobile etwas flacher */
  .hero-city-line {
    height: 160px;
    background-size: 200% auto;
    background-position: 40% bottom;
  }

  /* Key Facts Karten auf Mobile kompakter */
  .hero-fact-card {
    padding: .75rem .5rem;
  }
  .hero-fact-num { font-size: 1.3rem; }

  /* Seilbahn-Gondeln auf Mobile: Kabel sichtbarer */
  #heroCable path[stroke],
  #heroCable line {
    stroke-width: 4 !important;
    opacity: 1 !important;
  }
  /* Gondeln-Gruppe auf Mobile größer darstellen */
  #heroCable g {
    transform-origin: 0 0;
  }
}

@media (max-width: 575.98px) {
  #hero { min-height: 100svh; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  /* Kabel und Gondeln prominenter */
  .hero-cable-svg { opacity: 1; }
}
