/* ROUBE Designsystem „Klartext“ – v1 (Relaunch-Prototyp)
   Tokens → Basis → Layout → Komponenten → Sektionen → Utilities.
   Hausschrift DIN Pro (selbst gehostet wie auf roube.at), keine externen Ressourcen (CSP: 'self').
   Farben: Schwarz/Grau, Akzentfarbe dunkles Blau (statt Koralle #FF6E6E, User-Wunsch 03.12.2026), Nachtgrund aus dem Bühnenfoto.
   Breakpoints (UX-Audit AL-05, 04.12.2026): genau fünf Stufen 640 (sm) · 900 (md) · 1024 (lg) · 1280 (xl) · 1400 (xxl),
   mobil zuerst mit min-width. max-width nur als Gegenstück derselben Stufe (639/899/1023/1279/1399), wo eine
   Regel ausdrücklich nur unterhalb gilt. Header: ab 1024 die drei Bereichsmenüs plus „Mehr“, ab 1400 alles. */
@font-face { font-family: "DINPro"; font-style: normal; font-weight: 300; font-display: swap; src: url("dinpro-300.woff2") format("woff2"); }
@font-face { font-family: "DINPro"; font-style: normal; font-weight: 400; font-display: swap; src: url("dinpro-400.woff2") format("woff2"); }
@font-face { font-family: "DINPro"; font-style: normal; font-weight: 500; font-display: swap; src: url("dinpro-500.woff2") format("woff2"); }
@font-face { font-family: "DINPro"; font-style: normal; font-weight: 700; font-display: swap; src: url("dinpro-700.woff2") format("woff2"); }
@font-face { font-family: "DINPro"; font-style: normal; font-weight: 900; font-display: swap; src: url("dinpro-900.woff2") format("woff2"); }

/* ------------------------------------------------------------ Tokens */
:root {
  --ink: #0B1020;
  --ink-2: #333A48;
  --muted: #5A6375;
  --paper: #FFFFFF;
  --stone: #EBEFF6;
  --line: #DBE1EB;
  --line-strong: #C3C8D2;  /* gestrichelte Platzhalter, inaktive Sterne (FA-07) */
  --field-border: #7C8597; /* Formularfelder: 3,7:1 auf Weiß (FA-02) */
  /* Akzent: --accent ist die Füllfarbe (Buttons, Etiketten, immer mit weißer Schrift),
     --signal die Akzentfarbe für Linien, Punkte und Akzenttext. Auf hellem Grund ist --signal das dunkle Blau,
     auf dunklem Grund ein helleres Blau, sonst verschwindet es im Nachtgrund (Kontrast ≥ 4,5:1 für Text). */
  --accent: #1D4ED8;
  --accent-hover: #1E40AF;
  --signal: #1D4ED8;
  --signal-ink: #1E40AF;
  --signal-night: #6B98F5;       /* Akzent auf Nachtgrund (7:1) */
  --accent-night: #3D6EF0;       /* Button-Rand auf Nachtgrund (≥ 3:1) */
  --accent-night-hover: #2B5CE6;
  --ok: #0B5B2A; --ok-bg: #E7F6EC; --ok-night: #7EE2A8;
  --danger: #B42318; --err: #8A1C12; --err-bg: #FDECEA;
  --night: #030A18;
  --night-2: #0A1426;
  --night-3: #18243C;      /* erhöhte Flächen auf Nachtgrund (FA-06) */
  --night-line: #1B2740;
  --on-night: #F2F4F8;
  --on-night-2: #A3ADC2;

  --font: "DINPro", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "DINPro", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-small: 0.875rem;
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.4vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.45rem + 1.8vw, 3rem);
  /* Zwei Titelrollen (Design-Audit G04): Display für Startseite und Seiten mit großem Bild-Hero,
     H1 für alle anderen Seiten. Keine eigenen Größen je Hero-Variante. */
  --focus: var(--signal-ink);
  --fs-display: clamp(2.375rem, 1.2rem + 4vw, 4.75rem);
  --fs-h1: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  /* Lesetext (Wissensbeiträge, Rechtstexte): H1 wie --fs-h1, H2 kleiner als im Marketing-Satz (TY-04) */
  --fs-h2-read: clamp(1.375rem, 1.2rem + .8vw, 2rem);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  /* Zwei Schatten (Design-Audit G14): Karten-Hover und Menü auf hellem Grund, schwebende Bilder auf dunklem Grund */
  --shadow-1: 0 24px 48px -24px rgba(3, 10, 24, .18);
  --shadow-2: 0 40px 80px -30px rgba(0, 0, 0, .8);
  --container: 1200px;
  --measure: 68ch;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 4vw + 40px, 96px);   /* AL-01: vorher 64–128 px */
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------ Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
/* Lange Wörter mit Trennstrich trennen (lang="de"), nicht an beliebiger Stelle umbrechen.
   overflow-wrap: anywhere brach „Dokumentenmanagement“ ohne Trennstrich mitten im Wort. */
h1, h2, h3, .trust__k { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Tabellenzellen dürfen weiter überall umbrechen, sonst werden Tabellen auf dem Handy breiter als ihr Rahmen;
   die Silbentrennung hat dabei Vorrang. */
td, th { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
/* Kurze Bindestrich-Wörter (E-Mail, IT-Support) nicht am Bindestrich trennen; build.pl setzt die Klasse in Überschriften */
.nobr { white-space: nowrap; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.1; font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
/* Fokus: auf hellem Grund signal-ink (5,5:1), auf dunklem signal (7,3:1); Coral auf Weiß hatte nur 2,7:1 */
.on-night, .site-header, .mobile-nav, .site-footer, .pgx .pg-dark, .mhero, .xhero, .mband, .hero--page, .pgx .wissen-cta-box { --signal: var(--signal-night); --focus: var(--signal); }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: var(--s-3) var(--s-4); border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------ Layout */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--stone { background: var(--stone); }
.section--night { background: var(--night); color: var(--on-night); }
.section--tight { padding-block: calc(var(--section) * .75); }

.section-head { display: grid; gap: var(--s-4); max-width: 760px; margin-bottom: var(--s-7); }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 1024px) { .section-head--split { grid-template-columns: 1.2fr 1fr; gap: var(--s-8); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.on-night .eyebrow { color: var(--on-night-2); }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: var(--measure); }
.on-night .lead { color: var(--on-night-2); }

.grid { display: grid; gap: var(--s-5); }
.grid > * { min-width: 0; }
@media (min-width: 640px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
/* Vier Spalten erst ab 1200 px; bei Tablet-Breite blieben sonst ca. 15 Zeichen pro Zeile (Design-Audit G07) */
@media (min-width: 1280px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------ Buttons */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); text-decoration: none; }
/* auf Nachtgrund hat das dunkle Blau nur ~2,9:1 zum Grund: hellerer Rand hebt die Fläche ab (≥ 3:1) */
.on-night .btn:not(.btn--ghost), .xhero .btn:not(.btn--ghost), .mhero .btn:not(.btn--ghost), .hero--page .btn:not(.btn--ghost) { --btn-bd: var(--accent-night); }
.pgx .wissen-cta-box .pg-cta { border-color: var(--accent-night); }
.on-night .btn:not(.btn--ghost):hover,.xhero .btn:not(.btn--ghost):hover, .mhero .btn:not(.btn--ghost):hover { --btn-bg: var(--accent-night-hover); --btn-bd: var(--accent-night-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.on-night .btn--ghost { --btn-fg: var(--on-night); --btn-bd: var(--on-night-2); }
.on-night .btn--ghost:hover { --btn-bg: var(--on-night); --btn-fg: var(--ink); --btn-bd: var(--on-night); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: var(--fs-small); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--signal-ink);
  text-decoration: underline; text-decoration-color: transparent;
}
.link-arrow:hover { text-decoration-color: currentColor; }
.link-arrow::after { content: "→"; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(3px); }
.on-night .link-arrow { color: var(--signal); }

/* ------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
/* Nur Playground: fixierte Testumgebungs-Leiste (#pg-bar, 34px) aus build.mjs */
#pg-bar ~ .site-header { top: 34px; }
#pg-bar ~ .mobile-nav { top: calc(var(--header-h) + 34px); }
html:has(#pg-bar) { scroll-padding-top: calc(var(--header-h) + 48px); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.375rem/1 var(--font-display); letter-spacing: .06em; }
.brand__mark { width: 44px; height: auto; flex: none; }
.brand__logo { display: block; width: 136px; height: auto; flex: none; }
.site-footer .brand__logo { width: 156px; }
@media (max-width: 639px) { .brand__logo { width: 118px; } }
.nav { margin-left: auto; display: none; }
.nav__list { list-style: none; display: flex; gap: var(--s-1); }
.nav__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--radius-pill);
  font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--ink-2);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); background: var(--stone); }
.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }
@media (min-width: 1024px) {   /* NB-06: drei Bereichsmenüs plus „Mehr“ ab 1024 px, alles ab 1400 px */
  .nav { display: block; }
  .header-actions { margin-left: var(--s-3); }
  .menu-toggle { display: none; }
}
.nav__trigger { border: 0; background: none; font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer; gap: 4px; }
.nav__trigger svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.nav__trigger[aria-expanded="true"] { color: var(--ink); background: var(--stone); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Mega-Menü */
.mega { position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--paper); color: var(--ink); border-block: 1px solid var(--line); box-shadow: var(--shadow-1); }
.mega[hidden] { display: none; }
.mega__grid { display: grid; grid-template-columns: 1fr 300px; gap: var(--s-8); padding-block: var(--s-6) var(--s-7); }
.mega__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px var(--s-5); margin: var(--s-4) 0; }
.mega__list a { display: grid; gap: 2px; padding: 12px 12px; margin-inline: -12px; border-radius: var(--radius-sm); text-decoration: none; }
.mega__list a:hover { background: var(--stone); }
.mega__l { font-weight: 700; }
.mega__t { font-size: var(--fs-small); color: var(--muted); }
.mega__box { align-self: start; display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--radius); background: var(--stone); }
.mega__box-h { font: 700 1.125rem/1.3 var(--font-display); }
.mega__box .btn { justify-self: start; }

/* Mobile-Menü: Akkordeons */
.mobile-nav__list details { border-bottom: 1px solid var(--line); }
.mobile-nav__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: var(--fs-h3); font-weight: 700; }
.mobile-nav__list summary::-webkit-details-marker { display: none; }
.mobile-nav__list summary::after { content: "+"; font-weight: 400; color: var(--muted); font-size: 1.5rem; }
.mobile-nav__list details[open] summary::after { content: "–"; }

/* Mobile-Menü */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--paper);
  display: flex; flex-direction: column; overflow-y: auto; padding: var(--s-5) var(--gutter) var(--s-6);
  border-top: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__list { list-style: none; display: grid; }
.mobile-nav__list a {
  display: flex; justify-content: space-between; align-items: center; min-height: 56px;
  font-size: var(--fs-h3); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav__list a::after { content: "→"; color: var(--muted); }
.mobile-nav__sub { list-style: none; display: grid; padding: var(--s-2) 0 var(--s-3) var(--s-3); }
.mobile-nav__sub a { font-size: 1rem; font-weight: 500; min-height: 44px; border: 0; color: var(--ink-2); }
.mobile-nav__sub a::after { content: none; }
.mobile-nav__foot { margin-top: auto; padding-top: var(--s-6); display: grid; gap: var(--s-3); }
.mobile-nav__foot .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ------------------------------------------------------------ Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 96px); overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-8); } }
.hero__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
.hero h1 { max-width: 12ch; }
.hero h1 .accent { color: var(--signal-ink); }
.hero__sub { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: 38rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); color: var(--muted); font-size: var(--fs-small); }
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; list-style: none; }
.hero__meta svg { width: 16px; height: 16px; color: var(--ink); }

/* System-Diagramm */
.system { position: relative; aspect-ratio: 1 / 1; max-width: min(520px, 86vw); width: 100%; margin-inline: auto; }
.system svg { width: 100%; height: 100%; overflow: visible; }
.system .ring { fill: none; stroke: var(--line); stroke-width: 1; }
.system .link { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.system .flow { fill: none; stroke: var(--signal); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 14; }
.system .node { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.system .node--core { fill: var(--ink); }
.system .label { font: 700 20px/1 var(--font); fill: var(--ink); letter-spacing: .04em; }
.system .label--core { fill: var(--paper); font-size: var(--fs-small); }
.system .sublabel { font: 500 16px/1 var(--font); fill: var(--muted); }
.system .pulse { fill: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .system .flow { animation: flow 2.4s linear infinite; }
  .system .pulse { animation: pulse 2.4s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes flow { to { stroke-dashoffset: -40; } }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ------------------------------------------------------------ Trust-Bar */
.trust { border-block: 1px solid var(--line); }
.trust__list { list-style: none; display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust__list { grid-template-columns: repeat(3, 1fr); } }
.trust__item { padding: var(--s-5) var(--s-4); display: grid; gap: 2px; border-top: 1px solid var(--line); }
.trust__item:first-child { border-top: 0; }
@media (min-width: 640px) { .trust__item { border-top: 0; border-left: 1px solid var(--line); } .trust__item:first-child { border-left: 0; } }
.trust__k { font: 700 1.125rem/1.3 var(--font-display); }
.trust__v { font-size: var(--fs-small); color: var(--muted); }

/* ------------------------------------------------------------ Karten */
.card {
  position: relative; display: grid; align-content: start; gap: var(--s-3);
  padding: var(--s-6); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--ink); }
.card__num { font: 700 var(--fs-small)/1 var(--font); color: var(--signal-ink); letter-spacing: .08em; }
.card p { color: var(--ink-2); }
.card__icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--stone); color: var(--ink); }
.card__icon svg { width: 24px; height: 24px; }
.card--link a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link a:focus-visible { outline: none; }
.card--link:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Lösungswelten (dunkel) */
.world {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-6); border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--night-line);
}
.world h3 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.world__tag { font-size: var(--fs-small); font-weight: 700; color: var(--signal); letter-spacing: .06em; text-transform: uppercase; }
.world p { color: var(--on-night-2); }
.world__list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--night-line); }
.world__list li { border-bottom: 1px solid var(--night-line); }
.world__list a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 48px; text-decoration: none; color: var(--on-night); }
.world__list a::after { content: "→"; color: var(--on-night-2); transition: transform .18s var(--ease); }
.world__list a:hover::after { transform: translateX(3px); color: var(--signal); }
.world__ui { border-radius: var(--radius-sm); background: var(--night); border: 1px solid var(--night-line); padding: var(--s-4); font-size: var(--fs-xs); color: var(--on-night-2); display: grid; gap: 8px; }
.world__ui .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px var(--s-3); }
.world__ui .ok { color: var(--ok-night); }
.world__ui .hl { color: var(--on-night); font-weight: 700; }
.world__ui .bar { height: 6px; border-radius: 3px; background: var(--night-line); overflow: hidden; }
.world__ui .bar > span { display: block; height: 100%; background: var(--signal); }

