/* Kokano – Startseite (statisch). Richtung: „Der Satz ist das Layout“.
   Alle Farben und Größen laufen über die Tokens unten. */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  /* Farbe: ein Grund, eine Tinte, das Kokano-Cyan als Feld und Akzent */
  --paper: #f3f6f7;
  --surface: #e4ecef;
  --ink: #0a1b24;
  --muted: #3d4f58;
  --cyan: #00c8ff;
  --cyan-soft: #8fe6ff;
  --deep: #003b4f;          /* Tinte auf Cyan, 6,1:1 */
  --night: #0a1b24;
  --night-2: #13303d;
  --on-night: #eef5f7;
  --on-night-muted: #a9bfc8;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fünf Größen, mehr nicht */
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-sub: clamp(1.625rem, 1rem + 1.6vw, 2.5rem);
  --step-head: clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);
  --step-hero: clamp(4rem, 0.6rem + 12.2vw, 12.5rem);

  --gutter: clamp(16px, 2.2vw, 32px);
  --section: clamp(112px, 12vw, 200px);
  --radius: 6px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.on-night :focus-visible, .on-cyan :focus-visible { outline-color: currentColor; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { padding-inline: var(--gutter); }
.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.display {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin: 0;
  text-wrap: balance;
}

/* ---------- Knopf: eine Form auf der ganzen Seite ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: var(--radius);
  background: var(--ink); color: var(--paper);
  font-family: var(--text); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  -webkit-user-select: none; user-select: none; touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--night-2); } }
.btn--cyan { background: var(--cyan); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn--cyan:hover { background: var(--cyan-soft); } }
.btn .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arrow { transform: translateX(3px); } }

.textlink {
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em;
  transition: text-decoration-color 200ms ease, color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .textlink:hover { text-decoration-color: transparent; } }

/* ---------- Kopfzeile: nimmt die Tinte des Kapitels darunter an ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 72px; padding-inline: var(--gutter);
  color: var(--ink); background: var(--paper);
  transition: color 300ms ease, background-color 300ms ease;
}
.bar[data-ink="night"] { color: var(--on-night); background: var(--night); }
.bar[data-ink="deep"] { color: var(--ink); background: var(--cyan); }
.bar[data-ink="surface"] { background: var(--surface); }
.bar[data-ink="cyan"] { background: var(--cyan); }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: var(--step-lead); letter-spacing: -0.01em;
  text-transform: uppercase; text-decoration: none; line-height: 1;
}
.wordmark img { width: 30px; height: 30px; border-radius: 7px; }
.bar nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.bar nav a.navlink {
  text-decoration: none; font-weight: 500; font-size: 1rem;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: text-decoration-color 200ms ease;
  padding-block: 4px;
}
@media (hover: hover) and (pointer: fine) { .bar nav a.navlink:hover { text-decoration-color: currentColor; } }
.lang {
  border: 0; background: none; padding: 6px 2px; cursor: pointer; font-weight: 600; font-size: 1rem;
  min-width: 32px;
}
.bar__end { display: flex; align-items: center; gap: 14px; }
.bar .btn { min-height: 44px; padding: 0 18px; font-size: 1rem; }
.bar[data-ink="night"] .btn { background: var(--cyan); color: var(--ink); }
.menu-toggle { display: none; border: 0; background: none; font-weight: 600; font-size: 1rem; padding: 10px 4px; cursor: pointer; }

/* ---------- Hero: zwei Felder, die Naht schneidet die zweite Zeile ---------- */
.hero {
  position: relative;
  min-height: calc(100svh + 30svh);
  background: var(--cyan);
}
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 50svh; background: var(--paper); }
.hero__stage { position: relative; height: 100svh; z-index: 1; }
.hero__after { position: relative; z-index: 1; }
.hero__title {
  position: absolute; left: 50%; top: 50svh;
  width: min(100% - 2 * var(--gutter), 1500px);
  transform: translate(-50%, -66.4%);
  font-size: var(--step-hero);
  text-align: center;
}
.hero__copy { display: block; line-height: 0.88; }
.hero__copy .line { display: block; white-space: nowrap; }
.hero__copy--top { color: var(--ink); clip-path: inset(0 0 33.6% 0); }
.hero__copy--bottom {
  position: absolute; inset: 0; color: var(--deep);
  clip-path: inset(66.4% 0 0 0);
}
.hero__copy--bottom .slot { visibility: hidden; }

