/* ThinkShip — Produktseite
   Reines statisches CSS, kein Framework, kein externer Font-/Library-Import.
   Art-Richtung: fast Schwarz/Off-White + eine einzige Signalfarbe (Lime).
   Der Marken-Farbverlauf lebt nur noch im 3D-Cube als seltener Blickfang,
   nicht mehr im Fließtext/UI. Bewegung respektiert prefers-reduced-motion,
   Inhalte bleiben ohne JavaScript vollständig sichtbar und bedienbar. */

/* Sanfte native Seitenuebergaenge zwischen den statischen HTML-Dateien,
   wo der Browser das unterstuetzt (Chromium). Unbekannt/ignoriert anderswo,
   keine Abhaengigkeit, kein Layout-Effekt ohne Unterstuetzung. */
@view-transition { navigation: auto; }

:root {
  --accent: #d7ff4a;
  --accent-ink: #0a0a0c;
  --accent-dim: rgba(215, 255, 74, 0.14);

  --brand-gradient: linear-gradient(135deg, #7c6cf0 0%, #3fa7ff 55%, #29d8a0 120%);

  --bg: #0a0a0c;
  --bg-alt: #101012;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-solid: #131315;
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.24);

  --text: #f4f3ee;
  --text-secondary: #c3c1ba;
  --text-muted: #87857f;

  --good: #7cffb0;
  --warn: #f0b04a;
  --danger: #ff6f6f;
  --focus: var(--accent);

  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, 0.4);
  --max-width: 1180px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  color-scheme: dark;
}

/* Bewusst dunkel-first, unabhängig vom Systemthema: eigenständige
   Markenentscheidung für die Produktseite, keine Rücksicht auf
   prefers-color-scheme:light. Kontraste sind gegen den dunklen
   Hintergrund geprüft (Text/Lime auf #0a0a0c weit über WCAG AA). */

* { box-sizing: border-box; }
/* overflow-x:clip gehoert ans Root-Element, NICHT an body: auf body wuerde
   es body zu einem eigenen Scroll-Container machen und damit position:sticky
   im Header (und ueberall sonst) kaputt machen. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  position: relative;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); font-weight: 850; }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.6rem); }
h3 { font-size: 1.18rem; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-secondary); }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; color: var(--text-secondary); }
li { margin-bottom: 0.35em; }

a { color: var(--text); text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
code { font-family: var(--font-mono); background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 5px; font-size: 0.92em; color: var(--text); }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 800;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; color: var(--accent-ink); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

/* ---------- Custom cursor (nur pointer:fine, kein reduced-motion) ---------- */

html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor [data-tilt] {
  cursor: none;
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--accent); opacity: 0; transition: opacity 0.2s ease; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid var(--border-strong);
  opacity: 0;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
html.has-cursor .cursor-dot, html.has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-active {
  width: 60px; height: 60px;
  border-color: var(--accent);
  background: var(--accent-dim);
}

/* ---------- Cursor-Spotlight: leuchtet die Seite an der Zeigerposition an ---------- */

.spotlight {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(
    380px circle at var(--sx, 50%) var(--sy, 50%),
    rgba(255, 255, 255, 0.065),
    rgba(215, 255, 74, 0.03) 45%,
    transparent 70%
  );
  mix-blend-mode: screen;
}
html.has-cursor .spotlight { opacity: 1; }

/* ---------- Rollen-Aufschlüsselung: System / KI / Mensch, mit Leiterbahn ---------- */

