/* ==========================================================================
   CURALYS v2.1 – site.css
   1 Basis · 2 Typografie · 3 Bausteine · 4 Header · 5 Hero · 6 Ablauf (dunkel)
   7 Module · 8 Plattform · 9 Bento · 10 Für wen · 11 Sicherheit · 12 Über/Roadmap
   13 FAQ · 14 Demo/Formular · 15 Footer · 16 Rechtsseiten · 17 Bewegung · 18 Ohne JS
   Header- und Footer-Klassen werden von impressum/datenschutz/404 mitgenutzt – nicht umbenennen.
   ========================================================================== */

/* ---------- 1 Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--petrol-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible, .tile--dark :focus-visible, .hdr.is-dark :focus-visible { outline-color: var(--lime); }
main:focus { outline: none; }
::selection { background: var(--petrol-soft); }

[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* Platzhalter-Texte (kommen vom Auftraggeber) */
.ph { padding: 0 4px; background: #f3f6d2; outline: 1px dashed #8a979e; border-radius: 2px; hyphens: none; color: var(--ink); overflow-wrap: anywhere; }

/* ---------- 2 Typografie ---------- */
.display {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.h2--sub { font-size: var(--fs-h2-sub); line-height: 1.08; letter-spacing: -0.028em; }
.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
}
/* Punkt nur an den drei Ankerstellen (Hero, Ablauf, Demo) */
.eyebrow--dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }
.eyebrow--lime { color: var(--lime); }

/* ---------- 3 Bausteine ---------- */
.sec { position: relative; padding-block: var(--sec-y); }
.sec--tint { background: var(--tint); }
.sec--line { border-top: 1px solid var(--line); }

.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 4.5vw, 72px); }
.head--center { justify-items: center; text-align: center; }
.head--center .h2 { max-width: 16ch; }
.head--center .lead { max-width: 30em; }
.head--module .h2 { max-width: 22ch; }
.head--module .lead { max-width: 36em; }
@media (min-width: 960px) {
  .head--split { grid-template-columns: 7fr 5fr; align-items: end; gap: var(--gap); }
  .head--split .lead { padding-bottom: 6px; }
}
.head--split > div { display: grid; gap: 18px; justify-items: start; }

.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--r-md);
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(2px); }
.btn--sm { --h: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--petrol); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(14, 30, 37, 0.18), 0 4px 12px -4px rgba(46, 98, 117, 0.5);
}
.btn--primary:hover { background: var(--petrol-hover); color: #fff; }
.btn--ghost, .btn--secondary {
  background: var(--surface); color: var(--ink); border-color: var(--line-2);
  box-shadow: 0 1px 2px rgba(14, 30, 37, 0.05);
}
.btn--ghost:hover, .btn--secondary:hover { border-color: var(--line-3); color: var(--ink); }
@media (max-width: 959px) { .btn--sm { --h: 44px; } }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border-radius: var(--r-pill);
  background: #eef2f3; color: #445259;
  font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.01em; line-height: 1.5; white-space: nowrap;
  vertical-align: middle;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #9aa7ad; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--petrol-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e6275' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 7 10 16l-4-4'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks--sm li { font-size: 15px; color: var(--ink-2); }

/* Kennzeichnung schematischer Darstellungen */
.tag-schema, .typo__tag, .tile__tag {
  font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- 4 Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: transparent;
  transition: background-color .25s, box-shadow .25s;
}
.hdr.is-scrolled, .hdr--solid, .no-js .hdr { background: rgba(250, 251, 251, 0.97); box-shadow: 0 1px 0 var(--line); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hdr.is-scrolled, .hdr--solid {
    background: rgba(250, 251, 251, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  }
  .hdr.is-dark { background: rgba(15, 42, 51, 0.8); }
}
.hdr.is-dark { background: rgba(15, 42, 51, 0.96); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.hdr.is-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: none; border-radius: 6px; }
.brand img { height: 36px; width: auto; }
.brand__dark { display: none; }
.hdr.is-dark .brand img { display: none; }
.hdr.is-dark .brand .brand__dark { display: block; }
.nav { margin-inline: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  position: relative; display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(14, 30, 37, 0.04); }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--petrol-brand); }
.hdr.is-dark .nav a { color: rgba(255, 255, 255, 0.78); }
.hdr.is-dark .nav a:hover, .hdr.is-dark .nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.hdr.is-dark .nav a[aria-current]::after { background: var(--lime); }
.hdr__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .hdr__actions { margin-left: 0; }
.hdr__home { color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.hdr__home:hover { color: var(--ink); background: rgba(14, 30, 37, 0.04); }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); color: var(--ink);
}
.hdr.is-dark .menu-btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.24); }
.menu-btn .ic--close { display: none; }
.menu-btn[aria-expanded="true"] .ic--open { display: none; }
.menu-btn[aria-expanded="true"] .ic--close { display: block; }
.mmenu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; overflow-y: auto;
  background: #fff; padding: 16px 0 40px;
}
.mmenu__list { margin-bottom: 24px; }
.mmenu__list a {
  display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 22px; font-weight: 500; letter-spacing: -0.015em; text-decoration: none;
}
.mmenu__list a:focus-visible { outline-offset: -2px; border-radius: var(--r-sm); }
.is-locked { overflow: hidden; }
@media (max-width: 959px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .nav + .hdr__actions { margin-left: auto; }
}
@media (min-width: 960px) { .mmenu { display: none !important; } }
@media (max-width: 380px) { .hdr__in { gap: 12px; } .hdr .btn--sm { padding: 0 12px; } .brand img { height: 30px; } }

