/* NorthProfit Studio · Meridian v1.0 (Claude-Version, Entwurf). Bedeutung der Werte: docs/DESIGN_SYSTEM.md.
   Strenge CSP: keine Inline-Styles; Zustände über Klassen, Attribute und Custom Properties (CSSOM). */

/* ---------- Schriften (NP Studio Sans/Mono = umbenanntes Subset von Mona Sans, OFL) ----------
   font-display: optional mit Preload (PF-07): Kommt eine Schrift beim ersten Rendern nicht rechtzeitig, bleibt die Seite in der
   Systemschrift, statt später umzubrechen (Layoutsprung bei langsamer Verbindung, Labor-CLS bis 0,14). Ab der nächsten Seite
   liegt die Schrift im Cache und wird sofort verwendet. */
@font-face {
  font-family: "NP Studio Sans";
  src: url("/assets/fonts/np-studio-sans.87473886ad1b.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 100% 116%;
  font-style: normal;
  font-display: optional;
}
@font-face {
  font-family: "NP Studio Mono";
  src: url("/assets/fonts/np-studio-mono.d051c1f3c49b.woff2") format("woff2");
  font-weight: 400 650;
  font-style: normal;
  font-display: optional;
}
/* Serifen-Akzent: Instrument Serif Italic (OFL, The Instrument Serif Project Authors; lokale Kopie, siehe docs/design/PROVENANCE.md). */
@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.6ee678c33f38.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}
/* Metrikausgleich, damit der Wechsel von der Systemschrift keine Zeilen verschiebt. */
@font-face {
  font-family: "NP Fallback";
  src: local("Helvetica Neue"), local("Arial"), local("Segoe UI");
  size-adjust: 102%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --canvas: #F4F5F6;
  --surface: #FFFFFF;
  --surface-2: #ECEEF0;
  --ink: #0B0C0E;
  --ink-2: #3A3D43;
  --ink-3: #5C616A;
  --line: #DFE2E6;
  --field-line: #868B93;
  --night: #0B0C0E;
  --night-2: #16181C;
  --night-line: #2A2D33;
  --on-night: #F4F5F6;
  --on-night-2: #AEB2B9;
  --on-night-3: #80858D;
  --focus: var(--ink);

  --glass: rgba(255, 255, 255, .66);
  --glass-solid: rgba(255, 255, 255, .94);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .9);
  --glass-line: rgba(11, 12, 14, .08);
  --glass-shadow: 0 10px 30px rgba(11, 12, 14, .08);
  --lift: 0 1px 2px rgba(11, 12, 14, .06), 0 18px 48px rgba(11, 12, 14, .10);

  --sans: "NP Studio Sans", "NP Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "NP Studio Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --fs-display: clamp(2.125rem, .9rem + 6.2vw, 8.25rem);
  --fs-title: clamp(1.75rem, 1.1rem + 3.3vw, 4rem);
  --fs-sub: clamp(1.25rem, 1.05rem + .8vw, 1.75rem);
  --fs-lede: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --fs-text: clamp(1.03rem, .98rem + .2vw, 1.125rem);
  --fs-small: .875rem;
  --fs-label: .78rem;

  --max: 1360px;
  --margin: clamp(20px, 5vw, 64px);
  --gutter: clamp(16px, 2vw, 24px);
  --section: clamp(72px, 10vw, 160px);
  --rail: clamp(18px, 3vw, 44px);
  --header-h: 60px;

  --r-card: 20px;
  --r-web: 14px;
  --r-pill: 999px;

  --dur-1: 160ms;
  --dur-2: 240ms;
  --dur-3: 420ms;
  --dur-4: 700ms;
  --ease-out: cubic-bezier(.2, .7, .1, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  }
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 40px);
}
body {
  margin: 0;
  background: var(--canvas);
  font-size: var(--fs-text);
  line-height: 1.6;
  font-optical-sizing: auto;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
html.is-locked, html.is-locked body { overflow: hidden; }
/* Startseite: Überscrollen oben und Statusleiste nachtschwarz wie der Hero. Safari 26+ tönt die Statusleiste nach dem
   body-Hintergrund (theme-color bleibt für andere Browser); die hellen Abschnitte behalten ihre Fläche über <main>. */
html.night-top, html.night-top body { background: var(--night); }
html.night-top main { background: var(--canvas); }
::selection { background: var(--ink); color: var(--canvas); }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 560; text-wrap: balance; hyphens: manual; }
.nobr { white-space: nowrap; }
/* Betonung in Überschriften: Serifen-Kursive, optisch auf die x-Höhe der Mona Sans abgestimmt. */
h1 em, h2 em, h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; letter-spacing: -.01em; font-size: 1.1em; line-height: 0; }
p { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.night :focus-visible, .on-night:focus-visible { --focus: var(--on-night); }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--canvas); text-decoration: none; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.night { background: var(--night); color: var(--on-night); --focus: var(--on-night); }
.surface { background: var(--surface); }
.stack { display: grid; gap: 16px; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }

/* Meridian: senkrechte Nord-Achse mit Abschnittsbezeichnung. */
.rail { position: relative; padding-left: var(--rail); }
.rail::before {
  content: ""; position: absolute; left: 0; top: .55em; bottom: 0; width: 1px; background: var(--line);
  transform-origin: top;
}
.night .rail::before { background: var(--night-line); }
.label {
  font-family: var(--mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--ink-3); line-height: 1.4;
}
.night .label { color: var(--on-night-2); }
.rail > .label, .rail .rail-label { position: relative; }
.rail > .label::before, .rail .rail-label::before {
  content: ""; position: absolute; left: calc(-1 * var(--rail)); top: .62em; width: min(12px, calc(var(--rail) - 6px)); height: 1px; background: currentColor;
}

/* ---------- Typografie ---------- */
.display {
  font-size: var(--fs-display); font-weight: 580; font-stretch: 104%; line-height: .98; letter-spacing: -.03em;
  max-width: 15ch; text-wrap: balance;
}
@media (min-width: 768px) { .display { font-stretch: 116%; line-height: .96; letter-spacing: -.035em; text-wrap: balance; } }
.title { font-size: var(--fs-title); font-weight: 560; font-stretch: 102%; line-height: 1.04; letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }
@media (min-width: 768px) { .title { font-stretch: 110%; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; } }
/* Große Umlaute (Ä, Ö, Ü) ragen über die Versalhöhe: bei enger Zeilenhöhe berühren ihre Punkte sonst die Zeile darüber (generate.mjs setzt .has-umlaut). */
.display.has-umlaut { line-height: 1.07; }
.title.has-umlaut { line-height: 1.1; }
.sub { font-size: var(--fs-sub); font-weight: 580; font-stretch: 104%; line-height: 1.15; letter-spacing: -.01em; }
.lede { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 40ch; font-weight: 420; }
.night .lede { color: var(--on-night-2); }
.prose { max-width: 66ch; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.prose p { hyphens: manual; }
/* Silbentrennung nur in schmalen Spalten; ab 720 px trägt die Zeilenlänge ohne Trennungen. */
@media (max-width: 719.98px) { .prose p, .legal-doc p { -webkit-hyphens: auto; hyphens: auto; } }
.small { font-size: var(--fs-small); line-height: 1.45; }
.muted { color: var(--ink-3); }
.night .muted { color: var(--on-night-3); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Knöpfe, Links, Chips ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 580; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), color var(--dur-1);
}
.button svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-2) var(--spring); }
.button:hover svg { transform: translateX(3px); }
.button:active { transform: scale(.98); }
.button--primary { background: var(--ink); color: var(--canvas); }
.button--primary:hover { box-shadow: 0 10px 24px rgba(11, 12, 14, .22); transform: translateY(-1px); }
.button--ghost { border-color: rgba(11, 12, 14, .18); color: var(--ink); background: transparent; }
.button--ghost:hover { background: var(--surface); border-color: rgba(11, 12, 14, .32); }
.night .button--primary { background: var(--on-night); color: var(--night); }
.night .button--ghost { border-color: rgba(244, 245, 246, .28); color: var(--on-night); }
.night .button--ghost:hover { background: var(--night-2); }
.button--small { min-height: 40px; padding: 9px 18px; font-size: .9375rem; }
.button[disabled], .button[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 580; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform var(--dur-2) var(--spring); }
.arrow-link:hover svg { transform: translate(2px, -2px); }
.arrow-link--in:hover svg { transform: translateX(3px); }

