/* === V2: Cinematic Dark Theme === */

/* === Self-hosted Google Fonts === */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('./fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --bg-elevated: #1a1a1a;
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --accent: #e74c3c;
  --accent-dark: #c0392b;
  --accent-glow: rgba(231,76,60,0.25);
  --white: #fff;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* === Skip Link === */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--accent); color: var(--white);
  padding: 8px 16px; border-radius: 8px;
  z-index: 10000; font-size: 14px;
}
.skip-link:focus { top: 8px; color: var(--white); }

/* === Typography === */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
}

/* === Navigation === */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 20px 24px;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo-img { height: 32px; width: auto; filter: brightness(0) invert(1); }

.nav-links {
  display: flex; align-items: center; gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.6); font-size: 13px; font-weight: 400;
  letter-spacing: 0.5px; transition: color 0.3s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--accent) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--white);
  position: absolute; left: 0; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 28px; border-radius: 8px; border: none;
  cursor: pointer; transition: all 0.3s var(--ease); text-decoration: none;
}

.btn-glow {
  background: var(--accent); color: var(--white);
  box-shadow: 0 0 30px var(--accent-glow);
}
.btn-glow:hover {
  background: var(--accent-dark); color: var(--white);
  box-shadow: 0 0 50px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.35); color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }

.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* === Hero === */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute; inset: 0;
}

.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.25) contrast(1.1);
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, transparent 30%, rgba(10,10,10,0.8) 100%),
    radial-gradient(ellipse at 30% 50%, rgba(231,76,60,0.08), transparent 60%);
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
  max-width: 700px;
}

.hero-pre {
  font-size: 13px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 600; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,0.6);
  margin-bottom: 36px; line-height: 1.7;
}

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

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
}

.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* === Ticker === */
.ticker {
  background: var(--accent); padding: 12px 0; overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex; gap: 48px;
  animation: tickerScroll 20s linear infinite;
}

.ticker-track span {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--white); letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Warum === */
.s-warum {
  padding: 120px 0 0;
}

.s-warum .lead { margin-bottom: 64px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; margin-top: 0;
}

.split-img {
  position: relative; overflow: hidden;
}

.split-img img {
  width: 100%; height: 100%; object-fit: cover;
  min-height: 500px;
}

.split-text {
  background: var(--bg-card);
  padding: 64px 48px;
  display: flex; flex-direction: column; justify-content: center;
}

.reason {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateX(20px);
  transition: all 0.6s var(--ease);
}
.reason.in { opacity: 1; transform: translateX(0); }
.reason:last-child { border-bottom: none; }

.reason-num {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--accent); margin-bottom: 8px;
  letter-spacing: 1px;
}

.reason h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600;
  margin-bottom: 8px;
}

.reason p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* === Numbers === */
.s-numbers {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  text-align: center;
}

.number-item {
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s var(--ease);
}
.number-item.in { opacity: 1; transform: translateY(0); }
.number-item:nth-child(2) { transition-delay: 0.1s; }
.number-item:nth-child(3) { transition-delay: 0.2s; }
.number-item:nth-child(4) { transition-delay: 0.3s; }

.number-val {
  font-family: var(--font-display);
  font-size: 56px; font-weight: 600;
  color: var(--accent); line-height: 1;
  margin-bottom: 8px;
}

.number-label {
  font-size: 14px; color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* === Projekte === */
.s-projekte {
  padding: 100px 0 0;
}

.s-projekte .lead { margin-bottom: 48px; }

.projects-scroll {
  width: 100%; overflow-x: auto; overflow-y: hidden;
  padding: 0 24px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-card);
  cursor: grab;
}
.projects-scroll:active { cursor: grabbing; }

.projects-track {
  display: flex; gap: 20px;
  width: max-content; padding-bottom: 12px;
}

