/* ============================================
   Traun Trails · Webseite
   ============================================ */

:root {
  /* Brand palette */
  --bg-cream:        #f4ede0;
  --bg-cream-2:      #ebe0cc;
  --bg-deep:         #15201b;
  --bg-forest:       #233a2c;
  --bg-stone:        #2a2722;
  --paper:           #faf6ee;

  --ink:             #1a1410;
  --ink-soft:        #5a4e44;
  --ink-muted:       #8b7d6f;

  --accent-sun:      oklch(0.72 0.14 55);
  --accent-sun-deep: oklch(0.58 0.15 45);
  --accent-sun-rgb:  217, 134, 64;
  --accent-forest:   oklch(0.45 0.06 150);
  --accent-sky:      oklch(0.62 0.07 230);
  --accent-script:   oklch(0.72 0.14 55);

  --rule-dark:       rgba(26,20,16,0.14);
  --rule-light:      rgba(244,237,224,0.18);

  --nav-h:           72px;
  --max-w:           1240px;
  --max-w-narrow:    880px;

  --easing:          cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============ Base ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; }


/* ============ Reveal Animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--easing), transform 0.9s var(--easing);
  transition-delay: var(--delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}


/* ============ Navigation ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(244,237,224,0);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(244,237,224,0.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--rule-dark);
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--bg-cream);
  transition: color 0.3s ease;
}
.nav-inner{gap:24px}
.nav-lockup{display:flex;flex-direction:column;line-height:1.1;white-space:nowrap}
@media (max-width:1040px) and (min-width:881px){.nav-line{display:none}.nav-links{gap:22px}}
.nav-name{font-size:18px;font-weight:700;letter-spacing:0.01em}
.nav-line{font-family:"JetBrains Mono",monospace;font-size:10px;font-weight:500;letter-spacing:0.16em;text-transform:uppercase;opacity:0.75;margin-top:3px}
.hero-title .hero-line2-sm{font-size:0.5em;font-weight:600;letter-spacing:-0.01em;margin-top:0.25em}
.footer-line{font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:0.16em;text-transform:uppercase;color:rgba(244,237,224,0.6);margin:-6px 0 12px}
.nav-mark { width: 28px; height: 28px; color: var(--bg-cream); transition: color 0.3s ease; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(244,237,224,0.78);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--bg-cream); }
.nav-cta {
  background: var(--accent-sun);
  color: #1a0e08 !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s;
}
.nav-cta:hover { background: #f3a868; color: #1a0e08 !important; }

/* Scrolled state: switch to dark text on cream background */
.nav.scrolled .nav-brand { color: var(--ink); }
.nav.scrolled .nav-mark { color: var(--ink); }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav.scrolled .nav-cta {
  background: var(--ink);
  color: var(--bg-cream) !important;
}
.nav.scrolled .nav-cta:hover { background: var(--accent-sun-deep); color: #fff !important; }

.nav-burger { display: none; }


/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
  color: var(--bg-cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 90%, rgba(217,134,64,0.25), transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 30%, rgba(180,80,40,0.15), transparent 60%),
    linear-gradient(170deg, #0e1815 0%, #15201b 35%, #1a2820 65%, #3a2a20 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 600'%3E%3Cpath d='M0,440 L240,260 L380,340 L580,180 L780,300 L980,200 L1180,320 L1400,240 L1600,300 L1600,600 L0,600 Z' fill='%23131a17'/%3E%3Cpath d='M0,480 L180,340 L360,400 L540,320 L760,380 L960,300 L1180,400 L1380,330 L1600,380 L1600,600 L0,600 Z' fill='%23090d0c' opacity='0.85'/%3E%3C/svg%3E") no-repeat bottom center / cover;
  opacity: 0.95;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-sun);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.hero-title .line1, .hero-title .line2 {
  display: block;
}
.hero-script {
  display: block;
  font-family: "Caveat", cursive;
  font-weight: 400;
  font-size: clamp(64px, 10vw, 144px);
  color: var(--accent-script);
  line-height: 0.9;
  margin-top: 18px;
}
.hero-sub {
  margin-top: 36px;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(244,237,224,0.8);
  max-width: 760px;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  background: var(--accent-sun);
  color: #1a0e08;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: #f3a868; transform: translateY(-2px); }
.btn-large { padding: 18px 36px; font-size: 17px; }
.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(244,237,224,0.4);
  color: var(--bg-cream);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(244,237,224,0.1); border-color: var(--bg-cream); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.55);
  z-index: 3;
}

/* WIP / Arbeitsstand sticker (Hero) — disabled (removed from index)
.hero-wip {
  position: absolute;
  top: calc(var(--nav-h) + 20px);
  right: 40px;
  z-index: 4;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--accent-sun);
  color: #1a0e08;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(217,134,64,0.18),
    0 18px 48px rgba(0,0,0,0.45),
    inset 0 -3px 0 rgba(0,0,0,0.18);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  padding: 18px;
  transform: rotate(10deg);
  pointer-events: none;
  animation: wipDrop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
.hero-wip::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px dashed rgba(26,14,8,0.35);
  border-radius: 50%;
}
.hero-wip-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  opacity: 0.78;
  margin-bottom: 6px;
}
.hero-wip-main {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.hero-wip-script {
  font-family: "Caveat", cursive;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  margin-top: 8px;
  color: #2a1a0e;
}
.hero-wip-sub {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 7px;
}
@keyframes wipDrop {
  0% { transform: rotate(-30deg) scale(0.2); opacity: 0; }
  100% { transform: rotate(10deg) scale(1); opacity: 1; }
}
@media (max-width: 880px) {
  .hero-wip { width: 130px; height: 130px; right: 16px; padding: 14px; }
  .hero-wip-kicker { font-size: 9px; margin-bottom: 4px; }
  .hero-wip-main { font-size: 16px; }
  .hero-wip-script { font-size: 18px; margin-top: 6px; }
  .hero-wip-sub { font-size: 7px; margin-top: 5px; }
}
.scroll-dot {
  width: 2px;
  height: 38px;
  background: linear-gradient(to bottom, var(--accent-sun), transparent);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}


/* ============ Sections ============ */
.section {
  padding: 120px 32px;
}
.section-cream  { background: var(--bg-cream); }
.section-paper  { background: var(--paper); }
.section-deep   { background: var(--bg-deep); color: var(--bg-cream); }
.section-forest { background: var(--bg-forest); color: var(--bg-cream); }
.section-stone  { background: var(--bg-stone); color: var(--bg-cream); }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}
.wrap-narrow {
  max-width: var(--max-w-narrow);
}

.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-sun-deep);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 56px;
  text-wrap: balance;
  max-width: 980px;
}
.section-stone .section-title, .section-deep .section-title, .section-forest .section-title {
  color: var(--bg-cream);
}

.script-inline {
  font-family: "Caveat", cursive;
  font-weight: 500;
  color: var(--accent-script);
  font-size: 0.9em;
}

.callout {
  margin-top: 48px;
  padding: 28px 36px;
  background: var(--bg-cream-2);
  border-left: 4px solid var(--accent-sun);
  font-size: 1.18rem;
  line-height: 1.5;
  max-width: 1100px;
}
.callout-mini {
  margin-top: 48px;
  padding: 20px 28px;
  background: rgba(244,237,224,0.06);
  border-left: 3px solid var(--accent-sun);
  font-size: 1.05rem;
  color: rgba(244,237,224,0.85);
  max-width: 1000px;
}