.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 520; font-size: .9375rem; line-height: 1.2;
  cursor: pointer; transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2), color var(--dur-2), transform var(--dur-1);
}
.chip:hover { border-color: var(--field-line); }
.chip:active { transform: scale(.98); }
.chip[aria-pressed="true"], .chip-input:checked + .chip { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.chip-input:focus-visible + .chip { outline: 2px solid var(--focus); outline-offset: 3px; }
.chip .count { font-family: var(--mono); font-size: .75rem; opacity: .7; }
.chip-input { position: absolute; opacity: 0; width: 1px; height: 1px; }

/* ---------- Header: Glas-Pille ---------- */
.site-header {
  position: fixed; z-index: 60; left: 0; right: 0; top: calc(env(safe-area-inset-top, 0px) + 12px);
  pointer-events: none;
}
.pill {
  pointer-events: auto; position: relative; display: flex; align-items: center; gap: 16px;
  width: min(100% - 2 * clamp(12px, 3vw, 40px), var(--max) + 32px); margin-inline: auto; min-height: var(--header-h);
  padding: 8px 8px 8px 20px; border-radius: var(--r-pill); background: var(--glass-solid);
  box-shadow: var(--glass-edge), 0 0 0 1px var(--glass-line), var(--glass-shadow);
  transition: min-height var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .pill { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%); }
}
.is-scrolled .pill { min-height: 54px; box-shadow: var(--glass-edge), 0 0 0 1px var(--glass-line), 0 14px 36px rgba(11, 12, 14, .12); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; min-height: 44px; }
.wordmark svg { width: 30px; height: 30px; color: var(--ink); }
.signet__n { stroke: var(--canvas); }
.signet__dot { fill: var(--canvas); }
.night .wordmark svg { color: var(--on-night); }
.night .signet__n { stroke: var(--night); }
.night .signet__dot { fill: var(--night); }
.wordmark__text { font-size: 1.0625rem; font-weight: 640; font-stretch: 108%; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wordmark__text span { font-weight: 420; color: var(--ink-3); }
.nav { position: relative; margin-left: auto; display: none; }
.nav ul { display: flex; gap: 2px; position: relative; z-index: 1; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--r-pill);
  text-decoration: none; font-weight: 520; font-size: .9375rem; color: var(--ink-2); transition: color var(--dur-1);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.no-marker .nav a[aria-current="page"] { background: rgba(11, 12, 14, .06); }
.nav-marker {
  position: absolute; z-index: 0; top: 0; left: 0; height: 44px; width: var(--marker-w, 0px); border-radius: var(--r-pill);
  background: rgba(11, 12, 14, .07); transform: translateX(var(--marker-x, 0px)); opacity: var(--marker-o, 0);
  transition: transform var(--dur-2) var(--spring), width var(--dur-2) var(--spring), opacity var(--dur-1);
}
.nav-cta { display: none; }
.menu-button {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid transparent; background: var(--ink); color: var(--canvas); font-weight: 580; font-size: .9375rem; text-decoration: none;
}
.menu-button__icon { width: 16px; height: 10px; position: relative; }
.menu-button__icon::before, .menu-button__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur-2) var(--spring);
}
.menu-button__icon::before { top: 1px; }
.menu-button__icon::after { bottom: 1px; }
.menu-button[aria-expanded="true"] .menu-button__icon::before { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__icon::after { transform: translateY(-3.5px) rotate(-45deg); }
.progress {
  position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; border-radius: 2px; background: var(--ink);
  transform-origin: left; transform: scaleX(var(--progress, 0)); opacity: .9; pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .progress { animation: progress-grow linear both; animation-timeline: scroll(root); }
  @keyframes progress-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* Über Nachtabschnitten wird die Pille dunkles Glas (site.js setzt .is-on-dark). */
.pill { transition: min-height var(--dur-2) var(--ease-out), box-shadow var(--dur-2), background-color var(--dur-2) var(--ease-out), color var(--dur-2); }
.site-header.is-on-dark { --focus: var(--on-night); }
.site-header.is-on-dark .pill { background: rgba(20, 22, 26, .62); color: var(--on-night);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 0 0 1px rgba(255, 255, 255, .09), 0 14px 40px rgba(0, 0, 0, .35); }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .site-header.is-on-dark .pill { background: rgba(20, 22, 26, .95); } }
.site-header.is-on-dark .wordmark svg { color: var(--on-night); }
.site-header.is-on-dark .signet__n { stroke: var(--night); }
.site-header.is-on-dark .signet__dot { fill: var(--night); }
.site-header.is-on-dark .wordmark__text span { color: var(--on-night-3); }
.site-header.is-on-dark .nav a { color: var(--on-night-2); }
.site-header.is-on-dark .nav a:hover, .site-header.is-on-dark .nav a[aria-current="page"] { color: var(--on-night); }
.site-header.is-on-dark .nav-marker, .no-marker .site-header.is-on-dark .nav a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
.site-header.is-on-dark .nav-cta, .site-header.is-on-dark .menu-button { background: var(--on-night); color: var(--night); }
.site-header.is-on-dark .progress { background: var(--on-night); }
@media (max-width: 380px) {
  .pill { gap: 8px; padding-left: 14px; }
  .wordmark__text { font-size: 1rem; }
  button.menu-button { width: 44px; padding: 0; justify-content: center; }
  button.menu-button .menu-button__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (min-width: 1024px) {
  .nav, .nav-cta { display: flex; }
  .nav-cta { margin-left: 8px; }
  .menu-button { display: none; }
}

/* ---------- Menü-Sheet ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55; overflow-y: auto; background: rgba(244, 245, 246, .96);
  padding: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 40px) var(--margin) calc(env(safe-area-inset-bottom, 0px) + 32px);
  opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .menu { background: rgba(244, 245, 246, .82); -webkit-backdrop-filter: blur(28px) saturate(160%); backdrop-filter: blur(28px) saturate(160%); }
}
.menu.is-open { opacity: 1; }
/* Kleine Texte im Menü eine Stufe dunkler: Über dem Nacht-Hero wird das Milchglas grau (Kontrast ≥ 4,5:1, PF-07). */
.menu .label, .menu .muted, .menu__list a[aria-current="page"]::after { color: var(--ink-2); }
.menu__list { display: grid; gap: 4px; margin-top: 16px; }
.menu__list a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; text-decoration: none;
  font-size: clamp(2rem, 1.4rem + 3vw, 3rem); font-weight: 560; font-stretch: 112%; letter-spacing: -.03em; line-height: 1.05;
  border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(12px);
  transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--spring);
}
.menu__list li:nth-child(2) a { transition-delay: 30ms; }
.menu__list li:nth-child(3) a { transition-delay: 60ms; }
.menu__list li:nth-child(4) a { transition-delay: 90ms; }
.menu__list li:nth-child(5) a { transition-delay: 120ms; }
.menu__list li:nth-child(6) a { transition-delay: 150ms; }
.menu__list a[aria-current="page"]::after { content: "Aktuelle Seite"; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.menu.is-open .menu__list a { opacity: 1; transform: none; }
.menu__foot { margin-top: 32px; display: grid; gap: 20px; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(56px, 9vw, 128px)); padding-bottom: clamp(56px, 8vw, 112px); }
.hero .rail { padding-bottom: 8px; }
.hero__head { display: grid; gap: clamp(20px, 3vw, 32px); }
.hero__foot { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); align-items: end; }
/* Aktionen stehen direkt unter dem Lead-Text (kurzer Blickweg zur Anfrage). */
.page-hero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(48px, 7vw, 104px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero .display { font-size: clamp(2.125rem, 1rem + 5vw, 6.5rem); max-width: 16ch; }
/* Unter 360 px: lange Komposita („Webanwendungen,“) und NBSP-Paare bis 16 Zeichen passen in die 262-px-Spalte (28,5 px bei 320). */
@media (max-width: 359.98px) { .page-hero .display { font-size: calc(-.1rem + 9.4vw); } }
.page-hero .lede { margin-top: clamp(20px, 3vw, 28px); max-width: 46ch; }
.page-hero .actions { margin-top: 28px; }
/* Tages-Gegenstück zum Nachtglobus: Perlmutt-Kugel mit Meridian-Ring rechts im Seitenkopf (nur Dekor, ab 720 px). */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
@media (min-width: 720px) {
  .page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; }
  /* Größe folgt der Höhe des Seitenkopfs (Prozent = Höhe des Kopfs), damit die Kugel auch in kurzen Köpfen ganz Platz hat. */
  .page-hero { --orb: min(calc(100% - var(--header-h) - 40px), 30vw, 480px); }
  .page-hero::before { height: var(--orb); width: auto; aspect-ratio: 1; right: -5vw; top: calc(var(--header-h) + 16px);
    background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F3F4F6 38%, #E4E7EB 68%, #D5D9DE 100%);
    box-shadow: inset -22px -34px 70px rgba(11, 12, 14, .07), inset 0 1px 0 #FFFFFF, 0 50px 110px -50px rgba(11, 12, 14, .30);
    -webkit-mask: linear-gradient(to bottom, #000 62%, transparent 100%); mask: linear-gradient(to bottom, #000 62%, transparent 100%); }
  .page-hero::after { height: calc(var(--orb) * .56); width: auto; aspect-ratio: 2.4; right: -9vw; top: calc(var(--header-h) + 16px + var(--orb) / 2);
    transform: translateY(-50%) rotate(-10deg); border: 1px solid rgba(11, 12, 14, .09);
    -webkit-mask: linear-gradient(to right, transparent 0%, #000 30%); mask: linear-gradient(to right, transparent 0%, #000 30%); }
}

/* Meridian-Linie zeichnet sich beim Laden. */
.draw-line.rail::before { animation: rail-draw var(--dur-4) var(--ease-out) both; }
@keyframes rail-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Werkband: neun Original-Icons als farbiger Index. */
.werkband { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; margin-top: clamp(40px, 6vw, 72px); }
.werkband a { display: grid; justify-items: center; gap: 10px; text-decoration: none; padding: 6px 0; border-radius: 16px; }
.werkband img { width: clamp(56px, 5.4vw, 76px); height: auto; border-radius: 22%; box-shadow: 0 1px 2px rgba(11, 12, 14, .08), 0 8px 20px rgba(11, 12, 14, .10);
  transition: transform var(--dur-2) var(--spring), box-shadow var(--dur-2); }
.werkband a:hover img, .werkband a:focus-visible img { transform: translateY(-4px) scale(1.04); box-shadow: 0 2px 4px rgba(11, 12, 14, .08), 0 16px 30px rgba(11, 12, 14, .16); }
.werkband span { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; color: var(--ink-3); text-align: center; line-height: 1.3; }
/* Neun Spalten erst ab 1024 px: darunter wären die Namen (bis 11 Zeichen Mono) breiter als die Spalte, vor allem in der Systemschrift. */
@media (min-width: 1024px) { .werkband { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-family: var(--mono); font-size: .8rem; letter-spacing: .03em; color: var(--ink-3); }
.facts div { display: flex; gap: 8px; align-items: baseline; }
.facts dt { font-family: var(--sans); font-size: 1.05rem; font-weight: 620; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- Hero-Bühne „Nachtglobus“ (Premium-Stufe 2) ----------
   Monochromer Globus mit Korona und zwei Meridianen; die neun Produkte kreisen auf einer Umlaufbahn.
   Farbe kommt nur aus den App-Icons. Ohne Bewegung (reduziert) steht alles still, ohne JS ist alles lesbar. */
.hero--night { position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(20px, 4vw, 56px)); padding-bottom: clamp(56px, 8vw, 120px); }
.hero--night::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(48% 44% at 72% 38%, rgba(255, 255, 255, .085), rgba(255, 255, 255, 0) 72%),
    radial-gradient(36% 30% at 6% 100%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%); }
.hero--night::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .32; mix-blend-mode: soft-light; background-size: 180px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__grid { display: grid; gap: clamp(4px, 2vw, 24px); align-items: center; }
.hero__stage { position: relative; --G: min(46vw, 210px); --rx: calc(var(--G) * .8); --ry: calc(var(--G) * .64); --icon: clamp(40px, 11vw, 52px);
  height: calc(var(--ry) * 2 + var(--icon) + 16px); }
.hero--night .display { max-width: 13ch; }
@media (min-width: 1200px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(calc(100svh - 110px), 880px); }
  .hero__stage { order: 2; --G: clamp(240px, 20.5vw, 320px); --icon: clamp(54px, 4.4vw, 66px); }
  .hero__content { order: 1; }
  .hero--night .display { font-size: clamp(4rem, 1rem + 5.2vw, 6.75rem); font-stretch: 108%; max-width: 12ch; }
}
.globe { position: absolute; left: 50%; top: 50%; width: var(--G); aspect-ratio: 1; transform: translate(-50%, -50%); perspective: 1100px; pointer-events: none; }
.globe > span { position: absolute; border-radius: 50%; }
.globe__halo { inset: -44%; background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05) 46%, rgba(255, 255, 255, 0) 72%);
  animation: globe-halo 9s ease-in-out infinite; }
.globe__corona { inset: -5%; filter: blur(3px);
  background: conic-gradient(from 20deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .65) 12%, rgba(255, 255, 255, 0) 26%, rgba(255, 255, 255, .3) 48%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, .5) 82%, rgba(255, 255, 255, 0));
  -webkit-mask: radial-gradient(closest-side, transparent 85%, #000 91%, transparent 100%); mask: radial-gradient(closest-side, transparent 85%, #000 91%, transparent 100%);
  animation: globe-spin 30s linear infinite; }
