/* =========================================================
   Niclas Seitz · Ethische Begleitung von Renaturierungsprojekten

   Gestaltungsentscheide
   ---------------------------------------------------------
   Farbe
   · Papier ist Weiss. Kein Beige, kein Filmkorn: Der Bildschirm
     ist kein Büttenpapier, und die Fotos (Grün, Türkis, Nebel)
     brauchen einen neutralen Grund, der sie nicht gelb einfärbt.
   · Tinte ist neutrales Schwarz. Dunkle Flächen sind dieselbe
     Tinte, umgekehrt. Es gibt zwei Zustände, keinen dritten
     «Waldgrün»-Ton.
   · Genau eine Farbe: Gewässerblau, angelehnt an die Landeskarte.
     Wasser ist auf jeder Schweizer Karte blau. Hier markiert die
     Farbe, was aktiv oder verlinkt ist, und das Wasser im Schema.

   Schrift
   · Source Serif 4 (Frank Grießhammer) für Titel und Lauftext:
     eine Übergangsantiqua nach Fournier, aus der Zeit der
     Aufklärung. Optische Grössen von 8 bis 60 pt: Gross gesetzt
     wird sie feiner, klein gesetzt robuster, ohne Zutun.
   · Source Sans 3 (Paul D. Hunt), die dazu entworfene Grotesk,
     nur für die Funktionsebene: Navigation, Bezeichnungen,
     Quellen, Legenden. Gemischte Schreibung, keine gesperrten
     Versalien.
   · Keine Monospace: Auf dieser Seite steht kein Code.
   · Kursiv nur, wo es etwas bedeutet: Betonung, Werktitel,
     wissenschaftliche Artnamen.
   ========================================================= */

:root {
  --paper: #FFFFFF;
  --paper-2: #F1F1F1;
  --ink: #111111;
  --ink-2: #3A3A3A;
  --ink-3: #6E6E6E;           /* 5.1:1 auf Weiss */
  --line: rgba(17, 17, 17, .13);
  --line-strong: #111111;

  --dark: #111111;
  --dark-2: #1C1C1C;
  --on-dark: #F4F4F4;
  --on-dark-2: rgba(244, 244, 244, .7);
  --on-dark-3: rgba(244, 244, 244, .48);
  --line-dark: rgba(244, 244, 244, .16);

  --blue: #0B6FB8;            /* Gewässerblau auf Weiss, 5.3:1 */
  --blue-light: #7CC0EE;      /* dasselbe Blau auf Schwarz, 9.6:1 */

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;

  /* Eine Grössenskala für alles */
  --fs-display: clamp(50px, 8.4vw, 132px);
  --fs-h2: clamp(36px, 4.6vw, 70px);
  --fs-h3: clamp(28px, 2.7vw, 42px);
  --fs-h4: clamp(22px, 1.7vw, 26px);
  --fs-lead: clamp(20px, 1.5vw, 22px);
  --fs-body: 18px;
  --fs-label: 15px;
  --fs-small: 14px;

  --pad: clamp(20px, 5vw, 80px);
  --maxw: 1480px;
  --section: clamp(96px, 12vw, 190px);
  --ease: cubic-bezier(.2, .75, .1, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
/* Trennen nur lange Komposita, mindestens vier Zeichen pro Seite */
p {
  text-wrap: pretty;
  hyphens: auto; -webkit-hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
}
::selection { background: #CDE6F7; color: var(--ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 300;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans);
  padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Typografie ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.08;
  text-wrap: balance;
  hyphens: manual;
}
h2 { font-size: var(--fs-h2); }

/* Bezeichnung über einem Abschnitt (Spitzmarke) */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: lining-nums;
  color: var(--ink);
}
.eyebrow--light { color: var(--on-dark); }

.caption {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--ink-3);
}

.section-head { max-width: 1120px; }
.section-head h2 { margin-top: 20px; }
.section-head__lead {
  margin-top: 28px;
  max-width: 30em;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-2);
}
.section-head--split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 6vw, 110px);
  align-items: end;
  max-width: none;
}
.section-head--split .section-head__lead { margin-top: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  padding: 12px 22px;
  border: 1.5px solid currentColor;
  transition: background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn--light { color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* ---------- Reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; gap: 34px;
  padding: 24px var(--pad);
  color: #fff;
  transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease), transform .6s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: 14px;
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-105%); }

