/* ============================================================
   PC-DEVOLTER · Design-System  (Fassung "neu", November 2026)
   Zwei Farbschemata ueber <html data-theme="dark|light">.
   Die Icon-Masken liegen in icons.css.
   ============================================================ */

/* ---------- Schriften: liegen auf dem eigenen Server (assets/fonts, Lizenzen dort) ---------- */
@font-face { font-family: 'Manrope'; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url("../assets/fonts/clash-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url("../assets/fonts/clash-display-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens: dunkel (Nacht) ---------- */
:root {
  color-scheme: dark;

  /* Flaechen und Schrift */
  --bg: #05070D;
  --bg-2: #0A0E1A;
  --surface: #0B111D;
  --surface-2: #0F1726;
  --line: rgb(148 163 184 / .16);
  --line-2: rgb(148 163 184 / .30);
  --text: #F8FAFC;
  --muted: #9AA8BA;

  /* Marke */
  --cyan: #22D3EE;
  --blue: #3B82F6;
  --accent: #22D3EE;
  --accent-rgb: 34 211 238;
  --blue-rgb: 59 130 246;
  --ok: #34D399;
  --ok-rgb: 52 211 153;
  --danger: #FB7185;
  --icon-grad: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
  --icon-grad-ok: linear-gradient(135deg, #34D399 0%, #22D3EE 100%);
  --icon-glow: .5;

  /* Schaltflaechen */
  --btn-bg: linear-gradient(135deg, #22D3EE 0%, #3B82F6 100%);
  --btn-ink: #04121B;
  --btn-glow: 34 211 238;
  --btn-ok-bg: linear-gradient(135deg, #34D399 0%, #22D3EE 100%);
  --btn-ok-ink: #04201A;
  --btn-ok-glow: 52 211 153;
  --ghost-bg: rgb(255 255 255 / .05);
  --field-bg: rgb(255 255 255 / .03);
  --pill-bg: rgb(255 255 255 / .03);

  /* Rahmenwerk */
  --nav-bg: rgb(5 7 13 / .72);
  --nav-fest: rgb(5 7 13 / .93);      /* Kopfleiste am Handy: feste Flaeche statt Milchglas */
  --menu-bg: rgb(5 7 13 / .96);
  --shadow-card: 0 24px 60px rgb(0 0 0 / .40);
  --shadow-tile: 0 30px 120px rgb(0 0 0 / .42), 0 0 0 1px rgb(255 255 255 / .08);
  --grid-line: rgb(148 163 184 / .04);
  --vignette: radial-gradient(135% 115% at 50% 32%, transparent 48%, rgb(2 4 9 / .62) 100%);
  --wash: .10;
  --atmo: .20;
  --spot: .14;

  /* Logo (Wortmarke) wie in DEVOLTER Backup: weiss mit blauem Rand, das V mit rotem Rand */
  --wm-fill: #FFFFFF;
  --wm-fill-v: #FFFFFF;
  --wm-rand: #2B8CFF;
  --wm-rand-v: #FF2E2E;
  --wm-sb: 7.2px;
  --wm-sv: 9.65px;
  --wm-glow: drop-shadow(0 0 5px rgb(43 140 255 / .55));

  /* Gleitende Markierung (Menue, Sprungleiste) und gezeichnete Bildschirme (Support) */
  --pill: rgb(255 255 255 / .10);
  --schirm: linear-gradient(160deg, #0C1626, #070B14);
  --schirm-leiste: rgb(255 255 255 / .04);

  /* Scroll-Geschichte (Startbild, Kacheln, Willkommen) */
  --story-bg: #03060B;
  --story-tint: .08;
  --tile-bg: linear-gradient(135deg, #08121D, #04070D);
  --tile-ink: #F8FAFC;
  --tile-muted: #A9B7C9;
  --tile-fade:
    linear-gradient(180deg, transparent 30%, rgb(2 5 9 / .92) 100%),
    radial-gradient(circle at 80% 12%, rgb(34 211 238 / .16), transparent 42%);
  --hero-shade:
    linear-gradient(180deg, rgb(3 6 11 / .55) 0%, rgb(3 6 11 / 0) 17%),
    linear-gradient(90deg, rgb(3 6 11 / .78) 0%, rgb(3 6 11 / .5) 26%, rgb(3 6 11 / .14) 46%, rgb(3 6 11 / 0) 62%),
    radial-gradient(90% 90% at 80% 45%, transparent 55%, rgb(1 3 7 / .35) 100%);
  --hero-shade-m:
    linear-gradient(0deg, rgb(3 6 11 / .95) 0%, rgb(3 6 11 / .80) 30%, rgb(3 6 11 / .20) 58%, rgb(3 6 11 / 0) 74%),
    linear-gradient(180deg, rgb(3 6 11 / .55) 0%, rgb(3 6 11 / 0) 18%);
  --ambient-veil:
    radial-gradient(130% 120% at 50% 44%, transparent 40%, rgb(1 3 7 / .72) 100%),
    linear-gradient(90deg, rgb(3 6 11 / .9) 0%, rgb(3 6 11 / .7) 24%, rgb(3 6 11 / .34) 52%, rgb(3 6 11 / .12) 100%);
  --glow-blend: screen;
  --glow-1: rgb(34 211 238 / .18);
  --glow-2: rgb(59 130 246 / .12);
  --veil-blend: screen;
  --veil:
    radial-gradient(120% 70% at 60% 45%, rgb(255 255 255 / .16), transparent 62%),
    linear-gradient(100deg, transparent 0%, rgb(34 211 238 / .06) 22%, rgb(255 255 255 / .14) 50%, rgb(34 211 238 / .08) 76%, transparent 100%);
  --shine: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .22) 48%, transparent 64%);
  --particle: 120 225 255;
  --dot: 225 242 255;
  --hint: rgb(223 240 255 / .72);
  --title-glow: 0 0 38px rgb(34 211 238 / .18);
  --cursor-blend: screen;
  --cursor-glow: radial-gradient(circle, rgb(34 211 238 / .10) 0%, rgb(59 130 246 / .05) 40%, transparent 70%);

  /* Bilder je Farbschema */
  --img-hero: url("../assets/img/hero-dark.webp");

  /* Schriften: Display, Fliesstext, Labels */
  --font-display: 'Clash Display', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  /* Layout */
  --container: 1240px;
  --pad: clamp(1.2rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --feder: cubic-bezier(0.22, 1, 0.36, 1);   /* wird unten durch eine echte Feder-Kurve ersetzt, wo der Browser linear() kennt */

  /* Ebenen */
  --z-atmo: -4;
  --z-grid: -2;
  --z-vignette: -1;
  --z-cursor: -1;   /* Zeiger-Licht liegt HINTER den Inhalten: es faerbt den Grund, nie den Text */
  --z-sub: 60;
  --z-fab: 80;
  --z-menu: 90;
  --z-nav: 100;
  --z-progress: 110;
  --z-skip: 200;
  --z-intro: 300;
}

/* ---------- Tokens: hell (Tag) ---------- */
:root[data-theme="light"] {
  color-scheme: light;

  --bg: #F3F6FA;
  --bg-2: #E8EEF5;
  --surface: #FFFFFF;
  --surface-2: #F7FAFD;
  --line: rgb(15 23 42 / .10);
  --line-2: rgb(15 23 42 / .22);
  --text: #0B1220;
  --muted: #45546A;

  --accent: #0369A1;
  --accent-rgb: 3 105 161;
  --blue-rgb: 37 99 235;
  --ok: #047857;
  --ok-rgb: 4 120 87;
  --danger: #BE123C;
  --icon-grad: linear-gradient(135deg, #0891B2 0%, #1D4ED8 100%);
  --icon-grad-ok: linear-gradient(135deg, #059669 0%, #0E7490 100%);
  --icon-glow: 0;

  --btn-bg: linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%);
  --btn-ink: #FFFFFF;
  --btn-glow: 29 78 216;
  --btn-ok-bg: linear-gradient(135deg, #047857 0%, #0E7490 100%);
  --btn-ok-ink: #FFFFFF;
  --btn-ok-glow: 4 120 87;
  --ghost-bg: rgb(255 255 255 / .72);
  --field-bg: #FFFFFF;
  --pill-bg: rgb(255 255 255 / .70);

  --nav-bg: rgb(255 255 255 / .82);
  --nav-fest: rgb(255 255 255 / .95);
  --menu-bg: rgb(243 246 250 / .97);
  --shadow-card: 0 18px 44px rgb(15 23 42 / .12);
  --shadow-tile: 0 30px 90px rgb(15 23 42 / .18), 0 0 0 1px rgb(15 23 42 / .06);
  --grid-line: rgb(15 23 42 / .045);
  --vignette: none;
  --wash: .07;
  --atmo: .14;
  --spot: .10;

  /* Logo auf hellem Grund: dunkelblau gefuellt, das V rot, ohne Rand */
  --wm-fill: #0F2E63;
  --wm-fill-v: #E11D2E;
  --wm-rand: transparent;
  --wm-rand-v: transparent;
  --wm-sb: 0px;
  --wm-sv: 0px;
  --wm-glow: none;

  --pill: rgb(15 23 42 / .08);
  --schirm: linear-gradient(160deg, #FFFFFF, #E9EFF6);
  --schirm-leiste: rgb(15 23 42 / .04);

  --story-bg: #EDF2F8;
  --story-tint: .10;
  --tile-bg: linear-gradient(135deg, #FFFFFF, #E9EFF6);
  --tile-ink: #0B1220;
  --tile-muted: #3C4B60;
  --tile-fade: linear-gradient(180deg, transparent 34%, rgb(244 247 251 / .95) 100%);
  --hero-shade:
    linear-gradient(180deg, rgb(244 247 251 / .62) 0%, rgb(244 247 251 / 0) 17%),
    linear-gradient(90deg, rgb(244 247 251 / .70) 0%, rgb(244 247 251 / .42) 26%, rgb(244 247 251 / .10) 44%, rgb(244 247 251 / 0) 58%);
  --hero-shade-m:
    linear-gradient(0deg, rgb(244 247 251 / .97) 0%, rgb(244 247 251 / .84) 30%, rgb(244 247 251 / .20) 58%, rgb(244 247 251 / 0) 74%),
    linear-gradient(180deg, rgb(244 247 251 / .60) 0%, rgb(244 247 251 / 0) 18%);
  --ambient-veil: radial-gradient(130% 120% at 50% 44%, transparent 46%, rgb(203 213 225 / .45) 100%);
  --glow-blend: normal;
  --glow-1: rgb(34 211 238 / .22);
  --glow-2: rgb(59 130 246 / .14);
  --veil-blend: normal;
  --veil: linear-gradient(100deg, transparent 0%, rgb(255 255 255 / 0) 18%, rgb(255 255 255 / .78) 50%, rgb(255 255 255 / 0) 82%, transparent 100%);
  --shine: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .70) 48%, transparent 64%);
  --particle: 14 116 144;
  --dot: 15 23 42;
  --hint: rgb(15 23 42 / .62);
  --title-glow: none;
  --cursor-blend: normal;
  --cursor-glow: radial-gradient(circle, rgb(14 165 233 / .10) 0%, rgb(37 99 235 / .04) 40%, transparent 70%);

  --img-hero: url("../assets/img/hero-light.webp");
}

/* Feder-Kurve fuer die gleitenden Markierungen: laeuft leicht ueber das Ziel hinaus und setzt sich */
@supports (transition-timing-function: linear(0, 1)) {
  :root { --feder: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001); }
}

/* Handy im Hochformat: eigenes Startbild (Objekte oben, Textflaeche unten) */
@media (max-width: 900px) and (orientation: portrait) {
  :root { --img-hero: url("../assets/img/hero-dark-hoch.webp"); }
  :root[data-theme="light"] { --img-hero: url("../assets/img/hero-light-hoch.webp"); }
}

/* ---------- Reset / Basis ---------- */
:root { --nav-h: 68px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
/* Laeuft Lenis, uebernimmt es das weiche Scrollen allein. Sonst ueberlagern sich zwei Bewegungen
   (z. B. wenn der Browser beim Tab-Sprung selbst weich scrollt und das Skript nachfuehrt). */
html.lenis { scroll-behavior: auto !important; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
h1, h2, h3, h4 { font-family: 'Clash Display', 'Manrope', system-ui, sans-serif; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgb(var(--accent-rgb) / .28); }
[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Atmosphaere: drei feste Lichtschichten, die je Abschnitt ueberblenden ---------- */
.atmo { position: fixed; inset: 0; z-index: var(--z-atmo); pointer-events: none; background: var(--bg); }
.atmo__l { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.atmo__l--a {
  opacity: 1;
  background:
    radial-gradient(75% 60% at 50% -8%, rgb(34 211 238 / var(--atmo)), transparent 68%),
    radial-gradient(55% 55% at 84% 8%, rgb(59 130 246 / calc(var(--atmo) * .75)), transparent 72%),
    radial-gradient(65% 65% at 8% 95%, rgb(34 211 238 / var(--atmo)), transparent 75%);
}
.atmo__l--b {
  background:
    radial-gradient(75% 60% at 60% -6%, rgb(16 185 129 / var(--atmo)), transparent 68%),
    radial-gradient(60% 60% at 10% 92%, rgb(34 211 238 / calc(var(--atmo) * .8)), transparent 74%);
}
.atmo__l--c {
  background:
    radial-gradient(80% 62% at 50% -8%, rgb(56 189 248 / var(--atmo)), transparent 68%),
    radial-gradient(55% 55% at 88% 90%, rgb(59 130 246 / calc(var(--atmo) * .8)), transparent 72%);
}
html[data-zone="volt"] .atmo__l--a, html[data-zone="trust"] .atmo__l--a { opacity: .3; }
html[data-zone="volt"] .atmo__l--b { opacity: 1; }
html[data-zone="trust"] .atmo__l--c { opacity: 1; }

body::after {
  content: ""; position: fixed; inset: 0; z-index: var(--z-vignette); pointer-events: none;
  background: var(--vignette);
}

.grain {
  position: fixed; inset: 0; z-index: var(--z-grid); pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
          mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}

.skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: var(--z-skip);
  background: var(--btn-bg); color: var(--btn-ink); padding: .6rem 1rem; border-radius: 10px;
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Lesefortschritt (feine Linie ganz oben, laeuft mit dem Scrollen) */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--z-progress); pointer-events: none;
  background: linear-gradient(90deg, #22D3EE, #3B82F6);
  transform-origin: 0 50%; transform: scaleX(0);
}
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow-x linear both; animation-timeline: scroll(root block); }
}

/* ---------- Typografie-Bausteine ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / .8); animation: pulse 2.4s infinite;
}
.eyebrow .dot--ok { background: var(--ok); box-shadow: 0 0 12px rgb(var(--ok-rgb) / .8); }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* "Unser Service: <Begriff>" – der Begriff wechselt wie auf der Live-Seite */
.kicker { flex-wrap: wrap; row-gap: .2rem; }
.kicker .rot { color: var(--accent); font-weight: 500; }
.kicker .rot::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 3px; vertical-align: -.14em; background: currentColor; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }

.section-title {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  font-size: clamp(2rem, 5vw, 3.6rem);
}
.section-title .muted { color: var(--muted); }
.ink-ok { color: var(--ok); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.65; color: var(--text); margin-top: 1.2rem; max-width: 60ch; }
.copy { color: var(--muted); margin-top: 1rem; max-width: 62ch; line-height: 1.75; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--accent); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg, a:hover > .link-arrow svg { transform: translateX(4px); }

.dots li { position: relative; padding-left: 1.1rem; color: var(--muted); font-size: .93rem; margin: .32rem 0; }
.dots li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.dots li b { color: var(--text); font-weight: 600; }

/* ---------- Schaltflaechen ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: .55rem; max-width: 100%;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: .85rem 1.4rem; border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), scale .16s ease-out;
}
.btn svg { transition: transform .35s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn:active { scale: .97; }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Lichtstreif: zieht beim Daraufzeigen einmal ueber die Schaltflaeche */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgb(255 255 255 / var(--streif, .38)) 50%, transparent 68%);
  translate: -110% 0;
}
.btn:hover::after { translate: 110% 0; transition: translate .75s var(--ease); }

.btn--primary, .btn--ok {
  /* --tx / --ty setzt effects.js (Schaltflaeche folgt dem Zeiger ein Stueck) */
  transform: translate3d(var(--tx, 0px), var(--ty, 0px), 0);
}
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); --glow: var(--btn-glow); box-shadow: 0 8px 28px rgb(var(--glow) / .26); }
.btn--ok { background: var(--btn-ok-bg); color: var(--btn-ok-ink); --glow: var(--btn-ok-glow); box-shadow: 0 8px 28px rgb(var(--glow) / .26); }
.btn--primary:hover, .btn--ok:hover {
  transform: translate3d(var(--tx, 0px), calc(var(--ty, 0px) - 2px), 0);
  box-shadow: 0 12px 40px rgb(var(--glow) / .45);
}
.btn--primary.is-magnet, .btn--ok.is-magnet { transition: transform .18s ease-out, box-shadow .35s var(--ease), scale .16s ease-out; }
.btn--ghost { --streif: .16; background: var(--ghost-bg); color: var(--text); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 0 40px rgb(var(--accent-rgb) / .28); }
:root[data-theme="light"] .btn--ghost { --streif: .95; }
/* Grosse Schaltflaeche mit zweiter Zeile (Support: Download, Telefon) */
.btn--gross { padding: 1rem 1.7rem 1rem 1.3rem; gap: .95rem; font-size: 1.14rem; border-radius: 20px; text-align: left; }
.btn--gross > span { display: grid; line-height: 1.22; }
.btn--gross small { font-weight: 500; font-size: .76rem; letter-spacing: 0; opacity: .84; }
.btn--gross svg { width: 28px; height: 28px; }
.btn--gross:hover svg { transform: translateY(2px); }

/* ============================================================
   KOPFLEISTE – Glas wie in der ersten Fassung: oben durchsichtig, beim Scrollen
   milchig. Das Logo ist eine Vektorgrafik und passt sich dem Farbschema an,
   das Menue hat eine gleitende Markierung (main.js setzt --x / --w).
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); height: var(--nav-h); color: var(--text);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
}
.nav.is-scrolled, .menu-open .nav {
  background: var(--nav-bg); border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.nav__inner {
  max-width: 1480px; height: 100%; margin-inline: auto; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.brand { justify-self: start; display: inline-flex; align-items: center; min-width: 0; border-radius: 6px; }
.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 8px; }
.wm { display: block; height: 26px; width: auto; max-width: 100%; overflow: visible; filter: var(--wm-glow); }
.wm path { paint-order: stroke fill; stroke-linejoin: miter; }
.wm__b { fill: var(--wm-fill); stroke: var(--wm-rand); stroke-width: var(--wm-sb); }
.wm__v { fill: var(--wm-fill-v); stroke: var(--wm-rand-v); stroke-width: var(--wm-sv); }

.nav__links { position: relative; display: flex; align-items: center; gap: .15rem; isolation: isolate; }
.nav__links a {
  position: relative; z-index: 1; padding: .5rem .95rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; letter-spacing: .005em; color: var(--muted);
  transition: color .25s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a:focus-visible, .nav__call:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* Die Markierung gleitet zum Menuepunkt unter dem Zeiger und ruht sonst auf der aktuellen Seite.
   Sie ist eine Flaeche ueber die ganze Leiste, von der nur ein Ausschnitt gezeigt wird (clip-path):
   so bewegt sich nur der Ausschnitt, und der Browser muss kein Layout neu berechnen. */
.nav__pill, .subnav__pill {
  position: absolute; z-index: 0; left: 0; right: 0; top: 50%; height: 2.35rem; translate: 0 -50%; opacity: 0; pointer-events: none;
  background: radial-gradient(110px circle at var(--px, -200px) 50%, rgb(var(--accent-rgb) / .24), transparent 75%), var(--pill);
  clip-path: inset(0 calc(100% - var(--x, 0px) - var(--w, 0px)) 0 var(--x, 0px) round 999px);
  transition: clip-path .55s var(--feder), opacity .3s var(--ease);
}
.has-pill > .nav__pill, .has-pill > .subnav__pill { opacity: 1; }
.no-anim > .nav__pill, .no-anim > .subnav__pill { transition: none; }
.no-js .nav__links a[aria-current="page"] { background: var(--pill); }

.nav__actions { justify-self: end; display: flex; align-items: center; gap: .6rem; }
.nav__call {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  font-family: var(--font-mono); font-size: .82rem; color: var(--text);
  padding: .58rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: var(--ghost-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav__call:hover { border-color: var(--accent); box-shadow: 0 0 24px rgb(var(--accent-rgb) / .22); }

/* Umschalter Tag / Nacht */
.theme-toggle {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line-2); background: var(--ghost-bg); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), scale .16s ease-out;
}
.theme-toggle:hover { border-color: var(--accent); box-shadow: 0 0 24px rgb(var(--accent-rgb) / .25); }
.theme-toggle:active, .burger:active { scale: .94; }
.theme-toggle:focus-visible, .burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.theme-toggle svg { overflow: visible; }
.tt-core, .tt-cut, .tt-rays {
  transform-box: fill-box; transform-origin: center;
  transition: transform .7s var(--ease), opacity .45s var(--ease);
}
.tt-core { transform: scale(1.55); }                 /* Nacht: Mondsichel */
.tt-cut { transform: translate(5px, -4px); }
.tt-rays { opacity: 0; transform: rotate(-60deg) scale(.5); }
:root[data-theme="light"] .tt-core { transform: scale(1); }      /* Tag: Sonne */
:root[data-theme="light"] .tt-cut { transform: translate(16px, -16px); }
:root[data-theme="light"] .tt-rays { opacity: 1; transform: none; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ghost-bg); flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex-shrink: 0; transition: scale .16s ease-out; }
.burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--menu-bg); color: var(--text);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
  padding: calc(var(--nav-h) + 1rem) var(--pad) var(--pad);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__links { display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu__links a {
  display: flex; align-items: center; gap: .8rem; padding: .3rem 0; color: var(--muted);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 9vw, 2.6rem); letter-spacing: -.01em;
}
.mobile-menu__links a[aria-current="page"] { color: var(--text); }
.mobile-menu__links a[aria-current="page"]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; background: var(--accent); box-shadow: 0 0 14px rgb(var(--accent-rgb) / .7); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; align-items: flex-start; }
.link-mono { font-family: var(--font-mono); color: var(--muted); font-size: .9rem; }

