/* =====================================================================
   Webstein Studio – Gestaltung „Apple-clean“ (30.10.2026)
   Das Telefon, groß: echte Bildschirme der eigenen Arbeit.
   Weiß, Apple-Grau, fast Schwarz, ein Blau für die Hauptaktion.
   Schrift ist die des Geräts (SF Pro auf iPhone und Mac): kein Download.
   ===================================================================== */

:root {
  /* Schrift: eine Familie */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", sans-serif;

  /* Fünf Größen, keine weitere */
  --step-small:   0.875rem;                                     /* 14px */
  --step-body:    clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);    /* 17–19px */
  --step-lead:    clamp(1.3125rem, 1.1rem + 0.7vw, 1.75rem);    /* 21–28px */
  --step-head:    clamp(2.25rem, 1.3rem + 3.1vw, 4.5rem);       /* 36–72px */
  --step-display: clamp(5rem, 0.4rem + 13vw, 12rem);            /* 80–192px */

  --track-display: -0.03em;  --lh-display: 0.92;
  --track-head:    -0.022em; --lh-head: 1.07;
  --track-lead:    -0.012em; --lh-lead: 1.22;
  --track-body:    -0.01em;  --lh-body: 1.47;
  --lh-small: 1.43;
  --w-text: 400; --w-ui: 500; --w-head: 600;

  /* Farbrollen */
  --bg: #ffffff;
  --surface: #f5f5f7;
  --surface-2: #e8e8ed;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --rule: #d2d2d7;           /* nur in Tabellenzeilen und Formularfeldern */
  --accent: #0071e3;
  --accent-hover: #0062c3;
  --accent-ink: #ffffff;
  --accent-on-dark: #2997ff;

  --dark: #000000;
  --dark-2: #1d1d1f;
  --dark-3: #2c2c2e;
  --dark-ink: #f5f5f7;
  --dark-muted: #a1a1a6;

  /* Felder: jede Farbe nur in ihrem eigenen Kapitel */
  --field-anstrich: #000000;
  --app-chemie: #1d2740;
  --app-abios: #2f3f9e;
  --app-wsw: #1f6b55;
  --app-meisterwerk: #b34f17;
  --field-ink: #ffffff;
  --field-action: #ffffff;

  --ok: #248a3d; --warn: #c93400; --bad: #d70015;

  /* Form */
  --radius: 18px;
  --pill: 999px;
  --phone-r: 13% / 6%;
  --screen-r: 11.6% / 5.35%;
  --icon-r: 22.4%;

  /* Raum: 4px-Raster */
  --m: max(clamp(20px, 2.2vw, 32px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --gutter: clamp(12px, 1.6vw, 24px);
  --gap: clamp(80px, 3rem + 5vw, 144px);
  --nav-h: 52px;
  --page-max: 1920px;

  /* Bewegung */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-soft:   cubic-bezier(0.33, 1, 0.68, 1);
  --spring: linear(0, 0.071, 0.224, 0.396, 0.555, 0.688, 0.792, 0.868, 0.921, 0.957, 0.979, 0.993, 1, 1.004, 1.005, 1.005, 1.004, 1.003, 1.003, 1.002, 1.001, 1.001, 1, 1, 1);
  --t-press: 140ms; --t-hover: 180ms; --t-ui: 240ms; --t-spring: 620ms;
  --t-reveal: 800ms; --t-open: 1100ms; --t-fade: 1600ms; --t-hold: 5500ms;
  --stagger-line: 90ms; --stagger-item: 70ms;

  color-scheme: only light;
}

/* =====================================================================
   GRUNDLAGEN
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  scrollbar-color: #86868b transparent;
  background: var(--bg);
}
html:has(.hero) { background: var(--surface); }       /* Gummiband über dem Hero */
html:has(.app-hero) { background: var(--app); }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  font-size: var(--step-body); line-height: var(--lh-body); letter-spacing: var(--track-body);
  font-weight: var(--w-text); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto; overflow-x: clip;
}
.h-head { font-size: var(--step-head); line-height: var(--lh-head); letter-spacing: var(--track-head); font-weight: var(--w-head); text-wrap: balance; hyphens: manual; margin: 0; }
.h-lead { font-size: var(--step-lead); line-height: var(--lh-lead); letter-spacing: var(--track-lead); font-weight: var(--w-head); text-wrap: balance; margin: 0; }
.lead   { font-size: var(--step-lead); line-height: 1.3; letter-spacing: var(--track-lead); font-weight: var(--w-text); text-wrap: pretty; }
.small  { font-size: var(--step-small); line-height: var(--lh-small); letter-spacing: 0; }
.tnum   { font-variant-numeric: tabular-nums; }
p { max-width: 62ch; text-wrap: pretty; }
strong, b { font-weight: var(--w-head); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[data-tone="dark"] :focus-visible, .chapter :focus-visible, .app-hero :focus-visible { outline-color: var(--accent-on-dark); }
input, textarea, select { font: inherit; font-size: max(16px, var(--step-body)); caret-color: var(--accent); color: inherit; }
a, button, [role="tab"], summary, label, select { touch-action: manipulation; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.07em; }
.wrap { padding-inline: var(--m); max-width: var(--page-max); margin-inline: auto; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#contact-form, #check-result { scroll-margin-top: calc(var(--nav-h) + 20px); }

/* Der eine Knopf: eine Pille ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--pill);
  background: var(--accent); color: var(--accent-ink); font-size: var(--step-body); font-weight: var(--w-ui);
  line-height: 1.1; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, opacity 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn.ink   { background: var(--ink); color: var(--bg); }
.btn.light { background: var(--field-action); color: var(--ink); }
.btn.sm    { position: relative; min-height: 36px; padding: 0 16px; font-size: var(--step-small); }
.btn.sm::after { content: ""; position: absolute; inset: -4px -2px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.arr { width: 0.85em; height: 0.85em; flex: none; transition: transform var(--t-ui) var(--ease-out); }
.link { color: inherit; font-weight: var(--w-ui); text-decoration: underline; text-decoration-color: transparent;
        transition: text-decoration-color var(--t-hover) ease, opacity 200ms ease; padding-block: 10px; margin-block: -10px; }
.link .arr { display: inline-block; vertical-align: -0.1em; margin-left: 0.2em; }
.text-btn { font-weight: var(--w-ui); min-height: 44px; padding: 0 12px; margin-right: -12px; display: inline-flex; align-items: center; }

/* Das Telefon: schlichter Rahmen, der echte Bildschirm darin ----------- */
.phone { aspect-ratio: 660 / 1434; background: #0b0b0b; padding: 1.5%; border-radius: var(--phone-r); }
.phone img, .phone video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--screen-r); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: var(--screen-r); overflow: clip; background: #0b0b0b; }
/* Überblendung ohne Abdunkeln: das neue Bild blendet über dem alten ein, das alte geht erst, wenn es verdeckt ist */
.phone .screen img { position: absolute; inset: 0; border-radius: 0; opacity: 0; transition: opacity 0s linear var(--t-fade); }
.phone .screen img.is-on { opacity: 1; z-index: 1; transition: opacity var(--t-fade) ease; }
.phone.film-ratio { aspect-ratio: 480 / 854; border-radius: 13% / 7.3%; }
.phone.film-ratio video { border-radius: 11.6% / 6.5%; }

/* =====================================================================
   NAVIGATION – eine feste Leiste in der Farbe dessen, was darunter liegt
   (Safari 26+ färbt die Statusleiste danach)
   ===================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--m) 0;
  background: var(--nav-bg, var(--bg)); color: var(--nav-ink, var(--ink));
  transition: none;   /* sofort: die Leiste wechselt genau dann, wenn die neue Fläche unter ihr ankommt (Safari färbt die Statusleiste danach) */
}
.nav-in { max-width: calc(var(--page-max) - 2 * var(--m)); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: var(--step-body); font-weight: var(--w-head); letter-spacing: -0.015em; white-space: nowrap; }
.nav-brand img { height: 18px; width: auto; transition: none; }
.nav[data-tone="dark"] .nav-brand img { filter: invert(1); }
.nav-links { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); font-size: var(--step-small); }
.nav-links a:not(.btn) { display: inline-block; padding-block: 12px; text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease, opacity 200ms ease; white-space: nowrap; }
.nav-links a[aria-current] { text-decoration-color: currentColor; }
.nav-links .btn { transition: opacity 160ms ease, visibility 0s, background-color var(--t-ui) ease, transform var(--t-press) var(--ease-out); }
.nav-menu { display: none; }

