@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

/* Farben aus Transkri./DesignSystem.swift */
:root {
  --bg: #0d0d0d;
  --bg-elevated: #141414;
  --bg-raised: #1b1b1b;
  --text: #f0f0f0;
  --text-2: #9a9a9a;
  --blue: #2979ff;
  --blue-hover: #4a8eff;
  --blue-pressed: #1f63d6;
  --red: #e53935;
  --border: rgba(255, 255, 255, 0.1);
  --gradient: linear-gradient(100deg, #2979ff 0%, #8ab8ff 100%);
  --gradient-deep: linear-gradient(100deg, #1e3a5f 0%, #2979ff 55%, #6fa8ff 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-device: drop-shadow(0 40px 48px rgba(0, 0, 0, 0.55));
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -12px rgba(0, 0, 0, 0.75);
  --hairline: rgba(255, 255, 255, 0.14);
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --page: min(1120px, 100% - 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.125rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-hover); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.875rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.mono { font-family: var(--mono); font-size: 0.875rem; }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wrap { width: var(--page); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Buttons: klar definiert, ≥ 44 pt Trefferfläche, alle Zustände ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 1.1875rem/1 var(--sans); text-decoration: none;
  cursor: pointer; user-select: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms var(--ease-out), box-shadow 150ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px rgba(41, 121, 255, 0.55); }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-primary:active { background: var(--blue-pressed); }
.btn-secondary { background: transparent; color: var(--text); border-color: rgba(255, 255, 255, 0.22); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Kopf / Fuß ---------- */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 0.28em; color: var(--text); text-decoration: none; font-weight: 800; font-size: 2rem; letter-spacing: -0.035em; min-height: 44px; }
/* Zeichen und Wortmarke bilden ein Rechteck: beide exakt Versalhöhe (Manrope 0.72 em) */
.brand .mark { width: auto; height: 0.72em; }
.brand .word { line-height: 1; text-box: trim-both cap alphabetic; }
.brand:hover { color: var(--text); }
.site-head nav { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.site-head nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; }
.site-head nav a:not(.btn):hover, .site-head nav a[aria-current] { color: var(--text); }

.site-foot { border-top: 1px solid var(--border); padding: 40px 0 56px; margin-top: 64px; font-size: 0.9375rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.site-foot a { color: var(--text-2); text-decoration: none; padding: 10px 0; }
.site-foot a:hover { color: var(--text); }
.site-foot small { margin-left: auto; color: var(--text-2); }

section { padding: clamp(56px, 7vw, 96px) 0; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--text-2); max-width: 36em; }
.center .lead { margin-inline: auto; }
.ico { width: 22px; height: 22px; flex: none; color: var(--blue); }
svg[aria-hidden] { width: 20px; height: 20px; flex: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 88px) 0 0; position: relative; isolation: isolate; }
.hero .lead { margin-bottom: 32px; }
.hero-meta { margin-top: 16px; color: var(--text-2); font-size: 0.9375rem; }
.stage { position: relative; margin-top: clamp(40px, 5vw, 64px); display: grid; place-items: center; padding-bottom: 8px; }
.giant {
  position: absolute; top: 18%; left: 50%; translate: -50% 0; z-index: -1;
  font-size: clamp(5rem, 21vw, 18rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1;
  white-space: nowrap; user-select: none; pointer-events: none;
  background-image: var(--gradient-deep);
}
.glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(closest-side, rgba(41, 121, 255, 0.28), transparent 70%); translate: 0 10%; }

/* Echtes iPhone-Rahmenbild (store-screenshots/public/mockup.png), Bildschirm darunter */
.device { position: relative; width: min(330px, 76vw); aspect-ratio: 1022 / 2082; filter: var(--shadow-device); }
.device > img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.screen {
  position: absolute; left: 5.088%; top: 2.209%; width: 89.824%; height: 95.581%;
  border-radius: 13.725% / 6.332%; overflow: hidden;
  background: #000;
}
.screen video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero-Animation: einmal beim Laden, ohne Skalierung (Video bleibt scharf) */
@media (prefers-reduced-motion: no-preference) {
  .giant { animation: rise 1.2s var(--ease-out) both; }
  .hero .device { animation: lift 1s var(--ease-out) 0.1s both; }
}
@keyframes in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise { from { opacity: 0; translate: -50% 24px; } to { opacity: 1; translate: -50% 0; } }
@keyframes lift { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

/* ---------- Vorteile-Leiste ---------- */
.benefits { position: relative; z-index: 1; background: var(--bg-elevated); border-block: 1px solid var(--border); }
.benefits ul { list-style: none; margin: 0 auto; padding: clamp(40px, 5vw, 64px) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.benefits li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.benefits svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: var(--blue); background: rgba(41, 121, 255, 0.1); border: 1px solid rgba(41, 121, 255, 0.2); }
.benefits h3 { margin: 6px 0 4px; font-size: 1.0625rem; letter-spacing: -0.01em; }
.benefits p { margin: 0; color: var(--text-2); font-size: 0.9375rem; line-height: 1.5; }

/* ---------- Funktionen: geführte Tour ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 5vw, 72px); }
.tour-text { padding-bottom: 22vh; }
.chapter + .chapter { margin-top: 18vh; }
.chapter h3 { font-size: clamp(1.625rem, 2.6vw, 2.125rem); margin-bottom: 10px; }
.chapter-intro { color: var(--text-2); max-width: 32em; margin-bottom: 8px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; min-height: 34vh; padding: 28px 0 0; border-top: 1px solid var(--border); margin-top: 28px; }
.step svg { width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: var(--blue); background: rgba(41, 121, 255, 0.1); border: 1px solid rgba(41, 121, 255, 0.2); }
.step h4 { margin: 6px 0 6px; font-size: 1.125rem; }
.step p { margin: 0; color: var(--text-2); font-size: 1rem; max-width: 30em; }
.step > div { min-width: 0; }
/* Unterpunkte mit Symbol, nur wo eine Erklärung hilft */
.feats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; max-width: 30em; }
.feats li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; align-items: start; }
.step .feats svg { width: 18px; height: 18px; padding: 0; margin-top: 2px; border: 0; border-radius: 0; background: none; color: var(--blue); }
.feats b { display: block; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; }
.feats span { display: block; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); overflow-wrap: break-word; }
.tour-stage { position: sticky; top: calc(50vh - min(330px, 38vh)); align-self: start; height: min(660px, 76vh); display: grid; place-items: center; }
.tour-stage .device { width: auto; height: 100%; }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity 0.45s var(--ease-out); }
.screen > img.on { opacity: 1; }
/* Lichtkegel: hellt den besprochenen Bereich auf, der Rest wird abgedunkelt */
.spot { position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--w, 0); height: var(--h, 0); border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.55), 0 0 0 200vmax rgba(0, 0, 0, 0.5);
  transition: left 0.55s var(--ease-out), top 0.55s var(--ease-out), width 0.55s var(--ease-out), height 0.55s var(--ease-out); }