/* ============================================================
   SCROLL-GESCHICHTE: Startbild -> Service-Kacheln -> Willkommen
   Grundzustand (ohne Skript oder bei "Bewegung reduzieren"): die drei
   Teile stehen einfach untereinander. Mit .story-on (setzt das Skript im
   <head>) wird daraus die festgehaltene Buehne, die showcase.js bewegt.
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: var(--z-intro); background: var(--story-bg); pointer-events: none;
  opacity: 1; transition: opacity 1.1s var(--ease);
  animation: intro-off .01s linear 3.2s forwards;   /* Sicherheitsnetz, falls das Skript nicht laeuft */
}
body.ready .intro { opacity: 0; }
@keyframes intro-off { to { opacity: 0; visibility: hidden; } }
.no-js .intro { display: none; }

.story { position: relative; background: var(--story-bg); }
.story__pin {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(circle at 70% 30%, rgb(34 211 238 / var(--story-tint)), transparent 48%), var(--story-bg);
}
.ambient, .transition-veil, .scroll-hint, .chapter-dots { display: none; }

.hero-frame { position: relative; display: block; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: var(--tile-bg); }
.hero-frame__img { position: absolute; inset: 0; }
.hero-frame__stage { position: absolute; inset: 0; }
.hero-frame__pic {
  position: absolute; inset: 0; background: var(--img-hero) center / cover no-repeat;
  transform: scale(1.045); /* gleicher Rand wie im 3D-Shader, damit beim Einblenden nichts springt */
}
.hero-frame__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s var(--ease); }
.hero-frame__gl.is-on { opacity: 1; }
.hero-frame__shade { position: absolute; inset: 0; pointer-events: none; background: var(--hero-shade); }