.proj {
  width: 280px; flex-shrink: 0;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0; transform: translateY(24px);
  transition: all 0.5s var(--ease);
}
.proj.in { opacity: 1; transform: translateY(0); }
.proj:nth-child(2) { transition-delay: 0.05s; }
.proj:nth-child(3) { transition-delay: 0.1s; }
.proj:nth-child(4) { transition-delay: 0.15s; }
.proj:nth-child(5) { transition-delay: 0.2s; }
.proj:nth-child(6) { transition-delay: 0.25s; }
.proj:nth-child(7) { transition-delay: 0.3s; }
.proj:nth-child(8) { transition-delay: 0.35s; }
.proj:nth-child(9) { transition-delay: 0.4s; }
.proj:nth-child(10) { transition-delay: 0.45s; }

.proj img {
  width: 100%; height: 200px; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.proj:hover img { transform: scale(1.05); }

.proj-info {
  padding: 16px 20px;
}
.proj-info h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.proj-info p { font-size: 13px; color: var(--text-dim); }

/* === Image Break === */
.img-break {
  position: relative; height: 50vh; min-height: 300px;
  overflow: hidden; margin: 80px 0;
}

.img-break img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.3);
}

.img-break-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}

.img-break blockquote p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600; text-align: center;
  line-height: 1.4; color: var(--white);
  max-width: 600px;
}

/* === Join === */
.s-join {
  padding: 100px 0;
}

.join-header { margin-bottom: 48px; }

.join-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}

.join-options { display: flex; flex-direction: column; gap: 16px; }

.join-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 24px;
  cursor: pointer; transition: all 0.3s var(--ease);
  opacity: 0; transform: translateY(16px);
}
.join-card.in { opacity: 1; transform: translateY(0); }
.join-card:nth-child(2) { transition-delay: 0.1s; }

.join-card:hover { border-color: rgba(255,255,255,0.12); }

.join-card.active {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.join-card-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px;
}

.join-card-icon {
  width: 44px; height: 44px;
  background: rgba(231,76,60,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 20px;
}

.join-card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; }

.join-price {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; color: var(--accent);
}
.join-price span { font-size: 14px; color: var(--text-dim); font-weight: 400; }

.join-card ul {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}
.join-card ul li {
  font-size: 14px; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.join-card ul li i { color: var(--accent); font-size: 16px; }

.join-spende {
  background: var(--bg-elevated); border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.04);
}
.join-spende h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  margin-bottom: 6px;
}
.join-spende p { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* === Form === */
.join-form-wrap {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 32px;
}

.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-group { margin-bottom: 16px; }

.f-group label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text-dim); margin-bottom: 6px;
  letter-spacing: 0.5px; text-transform: uppercase;
}

.f-group input, .f-group select {
  width: 100%; padding: 10px 14px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; color: var(--text);
  font-family: var(--font-body); font-size: 14px;
  transition: border-color 0.3s;
}
.f-group input::placeholder { color: var(--text-dim); }
.f-group input:focus, .f-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.f-group input:hover, .f-group select:hover {
  border-color: rgba(255,255,255,0.15);
}

.f-group select { cursor: pointer; }
.f-group select option { background: var(--bg-card); }

.check-label {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--text-dim); cursor: pointer;
}
.check-label input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }

.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; opacity: 0; }

.cf-turnstile { margin-bottom: 16px; }

.form-success {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 48px 24px; min-height: 300px;
}

.success-anim {
  width: 64px; height: 64px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 28px;
  margin-bottom: 20px;
  animation: successPop 0.5s var(--ease);
}

@keyframes successPop {
  0% { transform: scale(0); } 100% { transform: scale(1); }
}

.form-success h3 {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  margin-bottom: 8px;
}
.form-success p { font-size: 15px; color: var(--text-muted); }

/* === Team === */
.s-team {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.s-team .display { margin-bottom: 48px; }

.team-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}

.member {
  text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s var(--ease);
}
.member.in { opacity: 1; transform: translateY(0); }
.member:nth-child(2) { transition-delay: 0.1s; }
.member:nth-child(3) { transition-delay: 0.2s; }
.member:nth-child(4) { transition-delay: 0.3s; }
.member:nth-child(5) { transition-delay: 0.4s; }

.member-photo {
  width: 120px; height: 120px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s;
}
.member:hover .member-photo { border-color: var(--accent); }

