/* Landingpage – Entwurf. Grundsatz wie in der App: die Bedienung ist neutral (Aluminium-Grau, Schwarz), Farbe kommt
   vom Filament. Die einzige Signalfarbe ist das Orange der Rolle im Kopf. Schriften: Space Grotesk (Wortmarke,
   Überschriften), Geist (Text), DM Mono (Etiketten wie auf einem Spulen-Aufkleber). Alles vom eigenen Server. */

@font-face { font-family: "Space Grotesk"; src: url("fonts/SpaceGrotesk.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light;
  --alu: #E6E8E7;      /* Seitengrund: kühles Hellgrau wie eloxiertes Aluminium */
  --sheet: #F3F4F3;    /* abgesetzte Abschnitte (Datenblatt, FAQ) */
  --white: #FFFFFF;
  --ink: #101213;
  --ink-2: #4A4F52;
  --ink-3: #82878A;
  --rule: #C5C9C8;
  --signal: #FF5B14;   /* das Filament der Rolle im Kopf */
  --signal-ink: #D9400A;
  --display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body: "Geist", -apple-system, "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--alu); color: var(--ink);
  font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
code { font-family: var(--mono); font-size: .88em; background: rgba(16, 18, 19, .06); padding: .1em .35em; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.mono-label {
  font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3);
}

/* ---------- Knöpfe ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 8px; font: 500 15px/1 var(--body); text-decoration: none;
  white-space: nowrap; transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2E30; }
.btn-line { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: #FF7436; }
.btn:active { transform: translateY(1px); }

/* ---------- Navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 30; height: 68px;
  display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: background .2s, box-shadow .2s;
}
.nav.scrolled { background: color-mix(in srgb, var(--alu) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--rule); }
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 600 17px/1 var(--display); letter-spacing: -.01em; }
.nav-logo { width: 26px; height: 26px; color: var(--ink); }
/* Nebenzeile zum Namen wie auf einem Etikett */
.nav-tag { font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--rule); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { height: 38px; }

/* ---------- Kopf mit 3D-Rolle ---------- */

/* Die Bühne klebt, während man durch den hohen Abschnitt scrollt – so lange rollt sich die Rolle ab */
.hero { position: relative; height: 210vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-word {
  position: absolute; left: 0; right: 0; top: 44%; transform: translateY(-50%); margin: 0;
  text-align: center; font: 700 clamp(84px, 21.5vw, 360px)/.8 var(--display); letter-spacing: -.055em;
  text-transform: uppercase; color: var(--ink); white-space: nowrap; user-select: none;
}
#spool { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-text { position: absolute; left: var(--gutter); bottom: clamp(28px, 6vh, 64px); max-width: 470px; z-index: 2; }
.hero-text h1 { margin: 0 0 12px; font: 600 clamp(32px, 3.6vw, 50px)/1.02 var(--display); letter-spacing: -.03em; }
.hero-lead { margin: 0 0 22px; color: var(--ink-2); font-size: 17px; max-width: 46ch; }
/* „on your own web space“ hervorgehoben (Rob, 09.10.2026: „das ist nämlich wichtig“) – Textmarker in Filamentfarbe */
.hero-lead mark {
  color: var(--ink); font-weight: 600; padding: 0 .12em; margin: 0 -.04em;
  background: color-mix(in srgb, var(--signal) 32%, transparent); border-radius: 3px; /* über die ganze Zeilenhöhe (Rob, 09.10.) */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-facts {
  position: absolute; top: 82px; right: var(--gutter); z-index: 2; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  font: 400 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
/* „Online“ und „Desktop“ fett (Rob, 26.10.2026) – DM Mono gibt es nur bis 500, darum dazu dunkler und leicht nachgezogen */
.hero-facts b { font-weight: 500; color: var(--ink); -webkit-text-stroke: .35px currentColor; }

/* ---------- Abschnitte ---------- */

.block { padding: clamp(72px, 10vw, 128px) 0; }
.block-sheet { background: var(--sheet); }
.block-head { max-width: 620px; margin-bottom: clamp(32px, 4vw, 52px); }
h2[id] { scroll-margin-top: 96px; }
.block-head h2 { margin: 0 0 12px; font: 600 clamp(30px, 3.4vw, 46px)/1.05 var(--display); letter-spacing: -.03em; }
.block-head p { margin: 0; color: var(--ink-2); font-size: 18px; }

/* Nachbau der App */
.app { background: #F6F6F3; border-radius: 14px; box-shadow: 0 1px 2px rgba(16, 18, 19, .06), 0 24px 60px -24px rgba(16, 18, 19, .25); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #ECEDEC; flex-wrap: wrap; }
.app-seg { display: inline-flex; background: #EEEFEE; border-radius: 8px; padding: 2px; }
.app-seg button { height: 30px; padding: 0 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.app-seg button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.app-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.app-chip { height: 30px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 7px; font-size: 13.5px; color: var(--ink-2); box-shadow: inset 0 0 0 1px #E2E3E2; }
.app-chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.app-count { margin-left: auto; }
.app-body { padding: 18px; min-height: 320px; }
.demo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.demo-card {
  border-radius: 10px; overflow: hidden; background: var(--white);
  box-shadow: 0 1px 2px rgba(28, 28, 30, .05), 0 0 0 1px rgba(28, 28, 30, .04);
  transition: box-shadow .15s, transform .15s;
}
/* Drüberfahren wie in der App (.card:hover in css/app.css): Karte hebt sich mit Schatten 1 px an */
@media (hover: hover) {
  .demo-card:hover { box-shadow: 0 2px 6px rgba(28, 28, 30, .06), 0 12px 32px rgba(28, 28, 30, .12), 0 0 0 1px rgba(28, 28, 30, .05); transform: translateY(-1px); }
}
.demo-sw { margin: 6px 6px 0; height: 70px; border-radius: 7px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); position: relative; }
.demo-sw.glass { background: linear-gradient(color-mix(in srgb, var(--c) 62%, transparent), color-mix(in srgb, var(--c) 62%, transparent)), repeating-conic-gradient(#DDDDD9 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.demo-sw.silk { background: linear-gradient(135deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, 0) 68%), var(--c); }
.demo-rolls { position: absolute; right: 6px; top: 6px; height: 20px; padding: 0 7px; border-radius: 10px; background: rgba(255, 255, 255, .92); font: 600 12px/20px var(--body); }
.demo-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 1px; }
.demo-name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.demo-meta { font-size: 12.5px; color: var(--ink-2); }
.demo-brand { font-size: 12.5px; color: var(--ink-3); }
.demo-stars { font-size: 10px; letter-spacing: 1px; color: var(--ink); margin-top: 3px; }
.demo-stars i { font-style: normal; color: #D9DAD8; }
.demo-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.demo-table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-3); padding: 0 10px 10px; border-bottom: 1px solid #ECEDEC; }
.demo-table td { padding: 11px 10px; border-bottom: 1px solid #F0F1F0; white-space: nowrap; }
.demo-table tr:last-child td { border-bottom: 0; }
.demo-table .dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); vertical-align: -3px; margin-right: 10px; }
.demo-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.demo-table td.name { font-weight: 600; }
.demo-table td.muted { color: var(--ink-2); }
.demo-scroll { overflow-x: auto; }
/* Steckbrief neben einer Karte, wie in der App (.peek in css/app.css), hier in den Werten der Landingpage */
.app-stage { position: relative; }
.demo-peek {
  position: absolute; z-index: 5; width: 300px; max-width: calc(100% - 8px); overflow: hidden; pointer-events: none;
  background: var(--white); border-radius: 14px; color: var(--ink);
  box-shadow: 0 2px 6px rgba(16, 18, 19, .06), 0 14px 36px rgba(16, 18, 19, .16), 0 0 0 1px rgba(16, 18, 19, .05);
  opacity: 0; transform: scale(.97); transform-origin: left top; transition: opacity .26s, transform .26s;
}
.demo-peek.show { opacity: 1; transform: none; }
.demo-peek .pk-hero { background: var(--c); }  /* Filamentfarbe, bis das Foto geladen ist */
.demo-peek .pk-hero.none { background: none; }
.demo-peek .pk-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-peek .pk-hero.none { height: 96px; padding: 8px 8px 0; }
.demo-peek .pk-hero.none .demo-sw { margin: 0; height: 100%; border-radius: 9px; }
.demo-peek .pk-body { padding: 13px 16px 14px; }
.demo-peek .pk-title { font-size: 16px; font-weight: 600; line-height: 1.25; }
.demo-peek .pk-facts { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 10px 0 0; font-size: 13px; line-height: 20px; }
.demo-peek dt { color: var(--ink-3); white-space: nowrap; }
.demo-peek dd { margin: 0; display: flex; align-items: center; gap: 6px; }
.demo-peek .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); flex: none; }
.demo-peek .pk-mono { font-family: var(--mono); font-size: 12px; }
.demo-peek .demo-stars { font-size: 12px; margin: 0; }
.demo-peek .muted { color: var(--ink-3); }
.demo-peek .pk-texts { margin-top: 12px; padding-top: 11px; border-top: 1px solid #ECEDEC; display: grid; gap: 9px; }
.demo-peek .pk-label { color: var(--ink-3); font-size: 12px; margin-bottom: 1px; }
.demo-peek .pk-text { font-size: 13px; }

/* Film im Abschnitt „Install“ (wie bei SnipDot: eigener Abspielknopf, danach die normalen Bedienelemente) */
.film { position: relative; margin: 0 0 clamp(36px, 5vw, 56px); aspect-ratio: 16 / 9; scroll-margin-top: 96px; border-radius: 14px; overflow: hidden; background: var(--alu);
  box-shadow: 0 1px 2px rgba(16, 18, 19, .06), 0 24px 60px -24px rgba(16, 18, 19, .25); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 8px; border-radius: 28px; background: var(--ink); color: #fff; font: 500 16px/1 var(--body);
  box-shadow: 0 10px 30px -10px rgba(16, 18, 19, .5); transition: transform .15s, background .15s;
}
.film-play:hover { background: #2A2E30; transform: translateX(-50%) translateY(-2px); }
.film-play-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; }
.film-play-dot svg { width: 24px; height: 24px; fill: var(--ink); }
.film-time { font: 500 13px/1 var(--mono); letter-spacing: .06em; color: rgba(255, 255, 255, .6); margin-left: 6px; }
.film.is-playing .film-play { display: none; }

/* Datenblatt */
.sheet { margin: 0; border-top: 1.5px solid var(--ink); }
.sheet-row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.sheet dt { font: 500 12.5px/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.sheet dd { margin: 0; color: var(--ink-2); display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start; }
/* Symbol zwischen Bezeichnung und Text (Rob, 09.10.2026) */
.sheet-ic { width: 28px; height: 28px; color: var(--ink); margin-top: -2px; }
.sheet-txt { max-width: 64ch; }
.sheet dd strong { display: block; color: var(--ink); font: 600 19px/1.3 var(--display); letter-spacing: -.01em; margin-bottom: 4px; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.facts li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--rule); font: 600 20px/1.3 var(--display); letter-spacing: -.01em; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); border-top: 1.5px solid var(--ink); padding-top: 24px; }
.trio h3 { margin: 0 0 8px; font: 600 21px/1.2 var(--display); letter-spacing: -.01em; }
.trio p { margin: 0; color: var(--ink-2); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 18px; }
.step-n { display: block; font: 500 54px/1 var(--mono); letter-spacing: -.04em; margin-bottom: 18px; }
.steps h3 { margin: 0 0 6px; font: 600 21px/1.2 var(--display); letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-2); }
.more { margin: 40px 0 0; }

/* ---------- Online oder Desktop (Robs Wunsch, 26.10.2026, wie bei SnipDot) ----------
   Gemeinsamer erster Schritt über die ganze Breite, dann zwei gleichwertige Karten (weiß auf Aluminium) mit je zwei
   Schritten, darunter der Vergleich als Tabelle im Stil des Datenblatts. Haken = Signal-Orange, Nein = leerer Ring. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.steps.way-first { grid-template-columns: 1fr; margin-bottom: clamp(24px, 3vw, 36px); }
.way-first li, .way .steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.way-first .step-n, .way .step-n { margin: 0; font-size: 40px; }
.way-first p { max-width: 70ch; }
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.way { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); border-radius: 14px; background: var(--white);
  box-shadow: 0 1px 2px rgba(16, 18, 19, .05), 0 18px 40px -28px rgba(16, 18, 19, .25); }
.way-head { display: flex; align-items: center; gap: 14px; }
.way-ic { width: 40px; height: 40px; flex: none; color: var(--ink); }
.way-head h3 { margin: 0; font: 600 30px/1.05 var(--display); letter-spacing: -.025em; }
.way-head .mono-label { margin: 5px 0 0; }
.way-lead { margin: 0; color: var(--ink-2); }
.way .steps { grid-template-columns: 1fr; gap: 0; }
.way .steps li { border-top: 1px solid var(--rule); padding: 16px 0; }
.way .steps li:last-child { padding-bottom: 0; }
.way h4 { margin: 0 0 4px; font: 600 19px/1.25 var(--display); letter-spacing: -.01em; }
.way .steps p { margin: 0; color: var(--ink-2); }

.compare { width: 100%; margin-top: clamp(32px, 4vw, 52px); border-collapse: collapse; border-top: 1.5px solid var(--ink); }
.compare thead th { padding: 16px 8px 12px; text-align: center; font-weight: 500; }
.compare tbody tr { border-top: 1px solid var(--rule); }
.compare tbody th { padding: 14px 12px 14px 0; text-align: left; font: 600 18px/1.3 var(--display); letter-spacing: -.01em; }
.compare tbody th small { display: block; margin-top: 2px; font: 400 14px/1.4 var(--body); letter-spacing: 0; color: var(--ink-3); }
.compare td { width: 22%; padding: 12px 8px; text-align: center; vertical-align: middle; }
.compare td small { display: block; margin-top: 5px; font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }
.compare tfoot tr { border-top: 1.5px solid var(--ink); }
.compare tfoot td { width: auto; padding: 16px 0 0; text-align: left; font-size: 15px; color: var(--ink-2); }
.compare tfoot b { color: var(--ink); font-weight: 600; }
.yes, .no { position: relative; display: inline-block; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.yes { background: var(--signal); }
.yes::after { content: ""; position: absolute; left: 9px; top: 5px; width: 6px; height: 12px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.no { box-shadow: inset 0 0 0 1.5px var(--rule); }
.no::after { content: ""; position: absolute; left: 8px; right: 8px; top: 12px; height: 1.5px; border-radius: 1px; background: var(--ink-3); }

.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font: 600 18px/1.35 var(--display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 26px/1 var(--mono); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ink-2); max-width: 62ch; }

.cta { background: var(--ink); color: #fff; padding: clamp(72px, 10vw, 120px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; font: 600 clamp(32px, 4.4vw, 60px)/1 var(--display); letter-spacing: -.035em; max-width: 14ch; }
.cta-text { display: flex; flex-direction: column; gap: 16px; }
.cta-note { margin: 0; color: rgba(255, 255, 255, .62); font-size: 16px; max-width: 46ch; }

.foot { padding: 40px 0 48px; }
.foot-inner { display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: center; }
.foot-claim { margin: 0; font: 600 18px/1.3 var(--display); display: flex; align-items: baseline; gap: 10px; }
.foot-tag { font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.foot-sub { margin: -6px 0 0; grid-column: 1; font-size: 14px; color: var(--ink-2); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; grid-column: 2; grid-row: 1 / span 2; }
.foot-links button { font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.foot-links button:hover { color: var(--ink); text-decoration-color: var(--ink); }
.foot-copy { grid-column: 1 / -1; margin: 0; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Dialoge (Rechtstexte) ---------- */

dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(16, 18, 19, .45); backdrop-filter: blur(3px); }
.legal-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border-radius: 8px; font-size: 24px; line-height: 1; color: var(--ink-2); }
.legal-close:hover { background: #EEEFEE; color: var(--ink); }
.legal { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border-radius: 14px; background: var(--white); padding: 0; overflow: hidden; }
.legal[open] { display: flex; flex-direction: column; }
.legal-head { position: relative; padding: 22px 28px 0; }
.legal-eyebrow { margin: 0; font: 500 11.5px/1.3 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.legal h2 { margin: 6px 28px 0; font: 600 28px/1.1 var(--display); letter-spacing: -.02em; }
.legal-body { overflow-y: auto; padding: 8px 28px 28px; font-size: 15.5px; color: var(--ink-2); overscroll-behavior: contain; }
.legal-body h3 { color: var(--ink); font: 600 17px/1.3 var(--display); margin: 22px 0 6px; }
.legal-body p, .legal-body ul { margin: 0 0 10px; }
.legal-date { font: 500 12px/1.4 var(--mono); color: var(--ink-3); }

/* ---------- Einblenden beim Scrollen ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mittel und klein ---------- */

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .split, .faq-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { height: 180vh; }
  .hero-word { top: 31%; font-size: 22vw; }
  .hero-text { right: var(--gutter); bottom: 28px; }
  .hero-lead { font-size: 16px; margin-bottom: 18px; }
  .hero-actions .btn-line { display: none; }
  .hero-facts { display: none; }
  .sheet-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .sheet dd { grid-template-columns: 26px 1fr; gap: 14px; }
  .sheet-ic { width: 24px; height: 24px; }
  .trio, .steps { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
  .way-first li, .way .steps li { grid-template-columns: 44px 1fr; gap: 12px; }
  .way-first .step-n, .way .step-n { font-size: 32px; }
  .compare tbody th { font-size: 16px; }
  .compare td { width: 24%; padding: 12px 4px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-sub { margin: 0; }
  .foot-links { justify-content: flex-start; grid-column: auto; grid-row: auto; }
  .demo-cards { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
  .film { border-radius: 10px; }
  .film-play { height: 44px; padding: 0 4px; bottom: 6%; }
  .film-play-dot { width: 36px; height: 36px; }
  .film-play-label { display: none; }
  .app-filters { display: none; }
}

@media (max-width: 400px) {
  .nav-tag { display: none; }
}
/* niedrige Handy-Bildschirme (z. B. iPhone SE mit Safari-Leisten): alles im Kopf etwas kompakter */
@media (max-width: 760px) and (max-height: 620px) {
  .hero-word { top: 28%; font-size: 19vw; }
  .hero-text h1 { font-size: 28px; margin-bottom: 8px; }
  .hero-lead { font-size: 15px; line-height: 1.45; margin-bottom: 14px; }
  .hero-actions .btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}