/* ---------- 5 Hero ---------- */
.hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(56px, 7vw, 104px)); overflow-x: clip; }
.hero__bg { position: absolute; inset: 0 0 auto 0; height: min(1400px, 100%); pointer-events: none; z-index: -1; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; background-position: center -1px;
  -webkit-mask-image: radial-gradient(ellipse 60% 48% at 50% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 60% 48% at 50% 0%, #000 20%, transparent 78%);
}
.hero__bg::after {
  content: ""; position: absolute; left: 50%; top: 520px; width: min(1500px, 140vw); height: 820px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(67, 122, 143, 0.16), rgba(67, 122, 143, 0.05) 55%, transparent);
}
.hero__head { display: grid; justify-items: center; text-align: center; }
.hero__head .display { margin-top: 24px; max-width: 12.5ch; }
.hero__sub { margin-top: 28px; max-width: 46em; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--ink-2); text-wrap: balance; }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.stage { position: relative; max-width: 1240px; margin: clamp(56px, 6vw, 88px) auto 0; }
.stage__tilt { position: relative; display: flow-root; transform-origin: 50% 100%; container-type: inline-size; }
.js .stage__tilt { transform: perspective(2400px) rotateX(calc(var(--tilt, 0) * 12deg)) translateY(calc(var(--tilt, 0) * -8px)); will-change: transform; }
.win-mask { margin: -64px -96px 0; padding: 64px 96px 0; -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 97%); mask-image: linear-gradient(to bottom, #000 58%, transparent 97%); }
.win { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-hero); }
.win__bar { position: relative; display: flex; align-items: center; height: 40px; padding: 0 16px; background: #fbfbfc; border-bottom: 1px solid rgba(14, 30, 37, 0.07); }
.win__dots { display: flex; gap: 7px; }
.win__dots i { width: 11px; height: 11px; border-radius: 50%; background: #e1e5e8; }
.win__title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 12.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.01em; white-space: nowrap; }
.win__body img { width: 100%; }
.float { position: absolute; z-index: 4; overflow: hidden; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-float); }
.float img { width: 100%; }
/* Die Karte liegt genau über der vierten Kennzahl („Übertragen“, R-06) und schneidet keine andere an. */
.float--card { width: 24cqw; left: 78.3cqw; top: calc(40px + 1.4cqw); background: #f5f5f9; }
.float--action { width: min(332px, 40cqw); left: max(-3.5%, calc((100% - 100vw) / 2 + 16px)); top: 71%; padding: 8px; border-radius: var(--r-lg); }
.stage__cap { position: relative; z-index: 5; margin-top: -24px; text-align: center; font-size: var(--fs-caption); color: var(--ink-3); }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: 40px; padding-bottom: clamp(56px, 6vw, 96px); }
.facts li { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.facts__dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--petrol-brand); box-shadow: 0 0 0 4px var(--petrol-soft); }

@media (min-width: 768px) and (max-width: 1199px) {
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .facts li { align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
  .facts__dot { margin-top: 6px; }
}
/* Mobil: eigener, schmaler Ausschnitt in Originalgröße statt verkleinertem Desktop-Bild */
@media (max-width: 639px) {
  .hero .eyebrow::before { display: none; }
  .hero__cta .btn { flex: 1 1 220px; }
  .stage { max-width: 300px; }
  .js .stage__tilt { transform: none; }
  .win-mask { margin: -24px -24px 0; padding: 24px 24px 0; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 99%); mask-image: linear-gradient(to bottom, #000 72%, transparent 99%); }
  .win { border-radius: var(--r-md); }
  .float--card { display: none; }
  .float--action { width: min(300px, calc(100vw - 40px)); left: auto; right: -20px; top: auto; bottom: 18%; padding: 6px; border-radius: var(--r-md); }
  .stage__cap { margin-top: -8px; }
  .facts { justify-content: flex-start; flex-direction: column; gap: 10px; }
}

/* ---------- 6 Ablauf (Petrol-Nacht als eingesetzte Fläche) ---------- */
.night {
  --inset: clamp(8px, 1.5vw, 24px);
  margin-inline: var(--inset); border-radius: clamp(20px, 2.5vw, 32px);
  background: var(--night); color: var(--on-night); overflow: clip; isolation: isolate;
}
.night::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.04); }
.night .lead { color: var(--on-night-2); }
.night__glow { position: absolute; z-index: -1; left: 50%; top: -340px; width: min(1400px, 160%); height: 900px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(67, 122, 143, 0.38), rgba(67, 122, 143, 0.08) 60%, transparent); pointer-events: none; }
.night::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: 0.35;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 40%); mask-image: linear-gradient(to bottom, #000, transparent 40%);
}

.story { display: grid; gap: 40px; }
.step { position: relative; padding: 24px 0; border-top: 1px solid var(--night-line); }
.step__no { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--lime); font-variant-numeric: tabular-nums; }
.step__t { margin-top: 10px; font-size: clamp(1.375rem, 1.15rem + 1vw, 2.125rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
.step p { margin-top: 10px; max-width: 30em; color: var(--on-night-2); font-size: 16.5px; line-height: 1.55; }

/* Bühne – gestapelt (Standard): alle Ebenen sichtbar */
.story__stage { position: relative; margin: 0; width: 100%; max-width: 800px; margin-inline: auto; order: -1; }
.inputs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.inputs li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); font-size: 14px; font-weight: 500; color: #fff; }
.inputs .ic { width: 16px; height: 16px; color: var(--lime); }
.story__canvas { position: relative; padding-bottom: 28px; }
.doc { position: relative; width: 78%; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-night); transform-origin: 30% 50%; }
.doc img { width: 100%; border-radius: inherit; }
.doc__marks { position: absolute; inset: 0; }
.mark { position: absolute; left: 8.7%; border-radius: 6px; box-shadow: 0 0 0 2px var(--lime), 0 0 0 6px rgba(199, 212, 1, 0.22); background: rgba(199, 212, 1, 0.08); }
.mark span { position: absolute; left: -2px; bottom: calc(100% + 6px); padding: 3px 8px; border-radius: 6px; background: var(--night); color: #fff; font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.mark--lief { top: 7.9%; width: 30.2%; height: 4.6%; }
.mark--nr { top: 37.6%; width: 37.6%; height: 4.6%; }
.mark--dat { top: 43.75%; width: 63.3%; height: 3.8%; }
.mark--dat span { left: auto; right: -2px; }
.mark--sum { top: 66.1%; width: 53.3%; height: 9.9%; }
.mark--sum span { bottom: auto; top: calc(100% + 6px); }
/* Ab Tablet: Beschriftungen rechts neben der Markierung – verdecken keinen Belegtext */
@media (min-width: 640px) {
  .mark span, .mark--dat span, .mark--sum span { left: calc(100% + 10px); right: auto; top: 50%; bottom: auto; transform: translateY(-50%); }
}

.story__card, .story__action { position: absolute; z-index: 2; overflow: hidden; border-radius: var(--r-md); background: #fff; box-shadow: var(--sh-night); }
.story__card { width: 56%; right: 0; top: 3%; }
.story__card img { width: 100%; }
.story__action { left: 4%; bottom: 0; width: min(332px, 54%); padding: 8px; border-radius: var(--r-lg); }
.story__action img { width: 100%; }

/* Schematische Ebenen: Vorschlag (Schritt 3) und Übergabe (Schritt 4) */
.proposal { position: absolute; z-index: 2; right: 0; top: 42%; width: 34%; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(15, 42, 51, 0.92); box-shadow: inset 0 0 0 1px rgba(199, 212, 1, 0.45), 0 24px 48px -16px rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.proposal__h { font-size: var(--fs-tag); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.proposal ul { display: grid; gap: 0; margin-top: 10px; }
.proposal li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--night-line); font-size: 15px; font-weight: 500; color: #fff; }
.proposal li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(199, 212, 1, 0.2); }
.proposal__f { margin-top: 8px; font-size: 13px; color: var(--on-night-2); }
.handoff { position: absolute; z-index: 3; right: 0; bottom: 6px; display: grid; justify-items: end; gap: 8px; }
.handoff__pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; box-shadow: 0 0 0 6px rgba(199, 212, 1, 0.18), 0 16px 32px -12px rgba(0, 0, 0, 0.5); border-radius: var(--r-pill); background: var(--lime); color: var(--night); font-size: 15px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.handoff__pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--night); }
.handoff__alt { padding: 6px 12px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24); font-size: 13px; color: var(--on-night-2); white-space: nowrap; }
.story__cap { margin-top: 20px; font-size: var(--fs-caption); color: var(--on-night-2); }