.connector {
  margin-top: var(--s-6); padding: var(--s-5) var(--s-6); border-radius: var(--radius);
  border: 1px dashed var(--night-line); display: grid; gap: var(--s-3); align-items: center;
}
@media (min-width: 900px) { .connector { grid-template-columns: auto 1fr auto; gap: var(--s-6); } }
.connector__badge { font: 700 var(--fs-small)/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 8px 12px; border-radius: var(--radius-pill); justify-self: start; }
.connector p { color: var(--on-night-2); }
.connector strong { color: var(--on-night); }

/* Anwendungsfälle */
.usecase { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); position: relative; }
.usecase:hover { border-color: var(--ink); }
.usecase__flag { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.usecase__flag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.usecase__chain { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); font-weight: 700; }
.usecase__chain li { padding: 8px 12px; border-radius: 4px; background: var(--stone); }
/* Szenario-Karte mit Illustration (Übersicht Anwendungsfälle, KI, IT) */
.usecase--img { padding: 0; overflow: hidden; gap: 0; align-content: start; transition: border-color .2s var(--ease); }
.usecase__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); border-bottom: 1px solid var(--line); }
.usecase__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .6s var(--ease); }
.usecase--img .usecase__chain { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); counter-reset: uc; font-size: .875rem; }
.usecase--img .usecase__chain li { counter-increment: uc; padding: 9px 0; border-radius: 0; background: none; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: baseline; }
.usecase--img .usecase__chain li::before { content: counter(uc, decimal-leading-zero); font-size: var(--fs-xs); font-weight: 700; color: var(--signal-ink); letter-spacing: .04em; }
.usecase--img .usecase__chain li:not(:last-child)::after { content: none; }
.usecase__img { position: relative; }
.usecase__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(107, 152, 245, .22) 50%, transparent 65%); transform: translateX(-110%); }

/* Bewegung: Karten gestaffelt einfliegen, anheben beim Überfahren, Illustration schwebt langsam,
   Lichtstreifen beim Überfahren, Ablaufschritte füllen sich nacheinander. Hero mit Zoom und laufendem Raster. */
@media (prefers-reduced-motion: no-preference) {
  .js .usecase--img.reveal { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s var(--ease); }
  .js .usecase--img.reveal.is-in { animation: ucIn .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(mod(var(--i, 0), 3) * 130ms); }
  .usecase--img:hover, .js .usecase--img.reveal.is-in:hover { transform: translateY(-6px); box-shadow: var(--shadow-1); border-color: var(--ink); }
  .usecase__img img { animation: ucDrift 18s ease-in-out 2 alternate; animation-delay: calc(var(--i, 0) * -3s); }
  .usecase--img:hover .usecase__img::after { transform: translateX(110%); transition: transform 1.1s var(--ease); }
  .usecase--img .usecase__chain li { background: linear-gradient(var(--signal), var(--signal)) no-repeat 0 0 / 0 2px; background-origin: border-box; }
  .js .usecase--img.is-in .usecase__chain li { background-size: 100% 2px; transition: background-size .55s var(--ease); transition-delay: calc(mod(var(--i, 0), 3) * 130ms + 650ms + var(--s, 0) * 260ms); }
  .js .usecase--img.is-in .usecase__chain li::before { animation: ucNum .4s var(--ease) backwards; animation-delay: calc(mod(var(--i, 0), 3) * 130ms + 650ms + var(--s, 0) * 260ms); }

  .mhero--anim .mhero__media img { animation: heroZoom 2.6s cubic-bezier(.2, .7, .2, 1) both, heroDrift 26s ease-in-out 2.6s 2 alternate; }
  .mhero--anim::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(110, 150, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 150, 255, .14) 1px, transparent 1px);
    background-size: 120px 120px; animation: gridRun 40s linear 2;
    mask-image: linear-gradient(90deg, transparent 30%, #000 75%); }
  .mhero--anim .mhero__inner > * { animation: ucIn .9s cubic-bezier(.2, .7, .2, 1) backwards; }
  .mhero--anim .mhero__inner > :nth-child(2) { animation-delay: .1s; }
  .mhero--anim .mhero__inner > :nth-child(3) { animation-delay: .2s; }
  .mhero--anim .mhero__inner > :nth-child(4) { animation-delay: .3s; }
  .mhero--anim .mhero__inner > :nth-child(5) { animation-delay: .4s; }
}
@keyframes ucIn { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes ucDrift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-2%, -1.5%); } }
@keyframes ucNum { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }
@keyframes heroDrift { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.1) translate(-1.5%, 1%); } }
@keyframes gridRun { from { background-position: 0 0, 0 0; } to { background-position: 120px 120px, 120px 120px; } }
.usecase__body { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-5) var(--s-6) var(--s-6); }
.usecase__body h3 { font-size: 1.375rem; line-height: 1.25; }
.usecase__body h3 a { color: inherit; text-decoration: none; }
.usecase__body h3 a::after { content: ""; position: absolute; inset: 0; }
.usecase__body .link-arrow { justify-self: start; }
.usecase--img:has(h3 a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.usecase--img h3 a:focus-visible { outline: none; }
.usecase__chain li:not(:last-child)::after { content: " →"; color: var(--muted); }
.usecase__worlds { font-size: var(--fs-small); color: var(--muted); }
.usecase a.link-arrow::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.usecase:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.usecase a:focus-visible { outline: none; }

/* Prozess */
.steps { list-style: none; display: grid; gap: var(--s-5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }
.step { position: relative; display: grid; gap: var(--s-3); padding-top: var(--s-6); counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font: 700 var(--fs-small)/1 var(--font); color: var(--signal-ink); background: var(--stone); padding-right: var(--s-3);
}
.step::after { content: ""; position: absolute; top: 7px; left: 36px; right: 0; height: 1px; background: var(--line); }
.step p { color: var(--ink-2); }
.step__time { font-size: var(--fs-small); color: var(--muted); }

/* Messkriterien */
.criteria { width: 100%; border-collapse: collapse; font-size: 1rem; }
.criteria caption { text-align: left; color: var(--muted); font-size: var(--fs-small); padding-bottom: var(--s-3); }
.criteria th, .criteria td { text-align: left; padding: var(--s-4) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
.criteria th[scope="col"] { font-size: var(--fs-small); color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; overflow-wrap: normal; white-space: nowrap; }
.criteria tbody th { font-weight: 700; width: 34%; }
@media (max-width: 639px) {
  .criteria thead { display: none; }
  .criteria tr { display: grid; padding-block: var(--s-3); border-bottom: 1px solid var(--line); }
  .criteria th, .criteria td, .criteria tbody th { border: 0; padding: 4px 0; width: auto; }
  .criteria td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 700; }
}

/* Stimmen & Cases */
.quote { display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); margin: 0; }
.quote blockquote { margin: 0; font: 700 var(--fs-h3)/1.35 var(--font-display); letter-spacing: -0.01em; }
.quote figcaption { font-size: var(--fs-small); color: var(--muted); }
.quote figcaption strong { color: var(--ink); display: block; }
.placeholder {
  display: grid; gap: var(--s-3); padding: var(--s-6); border-radius: var(--radius);
  border: 1.5px dashed var(--line-strong); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(0,0,0,.018) 12px 24px);
  color: var(--ink-2);
}
.todo {
  display: inline-block; font: 700 .75rem/1.3 var(--font); letter-spacing: .02em; color: #8A1F24;
  background: #FFE7D6; border: 1px solid #FFC59E; border-radius: 6px; padding: 3px 8px;
}

/* Technologien */
.tech { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tech li { padding: 12px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: var(--fs-small); }
.tech-group { display: grid; gap: var(--s-3); }
.tech-group h3 { font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; }

/* Vergleich lokale KI */
.compare { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare__col { padding: var(--s-6); border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); display: grid; gap: var(--s-3); align-content: start; }
.compare__col--hl { border-color: var(--ink); box-shadow: inset 0 4px 0 var(--signal); }
.compare__col ul { list-style: none; display: grid; gap: 12px; }
.compare__col li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--ink-2); }
.compare__col li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--ink); }

/* FAQ */
.faq { display: grid; 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; align-items: center; gap: var(--s-4);
  min-height: 64px; padding-block: var(--s-4); font: 700 1.125rem/1.35 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: var(--s-5); color: var(--ink-2); max-width: var(--measure); display: grid; gap: var(--s-3); }
.faq-layout { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: var(--s-9); } }

/* CTA-Band */
.cta-band { display: grid; gap: var(--s-7); align-items: center; }
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1.2fr 1fr; gap: var(--s-9); } }
.person { display: grid; grid-template-columns: 72px 1fr; gap: var(--s-4); align-items: center; padding: var(--s-5); border-radius: var(--radius); background: var(--night-2); border: 1px solid var(--night-line); }
.person__img { width: 72px; height: 72px; border-radius: var(--radius-pill); background: var(--night-line); display: grid; place-items: center; font: 700 var(--fs-h3)/1 var(--font); color: var(--on-night); overflow: hidden; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-weight: 700; }
.person__role { color: var(--on-night-2); font-size: var(--fs-small); }
.person__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); padding-top: var(--s-3); border-top: 1px solid var(--night-line); }
.person__links a { color: var(--on-night); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; }
.person__links a:hover { color: var(--signal); }
.person__links svg { width: 18px; height: 18px; }
.next-steps { list-style: none; display: grid; gap: var(--s-3); counter-reset: ns; margin-top: var(--s-5); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 32px 1fr; gap: var(--s-3); color: var(--on-night-2); }
.next-steps li::before { content: counter(ns); width: 28px; height: 28px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--night-2); border: 1px solid var(--night-line); color: var(--on-night); font-weight: 700; font-size: var(--fs-xs); }
.next-steps strong { color: var(--on-night); }
.card .next-steps li { color: var(--ink-2); }
.card .next-steps strong { color: var(--ink); }
.card .next-steps li::before { background: var(--stone); border-color: var(--line); color: var(--ink); }

/* ------------------------------------------------------------ Formular */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 700; font-size: var(--fs-small); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--field-border); background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: var(--fs-small); font-weight: 700; }
.field__err:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); color: var(--ink-2); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: var(--s-4); border-radius: var(--radius-sm); font-weight: 700; }
.form__status:empty { display: none; }
.form__turnstile { min-height: 65px; } /* Platz für das Turnstile-Widget, damit beim Laden nichts springt */
.form__status.is-ok { background: var(--ok-bg); color: var(--ok); }
.form__status.is-err { background: var(--err-bg); color: var(--err); }
.form-card { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }

/* ------------------------------------------------------------ Breadcrumb */
.breadcrumb { max-width: 100%; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; min-width: 0; gap: 8px; font-size: var(--fs-small); color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumb a { color: var(--ink-2); }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--night); color: var(--on-night-2); padding-block: var(--s-9) var(--s-6); font-size: var(--fs-small); }
.footer__grid { display: grid; gap: var(--s-7); }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: var(--s-6); } }
.footer__brand { display: grid; gap: var(--s-4); align-content: start; }
.footer__brand .brand { color: var(--on-night); }
.site-footer h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-night); margin-bottom: var(--s-4); font-weight: 700; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { color: var(--on-night-2); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--on-night); text-decoration: underline; }
.site-footer address { font-style: normal; display: grid; gap: 4px; }
.footer__bottom { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; font-size: var(--fs-small); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }

/* ------------------------------------------------------------ Unterseiten */
.hero--page { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.hero--page h1 { max-width: 20ch; font-size: var(--fs-h1); }
.hero--page .hero__copy { justify-items: start; }
.hero--page .hero__copy > * { max-width: 860px; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.photo img { width: 100%; height: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.card--link h3 a { text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card--link:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; }
.card .usecase__flag { margin-bottom: var(--s-1); }
.link-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .link-list { grid-template-columns: 1fr 1fr; column-gap: var(--s-7); } }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: var(--s-3); align-items: center; min-height: 56px; font-weight: 700; text-decoration: none; }
.link-list a::after { content: "→"; color: var(--muted); transition: transform .18s var(--ease); }
.link-list a:hover::after { transform: translateX(3px); color: var(--signal-ink); }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2px solid var(--signal-ink); border-bottom: 2px solid var(--signal-ink); transform: rotate(-45deg); }
.job .card h2, .salary h2 { font-size: var(--fs-h3); }
.salary { display: grid; gap: var(--s-3); }
.team { list-style: none; display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
/* Sechs Personen + „Und Sie?“: die Bewerbungskarte nimmt zwei Spalten, damit beide Reihen voll sind
   (auto-fill ließ bei 1440 px drei leere Spalten in der zweiten Reihe) */
@media (min-width: 640px) { .team { grid-template-columns: repeat(2, 1fr); } .team .member--join { grid-column: span 2; } }
@media (min-width: 1024px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member { display: grid; gap: 8px; align-content: start; }
.member img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--line); margin-bottom: var(--s-2); filter: grayscale(1); }
.member h2 { font-size: 1.25rem; letter-spacing: -0.01em; }
.member__role { color: var(--muted); font-size: var(--fs-small); }
.member a { font-size: .9375rem; }
.member--join { padding: var(--s-6); border-radius: var(--radius); border: 1.5px dashed var(--line-strong); align-content: center; gap: var(--s-3); }
.person__img img { width: 100%; height: 100%; object-fit: cover; }

/* Selbst-Checks */
.check-list { list-style: none; counter-reset: cq; display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: var(--s-5); }
.check-list li { border-bottom: 1px solid var(--line); }
.check-list .check { padding-block: var(--s-4); cursor: pointer; font-size: 1rem; color: var(--ink); grid-template-columns: 28px 1fr; }
.check-list .check input { width: 24px; height: 24px; }
.check-out { padding: var(--s-5); border-radius: var(--radius); background: var(--stone); margin-block: var(--s-4) var(--s-5); display: grid; gap: var(--s-3); }
.check-score { font: 700 1.25rem/1.3 var(--font-display); }
.check-result h3 { margin-bottom: 8px; }
.check-result p { color: var(--ink-2); }

