/* Vantix Websites · Entwurf D · Tunnel
   Endzustand ist der Normalzustand: ohne JavaScript und bei reduzierter Bewegung steht der Tunnel ruhig,
   die Arbeiten stehen untereinander. Die Klasse .flug (JavaScript, keine Ruhe) schaltet die Fahrt ein. */

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

:root {
  --grund: #070807;
  --flaeche: #0c0e0c;
  --text: #f6f7ef;
  --text-2: #b9bab3;
  --text-3: #8e908a;
  --leise: #6c6e68;
  --linie: rgba(246, 247, 239, 0.13);
  --linie-fest: #6f716b;
  --kupfer: #ff9b68;
  --orange: #eb6a2c;
  --hell: #ffe3d2;
  --rand: clamp(20px, 5vw, 84px);
  --spalt: clamp(16px, 2vw, 32px);
  --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --inter: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --weich: cubic-bezier(0.22, 0.7, 0.18, 1);
  --lichtlinie: linear-gradient(90deg, var(--kupfer), var(--hell) 34%, var(--kupfer) 72%, rgba(255, 155, 104, 0.25));
}

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

html {
  background: var(--grund);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--inter);
  font-size: 1.0625rem;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

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

.sprung {
  position: fixed;
  left: 12px; top: 12px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--text);
  color: var(--grund);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.sprung:focus { transform: none; }

.rand {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: var(--rand);
}

