/* ==========================================================================
   AuroraVerse · styles.css
   Lädt nach tokens.css (Designsystem v2) und scrollcraft.css (Engine, unverändert).
   Hier: Fonts, Mapping der Engine-Tokens auf DS-Rollen, Seitenkomponenten (BEM).
   Regeln: nur Rollen-Tokens, keine Hex-Werte außer in SVG-Verläufen des Symbols,
   Bewegung nur transform/opacity/clip-path, DESIGN.md §8.
   ========================================================================== */

/* ---------------------------------------------------------------- Fonts -- */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
}

/* ---------------------------------------------- Engine-Tokens → DS-Rollen -- */
:root {
  --sc-canvas: var(--bg-page);
  --sc-surface: var(--bg-surface);
  --sc-ink: var(--text-primary);
  --sc-ink-soft: var(--text-muted);
  --sc-accent: var(--accent-brand);
  --sc-accent-ink: var(--white);
  --sc-font-display: var(--font-sans);
  --sc-font-text: var(--font-sans);
  --sc-font-mono: var(--font-mono);
  --sc-r-sm: var(--radius-sm); --sc-r-md: var(--radius-md); --sc-r-lg: var(--radius-lg);
  --sc-shadow-color: 265 37% 20%;
  --header-h: 72px;
  --wrap: min(var(--width-page), 100% - 2 * var(--edge));
  scroll-padding-top: calc(var(--header-h) + var(--space-4));
}

body { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: 0; font-weight: 400; }
::selection { background: var(--violet-100); color: var(--text-primary); }
:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
.is-dark :focus-visible, .is-dark:focus-visible { outline: var(--focus-ring-inverse); }
a { color: var(--text-link); text-underline-offset: 3px; }
a:hover { color: var(--violet-900); }
h1, h2, h3, h4 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--space-4); top: -100px; z-index: 100;
  background: var(--bg-inverse); color: var(--text-inverse); padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
}
.skip:focus { top: var(--space-3); }

.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }

/* ----------------------------------------------------------- Typo-Rollen -- */
.t-display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.01em; }
.t-h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: -0.005em; }
.t-h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.t-h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.t-h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; }
.t-lead { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); max-width: 60ch; }
.t-small { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); }
.t-label {
  font-family: var(--font-mono); font-size: var(--fs-label); line-height: var(--lh-label);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.muted { color: var(--text-muted); }

/* ---------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill);
  font: 500 var(--fs-body-sm)/1 var(--font-sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--motion-fast) var(--ease-standard),
              border-color var(--motion-fast) var(--ease-standard),
              color var(--motion-fast) var(--ease-standard),
              transform var(--motion-fast) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--violet-900); color: var(--neutral-0); }
.btn--primary:hover { background: var(--violet-600); color: var(--neutral-0); }
.btn--secondary { background: transparent; color: var(--text-primary); border-color: var(--border-default); }
.btn--secondary:hover { border-color: var(--violet-900); color: var(--text-primary); }
.is-dark .btn--primary { background: var(--mint-300); color: var(--violet-950); }
.is-dark .btn--primary:hover { background: var(--white); color: var(--violet-950); }
.is-dark .btn--secondary { color: var(--text-inverse); border-color: color-mix(in oklab, var(--text-inverse) 38%, transparent); }
.is-dark .btn--secondary:hover { border-color: var(--text-inverse); color: var(--white); }
.btn .icon { font-size: 1.15em; }

.textlink {
  display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 500;
  color: var(--text-link); text-decoration: none;
}
.textlink .icon { transition: transform var(--motion-fast) var(--ease-standard); }
.textlink:hover { color: var(--violet-900); text-decoration: underline; }
.textlink:hover .icon { transform: translateX(3px); }
.is-dark .textlink { color: var(--mint-300); }
.is-dark .textlink:hover { color: var(--white); }

/* ------------------------------------------------------------------ Tags -- */
.tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--space-3);
  border-radius: var(--radius-pill); border: 1px solid var(--border-default);
  font-size: 13px; color: var(--text-muted);
}
.is-dark .tag { border-color: color-mix(in oklab, var(--text-inverse) 26%, transparent); color: var(--text-inverse); }
.kicker {
  display: inline-flex; align-items: center; gap: var(--space-2); align-self: start; justify-self: start; width: fit-content;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-pill);
  background: var(--violet-100); color: var(--violet-700);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink-300); }