.nav__logo {
  margin-right: auto;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  text-decoration: none;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a, .nav__cta {
  position: relative;
  font-family: var(--sans);
  font-size: 16px;
  text-decoration: none;
}
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
.nav.is-solid .nav__cta { color: var(--blue); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; color: inherit;
  position: relative; cursor: pointer;
}
.nav__toggle span:not(.sr-only) {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.menu-open .nav__toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav__toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--dark);
  color: var(--on-dark);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--pad) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a {
  font-family: var(--serif);
  font-size: clamp(38px, 10vw, 58px);
  line-height: 1.15;
  letter-spacing: -.01em;
  text-decoration: none;
}
.menu__foot { font-family: var(--sans); font-size: var(--fs-label); color: var(--on-dark-3); }
.menu-open .menu { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.menu-open .nav { color: var(--on-dark); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 660px;
  overflow: hidden;
  background: #000;
  color: #fff;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.14);
  animation: heroZoom 3.2s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1.02); } }

.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .06) 26%, rgba(0, 0, 0, .05) 48%, rgba(0, 0, 0, .74) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .4) 0%, rgba(0, 0, 0, 0) 60%);
}

.hero__inner {
  position: relative;
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(36px, 6vh, 72px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.hero__eyebrow {
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeIn 1.2s .5s var(--ease) forwards;
}
.hero__title {
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: -.02em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span {
  display: block;
  transform: translateY(108%);
  animation: rise 1.5s .15s var(--ease) forwards;
}
.hero__title .line:nth-child(2) > span { animation-delay: .3s; }

.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  margin-top: clamp(28px, 4vh, 48px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  opacity: 0;
  animation: fadeUp 1.3s .85s var(--ease) forwards;
}
.hero__lead {
  max-width: 30em;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 64px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.hero__scroll span {
  position: absolute; left: 0; top: 0;
  width: 1px; height: 24px;
  background: #fff;
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { from { transform: translateY(-24px); } to { transform: translateY(64px); } }
@keyframes rise { to { transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Manifest
   ========================================================= */

.manifest {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--section) var(--pad) calc(var(--section) * .8);
}
.manifest__text {
  margin-top: 30px;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.2;
  letter-spacing: -.01em;
  hyphens: manual;
}
.manifest__text .w { opacity: .14; transition: opacity .6s var(--ease); }
.manifest__text .w.on { opacity: 1; }

/* =========================================================
   Fakten
   ========================================================= */

.facts {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) var(--section);
}
.facts__head {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}
.facts__head h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.15; }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 7vw, 100px);
}
.fact {
  padding: 0 clamp(20px, 3vw, 48px);
  border-left: 1px solid var(--line);
}
.fact:first-child { padding-left: 0; border-left: 0; }
.fact__num {
  font-size: clamp(56px, 6.2vw, 100px);
  line-height: 1;
  letter-spacing: -.015em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.fact__num small {
  margin-left: .14em;
  font-size: .3em;
  letter-spacing: 0;
  color: var(--ink-3);
}
.fact__text { margin-top: 20px; max-width: 19em; color: var(--ink-2); hyphens: manual; }
.fact__src {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-variant-numeric: lining-nums;
  color: var(--ink-3);
}

/* =========================================================
   Fluss-Morph (sticky)
   ========================================================= */

.river {
  position: relative;
  height: 360vh;
  background: var(--dark);
  color: var(--on-dark);
}
.river__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.river__text {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px var(--pad) 60px;
}
.river__stages {
  position: relative;
  margin-top: 40px;
  min-height: 330px;
}
.stage {
  position: absolute; inset: 0 0 auto 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  pointer-events: none;
}
.stage.is-active { opacity: 1; transform: none; pointer-events: auto; }
.stage.is-past { transform: translateY(-26px); }
.stage__no {
  display: block;
  margin-bottom: 18px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  font-variant-numeric: lining-nums;
  color: var(--blue-light);
}
.stage__title { font-size: clamp(34px, 3.8vw, 60px); }
.stage p {
  margin-top: 22px;
  max-width: 25em;
  font-size: 19px;
  color: var(--on-dark-2);
}

.river__quote {
  font-family: var(--serif);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--on-dark);
  max-width: 22em;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.river__quote.is-in { opacity: .92; transform: none; }
.river__quote cite {
  display: block; margin-top: 8px;
  font-family: var(--sans); font-style: normal;
  font-size: var(--fs-small);
  color: var(--on-dark-3);
}

.river__progress {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
  max-width: 470px;
  padding-top: 14px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--on-dark-3);
}
.river__bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--line-dark);
}
.river__bar span {
  position: absolute; inset: 0;
  background: var(--blue-light);
  transform: scaleX(0); transform-origin: left;
}