.source-line {
  margin-top: 48px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}


/* ============ Three-up Cards (Drei Entwicklungen) ============ */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.dev-card { }
.dev-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-sun-deep);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.dev-card h3 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 14px;
}
.dev-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}


/* ============ Stat Row (Marktzahlen) ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 64px;
}
.stat-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 16px;
}
.stat-big {
  font-size: clamp(64px, 7vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
  color: var(--ink);
  margin-bottom: 18px;
}
.stat p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.two-col-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--rule-dark);
}
.two-col-text p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }


/* ============ Split sections (Photo + Text) ============ */
.split-section .wrap.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #15110c;
  aspect-ratio: 4 / 3;
}
.split-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04) brightness(0.94) sepia(0.10);
}
.photo-tag {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(6px);
  color: var(--bg-cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  padding: 6px 12px;
  letter-spacing: 0.04em;
}

.split-text .section-title { margin-bottom: 32px; }

.clean-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.clean-list li {
  font-size: 16px;
  line-height: 1.55;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--rule-dark);
  position: relative;
}
.clean-list li:last-child { border-bottom: none; }
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 22px;
  width: 12px; height: 12px;
  background: var(--accent-sun);
}
.section-stone .clean-list li, .section-forest .clean-list li {
  border-color: var(--rule-light);
  color: rgba(244,237,224,0.88);
}

blockquote {
  margin-top: 28px;
  padding: 22px 28px;
  background: var(--paper);
  border-left: 4px solid var(--accent-sun-deep);
  font-size: 1.05rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink);
}
blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}


/* ============ Vision Cards (Zwei Säulen) ============ */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.vision-card {
  background: var(--paper);
  color: var(--ink);
  padding: 44px 40px 40px;
  border-top: 4px solid var(--accent-sun);
  transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}
.vision-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.18);
}
.vision-card.forest { border-top-color: var(--accent-forest); }
.vision-eye {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.vision-card h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.1;
}
.vision-sub {
  color: var(--ink-muted);
  font-size: 17px;
  margin-bottom: 20px;
}
.vision-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-block;
  padding: 6px 14px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pill-sun    { color: var(--accent-sun-deep); }
.pill-forest { color: var(--accent-forest); }


/* ============ Map ============ */
.map-frame {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(74,122,94,0.12), transparent 70%),
    radial-gradient(ellipse 60% 50% at 75% 35%, rgba(217,134,64,0.12), transparent 70%),
    #efe6d4;
  border: 1px solid var(--rule-dark);
  padding: 20px;
}
.map-frame svg {
  width: 100%; height: auto;
  display: block;
}
.map-legend {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.sw { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: middle; }
.sw-orange { background: var(--accent-sun); }
.sw-green  { background: var(--accent-forest); }
.sw-ink    { background: var(--ink); }


/* ============ Stages ============ */
.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stage {
  padding: 30px 28px;
  background: var(--bg-cream);
  border-top: 4px solid var(--accent-sun);
  display: flex; flex-direction: column;
}
.stage:nth-child(2) { opacity: 0.96; }
.stage:nth-child(3) { opacity: 0.85; }
.stage-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent-sun-deep);
  margin-bottom: 14px;
}
.stage h3 { font-size: 26px; font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.stage p  { color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin-bottom: 20px; }
.stage-cost {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--rule-dark);
}
.stage-cost span {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.stage-cost small {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
}


/* ============ Exchange (Tausch-Prinzip) ============ */
.exchange {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
}
.ex-side {
  padding: 36px;
  background: var(--paper);
}
.ex-side.before { border-top: 4px solid #b04a3a; }
.ex-side.after  { border-top: 4px solid var(--accent-forest); }
.ex-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 44px;
  color: var(--accent-sun);
}
.ex-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
}
.ex-side h3 { font-size: 26px; font-weight: 600; margin: 12px 0 18px; }
.ex-side ul { list-style: none; padding: 0; }
.ex-side li {
  font-size: 15px;
  line-height: 1.45;
  padding: 10px 0;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-dark);
}
.ex-side li:last-child { border-bottom: none; }


/* ============ KPI Grid (Marquartstein) ============ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.kpi-grid > div { }
.kpi-num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 44px;
  font-weight: 700;
  color: var(--accent-sun);
  line-height: 0.9;
  margin-bottom: 8px;
}
.kpi-grid small {
  font-size: 13px;
  color: rgba(244,237,224,0.55);
  letter-spacing: 0.04em;
}


/* ============ Bayern Table ============ */
.bayern-table {
  background: rgba(244,237,224,0.05);
  border-left: 4px solid var(--accent-sun);
  padding: 24px 28px;
  overflow-x: auto;
}
.bayern-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.bayern-table th, .bayern-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(244,237,224,0.10);
  color: rgba(244,237,224,0.88);
}
.bayern-table th {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.55);
  font-weight: 600;
  border-bottom: 2px solid rgba(244,237,224,0.25);
}
.bayern-table .num { font-family: "JetBrains Mono", monospace; font-weight: 600; }


/* ============ Partners ============ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.partner-card {
  padding: 28px 22px;
  background: var(--paper);
  border-top: 4px solid var(--accent-sun);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s var(--easing);
}
.partner-card:hover { transform: translateY(-3px); }
.partner-card.r2 { border-top-color: var(--accent-forest); }
.partner-card.r3 { border-top-color: var(--accent-sky); }
.partner-card.r4 { border-top-color: var(--ink); }
.partner-card.r5 { border-top-color: var(--accent-sun-deep); }
.p-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
}
.partner-card h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.15;
}
.partner-card ul { list-style: none; padding: 0; }
.partner-card li {
  font-size: 14px;
  line-height: 1.4;
  padding: 5px 0 5px 14px;
  color: var(--ink-soft);
  position: relative;
}
.partner-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  background: var(--accent-sun);
  border-radius: 50%;
}
.partner-card.r2 li::before { background: var(--accent-forest); }
.partner-card.r3 li::before { background: var(--accent-sky); }
.partner-card.r4 li::before { background: var(--ink); }
.partner-card.r5 li::before { background: var(--accent-sun-deep); }

.footnote {
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-soft);
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}


/* ============ Potenzial Grid ============ */
.potenzial-grid {
  display: grid;
  grid-template-columns: 11fr 9fr;
  gap: 40px;
}
.potenzial-chart, .potenzial-breakdown {
  padding: 28px 32px;
  background: rgba(244,237,224,0.05);
  border-left: 4px solid var(--accent-sun);
}
.mini-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-sun);
  margin-bottom: 22px;
}

