/* styles.css — Nachhall-Webseite.
 *
 * Tokens, Wortmarke, Orb, Glas und Karten stammen aus dem Nachhall Design
 * System bzw. der App (true-vector-os/nachhall, web/app/styles). Werte sind
 * Wert für Wert übernommen, damit Webseite und Produkt dieselbe Sprache
 * sprechen. Neu ist hier nur das Seitenlayout.
 */

@import url("/assets/fonts.css");

/* ═════════════════════════════ Tokens ═════════════════════════════ */
:root {
  color-scheme: dark;

  --color-bg: #0a0c10;
  --color-surface-1: #14171d;
  --color-surface-2: #1c2028;
  --color-surface-3: #262b34;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  --color-text: #e6e8eb;
  --color-text-muted: #9aa1ac;
  --color-text-faint: #5b626c;

  --color-action: #7aa7ff;
  --color-action-hover: #9bbcff;
  --color-action-contrast: #0a0c10;
  --color-action-soft: #1c2a4d;
  --color-action-border: #3a5aa1;
  --color-agent: #c8a8ff;
  --color-agent-soft: #261c44;
  --color-attention: #f0b87a;
  --color-attention-soft: #3a2a14;
  --color-success: #7fd1a3;
  --color-success-soft: #122a1f;
  --color-danger: #e07a7a;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Grotesk", "SF Mono", Consolas, monospace;
  --font-signature: "Pacifico", cursive;

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.55;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-8: 48px;
  --space-10: 64px;
  --space-12: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --shadow-1: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 12px 32px rgba(0, 0, 0, 0.45);
  --glow-action: 0 0 24px -6px rgba(122, 167, 255, 0.45);

  --glass-fill: linear-gradient(160deg, rgba(28, 32, 44, 0.85) 0%, rgba(20, 23, 32, 0.85) 100%);
  --glass-strong-fill: rgba(20, 23, 32, 0.7);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --glass-inset-strong: inset 0 1px 0 rgba(255, 255, 255, 0.06);

  --aurora-1: rgba(122, 167, 255, 0.32);
  --aurora-2: rgba(160, 120, 220, 0.28);
  --aurora-3: rgba(127, 209, 163, 0.08);
  --hero-gradient: linear-gradient(135deg, #f8efff 0%, #e9c0ff 50%, #ffb3df 100%);

  --aura-color-speak: oklch(0.88 0.15 200);
  --ease-wave: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-glide: cubic-bezier(0.22, 0.61, 0.36, 1);
  --motion-fast: 150ms;

  --breite: 1180px;
}

[data-theme="light"] {
  color-scheme: light;

  --color-bg: #f4f6fb;
  --color-surface-1: #ffffff;
  --color-surface-2: #eef1f7;
  --color-surface-3: #e2e8f1;
  --color-border: rgba(18, 27, 48, 0.09);
  --color-border-strong: rgba(18, 27, 48, 0.16);

  --color-text: #121723;
  --color-text-muted: #586073;
  --color-text-faint: #97a0b2;

  --color-action: #2f5ad6;
  --color-action-hover: #2447b3;
  --color-action-contrast: #ffffff;
  --color-action-soft: #e7ecfc;
  --color-action-border: #b8c6f3;
  --color-agent: #6c47d4;
  --color-agent-soft: #efe9fc;
  --color-attention: #b06f15;
  --color-attention-soft: #fbf0db;
  --color-success: #1d8a5d;
  --color-success-soft: #e0f2e9;
  --color-danger: #c43d44;

  --shadow-1: 0 1px 2px rgba(18, 27, 48, 0.06), 0 4px 12px rgba(18, 27, 48, 0.06);
  --shadow-2: 0 8px 16px rgba(18, 27, 48, 0.08), 0 24px 48px rgba(18, 27, 48, 0.1);
  --glow-action: 0 0 24px -8px rgba(47, 90, 214, 0.4);

  --glass-fill: linear-gradient(160deg, rgba(255, 255, 255, 0.85) 0%, rgba(244, 246, 251, 0.8) 100%);
  --glass-strong-fill: rgba(255, 255, 255, 0.78);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --glass-inset-strong: inset 0 1px 0 rgba(255, 255, 255, 0.9);

  --aurora-1: rgba(122, 167, 255, 0.3);
  --aurora-2: rgba(180, 150, 240, 0.26);
  --aurora-3: rgba(255, 196, 170, 0.18);
  --hero-gradient: linear-gradient(108deg, #2b4fd9 0%, #6d39d6 46%, #c23f9e 100%);
  --aura-color-speak: oklch(0.66 0.16 215);
}

/* ═══════════════════════════ Grundlagen ═══════════════════════════ */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
/* Die Kopfzeile klebt oben; ohne diesen Abstand landet ein Sprungziel
   direkt unter ihrer Kante und wirkt angeschnitten. */
:target, section[id], div[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: var(--leading-normal);
  color: var(--color-text);
  background:
    radial-gradient(900px 520px at 8% -4%, var(--aurora-1), transparent 58%),
    radial-gradient(760px 500px at 102% 16%, var(--aurora-2), transparent 60%),
    radial-gradient(1100px 660px at 50% 42%, var(--aurora-3), transparent 72%),
    radial-gradient(900px 560px at -6% 66%, var(--aurora-1), transparent 60%),
    radial-gradient(820px 520px at 106% 94%, var(--aurora-2), transparent 60%),
    var(--color-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-action); text-decoration: none; transition: color var(--motion-fast) var(--ease-wave); }
a:hover { color: var(--color-action-hover); }
:focus-visible { outline: 2px solid var(--color-action); outline-offset: 2px; border-radius: var(--radius-sm); }
img, svg { display: block; max-width: 100%; }
/* Autorenregeln schlagen den Browser-Stil: svg { display: block } oben würde
   [hidden] aushebeln, deshalb hier ausdrücklich. Das Umschalten selbst passiert
   in app.js über toggleAttribute. */
[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); line-height: var(--leading-tight); letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--space-5); }
.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springmarke {
  position: absolute; left: var(--space-4); top: var(--space-2); z-index: 50;
  transform: translateY(-200%); padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md); background: var(--color-surface-2); color: var(--color-text);
}
.springmarke:focus { transform: translateY(0); }

