/* Karfey · Website
   Dunkler Weltraum mit Lichtstreifen (WebGL) fix hinter der ganzen Seite, davor ruhige, feste Flächen.
   Marke: ../../Marke/MARKE.md · Gestaltungsregeln: ../../DESIGN.md */

/* Schriften selbst gehostet (SIL Open Font License 1.1, Lizenz in ../fonts/OFL.txt).
   Keine Verbindung zu Google: Die Einbindung über fonts.googleapis.com überträgt die IP-Adresse jedes Besuchers
   an Google und wurde vom LG München (20.01.2022, 3 O 17493/20) ohne Einwilligung als DSGVO-Verstoß gewertet.
   Überschriften: Archivo in Stärke 500 mit variabler Breite (100–125 %). Text: Hanken Grotesk. Keine dritte Schrift. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 500; font-stretch: 100% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
/* Ersatzschriften mit angeglichener Breite: Bis die Webfonts geladen sind, bricht der Text schon gleich um,
   beim Wechsel springt nichts (Cumulative Layout Shift). */
@font-face { font-family: "Archivo Ersatz"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 112.1%; ascent-override: 78.3%; descent-override: 18.7%; line-gap-override: 0%; }
@font-face { font-family: "Hanken Ersatz"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 99.4%; ascent-override: 100.6%; descent-override: 30.5%; line-gap-override: 0%; }

:root {
  /* Marke */
  --papier: #F2F2EE;
  --tinte: #0F1115;
  --tinte-tief: #0A0B0E;
  --kobalt: #2F45FF;
  --kobalt-hell: #6F7DFF;
  --signal: #D9FF43;
  --signal-hell: #E6FF7D;
  --grau: #5C5F67;
  --nebel-violett: #8B3DFF; /* nur im Weltraum-Hintergrund (Nebel, Sternstaub), nie für Text, Buttons oder Logo */

  /* Text und Flächen */
  --text: #F2F2EE;
  --text-2: rgba(242, 242, 238, 0.76);
  --text-3: rgba(242, 242, 238, 0.58);
  --flaeche: #15181E;
  --flaeche-hell: #1C2028;
  --flaeche-tief: #0D0F16;
  --panel: rgba(14, 16, 23, 0.88);
  --glas: rgba(255, 255, 255, 0.045);
  --glas-linie: rgba(255, 255, 255, 0.11);
  --linie: rgba(242, 242, 238, 0.12);

  /* Schrift: nur diese zwei Variablen verwenden, Schriftnamen stehen nirgends sonst */
  --font-head: "Archivo", "Archivo Ersatz", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", "Hanken Ersatz", system-ui, sans-serif;
  --breit: 111%; /* Laufbreite der Überschriften (font-stretch), auf dem Handy schmaler */

  /* Jede große Größe hat eine vh-Obergrenze, damit Überschriften niedrige Fenster nicht sprengen */
  --fs-hero: min(clamp(2.375rem, 1.3rem + 4.3vw, 4.75rem), 12.5vh);
  --fs-h2: min(clamp(1.875rem, 1.25rem + 2.5vw, 3.25rem), 9vh);
  --fs-h2-pin: min(clamp(1.75rem, 1.2rem + 2vw, 2.875rem), 8vh);
  --fs-h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --fs-klein: 0.9375rem;
  --fs-label: 0.875rem;

  --r-panel: 28px;
  --r-kachel: 18px;
  --rand: clamp(18px, 3vw, 40px);
  --breite: 1320px;
  --abschnitt: clamp(80px, 10vw, 152px);
  --header-h: 72px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --glow-lime: 0 10px 36px -10px rgba(217, 255, 67, 0.55);
}
@media (max-width: 600px) {
  :root { --breit: 108%; --header-h: 64px; }
}

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

html {
  background: var(--tinte);
  color-scheme: dark;
  scrollbar-color: #2b2f38 var(--tinte);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--tinte);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--signal); color: var(--tinte); }
img, svg { display: block; max-width: 100%; }
picture { display: contents; } /* <picture> nur als WebP-Hülle: das Bild verhält sich, als stünde es direkt im Container */
picture > source { display: none; } /* sonst zählt <source> in Flex- und Grid-Containern als leeres Element und erzeugt einen Abstand */
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-head); font-weight: 500; font-stretch: var(--breit);
  line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance;
}
h3 { line-height: 1.18; letter-spacing: -0.012em; }
strong, b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
main { overflow-x: clip; } /* Lichteffekte dürfen nicht seitlich überstehen; clip statt hidden, damit position: sticky weiter funktioniert */
.nw { white-space: nowrap; } /* hält zwei Wörter zusammen, damit keins allein in der letzten Zeile steht */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Icons: ein Satz (Lucide), 24 px, 2 px Strich, Textfarbe */
.icon { flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--klein { width: 20px; height: 20px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--signal); color: var(--tinte); font-weight: 600; text-decoration: none;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- Weltraum im Hintergrund ---------- */

/* Höhe am großen Viewport (lvh): Auf dem Handy blendet der Browser seine Leisten beim Scrollen aus. Mit 100 % würde
   die Fläche dabei jedes Mal neu berechnet und kurz verzogen. */
.streaks, .streaks-fallback { position: fixed; left: 0; top: 0; z-index: 0; width: 100%; height: 100vh; height: 100lvh; }
/* Standbild der Szene: sichtbar, bis WebGL läuft, und dauerhaft ohne WebGL oder bei reduzierter Bewegung */
.streaks-fallback {
  background: #0b0c13 url("../img/weltraum-standbild.jpg") 70% 40% / cover no-repeat;
  background-image: image-set(url("../img/weltraum-standbild.webp") type("image/webp"), url("../img/weltraum-standbild.jpg") type("image/jpeg"));
  transition: opacity 1.2s var(--ease), visibility 0s linear 1.2s;
}
.has-webgl .streaks-fallback { opacity: 0; visibility: hidden; }
.no-webgl .streaks { display: none; }
main, .site-footer { position: relative; z-index: 1; }

/* Lichtring, der kurz aufblitzt, wenn ein Lichtbalken einen Punkt erreicht (per JS mit element.animate) */
.pulse-ring {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1.5px var(--signal), 0 0 18px rgba(217, 255, 67, 0.65);
}

/* ---------- Buttons und Links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.45s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.btn--lime { background: var(--signal); color: var(--tinte); }
.btn--lime:hover { background: var(--signal-hell); }
.btn--glow:hover { box-shadow: var(--glow-lime); }
.btn--ghost { color: var(--text); box-shadow: inset 0 0 0 1px rgba(242, 242, 238, 0.38); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(242, 242, 238, 0.8); }

.textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--signal); font-weight: 600; text-decoration: none; }
.textlink .icon { transition: transform 0.35s var(--ease); }
.textlink:hover { text-decoration: underline; }
.textlink:hover .icon { transform: translateX(4px); }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.link-button:hover { color: var(--text); text-decoration: underline; text-underline-offset: 0.22em; }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--text); --logo-knoten: var(--signal);
  transition: transform 0.55s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* deckend statt Glas-Unschärfe: backdrop-filter über dem bewegten 3D-Hintergrund kostet jedes Bild Rechenzeit */
  background: rgba(11, 12, 18, 0.95);
  box-shadow: 0 1px 0 var(--linie);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; }
.site-header__progress span { display: block; height: 100%; background: var(--signal); transform-origin: left; transform: scaleX(0); }

.site-header__inner {
  width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto;
  display: flex; align-items: center; gap: 32px; min-height: var(--header-h);
}
.site-header__logo { display: inline-flex; color: inherit; margin-right: auto; }
.logo { height: 28px; width: auto; }
.site-header__logo .logo { height: 34px; }
@media (max-width: 600px) { .site-header__logo .logo { height: 30px; } }
.logo .logo-knoten { fill: var(--logo-knoten); }

.site-nav { display: flex; gap: 28px; font-size: 1rem; font-weight: 500; }
.site-nav a { position: relative; text-decoration: none; color: var(--text-2); transition: color 0.25s; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--signal);
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.site-header__menu {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px 0 14px; border: 0; background: none; color: inherit;
  font: 600 1rem var(--font-body); cursor: pointer;
}
.site-header__menu-icon { position: relative; width: 22px; height: 12px; }
.site-header__menu-icon span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.site-header__menu-icon span:first-child { top: 0; }
.site-header__menu-icon span:last-child { top: 10px; }
.site-header__menu[aria-expanded="true"] .site-header__menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
.site-header__menu[aria-expanded="true"] .site-header__menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: -1; height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  padding: calc(var(--header-h) + 24px) var(--rand) calc(32px + env(safe-area-inset-bottom, 0px)); background: rgba(10, 11, 14, 0.98);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--linie);
  font: 500 clamp(1.625rem, 7vw, 2.25rem)/1.15 var(--font-head); font-stretch: var(--breit); letter-spacing: -0.02em; text-decoration: none;
}
.mobile-menu .btn { align-self: flex-start; }
body.menu-offen { overflow: hidden; }
body.menu-offen .site-header::before { opacity: 0; }

@media (max-width: 1020px) {
  .site-nav, .site-header__cta { display: none; }
  .site-header__menu { display: inline-flex; }
}

/* ---------- Scroll-Geschichten ----------
   Der Abschnitt ist höher als das Fenster (--weg = Scrollstrecke), sein Inhalt bleibt per position: sticky stehen.
   Das Stehenbleiben macht der Browser selbst, nichts wird per Skript umgehängt. Dadurch ruckelt der Ein- und
   Ausstieg nicht, auch nicht in Safari. Die Klasse pin-on setzt das Skript nur ab 800 × 440 px und ohne
   reduzierte Bewegung; ohne sie laufen alle Abschnitte als normale Seite. */