/* das Bild im Satz: genau eine Zeilenhöhe hoch */
.slot {
  display: inline-block; position: relative; vertical-align: -0.02em;
  width: 1.55em; height: 0.74em; margin-inline: 0.08em 0.02em;
  border-radius: 0.07em; overflow: hidden; background: var(--surface);
}
.slot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
}
.slot img.is-on { opacity: 1; }
.slot__price {
  position: absolute; right: 0.06em; bottom: 0.06em;
  font-family: var(--text); font-weight: 600; text-transform: none; letter-spacing: 0;
  font-size: clamp(11px, 0.09em, 18px); line-height: 1.2;
  background: var(--paper); color: var(--ink); padding: 0.25em 0.5em; border-radius: 4px;
}

/* Satz und Download direkt unter der Überschrift: Unterkante der zweiten
   Zeile = Naht + 0,59 em (2 Zeilen à 0,88 em, 66,4 % liegen über der Naht). */
.hero__cta {
  position: absolute; left: 0; right: 0;
  top: calc(50svh + var(--step-hero) * 0.59 + clamp(28px, 4vh, 48px));
  display: flex; flex-direction: column; align-items: center; gap: 28px;
  padding-inline: var(--gutter); text-align: center;
}
.hero__lede {
  margin: 0; width: min(100%, 34ch); color: var(--ink);
  font-size: var(--step-lead); line-height: 1.35; font-weight: 500;
}
.stores { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__cta .stores { justify-content: center; }
.store-badge {
  display: inline-flex; align-items: center; height: 52px; border-radius: 9px;
  transition: transform 160ms var(--ease-out);
}
.store-badge img { height: 52px; width: auto; }
/* Das offizielle Google-Play-Badge hat einen eingebauten Rand */
.store-badge--play { overflow: hidden; }
.store-badge--play img { height: 76px; margin: -12px -11px; max-width: none; }
.store-badge:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .store-badge:hover { transform: translateY(-2px); } }
.store-badge.is-mine { order: -1; }

.hero__after {
  display: flex; align-items: end; justify-content: space-between; gap: 32px;
  min-height: 30svh; padding: 0 var(--gutter) 48px; color: var(--ink);
}
.hero__now p { margin: 0; max-width: 34ch; font-weight: 500; }
.hero__city {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: var(--step-sub); line-height: 0.95; color: var(--ink); margin-bottom: 10px !important;
}
.scan { display: flex; align-items: center; gap: 18px; margin: 0; }
.scan img { width: 132px; height: 132px; padding: 10px; background: #fff; border-radius: 12px; }
.scan figcaption { max-width: 22ch; font-size: var(--step-small); font-weight: 500; line-height: 1.45; }
.scan--night figcaption { color: var(--on-night); }

/* ---------- Rechner: die Überschrift ist ein Eingabefeld ---------- */
.calc { padding-block: var(--section) calc(var(--section) * 0.55); }
.calc h2 { grid-column: 1 / -1; margin: 0 0 12px; font-size: var(--step-lead); font-weight: 500; color: var(--muted); }
.calc__field { grid-column: 1 / -1; position: relative; }
.calc__input {
  width: 100%; border: 0; background: none; padding: 0; margin: 0;
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: var(--step-head); letter-spacing: -0.02em; line-height: 1;
  color: var(--ink); caret-color: var(--cyan);
  text-overflow: clip; outline: none;
}
.calc__input:focus-visible { outline: none; }
.calc__field:focus-within::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; background: var(--cyan);
}
.calc__body { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; margin-top: 48px; row-gap: 40px; }
.answer { grid-column: 1 / span 6; max-width: 560px; }
.answer__card {
  background: #fff; border-radius: 14px; padding: 22px;
  display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: center;
}
.answer__thumb { width: 88px; height: 88px; border-radius: 10px; object-fit: cover; background: var(--surface); }
.answer__name { margin: 0; font-weight: 600; font-size: var(--step-body); line-height: 1.2; }
.answer__meta { margin: 4px 0 0; color: var(--muted); font-size: var(--step-small); }
.answer__lines { grid-column: 1 / -1; margin: 4px 0 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.answer__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; }
.answer__lines li { padding: 6px 0; }
.answer__lines .total { font-weight: 600; font-size: var(--step-body); margin-top: 8px; padding: 12px 14px; background: var(--paper); border-radius: 10px; }
.answer__payout {
  grid-column: 1 / -1; margin: 2px 0 0; padding: 14px 16px; border-radius: 10px;
  background: #dff7ff; color: var(--deep); font-weight: 500;
}
.answer__note { margin: 14px 0 0; font-size: var(--step-small); color: var(--muted); }
.examples { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; }
.examples button {
  border: 0; background: none; padding: 6px 0; cursor: pointer; font-size: var(--step-body); font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 0.22em;
  text-decoration-color: var(--cyan);
  transition: color 160ms ease, transform 160ms var(--ease-out);
}
.examples button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .examples button:hover { color: var(--deep); } }