/* ═══════════════════════════ Typografie ═══════════════════════════ */
.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-action);
}
.hero-titel {
  font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02;
}
.hero-titel b { font-weight: 700; color: transparent; background-image: var(--hero-gradient); -webkit-background-clip: text; background-clip: text; }
.abschnitt-titel { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 600; }
.karten-titel { font-size: 1.15rem; font-weight: 600; }
.lede { font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: var(--leading-snug); color: var(--color-text-muted); }
.muted { color: var(--color-text-muted); }
.klein { font-size: 0.85rem; line-height: var(--leading-snug); }
.mini { font-size: 0.75rem; line-height: var(--leading-snug); letter-spacing: 0.02em; color: var(--color-text-muted); }
.faint { color: var(--color-text-faint); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ════════════════════════════ Wortmarke ═══════════════════════════ */
.marke { display: inline-flex; align-items: center; gap: 0.4em; line-height: 1; white-space: nowrap; font-size: 1.7rem; }
.marke__wort {
  font-family: var(--font-signature); font-size: 1em; line-height: 1; letter-spacing: 0.005em;
  padding: 0.04em 0.16em 0.14em 0; color: transparent;
  -webkit-background-clip: text; background-clip: text;
  background-image: linear-gradient(96deg, var(--color-action) 0%, var(--color-agent) 50%, var(--aura-color-speak) 100%);
}

/* ══════════════ Orb (AiSphere aus dem Design System) ══════════════ */
.orb {
  --orb-size: 96px; --orb-spin: 6s; --orb-blur: 0.13; --orb-reach: 160%; --orb-bri: 1;
  position: relative; width: var(--orb-size); height: var(--orb-size); flex: none;
  display: flex; justify-content: center; align-items: center;
  overflow: hidden; border-radius: 50%;
  filter:
    drop-shadow(0 0 calc(var(--orb-size) * 0.06) color-mix(in oklch, var(--color-action) 60%, transparent))
    drop-shadow(0 0 calc(var(--orb-size) * 0.06) color-mix(in oklch, var(--color-agent) 55%, transparent));
}
.orb__kern {
  position: absolute; width: 100%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(58% 48% at 33% 30%, color-mix(in oklch, var(--color-action) 72%, white) 0%, transparent 68%),
    radial-gradient(56% 50% at 76% 36%, color-mix(in oklch, var(--aura-color-speak) 62%, transparent) 0%, transparent 72%),
    radial-gradient(66% 60% at 68% 84%, color-mix(in oklch, var(--color-agent) 86%, white) 0%, transparent 76%),
    radial-gradient(46% 42% at 28% 76%, color-mix(in oklch, var(--color-success) 34%, transparent) 0%, transparent 70%),
    radial-gradient(90% 90% at 50% 55%, #1c2340 0%, #0a0d18 100%);
  filter: blur(calc(var(--orb-size) * var(--orb-blur)));
}
.orb__stern {
  position: absolute; width: var(--orb-reach); aspect-ratio: 1; border-radius: 50%;
  filter: brightness(var(--orb-bri)); animation: orb-dreh var(--orb-spin) linear infinite;
}
.orb__stern--1 {
  left: -120%; top: -25%; background: var(--color-action);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.orb__stern--2 {
  right: -120%; bottom: -25%; background: var(--color-agent);
  animation-duration: calc(var(--orb-spin) * 1.35);
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}
.orb__stern--3 {
  left: 25%; bottom: -32%; width: calc(var(--orb-reach) * 0.7); background: var(--aura-color-speak);
  opacity: 0.5; mix-blend-mode: screen;
  animation-duration: calc(var(--orb-spin) * 1.7); animation-direction: reverse;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.orb__glanz {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 2;
  background:
    radial-gradient(58% 42% at 36% 28%, rgba(255, 255, 255, 0.46) 0%, transparent 60%),
    radial-gradient(9% 7% at 33% 25%, rgba(255, 255, 255, 0.95) 0%, transparent 100%);
  box-shadow:
    inset 0 0 calc(var(--orb-size) * 0.05) rgba(255, 255, 255, 0.22),
    inset 0 calc(var(--orb-size) * -0.04) calc(var(--orb-size) * 0.1) rgba(4, 6, 16, 0.38);
}
.orb[data-zustand="denkt"] { --orb-spin: 4s; --orb-blur: 0.11; --orb-reach: 172%; --orb-bri: 1.18; animation: orb-denkt 5.2s ease-in-out infinite; }
.orb[data-zustand="spricht"] { --orb-spin: 6s; --orb-blur: 0.12; --orb-reach: 162%; --orb-bri: 1.08; animation: orb-spricht 1.9s ease-in-out infinite; }
[data-theme="light"] .orb {
  filter:
    drop-shadow(0 0 calc(var(--orb-size) * 0.07) color-mix(in oklch, var(--color-action) 50%, transparent))
    drop-shadow(0 0 calc(var(--orb-size) * 0.07) color-mix(in oklch, var(--color-agent) 45%, transparent));
}
[data-theme="light"] .orb__kern { background: #e3e8f3; }
[data-theme="light"] .orb__stern { filter: brightness(var(--orb-bri)) saturate(1.05); mix-blend-mode: multiply; }
[data-theme="light"] .orb__stern--3 { mix-blend-mode: screen; opacity: 0.5; }
[data-theme="light"] .orb__glanz {
  background: radial-gradient(58% 42% at 36% 26%, rgba(255, 255, 255, 0.95) 0%, transparent 58%);
  box-shadow:
    inset 0 0 calc(var(--orb-size) * 0.05) rgba(255, 255, 255, 0.55),
    inset 0 calc(var(--orb-size) * -0.05) calc(var(--orb-size) * 0.12) rgba(120, 135, 180, 0.4);
}
@keyframes orb-dreh { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orb-denkt { 0% { transform: scale(1); } 8% { transform: scale(1.05); } 16% { transform: scale(1); } 24% { transform: scale(1.05); } 34%, 100% { transform: scale(1); } }
@keyframes orb-spricht { 0% { transform: scale(1); } 14% { transform: scale(1.06); } 29% { transform: scale(0.98); } 43% { transform: scale(1.08); } 58% { transform: scale(1); } 72% { transform: scale(1.05); } 86% { transform: scale(0.97); } 100% { transform: scale(1); } }

/* Der Orb steht für sich: seine eigene Animation (Zustand „denkt"/„spricht")
   ist die Marken-Animation, ohne zusätzliche Ringe. */
.orbfeld { position: relative; flex: none; display: flex; }

/* ═════════════════════════ Glas und Karten ════════════════════════ */
.glas {
  background: var(--glass-fill); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-1), var(--glass-inset);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.glas-stark {
  background: var(--glass-strong-fill); border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-2), var(--glass-inset-strong);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
}

/* ═══════════════════════════ Bedienelemente ═══════════════════════ */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 12px 28px; border: 1px solid transparent; border-radius: var(--radius-full);
  font-size: 1rem; font-weight: 600; white-space: nowrap;
  background: var(--color-action); color: var(--color-action-contrast);
  transition: transform var(--motion-fast) var(--ease-wave), box-shadow var(--motion-fast) var(--ease-wave), background var(--motion-fast) var(--ease-wave);
}
.knopf:hover { background: var(--color-action-hover); color: var(--color-action-contrast); transform: translateY(-2px); box-shadow: 0 8px 24px color-mix(in srgb, var(--color-action) 30%, transparent); }
.knopf:active { transform: translateY(0); }
.knopf[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.knopf--voll { width: 100%; }
.knopf--zweit {
  background: transparent; border-color: var(--color-border-strong); color: var(--color-text); border-radius: var(--radius-md);
}
.knopf--zweit:hover { background: var(--color-surface-2); border-color: var(--color-action); color: var(--color-text); box-shadow: none; }
.knopf--leise {
  background: transparent; color: var(--color-text-muted); border-radius: var(--radius-md);
  padding: 10px 16px; font-weight: 500;
}
.knopf--leise:hover { background: var(--color-surface-2); color: var(--color-text); transform: none; box-shadow: none; }
.knopf--symbol { width: 44px; min-height: 44px; padding: 0; }

.pfeil-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; }

.feld { display: flex; flex-direction: column; gap: var(--space-2); font-size: 0.85rem; font-weight: 500; color: var(--color-text-muted); text-align: left; }
.eingabe {
  width: 100%; min-height: 48px; padding: 12px 16px; font: inherit; font-size: 16px;
  color: var(--color-text); background: var(--color-surface-1);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  transition: border-color var(--motion-fast) var(--ease-wave), box-shadow var(--motion-fast) var(--ease-wave);
}
.eingabe::placeholder { color: var(--color-text-faint); }
.eingabe:focus { outline: none; border-color: var(--color-action); background: var(--color-surface-2); box-shadow: 0 0 0 3px var(--color-action-soft); }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pille {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
  border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text);
}
.pille--aktion { background: var(--color-action-soft); border-color: var(--color-action); color: var(--color-action); }
.pille--erfolg { background: var(--color-success-soft); border-color: var(--color-success); color: var(--color-success); }
.pille--achtung { background: var(--color-attention-soft); border-color: var(--color-attention); color: var(--color-attention); }
.pille__punkt { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

.avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.62rem; font-weight: 600; color: #fff; user-select: none;
}

.symbolkachel {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  background: color-mix(in srgb, var(--color-action) 12%, transparent); color: var(--color-action);
}
.symbolkachel--agent { background: color-mix(in srgb, var(--color-agent) 12%, transparent); color: var(--color-agent); }
.symbolkachel--erfolg { background: color-mix(in srgb, var(--color-success) 12%, transparent); color: var(--color-success); }
.symbolkachel--achtung { background: color-mix(in srgb, var(--color-attention) 12%, transparent); color: var(--color-attention); }

/* ═══════════════════════════ Kopfzeile ════════════════════════════ */
.kopf { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; transition: border-color var(--motion-fast) var(--ease-wave), background var(--motion-fast) var(--ease-wave); }
.kopf[data-gescrollt="ja"] { border-bottom-color: var(--color-border); background: color-mix(in srgb, var(--color-bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 68px; }
.kopf__nav { display: none; gap: var(--space-5); }
.kopf__rechts { display: flex; align-items: center; gap: var(--space-2); }
.kopf__nav a { color: var(--color-text-muted); font-weight: 500; }
.kopf__nav a:hover { color: var(--color-text); }
/* Auf schmalen Bildschirmen trägt der Hero die Hauptaktion; in der Kopfzeile
   bliebe für „Auf die Warteliste" kein Platz und die Zeile liefe über. */
.kopf__rechts .knopf--haupt { display: none; }
.kopf__nav a { min-height: 44px; }
@media (min-width: 620px) { .kopf__rechts .knopf--haupt { display: inline-flex; } }
@media (min-width: 900px) { .kopf__nav { display: flex; } }

/* ═════════════════════════════ Hero ═══════════════════════════════ */
.hero { padding: var(--space-6) 0 var(--space-10); }
.hero__raster { display: grid; gap: var(--space-6); align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.hero__text .lede { max-width: 34ch; }
.hero__form { display: flex; flex-direction: column; gap: var(--space-3); width: 100%; max-width: 460px; text-align: left; }
.hero__buehne { position: relative; display: flex; justify-content: center; }
/* Die schwebenden Beispielkarten gibt es nur auf breiten Bildschirmen. Der
   Kontext-Selektor ist nötig, weil .mitschrift und .artefakt später in dieser
   Datei display:flex setzen und eine flache Regel überschreiben würden. */
.hero__buehne .hero__karte-oben,
.hero__buehne .hero__karte-unten { display: none; }
@media (min-width: 900px) {
  .hero { padding: var(--space-10) 0 var(--space-12); }
  .hero__raster { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-8); }
  .hero__text { align-items: flex-start; text-align: left; }
  .hero__text .lede { max-width: 46ch; }
  .hero__form { flex-direction: row; align-items: flex-end; max-width: 540px; }
  .hero__form .feld { flex: 1 1 auto; }
  .hero__buehne { min-height: 600px; align-items: center; }
  .hero__buehne .orbfeld--gross { width: min(320px, 26vw); }
  .hero__buehne .orbfeld--gross .orb { --orb-size: min(320px, 26vw); }
  /* display: flex, nicht block — die Karten sind Flex-Bausteine (Mitschrift
     als Spalte, Artefakt als Zeile); block würde ihre Innenordnung zerlegen. */
  .hero__buehne .hero__karte-oben { display: flex; position: absolute; left: -24px; top: 24px; width: 330px; z-index: 2; }
  .hero__buehne .hero__karte-unten { display: flex; position: absolute; right: -24px; bottom: 24px; width: 360px; z-index: 2; }
}

/* ═══════════════════════════ Abschnitte ═══════════════════════════ */
.abschnitt { padding: var(--space-10) 0; }
.abschnitt__kopf { display: flex; flex-direction: column; gap: var(--space-3); max-width: 60ch; margin-bottom: var(--space-6); }
.raster { display: grid; gap: var(--space-4); }
@media (min-width: 760px) { .raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.kachel { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); }
.kachel__kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.schritt-nr { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--color-text-faint); }

.funktion { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-5); border-radius: var(--radius-lg); }
.funktion__text { display: flex; flex-direction: column; gap: var(--space-2); }

/* ═══════════════ Beispiel: Gespräch wird zu Artefakten ════════════ */
.beispiel { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 900px) { .beispiel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); } }

.mitschrift { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); }
.mitschrift__kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.zeile { display: flex; gap: var(--space-3); align-items: flex-start; }
.zeile__zeit { width: 44px; flex: none; padding-top: 3px; font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-faint); font-variant-numeric: tabular-nums; }
.zeile__wer { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font-size: 0.85rem; font-weight: 600; }
.zeile__text { font-size: 0.95rem; line-height: 1.5; }
.zeile--live { padding: var(--space-2) var(--space-3); margin: 0 calc(-1 * var(--space-3)); border-radius: var(--radius-md); background: var(--color-action-soft); }
.zeile__puls { width: 6px; height: 6px; border-radius: 999px; background: var(--color-action); flex: none; animation: puls 1.8s ease-in-out infinite; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-action) 60%, transparent); } 50% { box-shadow: 0 0 0 5px transparent; } }