.hero-copy {
  /* --frei = wie breit der Text hoechstens sein darf, damit er auf der ruhigen Wandflaeche links
     im Startbild bleibt und nie ueber Pflanze, Serverschrank oder Geraete laeuft.
     Das Bild ist 16:9, fuellt den Schirm (mit 15 % Ueberstand fuer die Bewegung) und ist bis 43 %
     seiner Breite ruhig. Bei schmaleren Fenstern (16:10, 4:3) wird links und rechts abgeschnitten:
     ruhige Breite = 50vw - 14.3vh; bei breiteren Fenstern: 41.9vw. Davon geht der linke Rand (6vw) ab. */
  --frei: min(calc(44vw - 14.3vh - 16px), calc(35.9vw - 16px));
  position: absolute; z-index: 10; left: clamp(1.2rem, 6vw, 6rem); top: calc(50vh + var(--nav-h) / 2); top: calc(50svh + var(--nav-h) / 2);
  transform: translate3d(0, -50%, 0); width: min(660px, calc(100vw - 2.4rem));
}
.hero-copy .eyebrow { margin-bottom: 1.05rem; }
.story-title {
  font-family: var(--font-display); max-width: 13ch; font-weight: 700; line-height: .98; letter-spacing: -.03em;
  /* an die freie Breite UND die Hoehe gekoppelt (die laengste Zeile ist rund 7,4 Schriftgroessen breit) */
  font-size: clamp(1.9rem, min(9vh, calc(var(--frei) / 7.4)), 5.6rem);
}
.story-title em { font-style: normal; color: var(--accent); text-shadow: var(--title-glow); }
.story-title .tl { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.story-title .tw { display: inline-block; }
.story-sub { margin-top: 1.3rem; max-width: min(44ch, var(--frei)); color: var(--muted); font-size: clamp(1rem, 1.45vw, 1.16rem); line-height: 1.6; }
.story-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-copy .story-cta, .hero-copy .eyebrow { max-width: var(--frei); }

/* Auftritt beim Laden – nur mit Skript; ohne Skript ist alles sofort sichtbar */
.js .hero-copy [data-in] {
  opacity: 0; translate: 0 24px;
  transition: opacity .9s var(--ease), translate .9s var(--ease);
  animation: in-safe .01s linear 3.4s forwards;
}
.js .story-title[data-in] { translate: none; }
.js .story-title .tw { translate: 0 108%; transition: translate 1.05s var(--ease); animation: in-safe .01s linear 3.4s forwards; }
body.ready .hero-copy [data-in] { opacity: 1; translate: none; }
body.ready .story-title .tw { translate: none; }
body.ready .hero-copy [data-in="2"] { transition-delay: .08s; }
body.ready .hero-copy [data-in="3"] { transition-delay: .42s; }
body.ready .hero-copy [data-in="4"] { transition-delay: .54s; }
body.ready .story-title .tl:nth-of-type(1) .tw { transition-delay: .10s; }
body.ready .story-title em .tl:nth-of-type(1) .tw { transition-delay: .22s; }
body.ready .story-title em .tl:nth-of-type(2) .tw { transition-delay: .31s; }
body.ready .story-title em .tl:nth-of-type(3) .tw { transition-delay: .40s; }
@keyframes in-safe { to { opacity: 1; translate: none; } }

.js .hero-frame__stage { animation: focus-pull 1.7s var(--ease) .1s backwards; }
@keyframes focus-pull { from { opacity: 0; scale: 1.07; } to { opacity: 1; scale: 1; } }
@media (min-width: 901px) and (pointer: fine) {
  @keyframes focus-pull { from { opacity: 0; scale: 1.07; filter: blur(14px); } to { opacity: 1; scale: 1; filter: blur(0); } }
}

/* ---- Service-Kacheln: Bild oben, Text auf eigener Flaeche darunter (immer lesbar) ---- */
.wall {
  --cols: 4; --tw: 22.2; --th: 33; --gx: 1.4; --gy: 2.2; --cy: 58.5; --ty: 16.5;
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  max-width: var(--container); margin-inline: auto; padding: clamp(3rem, 7vw, 5rem) var(--pad);
}
.wall__title {
  grid-column: 1 / -1; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}
.tile {
  display: flex; flex-direction: column; min-height: 250px; border-radius: 20px; overflow: hidden;
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-tile);
}
.tile__img { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; transition: scale .6s var(--ease); }
.tile:hover .pic, .tile:focus-visible .pic { scale: 1.06; }
.tile__text { position: relative; flex: 0 0 auto; display: grid; gap: .2rem; padding: .85rem 1rem 1rem; background: var(--surface); }
.tile__text b { font-family: var(--font-display); font-weight: 600; font-size: clamp(.95rem, 1.2vw, 1.15rem); line-height: 1.15; }
.tile__text small { color: var(--muted); font-size: .78rem; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.tile:hover { box-shadow: var(--shadow-tile), 0 0 0 2px rgb(var(--accent-rgb) / .7); }
.tile--cta { justify-content: space-between; background: var(--btn-bg); color: var(--btn-ink); padding: 1.1rem 1.1rem 1.2rem; }
.tile--cta .tile__text { background: none; padding: 0; }
.tile--cta .tile__text b { font-size: clamp(1.15rem, 1.7vw, 1.6rem); }
.tile--cta .tile__text small { color: inherit; opacity: .85; font-size: .85rem; }
.tile--cta svg { width: 34px; height: 34px; align-self: flex-end; transition: transform .35s var(--ease); }
.tile--cta:hover svg { transform: translateX(6px); }

/* ---- Dritter Halt "Willkommen": Text auf eigener Flaeche links, Foto rechts (nie Text ueber dem Bild) ---- */
.focus-panel {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  width: min(92vw, 1340px); min-height: min(64vh, 560px); margin: 0 auto clamp(3rem, 7vw, 5rem);
  border-radius: 30px; overflow: hidden; background: var(--surface); color: var(--text); box-shadow: var(--shadow-tile);
}
.focus-panel__content { align-self: center; min-width: 0; padding: clamp(1.6rem, 4.4vw, 4.2rem); }
.focus-panel h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.5vw, 3.4rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1.1rem; }
.focus-panel__content p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.7; max-width: 50ch; }
.focus-panel__content .story-cta { margin-top: 1.7rem; }
.focus-panel__img { position: relative; margin: 0; min-height: 240px; overflow: hidden; }
.focus-panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.focus-panel__shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: var(--shine); transform: translateX(-30%); mix-blend-mode: var(--veil-blend); }

/* ---- Festgehaltene Buehne (showcase.js bewegt die Teile) ---- */
.story-on .story { height: 420vh; }
.story-on .story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.story-on .ambient { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.story-on .ambient::after { content: ""; position: absolute; inset: 0; background: var(--ambient-veil); }
.ambient__glow { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .42; mix-blend-mode: var(--glow-blend); will-change: transform; }
.ambient__glow--one { width: 46vw; height: 46vw; right: -16vw; top: -10vw; background: var(--glow-1); }
.ambient__glow--two { width: 38vw; height: 38vw; left: 10vw; bottom: -20vw; background: var(--glow-2); }
.particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.story-on .transition-veil {
  display: block; position: absolute; z-index: 6; left: -24vw; top: -8vh; width: 62vw; height: 116vh; pointer-events: none; opacity: 0;
  transform: translate3d(-70vw, 0, 0) rotate(-8deg) scale(1.05); will-change: transform, opacity;
  mix-blend-mode: var(--veil-blend); background: var(--veil);
}
.story-on .hero-frame {
  /* nur wenig groesser als der Bildschirm: so bleibt der PC rechts ganz im Bild */
  position: absolute; z-index: 1; left: 50%; top: 50%; width: 104vw; height: 104vh;
  transform: translate3d(-50%, -50%, 0) scale(1); border-radius: 0; will-change: transform, opacity; box-shadow: var(--shadow-tile);
}
.story-on .hero-frame__img { inset: -3%; will-change: transform; }
.story-on .hero-copy { top: calc(50% + var(--nav-h) / 2); will-change: transform, opacity; }
.story-on .wall { position: absolute; inset: 0; z-index: 8; display: block; max-width: none; margin: 0; padding: 0; pointer-events: none; }
.story-on .wall__title { position: absolute; left: 50%; top: calc(var(--ty) * 1%); transform: translate3d(-50%, -50%, 0); opacity: 0; white-space: nowrap; will-change: transform, opacity; }
.story-on .tile {
  position: absolute; left: 50%; top: calc(var(--cy) * 1%); width: calc(var(--tw) * 1vw); height: calc(var(--th) * 1vh); min-height: 0;
  transform: translate3d(-50%, -50%, 0) scale(.6); opacity: 0; will-change: transform, opacity; pointer-events: auto;
}
.story-on .focus-panel {
  position: absolute; z-index: 7; left: 50%; top: calc(50% + var(--nav-h) / 2); width: min(90vw, 1340px); height: min(74vh, 700px); min-height: 0; margin: 0;
  transform: translate3d(-50%, -50%, 0) scale(.6); opacity: 0; will-change: transform, opacity;
}
.story-on .chapter-dots { display: flex; position: absolute; z-index: 20; right: clamp(.6rem, 1.6vw, 1.4rem); top: 50%; transform: translateY(-50%); flex-direction: column; gap: .72rem; opacity: .72; }
.chapter-dots span {
  width: 7px; height: 7px; border-radius: 99px; background: rgb(var(--dot) / .32); box-shadow: 0 0 0 1px rgb(var(--dot) / .08); transform: scale(.85);
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.chapter-dots span.is-active { background: var(--accent); transform: scale(1.35); box-shadow: 0 0 18px rgb(var(--accent-rgb) / .6); }
.story-on .scroll-hint {
  display: block; position: absolute; z-index: 15; left: 50%; bottom: 1.35rem; transform: translateX(-50%);
  color: var(--hint); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8;
}
.scroll-hint::after { content: ""; display: block; margin: .55rem auto 0; width: 1px; height: 42px; background: linear-gradient(var(--accent), transparent); }

/* ---- Finger-Bedienung: drei Halte (showcase.js, Klasse story-halt aus dem Skript im <head>) ----
   Die Bewegung laeuft dort nach Zeit, die Scroll-Lage dient nur zum Erkennen des Wischens. Die Strecke ist
   deshalb laenger: so fuehrt auch ein kraeftiger Wisch nicht aus der festgehaltenen Buehne hinaus. Zu sehen ist
   davon nichts, weil die Seite nach jedem Wisch unsichtbar auf den Platz des Halts zurueckgestellt wird.
   Die feine Fortschrittslinie ganz oben wuerde dabei springen und bleibt in der Geschichte ausgeblendet. */
.story-on.story-halt .story { height: 520vh; }
.story-halt .progress { transition: opacity .3s var(--ease); }
.story-halt.in-geschichte .progress { opacity: 0; }

/* Kurze Bildschirme: Headline kleiner */
@media (max-height: 780px) { .story-title { font-size: clamp(1.9rem, min(8.5vh, calc(var(--frei) / 7.4)), 4.2rem); } }
@media (max-height: 600px) { .story-title { font-size: clamp(1.8rem, min(7.5vh, calc(var(--frei) / 7.4)), 3.4rem); } .hero-copy .story-sub { display: none; } }

/* ============================================================
   LAUFBAND
   ============================================================ */
.marquee {
  position: relative; overflow: hidden; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--story-bg), var(--bg-2));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: inline-flex; align-items: center; gap: 2.2rem; white-space: nowrap; width: max-content; animation: marquee 40s linear infinite; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .02em; color: var(--muted); }