.pin-on [data-story] { height: calc(100svh + var(--weg, 120svh)); }
.pin-on [data-story] > .story__pin { position: sticky; top: 0; height: 100svh; }

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: max(100svh, 560px);
  display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--header-h);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 18% 52%, rgba(15, 17, 21, 0.74) 0%, rgba(15, 17, 21, 0.36) 55%, rgba(15, 17, 21, 0) 80%);
}
.hero__inner { position: relative; align-self: center; padding-block: 24px; }
.hero__title { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -0.025em; max-width: 14.4ch; }
.hero__lead { margin-top: min(26px, 3.2vh); max-width: 41ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: min(34px, 4.2vh); }
.hero__foot { position: relative; display: flex; justify-content: flex-end; padding-bottom: min(32px, 4vh); }

/* Vorschau auf das Agentic OS: eine Zeile, die zeigt, was das System gerade tut (Demo) */
.teaser {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 20px;
  width: min(100%, 440px); padding: 14px 16px 14px 18px; border-radius: 16px;
  background: rgba(13, 15, 22, 0.9); box-shadow: inset 0 0 0 1px var(--glas-linie);
  color: var(--text); text-decoration: none;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.teaser:hover { box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.6); transform: translateY(-2px); }
.teaser__head { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.teaser__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.teaser__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; box-shadow: 0 0 0 1px var(--signal); opacity: 0; animation: teaser-puls 2.6s var(--ease) infinite; }
@keyframes teaser-puls { 0% { transform: scale(0.5); opacity: 0.9; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.teaser__tag { padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--glas-linie); color: var(--text-3); font-size: 0.75rem; font-weight: 600; line-height: 1.2; }
.teaser__line { grid-column: 1; min-height: 1.5em; color: var(--text-2); font-size: var(--fs-klein); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.teaser__more { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--flaeche-hell); color: var(--signal); transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
.teaser:hover .teaser__more { background: var(--signal); color: var(--tinte); }

@media (max-width: 799px) {
  .hero__inner { align-self: end; padding-bottom: 20px; }
  .hero__title { max-width: none; }
  .hero__foot { justify-content: flex-start; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .teaser { width: 100%; }
}
@media (max-width: 420px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Aus einer Hand (Scroll-Geschichte) ---------- */

.hand { --weg: 100svh; }
.hand__pin {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: center;
  gap: 40px clamp(32px, 6vw, 112px);
  padding-block: var(--abschnitt) 0;
}
.pin-on .hand__pin { padding-block: calc(var(--header-h) + 24px) 40px; }
.hand__lead { font-family: var(--font-head); font-weight: 500; font-stretch: var(--breit); font-size: min(clamp(1.25rem, 1rem + 0.9vw, 1.75rem), 5vh); line-height: 1.25; color: var(--text-2); letter-spacing: -0.012em; }
.hand__list { margin: min(18px, 2.4vh) 0 0; padding: 0; list-style: none; }
.hand__list li {
  font-family: var(--font-head); font-weight: 500; font-stretch: var(--breit); letter-spacing: -0.02em; line-height: 1.2;
  font-size: min(clamp(1.375rem, 1rem + 1.5vw, 2.25rem), 6.2vh);
  /* Die längste Zeile ist rund 14,1 em breit. Mit 6,9 % der Spaltenbreite passt sie immer in eine Zeile,
     sonst säße die Streichlinie zwischen zwei umbrochenen Zeilen. */
  font-size: min(clamp(1.375rem, 1rem + 1.5vw, 2.25rem), 6.2vh, 6.9cqw);
  white-space: nowrap;
}
.hand__problem { container-type: inline-size; min-width: 0; }
/* Durchstreichen als eigene Linie, die per transform wächst (kein Neuzeichnen des Textes pro Bild) */
.hand__list span { position: relative; display: inline-block; transition: color 0.6s var(--ease); }
.hand__list span::after {
  content: ""; position: absolute; left: -2px; right: -2px; top: 54%; height: 2px; background: var(--signal);
  transform: scaleX(var(--strike, 1)); transform-origin: left;
}
.hand__list li.is-struck span { color: var(--text-3); }
.hand__title { font-size: min(clamp(2.125rem, 1.2rem + 3.6vw, 4.25rem), 11vh); line-height: 1.03; letter-spacing: -0.025em; }
.hand__beam {
  display: block; height: 2px; width: min(100%, 560px); margin: min(26px, 3vh) 0;
  background: linear-gradient(90deg, rgba(217, 255, 67, 0) 0%, var(--signal) 45%, var(--kobalt-hell) 75%, rgba(47, 69, 255, 0) 100%);
  transform-origin: left;
}
.hand__text { max-width: 46ch; color: var(--text-2); }
.hand__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: min(28px, 3.5vh) 0 0; padding: 0; list-style: none; }
.hand__chips a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie);
  font-weight: 600; font-size: 1rem; text-decoration: none; transition: box-shadow 0.35s var(--ease), background-color 0.35s var(--ease);
}
.hand__chips a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.hand__chips a:hover { background: var(--flaeche-hell); box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.6); }

@media (max-width: 799px) {
  .hand__pin { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- Ablauf-Diagramm ---------- */

.flow { --weg: 170svh; }
.flow__pin {
  display: grid; grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2fr); align-items: center;
  gap: 32px clamp(24px, 4vw, 64px);
  padding-block: var(--abschnitt) 0;
}
.pin-on .flow__pin { padding-block: calc(var(--header-h) + 16px) 24px; }
.flow__title { font-size: var(--fs-h2-pin); }
.flow__caption { margin-top: min(20px, 2.5vh); max-width: 30ch; color: var(--text-2); }
.flow__count { margin-top: min(24px, 3vh); font-weight: 600; color: var(--text-3); }
.flow__count span { display: inline-block; min-width: 1ch; color: var(--signal); font-family: var(--font-head); font-weight: 500; font-variant-numeric: tabular-nums; }

.flow__stage {
  height: min(560px, 62vh); min-height: 240px;
  display: grid; place-items: center; container-type: size;
}
.pin-on .flow__stage { height: calc(100svh - var(--header-h) - 48px); }
.flow__diagram {
  position: relative; aspect-ratio: 1200 / 560;
  width: min(100cqw, 100cqh * 1200 / 560);
  container-type: inline-size;
}
.flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.flow__path { fill: none; stroke: rgba(242, 242, 238, 0.16); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.flow__path.is-live { stroke: #8F9BFF; stroke-width: 2.5; }
.flow__path--out.is-live { stroke: var(--signal); }
/* Funke ohne SVG-Filter: ein weicher Hof und ein heller Kern (Filter müssten bei jedem Scrollschritt neu berechnet werden) */
.flow__spark { opacity: 0; }
.flow__spark-hof { fill: var(--signal); opacity: 0.28; }
.flow__spark-kern { fill: #ffffff; }
.flow__runner { display: none; }

.flow__nodes { margin: 0; padding: 0; list-style: none; }
.flow__node {
  position: absolute; top: var(--y); transform: translateY(-50%);
  display: flex; align-items: center; gap: 0.85em;
  padding: 0.75em 1.4em 0.75em 0.9em; border-radius: 999px;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie);
  font-size: clamp(12px, 1.4cqi, 15.5px); line-height: 1.3;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.5s var(--ease);
}
.flow__node--start { left: 0; width: 22%; border-radius: 1.6em; background: #1a1d24; }
.flow__node--task { left: 37.5%; width: 27.5%; }
.flow__node--end { left: 81.6%; width: 18.4%; }
.flow__text { display: flex; flex-direction: column; gap: 0.15em; min-width: 0; }
.flow__text strong { font-weight: 600; }
.flow__text > span { font-size: 0.86em; color: var(--text-3); }
.flow__icon { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--signal); color: var(--tinte); }
.flow__icon .icon { width: 1.3em; height: 1.3em; }
.flow__dot {
  flex: none; width: 1.1em; height: 1.1em; border-radius: 50%;
  background: var(--signal);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.flow__state { transition: opacity 0.4s var(--ease); }
.flow__node.is-pending .flow__dot { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.5); }
.flow__node.is-pending .flow__state { opacity: 0; }
.flow__node--task:not(.is-pending) { box-shadow: inset 0 0 0 1px rgba(111, 125, 255, 0.45); }
.flow__node--end:not(.is-pending) { background: var(--kobalt); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.flow__node--end:not(.is-pending) .flow__state { color: #DCE1FF; }

/* Der Graph braucht rund 740 px Breite, damit die Knoten Luft haben. Darunter (Handy, Tablet, kleines oder niedriges
   Fenster) steht eine senkrechte Liste: Ein Lichtpunkt läuft beim Scrollen die Linie hinab und hakt ab.
   Die Grenze steht auch in karfey.js (FLOW). In diesem Modus bleibt der Abschnitt nicht stehen. */
@media (max-width: 1119px), (max-height: 479px) {
  .pin-on .flow { height: auto; }
  .pin-on .flow > .flow__pin { position: static; height: auto; padding-block: var(--abschnitt) 0; }
  .flow .flow__pin, .flow .flow__stage { display: block; height: auto; min-height: 0; }
  .flow .flow__stage { margin-top: 32px; container-type: normal; }
  .flow .flow__diagram { width: 100%; aspect-ratio: auto; container-type: normal; }
  .flow .flow__lines { display: none; }
  .flow .flow__nodes { position: relative; display: flex; flex-direction: column; gap: 10px; }
  .flow .flow__nodes::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--linie); }
  .flow .flow__node { position: relative; top: auto; left: auto; width: auto; transform: none; font-size: 0.9375rem; padding: 12px 18px 12px 14px; }
  .flow .flow__node--start { border-radius: 20px; }
  .flow .flow__node--task, .flow .flow__node--end { margin-left: 56px; }
  .flow .flow__node--task::before, .flow .flow__node--end::before { content: ""; position: absolute; left: -28px; top: 50%; width: 28px; height: 2px; margin-top: -1px; background: var(--linie); transition: background-color 0.4s var(--ease); }
  .flow .flow__node--task:not(.is-pending)::before, .flow .flow__node--end:not(.is-pending)::before { background: var(--kobalt-hell); }
  .flow .flow__runner {
    display: block; position: absolute; left: 22px; top: 0; z-index: 1; width: 12px; height: 12px; border-radius: 50%;
    background: #ffffff; box-shadow: 0 0 0 4px rgba(217, 255, 67, 0.3); opacity: 0; will-change: transform;
  }
  .flow .flow__fill { display: block; position: absolute; left: 27px; top: 30px; width: 2px; height: calc(100% - 60px); background: linear-gradient(var(--kobalt-hell), var(--signal)); transform-origin: top; transform: scaleY(0); }
}
/* Liste in breiten Fenstern: Überschrift links (bleibt stehen), Liste rechts */
@media (min-width: 800px) and (max-width: 1119px), (min-width: 800px) and (max-height: 479px) {
  .flow .flow__pin { display: grid; grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1fr); align-items: start; gap: 32px clamp(32px, 5vw, 80px); }
  .flow .flow__head { position: sticky; top: calc(var(--header-h) + 20px); }
  .flow .flow__stage { margin-top: 0; }
}
.flow__fill { display: none; }

/* ---------- Agentic OS ---------- */

.os { padding-block: var(--abschnitt) 0; }
.os__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(32px, 6vw, 96px); }
.os__title { font-size: var(--fs-h2); max-width: 17.7ch; }
.os__lead { max-width: 52ch; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }

/* Die Demo ist ein festes Fenster: Leiste oben, links die Agenten, in der Mitte Auftrag und Verlauf, rechts Freigabe und Protokoll */
.osdemo {
  margin-top: clamp(32px, 4.5vw, 60px); border-radius: var(--r-panel); overflow: hidden;
  background: var(--flaeche-tief); box-shadow: inset 0 0 0 1px var(--glas-linie);
}
.osdemo__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
  padding: 14px 20px; border-bottom: 1px solid var(--linie); color: var(--text-3); font-size: var(--fs-klein);
}
.osdemo__name { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.osdemo__name svg { width: auto; height: 18px; overflow: visible; }
.osdemo__name circle { fill: var(--signal); }
.osdemo__count { color: var(--text-2); }
.osdemo__count b { display: inline-block; min-width: 1ch; color: var(--signal); font-variant-numeric: tabular-nums; }
.osdemo__body { display: grid; grid-template-columns: 216px minmax(0, 1fr) minmax(260px, 320px); min-height: 492px; }
.osdemo__label { color: var(--text-3); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }

.osdemo__agents { padding: 20px 14px 20px 16px; border-right: 1px solid var(--linie); }
.osdemo__agents .osdemo__label { padding-left: 8px; }
.osdemo__list { display: grid; gap: 2px; margin: 10px 0 22px; padding: 0; list-style: none; }
.osdemo__list li {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px 0 8px; border-radius: 10px;
  color: var(--text-2); font-size: var(--fs-klein); font-weight: 500;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.osdemo__list .icon { width: 20px; height: 20px; }
.osdemo__state { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: rgba(242, 242, 238, 0.2); transition: background-color 0.3s var(--ease); }
.osdemo__list li.is-active { background: rgba(111, 125, 255, 0.16); color: var(--text); }
.osdemo__list li.is-active .osdemo__state { background: var(--signal); }
.osdemo__list li.is-done .osdemo__state { background: var(--kobalt-hell); }

.osdemo__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 20px clamp(18px, 2.4vw, 32px) 24px; }
.osdemo__tasks { display: flex; flex-wrap: wrap; gap: 8px; }
.osdemo__task {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie);
  color: var(--text-2); font: 600 var(--fs-klein)/1 var(--font-body);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}