/* nie zwei blaue Knöpfe auf einem Bildschirm. Desktop: die Leiste bleibt, wie sie ist;
   steht ein anderer blauer Knopf im Bild, wird ihr Knopf an derselben Stelle zum stillen Textlink */
@media (min-width: 821px) {
  body.primary-in-view .nav-links .btn, .app-page:not(.past-hero) .nav-links .btn { background: transparent; color: inherit; }
}

/* Menü (Handy): ein weißes Blatt ------------------------------------- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--bg); color: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 24px) var(--m) calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 240ms var(--ease-out), visibility 0s linear 240ms;
}
.menu.open { clip-path: inset(0); visibility: visible; transition: clip-path 400ms var(--ease-drawer); }
.menu-top { position: absolute; top: env(safe-area-inset-top, 0px); left: var(--m); right: var(--m); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; font-size: 17px; font-weight: var(--w-head); letter-spacing: -0.015em; }
.menu-top button { font-size: 17px; font-weight: var(--w-ui); min-height: 44px; padding: 0 12px; margin-right: -12px; }
.menu ul { display: grid; gap: 12px; }
.menu li a { display: block; font-size: var(--step-head); font-weight: var(--w-head); letter-spacing: var(--track-head); line-height: 1.1; text-decoration: none; }
.menu li a span { display: inline-block; opacity: 0; transform: translateY(12px); transition: opacity 360ms var(--ease-out), transform 360ms var(--ease-out); }
.menu.open li a span { opacity: 1; transform: none; }
.menu.open li:nth-child(1) a span { transition-delay: 40ms; }
.menu.open li:nth-child(2) a span { transition-delay: 75ms; }
.menu.open li:nth-child(3) a span { transition-delay: 110ms; }
.menu.open li:nth-child(4) a span { transition-delay: 145ms; }
.menu.open li:nth-child(5) a span { transition-delay: 180ms; }
.menu.open li:nth-child(6) a span { transition-delay: 215ms; }
.menu-foot { display: grid; gap: 16px; }
.menu-contact { display: flex; gap: 28px; font-weight: var(--w-ui); }
.menu-contact a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.menu .btn { width: 100%; min-height: 52px; }

/* =====================================================================
   HERO – das Telefon, so nah, dass der Bildschirmrand es anschneidet
   ===================================================================== */
.hero { position: relative; min-height: max(720px, 100svh); background: var(--surface); overflow: clip; }
.hero-in, .app-hero .hero-in {
  position: absolute; inset: 0; max-width: var(--page-max); margin-inline: auto;
  --cw: calc((100% - 2 * var(--m) - 11 * var(--gutter)) / 12);
  --pw: min(36vw, 520px);
  --pl: calc((var(--cw) * 6 + var(--gutter) * 6 + 100%) / 2 - var(--pw) / 2);   /* linke Kante des Telefons, mittig in Spalten 7–12 */
}
.hero-copy { position: absolute; left: var(--m); width: calc(var(--cw) * 6 + var(--gutter) * 5); inset-block: 0 16%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }   /* mittig um 42 % ohne transform: GSAP bewegt die Zeilen beim Scrollen von 0 aus */
.hero-sub { margin-top: 20px; max-width: 40ch; }
.hero-check { display: inline-block; margin-top: 28px; }
.hero-object { position: absolute; top: calc(var(--nav-h) + 6svh); left: var(--pl); width: var(--pw); }
.hero-object .phone { width: 100%; transform-origin: 50% 0; }
.hero-fact { position: absolute; top: 58%; right: calc(100% - var(--pl) + 24px); text-align: right; max-width: 30ch; }
.hero-fact .fact-txt { display: inline-block; transition: opacity var(--t-ui) ease; }
.hero-fact.swap .fact-txt { opacity: 0; }
.hero-fact a { font-weight: var(--w-ui); }
.hero-fact::after { content: ""; position: absolute; right: -28px; top: calc(0.5lh - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--ink); outline: 3px solid var(--surface); }   /* mittig auf der Rahmenkante des Telefons; der graue Ring trennt den Punkt vom dunklen Rahmen */
.hero-cards { position: absolute; left: var(--m); bottom: 32px; display: flex; gap: 16px; }
.hero-cards li { width: 264px; }
.hero-cards a { display: block; border-radius: var(--radius); overflow: clip; background: var(--bg); text-decoration: none; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; transition: transform var(--t-press) var(--ease-out); }
.card-pic { display: block; aspect-ratio: 3 / 2; overflow: clip; }
.card-pic.top img { object-position: 50% 0; }
.card-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 600ms var(--ease-soft); }
.card-field { background: var(--app-chemie); }
.card-field picture { display: block; height: 100%; }
.card-field img { object-fit: contain; padding: 8px; }
.card-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 14px; font-weight: var(--w-ui); white-space: nowrap; }

/* =====================================================================
   WEBSITE-CHECK – die Adresse wird zur Überschrift
   ===================================================================== */
.check { padding-block: var(--gap); background: var(--bg); }
.check-grid { align-items: end; }
.check-intro { grid-column: 1 / 8; }
.check-intro p { margin-top: 24px; max-width: 46ch; }
.check-note { grid-column: 9 / 13; color: var(--muted); align-self: end; }
.check-form {
  grid-column: 1 / -1; margin-top: 48px; display: flex; align-items: center; gap: 16px;
  height: clamp(88px, 7vw, 112px); padding: 0 12px 0 28px; background: var(--surface); border-radius: var(--radius);
  transition: background-color var(--t-hover) ease;
}
.check-form:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; background: var(--surface-2); }
.check-input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0; outline: none; -webkit-appearance: none; appearance: none;
  font-size: var(--step-head); font-weight: var(--w-head); letter-spacing: var(--track-head); color: var(--ink); }
.check-input::placeholder { color: var(--muted); opacity: 1; }
.check-form .btn { min-height: 56px; padding: 0 28px; }
.check-error { grid-column: 1 / -1; margin-top: 16px; color: var(--bad); font-weight: var(--w-ui); }
.check-result { grid-column: 1 / -1; }
.check-loading { margin-top: 48px; font-size: var(--step-lead); color: var(--muted); }
.check-loading::after { content: "…"; display: inline-block; width: 1.1em; overflow: clip; vertical-align: bottom; white-space: nowrap; }
.check-summary { margin-top: 64px; align-items: end; }
.check-score { grid-column: 1 / 6; font-size: var(--step-display); font-weight: var(--w-head); letter-spacing: var(--track-display); line-height: var(--lh-display); }
.check-score small { font-size: var(--step-lead); font-weight: var(--w-text); letter-spacing: var(--track-lead); color: var(--muted); margin-left: 0.2em; }
.check-verdict { grid-column: 6 / 13; }
.check-verdict p { margin-top: 12px; }
.check-verdict .host { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.check-groups { margin-top: 64px; display: grid; gap: 40px; }
.check-group { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.check-group h4 { grid-column: 1 / 5; }
.check-items { grid-column: 5 / 13; display: grid; gap: 16px; }
.check-item { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; }
.check-item strong { display: block; font-weight: var(--w-ui); }
.check-item span { display: block; color: var(--muted); }
.check-dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; margin-top: 0.15em; }
.check-dot svg { width: 12px; height: 12px; }
.check-dot.ok { background: var(--ok); } .check-dot.warn { background: var(--warn); } .check-dot.bad { background: var(--bad); }
.check-cta { margin-top: 48px; padding: 32px; background: var(--surface); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }

/* =====================================================================
   LEISTUNGEN – Namen in Plakatgröße, Preise rechts
   ===================================================================== */
.services { background: var(--surface); padding-block: var(--gap); }
.svc-list { align-items: start; }
.svc-head { grid-column: 1 / 9; color: var(--muted); line-height: 1; }
.svc { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: first baseline; margin-top: calc(var(--step-head) * 0.35); }
.svc h3 { grid-column: 1 / 9; line-height: 1; transition: color var(--t-hover) ease; }
.svc-body { grid-column: 9 / 13; }
.svc-body p + p { margin-top: 8px; }
.svc-note { grid-column: 9 / 13; margin-top: 48px; margin-bottom: 0; color: var(--muted); }
.svc-note .link { color: var(--ink); }

/* =====================================================================
   REFERENZ – drei Kapitel auf dem Grund der eigenen Aufnahmen
   ===================================================================== */
.ref { background: var(--bg); }
.chapter {
  position: relative; isolation: isolate; min-height: 100svh; color: var(--field-ink); background: var(--field-anstrich);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr) auto;
  column-gap: 32px; row-gap: 24px; padding: calc(var(--nav-h) + 32px) var(--m) 32px;
}
.chapter-title { grid-column: 1 / -1; grid-row: 1; }
.chapter-pic { grid-column: 1 / -1; grid-row: 2; align-self: center; justify-self: stretch; display: flex; justify-content: center; min-width: 0; }
.chapter-pic > * { transform-origin: 50% 50%; }
/* Untergrenzen: in flachen Fenstern (Handy quer) wird das Kapitel höher statt das Bild winzig */
.chapter-desk .frame { width: min(62vw, 1000px, max(440px, (100svh - 380px) * 1.6)); aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: clip; }
.chapter-desk .frame img { width: 100%; height: 100%; object-fit: cover; }
.chapter-phone .phone { height: min(75svh, 720px, max(360px, 100svh - 300px)); width: auto; aspect-ratio: 780 / 1688; flex: none; }
.chapter-text { grid-column: 1; grid-row: 3; align-self: end; max-width: 40ch; }
.chapter-link { grid-column: 2; grid-row: 3; align-self: end; justify-self: end; white-space: nowrap; }