h2 {
  font-family: var(--tight);
  font-weight: 560;
  font-size: clamp(2.25rem, 4.9vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h3 {
  font-family: var(--tight);
  font-weight: 560;
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
}
.vorspann { font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.45; color: var(--text-2); max-width: 30rem; }

/* ---------- Knöpfe und Verweise ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background: var(--orange);
  color: #070807;
  font: 600 1.0625rem/1 var(--inter);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.knopf:hover { background: var(--kupfer); }
.knopf:focus-visible { outline-color: var(--text); }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.knopf--breit { width: 100%; }
.knopf--linie {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(246, 247, 239, 0.5);
}
.knopf--linie:hover { background: rgba(246, 247, 239, 0.07); box-shadow: inset 0 0 0 1px var(--kupfer); }
.knopf--linie:focus-visible { outline-color: var(--kupfer); }

.verweis {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--kupfer);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.verweis:hover { color: var(--kupfer); }

.etikett {
  display: inline-block;
  padding: 4px 9px 5px;
  border: 1px solid rgba(255, 155, 104, 0.5);
  border-radius: 2px;
  color: var(--kupfer);
  font-size: 0.8125rem;
  line-height: 1.2;
}
.etikett--leise { border-color: var(--linie-fest); color: var(--text-2); }
.sparte { color: var(--text-2); }

/* ---------- Kopf ---------- */

.kopf {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
}
.kopf::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(7, 8, 7);
  border-bottom: 1px solid var(--linie);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.kopf--fest::before { opacity: 1; }
html:not(.js) .kopf::before { opacity: 1; }
.kopf-innen {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 1680px;
  margin-inline: auto;
  padding: 14px var(--rand);
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--tight);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.marke img { display: block; height: 19px; width: auto; }
.marke-name { font-weight: 650; }
.marke-zusatz { color: var(--text-2); font-weight: 400; }
.kopf-nav { display: flex; }
.kopf-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--text-2);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.kopf-nav a:hover { color: var(--text); }
.kopf-knopf { margin-left: 12px; }

/* ---------- Hero vor dem Tunneleingang ---------- */

.reise { position: relative; }
.reise-halt { position: relative; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

/* Der Tunnel: vier Wände aus echten Aufnahmen, an der Stirnseite gelenkig.
   Werte in vw/vh gelten ohne JavaScript; mit JavaScript setzt seite.js dieselben Größen in Pixeln. */
.tunnel {
  --W: 100vw;
  --H: 100vh;
  --P: calc(45vw + 32vh);
  --L: calc(var(--P) * 3.3);
  --s: calc(var(--P) * -0.7);
  --th: 64deg;
  --g: 16px;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background: var(--grund);
}
.raum {
  position: absolute;
  inset: 0;
  perspective: var(--P);
  transform: translate3d(12vw, 0, 0);
}
.kamera {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: translateZ(var(--s));
}
.wand {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  gap: var(--g);
  overflow: hidden;
  background: #040504;
}
.wand-l, .wand-r {
  width: var(--L);
  height: var(--H);
  flex-direction: column;
  padding-block: var(--g);
}
.wand-o, .wand-u {
  width: var(--W);
  height: var(--L);
  padding-inline: var(--g);
}
.wand-l {
  transform-origin: 100% 50%;
  transform: translate3d(calc(var(--W) / -2 - var(--L)), calc(var(--H) / -2), calc(var(--L) * -1)) rotateY(var(--th));
}
.wand-r {
  transform-origin: 0 50%;
  transform: translate3d(calc(var(--W) / 2), calc(var(--H) / -2), calc(var(--L) * -1)) rotateY(calc(var(--th) * -1));
}
.wand-o {
  transform-origin: 50% 100%;
  transform: translate3d(calc(var(--W) / -2), calc(var(--H) / -2 - var(--L)), calc(var(--L) * -1)) rotateX(calc(var(--th) * -1));
}
.wand-u {
  transform-origin: 50% 0;
  transform: translate3d(calc(var(--W) / -2), calc(var(--H) / 2), calc(var(--L) * -1)) rotateX(var(--th));
}

.reihe { flex: 1 1 0; min-height: 0; }
.reihe:nth-child(3) { display: none; }
.spalte { flex: 1 1 0; min-width: 0; }
.lauf, .satz { display: flex; }
.reihe .lauf { width: max-content; height: 100%; }
.reihe .satz { height: 100%; }
.reihe img {
  display: block;
  flex: none;
  height: 100%;
  width: auto;
  max-width: none;
  aspect-ratio: 16 / 10;
  margin-right: var(--g);
  object-fit: cover;
  opacity: 0.4;
  background: var(--flaeche);
}
.spalte .lauf, .spalte .satz { flex-direction: column; }
.spalte .lauf { width: 100%; }
.spalte img {
  display: block;
  flex: none;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  margin-bottom: var(--g);
  object-fit: cover;
  opacity: 0.4;
  background: var(--flaeche);
}
/* Rechte Wand und Boden laufen vom Gelenk her: ihr Band beginnt um eine Satzlänge versetzt */
.wand-r .lauf { transform: translateX(-50%); }
.wand-u .lauf { transform: translateY(-50%); }

/* Licht kommt vom Fenster: am Gelenk hell und warm, zum Betrachter hin dunkel */
.wand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.wand-l::after { background: linear-gradient(90deg, rgba(7, 8, 7, 0.94) 0%, rgba(7, 8, 7, 0.76) 38%, rgba(7, 8, 7, 0.42) 78%, rgba(7, 8, 7, 0.1) 94%, rgba(255, 155, 104, 0.2) 100%); }
.wand-r::after { background: linear-gradient(270deg, rgba(7, 8, 7, 0.94) 0%, rgba(7, 8, 7, 0.76) 38%, rgba(7, 8, 7, 0.42) 78%, rgba(7, 8, 7, 0.1) 94%, rgba(255, 155, 104, 0.2) 100%); }
.wand-o::after { background: linear-gradient(180deg, rgba(7, 8, 7, 0.95) 0%, rgba(7, 8, 7, 0.78) 38%, rgba(7, 8, 7, 0.46) 78%, rgba(7, 8, 7, 0.12) 94%, rgba(255, 155, 104, 0.18) 100%); }
.wand-u::after { background: linear-gradient(0deg, rgba(7, 8, 7, 0.95) 0%, rgba(7, 8, 7, 0.78) 38%, rgba(7, 8, 7, 0.46) 78%, rgba(7, 8, 7, 0.12) 94%, rgba(255, 155, 104, 0.18) 100%); }

/* Nähte: die vier Tunnelkanten als feine Kupferlinien, Lichtimpulse laufen darauf zum Betrachter */
.naht, .impuls {
  position: absolute;
  left: 0;
  z-index: 2;
  height: 2px;
  pointer-events: none;
}
.naht { right: 0; }
.naht--a, .impuls--a, .impuls--b { top: 0; }
.naht--b, .impuls--c, .impuls--d { bottom: 0; }
.wand-l .naht { background: linear-gradient(90deg, rgba(255, 155, 104, 0) 0%, rgba(255, 155, 104, 0.25) 45%, rgba(255, 155, 104, 0.85) 100%); }
.wand-r .naht { background: linear-gradient(270deg, rgba(255, 155, 104, 0) 0%, rgba(255, 155, 104, 0.25) 45%, rgba(255, 155, 104, 0.85) 100%); }
.impuls {
  width: 22%;
  background: linear-gradient(90deg, rgba(255, 227, 210, 0), var(--hell) 50%, rgba(255, 227, 210, 0));
  box-shadow: 0 0 12px 1px rgba(255, 155, 104, 0.7);
  opacity: 0;
}
.wand-o .naht, .wand-u .naht, .wand-o .impuls, .wand-u .impuls { display: none; }

/* Die Stirn: ein einzelnes helles Fenster am Ende (ohne Fahrt sichtbar, mit Fahrt übernimmt die Bühne) */
.stirn {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--W);
  height: var(--H);
  transform: translate3d(calc(var(--W) / -2), calc(var(--H) / -2), calc(var(--L) * -1));
  background: linear-gradient(180deg, #fff6ef 0%, #ffe0cb 100%);
  box-shadow: 0 0 0 3px var(--kupfer), 0 0 220px 60px rgba(255, 155, 104, 0.4);
}

/* Schleier: hinter dem Text bleibt jede Aufnahme so dunkel, dass der Kontrast hält */
.hero-schleier {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(7, 8, 7, 0.85) 0%, rgba(7, 8, 7, 0) 30%),
    linear-gradient(180deg, rgba(7, 8, 7, 0.85) 0%, rgba(7, 8, 7, 0) 16%),
    linear-gradient(90deg, rgba(7, 8, 7, 0.9) 0%, rgba(7, 8, 7, 0.84) 38%, rgba(7, 8, 7, 0.5) 48%, rgba(7, 8, 7, 0) 54%);
}

.hero-innen {
  position: relative;
  z-index: 0;
  display: grid;
  align-content: end;
  padding-top: 112px;
  padding-bottom: clamp(28px, 6vh, 64px);
}
.hero-text { position: relative; }
.leitzeile {
  font-family: var(--tight);
  font-weight: 620;
  font-size: clamp(3.3rem, 5.6vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.032em;
  margin-left: -0.045em;
}
.zeile { display: block; }
.hero-angebot {
  display: grid;
  grid-template-columns: minmax(0, 25rem) auto;
  justify-content: start;
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(28px, 4.6vh, 48px);
}
.hero-unterzeile { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); line-height: 1.45; color: var(--text); }
.hero-handlung { display: grid; gap: 12px; justify-items: start; }
.hero-klein { max-width: 15.5rem; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); }
.hero-absender {
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 16px;
  max-width: 25rem;
  border-top: 1px solid rgba(246, 247, 239, 0.22);
  font-size: 0.875rem;
  color: var(--text-2);
}