.wirdzu { display: flex; align-items: center; gap: var(--space-2); color: var(--color-action); }

.artefakte { display: flex; flex-direction: column; gap: var(--space-3); }
.artefakt {
  display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-4);
  border-radius: var(--radius-md); background: var(--color-surface-1);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-1);
}
.artefakt--entscheidung { background: color-mix(in srgb, var(--color-action-soft) 50%, var(--color-surface-1)); border-color: var(--color-action-border); box-shadow: none; }
.artefakt__glyph { flex: none; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.artefakt__glyph--aufgabe { color: var(--color-success); }
.artefakt__glyph--idee { color: var(--color-attention); }
.artefakt__glyph--entscheidung { color: var(--color-action); }
.artefakt__inhalt { flex: 1; min-width: 0; }
.artefakt__titel { font-size: 0.95rem; font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.artefakt__zitat { display: flex; gap: var(--space-2); align-items: flex-start; }
.artefakt__zitat p { font-size: 0.75rem; font-style: italic; line-height: 1.55; color: var(--color-text-faint); padding-top: 2px; }
.artefakt--entscheidung .artefakt__zitat p { color: var(--color-text-muted); }
.artefakt__rand { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex: none; }
.artefakt__wer { font-size: 0.75rem; color: var(--color-text-muted); white-space: nowrap; }
.abschnittsmarke { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }

/* ═════════════════════════ Vertrauensleiste ═══════════════════════ */
.vertrauen { display: grid; gap: var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
@media (min-width: 760px) { .vertrauen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vertrauen__punkt { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text-muted); font-size: 0.9rem; font-weight: 500; }
.vertrauenszeile { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--color-text-muted); }
.vertrauenszeile svg { flex: none; color: var(--color-action); }

/* ═══════════════════════════ Desktop-App ══════════════════════════ */
.desktopapp { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 900px) { .desktopapp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8); } }
.desktopapp__karte { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-xl); }
.desktopapp__kopf { display: flex; align-items: center; gap: var(--space-4); }
.desktopapp__pillen { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ═══════════════════════════ Warteliste ═══════════════════════════ */
.warteliste { display: flex; justify-content: center; }
.warteliste__karte { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-xl); }
@media (min-width: 620px) { .warteliste__karte { padding: var(--space-8); } .warteliste__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); } }
.warteliste__felder { display: flex; flex-direction: column; gap: var(--space-4); }
.meldung { display: none; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-size: 0.9rem; }
.meldung[data-art="fehler"] { display: block; background: color-mix(in srgb, var(--color-danger) 12%, transparent); border: 1px solid color-mix(in srgb, var(--color-danger) 40%, transparent); color: var(--color-danger); }
.meldung[data-art="ok"] { display: block; background: var(--color-success-soft); border: 1px solid var(--color-success); color: var(--color-success); }