/* =====================================================================
   PREISE – die Zahl, sehr groß
   ===================================================================== */
.pricing { padding-block: var(--gap); background: var(--bg); }
.price-grid { align-items: center; }
.price-side { grid-column: 1 / 5; }
.price-intro { margin-top: 24px; }
.plans-wrap { position: relative; margin-top: 40px; }
.plan-indicator { position: absolute; left: 0; top: 0; width: 100%; height: 64px; background: var(--surface); border-radius: var(--pill); transform: translateY(var(--y, 0px)); transition: transform var(--t-spring) var(--spring), height var(--t-ui) var(--ease-out); pointer-events: none; }
.plans { position: relative; }
.plans button { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; min-height: 64px; padding: 0 20px; border-radius: var(--pill); text-align: left; -webkit-user-select: none; user-select: none; transition: transform var(--t-press) var(--ease-out); }
.plans button::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--surface); opacity: 0; transition: opacity var(--t-hover) ease; z-index: -1; }
.plan-name { font-size: var(--step-lead); font-weight: var(--w-head); letter-spacing: var(--track-lead); line-height: 1.1; }
.plan-price { font-size: var(--step-small); color: var(--muted); white-space: nowrap; }
.stage { grid-column: 6 / 13; container-type: inline-size; }
.stage-inner { transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.stage-inner.swap { opacity: 0; transform: translateY(8px); transition-duration: 160ms; }
.figure { font-size: min(var(--step-display), 19.5cqi); font-weight: var(--w-head); letter-spacing: var(--track-display); line-height: var(--lh-display); white-space: nowrap; font-variant-numeric: tabular-nums; max-width: none; }
.figure .cur { font-size: var(--step-head); vertical-align: 0.82em; margin-left: 0.12em; letter-spacing: 0; }
.figure.is-text .num { font-size: var(--step-head); }
.per { margin-top: 12px; color: var(--muted); max-width: 52ch; }
.incl { margin-top: 24px; display: grid; gap: 6px; }
.stage .btn, .plan-mobile .btn { margin-top: 32px; }
.plan-mobile { display: none; }
.noscript-plans { margin-top: 40px; }
.extras { margin-top: 96px; align-items: start; }
.extras-head { grid-column: 1 / 5; grid-row: 1; }
.extras-head p { margin-top: 12px; color: var(--muted); }
.extras-table { grid-row: 2; margin-top: 48px; width: 100%; border-collapse: collapse; font-size: var(--step-body); }
.extras-table:nth-of-type(1) { grid-column: 1 / 5; }
.extras-table:nth-of-type(2) { grid-column: 5 / 9; }
.extras-table:nth-of-type(3) { grid-column: 9 / 13; }
.extras-table caption { text-align: left; padding-bottom: 12px; }
.extras-table th, .extras-table td { padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.extras-table th { font-weight: var(--w-text); text-align: left; padding-right: 16px; }
.extras-table td { text-align: right; white-space: nowrap; }
.price-note { grid-column: 1 / -1; grid-row: 3; margin-top: 40px; color: var(--muted); max-width: 80ch; }

/* =====================================================================
   APPS – große Namen, fester Rahmen
   ===================================================================== */
.apps { background: var(--dark); color: var(--dark-ink); padding-block: var(--gap); }
.apps-head h2 { grid-column: 1 / 9; }
.apps-head > p { grid-column: 1 / 7; margin-top: 24px; }
.apps-head .apps-store { margin-top: 16px; }
.work-track { margin-top: 48px; align-items: start; }
.work-list { grid-column: 1 / 9; padding-block: 8svh 0; }
.work-list li + li { margin-top: clamp(32px, 7svh, 88px); }
.work-list a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; padding-block: 10px; text-decoration: none; -webkit-touch-callout: none; }
.work-list .name { font-size: var(--step-head); font-weight: var(--w-head); letter-spacing: var(--track-head); line-height: 1; color: var(--dark-muted); transition: color var(--t-hover) ease; }
.work-list a.is-on .name { color: var(--dark-ink); }
.work-list .kind { font-size: var(--step-small); color: var(--dark-muted); }
.wf-inline { display: none; }
.work-stage { grid-column: 9 / 13; position: sticky; top: 15vh; }
.work-frame { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: clip; background: var(--dark-2); }
.wf { position: absolute; inset: 0; background: var(--app); opacity: 0; transition: opacity 0s linear var(--t-ui); }
.wf.is-on { opacity: 1; z-index: 1; transition: opacity var(--t-ui) ease; }
.wf .phone, .wf-inline .phone { position: absolute; left: 50%; top: 8%; height: 84%; width: auto; translate: -50% 0; }
.wf .phone { transform: translateY(4%); transition: transform 600ms var(--ease-expo); }
.wf.is-on .phone { transform: none; }

/* =====================================================================
   ÜBER MICH – eingesetzte Fläche, geformtes Bild
   ===================================================================== */
.about { padding-block: 0 var(--gap); background: var(--dark); }   /* die Fläche steht auf dem Schwarz der Apps, wie Kacheln auf apple.com */
.about-panel {
  position: relative; overflow: clip; max-width: calc(var(--page-max) - 2 * var(--m)); margin-inline: max(var(--m), (100% - var(--page-max)) / 2 + var(--m));
  min-height: clamp(720px, 100svh, 960px); border-radius: var(--radius); background: var(--dark-2); color: var(--dark-ink);
  display: grid; grid-template-columns: 63% minmax(0, 1fr);
}
.about-title { grid-column: 1; padding: 56px; align-self: start; }
.about-copy { grid-column: 2; padding: 56px 56px 72px 0; max-width: calc(340px + 56px); display: grid; align-content: start; gap: 64px; }
.about-block p { margin-top: 12px; }
.about-reach { margin-top: -24px; }
.about-tel { font-size: var(--step-lead); font-weight: var(--w-head); letter-spacing: var(--track-lead); text-decoration: none; }
.about-hint { margin-top: 4px; color: var(--dark-muted); }
.about-reach .btn { margin-top: 24px; }
.about-shape { position: absolute; left: 56px; bottom: calc(-0.2 * min(38vw, 560px)); width: min(38vw, 560px); aspect-ratio: 1; overflow: clip; border-radius: var(--icon-r); background: var(--dark-3); }
.about-shape img { width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   BEWERTUNGEN – Namensblock, Zitatblock
   ===================================================================== */
.reviews { padding-block: var(--gap); background: var(--bg); }
.reviews-grid { margin-top: 48px; }
.review-split { display: grid; grid-template-columns: 5fr 7fr; min-height: 70svh; border-radius: var(--radius); overflow: clip; }
.review-split .who { background: var(--dark-2); color: var(--dark-ink); padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.review-split .who b { font-size: var(--step-lead); letter-spacing: var(--track-lead); line-height: var(--lh-lead); }
.review-split .who span { color: var(--dark-muted); }
.review-split .quote { background: var(--surface); padding: 48px; }
.review-split blockquote { margin-top: 24px; font-size: var(--step-lead); line-height: var(--lh-lead); letter-spacing: var(--track-lead); max-width: 24ch; text-indent: -0.42em; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; color: var(--ink); }
.stars svg.off { color: var(--rule); }
.reviews-more { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gutter); }
.reviews-more blockquote { margin-top: 12px; max-width: 52ch; }
.reviews-more figcaption { margin-top: 12px; font-size: var(--step-small); color: var(--muted); }
.reviews-act { margin-top: 40px; }

/* =====================================================================
   FAQ – breite Überschrift, eingerückte Fragen
   ===================================================================== */
.faq { padding-block: var(--gap); background: var(--surface); }
.faq-title { grid-column: 1 / -1; }
.faq-list { grid-column: 5 / 13; margin-top: 80px; display: grid; gap: 12px; }
.faq-item { padding: 16px min(24px, var(--m)); margin-inline: calc(-1 * min(24px, var(--m))); border-radius: var(--radius); transition: background-color var(--t-hover) ease; }
.faq-item[open] { background: var(--bg); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 56px; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-weight: var(--w-text); }
.chev { width: 24px; height: 24px; flex: none; transition: transform var(--t-ui) var(--ease-out), translate var(--t-hover) var(--ease-out); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-a { padding-top: 12px; }
.faq-a p { max-width: 48ch; }

/* =====================================================================
   KONTAKT – drei Wege, dann der Abschnitt zum Ausfüllen
   ===================================================================== */
.contact { padding-block: var(--gap); background: var(--bg); }
.contact-head { align-items: start; }
.contact-intro { grid-column: 1 / 6; }
.contact-intro p { margin-top: 16px; color: var(--muted); }
.rows { grid-column: 7 / 13; display: grid; gap: 8px; }
.rows a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 16px; min-height: 64px; padding-inline: 20px; margin-inline: -20px; border-radius: var(--pill); text-decoration: none; transition: background-color var(--t-hover) ease; }
.row-main { font-size: var(--step-lead); font-weight: var(--w-head); letter-spacing: var(--track-lead); }
.rows .hint { font-size: var(--step-small); color: var(--muted); text-align: right; }
.rows .arr { width: 20px; height: 20px; }

.coupon {
  grid-column: 2 / 12; margin-top: 96px; position: relative;
  display: grid; grid-template-columns: 46fr 54fr; min-height: calc(min(83vw, 1160px) / 2.2);
  background: var(--dark-2); color: var(--dark-ink); border-radius: var(--radius);
}
.coupon::before, .coupon::after { content: ""; position: absolute; left: calc(46% - 11.5px); width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.coupon::before { top: -14px; }
.coupon::after { bottom: -14px; }
.coupon-head { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.coupon-head p { max-width: 36ch; }
.coupon-head .link { overflow-wrap: anywhere; }
.coupon-form { padding: 48px; border-left: 5px dotted var(--bg); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; display: grid; align-content: start; gap: 2px; min-height: 60px; padding: 10px 16px 8px; border-radius: var(--radius); background: var(--dark-3); transition: background-color var(--t-hover) ease; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: var(--step-small); line-height: var(--lh-small); color: var(--dark-muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; border: 0; background: transparent; color: var(--dark-ink); padding: 2px 0 0; outline: none; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--dark-muted); opacity: 1; }
.field textarea { min-height: 120px; resize: vertical; line-height: var(--lh-body); }
.field select { padding-right: 32px; cursor: pointer; }
.field select option { color: var(--ink); background: var(--bg); }
.sel-chev { position: absolute; right: 16px; bottom: 14px; width: 18px; height: 18px; pointer-events: none; color: var(--dark-muted); }
.field:focus-within { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; background: #3a3a3c; }
.field:has([aria-invalid="true"]) { outline: 2px solid #ff6961; outline-offset: 2px; }
.field input:-webkit-autofill, .field input:-webkit-autofill:hover, .field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--dark-3) inset; -webkit-text-fill-color: var(--dark-ink); caret-color: var(--dark-ink); transition: background-color 99999s; } /* übermalt das Autofill-Gelb, kein Schatten – taste-skill-ignore */
.form-foot { grid-column: 1 / -1; margin-top: 6px; }
.form-foot .btn { width: 100%; min-height: 56px; }
.form-foot p { margin-top: 12px; color: var(--dark-muted); }
.form-success { display: none; }
.form-success.show { display: block; animation: rise-in 400ms var(--ease-out); }
.form-success p { margin-top: 12px; color: var(--dark-ink); }

/* =====================================================================
   FOOTER – Bild-Hälfte, Menü-Hälfte
   ===================================================================== */
.footer { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: min(100svh, 920px); background: var(--surface); color: var(--ink); }
.footer-photo { grid-column: 1 / 7; position: relative; overflow: clip; background: var(--dark-2); }
.foot-phone { position: absolute; right: 14%; top: 10%; width: min(32vw, 470px); transform: rotate(-8deg); }
.footer-menu { grid-column: 7 / 13; display: flex; flex-direction: column; padding: 80px var(--m) 24px calc(100% / 6); }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; text-decoration: none; font-size: var(--step-body); font-weight: var(--w-head); letter-spacing: -0.015em; }
.foot-brand img { height: 18px; width: auto; }
.foot-nav { margin-top: 40px; display: grid; gap: 28px; justify-items: start; }
.foot-nav a { font-size: var(--step-lead); font-weight: var(--w-head); letter-spacing: var(--track-lead); line-height: var(--lh-lead); text-decoration: none; transition: transform var(--t-ui) var(--ease-out), color var(--t-hover) ease, opacity 200ms ease; }
.foot-blocks { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gutter); font-size: var(--step-small); line-height: var(--lh-small); }
.foot-label { color: var(--muted); margin-bottom: 4px; }
.foot-blocks a, .foot-blocks button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding-block: 6px; text-decoration: none; font: inherit; }
/* Finger: jedes Ziel mindestens 44px hoch, egal wie breit das Fenster ist */
@media (pointer: coarse) {
  .foot-nav { gap: 2px; }
  .foot-nav a { padding-block: 9px; }
  .foot-blocks a, .foot-blocks button, .footer-legal a, .footer-legal span { min-height: 44px; }
  .footer-legal span a { padding-block: 13px; margin-block: -13px; }
}
.foot-blocks .arr { width: 12px; height: 12px; }
.footer-legal { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--step-small); line-height: var(--lh-small); color: var(--muted); }
.footer-legal a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.footer-legal span a { display: inline; text-decoration: underline; text-decoration-color: currentColor; }
.footer-legal span { display: inline-flex; align-items: center; min-height: 32px; }
.footer-legal span:has(a) { display: inline; line-height: 32px; }