/* ---------------------------------------------------------------- Status -- */
.status {
  display: inline-flex; align-items: center; gap: var(--space-2); align-self: start; justify-self: start; width: fit-content;
  padding: 3px var(--space-3) 3px 10px; border-radius: var(--radius-pill);
  font: 500 13px/1.4 var(--font-mono);
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; box-sizing: border-box; flex: none; }
.status--live { background: color-mix(in oklab, var(--mint-300) 22%, var(--white)); color: var(--status-success); }
.status--live .status__dot { background: var(--status-success); }
.status--final { background: color-mix(in oklab, var(--amber-700) 12%, var(--white)); color: var(--status-warning); }
.status--final .status__dot { border: 2px solid var(--status-warning); background: linear-gradient(90deg, var(--status-warning) 50%, transparent 50%); }
.status--plan { background: var(--violet-100); color: var(--status-info); }
.status--plan .status__dot { border: 1.5px dashed var(--status-info); }

/* ================================================================ HEADER == */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--header-h); background: var(--bg-page);
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-base) var(--ease-standard);
}
.bar.is-scrolled { border-bottom-color: var(--border-subtle); }
.bar__in { width: var(--wrap); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--violet-600); }
.brand__mark { width: 34px; height: 34px; }
.brand__words { display: grid; line-height: 1; }
.brand__word { font-weight: 600; font-size: 19px; letter-spacing: 0.03em; }
.brand__sub { font-weight: 500; font-size: 9.5px; letter-spacing: 0.5em; color: var(--violet-700); margin-top: 3px; }
.is-dark .brand { color: var(--text-inverse); }
.is-dark .brand__sub { color: var(--pink-300); }

.nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-1); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3);
  color: var(--text-primary); text-decoration: none; font-size: 16px; border-radius: var(--radius-pill);
}
.nav__link:hover { color: var(--violet-600); }
.nav__link[aria-current="true"] { color: var(--text-link); }
.nav__link[aria-current="true"]::after {
  content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 8px; height: 2px;
  background: var(--violet-600); border-radius: 2px;
}
.bar__cta { margin-left: var(--space-3); }
.menu-btn { display: none; }

/* Signature: die angedockte Kugel (Systemkarte) */
.dock {
  position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%;
  opacity: 0; transform: scale(0.6); pointer-events: none;
  transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-slow) var(--ease-standard);
}
.dock.is-on { opacity: 1; transform: none; pointer-events: auto; }
.dock__bg { position: absolute; inset: 0; border-radius: 50%; background: var(--bg-inverse); }
.dock canvas, .dock svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dock__dot { transition: opacity var(--motion-base) var(--ease-standard), r var(--motion-base) var(--ease-standard); }
.dock__web { stroke: var(--mint-300); stroke-width: 1.4; fill: none; opacity: 0; transition: opacity var(--motion-slow) var(--ease-standard); }
.dock.is-all .dock__web { opacity: 1; }

/* ================================================================== HERO == */
main { padding-top: var(--header-h); }
.hero { padding: var(--space-3) var(--space-3) 0; }
.hero__panel {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--header-h) - var(--space-3));
  border-radius: var(--radius-xl); background: var(--bg-inverse); color: var(--text-inverse);
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center; gap: var(--space-6);
  padding: clamp(var(--space-7), 6vw, 96px) clamp(var(--space-5), 5vw, 80px);
}
.hero__glows { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; will-change: transform; }
.hero__glow--pink { left: -12%; top: -32%; width: 62%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,146,255,.16), transparent); }
.hero__glow--mint { right: -18%; bottom: -40%; width: 70%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(119,255,173,.11), transparent); }
.hero__arc {
  position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; translate: -50% -5%;
  border-radius: 50%; border-top: 1px solid rgba(232,136,240,.18);
}
.hero__copy { display: grid; gap: var(--space-5); max-width: 620px; position: relative; z-index: 2; }
.hero__eyebrow { color: var(--mint-300); }
.hero__title { font-weight: 300; }
.hero__title span { display: block; }
.hero__lead { color: color-mix(in oklab, var(--text-inverse) 86%, var(--violet-300)); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }

/* Universum */
.uni { position: relative; z-index: 1; display: grid; gap: var(--space-4); }
.uni__stage { position: relative; width: 100%; aspect-ratio: 760 / 560; }
.uni__glow {
  position: absolute; left: 50%; top: 50%; width: 58%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(114,79,169,.55), rgba(114,79,169,.12) 70%, transparent);
  pointer-events: none; will-change: transform;
}
.uni__fly { position: fixed; left: 0; top: 0; z-index: 70; pointer-events: none; will-change: transform, opacity; }
.uni__canvas, .uni__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.uni__svg { overflow: visible; }
.uni__line { transition: stroke var(--motion-fast), stroke-width var(--motion-fast); }
.uni__nodes { position: absolute; inset: 0; transition: opacity var(--motion-base) var(--ease-standard); }
.uni__node {
  position: absolute; display: flex; align-items: center; gap: 10px; max-width: 220px; min-height: 52px;
  padding: 8px 16px 8px 8px; border-radius: var(--radius-pill);
  border: 1.5px solid rgba(244,240,250,.22); background: rgba(46,32,69,.74); color: var(--text-inverse);
  text-align: left; cursor: pointer; backdrop-filter: blur(2px);
  transition: background-color var(--motion-fast), border-color var(--motion-fast), box-shadow var(--motion-fast), color var(--motion-fast);
}
.uni__node:hover { border-color: var(--text-inverse); background: rgba(46,32,69,.94); }
.uni__node[aria-pressed="true"] {
  background: var(--inverse-50); color: var(--violet-950); border-color: var(--area-accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--area-accent) 22%, transparent), 0 12px 30px -10px rgba(0,0,0,.5);
}
.uni__node:focus-visible { outline: var(--focus-ring-inverse); outline-offset: 3px; }
.uni__ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--area-accent); color: var(--violet-950); font-size: 18px;
}
.uni__node[aria-pressed="true"] .uni__ico { background: var(--area-text); color: var(--white); }
.uni__txt { display: grid; gap: 1px; line-height: 1.2; }
.uni__name { font-size: 16px; font-weight: 500; }
.uni__plain { font-size: 13px; color: var(--violet-300); }
.uni__node[aria-pressed="true"] .uni__plain { color: var(--text-muted); }
.uni__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }
.uni__note { font-size: 13px; color: var(--violet-300); }
.uni__pause {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-4);
  border-radius: var(--radius-pill); border: 1px solid rgba(244,240,250,.3); background: transparent;
  color: var(--text-inverse); font-size: 14px; cursor: pointer;
}
.uni__pause:hover { border-color: var(--text-inverse); background: rgba(255,255,255,.06); }