@media (min-width: 640px) {
  .story__steps { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  /* Gesamtansicht ohne klebende Bühne: Beleg links, Karte/Vorschlag/Übergabe rechts – nichts überlagert sich */
  .story:not([data-js]) .story__canvas { display: grid; grid-template-columns: 60% 1fr; gap: 16px 24px; align-items: start; }
  .story:not([data-js]) .doc { width: auto; grid-row: 1 / span 3; }
  .story:not([data-js]) .story__card, .story:not([data-js]) .proposal, .story:not([data-js]) .handoff { position: static; width: auto; grid-column: 2; }
  .story:not([data-js]) .handoff { justify-items: start; }
}
@media (min-width: 1024px) {
  .story__steps { grid-template-columns: repeat(4, 1fr); }
}
/* Mobil: Ebenen untereinander statt überlagert */
@media (max-width: 639px) {
  .story__canvas { display: flex; flex-direction: column; gap: 12px; padding-bottom: 0; }
  .doc { width: 100%; }
  .story__card, .story__action, .proposal, .handoff { position: static; }
  .story__card { width: auto; max-width: 436px; }
  .story__action { align-self: flex-start; width: auto; max-width: 100%; padding: 6px; }
  .story__action img { width: auto; }
  .proposal { width: auto; padding: 14px 16px; }
  .proposal ul { display: flex; flex-wrap: wrap; gap: 6px 16px; }
  .proposal li { border-top: 0; padding: 4px 0; }
  .handoff { justify-items: start; }
  /* Marken für den Mobil-Zuschnitt (480 × 440); Beschriftungen würden hier Belegtext verdecken */
  .mark { left: 3.5%; }
  .mark span { display: none; }
  .mark--lief { top: 3.2%; width: 42.5%; height: 6.4%; }
  .mark--lief span { bottom: auto; top: calc(100% + 6px); }
  .mark--nr { top: 44.3%; width: 52.5%; height: 6.4%; }
  .mark--dat { top: 52.7%; width: 89.2%; height: 5.2%; }
  .mark--dat span { bottom: auto; top: calc(100% + 6px); }
  .mark--sum { top: 83.6%; width: 75%; height: 13.6%; }
  .mark--sum span { top: auto; bottom: calc(100% + 6px); }
}

/* Desktop mit genug Höhe: Schritte links, Bühne rechts klebend (nur mit JS und ohne reduzierte Bewegung) */
@media (min-width: 1024px) and (min-height: 700px) {
  .js .story[data-js] { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .js .story[data-js] .story__steps { display: block; padding-block: 4vh 16vh; }
  .js .story[data-js] .story__stage { order: 0; position: sticky; top: calc(var(--header-h) + 3vh); max-width: none; }
  .js .story[data-js] .story__canvas { width: min(100%, calc((100vh - var(--header-h) - 240px) * 1.3)); }
  .js .story[data-js] .step { min-height: 30vh; display: flex; flex-direction: column; justify-content: center; border-top: 0; padding: 0 0 0 28px; }
  .js .story[data-js] .step::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 2px; border-radius: 2px; background: var(--night-line); transition: background-color .4s; }
  .js .story[data-js] .step__t, .js .story[data-js] .step p, .js .story[data-js] .step__no { transition: color .5s var(--ease); }
  .js .story[data-js] .step:not(.is-active) .step__t { color: rgba(255, 255, 255, 0.55); }
  .js .story[data-js] .step:not(.is-active) p { color: rgba(255, 255, 255, 0.58); }
  .js .story[data-js] .step:not(.is-active) .step__no { color: rgba(199, 212, 1, 0.8); }
  .js .story[data-js] .step.is-active::before { background: var(--lime); }
  /* Ebenen je Schritt */
  .js .story[data-js] .inputs, .js .story[data-js] .doc, .js .story[data-js] .doc__marks, .js .story[data-js] .story__card,
  .js .story[data-js] .story__action, .js .story[data-js] .proposal, .js .story[data-js] .handoff { transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
  .js .story[data-js] .inputs, .js .story[data-js] .doc__marks, .js .story[data-js] .story__card,
  .js .story[data-js] .story__action, .js .story[data-js] .proposal, .js .story[data-js] .handoff { opacity: 0; transform: translateY(10px); pointer-events: none; }
  .js .story__stage[data-active="1"] .inputs,
  .js .story__stage[data-active="2"] .doc__marks,
  .js .story__stage[data-active="2"] .story__card,
  .js .story__stage[data-active="3"] .story__card,
  .js .story__stage[data-active="3"] .proposal,
  .js .story__stage[data-active="3"] .story__action,
  .js .story__stage[data-active="4"] .story__action,
  .js .story__stage[data-active="4"] .handoff { opacity: 1; transform: none; }
  .js .story__stage[data-active="3"] .story__action { box-shadow: 0 0 0 2px var(--lime), 0 0 0 8px rgba(199, 212, 1, 0.18), 0 24px 48px -12px rgba(0, 0, 0, 0.55); }
  .js .story__stage[data-active="4"] .doc { opacity: 0.4; transform: scale(0.97); }
}

.promise {
  position: relative; max-width: 20ch; margin: clamp(56px, 6vw, 88px) auto 0; text-align: center;
  font-size: var(--fs-h2-sub); font-weight: 600; line-height: 1.12; letter-spacing: -0.028em; text-wrap: balance;
}
.promise__mark { display: block; width: 48px; height: 3px; margin: 0 auto 28px; border-radius: 2px; background: var(--lime); }

/* ---------- 7 Module (Tabs) ---------- */
.seg-wrap { display: flex; justify-content: center; }
.seg {
  --fl: 0px; --fr: 0px;
  display: flex; gap: 4px; max-width: 100%; padding: 5px;
  border-radius: var(--r-lg); background: rgba(14, 30, 37, 0.05); box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
}
.seg.has-more-left { --fl: 40px; }
.seg.has-more-right { --fr: 56px; }
.seg::-webkit-scrollbar { display: none; }
.seg [role="tab"] {
  position: relative; flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: var(--r-md); background: transparent; color: var(--ink-2);
  font-size: 15px; font-weight: 500; white-space: nowrap; scroll-snap-align: center;
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.seg [role="tab"]:hover { color: var(--ink); background: rgba(14, 30, 37, 0.05); }
/* Aktiver Reiter: dunkle Fläche, kräftige Schrift – nicht nur über die Hintergrundhelligkeit erkennbar */
.seg [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; font-weight: 600; box-shadow: 0 1px 2px rgba(14, 30, 37, 0.2), 0 4px 10px -4px rgba(14, 30, 37, 0.35); }
.seg [role="tab"]:focus-visible { outline-offset: 2px; }
.seg__dev { flex: none; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: #8a979e; }
.seg [aria-selected="true"] .seg__dev { background: var(--lime); }
@media (max-width: 959px) {
  .seg-wrap { justify-content: flex-start; margin-inline: calc(-1 * var(--gutter)); }
  .seg { border-radius: 0; background: transparent; box-shadow: none; gap: 6px; padding: 5px var(--gutter); }
  .seg [role="tab"] { background: rgba(14, 30, 37, 0.05); }
}

.panel { margin-top: clamp(36px, 4vw, 52px); }
.panel:focus-visible { outline-offset: 8px; border-radius: var(--r-lg); }
.panel__name { display: none; }
.panel__text { display: grid; gap: 16px 48px; margin-bottom: 36px; }
.panel__text > p { color: var(--ink-2); font-size: 17.5px; line-height: 1.55; max-width: 34em; }
.panel__text .h3 { max-width: 24ch; }
.panel__text > .panel__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 960px) {
  .panel__text { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto 1fr; }
  .panel__text .h3 { grid-column: 1; grid-row: 1; }
  .panel__text > p { grid-column: 1; grid-row: 2; }
  .panel__text .ticks { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
  .panel__text .panel__note { grid-column: 1; grid-row: 3; }
}
.panel__media { position: relative; }
.shot, .typo { position: relative; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-frame); }
/* Aufnahmen in Originalgröße (höchstens 100 %), Rahmenhöhe folgt dem Bild – keine Leerflächen */
.shot { display: flex; justify-content: center; padding: clamp(14px, 2.4vw, 28px); background: #f5f5f9; }
.shot img { width: auto; max-width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(14, 30, 37, 0.06), 0 8px 24px -12px rgba(14, 30, 37, 0.18); }
.shot__cap { margin-top: 14px; font-size: var(--fs-caption); color: var(--ink-3); }

.typo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 76px clamp(20px, 6vw, 88px) 48px;
  background: #fff radial-gradient(rgba(14, 30, 37, 0.085) 1px, transparent 1px) 0 0 / 22px 22px;
}
.typo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 50% 50%, #fff 30%, rgba(255, 255, 255, 0.4)); pointer-events: none; }
.typo > * { position: relative; }
.typo > :not(.typo__tag) { width: min(100%, var(--w, 900px)); }
.typo--cascade { --w: 760px; }
.typo--query { --w: 1000px; }
.typo--jobs { --w: 860px; }
.typo__tag { position: absolute; top: 24px; left: 28px; display: inline-flex; align-items: center; gap: 8px; }
.typo__tag::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.typo__foot { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14.5px; color: var(--ink-2); }
.typo__foot .ic { color: var(--petrol); }

.cascade { display: grid; }
.cascade li { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; min-height: 72px; border-top: 1px solid var(--line-2); }
.cascade li:last-child { border-bottom: 1px solid var(--line-2); }
.cascade__no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--petrol-soft); color: var(--petrol); font-weight: 600; font-variant-numeric: tabular-nums; }
.cascade__t { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.cascade__rest .cascade__no { background: var(--night); color: var(--lime); }
.cascade__rest .cascade__no .ic { width: 18px; height: 18px; }
.cascade__rest .cascade__t { color: var(--ink-2); }

.query { max-width: none; font-size: clamp(1.25rem, 1rem + 1.1vw, 2rem); font-weight: 500; line-height: 1.6; letter-spacing: -0.02em; color: var(--ink); }
.query__f { display: inline-block; padding: 0 12px; line-height: 1.5; border-radius: 10px; background: var(--petrol-soft); color: var(--petrol); font-weight: 600; }
.verbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.verbs li { padding: 10px 16px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.verbs li.is-hl { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 4px 12px -4px rgba(14, 30, 37, 0.2); }
.verbs li.is-hl::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(199, 212, 1, 0.25); vertical-align: 2px; }

.jobs { display: grid; counter-reset: job; }
@media (min-width: 720px) { .jobs { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.jobs li { counter-increment: job; display: flex; align-items: baseline; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); font-weight: 500; letter-spacing: -0.015em; }
.jobs li::before { content: counter(job, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

.js .panel.is-entering { animation: panel-in .5s var(--ease) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .shot { padding: 12px; border-radius: var(--r-lg); }
  .typo { padding: 60px 20px 28px; border-radius: var(--r-lg); }
  .typo__tag { left: 20px; top: 20px; }
}

/* ---------- 8 Plattform (Orbit) ---------- */
.orbit-sec { display: grid; gap: 40px; align-items: center; }
.orbit-sec__text { display: grid; gap: 20px; justify-items: start; align-content: center; }
.orbit-info { margin-top: 12px; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); width: 100%; max-width: 30em; min-height: 128px; }
.orbit-info__t { font-size: 15px; font-weight: 600; color: var(--ink); }
.orbit-info__d { margin-top: 6px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.orbit-more { font-size: 14.5px; color: var(--ink-3); max-width: 30em; }

.orbit-wrap { display: none; }
.orbit { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.orbit__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { fill: none; stroke: rgba(14, 30, 37, 0.1); stroke-width: 1; }
.orbit__ring--in { stroke-dasharray: 2 6; stroke: rgba(14, 30, 37, 0.14); }
.e { fill: none; stroke: var(--petrol-brand); stroke-width: 1.5; stroke-opacity: 0.32; stroke-linecap: round; transition: stroke-opacity .3s, stroke-width .3s, stroke .3s; }
.e--arc { stroke-opacity: 0.5; }
.orbit[data-active] .e { stroke-opacity: 0.1; }
.orbit[data-active] .e.is-on { stroke: var(--petrol); stroke-opacity: 1; stroke-width: 2.5; }

.node {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 10px; padding: 6px;
  border: 0; background: none; color: var(--ink); font-size: 14.5px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: opacity .3s;
}
.node i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px var(--petrol-brand); transition: transform .3s var(--ease), background-color .3s; }
.node span { padding: 7px 12px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--sh-1); transition: background-color .25s, color .25s, box-shadow .25s; }
.node em { display: block; margin-top: 2px; font-style: normal; font-size: var(--fs-tag); font-weight: 500; color: var(--ink-3); }
.node--ext span { background: transparent; box-shadow: inset 0 0 0 1px var(--line-3); color: var(--ink-2); }
.node--ext i { box-shadow: inset 0 0 0 2px #9aa7ad; }
.node:focus-visible { outline: none; }
.orbit .node:focus-visible span { outline: 2px solid var(--petrol); outline-offset: 3px; }
/* Punkt liegt exakt auf dem Ring: Versatz = Innenabstand 6 + Radius 7 */
.n1, .n2, .n3, .n4 { transform: translate(-13px, -50%); }
.n6, .n7, .n8, .n9 { flex-direction: row-reverse; transform: translate(calc(-100% + 13px), -50%); }
.n0 { flex-direction: column-reverse; transform: translate(-50%, calc(-100% + 13px)); }
.n5 { flex-direction: column; transform: translate(-50%, -13px); }
.n0 { left: 50%; top: 12.5%; }
.n1 { left: 72.05%; top: 19.66%; }
.n2 { left: 85.67%; top: 38.4%; }
.n3 { left: 85.67%; top: 61.6%; }
.n4 { left: 72.05%; top: 80.34%; }
.n5 { left: 50%; top: 87.5%; }
.n6 { left: 27.95%; top: 80.34%; }
.n7 { left: 14.33%; top: 61.6%; }
.n8 { left: 14.33%; top: 38.4%; }
.n9 { left: 27.95%; top: 19.66%; }
.n9 span { text-align: right; }
.node--core {
  left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 23%; aspect-ratio: 1; padding: 0; justify-content: center; border-radius: 50%;
  background: var(--night); color: #fff; font-size: 14.5px; font-weight: 600; text-align: center; white-space: normal;
  box-shadow: 0 0 0 8px rgba(15, 42, 51, 0.06), 0 0 0 1px rgba(15, 42, 51, 0.2), 0 20px 40px -12px rgba(15, 42, 51, 0.5);
}
.node--core span { padding: 0; background: none; box-shadow: none; line-height: 1.3; }
.node--core::after { content: ""; position: absolute; top: 18%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--lime); }
.orbit .node--core:focus-visible { box-shadow: 0 0 0 3px var(--tint), 0 0 0 5px var(--petrol), 0 20px 40px -12px rgba(15, 42, 51, 0.5); }
.orbit .node--core:focus-visible span { outline: none; }
.orbit[data-active] .node { opacity: 0.6; }
.orbit[data-active] .node.is-on, .orbit[data-active] .node.is-rel { opacity: 1; }
.orbit .node.is-on:not(.node--core) span { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink), var(--sh-2); }
.orbit .node.is-on:not(.node--core) em { color: rgba(255, 255, 255, 0.75); }
.orbit .node.is-on i, .orbit .node.is-rel i { background: var(--lime); box-shadow: inset 0 0 0 2.5px var(--petrol); transform: scale(1.15); }
.orbit__legend { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 8px; margin-top: 16px; font-size: 12.5px; color: var(--ink-3); }
.orbit__schema { flex-basis: 100%; text-align: center; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.lg--int { box-shadow: inset 0 0 0 2px var(--petrol-brand); }
.lg--ext { margin-left: 12px; box-shadow: inset 0 0 0 2px #9aa7ad; }

/* Unter 1180 px: Verbindungen als Liste (Orbit hätte zu wenig Platz) */
.links-list { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); }
.links-list__h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.links-list__h span { font-size: var(--fs-tag); color: var(--ink-3); }
.links-list ul { display: grid; column-gap: 32px; }
@media (min-width: 640px) { .links-list ul { grid-template-columns: 1fr 1fr; } }
.links-list li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.links-list strong { color: var(--ink); font-weight: 600; }
@media (min-width: 1180px) {
  .orbit-sec { grid-template-columns: 5fr 7fr; gap: 32px; }
  .js .orbit-wrap { display: block; }
  .js .links-list { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 1179px) { .orbit-info { display: none; } }

/* ---------- 9 Bento ---------- */
.bento { display: grid; gap: 16px; }
@media (min-width: 960px) {
  .bento { grid-template-columns: repeat(12, 1fr); gap: 20px; }
  .tile--a { grid-column: span 7; }
  .tile--b { grid-column: span 5; }
  .tile--d { grid-column: span 5; }
  .tile--e { grid-column: span 7; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--a, .tile--b { grid-column: 1 / -1; }
}
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow: hidden;
  min-height: 300px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-xl); background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--sh-1);
}
.tile--a, .tile--b { min-height: 380px; }
@media (max-width: 639px) { .tile, .tile--a, .tile--b { min-height: 0; } }
.tile__text { display: grid; gap: 10px; max-width: 30em; }
.tile__t { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; }
.tile__text p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.tile--dark { background: var(--night); color: #fff; box-shadow: 0 0 0 1px rgba(15, 42, 51, 0.4), 0 24px 48px -24px rgba(15, 42, 51, 0.5); }
.tile--dark .tile__text p { color: var(--on-night-2); }

.tile__panel { padding: 24px 28px 28px; border-radius: var(--r-lg); background: var(--tint); }
.tile__tag { margin-bottom: 4px; }
.eyes { display: grid; gap: 16px; }
.eyes__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.eyes__p { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: var(--r-pill); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-1); font-size: 15.5px; font-weight: 500; }
.eyes__av { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-2); font-weight: 600; font-size: 14px; color: var(--petrol); }
.eyes__p--ok { background: var(--night); color: #fff; }
.eyes__p--ok .eyes__av { background: var(--lime); color: var(--night); box-shadow: none; }
.eyes__p--ok .ic { color: var(--lime); width: 18px; height: 18px; }
.eyes__line { flex: 1 1 40px; max-width: 120px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-3) 0 6px, transparent 6px 10px); }
.eyes__row--no .eyes__p { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-3); text-decoration: line-through; text-decoration-color: rgba(14, 30, 37, 0.35); }
.eyes__no { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--error); }
.eyes__no .ic { width: 18px; height: 18px; }
@media (max-width: 479px) { .eyes__line { display: none; } }