/* Rechtliche Seiten und Termin: ein schmales Band */
.footer.slim { display: block; min-height: 0; padding: 48px var(--m) calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer.slim .slim-in { max-width: calc(var(--page-max) - 2 * var(--m)); margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer.slim nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: var(--step-small); }
.footer.slim nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer.slim .footer-legal { margin-top: 0; padding-top: 0; flex-basis: 100%; }

/* =====================================================================
   AKTIONSLEISTE (Handy) – eine schwebende weiße Pille
   ===================================================================== */
.wa, .store-dock { display: none; }

/* =====================================================================
   BEWERTUNGS-DIALOG
   ===================================================================== */
dialog.review-dialog { margin: auto; border: 0; padding: 0; width: min(560px, calc(100vw - 2 * var(--m))); background: var(--bg); color: var(--ink); border-radius: var(--radius); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22); } /* Dialog über der Seite – taste-skill-ignore */
dialog.review-dialog::backdrop { background: rgba(0, 0, 0, 0.4); }
@keyframes backdrop-in { from { opacity: 0; } }
dialog.review-dialog[open]::backdrop { animation: backdrop-in 300ms var(--ease-out); }
dialog.review-dialog.closing::backdrop { animation: backdrop-in 220ms var(--ease-out) reverse forwards; }
dialog.review-dialog[open] { animation: dlg-in 320ms var(--ease-out); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-down { to { transform: translateY(100%); } }
body:has(dialog[open]) { overflow: hidden; }
.review-box { padding: 32px; display: grid; gap: 20px; }
.review-box header { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.rev-sub { margin-top: 6px; color: var(--muted); }
.rev-label { display: block; font-weight: var(--w-ui); }
.stars-pick { display: flex; gap: 0; margin-top: 4px; margin-left: -8px; }
.stars-pick button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--rule); transition: color 150ms ease, transform var(--t-press) var(--ease-out); }
.stars-pick button svg { width: 28px; height: 28px; }
.stars-pick button.on { color: var(--ink); }
.stars-pick button:active { transform: scale(0.9); }
.review-box .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review-box .field { background: var(--surface); }
.review-box .field label { color: var(--muted); }
.review-box .field input, .review-box .field textarea { color: var(--ink); }
.review-box .field input::placeholder, .review-box .field textarea::placeholder { color: var(--muted); }
.review-box .field textarea { min-height: 112px; }
.review-box .field:focus-within { outline-color: var(--accent); background: var(--surface-2); }
.review-box .btn { width: 100%; min-height: 52px; }
#rev-error { color: var(--bad); font-weight: var(--w-ui); min-height: 1.4em; }