.js .step { opacity: 0.38; transition: opacity 0.35s ease; }
.js .step.is-active { opacity: 1; }
.spot { display: none; }
.js .spot { display: block; }

/* ---------- Auf dem Gerät ---------- */
.pipeline { margin: 48px 0 0; display: grid; grid-template-columns: 1fr 260px; gap: 0; align-items: center; }
.on-device { position: relative; border: 1px solid rgba(41, 121, 255, 0.45); border-radius: 28px; padding: 24px; background: linear-gradient(180deg, rgba(41, 121, 255, 0.08), rgba(41, 121, 255, 0.02)); }
.zone-label { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; font-weight: 700; font-size: 0.9375rem; }
.zone-label svg { width: 18px; height: 18px; color: var(--blue); }
.on-device ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.on-device li { align-content: start; position: relative; display: grid; gap: 4px; padding: 18px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; }
.on-device li svg { width: 22px; height: 22px; color: var(--blue); margin-bottom: 8px; }
.on-device li b { font-size: 1rem; }
.on-device li span { font-size: 0.8125rem; color: var(--text-2); line-height: 1.4; }
.on-device li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 12px; height: 1px; background: rgba(41, 121, 255, 0.6); }
.zone-foot { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font: 400 0.75rem/1.4 var(--mono); color: var(--text-2); }
.zone-foot svg { width: 14px; height: 14px; }
.off-device { display: grid; grid-template-columns: 40px 1fr; align-items: center; }
.off-device .link { height: 0; border-top: 1px dashed rgba(255, 183, 77, 0.6); }
.off-device > div { padding: 18px; border: 1px dashed rgba(255, 255, 255, 0.2); border-radius: 18px; }
.off-device .zone-label { margin-bottom: 6px; }
.off-device .zone-label svg { color: #ffb74d; }
.off-device p:last-child { margin: 0; font-size: 0.8125rem; color: var(--text-2); line-height: 1.5; }
.edge-text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 40px; color: var(--text-2); }
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.case { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.case h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; }
.case h3 svg { width: 26px; height: 26px; color: var(--blue); }
.case p { color: var(--text-2); font-size: 1rem; margin: 0 0 12px; }
.case p:last-child { margin: 0; }
.case .edge { color: var(--text); }
.limits { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 24px 28px; border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 20px; }
.limits h3 { font-size: 1rem; display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.limits svg { width: 20px; height: 20px; color: var(--text-2); }
.limits p { color: var(--text-2); font-size: 0.9375rem; margin: 0; }

/* ---------- Wer fasst zusammen: Umschalter wie in der App ---------- */
.tiers { margin-top: 40px; }
.seg { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 48px; padding: 4px; gap: 4px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; }
.seg button { font: 600 0.9375rem/1 var(--sans); color: var(--text-2); background: none; border: 0; border-radius: 999px; min-height: 44px; padding: 0 20px; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.seg button:hover { color: var(--text); }
.seg button[aria-selected="true"] { background: #2a2a2a; color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.tier-body { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; max-width: 980px; margin: 0 auto; }
.tier-phone { margin: 0; display: grid; justify-items: center; gap: 16px; }
.tier-phone .device { width: min(320px, 72vw); }
.tier-phone figcaption { font-size: 0.875rem; color: var(--text-2); text-align: center; }
.tier-phone figcaption span { display: none; }
.tiers .screen > img { opacity: 1; display: none; }
.tiers[data-tier="1"] figcaption [data-tier="1"], .tiers[data-tier="2"] figcaption [data-tier="2"], .tiers[data-tier="3"] figcaption [data-tier="3"],
.tiers[data-tier="1"] .screen [data-tier="1"], .tiers[data-tier="2"] .screen [data-tier="2"], .tiers[data-tier="3"] .screen [data-tier="3"] { display: block; }

/* ---------- Fähigkeiten (aus EngineProfiles.swift erzeugt): nur die gewählte Stufe ---------- */
.matrix { width: 100%; border-collapse: collapse; font-size: 1rem; }
.matrix thead { display: none; }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--border); }
.matrix tr:first-child th, .matrix tr:first-child td { border-top: 0; }
.matrix tbody th { width: 11em; font-weight: 700; white-space: nowrap; padding-right: 24px; }
.matrix tbody th svg { width: 18px; height: 18px; color: var(--blue); vertical-align: -3px; margin-right: 10px; }
.matrix td { color: var(--text-2); }
.matrix td::before { display: none; }
.tiers[data-tier="1"] .matrix td:not(:nth-child(2)), .tiers[data-tier="2"] .matrix td:not(:nth-child(3)), .tiers[data-tier="3"] .matrix td:not(:nth-child(4)) { display: none; }

.providers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; align-items: start; }
.provider { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 20px; padding: 24px; }
.provider h3 { font-size: 1.375rem; margin-bottom: 4px; }
.provider h3 .muted { font-weight: 600; }
.provider .key { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--text-2); margin: 0 0 8px; }
.provider .key svg { width: 16px; height: 16px; }
.model { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.model h4 { margin: 0 0 10px; font-size: 1.0625rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.model code { font-family: var(--mono); font-size: 0.6875rem; color: var(--text-2); font-weight: 400; width: 100%; }
.model ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.model li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 0.875rem; color: var(--text-2); line-height: 1.5; }
.model li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--text-2); }
.model li b { color: var(--text); font-weight: 600; }
.badge { display: inline-block; font-size: 0.6875rem; font-weight: 700; background: var(--blue); color: #fff; border-radius: 999px; padding: 2px 9px; }

/* ---------- Vertrauen ---------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.trust h3 { font-size: 1.125rem; }
.trust p { color: var(--text-2); font-size: 1rem; margin: 0; }
.consent { margin-top: 56px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 24px; }
.consent h3 { margin-bottom: 6px; }
.consent p { margin: 0; color: var(--text-2); font-size: 1rem; max-width: 46em; }
.consent-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(229, 57, 53, 0.12); border: 1px solid rgba(229, 57, 53, 0.35); }
.rec { width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(229, 57, 53, 0.18); }
.stack { margin-top: 64px; }
.stack-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 32px; margin-bottom: 24px; }
.stack-head h3 { margin: 0; font-size: 1.375rem; }
.stack-head p { margin: 0; color: var(--text-2); font-size: 0.9375rem; max-width: 34em; }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--bg-elevated); }
.stack-col { padding: 28px; }
.stack-col + .stack-col { border-left: 1px solid var(--border); }
.stack-col h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.0625rem; }
.stack-col h4 svg { width: 20px; height: 20px; color: var(--blue); }
.stack-col > p { margin: 0 0 20px; color: var(--text-2); font-size: 0.875rem; }
.stack-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.stack-col li { display: grid; gap: 2px; }
.stack-col code { font: 700 0.9375rem/1.4 var(--sans); color: var(--text); }
.stack-col span { font-size: 0.875rem; line-height: 1.45; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 40px auto 0; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.125rem; font-weight: 700; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--text-2); transition: rotate 200ms var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--text-2); margin: 0 0 24px; max-width: 40em; }
.faq details > *:not(summary) { margin-bottom: 24px; }

/* ---------- Abschluss ---------- */
.final { position: relative; isolation: isolate; text-align: center; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, rgba(41, 121, 255, 0.22), transparent 70%); }
.final .lead { margin: 0 auto 32px; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 32px; box-shadow: 0 20px 60px -10px rgba(41, 121, 255, 0.5); }