.osdemo__task:hover { color: var(--text); box-shadow: inset 0 0 0 1px rgba(242, 242, 238, 0.4); }
.osdemo__task[aria-pressed="true"] { background: var(--flaeche-hell); box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.6); color: var(--text); }
.osdemo__cmd {
  display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--glas-linie);
  color: var(--text); line-height: 1.4;
}
.osdemo__cmd .icon { width: 20px; height: 20px; color: var(--signal); }
.osdemo__caret { width: 2px; height: 1.15em; margin-left: -6px; background: var(--signal); animation: os-caret 1s steps(1) infinite; }
@keyframes os-caret { 50% { opacity: 0; } }

.osdemo__steps { display: grid; align-content: start; gap: 8px; min-height: 248px; margin: 4px 0 0; padding: 0; list-style: none; }
.osdemo__step {
  display: grid; grid-template-columns: 148px minmax(0, 1fr) 24px; align-items: center; gap: 12px;
  padding: 10px 12px 10px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-klein); line-height: 1.4;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.osdemo__step.is-plan { opacity: 0.5; }
.osdemo__step.is-plan .osdemo__who .icon { color: var(--text-3); }
.osdemo__step.is-old { opacity: 0.25; }
.osdemo__step.is-out { opacity: 0; transform: translateY(10px); }
.osdemo__who { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.osdemo__who .icon { width: 20px; height: 20px; color: var(--kobalt-hell); }
.osdemo__what { color: var(--text-2); }
.osdemo__tick { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.3); color: var(--tinte); transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.osdemo__tick .icon { width: 14px; height: 14px; margin: 4px; stroke-width: 3; opacity: 0; transition: opacity 0.2s; }
.osdemo__step.is-run .osdemo__tick { box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.14); }
.osdemo__step.is-run .osdemo__tick::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--signal); animation: os-dreh 0.7s linear infinite; }
@keyframes os-dreh { to { transform: rotate(360deg); } }
.osdemo__step.is-done .osdemo__tick { background: var(--signal); box-shadow: none; }
.osdemo__step.is-done .osdemo__tick .icon { opacity: 1; }

.osdemo__side { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 20px; border-left: 1px solid var(--linie); }
.osdemo__approve {
  display: flex; flex-direction: column; gap: 10px; min-height: 212px; padding: 16px; border-radius: 16px;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie);
  font-size: var(--fs-klein); line-height: 1.45;
  transition: box-shadow 0.4s var(--ease);
}
.osdemo__approve.is-waiting { box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.6); }
.osdemo__approve.is-approved { box-shadow: inset 0 0 0 1px rgba(111, 125, 255, 0.55); }
.osdemo__empty { margin: auto 0; color: var(--text-3); }
.osdemo__status { display: inline-flex; align-items: center; gap: 8px; color: var(--signal); font-size: 0.8125rem; font-weight: 600; }
.osdemo__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.osdemo__approve.is-approved .osdemo__status { color: #AEB7FF; }
.osdemo__subject { color: var(--text); font-weight: 600; }
.osdemo__preview { color: var(--text-2); }
.osdemo__meta { color: var(--text-3); font-size: 0.8125rem; }
.osdemo__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.osdemo__btns .btn { min-height: 44px; padding: 0 18px; font-size: var(--fs-klein); }
.osdemo__hint { color: var(--text-3); font-size: 0.8125rem; }
.osdemo__log { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--text-3); font-size: 0.8125rem; line-height: 1.4; }
.osdemo__log li { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); gap: 8px; }
.osdemo__log time { font-variant-numeric: tabular-nums; color: var(--text-3); }

.os__points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin: clamp(36px, 4.5vw, 64px) 0 0; padding: 0; list-style: none; }
.os__points h3 { font-size: 1.1875rem; }
.os__points p { margin-top: 8px; color: var(--text-2); font-size: var(--fs-klein); line-height: 1.55; }
.os__points li { padding-top: 18px; border-top: 1px solid var(--linie); }
.os__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: clamp(32px, 4vw, 48px); }
.os__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: clamp(28px, 3.5vw, 44px); color: var(--text-3); font-size: var(--fs-klein); }
.os__tools ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.os__tools li { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie); color: var(--text-2); }
.os__tools svg { width: 20px; height: 20px; }

@media (max-width: 1000px) {
  .os__points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .osdemo__body { grid-template-columns: 200px minmax(0, 1fr); }
  .osdemo__side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--linie); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px 20px; }
  .osdemo__side > :nth-child(1) { grid-column: 1; grid-row: 1; }
  .osdemo__side > :nth-child(2) { grid-column: 1; grid-row: 2; }
  .osdemo__side > :nth-child(3) { grid-column: 2; grid-row: 1; }
  .osdemo__side > :nth-child(4) { grid-column: 2; grid-row: 2; }
}
@media (max-width: 860px) { .os__head { grid-template-columns: 1fr; } }
@media (max-width: 699px) {
  .osdemo { margin-inline: calc(var(--rand) * -0.5); border-radius: 22px; }
  .osdemo__bar { padding: 12px 16px; }
  .osdemo__body { display: flex; flex-direction: column; min-height: 0; }
  .osdemo__agents { order: 0; padding: 12px 0; border-right: 0; border-bottom: 1px solid var(--linie); }
  .osdemo__agents .osdemo__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .osdemo__main { order: 1; padding: 16px 14px 18px; }
  .osdemo__side { order: 2; display: flex; padding: 16px 14px; border-top: 1px solid var(--linie); }
  .osdemo__list {
    position: relative; display: flex; flex-wrap: nowrap; gap: 6px; margin: 0; padding: 0 14px;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
  }
  .osdemo__list::-webkit-scrollbar { display: none; }
  .osdemo__list li { flex: none; min-height: 36px; padding: 0 12px 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--glas-linie); font-size: 0.8125rem; gap: 8px; }
  .osdemo__list li:last-child { margin-right: 22px; }
  .osdemo__state { margin-left: 2px; }
  .osdemo__wissen, .osdemo__logwrap { display: none; }
  .osdemo__tasks { display: grid; grid-template-columns: 1fr 1fr; }
  .osdemo__task { padding: 0 10px; font-size: 0.875rem; }
  .osdemo__steps { min-height: 312px; }
  .osdemo__step { grid-template-columns: minmax(0, 1fr) 24px; gap: 4px 10px; padding: 10px 12px; }
  .osdemo__who { grid-column: 1; }
  .osdemo__what { grid-column: 1; grid-row: 2; }
  .osdemo__tick { grid-column: 2; grid-row: 1 / 3; }
  .osdemo__approve { min-height: 196px; }
  .os__points { grid-template-columns: 1fr; gap: 0; }
  .os__points li { padding-block: 18px; }
  .os__points li:last-child { border-bottom: 1px solid var(--linie); }
}