/* Infokarte: legt sich über die Textspalte; die Kugel bleibt sichtbar (Zustandswechsel des Heros) */
.hero__copy { transition: opacity var(--motion-base) var(--ease-standard); }
.hero.is-area .hero__copy { opacity: 0; }
.uni__card {
  position: absolute; z-index: 3; left: clamp(var(--space-5), 5vw, 80px); top: 50%;
  width: min(520px, 42%); translate: 0 -50%;
  background: var(--inverse-50); color: var(--text-primary); border-radius: var(--radius-lg);
  padding: var(--space-6); display: grid; gap: var(--space-3);
  box-shadow: 0 30px 60px -30px rgba(10,5,20,.7), 0 2px 6px rgba(10,5,20,.2);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--motion-base) var(--ease-standard), transform var(--motion-base) var(--ease-standard);
}
.uni__card.is-open { opacity: 1; transform: none; }
.uni__card-cta { justify-self: start; margin-top: var(--space-2); }
.uni__card-head { display: flex; align-items: center; gap: 10px; }
.uni__card-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--area-tint); color: var(--area-text); font-size: 20px; }
.uni__card-name { font: 500 13px/1.3 var(--font-sans); letter-spacing: 0.14em; color: var(--area-text); text-transform: uppercase; }
.uni__card-close {
  margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-subtle);
  background: var(--white); display: grid; place-items: center; cursor: pointer; color: var(--text-primary);
}
.uni__card-close:hover { border-color: var(--violet-900); }
.uni__card-claim { font-size: 22px; line-height: 1.2; }
.uni__card-desc { font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.uni__card-benefit { background: var(--white); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); display: grid; gap: 2px; font-size: 15px; line-height: 1.5; }
.uni__card-benefit b { font-weight: 500; font-size: 13px; color: var(--status-success); display: inline-flex; gap: 6px; align-items: center; }
.uni__card-note { justify-self: start; }

.uni__chips { display: none; }
.no-js .uni__nodes { display: none; }
.no-js .uni__chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-2); }
.no-js .uni__chips .uni__node { position: static; }

/* ======================================================= Abschnitte allg. == */
.sect { padding-block: var(--section-gap); }
.sect__head { display: grid; gap: var(--space-4); max-width: 760px; margin-bottom: var(--space-7); }
.sect__head .t-lead { color: var(--text-muted); }
.sect--subtle { background: var(--bg-subtle); }

/* ======================================== Akt 2: Brüche → verbunden (Pin) == */
.breaks { background: var(--bg-page); }
.breaks__stage { display: grid; align-items: center; }
.breaks__grid {
  width: var(--wrap); margin-inline: auto; display: grid; gap: var(--space-7);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  padding-top: var(--header-h);
}
.breaks__copy { display: grid; gap: var(--space-4); }
.breaks__list { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-5); }
.breaks__item { display: grid; grid-template-columns: 40px 1fr; gap: var(--space-3); align-items: start; }
.breaks__ico { width: 40px; height: 40px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--violet-100); color: var(--violet-700); font-size: 20px; }
.breaks__item h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: 500; }
.breaks__item p { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--text-muted); margin-top: 2px; }
.breaks__turn { display: grid; gap: var(--space-2); padding-top: var(--space-4); }
.breaks__turn::before { content: ""; width: 56px; height: 3px; border-radius: 2px; background: var(--gradient-aurora); margin-bottom: var(--space-3); }
.breaks__turn strong { font-weight: 500; font-size: var(--fs-h3); line-height: var(--lh-h3); }

.diagram {
  margin: 0; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: clamp(var(--space-4), 2.5vw, var(--space-6)); box-shadow: var(--shadow-md); display: grid; gap: var(--space-4);
}
.diagram__labels { display: flex; justify-content: space-between; gap: var(--space-3); }
.diagram__state { position: relative; }
.diagram__state span { display: inline-block; }
.diagram__before { color: var(--status-error); opacity: clamp(0, calc((0.5 - var(--sc-p, 0)) * 10), 1); }
.diagram__after { color: var(--status-success); opacity: clamp(0, calc((var(--sc-p, 0) - 0.5) * 10), 1); }
.diagram svg { width: 100%; height: auto; max-height: calc(100svh - var(--header-h) - 240px); overflow: visible; }
.diagram figcaption { font-size: 13px; color: var(--text-muted); }
.dg-mod rect { fill: var(--bg-surface); stroke: var(--border-default); stroke-width: 1.5; }
.dg-mod text { font: 400 15px var(--font-sans); fill: var(--text-primary); }
.dg-hub rect { fill: var(--bg-surface); stroke: var(--violet-600); stroke-width: 1.5; }
.dg-hub__fill { fill: var(--violet-100); opacity: clamp(0, calc((var(--sc-p, 0) - 0.45) * 5), 1); }
.dg-hub text { font: 500 15px var(--font-sans); fill: var(--violet-700); }
.dg-hub .dg-hub__sub { font: 400 12px var(--font-mono); fill: var(--text-muted); }
/* Takt (Akt-Progression --sc-p): 0,02–0,32 die vier Brüche erscheinen nacheinander,
   0,34–0,66 die Linien schließen sich, 0,62–0,8 Knoten + Auflösungstext, danach Halt. */
