/* Rüger Solutions: Bausteine der Agency-Seiten (Startseite und Leistungsseiten).
   Baut auf main.css auf: gleiche Farben, Schriften und Abstände, kein Akzentfarbton.
   Papier steht für Unterlagen, Dunkel für das System dahinter. */

:root {
  --paper-doc: #f7f3ea;
  --ok: #46c483;
  --ok-ink: #23804f;
  --ok-soft: rgba(70, 196, 131, 0.14);
  --io: cubic-bezier(0.77, 0, 0.175, 1);
  --out: cubic-bezier(0.23, 1, 0.32, 1);
}

@media (min-width: 961px) and (max-width: 1160px) { .nav a { padding: 9px 10px; font-size: 13.5px; } .header__inner { gap: 12px; } }

.pill:has(.pill__back) { gap: 0.45em; }
.pill__back { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); transition: border-color 0.3s; }
.pill__back:hover { border-color: var(--text); }

/* Einheitliche kleine Symbole aus dem Sprite */
.show svg, .area svg, .picker svg, .a-hero__promise svg, .road__list svg, .tree svg, .k-tree svg, .k-src svg, .p-hero svg:not(.flow__svg), .uc svg, .bl-case svg {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   Startseite: Hero
   ========================================================= */
.a-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 104px 0 40px;
  overflow: hidden;
}
.a-hero .hero__grid-lines {
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 76% 46%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 50% 60% at 76% 46%, #000 0%, transparent 72%);
  opacity: 0.32;
}
.a-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
}
/* Obergrenze an die Textspalte gekoppelt (ab 1320 px fest 528 px breit): „Weniger Büro.“ bleibt eine Zeile */
.a-hero__title {
  font-size: clamp(3.2rem, 5.6vw, 5.5rem);
  line-height: 0.9;
  letter-spacing: -0.062em;
}
.a-hero .ln { display: block; }
.a-hero__lead {
  max-width: 27em;
  margin-top: 30px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.3vw, 1.22rem);
  line-height: 1.55;
}
.a-hero__promise { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--muted); font-size: 14.5px; }
.a-hero__promise li { display: inline-flex; align-items: center; gap: 9px; }
.a-hero__promise svg { width: 16px; height: 16px; stroke-width: 2.2; color: var(--text); }

/* Einstieg ohne Warten: reine CSS-Animation ab dem ersten Bild, nicht erst nach main.js und Beobachter.
   Leitsatz und Lead sind vom ersten Bild an voll sichtbar und setzen sich nur sanft (hero-rise, ohne Einblenden):
   So zählt der Browser sie sofort als größten Inhalt (LCP = erstes Bild); ein Einblenden aus Deckkraft 0 würde das
   LCP erst ans Ende der Animation legen. Knöpfe, Versprechen und Bühne kommen gestaffelt dazu (hero-in).
   Nur mit JS (ohne JS steht alles sofort), mit Reduced Motion sofort am Ziel (Regel in main.css). „backwards“: Danach
   bleibt nichts von der Animation am Element hängen. Zeichnet der Browser noch keine Bilder, setzt agency.js nach
   0,7 s den Endzustand (Sicherung dort). */