.pause {
  position: absolute;
  right: var(--rand);
  bottom: clamp(20px, 4vh, 44px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(246, 247, 239, 0.28);
  border-radius: 2px;
  background: rgba(7, 8, 7, 0.8);
  color: var(--text);
  font: 500 0.8125rem/1 var(--inter);
  cursor: pointer;
}
.pause[hidden] { display: none; }
.pause:hover { border-color: var(--kupfer); }
.pause-zeichen {
  position: relative;
  width: 10px; height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.pause[aria-pressed="true"] .pause-zeichen {
  width: 0; height: 0;
  border: 6px solid transparent;
  border-left: 10px solid currentColor;
  border-right: 0;
}

/* ---------- Angebot: ohne Fahrt ein ruhiger Abschnitt unter dem Hero ---------- */

.angebot {
  position: relative;
  max-width: 1680px;
  margin-inline: auto;
  padding: clamp(80px, 10vw, 150px) var(--rand) 0;
  scroll-margin-top: 40px;
}
.fenster-licht { display: none; }
.angebot-handlung {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  margin-top: clamp(32px, 4.4vw, 64px);
}

/* ---------- Die Fahrt (nur mit JavaScript und ohne Ruhewunsch) ---------- */

.flug .reise { height: 330vh; }
.flug .reise-halt {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.flug .hero {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: visible;
  isolation: auto;
}
.flug .tunnel { z-index: 0; }
/* Ein schmaler Schatten unter dem Kopf hält Marke und Verweise über den vorbeiziehenden Wänden lesbar */
.flug .reise-halt::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 8, 7, 0.82) 0%, rgba(7, 8, 7, 0.45) 55%, rgba(7, 8, 7, 0) 100%);
}
.flug .hero-schleier { z-index: 1; }
.flug .hero-innen { z-index: 3; }
.flug .stirn { display: none; }
.flug .tunnel.ruht .lauf { animation-play-state: paused; }