.marquee__track i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .6; box-shadow: 0 0 10px rgb(var(--accent-rgb) / .7); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STARTSEITE: Willkommen · Persoenlich · Drei Bloecke
   ============================================================ */
.about { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__grid > * { min-width: 0; }
.about__links { position: sticky; top: calc(var(--nav-h) + 2rem); }
.about__quote {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.03em;
  color: var(--accent);
}
.about__wert { margin-top: 1.5rem; max-width: 40ch; color: var(--muted); line-height: 1.75; }
.about__text p { font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.8; max-width: 62ch; }
.about__text p + p { margin-top: 1.1rem; }
.about__text .about__sign { margin-top: 1.9rem; display: grid; gap: .2rem; }
.about__sign b { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.about__sign span { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
/* Der Weg: vom ersten Computer bis heute */
.path { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(3rem, 7vw, 5rem); }
.path li { position: relative; padding: 1.5rem 1.2rem 0 0; border-top: 2px solid var(--line-2); }
.path li::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--bg-2); }
.path b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.path span { color: var(--muted); font-size: .9rem; }

/* ============================================================
   Bewertung: Durchschnitt der Google-Rezensionen als schmales Band.
   Die fuenf Sterne sind eine Maske ueber einer Flaeche; wie weit sie gefuellt sind, steht in --note (z. B. 4.6).
   Es wird nichts von Google geladen.
   ============================================================ */
:root { --stern: #FBBF24; --stern-leer: rgb(148 163 184 / .28); }
:root[data-theme="light"] { --stern: #E69A00; --stern-leer: rgb(15 23 42 / .16); }
.rating { padding: clamp(2.4rem, 5vw, 3.6rem) 0 0; }
.rating__in {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem 2rem;
  padding: clamp(1.2rem, 2.6vw, 1.7rem) clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface);
}
.rating__note { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 6vw, 3.9rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.rating__mitte { flex: 1 1 14rem; display: grid; gap: .55rem; }
.stars {
  --g: 26px; width: calc(var(--g) * 5); height: var(--g); background: var(--stern-leer);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.4l2.95 6 6.6.95-4.78 4.65 1.13 6.57L12 17.47l-5.9 3.1 1.13-6.57L2.45 9.35l6.6-.95z'/%3E%3C/svg%3E") 0 0 / 20% 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.4l2.95 6 6.6.95-4.78 4.65 1.13 6.57L12 17.47l-5.9 3.1 1.13-6.57L2.45 9.35l6.6-.95z'/%3E%3C/svg%3E") 0 0 / 20% 100% repeat-x;
}
.stars__voll { display: block; height: 100%; width: calc(var(--note, 0) / 5 * 100%); background: var(--stern); transform-origin: left center; }
.rating__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .8rem; font-size: .98rem; }
.rating__text b { font-weight: 600; }
.rating__text span { color: var(--muted); font-size: .86rem; }
.rating .story-cta { margin-top: 0; }
.rating__hinweis { margin-top: .8rem; padding-inline: .3rem; max-width: 72ch; color: var(--muted); font-size: .78rem; line-height: 1.5; }
/* Die Sterne fuellen sich EINMAL, sobald das Band im Bild ist (main.js setzt die beiden Klassen zusammen mit
   dem Hochzaehlen der Note). Bis 1.0.7 hing die Fuellung an der Scroll-Lage: beim schnellen Hin- und
   Herscrollen fuellten und leerten sich die Sterne staendig, das wirkte am Handy wie ein Flackern
   (Rueckmeldung 22.11.2026). Jetzt bleiben sie gefuellt.
   Seit 1.0.31 waechst die Fuellung ueber transform statt ueber width: gleiches Bild (der Balken ist eine einfarbige
   Flaeche hinter der Sternen-Maske), aber der Browser muss waehrend der 1,1 s nicht jedes Bild neu anordnen. */
.rating__in.sterne-warten .stars__voll { transform: scaleX(0); }
.rating__in.sterne-da .stars__voll { transition: transform 1.1s var(--ease) .15s; }

.trio { padding: clamp(4rem, 9vw, 7rem) 0; }
.trio__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trio article { padding: 0 clamp(1.2rem, 3vw, 2.6rem); min-width: 0; }
.trio article:first-child { padding-left: 0; }
.trio article:last-child { padding-right: 0; }
.trio article + article { border-left: 1px solid var(--line); }
.trio h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; }
.trio p { color: var(--muted); margin: .9rem 0 1.2rem; line-height: 1.7; }

/* ============================================================
   UNSERE LEISTUNGEN – Kartenreihe
   Grundzustand (Handy, Touch, ohne Skript): eine waagrechte Wisch-Leiste.
   Mit .rail-pin (setzt main.js am Desktop): der Abschnitt bleibt kurz stehen
   und die Karten ziehen beim Scrollen von rechts nach links durch. Die Karte,
   die gerade hereinkommt, ist kleiner und blasser (--enter 0..1).
   ============================================================ */
.services { position: relative; padding: clamp(4.5rem, 10vw, 7.5rem) 0; background: radial-gradient(55% 70% at 14% 12%, rgb(var(--blue-rgb) / var(--wash)), transparent 60%); }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.services__nav { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.services__count { margin-right: .5rem; font-family: var(--font-mono); font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.services__count b { color: var(--text); font-weight: 500; }
.rail-btn {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--ghost-bg); color: var(--text);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), opacity .25s var(--ease), scale .16s ease-out;
}
.rail-btn:hover { border-color: var(--accent); background: var(--pill); }
.rail-btn:active { scale: .94; }
.rail-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.rail-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.services__track {
  --rand: max(var(--pad), calc((100% - var(--container)) / 2 + var(--pad)));   /* buendig mit dem Seitenraster */
  display: flex; gap: 1.35rem; padding: 1rem var(--rand) 1.8rem;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--rand); scrollbar-width: none; overscroll-behavior-x: contain;
}
.services__track::-webkit-scrollbar { display: none; }
.services__bar { height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.services__bar i { display: block; height: 100%; background: var(--icon-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.card {
  --c-rgb: var(--accent-rgb); --c-grad: var(--icon-grad);
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  padding: 2rem 1.6rem 1.7rem; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.card--gruen { --c-rgb: var(--ok-rgb); --c-grad: var(--icon-grad-ok); }
.services__track .card {
  flex: 0 0 300px; min-height: 372px; scroll-snap-align: start;
  opacity: calc(.3 + .7 * var(--enter, 1)); scale: calc(.9 + .1 * var(--enter, 1)); translate: 0 calc((1 - var(--enter, 1)) * 34px);
}
/* Lichtkegel, der dem Zeiger folgt: Flaeche (::before) und Rand (::after); effects.js setzt --sx / --sy */
.card::before, .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); }
.card::before { background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 0%), rgb(var(--c-rgb) / var(--spot)), transparent 70%); }
.card::after {
  inset: -1px; padding: 1px;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 0%), rgb(var(--c-rgb) / .95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover, a.card:focus-visible { transform: translateY(-8px); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.card:hover::before, .card:hover::after, .card.is-near::after { opacity: 1; }
.card.is-tilting { transition: transform .12s ease-out, border-color .4s var(--ease), box-shadow .4s var(--ease); }
a.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.card .card__icon { width: 46px; height: 46px; }
.card h3 { margin-top: .4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; line-height: 1.15; }
.card p { flex-grow: 1; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.pills li {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em;
  padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: var(--pill-bg);
}
.card--mehr { justify-content: flex-end; border-color: transparent; background: var(--btn-bg); color: var(--btn-ink); }
.card--mehr p { flex-grow: 0; color: inherit; opacity: .86; }
.card--mehr svg { width: 34px; height: 34px; margin-top: .6rem; transition: transform .35s var(--ease); }
.card--mehr:hover svg { transform: translateX(6px); }

/* Festgehaltene Fahrt (nur Desktop mit Maus; main.js setzt die Klasse, die Hoehe und --enter) */
.rail-pin.services { padding: 0; }
.rail-pin .services__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; padding-top: var(--nav-h);
  display: flex; flex-direction: column; justify-content: center; overflow: hidden; overflow: clip;
}
.rail-pin .services__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
@media (max-height: 720px) {
  .rail-pin .services__track .card { min-height: 316px; padding-block: 1.5rem 1.3rem; }
  .rail-pin .section-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
}
/* Wisch-Leiste: die Karte am rechten Rand rastet weich ein (rein in CSS) */
@keyframes karte-ein { from { opacity: .35; scale: .9; } to { opacity: 1; scale: 1; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .services:not(.rail-pin) .services__track .card { animation: karte-ein linear both; animation-timeline: view(inline); animation-range: entry 0% entry 100%; }
  }
  /* Handy: die naechste Karte schaut deutlich herein und bleibt dabei gut sichtbar - so versteht man, dass man wischen kann */
  @media (prefers-reduced-motion: no-preference) and (max-width: 560px) {
    .js .services:not(.rail-pin) .services__track .card { animation-name: karte-ein-klein; }
  }
}
@keyframes karte-ein-klein { from { opacity: .74; scale: .96; } to { opacity: 1; scale: 1; } }

/* ============================================================
   EIGENE SOFTWARE
   ============================================================ */
/* overflow: clip statt hidden – "hidden" wuerde den Abschnitt zum Scroll-Behaelter machen
   und damit das scroll-gekoppelte Einblenden seiner Inhalte auf der Stelle festhalten. */
.software { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0; overflow: hidden; overflow: clip; }
.software--seite { padding-top: clamp(2rem, 5vw, 4rem); }
.software__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 34% at 82% 20%, rgb(52 211 153 / calc(var(--wash) * 1.4)), transparent 70%),
    radial-gradient(46% 30% at 14% 74%, rgb(52 211 153 / calc(var(--wash) * 1.1)), transparent 70%);
}
.software__head { max-width: 860px; }
.software__head .section-title { margin-top: 1rem; }
.software__lead { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-top: 1.2rem; max-width: 56ch; }
.software__fuss { text-align: center; margin-top: clamp(2.5rem, 6vw, 4rem); color: var(--muted); }

/* Startseite: beide Programme nebeneinander, jeweils mit Bild */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(2.5rem, 6vw, 4rem); align-items: start; }
.duo__item { display: block; min-width: 0; }
.duo__item > .screen, .duo__item > .phones { height: clamp(260px, 27vw, 380px); margin-bottom: 1.6rem; }
.duo__item > .screen { display: grid; place-items: center; border: 0; box-shadow: none; background: none; overflow: visible; }
.duo__item > .screen img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); transition: transform .5s var(--ease); }
.duo__item:hover > .screen img { transform: translateY(-6px); }
.duo__item .product__title { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.duo__item .product__claim { margin: .7rem 0 1rem; }

/* Abstand nach oben als Variable (seit 1.0.46): wp.css gibt ihn in Elementor zurueck, das Android-Programm setzt ihn kleiner */
.product { --produkt-abstand: clamp(3.5rem, 8vw, 6rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: var(--produkt-abstand); }
.product:first-child { margin-top: 0; }
.product > * { min-width: 0; }   /* Spalten duerfen schmaler werden als ihr laengstes Wort/Knopf */
.product__for { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.tag-new { font-size: .62rem; letter-spacing: .1em; font-weight: 700; color: var(--btn-ok-ink); background: var(--btn-ok-bg); padding: .14rem .6rem; border-radius: 999px; }
.product__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.02em; margin-top: .7rem; }
.product__claim { color: var(--muted); font-size: 1.08rem; margin: 1rem 0 1.4rem; max-width: 46ch; }
.product__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 2rem; }
/* Offizielle Store-Abzeichen (Microsoft Store, Google Play), seit 1.0.41. Google und Microsoft verbieten jede
   Aenderung am Abzeichen (Farbe, Schatten, Leuchten, Zuschnitt): deshalb nur skaliert und beim Daraufzeigen als
   Ganzes leicht angehoben. Google: mindestens 28 px hoch, Freiraum ein Viertel der Hoehe (12 px; gap .8rem reicht).
   Selektor mit .product__cta: schlaegt ".elementor img { height: auto }" auch, wenn Elementor spaeter laedt. */
.abzeichen { display: inline-flex; flex: none; border-radius: 8px; transition: transform .35s var(--ease), scale .16s ease-out; }
.product__cta .abzeichen img { display: block; width: auto; height: 3.3rem; max-width: none; }   /* so hoch wie .btn daneben */
.abzeichen:hover { transform: translateY(-2px); }
.abzeichen:active { scale: .97; }
.abzeichen:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .abzeichen, .abzeichen:hover { transition: none; transform: none; } }
.checks { display: flex; flex-direction: column; gap: .7rem; }
.checks li { position: relative; padding-left: 1.8rem; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 18px; height: 18px;
  background: var(--ok);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Bildschirmfoto im Fensterrahmen */
.screen { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); background: #0B0F17; }
.screen img { width: 100%; height: auto; }
/* Stumme Programm-Schleife statt Standbild (seit 1.0.43); nur verkleinert, nie beschnitten */
.screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0B0F17; }
.zoom { display: block; width: 100%; padding: 0; cursor: zoom-in; }
.zoom:focus-visible { outline: 2px solid var(--ok); outline-offset: 3px; }

