/* YEA – Young Engineers Association
   Designsystem angelehnt an salono.ch (Inter, viel Weissraum, runde Kacheln, Pill-Buttons),
   Akzentfarbe Riff-Türkis statt Violett. */

@font-face {
  font-family: "Inter";
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #1f5fc9;
  --brand-hover: #194fa8;
  --brand-deep: #0e2f66;
  --mint: #e3edfc; /* helles Ozeanblau */
  --sand: #fbf0e2;
  --ocean: #e3f0f7;
  --offwhite: #f5f7fa;
  --ink: #111a2b;
  --muted: #5b6577;
  --line: #e3e7ee;
  --line-strong: #cdd4e0;
  --shadow-soft: 0 1px 2px rgb(14 30 60 / 0.04), 0 8px 24px -12px rgb(14 30 60 / 0.10);
  --radius-tile: 28px;
  --radius-big: 32px;
}

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

html {
  color-scheme: only light;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

/* Sprachumschaltung */
html[data-lang="de"] .en,
html[data-lang="en"] .de { display: none !important; }

.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: 999px;
}
.skip:focus { top: 1rem; }

/* Layout */
.container {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 48rem) { .container { padding-inline: 2rem; } }

.section { padding-block: 6rem; border-top: 1px solid var(--line); }
@media (min-width: 40rem) { .section { padding-block: 8rem; } }
@media (min-width: 64rem) { .section { padding-block: 10rem; } }
.section--plain { border-top: 0; }

/* Typografie */
.display {
  letter-spacing: -0.038em;
  line-height: 1.02;
  font-weight: 600;
  text-wrap: balance;
}
.heading {
  letter-spacing: -0.03em;
  line-height: 1.08;
  font-weight: 600;
  text-wrap: balance;
}
.eyebrow {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--brand);
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}
@media (min-width: 40rem) { .lead { font-size: 1.25rem; } }
.muted { color: var(--muted); }

.h2 { font-size: 2rem; }
@media (min-width: 40rem) { .h2 { font-size: 2.75rem; } }
@media (min-width: 64rem) { .h2 { font-size: 3.25rem; } }

.section-head { max-width: 48rem; }
.section-head .lead { margin-top: 1.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  height: 2.5rem; padding-inline: 1rem;
  border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .9375rem; font-weight: 500; white-space: nowrap;
  cursor: pointer; user-select: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn--lg { height: 3rem; padding-inline: 1.5rem; }
.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .15), 0 1px 2px rgb(14 30 60 / .12);
}
.btn--primary:hover { background: var(--brand-hover); }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--secondary:hover { border-color: var(--line-strong); background: var(--offwhite); }
.btn svg { width: 1rem; height: 1rem; }