/* Die Bänder ziehen langsam aus dem Fenster heraus zum Betrachter: der Tunnel lebt auch im Stand */
.flug .wand-l .lauf { animation: zum-auge-x 90s linear infinite; }
.flug .wand-r .lauf { animation: vom-gelenk-x 96s linear infinite; }
.flug .wand-o .lauf { animation: zum-auge-y 84s linear infinite; }
.flug .wand-u .lauf { animation: vom-gelenk-y 88s linear infinite; }
.flug .wand-l .reihe:nth-child(2) .lauf { animation-duration: 104s; animation-delay: -30s; }
.flug .wand-r .reihe:nth-child(2) .lauf { animation-duration: 110s; animation-delay: -44s; }
.flug .wand-l .reihe:nth-child(3) .lauf { animation-duration: 98s; animation-delay: -61s; }
.flug .wand-r .reihe:nth-child(3) .lauf { animation-duration: 92s; animation-delay: -12s; }
.flug .wand-o .spalte:nth-child(2) .lauf { animation-duration: 100s; animation-delay: -37s; }
.flug .wand-u .spalte:nth-child(2) .lauf { animation-duration: 94s; animation-delay: -53s; }
@keyframes zum-auge-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes vom-gelenk-x { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes zum-auge-y { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes vom-gelenk-y { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* Die Bühne ist das Fenster am Ende des Tunnels: seite.js skaliert sie von klein und hell bis auf Bildschirmgröße */
/* Das Angebot ist das Fenster am Ende des Tunnels: seite.js skaliert es von klein und hell bis auf Bildschirmgröße */
.flug .angebot {
  position: absolute;
  inset: 0;
  z-index: 2;
  max-width: none;
  margin: 0;
  display: grid;
  align-content: center;
  padding: 96px var(--rand) clamp(28px, 5vh, 56px);
  background: #090b09;
  box-shadow: 0 0 0 2px var(--kupfer), 0 0 160px 30px rgba(255, 155, 104, 0.32);
  transform-origin: 50% 50%;
  transform: translate3d(12vw, 0, 0) scale(0.2);
  will-change: transform;
  pointer-events: none;
}
.flug .angebot.gelandet { pointer-events: auto; }
.angebot-innen { width: 100%; max-width: calc(1680px - 2 * var(--rand)); margin-inline: auto; }
.flug .fenster-licht {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(180deg, #fff6ef 0%, #ffe0cb 100%);
  box-shadow: 0 0 40px 6px rgba(255, 155, 104, 0.55);
  transform-origin: 50% 50%;
  pointer-events: none;
}

/* ---------- Einstieg: die Wand faltet sich zum Tunnel, die Leitzeile steht nach 0,8 s ---------- */

.einstieg .tunnel { --th: 0deg; }
.einstieg .wand { opacity: 0; }
.einstieg .zeile { animation: zeile-ein 0.6s var(--weich) both; }
.einstieg .zeile:nth-child(1) { animation-delay: 0.1s; }
.einstieg .zeile:nth-child(2) { animation-delay: 0.22s; }
.einstieg .zeile:nth-child(3) { animation-delay: 0.34s; }
@keyframes zeile-ein { from { opacity: 0; transform: translateY(0.16em); } to { opacity: 1; transform: none; } }
@keyframes einblenden { from { opacity: 0; } to { opacity: 1; } }
.einstieg .hero-angebot,
.einstieg .hero-absender,
.einstieg .kopf-innen { animation: einblenden 0.5s ease-out 0.45s both; }
.einstieg .pause { animation: einblenden 0.5s ease-out 1.8s both; }

/* ---------- Abschnitte allgemein ---------- */

.abschnitt {
  padding-block: clamp(80px, 10vw, 150px);
  scroll-margin-top: 40px;
}
.abschnitt-kopf {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 16px;
  align-items: end;
}
.abschnitt-kopf h2 { grid-column: 1 / span 7; }
.abschnitt-kopf .vorspann { grid-column: 8 / -1; padding-bottom: 0.4em; }

/* ---------- Maßstab: drei Wörter leuchten nacheinander auf ---------- */

.woerter { margin-top: clamp(40px, 6vw, 96px); border-bottom: 1px solid var(--linie); }
.wort {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  align-items: baseline;
  padding-block: clamp(20px, 2.6vw, 40px);
  border-top: 1px solid var(--linie);
}
.wort::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--lichtlinie);
  box-shadow: 0 0 18px 1px rgba(255, 155, 104, 0.5);
  transform-origin: 0 50%;
}
.wort-name {
  grid-column: 1 / span 8;
  position: relative;
  font-family: var(--tight);
  font-weight: 620;
  font-size: clamp(3rem, 8vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin-left: -0.045em;
}
.wort-leise { display: block; }
.wort-hell {
  position: absolute;
  left: 0; top: 0;
  display: block;
  color: var(--text);
  text-shadow: 0 0 34px rgba(255, 155, 104, 0.3);
  opacity: 0;
}
.wort-text { grid-column: 9 / -1; color: var(--text-2); font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.45; }
.massstab-schluss {
  margin-top: clamp(28px, 3.4vw, 48px);
  max-width: 34rem;
  font-family: var(--tight);
  font-weight: 560;
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
}
/* Mit JavaScript: leise, bis das Wort die Bildmitte erreicht; dann Licht */
.js .wort-leise { color: var(--leise); }
.js .wort-hell { transition: opacity 0.7s ease; }
.js .wort.an .wort-hell { opacity: 1; }
.js .wort::before { opacity: 0; transition: opacity 0.6s ease; }
.js .wort.an::before { opacity: 1; }
.flug .wort::before { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--weich); }
.flug .wort.an::before { transform: none; }

/* ---------- Ablauf: eine Lichtlinie läuft durch drei Schritte ---------- */

.schritte {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--spalt);
  margin-top: clamp(40px, 6vw, 96px);
  padding-top: clamp(28px, 3vw, 44px);
  border-top: 1px solid var(--linie);
}
.schritte::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 2px;
  background: var(--lichtlinie);
  box-shadow: 0 0 18px 1px rgba(255, 155, 104, 0.5);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 1));
}
.schritt-nr {
  display: block;
  font-family: var(--tight);
  font-weight: 560;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--kupfer);
}
.schritt p { margin-top: 18px; max-width: 22rem; font-size: clamp(1.125rem, 1.5vw, 1.4375rem); line-height: 1.35; }
.js .schritt-nr { opacity: 0.28; transition: opacity 0.5s ease; }
.js .schritt.an .schritt-nr { opacity: 1; }
.fragen {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--spalt);
  row-gap: 28px;
  margin-top: clamp(56px, 7vw, 112px);
  padding-top: 28px;
  border-top: 1px solid var(--linie);
}
.fragen > div:first-child { grid-column: 1 / span 5; }
.fragen > div:last-child { grid-column: 7 / span 5; }
.fragen h3 { font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); }
.fragen p { margin-top: 10px; max-width: 30rem; color: var(--text-2); }