.role-split {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.role-wire {
  position: absolute;
  top: 34px;
  left: 0;
  width: 100%;
  height: 60px;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.role-wire .wire-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 2;
}
.role-wire .wire-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 16 760;
  filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 12px rgba(215, 255, 74, 0.6));
  animation: wireTravel 3.2s linear infinite;
}
.role-wire .wire-node {
  fill: var(--bg);
  stroke: var(--border-strong);
  stroke-width: 2;
}
@keyframes wireTravel { to { stroke-dashoffset: -776; } }
@media (prefers-reduced-motion: reduce) {
  .role-wire .wire-pulse { animation: none; opacity: 0; }
}
@media (max-width: 760px) {
  .role-split { grid-template-columns: 1fr; }
  .role-wire { display: none; }
}
.role-card { position: relative; z-index: 1; }
.role-card .role-cost {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- Beispiel-Workflows (Kabel-Diagramme) ---------- */
/* Konkretes Gegenstueck zum abstrakten .role-split, in zwei Varianten: ein
   einfacher Trigger, der drei Pfade nimmt, und ein realistischer,
   mehrstufiger Workflow inkl. echtem Parallel-Zweig (zwei Kanten feuern
   gleichzeitig statt nacheinander). Jede Kante ist doppelt gezeichnet --
   .wf-edge-track ist die stille Grundlinie (immer sichtbar, kein JS noetig),
   .wf-edge-pulse startet unsichtbar und wird von main.js pro Durchlauf nur
   entlang eines zufaellig gewaehlten Pfads "abgefeuert", wie ein Stromstoss
   durchs Kabel -- bei parallelen Schritten gleich auf mehreren Kanten auf
   einmal. */
.wf-caption { max-width: 640px; margin-bottom: 26px; color: var(--text-secondary); }
.wf-diagram-wrap { position: relative; }
.wf-diagram {
  position: relative;
  width: 100%;
}
.wf-diagram[data-wf-variant="simple"] { aspect-ratio: 880 / 390; }
.wf-diagram[data-wf-variant="complex"] { aspect-ratio: 1220 / 730; }
.wf-diagram[data-wf-variant="quality"] { aspect-ratio: 1080 / 400; }
.wf-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.wf-edge-track { fill: none; stroke: var(--border); stroke-width: 2; }
.wf-edge-pulse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0;
  filter: drop-shadow(0 0 5px var(--accent)) drop-shadow(0 0 12px rgba(215, 255, 74, 0.6));
}
.wf-edge-pulse.is-live { opacity: 1; }
/* Fehlerton: einzige bewusste Abweichung von der Ein-Akzent-Regel, analog
   zum bereits vorhandenen .check-yes/--good fuer Status-Feedback -- macht
   den Fehlerfall (sinkende Erfolgsquote, Retiring) klar vom Normalbetrieb
   unterscheidbar, ohne die Marke grundsaetzlich zweifarbig zu machen. */
.wf-edge-pulse.tone-danger {
  stroke: var(--danger);
  filter: drop-shadow(0 0 5px var(--danger)) drop-shadow(0 0 12px rgba(255, 111, 111, 0.55));
}
.wf-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 168px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.wf-node.is-lit { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 22px rgba(215, 255, 74, 0.35); }
.wf-node.is-fault { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger), 0 0 22px rgba(255, 111, 111, 0.32); }
.wf-node-icon { width: 26px; height: 26px; color: var(--accent); }
.wf-node-icon svg { width: 100%; height: 100%; }
.wf-node.is-fault .wf-node-icon { color: var(--danger); }
.wf-node-title { font-weight: 700; font-size: 0.9rem; }
.wf-node-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; }
.wf-counter {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}
.wf-counter.is-low { color: var(--danger); }
@media (max-width: 760px) {
  .wf-diagram[data-wf-variant] { aspect-ratio: auto; display: flex; flex-direction: column; gap: 12px; }
  .wf-svg { display: none; }
  .wf-node { position: static; transform: none; width: 100%; }
}

/* ---------- Scroll-Fortschrittsbalken ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 400;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* ---------- Ambient background: aurora glow + grain ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.5s ease-out;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 70vmax; height: 70vmax;
  background: radial-gradient(circle, rgba(215, 255, 74, 0.10), transparent 70%);
  top: -30%; left: -20%;
  animation: auroraA 30s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 50vmax; height: 50vmax;
  background: radial-gradient(circle, rgba(124, 108, 240, 0.10), transparent 70%);
  bottom: -25%; right: -15%;
  animation: auroraB 36s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  width: 40vmax; height: 40vmax;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
  top: 35%; right: 10%;
  animation: auroraC 24s ease-in-out infinite alternate;
}
@keyframes auroraA { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vw, 8vh) scale(1.15); } }
@keyframes auroraB { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7vw, -5vh) scale(1.1); } }
@keyframes auroraC { from { transform: translate(0, 0) scale(1); } to { transform: translate(-4vw, 6vh) scale(1.2); } }

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header / Overlay-Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* details/summary => funktioniert vollstaendig ohne JavaScript.
   Bewusst position:fixed statt im Header-Flex verankert (siehe Kommentar
   beim Markup): haelt das Menue ausserhalb jedes Containing-Block-Tricks
   durch backdrop-filter/transform auf Vorfahren-Elementen. */
.nav-overlay {
  position: fixed;
  top: 14px;
  right: 24px;
  z-index: 200;
}
@media (max-width: 640px) { .nav-overlay { top: 12px; right: 16px; } }
.nav-overlay > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 8px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg-alt);
  /* Muss ueber .nav-overlay-panel (z-index:1 innerhalb desselben lokalen
     Stacking-Contexts von .nav-overlay) liegen, sonst ist der Menue-Toggle
     bei geoeffnetem Vollbild-Menue nicht mehr klickbar. */
  position: relative;
  z-index: 2;
}
.nav-overlay > summary::-webkit-details-marker { display: none; }
.nav-overlay > summary:hover { border-color: var(--accent); }
.nav-toggle-bars {
  width: 18px; height: 12px;
  position: relative;
  flex: none;
}
.nav-toggle-bars span {
  position: absolute; left: 0; right: 0; height: 1.6px;
  background: currentColor; border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 10px; }