.bar-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}
.bar-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: rgba(244,237,224,0.7);
  line-height: 1.3;
}
.bar-label small {
  font-size: 12px;
  color: rgba(244,237,224,0.42);
}
.bar-track {
  position: relative;
  height: 32px;
  background: rgba(244,237,224,0.04);
}
.bar {
  height: 100%;
  background: var(--accent-sun);
  transition: width 1.4s var(--easing);
  width: 0 !important;
}
.bar.in {
  /* set inline width takes over once class .in is added */
}
.bar-light { background: rgba(217,134,64,0.45); }
.bar-full  { background: var(--accent-sun); }
.bar-dashed {
  background: rgba(217,134,64,0.22);
  border: 1px dashed rgba(244,237,224,0.32);
}
.bar-value {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 600;
  color: rgba(244,237,224,0.92);
}
.bar-value.strong { font-weight: 700; font-size: 17px; color: #fff; }
.bar-value.muted { color: rgba(244,237,224,0.7); }

.chart-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(244,237,224,0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(244,237,224,0.5);
  line-height: 1.5;
}

.break-intro {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: rgba(244,237,224,0.5);
  margin-bottom: 20px;
}
.break-item { margin-bottom: 20px; }
.break-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}
.break-head span {
  font-size: 17px;
  font-weight: 600;
  color: var(--bg-cream);
}
.break-head strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-sun);
}
.break-bar {
  height: 8px;
  background: rgba(244,237,224,0.06);
  overflow: hidden;
}
.break-bar > div {
  height: 100%;
  background: var(--accent-sun);
  width: 0;
  transition: width 1.6s var(--easing);
}
.break-bar.in > div { /* width set via inline */ }
.break-foot {
  margin-top: 6px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: rgba(244,237,224,0.4);
}

.deep-callout {
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(244,237,224,0.04);
  border-left: 3px solid var(--accent-sun);
  color: rgba(244,237,224,0.85);
  font-size: 15px;
  line-height: 1.5;
}
.deep-callout strong { color: var(--accent-sun); }


/* ============ Timeline ============ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.tl-step {
  padding-top: 28px;
  border-top: 3px solid var(--accent-sun);
}
.tl-when {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-sun-deep);
  margin-bottom: 12px;
  display: block;
}
.tl-step h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.tl-step p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}


/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: var(--bg-cream);
  border-left: 3px solid var(--accent-sun);
  overflow: hidden;
}
.faq summary {
  padding: 22px 28px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "JetBrains Mono", monospace;
  font-size: 24px;
  color: var(--accent-sun-deep);
  transition: transform 0.3s var(--easing);
}
.faq[open] summary::after { content: "−"; }
.faq[open] summary { background: rgba(217,134,64,0.06); }
.faq p {
  padding: 0 28px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.faq p a { color: var(--accent-sun-deep); text-decoration: underline; }


/* ============ Contact Form ============ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.7);
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  background: rgba(244,237,224,0.08);
  border: 1.5px solid rgba(244,237,224,0.2);
  color: var(--bg-cream);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-sun);
  background: rgba(244,237,224,0.12);
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.form-field select option { background: var(--bg-forest); color: var(--bg-cream); }

/* Form fields on light sections (cream/paper) — readable contrast */
.section-cream .form-field input,
.section-cream .form-field select,
.section-cream .form-field textarea,
.section-paper .form-field input,
.section-paper .form-field select,
.section-paper .form-field textarea {
  background: #fff;
  border: 1.5px solid rgba(26,20,16,0.18);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(26,20,16,0.04);
}
.section-cream .form-field input::placeholder,
.section-cream .form-field textarea::placeholder,
.section-paper .form-field input::placeholder,
.section-paper .form-field textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.7;
}
.section-cream .form-field input:focus,
.section-cream .form-field select:focus,
.section-cream .form-field textarea:focus,
.section-paper .form-field input:focus,
.section-paper .form-field select:focus,
.section-paper .form-field textarea:focus {
  border-color: var(--accent-sun);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(217,134,64,0.18);
}
.section-cream .form-field label,
.section-paper .form-field label {
  color: var(--ink);
}

/* Honeypot field — visually hidden but still in DOM for bots to fill */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.form-field.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.form-field.checkbox input {
  width: 20px; height: 20px;
  margin-top: 3px;
  accent-color: var(--accent-sun);
}
.form-field.checkbox label {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(244,237,224,0.75);
  font-weight: 400;
}
.form-field.checkbox label a {
  color: var(--accent-sun);
  text-decoration: underline;
}

/* Bedarf form — fieldsets, check-items, radio-items, hints */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-fieldset legend {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  padding: 0;
  margin-bottom: 4px;
}
.form-hint {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-muted);
  margin-left: 4px;
}
.form-checks,
.form-radios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.check-item,
.radio-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(26,20,16,0.04);
  border: 1px solid rgba(26,20,16,0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  font-size: 0.95rem;
  line-height: 1.4;
}
.check-item:hover,
.radio-item:hover {
  background: rgba(217,134,64,0.08);
  border-color: rgba(217,134,64,0.4);
}
.check-item input,
.radio-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent-sun);
  flex-shrink: 0;
}
.check-item input:checked + span,
.radio-item input:checked + span {
  font-weight: 600;
  color: var(--ink);
}
.check-item span,
.radio-item span {
  color: var(--ink-soft);
}

/* On dark sections (section-forest), invert form-fieldset legend colors */
.section-forest .form-fieldset legend { color: rgba(244,237,224,0.65); }
.section-forest .check-item,
.section-forest .radio-item {
  background: rgba(244,237,224,0.06);
  border-color: rgba(244,237,224,0.12);
}
.section-forest .check-item:hover,
.section-forest .radio-item:hover {
  background: rgba(217,134,64,0.15);
  border-color: rgba(217,134,64,0.45);
}
.section-forest .check-item span,
.section-forest .radio-item span { color: rgba(244,237,224,0.85); }
.section-forest .check-item input:checked + span,
.section-forest .radio-item input:checked + span { color: var(--bg-cream); }
.section-forest .form-hint { color: rgba(244,237,224,0.5); }
.form-status {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent-sun);
  background: rgba(244,237,224,0.06);
  color: var(--bg-cream);
}
.section-cream .form-status,
.section-paper .form-status {
  background: rgba(217,134,64,0.10);
  color: var(--ink);
  font-weight: 500;
}


/* ============ Footer ============ */
.footer {
  background: var(--bg-stone);
  color: var(--bg-cream);
  padding: 80px 32px 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-mark {
  width: 32px; height: 32px;
  margin-bottom: 18px;
}
.footer-brand h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(244,237,224,0.6);
  line-height: 1.6;
  max-width: 360px;
}
.footer h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,237,224,0.5);
  font-weight: 600;
  margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li {
  padding: 6px 0;
  font-size: 14px;
  color: rgba(244,237,224,0.78);
}
.footer ul a { transition: color 0.2s; }
.footer ul a:hover { color: var(--accent-sun); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 24px;
  border-top: 1px solid rgba(244,237,224,0.12);
  font-size: 12px;
  font-family: "JetBrains Mono", monospace;
  color: rgba(244,237,224,0.45);
  letter-spacing: 0.04em;
}
.footer-script {
  font-family: "Caveat", cursive;
  font-size: 26px;
  color: var(--accent-script);
  letter-spacing: 0;
}


/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .partner-card:nth-child(4), .partner-card:nth-child(5) { grid-column: span 1; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 880px) {
  .section { padding: 80px 24px; }
  .nav-links { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
  }
  .nav-burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--bg-cream);
    transition: transform 0.3s, opacity 0.3s, background 0.3s;
  }
  .nav.scrolled .nav-burger span { background: var(--ink); }
  .nav.mobile-open .nav-links {
    display: flex;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  }
  .nav.mobile-open .nav-links a {
    padding: 16px 32px;
    border-bottom: 1px solid var(--rule-dark);
    font-size: 16px;
  }
  .three-up, .stat-row, .timeline, .stages, .partners-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split-section .wrap.split-grid,
  .vision-grid,
  .potenzial-grid,
  .two-col-text,
  .form-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .exchange {
    grid-template-columns: 1fr;
  }
  .ex-arrow {
    transform: rotate(90deg);
    padding: 16px 0;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .bar-row { grid-template-columns: 100px 1fr; gap: 16px; }
}