.icon { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Wordmark */
.wordmark {
  display: inline-flex; align-items: baseline;
  font-weight: 650; letter-spacing: -0.045em; font-size: 1.75rem; line-height: 1;
}
.wordmark .dot {
  display: inline-block; width: .3em; height: .3em; margin-left: .06em;
  border-radius: 999px; background: var(--brand);
}

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.nav.is-scrolled { background: rgb(255 255 255 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav.is-open { background: #fff; backdrop-filter: none; border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 4rem; }
.nav__links { display: none; align-items: center; gap: .25rem; }
.nav__links a { padding: .5rem .875rem; border-radius: 999px; font-size: .9375rem; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav__links a:hover { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: .5rem; }
.lang {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff;
}
.lang button {
  font: inherit; font-size: .8125rem; font-weight: 500; border: 0; background: transparent; color: var(--muted);
  height: 2rem; min-width: 2.25rem; padding-inline: .5rem; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin-right: -.5rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 999px;
}
.menu-btn .icon { width: 1.25rem; height: 1.25rem; }
.nav__cta { display: none; }
@media (min-width: 40rem) { .nav__cta { display: inline-flex; } }
@media (min-width: 64rem) {
  .nav__links { display: flex; }
  .menu-btn { display: none; }
}
.mobile-menu {
  position: fixed; inset: 4rem 0 0 0; z-index: 50; background: #fff; overflow-y: auto;
  display: none;
}
.nav.is-open .mobile-menu { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; min-height: 100%; padding-top: 1rem; padding-bottom: 2rem; }
.mobile-menu ul { border-block: 1px solid var(--line); }
.mobile-menu li + li { border-top: 1px solid var(--line); }
.mobile-menu a.row { display: flex; justify-content: space-between; align-items: center; padding-block: 1rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.02em; }
.mobile-menu .btn { margin-top: 2rem; width: 100%; }
@media (min-width: 64rem) { .mobile-menu { display: none !important; } }

/* Hero */
.hero { padding-top: 3.5rem; text-align: center; }
@media (min-width: 40rem) { .hero { padding-top: 6rem; } }
@media (min-width: 64rem) { .hero { padding-top: 7rem; } }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .375rem .875rem .375rem .5rem; margin-bottom: 1.75rem;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: .8125rem; color: var(--muted);
}
.badge b { font-weight: 500; color: var(--brand-deep); background: var(--mint); border-radius: 999px; padding: .125rem .5rem; }
.hero h1 { font-size: 2.75rem; margin-inline: auto; max-width: 62rem; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--brand); }
@media (min-width: 40rem) { .hero h1 { font-size: 4.25rem; } }
@media (min-width: 64rem) { .hero h1 { font-size: 5.5rem; } }
.hero .lead { max-width: 40rem; margin: 1.5rem auto 0; }
@media (min-width: 40rem) { .hero .lead { margin-top: 2rem; } }
.cta-row { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; justify-content: center; align-items: stretch; }
@media (min-width: 40rem) { .cta-row { flex-direction: row; align-items: center; } }
.points { margin-top: 2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.25rem; font-size: .875rem; color: var(--muted); }
.points li { display: flex; align-items: center; gap: .375rem; }
.points .icon { width: .875rem; height: .875rem; color: var(--brand); stroke-width: 2; }

.tiles { margin-top: 4rem; display: grid; gap: 1rem; text-align: left; }
@media (min-width: 40rem) { .tiles { margin-top: 5rem; } }
@media (min-width: 64rem) { .tiles { grid-template-columns: 5fr 7fr; } }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius-tile);
  min-height: 26rem; display: flex; flex-direction: column;
}
@media (min-width: 40rem) { .tile { min-height: 34rem; } }
.tile--mint { background: var(--mint); }
.tile--sand { background: var(--sand); }
.tile--ocean { background: var(--ocean); }
.tile figcaption { position: relative; z-index: 1; padding: 1.5rem; }
@media (min-width: 40rem) { .tile figcaption { padding: 2rem; } }
.tile figcaption b { display: block; font-size: .9375rem; font-weight: 500; }
.tile figcaption > span { display: block; font-size: .9375rem; color: var(--muted); }
.tile__art { flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 1.5rem 1.5rem; }
.tile__art svg { width: 100%; height: auto; max-height: 26rem; }

/* Säulen / Karten */
.grid-3 { margin-top: 3.5rem; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .grid-3 { margin-top: 5rem; } }
@media (min-width: 48rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--line); border-radius: 24px; background: #fff; padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}
.card__icon {
  width: 2.75rem; height: 2.75rem; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint); color: var(--brand-deep); margin-bottom: 1.5rem;
}
.card__icon .icon { width: 1.375rem; height: 1.375rem; }
.card h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.card p { margin-top: .75rem; color: var(--muted); line-height: 1.65; }
.card ul.checks { margin-top: 1.25rem; display: grid; gap: .5rem; font-size: .9375rem; }
.checks li { display: flex; gap: .5rem; align-items: flex-start; }
.checks .icon { flex: none; margin-top: .2rem; color: var(--brand); stroke-width: 2; }