.js .a-hero .ln, .js .a-hero__lead { animation: hero-rise 0.8s var(--out) backwards; }
.js .a-hero .hero__actions, .js .a-hero__promise, .js .a-hero .show { animation: hero-in 0.8s var(--out) backwards; }
.js .a-hero .ln + .ln { animation-delay: 0.05s; }
.js .a-hero__lead { animation-delay: 0.1s; }
.js .a-hero .show { animation-delay: 0.12s; }
.js .a-hero .hero__actions { animation-delay: 0.18s; }
.js .a-hero__promise { animation-delay: 0.25s; }
@keyframes hero-rise { from { transform: translateY(12px); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   Vorführung: Handy mit drei Kapiteln und je einer Begleitkarte.
   Die Bühne hat feste Entwurfsmaße und wird als Ganzes per zoom skaliert: Alles wird in echter Größe
   gesetzt und gerastert, Schrift bleibt bei jeder Größe scharf. --k entsteht per CSS aus der Breite von .show
   (tan(atan2()) liefert das Verhältnis als Zahl) und wird als fertige Zahl vererbt (@property): Safari rechnet
   Container- und Viewport-Einheiten innerhalb des gezoomten Elements selbst noch einmal mit zoom, die Bühne war auf
   dem iPad dadurch nur k² groß (22.10.2026). agency.js setzt --k zusätzlich als Zahl aus der gemessenen Breite.
   Das Handy steht ruhig (keine Neigung, kein Schweben); Leben kommt aus dem Inhalt.
   Grundzustand jedes Elements ist sein Endzustand. Keyframes beschreiben nur den Weg dorthin:
   .is-play startet sie, .is-on blendet ein, .is-paused friert alles an derselben Stelle ein.
   Animiert werden ausschließlich transform und opacity, mit einheitlichen Kurven (--out, --io).
   ========================================================= */
@property --kfit { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --k { syntax: "<number>"; inherits: true; initial-value: 1; }
.show { --sw: 640; --sh: 650; --kmax: 1; --kfit: var(--kmax); position: relative; container-type: inline-size; }
/* Zweispaltig: Das Handy füllt die Höhe unter der Kopfzeile (150 px), Reiter und Schrittfolge dürfen auf niedrigen
   Bildschirmen wie dem iPad quer knapp unter die Kante rutschen. Nie unter 0,72 (Ersatzrechnung in agency.js). */
@media (min-width: 861px) {
  .show { --kfit: min(var(--kmax), max(0.72, tan(atan2(calc(100svh - 150px), calc(var(--sh) * 1px))))); }
  .show .show__fit, .show .show__ui { margin-right: 0; margin-left: auto; }
}
.show__fit {
  --k: min(var(--kfit), tan(atan2(100cqw, calc(var(--sw) * 1px))));
  position: relative;
  width: 100%; max-width: calc(var(--sw) * var(--kfit) * 1px);
  aspect-ratio: var(--sw) / var(--sh);
  margin: 0 auto;
}
.show__stage {
  position: absolute; left: 0; top: 0;
  width: calc(var(--sw) * 1px); height: calc(var(--sh) * 1px);
  zoom: var(--k);
}
/* Ohne zoom (sehr alte Browser): wie früher per transform skalieren */
@supports not (zoom: 1) {
  .show__stage { transform: scale(var(--k)); transform-origin: 0 0; }
}
.show.is-paused *, .show.is-paused *::before, .show.is-paused *::after { animation-play-state: paused !important; }
/* Erster Stand ohne Überblendung: Die Bühne kommt als Ganzes mit dem Hero-Einstieg */
.show.is-init *, .show.is-init *::before, .show.is-init *::after { transition: none !important; }
.show__ring { position: absolute; left: 468px; top: 322px; width: 500px; height: 500px; margin: -250px 0 0 -250px; border: 1px solid var(--line); border-radius: 50%; }
/* Kapitel-Tönung: je Kapitel eine große, weiche Lichtfläche hinter dem Handy; es wechselt nur die Deckkraft */
.show__tint {
  --t: 196 138 74;
  position: absolute; left: 468px; top: 322px;
  width: 860px; height: 860px; margin: -430px 0 0 -430px;
  background: radial-gradient(closest-side, rgb(var(--t) / 0.26), rgb(var(--t) / 0.16) 30%, rgb(var(--t) / 0.065) 60%, rgb(var(--t) / 0.015) 85%, rgb(var(--t) / 0));
  pointer-events: none;
}
.show__tint[data-c="1"] { --t: 36 116 130; }
.show__tint[data-c="2"] { --t: 64 126 86; }
.js .show__tint { opacity: 0; transition: opacity 0.9s ease; }
.js .show__tint.is-on { opacity: 1; }

/* Gerät: feiner Metallrand, schwarzer Glasrand, ruhig stehend */
.show .device {
  position: absolute; left: 320px; top: 12px; z-index: 2;
  width: 296px; height: 620px;
}
.show .device__body {
  position: relative;
  height: 100%;
  padding: 2px;
  border-radius: 54px;
  background: linear-gradient(155deg, #8d877d 0%, #45413b 9%, #24221f 28%, #1a1917 55%, #2c2a26 82%, #77716a 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.7),
    0 34px 60px -30px rgba(0, 0, 0, 0.95),
    0 80px 140px -60px rgba(0, 0, 0, 0.85);
}
.show .device__key { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #3a3631, #5d574f); }
.show .device__key--a { left: -2px; top: 108px; height: 26px; }
.show .device__key--b { left: -2px; top: 154px; height: 50px; }
.show .device__key--c { right: -2px; top: 172px; height: 74px; }
.show .device__bezel { height: 100%; padding: 7px; border-radius: 52px; background: #040404; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
/* clip-path schneidet zuverlässig rund zu: Safari lässt bei overflow + border-radius animierte (eigene Ebenen) Kinder
   sonst als eckigen Block über den Rahmen ragen. Die Bildschirme runden sich zusätzlich selbst ab. */
.show .device__screen { position: relative; height: 100%; overflow: hidden; border-radius: 45px; clip-path: inset(0 round 45px); background: #0f0e0d; isolation: isolate; }
.show .device__status {
  position: absolute; inset: 0 0 auto; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  height: 44px; padding: 3px 22px 0 28px;
  color: #fff;
  font: 600 12.5px/1 var(--sans);
  letter-spacing: -0.01em;
  transition: color 0.45s 0.15s;
}
.show .device[data-tone="light"] .device__status { color: #141210; }
.show .device__island { position: absolute; left: 50%; top: 10px; width: 80px; height: 24px; margin-left: -40px; border-radius: 999px; background: #000; }
.show .device__icons { display: flex; align-items: center; gap: 5px; }
.show .ic-sig { width: 15px; height: 10px; background: linear-gradient(currentColor 0 0) 0 100% / 3px 40% no-repeat, linear-gradient(currentColor 0 0) 4px 100% / 3px 60% no-repeat, linear-gradient(currentColor 0 0) 8px 100% / 3px 80% no-repeat, linear-gradient(currentColor 0 0) 100% 100% / 3px 100% no-repeat; }
.show .ic-bat { position: relative; width: 22px; height: 11px; border: 1.2px solid currentColor; border-radius: 3.5px; opacity: 0.9; }
.show .ic-bat::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 1.5px; background: currentColor; }
/* Home-Strich passt sich wie am echten Gerät dem Inhalt darunter an (hell auf dunkel, dunkel auf hell) */
.show .device__home { position: absolute; left: 50%; bottom: 7px; z-index: 26; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: #fff; opacity: 0.88; mix-blend-mode: difference; }
.show .device__glare {
  position: absolute; inset: 0; z-index: 30;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 22%, transparent 36%);
  pointer-events: none;
}

/* Bildschirme: Der neue legt sich von oben über den alten (blendet ein und wächst leicht auf volle Größe),
   der alte bleibt stehen, bis er verdeckt ist. So wird der Bildschirm beim Wechsel nie dunkel.
   Jeder Bildschirm ist eine eigene Ebene unter Statusleiste (40) und Home-Strich. */
.show .scr { position: absolute; inset: 0; z-index: 1; overflow: hidden; border-radius: inherit; }
.js .show .scr {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: opacity 0.2s linear 0.4s, transform 0s linear 0.6s, visibility 0s linear 0.6s;
}
.js .show .scr.is-on { z-index: 2; opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--out), transform 0.7s var(--out), visibility 0s; }
html:not(.js) .show [data-c]:not([data-c="0"]) { display: none; }
.show .tap { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(18, 16, 14, 0.2); opacity: 0; pointer-events: none; }
@keyframes tap { 0% { opacity: 0; transform: scale(0.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes a-fade-in { from { opacity: 0; } }
@keyframes a-fade-out { from { opacity: 1; } }
@keyframes swap-in { from { opacity: 0; transform: scale(0.94); } }
@keyframes row-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes press { 50% { transform: scale(0.94); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(0.97); } }
/* Tippen: Abdeckung samt Schreibmarke wandert nach rechts und gibt den Text frei */
.show .type { position: relative; display: inline-block; max-width: 100%; overflow: hidden; vertical-align: bottom; white-space: nowrap; }
.show .type__cover { position: absolute; inset: -1px -2px -1px 0; border-left: 1.5px solid currentColor; background: var(--type-bg, #fff); transform: translateX(102%); }
@keyframes type { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* 01 Beleg: Kamera */
.show .scr--cam { background: radial-gradient(120% 70% at 50% 34%, #3a3129 0%, #211c17 50%, #0e0c0a 100%); }
.show .scr--cam::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(98deg, rgba(255, 255, 255, 0.013) 0 2px, transparent 2px 10px); }
.show .cam { position: absolute; inset: 0; }
.show .cam__pill { position: absolute; left: 0; right: 0; top: 54px; z-index: 4; display: grid; justify-items: center; white-space: nowrap; }
.show .cam__pill > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); color: #fff; font: 500 11px/1 var(--sans); }
.show .cam__a { opacity: 0; }
.show .cam__b i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.show .rcpt {
  position: absolute; left: 0; right: 0; top: 96px;
  width: 184px;
  margin: 0 auto;
  padding: 16px 15px;
  background: linear-gradient(180deg, #fbf8f1, #f0eadf);
  color: #2b2722;
  font: 500 9px/1.55 var(--mono);
  box-shadow: 0 22px 34px -14px rgba(0, 0, 0, 0.8), 0 2px 0 rgba(0, 0, 0, 0.25);
}
.show .rcpt p { margin: 0; }
.show .rcpt hr { margin: 7px 0; border: 0; border-top: 1px dashed rgba(43, 39, 34, 0.35); }
.show .rcpt__h { margin-top: 6px !important; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-align: center; }
.show .rcpt__s { color: rgba(43, 39, 34, 0.62); text-align: center; }
.show .rcpt__r { display: flex; justify-content: space-between; gap: 8px; }
.show .rcpt__sum { margin: 15px 0 3px !important; font-size: 10.5px; font-weight: 700; text-align: center; }
.show .rcpt__d { margin-top: 16px !important; text-align: center; }
/* Lesekante der KI: eine feine Linie läuft einmal über den Beleg (bis zur Unterkante), jedes Feld leuchtet auf, wenn sie es erreicht */
.show .rcpt::after { content: ""; position: absolute; left: -8px; right: -8px; top: 0; height: 2px; border-radius: 1px; background: #5fd598; box-shadow: 0 0 10px 1px rgba(70, 196, 131, 0.55); opacity: 0; pointer-events: none; }
/* Erkannte Felder: Rahmen und Schild sind eigene Ebenen, die nur ein- und ausgeblendet werden */
.show .fld { position: relative; display: inline-block; }
.show .fld::before { content: ""; position: absolute; inset: -2px -4px; border: 1.5px solid #2ea062; border-radius: 4px; background: rgba(70, 196, 131, 0.13); }
.show .fld::after {
  content: attr(data-tag);
  position: absolute; right: -6px; top: -15px;
  padding: 2px 5px;
  border-radius: 4px;
  background: #2ea062;
  color: #fff;
  font: 600 9px/1 var(--sans);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.show .cam__frame { position: absolute; left: 50%; top: 82px; width: 216px; height: 240px; margin-left: -108px; }
.show .cam__frame i { position: absolute; width: 22px; height: 22px; border: 2.5px solid #fff; }
.show .cam__frame i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.show .cam__frame i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.show .cam__frame i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.show .cam__frame i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.show .cam__shutter { position: absolute; left: 50%; bottom: 34px; width: 58px; height: 58px; margin-left: -29px; border: 3px solid rgba(255, 255, 255, 0.9); border-radius: 50%; }
.show .cam__shutter i { position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.show .cam__flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.show .cam__dim { position: absolute; inset: 0; z-index: 5; background: rgba(8, 7, 6, 0.42); pointer-events: none; }
.show .sheet {
  position: absolute; left: 7px; right: 7px; bottom: 7px; z-index: 6;
  padding: 8px 16px 18px;
  border-radius: 36px;
  background: #f8f5ef;
  color: var(--ink);
  box-shadow: 0 -20px 44px -14px rgba(0, 0, 0, 0.55);
}
.show .sheet__grab { display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: rgba(18, 16, 14, 0.16); }
.show .sheet__title { display: grid; grid-template-columns: 28px 1fr; column-gap: 9px; align-items: center; margin-bottom: 10px; }
.show .sheet__ic { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; }
.show .sheet__ic svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.show .sheet__title b { font: 600 13px/1.15 var(--sans); letter-spacing: -0.015em; }
.show .sheet__title small { color: var(--ink-muted); font-size: 9.5px; line-height: 1.2; }
.show .sheet__rows { margin: 0; }
.show .sheet__rows div { display: flex; justify-content: space-between; gap: 10px; padding: 6.5px 0; border-top: 1px solid rgba(18, 16, 14, 0.08); font-size: 11px; }
.show .sheet__rows dt { color: var(--ink-muted); }
.show .sheet__rows dd { margin: 0; font-weight: 600; }
.show .sheet__btn { position: relative; display: grid; margin-top: 10px; }
.show .sheet__btn > span:not(.tap) { grid-area: 1 / 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 11px; border-radius: 14px; font: 600 11.5px/1 var(--sans); }
.show .sheet__btn-a { background: var(--ink); color: #fff; opacity: 0; }
.show .sheet__btn-b { background: var(--ok-soft); color: var(--ok-ink); }
.show .sheet__btn-b svg { width: 13px; height: 13px; stroke-width: 2.6; }
.show .sheet__btn .tap { background: rgba(255, 255, 255, 0.35); }

/* Ablauf (Kapiteldauer 9 s): Beleg ins Bild › erkannt › Foto › KI liest › Ergebnis prüfen › abgelegt */
.show .scr--cam.is-play .rcpt { animation: rcpt-in 0.9s var(--out) 0.35s both; }
.show .scr--cam.is-play .cam__frame { animation: frame-in 0.5s var(--out) 1.15s both; }
.show .scr--cam.is-play .cam__a { animation: a-fade-out 0.2s ease-out 1.4s both; }
.show .scr--cam.is-play .cam__b { animation: swap-in 0.35s var(--out) 1.55s both; }
.show .scr--cam.is-play .cam__shutter i { animation: press 0.3s ease-out 1.95s both; }
.show .scr--cam.is-play .cam__flash { animation: flash 0.5s ease-out 2.05s both; }
.show .scr--cam.is-play .rcpt::after { animation: scan 1.1s ease-in-out 2.35s both; }
.show .scr--cam.is-play .fld::before, .show .scr--cam.is-play .fld::after { animation: fld-in 0.35s var(--out) both; animation-delay: inherit; }
.show .scr--cam.is-play .rcpt__h .fld { animation-delay: 2.6s; }
.show .scr--cam.is-play .rcpt__sum .fld { animation-delay: 3s; }
.show .scr--cam.is-play .rcpt__d .fld { animation-delay: 3.2s; }
.show .scr--cam.is-play .cam__dim { animation: a-fade-in 0.5s ease-out 3.7s both; }
.show .scr--cam.is-play .sheet { animation: sheet-up 0.8s var(--out) 3.7s both; }
.show .scr--cam.is-play .sheet__rows div { animation: row-in 0.45s var(--out) both; }
.show .scr--cam.is-play .sheet__rows div:nth-child(1) { animation-delay: 4s; }
.show .scr--cam.is-play .sheet__rows div:nth-child(2) { animation-delay: 4.07s; }
.show .scr--cam.is-play .sheet__rows div:nth-child(3) { animation-delay: 4.14s; }
.show .scr--cam.is-play .sheet__rows div:nth-child(4) { animation-delay: 4.21s; }
.show .scr--cam.is-play .sheet__rows div:nth-child(5) { animation-delay: 4.28s; }
.show .scr--cam.is-play .sheet__btn .tap { animation: tap 0.55s ease-out 5.05s both; }
.show .scr--cam.is-play .sheet__btn-a { animation: a-fade-out 0.2s ease-out 5.2s both; }
.show .scr--cam.is-play .sheet__btn-b { animation: swap-in 0.35s var(--out) 5.3s both; }
@keyframes rcpt-in { from { opacity: 0; transform: translateY(72px) rotate(-7deg) scale(0.94); } }
@keyframes frame-in { from { opacity: 0; transform: scale(1.14); } }
@keyframes fld-in { from { opacity: 0; transform: scale(0.88); } }
@keyframes flash { 0% { opacity: 0; } 20% { opacity: 0.4; } 100% { opacity: 0; } }
@keyframes scan { 0% { opacity: 0; transform: translateY(0); } 10%, 88% { opacity: 1; } 100% { opacity: 0; transform: translateY(210px); } }
@keyframes sheet-up { from { transform: translateY(106%); } }

/* 02 Eigene Auftrags-App */
.show .scr--job { --k-acc: #1f5f6b; padding-top: 44px; background: #f3f0ea; color: var(--ink); }
.show .jb__logo { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--k-acc); color: #fff; font: 700 14px/1 var(--sans); }
.show .jb__top { display: flex; align-items: center; gap: 9px; padding: 8px 16px 0; }
.show .jb__top p { display: grid; gap: 2px; margin-right: auto; line-height: 1.2; }
.show .jb__top b { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.show .jb__top p span { color: var(--ink-muted); font-size: 9.5px; }
.show .jb__me { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e0dace; color: var(--ink-muted); font: 600 10px/1 var(--sans); }
/* Die Mitteilung (50-123 px, Ecken 20 px) deckt Kopf (Logo ab 52 px) und „Heute“ (Grundlinie 118 px) ganz ab: nichts lugt hervor */
.show .jb__title { padding: 12px 16px 16px; font: 650 28px/1 var(--sans); letter-spacing: -0.045em; }
.show .jb__list { display: grid; gap: 8px; padding: 0 12px; }
/* Kartenhöhe = Inhalt, damit Status-Pillen und Unterlängen nicht abgeschnitten werden; push-down = Höhe + Abstand */
.show .job { position: relative; display: grid; align-content: start; gap: 3px; height: 114px; padding: 10px 13px 11px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(18, 16, 14, 0.06), 0 8px 18px -12px rgba(18, 16, 14, 0.25); }
.show .job--new { z-index: 2; }
.show .job--c { height: 80px; }
.show .job__meta { display: flex; justify-content: space-between; align-items: center; color: var(--ink-muted); font: 500 9.5px/1 var(--sans); }
.show .job__badge { padding: 3px 7px; border-radius: 999px; background: rgba(31, 95, 107, 0.11); color: var(--k-acc); font-weight: 600; }
.show .job__time { color: var(--ink); font-weight: 650; font-size: 10.5px; }
.show .job__state { padding: 3px 7px; border-radius: 999px; background: #efeae1; }
.show .job__title { margin-top: 3px; font: 650 14px/1.15 var(--sans); letter-spacing: -0.02em; }
.show .job__who { color: var(--ink-muted); font-size: 10.5px; }
.show .job__act { position: relative; display: grid; margin-top: 6px; }
.show .job__act > span:not(.tap) { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 10px; border-radius: 10px; font: 600 10.5px/1 var(--sans); }
.show .job__btn { background: var(--k-acc); color: #fff; opacity: 0; }
.show .job__btn--dark { background: var(--ink); }
.show .job__ok { background: var(--ok-soft); color: var(--ok-ink); }
.show .job__ok svg { width: 12px; height: 12px; stroke-width: 2.8; }
.show .job__act .tap { background: rgba(255, 255, 255, 0.4); }
.show .job--b { opacity: 0.62; }
/* Mitteilung wie in einer echten App: unter der Statusleiste, voll deckend. Der Rahmen .jb__note schneidet
   an der Unterkante der Statusleiste ab, so verschwindet die Mitteilung nach oben unter die Leiste. */
.show .jb__note { position: absolute; left: 0; right: 0; top: 44px; z-index: 5; height: 108px; overflow: hidden; pointer-events: none; }
.show .jb__banner {
  position: absolute; left: 8px; right: 8px; top: 6px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 20px;
  background: #fcfaf6;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(18, 16, 14, 0.06);
  opacity: 0;
  transform: translateY(-115%);
}
.show .jb__banner p { display: grid; gap: 2px; min-width: 0; }
.show .jb__banner small { color: var(--ink-muted); font-size: 9px; }
.show .jb__banner b { font-size: 11.5px; font-weight: 600; }
.show .jb__banner span:not(.jb__logo) { color: var(--ink-muted); font-size: 10px; }
.show .jb__toast {
  position: absolute; left: 12px; right: 12px; bottom: 74px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: 16px;
  background: #1a1816;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9.5px;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.6);
}
.show .jb__toast-ic { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #0b2a19; }
.show .jb__toast-ic svg { width: 12px; height: 12px; stroke-width: 3; }
.show .jb__toast > span:last-child { display: grid; gap: 2px; }
.show .jb__toast b { color: #fff; font-size: 11.5px; font-weight: 600; }
.show .jb__tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 9px 10px 24px; border-top: 1px solid rgba(18, 16, 14, 0.07); background: rgba(250, 248, 244, 0.96); }
.show .jb__tabs span { display: grid; justify-items: center; gap: 3px; color: #a29b8f; font: 500 9px/1 var(--sans); }
.show .jb__tabs svg { width: 18px; height: 18px; }
.show .jb__tabs .is-on { color: var(--k-acc); }

/* Ablauf (Kapiteldauer 8,2 s): Mitteilung › neue Karte › Termin bestätigt › Auftrag abgeschlossen › Rechnung */
.show .scr--job.is-play .jb__banner { animation: banner 2.2s linear 0.3s both; }
.show .scr--job.is-play .job--c { animation: push-down 0.6s var(--out) 1.85s both; }
.show .scr--job.is-play .job--new { animation: drop-in 0.55s var(--out) 2s both; }
.show .scr--job.is-play .job--new .tap { animation: tap 0.55s ease-out 3s both; }
.show .scr--job.is-play .job--new .job__btn { animation: a-fade-out 0.2s ease-out 3.15s both; }
.show .scr--job.is-play .job--new .job__ok { animation: swap-in 0.35s var(--out) 3.25s both; }
.show .scr--job.is-play .job--b { animation: push-down 0.6s var(--out) 1.85s both, done-dim 0.4s ease-out 4.6s both; }
.show .scr--job.is-play .job--b .tap { animation: tap 0.55s ease-out 4.1s both; }
.show .scr--job.is-play .job--b .job__btn { animation: a-fade-out 0.2s ease-out 4.25s both; }
.show .scr--job.is-play .job--b .job__ok { animation: swap-in 0.35s var(--out) 4.35s both; }
.show .scr--job.is-play .jb__toast { animation: toast-in 0.55s var(--out) 5.1s both; }
@keyframes banner {
  0% { opacity: 1; transform: translateY(-115%); animation-timing-function: var(--out); }
  22% { opacity: 1; transform: none; }
  78% { opacity: 1; transform: none; animation-timing-function: cubic-bezier(0.55, 0, 0.75, 0.2); }
  99.9% { opacity: 1; transform: translateY(-115%); }
  100% { opacity: 0; transform: translateY(-115%); }
}
@keyframes drop-in { from { opacity: 0; transform: translateY(-14px) scale(0.96); } }
@keyframes push-down { from { transform: translateY(-122px); } }
@keyframes done-dim { from { opacity: 1; } }

/* 03 Website: suchen, finden, anfragen */
.show .scr--web { --type-bg: #f1efea; background: #fff; color: #1d1c1a; }
.show .srch { position: absolute; inset: 0; padding: 50px 12px 0; background: #fff; }
.show .srch__bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 999px; background: #f1efea; font-size: 11.5px; }
.show .srch__bar svg { flex: none; width: 13px; height: 13px; color: var(--ink-muted); stroke-width: 2; }
.show .srch__res { display: grid; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.show .srch__res li { position: relative; display: grid; gap: 5px; padding: 12px; border-radius: 14px; }
.show .srch__res li i { display: block; height: 5px; border-radius: 3px; background: rgba(18, 16, 14, 0.09); }
.show .srch__res li i.s { width: 58%; }
.show .srch__res .srch__hit { background: #faf8f4; box-shadow: 0 0 0 1px rgba(18, 16, 14, 0.07); }
.show .srch__site { display: flex; align-items: center; gap: 8px; color: var(--ink-muted); font-size: 9.5px; }
.show .srch__site > span:last-child { display: grid; gap: 1px; }
.show .srch__site b { color: var(--ink); font-size: 10.5px; font-weight: 600; }
.show .srch__fav { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--m-acc); color: #fff; font: 600 9px/1 var(--sans); }
.show .srch__t { color: var(--m-acc); font: 500 14px/1.2 var(--m-font); letter-spacing: -0.01em; }
.show .srch__d { color: var(--ink-muted); font-size: 10px; line-height: 1.45; }
.show .srch__hit .tap { background: rgba(31, 58, 46, 0.18); }

.show .site { position: absolute; inset: 0; padding-top: 44px; background: #fff; box-shadow: -18px 0 40px -20px rgba(0, 0, 0, 0.35); }
.show .site__url { position: relative; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 5px; margin: 4px 12px 0; padding: 8px; border-radius: 12px; background: #f1efea; color: #3a3833; font: 500 10.5px/1 var(--sans); }
.show .site__url svg { width: 10px; height: 10px; stroke-width: 2.4; }
.show .site__view { position: absolute; left: 0; right: 0; top: 84px; bottom: 0; overflow: hidden; }
.show .site__page { transform: translateY(var(--scroll, -214px)); }
.show .site__nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 12px; font: 600 15px/1 var(--m-font); letter-spacing: -0.01em; }
.show .site__nav span { display: grid; gap: 4px; }
.show .site__nav i { width: 16px; height: 1.5px; background: currentColor; }
.show .site__hero { position: relative; height: 176px; overflow: hidden; }
.show .site__hero img { width: 100%; height: 100%; object-fit: cover; }
.show .site__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 72%); }
.show .site__hero p { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 6px; color: #fff; }
.show .site__hero small { font: 500 9px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; }
.show .site__hero b { font: 500 20px/1.05 var(--m-font); letter-spacing: -0.02em; }
.show .site__intro { padding: 14px 16px 0; color: #5f5a52; font-size: 10.5px; line-height: 1.45; }
.show .site__form { position: relative; display: grid; gap: 8px; margin: 14px 12px 0; padding: 13px; border-radius: 16px; background: var(--m-bg); }
.show .site__form-title { font: 600 14px/1 var(--m-font); }
.show .site__field { display: grid; gap: 4px; padding: 8px 10px; border-radius: 9px; background: #fff; font-size: 11px; --type-bg: #fff; }
.show .site__field small { color: #7d766b; font-size: 9px; letter-spacing: 0.01em; }
.show .site__photos { display: flex; align-items: center; gap: 5px; color: #6a6459; font-size: 9.5px; }
.show .site__photos i { width: 26px; height: 26px; border-radius: 6px; background: url("../img/holzwerk-detail-xs.webp") center / cover; }
.show .site__photos i + i { background-image: url("../img/holzwerk-kitchen-xs.webp"); }
.show .site__photos span { margin-left: 4px; }
.show .site__send { position: relative; display: grid; }
.show .site__send > span:not(.tap) { grid-area: 1 / 1; display: flex; justify-content: center; align-items: center; gap: 6px; padding: 10px; border-radius: 10px; font: 600 11px/1 var(--sans); }
.show .site__send-a { background: var(--m-acc2); color: #fff; opacity: 0; }
.show .site__send-b { background: var(--m-acc); color: #fff; }
.show .site__send svg { width: 13px; height: 13px; stroke-width: 2.6; }
.show .site__send .tap { background: rgba(255, 255, 255, 0.4); }
.show .site__more { padding: 18px 16px 8px; font: 600 13px/1 var(--m-font); }
.show .site__works { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 12px; }
.show .site__works img { width: 100%; height: 92px; object-fit: cover; border-radius: 10px; }
.show .site__thanks {
  position: absolute; left: 12px; right: 12px; bottom: 20px; z-index: 3;
  display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--m-acc);
  color: #fff;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.5);
}
.show .site__thanks > span { grid-row: span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.show .site__thanks svg { width: 14px; height: 14px; stroke-width: 2.6; }
.show .site__thanks b { font: 600 12.5px/1.2 var(--m-font); }
.show .site__thanks small { font-size: 10px; opacity: 0.8; }

/* Ablauf (Kapiteldauer 9,4 s): suchen › Treffer › Website › Anfrage tippen › senden › Danke */
.show .scr--web.is-play .srch__bar .type__cover { animation: type 0.7s steps(19, end) 0.3s both; }
.show .scr--web.is-play .srch__res li { animation: row-in 0.4s var(--out) both; }
.show .scr--web.is-play .srch__res li:nth-child(1) { animation-delay: 1.05s; }
.show .scr--web.is-play .srch__res li:nth-child(2) { animation-delay: 1.15s; }
.show .scr--web.is-play .srch__res li:nth-child(3) { animation-delay: 1.25s; }
.show .scr--web.is-play .srch__hit .tap { animation: tap 0.55s ease-out 1.7s both; }
.show .scr--web.is-play .srch { animation: view-out 0.6s var(--io) 1.95s both; }
.show .scr--web.is-play .site { animation: view-in 0.6s var(--io) 1.95s both; }
.show .scr--web.is-play .site__page { animation: page-scroll 1s var(--io) 2.85s both; }
.show .scr--web.is-play .site__field .type__cover { animation: type 1s steps(34, end) 3.9s both; }
.show .scr--web.is-play .site__photos i { animation: swap-in 0.35s var(--out) both; }
.show .scr--web.is-play .site__photos i:nth-child(1) { animation-delay: 4.95s; }
.show .scr--web.is-play .site__photos i:nth-child(2) { animation-delay: 5.05s; }
.show .scr--web.is-play .site__photos span { animation: a-fade-in 0.3s ease-out 5.1s both; }
.show .scr--web.is-play .site__send .tap { animation: tap 0.55s ease-out 5.35s both; }
.show .scr--web.is-play .site__send-a { animation: a-fade-out 0.2s ease-out 5.5s both; }
.show .scr--web.is-play .site__send-b { animation: swap-in 0.35s var(--out) 5.6s both; }
.show .scr--web.is-play .site__thanks { animation: toast-in 0.55s var(--out) 5.8s both; }
.show .srch { opacity: 0; transform: translateX(-28%); }
@keyframes view-out { from { opacity: 1; transform: none; } }
@keyframes view-in { from { transform: translateX(100%); } }
@keyframes page-scroll { from { transform: translateY(0); } }

/* Begleitkarten: Desktop-Fenster aus dem Betrieb. 300 px breit, 20 px Luft zum Handy (left 320 px):
   nichts verdeckt die App. Grundgrößen ab 12 px, damit die Schrift auch auf Laptops (Bühne ca. 0,75-fach) lesbar bleibt.
   Wechsel im Takt der Bildschirme: die alte blendet mit ihnen aus, die neue kommt kurz nach dem neuen Bildschirm. */
.show .sat {
  position: absolute; left: 0; bottom: 96px; z-index: 3;
  width: 300px;
}
.js .show .sat { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.3s var(--out), transform 0.4s var(--out), visibility 0s linear 0.4s; }
.js .show .sat.is-on { opacity: 1; visibility: visible; transform: none; transition: none; }
.show .sat__in {
  padding: 13px 14px 14px;
  border: 1px solid rgba(240, 235, 225, 0.12);
  border-radius: 20px;
  background: #161513;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 36px 64px -28px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(0, 0, 0, 0.55);
}
.show .sat.is-play .sat__in { animation: sat-in 0.7s var(--out) 0.3s both; }
@keyframes sat-in { from { opacity: 0; transform: translateY(16px); } }
.show .sat__bar { display: flex; align-items: center; gap: 8px; margin: 0 0 11px; color: var(--muted); font-size: 12px; line-height: 1.2; }
.show .sat__bar > svg { width: 14px; height: 14px; }
.show .sat__dots { display: flex; gap: 4px; margin-right: 4px; }
.show .sat__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.show .sat__list { position: relative; display: grid; margin: 0; padding: 0; overflow: hidden; list-style: none; border-top: 1px solid var(--line); }
.show .sat__list li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.show .sat__foot { display: grid; margin-top: 12px; font-size: 12.5px; line-height: 1.25; }
.show .sat__foot > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 8px; }
.show .sat__wait { color: var(--muted); opacity: 0; }
.show .sat__wait i { flex: none; width: 18px; height: 18px; border: 1.5px dashed var(--line-2); border-radius: 50%; }
.show .sat__done { color: var(--text); }
.show .sat__ok { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #0b2a19; }
.show .sat__ok svg { width: 11px; height: 11px; stroke-width: 3.2; }
.show .sat__live { flex: none; width: 8px; height: 8px; margin: 0 2px 0 4px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }

.show .files li { height: 36px; padding: 0 8px; color: var(--muted); font: 400 12px/1 var(--mono); }
.show .files li svg { flex: none; width: 14px; height: 14px; color: var(--muted); }
.show .files li span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.show .files .is-new { border-radius: 8px; background: rgba(240, 235, 225, 0.08); color: var(--text); }
.show .files .is-new svg { color: var(--text); }
.show .sat--files.is-play li:not(.is-new) { animation: list-push 0.55s var(--out) 5.45s both; }
.show .sat--files.is-play .is-new { animation: new-in 0.5s var(--out) 5.55s both; }
.show .sat--files.is-play .sat__wait { animation: a-fade-out 0.2s ease-out 5.9s both; }
.show .sat--files.is-play .sat__done { animation: row-in 0.45s var(--out) 6s both; }
@keyframes list-push { from { transform: translateY(-36px); } }
@keyframes new-in { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }

/* Kanban im Büro: deckende Karten, die bewegte Karte liegt oben, Bewegungen nacheinander.
   Spalten bei x 0 / 93 / 186, Kartenplätze bei x 5 / 98 / 191 und y 28 / 72 / 116. */
.show .kb { position: relative; height: 160px; }
.show .kb__col { position: absolute; top: 0; bottom: 0; width: 86px; padding: 8px 0 0 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.035); }
.show .kb__col:nth-child(1) { left: 0; }
.show .kb__col:nth-child(2) { left: 93px; }
.show .kb__col:nth-child(3) { left: 186px; }
.show .kb__col span { display: block; color: var(--muted); font: 500 12px/1 var(--sans); }
.show .kb__card {
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; align-content: center; gap: 4px;
  width: 76px; height: 38px; padding: 0 8px;
  border-radius: 8px;
  background: #2a2825;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.8);
  font-size: 12px;
}
.show .kb__card b { font-weight: 600; line-height: 1; }
.show .kb__card small { color: var(--muted); font-size: 12px; line-height: 1; }
/* Endlage der Karten; die Keyframes erzählen den Weg (Anfrage › Geplant › Erledigt) */
.show .kb--yil { transform: translate(5px, 28px); }
.show .kb--mue { transform: translate(98px, 28px); }
.show .kb--lang { transform: translate(191px, 28px); }
.show .kb--hof { z-index: 3; transform: translate(191px, 72px); }
.show .kb--brandt { z-index: 2; transform: translate(98px, 72px); background: var(--text); color: var(--ink); }
.show .kb--brandt small { color: var(--ink-muted); }
.show .sat--office.is-play .kb__card { animation: 5.6s linear both; }
.show .sat--office.is-play .kb--brandt { animation-name: kb-brandt; }
.show .sat--office.is-play .kb--hof { animation-name: kb-hof; }
.show .sat--office.is-play .kb--mue { animation-name: kb-mue; }
/* Gleichlauf mit dem Handy: neue Anfrage (ca. 2 s), Termin bestätigt (3,2 s), Auftrag abgeschlossen (4,3 s) */
@keyframes kb-brandt {
  0%, 34% { opacity: 0; transform: translate(5px, 72px) scale(0.9); animation-timing-function: var(--out); }
  41% { opacity: 1; transform: translate(5px, 72px); }
  57% { transform: translate(5px, 72px); animation-timing-function: var(--io); }
  61% { transform: translate(5px, 116px); animation-timing-function: var(--io); }
  66% { transform: translate(98px, 116px); }
  85% { transform: translate(98px, 116px); animation-timing-function: var(--io); }
  93%, 100% { transform: translate(98px, 72px); }
}
@keyframes kb-hof { 0%, 77% { transform: translate(98px, 28px); animation-timing-function: var(--io); } 85%, 100% { transform: translate(191px, 72px); } }
@keyframes kb-mue { 0%, 85% { transform: translate(98px, 72px); animation-timing-function: var(--io); } 93%, 100% { transform: translate(98px, 28px); } }

.show .inbox li { gap: 10px; height: 50px; padding: 0 8px; }
.show .inbox__av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--muted); font: 600 12px/1 var(--sans); }
.show .inbox p { display: grid; gap: 4px; min-width: 0; margin-right: auto; }
.show .inbox b { overflow: hidden; color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.show .inbox p span { overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.show .inbox time { flex: none; color: var(--muted); font: 400 12px/1 var(--mono); }
.show .inbox .is-new { border-radius: 8px; background: rgba(240, 235, 225, 0.08); }
.show .inbox .is-new .inbox__av { background: var(--text); color: var(--ink); }
.show .inbox .is-new b { color: var(--text); font-weight: 600; }
.show .inbox .is-new time { color: var(--ok); }
.show .sat--inbox.is-play li:not(.is-new) { animation: inbox-push 0.55s var(--out) 6s both; }
.show .sat--inbox.is-play .is-new { animation: new-in 0.5s var(--out) 6.1s both; }
.show .sat--inbox.is-play .sat__wait { animation: a-fade-out 0.2s ease-out 6.45s both; }
.show .sat--inbox.is-play .sat__done { animation: row-in 0.45s var(--out) 6.55s both; }
@keyframes inbox-push { from { transform: translateY(-50px); } }

/* Steuerung unter der Bühne: Kapitel mit Fortschritt */
.show__ui { display: grid; gap: 12px; max-width: calc(var(--sw) * var(--kfit) * 1px); margin: 6px auto 0; container-type: inline-size; }
.show__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.show__tabs button {
  position: relative;
  display: flex; align-items: baseline; gap: 8px;
  min-height: 44px;
  padding: 16px 2px 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 13.5px/1.25 var(--sans);
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}
.show__num { font: 400 10.5px/1 var(--mono); }
.show__tabs button:hover, .show__tabs button[aria-pressed="true"] { color: var(--text); }
.show__tabs button:focus-visible { outline-offset: 2px; }
.show__bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; overflow: hidden; border-radius: 2px; background: var(--line-2); }
.show__bar::after { content: ""; position: absolute; inset: 0; background: var(--text); transform: scaleX(0); transform-origin: left; }
.show__tabs [aria-pressed="true"] .show__bar::after { transform: none; }
.show.is-auto .is-run .show__bar::after { animation: fill var(--dur, 9s) linear both; }
@keyframes fill { from { transform: scaleX(0); } }
html:not(.js) .show__tabs { display: none; }

/* Schrittfolge: was Sie tun › was von selbst passiert › Ergebnis. Erreichte Schritte hell, kommende gedimmt.
   Gleiche Kapitel-Uhr wie die Bildschirme (Keyframes mit Verzögerung, pausieren mit .is-paused).
   Alle drei Folgen liegen in einer Rasterzelle: Die Höhe springt beim Kapitelwechsel nicht. */
.show__foot { display: grid; gap: 4px; }
.show__steps { display: grid; min-width: 0; }
.show__seq {
  grid-area: 1 / 1;
  display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px;
  margin: 0; padding: 0;
  list-style: none;
  color: var(--text);
  font: 450 14.5px/1.45 var(--sans);
  letter-spacing: -0.012em;
}
/* Pfeil am Ende des Schritts: Bricht die Zeile um, steht er am Zeilenende statt am Anfang der nächsten */
.show__seq li { display: inline-flex; align-items: center; white-space: nowrap; }
.show__seq li:not(:last-child)::after {
  content: "";
  flex: none;
  width: 16px; height: 10px; margin: 0 11px;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h13.5M10.5 1.5 14.5 5l-4 3.5'/%3E%3C/svg%3E") center / 16px 10px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5h13.5M10.5 1.5 14.5 5l-4 3.5'/%3E%3C/svg%3E") center / 16px 10px no-repeat;
}
.js .show__seq { opacity: 0; visibility: hidden; transition: opacity 0.2s ease-out, visibility 0s linear 0.2s; }
.js .show__seq.is-on { opacity: 1; visibility: visible; transition: opacity 0.4s var(--out) 0.15s, visibility 0s; }
.show__seq.is-play li { animation: step-on 0.5s var(--out) both; }
.show__seq[data-c="0"].is-play li:nth-child(1) { animation-delay: 0.35s; }
.show__seq[data-c="0"].is-play li:nth-child(2) { animation-delay: 2.35s; }
.show__seq[data-c="0"].is-play li:nth-child(3) { animation-delay: 5.25s; }
.show__seq[data-c="1"].is-play li:nth-child(1) { animation-delay: 0.3s; }
.show__seq[data-c="1"].is-play li:nth-child(2) { animation-delay: 3.2s; }
.show__seq[data-c="1"].is-play li:nth-child(3) { animation-delay: 5.1s; }
.show__seq[data-c="2"].is-play li:nth-child(1) { animation-delay: 1.05s; }
.show__seq[data-c="2"].is-play li:nth-child(2) { animation-delay: 3.9s; }
.show__seq[data-c="2"].is-play li:nth-child(3) { animation-delay: 6.1s; }
/* Kommende Schritte halb gedimmt (Kontrast noch 4,5:1), erreichte voll */
@keyframes step-on { from { opacity: 0.5; } }
.show__note { flex: none; color: var(--dim); font: 400 12px/1.5 var(--mono); }
/* Schmale Steuerung: kurze Kapitelnamen */
@container (max-width: 560px) {
  .show__long { display: none; }
}

/* =========================================================
   Drei Bereiche: oben ein großes Bild dessen, was man bekommt, darunter Titel, ein Satz, Stichworte.
   Alle drei Bilder gleich hoch, gleicher Innenabstand, gleiches Licht mit leiser Tönung je Bereich (wie im Hero).
   Alles in echter Größe gelayoutet (kein scale), damit Schrift und Bildschirmfotos scharf bleiben.
   Auftritt einmalig mit .is-in (main.js), Dauerbewegung nur mit .is-live (sichtbar, agency.js).
   Endzustand = Grundzustand: ohne JS und bei reduzierter Bewegung steht alles fertig da.
   ========================================================= */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.area {
  position: relative;
  display: flex; flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-2);
  color: var(--text);
  text-decoration: none;
}
.js .area.is-in { transition: border-color 0.4s, opacity 1s var(--ease-out), transform 0.6s var(--out); }
/* Alle drei Kacheln gleich und ruhig, ohne farbige Tönung. */
.area__visual {
  position: relative;
  height: 340px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #181715, #121110 70%);
  container-type: inline-size;
  contain: paint;
}
.area__label {
  position: absolute; left: 24px; top: 22px; z-index: 5;
  display: grid; gap: 6px;
  color: var(--muted);
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.area__label span { color: var(--dim); font: 400 12.5px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.area__num { position: absolute; right: 24px; top: 17px; z-index: 5; color: var(--dim); font: 500 1.7rem/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.area__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2.2vw, 30px); container-type: inline-size; }
.area h3 { font-size: clamp(1.8rem, 2.3vw, 2rem); letter-spacing: -0.045em; line-height: 1.02; }
.area__body > p { color: var(--muted); font-size: 15.5px; line-height: 1.6; }
/* Stichworte in zwei bündigen Spalten, breit in einer Reihe, sehr schmal untereinander. Ein Stichwort bricht nie in sich um. */
.area__list { display: grid; grid-template-columns: repeat(2, max-content); gap: 9px 16px; margin: auto 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.area__list li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.area__list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
@container (min-width: 620px) { .area__list { grid-template-columns: repeat(4, max-content); column-gap: 22px; } }
@container (max-width: 295px) { .area__list { grid-template-columns: 1fr; row-gap: 8px; } }
.area__more { display: inline-flex; align-items: center; gap: 8px; padding-top: 6px; font-size: 14.5px; font-weight: 500; transition: gap 0.3s var(--out); }
.area__more svg { width: 16px; height: 16px; stroke-width: 2; }
@media (hover: hover) and (pointer: fine) {
  .area:hover { border-color: var(--line-2); transform: translateY(-4px); }
  .area:hover .area__more { gap: 13px; }
}
.area:active { transform: scale(0.99); }

/* 01 Eingang › KI › erledigt: vier Zeilen, beim ersten Sichtbarwerden nacheinander, danach Ruhe.
   Die Zeilen haben keine eigene Box: Eingänge, Funken und Ergebnisse stehen in drei gemeinsamen Spalten,
   die Eingangsspalte ist so breit wie der längste Eingang. */
.chain {
  position: absolute; left: 0; right: 0; top: 54px; bottom: 0;
  display: grid; grid-template-columns: auto 46px minmax(0, 1fr); grid-auto-rows: minmax(46px, auto);
  align-content: center; align-items: center; row-gap: 10px;
  max-width: 430px; margin: 0 auto; padding: 0 24px;
  list-style: none;
}
.chain li { --t: 0.15s; display: contents; }
.chain li:nth-child(2) { --t: 0.4s; }
.chain li:nth-child(3) { --t: 0.65s; }
.chain li:nth-child(4) { --t: 0.9s; }
.chain__in { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 9px; align-items: center; min-width: 0; padding-right: 8px; }
.chain__in svg { grid-row: span 2; width: 16px; height: 16px; color: var(--dim); }
.chain__in b { color: var(--muted); font-size: 12.5px; font-weight: 400; line-height: 1.3; }
.chain__in small { overflow: hidden; color: var(--dim); font: 400 10.5px/1.3 var(--mono); white-space: nowrap; text-overflow: ellipsis; }
/* Verbindung: links grau, rechts grün, in der Mitte der Funke */
.chain__ai { position: relative; display: grid; place-items: center; align-self: stretch; }
.chain__ai::before, .chain__ai::after { content: ""; position: absolute; top: 50%; width: calc(50% - 11px); height: 1px; }
.chain__ai::before { left: 0; background: linear-gradient(90deg, rgba(240, 235, 225, 0.06), rgba(240, 235, 225, 0.3)); }
.chain__ai::after { right: 0; background: linear-gradient(90deg, rgba(240, 235, 225, 0.3), rgba(70, 196, 131, 0.6)); }
.chain__ai i { position: relative; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 160, 0.2), rgba(255, 214, 160, 0)); color: #f6e7cf; }
.chain__ai svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.chain__out {
  display: flex; align-items: center; gap: 9px;
  min-height: 40px; padding: 7px 12px;
  border-radius: 12px;
  background: rgba(240, 235, 225, 0.055);
  box-shadow: inset 0 0 0 1px rgba(240, 235, 225, 0.08);
  font-size: 12.5px; font-weight: 500; line-height: 1.25; letter-spacing: -0.005em;
}
.chain__out i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.chain__out svg { width: 11px; height: 11px; stroke-width: 2.8; }
.js .area--auto:not(.is-in) :is(.chain__ai, .chain__out) { opacity: 0; }
/* Die Eingänge stehen schon da, wenn die Karte einblendet (das Bild ist nie leer). Je Zeile laufen nur
   Funke und Ergebnis, Zeile für Zeile; nach gut 1,7 s steht alles (wenige bewegte Teile, flüssig auch auf schwachen Handys) */
.area--auto.is-in .chain__ai { animation: chain-spark 0.45s var(--out) var(--t) backwards; }
.area--auto.is-in .chain__out { animation: chain-out 0.55s var(--out) calc(var(--t) + 0.25s) backwards; }
@keyframes chain-spark { from { opacity: 0; transform: scale(0.4); } }
@keyframes chain-out { from { opacity: 0; transform: translateX(-14px); } }

/* 02 Echte App BauLog: drei Handys gestaffelt, das vordere gerade. Beim Auftritt fächern die hinteren aus,
   beim Drüberfahren öffnet sich der Fächer etwas weiter. */
.fan { --fx: 92px; position: absolute; inset: 0; }
/* Rahmen als border, damit der Bildschirm (overflow) sauber im Kreisbogen beschnitten wird. Die Bildschirmfotos
   beginnen direkt mit dem App-Kopf: darüber ein Streifen in der App-Farbe (Hintergrund) mit Kamera-Insel,
   damit der Kopf nicht in der runden Ecke klebt und es wie ein echtes Handy wirkt. */
.fan__phone {
  position: absolute; left: 50%; top: 78px; z-index: 2;
  width: 150px; margin-left: -75px;
  overflow: hidden;
  border: 5px solid #0c0b0a;
  border-radius: 29px;
  background: #f1f0ec; /* Hintergrundfarbe der Beispiel-App (app-case.css) */
  box-shadow: 0 0 0 1px rgba(240, 235, 225, 0.16), 0 24px 40px -20px rgba(0, 0, 0, 0.9);
  transition: translate 0.7s var(--out), rotate 0.7s var(--out);
}
.fan__phone img { width: 100%; height: auto; margin-top: 16px; }
.fan__phone::before { content: ""; position: absolute; left: 50%; top: 4px; z-index: 1; width: 36px; height: 10px; margin-left: -18px; border-radius: 999px; background: #0c0b0a; }
.fan__phone--l, .fan__phone--r { top: 108px; z-index: 1; width: 132px; margin-left: -66px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(240, 235, 225, 0.1), 0 24px 40px -20px rgba(0, 0, 0, 0.9); }
.fan__phone--l img, .fan__phone--r img { margin-top: 14px; }
.fan__phone--l::before, .fan__phone--r::before { top: 3px; width: 32px; height: 9px; margin-left: -16px; }
.fan__phone--l::after, .fan__phone--r::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(14, 13, 12, 0.3), rgba(14, 13, 12, 0.62)); }
.fan__phone--l { translate: calc(var(--fx) * -1) 0; rotate: -5deg; }
.fan__phone--r { translate: var(--fx) 0; rotate: 5deg; }
.js .area--soft:not(.is-in) :is(.fan__phone--l, .fan__phone--r) { opacity: 0; }
.area--soft.is-in :is(.fan__phone--l, .fan__phone--r) { animation: fan-side 1.1s var(--out) 0.45s backwards; }
@keyframes fan-side { from { opacity: 0; translate: 0 16px; rotate: 0deg; } }
@media (hover: hover) and (pointer: fine) {
  .area--soft:hover .fan__phone--c { translate: 0 -6px; }
  .area--soft:hover .fan__phone--l { translate: calc(var(--fx) * -1 - 14px) 2px; rotate: -8deg; }
  .area--soft:hover .fan__phone--r { translate: calc(var(--fx) + 14px) 2px; rotate: 8deg; }
}

/* 03 Konzeptentwürfe: Browser mit Holzwerk Brenner hinten, Handy vorn; dessen Bildschirm wechselt
   durch vier andere Entwürfe (jedes Bild blendet über das vorige, nur solange sichtbar). Kein eigener Auftritt:
   Die Karte blendet als Ganzes ein, Bewegung kommt vom Bildwechsel.
   Gruppe senkrecht mittig unter dem Label: --pw/--ph = Handy außen, das Handy sitzt 6 px tiefer als der Browser. */
.pair { --pw: 112px; --ph: 232px; --top: calc(50% + 27px - (var(--ph) + 6px) / 2); position: absolute; inset: 0; max-width: 400px; margin: 0 auto; }
.pair__browser {
  position: absolute; left: 24px; top: var(--top);
  width: calc(100% - 100px);
  overflow: hidden;
  border-radius: 12px;
  background: #1c1b19;
  box-shadow: inset 0 0 0 1px rgba(240, 235, 225, 0.1), 0 24px 40px -22px rgba(0, 0, 0, 0.9);
  transition: translate 0.7s var(--out);
}
.pair__bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.4); background: #24221f; }
.pair__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(240, 235, 225, 0.18); }
.pair__bar span { margin-left: 10px; padding: 3px 10px; border-radius: 5px; background: rgba(240, 235, 225, 0.06); color: var(--dim); font: 400 8.5px/1 var(--mono); white-space: nowrap; }
.pair__browser img { width: 100%; height: auto; }
.pair__phone {
  position: absolute; right: 24px; top: calc(var(--top) + 6px); z-index: 2;
  width: var(--pw);
  padding: 4px;
  border-radius: 22px;
  background: #0c0b0a;
  box-shadow: inset 0 0 0 1px rgba(240, 235, 225, 0.16), -12px 20px 32px -14px rgba(0, 0, 0, 0.9);
  transition: translate 0.7s var(--out);
}
.pair__screen { position: relative; height: calc(var(--ph) - 8px); overflow: hidden; border-radius: 18px; background: #1c1b19; clip-path: inset(0 round 18px); isolation: isolate; }
.pair__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pair__screen img + img { opacity: 0; }
.js .pair__screen img:nth-child(2) { animation: shot-2 14s infinite paused; }
.js .pair__screen img:nth-child(3) { animation: shot-3 14s infinite paused; }
.js .pair__screen img:nth-child(4) { animation: shot-4 14s infinite paused; }
.js .is-live .pair__screen img { animation-play-state: running; }
@keyframes shot-2 { 0%, 21% { opacity: 0; animation-timing-function: ease-in-out; } 25%, 50% { opacity: 1; } 50.1%, 100% { opacity: 0; } }
@keyframes shot-3 { 0%, 46% { opacity: 0; animation-timing-function: ease-in-out; } 50%, 75% { opacity: 1; } 75.1%, 100% { opacity: 0; } }
@keyframes shot-4 { 0%, 71% { opacity: 0; animation-timing-function: ease-in-out; } 75%, 96% { opacity: 1; animation-timing-function: ease-in-out; } 100% { opacity: 0; } }
@media (hover: hover) and (pointer: fine) {
  .area--web:hover .pair__browser { translate: -6px 0; }
  .area--web:hover .pair__phone { translate: 0 -8px; }
}

/* Breite, flache Bilder (gestapelte Karten auf kleinen Tablets): Kompositionen in die Breite ziehen statt
   eine kleine Gruppe in der Mitte. Der Browser wird breiter, aber nicht höher (unten beschnitten, im Foto). */
@container (min-width: 540px) {
  .chain { max-width: 500px; grid-template-columns: auto 64px minmax(0, 1fr); }
  .fan { --fx: 118px; }
  .pair { max-width: 460px; }
  .pair__browser img { height: 188px; object-fit: cover; object-position: top; }
}
/* Schmale Bilder (Handy, Dreierreihe knapp über 1180 px): Kompositionen etwas enger */
@container (max-width: 370px) {
  .area__label { left: 18px; top: 20px; }
  .area__num { right: 18px; top: 15px; }
  .chain { grid-template-columns: auto 38px minmax(0, 1fr); padding: 0 18px; }
  .chain__in { grid-template-columns: 14px minmax(0, 1fr); column-gap: 7px; padding-right: 6px; }
  .chain__in svg { width: 14px; height: 14px; }
  .chain__in b, .chain__out { font-size: 12px; }
  .chain__out { gap: 8px; padding: 8px 10px; }
  .fan { --fx: 84px; }
  .pair__browser { left: 18px; width: calc(100% - 86px); }
  .pair__phone { right: 18px; }
}
@container (max-width: 345px) {
  .chain { grid-template-columns: auto 34px minmax(0, 1fr); }
  .chain__in { display: block; }
  .chain__in svg { display: none; }
  .chain__in b, .chain__in small { display: block; }
  .fan { --fx: 76px; }
  .area__visual .pair { --pw: 100px; --ph: 208px; }
}
@container (max-width: 300px) {
  .area__label { left: 14px; }
  .area__num { right: 14px; }
  .chain { grid-template-columns: auto 26px minmax(0, 1fr); padding: 0 12px 0 14px; }
  .chain__in { padding-right: 4px; }
  .chain__in b, .chain__out { font-size: 11.5px; }
  .chain__out { gap: 6px; padding: 7px 8px; }
  .chain__out i { width: 16px; height: 16px; }
  .fan__phone { width: 136px; margin-left: -68px; }
  .fan__phone--l, .fan__phone--r { width: 118px; margin-left: -59px; }
  .fan { --fx: 66px; }
  .pair__browser { left: 14px; width: calc(100% - 74px); }
  .pair__phone { right: 14px; }
}

/* Mittlere Breiten: Karte quer, Bild links, Text daneben senkrecht mittig (die Stichworte folgen direkt dem Satz,
   unten bündig ausrichten bringt hier nichts, weil die Karten untereinander stehen). Handy: gestapelt. */
@media (max-width: 1180px) {
  .areas { grid-template-columns: 1fr; }
  .pair { --pw: 104px; --ph: 216px; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .area { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
  .area__visual { height: auto; min-height: 320px; border-right: 1px solid var(--line); border-bottom: 0; }
  .area__body { justify-content: center; }
  .area__list { margin-top: 6px; }
}
@media (max-width: 760px) {
  .area__visual { height: 310px; }
}
/* Sehr schmal stehen die Stichworte untereinander; dafür das Bild etwas flacher, damit die Seite nicht länger wird */
@media (max-width: 374px) {
  .area__visual { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .pair__screen img + img { animation: none !important; }
}

/* =========================================================
   Kurzer Check mit KI
   ========================================================= */
.picker-sec { margin-top: 0; border-radius: 44px; }
.picker { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.picker__left { display: grid; gap: 22px; }
.picker__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; border: 0; }
.picker__options label { position: relative; cursor: pointer; }
.picker__options input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.picker__options span {
  display: flex; align-items: flex-start; gap: 13px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: var(--paper-card);
  font-size: 15.5px; font-weight: 500; line-height: 1.38; letter-spacing: -0.012em;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.16s ease-out;
}
.picker__options span::before {
  content: "";
  flex: none;
  width: 20px; height: 20px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  background: center / 12px no-repeat;
  transition: background-color 0.2s, border-color 0.2s;
}
@media (hover: hover) and (pointer: fine) { .picker__options label:hover span { border-color: var(--ink); } }
.picker__options label:active span { transform: scale(0.98); }
.picker__options input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.picker__options input:checked + span::before {
  border-color: var(--paper);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312100e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.picker__options input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.picker__ask { display: grid; gap: 10px; padding: 20px; border: 1px dashed rgba(18, 16, 14, 0.28); border-radius: 22px; }
.picker__ask label { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 500; letter-spacing: -0.012em; }
.picker__ask label svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.picker__ask-row { display: flex; gap: 8px; }
.picker__ask input {
  flex: 1; min-width: 0;
  padding: 15px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-card);
  color: var(--ink);
  font-size: 15.5px;
  transition: border-color 0.25s;
}
.picker__ask input::placeholder { color: rgba(93, 86, 76, 0.75); }
.picker__ask input:focus { outline: none; border-color: var(--ink); }
.picker__ask button { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; transition: transform 0.16s ease-out, opacity 0.2s; }
.picker__ask button:active { transform: scale(0.95); }
.picker__ask button[disabled] { opacity: 0.5; cursor: progress; }
.picker__ask button svg { width: 20px; height: 20px; stroke-width: 2; }
/* Firmenwissen-Vorführung: während des Schreibens gesperrt, Fokus bleibt auf der Frage */
.kdemo__asks button[aria-disabled="true"] { cursor: progress; }

.picker__result {
  --text: #f0ebe1; --muted: #a39d92; --dim: #88837a; --line: rgba(240, 235, 225, 0.12); --on-text: #12100e;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: 28px;
  background: var(--bg);
  color: var(--text);
  box-shadow: 0 50px 90px -50px rgba(18, 16, 14, 0.7);
}
.picker__count { color: var(--dim); font: 400 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.picker__count span { color: var(--text); }
.picker__empty { color: var(--muted); font-size: 15.5px; }
.picker__result.has-items .picker__empty { display: none; }
.picker__list { display: grid; margin: 0; padding: 0; list-style: none; }
.picker__list li { padding: 14px 0; border-top: 1px solid var(--line); animation: a-pop 0.45s var(--out) both; }
.picker__list b { display: block; font-size: 16px; font-weight: 500; letter-spacing: -0.015em; }
.picker__list p { margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.picker__list a { display: inline-block; margin-top: 6px; color: var(--text); font-size: 13px; text-underline-offset: 3px; }
.picker__list .is-ai { position: relative; margin-bottom: 4px; padding: 16px 16px 14px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, 0.03); }
.picker__ai-label { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; color: var(--dim); font: 400 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.picker__ai-label svg { width: 12px; height: 12px; fill: var(--text); stroke: none; }
.picker__ai-q { color: var(--text); font-size: 14px; }
.picker__ai-a { min-height: 1.5em; }
.picker__ai-a .typing { position: static; opacity: 1; animation: none; }
.picker__ai-meta { margin-top: 8px; color: var(--dim); font: 400 10.5px/1.5 var(--mono); }
.picker__ai-link { display: inline-flex !important; align-items: center; gap: 6px; margin-top: 10px !important; padding: 9px 14px; border-radius: 999px; background: var(--text); color: var(--ink) !important; font-weight: 500; text-decoration: none; }
.picker__ai-link svg { width: 14px; height: 14px; stroke-width: 2.2; }
.picker__go { margin-top: 6px; }
.picker__go[disabled] { opacity: 0.35; cursor: not-allowed; }
.picker__fine { color: var(--dim); font: 400 12px/1.5 var(--mono); }
@media (max-width: 640px) {
  .a-hero__promise, .area__body > p, .area__list { font-size: 16px; }
  .area__list { grid-template-columns: 1fr; }
  .picker__ask input, .picker__ask label, .picker__empty,
  .picker__list p:not(.picker__ai-label):not(.picker__ai-meta),
  .picker__fine, body .road > li > p, body .road__list li, body .small-start p, body .letter-hello { font-size: 16px; }
  .picker__list a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; }
}
@keyframes a-pop { from { opacity: 0; transform: translateY(6px); } }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: a-blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes a-blink { 0%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* =========================================================
   Ablauf
   ========================================================= */
.process--solo { margin-top: 0; padding-bottom: clamp(100px, 12vw, 170px); border-radius: 44px; }
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.road > li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); }
.road__num { color: var(--dim); font: 500 2rem/1 var(--sans); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.road__meta { color: var(--muted); font: 400 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.road h3 { margin-top: 8px; font-size: 1.5rem; letter-spacing: -0.035em; }
.road > li > p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.road .road__hl { border-color: var(--text); background: var(--text); color: var(--ink); }
.road__hl .road__num { color: rgba(18, 16, 14, 0.4); }
.road__hl .road__meta { color: var(--ink); }
.road__hl > p { color: var(--ink-muted) !important; }
.road__list { display: grid; margin: 2px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(18, 16, 14, 0.12); }
.road__list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(18, 16, 14, 0.12); color: var(--ink); font-size: 14.5px; line-height: 1.35; }
.road__list svg { flex: none; width: 15px; height: 15px; stroke-width: 2.2; }
.small-start { display: flex; justify-content: space-between; align-items: center; gap: 20px 36px; margin-top: 18px; padding: 22px 26px; border: 1px dashed var(--line-2); border-radius: 22px; }
.small-start p { max-width: 46em; color: var(--muted); font-size: 15.5px; }
.small-start b { color: var(--text); font-weight: 500; }
.small-start--note { margin-top: 26px; padding: 0; border: 0; }
.small-start ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.small-start li { padding: 8px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); font-size: 13px; white-space: nowrap; }

.letter-hello { max-width: 26em; padding: 2px 0 2px 16px; border-left: 2px solid var(--text); color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.letter-hello[hidden] { display: none; }
.letter-hello b { color: var(--text); font-weight: 500; }

/* =========================================================
   Responsiv
   ========================================================= */
@media (max-width: 1180px) {
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .a-hero { min-height: 0; padding: 112px 0 36px; }
  .a-hero__grid { grid-template-columns: 1fr; gap: 48px; }
}
/* Niedrige Laptop-Bildschirme: etwas weniger Luft über der Bühne, damit Bühne, Reiter und Hinweis ins Bild passen */
@media (min-width: 861px) and (max-height: 820px) {
  .a-hero { padding-top: 92px; }
}

@media (max-width: 960px) {
  .picker { grid-template-columns: 1fr; }
  .small-start { flex-direction: column; align-items: flex-start; }
}

/* Handy: nur das Gerät, ohne Begleitkarten; Kapitelnamen kurz */
/* Bühne bis 0,9-fach, auf niedrigen Bildschirmen kleiner (nie unter 0,8): Handy, Reiter, Schrittfolge und Hinweis
   passen unter die Kopfzeile (230 px für Kopfzeile und Steuerung; Ersatzrechnung in agency.js) */
@media (max-width: 600px) {
  .show { --sw: 320; --sh: 628; --kmax: 0.9; --kfit: min(var(--kmax), max(0.8, tan(atan2(calc(100svh - 230px), calc(var(--sh) * 1px))))); }
  .show .device { left: 12px; top: 4px; }
  .show__ring { left: 160px; top: 314px; width: 430px; height: 430px; margin: -215px 0 0 -215px; }
  .show__tint { left: 160px; top: 314px; width: 640px; height: 640px; margin: -320px 0 0 -320px; }
  .show .sat { display: none; }
  .show__ui { max-width: none; margin-top: 4px; }
  .show__tabs { gap: 8px; }
  .show__tabs button { flex-direction: column; gap: 6px; padding-top: 14px; font-size: 13px; }
  .show__seq { font-size: 14px; }
}

@media (max-width: 640px) {
  .a-hero__title { font-size: clamp(3rem, 14vw, 4.3rem); }
  .a-hero__promise { flex-direction: column; }
  .footer__nav { flex-wrap: wrap; row-gap: 32px; }
  .picker__options { grid-template-columns: 1fr; }
  .picker__ask { padding: 16px; }
  .road { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .js .show .scr, .js .show .sat { transform: none; }
}

/* ---------- Erklärfilm „Feierabend“ unter dem Hero ---------- */
/* Wie ein Videoplayer: Klick ins Bild = Play/Pause, großer Knopf in der Mitte, Fortschritt am unteren Rand, Zeit darunter.
   Zustand steht in .film__screen[data-state]: idle | playing | paused | ended */
.film { padding: clamp(8px, 2vw, 24px) 0 0; }
.film--page { padding-bottom: clamp(24px, 4vw, 56px); }   /* Unterseiten: Abstand zur nächsten Sektion */
.film__frame { margin: 0 auto; max-width: 1120px; }
.film__screen {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-2);
  background: var(--paper); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
/* Standbild unter den Videos: die Videos haben kein poster und bleiben durchsichtig, bis ihr erstes Bild da ist */
.film__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film__video { position: relative; display: block; width: 100%; height: auto; }
.film__video--wide { aspect-ratio: 16 / 9; }
.film__video--tall { display: none; aspect-ratio: 4 / 5; }
.film__ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* der Knopf in der Mitte (deckt das ganze Bild ab, damit jeder Klick ins Video zählt) */
.film__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  border: 0; padding: 0; background: transparent; color: var(--text); cursor: pointer; font: 500 15px/1 var(--sans);
}
.film__play:focus-visible { outline: none; }
.film__play:focus-visible .film__play-disc { outline: 2px solid var(--text); outline-offset: 4px; }
.film__play-disc {
  display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%;
  background: rgba(11, 10, 9, 0.78); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.film__play .film__ic { width: 34px; height: 34px; grid-area: 1 / 1; }
.film__play .film__ic--play { fill: currentColor; stroke-width: 1.5; }
.film__play-label {
  padding: 8px 14px; border-radius: 999px; background: rgba(11, 10, 9, 0.78);
  transition: opacity .25s var(--ease);
}
.film__play .film__ic--pause, .film__play .film__ic--again { display: none; }
.film__screen[data-state="ended"] .film__ic--play { display: none; }
.film__screen[data-state="ended"] .film__ic--again { display: block; }
/* läuft der Film: Knopf und Text aus, beim Drüberfahren erscheint „Pause“ */
.film__screen[data-state="playing"] .film__ic--play { display: none; }
.film__screen[data-state="playing"] .film__ic--pause { display: block; }
.film__screen[data-state="playing"] .film__play-disc { opacity: 0; transform: scale(0.92); }
.film__screen[data-state="playing"] .film__play-label { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .film__screen[data-state="playing"]:hover .film__play-disc { opacity: 1; transform: none; }
}
.film__screen[data-state="playing"] .film__play:focus-visible .film__play-disc { opacity: 1; transform: none; }
.film__play:active .film__play-disc { transform: scale(0.95); }

/* Fortschritt am unteren Rand des Bilds */
.film__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(11, 10, 9, 0.45); pointer-events: none; }
.film__progress-fill { display: block; height: 100%; width: 100%; background: var(--text); transform-origin: left; transform: scaleX(0); }

.film__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.film__time { color: var(--text); font: 500 13px/1.5 var(--mono); font-variant-numeric: tabular-nums; }
.film__note { color: var(--muted); font: 400 12px/1.5 var(--mono); }

/* Ton-Knopf oben rechts auf dem Video (die Bildtexte des Films sitzen unten): deutlich, solange der Film stumm läuft; danach klein */
.film__sound {
  position: absolute; right: 16px; top: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 20px 0 16px; border: 0; border-radius: 999px;
  background: rgba(11, 10, 9, 0.82); color: var(--text); font: 500 15px/1 var(--sans); cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.film__sound[hidden] { display: none; }
.film__sound:hover { background: rgba(11, 10, 9, 0.92); }
.film__sound:active { transform: scale(0.97); }
.film__sound:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.film__sound .film__ic { width: 20px; height: 20px; }
.film__sound .film__ic--on, .film__sound[aria-pressed="true"] .film__ic--off { display: none; }
.film__sound[aria-pressed="true"] .film__ic--on { display: block; }
.film__sound[aria-pressed="true"] { min-height: 40px; padding: 0 14px 0 12px; font-size: 13px; background: rgba(11, 10, 9, 0.6); }
@media (max-width: 700px) {
  .film__screen { border-radius: 18px; }
  .film__sound { right: 10px; top: 10px; min-height: 44px; padding: 0 16px 0 12px; font-size: 14px; }
  .film__sound[aria-pressed="true"] { min-height: 44px; }
  .film__video--wide { display: none; }
  .film__video--tall { display: block; }
  .film__play-disc { width: 72px; height: 72px; }
  .film__play .film__ic { width: 28px; height: 28px; }
}

/* =========================================================
   Handy: weniger Text. Füllsätze, Doppeltes und Erklärungen, die Überschrift oder Bild schon tragen,
   fallen bis 640 px weg (.m-hide); wo nötig steht dort eine kürzere Fassung (.m-only). Desktop bleibt unverändert.
   ========================================================= */
@media (min-width: 641px) {
  .m-only { display: none !important; }
}
@media (max-width: 640px) {
  .m-hide { display: none !important; }
  .areas .area__list,
  .uc__list li p,
  .sw-parts__list li p,
  .sw-ki li span,
  .bundle__list li p span,
  .footer__claim { display: none; }
}