.nav-overlay[open] .nav-toggle-bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-overlay[open] .nav-toggle-bars span:nth-child(2) { top: 5px; transform: rotate(-45deg); }

.nav-overlay-panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 8vw 60px;
  overflow-y: auto;
}
.nav-overlay-panel::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60vmax 60vmax at 85% 10%, rgba(215, 255, 74, 0.08), transparent 60%);
}
.nav-overlay-list {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}
.nav-overlay-list li { margin: 0; border-top: 1px solid var(--border); }
.nav-overlay-list li:last-child { border-bottom: 1px solid var(--border); }
.nav-overlay-list a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 4px;
  font-size: clamp(1.8rem, 1.3rem + 3vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.nav-overlay-list a .idx { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--text-muted); }
.nav-overlay-list a:hover, .nav-overlay-list a[aria-current="page"] { color: var(--text); padding-left: 16px; }
.nav-overlay-list a[aria-current="page"] .idx, .nav-overlay-list a:hover .idx { color: var(--accent); }
.nav-overlay-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.lang-switch { display: flex; gap: 6px; flex: none; }
.lang-switch a {
  padding: 7px 11px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-secondary);
}
.lang-switch a:hover { background: var(--surface-2); color: var(--text); }
.nav-overlay-meta .lang-switch a { color: var(--text-secondary); border-color: var(--border-strong); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
  will-change: transform;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(215, 255, 74, 0.55);
}
.btn-primary:hover { color: var(--accent-ink); box-shadow: 0 16px 38px -10px rgba(215, 255, 74, 0.75); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface-2); color: var(--text); border-color: var(--accent); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

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

section.section { padding: 72px 0; position: relative; }
section.section.tight { padding: 44px 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--surface) 4%, var(--surface) 96%, transparent); }
.section-head { max-width: 760px; margin: 0 0 36px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow .kicker-num {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 0.72rem;
  letter-spacing: 0;
}
.lead { font-size: 1.14rem; color: var(--text-secondary); max-width: 700px; }

.hero {
  padding: 96px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin: 0 auto; }
}
.hero-copy { min-width: 0; }
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 22px;
}
.hero .badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.hero h1 { max-width: 920px; }

/* Kinetische Wort-Reveal-Headline: je Wort ein inline-style animation-delay,
   vom Generator berechnet. Faellt unter reduced-motion auf sofort sichtbar. */
.kinetic-word { display: inline-block; overflow: hidden; vertical-align: top; }
.kinetic-word-inner {
  display: inline-block;
  transform: translateY(112%);
  animation: kineticRise 0.75s cubic-bezier(.16,.84,.2,1) both;
}
@keyframes kineticRise { to { transform: translateY(0); } }

.accent { color: var(--accent); }

.hero .lead { font-size: 1.2rem; margin-top: 18px; }

.hero-trust { margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats .stat strong {
  display: block;
  font-size: 1.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.hero-stats .stat span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Terminal-Widget: simuliertes Cron-/Workflow-Log ---------- */
/* Beweis-Gimmick fuer die Kernaussage: 0 Tokens bis auf den echten Treffer.
   Alle Zeilen stehen serverseitig schon vollstaendig da; main.js spielt sie
   zusaetzlich als Typewriter-Schleife ab (siehe globale reduced-motion-Regel
   oben, die jede Animation inkl. termBlink automatisch stillstellt). */
.term-widget {
  margin-top: 28px;
  max-width: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  overflow: hidden;
}
.term-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.term-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.term-file { margin-left: 8px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-secondary); letter-spacing: 0.02em; }
.term-body { padding: 14px 16px 16px; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.7; }
.term-line { color: var(--text-secondary); white-space: pre-wrap; word-break: break-word; }
.term-prefix { color: var(--accent); margin-right: 6px; }
.term-prefix:empty { display: inline-block; width: 14px; margin-right: 0; }
.term-line.term-hl { color: var(--accent); font-weight: 600; }
.term-line.is-active .term-text::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 2px;
  background: var(--accent);
  vertical-align: -0.15em;
  animation: termBlink 1s steps(1) infinite;
}
@keyframes termBlink { 50% { opacity: 0; } }
@media (max-width: 480px) {
  .term-widget { max-width: 100%; }
  .term-body { font-size: 0.76rem; }
}

/* ---------- 3D hero cube ---------- */

.hero-visual {
  perspective: 1400px;
  width: 260px;
  height: 260px;
  position: relative;
  margin-left: auto;
}
.hero-visual--sm {
  transform: scale(0.5);
  margin-top: -65px;
  margin-bottom: -65px;
  flex: none;
}