/* Gemeinnützig-Block */
.panel {
  position: relative; overflow: hidden; border-radius: var(--radius-big); background: var(--offwhite);
  padding: 4rem 1.5rem; text-align: center;
}
@media (min-width: 40rem) { .panel { padding: 6rem 3rem; } }
.panel::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 4rem; height: 3px; border-radius: 0 0 999px 999px; background: var(--brand);
}
.panel h2 { font-size: 2rem; max-width: 48rem; margin-inline: auto; }
@media (min-width: 40rem) { .panel h2 { font-size: 3rem; } }
@media (min-width: 64rem) { .panel h2 { font-size: 3.5rem; } }
.panel .lead { max-width: 38rem; margin: 1.25rem auto 0; }
.facts { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); border-radius: 20px; overflow: hidden; text-align: left; }
@media (min-width: 48rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > div { background: #fff; padding: 1.5rem; }
.facts b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.facts > div > span { display: block; margin-top: .375rem; font-size: .9375rem; color: var(--muted); line-height: 1.6; }

/* Projekte */
.project {
  margin-top: 3.5rem; display: grid; gap: 1rem;
}
@media (min-width: 40rem) { .project { margin-top: 5rem; } }
@media (min-width: 64rem) { .project { grid-template-columns: 6fr 6fr; align-items: stretch; } }
.project__body {
  border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 1.75rem; display: flex; flex-direction: column;
}
@media (min-width: 40rem) { .project__body { padding: 2.5rem; } }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tag { font-size: .8125rem; font-weight: 500; padding: .25rem .625rem; border-radius: 999px; background: var(--offwhite); color: var(--muted); border: 1px solid var(--line); }
.tag--live { background: var(--mint); color: var(--brand-deep); border-color: transparent; display: inline-flex; align-items: center; gap: .375rem; }
.tag--live::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--brand); }
.project h3 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
@media (min-width: 40rem) { .project h3 { font-size: 2.25rem; } }
.project p { margin-top: 1rem; color: var(--muted); line-height: 1.65; font-size: 1.0625rem; }
.kpis { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.kpis b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; }
.kpis > div > span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: .25rem; }
.footnote { margin-top: auto; padding-top: 1.5rem; font-size: .8125rem; color: var(--muted); }
.project__art { border-radius: var(--radius-tile); overflow: hidden; min-height: 22rem; background: linear-gradient(180deg, #e9f5fb 0%, #cfe8f2 45%, #a9d3e3 100%); }
.project__art svg { width: 100%; height: 100%; }

.idea {
  margin-top: 1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-tile);
  padding: 1.75rem; display: flex; flex-direction: column; gap: 1.25rem;
}
@media (min-width: 48rem) { .idea { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem 2.5rem; } }
.idea h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }
.idea p { margin-top: .375rem; color: var(--muted); }

/* Schritte */
.steps { position: relative; margin-top: 3.5rem; display: grid; gap: 3rem; }
@media (min-width: 40rem) { .steps { margin-top: 5rem; } }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.steps::before {
  content: ""; position: absolute; left: 11px; top: .75rem; bottom: .75rem; width: 1px; background: var(--line);
}
@media (min-width: 48rem) { .steps::before { left: 0; right: 0; top: 11px; bottom: auto; width: auto; height: 1px; } }
.step { position: relative; padding-left: 3rem; }
@media (min-width: 48rem) { .step { padding-left: 0; } }
.step__dot {
  position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center;
}
@media (min-width: 48rem) { .step__dot { position: static; } }
.step__dot::after { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #c3cbd8; }
.step:first-child .step__dot::after { background: var(--brand); }
.step__num { font-size: .8125rem; font-weight: 500; color: var(--brand); font-variant-numeric: tabular-nums; }
@media (min-width: 48rem) { .step__num { margin-top: 2rem; } }
.step h3 { margin-top: .5rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: .75rem; max-width: 24rem; color: var(--muted); line-height: 1.65; }

.audiences { margin-top: 4rem; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .audiences { grid-template-columns: repeat(3, 1fr); } }
.audience { border-radius: 24px; padding: 1.75rem; }
.audience h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.audience p { margin-top: .5rem; color: var(--muted); line-height: 1.6; font-size: .9375rem; }
.audience a { display: inline-flex; align-items: center; gap: .375rem; margin-top: 1.25rem; font-weight: 500; font-size: .9375rem; color: var(--brand-deep); }
.audience a:hover { color: var(--brand); }

/* Über uns */
.about-photo { margin-top: 3rem; }
@media (min-width: 40rem) { .about-photo { margin-top: 4rem; } }
.about-photo .frame { overflow: hidden; border-radius: var(--radius-tile); background: var(--offwhite); }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 40rem) { .about-photo img { aspect-ratio: 3 / 2; } }
.about-photo figcaption { margin-top: .75rem; font-size: .875rem; color: var(--muted); }