/* ============ v2: Stand / Ideen / Träger / Unterstützen ============ */
a{color:var(--accent-sun-deep)}a:hover{color:var(--accent-forest)}
.section-lede{font-size:1.1rem;color:var(--ink-soft);max-width:720px;margin:-8px 0 48px;line-height:1.55;text-wrap:pretty}
.hero-status{margin-top:28px;display:inline-flex;align-items:center;gap:12px;padding:10px 18px;border:1px solid rgba(244,237,224,0.3);border-radius:999px;background:rgba(26,20,16,0.35);color:var(--bg-cream);font-size:15px}
.hs-dot{width:10px;height:10px;border-radius:50%;background:var(--accent-sun);box-shadow:0 0 0 0 rgba(217,134,64,0.6);animation:hsPulse 2s infinite}
@keyframes hsPulse{0%{box-shadow:0 0 0 0 rgba(217,134,64,0.6)}70%{box-shadow:0 0 0 10px rgba(217,134,64,0)}100%{box-shadow:0 0 0 0 rgba(217,134,64,0)}}
.timeline{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;counter-reset:tl}
.tl-step{position:relative;padding:34px 24px 28px 0;border-top:3px solid var(--rule-dark);counter-increment:tl}
.tl-step::before{content:counter(tl,decimal-leading-zero);position:absolute;top:-15px;left:0;width:28px;height:28px;border-radius:50%;background:var(--bg-cream);border:3px solid var(--rule-dark);font-family:"JetBrains Mono",monospace;font-size:0;}
.tl-step.done{border-top-color:var(--accent-forest)}
.tl-step.done::before{background:var(--accent-forest);border-color:var(--accent-forest)}
.tl-step.now{border-top-color:var(--accent-sun)}
.tl-step.now::before{background:var(--accent-sun);border-color:var(--accent-sun);animation:hsPulse 2s infinite}
.tl-step.goal::before{border-color:var(--ink)}
.tl-badge{display:inline-block;font-family:"JetBrains Mono",monospace;font-size:11px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--ink-muted);margin-bottom:10px}
.tl-step.done .tl-badge{color:var(--accent-forest)}
.tl-step.now .tl-badge{color:var(--accent-sun-deep)}
.tl-step h3{font-size:19px;font-weight:600;line-height:1.2;margin:0 0 8px}
.tl-step p{font-size:15px;line-height:1.5;color:var(--ink-soft);margin:0;text-wrap:pretty}
.idea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.idea-card{background:var(--paper);padding:30px 28px;border-top:3px solid var(--accent-forest)}
.idea-num{font-family:"JetBrains Mono",monospace;font-size:13px;font-weight:600;letter-spacing:0.14em;color:var(--accent-forest)}
.idea-card h3{font-size:21px;font-weight:600;margin:10px 0 10px;line-height:1.2}
.idea-card p{font-size:15.5px;line-height:1.55;color:var(--ink-soft);margin:0}
.traeger-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:64px;align-items:center}
.traeger-logo{aspect-ratio:1;border:2px dashed rgba(244,237,224,0.35);border-radius:8px;display:flex;align-items:center;justify-content:center;text-align:center;font-family:"JetBrains Mono",monospace;font-size:13px;letter-spacing:0.1em;text-transform:uppercase;color:rgba(244,237,224,0.6)}
.traeger-text{font-size:1.15rem;line-height:1.6;color:rgba(244,237,224,0.85);max-width:760px}
.traeger-note{margin-top:18px;font-family:"JetBrains Mono",monospace;font-size:13px;letter-spacing:0.08em;color:var(--accent-sun)}
.beteiligte-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.perspektive{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:48px;align-items:center;background:var(--bg-cream);padding:24px;border-left:4px solid var(--accent-sun)}
.perspektive img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.perspektive h3{font-size:26px;font-weight:600;margin:14px 0 12px;line-height:1.2}
.perspektive p{font-size:16px;line-height:1.6;color:var(--ink-soft);margin:0;max-width:640px}
.support-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:56px}
.support-card{background:var(--paper);padding:26px 24px;border-top:3px solid var(--accent-sun)}
.support-card h3{font-size:19px;font-weight:600;margin:0 0 10px}
.support-card p{font-size:15px;line-height:1.5;color:var(--ink-soft);margin:0}
.support-form{max-width:var(--max-w-narrow)}
@media (max-width:1100px){.timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:880px){.idea-grid,.beteiligte-grid{grid-template-columns:1fr}.traeger-grid{grid-template-columns:1fr;gap:32px}.traeger-logo{width:180px}.perspektive{grid-template-columns:1fr;gap:20px}}
@media (max-width:600px){.timeline,.support-grid{grid-template-columns:1fr}.tl-step{padding-right:0}}

/* ============ Dunkle Abschnitte: Hilfsklassen ============ */
.section-forest .eyebrow,.section-stone .eyebrow{color:var(--accent-sun)}
.dark-lead{color:rgba(244,237,224,0.78);font-size:1.15rem}
.dark-aside{margin-top:56px;padding-top:32px;border-top:1px solid rgba(244,237,224,0.15);color:rgba(244,237,224,0.65);font-size:0.95rem}
.dark-aside strong{color:var(--bg-cream)}
.section-forest a,.dark-aside a{color:var(--accent-sun)}