.dg-broken { stroke: var(--border-default); stroke-width: 2; stroke-dasharray: 5 6; fill: none; opacity: clamp(0, calc((0.6 - var(--sc-p, 0)) * 5), 1); }
.dg-cross path { stroke: var(--status-error); stroke-width: 2.2; stroke-linecap: round; --s: 0.02;
  opacity: min(clamp(0, calc((var(--sc-p, 0) - var(--s)) * 14), 1), clamp(0, calc((0.46 - var(--sc-p, 0)) * 10), 1)); }
.dg-cross path:nth-child(2) { --s: 0.1; }
.dg-cross path:nth-child(3) { --s: 0.18; }
.dg-cross path:nth-child(4) { --s: 0.26; }
.dg-link {
  fill: none; stroke: url(#dg-grad); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: clamp(0, calc(1 - (var(--sc-p, 0) - 0.34) * 3.2), 1);
}
.dg-node { fill: var(--mint-300); stroke: var(--bg-surface); stroke-width: 2; opacity: clamp(0, calc((var(--sc-p, 0) - 0.62) * 7), 1); }
/* Die Probleme links leuchten im selben Takt wie ihre Kreuze */
.breaks__ico { position: relative; transition: none; }
.breaks__ico::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: color-mix(in oklab, var(--red-700) 16%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--red-700) 45%, transparent); --s: 0.02;
  opacity: min(clamp(0, calc((var(--sc-p, 0) - var(--s)) * 14), 1), clamp(0, calc((0.46 - var(--sc-p, 0)) * 10), 1));
}
.breaks__item:nth-child(2) .breaks__ico::after { --s: 0.1; }
.breaks__item:nth-child(3) .breaks__ico::after { --s: 0.18; }
.breaks__item:nth-child(4) .breaks__ico::after { --s: 0.26; }

/* ========================================================== Akt 3: Für wen == */
.aud__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.aud__card {
  position: relative; overflow: hidden; height: 100%;
  background: var(--bg-inverse); color: var(--text-inverse); border-radius: var(--radius-lg);
  padding: clamp(var(--space-5), 3vw, var(--space-7)); display: grid; gap: var(--space-4); align-content: start;
}
.aud__card::after {
  content: ""; position: absolute; right: -20%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,146,255,.12), transparent); pointer-events: none;
}
.aud__ico { font-size: 32px; color: var(--mint-300); }
.aud__label { color: var(--violet-300); }
.aud__text { color: color-mix(in oklab, var(--text-inverse) 84%, var(--violet-300)); max-width: 46ch; }
.aud__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ======================================================== Akt 4: Vorgehen == */
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); }
.steps::before {
  content: ""; position: absolute; left: 20px; right: 0; top: 19px; height: 2px; border-radius: 2px;
  background: var(--gradient-aurora); transform-origin: 0 50%; transform: scaleX(0);
  transition: transform var(--motion-slow) var(--ease-standard) 120ms;
}
.steps.sc-in::before { transform: scaleX(1); transition-duration: 1200ms; }
.steps__item { position: relative; display: grid; gap: var(--space-2); align-content: start; }
.steps__num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-page); border: 1.5px solid var(--violet-900); font: 500 13px var(--font-mono);
  margin-bottom: var(--space-3); position: relative; z-index: 1;
}
.steps__item h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.steps__item p { color: var(--text-muted); font-size: 16px; line-height: 1.55; }
.steps__areas { color: var(--text-muted); margin-top: var(--space-2); }