/* ═══════════════════════════ Fußzeile ═════════════════════════════ */
.fuss { padding: var(--space-8) 0 var(--space-10); border-top: 1px solid var(--color-border); }
.fuss__raster { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .fuss__raster { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); } }
.fuss__spalte { display: flex; flex-direction: column; gap: var(--space-1); }
.fuss__spalte a { display: inline-flex; align-items: center; min-height: 40px; color: var(--color-text-muted); font-size: 0.9rem; }
.fuss__spalte a:hover { color: var(--color-text); }

/* ══════════════════ Einzelseite (Danke / Fehler) ══════════════════ */
.mitte { min-height: 100vh; display: flex; flex-direction: column; }
.mitte__inhalt { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4); text-align: center; padding: var(--space-8) var(--space-5) var(--space-10); }
.schritte { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); text-align: left; }
.schritte__zeile { display: flex; gap: var(--space-3); align-items: flex-start; }

@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; }
}

/* ══════ Helfer statt Inline-Stile (Content-Security-Policy ohne unsafe-inline) ══════ */
.avatar--mara { background: hsl(212 60% 48%); }
.avatar--jonas { background: hsl(340 55% 52%); }
.avatar--sara { background: hsl(150 45% 40%); }

.symbolkachel--klein { width: 36px; height: 36px; border-radius: 10px; }