/* =====================================================================
   APP-SEITEN
   ===================================================================== */
.app-hero { position: relative; min-height: max(720px, 100svh); background: var(--app); color: var(--field-ink); overflow: clip; }
.app-hero-copy .icon { width: 88px; height: 88px; border-radius: var(--icon-r); }
.app-hero-copy h1 { margin-top: 28px; }
.app-lead { margin-top: 16px; font-size: var(--step-lead); line-height: 1.3; letter-spacing: var(--track-lead); max-width: 28ch; text-wrap: balance; }
.app-sub { margin-top: 16px; max-width: 44ch; }
.app-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.facts { background: var(--bg); }
.facts dl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px 56px; padding-block: 64px; }   /* die Zeile reicht von Rand zu Rand */
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; }
@media (min-width: 821px) { .fact:last-child { align-items: flex-end; text-align: right; } }   /* die letzte Angabe schließt die Zeile am Rand */
.fact dt { font-size: var(--step-small); color: var(--muted); margin-top: 2px; }
.fact dd { font-size: var(--step-lead); font-weight: var(--w-head); letter-spacing: var(--track-lead); line-height: var(--lh-lead); overflow-wrap: anywhere; }

.app-intro { padding-block: calc(var(--gap) * 0.6) var(--gap); background: var(--bg); }
.app-intro .h-head { grid-column: 1 / 6; }
.app-intro .lead { grid-column: 7 / 13; max-width: 40ch; }

.tour { background: var(--surface); padding-block: var(--gap); }
.tour-phone { grid-column: 7 / 12; grid-row: 1; position: sticky; top: calc(50svh - min(82svh, 820px) / 2 + var(--nav-h) / 2); height: min(82svh, 820px); display: grid; place-items: center; align-self: start; }
.tour-phone .phone { height: 100%; width: auto; }
.tour-phone .screen img { opacity: 0; transform: scale(1.03); transition: opacity 0s linear 700ms, transform 700ms var(--ease-out); }
.tour-phone .screen img.is-on { opacity: 1; z-index: 1; transform: none; transition: opacity 420ms ease, transform 700ms var(--ease-out); }
.tour-steps { grid-column: 1 / 7; grid-row: 1; }
.tour-step { min-height: 64svh; display: grid; align-content: center; }
.tour-step:first-child { min-height: 56svh; align-content: start; padding-top: 10svh; }
.tour-step h3 { margin-bottom: 24px; }
.tour-step ul { display: grid; gap: 10px; max-width: 42ch; }
.tour-step li { position: relative; padding-left: 22px; }
.tour-step li::before { content: ""; position: absolute; left: 0; top: calc(0.5lh - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--app); }
.step-phone { display: none; }

.eras { position: relative; height: 240svh; background: var(--dark); color: var(--dark-ink); }
.eras-pin { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 32px; padding: calc(var(--nav-h) + 40px) 0 32px; }
.eras-head { padding-inline: var(--m); display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.eras-head p { max-width: 42ch; }
/* Das Fenster schließt am Seitenrand; damit dort kein Wort hart abbricht, laufen die Stationen an beiden Kanten weich aus
   (links erst, sobald die Strecke sich bewegt: --fl wächst mit dem Scrollen von 0 auf 64px) */
.eras-window { overflow: clip; min-width: 0; align-self: stretch; margin-inline: var(--m); --fl: 0px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - 64px), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - 64px), transparent); }   /* Kantenmaske, keine Farbe – taste-skill-ignore */
.eras-track { display: flex; align-items: flex-start; gap: clamp(24px, 3.4vw, 64px); padding-inline: 0 20vw; will-change: transform; }
.era { flex: none; width: clamp(220px, 26vw, 420px); }
/* gepinnt: die Strecke füllt genau die Zeile zwischen Überschrift und Zähler; das Gebäude nimmt sich die Höhe, die der Text übrig lässt
   (niedrige Fenster: nie über der Überschrift oder dem Zähler) */
.js .eras:not(.is-static) .eras-track { height: 100%; align-items: stretch; }
.js .eras:not(.is-static) .era { display: flex; flex-direction: column; }
.js .eras:not(.is-static) .era picture { flex: 1 1 auto; min-height: 0; }
.js .eras:not(.is-static) .era img { height: 100%; aspect-ratio: auto; object-position: 0 100%; }
.js .eras:not(.is-static) .era-txt { margin-top: auto; }
.era picture { display: block; overflow: clip; }
.era img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.era h3 { margin-top: 8px; }
.era p { margin-top: 6px; max-width: 30ch; }
.era .eq { color: var(--dark-muted); font-variant-numeric: tabular-nums; }
.eras-count { padding-inline: var(--m); font-size: var(--step-small); color: var(--dark-muted); font-variant-numeric: tabular-nums; }
.eras.is-static, html:not(.js) .eras { height: auto; }
.eras.is-static .eras-pin, html:not(.js) .eras-pin { position: static; height: auto; }
.eras.is-static .eras-track, html:not(.js) .eras-track { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--m); padding-block: 8px 24px; scrollbar-width: none; overscroll-behavior-x: contain; will-change: auto; }
.eras.is-static .era, html:not(.js) .era { scroll-snap-align: start; }
/* Desktop, aber zu niedrig zum Pinnen: alle Stationen als Raster, nichts versteckt in einer Seitwärts-Leiste */
@media (min-width: 821px) {
  .eras.is-static .eras-pin { padding-block: calc(var(--nav-h) + 40px) var(--gap); }
  .eras.is-static .eras-window { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .eras.is-static .eras-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px var(--gutter); padding: 0; overflow: visible; scroll-snap-type: none; }
  .eras.is-static .era { width: auto; }
  .eras.is-static .eras-count { display: none; }
}

.film.chapter { background: var(--app); }
.film .phone { height: min(75svh, 720px, max(360px, 100svh - 300px)); width: auto; flex: none; }
.film .btn { justify-self: end; }

.news { padding-block: var(--gap); background: var(--bg); }
.news .h-head { grid-column: 1 / 6; }
.news ul { grid-column: 7 / 13; display: grid; gap: 20px; }
.app-note { margin-top: 48px; font-size: var(--step-small); color: var(--muted); max-width: 80ch; grid-column: 1 / -1; }

.more-apps { padding-block: var(--gap); background: var(--surface); }
.more-list { margin-top: 48px; }
.more-list a { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding-block: 16px; text-decoration: none; }
.more-list img { width: 64px; height: 64px; border-radius: var(--icon-r); }
.more-txt { display: grid; justify-content: start; gap: 4px; transition: transform var(--t-ui) var(--ease-out); }   /* Art unter dem Namen, auf jeder Breite */
.more-txt b { font-size: var(--step-head); letter-spacing: var(--track-head); line-height: 1.05; }
.more-txt span { font-size: var(--step-small); color: var(--muted); }
.more-list .arr { width: 24px; height: 24px; }
.more-links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; }