.chapters { margin-top: 4rem; }
.chapter { display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-block: 3rem; }
.chapter:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 40rem) { .chapter { padding-block: 4rem; } }
@media (min-width: 64rem) { .chapter { grid-template-columns: 4fr 8fr; gap: 3rem; } }
.chapter__label { font-size: .875rem; font-weight: 500; color: var(--brand); }
.chapter__label .sep { margin-inline: .5rem; color: var(--line-strong); }
.chapter h3 { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
@media (min-width: 40rem) { .chapter h3 { font-size: 2.25rem; } }
.chapter .text { margin-top: 1.25rem; max-width: 42rem; color: var(--muted); font-size: 1.0625rem; line-height: 1.7; display: grid; gap: 1rem; }

/* FAQ */
.faq { margin-top: 3.5rem; max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding-block: 1.5rem; font-size: 1.125rem; font-weight: 500; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 1.25rem; height: 1.25rem; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.5rem; color: var(--muted); line-height: 1.7; max-width: 42rem; }

/* Kontakt */
.contact { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) { .contact { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-tile); padding: 1.75rem; box-shadow: var(--shadow-soft); }
@media (min-width: 40rem) { .contact-card { padding: 2.5rem; } }
.contact-list { display: grid; gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; margin-top: 1.5rem; }
.contact-list a, .contact-list div { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; padding: 1.125rem 1.25rem; }
.contact-list a:hover { background: var(--offwhite); }
.contact-list small { display: block; font-size: .8125rem; color: var(--muted); }
.contact-list strong { display: block; font-weight: 500; word-break: break-all; }
.contact-list .icon { flex: none; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--offwhite); }
.footer__top { display: grid; gap: 3rem; padding-block: 4rem; }
@media (min-width: 40rem) { .footer__top { padding-block: 5rem; } }
@media (min-width: 64rem) { .footer__top { grid-template-columns: 5fr 7fr; } }
.footer__brand .wordmark { font-size: 1.3125rem; }
.footer__brand p { margin-top: 1rem; max-width: 20rem; font-size: .9375rem; line-height: 1.65; color: var(--muted); }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
@media (min-width: 40rem) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
.footer__cols p { font-size: .875rem; font-weight: 500; }
.footer__cols ul { margin-top: 1rem; display: grid; gap: .75rem; }
.footer__cols a { font-size: .9375rem; color: var(--muted); transition: color .2s; word-break: break-word; }
.footer__cols a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-direction: column; gap: .5rem; border-top: 1px solid var(--line); padding-block: 1.5rem; font-size: .8125rem; color: var(--muted); }
@media (min-width: 40rem) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* Rechtstexte */
.legal { padding-block: 3.5rem 6rem; }
@media (min-width: 40rem) { .legal { padding-block: 6rem 8rem; } }
.legal h1 { font-size: 2.5rem; }
@media (min-width: 40rem) { .legal h1 { font-size: 3.75rem; } }
.legal h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 2.5rem; }
.legal p, .legal li { margin-top: .75rem; max-width: 42rem; color: var(--muted); line-height: 1.7; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }

/* Einblendung */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave { animation: none !important; }
}

/* Schallwellen-Animation */
@keyframes wave { 0% { opacity: .55; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.6); } }
.wave { transform-box: fill-box; transform-origin: center; animation: wave 3.6s ease-out infinite; }
.wave.d1 { animation-delay: 1.2s; }
.wave.d2 { animation-delay: 2.4s; }

/* ---------- Ergänzungen: Blau-Thema, Projektseite ---------- */
:root {
  --navy: #0b1b36;
  --navy-2: #12284d;
  --sky: #8fb6f2;
}
a.inline { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; }
.eyebrow--light { color: var(--sky); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mint); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / .35); }
.btn--ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }

/* Dunkles Band (Startseite) */
.band {
  border-radius: var(--radius-big); background: var(--navy); color: #fff;
  padding: 3rem 1.5rem; display: flex; flex-direction: column; gap: 2rem;
  background-image: radial-gradient(120% 120% at 100% 0%, rgb(31 95 201 / .55) 0%, transparent 55%);
}
@media (min-width: 40rem) { .band { padding: 4.5rem 3rem; } }
@media (min-width: 64rem) { .band { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: 5rem 4rem; } }
.band .lead { color: rgb(255 255 255 / .72); margin-top: 1.25rem; max-width: 40rem; }
.band .h2 { max-width: 40rem; }
#projekte-teaser { border-top: 0; padding-top: 0; }