.globe__sphere { inset: 0; background: radial-gradient(circle at 34% 28%, #2C2F36 0%, #16181C 34%, #08090B 66%, #050506 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), inset 0 1px 0 rgba(255, 255, 255, .3), inset -18px -26px 60px rgba(0, 0, 0, .75), 0 40px 90px rgba(0, 0, 0, .6); }
.globe__meridian { inset: -1px; border: 1px solid rgba(255, 255, 255, .34); animation: globe-meridian 14s linear infinite; }
.globe__meridian--b { border-color: rgba(255, 255, 255, .15); animation-delay: -7s; }
@keyframes globe-halo { 50% { transform: scale(1.07); opacity: .78; } }
@keyframes globe-spin { to { transform: rotate(1turn); } }
@keyframes globe-meridian { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

/* Umlaufbahn ganz auf der Grafikkarte (Nutzer 24.09.: „Auf dem Handy ist es nicht flüssig“): Die Bahn (ein Punkt in der Globusmitte)
   dreht sich und ist um --ry/--rx = .8 gestaucht; jedes Icon dreht sich gegenläufig und entzerrt sich, bleibt also aufrecht. Die Tiefe
   (vorn groß, hinten klein) läuft als phasenversetzte Animation mit derselben Periode. Keine Custom-Property pro Bild mehr. Wischen verstellt
   in site.js nur die Zeit dieser drei Animationen. */
.orbit { position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: 0; padding: 0; transform: scaleY(.8); animation: orbit-spin 150s linear infinite; }
.orbit::before { content: ""; position: absolute; left: 0; top: 0; width: calc(var(--rx) * 2); height: calc(var(--rx) * 2); transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .09); pointer-events: none; }
@keyframes orbit-spin { from { transform: scaleY(.8) rotate(0deg); } to { transform: scaleY(.8) rotate(360deg); } }
@keyframes orbit-counter { from { transform: rotate(0deg) scaleY(1.25); } to { transform: rotate(-360deg) scaleY(1.25); } }
@keyframes orbit-depth {
  0% { scale: .8; opacity: .72; animation-timing-function: cubic-bezier(.61, 1, .88, 1); }
  25% { scale: 1; opacity: 1; animation-timing-function: cubic-bezier(.12, 0, .39, 0); }
  50% { scale: .8; opacity: .72; animation-timing-function: cubic-bezier(.61, 1, .88, 1); }
  75% { scale: .6; opacity: .44; animation-timing-function: cubic-bezier(.12, 0, .39, 0); }
  100% { scale: .8; opacity: .72; }
}
.orbit__item { position: absolute; left: 0; top: 0; width: var(--icon);
  transform: translate(-50%, -50%) translate(calc(cos(var(--a)) * var(--rx)), calc(sin(var(--a)) * var(--rx))); }
.orbit__item:nth-child(1) { --a: 90deg; --phase: -37.5s; } .orbit__item:nth-child(2) { --a: 130deg; --phase: -54.167s; } .orbit__item:nth-child(3) { --a: 170deg; --phase: -70.833s; }
.orbit__item:nth-child(4) { --a: 210deg; --phase: -87.5s; } .orbit__item:nth-child(5) { --a: 250deg; --phase: -104.167s; } .orbit__item:nth-child(6) { --a: 290deg; --phase: -120.833s; }
.orbit__item:nth-child(7) { --a: 330deg; --phase: -137.5s; } .orbit__item:nth-child(8) { --a: 10deg; --phase: -4.167s; } .orbit__item:nth-child(9) { --a: 50deg; --phase: -20.833s; }
.orbit__item a { position: relative; display: block; border-radius: 23%; text-decoration: none; transform: scaleY(1.25); animation: orbit-counter 150s linear infinite; }
.orbit__item img { width: 100%; border-radius: 23%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .10), 0 14px 32px rgba(0, 0, 0, .55); transition: transform var(--dur-2) var(--spring);
  animation: orbit-depth 150s linear infinite; animation-delay: var(--phase, 0s); }
.orbit__item a:hover img, .orbit__item a:focus-visible img { transform: scale(1.14); }
.orbit__item a:focus-visible { outline-offset: 5px; }
/* Name als Glasschild bei Zeigen/Fokus; der Link trägt denselben Text als zugänglichen Namen. */
.orbit__name { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap;
  background: rgba(22, 24, 28, .86); color: var(--on-night); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); font-family: var(--mono); font-size: .68rem; letter-spacing: .04em;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-1) var(--ease-out); }
.orbit__item a:hover .orbit__name, .orbit__item a:focus-visible .orbit__name { opacity: 1; }
@supports not (width: calc(cos(0deg) * 1px)) {
  .orbit { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 12px; width: auto; height: auto; transform: none; animation: none; }
  .orbit::before { display: none; }
  .orbit__item { position: static; transform: none; }
  .orbit__item a, .orbit__item img { transform: none; animation: none; }
}

/* Überschrift steigt Wort für Wort auf (nur Transformation, der Text bleibt ohne JS vollständig). */
.hero .display .w > span { animation: word-rise .9s var(--spring) both; animation-delay: .12s; }
.hero .display .w:nth-child(2) > span { animation-delay: .17s; } .hero .display .w:nth-child(3) > span { animation-delay: .22s; }
.hero .display .w:nth-child(4) > span { animation-delay: .27s; } .hero .display .w:nth-child(5) > span { animation-delay: .32s; }
.hero .display .w:nth-child(6) > span { animation-delay: .37s; } .hero .display .w:nth-child(7) > span { animation-delay: .42s; }
.hero .display .w:nth-child(8) > span { animation-delay: .47s; } .hero .display .w:nth-child(9) > span { animation-delay: .52s; }

.hero--night .lede { color: var(--on-night-2); }
.hero--night .facts { margin-top: clamp(28px, 4vw, 44px); gap: 10px; color: var(--on-night-3); }
.hero--night .facts div { padding: 9px 16px 9px 14px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px rgba(255, 255, 255, .08); }
.hero--night .facts dt { color: var(--on-night); }

/* Leitfarben der Produkte (Leuchtfarbe aus dem App-Icon, tools/content/products.mjs → BRAND.glow). */
[data-tint="fahrtenklar"] { --tint: 59 207 160; } [data-tint="schichtklar"] { --tint: 97 65 200; } [data-tint="kassensturz"] { --tint: 43 223 170; }
[data-tint="zaehlerstand"] { --tint: 35 182 230; } [data-tint="turnierklar"] { --tint: 230 64 35; } [data-tint="krawumm"] { --tint: 251 135 14; }
[data-tint="eloir"] { --tint: 211 105 176; } [data-tint="myfoody"] { --tint: 227 161 89; } [data-tint="northprofit"] { --tint: 92 58 231; }

/* ---------- Abschnittskopf ---------- */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-head .lede { max-width: 52ch; }

/* ---------- Leistungsindex ---------- */
.services { display: grid; gap: var(--gutter); }
@media (min-width: 1024px) { .services { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.service-index { border-top: 1px solid var(--line); }
.service-row a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px clamp(12px, 2vw, 24px); padding: clamp(20px, 3vw, 32px) 0; text-decoration: none;
  border-bottom: 1px solid var(--line); position: relative;
}
.service-row__name {
  font-size: clamp(1.5rem, 1.05rem + 2.5vw, 3.25rem); font-weight: 560; font-stretch: 100%; letter-spacing: -.025em; line-height: 1.04;
  transition: transform var(--dur-2) var(--spring);
}
@media (min-width: 768px) { .service-row__name { font-stretch: 112%; letter-spacing: -.03em; } }
.service-row__text { grid-column: 1; color: var(--ink-2); max-width: 46ch; }
.service-row__go {
  grid-column: 2; grid-row: 1 / span 2; align-self: center; width: clamp(40px, 4vw, 48px); height: clamp(40px, 4vw, 48px); border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); transition: background-color var(--dur-2), color var(--dur-2), transform var(--dur-2) var(--spring), border-color var(--dur-2);
}
.service-row__go svg { width: 18px; height: 18px; }
.service-row a:hover .service-row__name, .service-row a:focus-visible .service-row__name, .service-row.is-active .service-row__name { transform: translateX(8px); }
.service-row a:hover .service-row__go, .service-row a:focus-visible .service-row__go, .service-row.is-active .service-row__go { background: var(--ink); color: var(--canvas); border-color: var(--ink); transform: rotate(-45deg); }
.service-preview { display: none; }
@media (min-width: 1024px) {
  .service-preview { display: block; position: sticky; top: calc(var(--header-h) + 48px); aspect-ratio: 4 / 5; }
  .service-preview figure { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(10px) scale(.985);
    transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--spring); }
  .service-preview figure.is-shown { opacity: 1; transform: none; }
  .service-preview .capture--phone { width: 58%; }
  .service-preview .capture--web { width: 100%; }
}

