/* HeltAIum – Startseite „Eine Nacht“ (/de/, /en/, /hu/)
   Zwei Lichter auf Nachtblau: Blau = das System (KI, Orbit, alles Bedienbare), Gold = Menschen und Geld
   (Stadtlichter, Preise, Zertifikat). Hinter allem liegt eine durchgehende 3D-Szene (home-3d.js);
   Abschnitte beginnen mit einer Horizontlinie (.limb), dem Rand der Erde aus dem Orbit gesehen. */

:root {
  --night: #02040a;
  --night-2: #070c18;
  --night-3: #0c1424;
  --line: rgba(150, 180, 235, .14);
  --line-2: rgba(150, 180, 235, .28);
  --ink: #eef3fb;
  --ink-2: #b3bfd3;
  --ink-3: #8491a8;
  --blue: #2f8bff;
  --blue-hi: #7cc8ff;
  --gold: #f2c27b;
  --gold-hi: #ffe2b0;
  --dawn: #ff9e5e;
  --ok: #58d6a6;
  --err: #ff9c9c;
  --font-d: 'Sora', 'Instrument Sans', system-ui, sans-serif;
  --font-b: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1360px;
  --sec: clamp(76px, 9vw, 150px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 2000px) { :root { --max: 1560px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--night); color: var(--ink);
  font: 400 16.5px/1.65 var(--font-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #1a1206; }
:focus-visible { outline: 2px solid var(--blue-hi); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.anchor { position: absolute; top: 0; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #04070f; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 14px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }

h1, h2 { font-family: var(--font-d); font-weight: 300; letter-spacing: -.034em; text-wrap: balance; }
h1 { font-size: clamp(41px, 6.5vw, 108px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.3vw, 66px); line-height: 1.06; }
h3 { font-family: var(--font-d); font-weight: 500; font-size: clamp(20px, 1.6vw, 25px); line-height: 1.25; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.3vw, 20.5px); line-height: 1.6; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.fine { font-size: 13.5px; line-height: 1.55; color: var(--ink-3); max-width: 72ch; }
.fine a, .lead a { color: var(--ink-2); text-underline-offset: 3px; }
.fine a:hover, .lead a:hover { color: var(--ink); }

/* ── Knöpfe ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font: 600 15.5px/1.1 var(--font-b); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .25s, border-color .25s, box-shadow .25s, color .25s, transform .25s var(--ease);
}
.btn-light { background: var(--ink); color: #04070f; }
.btn-light:hover { background: #fff; box-shadow: 0 0 0 5px rgba(124, 200, 255, .2), 0 14px 40px -14px rgba(124, 200, 255, .9); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: rgba(2, 4, 10, .35); }
.btn-line:hover { border-color: var(--blue-hi); box-shadow: 0 0 0 5px rgba(47, 139, 255, .14); }
.btn:active { transform: scale(.98); }
.more { display: inline-block; color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 6px; padding-block: 10px; }
.more:hover { text-decoration-color: var(--blue-hi); color: #fff; }

/* ── Himmel (3D-Szene) ────────────────────────────────────────────── */
.sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.sky-still { position: absolute; inset: 0; background:
  radial-gradient(ellipse 70% 55% at 74% 38%, rgba(47, 139, 255, .13), transparent 62%),
  radial-gradient(ellipse 50% 40% at 12% 90%, rgba(47, 139, 255, .05), transparent 70%), var(--night); }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; } /* Deckkraft steuert home-3d.js */
.sky-labels { position: absolute; inset: 0; }
.sky-label {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform, opacity; opacity: 0;
  font: 500 13px/1 var(--font-b); color: #dde6f4; padding-left: 12px;
  /* dunkler Saum: die Namen liegen über hellen Stadtlichtern */
  text-shadow: 0 0 2px #02040a, 0 0 5px #02040a, 0 0 12px #02040a, 0 1px 16px #02040a;
}
@media (min-width: 2000px) { .sky-label { font-size: 15px; } .sky-label.is-home { font-size: 17px; } .sky-label.is-mod { font-size: 14.5px; } }
.sky-label::before { content: ''; position: absolute; left: -2.5px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 8px var(--gold); }
.sky-label.is-home { color: var(--ink); font-weight: 600; font-size: 14.5px; padding-left: 18px; }
.sky-label.is-home::before { width: 9px; height: 9px; left: -4.5px; margin-top: -4.5px; background: #fff; box-shadow: 0 0 0 5px rgba(242, 194, 123, .3), 0 0 22px 4px var(--gold); }
.sky-label.is-mod { color: var(--blue-hi); padding-left: 0; font-size: 12.5px; transform-origin: 0 50%; }
.sky-label.is-mod::before { display: none; }
.sky-label.is-mod.is-on { color: #fff; font-weight: 600; }

/* ── Kopfzeile ────────────────────────────────────────────────────── */
.nav {
  /* dieselbe linke und rechte Kante wie der Inhalt (.wrap), auch auf sehr breiten Bildschirmen */
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent;
}
.nav.is-stuck { background: rgba(2, 4, 10, .74); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.brand { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.wm { font: 600 22px/1 var(--font-d); letter-spacing: -.02em; color: var(--ink); display: inline-flex; align-items: baseline; }
.wm-a { width: .84em; height: .78em; margin: 0 .02em 0 .03em; align-self: baseline; overflow: visible; }
/* das gezeichnete A steht für den Buchstaben; der liegt unsichtbar darüber, damit der Name als Text „HeltAIum“ lautet */
.wm-letter { position: relative; display: inline-flex; align-items: baseline; }
.wm-letter > span { position: absolute; inset: 0; color: transparent; overflow: hidden; }
.wm-a path { fill: none; stroke: var(--blue-hi); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 5px rgba(47, 139, 255, .9)); }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 2px; position: relative; transition: color .2s; }
.nav-links a:hover, .nav-links a.is-here { color: var(--ink); }
.nav-links a::after { content: ''; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 1.5px; background: var(--blue-hi); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease); }
.nav-links a.is-here::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { font-size: 13px; font-weight: 600; color: var(--ink-3); text-decoration: none; padding: 10px 7px; min-width: 36px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; transition: color .2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--blue-hi); border-radius: 0; }
.nav-cta { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(2, 4, 10, .5); cursor: pointer; align-items: center; justify-content: center; position: relative; z-index: 71; }
.nav-burger .bars { display: grid; gap: 6px; width: 18px; }
.nav-burger .bars span { height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-burger[aria-expanded="true"] .bars span:first-child { transform: translateY(3.8px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .bars span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
}
/* bis 760 px (Handy, Handy quer, kleines Tablet hochkant): Uhrzeit und Pausenknopf sitzen in der Kopfzeile.
   Sprachwahl und Termin-Knopf weichen deshalb ins Menü und in die Leiste unten, sonst läge beides übereinander. */
@media (max-width: 760px) { .nav-right .lang-switch, .nav-cta { display: none; } }
@media (max-width: 560px) {
  :root { --nav-h: 60px; }
  .nav-right .lang-switch { display: none; }
  .nav-cta { display: none; }
}

/* Menü (Handy und Tablet): deckt das ganze Fenster. Die Kopfzeile bleibt darüber stehen, damit Logo und
   Schließen-Knopf sichtbar sind (home.js setzt .menu-open). Unten: Termin, direkter Kontakt, Sprache. */
.mmenu-backdrop { position: fixed; inset: 0; z-index: 68; background: rgba(2, 4, 10, .6); }
.mmenu {
  position: fixed; inset: 0; z-index: 70; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--nav-h) + 14px) var(--gut) max(24px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 110% 46% at 86% -6%, rgba(47, 139, 255, .2), transparent 62%), #03060d;
  display: flex; flex-direction: column;
  animation: mm-in .3s ease;
}
@keyframes mm-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-item { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.menu-open .nav { z-index: 72; background: none; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .motion-toggle { opacity: 0; visibility: hidden; }
.mmenu > a { font: 300 clamp(26px, 7.4vw, 32px)/1.15 var(--font-d); letter-spacing: -.024em; color: var(--ink); text-decoration: none; padding: 13px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; animation: mm-item .4s var(--ease) both; }
.mmenu > a::after { content: ''; flex: none; width: 8px; height: 8px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); margin-right: 4px; }
.mmenu > a:nth-child(1) { animation-delay: .02s; } .mmenu > a:nth-child(2) { animation-delay: .04s; } .mmenu > a:nth-child(3) { animation-delay: .06s; } .mmenu > a:nth-child(4) { animation-delay: .08s; }
.mmenu > a:nth-child(5) { animation-delay: .1s; } .mmenu > a:nth-child(6) { animation-delay: .12s; } .mmenu > a:nth-child(7) { animation-delay: .14s; }
.mmenu-foot { margin-top: auto; padding-top: 22px; display: grid; gap: 14px; animation: mm-item .4s var(--ease) .16s both; }
.mmenu-foot .btn { min-height: 54px; font-size: 16px; }
.mmenu-direct { display: flex; flex-wrap: wrap; gap: 0 22px; }
.mmenu-direct a { color: var(--ink-2); font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.mmenu-lang { margin: 0; }
/* niedrige Fenster (Handy quer): engere Zeilen, damit alles ohne Scrollen passt */
@media (max-height: 620px) { .mmenu > a { font-size: 22px; padding: 8px 0; } .mmenu-foot { padding-top: 12px; gap: 8px; } }

/* ── Sprachvorschlag ──────────────────────────────────────────────── */
.lang-suggest {
  /* Handy: über der Leiste mit den Schnellaktionen. Breiter Bildschirm: unten rechts neben dem Pausenknopf, dort liegt kein Text darunter */
  position: fixed; left: 16px; bottom: 86px; z-index: 60; max-width: min(430px, calc(100vw - 32px)); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  padding: 14px 44px 14px 16px; border-radius: 16px; background: rgba(7, 12, 24, .96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px #000;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s var(--ease); font-size: 14.5px;
}
.lang-suggest.show { opacity: 1; transform: none; }
@media (min-width: 900px) { .lang-suggest { left: auto; right: 72px; bottom: 14px; } }
/* Handy: oben unter der Kopfzeile und über die volle Breite – dort liegt nur die Erde, Überschrift und Knöpfe bleiben frei */
@media (max-width: 760px) {
  .lang-suggest { left: 10px; right: 10px; top: calc(var(--nav-h) + 8px); bottom: auto; max-width: none; padding: 12px 44px 12px 14px; gap: 6px 10px; transform: translateY(-14px); }
  .lang-suggest:not([hidden]) ~ main .spin-hint { display: none; }
}
.ls-flag { font-size: 12px; font-weight: 600; color: var(--gold); flex-basis: 100%; }
.ls-text { color: var(--ink-2); flex-basis: 100%; }
.ls-text em { font-style: normal; color: var(--ink); }
.ls-yes, .ls-no { min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.ls-yes { background: var(--ink); color: #04070f; }
.ls-no { background: none; border: 1px solid var(--line-2); color: var(--ink); }
.ls-x { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink-3); font-size: 20px; cursor: pointer; border-radius: 50%; }

main, .foot { position: relative; z-index: 1; }

/* ── Abend: Kopfbereich ───────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--nav-h) + 28px) 0 96px; }
.hero-in { display: grid; gap: clamp(18px, 2vw, 28px); justify-items: start; }
.hero h1 { max-width: 11.5em; background: linear-gradient(180deg, #fff 8%, #dbe6f7 52%, #93abd1 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.hero-lead { font-size: clamp(17px, 1.42vw, 21.5px); line-height: 1.6; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(14px, 2.4vw, 34px); max-width: 60em; }
.hero-proof li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 24em; }
.hero-proof li::before { content: ''; position: absolute; left: 0; top: .52em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(242, 194, 123, .9); }
.hero-scroll { position: absolute; left: max(var(--gut), calc((100% - var(--max)) / 2)); bottom: 26px; display: inline-flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 13.5px; text-decoration: none; min-height: 44px; }
.hero-scroll:hover { color: var(--ink); }
.hs-line { width: 54px; height: 1px; background: linear-gradient(90deg, var(--blue-hi), transparent); position: relative; overflow: hidden; }
.hs-line::after { content: ''; position: absolute; inset: 0; background: #fff; transform: translateX(-100%); animation: hs 2.6s var(--ease) infinite; }
@keyframes hs { 60%, 100% { transform: translateX(100%); } }
.motion-toggle { position: fixed; right: 14px; bottom: 14px; z-index: 35; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(2, 4, 10, .72); cursor: pointer; display: grid; place-items: center; color: var(--ink-2); transition: bottom .45s var(--ease), color .2s, border-color .2s, opacity .3s, visibility .3s; opacity: 0; visibility: hidden; }
/* der Knopf erscheint nur, solange die Szene zu sehen ist (home-3d.js setzt .sky-live) */
.sky-live .motion-toggle { opacity: 1; visibility: visible; }
/* Handy: der Knopf sitzt in der Kopfzeile neben dem Menü, damit unten nichts über dem Text schwebt */
@media (max-width: 760px) { .motion-toggle { top: calc((var(--nav-h) - 44px) / 2); bottom: auto; right: calc(var(--gut) + 52px); z-index: 51; background: none; border-color: transparent; color: var(--ink-2); } }
/* am Handy bleibt er stehen, sobald die Szene läuft, auch in Abschnitten ohne Himmel: dort bewegen sich die Ringe am Beispielanruf weiter,
   und was sich länger als fünf Sekunden von selbst bewegt, muss sich anhalten lassen (WCAG 2.2.2) */
@media (max-width: 760px) { .sky-on .motion-toggle { opacity: 1; visibility: visible; } }
.motion-toggle:hover { color: var(--ink); border-color: var(--blue-hi); }
.motion-toggle svg { width: 18px; height: 18px; fill: currentColor; grid-area: 1 / 1; }
.motion-toggle .i-play, .motion-toggle[aria-pressed="true"] .i-pause { display: none; }
.motion-toggle[aria-pressed="true"] .i-play { display: block; }
@media (min-width: 900px) { .hero-in > * { max-width: min(46vw, 760px); } .hero-in > .hero-proof { max-width: min(52vw, 860px); } }
@media (max-width: 899px) {
  .hero { align-items: end; padding-bottom: 92px; }
  /* die Erde steht oben; darunter dunkelt ein Verlauf sie ab, damit der Text ruhig liegt */
  .hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 4, 10, .12) 0, rgba(2, 4, 10, .5) 20%, rgba(2, 4, 10, .88) 40%, var(--night) 64%); pointer-events: none; }
  .hero-in { position: relative; }
  .hero-proof { gap: 8px; }
  .hero-proof li { max-width: none; font-size: 13.5px; }
  .hero-actions .btn { flex: 1 1 auto; }
}
.spin-hint { display: none; }
/* Hochformat (Handy, Tablet hochkant): Die Erde füllt den oberen Teil des Fensters und ragt links und rechts über den Rand
   (home-3d.js rechnet mit denselben Maßen: Radius = min(60 % der Breite, 30 % der Höhe), Oberkante 10 px über der
   Unterkante der Kopfzeile). Der Text steht am unteren Fensterrand und reicht höchstens 120 px in die Kugel hinein;
   ist das Fenster niedrig, wächst der Kopfbereich nach unten. Die Erde lässt sich waagerecht mit dem Finger drehen. */
@media (max-width: 899px) and (max-aspect-ratio: 9/10) {
  .sky-r { position: absolute; left: 0; top: 0; width: 0; height: min(60vw, 30svh); visibility: hidden; pointer-events: none; }
  /* touch-action: senkrecht scrollt der Browser, waagerecht dreht der Finger die Erde; Zoomen mit zwei Fingern bleibt möglich */
  .hero { --globe-b: calc(var(--nav-h) - 10px + 2 * min(60vw, 30svh)); padding: calc(var(--globe-b) - 120px) 0 max(18px, env(safe-area-inset-bottom)); touch-action: pan-y pinch-zoom; }
  .hero::before { background: linear-gradient(180deg, rgba(2, 4, 10, 0) 0, rgba(2, 4, 10, 0) calc(var(--globe-b) - 260px), rgba(2, 4, 10, .5) calc(var(--globe-b) - 130px), rgba(2, 4, 10, .88) calc(var(--globe-b) - 30px), var(--night) calc(var(--globe-b) + 60px)); }
  .hero-in { gap: 13px; }
  /* Der erste Satz steht ruhig, der zweite trägt das Bild: groß und fett in der Farbe des Systems */
  .hero h1 { max-width: none; font-size: clamp(25px, 7.2vw, 38px); line-height: 1.12; letter-spacing: -.03em; background: none; color: #d3dded; padding-bottom: 0; text-shadow: 0 1px 18px rgba(2, 4, 10, .9); }
  .hero h1 br { display: none; }
  .h1-a, .h1-b, .h1-g { display: block; }
  /* Der Verlauf liegt auf dem inneren Teil (.h1-g); Lichtschein und Einstiegs-Bewegung trägt der äußere (.h1-b).
     Safari zeichnet Verlaufstext unzuverlässig, wenn dasselbe Element zugleich bewegt oder gefiltert wird. */
  .h1-b { margin-top: .14em; font-weight: 600; font-size: clamp(46px, 14.6vw, 74px); line-height: .96; letter-spacing: -.058em; text-shadow: none; filter: drop-shadow(0 6px 26px rgba(47, 139, 255, .5)); }
  .h1-g { padding-bottom: .1em; background: linear-gradient(180deg, #fff 18%, #cfeaff 58%, #86ccff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero-lead { font-size: clamp(16px, 4.3vw, 19px); line-height: 1.5; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; width: 100%; }
  .hero-actions .btn { min-height: 54px; padding: 0 10px; font-size: clamp(14px, 3.9vw, 16px); }
  .hero-actions .btn-light { box-shadow: 0 0 0 1px rgba(255, 255, 255, .5), 0 12px 46px -10px rgba(124, 200, 255, .95); }
  .hero-proof { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); gap: 7px; width: 100%; }
  .hero-proof li { font-size: 13.5px; }
  .hero-scroll { display: none; }
  /* Bis die 3D-Szene geladen ist, steht an ihrer Stelle eine dunkle Kugel mit Lichtsaum. Sie ist so groß wie die Erde im
     ersten Bild ihres Anflugs: 58 % der Endgröße, gleiche Mitte (home-3d.js beginnt im Hochformat bei 0.58). Aus ihr heraus
     kommt die Erde heran; die Kugel wächst dabei mit und verblasst. Vorher stand sie in Endgröße da: Startete die Szene spät
     (langsames Netz, Stromsparmodus), sah man die große Kugel verblassen und eine kleine Erde von innen heranwachsen. */
  .has-3d .sky-still::after { content: ''; position: absolute; left: 50%; top: calc(var(--nav-h) - 10px + .42 * min(60vw, 30svh)); width: calc(1.16 * min(60vw, 30svh)); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%;
    background: radial-gradient(circle at 64% 30%, rgba(47, 139, 255, .2), rgba(7, 12, 24, .92) 44%, #02040a 74%);
    box-shadow: inset 6px 8px 20px -7px rgba(124, 200, 255, .55), 0 0 60px -10px rgba(47, 139, 255, .5); transition: opacity .9s ease, transform 1.4s cubic-bezier(.3, .1, .3, 1); }
  .has-3d.sky-on .sky-still::after { opacity: 0; transform: translateX(-50%) scale(1.28); }
  /* „Bewegung reduzieren“: Dort gibt es keinen Anflug, die Erde steht sofort in Endgröße – also auch die Kugel davor */
  @media (prefers-reduced-motion: reduce) {
    .has-3d .sky-still::after { top: calc(var(--nav-h) - 10px); width: calc(2 * min(60vw, 30svh)); box-shadow: inset 9px 12px 30px -10px rgba(124, 200, 255, .55), 0 0 90px -14px rgba(47, 139, 255, .5); transition: opacity .9s ease; }
    .has-3d.sky-on .sky-still::after { transform: translateX(-50%); }
  }
  /* Hinweis „Erde drehen“: erscheint, wenn die Erde angekommen ist, und geht nach der ersten Drehung oder beim Scrollen */
  .has-3d .spin-hint { position: absolute; right: var(--gut); top: calc(var(--nav-h) + 10px); z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px;
    font: 500 12.5px/1 var(--font-b); color: var(--ink); background: rgba(7, 12, 24, .62); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(-6px); transition: opacity .6s ease, transform .6s var(--ease); pointer-events: none; }
  .has-3d.sky-on .spin-hint { opacity: 1; transform: none; transition-delay: 2.9s; }
  .has-3d.spun .spin-hint, .has-3d.scrolled .spin-hint, .has-3d.calm .spin-hint { opacity: 0; transform: translateY(-6px); transition-delay: 0s; }
  .calm .sh-ic { animation: none; }
  .sh-ic { position: relative; width: 18px; height: 10px; animation: sh-nudge 2.2s var(--ease) infinite; }
  .sh-ic::before, .sh-ic::after { content: ''; position: absolute; top: 50%; width: 6px; height: 6px; border-top: 1.6px solid var(--blue-hi); border-left: 1.6px solid var(--blue-hi); }
  .sh-ic::before { left: 0; transform: translateY(-50%) rotate(-45deg); }
  .sh-ic::after { right: 0; transform: translateY(-50%) rotate(135deg); }
  @keyframes sh-nudge { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }
}
.nb { white-space: nowrap; }
/* niedrige Handys (bis 700 px Höhe): der Text darf weiter in die Kugel reichen und steht etwas enger, damit die Knöpfe im ersten Bild bleiben */
@media (max-width: 899px) and (max-aspect-ratio: 9/10) and (max-height: 700px) {
  .hero { padding-top: calc(var(--globe-b) - 168px); }
  .hero::before { background: linear-gradient(180deg, rgba(2, 4, 10, 0) 0, rgba(2, 4, 10, 0) calc(var(--globe-b) - 300px), rgba(2, 4, 10, .55) calc(var(--globe-b) - 180px), rgba(2, 4, 10, .9) calc(var(--globe-b) - 60px), var(--night) calc(var(--globe-b) + 40px)); }
  .hero-in { gap: 10px; }
  .h1-b { font-size: clamp(42px, 13vw, 56px); }
  .hero-lead { font-size: 15.5px; line-height: 1.45; }
  .hero-actions .btn { min-height: 50px; }
}
@media (max-width: 760px) {
  /* Handy: im ersten Bild steht nur der Kernsatz, der Rest folgt weiter unten auf der Seite */
  .hero-lead .lead-2 { display: none; }
  /* die drei Belege laufen als eine Zeile durch (home.js verdoppelt die Einträge und setzt .is-run); ohne Skript stehen sie untereinander */
  /* die Liste selbst bleibt stehen und schneidet ab; ihre Einträge wandern gemeinsam um genau eine Listenlänge (--run, von home.js gemessen) */
  .hero-proof.is-run { flex-wrap: nowrap; gap: 0; width: calc(100% + 2 * var(--gut)); max-width: none; margin-inline: calc(-1 * var(--gut)); padding-left: var(--gut); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 90%, transparent 100%); }
  .hero-proof.is-run li { flex: none; white-space: nowrap; margin-right: 34px; animation: proof-run 36s linear infinite; }
  /* Bewegung angehalten: die Belege stehen wieder untereinander */
  .calm .hero-proof.is-run { flex-wrap: wrap; gap: 7px; width: 100%; margin-inline: 0; padding-left: 0; -webkit-mask-image: none; mask-image: none; }
  .calm .hero-proof.is-run li { animation: none; white-space: normal; margin-right: 0; flex: 1 1 100%; }
  .calm .hero-proof.is-run li[aria-hidden] { display: none; }
  /* ohne 3D gibt es keinen Pausenknopf: dann steht die Zeile wie bei „Bewegung anhalten“ (WCAG 2.2.2) */
  html:not(.has-3d) .hero-proof.is-run { flex-wrap: wrap; gap: 7px; width: 100%; margin-inline: 0; padding-left: 0; -webkit-mask-image: none; mask-image: none; }
  html:not(.has-3d) .hero-proof.is-run li { animation: none; white-space: normal; margin-right: 0; flex: 1 1 100%; }
  html:not(.has-3d) .hero-proof.is-run li[aria-hidden] { display: none; }
  @keyframes proof-run { to { transform: translateX(calc(-1 * var(--run, 720px))); } }
  /* Einstieg: Überschrift, Text und Knöpfe kommen nacheinander, während die Erde heranfährt */
  @media (prefers-reduced-motion: no-preference) {
    .js .hero-in > * { animation: hero-rise .9s var(--ease) both; }
    .js .hero-in > h1 { animation: none; }
    .js .h1-a { animation: hero-rise .9s var(--ease) .15s both; }
    .js .h1-b { animation: hero-rise 1s var(--ease) .38s both; }
    .js .hero-in > .hero-lead { animation-delay: .62s; }
    .js .hero-in > .hero-actions { animation-delay: .8s; }
    .js .hero-in > .hero-proof { animation-name: hero-fade; animation-delay: 1.15s; }
    @keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
    @keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
  }
}
/* Ohne WebGL: das bisherige Standbild der Erde */
.no-3d .hero { background: linear-gradient(90deg, rgba(2, 4, 10, .93) 0 40%, rgba(2, 4, 10, .35) 62%, rgba(2, 4, 10, 0) 84%), url('/media/hero/hero-v1-poster-1920.webp') 72% 40% / cover no-repeat; }
@media (max-width: 760px) { .no-3d .hero { background: linear-gradient(180deg, rgba(2, 4, 10, .25), var(--night) 82%), url('/media/hero/hero-v1-poster-1280.webp') 78% 20% / cover no-repeat; } }

/* ── Anflug: Scroll-Fahrt ─────────────────────────────────────────── */
.dive { position: relative; }
.has-3d .dive { height: 330vh; }
.has-3d .dive-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
/* dunkler Grund unter dem Text; er wandert mit der Textkante mit und wird auf breiten Bildschirmen nicht größer als nötig */
.has-3d .dive-stage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse min(62%, 1100px) 56% at max(0px, calc((100% - var(--max)) / 2 - 2 * var(--gut))) 100%, rgba(2, 4, 10, .93), rgba(2, 4, 10, .55) 46%, transparent 72%); pointer-events: none; }
@media (min-width: 2000px) { .has-3d .dive-stage::after { background: radial-gradient(ellipse 1200px 60% at calc((100% - var(--max)) / 2 + 340px) 100%, rgba(2, 4, 10, .93), rgba(2, 4, 10, .6) 46%, transparent 74%); } }
.dive-steps { position: relative; z-index: 1; }
.has-3d .dive-steps { position: absolute; left: max(var(--gut), calc((100% - var(--max)) / 2)); right: var(--gut); bottom: clamp(56px, 13vh, 130px); max-width: min(760px, 100%); }
.dive-step p { font: 300 clamp(23px, 2.7vw, 42px)/1.22 var(--font-d); letter-spacing: -.024em; text-wrap: balance; }
.has-3d .dive-step { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .7s var(--ease); pointer-events: none; }
.has-3d .dive-step.is-on { opacity: 1; transform: none; pointer-events: auto; }
/* ohne 3D: drei ruhige Absätze */
.no-3d .dive { padding: 12px 0 var(--sec); }
.no-3d .dive-steps { max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); display: grid; gap: 26px; }
.no-3d .dive-step p { max-width: 24em; font-size: clamp(21px, 2.2vw, 32px); color: var(--ink-2); }
.dive-notes, .dive-prog { display: none; }
/* Handy: Die Geschichte läuft in drei Bildern. Unten steht der Satz groß über einem dunklen Verlauf, oben zeigen Meldungen
   wie auf einem Telefon, was gerade passiert: ein Anruf geht ein, drei bleiben unbeantwortet, dann nimmt die KI sie an.
   home.js setzt an .dive-stage den Schritt (data-step), ob die Bühne steht (.is-live) und den Fortschritt (--dp, 0 bis 1). */
@media (max-width: 760px) {
  .has-3d .dive { height: 330vh; }
  .has-3d .dive-steps { bottom: max(118px, calc(env(safe-area-inset-bottom) + 108px)); right: var(--gut); }
  .has-3d .dive-stage::after { background: linear-gradient(0deg, rgba(2, 4, 10, .98) 0, rgba(2, 4, 10, .93) 26%, rgba(2, 4, 10, .66) 44%, rgba(2, 4, 10, .2) 58%, rgba(2, 4, 10, 0) 68%); }
  .dive-step p { font: 500 clamp(26px, 7.5vw, 34px)/1.13 var(--font-d); letter-spacing: -.036em; text-shadow: 0 0 18px rgba(2, 4, 10, .95), 0 1px 3px rgba(2, 4, 10, .8); }
  .ds-b { display: block; margin-top: 12px; font: 400 16.5px/1.5 var(--font-b); letter-spacing: 0; color: var(--ink-2); text-wrap: pretty; }
  .has-3d .dive-step { transform: translateY(26px); transition: opacity .5s ease, transform .75s var(--ease); }

  .has-3d .dive-prog { display: flex; gap: 6px; position: absolute; z-index: 1; left: var(--gut); bottom: max(92px, calc(env(safe-area-inset-bottom) + 82px)); }
  .dive-prog i { position: relative; width: 30px; height: 3px; border-radius: 3px; background: rgba(150, 180, 235, .24); overflow: hidden; }
  .dive-prog i::after { content: ''; position: absolute; inset: 0; border-radius: 3px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(clamp(0, calc(var(--dp, 0) * 3 - var(--i)), 1)); }
  .dive-prog i:nth-child(1) { --i: 0; } .dive-prog i:nth-child(2) { --i: 1; } .dive-prog i:nth-child(3) { --i: 2; }

  .has-3d .dive-notes { display: grid; gap: 8px; position: absolute; z-index: 1; left: 12px; right: 12px; top: calc(var(--nav-h) + 12px); }
  .dn { --tone: var(--ok); display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 58px; padding: 10px 16px 10px 11px; border-radius: 20px;
    background: rgba(13, 21, 38, .74); border: 1px solid rgba(160, 190, 240, .2); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 22px 44px -26px #000;
    opacity: 0; transform: translateY(-18px) scale(.94); transform-origin: 50% 0; transition: opacity .45s ease, transform .65s var(--ease); }
  .dn-ic { position: relative; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #04121c; background: var(--tone); box-shadow: 0 0 22px -4px var(--tone); transition: background-color .5s, box-shadow .5s; }
  .dn-ic svg { grid-area: 1 / 1; width: 19px; height: 19px; transition: opacity .35s, transform .5s var(--ease); }
  .dn-ic .i-ok { opacity: 0; transform: scale(.5); }
  .dn-txt { display: grid; min-width: 0; }
  .dn-txt b { grid-area: 1 / 1; font: 600 15.5px/1.25 var(--font-b); color: var(--ink); opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .5s var(--ease); }
  .dn-time { font: 500 13.5px/1 var(--font-b); color: var(--ink-2); font-variant-numeric: tabular-nums; }
  /* Bild 1: es klingelt */
  .dive-stage.is-live[data-step="0"] .dn:first-child { opacity: 1; transform: none; }
  .dive-stage[data-step="0"] .dn-ring { opacity: 1; transform: none; }
  .dive-stage.is-live[data-step="0"] .dn:first-child .dn-ic { animation: dn-shake 1.1s ease-in-out infinite; }
  @keyframes dn-shake { 0%, 44%, 100% { transform: none; } 8%, 24% { transform: rotate(-11deg); } 16%, 32% { transform: rotate(11deg); } }
  .calm .dive-stage.is-live[data-step="0"] .dn:first-child .dn-ic { animation: none; }   /* Bewegung angehalten: kein Klingeln */
  /* Bild 2: niemand nimmt ab */
  .dive-stage[data-step="1"] .dn, .dive-stage[data-step="2"] .dn { opacity: 1; transform: none; }
  .dive-stage[data-step="1"] .dn:nth-child(2), .dive-stage[data-step="2"] .dn:nth-child(2) { transition-delay: .12s; }
  .dive-stage[data-step="1"] .dn:nth-child(3), .dive-stage[data-step="2"] .dn:nth-child(3) { transition-delay: .24s; }
  .dive-stage[data-step="1"] .dn { --tone: #ff8d8d; }
  .dive-stage[data-step="1"] .dn-miss { opacity: 1; transform: none; }
  /* Bild 3: die KI nimmt an */
  .dive-stage[data-step="2"] .dn { --tone: var(--blue-hi); border-color: rgba(124, 200, 255, .38); }
  .dive-stage[data-step="2"] .dn-ok { opacity: 1; transform: none; }
  .dive-stage[data-step="2"] .dn-ic .i-call { opacity: 0; transform: scale(.5); }
  .dive-stage[data-step="2"] .dn-ic .i-ok { opacity: 1; transform: none; }
}
/* niedrige Handys: Meldungen und Satz enger, damit die Karte dazwischen sichtbar bleibt */
@media (max-width: 760px) and (max-height: 700px) {
  .has-3d .dive-notes { gap: 6px; top: calc(var(--nav-h) + 8px); }
  .dn { min-height: 48px; padding: 7px 14px 7px 9px; border-radius: 16px; }
  .dn-ic { width: 32px; height: 32px; border-radius: 10px; }
  .dn-txt b { font-size: 14.5px; }
  .dive-step p { font-size: clamp(23px, 6.7vw, 28px); }
  .ds-b { margin-top: 8px; font-size: 15px; line-height: 1.42; }
}

/* ── Abschnitte + Horizontlinie ───────────────────────────────────── */
.sec { position: relative; padding: var(--sec) 0; }
.limb { position: absolute; inset: 0 0 auto 0; height: 110px; overflow: hidden; pointer-events: none; }
.limb::before {
  /* flache Ellipse: der Bogen reicht bei jeder Fensterbreite von Rand zu Rand und fällt dabei gleich weit ab */
  content: ''; position: absolute; left: 50%; top: 34px; width: 180vw; height: min(52vw, 800px); transform: translateX(-50%); border-radius: 50%;
  border-top: 1px solid rgba(150, 205, 255, .55);
  box-shadow: 0 -1px 3px rgba(200, 230, 255, .45), 0 -6px 34px rgba(47, 139, 255, .36), 0 -18px 90px rgba(47, 139, 255, .16);
}
.limb--dawn::before { border-top-color: rgba(255, 214, 170, .8); box-shadow: 0 -1px 3px rgba(255, 236, 205, .6), 0 -6px 34px rgba(255, 158, 94, .42), 0 -22px 110px rgba(255, 158, 94, .2); }
.sec-head { display: grid; gap: 18px; margin-bottom: clamp(34px, 4.4vw, 64px); }
.sec-head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 20px clamp(32px, 6vw, 96px); }
@media (max-width: 900px) { .sec-head--split { grid-template-columns: 1fr; } }

/* ── Live-KI ──────────────────────────────────────────────────────── */
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.demo-head { display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 24px); }
.demo-quota { display: flex; gap: 34px; margin-top: 6px; }
.demo-quota div { display: grid; gap: 2px; }
.demo-quota dd { font: 300 40px/1 var(--font-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--ink); }
.demo-quota dt { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 1000px) { .demo-grid { grid-template-columns: 1fr; } .demo-head { position: static; } }
@media (max-width: 760px) { .demo-quota dd { font-size: 34px; } }

.demo-console { min-width: 0; display: grid; gap: 14px; }
.demo-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(7, 12, 24, .82); border: 1px solid var(--line); }
.demo-tab { flex: 1; min-height: 46px; padding: 0 14px; border: 0; background: none; border-radius: 999px; cursor: pointer; font: 600 15px/1.1 var(--font-b); color: var(--ink-3); transition: color .25s, background-color .25s; }
.demo-tab:hover { color: var(--ink); }
.demo-tab[aria-selected="true"] { background: var(--ink); color: #04070f; }
.demo-panel { min-width: 0; }

.dm-window { position: relative; overflow: hidden; border-radius: 22px; background: linear-gradient(180deg, rgba(12, 20, 36, .95), rgba(5, 9, 18, .97)); border: 1px solid var(--line-2); box-shadow: 0 40px 110px -44px #000, 0 0 90px -46px rgba(47, 139, 255, .75); }
.dm-window [hidden] { display: none !important; }
.dm-bar { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.dm-avatar { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 66% 28%, #a6dbff 0 7%, var(--blue) 32%, #0a2a60 78%); box-shadow: 0 0 0 1px rgba(124, 200, 255, .5), 0 0 22px -4px rgba(47, 139, 255, .85); }
.dm-avatar svg { width: 20px; height: 20px; display: block; }
.dm-bar .dm-avatar::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px #0a101e; }
.dm-window[data-state="off"] .dm-bar .dm-avatar::after { background: var(--ink-3); }
.dm-sample .dm-bar .dm-avatar::after { display: none; }
.dm-title { display: grid; gap: 2px; min-width: 0; flex: 1; }
.dm-name { font: 600 15.5px/1.2 var(--font-d); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-sub { font-size: 13px; color: var(--ok); }
.dm-window[data-state="off"] .dm-sub, .dm-sample .dm-sub { color: var(--ink-3); }
.dm-chip-ai { font-size: 12.5px; font-weight: 600; color: var(--blue-hi); border: 1px solid rgba(124, 200, 255, .36); border-radius: 999px; padding: 6px 11px; white-space: nowrap; }
.dm-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

.dm-stream { height: clamp(340px, 50vh, 500px); overflow-y: auto; padding: 22px 20px 12px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dm-row { display: flex; gap: 10px; align-items: flex-end; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s var(--ease); }
.dm-row.in { opacity: 1; transform: none; }
.dm-row.user { justify-content: flex-end; }
.dm-row .dm-avatar { width: 28px; height: 28px; }
.dm-row .dm-avatar svg { width: 14px; height: 14px; }
.dm-bubble { max-width: min(82%, 540px); padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; white-space: pre-wrap; }
.dm-row.bot .dm-bubble { background: rgba(124, 200, 255, .09); border: 1px solid rgba(124, 200, 255, .17); border-bottom-left-radius: 6px; }
.dm-row.user .dm-bubble { background: var(--ink); color: #04070f; border-bottom-right-radius: 6px; }
.dm-row.sys .dm-bubble { max-width: 100%; white-space: normal; background: none; border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 14.5px; }
.dm-row.sys.warn .dm-bubble { border-color: rgba(242, 194, 123, .5); color: var(--gold-hi); }
.dm-bubble strong { color: var(--blue-hi); font-weight: 600; }
.dm-row.user .dm-bubble strong { color: inherit; }
.dm-bubble a { color: var(--blue-hi); text-underline-offset: 3px; }
.dm-bubble .dm-caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--blue-hi); animation: dm-blink .9s steps(2) infinite; }
@keyframes dm-blink { 50% { opacity: 0; } }
.dm-typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.dm-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-hi); opacity: .35; animation: dm-dot 1.1s infinite ease-in-out; }
.dm-typing i:nth-child(2) { animation-delay: .15s; }
.dm-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dm-dot { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .35; transform: none; } }
.dm-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 20px 12px; }
.dm-chip { min-height: 42px; padding: 0 15px; border-radius: 999px; cursor: pointer; font: 500 14px/1.2 var(--font-b); color: var(--ink); background: rgba(124, 200, 255, .07); border: 1px solid rgba(124, 200, 255, .32); transition: background-color .25s, border-color .25s; }
.dm-chip:hover { background: rgba(124, 200, 255, .18); border-color: var(--blue-hi); }
.dm-chip:disabled { opacity: .4; cursor: default; }
.dm-composer { display: flex; gap: 10px; align-items: flex-end; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.dm-input { flex: 1; min-width: 0; resize: none; min-height: 48px; max-height: 160px; padding: 12px 14px; border-radius: 16px; font-size: 16px; line-height: 1.45; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s; }
.dm-input::placeholder { color: var(--ink-3); }
.dm-input:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 4px rgba(47, 139, 255, .2); }
.dm-input:disabled { opacity: .5; }
.dm-send { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--ink); color: #04070f; transition: opacity .25s, box-shadow .25s; }
.dm-send svg { width: 18px; height: 18px; }
.dm-send:hover { box-shadow: 0 0 0 5px rgba(124, 200, 255, .2); }
.dm-send:disabled { opacity: .35; cursor: default; box-shadow: none; }
.dm-count { font-size: 12.5px; color: var(--ink-3); padding: 0 20px 10px; text-align: right; min-height: 1.3em; font-variant-numeric: tabular-nums; }
.dm-count.over { color: var(--err); }
.dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; cursor: pointer; text-decoration: none; font: 600 14.5px/1.1 var(--font-b); color: var(--ink); background: rgba(2, 4, 10, .4); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s, background-color .25s, opacity .25s; }
.dm-btn:hover { border-color: var(--blue-hi); }
.dm-btn.primary { background: var(--ink); color: #04070f; border-color: transparent; }
.dm-btn.primary:hover { background: #fff; box-shadow: 0 0 0 5px rgba(124, 200, 255, .2); }
.dm-btn.danger { background: #c9364f; color: #fff; border-color: transparent; }
.dm-btn.big { min-height: 52px; padding: 0 26px; font-size: 15.5px; }
.dm-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.ld-consent { margin: 20px; padding: 22px; border-radius: 16px; background: rgba(2, 4, 10, .5); border: 1px solid var(--line); display: grid; gap: 14px; }
.ld-consent h3 { font-size: 19px; }
.ld-consent p, .ld-consent li { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ld-consent ul { padding-left: 18px; list-style: disc; display: grid; gap: 6px; }
.ld-consent li::marker { color: var(--ink-3); }
.ld-consent b { color: var(--ink); font-weight: 600; }
.ld-consent a { color: var(--ink); text-underline-offset: 3px; }
.ld-consent .dm-btn { justify-self: start; }
.ld-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink); cursor: pointer; }
.ld-check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.ld-check a { color: var(--ink); text-underline-offset: 3px; }
.ld-note { margin: 0 20px 14px; padding: 12px 14px; border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); border: 1px solid rgba(124, 200, 255, .26); background: rgba(47, 139, 255, .07); }
.ld-note.warn { border-color: rgba(242, 194, 123, .45); background: rgba(242, 194, 123, .07); color: var(--gold-hi); }
.ld-note.err { border-color: rgba(255, 156, 156, .45); background: rgba(255, 156, 156, .07); color: #ffd0d0; }
.ld-note a.dm-btn { min-height: 38px; font-size: 13.5px; padding: 0 14px; }
.dm-call { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.dm-call-left { padding: 28px 24px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; border-right: 1px solid var(--line); }
.dm-orb { width: min(230px, 62vw); aspect-ratio: 1; display: block; }
.dm-timer { font: 300 30px/1 var(--font-d); font-variant-numeric: tabular-nums; }
.dm-timer small { font-size: 14px; color: var(--ink-3); }
.dm-timer.near { color: var(--gold-hi); }
.dm-state { display: inline-flex; align-items: center; gap: 8px; min-height: 1.4em; font-size: 13.5px; color: var(--ink-3); }
.dm-state::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); }
.dm-state.live { color: var(--ok); }
.dm-state.live::before { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dm-state.busy::before { background: var(--blue-hi); animation: dm-dot 1.1s infinite ease-in-out; }
.dm-state.err { color: var(--err); }
.dm-state.err::before { background: var(--err); }
.dm-controls { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dm-transcript { padding: 22px 20px; height: clamp(340px, 50vh, 470px); overflow-y: auto; display: flex; flex-direction: column; gap: 14px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.dm-transcript .ld-empty { margin: auto 0; padding: 0 12px; text-align: center; font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.dm-turn { display: grid; grid-template-columns: 64px 1fr; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s var(--ease); }
.dm-turn.in { opacity: 1; transform: none; }
.dm-turn .who { font-size: 12.5px; font-weight: 600; color: var(--ink-3); padding-top: 3px; }
.dm-turn.bot .who { color: var(--blue-hi); }
.dm-turn .txt { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); padding-left: 12px; border-left: 2px solid var(--line-2); overflow-wrap: anywhere; }
.dm-turn.bot .txt { color: var(--ink); }
.smp-body { display: grid; justify-items: center; gap: 22px; padding: clamp(28px, 4vw, 48px) 24px; text-align: center; }
.smp-wave { display: flex; align-items: center; gap: 5px; height: 64px; }
.smp-wave i { width: 4px; height: 12%; border-radius: 4px; background: var(--ink-3); transition: background-color .3s; }
.dm-sample.is-live .smp-wave i { animation: smp 1s ease-in-out infinite; background: var(--blue-hi); }
.dm-sample.is-live[data-speaker="user"] .smp-wave i { background: var(--gold); }
.smp-wave i:nth-child(3n) { animation-delay: -.2s; } .smp-wave i:nth-child(3n+1) { animation-delay: -.55s; } .smp-wave i:nth-child(4n) { animation-delay: -.8s; } .smp-wave i:nth-child(5n) { animation-delay: -.35s; }
@keyframes smp { 0%, 100% { height: 14%; } 50% { height: 92%; } }
.smp-caption { font: 300 clamp(19px, 1.7vw, 25px)/1.4 var(--font-d); letter-spacing: -.015em; max-width: 26em; min-height: 4.2em; text-wrap: balance; }
.smp-caption .who { display: block; font: 600 13px/1.4 var(--font-b); letter-spacing: 0; color: var(--blue-hi); margin-bottom: 6px; }
.dm-sample[data-speaker="user"] .smp-caption .who { color: var(--gold); }
.smp-caption b { font-weight: 500; color: var(--gold-hi); }
@media (max-width: 760px) {
  .dm-call { grid-template-columns: 1fr; }
  .dm-call-left { border-right: 0; border-bottom: 1px solid var(--line); }
  .dm-orb { width: 160px; }
  .dm-stream { height: 400px; }
  .dm-transcript { height: 260px; }
  .dm-bubble { max-width: 88%; }
  .dm-chip-ai { display: none; }
  /* die Einwilligung bleibt vollständig sichtbar, aber enger gesetzt: sonst füllt sie mehr als ein Fenster */
  .ld-consent { margin: 12px; padding: 16px 14px; gap: 10px; }
  .ld-consent h3 { font-size: 17px; }
  .ld-consent p, .ld-consent li, .ld-check { font-size: 13.5px; line-height: 1.5; }
  .ld-consent ul { gap: 4px; padding-left: 16px; }
  .demo-tab { padding: 0 8px; font-size: 14.5px; }
}

/* ── Sechs Bausteine ──────────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 84px); }
.svc-visual { position: sticky; top: 0; height: 100svh; margin-top: calc(-1 * var(--sec)); }
.svc-col .sec-head { padding-top: clamp(0px, 6vh, 80px); }
.svc { padding: clamp(26px, 5.4vh, 56px) 0; display: grid; gap: 12px; justify-items: start; border-top: 1px solid var(--line); transition: opacity .5s ease; }
.svc h3 { font: 300 clamp(27px, 2.7vw, 42px)/1.1 var(--font-d); letter-spacing: -.028em; }
.svc > p { color: var(--ink-2); font-size: clamp(16.5px, 1.2vw, 18.5px); max-width: 34em; }
.ticks { display: grid; gap: 7px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-2); }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 1.5px; background: var(--blue-hi); }
.has-3d .svc-list .svc { opacity: .34; }
.has-3d .svc-list .svc.is-on { opacity: 1; }
.svc-tech { margin-top: clamp(26px, 4vw, 48px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-3); max-width: 46em; }
.svc-col { min-width: 0; }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-visual { display: none; }
  .has-3d .svc-list .svc { opacity: 1; }
  .svc { padding: 22px 0; gap: 9px; }
}
.no-3d .svc-grid { grid-template-columns: minmax(0, 1fr); }
.no-3d .svc-visual { display: none; }
.no-3d .svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); column-gap: clamp(28px, 4vw, 64px); }

/* ── Webseiten: fünf Stufen ───────────────────────────────────────── */
.tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); align-items: end; }
.tier a { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.tier:nth-child(1) { --lift: 0px; } .tier:nth-child(2) { --lift: 26px; } .tier:nth-child(3) { --lift: 52px; } .tier:nth-child(4) { --lift: 78px; } .tier:nth-child(5) { --lift: 104px; }
.tier { padding-bottom: var(--lift); }
.tier-shot { display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--line-2); background: var(--night-2); margin-bottom: 10px; transition: border-color .3s, box-shadow .4s; }
.tier-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.1s var(--ease); }
.tier a:hover .tier-shot { border-color: var(--blue-hi); box-shadow: 0 30px 70px -36px rgba(47, 139, 255, .9); }
.tier a:hover .tier-shot img { transform: scale(1.05); }
.tier-tag { font-size: 12.5px; color: var(--ink-3); }
.tier-name { font: 500 clamp(18px, 1.5vw, 23px)/1.2 var(--font-d); letter-spacing: -.015em; }
.tier-price { font: 500 15.5px/1.3 var(--font-b); color: var(--gold); font-variant-numeric: tabular-nums; }
.tier-text { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.tier--top .tier-shot { border-color: rgba(242, 194, 123, .55); }
.web-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(30px, 4vw, 52px) 0 18px; }
@media (max-width: 1100px) {
  .tiers { display: flex; align-items: stretch; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 10px; scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .tiers::-webkit-scrollbar { display: none; }
  .tier { flex: 0 0 min(78%, 340px); scroll-snap-align: start; padding-bottom: 0; }
}

/* ── Für wen ──────────────────────────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.who-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 24px); margin-bottom: 0; }
.who-list { border-bottom: 1px solid var(--line); }
.who-list a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 22px; align-items: baseline; gap: 6px 24px; padding: clamp(18px, 2vw, 26px) 0; border-top: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .35s var(--ease); }
.who-name { font: 300 clamp(22px, 2.2vw, 33px)/1.15 var(--font-d); letter-spacing: -.025em; transition: color .25s; }
.who-line { color: var(--ink-2); font-size: 16px; }
.who-list a::after { content: ''; width: 9px; height: 9px; border-top: 1.5px solid var(--ink-3); border-right: 1.5px solid var(--ink-3); transform: rotate(45deg); justify-self: end; align-self: center; transition: border-color .25s, transform .35s var(--ease); }
.who-list a:hover { padding-left: 10px; }
.who-list a:hover .who-name { color: var(--gold-hi); }
.who-list a:hover::after { border-color: var(--gold); transform: translateX(4px) rotate(45deg); }
@media (max-width: 1000px) { .who-grid { grid-template-columns: 1fr; } .who-grid .sec-head { position: static; } }
@media (max-width: 640px) { .who-list a { grid-template-columns: minmax(0, 1fr) 22px; } .who-line { grid-column: 1; grid-row: 2; font-size: 15px; } .who-list a::after { grid-row: 1 / span 2; grid-column: 2; } }

/* ── Rechner ──────────────────────────────────────────────────────── */
.calc-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: rgba(5, 9, 18, .86); }
.calc-in { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 3vw, 44px); border-right: 1px solid var(--line); }
.calc-out { display: grid; gap: 22px; align-content: start; padding: clamp(22px, 3vw, 44px); }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14.5px; color: var(--ink-2); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field input:not([type="range"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 124px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 21px) 53%, calc(100% - 15px) 53%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #0a1120; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-hi); box-shadow: 0 0 0 4px rgba(47, 139, 255, .2); }
.calc-in input[type="number"] { font: 300 30px/1.1 var(--font-d); letter-spacing: -.02em; min-height: 62px; font-variant-numeric: tabular-nums; }
.field output { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 43%), var(--line-2) var(--p, 43%)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: var(--gold-hi); border: 0; box-shadow: 0 0 0 6px rgba(242, 194, 123, .2), 0 0 18px rgba(242, 194, 123, .8); }
input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--gold-hi); border: 0; box-shadow: 0 0 0 6px rgba(242, 194, 123, .2), 0 0 18px rgba(242, 194, 123, .8); }
.calc-bar { height: 12px; border-radius: 12px; background: rgba(150, 180, 235, .16); overflow: hidden; }
.calc-bar-free { display: block; height: 100%; width: 40%; border-radius: 12px; background: linear-gradient(90deg, var(--gold), var(--gold-hi)); box-shadow: 0 0 18px rgba(242, 194, 123, .7); transition: width .6s var(--ease); }
.calc-res { display: grid; gap: 18px; }
.calc-res > div { display: grid; gap: 2px; }
.calc-res dt { font-size: 14.5px; color: var(--ink-3); }
.calc-res dd { font-size: 16px; color: var(--ink-2); }
.calc-res b { font: 300 clamp(32px, 3.4vw, 52px)/1.1 var(--font-d); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; margin-right: 6px; }
.calc-res .is-free b, .calc-res .is-money b { color: var(--gold-hi); }
.calc-year { display: block; margin-top: 2px; }
.calc-year b { font-size: clamp(20px, 1.8vw, 26px); color: var(--ink) !important; }
.calc-out .btn { justify-self: start; }
@media (max-width: 860px) { .calc-box { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr 1fr; gap: 16px; } .calc-in .field--range, .calc-in .field:nth-child(2) { grid-column: 1 / -1; } }
/* Handy: jedes Feld über die ganze Breite (halbe Felder standen sonst einzeln in ihrer Zeile) */
@media (max-width: 520px) { .calc-in { grid-template-columns: 1fr; } }

/* ── Ablauf ───────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--line-2); }
.step { counter-increment: step; display: grid; gap: 12px; align-content: start; padding: 26px clamp(16px, 2vw, 30px) 8px 0; position: relative; }
.step + .step { padding-left: clamp(16px, 2vw, 30px); border-left: 1px solid var(--line); }
.step::before { content: counter(step); font: 200 clamp(46px, 5vw, 76px)/1 var(--font-d); letter-spacing: -.04em; color: var(--blue-hi); }
.step::after { content: ''; position: absolute; left: 0; top: -4.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-hi); box-shadow: 0 0 12px var(--blue); }
.step + .step::after { left: -4.5px; }
.step > p { color: var(--ink-2); font-size: 15.5px; }
.step dl { display: grid; gap: 8px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.step dl div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; }
.step dt { color: var(--ink-3); }
.step dd { color: var(--ink); }
.terms { margin-top: clamp(40px, 5vw, 76px); display: grid; gap: 20px; }
.terms-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px clamp(16px, 2vw, 30px); }
.terms-list dt { font-weight: 600; color: var(--ink); }
.terms-list dd { color: var(--ink-2); font-size: 15.5px; }
.terms .more { justify-self: start; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); margin-left: 4px; }
  .step, .step + .step { padding: 0 0 30px 26px; border-left: 0; grid-template-columns: auto 1fr; column-gap: 16px; }
  .step::before { grid-row: 1 / span 2; font-size: 46px; line-height: .9; }
  .step h3 { align-self: end; }
  .step > p, .step dl { grid-column: 1 / -1; }
  .step::after, .step + .step::after { left: -4.5px; top: 10px; }
  .terms-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .terms-list { grid-template-columns: 1fr; gap: 12px; } }

/* ── Über ─────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 3.6vw, 60px); align-items: start; }
.portrait { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--night-2); }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; }
.about-text { display: grid; gap: 16px; }
.about-text h2 { margin-bottom: 8px; }
.about-text p { color: var(--ink-2); max-width: 36em; }
.about-contact { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 4px; }
.about-contact a, .contact-direct a, .foot address a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); display: inline-flex; align-items: center; min-height: 44px; }
.about-contact a:hover, .contact-direct a:hover, .foot address a:hover { text-decoration-color: var(--gold); }
.cert { position: relative; display: grid; gap: 14px; padding: clamp(22px, 2.2vw, 32px); border-radius: 18px; background: linear-gradient(170deg, rgba(242, 194, 123, .1), rgba(242, 194, 123, .02) 46%, rgba(5, 9, 18, .9)); border: 1px solid rgba(242, 194, 123, .42); }
.cert-kind { font-size: 13.5px; font-weight: 600; color: var(--gold); }
.cert h3 { font-size: clamp(20px, 1.7vw, 26px); text-wrap: balance; }
.cert-facts { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(242, 194, 123, .25); font-size: 14.5px; }
.cert-facts dt { color: var(--ink-3); font-size: 13px; }
.cert-facts dd { color: var(--ink); }
.cert-more summary { cursor: pointer; font-weight: 600; font-size: 14.5px; min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; }
.cert-more summary::-webkit-details-marker { display: none; }
.cert-more summary::before { content: '+'; color: var(--gold); font: 300 22px/1 var(--font-d); width: 14px; }
.cert-more[open] summary::before { content: '–'; }
.cert-more ol { list-style: decimal; padding-left: 22px; display: grid; gap: 5px; font-size: 14.5px; color: var(--ink-2); padding-bottom: 6px; }
.principles { margin-top: clamp(44px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.pr-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px clamp(18px, 2.4vw, 40px); }
.pr-list li { display: grid; gap: 6px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pr-list b { font-weight: 600; }
.pr-list span { color: var(--ink-2); font-size: 15.5px; }
.profile { margin-top: clamp(30px, 4vw, 54px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile summary { cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; list-style: none; }
.profile summary::-webkit-details-marker { display: none; }
.profile summary::after { content: '+'; font: 300 26px/1 var(--font-d); color: var(--blue-hi); }
.profile[open] summary::after { content: '–'; }
.profile-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 24px; padding: 6px 0 26px; max-width: 900px; }
.profile-grid dt { color: var(--ink-3); font-size: 14.5px; }
.profile-grid dd { color: var(--ink-2); }
.profile-grid strong { color: var(--ink); font-weight: 600; }
@media (max-width: 1100px) { .about-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .cert { grid-column: 1 / -1; } .pr-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 240px; } .pr-list { grid-template-columns: 1fr; gap: 14px; } .profile-grid { grid-template-columns: 1fr; gap: 2px; } .profile-grid dd { margin-bottom: 12px; } }

/* ── Fragen ───────────────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 24px); margin-bottom: 0; }
.faq-list { border-bottom: 1px solid var(--line); }
.q { border-top: 1px solid var(--line); }
.q summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 16px; align-items: center; padding: 20px 0; min-height: 64px; }
.q summary::-webkit-details-marker { display: none; }
.q summary h3 { font: 500 clamp(17.5px, 1.4vw, 21px)/1.3 var(--font-d); letter-spacing: -.012em; }
.q summary::after { content: ''; width: 13px; height: 13px; justify-self: center; background: linear-gradient(var(--blue-hi), var(--blue-hi)) 50% 50% / 100% 1.5px no-repeat, linear-gradient(var(--blue-hi), var(--blue-hi)) 50% 50% / 1.5px 100% no-repeat; transition: transform .35s var(--ease); }
.q[open] summary::after { transform: rotate(45deg); }
.q summary:hover h3 { color: #fff; }
.q .a { color: var(--ink-2); max-width: 46em; padding: 0 44px 24px 0; }
@media (max-width: 1000px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .sec-head { position: static; } }

/* ── Morgen: Termin und Anfrage ───────────────────────────────────── */
.contact { padding-bottom: clamp(150px, 30vh, 340px); } /* Platz für den Sonnenaufgang über dem Fuß */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 2.2vw, 32px); align-items: start; }
.panel { display: grid; gap: 18px; align-content: start; padding: clamp(20px, 2.6vw, 38px); border-radius: 22px; background: rgba(5, 9, 18, .9); border: 1px solid var(--line-2); scroll-margin-top: calc(var(--nav-h) + 16px); }
.panel:focus { outline: none; }
.cal-gate { display: grid; gap: 16px; justify-items: start; }
.cal-gate p { color: var(--ink-2); font-size: 15.5px; }
.cal-gate a { color: var(--ink); text-underline-offset: 3px; }
.cal-inline { min-height: 600px; border-radius: 14px; overflow: hidden; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--wide { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.form-note { font-size: 15px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(88, 214, 166, .45); background: rgba(88, 214, 166, .08); color: #c9f5e4; }
.form-note.err { border-color: rgba(255, 156, 156, .45); background: rgba(255, 156, 156, .07); color: #ffd0d0; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 20px; color: var(--ink-3); font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
/* Kalender geladen: er bekommt die ganze Breite (Cal.com zeigt Monat und Uhrzeiten dann nebeneinander statt untereinander),
   das Formular rückt darunter und ordnet sich zweispaltig: links Überschrift und direkter Kontakt, rechts die Felder */
@media (min-width: 961px) {
  .contact-grid.cal-open { grid-template-columns: minmax(0, 1fr); }
  .contact-grid.cal-open #anfrage { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); column-gap: clamp(24px, 4vw, 64px); }
  .contact-grid.cal-open #anfrage > h3 { grid-column: 1; grid-row: 1; }
  .contact-grid.cal-open #anfrage > .form { grid-column: 2; grid-row: 1 / span 2; }
  .contact-grid.cal-open #anfrage > .contact-direct { grid-column: 1; grid-row: 2; align-self: start; flex-direction: column; align-items: flex-start; border-top: 0; padding-top: 0; }
}
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* ── Fuß ──────────────────────────────────────────────────────────── */
.foot { padding: clamp(44px, 6vw, 84px) 0 28px; background: linear-gradient(180deg, rgba(2, 4, 10, 0), rgba(2, 4, 10, .86) 22%, var(--night) 60%); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 34px clamp(20px, 3vw, 52px); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { color: var(--ink-2); font-size: 15px; max-width: 30em; }
.foot address { font-style: normal; color: var(--ink-3); font-size: 14.5px; line-height: 1.7; }
.foot-col h2 { font: 600 14px/1.3 var(--font-b); letter-spacing: 0; color: var(--ink-3); margin-bottom: 8px; }
.foot-col a { color: var(--ink-2); text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; min-height: 40px; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ── Handy: kürzer und dichter ────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --sec: 60px; }
  .limb { height: 70px; }
  .limb::before { top: 22px; }
  .sec-head { margin-bottom: 26px; gap: 12px; }
  /* Karten zum Wischen statt lange Listen untereinander */
  .swipe { display: flex; align-items: stretch; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 8px; scroll-padding-inline: var(--gut); scrollbar-width: none; border: 0; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: start; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(7, 12, 24, .78); padding: 20px 18px; }
  .svc-list .svc { padding: 20px 18px; align-content: start; }
  .svc h3 { font-size: 26px; }
  .svc-tech { margin-top: 20px; padding-top: 16px; }
  .steps { margin-left: calc(-1 * var(--gut)); border-left: 0; }
  .steps .step, .steps .step + .step { padding: 18px; }
  .step::after, .step + .step::after { display: none; }
  .terms { margin-top: 30px; }
  .pr-list li { padding-top: 20px; }
  .who-list a { padding: 15px 0; }
  .about-grid { grid-template-columns: 112px minmax(0, 1fr); gap: 16px 18px; align-items: center; }
  .about-text { display: contents; }
  .about-text h2 { grid-column: 2; grid-row: 1; margin: 0; }
  .portrait { grid-column: 1; grid-row: 1; max-width: none; border-radius: 14px; }
  .about-text p, .cert { grid-column: 1 / -1; }
  .principles { margin-top: 36px; }
  /* der Sonnenaufgang bekommt Platz zwischen Formular und Fuß; der Fuß wird schnell dunkel, damit sein Text nicht auf dem Licht liegt */
  .contact { padding-bottom: 230px; }
  .foot { background: linear-gradient(180deg, rgba(2, 4, 10, 0), rgba(2, 4, 10, .9) 84px, var(--night) 190px); }
  .panel { padding: 20px 18px; border-radius: 18px; }
  .foot-grid { gap: 22px 16px; }
  .foot-col a { min-height: 36px; }
  .foot-bot { margin-top: 22px; }
}

/* ── Wisch-Anzeige unter Kartenreihen (home.js legt sie an und blendet sie aus, wenn nichts zu wischen ist) ── */
.dots { display: flex; justify-content: center; align-items: center; gap: 6px; height: 22px; margin-top: 8px; }
.dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line-2); transition: width .35s var(--ease), background-color .35s; }
.dots i.on { width: 20px; background: var(--blue-hi); }
.tiers + .dots { margin-top: 4px; }

/* ── Handy: Schnellaktionen ───────────────────────────────────────── */
.abar { display: none; }
@media (max-width: 760px) {
  .abar { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(4, 7, 15, .9); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: translateY(140%); transition: transform .45s var(--ease); }
  .abar.is-on { transform: none; }
  .abar .btn { min-height: 46px; padding: 0 12px; font-size: 15px; }
  .foot { padding-bottom: 96px; }
}

/* ── Handy: Live-KI beginnt mit dem Beispielanruf ─────────────────────
   Reihenfolge im Abschnitt: Überschrift, Demo (Reiter „Nur zuhören“ vorn und gewählt, home.js), dann Erklärung und Tageslimit.
   Der Beispielanruf sieht aus wie ein angenommener Anruf: Kreis, Gesprächszeit, Untertitel, ein großer grüner Knopf. */
.smp-orb, .smp-timer { display: none; }
.smp-next { display: grid; gap: 12px; justify-items: center; }
.smp-next p { font-size: 15px; color: var(--ink-2); max-width: 30em; }
.smp-next-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
/* echter Lautstärke-Verlauf statt gleichmäßiger Bewegung (home.js setzt die Höhen) */
.dm-sample.has-env.is-live .smp-wave i { animation: none; transition: height .09s linear; }
.hero-proof li[aria-hidden] { display: none; }
@media (max-width: 760px) {
  .hero-proof.is-run li[aria-hidden] { display: block; }
  .demo-grid { gap: 22px; }
  .demo-head { display: contents; }
  .demo-head h2 { order: 1; }
  .demo-console { order: 2; }
  .demo-head .lead { order: 3; }
  .demo-quota { order: 4; margin-top: 0; }
  .demo-head .fine { order: 5; }
  #tab-sample { order: -1; }

  .dm-sample { border-radius: 30px; border-color: rgba(124, 200, 255, .32);
    background: radial-gradient(ellipse 130% 52% at 50% 36%, rgba(47, 139, 255, .3), rgba(47, 139, 255, .06) 58%, transparent 76%), linear-gradient(180deg, #0b1528, #04070f 80%);
    box-shadow: 0 50px 120px -50px #000, 0 0 130px -44px rgba(47, 139, 255, .95); transition: box-shadow .6s, border-color .6s; }
  .dm-sample .dm-bar { border-bottom: 0; padding: 22px 20px 0; justify-content: center; text-align: center; }
  .dm-sample .dm-bar .dm-avatar { display: none; }
  .dm-sample .dm-name { white-space: normal; font-size: 17px; }
  .dm-sample .dm-sub { font-size: 13.5px; }
  .smp-body { gap: 12px; padding: 16px 20px 24px; }
  .smp-orb { --amp: 0; display: grid; place-items: center; position: relative; width: 146px; height: 146px; margin: 22px 0 10px; border-radius: 50%; color: #fff;
    background: radial-gradient(circle at 64% 28%, #d4f0ff 0 6%, var(--blue) 36%, #0a2a60 82%); box-shadow: 0 0 0 1px rgba(170, 220, 255, .65), 0 0 80px -6px rgba(47, 139, 255, .98);
    transform: scale(calc(1 + var(--amp) * .08)); transition: transform .09s linear, background-color .4s, box-shadow .4s; }
  .smp-orb svg { position: relative; width: 44px; height: 44px; }
  .smp-orb i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(124, 200, 255, .6); opacity: 0; animation: orb-ring 2.7s var(--ease) infinite; }
  .smp-orb i:nth-child(2) { animation-delay: .9s; }
  .smp-orb i:nth-child(3) { animation-delay: 1.8s; }
  @keyframes orb-ring { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.9); opacity: 0; } }
  .calm .smp-orb i { animation: none; }   /* Bewegung angehalten: die Ringe ruhen, bis der Anruf läuft */
  html:not(.has-3d) .smp-orb i { animation: none; }   /* ohne 3D gibt es keinen Pausenknopf: die Ringe ruhen ebenfalls */
  /* während des Anrufs folgen die Ringe der Lautstärke; ohne Lautstärke-Verlauf laufen sie weiter gleichmäßig nach außen */
  .dm-sample.has-env.is-live .smp-orb i { animation: none; opacity: calc(.14 + var(--amp) * .62); transform: scale(calc(1.1 + var(--amp) * .42)); transition: transform .09s linear, opacity .09s linear; }
  .dm-sample.has-env.is-live .smp-orb i:nth-child(2) { opacity: calc(.08 + var(--amp) * .42); transform: scale(calc(1.22 + var(--amp) * .86)); }
  .dm-sample.has-env.is-live .smp-orb i:nth-child(3) { opacity: calc(.04 + var(--amp) * .26); transform: scale(calc(1.34 + var(--amp) * 1.3)); }
  /* spricht der Anrufer, wird das Bild golden (Gold = Menschen) */
  .dm-sample.is-live[data-speaker="user"] { border-color: rgba(242, 194, 123, .4); box-shadow: 0 50px 120px -50px #000, 0 0 130px -44px rgba(242, 194, 123, .8); }
  .dm-sample.is-live[data-speaker="user"] .smp-orb { background: radial-gradient(circle at 64% 28%, #fff6e2 0 6%, var(--gold) 36%, #5c3c12 82%); box-shadow: 0 0 0 1px rgba(255, 226, 176, .7), 0 0 80px -6px rgba(242, 194, 123, .95); }
  .dm-sample.is-live[data-speaker="user"] .smp-orb i { border-color: rgba(242, 194, 123, .65); }
  .smp-timer { display: block; font: 300 34px/1 var(--font-d); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink-3); transition: color .3s; }
  .dm-sample.is-live .smp-timer, .dm-sample.is-done .smp-timer { color: var(--ink); }
  .smp-wave { height: 40px; gap: 4px; }
  .smp-caption { font-size: clamp(20px, 5.5vw, 24px); line-height: 1.3; font-weight: 400; min-height: 5.3em; }
  #smpBtn { width: 100%; min-height: 60px; font-size: 17px; background: var(--ok); color: #03140d; box-shadow: 0 0 0 6px rgba(88, 214, 166, .15), 0 18px 46px -14px rgba(88, 214, 166, .95); }
  #smpBtn[aria-pressed="true"] { background: rgba(255, 255, 255, .06); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
  .smp-next { width: 100%; padding-top: 14px; border-top: 1px solid var(--line); }
  .smp-next-btns { display: grid; grid-template-columns: 1fr; width: 100%; }
  .smp-next .dm-btn { min-height: 54px; font-size: 16px; }
}

/* ── Handy: Sechs Bausteine mit dem Ring aus der 3D-Szene ─────────────
   Zwischen Überschrift und Karten steht ein Platz (.svc-visual). home-3d.js legt dort einen eigenen kleinen Zeichenbereich
   hinein (.svc-canvas) und die Namen der Bausteine (.svc-labels): Beides gehört zur Seite und scrollt mit ihr wie ein Bild.
   Wer wischt, dreht den passenden Baustein nach vorn; ein Tipp auf einen Namen im Ring holt die Karte.
   Die Höhe hängt nur an vw und svh: sie ändert sich nicht, wenn am Handy die Adressleiste ein- oder ausfährt. */
.svc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity .9s ease; }
.svc-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .9s ease .25s; }
.svc-visual.is-ready .svc-canvas, .svc-visual.is-ready .svc-labels { opacity: 1; }
/* Zeichenbereich verloren (Speicherdruck): Ring und Namen blenden aus, der Platz bleibt, damit nichts springt */
.svc-visual.is-lost .svc-canvas, .svc-visual.is-lost .svc-labels { opacity: 0; }
/* Handy-Layout verlassen (Gerät gedreht, Fenster verbreitert): der kleine Ring ruht, sonst stünde er neben dem der großen Szene */
.svc-visual.is-parked .svc-canvas, .svc-visual.is-parked .svc-labels { display: none; }
.svc-label { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; font: 500 13px/1 var(--font-b); color: var(--blue-hi);
  text-shadow: 0 0 2px #02040a, 0 0 6px #02040a, 0 1px 14px #02040a; }
.svc-label.is-on { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .has-3d .svc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .has-3d .svc-col { display: contents; }
  .has-3d .svc-col .sec-head { order: 1; margin-bottom: 0; padding-top: 0; }
  /* (tap-highlight: am iPhone läge sonst bei jedem Tipp auf einen Namen ein graues Rechteck über dem ganzen Ring) */
  .has-3d .svc-visual { order: 2; display: block; position: relative; top: auto; height: min(92vw, 46svh); margin: 0 calc(-1 * var(--gut)); -webkit-tap-highlight-color: transparent; }
  /* gelang der Zeichenbereich beim Start nicht, gibt es keinen Ring und keinen leeren Platz */
  .has-3d .svc-visual.is-off { display: none; }
  .has-3d .svc-list { order: 3; }
  .has-3d .svc-col > .dots { order: 4; }
  .has-3d .svc-tech { order: 5; }
  .svc-list .svc { transition: border-color .4s, box-shadow .5s, background-color .4s; }
  .has-3d .svc-list .svc.is-on { border-color: rgba(124, 200, 255, .5); background: rgba(10, 18, 34, .9); box-shadow: 0 0 70px -34px rgba(47, 139, 255, .95); }
}

/* ── Handy: Schrift, Auftritt der Überschriften, Rechner, Porträt ─────
   Auf dem kleinen Bildschirm tragen die Überschriften das Bild: größer und kräftiger als am Desktop.
   Gold steht für Menschen und Geld: Rechner und „Wer dahintersteht“ beginnen mit einer goldenen Horizontlinie. */
@media (max-width: 760px) {
  .sec h2 { font-weight: 500; font-size: clamp(34px, 9.7vw, 46px); line-height: 1.03; letter-spacing: -.046em; }
  .lead { font-size: 17px; line-height: 1.55; }
  .calc .limb::before, .about .limb::before { border-top-color: rgba(255, 220, 170, .7); box-shadow: 0 -1px 3px rgba(255, 236, 205, .5), 0 -6px 34px rgba(242, 194, 123, .34), 0 -18px 90px rgba(242, 194, 123, .14); }

  /* Überschrift und Einleitung jedes Abschnitts kommen von unten herein, sobald sie ins Fenster rücken (home.js setzt .is-in) */
  @media (prefers-reduced-motion: no-preference) {
    .rv .sec h2, .rv .sec-head > .lead, .rv .demo-head > .lead { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .95s var(--ease); }
    .rv .sec-head > .lead, .rv .demo-head > .lead { transition-delay: .12s; }
    .rv .sec h2.is-in, .rv .sec-head > .lead.is-in, .rv .demo-head > .lead.is-in { opacity: 1; transform: none; }
  }

  /* Rechner: das Ergebnis steht groß und golden oben, die Eingaben folgen darunter */
  .calc-box { display: flex; flex-direction: column; border-radius: 26px; border-color: rgba(242, 194, 123, .34); background: radial-gradient(ellipse 120% 34% at 50% 0, rgba(242, 194, 123, .14), transparent 70%), rgba(5, 9, 18, .9); }
  .calc-out { display: contents; }
  .calc-res { order: 1; grid-template-columns: 1fr 1fr; gap: 16px 14px; padding: 26px 20px 4px; }
  .calc-res > .is-money { order: -1; grid-column: 1 / -1; }
  .calc-res .is-money b { display: block; font-weight: 500; font-size: clamp(52px, 16.4vw, 78px); line-height: 1; letter-spacing: -.055em; margin: 4px 0 2px; filter: drop-shadow(0 8px 30px rgba(242, 194, 123, .45)); }
  .calc-res .is-money .calc-year b { display: inline; margin: 0 6px 0 0; font-weight: 300; font-size: 22px; letter-spacing: -.02em; filter: none; }
  .calc-res b { font-size: 34px; }
  .calc-res dd { font-size: 14.5px; }
  .calc-bar { order: 2; margin: 14px 20px 6px; }
  .calc-in { order: 3; border-bottom: 0; border-top: 1px solid var(--line); margin-top: 14px; padding: 22px 20px 6px; }
  .calc-out > .fine { order: 4; padding: 14px 20px 0; }
  .calc-out > .btn { order: 5; margin: 16px 20px 22px; align-self: flex-start; }

  /* Porträt groß, die Überschrift steht auf seinem unteren Rand */
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
  .portrait { grid-column: 1; grid-row: 1; position: relative; max-width: none; border-radius: 26px; border-color: rgba(242, 194, 123, .3); }
  .portrait img { aspect-ratio: 1 / 1.12; object-position: 50% 14%; }
  .portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 4, 10, 0) 46%, rgba(2, 4, 10, .5) 70%, rgba(2, 4, 10, .94) 100%); pointer-events: none; }
  .about-text h2 { grid-column: 1; grid-row: 1; align-self: end; position: relative; z-index: 1; margin: 0; padding: 0 20px 20px; }
}
/* Karten zum Wischen kippen leicht, während sie durchs Fenster ziehen (nur wo der Browser Scroll-Animationen in CSS kann) */
@supports (animation-timeline: view()) {
  @media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
    .swipe, .tiers { perspective: 900px; }
    .swipe > *, .tiers > * { animation: card-pass linear both; animation-timeline: view(inline); animation-range: entry 0% exit 100%; }
    @keyframes card-pass { 0% { transform: translateZ(-40px) rotateY(-16deg); opacity: .45; } 34%, 66% { transform: none; opacity: 1; } 100% { transform: translateZ(-40px) rotateY(16deg); opacity: .45; } }
  }
}

