/* FlightLab Roof, Startseite flightlab.at, Fassung 2
   Ein Thema (tiefes Dunkel wie die Software), ein Akzent (Markenrot), eine Schrift (Archivo,
   Breitenachse für Überschriften). Radien: Außenrahmen 28 px, Innenkern 22 px, Knöpfe rund.
   Bewegung: eine Kurve (cubic-bezier(0.32, 0.72, 0, 1)), sonst GSAP am Scrollbalken. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("schriften/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("schriften/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("schriften/archivo-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --flaeche: #141417;
  --flaeche-2: #1b1b20;
  --linie: rgba(255, 255, 255, 0.08);
  --linie-2: rgba(255, 255, 255, 0.15);
  --text: #f2f1ee;
  --muted: #a5a5ab;
  --dim: #6c6c73;
  --rot: #c22536;
  --rot-tief: #8c1523;
  --mess: #d9f23c;
  --r-aussen: 28px;
  --r-innen: 22px;
  --breite: 1280px;
  --rand: clamp(18px, 4vw, 56px);
  --kurve: cubic-bezier(0.32, 0.72, 0, 1);
  --schrift: "Archivo", "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.menue-offen { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Filmkorn, nur auf einer festen Ebene */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Ambiente: zwei ruhige Lichtflecken hinter allem */
.hintergrund {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 85% 12%, rgba(194, 37, 54, 0.16), transparent 60%),
    radial-gradient(50vw 40vw at 8% 70%, rgba(110, 125, 150, 0.12), transparent 60%);
}

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mess); outline-offset: 3px; }

.hinweis-sprung { position: absolute; left: -999px; top: 0; background: var(--rot); color: #fff; padding: 8px 12px; border-radius: 999px; }
.hinweis-sprung:focus { left: 16px; top: 16px; z-index: 100; }

.innen { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
main { overflow-x: clip; }

/* Schrift-Rollen */
.display { font-weight: 900; font-stretch: 112%; letter-spacing: -0.04em; line-height: 0.92; }
.titel { font-size: clamp(2.2rem, 4.8vw, 4rem); font-weight: 800; font-stretch: 106%; letter-spacing: -0.03em; line-height: 0.98; max-width: 20ch; }
.vorspann { color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 58ch; margin-top: 22px; line-height: 1.55; }
.vorspann strong, .text strong { color: var(--text); font-weight: 600; }
.text { color: var(--muted); max-width: 60ch; }
.zahl { font-variant-numeric: tabular-nums; font-stretch: 115%; font-weight: 800; letter-spacing: -0.04em; }

/* Abschnittsrhythmus: Kapitel, nicht Zeilen */
.kapitel { padding-block: clamp(96px, 14vw, 192px); }
.kapitel-eng { padding-block: clamp(56px, 8vw, 112px); }

/* Doppelrand: Außenschale plus Innenkern */
.schale { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--linie); border-radius: var(--r-aussen); padding: 6px; }
.kern { border-radius: var(--r-innen); overflow: hidden; background: var(--flaeche); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); position: relative; }
.kern img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--kurve); }
a.schale:hover .kern img, .schale:hover .kern > img { transform: scale(1.04); }

/* Pillen-Knöpfe mit innerem Kreis */
.pille {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 6px 6px 6px 24px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; white-space: nowrap;
  transition: transform 0.7s var(--kurve), background 0.4s var(--kurve), border-color 0.4s var(--kurve);
}
.pille .kreis {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.7s var(--kurve), background 0.4s var(--kurve);
}
.pille .kreis svg { width: 18px; height: 18px; }
.pille:hover .kreis { transform: translate(2px, -1px) scale(1.06); }
.pille:active { transform: scale(0.98); }
.pille-rot { background: var(--rot); color: #fff; }
.pille-rot:hover { background: #d02a3c; }
.pille-rot .kreis { background: rgba(0, 0, 0, 0.24); }
.pille-glas { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--linie-2); color: var(--text); }
.pille-glas:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.28); }
.pille-glas .kreis { background: rgba(255, 255, 255, 0.1); }
.pille-klein { min-height: 44px; padding: 4px 4px 4px 18px; font-size: 0.925rem; gap: 10px; }
.pille-klein .kreis { width: 34px; height: 34px; }
.pille-klein .kreis svg { width: 16px; height: 16px; }