/* ---------- Einige Projekte: klein, gedämpft, Beschriftung erst nach dem Antippen ---------- */

.projekte { padding-top: 0; }
.projekte-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px; }
.projekte-kopf h2 { font-size: clamp(1.5rem, 2.2vw, 2.125rem); letter-spacing: -0.02em; }
.projekte-hinweis { color: var(--text-3); font-size: 0.9375rem; }
.projekt-reihe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
  margin-top: clamp(20px, 2.4vw, 32px);
}
.projekt summary {
  display: block;
  list-style: none;
  cursor: pointer;
  background: var(--flaeche);
  box-shadow: 0 0 0 1px rgba(246, 247, 239, 0.14);
}
.projekt summary::-webkit-details-marker { display: none; }
.projekt summary img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.42;
  filter: grayscale(0.55);
  transition: opacity 0.35s ease, filter 0.35s ease;
}
.projekt summary:hover img, .projekt summary:focus-visible img, .projekt[open] summary img { opacity: 1; filter: none; }
.projekt[open] summary { box-shadow: 0 0 0 1px var(--kupfer), 0 0 24px rgba(255, 155, 104, 0.3); }
.projekt-karte {
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px clamp(20px, 3vw, 44px);
  margin-top: 14px;
  padding: clamp(16px, 2vw, 24px);
  background: #0a0c0a;
  box-shadow: 0 0 0 1px rgba(255, 155, 104, 0.55), 0 24px 80px rgba(0, 0, 0, 0.6);
}
/* Mit JavaScript liegt die Karte unter der ganzen Reihe, ohne die Reihe zu verschieben */
.js .projekt-karte { position: absolute; left: 0; right: 0; top: 100%; z-index: 6; }
.projekt-bild { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.projekt-text { display: grid; justify-items: start; gap: 6px; }
.projekt-text h3 { font-size: clamp(1.5rem, 2.4vw, 2.25rem); letter-spacing: -0.024em; margin-top: 6px; }
.projekt-text .verweis { margin-top: 6px; }
.projekt-zu {
  align-self: start;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(246, 247, 239, 0.3);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font: 500 0.875rem/1 var(--inter);
  cursor: pointer;
}
.projekt-zu:hover { border-color: var(--kupfer); }
.projekt-zu[hidden] { display: none; }
.projekte-weiter { margin-top: clamp(14px, 1.6vw, 22px); color: var(--text-2); }
.projekte.offen { padding-bottom: calc(clamp(80px, 10vw, 150px) + var(--karte, 0px)); }
.nur-vorlesen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Absender: zwei Namen auf einer Lichtkante ---------- */

.absender { padding-top: 0; padding-bottom: clamp(40px, 4.4vw, 72px); }
.lichtkante {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(28px, 5vw, 96px);
  margin-top: clamp(36px, 5vw, 80px);
}
.lichtkante::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: end;
  height: 2px;
  background: var(--lichtlinie);
  box-shadow: 0 0 20px 1px rgba(255, 155, 104, 0.5);
  transform-origin: 0 50%;
}
.lk-teil { display: contents; }
.lk-oben { grid-row: 1; align-self: end; padding-bottom: clamp(14px, 1.6vw, 24px); }
.lk-unten { grid-row: 2; padding-top: clamp(12px, 1.3vw, 18px); }
.lk-teil:nth-child(1) > * { grid-column: 1; }
.lk-teil:nth-child(2) > * { grid-column: 2; }
.lk-teil:nth-child(3) > * { grid-column: 3; justify-self: end; }
.person-name {
  font-family: var(--tight);
  font-weight: 620;
  font-size: clamp(3.25rem, 8.2vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin-left: -0.045em;
}
.person-rolle { font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); color: var(--text-2); }
.sprechen-satz { max-width: 17rem; font-family: var(--tight); font-weight: 560; font-size: clamp(1.25rem, 1.7vw, 1.625rem); letter-spacing: -0.018em; line-height: 1.2; text-align: right; }
.sprechen-wege { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 clamp(18px, 2.4vw, 36px); padding-top: clamp(2px, 0.4vw, 6px); }
.sprechen-wege a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: var(--kupfer);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.sprechen-wege a:hover { color: var(--kupfer); }
.flug .lichtkante::before { transition: transform 1.2s var(--weich); }
.flug .person-name { transition: opacity 0.8s ease 0.35s; }
.flug .lk-teil:nth-child(2) .person-name { transition-delay: 0.7s; }
.flug .lichtkante:not(.an)::before { transform: scaleX(0); }
.flug .lichtkante:not(.an) .person-name { opacity: 0.3; }