/* ---------- Kompakter Intro-Bereich mit kleinem 3D-Element (Preise, So funktioniert's) ---------- */

.intro-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 760px) {
  .intro-grid { flex-direction: column; align-items: flex-start; }
  .hero-visual--sm { display: none; }
}
.hero-visual .orbit-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed var(--border-strong);
  animation: ringSpin 40s linear infinite;
}
.hero-visual .orbit-ring::before,
.hero-visual .orbit-ring::after {
  content: "";
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px 2px rgba(215, 255, 74, 0.7);
  top: -4px; left: calc(50% - 4.5px);
}
.hero-visual .orbit-ring::after { background: #fff; box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.5); top: auto; bottom: -4px; }
@keyframes ringSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cube3d {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 168px;
  height: 168px;
  top: 46px;
  transform-style: preserve-3d;
  animation: cubeSpin 18s linear infinite;
}
@keyframes cubeSpin {
  from { transform: rotateX(-20deg) rotateY(0deg); }
  to   { transform: rotateX(-20deg) rotateY(360deg); }
}
.cube3d .face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, #17171a, #0d0d0f);
  border: 1px solid rgba(215, 255, 74, 0.35);
  box-shadow: 0 0 40px rgba(215, 255, 74, 0.14), inset 0 0 24px rgba(215, 255, 74, 0.06);
  backdrop-filter: blur(2px);
}
.cube3d .face svg { width: 32px; height: 32px; color: var(--accent); }
.cube3d .face.f1 { transform: translateZ(84px); }
.cube3d .face.f2 { transform: rotateY(180deg) translateZ(84px); }
.cube3d .face.f3 { transform: rotateY(90deg) translateZ(84px); }
.cube3d .face.f4 { transform: rotateY(-90deg) translateZ(84px); }
.cube3d .face.f5 { transform: rotateX(90deg) translateZ(84px); }
.cube3d .face.f6 { transform: rotateX(-90deg) translateZ(84px); }

.hero-visual .shadow-ellipse {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 62%;
  height: 26px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent);
  filter: blur(4px);
  animation: shadowPulse 18s ease-in-out infinite;
}
@keyframes shadowPulse { 0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); } 50% { opacity: 0.35; transform: translateX(-50%) scale(0.85); } }

@media (prefers-reduced-motion: reduce) {
  .cube3d { animation: none; transform: rotateX(-18deg) rotateY(28deg); }
  .hero-visual .orbit-ring { animation: none; }
  .hero-visual .shadow-ellipse { animation: none; }
  .kinetic-word-inner { animation: none; transform: none; }
}

/* ---------- WebGL-Hero (hero3d.js) ----------
   Progressive Anreicherung des Cubes oben: hero3d.js haengt bei Erfolg ein
   <canvas> mit einer echten three.js-Szene ein (vendortes three.min.js,
   assets/vendor/, kein CDN) und setzt .has-webgl. Ohne JavaScript, bei
   reduced-motion, ohne WebGL-Unterstuetzung oder falls three.js nicht laedt
   passiert das nie -- der CSS-Wuerfel oben bleibt dann unveraendert die
   vollstaendige Darstellung, hier wird nichts vorausgesetzt. */
.hero3d-canvas {
  position: absolute;
  inset: -26%;
  width: 152%;
  height: 152%;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-visual.has-webgl .hero3d-canvas { opacity: 1; }
.hero-visual.has-webgl .cube3d,
.hero-visual.has-webgl .orbit-ring {
  opacity: 0;
  animation-play-state: paused;
  transition: opacity 0.4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .hero3d-canvas { display: none; }
}

/* ---------- Grid / Cards ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.bento .card:first-child { grid-column: span 2; }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .bento .card:first-child { grid-column: span 1; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.12s ease, border-color 0.2s ease;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

/* Echte Klickdummy-Screenshots (About-Seite) -- bewusst schlicht, keine
   Tilt-/Glow-Gimmicks: hier soll das Bild fuer sich stehen. */
.shot-card { padding: 14px; }
.shot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.shot-card figcaption { font-size: 0.86rem; color: var(--text-secondary); padding: 0 4px; }

[data-tilt] {
  transform-style: preserve-3d;
  will-change: transform;
}
[data-tilt]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(215, 255, 74, 0.10), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
[data-tilt]:hover::before { opacity: 1; }
[data-tilt]:hover { border-color: var(--border-strong); }
@media (prefers-reduced-motion: reduce) {
  [data-tilt] { transform: none !important; }
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  color: var(--accent);
  flex: none;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1.3), border-color 0.2s ease;
}
.icon-badge svg { width: 22px; height: 22px; }
.card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); border-color: var(--accent); }