.footer-photo.app-field { background: var(--app); }
.foot-invite p { margin-top: 20px; }
.foot-invite .btn { margin-top: 32px; }
.app-page .foot-nav { margin-top: 56px; }

/* =====================================================================
   RECHTLICHES (Impressum, Datenschutz)
   ===================================================================== */
.legal { padding: calc(var(--nav-h) + 96px) var(--m) var(--gap); max-width: var(--page-max); margin-inline: auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.legal h1 { grid-column: 1 / -1; font-size: var(--step-head); line-height: var(--lh-head); letter-spacing: var(--track-head); font-weight: var(--w-head); hyphens: manual; text-wrap: balance; }
.legal-lead { grid-column: 1 / 9; margin-top: 24px; font-size: var(--step-lead); line-height: 1.3; letter-spacing: var(--track-lead); max-width: 40ch; }
.legal-body { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin-top: 96px; }
.legal-sec, .legal-body > .toc { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; }
.legal-sec + .legal-sec, .legal-body > .toc + .legal-sec { margin-top: clamp(56px, 6vw, 96px); }
.legal-sec > h2, .legal-body > .toc > h2 { grid-column: 1 / 6; grid-row: 1 / span 40; position: sticky; top: calc(var(--nav-h) + 40px); font-size: var(--step-lead); line-height: var(--lh-lead); letter-spacing: var(--track-lead); font-weight: var(--w-head); text-wrap: balance; }
.legal-sec > :not(h2), .legal-body > .toc > ol { grid-column: 7 / -1; }
.legal-body h3 { font-size: var(--step-body); font-weight: var(--w-head); margin: 28px 0 8px; }
.legal-sec > h3:nth-child(2) { margin-top: 0; }
.legal-body p, .legal-body li { font-size: var(--step-body); line-height: 1.6; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 20px; margin-top: 10px; list-style: disc; }
.legal-body ol { list-style: decimal; }
.legal-body a { overflow-wrap: anywhere; }
.legal-body .toc ol { padding-left: 22px; columns: 2; column-gap: 32px; }
.legal-body .note-box { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; }

/* =====================================================================
   BEWEGUNG – alles ist schon da; Auftritte laufen exponentiell aus
   ===================================================================== */
.line { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-line] { display: inline-block; }
@keyframes line-rise { from { transform: translateY(105%); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes phone-rise { from { transform: translateY(40px); } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes shape-drift { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (prefers-reduced-motion: no-preference) {
  /* Ladefolge des Heros, ab dem ersten Bild */
  .js .lines.is-load [data-line] { animation: line-rise var(--t-reveal) var(--ease-expo) backwards; animation-delay: calc(100ms + var(--i) * var(--stagger-line)); }
  .js [data-load] { animation: rise-in 500ms var(--ease-out) backwards; animation-delay: var(--d, 0ms); }
  .js .hero-object { animation: phone-rise var(--t-open) var(--ease-expo) 150ms backwards; }
  .js .hero-cards li { animation: rise-in 500ms var(--ease-out) 560ms backwards; }
  .js .hero-cards li + li { animation-delay: 630ms; }

  /* Auftritte beim Scrollen */
  .js [data-reveal] > [style*="--i"] { opacity: 0.25; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: calc(var(--i) * 80ms); }
  .js [data-reveal].in > [style*="--i"] { opacity: 1; transform: none; }
  .js [data-reveal="rows"] > * { opacity: 0.25; transform: translateY(24px); transition: opacity 700ms var(--ease-expo), transform 700ms var(--ease-expo); }
  .js [data-reveal="rows"].in > * { opacity: 1; transform: none; }
  .js [data-reveal="rows"].in > :nth-child(2) { transition-delay: 60ms; }
  .js [data-reveal="rows"].in > :nth-child(3) { transition-delay: 120ms; }
  .js [data-reveal="rows"].in > :nth-child(4) { transition-delay: 180ms; }
  .js [data-reveal="rows"].in > :nth-child(5) { transition-delay: 240ms; }
  .js [data-reveal="rows"].in > :nth-child(6) { transition-delay: 300ms; }
  .js [data-reveal="rows"].in > :nth-child(n+7) { transition-delay: 360ms; }
  .js .lines:not(.is-load) [data-line] { transform: translateY(105%); transition: transform var(--t-reveal) var(--ease-expo); transition-delay: calc(100ms + var(--i) * var(--stagger-line)); }
  .js .lines.in [data-line] { transform: none; }

  /* Kapitel: der Raum öffnet sich, das Bild setzt sich */
  .js .chapter { clip-path: inset(20px round var(--radius)); transition: clip-path var(--t-reveal) var(--ease-expo); }
  .js .chapter .chapter-pic > * { transform: scale(0.92); transition: transform var(--t-reveal) var(--ease-expo); }
  .js .chapter .chapter-title, .js .chapter .chapter-text, .js .chapter .chapter-link, .js .chapter > .btn { opacity: 0.25; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-expo); }
  .js .chapter.in { clip-path: inset(0 round 0); }
  .js .chapter.in .chapter-pic > * { transform: none; }
  .js .chapter.in .chapter-title { opacity: 1; transform: none; transition-delay: 120ms; }
  .js .chapter.in .chapter-text { opacity: 1; transform: none; transition-delay: 210ms; }
  .js .chapter.in .chapter-link, .js .chapter.in > .btn { opacity: 1; transform: none; transition-delay: 300ms; }

  /* Rahmen und Abschnitt zum Ausfüllen */
  .js .work-frame { transform: scale(0.96); transition: transform 900ms var(--ease-soft); }
  .js .work-track.in .work-frame { transform: none; }
  .js .coupon { opacity: 0.25; transform: translateY(32px); transition: opacity var(--t-reveal) var(--ease-out), transform var(--t-reveal) var(--ease-expo); }
  .js .coupon.in { opacity: 1; transform: none; }

  .faq-item[open] .faq-a { animation: answer-in var(--t-ui) var(--ease-out); }

  @supports (animation-timeline: view()) {
    .about-shape img { animation: shape-drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-property: opacity, color, background-color, visibility !important; transition-duration: 180ms !important; transition-delay: 0ms !important; }
  .menu { clip-path: none; opacity: 0; }
  .menu.open { opacity: 1; }
  /* auch hier ohne Abdunkeln: das alte Bild geht erst, wenn das neue steht */
  .phone .screen img:not(.is-on), .wf:not(.is-on) { transition-duration: 0ms !important; transition-delay: 180ms !important; }
  .check-loading::after { content: "…"; }
}
@media (prefers-reduced-motion: no-preference) {
  .check-loading::after { content: "…"; width: 0; animation: dots 1.2s steps(4) infinite; }
}
@keyframes dots { to { width: 1.1em; } }

/* =====================================================================
   HOVER nur mit Maus
   ===================================================================== */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent-hover); }
  .btn.ink:hover { background: #000; }
  .btn.light:hover { background: #f5f5f7; }
  .btn:hover .arr { transform: translateX(3px); }
  .btn:hover .arr.ext { transform: translate(2px, -2px); }
  .link:hover { text-decoration-color: currentColor; }
  .link:hover .arr { transform: translateX(3px); }
  .link:hover .arr.ext { transform: translate(2px, -2px); }
  body.primary-in-view .nav-links .btn:hover, .app-page:not(.past-hero) .nav-links .btn:hover { background: transparent; text-decoration: underline; }
  .nav-links a:not(.btn):hover { text-decoration-color: currentColor; }
  .hero-cards a:hover .card-pic img { transform: scale(1.03); }
  .hero-cards a:hover .arr { transform: translateX(3px); }
  .svc-list:has(.svc:hover, .svc:focus-within) .svc h3 { color: var(--muted); }
  .svc-list .svc:hover h3, .svc-list .svc:focus-within h3 { color: var(--ink); }
  .plans button[aria-selected="false"]:hover::before { opacity: 0.5; }
  .work-list a:hover .name { color: var(--dark-ink); }
  .faq-item summary:hover .chev { translate: 0 2px; }
  .rows a:hover .arr { transform: translateX(4px); }
  .foot-nav:has(a:hover) a { color: var(--muted); }
  .foot-nav a:hover { color: var(--ink); transform: translateX(12px); }
  .foot-blocks a:hover, .foot-blocks button:hover, .footer-legal a:hover, .footer.slim nav a:hover { text-decoration: underline; }
  .stars-pick button:hover { color: var(--ink); }
  .more-list a:hover .more-txt { transform: translateX(8px); }
  .more-list a:hover .arr { transform: translateX(4px); }
}
/* Druck-Rückmeldung für jede Eingabe (Finger, Maus, Stift): sofort gedrückt, kurz zurück */
.menu li a, .menu-contact a, .foot-blocks a, .foot-blocks button, .footer-legal a, .footer.slim nav a, .text-btn, .nav-menu, .menu-top button, .nav-brand, .foot-brand, .more-list a, .hero-fact a, .faq-item summary h3 { transition: opacity 200ms ease; }
.link:active, .nav-links a:not(.btn):active, .dock-txt:active, .menu-contact a:active, .menu li a:active, .foot-nav a:active, .foot-blocks a:active, .foot-blocks button:active, .footer-legal a:active, .text-btn:active, .nav-menu:active,
.faq-item summary:active h3, .menu-top button:active, .hero-fact a:active, .nav-brand:active, .foot-brand:active, .more-list a:active, .footer.slim nav a:active { opacity: 0.6; transition: opacity 0s; }
.rows a:active { background: var(--surface); transition-duration: 0s; }
.plans button:active { transform: scale(0.98); }
.hero-cards a:active, .work-list a:active { transform: scale(0.98); }
.work-list a { -webkit-user-select: none; user-select: none; transition: transform var(--t-press) var(--ease-out); }

/* =====================================================================
   BREITEN
   ===================================================================== */
@media (min-width: 821px) and (max-width: 1199px) {
  .hero-copy { width: calc(var(--cw) * 7 + var(--gutter) * 6); }
  .hero-cards li { width: 232px; }
  .svc h3, .svc-head { grid-column: 1 / 8; }
  .svc-body, .svc-note { grid-column: 8 / 13; }
  .price-side { grid-column: 1 / 6; }
  .stage { grid-column: 7 / 13; }
  .extras-head { grid-column: 1 / -1; }
  .extras-table:nth-of-type(1), .extras-table:nth-of-type(2), .extras-table:nth-of-type(3) { grid-column: 1 / -1; grid-row: auto; }
  .extras-table + .extras-table { margin-top: 40px; }
  .price-note { grid-row: auto; }
  .faq-list { grid-column: 3 / 13; }
  .coupon { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .work-stage { display: none; }
  .work-list { grid-column: 1 / -1; padding-block: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px var(--gutter); }
  .work-list li + li { margin-top: 0; }
  .work-list a { display: block; padding: 0; }
  .wf-inline { display: block; position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: clip; background: var(--app); margin-bottom: 20px; }
  .work-list .name { display: block; color: var(--dark-ink); }
  .work-list .kind { display: block; margin-top: 6px; }
}

/* =====================================================================
   HANDY – eigene Komposition
   ===================================================================== */
@media (max-width: 820px) {
  :root { --gap: clamp(88px, 4rem + 8vw, 120px); }
  .grid > * { grid-column: 1 / -1 !important; }

  /* Navigation */
  .nav-links { gap: 16px; }
  .nav-links li:not(.keep) { display: none; }
  .nav-links li.keep:has(.nav-menu) { order: 2; }
  .nav-menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin-right: -12px; font-size: 17px; font-weight: var(--w-ui); }
  .nav-brand { font-size: 17px; }
  .nav-links .btn.sm { min-height: 40px; }
  .nav-links .btn.sm::after { inset: -2px -2px; }
  body.dock-on .nav-links .btn, body.past-hero .nav-links .btn, body.zone-accent .nav-links .btn { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 160ms ease, visibility 0s linear 160ms; }
  .nav-links { position: relative; }
  body:is(.dock-on, .past-hero, .zone-accent) .nav-links li.keep:has(> .btn) { position: absolute; right: 100%; margin-right: 16px; pointer-events: none; }
  .app-page .nav-links .btn { display: none; }

  /* Hero */
  .hero, .app-hero { min-height: 0; }
  .hero-in, .app-hero .hero-in { position: relative; inset: auto; display: flex; flex-direction: column; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 32px); }
  .hero-copy { position: static; display: block; width: auto; padding-inline: var(--m); }
  .hero .h-head { font-size: min(var(--step-head), 9.3vw); }
  .hero-sub { margin-top: 16px; }
  .hero-check { margin-top: 20px; }
  .hero-fact { position: static; text-align: left; max-width: none; padding-inline: var(--m); margin-top: 24px; color: var(--muted); font-size: var(--step-small); }
  .hero-fact::after, .hero-fact::before { content: none; }
  .hero-fact a { color: var(--ink); }
  .hero-fact a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .hero-object { position: relative; top: auto; left: auto; width: auto; height: clamp(360px, 60svh, 560px); overflow: clip; margin-top: 28px; display: flex; justify-content: center; }
  .hero-object .phone { width: min(78vw, 340px); height: auto; align-self: flex-start; flex: none; }
  .hero-cards { position: static; padding: 24px var(--m) 32px; gap: 16px; background: var(--bg); }   /* das Telefon endet genau an der Kante Grau→Weiß */
  .hero-cards a { background: var(--surface); }
  .hero-cards li { width: auto; flex: 1 1 0; min-width: 0; }
  .card-bar { white-space: normal; font-size: var(--step-small); line-height: 1.25; min-height: 44px; padding: 8px 12px; }
  .card-bar .arr { width: 14px; height: 14px; }

  /* Check */
  .check-intro p { margin-top: 16px; }
  .check-note { margin-top: 16px; }
  .check-form { display: grid; height: auto; padding: 0; gap: 12px; margin-top: 32px; background: none; border-radius: 0; }
  .check-form:focus-within { outline: 0; background: none; }
  .check-input { height: 64px; padding: 0 20px; border-radius: var(--radius); background: var(--surface); font-size: var(--step-lead); letter-spacing: var(--track-lead); transition: background-color var(--t-hover) ease; }
  .check-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; background: var(--surface-2); }
  .check-form .btn { width: 100%; }
  .check-summary { margin-top: 48px; row-gap: 20px; }
  .check-groups { margin-top: 48px; }
  .check-group { display: block; }
  .check-items { margin-top: 16px; }
  .check-cta { padding: 24px; }
  .check-cta .btn { width: 100%; }

  /* Leistungen */
  .services { padding-block: var(--gap); }
  .svc-list { display: block; }
  .svc { display: block; margin-top: 28px; }
  .svc h3, .svc-head { padding-left: 1em; text-indent: -1em; }
  .svc-head { color: var(--muted); }
  .svc-body { padding-left: var(--m); margin-top: 12px; }
  .svc-note { margin-top: 48px; }

  /* Referenz */
  .chapter { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; row-gap: 12px; padding: calc(var(--nav-h) + 24px) var(--m) 32px; }
  .chapter-pic { grid-row: 2; align-self: center; padding-block: 12px; }
  .chapter-desk .frame { width: calc(100vw - 2 * var(--m)); }
  .chapter-phone .phone, .film .phone { height: 60svh; }
  .chapter-text { grid-column: 1; grid-row: 3; }
  .chapter-link { grid-column: 1; grid-row: 4; justify-self: start; }
  .film .btn { grid-column: 1; grid-row: 4; width: 100%; justify-self: stretch; }

  /* Preise */
  .price-grid { display: block; min-height: 0; }
  .stage { display: none; }
  .plan-indicator { display: none; }
  .plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; overflow-anchor: none; }
  .plans li:has(> button[aria-selected="true"]) > button { background: var(--surface); }
  .plan-mobile { display: block; padding: 20px 4px 32px; }
  .plan-mobile[hidden] { display: none; }
  .plan-mobile:not([hidden]) { animation: rise-in 380ms var(--ease-out); }
  .plan-mobile .figure { font-size: min(var(--step-display), 19vw); }
  .plan-mobile .btn { width: 100%; }
  .extras { margin-top: 72px; }
  .extras-table { grid-row: auto !important; margin-top: 40px; }
  .price-note { grid-row: auto; }

  /* Apps */
  .apps-head > p { margin-top: 16px; }
  .work-track { margin-top: 40px; }
  .work-list { grid-template-columns: minmax(0, 1fr); gap: 40px; }

  /* Über mich */
  .about-panel { display: block; min-height: 0; margin-inline: var(--m); }
  .about-title { padding: 28px 28px 0; }
  .about-copy { padding: 32px 28px 40px; max-width: none; gap: 40px; }
  .about-reach { margin-top: -8px; }
  .about-reach .btn { width: 100%; }
  .about-shape { position: relative; left: auto; bottom: auto; width: 86vw; max-width: 420px; margin: 0 auto calc(-0.25 * min(86vw, 420px)); }

  /* Bewertungen */
  .review-split { grid-template-columns: 1fr; min-height: 0; }
  .review-split .quote { order: -1; padding: 24px 24px 64px; }
  .review-split .who { min-height: 96px; padding: 24px; }
  .reviews-more { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-list { margin-top: 48px; gap: 4px; }
  .faq-item { margin-inline: calc(-1 * var(--m)); padding: 14px var(--m); border-radius: 0; }

  /* Kontakt */
  .rows { margin-top: 32px; }
  .rows a { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; padding-block: 10px; }
  .rows .hint { grid-column: 1; grid-row: 2; text-align: left; }
  .rows .arr { grid-column: 2; grid-row: 1 / span 2; }
  .coupon { margin-top: 72px; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .coupon::before, .coupon::after { left: auto; top: auto; bottom: auto; }
  .coupon::before { left: -14px; top: var(--seam, 220px); translate: 0 -50%; }
  .coupon::after { right: -14px; top: var(--seam, 220px); translate: 0 -50%; }
  .coupon-head { padding: 28px; gap: 24px; }
  .coupon-form { padding: 28px 20px 24px; border-left: 0; border-top: 5px dotted var(--bg); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }

  /* Footer */
  .footer { display: block; min-height: 0; }
  .footer-photo { height: 50svh; }
  .foot-phone { right: auto; left: 15%; top: 12%; width: 70vw; }
  .footer-menu { padding: 40px var(--m) calc(96px + env(safe-area-inset-bottom, 0px)); }
  .foot-nav { gap: 20px; margin-top: 32px; }
  .foot-blocks { grid-template-columns: minmax(0, 1fr); margin-top: 48px; }
  .footer-legal span:has(a) { line-height: 1.6; padding-block: 10px; }
  .footer.slim .footer-legal { padding-bottom: 0; }

  /* Aktionsleiste */
  html { scroll-padding-bottom: 88px; }
  .wa.dock, .store-dock {
    position: fixed; left: var(--m); right: var(--m); bottom: max(12px, env(safe-area-inset-bottom, 0px)); z-index: 40;
    display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: var(--pill); background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16), 0 1px 3px rgba(0, 0, 0, 0.08); /* schwebende Leiste – taste-skill-ignore */
    transition: opacity var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out), visibility 0s;
  }
  .wa.dock.is-hidden, .store-dock.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: opacity 170ms var(--ease-out), transform 170ms var(--ease-out), visibility 0s linear 170ms; }
  .dock-book { flex: 1; min-height: 48px; padding-inline: 12px; }
  .dock-txt { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 14px; border-radius: var(--pill); color: var(--ink); font-weight: var(--w-ui); text-decoration: none; white-space: nowrap; -webkit-user-select: none; user-select: none; }
  .dock-txt:active { background: var(--surface); }
  .store-dock .btn { flex: 1; min-height: 48px; }

  /* Dialog als Blatt von unten */
  dialog.review-dialog { margin: auto 0 0; width: 100%; max-width: 100%; max-height: 92svh; overflow-y: auto; overscroll-behavior: contain; border-radius: var(--radius) var(--radius) 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  dialog.review-dialog[open] { animation: sheet-up 400ms var(--ease-drawer); }
  dialog.review-dialog.closing { animation: sheet-down 220ms var(--ease-out) forwards; }
  .review-box { padding: 24px var(--m); }
  .review-box .two { grid-template-columns: 1fr; }

  /* App-Seiten */
  .app-hero-copy .icon { width: 72px; height: 72px; }
  .app-hero-copy h1 { margin-top: 20px; }
  .app-actions .btn { width: 100%; }
  .app-actions { gap: 20px; }
  .facts dl { gap: 24px 40px; padding-block: 48px; }
  .app-intro .lead { margin-top: 20px; }
  .tour-phone { display: none; }
  .tour-steps { display: grid; gap: 64px; }
  .tour-step, .tour-step:first-child { min-height: 0; padding: 0; display: block; }
  .step-phone { display: block; width: min(70vw, 340px); margin: 0 auto 32px; }
  .eras-pin { padding: 72px 0 48px; row-gap: 24px; }
  .eras-head { display: block; }
  .eras-head p { margin-top: 12px; }
  .eras.is-static .eras-window { margin-inline: var(--m); overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .eras.is-static .eras-track { display: grid; gap: 24px; padding: 0; overflow: visible; scroll-snap-type: none; }
  .eras.is-static .era { width: auto; display: grid; grid-template-columns: clamp(112px, 34vw, 220px) minmax(0, 1fr); column-gap: 18px; align-items: center; }
  .eras.is-static .era h3 { margin-top: 0; }
  .eras.is-static .eras-count { display: none; }
  .news ul { margin-top: 32px; }
  .more-list a { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; }
  .more-list img { width: 52px; height: 52px; }
  .more-txt { display: grid; justify-content: start; gap: 2px; }
  .more-txt b { font-size: var(--step-lead); letter-spacing: var(--track-lead); }

  /* Rechtliches */
  .legal { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 56px); }
  .legal-lead { grid-column: 1 / -1; }
  .legal-body { margin-top: 64px; }
  .legal-sec > h2, .legal-body > .toc > h2 { grid-row: auto; position: static; margin-bottom: 16px; }
  .legal-sec > :not(h2), .legal-body > .toc > ol { grid-column: 1 / -1; }
  .legal-body .toc ol { columns: 1; }
}

@media (max-width: 359px) {
  .nav-brand span { display: none; }
  .dock-txt { padding: 0 8px; }
}

/* Tablet hoch (600–820px): Funktionen mit Bild daneben */
@media (min-width: 600px) and (max-width: 820px) {
  .step-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: 40px; align-items: start; }
  .step-in .step-phone { grid-row: 1 / 3; width: 100%; margin: 0; }
  .step-in h3 { align-self: end; margin-top: 12%; }
  .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Rechtliche Seiten: „Startseite“ statt Menü auf dem Handy */
.nav-links .home-link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: var(--w-ui); text-decoration: none; padding: 0; }
@media (min-width: 821px) { .nav-links .home-link { display: none; } }