/* Lizenzen: eine ruhige Zeile mit Trennlinien */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(2.5rem, 6vw, 4rem); border-block: 1px solid var(--line); }
.lic { position: relative; text-align: center; padding: 1.6rem .6rem 1.4rem; }
.lic + .lic { border-left: 1px solid var(--line); }
.lic__n { display: block; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.lic__p { display: block; margin-top: .4rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.lic__d { display: block; margin-top: .5rem; font-size: .8rem; color: var(--muted); }
.lic--featured .lic__p { color: var(--ok); }
/* Kaufknopf im Preisfeld (seit 1.0.31) und der Satz darunter */
.lic__kauf { margin-top: 1rem; padding: .62rem 1.15rem; font-size: .88rem; justify-content: center; }
.preise__hinweis { margin: 1.1rem 0 0; text-align: center; font-size: .9rem; color: var(--muted); }
.lic__tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--btn-ok-ink); background: var(--btn-ok-bg); padding: .16rem .7rem; border-radius: 999px; font-weight: 700; }

/* Nummerierte Schritte (echte Reihenfolge) */
.schritte { counter-reset: schritt; display: grid; }
.schritte li { counter-increment: schritt; position: relative; padding: 1.25rem 0 1.25rem 3.7rem; border-top: 1px solid var(--line); }
.schritte li:last-child { border-bottom: 1px solid var(--line); }
.schritte li::before {
  content: counter(schritt); position: absolute; left: 0; top: 1.1rem; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: var(--btn-bg); color: var(--btn-ink); font-family: var(--font-display); font-weight: 700;
}
.schritte b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.schritte span { color: var(--muted); font-size: .95rem; }
.schritte a { color: var(--accent); font-weight: 700; }
.schritte--quer { grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.2rem, 3vw, 2.4rem); margin-top: clamp(2rem, 5vw, 3rem); }
.schritte--quer li, .schritte--quer li:last-child { border-bottom: 0; }
.software .schritte li::before { background: var(--btn-ok-bg); color: var(--btn-ok-ink); }

/* Galerie der Bildschirmfotos */
.galerie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.2rem; margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.galerie figure { margin: 0; min-width: 0; }
.galerie figcaption { margin-top: .65rem; font-size: .85rem; color: var(--muted); text-align: center; line-height: 1.4; }
.galerie .zoom { border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-card); transition: transform .35s var(--ease), border-color .35s var(--ease); }
.galerie .zoom:hover { transform: translateY(-4px); border-color: var(--ok); }
.galerie .zoom img { width: 100%; height: auto; }
.galerie--app { grid-template-columns: repeat(6, 1fr); }

.technik { margin-top: clamp(2rem, 5vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
/* "> summary" (seit 1.0.42): nur die Zeile des Kastens selbst, nicht die Fragen darin (.frage, siehe unten) */
.technik > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-weight: 700; }
.technik > summary::-webkit-details-marker { display: none; }
.technik > summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--ok); }
.technik[open] > summary::after { content: "–"; }
.technik > summary:focus-visible { outline: 2px solid var(--ok); outline-offset: 2px; border-radius: var(--radius); }
.technik__in { padding: 0 1.4rem 1.5rem; color: var(--muted); }
.technik__raster { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 3rem; margin-top: .6rem; }
.technik__raster h3 { font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin: 1.2rem 0 .4rem; }
/* Haeufige Fragen (seit 1.0.42): Kasten wie "Systemvoraussetzungen", darin je Frage eine Zeile zum Aufklappen */
.fragen__liste { border-top: 1px solid var(--line); }
.frage { border-bottom: 1px solid var(--line); }
.frage:last-child { border-bottom: 0; }
.frage > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .95rem 0; font-weight: 600; color: var(--text); }
.frage > summary::-webkit-details-marker { display: none; }
.frage > summary::after { content: "+"; flex: none; font-family: var(--font-mono); font-size: 1.1rem; line-height: 1; color: var(--ok); transition: transform .25s var(--ease); }
.frage[open] > summary::after { transform: rotate(45deg); }
.frage > summary:hover { color: var(--ok); }
.frage > summary:focus-visible { outline: 2px solid var(--ok); outline-offset: 2px; border-radius: 6px; }
.frage > p { margin: -.2rem 0 1.1rem; max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .frage > summary::after { transition: none; } }
.hilfe { margin-top: 1.6rem; color: var(--muted); line-height: 1.9; }
.hilfe b { color: var(--text); }
.hilfe a { color: var(--accent); font-weight: 700; }

/* Android-App: Telefone mit echten Bildschirmfotos, sie wandern beim Scrollen unterschiedlich schnell */
.phones { position: relative; height: clamp(420px, 46vw, 600px); display: grid; place-items: center; }
.phones::before {
  content: ""; position: absolute; width: min(78%, 520px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(52 211 153 / calc(var(--wash) * 2.4)), transparent 66%);
}
.phone {
  position: absolute; width: clamp(168px, 17.5vw, 232px); aspect-ratio: 9 / 16; margin: 0; padding: 7px; border-radius: 30px;
  background: linear-gradient(160deg, #1D2535, #06090F);
  box-shadow: 0 30px 70px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .10);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 23px; }
.phone--front { z-index: 2; }
.phone--left { transform: translateX(-64%) rotate(-9deg) scale(.88); }
.phone--right { transform: translateX(64%) rotate(9deg) scale(.88); }
:root[data-theme="light"] .phone { box-shadow: 0 30px 60px rgb(15 23 42 / .26), inset 0 0 0 1px rgb(255 255 255 / .12); }
.phones--klein .phone { width: clamp(118px, 11.5vw, 158px); padding: 5px; border-radius: 22px; }
.phones--klein .phone img { border-radius: 17px; }
.phone--flach { position: relative; width: 100%; padding: 5px; border-radius: 20px; }
.phone--flach img { border-radius: 15px; }
/* Android-Programm auf /software/ am Computer (seit 1.0.46, Inhaber 28.11.2026: "da ist ein grosser dunkler Platz,
   unten, kannst du diesen bitte verkleinern"). Gemessen live bei 1310 px: 96 px Abstand plus 600 px hohe Buehne neben
   427 px Text = 191 px Leere zwischen der Hilfe-Zeile und "Fuer Android", 225 px bis zum ersten Telefon. Jetzt ist die
   Buehne nur so hoch, wie die Telefone (rund 400 px) mit ihrem Wandern brauchen, und der Abstand davor kleiner.
   Die Telefone selbst bleiben gleich gross. Am Handy (bis 980 px, einspaltig) aendert sich nichts. */
@media (min-width: 981px) {
  .product--flip { --produkt-abstand: 3rem; }
  .product--flip .phones { height: clamp(420px, 37vw, 480px); }
}
@keyframes drift-f { from { translate: 0 26px; } to { translate: 0 -26px; } }
@keyframes drift-l { from { translate: 0 80px; } to { translate: 0 -50px; } }
@keyframes drift-r { from { translate: 0 120px; } to { translate: 0 -80px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .phones .phone { animation: drift-f linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .phones .phone--left { animation-name: drift-l; }
    .phones .phone--right { animation-name: drift-r; }
  }
}

.video { margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; max-width: 980px; }
.video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-card); }
.video figcaption { text-align: center; margin-top: .8rem; color: var(--muted); font-size: .9rem; }

/* ============================================================
   SUPPORT
   ============================================================ */
.support { padding: clamp(5rem, 11vw, 8rem) 0; position: relative; background: radial-gradient(55% 70% at 12% 30%, rgb(56 189 248 / var(--wash)), transparent 62%); }
.support__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.support__grid > * { min-width: 0; }
.support__lead { color: var(--muted); margin: 1.2rem 0 2rem; max-width: 44ch; }
.support__items { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.support-item {
  display: flex; align-items: flex-start; gap: 1.2rem; padding: 1.5rem .4rem; border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.support-item:hover { transform: translateX(8px); border-bottom-color: var(--accent); }
.support-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: .35rem; }

/* Icon als Maske; die Farbe kommt von der Karte (--c-grad), sonst das Marken-Blau */
.card__icon {
  display: block; width: 42px; height: 42px; flex-shrink: 0; background: var(--c-grad, var(--icon-grad));
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  filter: drop-shadow(0 0 10px rgb(var(--c-rgb, var(--accent-rgb)) / var(--icon-glow)));
}

/* ============================================================
   SUPPORT-SEITE – die Fernwartung steht ganz oben:
   links Titel und die grosse Download-Schaltflaeche, rechts eine kleine
   gezeichnete Vorfuehrung, die im Takt der vier Schritte wechselt (main.js).
   ============================================================ */
.fern { position: relative; isolation: isolate; padding: calc(var(--nav-h) + clamp(2.4rem, 6vw, 4.6rem)) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; overflow: clip; }
.fern__licht {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 52% at 78% 28%, rgb(var(--accent-rgb) / calc(var(--wash) * 1.8)), transparent 70%),
    radial-gradient(40% 44% at 6% 88%, rgb(var(--blue-rgb) / var(--wash)), transparent 72%);
}
.fern__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.fern__claim { margin-top: 1.3rem; max-width: 24ch; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.2; letter-spacing: -.01em; color: var(--accent); }
.fern .page-lead { margin-top: .9rem; }
.fern__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.js .fern__text > * { animation: rise .9s var(--ease) both; }
.js .fern__text > :nth-child(2) { animation-delay: .08s; }
.js .fern__text > :nth-child(3) { animation-delay: .16s; }
.js .fern__text > :nth-child(4) { animation-delay: .24s; }
.js .buehne { animation: pop 1s var(--ease) .15s both; }

/* Die Vorfuehrung: ein gezeichneter Bildschirm. Alle Masse haengen an seiner Breite (cqw),
   so bleiben die Bilder und die Wege des Mauszeigers auf jeder Bildschirmgroesse gleich. */