.river__visual { position: relative; }
.river__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.river__legend {
  position: absolute; left: 28px; bottom: 32px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--on-dark-3);
}

.r-contours path { fill: none; stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.r-aue { fill: #6F8552; }
.r-water { fill: url(#water); }
.r-flow {
  fill: none;
  stroke: rgba(255, 255, 255, .75);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 1.5 22;
  animation: flow 3.5s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -235; } }
.r-banks { fill: none; stroke: #A8A8A8; stroke-width: 3; }
.r-ticks { fill: none; stroke: #A8A8A8; stroke-width: 1.3; }
.r-cliffs { fill: none; stroke: #9A7650; stroke-width: 4; stroke-linecap: round; }
.r-labels text {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  paint-order: stroke;
  stroke: var(--dark);
  stroke-width: 5px;
  stroke-linejoin: round;
  fill: var(--on-dark);
}
.r-labels circle { fill: var(--on-dark); }
.r-labels line { stroke: rgba(244, 244, 244, .55); stroke-width: 1; }

/* =========================================================
   Ansatz / PPE
   ========================================================= */

.ansatz {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section) var(--pad);
}
.ppe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line-strong);
}
.ppe__col {
  padding: 22px clamp(20px, 3vw, 48px) 10px;
  border-left: 1px solid var(--line);
}
.ppe__col:first-child { padding-left: 0; border-left: 0; }
.ppe__disc {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
}
.ppe__disc span:last-child {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--blue);
}
.ppe__col h3 {
  margin: clamp(40px, 5vw, 72px) 0 20px;
  font-size: var(--fs-h3);
}
.ppe__col > p { color: var(--ink-2); max-width: 24em; }
.tags {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  color: var(--ink-3);
}
.tags li { display: inline; }
.tags li + li::before { content: "·"; margin: 0 .45em; }

/* =========================================================
   Bild-Zwischenspiele (Eisvogel, Zitat, Kontakt)
   ========================================================= */

.interlude, .quote, .contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.interlude__media, .quote__media, .contact__media {
  position: absolute;
  inset: -14% 0;
  will-change: transform;
}
.interlude__media img, .quote__media img, .contact__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.interlude::before, .quote::before, .contact::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}

.interlude {
  min-height: 112vh;
  display: flex; align-items: flex-end;
}
.interlude__media img { object-position: 62% 40%; }
.interlude::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .78) 100%);
}
.interlude__text {
  position: relative; z-index: 2;
  max-width: 1120px;
  padding: 0 var(--pad) clamp(56px, 11vh, 120px);
}
.interlude__big {
  margin-top: 22px;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.16;
  letter-spacing: -.01em;
  hyphens: manual;
}

/* =========================================================
   Vorher / Nachher
   ========================================================= */

.compare {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section) var(--pad);
}
.compare__frame {
  --pos: 50%;
  position: relative;
  margin-top: clamp(48px, 6vw, 84px);
  aspect-ratio: 16 / 8.4;
  overflow: hidden;
  background: #222;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.compare__frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.compare__before {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__before img { filter: saturate(.55) contrast(1.06) brightness(.96); }
.compare__handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 1px;
  background: rgba(255, 255, 255, .9);
  pointer-events: none;
}
.compare__handle > span {
  position: absolute; top: 50%; left: 0;
  width: 60px; height: 60px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
  transition: transform .3s var(--ease);
}
.compare__frame:hover .compare__handle > span,
.compare__frame.is-dragging .compare__handle > span { transform: translate(-50%, -50%) scale(1.08); }
.compare__frame:has(input:focus-visible) .compare__handle > span { outline: 2px solid var(--blue); outline-offset: 4px; }
.compare__label {
  position: absolute; bottom: 20px; z-index: 2;
  padding: 5px 10px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, .62);
  pointer-events: none;
}
.compare__label--l { left: 20px; }
.compare__label--r { right: 20px; }

/* =========================================================
   Angebot
   ========================================================= */