/* ======================================================== Akt 5: Software == */
.soft__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-4); }
.soft__grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: var(--space-5); }
.prod {
  height: 100%;
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  padding: var(--space-6); display: grid; gap: var(--space-3); align-content: start;
  transition: box-shadow var(--motion-fast) var(--ease-standard), border-color var(--motion-fast);
}
.prod:hover { box-shadow: var(--shadow-md); border-color: var(--border-default); }
.prod--lead { grid-row: span 2; }
.prod__media {
  position: relative; overflow: hidden; border-radius: var(--radius-md); background: var(--bg-subtle);
  aspect-ratio: 16 / 9; display: grid; place-items: center; margin-bottom: var(--space-3);
  border: 1px solid var(--border-subtle);
}
.prod__media svg { width: 78%; height: auto; }
.prod__media-note { position: absolute; left: var(--space-3); bottom: var(--space-3); font-size: 12px; color: var(--text-muted); }
.prod__name { font-size: var(--fs-h3); line-height: var(--lh-h3); }
.prod__for { color: var(--text-muted); }
.prod__desc { color: var(--text-muted); }
.prod__act { margin-top: var(--space-2); }

/* ========================================================= Akt 6: Kontakt == */
.close { padding: var(--section-gap) var(--space-3) var(--space-3); }
.close__band {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  padding: clamp(var(--space-7), 7vw, 112px) clamp(var(--space-5), 6vw, 96px);
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(255,146,255,.16), transparent 70%),
    radial-gradient(60% 90% at 100% 100%, rgba(119,255,173,.18), transparent 70%),
    var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-6); align-items: center;
}
.close__copy { display: grid; gap: var(--space-4); }
.close__copy::before { content: ""; width: 56px; height: 3px; border-radius: 2px; background: var(--gradient-aurora); }
.close__actions { display: grid; gap: var(--space-3); justify-items: start; }
.close__mail { font-size: var(--fs-body-sm); color: var(--text-muted); }

/* ================================================================ FOOTER == */
.foot { background: var(--violet-950); color: var(--text-inverse); border-radius: var(--radius-xl) var(--radius-xl) 0 0; margin-top: var(--space-3); }
.foot__in { width: var(--wrap); margin-inline: auto; padding: var(--space-8) 0 var(--space-6); display: grid; gap: var(--space-7); }
.foot__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--space-6); }
.foot__claim { color: var(--violet-300); margin-top: var(--space-4); font-size: var(--fs-body-sm); max-width: 30ch; }
.foot__h { color: var(--violet-300); margin-bottom: var(--space-3); }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); font-size: var(--fs-body-sm); }
.foot a { color: var(--text-inverse); text-decoration: none; }
.foot a:hover { color: var(--mint-300); text-decoration: underline; }
.foot__area { display: inline-flex; align-items: center; gap: var(--space-2); }
.foot__area::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--area-accent); }
.foot__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  padding-top: var(--space-5); font-size: 14px; color: var(--violet-300);
  border-top: 1px solid rgba(244,240,250,.1);
}
.foot__legal { display: flex; gap: var(--space-5); }

/* ========================================================= Rechtsseiten == */
.legal { width: min(var(--width-content), 100% - 2 * var(--edge)); margin-inline: auto; padding: var(--space-9) 0 var(--space-9); }
.legal h1 { margin-bottom: var(--space-6); }
.legal h2 { font-size: var(--fs-h3); line-height: var(--lh-h3); margin: var(--space-7) 0 var(--space-3); }
.legal p, .legal address { max-width: var(--width-text); color: var(--text-primary); font-style: normal; }
.legal p + p { margin-top: var(--space-3); }
.legal__back { margin-top: var(--space-8); }
.notfound { min-height: calc(100svh - var(--header-h) - 280px); display: grid; align-content: center; gap: var(--space-5); }