/* ---------- Leistungen (Lichtblitz-Schiene) ---------- */

.services { --weg: 200svh; }
.services__pin {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center;
  gap: 32px clamp(32px, 6vw, 96px);
  padding-block: var(--abschnitt) 0;
}
.pin-on .services__pin { padding-block: calc(var(--header-h) + 16px) 32px; }
.services__title { font-size: var(--fs-h2-pin); margin-bottom: min(40px, 4.6vh); }
/* Schiene, Punkte und Komet teilen sich eine Mittelachse bei x = 7px. Die Punkte bleiben fest stehen,
   nur die Beschriftung des aktiven Bereichs rückt ein. */
.services__rail { position: relative; padding-left: 40px; --achse: 7px; }
.services__track { position: absolute; left: var(--achse); top: 0.6em; bottom: 0.6em; width: 2px; margin-left: -1px; background: var(--linie); }
.services__track-fill {
  position: absolute; inset: 0; background: linear-gradient(var(--signal), var(--kobalt-hell));
  transform-origin: top; transform: scaleY(0); will-change: transform;
}
.services__comet {
  position: absolute; left: var(--achse); top: 0; z-index: 1; width: 6px; height: 56px; margin: -56px 0 0 -3px; border-radius: 999px;
  background: linear-gradient(rgba(217, 255, 67, 0), var(--signal) 70%, #ffffff);
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.services__tabs { display: flex; flex-direction: column; gap: min(8px, 1.2vh); }
.services__tab {
  position: relative; display: flex; align-items: center; width: 100%;
  padding: 0.14em 0; border: 0; background: none; color: var(--text-3); text-align: left; cursor: pointer;
  font: 500 min(clamp(1.5rem, 1rem + 1.6vw, 2.375rem), 5.4vh)/1.16 var(--font-head); font-stretch: var(--breit); letter-spacing: -0.02em;
  transition: color 0.5s var(--ease);
}
.services__tab:hover { color: var(--text-2); }
.services__tab[aria-selected="true"] { color: var(--text); }
.services__tab-label { display: inline-block; transition: transform 0.6s var(--ease); }
.services__tab[aria-selected="true"] .services__tab-label { transform: translateX(10px); }
.services__tab-dot {
  position: absolute; left: calc(var(--achse) - 40px); top: 50%; z-index: 2; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--tinte); box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.4);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* ohne Skript (oder mobil): der aktive Bereich leuchtet; mit Skript leuchtet jeder Punkt, den der Balken erreicht hat */
.services__tab[aria-selected="true"] .services__tab-dot,
.services__tab-dot.is-lit { background: var(--signal); box-shadow: 0 0 0 4px rgba(217, 255, 67, 0.16); }

.services__panels { position: relative; display: grid; }
.services__panel {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: min(20px, 2.6vh);
  min-height: min(440px, 60vh); padding: clamp(26px, 3.6vw, 52px);
  border-radius: var(--r-panel); background: var(--panel); box-shadow: inset 0 0 0 1px var(--glas-linie);
}
.services__panel[hidden] { display: none; }
.services__statement { font-size: min(clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem), 5.8vh); line-height: 1.12; letter-spacing: -0.02em; max-width: 21ch; }
.services__desc { max-width: 48ch; color: var(--text-2); }
.services__more { align-self: flex-start; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.chips li { padding: 8px 15px; border-radius: 999px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie); font-size: var(--fs-label); font-weight: 600; line-height: 1.3; }
.chips a { text-decoration: none; }
.chips a:hover { color: var(--signal); }