/* ---------- Abschluss: ein helles Fenster vor der dunklen Wand ---------- */

.abschluss {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 140px);
}
.rueckwand {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: center;
  gap: 1.2vw;
  padding: 0 1.2vw;
}
.rueckwand img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.1;
  outline: 1px solid rgba(246, 247, 239, 0.6);
  outline-offset: -1px;
}
.rueckwand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--grund) 0%, rgba(7, 8, 7, 0) 20%, rgba(7, 8, 7, 0) 80%, var(--grund) 100%);
}
.dein-fenster {
  position: relative;
  max-width: 1080px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 72px);
  background: #0a0c0a;
  box-shadow:
    0 0 0 1px rgba(255, 155, 104, 0.75),
    0 0 90px rgba(255, 155, 104, 0.13),
    0 30px 120px rgba(0, 0, 0, 0.7);
}
.dein-fenster::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--kupfer), var(--hell) 50%, var(--kupfer));
  box-shadow: 0 0 22px 2px rgba(255, 155, 104, 0.6);
}
.schluss {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px clamp(28px, 4vw, 64px);
  align-items: end;
}
.schluss h2 { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 620; letter-spacing: -0.03em; line-height: 0.96; }
.schluss .vorspann { margin-top: clamp(14px, 1.8vw, 24px); }
.schluss-handlung { display: grid; gap: 12px; justify-items: start; }
.schluss-handlung .knopf { min-width: 15rem; }
.schluss-klein { max-width: 15.5rem; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); }

/* ---------- Fuß ---------- */