/* Insel-Navigation */
.insel { position: fixed; top: 18px; left: 0; right: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none; padding-inline: 16px; }
.insel-pille {
  pointer-events: auto; display: flex; align-items: center; gap: 4px;
  padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(14, 14, 17, 0.7); border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  max-width: 100%;
}
.marke { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap; padding-right: 10px; }
.marke img { width: 30px; height: 30px; }
.marke span { color: var(--muted); font-weight: 500; }
.insel nav { display: flex; align-items: center; gap: 2px; }
.insel nav a { padding: 9px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: 0.925rem; white-space: nowrap; transition: background 0.4s var(--kurve), color 0.4s var(--kurve); }
.insel nav a:hover { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.insel .pille { margin-left: 6px; }
.menue-knopf { display: none; }

/* Vollbildmenü (klein) */
.menue {
  position: fixed; inset: 0; z-index: 35; display: grid; align-content: center; padding: 100px var(--rand) 48px;
  background: rgba(11, 11, 13, 0.86); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  opacity: 0; visibility: hidden; transition: opacity 0.6s var(--kurve), visibility 0s 0.6s;
}
.menue-offen .menue { opacity: 1; visibility: visible; transition: opacity 0.6s var(--kurve); }
.menue a { display: block; font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; font-stretch: 106%; letter-spacing: -0.03em; line-height: 1.15; padding: 8px 0; color: var(--text); transform: translateY(48px); opacity: 0; transition: transform 0.8s var(--kurve), opacity 0.8s var(--kurve); transition-delay: 0s; }
.menue-offen .menue a { transform: none; opacity: 1; transition-delay: calc(var(--i) * 70ms + 120ms); }
.menue .menue-fuss { margin-top: 32px; color: var(--muted); font-size: 0.95rem; display: grid; gap: 6px; }

/* Titelbereich: Foto wird Modell */
.titelbereich { position: relative; min-height: 100dvh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.titel-ebenen { position: absolute; inset: 0; z-index: -1; }
.ebene { position: absolute; inset: 0; }
.ebene img { width: 100%; height: 100%; object-fit: cover; }
.ebene-modell img { object-position: 70% center; transform: scale(1.06); }
.ebene-foto { clip-path: inset(0 0 0 0); }
.ebene-foto img { object-position: center 40%; }
.scanlinie {
  position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--mess);
  box-shadow: 0 0 18px 2px rgba(217, 242, 60, 0.55); opacity: 0; transform: translateY(-4px);
}
.titel-wash { position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0.25) 40%, rgba(11, 11, 13, 0.75) 100%),
  radial-gradient(70vw 60vh at 50% 55%, rgba(11, 11, 13, 0.55), transparent 70%); }
.titel-inhalt { position: relative; text-align: center; display: grid; justify-items: center; padding-block: 140px 120px; }
.titel-inhalt h1 { font-size: clamp(3rem, 7.4vw, 6.9rem); max-width: 12ch; }
.titel-inhalt h1 .zeile { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.titel-inhalt h1 .zeile > span { display: block; }
.titel-inhalt .vorspann { text-align: center; margin-inline: auto; color: rgba(242, 241, 238, 0.86); max-width: 46ch; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5); }
.titel-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.titel-ergebnis {
  position: absolute; left: var(--rand); bottom: 36px; z-index: 2;
  display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px;
  background: rgba(14, 14, 17, 0.72); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(14px);
}
.titel-ergebnis b { font-size: 1.6rem; }
.titel-ergebnis span { color: var(--muted); font-size: 0.875rem; }
.lasso { position: absolute; pointer-events: none; overflow: visible; z-index: 2; opacity: 0; }
.lasso path { fill: none; stroke: var(--rot); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* So läuft es ab: links gepinnt, rechts wandern die Schritte */
.ablauf .innen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ablauf-links { position: sticky; top: 120px; }
.ablauf-schritte { display: grid; gap: clamp(56px, 8vw, 112px); }
.schritt-bild { aspect-ratio: 3 / 2; }
.schritt-bild .kern { height: 100%; }
.schritt-text { margin-top: 26px; display: grid; gap: 12px; max-width: 56ch; }
.schritt-text .nummer { font-size: 0.9rem; font-weight: 800; color: var(--rot); font-variant-numeric: tabular-nums; font-stretch: 105%; }
.schritt-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }

/* Schräge (gepinnt, Scrollbalken hebt den First) */
.schraege-buehne { min-height: 100dvh; display: grid; align-content: center; padding-block: 80px; }
.schraege-buehne .innen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.schraege .titel { max-width: 15ch; }
.schraege-werte { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 36px; }
.wert b { display: block; white-space: nowrap; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1; }
.wert span { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.wert.mess b { color: var(--mess); }
.schraege-schluss { margin-top: 30px; }
.schraege-diagramm { width: 100%; height: auto; padding: 24px 18px 12px; }
.schraege-diagramm text { font-family: var(--schrift); }
.schraege-diagramm .mass-b { fill: var(--text); font-size: 21px; font-weight: 700; }
.schraege-diagramm .dachlinie { filter: drop-shadow(0 0 8px rgba(217, 242, 60, 0.45)); }

/* Messwerkzeuge: Stapel */
.werkzeuge-kopf { margin-bottom: clamp(40px, 6vw, 80px); }
.stapel { display: grid; gap: 28px; }
.karte { position: sticky; top: 104px; --dunkel: 0; min-height: min(72vh, 660px); transform-origin: center top; }
.karte .kern { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: inherit; }
.karte .kern::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--dunkel); pointer-events: none; z-index: 2; border-radius: inherit; }
.karte-text { padding: clamp(32px, 4.5vw, 64px); display: grid; align-content: center; gap: 16px; }
.karte-text .rolle { color: var(--rot); font-weight: 700; font-size: 0.925rem; font-stretch: 105%; }
.karte-text h3 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
.karte-bild { position: relative; min-height: 320px; border-left: 1px solid var(--linie); background: #1c1c1e; overflow: hidden; }
.karte-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.stapel-ende { height: 10vh; }

/* Aussage über dem Foto: Wort für Wort */
.aussage { position: relative; isolation: isolate; overflow: hidden; }
.aussage-bild { position: absolute; inset: -12% 0; z-index: -1; }
.aussage-bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.aussage-bild::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80vw 70vh at 50% 50%, rgba(11, 11, 13, 0.55), rgba(11, 11, 13, 0.9)); }
.aussage-buehne { min-height: 100dvh; display: grid; align-content: center; padding-block: 120px; }
.aussage-text { font-size: clamp(1.8rem, 4.4vw, 3.8rem); font-weight: 700; font-stretch: 104%; letter-spacing: -0.03em; line-height: 1.15; max-width: 24ch; text-wrap: balance; }
.aussage-text .wort { opacity: 0.16; }
.aussage-listen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 56px; max-width: 980px; }
.aussage-listen .kern { padding: 28px 32px; background: rgba(20, 20, 23, 0.78); }
.aussage-listen h3 { font-size: 1.05rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.aussage-listen li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-block: 10px; font-size: 1.05rem; line-height: 1.45; }
.aussage-listen li svg { width: 20px; height: 20px; margin-top: 4px; }
.aussage-listen .ja svg { color: var(--mess); }
.aussage-listen .nein svg { color: var(--rot); }