/* Handy: Bereiche als Reiter-Leiste zum Wischen, die Karten darunter als Karussell (natives Scroll-Snap, läuft ohne Skript) */
@media (max-width: 799px) {
  .services__pin { display: block; }
  .services__title { margin-bottom: 24px; }
  .services__rail { padding-left: 0; margin-inline: calc(var(--rand) * -1); }
  .services__track, .services__comet { display: none; }
  .services__tabs {
    flex-direction: row; gap: 8px; padding: 2px var(--rand) 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .services__tabs::-webkit-scrollbar { display: none; }
  .services__tab {
    flex: none; width: auto; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px; gap: 9px; scroll-snap-align: start;
    box-shadow: inset 0 0 0 1px var(--glas-linie);
    font: 600 1rem/1.2 var(--font-body); font-stretch: normal; letter-spacing: 0; color: var(--text-2);
  }
  .services__tab[aria-selected="true"] { background: var(--flaeche-hell); box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.55); }
  .services__tab-dot { position: relative; left: auto; top: auto; flex: none; margin: 0; width: 8px; height: 8px; }
  .services__tab[aria-selected="true"] .services__tab-label { transform: none; }
  .services__panels {
    display: flex; gap: 12px; margin-inline: calc(var(--rand) * -1); padding: 2px var(--rand) 6px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .services__panels::-webkit-scrollbar { display: none; }
  .services__panel, .services__panel[hidden] { display: flex; flex: 0 0 min(86%, 420px); min-height: 0; padding: 24px 22px; scroll-snap-align: start; }
  .services__panel .chips { margin-top: 4px; }
}

/* ---------- Marketing ---------- */

.mkt {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); align-items: center;
  gap: 48px clamp(40px, 6vw, 104px); padding-block: var(--abschnitt) 0;
}
.mkt__title { font-size: var(--fs-h2); max-width: 18ch; }
.mkt__lead { margin-top: 24px; max-width: 46ch; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.mkt__list { margin: 30px 0 0; border-top: 1px solid var(--linie); }
.mkt__list > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.mkt__list dt { font-weight: 600; }
.mkt__list dd { color: var(--text-2); }
.mkt__person { display: flex; align-items: center; gap: 16px; margin-top: 26px; max-width: 50ch; }
.mkt__person img { flex: none; width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: #0b0d15; box-shadow: inset 0 0 0 1px var(--glas-linie); }
.mkt__person figcaption { color: var(--text-2); font-size: var(--fs-klein); line-height: 1.5; }
.mkt__person strong { color: var(--text); }
.mkt__more { margin-top: 18px; }

/* Die Wand richtet sich nach ihrer eigenen Breite (Container-Abfrage), nicht nach dem Fenster.
   Breit: Hochformat links, daneben Feed-Motiv und Suchanzeige. Das Feed-Motiv füllt die Höhe, die übrig bleibt.
   Schmal (Handy): zwei Hochformate nebeneinander, die Suchanzeige darunter über die volle Breite. */
.mkt__side { container-type: inline-size; min-width: 0; }
.mkt__wall { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.ad { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-kachel); background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie); color: #fff; }
.ad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ad::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 11, 14, 0.5) 0%, rgba(10, 11, 14, 0) 26%, rgba(10, 11, 14, 0) 46%, rgba(10, 11, 14, 0.86) 100%); }
.ad--story { grid-row: 1 / 3; aspect-ratio: 9 / 16; }
.ad--feed { min-height: 0; }
.ad__top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; font-weight: 600; line-height: 1.2; }
.ad__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ad__avatar { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--signal); color: var(--tinte); display: grid; place-items: center; font-size: 0.6875rem; font-weight: 700; }
.ad__tag { flex: none; margin-left: auto; padding: 3px 8px; border-radius: 999px; background: rgba(10, 11, 14, 0.55); font-size: 0.6875rem; font-weight: 600; }
.ad__body { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ad__headline { font-family: var(--font-head); font-weight: 500; font-stretch: var(--breit); font-size: clamp(1.0625rem, 0.9rem + 0.7vw, 1.4375rem); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.ad__cta { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; color: #0F1115; font-size: 0.8125rem; font-weight: 600; }
.ad--search { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 18px; color: var(--text); }
.ad--search::after { content: none; }
.ad__url { display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 0.8125rem; }
.ad__url b { color: var(--text); font-weight: 600; }
.ad__link { color: #AEB7FF; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; }
.ad__desc { color: var(--text-2); font-size: var(--fs-label); line-height: 1.45; }
.mkt__note { margin-top: 14px; color: var(--text-3); font-size: 0.8125rem; }
@container (max-width: 619px) { .ad__desc, .ad--story .ad__tag { display: none; } }
@container (max-width: 439px) {
  .mkt__wall { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px; }
  .ad--story { grid-row: 1; }
  .ad--search { grid-column: 1 / -1; padding: 14px 16px; }
  .ad__desc { display: block; }
  .ad__tag { display: none; }
  .ad__top { left: 12px; right: 12px; top: 12px; gap: 6px; font-size: 0.75rem; }
  .ad__avatar { width: 22px; height: 22px; font-size: 0.625rem; }
  .ad__body { left: 12px; right: 12px; bottom: 12px; gap: 8px; }
  .ad__headline { font-size: 1.0625rem; }
}

@media (max-width: 860px) {
  .mkt { grid-template-columns: 1fr; gap: 40px; }
  .mkt__side { max-width: 620px; }
}
@media (max-width: 480px) { .mkt__list > div { grid-template-columns: 1fr; } }

/* ---------- Apps ---------- */

.apps {
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr); align-items: center;
  gap: 48px clamp(40px, 6vw, 104px); padding-block: var(--abschnitt) 0;
}
.apps__title { font-size: var(--fs-h2); max-width: 15.5ch; }
.apps__lead { margin-top: 24px; max-width: 46ch; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.apps__list { margin: 30px 0 0; border-top: 1px solid var(--linie); }
.apps__list > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.apps__list dt { font-weight: 600; }
.apps__list dd { color: var(--text-2); }
.apps__more { margin-top: 18px; }

/* Beispiel-App im Telefonrahmen. Die App selbst ist hell, wie sie beim Kunden aussähe. */
.phone {
  position: relative; width: min(100%, 318px); margin-inline: auto; padding: 9px; border-radius: 46px;
  background: #07080c; box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.24), 0 44px 90px -44px rgba(0, 0, 0, 0.95);
}
.phone__screen { position: relative; display: flex; flex-direction: column; aspect-ratio: 300 / 610; border-radius: 37px; overflow: hidden; background: #F2F2EE; color: #0F1115; font-size: 0.875rem; line-height: 1.4; }
.phone__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 18px 12px; }
.phone__title { font-family: var(--font-head); font-weight: 500; font-stretch: 108%; font-size: 1.1875rem; letter-spacing: -0.015em; }
.phone__tag { padding: 3px 9px; border-radius: 999px; background: rgba(15, 17, 21, 0.08); color: #4A4D55; font-size: 0.6875rem; font-weight: 600; }
.phone__views { position: relative; flex: 1; min-height: 0; }
.phone__view { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 4px 14px 14px; overflow: hidden; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.phone__view[hidden] { display: flex; opacity: 0; transform: translateX(14px); pointer-events: none; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.phone__card { padding: 13px 14px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 rgba(15, 17, 21, 0.06); }
.phone__card b { font-weight: 600; }
.phone__muted { color: #5C5F67; font-size: 0.8125rem; }
.phone__steps { display: grid; gap: 9px; margin: 8px 0 0; padding: 0; list-style: none; }
.phone__steps li { display: flex; align-items: center; gap: 10px; }
.phone__steps li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #B9BBC0; }
.phone__steps li.is-done::before { background: var(--kobalt); box-shadow: none; }
.phone__steps li.is-now::before { background: var(--signal); box-shadow: inset 0 0 0 1.5px #0F1115; }
.phone__steps li.is-now { font-weight: 600; }
.phone__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phone__pill { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--kobalt); color: #fff; font-size: 0.8125rem; font-weight: 600; }
.phone__pill--end { margin-top: auto; }
.phone__docs { margin: 6px 0 -4px; padding: 0; list-style: none; }
.phone__docs li { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 34px; border-top: 1px solid rgba(15, 17, 21, 0.08); }
.phone__docs li:first-child { border-top: 0; }
.phone__week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; margin: 0 0 2px; padding: 0; list-style: none; text-align: center; color: #5C5F67; font-size: 0.6875rem; font-weight: 600; line-height: 1.2; }
.phone__week li { display: grid; gap: 4px; padding: 7px 0 8px; border-radius: 12px; }
.phone__week b { color: #0F1115; font-size: 0.875rem; font-weight: 600; }
.phone__week .is-now { background: var(--kobalt); color: rgba(255, 255, 255, 0.82); }
.phone__week .is-now b { color: #fff; }
.phone__input { display: flex; align-items: center; min-height: 40px; margin-top: auto; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(15, 17, 21, 0.12); color: #5C5F67; font-size: 0.8125rem; }
.phone__bubble { max-width: 84%; padding: 10px 13px; border-radius: 16px 16px 16px 5px; background: #fff; }
.phone__bubble--me { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: var(--kobalt); color: #fff; }
.phone__tabs { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 8px calc(8px + 4px); border-top: 1px solid rgba(15, 17, 21, 0.1); background: #fff; }
.phone__tab { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 48px; padding: 6px 2px; border: 0; border-radius: 12px; background: none; color: #5C5F67; font: 600 0.6875rem/1.2 var(--font-body); cursor: pointer; transition: color 0.25s var(--ease); }
.phone__tab .icon { width: 22px; height: 22px; }
.phone__tab[aria-selected="true"] { color: var(--kobalt); }
.phone__tab:focus-visible { outline-color: var(--kobalt); }

@media (max-width: 860px) {
  .apps { grid-template-columns: 1fr; gap: 40px; }
  .apps__phone { order: 2; }
}
@media (max-width: 480px) { .apps__list > div { grid-template-columns: 1fr; } }
/* sehr schmale Handys: der Rahmen wird kleiner als 318 px, die dritte Karte hätte keinen Platz mehr */
@media (max-width: 359px) { .phone__card--extra { display: none; } }

/* ---------- Band (KI-Pflicht) ---------- */

.band { padding-top: var(--abschnitt); }
.band__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(560px, 74svh); padding: clamp(28px, 6vw, 88px);
  border-radius: var(--r-panel); background: var(--tinte-tief); box-shadow: inset 0 0 0 1px var(--glas-linie);
}
.band__media { position: absolute; inset: -12% 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 14, 0.88) 0%, rgba(10, 11, 14, 0.25) 62%); }
.band__content { max-width: 35rem; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.band__title { font-size: var(--fs-h2); }
.band__text { color: var(--text-2); max-width: 44ch; }
@media (max-width: 600px) {
  .band__panel { min-height: 0; }
  .band__media::after { background: linear-gradient(180deg, rgba(10, 11, 14, 0.9) 0%, rgba(10, 11, 14, 0.72) 100%); }
}

/* ---------- Rechner ---------- */

.calc {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px clamp(40px, 6vw, 104px); align-items: center;
  padding-block: var(--abschnitt) 0;
}
.calc__title { font-size: var(--fs-h2); }
.calc__note { margin-top: 24px; max-width: 38ch; color: var(--text-2); }
.calc__form {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 24px;
  padding: clamp(24px, 4vw, 48px); border-radius: var(--r-panel);
  background: linear-gradient(160deg, rgba(47, 69, 255, 0.16), rgba(255, 255, 255, 0.03) 55%), rgba(14, 16, 23, 0.86);
  box-shadow: inset 0 0 0 1px var(--glas-linie);
}
.calc__light {
  position: absolute; left: -25%; right: -25%; top: 64%; z-index: -1; height: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, rgba(47, 69, 255, 0), var(--kobalt-hell) 30%, var(--signal) 68%, rgba(217, 255, 67, 0));
  transform: rotate(-9deg);
}
.calc__light::before {
  content: ""; position: absolute; left: 5%; right: 5%; top: -90px; height: 180px;
  background: radial-gradient(ellipse at 42% 50%, rgba(47, 69, 255, 0.4), rgba(217, 255, 67, 0.08) 48%, rgba(15, 17, 21, 0) 70%);
}
.calc__field { display: flex; flex-direction: column; gap: 6px; }
.calc__field label { display: flex; justify-content: space-between; gap: 16px; color: var(--text-2); }
.calc__field output { min-width: 2.2ch; color: var(--text); font-weight: 600; text-align: right; }
.calc input[type="range"] { --fill: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--kobalt-hell) 0%, var(--signal) var(--fill), rgba(242, 242, 238, 0.18) var(--fill)); }
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 5px rgba(217, 255, 67, 0.16);
  transition: transform 0.25s var(--ease);
}
.calc input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.18); }
.calc input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(242, 242, 238, 0.18); }
.calc input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--kobalt-hell), var(--signal)); }
.calc input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(217, 255, 67, 0.16); }
.calc__result { padding-top: 20px; border-top: 1px solid var(--linie); }
.calc__sum {
  font-family: var(--font-head); font-weight: 500; font-stretch: var(--breit); font-size: min(clamp(2.5rem, 1.4rem + 4.2vw, 4.75rem), 11vh);
  line-height: 1; letter-spacing: -0.03em; color: var(--signal); font-variant-numeric: tabular-nums;
}
.calc__per { font-family: var(--font-body); font-stretch: normal; font-size: max(1rem, 0.3em); font-weight: 400; letter-spacing: 0; color: var(--text); }
.calc__days { margin-top: 10px; color: var(--text-2); }
.calc__form .btn { align-self: flex-start; }

@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .calc__form .btn { align-self: stretch; } }

/* ---------- Beispiele (horizontale Fahrt) ---------- */

.examples__pin { padding-block: var(--abschnitt) 0; }
.examples__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 64px; margin-bottom: min(44px, 5vh); }
.examples__title { font-size: var(--fs-h2-pin); max-width: 16.6ch; }
.examples__intro { max-width: 42ch; color: var(--text-2); }
.examples__track { display: flex; flex-direction: column; gap: 56px; width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.example { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 20px clamp(24px, 3vw, 48px); }
.example__media { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 3; border-radius: var(--r-kachel); background: #1a1d24; box-shadow: inset 0 0 0 1px var(--glas-linie); }
.example__media img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; }
.example__media::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(160deg, rgba(47, 69, 255, 0.16), rgba(15, 17, 21, 0) 45%, rgba(15, 17, 21, 0.22) 100%); }
/* Lichtkegel, der beim Scrollen über das Bild zieht (per JS: xPercent, opacity). Ohne Mischmodus: der zwang den
   Browser, jede Karte pro Bild neu zusammenzusetzen. */
.example__light {
  position: absolute; inset: -10% -45%; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(ellipse 26% 55% at 50% 40%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%);
  will-change: transform, opacity;
}
.example__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; list-style: none; }
.example__chips li { padding: 6px 12px; border-radius: 999px; background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie); color: var(--text-2); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; }
.example__chips .chip--lime { background: var(--signal); color: var(--tinte); box-shadow: none; }
.example__body { padding-bottom: 8px; }
.example__title { font-size: min(clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem), 6vh); letter-spacing: -0.02em; }
.example__text { margin-top: 10px; max-width: 36ch; color: var(--text-2); }