/* ---------- Isar: das kleine Bild im Satz öffnet sich zur ganzen Breite ---------- */
.isar { position: relative; }
.isar figure { margin: 0; overflow: hidden; }
.isar img { width: 100%; height: clamp(360px, 62svh, 760px); object-fit: cover; object-position: 50% 58%; }
.isar figcaption {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 20px var(--gutter) 0; color: var(--muted); font-size: var(--step-small);
}
.isar__statement {
  margin: 0; padding: 56px var(--gutter) 0; max-width: calc(44ch + 2 * var(--gutter));
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.25rem); line-height: 1.25; font-weight: 500;
}

/* ---------- Ablauf: der Fortschrittsbalken der App als Diagramm ---------- */
.steps { background: var(--night); color: var(--on-night); padding-block: var(--section); margin-top: var(--section); }
.steps h2 { font-size: var(--step-head); margin-bottom: 64px; max-width: 14ch; }
/* Eine Zeile, fünf Abschnitte. Breite = wie lange der Schritt dauert (mit
   Mindestbreite, damit jeder Satz lesbar bleibt). Farbe = was passiert:
   Vorbereitung dunkel, die zwei Scans hellblau, die Mietzeit in Kokano-Cyan. */
.stagebar { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.stage { flex: 1 1 0; min-width: 176px; display: flex; flex-direction: column; gap: 18px; }
.stage__bar {
  display: flex; align-items: flex-end; height: clamp(96px, 11vw, 150px); padding: 16px 18px;
  border-radius: var(--radius); background: var(--night-2); color: var(--on-night);
}
.stage__time { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; font-size: var(--step-lead); line-height: 0.95; }
.stage__clause { display: block; padding-right: 12px; max-width: 30ch; font-size: 1rem; line-height: 1.5; color: var(--on-night); }
.stage--c .stage__bar, .stage--e .stage__bar { background: var(--cyan-soft); color: var(--ink); }
.stage--d { flex-grow: 4.2; }
.stage--d .stage__bar { background: var(--cyan); color: var(--ink); }
.stage--d .stage__time { font-size: var(--step-sub); }
.steps__qr { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 120px; align-items: center; }
.steps__qr > div:not(.frag) { grid-column: 6 / span 6; }
.steps__qr h3 { font-size: var(--step-sub); margin-bottom: 24px; }
.steps__qr > div:not(.frag) p { margin: 0; max-width: 46ch; color: var(--on-night); }
.steps__qr > div:not(.frag) p + p { margin-top: 16px; color: var(--on-night-muted); }

/* ---------- Sicherheit: Zeilen an einer Achse, Bilder am Rand ---------- */
.safe { background: var(--cyan); color: var(--deep); padding-block: clamp(72px, 7vw, 120px) var(--section); }
.safe__head { min-height: 40svh; display: flex; align-items: center; }
.safe__head h2, .safe__row { margin-left: 35%; }
.safe h2 { font-size: var(--step-head); max-width: 18ch; color: var(--ink); }
.safe__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--gutter); align-items: start;
  margin-top: 112px;
}
.safe__row h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; font-size: var(--step-sub); color: var(--ink); }
.safe__row p { margin: 0; max-width: 36ch; color: var(--ink); }
.safe__row > img { border-radius: 22px; object-fit: cover; }