/* ---------- Geräte-Mockups (Nutzer 24.09.: „lieber mockups … mit motions und premium Design“) ----------
   Echte App-Bildschirme in einem Handy- bzw. Laptop-Rahmen aus reinem CSS (keine fremden Gerätebilder, keine Marken).
   Bewegung nur über Transformation und Deckkraft; siehe „Bewegung v3“. */
.capture { position: relative; margin: 0; }
.capture picture, .capture img { display: block; width: 100%; }
/* Unterschriften liegen im weichen Schlagschatten der Geräte: eine Stufe dunkler, damit der Kontrast auch dort ≥ 4,5:1 bleibt. */
.device figcaption { margin-top: 22px; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink-2); line-height: 1.45; text-align: center; }
.night .device figcaption { color: var(--on-night-3); }

/* Handy: Titanrahmen mit Lichtkante, Bildschirm mit Dynamic Island und leichtem Glanz. */
.device--phone .device__body { position: relative; padding: 3.2%; border-radius: 15.5% / 7.3%;
  background: linear-gradient(152deg, #4a4d55 0%, #17181c 18%, #0b0c0e 58%, #2b2d33 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 3.5px #050506, 0 2px 3px rgba(11, 12, 14, .14),
    0 28px 56px -22px rgba(11, 12, 14, .42), 0 70px 120px -60px rgba(11, 12, 14, .5); }
.device--phone .device__body::before, .device--phone .device__body::after { content: ""; position: absolute; width: 1.3%; border-radius: 3px;
  background: linear-gradient(90deg, #121317, #3d4047); }
.device--phone .device__body::before { left: -1.1%; top: 17%; height: 11%; }
.device--phone .device__body::after { right: -1.1%; top: 22%; height: 8%; }
.device--phone .device__screen { position: relative; overflow: hidden; border-radius: 12.6% / 5.9%; background: #000; }
.device--phone .device__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, 0) 30%); }
.device__island { position: absolute; left: 50%; top: 1.25%; width: 31%; height: 4.1%; translate: -50% 0; border-radius: 999px; background: #050506;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04); }
.night .device--phone .device__body { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 0 0 3.5px #050506, 0 0 0 1px rgba(255, 255, 255, .06),
  0 30px 70px -26px rgba(0, 0, 0, .8), 0 80px 140px -70px rgba(0, 0, 0, .9); }

/* Laptop: dunkler Deckel mit Kamera, Fensterleiste im Bildschirm, Unterteil in Aluminium (auf Nacht in Graphit). */
.device--laptop { width: 100%; }
.device--laptop .device__lid { position: relative; width: 86%; margin-inline: auto; padding: 2.1% 2.1% 2.8%; border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #202227, #0b0c0e 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -34px rgba(11, 12, 14, .5); }
.device__camera { position: absolute; top: .75%; left: 50%; width: 5px; height: 5px; translate: -50% 0; border-radius: 50%; background: #2c2f36;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.device--laptop .device__screen { position: relative; overflow: hidden; border-radius: 4px; background: var(--night-2); }
.device--laptop .device__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, 0) 26%); }
.device__base { position: relative; height: clamp(9px, 1.6vw, 16px); border-radius: 0 0 16px 16px / 0 0 12px 12px;
  background: linear-gradient(180deg, #e3e5e9 0%, #c7cbd1 45%, #9ca1a8 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 26px 40px -22px rgba(11, 12, 14, .5); }
.device__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; translate: -50% 0; border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #a7abb2, #cfd2d7); }
.night .device--laptop .device__lid { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 1px rgba(255, 255, 255, .05); }
.night .device__base { background: linear-gradient(180deg, #43464d 0%, #26282d 50%, #131417 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 30px 50px -24px rgba(0, 0, 0, .9); }
.night .device__base::before { background: linear-gradient(180deg, #16171a, #2c2e33); }
.frame__bar { display: flex; align-items: center; gap: 7px; height: clamp(18px, 2.4vw, 28px); padding: 0 12px; background: #1C1E23; color: #9DA2AA;
  font-family: var(--mono); font-size: clamp(.5rem, .45rem + .2vw, .66rem); letter-spacing: .02em; white-space: nowrap; overflow: hidden; }
.frame__bar i { width: 7px; height: 7px; border-radius: 50%; background: #3A3D44; flex: none; }
.frame__bar b { font-weight: 500; margin-left: 6px; overflow: hidden; text-overflow: ellipsis; }

/* Geräte-Szene: Laptop hinten, Handy überlappend davor (Tiefe über Schatten und beim Scrollen über unterschiedliche Parallaxe). */
.scene { position: relative; width: 100%; }
.scene .device figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.scene__devices { position: relative; }
.scene--duo .scene__devices { padding-left: 7%; padding-bottom: 5%; }
.scene--duo .scene__front { position: absolute; left: 0; bottom: 0; width: 27%; z-index: 1; }
.scene--duo .scene__front .device__body { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 3.5px #050506, 0 2px 3px rgba(11, 12, 14, .18),
  0 30px 60px -18px rgba(11, 12, 14, .55), 0 70px 110px -50px rgba(11, 12, 14, .55); }
.scene__caption { margin-top: 22px; font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink-3); line-height: 1.45; text-align: center; }
.night .scene__caption { color: var(--on-night-3); }

/* Filmleiste echter Screens */
.filmstrip { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margin); padding: 8px var(--margin) 28px; margin-inline: calc(-1 * var(--margin));
  scrollbar-width: thin; overscroll-behavior-x: contain; }
.filmstrip > * { scroll-snap-align: start; flex: none; }
.filmstrip .capture--phone { width: clamp(190px, 21vw, 270px); padding-top: 8px; }
.filmstrip .capture--web { width: clamp(300px, 56vw, 800px); padding-top: 8px; }
.filmstrip:focus-visible { outline-offset: -2px; }

/* ---------- Werkproben ---------- */
.feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature--flip .feature__text { order: 2; }
}
.feature + .feature { margin-top: var(--section); }
.feature__text { display: grid; gap: 18px; align-content: start; }
.feature__name { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.5rem); font-weight: 580; font-stretch: 114%; letter-spacing: -.035em; line-height: 1; }
.feature__benefit { font-size: var(--fs-lede); line-height: 1.45; color: var(--ink-2); max-width: 36ch; }
.night .feature__benefit { color: var(--on-night-2); }
.feature__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.store-line { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; color: var(--ink-3); }
.night .store-line { color: var(--on-night-3); }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 4px 12px; border-radius: var(--r-pill); background: var(--surface-2); color: var(--ink-2);
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.night .tag { background: var(--night-2); color: var(--on-night-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--relaunch::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.status--web::before { border-radius: 2px; }
.feature__links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 6px; }
.feature__media { display: grid; gap: 24px; justify-items: center; }
.feature__media--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.feature__media--pair .capture--phone { width: 100%; max-width: 300px; }
.feature__media--pair .capture--phone:nth-child(2) { margin-top: clamp(24px, 6vw, 72px); }
.feature__media > .feature__media--mixed { width: 100%; }
.feature__media--mixed { grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 720px) { .feature__media--mixed { grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); align-items: end; } }
.feature__media--mixed .capture--phone { width: 100%; max-width: 280px; }

/* Bühnen (Premium-Stufe 2): jede Werkprobe auf eigener Karte mit Licht in der Produktfarbe und leichter Neigung zum Zeiger. */
.feature.stage { position: relative; isolation: isolate; overflow: hidden; border-radius: clamp(26px, 3.2vw, 44px); padding: clamp(22px, 4.5vw, 72px);
  background: var(--surface); box-shadow: 0 0 0 1px rgba(11, 12, 14, .06), 0 40px 90px -40px rgba(11, 12, 14, .28); }
.feature.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 62% at calc(76% + var(--tx, 0) * 16%) calc(42% + var(--ty, 0) * 16%), rgb(var(--tint) / .24), rgb(var(--tint) / 0) 70%); }
.feature--flip.stage::before { background: radial-gradient(52% 62% at calc(24% + var(--tx, 0) * 16%) calc(42% + var(--ty, 0) * 16%), rgb(var(--tint) / .24), rgb(var(--tint) / 0) 70%); }
.night .feature.stage { background: #0E0F12; box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 50px 120px -50px rgba(0, 0, 0, .9); }
.night .feature.stage::before { background: radial-gradient(54% 66% at calc(74% + var(--tx, 0) * 16%) calc(40% + var(--ty, 0) * 16%), rgb(var(--tint) / .38), rgb(var(--tint) / 0) 70%); }
.feature.stage + .feature.stage { margin-top: clamp(20px, 3vw, 40px); }
.stage .feature__media { transform: perspective(1400px) rotateY(calc(var(--tx, 0) * 5deg)) rotateX(calc(var(--ty, 0) * -4deg)); transition: transform .7s var(--ease-out); }

/* Bildwechsel (F-IMG) */
.switcher { display: grid; gap: 20px; justify-items: center; }
.switcher__buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.switcher__panel { width: min(100%, 320px); }
.switcher.is-switched .switcher__panel .capture { animation: panel-in var(--dur-3) var(--ease-out); } /* Ruhezustand beim Laden */
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Werkverzeichnis ---------- */
.catalog { display: grid; gap: 0; border-top: 1px solid var(--line); }
.catalog__item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.catalog__item > picture { grid-column: 1; grid-row: 1 / span 3; }
.catalog__item > :not(picture) { grid-column: 2; min-width: 0; }
.catalog__item img { width: 56px; border-radius: 22%; box-shadow: 0 1px 2px rgba(11, 12, 14, .08), 0 6px 16px rgba(11, 12, 14, .08); }
.catalog__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.catalog__name { font-size: 1.375rem; font-weight: 600; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.15; }
.catalog__benefit { color: var(--ink-2); max-width: 62ch; }
.catalog__meta { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink-3); }

/* Kompaktes Werkverzeichnis der Startseite: eine Zeile je Produkt, Licht in der Produktfarbe beim Zeigen. */
.pindex { border-top: 1px solid var(--line); }
.pindex a { position: relative; isolation: isolate; display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 6px 16px;
  padding: 16px 6px; border-bottom: 1px solid var(--line); text-decoration: none; }
.pindex a::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity var(--dur-2) var(--ease-out);
  background: linear-gradient(90deg, rgb(var(--tint) / .16), rgb(var(--tint) / 0) 62%); }
.pindex a:hover::before, .pindex a:focus-visible::before { opacity: 1; }
.pindex picture { grid-row: 1 / span 2; }
.pindex img { width: 48px; border-radius: 22%; box-shadow: 0 1px 2px rgba(11, 12, 14, .08), 0 8px 18px rgba(11, 12, 14, .12); transition: transform var(--dur-2) var(--spring); }
.pindex__name { font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem); font-weight: 580; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.08; transition: transform var(--dur-2) var(--spring); }
/* Mobil zweizeilig: Name, darunter Status; die Kategorie steht als Filter unter /produkte/. */
.pindex__cat { display: none; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: var(--ink-3); }
.pindex__name { grid-column: 2; grid-row: 1; }
.pindex .status { grid-column: 2; grid-row: 2; justify-self: start; white-space: nowrap; }
.pindex__go { grid-column: 3; grid-row: 1 / span 2; justify-self: end; width: 18px; height: 18px; transition: transform var(--dur-2) var(--spring); }
.pindex a:hover .pindex__name, .pindex a:focus-visible .pindex__name { transform: translateX(6px); }
.pindex a:hover img, .pindex a:focus-visible img { transform: translateY(-2px) scale(1.06); }
.pindex a:hover .pindex__go, .pindex a:focus-visible .pindex__go { transform: translateX(4px); }
.pindex + .actions { margin-top: 28px; }
@media (min-width: 900px) {
  /* Feste Spalten, damit Kategorie und Status über alle Zeilen bündig stehen. */
  .pindex a { grid-template-columns: 48px minmax(0, 1.3fr) minmax(0, 1fr) 13.5rem 28px; gap: 24px; padding: 18px 12px; }
  .pindex picture, .pindex__name, .pindex__cat, .pindex .status, .pindex__go { grid-row: auto; grid-column: auto; }
  .pindex__cat { display: block; }
  .pindex .status { justify-self: start; }
}
.catalog__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.catalog__links a { font-weight: 560; font-size: .9375rem; text-decoration: none; border-bottom: 1px solid currentColor; display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.catalog__links svg { width: 14px; height: 14px; }
.catalog__legal { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8125rem; color: var(--ink-3); margin-top: 6px; }
.catalog__legal a { text-decoration-color: rgba(92, 97, 106, .5); }
@media (min-width: 720px) {
  .catalog--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 3.4vw, 56px); }
  .catalog--grid .catalog__item { padding: 26px 0; }
}
@media (min-width: 1100px) { .catalog--grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.catalog__item.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity var(--dur-2), transform var(--dur-2); }
/* Produktlicht im Werkverzeichnis: Icon hebt sich, ein Schein in der Produktfarbe liegt hinter dem Eintrag. */
.catalog__item { position: relative; isolation: isolate; }
.catalog__item::before { content: ""; position: absolute; inset: 0 -14px; z-index: -1; border-radius: 22px; pointer-events: none; opacity: 0;
  background: radial-gradient(70% 90% at 0% 0%, rgb(var(--tint) / .14), rgb(var(--tint) / 0) 70%); transition: opacity var(--dur-3) var(--ease-out); }