/* Navigation über dunklem Bild */
.nav--overlay:not(.is-scrolled):not(.is-open) { background: transparent; }
.nav--overlay:not(.is-scrolled):not(.is-open) .wordmark,
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__links a,
.nav--overlay:not(.is-scrolled):not(.is-open) .menu-btn { color: #fff; }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__links a:hover { color: var(--sky); }
.nav--overlay:not(.is-scrolled):not(.is-open) .lang { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .25); }
.nav--overlay:not(.is-scrolled):not(.is-open) .lang button { color: rgb(255 255 255 / .8); }
.nav--overlay:not(.is-scrolled):not(.is-open) .lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.nav--overlay { position: fixed; left: 0; right: 0; }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav--overlay:not(.is-scrolled):not(.is-open) .nav__links a[aria-current="page"] { color: #fff; }

/* Projekt-Hero: Vollbild mit Rendering */
.phero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden;
  background: var(--navy);
}
.phero picture, .phero img { position: absolute; inset: 0; width: 100%; height: 100%; }
.phero img { object-fit: cover; object-position: 62% 50%; }
@media (min-width: 64rem) { .phero img { object-position: 30% 50%; left: 26%; width: 74%; } }
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgb(11 27 54 / .55) 0%, rgb(11 27 54 / .05) 30%, rgb(11 27 54 / .25) 55%, rgb(11 27 54 / .92) 100%);
}
@media (min-width: 64rem) {
  .phero::after {
    background:
      linear-gradient(90deg, rgb(11 27 54 / 1) 26%, rgb(11 27 54 / .7) 40%, rgb(11 27 54 / 0) 62%),
      linear-gradient(180deg, rgb(11 27 54 / .45) 0%, rgb(11 27 54 / 0) 25%, rgb(11 27 54 / 0) 70%, rgb(11 27 54 / .6) 100%);
  }
  .phero h1 { max-width: 34rem; font-size: 5rem; }
  .phero .lead { max-width: 34rem; }
}
.phero .container { position: relative; z-index: 1; padding-bottom: 3.5rem; padding-top: 7rem; }
@media (min-width: 40rem) { .phero .container { padding-bottom: 5rem; } }
.crumbs { font-size: .875rem; color: rgb(255 255 255 / .75); margin-bottom: 1.25rem; }
.crumbs a:hover { color: #fff; }
.phero h1 { font-size: 3rem; max-width: 56rem; }
@media (min-width: 40rem) { .phero h1 { font-size: 4.75rem; } }
@media (min-width: 64rem) { .phero h1 { font-size: 5.25rem; max-width: 32rem; } }
.phero .lead { color: rgb(255 255 255 / .82); max-width: 40rem; margin-top: 1.5rem; }
.phero .tags { margin: 0 0 1.5rem; }
.phero .tag { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.phero .tag--live { background: rgb(255 255 255 / .92); color: var(--navy); }
.phero .cta-row { justify-content: flex-start; }

/* Projektübersicht */
.overview { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .overview { grid-template-columns: repeat(4, 1fr); } }
.overview > div { border-top: 1px solid var(--line); padding-top: 1rem; }
.overview small { display: block; font-size: .8125rem; color: var(--muted); }
.overview b { display: block; margin-top: .25rem; font-weight: 500; }

/* Kennzahlen (dunkel) */
.stats-wrap { background: var(--navy); color: #fff; }
.stats-wrap .section-head .lead { color: rgb(255 255 255 / .7); }
.stats { margin-top: 3.5rem; display: grid; gap: 1px; background: rgb(255 255 255 / .12); border-radius: 24px; overflow: hidden; }
@media (min-width: 40rem) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--navy); padding: 2rem 1.5rem; }
.stat b { display: block; font-size: 3.5rem; font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stat b small { font-size: .5em; letter-spacing: -0.02em; margin-left: .1em; }
.stat p { margin-top: 1rem; color: rgb(255 255 255 / .75); font-size: .9375rem; line-height: 1.55; }
.stat cite { display: block; margin-top: .75rem; font-style: normal; font-size: .8125rem; color: var(--sky); }

/* Lerninhalte */
.learn { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .learn { grid-template-columns: 15rem 1fr; gap: 4rem; align-items: start; } }
.toc { display: none; }
@media (min-width: 64rem) {
  .toc { display: block; position: sticky; top: 6rem; }
  .toc p { font-size: .8125rem; font-weight: 500; color: var(--muted); margin-bottom: .75rem; }
  .toc ol { display: grid; gap: .25rem; border-left: 1px solid var(--line); }
  .toc a { display: block; padding: .375rem 0 .375rem 1rem; margin-left: -1px; border-left: 1px solid transparent; font-size: .9375rem; color: var(--muted); }
  .toc a:hover { color: var(--ink); }
  .toc a.is-active { color: var(--brand); border-left-color: var(--brand); }
}
.lesson { padding-block: 3rem; border-top: 1px solid var(--line); }
.lesson:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 40rem) { .lesson { padding-block: 4rem; } }
.lesson__num { font-size: .875rem; font-weight: 500; color: var(--brand); }
.lesson h3 { margin-top: .5rem; font-size: 1.875rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; max-width: 40rem; }
@media (min-width: 40rem) { .lesson h3 { font-size: 2.5rem; } }
.prose { margin-top: 1.5rem; max-width: 42rem; display: grid; gap: 1.125rem; color: #3b4558; font-size: 1.0625rem; line-height: 1.75; }
.prose strong { color: var(--ink); font-weight: 600; }
.ref { font-size: .72em; vertical-align: super; line-height: 0; margin-left: .1em; }
.ref a { color: var(--brand); font-weight: 600; }
.ref a:hover { text-decoration: underline; }

.keyfact {
  margin-top: 2rem; max-width: 42rem; border-left: 3px solid var(--brand); background: var(--offwhite);
  border-radius: 0 16px 16px 0; padding: 1.25rem 1.5rem;
}
.keyfact b { display: block; font-size: .8125rem; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.keyfact p { margin-top: .375rem; color: var(--ink); line-height: 1.6; }

.figure { margin-top: 2.5rem; }
.figure__box { border-radius: 24px; background: var(--offwhite); padding: 1.5rem; overflow: hidden; }
@media (min-width: 40rem) { .figure__box { padding: 2rem; } }
.figure__box svg { width: 100%; height: auto; }
.figure figcaption { margin-top: .75rem; font-size: .875rem; color: var(--muted); line-height: 1.55; max-width: 48rem; }
.figure figcaption b { color: var(--ink); font-weight: 600; }

.studies { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .studies { grid-template-columns: repeat(3, 1fr); } }
.study { border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; display: flex; flex-direction: column; }
.study .year { font-size: .8125rem; font-weight: 500; color: var(--brand); }
.study h4 { margin: .5rem 0 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.study p { margin-top: .625rem; font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.study .result { margin-top: auto; padding-top: 1rem; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.03em; }
.study .result small { display: block; font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }

/* Ziel & Technik mit Bildern */
.media-split { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 64rem) { .media-split { grid-template-columns: 7fr 5fr; gap: 4rem; } .media-split--rev { grid-template-columns: 5fr 7fr; } .media-split--rev .media-col { order: 2; } }
.media { border-radius: var(--radius-tile); overflow: hidden; background: var(--offwhite); }
.media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.media-caption { margin-top: .75rem; font-size: .875rem; color: var(--muted); }

.goals { margin-top: 2rem; display: grid; gap: 1px; background: var(--line); border-radius: 18px; overflow: hidden; }
.goals li { background: #fff; padding: 1.125rem 1.25rem; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; }
.goals .n { font-size: .8125rem; font-weight: 600; color: var(--brand); padding-top: .15rem; font-variant-numeric: tabular-nums; }
.goals b { display: block; font-weight: 600; }
.goals span { display: block; margin-top: .25rem; font-size: .9375rem; color: var(--muted); line-height: 1.55; }

.parts { margin-top: 3rem; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .parts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .parts { grid-template-columns: repeat(3, 1fr); } }
.part { border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; }
.part .tagline { font-size: .8125rem; font-weight: 500; color: var(--brand); }
.part h4 { margin: .375rem 0 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.part p { margin-top: .625rem; font-size: .9375rem; color: var(--muted); line-height: 1.6; }

.spec { margin-top: 3rem; width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec caption { text-align: left; font-weight: 600; font-size: 1.125rem; letter-spacing: -0.015em; padding-bottom: 1rem; }
.spec th, .spec td { text-align: left; padding: .875rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 400; color: var(--muted); width: 45%; padding-right: 1rem; }
.spec td { font-weight: 500; }
.spec-note { margin-top: 1rem; font-size: .8125rem; color: var(--muted); }

/* Zeitachse */
.timeline { margin-top: 3.5rem; display: grid; gap: 0; max-width: 48rem; }
.tl { position: relative; padding: 0 0 2.25rem 2.5rem; }
.tl::before { content: ""; position: absolute; left: 7px; top: 1.25rem; bottom: 0; width: 1px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl::after { content: ""; position: absolute; left: 0; top: .3rem; width: 15px; height: 15px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tl.done::after { background: var(--brand); box-shadow: none; }
.tl.now::after { background: #fff; box-shadow: inset 0 0 0 4px var(--brand); }
.tl small { font-size: .8125rem; font-weight: 500; color: var(--brand); }
.tl h4 { margin: .25rem 0 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.015em; }
.tl p { margin-top: .375rem; color: var(--muted); line-height: 1.6; }

/* Quellen */
.refs { margin-top: 2.5rem; display: grid; gap: .875rem; counter-reset: ref; max-width: 52rem; }
.refs li { counter-increment: ref; display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; font-size: .9375rem; color: var(--muted); line-height: 1.6; scroll-margin-top: 6rem; }
.refs li::before { content: "[" counter(ref) "]"; color: var(--brand); font-weight: 600; font-size: .875rem; }
.refs li:target { background: var(--mint); border-radius: 8px; }
.refs a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.refs i { color: var(--ink); font-style: normal; font-weight: 500; }