.member-photo img { width: 100%; height: 100%; object-fit: cover; }

.member h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  margin-bottom: 2px;
}
.member p { font-size: 13px; color: var(--text-dim); }

/* === Kontakt === */
.s-kontakt { padding: 100px 0; }

.kontakt-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center;
}

.kontakt-details { display: flex; flex-direction: column; gap: 24px; }

.kontakt-item {
  display: flex; gap: 16px; align-items: flex-start;
  opacity: 0; transform: translateX(16px);
  transition: all 0.5s var(--ease);
}
.kontakt-item.in { opacity: 1; transform: translateX(0); }
.kontakt-item:nth-child(2) { transition-delay: 0.1s; }
.kontakt-item:nth-child(3) { transition-delay: 0.2s; }

.kontakt-item > i {
  font-size: 22px; color: var(--accent);
  margin-top: 2px; flex-shrink: 0;
}

.kontakt-item strong {
  display: block; font-size: 14px; font-weight: 600;
  margin-bottom: 2px;
}
.kontakt-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.kontakt-item a { color: var(--accent); }

/* === Footer === */
.foot {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.foot-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}

.foot-brand { display: flex; align-items: center; gap: 16px; }

.foot-logo { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: 0.5; }

.foot-brand p { font-size: 13px; color: var(--text-dim); line-height: 1.4; }

.foot-links {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.foot-links a {
  font-size: 13px; color: var(--text-dim);
  transition: color 0.3s;
}
.foot-links a:hover { color: var(--text); }

.foot-copy { font-size: 12px; color: var(--text-dim); }

/* === Sticky CTA === */
.sticky-cta { display: none; }

/* === Responsive === */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-img img { min-height: 300px; }
  .split-text { padding: 40px 24px; }
  .join-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .team-row { grid-template-columns: repeat(3, 1fr); }
  .wegbereiter-layout { grid-template-columns: 1fr; }
  .wegbereiter-img { border-radius: var(--radius) var(--radius) 0 0; }
  .wegbereiter-img img { min-height: 280px; }
  .wegbereiter-img::after { background: linear-gradient(to bottom, transparent 60%, var(--bg-card) 100%); }
  .stadtleben-grid { grid-template-columns: 1fr; }
  .stadt-card--lg { grid-column: span 1; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px;
    gap: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    width: 100%; font-size: 15px;
  }
  .nav-cta { margin-top: 8px; justify-content: center; text-align: center; }

  .hero h1 { letter-spacing: -1px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .s-warum, .s-projekte, .s-join, .s-team, .s-kontakt, .s-wegbereiter, .s-stadtleben { padding: 64px 0; }
  .s-numbers { padding: 48px 0; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .number-val { font-size: 40px; }

  .team-row { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .f-row { grid-template-columns: 1fr; }

  .img-break { height: 40vh; margin: 48px 0; }

  .foot-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .foot-links { flex-direction: column; gap: 8px; }

  .sticky-cta {
    display: block; position: fixed;
    bottom: 0; left: 0; right: 0; z-index: 999;
    padding: 12px 16px;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  body { padding-bottom: 68px; }
}

@media (max-width: 480px) {
  .number-val { font-size: 32px; }
  .member-photo { width: 90px; height: 90px; }
  .proj { width: 240px; }
  .proj img { height: 160px; }
  .wb-card { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 20px; }
  .wb-icon { width: 40px; height: 40px; font-size: 18px; }
  .stadt-card { min-height: 220px; }
  .stadt-card--lg { min-height: 240px; }
}

/* === Wegbereiter === */
.s-wegbereiter {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
}

.wegbereiter-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 48px;
}

.wegbereiter-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
}

.wegbereiter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.wegbereiter-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--bg-card) 100%);
}

.wegbereiter-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-card);
  padding: 24px 0;
}

.wb-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateX(24px);
  transition: all 0.6s var(--ease);
}
.wb-card.in { opacity: 1; transform: translateX(0); }
.wb-card:nth-child(2) { transition-delay: 0.1s; }
.wb-card:nth-child(3) { transition-delay: 0.2s; }
.wb-card:nth-child(4) { transition-delay: 0.3s; }
.wb-card:last-child { border-bottom: none; }