/* Bento: Was herauskommt */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); grid-auto-flow: dense; gap: 16px; margin-top: clamp(36px, 5vw, 64px); }
.bento .schale { display: grid; }
.bento .kern { padding: 28px; display: grid; align-content: end; gap: 14px; }
.bento .zelle-bild { grid-column: 1 / 7; grid-row: span 2; }
.bento .zelle-bild .kern { padding: 0; }
.bento .zelle-bild img { min-height: 100%; }
.bento .zelle-breit { grid-column: 7 / 13; }
.bento .zelle-schmal { grid-column: span 3; }
.bento h3 { font-size: 1.25rem; }
.bento p { color: var(--muted); font-size: 0.975rem; }
.kuerzel { display: flex; flex-wrap: wrap; gap: 8px; }
.kuerzel span { border: 1px solid var(--linie-2); border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 0.85rem; font-stretch: 105%; letter-spacing: 0.02em; }

/* Video */
.video .innen { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.video-rahmen { width: min(340px, 100%); margin-inline: auto; }
.video-rahmen .kern { aspect-ratio: 9 / 16; background: #000; }
.video-rahmen video { width: 100%; height: 100%; object-fit: cover; }

/* Preis */
.preis .innen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.preis-zahl { font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: 0.9; position: relative; display: inline-block; white-space: nowrap; }
.preis-zahl .unterstrich { position: absolute; left: -2%; right: -2%; bottom: -0.08em; height: 0.2em; overflow: visible; }
.preis-zahl .unterstrich path { fill: none; stroke: var(--rot); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.preis-unter { color: var(--muted); font-size: 1.2rem; margin-top: 24px; max-width: 30ch; }
.preis-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fakt .kern { padding: 26px 28px; display: grid; gap: 8px; height: 100%; }
.fakt h3 { font-size: 1.1rem; }
.fakt p { color: var(--muted); font-size: 0.975rem; }
.fakt.rot .kern { background: linear-gradient(160deg, #a71c2d, #5e0d19); }
.fakt.rot h3 { color: #fff; }
.fakt.rot p { color: rgba(255, 255, 255, 0.86); }
.freischalten { grid-column: 1 / -1; }
.freischalten .kern { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.freischalten .kern > div { padding: 22px 24px; border-left: 1px solid var(--linie); }
.freischalten .kern > div:first-child { border-left: 0; }
.freischalten b { display: block; color: var(--rot); font-size: 0.85rem; font-weight: 800; margin-bottom: 6px; font-stretch: 105%; }
.freischalten p { font-size: 0.95rem; color: var(--muted); }
.freischalten p strong { color: var(--text); }

/* Systemvoraussetzungen */
.system .kern { padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.system h2 { font-size: 1.3rem; white-space: nowrap; padding-top: 2px; }
.system ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; }
.system li { color: var(--muted); font-size: 0.975rem; }
.system li b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* Michael Hackl */
.person-kopf .titel { max-width: 14ch; }
.person-kopf .vorspann { max-width: 64ch; }
.person .innen.person-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; margin-top: clamp(48px, 7vw, 96px); }
.portraet { position: sticky; top: 120px; margin: 0; }
.portraet .kern { aspect-ratio: 4 / 5; }
.portraet figcaption { margin-top: 14px; color: var(--muted); font-size: 0.925rem; }
.zeitstrahl { position: relative; padding-left: 44px; display: grid; gap: clamp(40px, 5vw, 64px); }
.zeitstrahl-linie { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; height: auto; }
.zeitstrahl-linie line { stroke: var(--mess); stroke-width: 2; stroke-linecap: round; }
.zeitstrahl-linie .schiene { stroke: rgba(255, 255, 255, 0.12); }
.station { position: relative; display: grid; gap: 10px; }
.station::before { content: ""; position: absolute; left: -44px; top: 6px; width: 24px; height: 24px; border-radius: 999px; background: var(--bg); border: 2px solid var(--mess); box-shadow: 0 0 0 6px rgba(217, 242, 60, 0.12); }
.station .jahr { font-size: 0.9rem; font-weight: 800; color: var(--mess); font-stretch: 105%; font-variant-numeric: tabular-nums; }
.station h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.station .text { max-width: 52ch; }
.textlink { color: var(--text); border-bottom: 1px solid var(--linie-2); transition: border-color 0.4s var(--kurve); }
.textlink:hover { border-color: var(--text); }
.projekte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.projekt { display: grid; }
.projekt .kern { padding: 20px; display: grid; gap: 12px; align-content: start; min-height: 168px; transition: background 0.5s var(--kurve); }
.projekt:hover .kern { background: var(--flaeche-2); }
.projekt img { width: 44px; height: 44px; object-fit: contain; }
.projekt b { display: block; font-size: 1rem; }
.projekt span:not(.pfeil) { color: var(--muted); font-size: 0.9rem; }
.projekt .pfeil { position: absolute; right: 16px; top: 16px; width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); transition: transform 0.7s var(--kurve), background 0.5s var(--kurve); }
.projekt .pfeil svg { width: 14px; height: 14px; }
.projekt:hover .pfeil { transform: translate(2px, -2px); background: var(--rot); }
.partner { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.partner a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 999px; border: 1px solid var(--linie-2); color: var(--text); font-size: 0.95rem; transition: background 0.4s var(--kurve), border-color 0.4s var(--kurve); }
.partner a:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.3); }
.partner a small { color: var(--muted); }
.zitat { margin: clamp(48px, 7vw, 96px) 0 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 600; font-stretch: 102%; letter-spacing: -0.02em; line-height: 1.3; max-width: 30ch; text-wrap: balance; }
.zitat footer { margin-top: 16px; color: var(--muted); font-size: 1rem; font-weight: 400; }

/* Kontakt */
.kontakt .innen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.kontakt-liste { display: grid; margin-top: 36px; border-top: 1px solid var(--linie); }
.kontakt-liste a { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--linie); transition: color 0.4s var(--kurve); }
.kontakt-liste a span:first-child { color: var(--muted); font-size: 0.9rem; }
.kontakt-liste a svg { width: 16px; height: 16px; color: var(--muted); }
.kontakt-liste a:hover { color: var(--text); }
.formular { margin: 0; }
.formular .kern { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 18px; }
.feld { display: grid; gap: 8px; }
.feld label { font-size: 0.9rem; color: var(--muted); }
.feld input, .feld textarea {
  width: 100%; font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--linie-2); border-radius: 14px; padding: 14px 16px;
  transition: border-color 0.4s var(--kurve), background 0.4s var(--kurve);
}
.feld input::placeholder, .feld textarea::placeholder { color: var(--dim); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--mess); background: rgba(255, 255, 255, 0.07); }
.feld textarea { min-height: 150px; resize: vertical; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.formular-meldung { font-size: 0.95rem; color: var(--muted); }
.formular-meldung.ok { color: var(--mess); }
.formular-meldung.fehler { color: #ff8c99; }

/* Reality */
.reality h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.reality h2, .reality .text { max-width: 70ch; }
.reality .text { margin-top: 12px; }
.reality a.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; border-bottom: 1px solid var(--linie-2); padding-bottom: 2px; }
.reality a.link:hover { border-color: var(--text); }
.reality a.link svg { width: 16px; height: 16px; }

/* Rechtsseiten (Impressum, Datenschutz) */
.rechtsseite { padding-block: 150px clamp(80px, 10vw, 140px); }
.rechtsseite .titel { max-width: none; }
.rechtstext { max-width: 72ch; margin-top: 36px; color: var(--muted); }
.rechtstext h2 { color: var(--text); font-size: 1.4rem; margin: 40px 0 12px; }
.rechtstext h3 { color: var(--text); font-size: 1.1rem; margin: 24px 0 8px; }
.rechtstext p { margin-bottom: 14px; }
.rechtstext ul { padding-left: 20px; list-style: disc; margin-bottom: 14px; }
.rechtstext li { margin-bottom: 6px; }
.rechtstext a { color: var(--text); border-bottom: 1px solid var(--linie-2); }
.rechtstext a:hover { border-color: var(--text); }
.rechtstext table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.975rem; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--linie); }
.rechtstext th { color: var(--text); font-weight: 600; width: 34%; }
.rechtstext .vorspann { margin-top: 0; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); padding-block: 64px 40px; color: var(--muted); font-size: 0.925rem; }
.fuss .innen { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.fuss h4 { color: var(--text); font-size: 0.95rem; margin-bottom: 12px; }
.fuss li { margin-bottom: 8px; }
.fuss a:hover { color: var(--text); }
.fuss .firma { line-height: 1.7; }
.fuss .marke { margin-bottom: 14px; padding: 0; }
.fuss .innen.fuss-unten { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--linie); color: var(--dim); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Einblendungen: sichtbar im Ruhezustand; nur was beim Laden unter dem Rand liegt, wartet */
[data-reveal] { opacity: 1; transform: none; filter: none; }
[data-reveal].wartet { opacity: 0; transform: translateY(40px); filter: blur(8px); }
[data-reveal].sichtbar { opacity: 1; transform: none; filter: none; transition: opacity 0.9s var(--kurve), transform 0.9s var(--kurve), filter 0.9s var(--kurve); }

/* Kleine und mittlere Bildschirme */
@media (max-width: 1023px) {
  .ablauf .innen { grid-template-columns: 1fr; }
  .ablauf-links { position: static; }
  .person .innen.person-raster, .kontakt .innen { grid-template-columns: 1fr; }
  .portraet { position: static; max-width: 420px; }
}
@media (max-width: 900px) {
  .insel nav, .insel .pille { display: none; }
  .menue-knopf { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); position: relative; }
  .menue-knopf i { position: absolute; left: 13px; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.6s var(--kurve), top 0.6s var(--kurve); }
  .menue-knopf i:first-child { top: 17px; }
  .menue-knopf i:last-child { top: 25px; }
  .menue-offen .menue-knopf i:first-child { top: 21px; transform: rotate(45deg); }
  .menue-offen .menue-knopf i:last-child { top: 21px; transform: rotate(-45deg); }
  .titel-inhalt { padding-block: 120px 100px; }
  .titel-inhalt h1 { font-size: clamp(2.6rem, 11vw, 4.4rem); }
  .titel-ergebnis { display: none; }
  .schraege-buehne { min-height: 0; }
  .schraege-buehne .innen { grid-template-columns: 1fr; }
  .schraege-werte { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .karte { position: relative; top: auto; min-height: 0; }
  .karte .kern { grid-template-columns: 1fr; }
  .karte-bild { aspect-ratio: 5 / 4; min-height: 0; border-left: 0; border-top: 1px solid var(--linie); }
  .stapel-ende { display: none; }
  .aussage-buehne { min-height: 0; }
  .aussage-listen { grid-template-columns: 1fr; }
  .bento .zelle-bild { grid-column: 1 / -1; grid-row: span 1; min-height: 240px; }
  .bento .zelle-breit, .bento .zelle-schmal { grid-column: 1 / -1; }
  .video .innen, .preis .innen { grid-template-columns: 1fr; }
  .system .kern { grid-template-columns: 1fr; }
  .projekte { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fakten, .freischalten .kern { grid-template-columns: 1fr; }
  .freischalten .kern > div { border-left: 0; border-top: 1px solid var(--linie); }
  .freischalten .kern > div:first-child { border-top: 0; }
  .titel-knoepfe .pille, .preis-knoepfe .pille { width: 100%; justify-content: space-between; }
  .schraege-werte { gap: 12px; }
  .wert b { font-size: 1.5rem; }
  .kontakt-liste a { grid-template-columns: 1fr auto; }
  .kontakt-liste a span:first-child { grid-column: 1 / -1; margin-bottom: -10px; }
  .fuss .innen { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .fuss .innen { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal].wartet { opacity: 1; transform: none; filter: none; }
  [data-reveal].sichtbar { transition: none; }
  .pille, .pille .kreis, .kern img, .menue a, .menue { transition: none; }
  .aussage-text .wort { opacity: 1; }
  .ebene-foto { clip-path: inset(100% 0 0 0); }
  .titel-ergebnis, .lasso { opacity: 1; transform: none; }
}