/* ---------- Vermieten: Text links, das echte Inserat rechts ---------- */
.lend {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter);
  align-items: center; padding-block: var(--section) 0;
}
.lend__text { grid-column: 1 / span 6; }
.lend h2 { font-size: var(--step-head); max-width: 12ch; }
.lend__lede { margin: 32px 0 0; max-width: 40ch; font-size: var(--step-lead); line-height: 1.4; }
.lend__facts { margin: 40px 0 44px; display: grid; gap: 22px; }
.lend__facts div { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); column-gap: var(--gutter); align-items: baseline; }
.lend__facts dt { font-weight: 600; }
.lend__facts dd { margin: 0; max-width: 36ch; }
.lend__shots { grid-column: 8 / -1; position: relative; display: flex; justify-content: flex-end; padding-bottom: 40px; }
.lend__phone { margin: 0; width: min(100%, 360px); border-radius: 28px; overflow: hidden; background: #fff; aspect-ratio: 780 / 1240; }
.lend__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
[data-ui].payout { position: absolute; left: 0; bottom: 0; width: min(78%, 300px); padding: 18px; }
[data-ui] .payout__title { font-size: 18px; font-weight: 600; }
[data-ui] .payout__sub { margin-top: 2px; color: var(--ui-muted); font-size: 13px; }
[data-ui] .payout__lines { list-style: none; margin: 12px 0 0; padding: 0; font-variant-numeric: tabular-nums; }
[data-ui] .payout__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
[data-ui] .payout__lines .total { margin-top: 6px; padding: 10px 12px; border-radius: 12px; background: var(--ui-tint); color: var(--ui-cyan-ink); font-weight: 600; }

/* ---------- Preis: das Angebot als ein Satz ---------- */
.price { padding-block: var(--section); min-height: 80svh; display: flex; flex-direction: column; justify-content: center; }
.price h2 { font-size: var(--step-head); line-height: 0.95; }
.price h2 .line { display: block; }
.figure { background: var(--cyan); padding: 0 0.15em; border-radius: 0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.price__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); margin-top: 64px; align-items: end; }
.price__foot p { grid-column: 1 / span 6; margin: 0; font-size: var(--step-lead); line-height: 1.4; }
.price__foot .actions { grid-column: 9 / -1; justify-self: end; text-align: right; }
.price__tiers { grid-column: 1 / span 6; margin: 28px 0 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.price__tiers li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; max-width: 520px; }
.price__tiers li { padding: 12px 16px; }
.price__tiers li:nth-child(odd) { background: var(--surface); border-radius: var(--radius); }
.price__tiers b { font-weight: 600; }

/* ---------- Fragen: große Fragen, Antworten daneben ---------- */
.faq { background: var(--surface); padding-block: var(--section); }
.faq__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: baseline; }
.faq__row + .faq__row { margin-top: 80px; }
.faq__q, .faq h2 { grid-column: 1 / span 6; margin: 0; font-family: var(--text); font-weight: 500; font-size: var(--step-sub); line-height: 1.1; letter-spacing: -0.01em; text-transform: none; text-wrap: balance; }
.faq h2 { color: var(--muted); }
.faq__a { grid-column: 8 / -1; margin: 0; max-width: 42ch; font-size: var(--step-body); line-height: 1.55; }
.faq__a + .faq__a { margin-top: 12px; }
.faq__answers { grid-column: 8 / -1; }

/* ---------- Schluss + Fuß: umgekehrte Farben, der Name angeschnitten ---------- */
.close { background: var(--night); color: var(--on-night); overflow: hidden; position: relative; }
.close__top { padding-block: var(--section) 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
.close h2 { grid-column: 1 / span 8; font-size: var(--step-head); }
.close__invite { grid-column: 1 / span 6; margin-top: 48px; }
.close .scan { grid-column: 9 / -1; grid-row: 2 / span 2; align-self: end; justify-self: end; }
.close__news { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; font-size: inherit; }
@media (hover: hover) and (pointer: fine) { .close__news:hover { color: var(--cyan); } }
.close__invite p { margin: 0 0 28px; font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; color: var(--on-night); }
.close__links { grid-column: 10 / -1; grid-row: 1; align-self: start; display: flex; flex-direction: column; gap: 10px; padding-top: 12px; font-size: var(--step-body); }
.close__links a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .close__links a:hover { color: var(--cyan); } }
.legal {
  display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap;
  padding-inline: var(--gutter); font-size: var(--step-small); color: var(--on-night-muted);
}
.legal nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.legal a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .legal a:hover { color: var(--on-night); } }
.credits { padding: 16px var(--gutter) 0; font-size: var(--step-small); color: var(--on-night-muted); max-width: 120ch; line-height: 1.5; }
.credits summary { cursor: pointer; width: fit-content; }
.credits ul { margin: 10px 0 0; padding-left: 18px; }
.credits a { text-underline-offset: 0.2em; }
.bigname {
  margin: 24px 0 0; font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 31vw; line-height: 0.8; letter-spacing: -0.03em; white-space: nowrap;
  color: var(--cyan); transform: translateY(26%); margin-left: -0.04em; user-select: none; pointer-events: none;
}