.services {
  background: var(--dark);
  color: var(--on-dark);
}
.services__wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section) var(--pad);
}
.services .section-head__lead { color: var(--on-dark-2); }
.services__body {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(40px, 6vw, 110px);
  margin-top: clamp(56px, 7vw, 100px);
  align-items: start;
}
.services__list { border-top: 1px solid var(--line-dark); }
.service {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
  cursor: pointer;
  outline: none;
}
.service__no {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  padding-top: .55em;
  color: var(--on-dark-3);
  transition: color .4s;
}
.service__title {
  font-size: clamp(26px, 2.5vw, 38px);
  color: var(--on-dark-3);
  transition: color .5s var(--ease);
}
.service__text {
  max-width: 28em;
  margin-top: 12px;
  color: rgba(244, 244, 244, .36);
  transition: color .5s var(--ease);
}
.service.is-active .service__title { color: var(--on-dark); }
.service.is-active .service__no { color: var(--blue-light); }
.service.is-active .service__text { color: var(--on-dark-2); }
.service:focus-visible .service__title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.services__visual {
  position: sticky; top: 110px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--dark-2);
}
.services__visual figure {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
}
.services__visual figure.is-active { opacity: 1; }
.services__visual img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
  transition: transform 2.4s var(--ease);
}
.services__visual figure.is-active img { transform: scale(1); }
.services__visual figcaption {
  position: absolute; left: 18px; bottom: 16px;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

/* =========================================================
   Arbeitsweise
   ========================================================= */

.process {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section) var(--pad);
}
.steps { position: relative; margin-top: clamp(64px, 8vw, 120px); }
.steps__line {
  display: block;
  width: 100%; height: 60px;
  overflow: visible;
}
.steps__track, .steps__draw {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.steps__track { stroke: var(--line); stroke-width: 1; }
.steps__draw { stroke: var(--blue); stroke-width: 2; }
.steps ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 26px;
}
.steps li {
  position: relative;
  padding-right: clamp(16px, 2.2vw, 36px);
}
.steps li::before {
  content: "";
  position: absolute; top: -62px; left: -5px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--blue);
}
.steps__no {
  font-size: 30px;
  line-height: 1;
  color: var(--blue);
}
.steps h3 {
  margin: 18px 0 10px;
  font-size: var(--fs-h4);
  line-height: 1.15;
  letter-spacing: 0;
}
.steps p { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }

/* =========================================================
   Zitat
   ========================================================= */

.quote {
  min-height: 100vh;
  display: grid; place-items: center;
  text-align: center;
}
.quote::before { background: radial-gradient(ellipse 70% 60% at center, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .48) 65%, rgba(0, 0, 0, .7) 100%); }
.quote__inner {
  position: relative; z-index: 2;
  max-width: 1080px;
  padding: 120px var(--pad);
}
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.quote figcaption {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-variant-numeric: lining-nums;
  color: rgba(255, 255, 255, .8);
}
.quote figcaption cite { font-style: italic; }

/* =========================================================
   Über mich
   ========================================================= */

.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--section) var(--pad);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 7vw, 130px);
  align-items: start;
}
.about__head { position: sticky; top: 110px; }
.about__head h2 { margin: 20px 0 0; }
.about__body > p { color: var(--ink-2); max-width: 34em; margin-top: 16px; }
.about__body > p.about__lead {
  font-size: clamp(22px, 1.9vw, 27px);
  line-height: 1.38;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 28px;
}
.about__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  margin-top: 52px;
  border-top: 1px solid var(--line-strong);
}
.about__facts div { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.about__facts dt {
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-3);
}
.about__facts dd {
  margin-top: 6px;
  font-size: 19px;
  line-height: 1.35;
}

/* =========================================================
   Notizen
   ========================================================= */

.notes {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) var(--section);
}
.notes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 40px);
  margin-top: clamp(48px, 6vw, 90px);
}
.note__link { display: block; text-decoration: none; }
.note__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-2);
}
.note__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.note__link:hover .note__media img { transform: scale(1.04); }
.note__meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: var(--fs-small);
  color: var(--ink-3);
}
.note h3 {
  margin-top: 18px;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
}
.note p:not(.note__meta) { margin-top: 12px; color: var(--ink-2); font-size: 17px; }
.note__more {
  display: inline-flex; gap: 8px;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 16px; font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 1px;
}
.note__more span { transition: transform .4s var(--ease); }
.note__link:hover .note__more span { transform: translateX(5px); }