.buehne { position: relative; min-width: 0; }
.buehne::before {
  content: ""; position: absolute; inset: 10% 6% -6%; z-index: -1; border-radius: 40%; filter: blur(54px);
  background: radial-gradient(circle, rgb(var(--accent-rgb) / .30), transparent 68%);
}
.buehne__schirm {
  position: relative; container-type: size; aspect-ratio: 16 / 10.4; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line-2); background: var(--schirm); box-shadow: var(--shadow-tile);
}
.buehne__leiste {
  position: absolute; inset: 0 0 auto 0; z-index: 3; height: 9.4cqh; display: flex; align-items: center; gap: 1.1cqw; padding: 0 2.4cqw;
  border-bottom: 1px solid var(--line); background: var(--schirm-leiste);
}
.buehne__leiste i { width: 1.5cqw; height: 1.5cqw; border-radius: 50%; background: var(--line-2); }
.buehne__leiste span { margin-left: 1.4cqw; font-family: var(--font-mono); font-size: max(9px, 1.9cqw); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.szene {
  position: absolute; inset: 9.4cqh 0 0 0; display: grid; place-items: center; font-size: clamp(7px, 2.55cqw, 17px);
  opacity: 0; visibility: hidden; scale: .97;
  transition: opacity .5s var(--ease), scale .5s var(--ease), visibility .5s;
}
.szene.is-active { opacity: 1; visibility: visible; scale: 1; }
.zeiger { position: absolute; left: 0; top: 0; z-index: 4; width: 1.7em; height: 1.7em; opacity: 0; filter: drop-shadow(0 .2em .35em rgb(0 0 0 / .35)); }
.szene__punkt { width: .7em; height: .7em; border-radius: 50%; flex-shrink: 0; background: var(--ok); animation: puls 1.8s ease-out infinite; }
@keyframes puls { from { box-shadow: 0 0 0 0 rgb(var(--ok-rgb) / .6); } to { box-shadow: 0 0 0 .9em rgb(var(--ok-rgb) / 0); } }

/* Bild 1: Herunterladen */
.szene__knopf { display: inline-flex; align-items: center; gap: .6em; padding: .8em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1.1em; background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 .5em 1.8em rgb(var(--btn-glow) / .32); }
.szene__knopf svg { width: 1.3em; height: 1.3em; }
.szene__datei {
  position: absolute; left: 6%; right: 6%; bottom: 9%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1em;
  padding: .8em 1.1em; border-radius: .9em; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-card);
  font-size: .9em; opacity: 0;
}
.szene__datei b { font-family: var(--font-mono); font-weight: 500; }
.szene__datei span { height: .4em; border-radius: .4em; background: var(--line); overflow: hidden; }
.szene__datei span i { display: block; width: 100%; height: 100%; background: var(--icon-grad); transform-origin: 0 50%; scale: 0 1; }
.szene__datei em { font-style: normal; font-weight: 700; color: var(--ok); opacity: 0; }
.szene--laden.is-active .zeiger { animation: z-laden 3.8s var(--ease) both; }
.szene--laden.is-active .szene__knopf { animation: druck 3.8s both; }
.szene--laden.is-active .szene__datei { animation: datei-ein 3.8s var(--ease) both; }
.szene--laden.is-active .szene__datei span i { animation: balken 3.8s linear both; }
.szene--laden.is-active .szene__datei em { animation: fertig 3.8s both; }
@keyframes z-laden { 0% { opacity: 0; translate: 84cqw 70cqh; } 10% { opacity: 1; translate: 84cqw 70cqh; } 32%, 100% { opacity: 1; translate: 54cqw 43cqh; } }
@keyframes druck { 0%, 33% { scale: 1; } 37% { scale: .93; } 42%, 100% { scale: 1; } }
@keyframes datei-ein { 0%, 40% { opacity: 0; translate: 0 1.2em; } 50%, 100% { opacity: 1; translate: 0 0; } }
@keyframes balken { 0%, 50% { scale: 0 1; } 86%, 100% { scale: 1 1; } }
@keyframes fertig { 0%, 86% { opacity: 0; } 92%, 100% { opacity: 1; } }

/* Bild 2: Bestaetigen */
.szene__dialog { width: 25em; display: grid; gap: .55em; padding: 1.4em 1.5em 1.3em; border-radius: 1em; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-card); }
.szene__schild { width: 2em; height: 2em; }
.szene__dialog b { font-family: var(--font-display); font-weight: 600; font-size: 1.1em; }
.szene__dialog p { font-size: .86em; line-height: 1.5; color: var(--muted); }
.szene__wahl { display: flex; gap: .7em; margin-top: .5em; }
.szene__wahl span { flex: 1; padding: .55em; border-radius: .65em; border: 1px solid var(--line-2); text-align: center; font-weight: 700; font-size: .9em; }
.szene--frage.is-active .szene__dialog { animation: auf 3.8s var(--ease) both; }
.szene--frage.is-active .zeiger { animation: z-frage 3.8s var(--ease) both; }
.szene--frage.is-active .szene__ja { animation: ja 3.8s both; }
@keyframes auf { 0% { opacity: 0; scale: .9; translate: 0 1em; } 14%, 100% { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes z-frage { 0%, 18% { opacity: 0; translate: 84cqw 76cqh; } 26% { opacity: 1; translate: 84cqw 76cqh; } 52%, 100% { opacity: 1; translate: 37cqw 62cqh; } }
@keyframes ja { 0%, 54% { background: transparent; color: inherit; border-color: var(--line-2); scale: 1; } 58% { scale: .94; } 64%, 100% { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; scale: 1; } }

/* Bild 3: Programm oeffnet sich (erkennbar am Firmenlogo) */
.szene__fenster { width: 27em; display: grid; justify-items: center; gap: 1.2em; padding-bottom: 1.7em; overflow: hidden; border-radius: 1em; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-card); }
.szene__kopf { justify-self: stretch; display: flex; gap: .45em; padding: .75em 1em; border-bottom: 1px solid var(--line); background: var(--schirm-leiste); }
.szene__kopf i { width: .6em; height: .6em; border-radius: 50%; background: var(--line-2); }
.szene__fenster .wm { height: 2.2em; margin-top: 1em; }
.szene__fenster p, .szene__ruf p { display: flex; align-items: center; gap: .7em; font-family: var(--font-mono); font-size: .8em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.szene--offen.is-active .szene__fenster { animation: fenster 3.8s var(--ease) both; }
.szene--offen.is-active .wm { animation: logo-ein 3.8s var(--ease) both; }
@keyframes fenster { 0% { opacity: 0; scale: .7; translate: 0 2em; } 18%, 100% { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes logo-ein { 0%, 22% { opacity: 0; scale: .9; } 40%, 100% { opacity: 1; scale: 1; } }

/* Bild 4: Anrufen, dann sind wir verbunden (der blaue Zeiger ist unserer) */
.szene__ruf { display: grid; justify-items: center; gap: .9em; text-align: center; }
.szene__hoerer { width: 4.6em; height: 4.6em; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: var(--btn-ink); }
.szene__hoerer svg { width: 2em; height: 2em; }
.szene__ruf b { font-family: var(--font-display); font-weight: 700; font-size: 1.9em; letter-spacing: 0; word-spacing: .18em; font-variant-numeric: tabular-nums; }
.szene__ruf p { opacity: 0; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .92em; }
.szene--anruf .zeiger path { fill: var(--accent); }
.szene--anruf.is-active .szene__hoerer { animation: klingel 3.8s both; }
.szene--anruf.is-active .szene__ruf p { animation: verbunden 3.8s both; }
.szene--anruf.is-active .zeiger { animation: z-anruf 3.8s var(--ease) both; }
@keyframes klingel {
  0% { rotate: 0deg; box-shadow: 0 0 0 0 rgb(var(--btn-glow) / .5); }
  6% { rotate: -12deg; } 12% { rotate: 12deg; } 18% { rotate: -10deg; } 24% { rotate: 10deg; }
  30% { rotate: 0deg; box-shadow: 0 0 0 1.6em rgb(var(--btn-glow) / 0); }
  36% { rotate: -8deg; } 42% { rotate: 8deg; }
  48%, 100% { rotate: 0deg; box-shadow: 0 0 0 0 rgb(var(--btn-glow) / 0); }
}
@keyframes verbunden { 0%, 52% { opacity: 0; translate: 0 .6em; } 62%, 100% { opacity: 1; translate: 0 0; } }
@keyframes z-anruf { 0%, 60% { opacity: 0; translate: 16cqw 20cqh; } 68% { opacity: 1; translate: 16cqw 20cqh; } 84% { opacity: 1; translate: 66cqw 14cqh; } 100% { opacity: 1; translate: 76cqw 58cqh; } }

/* Die vier Schritte: der aktive ist hervorgehoben, seine Linie laeuft als Zeitbalken mit */
.fern__titel { margin-top: clamp(3rem, 7vw, 5rem); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em; }
.ablauf { counter-reset: schritt; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(1rem, 2.4vw, 2rem); margin-top: clamp(1.6rem, 3.5vw, 2.4rem); }
.ablauf li { counter-increment: schritt; position: relative; min-width: 0; padding-top: 1.3rem; border-top: 2px solid var(--line); }
/* Nicht aktive Schritte treten nur leicht zurueck (Titel in Grau): der Text bleibt voll lesbar */
.js .ablauf li { cursor: pointer; }
.js .ablauf li .ablauf__kopf b { color: var(--muted); transition: color .4s var(--ease); }
.js .ablauf li.is-active .ablauf__kopf b, .js .ablauf li:hover .ablauf__kopf b, .js .ablauf li:focus-within .ablauf__kopf b { color: var(--text); }
.ablauf li::before { content: ""; position: absolute; left: 0; top: -2px; width: 100%; height: 2px; background: var(--icon-grad); transform-origin: 0 50%; scale: 0 1; }
.ablauf li.is-done::before { scale: 1 1; }
.ablauf li.is-active::before { animation: zeit var(--takt, 5s) linear both; }
.fern.is-ruhe .ablauf li.is-active::before { animation-play-state: paused; }
@keyframes zeit { from { scale: 0 1; } to { scale: 1 1; } }
.ablauf__kopf { display: flex; align-items: center; gap: .8rem; width: 100%; text-align: left; border-radius: 12px; }
.ablauf__kopf i {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  font-style: normal; font-family: var(--font-display); font-weight: 700; color: var(--text);
  background: var(--pill); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .4s var(--ease);
}
.ablauf__kopf i::before { content: counter(schritt); }
.ablauf li.is-active .ablauf__kopf i, .no-js .ablauf__kopf i { background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 6px 22px rgb(var(--btn-glow) / .35); }
.ablauf__kopf b { font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; line-height: 1.2; }
.ablauf__kopf:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ablauf p { margin-top: .8rem; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.ablauf a { color: var(--accent); font-weight: 700; white-space: nowrap; }

/* Die drei Wege der Unterstuetzung */
.wege { padding: clamp(4rem, 9vw, 7rem) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.wege__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; margin-top: clamp(2rem, 5vw, 3.2rem); }
.wege .card h3 { font-size: 1.4rem; }

/* ============================================================
   UNTERSEITEN: Kopfband, Service-Liste
   ============================================================ */
.page-head { position: relative; isolation: isolate; overflow: hidden; overflow: clip; padding: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 6vw, 4.5rem); background: var(--story-bg); }
/* Das Bild steht nur in der rechten Haelfte und laeuft nach links weich aus:
   Titel und Text haben links immer freie Flaeche (nichts ueberschneidet sich). */
.page-head__img {
  position: absolute; inset: 0 0 0 auto; z-index: -2; width: min(56%, 940px);
  background: var(--img-hero) right 44% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 44%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 44%);
}
.page-head__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, transparent 46%); }
.page-head__in > * { max-width: min(56ch, 54%); }
.page-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -.03em; }
.page-lead { margin-top: 1.1rem; color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.6; }
.fern .page-lead { max-width: 52ch; }
.js .page-head__in > * { animation: rise .9s var(--ease) both; }
.js .page-head__in > :nth-child(2) { animation-delay: .1s; }
.js .page-head__in > :nth-child(3) { animation-delay: .2s; }

/* Sprungleiste der Service-Seite: bleibt unter der Kopfleiste stehen, die Markierung
   gleitet zur Leistung, die gerade gelesen wird (main.js). */