/* Echte Tiefenebene statt nur Skalierung: auf [data-tilt]-Karten (siehe
   initTilt in main.js, das per Mausbewegung perspective()/rotateX/rotateY
   auf die Karte selbst legt) schwebt Icon/Ueberschrift zusaetzlich sichtbar
   ueber der Kartenflaeche nach vorn, statt nur zu skalieren. Braucht keine
   eigene Perspective/JS-Aenderung: [data-tilt] traegt bereits
   transform-style:preserve-3d, translateZ auf den Kindern nutzt also einfach
   den Perspective-Kontext, den die Karte beim Tilt selbst aufspannt -- ohne
   aktiven Tilt (kein JS, reduced-motion, kein Zeigergeraet) bleibt kein
   Perspective-Kontext, translateZ hat dann schlicht keine sichtbare Wirkung. */
[data-tilt]:hover .icon-badge { transform: translateZ(38px) scale(1.08) rotate(-4deg); border-color: var(--accent); }
[data-tilt] h3 { transition: transform 0.25s ease; }
[data-tilt]:hover h3 { transform: translateZ(16px); }

/* Wachsende Unterstreichung fuer Flieszext-/Teaser-Links ("Mehr erfahren →") */
main p a:not(.btn) {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: left 1.14em;
  background-size: 0% 1.5px;
  transition: background-size 0.25s ease, color 0.15s ease;
  padding-bottom: 1px;
}
main p a:not(.btn):hover { background-size: 100% 1.5px; color: var(--text); }

.letter-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  flex: none;
  transition: transform 0.25s cubic-bezier(.2,.8,.3,1.3);
}
.industry-card:hover .letter-badge { transform: scale(1.08) rotate(-4deg); }
[data-tilt]:hover .letter-badge { transform: translateZ(38px) scale(1.08) rotate(-4deg); }

/* ---------- Branchen-Konstellation (Branchen-Hub) ----------
   20 echte <a>-Links (siehe industry_constellation_html im Generator), in
   3D auf einer Kugelschale angeordnet -- Position kommt server-seitig als
   --nx/--ny/--nz je Knoten (Fibonacci-Kugelverteilung, kein Zufall/keine
   Ueberschneidung), die Rotation ist eine reine CSS-Animation. Kein
   JavaScript beteiligt: die Karten-Übersicht direkt darunter bleibt die
   vollstaendige, garantiert erreichbare Navigation -- die Konstellation ist
   ein zusaetzlicher, gleichwertig echter (nicht nur dekorativer) Zugang. */
.constellation {
  position: relative;
  height: 420px;
  max-width: 780px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
}
.constellation-group {
  position: relative;
  width: 1px;
  height: 1px;
  transform-style: preserve-3d;
  animation: constellationSpin 90s linear infinite;
}
.constellation-group:hover,
.constellation-group:focus-within { animation-play-state: paused; }
@keyframes constellationSpin {
  from { transform: rotateX(8deg) rotateY(0deg); }
  to   { transform: rotateX(8deg) rotateY(360deg); }
}
.constellation-node {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transform: translate3d(var(--nx), var(--ny), var(--nz)) translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(.2,.8,.3,1.3);
}
.constellation-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--text-secondary);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 4px rgba(10, 10, 12, 0.6);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.constellation-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.constellation-node:hover,
.constellation-node:focus-visible {
  transform: translate3d(var(--nx), var(--ny), var(--nz)) translate(-50%, -50%) scale(1.4) translateZ(50px);
  z-index: 5;
}
.constellation-node:hover .constellation-dot,
.constellation-node:focus-visible .constellation-dot {
  border-color: var(--accent);
  color: var(--accent-ink);
  background: var(--accent);
}
.constellation-node:hover .constellation-label,
.constellation-node:focus-visible .constellation-label {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .constellation-group { animation: none; transform: rotateX(8deg) rotateY(24deg); }
}
@media (max-width: 760px) {
  /* Auf schmalen Bildschirmen uebernimmt die Karten-Uebersicht darunter
     komplett -- ein rotierendes 3D-Netz mit 20 kleinen Zielflaechen laesst
     sich per Touch schlecht treffen. */
  .constellation { display: none; }
}

/* ---------- Tags / Pills ---------- */

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.tag-roadmap {
  margin-bottom: 14px;
  border-style: dashed;
  border-color: var(--border-strong);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.7rem;
}
.card:has(.tag-roadmap) .icon-badge { color: var(--text-muted); }

/* ---------- Industry grid ---------- */

.industry-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.industry-card .body h3 { font-size: 1.02rem; margin-bottom: 4px; color: var(--text); }
.industry-card .body p { font-size: 0.9rem; margin: 0; color: var(--text-muted); }
a.card.industry-card:hover { color: inherit; }