/* ============================================================ Responsive == */
@media (max-width: 1180px) {
  .nav__link--opt { display: none; }
}
@media (max-width: 1023px) {
  .hero__panel { grid-template-columns: 1fr; gap: var(--space-7); }
  .hero.is-area .hero__copy { opacity: 1; }
  .uni__card { position: relative; left: auto; top: auto; width: 100%; translate: none; }
  .hero__copy { max-width: 680px; }
  .uni__stage { max-width: 760px; margin-inline: auto; }
  .breaks__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .breaks__copy { display: contents; }
  .breaks__turn { order: 2; padding-top: 0; }
  .diagram { order: 1; }
  .breaks__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3) var(--space-4); }
  .breaks__item p { display: none; }
  .steps { grid-template-columns: 1fr; gap: var(--space-5); padding-left: 0; }
  .steps::before { left: 19px; top: 20px; bottom: 0; right: auto; width: 2px; height: auto; transform: scaleY(0); transform-origin: 50% 0; background: var(--gradient-aurora-v); }
  .steps.sc-in::before { transform: scaleY(1); }
  .steps__item { grid-template-columns: 40px 1fr; column-gap: var(--space-4); }
  .steps__num { grid-row: span 3; margin-bottom: 0; }
  .soft__grid { grid-template-columns: 1fr; }
  .prod--lead { grid-row: auto; }
  .close__band { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav, .bar__cta { display: none; }
  .menu-btn {
    display: inline-grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--border-default); background: var(--bg-surface); color: var(--text-primary); font-size: 22px; cursor: pointer;
  }
  .bar.is-menu .nav {
    display: grid; position: fixed; inset: var(--header-h) 0 0 0; align-content: start; gap: 0;
    padding: var(--space-5) var(--edge); background: var(--bg-page); overflow-y: auto;
  }
  .bar.is-menu .nav__link { min-height: 56px; font-size: 20px; border-bottom: 1px solid var(--border-subtle); border-radius: 0; padding: 0; }
  .bar.is-menu .nav__link--opt { display: inline-flex; }
  .bar.is-menu .nav__cta { display: inline-flex; margin-top: var(--space-6); }
  .dock { margin-left: auto; }
  .dock + .menu-btn { margin-left: var(--space-3); }
}
.nav__cta { display: none; }

@media (max-width: 760px) {
  .uni__nodes { display: none; }
  .uni__chips {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2);
  }
  .uni__chips .uni__node { position: static; max-width: none; min-height: 60px; border-radius: 18px; width: 100%; }
  .uni__chips .uni__node:last-child { grid-column: span 2; }
  .uni__stage { max-width: 420px; aspect-ratio: 1 / 0.82; }
}
@media (max-width: 639px) {
  .hero { padding: var(--space-2) var(--space-2) 0; }
  .hero__panel { border-radius: var(--radius-lg); min-height: 0; padding: var(--space-7) var(--space-5) var(--space-6); }
  .hero__actions .btn { flex: 1 1 auto; }
  .aud__grid { grid-template-columns: 1fr; }
  .breaks__grid { gap: var(--space-4); }
  .breaks__list { gap: var(--space-2) var(--space-3); }
  .breaks__item { grid-template-columns: 32px 1fr; gap: var(--space-2); align-items: center; }
  .breaks__ico { width: 32px; height: 32px; font-size: 17px; }
  .breaks__item h3 { font-size: 15px; }
  .breaks .sect__intro { display: none; }
  .diagram { padding: var(--space-3); gap: var(--space-2); }
  .diagram figcaption { display: none; }
  .dg-mod text { font-size: 20px; }
  .dg-hub text { font-size: 18px; }
  .dg-hub .dg-hub__sub { font-size: 14px; }
  .breaks__turn::before { margin-bottom: var(--space-1); }
  .breaks__turn strong { font-size: 19px; }
  .close { padding-inline: var(--space-2); }
  .close__band { border-radius: var(--radius-lg); }
  .foot { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .foot__cols { grid-template-columns: 1fr; }
}

/* ======================================================= Reduced motion == */
@media (prefers-reduced-motion: reduce) {
  .steps::before, .steps.sc-in::before { transform: none; transition: none; }
  .hero__glow, .uni__glow { transform: none !important; }
  .dock { transition: opacity var(--motion-base); transform: none; }
  .btn, .textlink .icon, .uni__card { transition-property: opacity, background-color, border-color, color; }
}