.subnav {
  position: sticky; top: var(--nav-h); z-index: var(--z-sub);
  border-block: 1px solid var(--line); background: var(--nav-bg);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.subnav__in {
  position: relative; isolation: isolate; display: flex; gap: .1rem; padding: .5rem var(--pad);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.subnav__in::-webkit-scrollbar { display: none; }
.subnav__in.is-zug { cursor: grabbing; user-select: none; }
.subnav a {
  position: relative; z-index: 1; flex-shrink: 0; padding: .42rem .62rem; border-radius: 999px;
  font-size: .84rem; font-weight: 500; white-space: nowrap; color: var(--muted); transition: color .25s var(--ease);
}
.subnav a:hover, .subnav a[aria-current="true"] { color: var(--text); }
.subnav a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.subnav__pill { right: auto; height: 2rem; background: rgb(var(--accent-rgb) / .16); }   /* Breite setzt main.js (ganze Leiste samt Ueberlauf) */
.no-js .subnav a:hover { background: var(--pill); }

.svc-list { padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem); }
.svc { position: relative; display: grid; grid-template-columns: minmax(230px, .8fr) 1.7fr; gap: clamp(1.5rem, 4vw, 4rem); padding: clamp(2.6rem, 5.5vw, 4.2rem) 0; scroll-margin-top: calc(var(--nav-h) + 62px); }
/* Trennlinie, die sich beim Hereinscrollen von links aufzieht */
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line-2); transform-origin: 0 50%; }
.svc:first-child::before { display: none; }
.svc > * { min-width: 0; }
.svc__side { align-self: start; position: sticky; top: calc(var(--nav-h) + 4.4rem); }
.svc__nr {
  display: block; margin-bottom: 1.1rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.2rem, 5.6vw, 4.8rem); line-height: .9; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1.5px rgb(var(--accent-rgb) / .6);
}
.svc__side h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.08; letter-spacing: -.02em; margin: 1rem 0 .9rem; overflow-wrap: anywhere; hyphens: auto; transition: color .4s var(--ease); }
.svc:target .svc__side h2, .svc.is-jetzt .svc__side h2 { color: var(--accent); }
.svc__body p { line-height: 1.8; max-width: 70ch; }
.svc__body p + p { margin-top: 1rem; }
.svc__pic { position: relative; aspect-ratio: 16 / 8; margin: 0 0 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); background: var(--surface-2); transition: transform .4s var(--ease); }
.svc__pic .pic { object-position: center 48%; }
.svc__pic.is-tilting { transition: transform .12s ease-out; }
/* Lichtkegel auf dem Bild (effects.js setzt --sx / --sy) */
.svc__pic::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgb(255 255 255 / .18), transparent 70%); }
.svc__pic:hover::after { opacity: 1; }