/* ---------- Marquee (Branchen-Strip) ---------- */

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 6px 0;
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marqueeScroll 42s linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}
.marquee-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(6px);
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  flex: none;
}
.marquee-pill { transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.marquee-pill:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Horizontal Showcase (Branchen, Startseite) ---------- */

.hscroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.hscroll::-webkit-scrollbar { height: 8px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
.hscroll::-webkit-scrollbar-track { background: transparent; }
.hscroll-item {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(78vw, 320px);
}

/* ---------- Scroll-pinned Storytelling ---------- */

.pin-section { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .pin-section { grid-template-columns: 1fr; } }
.pin-sticky { position: sticky; top: 96px; align-self: start; }
.pin-list { display: flex; flex-direction: column; gap: 18px; }
.pin-list .card { padding: 26px; }

/* ---------- Use case / prompt cards ---------- */

.usecase-card { display: flex; flex-direction: column; gap: 14px; }
.prompt-box {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--text);
  position: relative;
}
.prompt-box .prompt-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.copy-btn {
  margin-top: 10px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
}
.copy-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--accent); }
.copy-status { font-size: 0.76rem; color: var(--good); font-weight: 700; margin-left: 8px; }

.usecase-outcome { font-size: 0.9rem; }
.usecase-outcome strong { color: var(--text); }

.flow-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.flow-step {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.flow-arrow { color: var(--border-strong); font-size: 0.8rem; }

/* ---------- Steps ---------- */

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 19px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), transparent 95%);
  opacity: 0.4;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
  margin-bottom: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -8px rgba(215, 255, 74, 0.5);
}
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }

/* ---------- Tables ---------- */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--surface-solid); }
caption { text-align: left; font-weight: 700; padding: 14px 18px 6px; color: var(--text-muted); font-size: 0.85rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
thead th { background: var(--surface-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--surface); }
td.center, th.center { text-align: center; }
.check-yes { color: var(--good); font-weight: 800; }
.check-no { color: var(--text-muted); }
th.col-featured, td.col-featured { background: var(--accent-dim); }
thead th.col-featured { color: var(--text); font-weight: 800; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  perspective: 1800px;
  padding: 20px 6px 46px;
}
/* Gestaffelte 3D-Bloecke: die drei Tarife (Team -> Business -> Enterprise,
   siehe PRICING_TIERS-Reihenfolge im Generator) steigen als Treppe nach vorn
   an -- "mehr Tarif" liest sich damit fast von selbst als "mehr Hoehe/Naehe".
   .price-step traegt nur diesen statischen Versatz; der Maus-Tilt bleibt auf
   .price-card selbst unberuehrt (siehe Kommentar im Generator). */
.price-step { transform-style: preserve-3d; }
.price-step.step-0 { transform: translateY(26px) translateZ(-60px) rotateY(6deg); }
.price-step.step-1 { transform: translateY(-8px) translateZ(0px); z-index: 1; }
.price-step.step-2 { transform: translateY(-38px) translateZ(60px) rotateY(-6deg); }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; perspective: none; padding: 0; }
  .price-step.step-0, .price-step.step-1, .price-step.step-2 { transform: none; }
}
.price-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--surface);
  backdrop-filter: blur(10px);
  position: relative;
  transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 24px 60px -20px rgba(215, 255, 74, 0.3);
}
.price-card .plan-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.price-card .price {
  font-size: 2.3rem;
  font-weight: 850;
  margin: 4px 0 2px;
  color: var(--text);
}
.price-card .price small { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.price-card .plan-desc { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.price-card li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.callout {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 30px 0;
}
.callout h3 { margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout.callout-accent { border-color: var(--accent); }

/* ---------- FAQ ---------- */

.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  flex: none;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--text-secondary); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* ---------- Breadcrumb ---------- */

.breadcrumb { padding: 16px 0 0; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border-strong); }

/* ---------- CTA band ---------- */

.cta-band {
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(45vmax 45vmax at 50% -10%, rgba(215, 255, 74, 0.14), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: var(--text); position: relative; }
.cta-band p { color: var(--text-secondary); max-width: 640px; margin-left: auto; margin-right: auto; position: relative; }
.cta-band .btn-row { justify-content: center; position: relative; }

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 28px;
  margin-top: 64px;
}
.footer-statement {
  font-size: clamp(1.6rem, 1.2rem + 2.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin: 0 0 44px;
}
.footer-statement .accent { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 30px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h2 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-secondary); text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand p { max-width: 320px; font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-muted); }

/* ---------- Splash (root language chooser) ---------- */

.splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  text-align: center;
}
.splash-card { max-width: 560px; }
.splash-card .brand-mark { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 16px; }
.splash-card .brand-mark svg { width: 30px; height: 30px; }
.splash-card h1 { font-size: 1.9rem; }
.splash-card .btn-row { justify-content: center; margin-top: 26px; }
.splash-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 22px; }

/* ---------- Scroll reveal ---------- */