/* ---------- Unterseiten ---------- */
.doc { width: min(760px, 100% - 32px); margin: 0 auto; padding: clamp(48px, 8vw, 96px) 0 0; }
.doc h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.doc h2 { font-size: 1.5rem; margin-top: 2.2em; }
.doc h3 { margin-top: 1.6em; }
.doc li { margin-bottom: 0.5em; }
.doc p, .doc li { color: #d6d6d6; }
.doc code { font-family: var(--mono); font-size: 0.85em; background: var(--bg-raised); padding: 2px 6px; border-radius: 6px; }

.form { display: grid; gap: 20px; margin-top: 32px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 24px; padding: clamp(20px, 4vw, 32px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: grid; gap: 8px; font-weight: 600; font-size: 0.9375rem; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px;
  min-height: 48px; padding: 12px 14px; width: 100%;
  transition: border-color 150ms ease;
}
.form textarea { min-height: 160px; resize: vertical; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(255, 255, 255, 0.3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.3); }
.form .hint { font-size: 0.875rem; color: var(--text-2); margin: 0; }
.form .btn { justify-self: start; }

/* Einblenden beim Scrollen – nur mit JS und ohne reduzierte Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; translate: 0 16px; transition: opacity 0.7s var(--ease-out), translate 0.7s var(--ease-out); }
  .js .reveal.on { opacity: 1; translate: 0 0; }
  .js .uses .reveal:nth-child(2) { transition-delay: 0.1s; }
  .js .uses .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* ---------- Mobil ---------- */
@media (max-width: 1000px) {
  .providers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .edge-text, .tier-body { grid-template-columns: 1fr; }
  .tier-phone { order: -1; }
  .pipeline { grid-template-columns: 1fr; }
  .on-device ol { grid-template-columns: 1fr 1fr; }
  .on-device li + li::before { display: none; }
  .off-device { grid-template-columns: 1fr; justify-items: start; }
  .off-device .link { width: 0; height: 24px; border-top: 0; border-left: 1px dashed rgba(255, 183, 77, 0.6); margin-left: 40px; }
  .consent { grid-template-columns: auto 1fr; }
  .consent .btn { grid-column: 1 / -1; justify-self: start; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-col + .stack-col { border-left: 0; border-top: 1px solid var(--border); }
  .cases, .trust, .limits { grid-template-columns: 1fr; }
  .benefits ul { grid-template-columns: 1fr 1fr; }
  .form .row, .row3 { grid-template-columns: 1fr; }
  .matrix tbody th { width: auto; white-space: normal; }
  /* Tour: iPhone bleibt oben stehen, die Schritte laufen darunter durch */
  .tour { grid-template-columns: 1fr; gap: 0; }
  .tour-stage { order: -1; top: 72px; height: 48vh; z-index: 2; background: linear-gradient(var(--bg) 82%, transparent); padding-bottom: 16px; }
  .step { min-height: 46vh; }
  .chapter + .chapter { margin-top: 12vh; }
}
@media (max-width: 560px) {
  .site-head nav a.hide-s { display: none; }
  .brand { font-size: 1.625rem; }
  .hero .btn { width: 100%; }
  .on-device ol { grid-template-columns: 1fr; }
  .benefits ul { grid-template-columns: 1fr; }
  .seg button { padding: 0 12px; font-size: 0.875rem; }
  .consent { grid-template-columns: 1fr; padding: 24px; }
  .site-foot small { margin-left: 0; width: 100%; }
}

/* ---------- Support-Ticket ---------- */
.ticket { gap: 24px; padding: 0; overflow: hidden; }
.ticket > :not(.ticket-head):not(.ticket-foot):not(input) { margin-inline: clamp(20px, 4vw, 32px); }
.ticket-head { display: flex; gap: 16px; align-items: center; padding: 22px clamp(20px, 4vw, 32px); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(41, 121, 255, 0.08), transparent); }
.ticket-head h3 { margin: 0 0 2px; font-size: 1.125rem; }
.ticket-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(41, 121, 255, 0.14); color: var(--blue); flex: none; }
.ticket-icon svg { width: 22px; height: 22px; }
.group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.group legend { font-weight: 600; font-size: 0.9375rem; padding: 0; margin-bottom: 10px; }
.opt { font-weight: 400; color: var(--text-2); font-size: 0.8125rem; margin-left: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.form label.pill { display: block; position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; min-height: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: var(--bg); font-weight: 600; font-size: 0.9375rem; color: var(--text-2); transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease; }
.pill:hover span { border-color: rgba(255, 255, 255, 0.3); color: var(--text); }
.pill input:checked + span { background: rgba(41, 121, 255, 0.16); border-color: var(--blue); color: var(--text); }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.row3 label { font-weight: 500; font-size: 0.8125rem; color: var(--text-2); }
.drop { display: flex !important; align-items: center; gap: 16px; width: 100%; padding: 20px; border: 1px dashed rgba(255, 255, 255, 0.22); border-radius: 16px; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.drop:hover, .drop.over { border-color: var(--blue); background: rgba(41, 121, 255, 0.06); }
.drop svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
.drop b { display: block; font-size: 1rem; }
.drop small { color: var(--text-2); font-weight: 400; font-size: 0.875rem; }
.attach input:focus-visible ~ .drop, .attach:focus-within .drop { outline: 2px solid var(--blue); outline-offset: 3px; }
.attach { justify-items: stretch; }
.privacy { display: flex; gap: 12px; margin: 0; font-size: 0.875rem; color: var(--text-2); line-height: 1.5; }
.privacy svg { width: 18px; height: 18px; color: #34c759; margin-top: 1px; }
.ticket-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 20px clamp(20px, 4vw, 32px); border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.2); }
.ticket-foot .form-status { min-height: 0; }

/* ---------- Anhänge im Support-Formular ---------- */
.attach { display: grid; gap: 12px; justify-items: start; }
.attach .btn { cursor: pointer; }
.attach input:focus-visible + .hint, .attach:focus-within .btn-secondary { outline: 2px solid var(--blue); outline-offset: 3px; }
.thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; }
.thumbs img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
.thumb-del { position: absolute; top: -10px; right: -10px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); }
.thumb-del::before { content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-raised); border: 1px solid rgba(255, 255, 255, 0.25); }
.thumb-del svg { position: relative; width: 14px; height: 14px; }
.thumb-del:hover::before { background: #2a2a2a; }
.form-status { margin: 0; font-weight: 600; min-height: 1.6em; }
.form label.btn { display: inline-flex; gap: 10px; }