.catalog__item:hover::before, .catalog__item:focus-within::before { opacity: 1; }
.catalog__item img { transition: transform var(--dur-2) var(--spring), box-shadow var(--dur-2); }
.catalog__item:hover img, .catalog__item:focus-within img { transform: translateY(-3px) scale(1.05); box-shadow: 0 2px 4px rgba(11, 12, 14, .08), 0 14px 28px rgb(var(--tint) / .35); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters-status { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 12px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); } }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.night .steps li { border-color: var(--night-line); }
.steps__n { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.night .steps li::before { background: var(--on-night); }
.steps h3 { font-size: var(--fs-sub); font-weight: 580; font-stretch: 106%; letter-spacing: -.01em; }
.steps p { color: var(--ink-2); }
.night .steps p { color: var(--on-night-2); }
.steps .deliverable { font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--ink-3); }

/* ---------- Listen: Aufgaben, Ergebnisse, Prinzipien ---------- */
.cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); } .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); } }
.cols > li, .cols > div, .cols > .checklist { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.werkband + .cols { margin-top: clamp(56px, 8vw, 112px); } /* Studio: Abstand zwischen Produktband und „Was Sie bei uns nicht finden“ */
.cols h3 { font-size: var(--fs-sub); font-weight: 580; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.2; }
.cols p { color: var(--ink-2); }
.checklist { display: grid; gap: 12px; }
@media (min-width: 900px) { .checklist--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: 16px; } }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; color: var(--ink-2); }
.checklist li::before { content: ""; width: 14px; height: 2px; margin-top: .8em; background: var(--ink-2); } /* ganze Pixel: 1,5 px wirkt je nach Zeile unterschiedlich stark */

/* ---------- Belege ---------- */
.evidence { display: grid; border-top: 1px solid var(--line); }
.evidence li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.evidence li > picture, .evidence li > .tag, .evidence li > .evidence__signet { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
.evidence li > :not(picture):not(.tag):not(.evidence__signet) { grid-column: 2; min-width: 0; }
.evidence img { width: 44px; border-radius: 22%; }
.evidence__signet svg { display: block; width: 44px; height: 44px; color: var(--ink); }
.evidence strong { font-weight: 600; }
.evidence p { color: var(--ink-2); }
.note { margin-top: 18px; color: var(--ink-3); font-size: var(--fs-small); max-width: 70ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0;
  font-size: var(--fs-sub); font-weight: 560; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.25;
  -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; } /* „Suchmaschinenoptimierung“ passt bei 320 px sonst nicht */
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-inline-end: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform var(--dur-2) var(--spring); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* ---------- Wissen ---------- */
.article-list { border-top: 1px solid var(--line); }
.article-list a { display: grid; gap: 8px; padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.article-list h3 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 560; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.12; transition: transform var(--dur-2) var(--spring); }
.article-list a:hover h3, .article-list a:focus-visible h3 { transform: translateX(6px); }
.article-list p { color: var(--ink-2); max-width: 70ch; }
.article-layout { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } .toc { position: sticky; top: calc(var(--header-h) + 48px); align-self: start; } }
.toc ol { display: grid; gap: 10px; margin-top: 14px; counter-reset: toc; }
.toc a { text-decoration: none; color: var(--ink-2); font-size: .9375rem; display: grid; grid-template-columns: 28px 1fr; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; color: var(--ink-3); padding-top: .15em; }
.toc a:hover { color: var(--ink); }
.answer { background: var(--surface); border-radius: var(--r-card); padding: clamp(22px, 3vw, 32px); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 10px; }
.answer p:not(.label) { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink); max-width: 60ch; }
.article-body { display: grid; gap: clamp(36px, 5vw, 56px); }
.article-body section { display: grid; gap: 14px; scroll-margin-top: calc(var(--header-h) + 40px); }
.article-body h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 560; font-stretch: 108%; letter-spacing: -.02em; line-height: 1.12; max-width: 28ch; }
.article-body h2 .n { display: block; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 10px; font-stretch: 100%; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: .75rem; letter-spacing: .03em; color: var(--ink-3); margin-top: 24px; }
.sources { display: grid; gap: 8px; font-size: var(--fs-small); color: var(--ink-3); }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: clamp(40px, 6vw, 72px); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(48px, 7vw, 120px); } }
.form { display: grid; gap: 28px; }
/* Formular auf eigener heller Bühne; Felder leicht abgesetzt, beim Fokus weiß (Premium-Stufe 2). */
.form { background: var(--surface); border-radius: clamp(24px, 3vw, 36px); padding: clamp(20px, 3.6vw, 48px);
  box-shadow: 0 0 0 1px rgba(11, 12, 14, .06), 0 40px 90px -44px rgba(11, 12, 14, .28); }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 28px; }