/* Rechtstexte */
.prose { max-width: 780px; }
.prose h2 { font-size: var(--fs-h2-read); letter-spacing: -0.01em; margin: var(--s-6) 0 var(--s-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; margin: var(--s-5) 0 var(--s-2); }
.prose p, .prose ul, .prose ol { margin: 0 0 var(--s-4); color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.25em; }

/* ------------------------------------------------------------ Übernommene Inhalte (pg-*-Komponenten) */
.pgx .pg-sec { padding-block: var(--section); }
.pgx .pg-inner { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.pgx .pg-paper { background: var(--paper); }
.pgx .pg-stone { background: var(--stone); } /* Tonfolge setzt build.pl (Design-Audit G19) */
.pgx .pg-dark { background: var(--stone); }
.pgx .pg-sec:first-child { background: var(--paper); padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.pgx .pg-sec:first-child .pg-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); justify-items: start; }
.pgx .pg-sec:first-child .pg-inner > * { max-width: 860px; }
.pgx .pg-dark:last-child { background: var(--night); color: var(--on-night); }
.pgx .pg-dark:last-child .pg-lead, .pgx .pg-dark:last-child p { color: var(--on-night-2); }
.pgx .pg-dark:last-child .pg-h2 { color: var(--on-night); }
.pgx .pg-eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-small); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pgx .pg-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--signal); }
.pgx .pg-h1, .pgx h1 { font-size: var(--fs-h1); line-height: 1.06; max-width: 22ch; margin: 0; }
.pgx .pg-h2 { font-size: var(--fs-h2); margin: 0 0 var(--s-5); max-width: 24ch; }
.pgx .pg-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); max-width: var(--measure); margin: 0 0 var(--s-5); }
.pgx .pg-sec:first-child .pg-lead { margin: 0; }
.pgx .pg-hero-trust { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.pgx .pg-kicker-row { font: 700 var(--fs-h3)/1.25 var(--font-display); letter-spacing: -0.01em; margin: 0 0 var(--s-5); }
/* Abschnittskopf übernommener Seiten (build.pl): Eyebrow über der H2 bzw. eigenständige H2 */
.pgx .pg-eyebrow--sec { margin-bottom: var(--s-4); }
.pgx .pg-h2--sec { margin-bottom: var(--s-6); }
.pgx .pg-h3--sec { margin: var(--s-7) 0 var(--s-5); }
/* Kartentitel als H2 (Kontakt-Seitenspalte) in H3-Größe */
.h-card { font-size: var(--fs-h3); }
.pgx .pg-cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-pill);
  background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; border: 1.5px solid var(--accent);
}
.pgx .pg-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.pgx .pg-dark .pg-cta:hover { background: var(--accent-night-hover); border-color: var(--accent-night-hover); }
.pgx .pg-sec:not(:first-child) .pg-cta { margin-top: var(--s-3); }
.pgx .pg-cols { display: grid; gap: var(--s-4) var(--s-7); color: var(--ink-2); }
@media (min-width: 900px) { .pgx .pg-cols { grid-template-columns: 1fr 1fr; } }
.pgx .pg-cols p, .pgx .pg-inner > p { max-width: var(--measure); color: var(--ink-2); margin: 0 0 var(--s-4); }
.pgx .pg-list { display: grid; gap: var(--s-4); }
@media (min-width: 640px) { .pgx .pg-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pgx .pg-list { grid-template-columns: repeat(3, 1fr); } }
/* Unvollständige letzte Reihe mittig statt einer einzelnen Karte links (Design-Audit G07).
   Nicht bei geblätterten Listen, dort zählen ausgeblendete Einträge mit. */
@media (min-width: 640px) and (max-width: 1023px) {
  .pgx .pg-list:not([data-paginate]) { grid-template-columns: repeat(4, 1fr); }
  .pgx .pg-list:not([data-paginate]) > * { grid-column: span 2; }
  .pgx .pg-list:not([data-paginate]) > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@media (min-width: 1024px) {
  .pgx .pg-list:not([data-paginate]) { grid-template-columns: repeat(6, 1fr); }
  .pgx .pg-list:not([data-paginate]) > * { grid-column: span 2; }
  .pgx .pg-list:not([data-paginate]) > :last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
  .pgx .pg-list:not([data-paginate]) > :nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
}
.pgx .pg-item { position: relative; display: grid; align-content: start; gap: var(--s-2); padding: var(--s-5); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s var(--ease); }
.pgx div.pg-item, .pgx .pg-item:not([href]) { cursor: default; }
.pgx .pg-item[hidden] { display: none; }
/* Blättern in Sechserblöcken (Wissen) */
.pager { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-block: var(--s-6) var(--s-7); }
.pager [hidden] { display: none; }
.pager__next { margin-left: auto; }
@media (prefers-reduced-motion: no-preference) {
  .pgx .pg-item.is-paged { animation: pageIn .45s var(--ease) backwards; animation-delay: calc(var(--pi, 0) * 60ms); }
  @keyframes pageIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
.pgx a.pg-item:hover { border-color: var(--ink); }
.pgx .pg-item h3 { font-size: 1.125rem; }
.pgx .pg-item .n { font: 700 var(--fs-small)/1 var(--font); color: var(--signal-ink); }
.pgx .pg-item .d { color: var(--ink-2); font-size: 1rem; }
.pgx .pg-steps { display: grid; gap: var(--s-5); counter-reset: none; }
@media (min-width: 900px) { .pgx .pg-steps { grid-template-columns: repeat(4, 1fr); } }
.pgx .pg-steps > div { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.pgx .pg-steps .n { font: 700 var(--fs-small)/1 var(--font); color: var(--signal-ink); }
.pgx .pg-steps p { color: var(--ink-2); }
.pgx .pg-faq { display: grid; border-top: 1px solid var(--line); max-width: 900px; }
.pgx .pg-faq details { border-bottom: 1px solid var(--line); }
.pgx .pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); min-height: 64px; padding-block: var(--s-4); font: 700 1.125rem/1.35 var(--font-display); }
.pgx .pg-faq summary::-webkit-details-marker { display: none; }
.pgx .pg-faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: var(--radius-pill); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; }
.pgx .pg-faq details[open] summary::after { content: "–"; }
.pgx .pg-faq details > p, .pgx .pg-faq details > div { padding-bottom: var(--s-5); color: var(--ink-2); max-width: var(--measure); margin: 0; }
.pgx .pg-fill { padding: var(--s-8) var(--gutter); text-align: center; background: var(--stone); }
.pgx .pg-fill p { font: 700 var(--fs-h3)/1.3 var(--font-display); max-width: 32ch; margin-inline: auto; color: var(--ink); }
.pgx .pg-fill .muted { color: inherit; }
.pgx table { width: 100%; border-collapse: collapse; font-size: 1rem; background: var(--paper); }
.pgx th, .pgx td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-3); border-bottom: 1px solid var(--line); }
.pgx thead th { font-size: var(--fs-small); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pgx .wissen-tablewrap, .pgx .pg-compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-block: var(--s-4) var(--s-5); }
.pgx .pg-compare col.hl { background: #EEF3FE; }
.pgx .pg-compare td.yes { font-weight: 500; }
.pgx .wissen-note, .pgx .wissen-callout { padding: var(--s-4) var(--s-5); border-left: 4px solid var(--signal); background: var(--stone); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); max-width: var(--measure); margin: var(--s-5) 0; }
.pgx .wissen-callout p { margin: 0; }
.pgx .wissen-byline, .pgx .wissen-meta { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.pgx .wissen-article { background: var(--paper) !important; }
.pgx .wissen-prose { max-width: 760px; }
.pgx .wissen-prose > * + * { margin-top: var(--s-4); }
.pgx .wissen-prose h2 { font-size: var(--fs-h2-read); margin-top: var(--s-7); }
.pgx .wissen-prose h3 { font-size: 1.25rem; margin-top: var(--s-5); }
.pgx .wissen-prose p, .pgx .wissen-prose li { color: var(--ink-2); }
.pgx .wissen-prose ul, .pgx .wissen-prose ol { padding-left: 1.25em; display: grid; gap: 8px; }
.pgx .wissen-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink) !important; }
.pgx .wissen-toc { padding: var(--s-5); border-radius: var(--radius-sm); background: var(--stone); }
.pgx .wissen-toc ol, .pgx .wissen-toc ul { margin: var(--s-2) 0 0; }
.pgx .wissen-disclaimer { font-size: var(--fs-small); color: var(--muted) !important; }
.pgx .wissen-cta-box { margin-top: var(--s-8); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--night); color: var(--on-night); max-width: 900px; }
.pgx .wissen-cta-box .pg-h2 { color: var(--on-night); font-size: var(--fs-h3); }
.pgx .wissen-cta-box .pg-lead { color: var(--on-night-2); font-size: 1rem; }
.pgx .wissen-related { margin-top: var(--s-6); color: var(--muted); max-width: 900px; }
.pgx .wissen-steps { padding-left: 1.25em; }
.pgx .wissen-figure { margin: var(--s-5) 0; }
.pgx .pg-grp { margin-bottom: var(--s-7); }
.pgx .pg-grp h3 { margin-bottom: var(--s-3); }
.pgx .pg-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s-3); }
.pgx .pg-logos .cell { display: grid; place-items: center; padding: var(--s-4); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); aspect-ratio: 3 / 2; }
.pgx .pg-logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); }
.pgx .pg-quotes { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .pgx .pg-quotes { grid-template-columns: repeat(3, 1fr); } }
.pgx .pg-quotes blockquote { margin: 0; padding: var(--s-5); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: var(--s-3); }
.pgx .pg-quotes blockquote p { font: 700 1.125rem/1.4 var(--font-display); color: var(--ink); }
.pgx .pg-quotes footer { font-size: var(--fs-small); color: var(--muted); }
.pgx img { max-width: 100%; height: auto; }
.pgx .breadcrumb { margin-bottom: var(--s-1); }
.pgx ul:not([class]), .pgx ol:not([class]) { padding-left: 1.25em; color: var(--ink-2); }
.pgx .pg-roi { padding: var(--s-5); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: var(--s-4); }
.pgx .pg-roi input, .pgx .pg-roi select { min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); font: inherit; }
.pgx .pg-roi-big { font: 700 var(--fs-h2)/1.1 var(--font-display); }

/* ------------------------------------------------------------ Bildwelten (eigene Stills aus ROUBE-Videos) */
/* Vollbild-Hero mit Bild: Text unten links, Verlauf für Lesbarkeit, Nachtfarbe als Fallback-Hintergrund */
.mhero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: min(86svh, 920px); background: var(--night); color: var(--on-night);
}
.mhero--short { min-height: min(64svh, 660px); }
.mhero__media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.mhero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.mhero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3, 10, 24, .35) 0%, rgba(3, 10, 24, .05) 30%, rgba(3, 10, 24, .55) 62%, rgba(3, 10, 24, .92) 100%),
    linear-gradient(90deg, rgba(3, 10, 24, .82) 0%, rgba(3, 10, 24, .5) 50%, rgba(3, 10, 24, .08) 82%);
}
.mhero__inner { width: 100%; padding-block: clamp(96px, 14vh, 160px) clamp(48px, 7vh, 64px); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); justify-items: start; }
.mhero__inner > * { max-width: 760px; }
.mhero h1 { color: #fff; font-size: var(--fs-display); line-height: 1.02; max-width: 15ch; }
.mhero--short h1 { font-size: var(--fs-h1); max-width: 20ch; }
.mhero .hero__sub, .mhero .lead { color: rgba(242, 244, 248, .88); }
.mhero .eyebrow, .mhero .hero__meta { color: rgba(242, 244, 248, .78); }
.mhero .hero__meta svg { color: var(--signal); }
.mhero .breadcrumb ol { color: rgba(242, 244, 248, .7); }
.mhero .breadcrumb a { color: #fff; }
.mhero .breadcrumb li:not(:last-child)::after { color: rgba(242, 244, 248, .4); }
.mhero .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.mhero .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.mhero .todo { color: #8A1F24; }
@media (prefers-reduced-motion: no-preference) {
  .mhero__media img { animation: settle 1.8s var(--ease) both; }
}
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@media (max-width: 639px) {
  /* Mobil: Bild oben sichtbar lassen, Text darunter auf dunklem Verlauf */
  .mhero, .mhero--short { min-height: 0; }
  .mhero__media { bottom: auto; height: min(52svh, 440px); }
  .mhero__media img { object-position: var(--pos-m, var(--pos, center)); }
  .mhero__inner { padding-top: calc(min(52svh, 440px) - 64px); padding-bottom: var(--s-7); }
  .mhero::after { background: linear-gradient(180deg, rgba(3, 10, 24, .15) 0%, rgba(3, 10, 24, .1) 22%, rgba(3, 10, 24, .75) calc(min(52svh, 440px) - 90px), var(--night) min(52svh, 440px), var(--night) 100%); }
  .mhero--short .mhero__media { height: min(40svh, 340px); }
  .mhero--short .mhero__inner { padding-top: calc(min(40svh, 340px) - 64px); }
  .mhero--short::after { background: linear-gradient(180deg, rgba(3, 10, 24, .15) 0%, rgba(3, 10, 24, .1) 22%, rgba(3, 10, 24, .75) calc(min(40svh, 340px) - 80px), var(--night) min(40svh, 340px), var(--night) 100%); }
  .mhero .hero__meta { display: none; }
  .mhero .btn-row .btn { flex: 1 1 auto; }
}

/* Vollbreites Bildband mit Aussage */
.mband { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on-night); min-height: min(76svh, 760px); display: flex; align-items: center; }
.mband .mhero__media img { object-position: var(--pos, center); }
.mband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 10, 24, .86) 0%, rgba(3, 10, 24, .55) 45%, rgba(3, 10, 24, .1) 80%); }
.mband__inner { width: 100%; padding-block: var(--section); display: grid; gap: var(--s-5); justify-items: start; }
.mband__inner > * { max-width: 620px; }
.mband h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.75rem); }
.mband p { color: rgba(242, 244, 248, .86); font-size: var(--fs-lead); line-height: 1.5; }
.mband .link-arrow { color: #fff; }
/* Tablet: Text nur in der linken Hälfte, damit er nicht über den Gesichtern im Teamband liegt (Design-Audit D) */
@media (min-width: 640px) and (max-width: 1279px) {
  .mband__inner > * { max-width: 50%; }
  .mband::after { background: linear-gradient(90deg, rgba(3, 10, 24, .9) 0%, rgba(3, 10, 24, .7) 50%, rgba(3, 10, 24, .1) 85%); }
}
@media (max-width: 639px) {
  .mband { align-items: flex-end; min-height: 80svh; }
  .mband::after { background: linear-gradient(180deg, rgba(3, 10, 24, .1) 0%, rgba(3, 10, 24, .55) 45%, rgba(3, 10, 24, .95) 100%); }
}

/* Bild/Text im Wechsel */
.split { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; gap: var(--s-8); }
  .split--rev { grid-template-columns: 5fr 7fr; }
  .split--rev .split__media { order: 2; }
}
.split__media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--night); }
.split__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos, center); }
.split__body { display: grid; gap: var(--s-4); align-content: center; }
.split__body .steps { grid-template-columns: 1fr; gap: var(--s-4); }
.split__body .step { padding-top: 0; padding-left: 48px; }
.split__body .step::before { top: 2px; }
.split__body .step::after { display: none; }
.split__body .grid--4, .split__body .grid--3 { grid-template-columns: 1fr; }
.split__list { list-style: none; display: grid; gap: var(--s-4); }
.split__list li { display: grid; gap: 4px; padding-left: var(--s-5); border-left: 2px solid var(--signal); }
.split__list strong { font: 700 1.125rem/1.35 var(--font-display); }
.split__list span { color: var(--ink-2); }
.on-night .split__list span { color: var(--on-night-2); }

/* Bildkarten (Lösungswelten) */
.world--media { padding: 0; overflow: hidden; }
.world--media .world__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.world--media .world__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.world--media:hover .world__img img { transform: scale(1.04); }
.world--media .world__body { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6); flex: 1; }
.world--media .world__list { margin-top: auto; }