.rings { position: relative; height: 220px; margin: 0 -8px -8px; }
.rings__c { position: absolute; left: 50%; top: calc(210px - var(--r)); width: calc(2 * var(--r)); height: calc(2 * var(--r)); border-radius: 50%; transform: translateX(-50%); }
.rings__c--3 { --r: 190px; border: 1px dashed rgba(255, 255, 255, 0.28); }
.rings__c--3 em { position: absolute; left: 50%; top: -11px; padding: 2px 10px; transform: translateX(-50%); background: var(--night); font-style: normal; font-size: 12.5px; letter-spacing: 0.04em; color: var(--on-night-2); white-space: nowrap; }
.rings__c--2 { --r: 128px; border: 1px solid rgba(255, 255, 255, 0.14); background: radial-gradient(closest-side, rgba(67, 122, 143, 0.35), transparent); }
.rings__c--1 { --r: 68px; display: flex; align-items: center; justify-content: center; background: radial-gradient(closest-side, rgba(199, 212, 1, 0.28), rgba(199, 212, 1, 0.06)); box-shadow: inset 0 0 0 1px rgba(199, 212, 1, 0.55); }
.rings__c--1 b { font-size: 18px; font-weight: 600; letter-spacing: 0.02em; color: #fff; }
.rings__c--1::before { content: ""; position: absolute; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(199, 212, 1, 0.2); }

.qr-card { align-self: flex-start; display: grid; justify-items: center; gap: 12px; padding: 22px 22px 16px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line-2), var(--sh-2); border-top: 4px solid var(--lime); transform: rotate(-2deg); }
.qr { width: 104px; height: 104px; fill: var(--ink); }
.qr-card span { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }

.qa { display: grid; gap: 12px; }
.qa__q { justify-self: end; max-width: 90%; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: var(--night); color: #fff; font-size: 15px; font-weight: 500; }
.qa__src { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.qa__src > span:first-of-type { min-width: 0; }
.qa__src > .ic { width: 18px; height: 18px; color: var(--petrol); }
.qa__open { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--petrol); font-weight: 600; white-space: nowrap; }
.qa__open .ic { width: 16px; height: 16px; }

/* ---------- 10 Für wen ---------- */
.roles { display: grid; gap: 20px; }
@media (min-width: 960px) { .roles { grid-template-columns: repeat(3, 1fr); } }
.role { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-2); }
.role__media { position: relative; height: 172px; overflow: hidden; background: #f5f5f9; border-bottom: 1px solid var(--line); }
.role__media img { position: absolute; max-width: none; border-radius: 8px; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -10px rgba(14, 30, 37, 0.25); }
/* Kopfleiste zweimal: dieselbe Auswahl mit zwei Gesellschaften, links ausgeblendet */
.role__media--kontext img { right: 16px; -webkit-mask-image: linear-gradient(90deg, transparent 36%, #000 56%); mask-image: linear-gradient(90deg, transparent 36%, #000 56%); }
.role__media--kontext img:first-child { top: 40px; }
.role__media--kontext img:last-child { top: 96px; right: 40px; }
.role__media--kpi img { left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: 0 10px 24px -10px rgba(14, 30, 37, 0.25); }
.role__media--plan img { left: 24px; top: 28px; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.role__body { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 2.4vw, 30px); }
.role__t { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; text-wrap: balance; }
.role__body > p:not(.role__note) { font-size: 16px; color: var(--ink-2); line-height: 1.5; margin-bottom: 4px; }
.role__note { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
@media (min-width: 640px) and (max-width: 959px) {
  .role { display: grid; grid-template-columns: minmax(240px, 40%) 1fr; }
  .role__media { height: auto; min-height: 200px; border-bottom: 0; border-right: 1px solid var(--line); }
}
@media (max-width: 959px) {
  .role__media--kontext img { right: auto; left: -290px; -webkit-mask-image: none; mask-image: none; }
  .role__media--kontext img:last-child { left: -266px; }
}
@media (max-width: 639px) {
  .role__media { height: 150px; }
  .role__media--kontext img:first-child { top: 30px; }
  .role__media--kontext img:last-child { top: 84px; }
}

/* ---------- 11 Sicherheit (zweite Nacht-Fläche) ---------- */
.night--secure { margin-top: var(--inset); }
.chain { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px var(--night-line); }
.chain__h { font-size: 15.5px; font-weight: 500; color: var(--on-night-2); margin-bottom: 28px; }
.chain__list { display: grid; gap: 16px; }
.chain__list li { position: relative; display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 500; line-height: 1.35; color: #fff; }
.chain__list .ic { box-sizing: content-box; width: 20px; height: 20px; padding: 12px; border-radius: 50%; background: var(--night-2); color: var(--lime); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
@media (min-width: 640px) and (max-width: 959px) { .chain__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .chain__list { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .chain__list li { flex-direction: column; align-items: flex-start; gap: 16px; }
  .chain__list li::after { content: ""; position: absolute; top: 22px; left: 54px; right: -12px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 4px, transparent 4px 8px); }
  .chain__list li:last-child::after { display: none; }
  .chain__list li:last-child .ic { background: var(--lime); color: var(--night); box-shadow: none; }
}
.principles { display: grid; gap: 32px; margin-top: clamp(40px, 4.5vw, 64px); }
@media (min-width: 640px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .principles { grid-template-columns: repeat(4, 1fr); gap: var(--gap); } }
.principles li { display: grid; gap: 10px; align-content: start; padding-top: 20px; border-top: 1px solid var(--night-line); }
.principles .ic { width: 24px; height: 24px; color: var(--lime); margin-bottom: 4px; }
.principles h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.principles p { font-size: 15px; line-height: 1.55; color: var(--on-night-2); }
.aside-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 40px; font-size: 14.5px; color: var(--on-night-2); }
.aside-note .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--lime); }

/* ---------- 12 Über CURALYS + Roadmap ---------- */
.about { display: grid; gap: 48px; }
@media (min-width: 1024px) { .about { grid-template-columns: 7fr 5fr; gap: clamp(48px, 7vw, 112px); align-items: center; } }
.about__main { display: grid; gap: 22px; justify-items: start; }
.h2--statement { font-size: var(--fs-statement); font-weight: 500; line-height: 1.12; letter-spacing: -0.028em; max-width: 20ch; hyphens: manual; }
.about__body { max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.about__by { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.about__stand { font-size: 13px; color: var(--ink-3); }
.roadmap { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--tint); }
.roadmap__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; }
.roadmap .badge { background: #fff; }
.roadmap__list { position: relative; }
.roadmap__list li { position: relative; display: flex; justify-content: space-between; gap: 16px; padding: 11px 0 11px 22px; font-size: 14.5px; }
.roadmap__list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--petrol-brand); }
.roadmap__list li::after { content: ""; position: absolute; left: 3.5px; top: 30px; bottom: -14px; width: 1px; background: var(--line-3); }
.roadmap__list li:last-child::after { display: none; }
.roadmap__list strong { font-weight: 600; color: var(--ink); white-space: nowrap; }
.roadmap__list span { color: var(--ink-3); text-align: right; }
.roadmap__note { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); }
@media (max-width: 479px) { .roadmap__list li { flex-direction: column; gap: 2px; } .roadmap__list span { text-align: left; } }

/* ---------- 13 FAQ ---------- */
.faq { display: grid; gap: 36px; }
@media (min-width: 1024px) {
  .faq { grid-template-columns: 4fr 8fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__head { display: grid; gap: 18px; justify-items: start; }
.faq__lead { font-size: 16px; color: var(--ink-2); }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc details:first-child { border-top: 1px solid var(--line-2); }
.acc summary {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 68px; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 500; letter-spacing: -0.012em; line-height: 1.35;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--petrol); }
.acc summary:focus-visible { outline-offset: 2px; }
.acc__ic { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, transform .35s var(--ease); }
.acc__ic::before, .acc__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.75px; margin: -0.875px 0 0 -6px; border-radius: 1px; background: var(--ink); }
.acc__ic::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.acc details[open] .acc__ic { background: var(--ink); transform: rotate(180deg); }
.acc details[open] .acc__ic::before, .acc details[open] .acc__ic::after { background: #fff; }
.acc details[open] .acc__ic::after { transform: rotate(0deg); }
.acc details p { max-width: 40em; padding: 0 56px 26px 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }

/* ---------- 14 Demo / Formular ---------- */
.demo-sec { overflow: clip; isolation: isolate; background: var(--tint); }
.demo-sec__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.demo-sec__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(14, 30, 37, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(14, 30, 37, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 15% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 50% 60% at 15% 30%, #000, transparent 75%);
}
.demo { display: grid; gap: 48px; }
@media (min-width: 1024px) { .demo { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 96px); align-items: start; } .demo__intro { position: sticky; top: calc(var(--header-h) + 40px); } }
.demo__intro { display: grid; gap: 22px; justify-items: start; }
.next { display: grid; gap: 12px; margin-top: 12px; counter-reset: n; }
.next li { counter-increment: n; position: relative; padding-left: 40px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.next li::before { content: counter(n); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--petrol); }
.demo__direct { font-size: 15px; color: var(--ink-2); line-height: 1.9; }
.demo__card { padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: #fff; box-shadow: 0 0 0 1px var(--line), var(--sh-3); }

.form { display: grid; gap: 20px; }
.form__req { font-size: 13px; color: var(--ink-3); }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .fieldset legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--error); }
/* Feldrand 3,75:1 (WCAG 1.4.11) */
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #78868d; border-radius: 10px;
  background: #fff; font-size: 16px; line-height: 1.4; transition: border-color .2s, box-shadow .2s;
}
.textarea { resize: vertical; min-height: 104px; }
.select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f4f57' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.input:hover, .select:hover, .textarea:hover { border-color: #5b6a71; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(46, 98, 117, 0.16); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 12px; }
.checks { display: grid; gap: 8px; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.check:hover { box-shadow: inset 0 0 0 1px var(--line-3); }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--petrol); flex: none; }
.check:has(input:checked) { background: #f1f6f8; box-shadow: inset 0 0 0 1.5px var(--petrol); }
.check:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 2px; }
.field__counter { font-size: 12.5px; color: var(--ink-3); text-align: right; }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; color: var(--error); }
.field__error .ic { width: 16px; height: 16px; margin-top: 2px; }
.form-errors { padding: 16px 18px; border-radius: var(--r-md); background: #fdf3f2; box-shadow: inset 3px 0 0 var(--error); }
.form-errors h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.form-errors ul { display: grid; gap: 4px; padding-left: 18px; list-style: disc; }
.form-errors a { color: var(--error); }
.form-status { display: grid; gap: 12px; padding: 18px; border-radius: var(--r-md); background: #f1f7f3; box-shadow: inset 0 0 0 1px rgba(27, 110, 58, 0.25); }
.form-status__head { display: flex; gap: 10px; font-size: 14.5px; }
.form-status__head .ic { color: var(--success); margin-top: 2px; }
.form-status textarea { width: 100%; padding: 12px; border: 1px solid #78868d; border-radius: var(--r-sm); font-size: 13.5px; background: #fff; }
.form-status .btn { justify-self: start; }
.form__privacy { font-size: 13px; line-height: 1.55; color: var(--ink-3); }
.note { display: flex; gap: 10px; font-size: 15px; }

/* ---------- 15 Footer ---------- */
.ftr { padding: clamp(56px, 6vw, 88px) 0 40px; background: #fff; border-top: 1px solid var(--line); }
.ftr__grid { display: grid; gap: 40px; }
@media (min-width: 720px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: 4fr 2fr 2fr 2.4fr 1.6fr; gap: var(--gap); } }
@media (max-width: 719px) { .ftr__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .ftr__brand { grid-column: 1 / -1; } }
.ftr__brand { display: grid; gap: 16px; justify-items: start; align-content: start; }
.ftr__brand img { height: 40px; width: auto; }
.ftr__claim { max-width: 22em; font-size: 15.5px; color: var(--ink-2); }
.ftr__small { max-width: 26em; font-size: 13px; line-height: 1.8; color: var(--ink-3); }
.ftr__h { margin-bottom: 14px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.ftr__col ul { display: grid; gap: 4px; }
.ftr__col a { display: inline-block; padding: 4px 0; color: var(--ink-2); font-size: 14.5px; text-decoration: none; }
.ftr__col a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 767px) { .ftr__col ul { gap: 0; } .ftr__col a { padding: 10px 0; } }
.ftr address { font-size: 14px; line-height: 2; color: var(--ink-2); }
.ftr address a { color: var(--ink-2); }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ftr__bottom p:first-child { margin-right: auto; }

/* ---------- 16 Rechtsseiten ---------- */
.legal-main { padding: clamp(56px, 6vw, 96px) 0 clamp(80px, 8vw, 128px); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.legal-main h1 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; margin-bottom: 32px; }
.legal-main h2 { margin: 48px 0 12px; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.legal-main h3 { margin: 28px 0 8px; font-size: 1.125rem; font-weight: 600; }
.legal-main p, .legal-main li { color: var(--ink-2); }
.legal-main p + p { margin-top: 12px; }
.legal-main ul { list-style: disc; padding-left: 22px; margin-top: 8px; display: grid; gap: 6px; }
.legal-main .lead { margin-bottom: 24px; }
.entwurf { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 6px 12px; border-radius: var(--r-pill); background: #fdf3f2; color: var(--error); font-size: 13.5px; font-weight: 600; }
.notfound { min-height: 56vh; display: grid; align-content: center; justify-items: start; gap: 20px; }
.notfound .display { max-width: 12ch; }
.muted { color: var(--ink-3); }
@media (max-width: 479px) { .hdr__home { display: none; } }

/* ---------- 17 Bewegung ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-reveal] { transition-duration: .8s; }
.js .hero .display[data-reveal] { transition-delay: .06s; }
.js .hero .hero__sub[data-reveal] { transition-delay: .12s; }
.js .hero .hero__cta[data-reveal] { transition-delay: .18s; }
.js .hero .stage[data-reveal] { transition-delay: .26s; transform: translateY(24px); }
.js .hero .stage[data-reveal].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .stage__tilt { transform: none; }
}
@media print {
  .hdr, .mmenu, .hero__bg, .night__glow { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .night { background: #fff; color: #000; }
}

/* ---------- 18 Ohne JavaScript ---------- */
/* Formular würde ohne Skript nichts Sinnvolles tun – Hinweis mit Direktadresse bleibt sichtbar. */
.no-js #demo-form { display: none; }
.no-js .menu-btn { display: none !important; }
.no-js .seg-wrap, .no-js .orbit-wrap, .no-js .orbit-info { display: none; }
.no-js .panel__name { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); }
.no-js .panel + .panel { margin-top: 88px; }
@media (max-width: 959px) {
  .no-js .hdr { position: relative; height: auto; }
  .no-js .hdr__in { flex-wrap: wrap; height: auto; padding-block: 12px; row-gap: 4px; }
  .no-js .nav { display: block; order: 3; width: 100%; margin: 0; }
  .no-js .nav ul { flex-wrap: wrap; }
  .no-js .nav a { height: 44px; padding: 0 10px; }
  .no-js .hero { margin-top: 0; padding-top: clamp(40px, 7vw, 72px); }
}

.demo > *, .faq > *, .about > *, .orbit-sec > *, .story > *, .head > *, .roles > *, .bento > *, .role > *, .tile > *, .form > *, .form__row > *, .field > * { min-width: 0; }
@media (max-width: 479px) { .qa__src { flex-wrap: wrap; } .qa__open { margin-left: 28px; } }