.form legend, .field label { font-weight: 580; font-size: 1rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; padding: 0; }
.optional { font-family: var(--mono); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; position: relative; }
.field { display: grid; align-content: start; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--field-line); background: var(--surface);
  font-size: 1rem; line-height: 1.5; transition: border-color var(--dur-1), box-shadow var(--dur-1);
}
.field textarea { min-height: 180px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ink-3); }
.form .field input, .form .field textarea { background: var(--canvas); }
.field input:focus, .field textarea:focus, .form .field input:focus, .form .field textarea:focus { outline: none; border-color: var(--ink); background: var(--surface); box-shadow: 0 0 0 3px rgba(11, 12, 14, .12); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12); }
.field .hint { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-3); }
.field .error { margin-top: 8px; font-size: var(--fs-small); color: #B3261E; font-weight: 560; }
.field .counter { margin-top: 8px; font-family: var(--mono); font-size: .72rem; color: var(--ink-3); justify-self: end; }
.row-2 { display: grid; gap: 28px; }
@media (min-width: 720px) { .row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.privacy-note { font-size: var(--fs-small); color: var(--ink-3); max-width: 60ch; }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.sendline { flex: 1 1 160px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; opacity: 0; transition: opacity var(--dur-2); }
.is-sending .sendline { opacity: 1; }
.sendline::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.is-sending .sendline::after { animation: send 1.6s var(--ease-out) infinite; }
@keyframes send { 0% { transform: scaleX(0); } 70% { transform: scaleX(.85); } 100% { transform: scaleX(.95); opacity: .4; } }
.form-status { border-radius: 16px; padding: 0; font-weight: 520; }
.form-status:not(:empty) { padding: 16px 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.form-status[data-tone="error"]:not(:empty) { box-shadow: 0 0 0 1px rgba(179, 38, 30, .35); color: #7D1A14; background: #FFF6F5; }
.form-status .status-actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-weight: 560; }
.form-status button { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; font-weight: 580; }
.receipt { background: var(--night); color: var(--on-night); border-radius: var(--r-card); padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; animation: receipt-in var(--dur-3) var(--spring); }
@keyframes receipt-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.receipt h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 580; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.1; }
.receipt p { color: var(--on-night-2); }
.receipt code { font-family: var(--mono); font-size: .85rem; color: var(--on-night); background: var(--night-2); padding: 6px 10px; border-radius: 10px; display: inline-block; overflow-wrap: anywhere; }
.aside { display: grid; gap: 28px; align-content: start; }
.aside > div { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.aside h2 { font-size: 1.125rem; font-weight: 600; }
.aside p { color: var(--ink-2); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.email-line strong { font-size: 1.125rem; font-weight: 600; user-select: all; }
.copy, .mail-action { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-size: .8125rem; font-weight: 560; cursor: pointer;
  transition: border-color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out); }
.copy:hover, .mail-action:hover { border-color: var(--field-line); }
.copy:active, .mail-action:active { transform: scale(.97); }
/* „E-Mail schreiben“: Link im Knopfstil, nie am Bindestrich umbrochen, Pfeil wie bei den Hauptaktionen. */
.mail-action { gap: 8px; text-decoration: none; white-space: nowrap; }
.mail-action svg { width: 14px; height: 14px; flex: none; transition: transform var(--dur-2) var(--spring); }
.mail-action:hover svg { transform: translateX(2px); }
/* Auf Nachtflächen (auch der Quittungskarte) eigene Farben, sonst erbt der Text das helle Grau der Absätze. */
.night .copy, .receipt .copy, .night .mail-action { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
/* Ansprechpartner: Name, Rolle, direkter Draht per E-Mail und LinkedIn (Studio, Autorenbox, Kontakt, Startseite). */
.person { display: grid; gap: 4px; margin-top: 32px; max-width: 32rem; padding: clamp(22px, 3vw, 30px); border-radius: var(--r-card);
  background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--lift); }
.person > .label { margin-bottom: 6px; }
.person .person__name { font-size: var(--fs-sub); font-weight: 580; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
.person .person__company { font-size: var(--fs-small); color: var(--ink-3); }
.person .person__role { font-family: var(--mono); font-size: .75rem; letter-spacing: .04em; line-height: 1.5; color: var(--ink-3); }
.person .person__bio { margin-top: 10px; color: var(--ink-2); max-width: 46ch; }
.person__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.person__mail { font-size: 1.0625rem; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
  border-bottom: 1px solid transparent; transition: border-color var(--dur-1) var(--ease-out); }
.person__mail:hover { border-bottom-color: currentColor; }
.person--plain { margin-top: 0; padding: 0; background: none; box-shadow: none; }
.person--plain .person__name, .aside .person--plain .person__name { font-size: 1.125rem; font-weight: 600; font-stretch: 100%; }
.person--line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; max-width: none; margin-top: 28px; padding: 18px 0 0;
  border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--line); }
.person--line .person__name { font-size: 1.0625rem; font-weight: 600; font-stretch: 100%; }
.person--line .person__mail, .person--line .arrow-link { font-size: 1rem; color: var(--ink); }
.night .copy:hover, .receipt .copy:hover { border-color: var(--on-night-3); }
.noscript-note { padding: 16px 18px; border-radius: 16px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }

/* ---------- CTA-Band und Footer ---------- */
.cta-band { padding-block: clamp(80px, 11vw, 176px) clamp(64px, 8vw, 112px); position: relative; overflow: hidden; isolation: isolate; }
/* Nachklang des Nachtglobus: Lichthof und Umlaufbahn rechts im Kontaktband. */
.cta-band::before, .cta-band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; top: 50%; }
.cta-band::before { width: clamp(420px, 56vw, 900px); aspect-ratio: 1; right: -14%; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .10), rgba(255, 255, 255, .03) 52%, rgba(255, 255, 255, 0) 74%); }
.cta-band::after { width: clamp(360px, 46vw, 760px); aspect-ratio: 1.6; right: -8%; transform: translateY(-50%) rotate(-8deg); border: 1px solid rgba(255, 255, 255, .08); }
.cta-band .title { font-size: clamp(1.875rem, 1rem + 4.6vw, 5.5rem); max-width: 14ch; line-height: 1; }
@media (min-width: 768px) { .cta-band .title { font-stretch: 114%; letter-spacing: -.035em; line-height: .98; } }
.cta-band .lede { margin-top: 24px; }
.cta-band .actions { margin-top: 36px; }
.site-footer { padding-block: clamp(56px, 7vw, 96px) calc(env(safe-area-inset-bottom, 0px) + 40px); border-top: 1px solid var(--night-line); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); } }
.footer-grid h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-3); font-weight: 500; margin-bottom: 14px; }
.footer-grid ul { display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--on-night-2); min-height: 32px; display: inline-flex; align-items: center; }
.footer-grid a:hover { color: var(--on-night); }
.footer-claim { color: var(--on-night-2); max-width: 34ch; margin-top: 16px; }
.site-footer .wordmark__text span { color: var(--on-night-3); }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .03em; color: var(--on-night-3); }

/* ---------- Rechtstexte ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); } /* lange Adressen im Text sprengen die Spalte nicht */
@media (min-width: 1024px) { .legal { grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); } }
.legal-doc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; max-width: 72ch; }
.legal-doc section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; scroll-margin-top: calc(var(--header-h) + 40px); }
.legal-doc a { overflow-wrap: anywhere; } /* Adressen wie apps.northprofit.eu/schichtklar/konto-loeschen dürfen im Schmalen umbrechen */
.legal-doc h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 580; letter-spacing: -.01em; }
.legal-doc p { color: var(--ink-2); }
.legal-doc .stand { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); letter-spacing: .03em; }

/* ---------- 404 ---------- */
.not-found .display { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 6rem); }
/* Die große 404 ist reine Dekoration (die H1 sagt es): als erzeugter Inhalt, nicht als Text im Dokument. */
.not-found .code { font-family: var(--mono); font-size: clamp(4rem, 2rem + 10vw, 11rem); line-height: 1; color: var(--line); letter-spacing: -.04em; }
.not-found .code::before { content: "404"; }

/* ---------- App-Seiten (Nutzer 24.09.: „Ja, alle sechs (Empfohlen)“) ----------
   Support- und Rechtsseiten der sechs Apps im Studio-Rahmen. Inhalte wortgleich (du-Form der Apps); Farbe nur aus dem App-Icon (--tint). */
.app-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: clamp(32px, 5vw, 64px); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.app-nav__brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-size: 1.0625rem; font-weight: 620; font-stretch: 106%; letter-spacing: -.01em; }
.app-nav__brand img { width: 36px; border-radius: 22%; box-shadow: 0 1px 2px rgba(11, 12, 14, .1), 0 6px 16px rgb(var(--tint) / .3); transition: transform var(--dur-2) var(--spring); }
.app-nav__brand:hover img { transform: translateY(-2px) scale(1.05); }
.app-nav__links { display: flex; flex-wrap: wrap; gap: 2px; margin-left: auto; }
.app-nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--r-pill); text-decoration: none; font-size: .9375rem; font-weight: 520;
  color: var(--ink-2); transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1); }
.app-nav__links a:hover { color: var(--ink); background: rgba(11, 12, 14, .05); }
.app-nav__links a[aria-current="page"] { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 719.98px) { .app-nav__links { width: calc(100% + 14px); margin-left: -14px; } }

/* Kopf: Text links, zwei Handys vor dem Produktlicht rechts, darunter die App-Karte (mobil: Text, Szene, Karte). */
.app-hero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(28px, 4vw, 52px)); }
.app-hero::before, .app-hero::after { display: none; }
.app-hero__grid { display: grid; gap: clamp(40px, 5vw, 56px) clamp(32px, 5vw, 88px); grid-template-areas: "text" "scene" "card"; align-items: start; }
@media (min-width: 1024px) { .app-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "text scene" "card scene"; } }
.app-hero__text { grid-area: text; }
.app-hero .display { font-size: clamp(2.125rem, .95rem + 4.4vw, 5.5rem); max-width: 14ch; }
@media (max-width: 359.98px) { .app-hero .display { font-size: calc(-.1rem + 9.4vw); } }
.app-hero .lede { max-width: 44ch; }
.app-scene { grid-area: scene; justify-self: center; width: min(100%, 500px); }
.app-scene .scene__devices { position: relative; isolation: isolate; aspect-ratio: 4 / 5; }
.app-scene .device--phone { position: absolute; width: 48%; }
.app-scene__back { right: 4%; top: 0; }
.app-scene__front { left: 4%; bottom: 0; z-index: 1; }
.app-scene__front .device__body { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 0 3.5px #050506, 0 2px 3px rgba(11, 12, 14, .18),
  0 34px 64px -20px rgba(11, 12, 14, .5), 0 80px 120px -56px rgba(11, 12, 14, .5); }
/* Produktlicht: Kugel in der Leitfarbe der App hinter den Geräten, dazu ein Meridian-Ring (reines Dekor, ohne Unschärfe-Filter). */
.app-scene .scene__devices::before, .app-scene .scene__devices::after { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; translate: -50% -50%; }
.app-scene .scene__devices::before { width: 116%; aspect-ratio: 1;
  background: radial-gradient(circle farthest-side at 36% 30%, #FFFFFF 0%, rgb(var(--tint) / .2) 40%, rgb(var(--tint) / .44) 80%, rgb(var(--tint) / .56) 100%);
  box-shadow: inset -30px -44px 90px rgb(var(--tint) / .22), inset 0 1px 0 rgba(255, 255, 255, .9), 0 50px 120px -30px rgb(var(--tint) / .45); }
.app-scene .scene__devices::after { width: 142%; aspect-ratio: 2.4; rotate: -12deg; border: 1px solid rgb(var(--tint) / .34); }
.app-scene .scene__caption { margin-top: 18px; }
/* Schmal: Kugel und Ring bleiben innerhalb der Spalte, statt am Bildschirmrand angeschnitten zu werden. */
@media (max-width: 559.98px) { .app-scene .scene__devices::before { width: 100%; } .app-scene .scene__devices::after { width: 112%; } }

.app-card { grid-area: card; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px 20px; align-items: center;
  max-width: 40rem; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--lift); }
.app-card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 90% at 0% 0%, rgb(var(--tint) / .14), rgb(var(--tint) / 0) 70%); }
.app-card > picture img { width: 72px; border-radius: 22%; box-shadow: 0 1px 2px rgba(11, 12, 14, .08), 0 14px 28px rgb(var(--tint) / .32); }
.app-card__name { font-size: var(--fs-sub); font-weight: 600; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.15; }
.app-card__text { margin-top: 4px; color: var(--ink-2); }
.app-card__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.app-card__stores { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.app-card__store-title { grid-column: 1 / -1; margin-top: -8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .02em; line-height: 1.5; color: var(--ink-3); }

/* Schnelle Hilfe: nummerierte Antworten im Raster (Nummern nur als Gestaltung, nicht im Text). */
.cols--numbered { counter-reset: hilfe; }
.cols--numbered > li { scroll-margin-top: calc(var(--header-h) + 40px); }
.cols--numbered > li::before { counter-increment: hilfe; content: counter(hilfe, decimal-leading-zero); font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; color: var(--ink-3); }
.cols--numbered h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); }
@media (min-width: 640px) and (max-width: 899.98px) { .cols--numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gutter); } }
@media (min-width: 900px) { .cols--numbered { row-gap: clamp(36px, 4vw, 52px); } }