.fuss { border-top: 1px solid var(--linie); padding-block: 32px 40px; font-size: 0.9375rem; color: var(--text-2); }
.fuss-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 40px; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px; text-decoration-color: var(--linie-fest); }
.fuss a:hover { color: var(--text); }
.fuss-recht { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; }

.leiste { display: none; }

/* ---------- Mittlere Breiten ---------- */

@media (max-width: 1100px) {
  .hero-angebot { grid-template-columns: minmax(0, 26rem); gap: 22px; }
  .hero-klein { max-width: none; }
  .abschnitt-kopf h2, .abschnitt-kopf .vorspann { grid-column: 1 / -1; }
  .abschnitt-kopf .vorspann { padding-bottom: 0; }
  .wort-name { grid-column: 1 / -1; }
  .wort-text { grid-column: 1 / -1; margin-top: 10px; }
  .rueckwand { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lichtkante { grid-template-columns: auto minmax(0, 1fr); }
  .lk-teil:nth-child(3) > * { grid-column: 1 / -1; justify-self: start; }
  .sprechen-satz { grid-row: 3; max-width: none; padding: clamp(36px, 6vw, 56px) 0 0; text-align: left; }
  .sprechen-wege { grid-row: 4; justify-content: flex-start; padding-top: 10px; }
  .fragen > div:first-child, .fragen > div:last-child { grid-column: span 6; }
  .projekt-karte { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr) auto; }
}

@media (min-width: 761px) and (max-width: 1199px) and (min-aspect-ratio: 4/5) {
  .raum { transform: translate3d(15vw, 0, 0); }
  .flug .angebot { transform: translate3d(15vw, 0, 0) scale(0.2); }
}