/* Scroll-Geschichte: Die Karten fahren seitlich durch, während der Abschnitt steht. --weg setzt das Skript (Breite der Reihe). */
.pin-on .examples__pin { display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 16px) 32px; overflow: hidden; }
.pin-on .examples__track { flex-direction: row; gap: clamp(24px, 3vw, 48px); width: max-content; margin: 0; padding-inline: max(var(--rand), (100vw - var(--breite)) / 2); will-change: transform; }
.pin-on .example { width: min(80vw, 1040px); }
.pin-on .example__media { aspect-ratio: auto; height: min(54svh, 540px); }
.pin-on .example__media img { top: 0; height: 100%; left: -6%; width: 112%; }

/* Handy: Karussell zum Wischen (natives Scroll-Snap) */
@media (max-width: 799px) {
  .examples__track {
    flex-direction: row; gap: 12px; width: auto; margin: 0; padding: 2px var(--rand) 6px;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .examples__track::-webkit-scrollbar { display: none; }
  .example { flex: 0 0 min(84%, 420px); display: block; scroll-snap-align: start; }
  .example__media { aspect-ratio: 4 / 3.4; }
  .example__media img { top: 0; height: 100%; }
  .example__body { padding-top: 16px; }
}

/* ---------- Zusammenarbeit ---------- */

.process { position: relative; padding-block: var(--abschnitt) 0; }
.process__title { font-size: var(--fs-h2); }
.process__rail { position: relative; z-index: 0; height: 2px; margin-top: clamp(44px, 6vw, 76px); background: var(--linie); }
.process__rail-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--kobalt-hell), var(--signal)); transform-origin: left center; will-change: transform; }
.process__rail-spark { position: absolute; top: 50%; left: 0; width: 72px; height: 4px; margin: -2px 0 0 -72px; border-radius: 4px; background: linear-gradient(90deg, rgba(217, 255, 67, 0), #fff); opacity: 0; will-change: transform, opacity; }
.process__steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); margin: -24px 0 0; padding: 0; list-style: none; }
.process__num {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--signal); color: var(--tinte); font-weight: 700;
  box-shadow: 0 0 0 6px rgba(217, 255, 67, 0.14);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.process__step.is-waiting .process__num { background: var(--tinte); color: var(--text-2); box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.35); }
.process__step h3 { margin-top: 22px; font-size: var(--fs-h3); }
.process__step p { margin-top: 10px; max-width: 36ch; color: var(--text-2); }

/* Handy: senkrechte Schiene links, die sich beim Scrollen füllt (--f je Schritt, vom Skript gesetzt) */
@media (max-width: 860px) {
  .process__rail { display: none; }
  .process__steps { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .process__step { position: relative; padding: 0 0 36px 68px; }
  .process__step:last-child { padding-bottom: 0; }
  .process__num { position: absolute; left: 0; top: 0; z-index: 1; }
  .process__step::before, .process__step::after { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; }
  .process__step::before { background: var(--linie); }
  .process__step::after { background: linear-gradient(var(--signal), var(--kobalt-hell)); transform-origin: top; transform: scaleY(var(--f, 0)); }
  .process__step:last-child::before, .process__step:last-child::after { content: none; }
  .process__step h3 { margin-top: 0; padding-top: 8px; }
}

/* ---------- Zusagen: die Schiene füllt sich entlang einer Leselinie ---------- */

.promises { padding-block: var(--abschnitt); }
.promises__title { max-width: 17.7ch; font-size: var(--fs-h2); }
.promises__rail { position: relative; max-width: 1120px; margin-top: clamp(36px, 5vw, 64px); padding-left: 56px; --achse: 7px; }
.promises__track { position: absolute; left: var(--achse); top: 2.5rem; bottom: 2.5rem; width: 2px; margin-left: -1px; background: var(--linie); }
.promises__track-fill { position: absolute; inset: 0; background: linear-gradient(var(--signal), var(--kobalt-hell)); transform-origin: top; will-change: transform; }
.promises__comet {
  position: absolute; left: var(--achse); top: 0; z-index: 1; width: 6px; height: 56px; margin: -56px 0 0 -3px; border-radius: 999px;
  background: linear-gradient(rgba(217, 255, 67, 0), var(--signal) 70%, #ffffff);
  opacity: 0; pointer-events: none; will-change: transform, opacity;
}
.promises__list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--linie); }
.promises__item {
  --pad: clamp(22px, 3vw, 36px); --name-fs: clamp(1.1875rem, 1rem + 0.8vw, 1.625rem);
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: baseline;
  gap: 8px clamp(20px, 3.5vw, 64px); padding-block: var(--pad); border-top: 1px solid var(--linie);
}
.promises__dot {
  position: absolute; left: calc(var(--achse) - 56px); top: calc(var(--pad) + var(--name-fs) * 0.6); z-index: 2;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 5px rgba(217, 255, 67, 0.14);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.promises__name { font-size: var(--name-fs); line-height: 1.2; transition: color 0.35s var(--ease); }
.promises__desc { max-width: 46ch; color: var(--text-2); transition: color 0.35s var(--ease); }
.promises__item.is-waiting .promises__dot { background: var(--tinte); box-shadow: inset 0 0 0 1.5px rgba(242, 242, 238, 0.4); }
.promises__item.is-waiting .promises__name { color: var(--text-3); }
.promises__item.is-waiting .promises__desc { color: rgba(242, 242, 238, 0.52); }
@media (max-width: 860px) {
  .promises__rail { padding-left: 38px; }
  .promises__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .promises__dot { left: calc(var(--achse) - 38px); top: calc(var(--pad) + 0.72rem); }
}

/* ---------- Gründer: aus Kar und Fey wird Karfey ---------- */

.founders { position: relative; --weg: 130svh; padding-block: 0 var(--abschnitt); }
.pin-on .founders { padding-block: 0; margin-bottom: var(--abschnitt); }
.founders__pin { position: relative; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4.4vh, 48px); }
.pin-on .founders__pin { padding-block: calc(var(--header-h) + 16px) 28px; }
.founders__title { max-width: 26.5ch; margin-inline: auto; font-size: var(--fs-h2-pin); text-align: center; }
/* --photo-h: Höhe der Fotos, --ar: Seitenverhältnis Höhe/Breite. Karten oben bündig, die Mitte steht auf Höhe der Fotos. */
.founders__stage {
  --gap: clamp(20px, 3vw, 48px); --photo-h: min(34vh, 350px); --ar: 1.25;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: var(--gap);
  container-type: inline-size; perspective: 1200px;
}

.person { width: min(100%, calc(var(--photo-h) / var(--ar))); perspective: 900px; }
.person--kar { justify-self: end; }
.person--fey { justify-self: start; }
.person__card { position: relative; }
.person__photo {
  position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 1 / var(--ar); border-radius: var(--r-kachel);
  background:
    radial-gradient(110% 70% at 50% 112%, rgba(47, 69, 255, 0.62), rgba(47, 69, 255, 0) 62%),
    radial-gradient(70% 45% at 85% -5%, rgba(217, 255, 67, 0.1), rgba(217, 255, 67, 0) 70%),
    #0b0d15;
  box-shadow: inset 0 0 0 1px var(--glas-linie);
  transition: box-shadow 0.6s var(--ease);
}
/* Teamfotos: freigestellt (WebP mit Transparenz), der Kartenhintergrund scheint durch */
.person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* Lichtkante, die dem Cursor folgt */
.person__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease);
  background:
    radial-gradient(55% 40% at var(--mx, 50%) var(--my, 30%), rgba(242, 242, 238, 0.16), rgba(242, 242, 238, 0) 70%),
    linear-gradient(105deg, rgba(111, 125, 255, 0) 36%, rgba(111, 125, 255, 0.2) 47%, rgba(217, 255, 67, 0.14) 53%, rgba(217, 255, 67, 0) 64%) var(--mx, 50%) 0 / 260% 100% no-repeat;
}
@media (hover: hover) and (pointer: fine) {
  .person__card:hover .person__photo { box-shadow: inset 0 0 0 1px rgba(111, 125, 255, 0.55); }
  .person__card:hover .person__photo::after { opacity: 1; }
}
.person__name { margin-top: 16px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem); line-height: 1.15; }
.person__syl { color: var(--signal); }
.person__role { margin-top: 4px; color: var(--text-3); font-size: var(--fs-klein); }

.founders__center {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(18px, 3.4vh, 32px);
  min-height: min(calc((100cqi - 2 * var(--gap)) / 3.05 * var(--ar)), var(--photo-h)); text-align: center;
}
.founders__merge { position: relative; display: flex; justify-content: center; width: 100%; }
.founders__node {
  --lit: 1;
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 0.38em; padding: 0.32em 0.9em 0.32em 0.8em; border-radius: 999px;
  font-size: min(clamp(1.875rem, 1rem + 2vw, 3rem), 6.6vh); color: var(--text); background: #0b0d15;
  box-shadow:
    inset 0 0 0 1px rgba(217, 255, 67, calc(0.1 + var(--lit) * 0.45)),
    0 calc(var(--lit) * 20px) calc(var(--lit) * 56px) calc(var(--lit) * -16px) rgba(47, 69, 255, calc(var(--lit) * 0.8));
}
/* Zeichen und Buchstaben stammen aus dem Logo (Pfade), alle auf dieselbe Mittellinie bezogen */
.founders__k { position: relative; height: 0.92em; width: auto; overflow: visible; }
.founders__k circle { fill: var(--signal); }
.founders__word { position: relative; display: inline-flex; align-items: center; line-height: 1; }
.founders__word span { display: inline-block; transform-origin: 0 0; }
.founders__word span + span { margin-left: 0.045em; }
.founders__word svg { height: 1.21em; width: auto; overflow: visible; fill: currentColor; }
.founders__flash {
  position: absolute; left: 50%; top: 50%; z-index: -1; width: 240%; aspect-ratio: 1; margin: -120% 0 0 -120%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(217, 255, 67, 0.32), rgba(47, 69, 255, 0.28) 34%, rgba(47, 69, 255, 0) 66%);
}
.founders__beam { --p: 1; position: absolute; top: 50%; height: 2px; margin-top: -1px; pointer-events: none; }
.founders__beam--l {
  left: calc(-1 * var(--gap)); right: 50%;
  background: linear-gradient(90deg, rgba(47, 69, 255, 0.4), var(--kobalt) 12%, var(--kobalt-hell) 28%, var(--signal) 46%) left center / calc(var(--p) * 100%) 100% no-repeat;
}
.founders__beam--r {
  right: calc(-1 * var(--gap)); left: 50%;
  background: linear-gradient(270deg, rgba(47, 69, 255, 0.4), var(--kobalt) 12%, var(--kobalt-hell) 28%, var(--signal) 46%) right center / calc(var(--p) * 100%) 100% no-repeat;
}
.founders__spark { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; opacity: 0; background: var(--signal-hell); box-shadow: 0 0 0 4px rgba(217, 255, 67, 0.25); }
.founders__beam--l .founders__spark { left: calc(var(--p) * 100%); }
.founders__beam--r .founders__spark { left: calc((1 - var(--p)) * 100%); }
.founders__intro { max-width: 32ch; color: var(--text-2); }
.founders__about { max-width: 72ch; margin-inline: auto; color: var(--text-2); text-align: center; text-wrap: pretty; line-height: 1.6; }
@media (min-width: 800px) and (max-height: 780px) { .founders__about { font-size: var(--fs-klein); line-height: 1.5; } }