/* Schichtklar „Free und Pro“: zwei Tarifkarten, Pro auf Nachtgrund mit Produktlicht (ohne .night, damit die Kopfzeile hell bleibt). */
.plans { display: grid; gap: var(--gutter); }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { position: relative; isolation: isolate; overflow: hidden; padding: clamp(24px, 3.4vw, 44px); border-radius: clamp(22px, 2.6vw, 32px); background: var(--surface);
  box-shadow: 0 0 0 1px var(--line), var(--lift); }
.plan p { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.plan strong { display: block; margin-bottom: 12px; font-size: var(--fs-sub); font-weight: 600; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
.plan--pro { background: var(--night); color: var(--on-night); --focus: var(--on-night); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 90px -40px rgba(11, 12, 14, .55); }
.plan--pro::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 80% at 100% 0%, rgb(var(--tint) / .42), rgb(var(--tint) / 0) 70%); }
.plan--pro p { color: var(--on-night-2); }
.plan--pro strong { color: var(--on-night); }

/* Krawumm „Produktversprechen“: Überschrift und Versprechen nebeneinander, Produktlicht rechts. */
.app-promise { position: relative; isolation: isolate; overflow: hidden; }
.app-promise::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 50%; width: clamp(360px, 52vw, 780px); aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(var(--tint) / .22), rgb(var(--tint) / .06) 60%, rgb(var(--tint) / 0) 74%); }
.app-promise__grid { display: grid; gap: 8px var(--gutter); }
@media (min-width: 1024px) { .app-promise__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } .app-promise__grid .section-head { margin-bottom: 0; } }
.app-promise__text .lede { max-width: 38ch; color: var(--ink); }