.wb-icon {
  width: 48px;
  height: 48px;
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}

.wb-text h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.wb-text p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.wb-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(231,76,60,0.08);
  padding: 3px 10px;
  border-radius: 4px;
}

/* === Stadtleben === */
.s-stadtleben {
  padding: 100px 0;
}

.stadtleben-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.stadt-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s var(--ease);
}
.stadt-card.in { opacity: 1; transform: translateY(0); }
.stadt-card:nth-child(2) { transition-delay: 0.1s; }
.stadt-card:nth-child(3) { transition-delay: 0.2s; }
.stadt-card:nth-child(4) { transition-delay: 0.3s; }

.stadt-card--has-img {
  background: none;
  border: none;
}

.stadt-card--has-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
  filter: brightness(0.5);
}
.stadt-card--has-img:hover img {
  transform: scale(1.04);
  filter: brightness(0.55);
}

.stadt-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  z-index: 1;
}

.stadt-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  height: 100%;
}

.stadt-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(231,76,60,0.12);
  border: 1px solid rgba(231,76,60,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 16px;
}

.stadt-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.stadt-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

.stadt-card--lg {
  grid-column: span 2;
  min-height: 320px;
}

/* === Wegbereiter/Stadtleben Responsive (must come after base styles) === */
@media (max-width: 900px) {
  .wegbereiter-layout { grid-template-columns: 1fr; }
  .wegbereiter-img { border-radius: var(--radius) var(--radius) 0 0; }
  .wegbereiter-img img { min-height: 280px; }
  .wegbereiter-img::after { background: linear-gradient(to bottom, transparent 60%, var(--bg-card) 100%); }
  .stadtleben-grid { grid-template-columns: 1fr; }
  .stadt-card--lg { grid-column: span 1; }
}

@media (max-width: 768px) {
  .s-wegbereiter, .s-stadtleben { padding: 64px 0; }
  .wb-card { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px; }
  .wb-icon { width: 40px; height: 40px; font-size: 18px; }
  .stadt-card { min-height: 220px; }
  .stadt-card--lg { min-height: 240px; }
}

/* === Screen-reader only === */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === Reduced Motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .ticker-track { animation: none; }
  .scroll-line { animation: none; opacity: 0.5; }
  .reason, .proj, .member, .kontakt-item, .join-card,
  .number-item, .wb-card, .stadt-card {
    opacity: 1; transform: none;
  }
}

/* === Scrollbar === */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* === Subpages === */
.subpage {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 70vh;
}

.subpage-header {
  margin-bottom: 48px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
  transition: color 0.3s;
}
.back-link:hover { color: var(--accent); }
.back-link i { font-size: 18px; }

.subpage-header h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.subpage-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

/* === Legal Content === */
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content a {
  color: var(--accent);
  transition: color 0.3s;
}
.legal-content a:hover {
  color: var(--white);
}

.legal-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-content ul li strong {
  color: var(--text);
}

/* === Legal Note (Info Box) === */
.legal-note {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
}

.legal-note p {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-note strong {
  color: var(--accent);
}

/* === Danke Page === */
.danke-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(231,76,60,0.08), transparent 60%),
    var(--bg);
}

.danke-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 56px 48px;
  max-width: 520px;
  text-align: center;
}

.danke-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  font-size: 36px;
  animation: successPop 0.6s var(--ease);
}

.danke-card h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.danke-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.danke-card .btn {
  display: inline-flex;
}

/* === Subpage Responsive === */
@media (max-width: 768px) {
  .subpage {
    padding-top: 90px;
    padding-bottom: 48px;
  }

  .subpage-header {
    margin-bottom: 32px;
  }

  .legal-content h2 {
    font-size: 18px;
    margin-top: 32px;
  }

  .danke-card {
    padding: 40px 24px;
  }

  .danke-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .danke-card h1 {
    font-size: 26px;
  }
}