@media (max-width: 799px) {
  .founders__pin { gap: 28px; }
  .founders__title { text-align: left; margin-inline: 0; }
  .founders__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .founders__center { grid-column: 1 / -1; order: -1; min-height: 0; align-items: flex-start; text-align: left; }
  .founders__merge { justify-content: flex-start; }
  .founders__beam { display: none; }
  .person, .person--kar, .person--fey { width: 100%; justify-self: stretch; }
  .founders__about { text-align: left; margin-inline: 0; }
}

/* ---------- Fragen ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px clamp(32px, 6vw, 112px); padding-block: 0 var(--abschnitt); }
.faq__title { font-size: var(--fs-h2-pin); align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__list { border-bottom: 1px solid var(--linie); }
.faq__item { border-top: 1px solid var(--linie); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem); font-weight: 600; line-height: 1.3;
  transition: color 0.3s var(--ease);
}
.faq__item summary:hover { color: var(--signal); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.45s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding-bottom: 24px; max-width: 60ch; color: var(--text-2); }
.faq__answer a { color: var(--text); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq__title { position: static; } }

/* ---------- Abschluss ---------- */

.cta { min-height: 92svh; display: grid; align-items: center; }
.cta__inner {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 104px); align-items: start;
  padding-block: var(--abschnitt);
}
.cta__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.cta__title { font-size: var(--fs-h2); max-width: 15.5ch; }
.cta__text { margin-top: 24px; max-width: 38ch; font-size: var(--fs-lead); color: var(--text-2); }
.cta__steps { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--text-2); counter-reset: schritt; }
.cta__steps li { display: grid; grid-template-columns: 2em 1fr; align-items: baseline; max-width: 42ch; counter-increment: schritt; }
.cta__steps li::before { content: counter(schritt); color: var(--signal); font-weight: 700; }
.cta__direct { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--linie); color: var(--text-3); }
.cta__direct-title { color: var(--text); font-weight: 600; }
.cta__contacts { display: grid; gap: 4px; max-width: 42ch; margin: 10px 0 0; padding: 0; list-style: none; }
.cta__contacts li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.cta__contacts a { color: var(--text); text-decoration: none; font-weight: 500; }
.cta__contacts a:hover { color: var(--signal); text-decoration: underline; }
.cta__place { margin-top: 12px; font-size: var(--fs-klein); }
.cta__booking { margin-top: 24px; }
.cta__booking[hidden] { display: none; }
@media (max-width: 960px) {
  .cta { min-height: 0; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__intro { position: static; }
}

/* ---------- Kontaktformular (Netlify Forms, Logik in kontakt.js) ---------- */

.kontakt {
  --fehler: #FF8F7D;
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(22px, 3.6vw, 44px); border-radius: var(--r-panel);
  background: linear-gradient(160deg, rgba(47, 69, 255, 0.14), rgba(255, 255, 255, 0.03) 55%), rgba(14, 16, 23, 0.9);
  box-shadow: inset 0 0 0 1px var(--glas-linie);
}
.kontakt [hidden] { display: none !important; }
.kontakt__light {
  position: absolute; left: -30%; right: -30%; top: 0; z-index: -1; height: 1.5px; pointer-events: none;
  background: linear-gradient(90deg, rgba(47, 69, 255, 0), var(--kobalt-hell) 35%, var(--signal) 70%, rgba(217, 255, 67, 0));
  transform: translateY(46px) rotate(-6deg); opacity: 0.5;
}
.kontakt__title { font-size: var(--fs-h3); }
.kontakt__title:focus { outline: none; }
.kontakt__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kontakt__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 26px; }
.kontakt__field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.kontakt__field--wide { grid-column: 1 / -1; }
.kontakt__label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0; color: var(--text); font-size: var(--fs-klein); font-weight: 600; }
.kontakt__optional { color: var(--text-3); font-size: 0.8125rem; font-weight: 400; }
.kontakt__themen legend { width: 100%; margin-bottom: 12px; } /* Legende ist kein Flex-Kind: Abstand selbst setzen */
.kontakt__input {
  width: 100%; min-height: 52px; margin: 0; padding: 13px 16px;
  border: 1px solid rgba(242, 242, 238, 0.16); border-radius: 14px;
  background: rgba(255, 255, 255, 0.045); color: var(--text);
  font: 400 1.0625rem/1.4 var(--font-body); caret-color: var(--signal);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.kontakt__input:hover { border-color: rgba(242, 242, 238, 0.3); }
.kontakt__input:focus { outline: none; border-color: var(--signal); background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 4px rgba(217, 255, 67, 0.12); }
.kontakt__input--area { min-height: 148px; resize: vertical; }
.kontakt__input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px #1a1d26 inset; caret-color: var(--signal); }
.kontakt__input:-webkit-autofill:focus { box-shadow: 0 0 0 1000px #1d2029 inset, 0 0 0 4px rgba(217, 255, 67, 0.12); }
.kontakt__field.is-invalid .kontakt__input { border-color: var(--fehler); }
.kontakt__field.is-invalid .kontakt__input:focus { box-shadow: 0 0 0 4px rgba(255, 143, 125, 0.14); }
.kontakt__msg { min-height: 0; color: var(--text-3); font-size: var(--fs-label); line-height: 1.45; }
.kontakt__msg:empty { display: none; }
.kontakt__msg.is-error { color: var(--fehler); }

.kontakt__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kontakt__chip { position: relative; cursor: pointer; }
.kontakt__chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kontakt__chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(242, 242, 238, 0.18);
  color: var(--text-2); font-size: var(--fs-klein); white-space: nowrap;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.kontakt__chip span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(242, 242, 238, 0.3);
  transition: background-color 0.25s var(--ease);
}
.kontakt__chip:hover span { box-shadow: inset 0 0 0 1px rgba(242, 242, 238, 0.4); color: var(--text); }
.kontakt__chip input:checked + span { background: rgba(217, 255, 67, 0.1); box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.6); color: var(--text); }
.kontakt__chip input:checked + span::before { background: var(--signal); }
.kontakt__chip input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }

.kontakt__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.kontakt__submit { position: relative; flex: none; }
.kontakt__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(15, 17, 21, 0.25); border-top-color: var(--tinte); }
.kontakt__submit[aria-busy="true"] { cursor: progress; }
.kontakt__submit[aria-busy="true"] .kontakt__spinner { display: block; animation: kontakt-dreh 0.8s linear infinite; }
@keyframes kontakt-dreh { to { transform: rotate(360deg); } }
.kontakt__privacy { flex: 1 1 220px; color: var(--text-3); font-size: var(--fs-label); line-height: 1.5; }
.kontakt__privacy a { color: var(--text-2); }
.kontakt__status { margin-top: 16px; color: var(--text-2); font-size: var(--fs-klein); }
.kontakt__status:empty { display: none; }
.kontakt__status.is-error { color: var(--fehler); }
.kontakt__status a { color: var(--text); }

.kontakt__done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: clamp(12px, 3vw, 40px); }
.kontakt__check { width: 64px; height: 64px; }
.kontakt__check svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kontakt__check circle { stroke: rgba(217, 255, 67, 0.35); stroke-width: 1.5; }
.kontakt__check path { stroke: var(--signal); stroke-width: 3; stroke-dasharray: 32; stroke-dashoffset: 32; }
.kontakt.is-done .kontakt__check path { animation: kontakt-haken 0.7s 0.15s var(--ease) forwards; }
@keyframes kontakt-haken { to { stroke-dashoffset: 0; } }
.kontakt__done-text { max-width: 44ch; color: var(--text-2); }
.kontakt__done-text strong { color: var(--text); overflow-wrap: anywhere; }
.kontakt__preview { max-width: 48ch; padding: 12px 16px; border-radius: 14px; background: var(--glas); box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.35); color: var(--text-2); font-size: var(--fs-klein); }
.kontakt__again { margin-top: 4px; min-height: 44px; color: var(--text-2); }

@media (max-width: 600px) {
  .kontakt__grid { grid-template-columns: 1fr; }
  .kontakt__submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .kontakt__check path { stroke-dashoffset: 0; }
}

/* ---------- Leistungsseiten (je ein Ordner mit einer kurzen Seite pro Leistung) ----------
   Ohne 3D-Hintergrund und ohne GSAP: das Standbild der Lichtwelt bleibt stehen, die Seiten laden schnell. */