/* Handy unter 420px: der Name bleibt stehen; „Termin buchen“ trägt dort die Aktionsleiste unten (auch im Hero) */
@media (max-width: 419px) {
  body:not(.app-page) .nav-links .btn.sm { display: none; }
}
/* Handy: die Rechtszeile bricht in ganzen Gruppen (© · Impressum, Datenschutz · Bildnachweis) */
@media (max-width: 600px) {
  .footer-legal > span:first-child { flex-basis: 100%; }
  .card-bar .bar-long { display: none; }   /* „Anstrich 2.0“, „Vier Apps“: je eine Zeile */
}
/* Handy: das Querformat-Kapitel ist so hoch wie sein Inhalt, das Bild steht nicht verloren im Raum */
@media (max-width: 820px) {
  .chapter-desk { min-height: 0; padding-block: calc(var(--nav-h) + 32px) 40px; }
  .chapter-desk .chapter-pic { padding-block: 24px 16px; }
}
@media (min-width: 600px) {
  .more-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
  .more-list a { height: 100%; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: start; row-gap: 20px; padding: 20px; border-radius: var(--radius); background: var(--bg); }
  .more-list img { grid-row: 1; grid-column: 1; }
  .more-list .arr { grid-row: 1; grid-column: 2; }
  .more-list .more-txt { grid-row: 2; grid-column: 1 / -1; align-self: end; }
  .more-txt b { font-size: var(--step-lead); letter-spacing: var(--track-lead); }
}
/* Rechtliches im Tablet-Hochformat: eine mittige Lesespalte (~68 Zeichen) statt eines halbleeren Blatts */
@media (min-width: 600px) and (max-width: 820px) {
  .legal { max-width: 680px; }
  .legal p, .legal li { max-width: none; }
}