/* ============ Vorschau-Umschalter ============ */
.theme-switch{position:fixed;right:16px;bottom:16px;z-index:200;display:flex;align-items:center;gap:4px;padding:4px 4px 4px 12px;background:#fff;border:1px solid var(--rule-dark);border-radius:999px;box-shadow:0 6px 20px rgba(26,20,16,0.12);font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:0.1em;text-transform:uppercase;color:var(--ink-muted)}
.theme-switch span{margin-right:6px}
.theme-switch button{border:0;background:transparent;font:inherit;color:var(--ink-soft);padding:7px 12px;border-radius:999px;cursor:pointer}
.theme-switch button.on{background:var(--ink);color:#fff}

/* ============ Helles Farbschema (angelehnt an Ruhpolding / Inzell) ============ */
.theme-light{
  --navy:#1f3a5f;--navy-deep:#16294a;--lime:#9dbf3d;--lime-hover:#8bad2e;--lime-ink:#557218;
  --lime-tint:#f2f7e6;--sky-tint:#f1f4f8;--paper:#ffffff;--bg-cream:#f6f7f5;
  --ink:#1c2b3a;--ink-soft:#4b5866;--ink-muted:#7a8592;--rule-dark:rgba(31,58,95,0.14);
  --accent-forest:var(--lime-ink);--accent-sun:var(--lime);--accent-sun-deep:var(--lime-ink);
}
.theme-light body{background:#fff;color:var(--ink)}
.theme-light h1,.theme-light h2,.theme-light h3,.theme-light .section-title{color:var(--navy)}
.theme-light .section a{color:var(--navy)}.theme-light .section a:hover{color:var(--lime-ink)}
.theme-light .nav:not(.scrolled) .nav-brand,.theme-light .nav:not(.scrolled) .nav-mark{color:#fff}
.theme-light .nav:not(.scrolled) .nav-links a:not(.nav-cta){color:rgba(255,255,255,0.88)}
.theme-light .nav:not(.scrolled) .nav-links a:not(.nav-cta):hover{color:#fff}
/* Hero: Vollbild-Foto mit weißer Schrift, wie bei den Gemeinde-Seiten */
.theme-light .hero{color:#fff}
.theme-light .hero-bg{background:linear-gradient(90deg,rgba(16,30,50,0.6) 0%,rgba(16,30,50,0.35) 45%,rgba(16,30,50,0) 75%),linear-gradient(180deg,rgba(16,30,50,0.45) 0%,rgba(16,30,50,0) 25%,rgba(16,30,50,0) 70%,rgba(16,30,50,0.5) 100%),url("images/zinnkopf-trail.jpeg") center/cover no-repeat}
.theme-light .hero-bg::after{display:none}
.theme-light .hero-title,.theme-light .hero-title span{color:#fff;text-shadow:0 2px 24px rgba(0,0,0,0.25)}
.theme-light .hero-eyebrow{color:#fff;opacity:0.92}
.theme-light .hero-sub{color:rgba(255,255,255,0.92)}
.theme-light .hero-status{background:rgba(255,255,255,0.14);border-color:rgba(255,255,255,0.4);color:#fff;backdrop-filter:blur(6px)}
.theme-light .hs-dot,.theme-light .tl-step.now::before{background:var(--lime);border-color:var(--lime)}
.theme-light .btn-primary{background:var(--lime);color:var(--navy-deep);text-transform:uppercase;letter-spacing:0.06em;font-size:15px}
.theme-light .btn-primary:hover{background:var(--lime-hover);color:var(--navy-deep)}
.theme-light .hero .btn-ghost{border-color:rgba(255,255,255,0.8);color:#fff}
.theme-light .hero .btn-ghost:hover{background:rgba(255,255,255,0.12)}
.theme-light .btn-ghost{border-color:var(--navy);color:var(--navy)}
/* Navigation */
.theme-light .nav.scrolled{background:rgba(255,255,255,0.95)}
.theme-light .nav.scrolled .nav-brand,.theme-light .nav.scrolled .nav-mark{color:var(--navy)}
.theme-light .nav.scrolled .nav-links a{color:var(--ink-soft)}
.theme-light .nav.scrolled .nav-links a:hover{color:var(--navy)}
.theme-light .nav-cta,.theme-light .nav.scrolled .nav-cta{background:var(--lime);color:var(--navy-deep) !important}
.theme-light .nav-cta:hover,.theme-light .nav.scrolled .nav-cta:hover{background:var(--lime-hover);color:var(--navy-deep) !important}
.theme-light .nav.scrolled .nav-burger span{background:var(--navy)}
/* Flächen */
.theme-light .section-paper{background:#fff}
.theme-light .section-cream{background:var(--bg-cream)}
.theme-light .section-forest{background:var(--lime-tint);color:var(--ink)}
.theme-light .section-stone{background:var(--sky-tint);color:var(--ink)}
.theme-light .eyebrow,.theme-light .section-forest .eyebrow,.theme-light .section-stone .eyebrow{color:var(--lime-ink)}
.theme-light .section-forest .section-title,.theme-light .section-stone .section-title{color:var(--navy)}
.theme-light .dark-lead{color:var(--ink-soft)}
.theme-light .dark-aside{border-top-color:var(--rule-dark);color:var(--ink-soft)}
.theme-light .dark-aside strong{color:var(--navy)}
.theme-light .section-forest a,.theme-light .dark-aside a{color:var(--navy)}
.theme-light .clean-list li::before{background:var(--lime)}
.theme-light .section-stone .clean-list li,.theme-light .section-forest .clean-list li{border-color:var(--rule-dark);color:var(--ink-soft)}
.theme-light .clean-list strong{color:var(--navy)}
.theme-light .kpi-num{color:var(--navy)}
.theme-light .kpi-grid small{color:var(--ink-muted)}
.theme-light .script-inline{color:var(--lime-ink)}
/* Zeitstrahl */
.theme-light .tl-step{border-top-color:rgba(31,58,95,0.18)}
.theme-light .tl-step::before{background:#fff;border-color:rgba(31,58,95,0.25)}
.theme-light .tl-step.done{border-top-color:var(--navy)}
.theme-light .tl-step.done::before{background:var(--navy);border-color:var(--navy)}
.theme-light .tl-step.done .tl-badge{color:var(--navy)}
.theme-light .tl-step.now{border-top-color:var(--lime)}
.theme-light .tl-step.now .tl-badge{color:var(--lime-ink)}
.theme-light .tl-step.goal::before{border-color:var(--lime-ink)}
/* Karten */
.theme-light .idea-card,.theme-light .support-card,.theme-light .partner-card{background:#fff;border:1px solid var(--rule-dark);border-top:3px solid var(--navy);border-radius:6px}
.theme-light .idea-card,.theme-light .support-card{border-top-color:var(--lime)}
.theme-light .partner-card.r2,.theme-light .partner-card.r3,.theme-light .partner-card.r4{border-top-color:var(--navy)}
.theme-light .partner-card.r5{border-top-color:var(--lime)}
.theme-light .partner-card li::before{background:var(--lime)}
.theme-light .idea-num{color:var(--lime-ink)}
.theme-light .perspektive{background:#fff;border:1px solid var(--rule-dark);border-left:4px solid var(--lime);border-radius:6px}
.theme-light .split-photo,.theme-light .perspektive img{border-radius:6px}
.theme-light .split-photo img{filter:none}
.theme-light .photo-tag{background:rgba(255,255,255,0.92);color:var(--navy)}
/* Träger */
.theme-light .traeger-logo{border-color:rgba(31,58,95,0.3);color:var(--ink-muted);background:#fff}
.theme-light .traeger-text{color:var(--ink-soft)}
.theme-light .traeger-note{color:var(--lime-ink)}
/* FAQ */
.theme-light .faq summary{color:var(--navy)}
/* Formulare */
.theme-light .check-item:hover,.theme-light .radio-item:hover{background:var(--lime-tint);border-color:var(--lime)}
.theme-light .check-item input,.theme-light .radio-item input,.theme-light .form-field.checkbox input{accent-color:var(--lime-ink)}
.theme-light .section-forest .form-fieldset legend{color:var(--ink-soft)}
.theme-light .section-forest .check-item,.theme-light .section-forest .radio-item{background:#fff;border-color:var(--rule-dark)}
.theme-light .section-forest .check-item span,.theme-light .section-forest .radio-item span{color:var(--ink-soft)}
.theme-light .section-forest .check-item input:checked + span,.theme-light .section-forest .radio-item input:checked + span{color:var(--navy)}
.theme-light .section-forest .form-hint{color:var(--ink-muted)}
.theme-light .section-forest .form-field label{color:var(--navy)}
.theme-light .section-forest input[type=text],.theme-light .section-forest input[type=email],.theme-light .section-forest textarea{background:#fff;color:var(--ink);border-color:var(--rule-dark)}
.theme-light .form-field input:focus,.theme-light .form-field textarea:focus{border-color:var(--lime-ink)}
/* Footer in Navy */
.theme-light .footer{background:var(--navy)}
.theme-light .footer h4{color:#fff}
.theme-light .footer ul a:hover{color:var(--lime)}
.theme-light .footer-script{color:var(--lime)}
.theme-light .footer a{color:inherit}

.theme-dark .hero-bg{background:linear-gradient(90deg,rgba(14,24,21,0.75) 0%,rgba(14,24,21,0.4) 50%,rgba(14,24,21,0.1) 80%),url("images/zinnkopf-trail.jpeg") center/cover no-repeat}
.theme-dark .hero-bg::after{display:none}

/* Hero hell: linker Bereich weiß überblendet */
.theme-light .hero{color:var(--ink)}
.theme-light .hero-bg{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,0.96) 30%,rgba(255,255,255,0.7) 48%,rgba(255,255,255,0) 70%),url("images/zinnkopf-trail.jpeg") right center/cover no-repeat}
.theme-light .hero-title,.theme-light .hero-title span{color:var(--navy);text-shadow:none}
.theme-light .hero-eyebrow{color:var(--lime-ink);opacity:1}
.theme-light .hero-sub{color:var(--ink-soft);max-width:600px}
.theme-light .hero-status{background:#fff;border-color:var(--rule-dark);color:var(--ink);backdrop-filter:none;box-shadow:0 4px 14px rgba(31,58,95,0.08)}
.theme-light .hero .btn-ghost{border-color:var(--navy);color:var(--navy)}
.theme-light .hero .btn-ghost:hover{background:rgba(31,58,95,0.06)}
.theme-light .hero-scroll{color:var(--ink-muted)}
.theme-light .scroll-dot{background:var(--ink-muted)}
.theme-light .nav:not(.scrolled) .nav-brand,.theme-light .nav:not(.scrolled) .nav-mark{color:var(--navy)}
.theme-light .nav:not(.scrolled) .nav-links a:not(.nav-cta){color:var(--ink-soft)}
.theme-light .nav:not(.scrolled) .nav-links a:not(.nav-cta):hover{color:var(--navy)}
.theme-light .nav:not(.scrolled) .nav-burger span{background:var(--navy)}
@media (max-width:880px){.theme-light .hero-bg{background:linear-gradient(180deg,rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.88) 60%,rgba(255,255,255,0.6) 100%),url("images/zinnkopf-trail.jpeg") 70% center/cover no-repeat}}

.theme-light .hero-bg{background:linear-gradient(180deg,rgba(255,255,255,0.88) 0,rgba(255,255,255,0) 130px),linear-gradient(90deg,#fff 0%,rgba(255,255,255,0.97) 40%,rgba(255,255,255,0.75) 55%,rgba(255,255,255,0) 78%),url("images/zinnkopf-trail.jpeg") right center/cover no-repeat}
.theme-light .hero-sub,.theme-light .hero-title{max-width:min(600px,50vw)}
.hero-status{border-radius:14px;align-items:flex-start;max-width:100%}
.hero-status .hs-dot{margin-top:5px;flex-shrink:0}
@media (max-width:1200px) and (min-width:881px){.theme-light .hero-bg{background:linear-gradient(180deg,rgba(255,255,255,0.9) 0,rgba(255,255,255,0) 130px),linear-gradient(90deg,#fff 0%,rgba(255,255,255,0.97) 55%,rgba(255,255,255,0.7) 68%,rgba(255,255,255,0) 85%),url("images/zinnkopf-trail.jpeg") right center/cover no-repeat}}
@media (max-width:880px){.theme-light .hero-sub,.theme-light .hero-title{max-width:none}.theme-light .hero-bg{background:linear-gradient(180deg,rgba(255,255,255,0.94) 0%,rgba(255,255,255,0.88) 60%,rgba(255,255,255,0.6) 100%),url("images/zinnkopf-trail.jpeg") 70% center/cover no-repeat}}

/* ============ Schriften angelehnt an ruhpolding.de ============ */
.theme-light{--font-sans:"Nunito Sans",system-ui,sans-serif;--font-brush:"Kaushan Script",cursive}
.theme-light body,.theme-light input,.theme-light textarea,.theme-light button{font-family:var(--font-sans)}
.theme-light .hero-eyebrow,.theme-light .eyebrow,.theme-light .nav-line,.theme-light .tl-badge,.theme-light .idea-num,.theme-light .p-label,.theme-light .form-field label,.theme-light .traeger-note,.theme-light .traeger-logo,.theme-light .footer h5,.theme-light .footer-line,.theme-light .footer-bottom,.theme-light .photo-tag,.theme-light .kpi-num,.theme-light .form-status,.theme-light .theme-switch,.theme-light .hero-scroll{font-family:var(--font-sans)}
.theme-light .hero-eyebrow,.theme-light .eyebrow,.theme-light .tl-badge,.theme-light .p-label,.theme-light .nav-line,.theme-light .footer h5{font-weight:700;letter-spacing:0.12em}
.theme-light .form-field label{letter-spacing:0.04em;text-transform:none;font-size:14px;font-weight:700}
.theme-light .section-title{font-weight:800;letter-spacing:-0.005em}
.theme-light h3{font-weight:800}
.theme-light .nav-links a{letter-spacing:0.08em;font-weight:700}
.theme-light .nav-name{font-weight:800;text-transform:uppercase;letter-spacing:0.04em}
.theme-light .hero-title{font-weight:400;line-height:1}
.theme-light .hero-title .line1{font-family:var(--font-brush);font-size:1.05em;letter-spacing:0;line-height:1.1}
.theme-light .hero-title .hero-line2-sm{font-family:var(--font-sans);font-size:0.3em;font-weight:600;text-transform:uppercase;letter-spacing:0.06em;margin-top:0.6em}
.theme-light .script-inline,.theme-light .footer-script{font-family:var(--font-brush);font-weight:400}
.theme-light .script-inline{font-size:0.85em}
.theme-light .kpi-num{font-weight:800}
.theme-light .btn-primary{font-weight:700}
.theme-light .faq summary{font-weight:700}

/* ============ Logo Traun Trails (Variante B) ============ */
.theme-light{--navy:#16345F;--lime:#AEBF52;--lime-hover:#9cad42}
.tt-logo{display:inline-grid;grid-template-columns:auto;justify-items:end;line-height:1;font-family:"Nunito Sans",system-ui,sans-serif;color:currentColor}
.tt-peaks{width:46px;height:16px;margin-bottom:-1px;margin-right:2px}
.tt-word{font-weight:900;font-size:19px;letter-spacing:0.035em;white-space:nowrap}
.tt-tag{font-weight:700;font-size:7.5px;letter-spacing:0.2em;text-transform:uppercase;margin-top:4px;opacity:0.85;white-space:nowrap}
.tt-logo-lg .tt-peaks{width:74px;height:25px}
.tt-logo-lg .tt-word{font-size:30px}
.tt-logo-lg .tt-tag{font-size:10px;margin-top:6px}
.footer-logo{margin-bottom:20px;color:#fff}
@media (max-width:1040px) and (min-width:881px){.tt-tag{display:none}}

/* ============ Gemeinde-Logos ============ */
.gemeinden-strip{background:#fff;border-bottom:1px solid rgba(22,52,95,0.1);padding:28px 32px}
.gemeinden-inner{display:flex;align-items:center;justify-content:space-between;gap:24px 48px;flex-wrap:wrap}
.gemeinden-label{font-family:"Nunito Sans",system-ui,sans-serif;font-weight:700;font-size:13px;letter-spacing:0.16em;text-transform:uppercase;color:#4b5866}
.gemeinden-logos{display:flex;align-items:center;gap:56px;flex-wrap:wrap}
.gemeinden-logos a{display:block;transition:opacity .2s}.gemeinden-logos a:hover{opacity:.75}
.g-logo{display:block;width:auto}
.g-ruh{height:52px}.g-sieg{height:58px}
.theme-dark .gemeinden-strip{background:var(--bg-cream)}
.footer-gemeinden{display:flex;align-items:center;gap:20px;margin-bottom:28px}
.footer-gemeinden img{display:block;height:34px;width:auto}
.fg-sieg{background:#fff;border-radius:4px;padding:6px 8px;display:block}
.fg-sieg img{height:26px}
@media (max-width:600px){.gemeinden-logos{gap:32px}.g-ruh{height:40px}.g-sieg{height:44px}}

/* Gemeinde-Logos im Hero */
.hero-gemeinden{position:absolute;right:40px;bottom:36px;z-index:3;display:flex;align-items:center;gap:28px;opacity:0.8;transition:opacity .2s}
.hero-gemeinden:hover{opacity:1}
.hero-gemeinden a{display:block}
.hero-gemeinden img{display:block;width:auto;filter:drop-shadow(0 1px 8px rgba(0,0,0,0.35))}
.hg-ruh{height:46px}.hg-sieg{height:50px}
.hg-label{font-family:"Nunito Sans",system-ui,sans-serif;font-size:11px;font-weight:700;letter-spacing:0.16em;text-transform:uppercase;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,0.4);max-width:90px;line-height:1.3;text-align:right}
.theme-light .hero-bg{box-shadow:inset 0 -160px 140px -60px rgba(10,20,35,0.35)}
.footer-gemeinden img.fg-sieg-w{height:36px;opacity:0.9}
.footer-gemeinden img{opacity:0.9}
@media (max-width:880px){.hero-gemeinden{right:auto;left:24px;bottom:24px;gap:20px}.hg-ruh{height:34px}.hg-sieg{height:38px}.hg-label{display:none}.hero-scroll{display:none}}

/* Hero ohne Verlauf: reines Foto, weiße Schrift */
.theme-light .hero-bg,.theme-dark .hero-bg{background:url("images/zinnkopf-trail.jpeg") center/cover no-repeat;box-shadow:none}
.theme-light .hero{color:#fff}
.theme-light .hero-title,.theme-light .hero-title span{color:#fff;text-shadow:0 2px 18px rgba(0,0,0,0.45)}
.theme-light .hero-eyebrow{color:#fff;text-shadow:0 1px 8px rgba(0,0,0,0.5)}
.theme-light .hero-sub{color:#fff;text-shadow:0 1px 10px rgba(0,0,0,0.55)}
.theme-light .hero-status{background:rgba(255,255,255,0.92);color:var(--ink);border-color:transparent}
.theme-light .hero .btn-ghost{border-color:#fff;color:#fff;background:rgba(0,0,0,0.15)}
.theme-light .hero .btn-ghost:hover{background:rgba(0,0,0,0.3)}
.theme-light .hero-scroll{color:#fff}
.theme-light .scroll-dot{background:#fff}
.theme-light .nav:not(.scrolled) .nav-brand,.theme-light .nav:not(.scrolled) .nav-mark{color:#fff;filter:drop-shadow(0 1px 6px rgba(0,0,0,0.4))}
.theme-light .nav:not(.scrolled) .nav-links a:not(.nav-cta){color:#fff;text-shadow:0 1px 6px rgba(0,0,0,0.5)}
.theme-light .nav:not(.scrolled) .nav-burger span{background:#fff}

/* Gemeinde-Logos im Hero: überarbeitet */
.hero-gemeinden{left:max(32px,calc((100vw - var(--max-w)) / 2));right:auto;bottom:40px;flex-direction:column;align-items:flex-start;gap:12px;opacity:0.85;padding-top:16px;border-top:1px solid rgba(255,255,255,0.45)}
.hg-label{max-width:none;text-align:left;font-size:11px;letter-spacing:0.2em;opacity:0.9}
.hg-row{display:flex;align-items:center;gap:28px}
.hg-sep{width:1px;height:40px;background:rgba(255,255,255,0.5)}
.hero-gemeinden img{filter:drop-shadow(0 1px 6px rgba(0,0,0,0.3))}
.hg-ruh{height:44px}.hg-sieg{height:46px}
.hero-scroll{display:none}
.hero{padding-bottom:180px}
.traeger-link{margin-top:16px;font-weight:700;font-size:1.05rem}
.traeger-link a{text-decoration:underline;text-underline-offset:3px}
@media (max-width:880px){.hero-gemeinden{left:24px;bottom:24px}.hg-label{display:block;font-size:10px}.hg-ruh{height:32px}.hg-sieg{height:34px}.hg-sep{height:30px}.hg-row{gap:18px}.hero{padding-bottom:150px}}

/* Zinnkopf: Bild links, Verlauf nach rechts */
.zinn-bleed{position:relative;overflow:hidden}
.zinn-bleed::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 100%),linear-gradient(90deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 28%,rgba(255,255,255,0.75) 46%,#fff 58%),url("images/zinnkopf-trail-wald-4.jpg") 40% 60%/cover no-repeat;z-index:0}
.theme-dark .zinn-bleed::before{background:linear-gradient(180deg,var(--paper) 0%,rgba(250,246,238,0.85) 10%,rgba(250,246,238,0) 28%),linear-gradient(90deg,rgba(250,246,238,0) 0%,rgba(250,246,238,0) 28%,rgba(250,246,238,0.75) 46%,var(--paper) 58%),url("images/zinnkopf-trail-wald-4.jpg") 40% 60%/cover no-repeat}
.zinn-bleed .wrap{position:relative;z-index:1}
.zinn-bleed .split-photo{visibility:hidden}
.zinn-bleed{min-height:620px;display:flex;align-items:center}
.zinn-bleed .wrap{width:100%}
@media (max-width:880px){.zinn-bleed::before{display:none}.zinn-bleed .split-photo{visibility:visible}.zinn-bleed{min-height:0;display:block}}

/* Kräftigeres Grün für Träger + Updates */
.theme-light .section-forest{background:#AEBF52;color:var(--navy)}
.theme-light .section-forest .eyebrow,.theme-light .section-forest .traeger-note{color:var(--navy)}
.theme-light .section-forest .dark-lead,.theme-light .section-forest .traeger-text,.theme-light .section-forest .dark-aside{color:#1c2b3a}
.theme-light .section-forest .dark-aside{border-top-color:rgba(22,52,95,0.25)}
.theme-light .section-forest .traeger-logo{border-color:rgba(22,52,95,0.35);background:rgba(255,255,255,0.85)}
.theme-light .section-forest .btn-primary{background:var(--navy);color:#fff}
.theme-light .section-forest .btn-primary:hover{background:#0f2647;color:#fff}
.theme-light .section-forest .form-hint{color:#2d3d4f}
.theme-light .section-forest .form-field.checkbox label{color:#1c2b3a}
.theme-light .section-forest .check-item input,.theme-light .section-forest .form-field.checkbox input{accent-color:var(--navy)}

/* Konsistenz: Flächenrhythmus + einheitliche Karten */
.theme-light .section-stone{background:#fff}
.theme-light .idea-card,.theme-light .support-card,.theme-light .partner-card,.theme-light .partner-card.r2,.theme-light .partner-card.r3,.theme-light .partner-card.r4,.theme-light .partner-card.r5{background:#fff;border:1px solid rgba(22,52,95,0.12);border-top:3px solid var(--lime);border-radius:6px;box-shadow:0 2px 10px rgba(22,52,95,0.04)}
.theme-light .section-paper .idea-card,.theme-light .section-paper .support-card,.theme-light .section-paper .partner-card{background:#f6f7f5}
.theme-light .p-label,.theme-light .idea-num{color:var(--lime-ink)}
.theme-light .faq{border-radius:6px}
.theme-light .split-photo{border-radius:6px;overflow:hidden}

.theme-light .form-fieldset legend,.theme-light .form-hint{font-family:var(--font-sans)}
.theme-light .form-fieldset legend{font-weight:700;letter-spacing:0.12em;color:var(--navy)}
.theme-light .form-hint{letter-spacing:0;text-transform:none;font-weight:400}
.theme-light .check-item,.theme-light .radio-item{background:#fff;border-color:rgba(22,52,95,0.12);border-radius:6px}
.theme-light .form-field input,.theme-light .form-field textarea{border-radius:6px}

/* Aufzählungen: kleine Gipfel-Plakette statt Quadrat */
.theme-light .clean-list li{padding-left:40px}
.theme-light .clean-list li::before{width:24px;height:24px;top:14px;border-radius:50%;background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%23AEBF52'/><path d='M4.5 16.5 L10 9 L13 12.6 L15 10.4 L19.5 16.5 Z' fill='%2316345F'/></svg>") center/contain no-repeat}

.hero-status{height:auto !important;min-height:0;padding:12px 18px;line-height:1.4;align-items:flex-start;width:fit-content;max-width:min(560px,100%)}
.hero-status > span:last-child{display:block;flex:1;min-width:0}

/* Ideen: Foto-Karten */
.idea-photo-grid{gap:20px}
.theme-light .idea-card.idea-photo,.idea-card.idea-photo{position:relative;padding:0;overflow:hidden;border:0;border-radius:10px;aspect-ratio:3/4;background:#16345F;box-shadow:0 10px 30px rgba(22,52,95,0.15);display:flex;align-items:flex-end}
.idea-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--easing)}
.idea-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(22,52,95,0) 25%,rgba(22,52,95,0.55) 55%,rgba(16,36,66,0.95) 100%);transition:opacity .4s}
.idea-photo:hover img{transform:scale(1.06)}
.ip-body{position:relative;z-index:1;padding:28px 26px 30px;color:#fff}
.ip-num{display:block;font-family:"Kaushan Script",cursive;font-size:56px;line-height:1;color:#AEBF52;margin-bottom:6px}
.theme-light .idea-photo h3,.idea-photo h3{color:#fff;font-size:22px;line-height:1.2;margin:0 0 10px}
.idea-photo p{color:rgba(255,255,255,0.88);font-size:15.5px;line-height:1.5;margin:0}
@media (max-width:880px){.idea-card.idea-photo,.theme-light .idea-card.idea-photo{aspect-ratio:4/3}}
@media (max-width:1100px) and (min-width:881px){.idea-card.idea-photo,.theme-light .idea-card.idea-photo{aspect-ratio:3/4.4}}
.hero-status{display:flex}

/* ============ Zeitstrahl: dynamische Punkte + Ladeanimation ============ */
.timeline .tl-step{border-top:0;padding-top:46px;--line:rgba(22,52,95,0.14);--fill:#16345F;background:linear-gradient(var(--fill),var(--fill)) left 17px/0% 3px no-repeat,linear-gradient(var(--line),var(--line)) left 17px/100% 3px no-repeat;transition:background-size .7s cubic-bezier(.22,1,.36,1)}
.timeline .tl-step.now{--fill:#AEBF52}
.timeline .tl-step:not(.done):not(.now){--fill:rgba(22,52,95,0.14)}
.timeline .tl-step::before{content:counter(tl);top:0;left:0;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:"Nunito Sans",system-ui,sans-serif;font-size:14px;font-weight:800;color:#16345F;background:#fff;border:2.5px solid rgba(22,52,95,0.25);box-sizing:border-box;z-index:1;transform:scale(0);transition:transform .5s cubic-bezier(.34,1.56,.64,1),box-shadow .3s}
.timeline .tl-step.done::before{content:"";background:#16345F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;border-color:#16345F}
.timeline .tl-step.now::before{content:"";background:#AEBF52;border:6px solid #fff;box-shadow:0 0 0 2.5px #AEBF52;animation:none}
.timeline .tl-step.now::after{content:"";position:absolute;top:0;left:0;width:36px;height:36px;border-radius:50%;border:2.5px solid #AEBF52;opacity:0;pointer-events:none}
.timeline.tl-in .tl-step.now::after{animation:tlRing 2.2s ease-out infinite;animation-delay:calc(var(--i) * 140ms + 600ms)}
@keyframes tlRing{0%{transform:scale(1);opacity:.8}100%{transform:scale(2.1);opacity:0}}
.timeline .tl-step.goal::before{content:"";background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 21V4' stroke='%2316345F' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M7 4h11l-2.5 4L18 12H7z' fill='%23AEBF52'/%3E%3C/svg%3E") center/20px no-repeat;border-color:#AEBF52}
.timeline .tl-step:hover::before{transform:scale(1.12)}
.timeline .tl-step > *{opacity:0;transform:translateY(12px);transition:opacity .5s ease,transform .5s cubic-bezier(.22,1,.36,1)}
.timeline.tl-in .tl-step::before{transform:scale(1);transition-delay:calc(var(--i) * 140ms)}
.timeline.tl-in .tl-step{background-size:100% 3px,100% 3px;transition-delay:calc(var(--i) * 140ms + 80ms)}
.timeline.tl-in .tl-step > *{opacity:1;transform:none;transition-delay:calc(var(--i) * 140ms + 160ms)}
.timeline .tl-step.reveal{opacity:1;transform:none}
.timeline .tl-badge{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;font-size:11px;background:rgba(22,52,95,0.06);color:#4b5866}
.timeline .tl-step.done .tl-badge{background:rgba(22,52,95,0.08);color:#16345F}
.timeline .tl-step.now .tl-badge{background:#AEBF52;color:#16345F}
.timeline .tl-step.goal .tl-badge{background:rgba(174,191,82,0.2);color:#3f5410}
@media (prefers-reduced-motion:reduce){.timeline .tl-step,.timeline .tl-step::before,.timeline .tl-step > *{transition:none !important;opacity:1 !important;transform:none !important;background-size:100% 3px,100% 3px !important}.timeline .tl-step.now::after{animation:none !important}}
.hero-status > span:last-child{white-space:nowrap}
@media (max-width:600px){.hero-status > span:last-child{white-space:normal}}