/* =========================================================
   Kontakt & Footer
   ========================================================= */

.contact {
  min-height: 100vh;
  display: flex; align-items: center;
}
.contact__media img { object-position: 50% 60%; }
.contact::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .36) 55%, rgba(0, 0, 0, .06) 100%),
              linear-gradient(180deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .32));
}
.contact__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--pad);
}
.contact h2 {
  margin-top: 24px;
  max-width: 980px;
  font-size: clamp(48px, 7.4vw, 120px);
  line-height: 1;
  letter-spacing: -.02em;
}
.contact__lead {
  margin-top: 32px;
  max-width: 30em;
  font-size: 20px;
  color: rgba(255, 255, 255, .88);
}
.contact__mail {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 44px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 40px);
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1.5px solid rgba(255, 255, 255, .5);
  transition: border-color .4s;
}
.contact__mail span { transition: transform .5s var(--ease); }
.contact__mail:hover { border-color: #fff; }
.contact__mail:hover span { transform: translateX(8px); }
.contact__links { display: flex; gap: 28px; margin-top: 36px; }
.contact__links a {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(255, 255, 255, .85);
}
.contact__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
  padding: 28px var(--pad);
  background: var(--dark);
  color: var(--on-dark-3);
  font-family: var(--sans);
  font-size: var(--fs-label);
}
.footer__brand { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--on-dark); }
.footer__meta { font-size: var(--fs-small); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; margin-right: -10px; }

  .steps ol { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__line { display: none; }
  .steps li::before { display: none; }
  .steps li { padding-top: 22px; border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  :root { --fs-body: 17.5px; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head--split .section-head__lead { margin-top: 0; }

  .hero__foot { flex-direction: column; align-items: flex-start; gap: 26px; }

  .facts__head { grid-template-columns: 1fr; gap: 20px; }
  .facts__grid { grid-template-columns: 1fr; gap: 0; }
  .fact { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .fact:first-child { padding-top: 0; border-top: 0; }

  /* Fluss-Morph: Grafik hinter dem Text */
  .river { height: 330vh; }
  .river__sticky { grid-template-columns: 1fr; }
  .river__visual { position: absolute; inset: 0; z-index: 0; }
  .river__visual::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, .15) 0%, rgba(17, 17, 17, .35) 40%, rgba(17, 17, 17, .94) 72%);
  }
  .river__legend, .r-labels [data-label="steil"] { display: none; }
  .river__text { justify-content: flex-end; padding-bottom: 40px; }
  .river__text > .eyebrow { display: none; }
  .river__stages { min-height: 300px; margin-top: 0; }
  .river__quote { display: none; }
  .river__progress { margin-top: 8px; }

  .ppe { grid-template-columns: 1fr; }
  .ppe__col { padding: 22px 0 48px; border-left: 0; border-top: 1px solid var(--line); }
  .ppe__col:first-child { border-top: 0; }
  .ppe__col h3 { margin-top: 30px; }

  .interlude { min-height: 92vh; }

  .compare__frame { aspect-ratio: 4 / 5; }
  .compare__handle > span { width: 52px; height: 52px; }

  .services__body { grid-template-columns: 1fr; }
  .services__visual { display: none; }
  .service .service__text, .service.is-active .service__text { color: var(--on-dark-2); }
  .service .service__title, .service.is-active .service__title { color: var(--on-dark); }
  .service .service__no { color: var(--blue-light); }
  .service { grid-template-columns: 40px 1fr; cursor: default; }

  .about { grid-template-columns: 1fr; }
  .about__head { position: relative; top: 0; }
  .about__facts { grid-template-columns: 1fr; }

  .notes__grid { grid-template-columns: 1fr; gap: 56px; }
  .note__media { aspect-ratio: 4 / 3; }

  .contact::before { background: linear-gradient(180deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .8)); }
}

@media (max-width: 560px) {
  .steps ol { grid-template-columns: 1fr; row-gap: 40px; }
  .hero__title { font-size: clamp(38px, 12vw, 72px); } /* «Was schulden wir» bleibt eine Zeile */
  .hero__scroll { display: none; }
  .hero__lead { font-size: 17px; }
  .btn { padding: 11px 20px; }
  .stage p { font-size: 17.5px; }
  .contact__links { flex-direction: column; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .manifest__text .w { opacity: 1; }
  .r-flow { animation: none; }
}