/* Verweis aufs Studio am Ende der App-Startseite, darunter die übrigen acht Produkte. */
.app-studio__others { margin-top: clamp(56px, 8vw, 104px); padding-top: 28px; border-top: 1px solid var(--night-line); }
.werkband--8 { margin-top: 22px; }
@media (min-width: 560px) { .werkband--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .werkband--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.night .werkband span { color: var(--on-night-2); }
.night .werkband img { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 12px 28px rgba(0, 0, 0, .5); }

/* Rechtsseiten der Apps: Kopf mit App-Navigation, Kurzfassung als Karte, Listen mit eigener Zählung. */
.app-legal-hero { padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + clamp(28px, 4vw, 52px)); }
.app-legal-hero .display { font-size: clamp(2rem, 1.1rem + 3.6vw, 4.75rem); max-width: 18ch; }
/* Unter 390 px passt „Nutzungsbedingungen“ (rund 10 em breit) sonst nicht in eine Zeile; kleiner statt getrennt (Überschriften ohne Trennung). */
@media (max-width: 389.98px) { .app-legal-hero .display { font-size: 7.4vw; } }
.app-legal-hero .meta-line { margin-top: 20px; max-width: 60ch; }
@media (min-width: 720px) {
  .app-legal-hero::before { background: radial-gradient(circle at 34% 28%, #FFFFFF 0%, #F3F4F6 34%, rgb(var(--tint) / .16) 72%, rgb(var(--tint) / .30) 100%); }
  .app-legal-hero::after { border-color: rgb(var(--tint) / .22); }
}
.legal-notice { position: relative; isolation: isolate; overflow: hidden; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.legal-notice::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 100% at 0% 0%, rgb(var(--tint) / .12), rgb(var(--tint) / 0) 70%); }
.legal-doc .legal-notice p { color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.legal-doc ul, .legal-doc ol { display: grid; gap: 10px; color: var(--ink-2); }
.legal-doc ul > li { position: relative; padding-left: 26px; }
.legal-doc ul > li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 12px; height: 2px; background: var(--ink-3); }
.legal-doc ol { counter-reset: schritt; }
.legal-doc ol > li { position: relative; padding-left: 38px; counter-increment: schritt; }
.legal-doc ol > li::before { content: counter(schritt); position: absolute; left: 0; top: .1em; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-size: .75rem; background: var(--surface-2); color: var(--ink-2); }
.legal-doc code { font-family: var(--mono); font-size: .88em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); overflow-wrap: anywhere; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc .button { margin-block: 4px; }
/* Fußzeile der App-Seiten mit fünfter Spalte: „Nutzungsbedingungen“ (rund 190 px) braucht Platz. Bis 1399 px steht die Wortmarke
   in einer eigenen Zeile über zwei bzw. vier Linkspalten, erst darüber alles in einer Reihe. */
@media (min-width: 640px) { .footer-grid--app { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid--app > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer-grid--app { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .footer-grid--app { grid-template-columns: minmax(0, 3fr) repeat(4, minmax(0, 2fr)); } .footer-grid--app > :first-child { grid-column: auto; } }
.footer-note { margin-top: 48px; max-width: 86ch; font-size: var(--fs-small); line-height: 1.55; color: var(--on-night-2); }

/* ---------- Bewegung v2 (PF-05c): Auftakt, Scroll-Choreografie, Touch ----------
   Grundsatz: Ohne JS, ohne .motion (reduzierte Bewegung) und für alles, was beim Laden schon sichtbar war, gibt es keinen Vorzustand.
   Vorzustände entstehen nur unter .motion für Elemente mit data-reveal, bis site.js .is-in setzt (Intersection Observer). */

/* Wort-Masken für Überschriften (Hero, Seitenköpfe, Abschnittstitel, Kontaktband). */
.display .w, .title .w { display: inline-block; clip-path: inset(-.4em -.3em -.14em -.3em); }
.display .w > span, .title .w > span { display: inline-block; }
@keyframes word-rise { from { transform: translateY(118%); } }
/* Seitenköpfe steigen beim Laden auf (reines CSS, läuft auch ohne JS und endet sichtbar). */
.page-hero .display .w > span { animation: word-rise .9s var(--spring) both; animation-delay: .1s; }
.page-hero .display .w:nth-child(2) > span { animation-delay: .15s; } .page-hero .display .w:nth-child(3) > span { animation-delay: .2s; }
.page-hero .display .w:nth-child(4) > span { animation-delay: .25s; } .page-hero .display .w:nth-child(5) > span { animation-delay: .3s; }
.page-hero .display .w:nth-child(6) > span { animation-delay: .35s; } .page-hero .display .w:nth-child(7) > span { animation-delay: .4s; }
.page-hero .display .w:nth-child(n + 8) > span { animation-delay: .45s; }
/* Text im Seitenkopf steigt nur auf und ist ab dem ersten Bild sichtbar: Eine Deckkraft-Blende verschob den größten Inhalt
   (LCP) im Labor um 1,35 s bis zum Ende der Animation (PF-07). */
.page-hero .rail > .label, .page-hero .lede, .page-hero .actions, .page-hero .meta-line { animation: lift-in .9s var(--ease-out) backwards; animation-delay: .45s; }
.page-hero .rail > .label { animation-delay: .05s; }
.page-hero .actions { animation-delay: .6s; }
@media (min-width: 720px) { .page-hero::before { animation: orb-in 1.6s var(--spring) backwards .1s; } .page-hero::after { animation: fade-in 1.4s var(--ease-out) backwards .5s; } }
@keyframes lift-in { from { translate: 0 18px; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes orb-in { from { opacity: 0; scale: .86; } }

/* Start-Hero: Globus blendet auf, die Produkte treten nacheinander in die Umlaufbahn, danach Text und Kennzahlen. */
.hero--night .globe { animation: orb-in 1.6s var(--spring) backwards .05s; }
.hero--night .orbit__item { animation: orbit-pop .9s var(--spring) backwards; animation-delay: .5s; }
.hero--night .orbit__item:nth-child(2) { animation-delay: .56s; } .hero--night .orbit__item:nth-child(3) { animation-delay: .62s; }
.hero--night .orbit__item:nth-child(4) { animation-delay: .68s; } .hero--night .orbit__item:nth-child(5) { animation-delay: .74s; }
.hero--night .orbit__item:nth-child(6) { animation-delay: .8s; } .hero--night .orbit__item:nth-child(7) { animation-delay: .86s; }
.hero--night .orbit__item:nth-child(8) { animation-delay: .92s; } .hero--night .orbit__item:nth-child(9) { animation-delay: .98s; }
@keyframes orbit-pop { from { scale: 0; opacity: 0; } }
.hero--night .hero__head > .label { animation: lift-in .8s var(--ease-out) backwards .05s; }
.hero--night .hero__foot { animation: lift-in 1s var(--ease-out) backwards .55s; }
.hero--night .facts { animation: lift-in 1s var(--ease-out) backwards .75s; }
/* Außerhalb des Bildschirms ruht der Globus (spart Akku auf dem Handy); die Umlaufbahn pausiert site.js über die Web Animations API. */
.hero--night.is-paused .globe > span { animation-play-state: paused; }
/* Umlaufbahn per Finger oder Maus drehen: waagerecht dreht, senkrecht scrollt weiter die Seite. */
.hero__stage { touch-action: pan-y; }
@media (pointer: fine) { .hero__stage { cursor: grab; } .hero__stage:has(.orbit.is-dragging), .orbit.is-dragging a { cursor: grabbing; } }

/* Abschnittsköpfe: Achse zeichnet sich, Titel steigt wortweise, Bezeichnung und Lead folgen. */
.section-head.rail::before, .cta-band .rail::before { transition: transform 1s var(--ease-out); }
.section-head .label, .section-head .lede, .cta-band .lede, .cta-band .actions, .cta-band .label { transition: opacity .7s var(--ease-out), translate .9s var(--spring); }
.section-head .lede, .cta-band .lede { transition-delay: .22s; }
.cta-band .actions { transition-delay: .34s; }
.title .w > span { transition: transform .95s var(--spring); }
.title .w:nth-child(2) > span { transition-delay: .045s; } .title .w:nth-child(3) > span { transition-delay: .09s; }
.title .w:nth-child(4) > span { transition-delay: .135s; } .title .w:nth-child(5) > span { transition-delay: .18s; }
.title .w:nth-child(6) > span { transition-delay: .225s; } .title .w:nth-child(n + 7) > span { transition-delay: .27s; }
.motion [data-reveal]:not(.is-in) .title .w > span { transform: translateY(118%); }
.motion .section-head[data-reveal]:not(.is-in)::before, .motion .cta-band [data-reveal]:not(.is-in)::before { transform: scaleY(0); }
.motion [data-reveal]:not(.is-in) > .label, .motion [data-reveal]:not(.is-in) > .lede, .motion [data-reveal]:not(.is-in) > .actions { opacity: 0; translate: 0 14px; }

/* Bühnen öffnen sich aus einer eingerückten Blende; der Schatten bleibt erhalten (negative Endblende). */
.stage { transition: clip-path 1.1s var(--ease-out), translate 1.1s var(--spring); clip-path: inset(-140px round clamp(26px, 3.2vw, 44px)); }
.motion .stage[data-reveal]:not(.is-in) { clip-path: inset(9% 6% 0 6% round clamp(26px, 3.2vw, 44px)); translate: 0 56px; }

/* Listen: Einträge treten gestaffelt ein (Animation statt Übergang, damit spätere Filter-Übergänge nicht verzögert werden). */
.motion [data-reveal="stagger"]:not(.is-in) > * { opacity: 0; }
.motion [data-reveal="stagger"].is-in > * { animation: stagger-in .9s var(--spring) backwards; }
.motion [data-reveal="stagger"].is-in > :nth-child(2) { animation-delay: .06s; } .motion [data-reveal="stagger"].is-in > :nth-child(3) { animation-delay: .12s; }
.motion [data-reveal="stagger"].is-in > :nth-child(4) { animation-delay: .18s; } .motion [data-reveal="stagger"].is-in > :nth-child(5) { animation-delay: .24s; }
.motion [data-reveal="stagger"].is-in > :nth-child(6) { animation-delay: .3s; } .motion [data-reveal="stagger"].is-in > :nth-child(7) { animation-delay: .36s; }
.motion [data-reveal="stagger"].is-in > :nth-child(8) { animation-delay: .42s; } .motion [data-reveal="stagger"].is-in > :nth-child(n + 9) { animation-delay: .48s; }
@keyframes stagger-in { from { opacity: 0; translate: 0 24px; } }
/* Ablauf: Punkt und Linie jedes Schritts zeichnen sich nacheinander. */
.steps li { border-top-color: transparent; }
.steps li::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: left; }
.night .steps li::after { background: var(--night-line); }
.motion .steps[data-reveal].is-in > li::after { animation: line-draw 1.2s var(--ease-out) backwards; animation-delay: inherit; }
@keyframes line-draw { from { transform: scaleX(0); } }

/* Scrollgebundene Tiefe (nur wo unterstützt und ohne reduzierte Bewegung; alles endet im Ruhezustand). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .motion .hero--night .hero__stage { animation: hero-exit linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes hero-exit { to { translate: 0 -10%; scale: .9; opacity: .3; } }
    @keyframes stage-tilt { from { rotate: 1 0 0 11deg; } }
    @keyframes depth-near { from { translate: 0 34px; } to { translate: 0 -34px; } }
    @keyframes depth-far { from { translate: 0 12px; } to { translate: 0 -12px; } }
    /* Nur Größe, keine Deckkraft: Die Bildunterschriften der äußeren Geräte bleiben voll lesbar (Kontrast ≥ 4,5:1). */
    @keyframes film-focus { 0% { scale: .9; } 38%, 62% { scale: 1; } 100% { scale: .9; } }
    /* 3D-Neigung, Tiefe und Filmfokus nur mit Maus oder Trackpad: Auf Touch-Geräten kosteten sie beim Scrollen jedes Bild Rechenzeit. */
    @media (hover: hover) and (pointer: fine) {
      .motion .stage { perspective: 1600px; }
      .motion .stage .feature__media { animation: stage-tilt linear both; animation-timeline: view(); animation-range: entry 5% cover 42%; }
      .motion .stage .capture--phone { animation: depth-near linear both; animation-timeline: view(); animation-range: cover; }
      .motion .stage .capture--web { animation: depth-far linear both; animation-timeline: view(); animation-range: cover; }
      .motion .filmstrip > * { animation: film-focus linear both; animation-timeline: view(inline); }
      .motion .app-scene { animation: hero-exit linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    }
  }
}

/* ---------- Bewegung v3 (24.09. spät): Geräte-Mockups und Handy-Profil ---------- */
/* Handys schweben leicht (nur Verschiebung, versetzt), Geräte steigen mit ihrer Bühne auf. */
@keyframes device-float { 50% { translate: 0 -7px; } }
.motion .device--phone .device__body { animation: device-float 7s ease-in-out infinite; }
.motion .device--phone:nth-child(2n) .device__body, .motion .filmstrip > :nth-child(2n) .device__body { animation-delay: -3.5s; }
.motion .stage[data-reveal] .feature__media { transition: translate 1.2s var(--spring) .12s, opacity .9s var(--ease-out) .12s; }
.motion .stage[data-reveal]:not(.is-in) .feature__media { opacity: 0; translate: 0 44px; }
/* App-Seiten: Die Handys steigen beim Laden nacheinander auf (nur Verschiebung, kein Verzögern des größten Inhalts), das Produktlicht
   blendet auf; mit feinem Zeiger neigt sich die Szene zum Zeiger (site.js setzt --tx/--ty auf [data-tilt]). */
@keyframes device-rise { from { translate: 0 64px; } }
.app-scene .device { animation: device-rise 1.2s var(--spring) backwards .2s; }
.app-scene .app-scene__front { animation-delay: .38s; }
.app-scene .scene__devices::before { animation: orb-in 1.6s var(--spring) backwards .05s; }
.app-scene .scene__devices::after { animation: fade-in 1.4s var(--ease-out) backwards .45s; }
.app-hero .app-card { animation: lift-in .9s var(--ease-out) backwards .55s; }
[data-tilt] .scene__devices { transform: perspective(1500px) rotateY(calc(var(--tx, 0) * 8deg)) rotateX(calc(var(--ty, 0) * -6deg)); transition: transform .8s var(--ease-out); }

/* Tastgefühl: sichtbares Nachgeben beim Antippen oder Klicken (Touch und Maus). */
.pindex a, .article-list a, .service-row a, .catalog__item, .evidence li { transition: transform var(--dur-1) var(--ease-out); }
.pindex a:active, .article-list a:active, .service-row a:active { transform: scale(.985); }
.button:active { transform: scale(.96); }
.chip:active { transform: scale(.95); }
.orbit__item a:active img { transform: scale(.92); }
/* Magnetische Hauptaktion (nur feiner Zeiger; site.js setzt --mx/--my auf dem Knopf, nicht vererbt). */
@property --mx { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --my { syntax: "<length>"; inherits: false; initial-value: 0px; }
.button--primary { translate: var(--mx, 0px) var(--my, 0px); transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), color var(--dur-1), translate .5s var(--spring); }

/* Menü öffnet sich als Kreisblende aus dem Menü-Knopf (site.js setzt --menu-x/--menu-y; eigene Namen, weil
   --mx/--my vererbt würden und die magnetische Hauptaktion im Menü verschöben). */
.motion .menu { opacity: 1; clip-path: circle(0 at var(--menu-x, 100%) var(--menu-y, 0%)); transition: clip-path .65s var(--ease-out); }
.motion .menu.is-open { clip-path: circle(150% at var(--menu-x, 100%) var(--menu-y, 0%)); }
.motion .menu__list a { transform: translateY(28px); }

/* Quittung: zwei Lichtwellen, wenn die Anfrage angekommen ist. */
.receipt { position: relative; overflow: hidden; isolation: isolate; }
.receipt::before, .receipt::after { content: ""; position: absolute; z-index: -1; left: -60px; top: -60px; width: 260px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); pointer-events: none; animation: light-wave 1.8s var(--ease-out) both; }
.receipt::after { animation-delay: .35s; }
@keyframes light-wave { from { scale: .2; opacity: .9; } to { scale: 2.6; opacity: 0; } }

/* ---------- Seitenwechsel ---------- */
@view-transition { navigation: auto; }
/* Name auf der Pille, nicht auf .site-header: Ein Element mit view-transition-name ist eine Backdrop Root, und der
   Weichzeichner der Pille sähe sonst nur den leeren Header statt der Seite dahinter. */
.pill { view-transition-name: header; }
::view-transition-old(root) { animation: vt-out 260ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in 560ms var(--spring) both; }
@keyframes vt-out { to { opacity: 0; scale: .985; } }
@keyframes vt-in { from { opacity: 0; translate: 0 26px; } }

/* ---------- Reduzierte Bewegung ---------- */
/* Handy-Profil (steht bewusst am Ende, damit es Menü- und Bühnenregeln sicher überschreibt): Auf Touch-Geräten entfallen die teuren Grafikeffekte (Überblendung, große Unschärfe, animierte Blendenformen).
   Das Aussehen bleibt, bewegt wird nur noch über Verschiebung und Deckkraft. */
@media (hover: none) and (pointer: coarse) {
  .hero--night::after { display: none; }
  .globe__corona { filter: none; }
  @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .pill { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
    .menu { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--canvas); }
  }
  .motion .menu, .motion .menu.is-open { clip-path: none; }
  .motion .menu { opacity: 0; transition: opacity .28s var(--ease-out); }
  .motion .menu.is-open { opacity: 1; }
  .stage { clip-path: none; transition: translate 1s var(--spring), opacity .8s var(--ease-out); }
  .motion .stage[data-reveal]:not(.is-in) { clip-path: none; opacity: 0; translate: 0 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: 1ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
  .progress { display: none; }
}
@media (forced-colors: active) {
  .pill, .menu { background: Canvas; }
  /* Die Lesefläche hinter den Zeilen großer Überschriften (Wortmasken) würde das Label darüber halb verdecken. */
  .rail > .label { z-index: 1; }
  .chip[aria-pressed="true"], .chip-input:checked + .chip { outline: 2px solid Highlight; }
  .progress, .sendline { display: none; }
}