/* Illustrationen (UI rechts im Bild): in Ausschnitten nach rechts ausrichten */
.world__img img[src*="-illustration-"], .card__img img[src*="-illustration-"], .split__media img[src*="-illustration-"] { object-position: 82% 45%; }

/* Bildkarten (Hubs) */
.card--img { padding: 0; overflow: hidden; gap: 0; }
.card--img .card__img { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
/* Stockfotos (Branchen, Anwendungsfälle) in der Markenfarbe: Graustufen-Bild multipliziert mit hellem Blaugrau
   (Lichter), darüber Nachtblau mit „lighten“ (Schatten) = Duotone Nachtblau → Hellgrau statt bunter Stockfarben */
:is(.card__img, .split__media, .usecase__img):has(img[src*="/img/branche-"], img[src*="/img/uc-"]) { position: relative; }
:is(.card__img, .mhero__media, .split__media, .usecase__img):has(img[src*="/img/branche-"], img[src*="/img/uc-"]) { isolation: isolate; background: #DCE4F2; }
img[src*="/img/branche-"], img[src*="/img/uc-"] { filter: grayscale(1) contrast(1.12) brightness(.96); mix-blend-mode: multiply; }
:is(.card__img, .mhero__media, .split__media, .usecase__img):has(img[src*="/img/branche-"], img[src*="/img/uc-"])::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: #0B1F45; mix-blend-mode: lighten; }
.usecase__img::after { z-index: 2; }
.card--img .card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--img:hover .card__img img { transform: scale(1.04); }
.card--img .card__body { display: grid; gap: var(--s-3); padding: var(--s-5) var(--s-6) var(--s-6); }

/* CTA mit Bild */
.cta-media { position: relative; isolation: isolate; overflow: hidden; }
.cta-media::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 10, 24, .94) 0%, rgba(3, 10, 24, .82) 50%, rgba(3, 10, 24, .6) 100%); }
.cta-media .person { background: rgba(10, 20, 38, .85); backdrop-filter: blur(6px); }