.orbfeld--gross { width: min(260px, 62vw); aspect-ratio: 1; }
.orbfeld--gross .orb { --orb-size: min(260px, 62vw); }
.orbfeld--mittel { width: 112px; height: 112px; }
.orbfeld--mittel .orb { --orb-size: 112px; }

.eng { max-width: 34ch; }
.mitte-text { text-align: center; }
.kopf-ohne-abstand { margin-bottom: 0; }
.abstand-oben { margin-top: var(--space-5); }
.schwebend { box-shadow: var(--shadow-2); }
.appicon { border-radius: 18px; flex: none; }
.marke--klein { font-size: 1.5rem; }
.schritt-nr--zeile { padding-top: 3px; }
.knopfreihe { display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.spalte-4 { display: flex; flex-direction: column; gap: var(--space-4); }
.seiten-titel { font-size: clamp(2rem, 6vw, 2.8rem); }

.hinweis-offen {
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: var(--color-attention-soft);
  border: 1px solid color-mix(in srgb, var(--color-attention) 40%, transparent);
  color: var(--color-attention);
}

/* Rechtstexte: linksbündig, lesbare Breite */
.mitte__inhalt--text { align-items: stretch; justify-content: flex-start; text-align: left; max-width: 720px; margin: 0 auto; width: 100%; }
.mitte__inhalt--text h2 { margin-top: var(--space-4); }

/* ══════════════════ Artefakt-Typen (was Nachhall herausholt) ═════════ */
.typen { display: grid; gap: var(--space-3); }
@media (min-width: 620px) { .typen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .typen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.typ {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-4); border-radius: var(--radius-md);
  background: var(--color-surface-1); border: 1px solid var(--color-border);
}
.typ__glyph { flex: none; font-size: 1.05rem; font-weight: 700; line-height: 1.4; width: 1.3em; }
.typ__glyph--aufgabe { color: var(--color-success); }
.typ__glyph--entscheidung { color: var(--color-action); }
.typ__glyph--idee { color: var(--color-attention); }
.typ__glyph--blocker { color: var(--color-danger); }
.typ__glyph--frage { color: var(--color-agent); }
.typ__glyph--stimmung { color: var(--color-text-muted); }
.typ__text { display: flex; flex-direction: column; gap: 2px; }
.typ__name { font-weight: 600; font-size: 0.95rem; }
.typ__was { font-size: 0.85rem; line-height: var(--leading-snug); color: var(--color-text-muted); }

/* ═══════════════ Große Karte für die Meeting-Stärken ════════════════ */
.stark { display: grid; gap: var(--space-4); }
@media (min-width: 860px) { .stark { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stark__karte { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); border-radius: var(--radius-lg); }
.stark__kopf { display: flex; align-items: center; gap: var(--space-3); }
.stark__liste { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.stark__liste li { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.9rem; color: var(--color-text-muted); }
.stark__haken { flex: none; color: var(--color-success); font-weight: 700; line-height: 1.45; }

/* Beispiel: Nachhall antwortet im Meeting */
.antwort { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-lg); }
.antwort__frage { display: flex; gap: var(--space-2); align-items: flex-start; font-size: 0.95rem; }
.antwort__block { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-agent-soft); border: 1px solid color-mix(in srgb, var(--color-agent) 30%, transparent); }
.antwort__text { font-size: 0.9rem; line-height: 1.5; }
.antwort__quelle { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-faint); }