/* ---------- Bewegung: Auftritte je Abschnitt ----------
   Alles Versteckte steht nur in no-preference; bei reduzierter Bewegung ist
   die Seite sofort fertig. */
.answer__card { transition: opacity 180ms ease; }
.answer__card.is-updating { opacity: 0.55; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .stagebar.reveal { opacity: 1; transform: none; }
  .js .stagebar .stage__bar { transform: scaleX(0.06); transform-origin: left center; opacity: 0; transition: transform 900ms var(--ease-out), opacity 400ms ease; transition-delay: var(--d, 0ms); }
  .js .stagebar .stage__clause { opacity: 0; transform: translateY(12px); transition: opacity 600ms ease, transform 700ms var(--ease-out); transition-delay: calc(var(--d, 0ms) + 300ms); }
  .js .stagebar.is-in .stage__bar, .js .stagebar.is-in .stage__clause { transform: none; opacity: 1; }
  .js .isar img { transform: scale(1.08); transform-origin: 50% 60%; transition: transform 2400ms var(--ease-out); }
  .js .isar.is-in img { transform: scale(1); }
  /* Überschrift und Satz sind ab dem ersten Bild sichtbar (LCP), sie gleiten nur */
  .js .hero__copy { transform: translateY(28px); transition: transform 1000ms var(--ease-out); }
  .js .hero__copy--bottom { transition-delay: 0ms; }
  .js.ready .hero__copy { transform: none; }
  .js .hero__lede { transform: translateY(16px); transition: transform 900ms var(--ease-out) 160ms; }
  .js .hero__cta .stores { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease 320ms, transform 900ms var(--ease-out) 320ms; }
  .js.ready .hero__lede, .js.ready .hero__cta .stores { opacity: 1; transform: none; }
  .js .slot { transform: scale(0.6); transition: transform 900ms var(--ease-out) 200ms; }
  .js.ready .slot { transform: none; }
  .slot img { transition: opacity 700ms ease; }
}
@media (prefers-reduced-motion: reduce) { .slot img { transition: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .answer { grid-column: 1 / span 7; }
  .calc__shot { grid-column: 9 / -1; }
  .safe__head h2, .safe__row { margin-left: 22%; }
  .stagebar { flex-direction: column; gap: 8px; }
  .stage { min-width: 0; flex-direction: row; align-items: stretch; gap: 24px; }
  .stage__bar { flex: 0 0 38%; height: auto; min-height: 88px; }
  .stage--d .stage__bar { min-height: 200px; }
  .stage__clause { align-self: center; padding: 8px 0; max-width: 40ch; }
}

/* ---------- Telefon: eine eigene Komposition ---------- */
@media (max-width: 760px) {
  :root { --section: 104px; }
  .bar { height: 64px; }
  .bar nav .navlink, .bar nav .lang { display: none; }
  .menu-toggle { display: inline-block; }
  .bar.is-open nav {
    position: fixed; inset: 64px 0 auto 0; display: flex; flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 16px var(--gutter) 24px; background: var(--paper); color: var(--ink);
  }
  .bar.is-open nav .navlink, .bar.is-open nav .lang { display: block; font-size: 1.375rem; padding: 10px 0; }
  .bar.is-open nav .btn { margin-top: 10px; }
  .bar__end { gap: 10px; }
  .bar .btn { min-height: 40px; padding: 0 14px; }

  .hero { min-height: calc(88svh + 20svh); }
  .hero__stage { height: 88svh; }
  .hero::before { height: 46svh; }
  .hero__title { top: 46svh; font-size: 16vw; }
  .slot { display: block; width: 3.4em; height: 1.3em; margin: 0.06em auto 0.1em; }
  .hero__copy--top { clip-path: inset(0 0 18.3% 0); }
  .hero__copy--bottom { clip-path: inset(81.7% 0 0 0); }
  .hero__title { transform: translate(-50%, -81.7%); }
  .hero__cta { top: calc(46svh + 16vw * 0.59 + 28px); gap: 22px; }
  .hero__lede { font-size: 1.0625rem; width: min(100%, 30ch); }
  .store-badge, .store-badge img { height: 46px; }
  .store-badge--play img { height: 67px; margin: -10.5px -10px; }
  .hero__after { min-height: 0; padding-block: 8px 48px; }
  .scan { display: none; }

  .calc__input { font-size: 9.6vw; }
  .stage__time { display: block; }
  .calc__body { display: block; margin-top: 28px; }
  .answer { max-width: none; }
  .answer__card { padding: 18px; grid-template-columns: 64px 1fr; }
  .answer__thumb { width: 64px; height: 64px; }
  .examples { gap: 10px; }
  .examples button { min-height: 44px; padding: 0 16px; border-radius: var(--radius); background: var(--surface); text-decoration: none; }

  .isar img { height: 52svh; }
  .isar__statement { padding-top: 40px; }

  .steps h2 { font-size: 13vw; margin-bottom: 40px; }
  .stagebar { flex-direction: column; gap: 6px; }
  .stage { min-width: 0; flex-direction: row; align-items: stretch; gap: 16px; }
  .stage__bar { flex: 0 0 42%; height: auto; min-height: 84px; padding: 14px; }
  .stage--d .stage__bar { min-height: 200px; }
  .stage__time, .stage--d .stage__time { font-size: 1.25rem; }
  .stage__clause { align-self: center; padding: 8px 0; font-size: 0.9375rem; }
}
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .js .stagebar .stage__bar { transform: scaleX(0.2); }
}
@media (max-width: 760px) {
  .steps__qr { display: block; margin-top: 88px; }

  .safe__head { min-height: 0; padding-block: 24px 8px; }
  .safe__head h2, .safe__row { margin-left: 0; }
  .safe h2 { font-size: 13vw; }
  .safe__row { display: block; margin-top: 64px; }

  .lend { display: block; }
  .lend h2 { font-size: 13vw; }
  .lend__facts div { grid-template-columns: 1fr; row-gap: 2px; }
  .lend .btn { width: 100%; }
  .lend__shots { margin-top: 56px; justify-content: flex-end; }
  .lend__phone { width: 78%; }
  [data-ui].payout { width: 70%; }

  .price { min-height: 0; }
  .price h2 { font-size: 12.5vw; }
  .price__foot { display: block; margin-top: 36px; }
  .price__foot .actions { text-align: left; margin-top: 32px; width: 100%; }
  .price__foot .actions .btn { width: 100%; }

  .faq__row { display: block; }
  .faq__row + .faq__row { margin-top: 56px; }
  .faq__answers, .faq__a { margin-top: 12px; }

  .close__top { display: block; padding-bottom: 72px; }
  .close h2 { font-size: 15vw; }
  .close__invite .stores { gap: 12px; }
  .close__links { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; font-size: 0.9375rem; }
  .bigname { font-size: 36vw; }
}