/* ── Nachtuhr ─────────────────────────────────────────────────────── */
.rail { display: none; }
@media (min-width: 1240px) and (min-height: 620px) {
  .rail { position: fixed; right: 18px; top: 50%; z-index: 30; display: grid; justify-items: center; gap: 10px; transform: translateY(-50%); pointer-events: none; opacity: 0; transition: opacity .6s; }
  .rail.is-on { opacity: 1; }
  .rail-time { font: 500 12.5px/1 var(--font-b); color: var(--ink-2); font-variant-numeric: tabular-nums; writing-mode: vertical-rl; letter-spacing: .04em; }
  .rail-line { width: 1.5px; height: 150px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
  .rail-fill { display: block; width: 100%; height: 100%; background: linear-gradient(180deg, var(--blue-hi) 0 62%, var(--gold) 86%, var(--dawn)); transform-origin: 50% 0; transform: scaleY(var(--rp, 0)); }
}
/* Handy: dieselbe Nachtuhr als feine Linie am oberen Fensterrand, die Uhrzeit steht in der Kopfzeile neben dem Pausenknopf */
@media (max-width: 760px) {
  .rail { display: block; position: fixed; inset: 0 0 auto 0; z-index: 52; pointer-events: none; }
  .rail-line { position: absolute; inset: 0 0 auto 0; height: 2px; overflow: hidden; }
  .rail-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-hi) 0 62%, var(--gold) 86%, var(--dawn)); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); }
  .rail-time { position: absolute; top: calc((var(--nav-h) - 28px) / 2); right: calc(var(--gut) + 102px); height: 28px; display: inline-flex; align-items: center; gap: 7px;
    font: 500 13px/1 var(--font-b); letter-spacing: .02em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  /* Mondsichel vor der Uhrzeit */
  .rail-time::before { content: ''; width: 11px; height: 11px; border-radius: 50%; box-shadow: inset -3.5px -1.5px 0 0 var(--gold-hi); transform: rotate(-24deg); }
  .menu-open .rail { visibility: hidden; }
}

/* ── Ruhe, wenn gewünscht ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .dm-row, .dm-turn { opacity: 1; transform: none; }
  .dm-bubble .dm-caret, .hs-line::after { display: none; }
}
@media (forced-colors: active) {
  .hero h1, .hero h1 .h1-g { color: CanvasText; background: none; }
  .hero h1 .h1-b { filter: none; }
  .svc-label.is-on { text-decoration: underline; }   /* ohne eigene Farben bliebe der gewählte Baustein sonst kaum erkennbar */
  .btn, .dm-btn, .demo-tab[aria-selected="true"] { border: 1px solid ButtonText; }
}