.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.js-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger.is-visible { transition-delay: calc(var(--stagger, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Back-to-top ---------- */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 150;
  box-shadow: 0 10px 26px -8px rgba(215, 255, 74, 0.55);
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Misc ---------- */

.note { font-size: 0.85rem; color: var(--text-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
hr.rule { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ------------------------------------------------------------------
   Vorteils-Clips (three.js-Produktfilme, assets/benefits3d.js)
   Poster + Beschreibung stehen ohne JavaScript/WebGL vollstaendig da;
   das Canvas legt sich erst nach einem erfolgreichen ersten Frame darueber
   (.has-webgl), Steuerung und Overlays erscheinen nur dann ebenfalls.
   ------------------------------------------------------------------ */
.clip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; margin-top: 12px; }
@media (max-width: 860px) { .clip-grid { grid-template-columns: 1fr; } }
.clip { margin: 0; }
.clip-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; isolation: isolate;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 55% at 22% 78%, rgba(164, 139, 255, 0.16), transparent 70%),
    radial-gradient(60% 50% at 88% 12%, rgba(46, 230, 196, 0.12), transparent 65%),
    radial-gradient(70% 60% at 50% 40%, rgba(215, 255, 74, 0.06), transparent 70%),
    linear-gradient(180deg, #11131c 0%, #0a0a10 100%);
  box-shadow: var(--shadow);
}
.clip-stage::after { /* Vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(120% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.5) 100%);
}
.clip-poster {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 20px; text-align: center; color: var(--text-secondary); font-size: 1rem; z-index: 2;
  transition: opacity .5s ease;
}
.clip-poster .icon { width: 52px; height: 52px; color: var(--accent); }
.clip-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.clip.has-webgl .clip-poster { opacity: 0; pointer-events: none; }
.clip-chapter, .clip-badge, .clip-cols { position: absolute; z-index: 2; pointer-events: none; }
.clip-chapter {
  top: 16px; left: 18px; right: 18px; font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-secondary); font-weight: 600;
}
.clip-chapter::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); vertical-align: 1px; }
.clip-chapter:empty { display: none; }
.clip-badge {
  top: 46px; left: 18px; max-width: calc(100% - 36px); padding: 6px 14px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: clamp(0.85rem, 1.7vw, 1.1rem);
  letter-spacing: -0.01em; box-shadow: 0 8px 30px rgba(215, 255, 74, 0.35);
  opacity: 0; transform: translateY(-6px) scale(0.96); transition: opacity .45s ease, transform .45s ease;
}
.clip-badge.is-on { opacity: 1; transform: none; }
.clip-cols { left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); padding: 0 6px 14px; text-align: center; }
.clip-col { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 2.9rem; justify-content: flex-end; }
.clip-col strong { font-size: clamp(1.15rem, 2.8vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.clip-col em { font-style: normal; font-size: 0.78rem; color: var(--text-secondary); letter-spacing: 0.02em; }
.clip-col.col-0 strong { color: var(--accent); }
.clip[data-clip="cost"] .clip-col.col-1 strong { color: #ffb23e; }
.clip-controls { display: none; align-items: center; gap: 12px; margin-top: 12px; }
.clip.has-webgl .clip-controls { display: flex; }
.clip-btn {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.clip-btn:hover { border-color: var(--accent); }
.clip-btn:focus-visible, .clip-progress:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.clip-ic { display: block; width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; box-sizing: border-box; }
.clip-btn.is-paused .clip-ic { width: 0; height: 0; border: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.clip-progress { position: relative; flex: 1; height: 5px; border-radius: 3px; background: var(--surface-2); cursor: pointer; }
.clip-progress::before { content: ""; position: absolute; inset: -10px 0; }
.clip-progress i { position: absolute; inset: 0; border-radius: 3px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.clip figcaption { margin-top: 14px; }
.clip figcaption h3 { margin: 0 0 6px; font-size: 1.15rem; }
.clip figcaption p { margin: 0; color: var(--text-secondary); }
.clip-note { margin: 22px 0 0; color: var(--text-muted); font-size: 0.85rem; }
@media (max-width: 520px) { .clip-chapter { right: 16px; font-size: 0.7rem; } .clip-badge { top: 58px; } .clip-col em { font-size: 0.68rem; } }

/* Hero-3D: grosse, mittig stehende Buehne (nur Startseite, nur mit WebGL).
   Ohne WebGL bleibt es beim kleinen CSS-Cube in 260 x 260. */
.hero-visual[data-hero3d].has-webgl { width: 100%; max-width: 560px; height: auto; aspect-ratio: 1 / 1; margin: 0 auto; }
.hero-visual[data-hero3d].has-webgl .hero3d-canvas { inset: 0; width: 100%; height: 100%; }
@media (max-width: 940px) { .hero-visual[data-hero3d].has-webgl { max-width: 380px; margin-bottom: -20px; } }

/* Produkt-Showcase: echte Screenshots im Browser-Rahmen. */
.shot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; margin-top: 8px; }
.shot-grid .shot:first-child { grid-column: 1 / -1; }
@media (max-width: 860px) { .shot-grid { grid-template-columns: 1fr; } }
.shot { margin: 0; }
.shot-frame {
  border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; background: #0d0d0f;
  box-shadow: var(--shadow), 0 0 80px rgba(215, 255, 74, 0.06);
}
.shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: #17171a; border-bottom: 1px solid var(--border); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.shot-frame img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; }
.shot figcaption h3 { margin: 0 0 6px; font-size: 1.12rem; }
.shot figcaption p { margin: 0; color: var(--text-secondary); max-width: 640px; }
.shot-grid .shot:first-child figcaption { max-width: 760px; }

/* 3D-Buehnen ohne harte Kanten: weiche Maske statt Rechteck-Clipping. */
.hero-visual.has-webgl .hero3d-canvas {
  -webkit-mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 52%, transparent 100%);
}
/* Pipeline-Szene (So funktioniert's): feste, grosse Buehne in der Sticky-Spalte. */
.hero-visual[data-pipeline3d].has-webgl { width: 100%; max-width: 460px; height: 460px; margin: 0 auto; }
.hero-visual[data-pipeline3d].has-webgl .hero3d-canvas { inset: 0; width: 100%; height: 100%; }
.hero-visual[data-hero3d].has-webgl { align-self: start; margin-top: 48px; }
@media (max-width: 940px) { .hero-visual[data-hero3d].has-webgl { margin-top: 0; } }

/* Hero-Fussnote, Partner-Abschnitt, kompakte Branchenliste. */
.hero-footnote { margin: 14px 0 0; max-width: 620px; color: var(--text-muted); font-size: 0.82rem; }
.ind-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
@media (max-width: 940px) { .ind-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ind-list { grid-template-columns: 1fr; } }
.ind-chip {
  display: flex; gap: 12px; align-items: center; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--text); text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.ind-chip:hover, .ind-chip:focus-visible { border-color: var(--accent); background: var(--surface-2); }
.ind-chip strong { display: block; font-size: 0.95rem; }
.ind-chip small { display: block; color: var(--text-muted); font-size: 0.8rem; line-height: 1.35; margin-top: 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ind-chip .letter-badge { flex: none; }
.role-split + .term-widget { margin-top: 28px; }

/* 3D-Schalter (Header, links neben dem Menue-Button) + Hinweis bei Auto-Abschaltung. */
.fx-toggle {
  position: fixed; top: 18px; right: 120px; z-index: 190; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px 8px 10px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--bg-alt);
  color: var(--text); font: inherit; font-weight: 700; font-size: 0.82rem; cursor: pointer;
}
.fx-toggle[hidden] { display: none; }
.fx-toggle:hover { border-color: var(--accent); }
.fx-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.fx-icon { width: 22px; height: 12px; border-radius: 999px; background: var(--surface-2); position: relative; transition: background .2s ease; }
.fx-icon::after { content: ""; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); transition: transform .2s ease, background .2s ease; }
.fx-toggle[aria-pressed="true"] .fx-icon { background: var(--accent-dim); }
.fx-toggle[aria-pressed="true"] .fx-icon::after { transform: translateX(10px); background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.fx-state { color: var(--text-secondary); font-weight: 600; min-width: 2.2ch; }
@media (max-width: 640px) { .fx-toggle { top: 12px; right: 108px; padding: 7px 10px 7px 8px; } .fx-label { display: none; } }
.fx-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 70; max-width: min(92vw, 520px);
  padding: 12px 18px; border-radius: var(--radius-sm); background: var(--surface-solid); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); color: var(--text); font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease;
}
.fx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Mobil: Pin-Abschnitt einspaltig -> Ueberschrift nicht mehr kleben lassen (ueberlagerte sonst die Karten). */
@media (max-width: 860px) { .pin-sticky { position: static; } }
section.section { padding-top: 60px; padding-bottom: 60px; }

/* Showmode-Demo (Ticket #3641): Feld mit fester Proportion; das Demo-Paket fuellt es, ohne JS bleibt der Text */
.showmode-demo {
  position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 420px; max-height: 82vh; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-strong); background: #07070d;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}
.showmode-demo-fallback { margin: 0; padding: 32px; max-width: 46ch; color: var(--text-secondary); position: absolute; inset: 0; display: grid; place-content: center; text-align: center; margin-inline: auto; }
.showmode-demo[data-mounted="1"] .showmode-demo-fallback { display: none; }
@media (max-width: 720px) { .showmode-demo { aspect-ratio: 4 / 5; min-height: 520px; } }