@media (max-width: 900px) {
  .person-name { font-size: 12vw; }
  .schluss { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Hochkant: eigener, schmaler Tunnel mit drei Reihen je Seitenwand und einer Spalte oben und unten ---------- */

@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .tunnel { --P: calc(30vw + 46vh); --g: 10px; --th: 70deg; --s: calc(var(--P) * -1.1); }
  .raum { transform: translate3d(0, 26vh, 0); }
  .reihe:nth-child(3) { display: block; }
  .spalte:nth-child(2) { display: none; }
  .flug .angebot { transform: translate3d(0, 26vh, 0) scale(0.26); }
}

/* Hochkant ab Tabletbreite: der Text steht unten, das Licht am Ende des Tunnels darüber */
@media (min-width: 761px) and (max-aspect-ratio: 4/5) {
  .raum { transform: translate3d(0, -22vh, 0); }
  .flug .angebot { transform: translate3d(0, -22vh, 0) scale(0.26); }
  .hero-schleier {
    background:
      linear-gradient(0deg, rgba(7, 8, 7, 0.94) 0%, rgba(7, 8, 7, 0.88) 46%, rgba(7, 8, 7, 0.35) 58%, rgba(7, 8, 7, 0) 66%),
      linear-gradient(180deg, rgba(7, 8, 7, 0.8) 0%, rgba(7, 8, 7, 0) 12%);
  }
}

/* ---------- Schmal: eigene Komposition ---------- */

@media (max-width: 760px) {
  body { font-size: 1rem; }

  .kopf { position: absolute; }
  .kopf::before { display: none; }
  .kopf-innen { padding-block: 8px; gap: 0; }
  .kopf-knopf { display: none; }
  .kopf-nav { margin-right: -10px; }
  .kopf-nav a { padding: 0 10px; font-size: 0.875rem; }
  .marke { gap: 9px; }
  .marke img { height: 17px; }
  .marke-text { display: grid; line-height: 1.02; font-size: 1rem; }
  .marke-zusatz { font-size: 0.75rem; letter-spacing: 0; }

  /* Hero: Text oben auf ruhigem Grund, darunter öffnet sich der schmale Tunnel mit dem Licht am Ende */
  .hero-innen { align-content: start; padding-top: 84px; padding-bottom: 0; }
  .leitzeile { font-size: min(13.2vw, 4.4rem); line-height: 0.92; }
  .hero-angebot { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 20px; }
  .hero-unterzeile { font-size: 1.0625rem; max-width: 26rem; }
  .hero-handlung { gap: 10px; }
  .hero-handlung .knopf { width: 100%; max-width: 26rem; }
  .hero-klein { max-width: none; font-size: 0.8125rem; }
  .hero-absender { margin-top: 14px; padding-top: 10px; font-size: 0.8125rem; }
  .hero-schleier {
    background:
      linear-gradient(180deg, rgba(7, 8, 7, 0.94) 0%, rgba(7, 8, 7, 0.9) 52%, rgba(7, 8, 7, 0.4) 66%, rgba(7, 8, 7, 0) 76%),
      linear-gradient(0deg, rgba(7, 8, 7, 0.6) 0%, rgba(7, 8, 7, 0) 14%);
  }
  .flug .reise-halt::after { display: none; }
  .pause { right: 12px; bottom: 12px; padding: 0; width: 44px; justify-content: center; }
  .pause-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

  .angebot { padding-top: 76px; }
  .flug .angebot { padding: 24px var(--rand) 88px; }
  .flug .angebot h2 { font-size: 2.5rem; }
  .flug .angebot .vorspann { margin-top: 0; }
  .angebot-handlung { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 28px; }
  .angebot-handlung .verweis { align-self: flex-start; }

  .abschnitt { padding-block: 76px; }
  .absender { padding-top: 0; }

  .wort-name { font-size: 15vw; }
  .wort-text { font-size: 1rem; }
  .massstab-schluss { font-size: 1.375rem; }

  .schritte { grid-template-columns: minmax(0, 1fr); row-gap: 30px; padding: 0 0 0 24px; border-top: 0; border-left: 1px solid var(--linie); }
  .schritte::before { left: -1px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--kupfer), var(--hell) 50%, var(--kupfer)); transform-origin: 50% 0; transform: scaleY(var(--p, 1)); }
  .schritt { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); align-items: baseline; }
  .schritt-nr { font-size: 3rem; }
  .schritt p { margin-top: 0; font-size: 1.1875rem; }
  .fragen { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .fragen > div:first-child, .fragen > div:last-child { grid-column: auto; }
  .projekt-reihe { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .projekt-karte { grid-template-columns: minmax(0, 1fr) auto; padding: 14px; gap: 14px; }
  .projekt-bild { grid-column: 1 / -1; }
  .projekt-zu { grid-row: 2; grid-column: 2; }

  .lichtkante { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 30px; }
  .lichtkante::before { display: none; }
  .lk-teil:nth-child(n) > * { grid-column: 1; grid-row: auto; }
  .person-name { position: relative; font-size: 21.5vw; padding-bottom: 12px; }
  .lk-teil:nth-child(2) .person-name { margin-top: 26px; }
  .person-name::after {
    content: "";
    position: absolute;
    left: 0.045em; right: 0; bottom: 0;
    height: 2px;
    background: var(--lichtlinie);
    box-shadow: 0 0 20px 1px rgba(255, 155, 104, 0.5);
    transform-origin: 0 50%;
  }
  .flug .person-name::after { transition: transform 1.1s var(--weich); }
  .flug .lk-teil:nth-child(2) .person-name::after { transition-delay: 0.4s; }
  .flug .lichtkante:not(.an) .person-name::after { transform: scaleX(0); }
  .person-rolle { font-size: 1.0625rem; padding-top: 10px; }
  .sprechen-satz { font-size: 1.375rem; padding-top: 40px; }
  .sprechen-wege { flex-direction: column; gap: 0; width: 100%; padding-top: 12px; }
  .sprechen-wege a { min-height: 54px; border-top: 1px solid var(--linie); text-decoration: none; font-size: 1.1875rem; justify-content: space-between; }
  .sprechen-wege a:last-child { border-bottom: 1px solid var(--linie); }
  .sprechen-wege a::after { content: ""; width: 18px; height: 1px; background: var(--kupfer); }

  .abschluss { padding-block: 56px 64px; }
  .dein-fenster { padding: 30px 20px 28px; }
  .schluss h2 { font-size: 12vw; }
  .schluss-handlung .knopf { width: 100%; }
  .schluss-klein { max-width: none; }

  .fuss { padding-bottom: 104px; }
  .fuss-innen { flex-direction: column; align-items: flex-start; gap: 4px; }

  .js .leiste {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 50;
    padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 8, 7, 0.96);
    border-top: 1px solid var(--linie);
    transform: translateY(105%);
    visibility: hidden;
    transition: transform 0.3s var(--weich), visibility 0s linear 0.3s;
  }
  .js .leiste.sichtbar { transform: none; visibility: visible; transition-delay: 0s; }
  .leiste .knopf { min-height: 48px; }
}

/* ---------- Ruhe ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .js .leiste { transition: none; }
}