/* Übernommene Seiten: erster Abschnitt als Bild-Hero */
.pgx .pg-sec.mhero:first-child { background: var(--night); padding: 0; }
.pgx .pg-sec.mhero:first-child .pg-inner { padding-block: clamp(96px, 14vh, 150px) clamp(48px, 7vh, 64px); }
@media (max-width: 639px) { .pgx .pg-sec.mhero:first-child .pg-inner { padding-top: calc(min(40svh, 340px) - 64px); padding-bottom: var(--s-7); } }
.pgx .mhero .pg-h1 { color: #fff; }
.pgx .mhero .pg-lead { color: rgba(242, 244, 248, .88); }
.pgx .mhero .pg-eyebrow, .pgx .mhero .pg-hero-trust, .pgx .mhero .wissen-byline { color: rgba(242, 244, 248, .78); }
.pgx .mhero .wissen-byline strong { color: #fff; }
.pgx .mhero a:not(.pg-cta) { color: #fff; }

/* ------------------------------------------------------------ Reveal */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ Utilities */
.stack-2 > * + * { margin-top: var(--s-2); }
.stack-4 > * + * { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.center { text-align: center; }

@media print {
  .site-header, .mobile-nav, .site-footer, .btn { display: none !important; }
  body { color: #000; }
}

/* H1 mit vorangestellter Zeile (Startseite): erste Zeile klein wie eine Eyebrow, Rest groß */
.h1-kicker { display: block; margin-bottom: var(--s-3); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.4; color: var(--muted); }
.on-night .h1-kicker { color: var(--on-night-2); }

/* ------------------------------------------------------------ Startseite: geteiltes Hero (18.11.2026)
   Text auf Nachtgrund mit feinem Raster, Bild rechts mit schräger Kante, Bewertungs-Badge,
   senkrechte Marke „Seit 2019“ und Bildunterschrift am rechten Rand. */
.site-header { background: var(--night); backdrop-filter: none; border-bottom-color: rgba(242, 244, 248, .1); color: var(--on-night); }
.site-header .brand { color: #fff; }
.site-header .nav__link { color: rgba(242, 244, 248, .86); }
.site-header .nav__link:hover,
.site-header .nav__link[aria-expanded="true"] { color: #fff; background: rgba(242, 244, 248, .1); }
.site-header .icon-btn { background: transparent; color: #fff; border-color: rgba(242, 244, 248, .3); }
.site-header .icon-btn:hover { border-color: #fff; }
/* Mega-Menü unter dem dunklen Startseiten-Header: gleiche Nachtfarbe, helle Schrift */
.site-header .mega { background: var(--night); color: var(--on-night); border-color: var(--night-line); box-shadow: var(--shadow-2); }
.site-header .mega .eyebrow { color: var(--on-night-2); }
.site-header .mega__t { color: var(--on-night-2); }
.site-header .mega__list a:hover { background: var(--night-2); }
.site-header .mega__box { background: var(--night-2); border: 1px solid var(--night-line); }
.site-header .mega__box p:not(.mega__box-h) { color: var(--on-night-2); }
.site-header .mega .link-arrow { color: var(--signal); }

.xhero {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 860px); background: var(--night); color: var(--on-night);
}
/* Grund: weiches Leuchten hinter den Ansichten (bleibt auch ohne JS); darüber zeichnet hero-mesh.js das Drahtgitter */
.xhero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(60% 70% at 72% 58%, rgba(29, 78, 216, .22) 0%, rgba(29, 78, 216, .06) 45%, transparent 75%);
}
.xhero__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; opacity: 0; transition: opacity 2.4s var(--ease); }
.xhero__mesh.is-on { opacity: 1; }
.xhero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; margin: 0; z-index: -1; }
.xhero__caption {
  position: absolute; right: 14px; bottom: 24px; z-index: 1; writing-mode: vertical-rl;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(242, 244, 248, .78);
}
.xhero__inner { width: 100%; padding-block: clamp(48px, 9vh, 96px); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); justify-items: start; }
.xhero__inner > * { max-width: 720px; }
.xhero__inner { pointer-events: none; } .xhero__inner > * { pointer-events: auto; }
.xhero h1 { color: #fff; font-size: var(--fs-display); font-weight: 900; line-height: 1; letter-spacing: -.015em; max-width: 15ch; text-wrap: balance; }
.xhero .h1-kicker { display: flex; align-items: center; gap: 16px; margin-bottom: var(--s-5); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; color: var(--on-night-2); }
.xhero .h1-kicker::before { content: ""; width: 28px; height: 2px; flex: none; background: var(--signal); }
.xhero .hero__sub { color: rgba(242, 244, 248, .86); max-width: 36rem; }
.xhero .hero__meta { color: rgba(242, 244, 248, .7); }
.xhero .hero__meta svg { color: var(--signal); }
.xhero__badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px; color: #fff; text-decoration: none;
  border: 1px solid rgba(242, 244, 248, .35); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: border-color .18s var(--ease);
}
.xhero__badge:hover { border-color: #fff; text-decoration: none; }
.xhero__badge b { color: var(--signal); font-weight: 700; }
.xhero__badge-ic, .xhero__badge-star { display: grid; place-items: center; min-width: 32px; min-height: 32px; padding: 0 8px; background: #fff; font-size: .875rem; }
.xhero__badge-star { color: var(--signal-ink); font-size: 1rem; }
.xhero__badge > svg { width: 16px; height: 16px; flex: none; }
.btn--square { border-radius: 0; }
.xhero .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(242, 244, 248, .7); }
.xhero .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
@media (max-width: 899px) {
  .xhero { display: block; min-height: 0; }
  .xhero::before { background: radial-gradient(90% 40% at 55% 18%, rgba(29, 78, 216, .24) 0%, transparent 70%); }
  .xhero__media { position: relative; width: 100%; height: min(30svh, 260px); }
  .xhero__caption { bottom: 18%; right: 10px; font-size: .75rem; letter-spacing: .14em; }
  .xhero__inner { padding-block: var(--s-5) var(--s-7); }
  .xhero .btn-row .btn { flex: 1 1 auto; }
  .xhero .hero__meta { display: none; }
  /* Handy: Titel und Buttons zuerst im ersten Bildschirm, der Bewertungs-Link folgt darunter (Design-Audit G15) */
  .xhero__badge { order: 10; }
}

/* Google-Bewertungen */
.stars {
  --p: 100%; display: inline-block; font-size: 1.125rem; line-height: 1; letter-spacing: 2px; white-space: nowrap;
  background: linear-gradient(90deg, var(--signal) var(--p), var(--line-strong) var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.reviews__score { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: var(--s-4); row-gap: var(--s-2); align-self: end; }
.reviews__score .stars { grid-column: 1 / -1; font-size: 1.5rem; }
.reviews__big { font: 700 clamp(3rem, 2rem + 3vw, 4.5rem)/.9 var(--font-display); letter-spacing: -.03em; }
.reviews__of { color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
.review .stars { font-size: 1rem; }
/* Google-Bewertungen: Fließtext statt Titelgröße, damit unterschiedlich lange Texte die Reihe nicht aufblähen */
.review { align-content: start; grid-template-rows: auto 1fr auto; }
.review blockquote { font: 500 1.0625rem/1.6 var(--font); letter-spacing: 0; hyphens: manual; -webkit-hyphens: manual; }
.reviews .btn-row { align-items: center; gap: var(--s-5); }
.xhero__badge-ic .stars { font-size: .8125rem; letter-spacing: 1px; }

/* ============================================================ Stil v6: Nachtblau der Startseite auf allen Seiten */
/* Header und Menü überall dunkel (wie auf der Startseite), auch beim Scrollen */
.site-header { background: rgba(3, 10, 24, .96); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(3, 10, 24, .88); backdrop-filter: saturate(1.4) blur(12px); } }
.site-header.is-scrolled { border-bottom-color: var(--night-line); }
.site-header .nav__link[aria-current="page"] { color: #fff; background: rgba(242, 244, 248, .1); }
.site-header .mega__list a:hover .mega__l { color: #fff; }

/* Mobil-Menü dunkel */
.mobile-nav { background: var(--night); color: var(--on-night); border-top-color: var(--night-line); }
.mobile-nav__list a, .mobile-nav__list details { border-bottom-color: var(--night-line); color: var(--on-night); }
.mobile-nav__list a::after, .mobile-nav__list summary::after { color: var(--on-night-2); }
.mobile-nav__sub a { color: var(--on-night-2); }
.mobile-nav__sub a:hover { color: #fff; }
.mobile-nav__foot .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .6); }

/* Seiten-Hero ohne Bild: dunkel mit dem Raster der Startseite */
.hero--page { position: relative; isolation: isolate; background: var(--night); color: var(--on-night); padding-block: clamp(64px, 8vw, 96px) clamp(64px, 7vw, 96px); }
.hero--page::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(110, 150, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 150, 255, .09) 1px, transparent 1px);
  background-size: 120px 120px; mask-image: linear-gradient(90deg, transparent 20%, #000 80%); }
.hero--page h1 { color: #fff; }
.hero--page .hero__sub, .hero--page .lead { color: rgba(242, 244, 248, .86); }
.hero--page .eyebrow { color: var(--on-night-2); }
.hero--page .breadcrumb ol { color: rgba(242, 244, 248, .7); }
.hero--page .breadcrumb a { color: #fff; }
.hero--page .breadcrumb li:not(:last-child)::after { color: rgba(242, 244, 248, .35); }
.hero--page .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .7); }
.hero--page .btn--ghost:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.hero--page .todo { color: #8A1F24; }

/* Produkte (Startseite): direkt unter dem Hero, gleiche Nachtfarbe */
.products { background: var(--night); color: var(--on-night); padding-block: clamp(48px, 5vw, 64px) clamp(64px, 7vw, 96px); border-top: 1px solid var(--night-line); }
.products__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); margin-bottom: var(--s-6); }
.products__head h2 { font-size: var(--fs-h3); color: #fff; }
.products .section-head h2 { color: #fff; }
.products .section-head .lead { color: var(--on-night-2); }
.products__grid { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .products__grid { grid-template-columns: repeat(3, 1fr); } }
.product { position: relative; display: grid; align-content: start; gap: var(--s-3); padding: var(--s-6); background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); transition: border-color .2s var(--ease), transform .3s var(--ease); }
.product:hover { border-color: rgba(107, 152, 245, .6); }
.product__tag { justify-self: start; font: 700 var(--fs-xs)/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 8px 9px; }
.product__tag--muted { color: var(--on-night); background: var(--night-line); }
.product h3 { font-size: 1.5rem; min-height: 32px; display: flex; align-items: center; }
.product h3 a { color: #fff; text-decoration: none; }
.product h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product:has(a:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.product a:focus-visible { outline: none; }
.product p:not(.product__tag) { color: var(--on-night-2); }
.product .link-arrow { justify-self: start; color: var(--signal); }
@media (prefers-reduced-motion: no-preference) {
  .js .product.reveal.is-in { animation: ucIn .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 120ms); }
  .js .product.reveal { transition: border-color .2s var(--ease), transform .3s var(--ease); }
  .js .product.reveal.is-in:hover { transform: translateY(-4px); }
}

/* Menü mit acht Punkten: kein Umbruch, kompakter Abstand */
.nav__link { white-space: nowrap; padding: 0 12px; font-size: var(--fs-small); }
.nav__list { gap: 0; }
.nav__trigger svg { flex: none; }
@media (min-width: 1024px) and (max-width: 1399px) { /* nur Navigation: kompakter Header bis 1400 px */
  .nav__link { padding: 0 8px; font-size: var(--fs-small); }
  .site-header .container { gap: var(--s-4); }
}

/* Übernommene Seiten: Abschnitte, die auf roube.at dunkel sind (pg-dark), im Nachtblau statt Hellgrau */
.pgx .pg-dark { background: var(--night); color: var(--on-night); }
.pgx .pg-dark :is(.pg-h2, h2, h3, .pg-kicker-row) { color: #fff; }
.pgx .pg-dark :is(.pg-lead, .pg-cols, .pg-inner > p, .muted, .wissen-meta) { color: var(--on-night-2); }
.pgx .pg-dark .pg-eyebrow { color: var(--on-night-2); }
.pgx .pg-dark .pg-item { background: var(--night-2); border-color: var(--night-line); color: var(--on-night); }
.pgx .pg-dark a.pg-item:hover { border-color: rgba(107, 152, 245, .6); }
.pgx .pg-dark .pg-item .d { color: var(--on-night-2); }
.pgx .pg-dark .pg-item .n { color: var(--signal); }
.pgx .pg-dark .pg-faq, .pgx .pg-dark .pg-faq details { border-color: var(--night-line); }
.pgx .pg-dark .pg-faq summary { color: #fff; }
.pgx .pg-dark .pg-faq summary::after { border-color: var(--night-line); }
.pgx .pg-dark .pg-faq details > :is(p, div) { color: var(--on-night-2); }
.pgx .pg-dark a:not(.pg-cta):not(.pg-item):not(.btn) { color: #fff; }
.pgx .pg-dark .pg-logos .cell { border-color: transparent; }
/* Erster Abschnitt ohne Titelbild (z. B. neuer Wissensbeitrag ohne Eintrag in %W_ILL): bleibt dunkel,
   sonst setzt .pg-sec:first-child Weiß und die helle Schrift wird unsichtbar. */
.pgx .pg-sec.pg-dark:first-child:not(.mhero) { background: var(--night); }
.pgx .pg-dark .breadcrumb :is(ol, li) { color: var(--on-night-2); }
.pgx .pg-dark .breadcrumb li:not(:last-child)::after { color: rgba(242, 244, 248, .4); }
/* Prozessschritte in dunklen Abschnitten (vorher dunkelgrau auf Nachtblau, 1,7:1) */
.pgx .pg-dark .pg-steps p { color: var(--on-night-2); }
.pgx .pg-dark .pg-steps .n { color: var(--signal); }

/* Ein Button-System (Design-Audit G03): alle Inhalts-Buttons eckig wie im Startseiten-Hero,
   52 px hoch, normal geschrieben. Header, Mega-Menü und Mobilmenü bleiben rund und kompakt. */
.btn, .pgx .pg-cta { border-radius: 0; min-height: 52px; padding: 16px 24px; font: 700 1rem/1.2 var(--font); letter-spacing: 0; text-transform: none; }
.site-header .btn, .mobile-nav .btn { border-radius: var(--radius-pill); min-height: 44px; padding: 8px 16px; font-size: var(--fs-small); }
.mobile-nav__foot .btn { min-height: 52px; }
/* Kundenlogos: die Live-Dateien sind hell für dunklen Grund, daher immer nachtblaue Kacheln */
.pgx .pg-logos .cell { background: var(--night-2); border-color: var(--night-line); border-radius: 0; transition: border-color .2s ease; }
.pgx .pg-logos .cell:hover { border-color: rgba(107, 152, 245, .55); }
.pgx .pg-logos img { opacity: .8; }
.pgx .pg-logos .cell:hover img { opacity: 1; }

/* ------------------------------------------------------------ ROUBE Plattform (Premium-Produktseite) */
.pf-hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-night); padding-block: clamp(48px, 7vw, 96px) clamp(64px, 7vw, 96px);
  background: radial-gradient(1200px 700px at 50% 78%, #12264A 0%, #071431 45%, var(--night) 75%); }
.pf-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(900px 600px at 50% 30%, #000 20%, transparent 75%); }
.pf-hero__copy { display: grid; justify-items: center; text-align: center; gap: var(--s-4); max-width: 920px; margin-inline: auto; }
.pf-hero__copy .breadcrumb ol { color: rgba(242, 244, 248, .7); justify-content: center; }
.pf-hero h1 { color: #fff; font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.015em; max-width: 24ch; }
.pf-hero .hero__sub { color: rgba(242, 244, 248, .86); max-width: 44rem; margin-inline: auto; }
.pf-hero .btn-row { justify-content: center; margin-top: var(--s-2); }
.pf-badge { display: inline-flex; align-items: center; gap: 12px; font: 700 var(--fs-xs)/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: #fff;
  padding: 9px 16px; border: 1px solid rgba(107, 152, 245, .55); background: rgba(107, 152, 245, .10); }
.pf-badge::before { content: ""; width: 8px; height: 8px; background: var(--signal); box-shadow: 0 0 12px var(--signal); }
.pf-shot { position: relative; margin: clamp(48px, 6vw, 64px) auto 0; max-width: 1200px; border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255,255,255,.03) inset, 0 0 120px -20px rgba(107, 152, 245, .25); }
.pf-shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pf-points { list-style: none; display: grid; gap: var(--s-4); max-width: 1200px; margin: var(--s-7) auto 0; }
@media (min-width: 900px) { .pf-points { grid-template-columns: repeat(3, 1fr); } }
.pf-points li { display: grid; gap: 4px; padding-top: var(--s-4); border-top: 1px solid var(--night-line); }
.pf-points b { font: 700 var(--fs-h3)/1.2 var(--font-display); color: #fff; }
.pf-points span { color: var(--on-night-2); }

.pf-compare { display: grid; gap: var(--s-4); }
@media (min-width: 900px) { .pf-compare { grid-template-columns: 1fr 1fr; } }
.pf-compare__col { padding: clamp(24px, 3vw, 48px); background: var(--stone); border: 1px solid var(--line); }
.pf-compare__col h3 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.pf-compare__col ul { list-style: none; display: grid; gap: var(--s-3); }
.pf-compare__col li { position: relative; padding-left: 32px; color: var(--ink-2); }
.pf-compare__col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 14px; height: 2px; background: var(--muted); }
.pf-compare__col--hl { background: var(--night); border-color: var(--night); color: var(--on-night); box-shadow: var(--shadow-2); }
.pf-compare__col--hl h3 { color: #fff; }
.pf-compare__col--hl li { color: var(--on-night); }
.pf-compare__col--hl li::before { top: .4em; width: 14px; height: 8px; background: none; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }

.pf-media { box-shadow: var(--shadow-2); }
.pf-media img { aspect-ratio: 16 / 9; }
.section--night .pf-media { border: 1px solid var(--night-line); }
.pf-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-2); }
.pf-chips li { padding: 8px 12px; font-size: var(--fs-small); color: #fff; background: var(--night-2); border: 1px solid var(--night-line); }
.pf-note { color: var(--on-night-2); }

.pf-cards .card { border-radius: var(--radius); } /* Karten überall --radius, nur Buttons eckig (G14) */
.pf-steps { counter-reset: step; }
@media (min-width: 1280px) { .pf-steps { grid-template-columns: repeat(5, 1fr); } }
.pf-steps .step::before { background: var(--paper); }

.pf-pillars article { display: grid; gap: var(--s-3); padding-top: var(--s-5); border-top: 2px solid var(--signal); }
.pf-pillars h3 { color: #fff; font-size: var(--fs-h3); }
.pf-pillars p { color: var(--on-night-2); }

/* Startseite: Plattform als hervorgehobene Premium-Karte */
.product--premium { overflow: hidden; border-color: rgba(107, 152, 245, .45);
  background: radial-gradient(700px 400px at 85% 50%, rgba(107, 152, 245, .10), transparent 70%), linear-gradient(160deg, #102243, var(--night-2) 60%); }
@media (min-width: 900px) {
  .products__grid:has(.product--premium) { grid-template-columns: repeat(2, 1fr); }
  .product--premium { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--s-7); align-items: center; }
  .product--premium > :not(.product__shot) { grid-column: 1; }
  .product--premium .product__shot { grid-column: 2; grid-row: 1 / span 5; }
}
.product--premium h3 { font-size: clamp(1.625rem, 1.3rem + 1.2vw, 2.25rem); }
.product__tag--premium { color: #fff; background: transparent; border: 1px solid rgba(107, 152, 245, .7); }
.product__shot { margin: 0; border: 1px solid var(--night-line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-2); }
.product__shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.pf-hero .breadcrumb a { color: #fff; }
.pf-hero .breadcrumb li:not(:last-child)::after { color: rgba(242, 244, 248, .35); }
/* Produkte: bleibt neben der Premium-Karte nur eine Karte, nimmt sie die ganze Breite als Zeile:
   Titel links, Text Mitte, Link rechts, statt eines halb leeren Blocks (Design-Audit D, Startseite) */
@media (min-width: 900px) {
  .products__grid:has(.product--premium) > .product:nth-child(2):last-child {
    grid-column: 1 / -1; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; column-gap: var(--s-7); align-items: center;
  }
  .products__grid:has(.product--premium) > .product:nth-child(2):last-child > .product__tag { grid-column: 1; grid-row: 1; }
  .products__grid:has(.product--premium) > .product:nth-child(2):last-child > h3 { grid-column: 1; grid-row: 2; }
  .products__grid:has(.product--premium) > .product:nth-child(2):last-child > p:not(.product__tag) { grid-column: 2; grid-row: 1 / span 2; max-width: 62ch; }
  .products__grid:has(.product--premium) > .product:nth-child(2):last-child > .link-arrow { grid-column: 3; grid-row: 1 / span 2; }
}

/* ------------------------------------------------------------ Design-Audit P2 (23.11.2026) */
/* G09 Klickflächen: Textlinks mit Pfeil, Header-Logo und Footer-Links mindestens 44 px hoch.
   fit-content verhindert, dass der Link (und sein Fokusrahmen) in Rastern die ganze Zeile füllt. */
.link-arrow { min-height: 44px; width: fit-content; max-width: 100%; }
.site-header .brand { min-height: 44px; }
.site-footer a { min-height: 44px; }
.site-footer ul { gap: 0; }
/* Rechtliche Links unten: Abstand zwischeneinander behalten, mit dem Copyright auf eine Linie */
.footer__bottom { align-items: center; }
.footer__bottom ul { gap: 0 var(--s-5); }
/* G08 Footer: unter 1024 px Linkgruppen zweispaltig statt untereinander (Handy vorher 1.895 px hoch) */
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
  .footer__brand { grid-column: 1 / -1; }
}
/* G12 Badge „Meistgewählt“: Nachtblau auf Coral (7,3:1) statt Weiß (2,7:1), mindestens 13 px */
.pgx .rpw-badge { color: #fff; font-size: var(--fs-xs); }  /* FA-03: Weiß auf Blau 6,7:1 */
/* Performance Web: Zusatzleistungen sind jetzt H3 statt H4 (Überschriften ohne Sprung), Optik wie vorher */
.pgx .rpw-opt h3.rpw-h4 { font-size: 16px; font-weight: 700; margin: 0 0 4px; letter-spacing: 0; line-height: 1.3; }
.pgx .rpw-bundle h3.rpw-h4 { font-size: 19px; font-weight: 700; margin: 0 0 4px; letter-spacing: 0; line-height: 1.3; }
/* Selbst-Check: Hinweis, solange noch nichts angehakt ist */
.check-hint { color: var(--muted); }
/* FAQ-Kopf neben der Liste: Zeilen nicht auf Listenhöhe strecken (Abstand Eyebrow → H2 bleibt --s-4) */
.faq-layout > .section-head { align-self: start; align-content: start; }
/* Breadcrumb bündig mit dem Inhalt (keine Listen-Einrückung) */
.breadcrumb ol, .pgx .breadcrumb ol:not([class]) { padding: 0; margin: 0; }

/* ------------------------------------------------------------ Design-Audit P3 (23.11.2026) */
/* G16: Wissensbeiträge – Zeilen höchstens ~75 Zeichen, Hinweisbox so breit wie die Textspalte,
   Inhaltsverzeichnis ab 1200 px mitlaufend in der freien rechten Spalte (dasselbe Element, kein Duplikat) */
.pgx .wissen-prose :is(p, li), .pgx .wissen-byline { max-width: 68ch; }
.pgx .wissen-prose .wissen-callout { max-width: none; }
@media (min-width: 1280px) {
  .pgx .wissen-prose:has(> .wissen-toc) { max-width: none; display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 300px); column-gap: var(--s-9); align-items: start; }
  .pgx .wissen-prose:has(> .wissen-toc) > * { grid-column: 1; }
  .pgx .wissen-prose > .wissen-toc { grid-column: 2; grid-row: 1 / span 600; position: sticky; top: calc(var(--header-h) + var(--s-5)); margin: 0; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; font-size: var(--fs-small); }
  .pgx .wissen-toc li { max-width: none; }
}
/* G16: Gehaltsbox der Stellenanzeigen – Text auf Lesebreite (vorher ~130 Zeichen je Zeile) */
.salary p { max-width: var(--measure); }
/* G19: Leitsatz als ruhige Schlusszeile des vorigen Abschnitts (gleicher Ton, kein eigenes Band, Text unverändert) */
.pgx .pg-fill--join { padding: 0 var(--gutter) var(--section); margin-top: calc(var(--s-6) - var(--section)); text-align: left; position: relative; }
.pgx .pg-fill--join.pg-paper { background: var(--paper); }
.pgx .pg-fill--join.pg-stone { background: var(--stone); }
.pgx .pg-fill--join.pg-dark { background: var(--night); }
.pgx .pg-fill--join p { max-width: var(--container); margin-inline: auto; font: 500 var(--fs-lead)/1.4 var(--font); color: var(--muted); }
.pgx .pg-fill--join p::before { content: ""; display: block; width: 40px; height: 3px; background: var(--signal); margin-bottom: var(--s-3); }
.pgx .pg-fill--join.pg-dark p { color: var(--on-night-2); }
/* Seitenpunkte P3 */
.field input, .field select { min-height: 52px; }                       /* Kontakt: Auswahl so hoch wie die Eingabefelder */
.check-list .check { margin-inline: calc(-1 * var(--s-3)); padding-inline: var(--s-3); transition: background-color .15s; }
.check-list .check:hover { background: var(--stone); }                  /* Selbst-Checks: ganze Zeile sichtbar klickbar */
.member--join.on-night { background: var(--night); border: 0; color: var(--on-night); }  /* Team: „Und Sie?“ hebt sich ab */
.member--join.on-night h2 { color: #fff; }
.member--join.on-night p { color: var(--on-night-2); }
.pgx .wissen-prose h2 { font-size: var(--fs-h2-read); }  /* TY-04: Lesetext-H2 22 → 32 px */
@media (max-width: 639px) {                                               /* Referenzen: ungerade letzte Logo-Kachel mittig */
  .pgx .pg-logos { display: flex; flex-wrap: wrap; justify-content: center; }
  .pgx .pg-logos .cell { flex: 0 0 calc(50% - var(--s-3) / 2); }
}

/* ------------------------------------------------------------ Startseite: Leistungsband KI · IT · ERP (unter dem Hero) */
/* Leistungsband (Redesign 03.12.2026): drei gleich gebaute Karten wie Produkte und Vergleich – Nahaufnahme im
   Hero-Stil (dunkle Kachel, Drahtgitter-Band), kleine Nummernmarke statt Riesenbuchstaben, Unterseiten als Liste */
.pillars { background: var(--paper); }
.pillars__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); }
@media (min-width: 1280px) { .pillars__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pillar { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .3s var(--ease); }
.pillar:hover { border-color: rgba(29, 78, 216, .45); box-shadow: var(--shadow-1); }
.pillar__img { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--night); border-bottom: 1px solid var(--line); }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pillar:hover .pillar__img img { transform: scale(1.03); }
.pillar__body { flex: 1; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5) var(--s-5) var(--s-6); }
.pillar__mark { display: flex; align-items: center; gap: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--signal); }
.pillar__mark span { color: var(--muted); font-weight: 700; letter-spacing: .08em; }
.pillar__mark span::after { content: ""; display: inline-block; width: 20px; height: 1px; margin-left: 12px; vertical-align: middle; background: var(--line); }
.pillar h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; }
.pillar__body > p:not(.pillar__mark) { color: var(--ink-2); }
.pillar__list { list-style: none; display: grid; margin: auto 0 0; padding-top: var(--s-3); }
.pillar__list li { border-bottom: 1px solid var(--line); }
.pillar__list li:first-child { border-top: 1px solid var(--line); }
.pillar__list a { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 44px; text-decoration: none; color: var(--ink); font-size: 1rem; font-weight: 700; }
.pillar__list a::after { content: "→"; color: var(--muted); transition: transform .18s var(--ease); }
.pillar__list a:hover { color: var(--signal-ink); }
.pillar__list a:hover::after { transform: translateX(3px); color: var(--signal-ink); }
.pillar .link-arrow { margin-top: var(--s-2); }
@media (prefers-reduced-motion: reduce) { .pillar:hover .pillar__img img { transform: none; } }
/* Tablet: Karte über die volle Breite, Bild flacher, Text links und Unterseiten rechts */
@media (min-width: 640px) and (max-width: 1279px) {
  .pillar__img { aspect-ratio: 2 / 1; }
  .pillar__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: var(--s-7); row-gap: var(--s-3); }
  .pillar__mark { grid-area: 1 / 1; } .pillar h3 { grid-area: 2 / 1; } .pillar__body > p:not(.pillar__mark) { grid-area: 3 / 1; }
  .pillar .link-arrow { grid-area: 4 / 1; align-self: end; justify-self: start; }
  .pillar__list { grid-area: 1 / 2 / 5 / 3; margin: 0; padding-top: 0; align-self: start; }
}

/* Menü „Produkte“: Technologien & Partner (von der Startseite hierher, 03.12.2026) */
.mega__tech { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--night-line); display: grid; gap: var(--s-4); }
.mega__tech-note { font-size: var(--fs-small); color: var(--on-night-2); }
.mega__tech-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.mega__tech-h { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--on-night-2); margin-bottom: var(--s-2); }
.mega__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.mega__chips a, .mega__chips span { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--night-line); border-radius: var(--radius-pill); color: var(--on-night); font-size: .875rem; font-weight: 700; text-decoration: none; }
.mega__chips a:hover { border-color: var(--signal); color: #fff; }
.mobile-nav__tech { padding: var(--s-3) 0 var(--s-2); display: grid; gap: var(--s-3); }
.mobile-nav__tech .mega__tech-h { margin: 0; }
.mobile-nav__sub .mobile-nav__tech .mega__chips a { min-height: 44px; font-size: .875rem; border: 1px solid var(--night-line); color: var(--on-night); }
/* Startseiten-Hero auf Tablet quer: Lead schmaler */
@media (min-width: 900px) and (max-width: 1279px) {
  .xhero .hero__sub { max-width: 30rem; }
}
/* Performance Web: Zusatzleistungen/Bundle stehen durch die Tonfolge (G19) jetzt hell – Gegenstücke zu den dunklen Seitenstilen */
.pgx :is(.pg-paper, .pg-stone) :is(.rpw-opt, .rpw-bundle) { border-color: var(--line); background: var(--paper); }
.pgx :is(.pg-paper, .pg-stone) .rpw-oprice { color: var(--signal-ink); }
.pgx :is(.pg-paper, .pg-stone) .rpw-inc, .pgx :is(.pg-paper, .pg-stone) .rpw-inc:is(:last-child, :nth-last-child(-n+2)) { border-color: var(--line); }
.pgx .pg-stone .rpw-trio div { border-top-color: rgba(18, 19, 26, .14); }
.pgx :is(.pg-paper, .pg-stone) :is(.rpw-inc, .rpw-tier li) svg { stroke: var(--signal-ink); }
/* Referenzen (rf-*): Laufband, Kundenstimme im Fokus, Logo-Wand, Kundenstimmen */
.rf-marquee { position: relative; background: var(--night); border-top: 1px solid var(--night-line); overflow: hidden; padding-block: var(--s-5); }
.rf-marquee::before, .rf-marquee::after { content: ""; position: absolute; inset-block: 0; width: 12%; z-index: 1; pointer-events: none; }
.rf-marquee::before { left: 0; background: linear-gradient(90deg, var(--night), transparent); }
.rf-marquee::after { right: 0; background: linear-gradient(-90deg, var(--night), transparent); }
.rf-marquee__track { display: flex; width: max-content; list-style: none; animation: rf-scroll 80s linear infinite; }
.rf-marquee li { flex: none; display: flex; align-items: center; padding-inline: var(--s-5); }
.rf-marquee img { height: 72px; width: auto; max-width: none; opacity: .6; }
.rf-marquee:hover .rf-marquee__track { animation-play-state: paused; }
@keyframes rf-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .rf-marquee__track { animation: none; } }
.rf-spot { background: var(--paper); }
.rf-spot__grid { display: grid; gap: var(--s-8); align-items: center; }
.rf-spot__quote { margin: 0; }
.rf-spot blockquote { position: relative; margin: var(--s-5) 0 var(--s-6); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.rf-spot blockquote::before { content: "\201C"; position: absolute; left: -.06em; top: -.04em; font: 700 clamp(9rem, 6rem + 8vw, 15rem)/.8 Georgia, "Times New Roman", serif; color: var(--signal); }
.rf-spot blockquote p { position: relative; font: 700 clamp(2rem, 1.3rem + 2.6vw, 3.5rem)/1.12 var(--font-display); letter-spacing: -.02em; color: var(--ink); max-width: 22ch; text-wrap: balance; hyphens: manual; -webkit-hyphens: manual; }
.rf-spot figcaption { display: flex; align-items: center; gap: var(--s-4); }
.rf-spot figcaption img { height: 56px; width: auto; filter: invert(1); padding-right: var(--s-4); border-right: 1px solid var(--line); }
.rf-spot figcaption span { display: grid; color: var(--muted); }
.rf-spot figcaption strong { color: var(--ink); font-size: 1rem; }
.rf-spot__note { margin-top: var(--s-6); padding-left: var(--s-4); border-left: 3px solid var(--signal); color: var(--ink-2); max-width: 46ch; }
.rf-stats { margin: 0; display: grid; border-top: 1px solid var(--line); }
.rf-stats div { display: flex; flex-direction: column-reverse; gap: var(--s-2); padding-block: var(--s-5); border-bottom: 1px solid var(--line); }
.rf-stats dd { margin: 0; font: 900 clamp(3.5rem, 2.4rem + 3.2vw, 5.5rem)/.9 var(--font-display); letter-spacing: -.03em; color: var(--night); }
.rf-stats dd small { font-size: .32em; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-right: .25em; }
.rf-stats dt { color: var(--ink-2); }
@media (min-width: 1024px) { .rf-spot__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-9); } }
.rf-wall { position: relative; overflow: hidden; background: var(--night); color: var(--on-night); }
.rf-wall::before { content: ""; position: absolute; width: 1000px; height: 1000px; right: -360px; top: -380px; background: radial-gradient(closest-side, rgba(107, 152, 245, .16), transparent); pointer-events: none; }
.rf-wall .container { position: relative; }
.rf-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-8); }
.rf-wall .rf-head h2 { color: #fff; font-size: var(--fs-display); line-height: 1; max-width: 14ch; }
.rf-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--on-night-2); max-width: var(--measure); }
.rf-grp { display: grid; gap: var(--s-5); padding-block: var(--s-7); border-top: 1px solid var(--night-line); }
.rf-grp__n { display: block; font: 900 clamp(3rem, 2rem + 3vw, 4.5rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--signal); margin-bottom: var(--s-2); }
.rf-grp h3 { color: #fff; }
.rf-grp__head p { margin-top: var(--s-2); color: var(--on-night-2); max-width: 34ch; }
.rf-logos { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.rf-logos li { position: relative; overflow: hidden; display: grid; place-items: center; aspect-ratio: 5 / 3; padding: var(--s-3); border: 1px solid var(--night-line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .02); transition: background-color .25s, border-color .25s; }
.rf-logos li::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.rf-logos li:hover { background: var(--night-2); border-color: rgba(255, 255, 255, .22); }
.rf-logos li:hover::after { transform: scaleX(1); }
.rf-logos img { width: 100%; max-width: 240px; height: auto; opacity: .8; transition: opacity .25s, transform .3s var(--ease); }
.rf-logos li:hover img { opacity: 1; transform: scale(1.05); }
@media (min-width: 640px) { .rf-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rf-grp { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--s-8); } .rf-grp__head { position: sticky; top: calc(var(--header-h) + var(--s-5)); align-self: start; } }
@media (min-width: 1280px) { .rf-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rf-qgrid { list-style: none; display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
.rf-q { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-6); padding: var(--s-6); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s; }
.rf-q::before { content: "\201C"; display: block; height: .42em; font: 700 5.5rem/.8 Georgia, "Times New Roman", serif; color: var(--signal); }
.rf-q:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.rf-q blockquote { margin: 0; flex: 1; }
.rf-q blockquote p { font: 700 var(--fs-h3)/1.3 var(--font-display); color: var(--ink); text-wrap: pretty; hyphens: manual; -webkit-hyphens: manual; }
.rf-q__by { display: flex; align-items: center; gap: var(--s-3); color: var(--muted); font-size: var(--fs-small); }
.rf-q__by > span:last-child { display: grid; }
.rf-q__by strong { color: var(--ink); font-size: 1rem; }
.rf-q__av { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--night); color: var(--signal); font: 700 1rem/1 var(--font-display); letter-spacing: .02em; }
.rf-q__cta { margin-top: var(--s-7); }
@media (min-width: 900px) { .rf-qgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .rf-q { grid-column: span 2; } .rf-q--half { grid-column: span 3; } .rf-q--full { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- Partnerprodukte */
/* Startseite: zweite Reihe unter den eigenen Produkten */
.products__head--partner { margin-top: clamp(48px, 5vw, 64px); }
.products__sub { color: var(--on-night-2); font-size: var(--fs-lead, 1.125rem); }
@media (min-width: 900px) { .products__grid--partner { grid-template-columns: repeat(2, 1fr); } }
.product--partner { align-content: stretch; grid-template-rows: auto auto auto auto 1fr auto; }
.product__tag--partner { color: #fff; background: transparent; border: 1px solid var(--night-line); }
.product__facts { list-style: none; display: grid; gap: 8px; }
.product__facts li { position: relative; padding-left: 24px; color: var(--on-night); font-size: var(--fs-small); }
.product__facts li::before { content: ""; position: absolute; left: 2px; top: .4em; width: 11px; height: 6px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.product--partner .gx-stack--mini, .product--partner .gx-pipe--mini { align-self: end; margin-top: var(--s-2); }
/* Nur eine Partnerkarte (weitere vorläufig offline): volle Breite, Text links, Grafik rechts */
@media (min-width: 900px) {
  .products__grid--partner > .product--partner:only-child { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; column-gap: var(--s-7); }
  .products__grid--partner > .product--partner:only-child > :not(.gx-stack):not(.gx-pipe) { grid-column: 1; }
  .products__grid--partner > .product--partner:only-child > .gx-stack, .products__grid--partner > .product--partner:only-child > .gx-pipe { grid-column: 2; grid-row: 1 / -1; align-self: center; margin-top: 0; }
}

/* Schichtenbild Galene.AI OS */
.gx-stack { display: grid; gap: 8px; max-width: 880px; margin: clamp(48px, 6vw, 64px) auto 0; }
.gx-layer { display: grid; gap: var(--s-3); padding: var(--s-4) var(--s-5); border: 1px solid var(--night-line); border-radius: var(--radius-sm); background: var(--night-2); }
.gx-layer--apps { background: linear-gradient(90deg, rgba(107, 152, 245, .16), rgba(107, 152, 245, .04)); border-color: rgba(107, 152, 245, .5); }
.gx-layer--tenant { margin-inline: 4%; }
.gx-layer--control { margin-inline: 8%; }
.gx-k { font: 700 .8125rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.gx-layer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.gx-layer li { padding: 8px 12px; font-size: var(--fs-small); color: var(--on-night); background: rgba(255, 255, 255, .04); border: 1px solid var(--night-line); }
.gx-base { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-inline: 12%; }
.gx-base span { padding: 12px; text-align: center; font-size: var(--fs-small); color: var(--on-night-2); border-top: 2px solid var(--signal); }
@media (min-width: 640px) { .gx-layer { grid-template-columns: 11rem 1fr; align-items: center; } }
.gx-stack--mini { max-width: none; margin: 0; gap: 4px; }
.gx-stack--mini .gx-layer { display: block; padding: 12px 16px; }
.gx-stack--mini .gx-k { font-size: .75rem; }

/* Verarbeitungskette (Partnerprodukt) */
.gx-pipe { max-width: 1200px; margin: clamp(48px, 6vw, 64px) auto 0; }
.gx-pipe ol { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; counter-reset: none; }
@media (min-width: 640px) { .gx-pipe ol { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .gx-pipe ol { grid-template-columns: repeat(8, 1fr); } }
.gx-pipe li { position: relative; display: grid; gap: 8px; align-content: start; padding: var(--s-4); min-height: 96px; font-size: var(--fs-small); color: var(--on-night); background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-sm); hyphens: manual; }
.gx-pipe li.is-key { color: #fff; font-weight: 700; background: linear-gradient(160deg, rgba(107, 152, 245, .28), rgba(107, 152, 245, .08)); border-color: var(--signal); box-shadow: 0 0 24px rgba(107, 152, 245, .25); }
.gx-pipe__n { font: 700 .8125rem/1 var(--font); color: var(--signal); letter-spacing: .08em; }
.gx-pipe--mini { max-width: none; margin: 0; }
.gx-pipe--mini ol { grid-template-columns: 1fr 1.5fr 1fr 1fr; gap: 4px; }
.gx-pipe--mini li { min-height: 0; padding: 12px 8px; font-size: .75rem; text-align: center; place-content: center; }

.gx-chips { justify-content: center; margin-top: var(--s-6); }
.gx-chips + .pf-note { text-align: center; margin-top: var(--s-3); }
.gx-split { align-items: start; }
@media (min-width: 900px) { .gx-split { grid-template-columns: 1fr 1fr; } }

/* Betriebsvarianten Galene.AI OS */
.gx-variants { list-style: none; display: grid; gap: var(--s-3); }
.gx-variants li { display: grid; grid-template-columns: 1fr auto; gap: 4px var(--s-3); padding: var(--s-4) var(--s-5); background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.gx-variants b { font: 700 1.125rem/1.3 var(--font-display); color: var(--ink); }
.gx-variants__n { font-size: var(--fs-small); color: var(--muted); align-self: center; }
.gx-variants p { grid-column: 1 / -1; color: var(--ink-2); }

/* Messbalken (Partnerprodukt) */
.gx-meter { display: grid; gap: var(--s-3); }
.gx-meter__row { display: grid; grid-template-columns: 9.5rem 1fr 3rem; align-items: center; gap: var(--s-3); }
.gx-meter__row span { font-size: var(--fs-small); color: var(--ink-2); }
.gx-meter__row i { display: block; height: 14px; width: var(--v); background: var(--muted); border-radius: 2px; }
.gx-meter__row b { text-align: right; font: 700 1.125rem/1 var(--font-display); color: var(--ink); }
.gx-meter__row.is-key i { background: var(--signal-ink); }

/* Lesetipps */
a.gx-read { text-decoration: none; color: inherit; }
.gx-read h3 { color: var(--ink); }
.gx-read__k { font: 700 var(--fs-small)/1 var(--font); color: var(--signal-ink); letter-spacing: .08em; text-transform: uppercase; }

/* ===== Startseiten-Hero: lebendige Ansichten (04.12.2026, ersetzt das Standbild start-illustration)
   Drei Glasfenster über dem Drahtgitter, alles in em – die Bühne skaliert über font-size.
   hero-stage.js spielt die Abläufe (Zeiger, Chat, Belegkette, Test); ohne JS bzw. bei reduzierter Bewegung steht der Endzustand. */
.xs { display: grid; align-items: center; justify-items: end; padding-right: clamp(16px, 2.5vw, 48px); pointer-events: none; }
.xs__stage { position: relative; width: 48.5em; height: 41em; font-size: clamp(9px, min(.86vw, 1.5vh), 14px); color: var(--on-night); --mx: 0; --my: 0; }
.xs__win { position: absolute; pointer-events: auto; transform: translate(calc(var(--mx) * var(--d) * 1em), calc(var(--my) * var(--d) * .7em)); transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .9s var(--ease), translate .9s var(--ease); }
/* IT und KI vorne, ERP dahinter und gedämpft (User-Wunsch 04.12.2026: IT und KI in den Vordergrund) */
.xs__win--erp { left: 17.5em; top: 0; width: 31em; z-index: 1; }
.xs__win--ki { left: 0; top: 8em; width: 25em; z-index: 2; }
.xs__win--it { left: 26em; top: 21em; width: 22.5em; z-index: 3; }
.xs__win--erp .xs__glass > * { opacity: .62; transition: opacity .3s var(--ease); }
.xs__win--erp:hover .xs__glass > * { opacity: 1; }
.xs__glass {
  position: relative; overflow: hidden; border-radius: 1.1em;
  background: linear-gradient(180deg, rgba(24, 30, 44, .74), rgba(12, 16, 26, .8));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(120, 160, 255, .16);
  box-shadow: 0 2.6em 4.6em -1.8em rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: translate .45s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.xs__win:hover .xs__glass { translate: 0 -.35em; border-color: rgba(107, 152, 245, .5); box-shadow: 0 3.2em 5.2em -1.8em rgba(0, 0, 0, .9), 0 0 0 1px rgba(107, 152, 245, .12), inset 0 1px 0 rgba(255, 255, 255, .09); }
.xs__bar { display: flex; align-items: center; gap: .55em; height: 2.6em; padding: 0 1em; border-bottom: 1px solid rgba(120, 160, 255, .1); font-size: .8em; color: var(--on-night-2); white-space: nowrap; }
.xs__bar > i { width: .62em; height: .62em; border-radius: 50%; background: var(--night-3); flex: none; }
.xs__chip { margin-left: .4em; padding: .2em .5em; border-radius: .35em; background: var(--accent); color: #fff; font-weight: 700; font-size: .85em; letter-spacing: .08em; }
.xs__bar strong { color: var(--on-night); font-weight: 700; }
.xs__ok { margin-left: auto; display: inline-flex; align-items: center; gap: .45em; padding: .25em .7em; border-radius: 999px; background: rgba(126, 226, 168, .12); color: var(--ok-night); font-style: normal; font-weight: 700; font-size: .85em; }
.xs__ok::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: currentColor; box-shadow: 0 0 .6em currentColor; }
.xs__body { padding: 1em; display: grid; gap: .8em; }
.xs small { font-size: .7em; color: #8A93A8; }
/* ERP */
.xs__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.xs__kpis > div { padding: .6em .75em; border-radius: .7em; background: rgba(11, 20, 38, .7); border: 1px solid rgba(120, 160, 255, .1); display: grid; gap: .2em; }
.xs__kpis b { font-size: 1.45em; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.xs__flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: .45em; margin: 0; padding: 0; }
.xs__flow li { position: relative; display: flex; align-items: center; gap: .45em; padding: .5em .6em; border-radius: .6em; background: rgba(11, 20, 38, .7); border: 1px solid rgba(120, 160, 255, .1); font-size: .76em; color: #C9CDD4; white-space: nowrap; transition: border-color .4s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.xs__flow li::before { content: ""; width: 1.25em; height: 1.25em; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--night-3); font-size: .8em; color: #8A93A8; transition: background .4s var(--ease); }
.xs__flow li.is-done::before { content: "✓"; background: rgba(126, 226, 168, .16); color: var(--ok-night); font-weight: 700; }
.xs__flow li.is-now { border-color: var(--signal-night); color: #fff; background: rgba(29, 78, 216, .16); box-shadow: 0 0 0 .25em rgba(107, 152, 245, .1); }
.xs__flow li.is-now::before { content: "●"; background: rgba(107, 152, 245, .22); color: #9DBBF8; }
.xs__chart { padding: .7em .8em .4em; border-radius: .7em; background: rgba(11, 20, 38, .7); border: 1px solid rgba(120, 160, 255, .1); display: grid; gap: .3em; }
.xs__chart svg { width: 100%; height: 5.2em; display: block; overflow: visible; }
.xs__line { fill: none; stroke: var(--signal-night); stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 4px rgba(107, 152, 245, .6)); }
/* IT */
.xs__rows { list-style: none; margin: 0; padding: .1em .8em; border-radius: .7em; background: rgba(11, 20, 38, .7); border: 1px solid rgba(120, 160, 255, .1); }
.xs__rows li { display: grid; grid-template-columns: 1fr auto .55em; gap: .7em; align-items: center; padding: .52em 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: .8em; color: #E4E7EC; }
.xs__rows li:last-child { border-bottom: 0; }
.xs__rows li small { font-size: .85em; }
.xs__rows li > i { width: .55em; height: .55em; border-radius: 50%; background: var(--ok-night); box-shadow: 0 0 .7em rgba(126, 226, 168, .7); }
.xs__upd small span + span { display: none; }
.xs__upd > i { background: var(--signal-night); box-shadow: 0 0 .7em rgba(107, 152, 245, .8); }
.xs__upd.is-ok small span:first-child { display: none; } .xs__upd.is-ok small span + span { display: inline; }
.xs__upd.is-ok > i { background: var(--ok-night); box-shadow: 0 0 .7em rgba(126, 226, 168, .7); }
.xs__test { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3em .8em; padding: .65em .8em; border-radius: .7em; background: rgba(11, 20, 38, .7); border: 1px solid rgba(120, 160, 255, .1); }
.xs__test b { font-size: 1.15em; font-weight: 700; white-space: nowrap; transition: opacity .4s var(--ease); }
.xs__test b span { color: var(--ok-night); }
.xs__meter { grid-column: 1 / -1; height: .35em; border-radius: .2em; background: var(--night-3); overflow: hidden; }
.xs__meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--signal-night)); border-radius: inherit; transform-origin: left; }
.xs__scan { position: absolute; left: 0; right: 0; top: 2.1em; height: 3em; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(107, 152, 245, .16) 70%, rgba(157, 187, 248, .5) 100%); border-bottom: 1px solid rgba(157, 187, 248, .6); }
/* KI */
.xs__chat { height: 12.8em; padding: 1em; display: flex; flex-direction: column; gap: .7em; overflow: hidden; }
.xs__q { align-self: flex-end; max-width: 85%; margin: 0; padding: .6em .85em; border-radius: 1em 1em .3em 1em; background: var(--accent); color: #fff; font-size: .82em; font-weight: 700; line-height: 1.35; box-shadow: 0 .6em 1.4em -.6em rgba(29, 78, 216, .8); }
.xs__a { display: grid; gap: .55em; padding: .7em .85em; border-radius: 1em 1em 1em .3em; background: rgba(11, 20, 38, .8); border: 1px solid rgba(120, 160, 255, .12); font-size: .8em; line-height: 1.45; color: #DADDE2; }
.xs__a p { margin: 0; }
.xs__a b { color: #fff; }
.xs__src { justify-self: start; display: inline-flex; align-items: center; gap: .5em; padding: .3em .6em; border-radius: .5em; background: var(--night); border: 1px solid var(--night-line); font-size: .82em; color: #C9CDD4; }
.xs__src { transition: opacity .3s var(--ease), translate .4s cubic-bezier(.2, 1.4, .4, 1); }
.xs__src::before { content: ""; width: .7em; height: .9em; border-radius: .15em; background: var(--night-3); }
.xs__typing { display: none; align-self: flex-start; gap: .3em; padding: .7em .85em; border-radius: 1em 1em 1em .3em; background: rgba(11, 20, 38, .8); border: 1px solid rgba(120, 160, 255, .12); }
.xs__typing.is-on { display: inline-flex; }
.xs__typing i { width: .42em; height: .42em; border-radius: 50%; background: #8A93A8; animation: xs-dot 1s infinite ease-in-out; }
.xs__typing i:nth-child(2) { animation-delay: .15s; } .xs__typing i:nth-child(3) { animation-delay: .3s; }
.xs__input { display: flex; gap: .6em; padding: .7em 1em .9em; border-top: 1px solid rgba(120, 160, 255, .1); }
.xs__field { flex: 1; display: flex; align-items: center; min-width: 0; height: 2.3em; padding: 0 .8em; border-radius: .7em; background: var(--night); border: 1px solid var(--night-line); font-size: .76em; color: #6B7280; white-space: nowrap; overflow: hidden; transition: border-color .3s var(--ease); }
.xs__draft { color: var(--on-night); }
.xs__caret { display: none; width: 1px; height: 1.1em; margin-left: 1px; background: #9DBBF8; animation: xs-caret 1s steps(1) infinite; }
.xs__field.is-typing { border-color: var(--signal-night); } .xs__field.is-typing .xs__ph { display: none; } .xs__field.is-typing .xs__caret { display: block; }
.xs__send { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: .55em; background: var(--accent); color: #fff; font-size: .95em; }
/* Zeiger und Meldungen */
.xs__toast { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .55em; padding: .55em .9em .55em .55em; border-radius: 999px; font-size: .78em; font-weight: 700; color: var(--on-night); white-space: nowrap; background: rgba(16, 24, 42, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(126, 226, 168, .35); box-shadow: 0 1em 2em -1em rgba(0, 0, 0, .8); opacity: 0; translate: 0 .8em; scale: .92; transition: opacity .35s var(--ease), translate .5s cubic-bezier(.2, 1.4, .4, 1), scale .5s cubic-bezier(.2, 1.4, .4, 1); pointer-events: none; }
.xs__toast i { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: rgba(126, 226, 168, .18); color: var(--ok-night); font-style: normal; }
.xs__toast--erp { right: 7em; top: -1.2em; }
.xhero h1 em { font-style: normal; color: var(--signal); }
.xs__toast--it { left: 27em; top: 18.4em; }
.xs__toast.is-on { opacity: 1; translate: 0 0; scale: 1; }
.xs__cursor { position: absolute; z-index: 4; left: 0; top: 0; width: 1.5em; height: 1.5em; opacity: 0; pointer-events: none; transform: translate(50em, 30em); transition: transform 1s cubic-bezier(.45, 0, .2, 1), opacity .4s var(--ease); }
.xs__cursor svg { width: 100%; height: 100%; fill: #fff; stroke: var(--night); stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 .2em .35em rgba(0, 0, 0, .6)); transition: scale .15s var(--ease); }
.xs__cursor.is-down svg { scale: .85; }
.xs__ripple { position: absolute; left: .31em; top: .19em; width: 2.4em; height: 2.4em; margin: -1.2em 0 0 -1.2em; border-radius: 50%; border: 2px solid rgba(157, 187, 248, .9); opacity: 0; scale: .2; }
.xs__cursor.is-click .xs__ripple { animation: xs-ripple .6s var(--ease) both; }
.xs.is-live .xs__cursor { opacity: 1; }
@keyframes xs-dot { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-.2em); } }
@keyframes xs-caret { 50% { opacity: 0; } }
@keyframes xs-ripple { from { opacity: 1; scale: .2; } to { opacity: 0; scale: 1.4; } }
@keyframes xs-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.55em); } }
@keyframes xs-scan { 0% { opacity: 0; top: 2.1em; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; top: calc(100% - 3em); } }
/* Bewegung nur, wenn erlaubt: Einblenden, Schweben, Zeichnen der Kurve */
@media (prefers-reduced-motion: no-preference) {
  .js .xs__win { opacity: 0; translate: 0 2em; }
  .js .xs.is-in .xs__win { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * .18s); }
  .xs__win--erp .xs__glass { animation: xs-bob 8s ease-in-out infinite; }
  .xs__win--it .xs__glass { animation: xs-bob 7s ease-in-out -2s infinite; }
  .xs__win--ki .xs__glass { animation: xs-bob 9s ease-in-out -4s infinite; }
  .js .xs__line { stroke-dashoffset: 1; }
  .js .xs.is-in .xs__line { stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.4, 0, .2, 1) .5s; }
  .js .xs__area { opacity: 0; }
  .js .xs.is-in .xs__area { opacity: 1; transition: opacity 1.2s var(--ease) 1.6s; }
  .xs__scan.is-on { animation: xs-scan 1.6s ease-in-out both; }
  .xs.is-paused *, .xs.is-paused *::before { animation-play-state: paused !important; }
}
.xs__q, .xs__a, .xs__typing { transition: opacity .35s var(--ease), translate .45s cubic-bezier(.2, 1.2, .4, 1); }
.xs__chat .is-hidden { opacity: 0; translate: 0 .6em; }
.xs__a .w { opacity: 0; transition: opacity .25s var(--ease); } .xs__a .w.is-on { opacity: 1; }
@media (min-width: 900px) and (max-width: 1279px) { .xs__stage { font-size: clamp(7.5px, .8vw, 10px); } }
@media (max-width: 899px) {
  .xs { height: auto; justify-items: center; padding: calc(var(--s-5) + 16px) 0 0; }
  .xs__stage { font-size: min(1.8vw, 9px); }
  .xs__toast--it { display: none; }
}
@media (min-width: 1280px) and (max-width: 1399px) { .xhero .hero__sub { max-width: 32rem; } }

/* Drei Kugeln (KI, ERP, IT) als Links zu den Bereichen, verbunden durch Lichtbahnen hinter den Fenstern (04.12.2026).
   Grundkugel in CSS (steht auch ohne JS), hero-stage.js legt ein drehendes Drahtgitter darüber und schickt Datenpulse. */
.xs__links { position: absolute; left: -6em; top: -6em; width: calc(100% + 12em); height: calc(100% + 12em); z-index: 0; pointer-events: none; }
.xs__orb {
  position: absolute; z-index: 5; width: 5.6em; height: 5.6em; margin: -2.8em 0 0 -2.8em; border-radius: 50%;
  display: grid; place-items: center; color: #fff; text-decoration: none; pointer-events: auto; cursor: pointer;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .92) 0, rgba(var(--rgb), .95) 17%, rgba(var(--rgb2), .92) 50%, #0B1634 80%, #050B1C 100%);
  box-shadow: 0 0 0 1px rgba(var(--rgb), .45), 0 0 2.2em rgba(var(--rgb), .5), 0 1.6em 2.4em -1em rgba(0, 0, 0, .85), inset -.6em -.8em 1.4em rgba(3, 10, 24, .65);
  transform: translate(calc(var(--mx) * var(--d) * 1em), calc(var(--my) * var(--d) * .7em));
  transition: transform .9s cubic-bezier(.2, .7, .2, 1), scale .4s cubic-bezier(.2, 1.4, .4, 1), box-shadow .3s var(--ease);
}
.xs__orb:hover, .xs__orb:focus-visible, .xs__orb.is-hot { scale: 1.14; text-decoration: none; box-shadow: 0 0 0 1px rgba(var(--rgb), .8), 0 0 3.4em rgba(var(--rgb), .8), 0 1.6em 2.4em -1em rgba(0, 0, 0, .85), inset -.6em -.8em 1.4em rgba(3, 10, 24, .55); }
.xs__orb:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.xs__orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; pointer-events: none; }
.xs__orb b { position: relative; font-size: 1.3em; font-weight: 900; letter-spacing: .05em; text-shadow: 0 .1em .5em rgba(3, 10, 24, .75); }
.xs__orb em {
  position: absolute; top: calc(100% + .7em); left: 50%; translate: -50% .3em; white-space: nowrap; pointer-events: none;
  font-style: normal; font-size: .8em; font-weight: 700; padding: .4em .8em; border-radius: 999px; color: #fff;
  background: rgba(12, 18, 34, .92); border: 1px solid rgba(var(--rgb), .55); opacity: 0; transition: opacity .25s var(--ease), translate .3s var(--ease);
}
.xs__orb:hover em, .xs__orb:focus-visible em { opacity: 1; translate: -50% 0; }
.xs__orb::after { content: ""; position: absolute; inset: -.15em; border-radius: 50%; border: 2px solid rgba(var(--rgb), .95); opacity: 0; pointer-events: none; }
.xs__orb.is-ping::after { animation: xs-ping 1.1s var(--ease) both; }
.xs__orb--ki { left: 3em; top: 4.5em; --rgb: 167, 139, 250; --rgb2: 109, 40, 217; --d: 1.8; }
.xs__orb--erp { left: 47.3em; top: -.4em; --rgb: 96, 165, 250; --rgb2: 29, 78, 216; --d: .7; }
.xs__orb--it { left: 22em; top: 35em; --rgb: 103, 232, 249; --rgb2: 8, 145, 178; --d: 1.3; }
.xs__win--ki { --rgb: 167, 139, 250; } .xs__win--erp { --rgb: 96, 165, 250; } .xs__win--it { --rgb: 103, 232, 249; }
.js .xs__win { cursor: pointer; }
.xs__win.is-glow .xs__glass { border-color: rgba(var(--rgb), .75); box-shadow: 0 2.6em 4.6em -1.8em rgba(0, 0, 0, .85), 0 0 2.4em rgba(var(--rgb), .28), inset 0 1px 0 rgba(255, 255, 255, .09); }
.xs__win--erp.is-glow .xs__glass > * { opacity: 1; }
@keyframes xs-ping { from { opacity: .95; scale: 1; } to { opacity: 0; scale: 1.9; } }
@keyframes xs-orb-in { from { opacity: 0; scale: .4; } }
@keyframes xs-float { 50% { translate: 0 -.45em; } }
@media (prefers-reduced-motion: no-preference) {
  .js .xs:not(.is-in) .xs__orb { opacity: 0; }
  .js .xs.is-in .xs__orb { animation: xs-orb-in .9s cubic-bezier(.2, 1.3, .4, 1) backwards, xs-float 6s ease-in-out infinite; animation-delay: calc(.9s + var(--i) * .18s), calc(var(--i) * -2s); }
}
@media (max-width: 899px) { .xs__orb { scale: 1.3; } .xs__orb em { display: none; } }

/* Leistungsband: jeder Bereich mit eigener Farbe wie die Kugeln im Hero (KI Violett, IT Cyan, ERP Blau) und großer
   Bereichsmarke im Bild – User-Wunsch 04.12.2026: „KI, IT, ERP schnell und groß ersichtlich“. */
.pillar--ki { --area: #6D28D9; --area-rgb: 109, 40, 217; --area-l: 167, 139, 250; }
.pillar--it { --area: #0E7490; --area-rgb: 14, 116, 144; --area-l: 103, 232, 249; }
.pillar--erp { --area: var(--accent); --area-rgb: 29, 78, 216; --area-l: 96, 165, 250; }
.pillar[class*="pillar--"]::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; z-index: 2; background: var(--area); }
.pillar[class*="pillar--"]:hover { border-color: rgba(var(--area-rgb), .55); }
.pillar__img { position: relative; }
.pillar__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 60% at 0% 100%, rgba(3, 10, 24, .7), transparent 70%); }
.pillar__tag {
  position: absolute; left: var(--s-5); bottom: var(--s-4); z-index: 1;
  font-size: clamp(3.25rem, 2.4rem + 2.6vw, 5rem); font-weight: 900; line-height: .85; letter-spacing: -.02em; color: #fff;
  text-shadow: 0 0 .45em rgba(var(--area-l), .75), 0 .05em .2em rgba(3, 10, 24, .6);
}
@media (min-width: 1280px) { .pillar__tag { font-size: clamp(3.5rem, 1rem + 3.4vw, 5rem); } }
.pillar[class*="pillar--"] .pillar__mark { color: var(--area); font-size: .875rem; }
.pillar[class*="pillar--"] .pillar__list a:hover, .pillar[class*="pillar--"] .pillar__list a:hover::after { color: var(--area); }
.pillar[class*="pillar--"] .link-arrow { color: var(--area); }


/* ============================================================ UX-Audit 04.12.2026 (Umsetzung aller Punkte) */
/* TY-02: Kundenwand-H2 nicht größer als die H1 */
.rf-wall .rf-head h2 { font-size: var(--fs-h2); }
/* TY-05: freistehende Absätze auf Lesebreite */
.container > p { max-width: var(--measure); }
/* MD-01: lange Links in Artikellisten brechen um, kein seitliches Scrollen */
.pgx .wissen-prose li { min-width: 0; overflow-wrap: anywhere; }
.pgx .wissen-prose li a { overflow-wrap: anywhere; }
/* MD-05: einzeln stehende „Mehr zu …“-Links mit 44 px Klickfläche */
.pgx .pg-item .d > a:last-child { display: flex; width: fit-content; min-height: 44px; align-items: center; }
/* MD-02: Startseite mobil – Überschrift und Button zuerst, Grafik darunter */
@media (max-width: 899px) {
  .xhero { display: flex; flex-direction: column; }
  .xhero__inner { order: 1; }
  .xhero__media { order: 2; }
}
/* AL-01: gleichfarbige Folgeabschnitte nur 64 px oben */
.section:not(.section--stone):not(.section--night):not(.on-night) + .section:not(.section--stone):not(.section--night):not(.on-night),
.section--stone + .section--stone { padding-top: min(var(--section), 64px); }
/* AL-02: Produktband mit dem Abschnitts-Token */
.products { padding-block: var(--section); }
/* AL-04: Karten auf dem Handy mit 16 px Innenabstand */
@media (max-width: 639px) {
  .prose.form-card, .form-card, .pgx .wissen-cta-box { padding: var(--s-4); }
}
/* NC-10: Kontaktseite mobil ohne Hero-Foto, Formular rückt nach oben */
@media (max-width: 639px) {
  .mhero--compact-m .mhero__media { display: none; }
  .mhero--compact-m::after { background: var(--night); }
  .mhero--compact-m .mhero__inner, .mhero--compact-m.mhero--short .mhero__inner { padding-top: var(--s-6); padding-bottom: var(--s-6); }
}
/* NC-11: „Anfragen“ auch auf dem Handy, unter 360 px nur Telefon und Menü */
@media (max-width: 639px) {
  .header-cta { display: inline-flex; min-height: 40px; padding: 8px 12px; font-size: 14px; }
  .site-header .btn.header-cta { min-height: 40px; padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 359px) { .header-cta, .site-header .btn.header-cta { display: none; } }
/* NB-06: Hauptnavigation gestuft */
.nav__item--more { display: none; }
@media (min-width: 1024px) and (max-width: 1399px) {
  .nav__item--wide { display: none; }
  .nav__item--more { display: list-item; }
}
.nav__list > li { list-style: none; }
.mega__more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.mega__more .mega__list { grid-template-columns: 1fr; margin-top: var(--s-2); }
/* NB-09: aktuelle Seite im Mega- und Mobilmenü */
.mobile-nav [aria-current="page"] { color: #fff; font-weight: 700; }
.mobile-nav__list a[aria-current="page"]::after { content: "●"; color: var(--signal); }
.site-header .mega__list a[aria-current="page"] { background: var(--night-2); box-shadow: inset 3px 0 0 var(--signal); }
.site-header .mega__list a[aria-current="page"] .mega__l { color: #fff; }
.site-header .nav__link[aria-current="true"] { color: #fff; box-shadow: inset 0 -2px 0 var(--signal); }
/* NB-10: Menü-Link ohne JavaScript */
.menu-noscript { display: none; }
/* KIE-08: Bereichsfarben auf Hubs und Unterseiten */
.area-ki  { --area: #6D28D9; --area-night: #A78BFA; }
.area-it  { --area: #0E7490; --area-night: #67E8F9; }
.area-erp { --area: #1D4ED8; --area-night: #93B4FA; }
[class*="area-"] main > :first-child { border-top: 5px solid var(--area); }
[class*="area-"] main > :is(.mhero, .hero--page, .on-night, .pg-dark):first-child { border-top-color: var(--area-night); }
[class*="area-"] main > :first-child .eyebrow,
[class*="area-"] main.pgx > .pg-sec:first-child .pg-eyebrow { color: var(--area); }
[class*="area-"] main > :is(.mhero, .hero--page, .on-night):first-child .eyebrow,
[class*="area-"] main.pgx > .pg-sec.mhero:first-child .pg-eyebrow,
[class*="area-"] main.pgx > .pg-sec.pg-dark:first-child .pg-eyebrow { color: var(--area-night); }
.mega[data-area] .mega__grid > div:first-child { border-top: 5px solid var(--area); padding-top: var(--s-4); }
.mega[data-area="ki"]  { --area: #A78BFA; }
.mega[data-area="it"]  { --area: #67E8F9; }
.mega[data-area="erp"] { --area: #93B4FA; }
/* BF-01: Animationen anhalten */
.motion-off *, .motion-off *::before, .motion-off *::after { animation-play-state: paused !important; }
.rf-marquee:focus-within .rf-marquee__track { animation-play-state: paused; }
.motion-toggle {
  position: absolute; right: var(--gutter); bottom: var(--s-4); z-index: 3;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border: 1px solid rgba(242, 244, 248, .35); border-radius: var(--radius-pill); background: rgba(3, 10, 24, .6);
  color: #fff; font: 700 var(--fs-small)/1 var(--font); cursor: pointer;
}
.motion-toggle:hover { border-color: #fff; }
.motion-toggle svg { width: 16px; height: 16px; flex: none; }
.motion-toggle .i-play, .motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
.motion-toggle--inline { position: static; margin: var(--s-3) auto 0; }
.rf-marquee-wrap { position: relative; background: var(--night); padding-bottom: var(--s-4); }
.rf-marquee-wrap .motion-toggle { position: static; margin: 0 var(--gutter) 0 auto; display: flex; width: fit-content; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
@media (max-width: 899px) { .xhero .motion-toggle { position: static; order: 3; align-self: flex-end; margin: 0 var(--gutter) var(--s-4); } }
/* BF-06: Selbst-Checks mit fieldset/legend */
fieldset.check-list, fieldset.check-group { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.check-list > legend, fieldset.check-group > legend { padding: 0; margin-bottom: var(--s-3); font: 700 var(--fs-h3)/1.25 var(--font-display); }
/* Kontakt: Wege, Support-Zeile, Einstiegstabelle */
.support-line { font-size: var(--fs-small); color: var(--on-night-2); }
.support-line strong { color: #fff; }
.support-line a { color: #fff; }
.contact-ways { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-4); }
.contact-ways li { display: grid; gap: 4px; align-content: start; }
.contact-ways small { font-size: var(--fs-xs); color: var(--muted); }
.contact-ways a, .contact-ways span { justify-content: center; text-align: center; }
@media (max-width: 639px) { .contact-ways small { display: none; } .contact-ways a, .contact-ways span { padding: 8px 12px; font-size: var(--fs-small); } }
.contact-ways a, .contact-ways span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); font-weight: 700; text-decoration: none; color: var(--ink); }
.contact-ways .is-active a, .contact-ways .is-active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.contact-ways a:hover { border-color: var(--ink); }
/* Einstiegsangebote (Kontakt, schmale Seitenspalte): immer gestapelt statt vier gequetschter Spalten */
.start-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.start-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.start-table tbody, .start-table tr { display: block; }
.start-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-3); row-gap: 6px; padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.start-table tr:first-child { padding-top: var(--s-2); }
.start-table tr:last-child { border-bottom: 0; padding-bottom: 0; }
.start-table th, .start-table td { display: block; padding: 0; border: 0; text-align: left; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
.start-table th[scope="row"] { grid-column: 1; font-size: 1rem; line-height: 1.35; }
.start-table td { grid-column: 1 / -1; color: var(--ink-2); }
.start-table td::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 700; }
.start-table td[data-label="Kosten"] { grid-column: 2; grid-row: 1; align-self: start; padding: 2px 10px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--signal) 10%, transparent); color: var(--signal-ink); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.start-table td[data-label="Kosten"]::before { content: none; }
.faq__more { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.faq__more h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
/* NC-14 / KIE-05: zweiter Button in CTA-Boxen */
.pgx .wissen-cta-box .pg-cta-row, .pg-cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.pgx .pg-cta--ghost { background: transparent; color: inherit; border-color: currentColor; }
.pgx .pg-cta--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
/* KIE-06: Produkt-Hinweisbox */
.product-note { display: grid; gap: var(--s-3); padding: var(--s-5); border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); max-width: 860px; }
.product-note .eyebrow { margin: 0; }
/* NB-03: Wissen – Themen als Sprungmarken, Beiträge nach Thema */
.wissen-jump { margin-top: var(--s-4); }
.pgx .wissen-jump a { min-height: 44px; color: var(--ink); border-color: var(--line); }
.pgx .wissen-jump a:hover { border-color: var(--ink); color: var(--ink); }
.wissen-group { margin-top: var(--s-6); scroll-margin-top: calc(var(--header-h) + 16px); }
.wissen-group h3 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
/* KIE-06: Rücklink zum Bereich im Produkt-Hero */
.hero__meta a { color: inherit; font-weight: 700; }