/* Englisch: „from next door.“ ist länger als „von nebenan.“ */
html[lang="en"] .hero__title { font-size: calc(var(--step-hero) * 0.84); }
@media (max-width: 760px) { html[lang="en"] .hero__title { font-size: 13vw; } }

/* ---------- App-Ausschnitte (statt Screenshots) ----------
   Echte Oberfläche in HTML, scharf in jeder Größe. Innerhalb von [data-ui]
   gelten die Konventionen der App (Radien, feine Rahmen). */
[data-ui].frag {
  --ui-ink: #0a1b24; --ui-muted: #5a6b73; --ui-line: #e3eaee; --ui-tint: #e6f8ff; --ui-cyan: #00c8ff; --ui-cyan-ink: #00627f;
  background: #fff; color: var(--ui-ink); border-radius: 22px; overflow: hidden;
  font-family: var(--text); font-size: 15px; line-height: 1.4; text-align: left;
}
[data-ui] p { margin: 0; max-width: none; }
[data-ui] svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
[data-ui] .ui-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 1; min-height: 46px; border-radius: 12px;
  background: var(--ui-cyan); color: var(--ui-ink); font-weight: 600; font-size: 15px;
}
[data-ui] .ui-btn--soft { background: var(--ui-tint); color: var(--ui-cyan-ink); flex: 0.8; }