/* Service-Seite: Bewegung beim Scrollen (rein in CSS, nur wo der Browser es kann) */
@keyframes linie-auf { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes nr-zug { from { opacity: 0; translate: 0 46px; } 22% { opacity: 1; } to { opacity: 1; translate: 0 -14px; } }
@keyframes icon-ein { from { opacity: 0; scale: .4; rotate: -20deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }
@keyframes punkt-ein { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes vorhang { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bild-zug { from { translate: 0 -4%; scale: 1.14; } to { translate: 0 4%; scale: 1.14; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js .svc::before { animation: linie-auf linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    .js .svc__nr { animation: nr-zug linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .js .svc__side .card__icon { animation: icon-ein linear both; animation-timeline: view(); animation-range: cover 0% cover 18%; }
    .js .svc__punkte li { animation: punkt-ein linear both; animation-timeline: view(); animation-range: cover 2% cover 20%; }
    .js .svc__pic .pic { animation: vorhang linear both, bild-zug linear both; animation-timeline: view(), view(); animation-range: cover 4% cover 34%, cover 0% cover 100%; }
  }
}

.cta-band { padding: clamp(3.5rem, 8vw, 6rem) 0; text-align: center; border-top: 1px solid var(--line); background: var(--bg-2); }
.cta-band .story-cta { justify-content: center; }

/* ============================================================
   BESUCHEN SIE UNS · KONTAKT
   ============================================================ */
/* Kontakt wie in der ersten Fassung: links Ansprache, Kontaktzeilen und QR-Code, rechts das Formular */
.contact { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0; border-top: 1px solid var(--line); background: radial-gradient(55% 70% at 85% 22%, rgb(34 211 238 / var(--wash)), transparent 62%); }
.seite-kontakt .contact { padding-top: clamp(2rem, 5vw, 3.5rem); border-top: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__grid > * { min-width: 0; }
.contact__intro .eyebrow { margin-bottom: 1.1rem; }
.contact__lead { margin: 1.2rem 0 2rem; max-width: 42ch; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.12rem); }
.contact__pills { display: flex; flex-direction: column; gap: .8rem; }

/* QR-Code als Zeile im Stil der Kontaktzeilen (weisser Grund bleibt: so liest ihn jede Kamera) */
.qr { display: flex; align-items: center; gap: 1.2rem; margin: .8rem 0 0; padding: .9rem 1.2rem .9rem .9rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.qr img { width: 104px; height: auto; flex-shrink: 0; padding: 6px; border-radius: 10px; background: #fff; }
.qr figcaption { display: flex; flex-direction: column; min-width: 0; font-weight: 600; line-height: 1.4; }
.qr small { font-family: var(--font-mono); font-size: .68rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Kontakt-Seite: Besuch */
.visit { padding: clamp(3rem, 7vw, 5rem) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.visit__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap; }
.visit .story-cta { margin-top: 0; }
.visit__in > div:first-child { flex: 1 1 28rem; min-width: 0; }
.visit__orte { margin-top: .9rem; max-width: 64ch; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.pill-link { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.pill-link:hover { transform: translateX(4px); border-color: var(--accent); box-shadow: 0 0 40px rgb(var(--accent-rgb) / .22); }
.pill-link svg { color: var(--accent); flex-shrink: 0; }
.pill-link span { display: flex; flex-direction: column; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pill-link small { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 400; }

.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-card); }
.contact__form .btn { justify-self: start; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
/* Falle fuer Spam-Programme: fuer Menschen unsichtbar und nicht erreichbar. Wer das Feld ausfuellt, ist ein Programm. */
.field--falle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.field input, .field textarea {
  width: 100%; padding: 1.1rem 1rem .5rem; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--field-bg); color: var(--text); font: inherit; resize: vertical;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / .18); }
.field label { position: absolute; left: 1rem; top: .9rem; color: var(--muted); font-size: .95rem; pointer-events: none; transform-origin: left center; transition: transform .2s var(--ease), color .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.7rem) scale(0.72); color: var(--accent);
}
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; color: var(--muted); }
.checkbox input { margin-top: .2rem; accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-note { grid-column: 1 / -1; font-size: .85rem; min-height: 1.2em; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--danger); }

/* ============================================================
   FUSSZEILE – schmale Leiste wie in der ersten Fassung; darueber die rechtlichen Seiten
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: linear-gradient(transparent, var(--bg-2)); font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; padding: 1.5rem 0 1.3rem; }
.footer__links a { transition: color .25s var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: 1.4rem 0 2.3rem; border-top: 1px solid var(--line); letter-spacing: .04em; }
.footer__domains { letter-spacing: .05em; }

.fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: 50%; display: none; place-items: center;
  background: var(--btn-bg); color: var(--btn-ink); box-shadow: 0 8px 30px rgb(var(--btn-glow) / .4);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.wall-open .fab { opacity: 0; pointer-events: none; }   /* waehrend der Service-Kacheln aus dem Weg */

.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor); width: 520px; height: 520px; margin: -260px 0 0 -260px;
  pointer-events: none; opacity: 0; mix-blend-mode: var(--cursor-blend); will-change: transform, opacity;
  background: var(--cursor-glow);
}
@media (pointer: coarse), (max-width: 900px) { .cursor-glow { display: none; } }

/* Grossansicht der Bildschirmfotos (mit Blaettern: Pfeile, Zaehler, Wischen; js/main.js) */
.lightbox { border: 0; padding: 0; margin: auto; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgb(2 4 9 / .88); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; }
.lightbox img { display: block; max-width: 96vw; max-height: 84vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 120px rgb(0 0 0 / .6); cursor: pointer; }
.lightbox--einzeln img { cursor: zoom-out; }
.lightbox figcaption { color: #E6EBF2; text-align: center; margin-top: .8rem; font-size: .95rem; }
.lightbox__zu { position: fixed; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; font-size: 1.7rem; line-height: 1; }
.lightbox__zu:focus-visible, .lightbox__pfeil:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lightbox__pfeil { position: fixed; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; cursor: pointer; transition: background-color .2s var(--ease); }
.lightbox__pfeil:hover { background: rgb(255 255 255 / .26); }
.lightbox__pfeil svg { width: 24px; height: 24px; }
.lightbox__pfeil--zurueck { left: 1rem; }
.lightbox__pfeil--vor { right: 1rem; }
.lightbox__zahl { position: fixed; top: 1.55rem; left: 1.25rem; margin: 0; color: #E6EBF2; font: 500 .9rem/1 var(--font-mono); letter-spacing: .04em; }
.lightbox--einzeln .lightbox__pfeil, .lightbox--einzeln .lightbox__zahl { display: none; }
/* Pfeile seitlich neben dem Bild: das Bild laesst ihnen Platz */
@media (min-width: 761px) { .lightbox img { max-width: calc(100vw - 10rem); } }
/* Handy: Pfeile unten in Daumennaehe, das Bild bleibt frei; die Seite dahinter scrollt nicht mit */
@media (max-width: 760px) {
  .lightbox__pfeil { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); translate: none; }
}
@media (pointer: coarse) { html.lightbox-offen { overflow: hidden; } }

/* ============================================================
   EINBLENDEN BEIM SCROLLEN
   Standard: alles sichtbar. Moderne Browser koppeln das Einblenden
   direkt an die Scroll-Position (CSS scroll-driven animations).
   Aeltere Browser: main.js setzt .reveal-armed / .is-visible.
   ============================================================ */
@keyframes rise { from { opacity: 0; translate: 0 var(--rise, 28px); } to { opacity: 1; translate: 0 0; } }
@keyframes pop  { from { opacity: 0; scale: .94; translate: 0 26px; } to { opacity: 1; scale: 1; translate: 0 0; } }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { animation: rise linear both; animation-timeline: view(); animation-range: cover 0% cover 22%; }
    .js .section-title[data-reveal] { --rise: 46px; animation-range: cover 0% cover 26%; }
    .js [data-reveal="pop"] { animation-name: pop; animation-range: cover 0% cover 26%; }
    .js .support-item[data-reveal]:nth-child(2), .js .trio article[data-reveal]:nth-child(2), .js .schritte li[data-reveal]:nth-child(2), .js .wege .card[data-reveal]:nth-child(2) { animation-range: cover 3% cover 25%; }
    .js .support-item[data-reveal]:nth-child(3), .js .trio article[data-reveal]:nth-child(3), .js .schritte li[data-reveal]:nth-child(3), .js .wege .card[data-reveal]:nth-child(3) { animation-range: cover 6% cover 28%; }
    /* hohe Bloecke (Service-Texte) schneller einblenden, sonst bleiben sie zu lange blass */
    .js .svc__body[data-reveal], .js .svc__side[data-reveal] { animation-range: entry 0% entry 26%; }
  }
}
.reveal-armed { opacity: 0; translate: 0 22px; }
.reveal-armed.is-visible { opacity: 1; translate: 0 0; transition: opacity .8s var(--ease), translate .8s var(--ease); }

/* Farbschema-Wechsel: der neue Zustand waechst als Kreis aus dem Umschalter (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .nav__call { display: none; }
  .galerie--app { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --nav-h: 58px; }
  .nav__inner { display: flex; justify-content: space-between; }
  .nav__links { display: none; }
  .burger { display: flex; }
  .wm { height: 22px; }
  .fab { display: grid; }
  .footer__bar { padding-bottom: 5.6rem; }   /* Platz fuer den runden Anruf-Knopf */
  .about__grid, .product, .duo, .support__grid, .fern__grid, .contact__grid, .svc { grid-template-columns: 1fr; }
  .about__links, .svc__side { position: static; }
  .about__wert { max-width: 62ch; }
  .wege__raster { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; }
  .buehne { max-width: 640px; }
  .svc__nr { font-size: 3rem; margin-bottom: .8rem; }
  .subnav__in { padding-block: .4rem; }
  .product--flip .phones { order: 2; }
  .phones { height: clamp(380px, 92vw, 520px); }
  .phone { width: clamp(150px, 40vw, 210px); }
  .phones--klein .phone { width: clamp(110px, 27vw, 150px); }
  .duo__item > .screen, .duo__item > .phones { height: clamp(220px, 58vw, 340px); }
  .trio__grid { grid-template-columns: 1fr; }
  .trio article, .trio article:first-child, .trio article:last-child { padding: 1.6rem 0; }
  .trio article + article { border-left: 0; border-top: 1px solid var(--line); }
  .path { grid-template-columns: 1fr 1fr; row-gap: 1.6rem; }
  .contact__form { grid-template-columns: 1fr; }
  .technik__raster, .schritte--quer { grid-template-columns: 1fr; }
  .schritte--quer li { border-bottom: 0; }
  /* Galerien werden am Handy zu Wisch-Leisten */
  .galerie { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 1rem; margin-inline: calc(var(--pad) * -1); padding: .4rem var(--pad) 1rem; }
  .galerie::-webkit-scrollbar { display: none; }
  .galerie figure { flex: 0 0 82%; scroll-snap-align: center; }
  .galerie--app figure { flex-basis: 46%; }
  .page-head__img { display: none; }
  .page-head__in > * { max-width: 60ch; }
  .services__head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .services__track .card { flex-basis: min(78vw, 300px); min-height: 340px; }
}
@media (max-width: 900px) {
  .story-on .story { height: 360vh; }
  .story-on .hero-frame { width: 108vw; height: 108vh; }
  .hero-frame__shade { background: var(--hero-shade-m); }
  /* Willkommen: Foto oben, Text darunter */
  .focus-panel { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .focus-panel__img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .focus-panel__content { padding: 1.5rem 1.4rem 1.7rem; }
  .story-on .focus-panel { grid-template-rows: minmax(0, 1fr) auto; }
  .story-on .focus-panel__img { aspect-ratio: auto; }
  .hero-copy, .story-on .hero-copy { --frei: 100vw; --unten: 7rem; top: auto; bottom: var(--unten); transform: none; left: 1.2rem; right: 1.2rem; width: auto; }
  /* Ohne festgehaltene Buehne (am Handy und bei "Bewegung reduzieren") ist der Abschnitt mehrere Bildschirme hoch:
     der Text gehoert dann an den unteren Rand des STARTBILDS (erster Bildschirm), nicht ans Ende des Abschnitts.
     Vorher rutschte er dort ueber den Willkommen-Text. */
  html:not(.story-on) .hero-copy { top: calc(100vh - var(--unten)); top: calc(100svh - var(--unten)); bottom: auto; transform: translateY(-100%); }
  .hero-copy .eyebrow { font-size: .68rem; letter-spacing: .14em; }
  .story-title { font-size: clamp(2.4rem, 10.5vw, 4.4rem); }
  .wall { --cols: 2; --tw: 44; --th: 17.6; --gx: 3; --gy: 1.6; --cy: 55.5; --ty: 12.2; grid-template-columns: 1fr 1fr; gap: .8rem; }
  .tile { min-height: 170px; border-radius: 16px; box-shadow: 0 10px 34px rgb(0 0 0 / .3), 0 0 0 1px var(--line); }
  .tile__text { padding: .55rem .7rem .65rem; }
  .tile__text b { font-size: .8rem; }
  .tile__text small { display: none; }
  .tile--cta { padding: .8rem; }
  .tile--cta .tile__text b { font-size: 1rem; }
  .tile--cta .tile__text small { display: block; font-size: .72rem; }
  .tile--cta svg { width: 26px; height: 26px; }
  .wall__title { font-size: 1.35rem; }
  .story-on .focus-panel { width: 92vw; height: min(78vh, 720px); box-shadow: 0 16px 60px rgb(0 0 0 / .32), 0 0 0 1px var(--line); }
  .story-on .chapter-dots { right: .5rem; gap: .55rem; opacity: .46; }
  .ambient__glow { filter: blur(32px); opacity: .3; }
}
/* Handy hoch: Bild oben anlegen und etwas kleiner zeigen -> PC und Notebook stehen vollstaendig
   in der oberen Haelfte, der Text darunter. Der untere Bildrand laeuft weich aus. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero-frame__pic {
    transform: none; background-size: 112% auto; background-position: center calc(var(--nav-h) * .6);
    -webkit-mask-image: linear-gradient(#000 70%, transparent 96%);
            mask-image: linear-gradient(#000 70%, transparent 96%);
  }
}
/* Kleine Handys (niedriger Bildschirm) */
@media (max-width: 900px) and (orientation: portrait) and (max-height: 740px) {
  .hero-frame__pic { background-size: 96% auto; }
  .story__pin .hero-copy { --unten: 5rem; }
  .hero-copy .story-sub, .scroll-hint, .story-on .scroll-hint { display: none; }
  .story-title { font-size: clamp(2.1rem, 9.4vw, 3.6rem); }
  .story-on .focus-panel { height: 82vh; }
  .focus-panel__content { padding: 1.1rem 1.2rem 1.3rem; }
  .focus-panel h2 { font-size: 1.6rem; margin-bottom: .7rem; }
  .focus-panel__content p { font-size: .92rem; line-height: 1.55; }
  .focus-panel__content .story-cta { margin-top: 1rem; }
  .story-on .focus-panel__content .btn--ghost { display: none; }
}
/* Handy quer: wie am Desktop – Text links und senkrecht mittig, Technik rechts, nur kompakter */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-frame__shade { background: var(--hero-shade); }
  .story__pin .hero-copy { top: calc(50% + var(--nav-h) / 2); bottom: auto; left: 5vw; right: auto; width: 46vw; transform: translate3d(0, -50%, 0); }
  html:not(.story-on) .story__pin .hero-copy { top: calc(50vh + var(--nav-h) / 2); top: calc(50svh + var(--nav-h) / 2); transform: translate3d(0, -50%, 0); }
  .hero-copy .eyebrow { margin-bottom: .5rem; }
  .story-title { font-size: clamp(1.15rem, min(4.6vw, 11vh), 3rem); }
  .hero-copy .story-sub, .story-on .scroll-hint { display: none; }
  .story-cta { margin-top: 1rem; gap: .5rem; }
  .story-cta .btn { padding: .6rem 1rem; font-size: .85rem; white-space: nowrap; }
  .wall { --cols: 4; --tw: 22; --th: 35; --gx: 1.6; --gy: 3; --cy: 60; --ty: -20; grid-template-columns: repeat(4, 1fr); }
  .story-on .wall__title { display: none; }
  .focus-panel { grid-template-columns: 1.15fr .85fr; }
  .focus-panel__img { order: 0; aspect-ratio: auto; }
  .story-on .focus-panel { width: 90vw; height: 76vh; grid-template-rows: none; }
  .focus-panel__content { padding: .9rem 1.2rem; }
  .focus-panel h2 { font-size: 1.25rem; margin-bottom: .5rem; }
  .focus-panel__content p { font-size: .8rem; line-height: 1.5; }
  .focus-panel__content .story-cta { margin-top: .7rem; }
  .focus-panel__content .btn--ghost { display: none; }
}
@media (max-width: 560px) {
  .hero-copy, .story-on .hero-copy { --unten: 6rem; }
  .story-cta { gap: .6rem; width: 100%; }
  .story-cta .btn { flex: 1 1 auto; justify-content: center; min-width: 0; padding: .85rem .9rem; font-size: .9rem; white-space: nowrap; }
  .cta-band .story-cta .btn, .visit .story-cta .btn { flex: 0 1 auto; }
  .story-on .focus-panel { border-radius: 20px; }
  .path { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr; }
  .fern__cta .btn--gross { width: 100%; }
  .footer__links { gap: .5rem 1.2rem; }
  .qr img { width: 88px; }
  .lic__d { font-size: .68rem; }
  .preise .lic { padding-inline: .2rem; }
  .preise .lic__tag { font-size: .54rem; padding-inline: .45rem; }
  /* Drei Kaufknoepfe nebeneinander: klein, damit jeder in seine Spalte passt */
  .lic__kauf { margin-top: .8rem; padding: .55rem .7rem; font-size: .76rem; letter-spacing: 0; }
  /* Leistungs-Karten am Handy: schmaeler und niedriger. Rund ein Viertel der naechsten Karte ist immer zu sehen,
     daran erkennt man ohne Erklaerung, dass die Reihe nach rechts weitergeht. */
  .services__track { gap: .9rem; }
  .services__track .card { flex-basis: min(66vw, 250px); min-height: 292px; padding: 1.45rem 1.15rem 1.25rem; gap: .65rem; }
  .services__track .card .card__icon { width: 40px; height: 40px; }
  .services__track .card h3 { margin-top: .25rem; font-size: 1.14rem; }
  .services__track .card p { font-size: .9rem; line-height: 1.55; }
  /* Bewertung: Note und Sterne nebeneinander, die Schaltflaechen darunter ueber die ganze Breite */
  .rating__mitte { flex-basis: 9rem; }
  .rating .story-cta { width: 100%; }
}
/* Schmale Handys: Kontaktzeilen duerfen nicht ueber den Rand laufen */
@media (max-width: 400px) {
  .pill-link { padding: .85rem .9rem; gap: .75rem; }
  .lic__n { font-size: .64rem; letter-spacing: .06em; }
  .lic__kauf { padding: .5rem .5rem; font-size: .7rem; }
}
/* Sehr schmale Bildschirme (unter 340 px, z. B. Falt-Handys zugeklappt) */
@media (max-width: 340px) {
  :root { --pad: .9rem; }
  .wm { height: 17px; }
  .nav__actions { gap: .4rem; }
  .theme-toggle, .burger { width: 38px; height: 38px; }
  .hero-copy, .story-on .hero-copy { left: .9rem; right: .9rem; }
  .hero-copy .eyebrow { font-size: .58rem; letter-spacing: .08em; }
  .story-title { font-size: clamp(1.8rem, 10.6vw, 2.4rem); }
  .story-cta .btn--ghost { display: none; }
  .section-title { font-size: 1.75rem; }
  .product__title { font-size: 1.45rem; }
  .page-title { font-size: 2.2rem; }
}

/* ---------- Handy und Tablet: lesbar und fluessig ----------
   1. Kopfleiste am Handy immer auf fester Flaeche. Oben auf der Startseite stand das Logo sonst direkt
      auf dem Foto (Rueckmeldung 22.11.2026: "kann man schlecht lesen").
   2. Auf Geraeten mit Finger-Bedienung kein Milchglas (backdrop-filter) und keine Misch-Modi: beides muss
      der Grafikchip bei jedem Scroll-Bild neu rechnen, waehrend sich darunter die Scroll-Geschichte bewegt.
      Rueckmeldung 22.11.2026: "beim Handy ruckelt es beim Hinunterscrollen". */
@media (max-width: 980px) {
  .nav, .nav.is-scrolled, .menu-open .nav { background: var(--nav-fest); border-bottom-color: var(--line); }
}
@media (max-width: 980px), (pointer: coarse) {
  .nav, .nav.is-scrolled, .menu-open .nav, .theme-toggle, .burger, .btn--ghost, .subnav, .mobile-menu {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav.is-scrolled, .menu-open .nav, .subnav { background: var(--nav-fest); }
  .ambient__glow { display: none; }
  .transition-veil, .focus-panel__shine { mix-blend-mode: normal; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .1ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .js .hero-copy [data-in], .js .story-title .tw { opacity: 1; translate: none; }
  .js .hero-frame__stage { animation: none; }
  .marquee__track, .szene__punkt, .ablauf li::before { animation: none !important; }
  .cursor-glow, .progress { display: none; }
}