.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(36px, 7vw, 96px)); padding-bottom: clamp(44px, 6vw, 88px); }
.page-hero::before {
  /* über die volle Fensterbreite und weich auslaufend, damit keine Kante am Container sichtbar wird */
  content: ""; position: absolute; inset: 0 calc(50% - 50vw); pointer-events: none;
  background: radial-gradient(ellipse 55% 65% at 28% 50%, rgba(15, 17, 21, 0.8), rgba(15, 17, 21, 0.4) 45%, rgba(15, 17, 21, 0) 75%);
}
.page-hero > * { position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--text-3); font-size: var(--fs-klein); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-3); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.page-hero__title { margin-top: clamp(24px, 3.5vw, 40px); max-width: 18.8ch; font-size: clamp(2.125rem, 1.25rem + 3.6vw, 4.25rem); line-height: 1.03; letter-spacing: -0.025em; }
.page-hero__lead { margin-top: 24px; max-width: 52ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.page-hero__ort { margin-top: 20px; color: var(--text-3); font-size: var(--fs-klein); }

/* Unter dem Hero wird der Lichthintergrund ruhiger, damit Text überall gut lesbar bleibt */
.page-body { position: relative; background: linear-gradient(rgba(15, 17, 21, 0), rgba(15, 17, 21, 0.66) 280px, rgba(15, 17, 21, 0.66) calc(100% - 200px), rgba(15, 17, 21, 0)); }
.page-section { padding-block: clamp(52px, 7.5vw, 104px); }
.page-section + .page-section { padding-top: 0; }
.page-section__title { max-width: 24.3ch; font-size: clamp(1.75rem, 1.25rem + 2vw, 2.875rem); }
.page-section__intro { margin-top: 18px; max-width: 58ch; color: var(--text-2); font-size: var(--fs-lead); line-height: 1.55; }
.page-section__text { margin-top: 16px; max-width: 64ch; color: var(--text-2); }
.page-section__label { color: var(--text-2); font-family: var(--font-body); font-stretch: normal; font-size: var(--fs-klein); font-weight: 600; letter-spacing: 0; }

.leistung-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (max-width: 1000px) { .leistung-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .leistung-grid { grid-template-columns: 1fr; } }
.leistung-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .leistung-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .leistung-grid--4 { grid-template-columns: 1fr; } }
.leistung-card { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-kachel); background: var(--panel); box-shadow: inset 0 0 0 1px var(--glas-linie); }
.leistung-card h3 { font-size: 1.1875rem; }
.leistung-card p { margin-top: 10px; color: var(--text-2); }
.page-section .leistung-grid { margin-top: 20px; }
.page-section .mkt__person { margin-top: 20px; max-width: 62ch; }
.page-section .osdemo { margin-top: 28px; }
/* kurze Seiten: weniger Luft zwischen den Blöcken */
.page-body > .page-section:first-child { padding-top: clamp(16px, 2.5vw, 32px); padding-bottom: clamp(52px, 7vw, 88px); }
.page-body .faq { padding-bottom: clamp(52px, 7vw, 88px); }

/* Vergleichstabelle (Agentic OS): auf schmalen Schirmen seitlich scrollbar, die erste Spalte bleibt lesbar */
.tabelle-wrap { margin-top: 28px; border-radius: var(--r-kachel); background: var(--panel); box-shadow: inset 0 0 0 1px var(--glas-linie); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabelle { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--fs-klein); line-height: 1.5; }
.tabelle th, .tabelle td { padding: 16px 20px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.tabelle thead th { color: var(--text-3); font-size: var(--fs-label); font-weight: 600; white-space: nowrap; }
.tabelle tbody th { width: 11.5rem; color: var(--text); font-weight: 600; }
.tabelle td { color: var(--text-2); }
.tabelle tr:last-child th, .tabelle tr:last-child td { border-bottom: 0; }
.tabelle .ist-os { color: var(--text); }
.tabelle thead .ist-os { color: var(--signal); }
/* Handy: jede Zeile als Block, die drei Antworten untereinander mit ihrem Spaltennamen davor */
@media (max-width: 640px) {
  .tabelle-wrap { overflow: visible; }
  .tabelle { min-width: 0; }
  .tabelle, .tabelle tbody, .tabelle tr, .tabelle tbody th, .tabelle td { display: block; }
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tabelle tbody tr { padding: 16px 18px 12px; border-bottom: 1px solid var(--linie); }
  .tabelle tbody tr:last-child { border-bottom: 0; }
  .tabelle tbody th { width: auto; padding: 0 0 6px; border: 0; font-size: 1rem; }
  .tabelle tbody td { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 12px; padding: 5px 0; border: 0; }
  .tabelle tbody td::before { content: attr(data-label); color: var(--text-3); font-size: var(--fs-label); font-weight: 600; line-height: 1.7; }
  .tabelle tbody td.ist-os::before { color: var(--signal); }
}

/* Nummerierte Schritte (nur dort, wo die Reihenfolge etwas bedeutet) */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; counter-reset: schritt; }
.schritte li { padding: clamp(22px, 2.4vw, 30px); border-radius: var(--r-kachel); background: var(--panel); box-shadow: inset 0 0 0 1px var(--glas-linie); counter-increment: schritt; }
.schritte li::before { content: counter(schritt); display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 50%; background: var(--signal); color: var(--tinte); font-weight: 700; }
.schritte h3 { font-size: 1.1875rem; }
.schritte p { margin-top: 8px; color: var(--text-2); }
@media (max-width: 860px) { .schritte { grid-template-columns: 1fr; } }

/* Leiste mit den übrigen Leistungen */
.page-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-block: 0 clamp(16px, 3vw, 40px); }
.page-more__label { color: var(--text-2); font-size: var(--fs-klein); font-weight: 600; }
.page-more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.page-more a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: var(--fs-klein); font-weight: 600;
  background: var(--flaeche); box-shadow: inset 0 0 0 1px var(--glas-linie); transition: box-shadow 0.35s var(--ease), color 0.35s var(--ease);
}
.page-more a:hover { color: var(--signal); box-shadow: inset 0 0 0 1px rgba(217, 255, 67, 0.55); }
.page-stand { margin-top: 20px; color: var(--text-3); font-size: var(--fs-label); }

/* ---------- Footer ---------- */

.site-footer { margin-top: 0; padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--linie); background: linear-gradient(rgba(10, 11, 14, 0), rgba(10, 11, 14, 0.92) 30%); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.site-footer__title { color: var(--text); font-weight: 600; }
.site-footer__col ul { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; color: var(--text-3); }
.site-footer__col li { display: flex; align-items: center; min-height: 36px; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--text); text-decoration: underline; }
.site-footer__mark { margin-top: clamp(48px, 7vw, 96px); color: var(--text); --logo-knoten: var(--signal); }
.site-footer__mark .logo { width: 100%; height: auto; }
.site-footer__legal { padding: 24px 0 calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--text-3); font-size: var(--fs-klein); }
@media (max-width: 760px) { .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }

/* ---------- Einwilligung (nur sichtbar, wenn Google Analytics eingerichtet ist) ---------- */

.consent {
  position: fixed; z-index: 70;
  left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100% - 32px)); padding: 22px 22px 20px; border-radius: var(--r-kachel);
  background: rgba(16, 18, 26, 0.98); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--glas-linie), 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
@media (min-width: 761px) { .consent { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }
.consent__title { font-family: var(--font-head); font-stretch: var(--breit); font-size: 1.1875rem; font-weight: 500; letter-spacing: -0.012em; line-height: 1.2; }
.consent__text { margin-top: 8px; color: var(--text-2); font-size: var(--fs-klein); line-height: 1.55; }
.consent__text a { color: var(--text); }
/* beide Knöpfe absichtlich identisch: Ablehnen muss so einfach sein wie Zustimmen */
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.consent__btn {
  min-height: 46px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(242, 242, 238, 0.1); box-shadow: inset 0 0 0 1px rgba(242, 242, 238, 0.3);
  color: var(--text); font: 600 1rem/1 var(--font-body);
  transition: background-color 0.3s var(--ease);
}
.consent__btn:hover { background: rgba(242, 242, 238, 0.18); }

/* ---------- Niedrige Fenster (z. B. Laptop mit Dock) ---------- */

@media (min-width: 800px) and (max-height: 640px) {
  .pin-on .hand__pin, .pin-on .flow__pin, .pin-on .services__pin { padding-block: calc(var(--header-h) + 4px) 12px; }
  .hand__title { font-size: min(clamp(2rem, 1.1rem + 3.2vw, 3.75rem), 10vh); }
  .hand__text { font-size: var(--fs-klein); line-height: 1.5; }
  .hand__beam { margin: 1.6vh 0; }
  .hand__chips { margin-top: 2vh; gap: 8px; }
  .hand__chips a { min-height: 36px; padding: 0 14px; font-size: var(--fs-klein); }
  .services__title { margin-bottom: 2.6vh; }
  .services__panel { padding: 20px 24px; gap: 10px; min-height: 0; }
  .services__statement { font-size: min(clamp(1.375rem, 1rem + 1.2vw, 2rem), 5.4vh); }
  .services__desc { font-size: var(--fs-klein); line-height: 1.5; }
  .services__more { min-height: 32px; }
  .chips li { padding: 5px 12px; font-size: 0.8125rem; }
  .pin-on .founders__pin { padding-block: calc(var(--header-h) + 4px) 12px; gap: 2.4vh; }
  .founders__title { max-width: none; }
  .founders__stage { --photo-h: 36vh; --ar: 1; }
  .founders__center { gap: 2.2vh; }
  .person__name { margin-top: 8px; font-size: 1.0625rem; }
  .person__role { margin-top: 0; font-size: var(--fs-label); }
  .founders__intro { font-size: var(--fs-klein); line-height: 1.5; }
  .founders__about { font-size: var(--fs-label); line-height: 1.45; }
  .example__text { font-size: var(--fs-klein); }
}

/* ---------- Bewegung reduziert ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .btn:hover, .teaser:hover { transform: none; }
}