/* Inserat */
.calc__shot { grid-column: 8 / -1; align-self: start; justify-self: end; width: 100%; max-width: 400px; margin: 0; }
.calc__shot > p { margin: 14px 0 0; color: var(--muted); font-size: var(--step-small); }
[data-ui] .listing__photo { aspect-ratio: 4 / 3; background: var(--ui-line); }
[data-ui] .listing__photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity 220ms ease; }
[data-ui] .listing__body { padding: 18px 18px 20px; }
[data-ui] .listing__title { font-size: 22px; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
[data-ui] .listing__where { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--ui-cyan-ink); font-weight: 500; }
[data-ui] .listing__where svg { font-size: 16px; }
[data-ui] .listing__cat { margin-top: 4px; color: var(--ui-muted); }
[data-ui] .listing__prices { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 16px; }
[data-ui] .listing__day { background: var(--ui-tint); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; justify-content: center; }
[data-ui] .listing__day b { font-size: 28px; line-height: 1; color: var(--ui-cyan-ink); font-variant-numeric: tabular-nums; }
[data-ui] .listing__day span { margin-top: 4px; font-weight: 500; color: var(--ui-cyan-ink); }
[data-ui] .listing__prices dl { margin: 0; border: 1px solid var(--ui-line); border-radius: 14px; padding: 8px 14px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
[data-ui] .listing__prices dl div { display: flex; justify-content: space-between; gap: 8px; }
[data-ui] .listing__prices dt { color: var(--ui-muted); }
[data-ui] .listing__prices dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
[data-ui] .listing__actions { display: flex; gap: 10px; margin-top: 16px; }

/* QR-Übergabe */
.steps__qr > .frag { grid-column: 1 / span 4; width: 100%; max-width: 360px; }
[data-ui].qr { padding: 18px 20px 20px; text-align: center; }
[data-ui] .qr__bar { font-weight: 600; font-size: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--ui-line); }
[data-ui] .qr__item { margin-top: 16px; font-size: 20px; font-weight: 600; }
[data-ui] .qr__hint { margin-top: 4px; color: var(--ui-muted); }
[data-ui] .qr__code { margin: 16px auto 0; width: 72%; aspect-ratio: 1; padding: 6%; border: 1px solid var(--ui-line); border-radius: 16px; color: var(--ui-ink); }
[data-ui] .qr__code svg { width: 100%; height: 100%; }
[data-ui] .qr__timer { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; padding: 10px; border-radius: 12px; background: var(--ui-tint); color: var(--ui-cyan-ink); font-weight: 600; }
[data-ui] .qr__timer b { font-variant-numeric: tabular-nums; }
[data-ui] .qr__alt { margin-top: 10px; padding: 12px; border: 1px solid var(--ui-line); border-radius: 12px; color: var(--ui-muted); font-size: 13px; }
[data-ui] .qr__alt b { display: block; margin-top: 4px; font-size: 26px; letter-spacing: 0.3em; color: var(--ui-ink); font-variant-numeric: tabular-nums; padding-left: 0.3em; }

/* Gleiche Form für alle Bilder in den Sicherheitszeilen */
.safe__row > .frag, .safe__row > img { width: 340px !important; aspect-ratio: auto !important; }
.safe__row > img { aspect-ratio: 4 / 3 !important; border-radius: 22px; object-fit: cover; }

/* Umkreis */
[data-ui] .map__head { padding: 14px 16px 12px; }
[data-ui] .map__field { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--ui-line); border-radius: 12px; font-weight: 500; }
[data-ui] .map__field svg { color: var(--ui-muted); }
[data-ui] .map__radius { margin-top: 10px; color: var(--ui-muted); }
[data-ui] .map__radius b { color: var(--ui-ink); }
[data-ui] .map__slider { display: block; position: relative; height: 4px; margin: 10px 2px 2px; border-radius: 2px; background: var(--ui-line); }
[data-ui] .map__slider i { position: absolute; left: 0; top: 0; width: 22%; height: 100%; border-radius: 2px; background: var(--ui-cyan); }
[data-ui] .map__slider i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ui-cyan); }
[data-ui].map img { width: 100%; aspect-ratio: 1; object-fit: cover; }
[data-ui] .map__credit { padding: 8px 16px 10px; font-size: 12px; color: var(--ui-muted); }

/* Miete gestartet */
[data-ui].done { padding: 22px 18px 18px; text-align: center; }
[data-ui] .done__check { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ui-cyan); color: #fff; font-size: 30px; }
[data-ui] .done__title { margin-top: 12px; font-size: 22px; font-weight: 600; }
[data-ui] .done__text { margin-top: 4px; color: var(--ui-muted); }
[data-ui] .done__item { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 10px; border: 1px solid var(--ui-line); border-radius: 14px; text-align: left; }
[data-ui] .done__item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
[data-ui] .done__item div { display: flex; flex-direction: column; font-size: 13px; color: var(--ui-muted); }
[data-ui] .done__item b { font-size: 15px; color: var(--ui-ink); }
[data-ui] .done__note { margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--ui-tint); color: var(--ui-cyan-ink); text-align: left; }
[data-ui] .done__note b { display: block; color: var(--ui-ink); }
[data-ui] .done__return { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 12px; border: 1px solid var(--ui-line); border-radius: 14px; text-align: left; font-weight: 500; }
[data-ui] .done__return svg { color: var(--ui-cyan-ink); font-size: 18px; }

/* Zustand dokumentiert */
[data-ui].docs { padding: 18px; }
[data-ui] .docs__title { font-size: 20px; font-weight: 600; }
[data-ui] .docs__sub { margin-top: 2px; color: var(--ui-muted); font-size: 13px; }
[data-ui] .docs__grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; margin-top: 14px; aspect-ratio: 3 / 2; }
[data-ui] .docs__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: #f4f4f4; }
[data-ui] .docs__grid img:first-child { grid-row: 1 / span 2; }
[data-ui] .docs__checks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
[data-ui] .docs__checks li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
[data-ui] .docs__checks svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--ui-tint); color: var(--ui-cyan-ink); }

@media (max-width: 760px) {
  .calc__shot { max-width: 420px; justify-self: start; margin-top: 48px; }
  .steps__qr > .frag { max-width: 340px; margin-bottom: 36px; }
  .safe__row > .frag, .safe__row > img { width: 100% !important; max-width: 400px; margin-top: 22px; }
}

/* ---------- Unterseiten: Impressum, Datenschutz, AGB, 404 ----------
   Gleiche Kopfzeile und Schrift wie die Startseite, ruhiger Lesesatz. */
.bar--static { position: sticky; top: 0; }
.doc { max-width: calc(68ch + 2 * var(--gutter)); padding-block: clamp(48px, 7vw, 104px) var(--section); }
.doc__title { font-size: clamp(2.75rem, 1.6rem + 4.4vw, 5.5rem); margin: 0 0 40px; text-wrap: balance; }
.doc h2 { font-size: var(--step-lead); line-height: 1.25; font-weight: 600; margin: 48px 0 12px; text-wrap: balance; }
.doc h3 { font-size: var(--step-body); font-weight: 600; margin: 28px 0 8px; }
.doc p, .doc li, .doc blockquote { max-width: 68ch; overflow-wrap: anywhere; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 16px; padding-left: 1.2em; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--deep); }
.doc blockquote { margin: 0 0 16px; padding: 16px 20px; background: var(--surface); border-radius: var(--radius); }
.doc__small { color: var(--muted); font-size: var(--step-small); margin-top: 32px !important; }
.doc__lede { font-size: var(--step-lead); line-height: 1.4; max-width: 34ch; }
.doc__actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 36px !important; }
.docfoot {
  display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap;
  padding-block: 40px; background: var(--night); color: var(--on-night-muted); font-size: var(--step-small);
}
.docfoot nav { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.docfoot a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .docfoot a:hover { color: var(--on-night); } }
.docpage .lang { display: inline-block; }
.docpage { min-height: 100svh; display: flex; flex-direction: column; }
.docpage .doc { flex: 1 0 auto; width: 100%; }
.doc__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 760px) { .doc__title { font-size: 9.4vw; } }
