/*
  SplatForge — website.

  The visual world is the application's own: near-black warm lacquer, a single
  copper accent, teal reserved for what stays local. Nothing here invents a
  second identity; the tokens are the app's, lifted from docs/08-designsystem.md
  so the two can never drift apart.

  What changes for a page whose job is to persuade rather than to operate: the
  scale. The app is deliberately dense and quiet. Here the screenshots run large
  and bleed off the edge, because the interface *is* the argument — there is no
  photograph of this product other than the product.
*/

:root {
  --bg: #090b0e;
  --panel: #101419;
  --elevated: #171c21;
  --inset: #0b0f13;
  --line: #2e353c;
  --line-strong: #454f58;
  --text: #f1eee8;
  --muted: #9aa3a1;
  --faint: #7c8583;
  --accent: #e8a36d;
  --warm: #f47e5e;
  --cool: #6fcbbf;
  --on-accent: #17100b;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --ease: cubic-bezier(0.2, 0.72, 0.2, 1);

  --page: min(1240px, 100% - 3rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --font: "Avenir Next", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Der feste Kopf darf beim Ankersprung nicht die Überschrift verdecken. */
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-wrap: balance;
  font-weight: 600;
}

p {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--r-sm);
  font-weight: 600;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 140ms var(--ease),
    border-color 140ms var(--ease),
    transform 140ms var(--ease),
    filter 140ms var(--ease);
}

.btn .i {
  width: 1.05em;
  height: 1.05em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  border-color: color-mix(in srgb, var(--accent) 70%, transparent);
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent) 16%, transparent);
}
.btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: var(--elevated);
}

/*
  Ein Knopf, dessen Ziel es noch nicht gibt. Er steht als `<span>` im Markup —
  ein `<a>` ohne `href` ist für die Tastatur unerreichbar, ein `<a href="#">`
  wäre eine Lüge. Gedämpft, ohne Zeiger, ohne Hover: Er zeigt die Handlung an,
  die kommt, statt eine vorzutäuschen, die geht.
*/
.btn.is-pending {
  background: color-mix(in srgb, var(--accent) 22%, var(--elevated));
  color: var(--muted);
  border-color: var(--line-strong);
  box-shadow: none;
  cursor: default;
}
.btn.is-pending:hover {
  transform: none;
  filter: none;
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

/* ── Top bar ──────────────────────────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 0.75rem var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  font-weight: 500;
}
.topbar__brand img {
  border-radius: 8px;
}
.topbar__brand b {
  font-weight: 600;
}
.topbar__brand span b + * {
  color: var(--warm);
}
/* „Splat" in Vordergrundfarbe, „Forge" im warmen Akzent — die Wortmarke der App. */
.topbar__brand span {
  color: var(--warm);
}
.topbar__brand span b {
  color: var(--text);
}

.topbar__nav {
  display: flex;
  gap: 1.4rem;
  margin-right: auto;
  font-size: 0.9rem;
}
.topbar__nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms var(--ease);
}
.topbar__nav a:hover {
  color: var(--text);
}

/*
  Der Sprachwechsel ist ein Verweis, kein Knopf: Er führt auf eine andere Seite.
  Er steht neben der Handlung, nicht in der Abschnittsnavigation — die zeigt in
  die Seite hinein, er aus ihr heraus. Bleibt auch dort, wo die Navigation
  entfällt (unter 760 px), weil er sonst genau denen fehlt, die ihn brauchen.
*/
.topbar__lang {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms var(--ease);
}
.topbar__lang:hover {
  color: var(--text);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46ch) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem) var(--gutter);
  overflow: hidden;
}

.hero__field {
  position: absolute;
  inset: -30% -10% auto -20%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(
      45% 40% at 22% 30%,
      color-mix(in srgb, var(--accent) 13%, transparent),
      transparent 70%
    ),
    radial-gradient(
      40% 45% at 78% 20%,
      color-mix(in srgb, var(--cool) 8%, transparent),
      transparent 70%
    );
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lede {
  margin-top: 1.5rem;
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero__meta {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--faint);
}

/*
  „tilted into depth" aus dem Direction Contract, gebaut statt behauptet: Die
  Perspektive sitzt am Rahmen, die Drehung am Bild. Klein gehalten — das Fenster
  soll im Raum stehen, nicht wegkippen; der Text darin muss lesbar bleiben.
*/
.hero__shot {
  position: relative;
  z-index: 1;
  margin: 0;
  /* Bleeds off the right edge: the window is a real object continuing past the
     page, not a card centred on it. */
  margin-right: calc(var(--gutter) * -1 - 4rem);
  perspective: 2400px;
  perspective-origin: 100% 50%;
}
.hero__shot img {
  transform: rotateY(-4deg) rotateX(1deg);
  transform-origin: 100% 50%;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  border: 1px solid var(--line);
  border-right: 0;
  box-shadow:
    0 2px 0 color-mix(in srgb, var(--text) 5%, transparent) inset,
    -30px 60px 120px rgb(0 0 0 / 55%);
  animation: settle 900ms var(--ease) both;
}

/*
  Die Neigung gehört in beide Bilder der Bewegung. Stünde am Ende `transform:
  none`, hebelte die Animation die Perspektive wieder aus — `animation-fill-mode:
  both` hält den Endwert fest.
*/
/* Dieselbe Bewegung ohne Neigung — für den Ausschnitt auf schmalen Fenstern. */
@keyframes settle-flach {
  from {
    opacity: 0;
    transform: translate3d(1.5rem, 1rem, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translate3d(3rem, 1.5rem, 0) scale(0.985) rotateY(-4deg)
      rotateX(1deg);
  }
  to {
    opacity: 1;
    transform: rotateY(-4deg) rotateX(1deg);
  }
}

/* ── Pipeline rail ────────────────────────────────────────────────────── */

.rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: var(--page);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  overflow: hidden;
}

.rail__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-left: 1px solid var(--line);
}
.rail__item:first-child {
  border-left: 0;
}

.rail__k {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.rail__v {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.rail__v em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--muted);
}

/* ── Sections ─────────────────────────────────────────────────────────── */

.section {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.section--tint {
  position: relative;
  width: 100%;
  padding-inline: var(--gutter);
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in srgb, var(--panel) 55%, transparent) 12%,
    color-mix(in srgb, var(--panel) 55%, transparent) 88%,
    transparent
  );
}
.section--tint > * {
  width: min(1240px, 100%);
  margin-inline: auto;
}

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
}
.section__head p {
  margin-top: 1.1rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── Step ─────────────────────────────────────────────────────────────── */

.step {
  display: grid;
  grid-template-columns: minmax(0, 34ch) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.step:first-of-type {
  border-top: 0;
}
/*
  Beim Seitenwechsel muss auch die Spaltenbreite mitwandern. Vorher tauschte nur
  die Reihenfolge des Textes — das Bildschirmfoto landete dadurch in der engen
  34-Zeichen-Spalte und war bei den Schritten 02 und 04 auf ein Drittel
  geschrumpft, während 01 und 03 groß standen.
*/
.step--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 34ch);
}
.step--flip .step__text {
  order: 2;
}

.step h3 {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
}
.step__n {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.step__text p {
  margin-top: 1rem;
  color: var(--muted);
}

.step__shot {
  margin: 0;
}
.step__shot img {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgb(0 0 0 / 45%);
}

/* ── Proofs ───────────────────────────────────────────────────────────── */

.proofs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.proof__i {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--cool);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.proof h3 {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.proof p {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.proof em {
  font-style: normal;
  color: var(--text);
}

.wide {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
}
.wide img {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgb(0 0 0 / 45%);
}
.wide figcaption {
  margin-top: 1rem;
  max-width: 62ch;
  color: var(--faint);
  font-size: 0.9rem;
}

/* ── Checks ───────────────────────────────────────────────────────────── */

/*
  Sechs Prüfungen, also drei Spalten mal zwei Reihen — feste Spaltenzahl statt
  `auto-fit`. Auf breiten Fenstern ergab `auto-fit` fünf Spalten, und die letzte
  Reihe stand mit einer gefüllten Zelle neben einem breiten grauen Loch: Die
  Fugenfarbe des Rasters lag frei, weil nur die `li` einen Hintergrund malen.
*/
.checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.checks li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg);
}
.checks b {
  font-size: 1rem;
  letter-spacing: -0.015em;
}
.checks span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.note {
  margin-top: 1.6rem;
  max-width: 66ch;
  color: var(--faint);
  font-size: 0.95rem;
}

/* ── Companion ────────────────────────────────────────────────────────── */

.companion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.companion__text h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}
.companion__text p + p,
.companion__text h2 + p {
  margin-top: 1.15rem;
  color: var(--muted);
  max-width: 54ch;
}
.companion__small {
  font-size: 0.9rem;
  color: var(--faint) !important;
}

.companion__devices {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

/*
  Das Gerät ist gezeichnet, nicht fotografiert: ein Rahmen aus Rundung, Rand und
  Tiefe. Ein Foto eines iPhones wäre ein Bild von Apples Produkt, nicht von
  diesem — und es würde bei jedem Modellwechsel falsch.
*/
/*
  Ein flacher Rahmen, keine nachgebaute Gerätehülle. Vorher standen hier ein
  Verlauf als Metallkante und ein `::after` als Dynamic Island — ausgerechnet
  auf einer Seite, deren ganzes Argument ist, dass alles Gezeigte echt ist, war
  das die einzige Attrappe. Der Rahmen soll das Bild halten, nicht ein iPhone
  behaupten.
*/
.phone {
  position: relative;
  border-radius: 2.6rem;
  padding: 0.45rem;
  background: var(--elevated);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgb(0 0 0 / 60%);
}
.phone img,
.phone video {
  border-radius: 2.2rem;
  width: 15rem;
  display: block;
}
/* Anhalten und Starten der Aufnahme — WCAG 2.2.2 verlangt die Möglichkeit. */
.phone__toggle {
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(10px);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms var(--ease);
}
.phone__toggle:hover {
  background: var(--elevated);
}

.phone--video {
  z-index: 2;
}
.phone--back {
  position: absolute;
  right: 0;
  top: 3.5rem;
  scale: 0.82;
  transform-origin: top right;
  opacity: 0.7;
  filter: saturate(0.75);
}

.poses {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 18rem);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.poses h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.poses p {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 58ch;
}
.poses em {
  font-style: normal;
  color: var(--text);
}
.poses__shot {
  margin: 0;
}
.poses__shot img {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgb(0 0 0 / 50%);
}

/* ── Get ──────────────────────────────────────────────────────────────── */

.get {
  width: var(--page);
  margin: 0 auto clamp(4rem, 8vw, 7rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(
      70% 90% at 50% 0%,
      color-mix(in srgb, var(--accent) 10%, transparent),
      transparent 70%
    ),
    color-mix(in srgb, var(--panel) 80%, transparent);
}
.get h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.reqs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: 1.5rem;
  margin: clamp(2rem, 4vw, 3rem) 0;
  text-align: left;
}
.reqs dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.reqs dd {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
}

.get__note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: var(--faint);
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.foot {
  width: var(--page);
  margin: 0 auto;
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  color: var(--muted);
  font-size: 0.92rem;
}
.foot img {
  border-radius: 6px;
}
.foot b {
  color: var(--text);
}
.foot__small {
  color: var(--faint);
  font-size: 0.85rem;
}

/* ── Bewegung ─────────────────────────────────────────────────────────── */

/*
  Vier eigene Momente statt eines Effekts, der überall gleich abläuft:

  1. Der Kopf tritt gestaffelt ein — Zeile, Vorspann, Handlung, Fußnote.
  2. Die Streckenleiste zählt sich selbst durch, Zelle für Zelle.
  3. Die drei gezeichneten Zeichen zeichnen sich, wenn sie ins Bild kommen.
  4. Abschnitte treten ein; Bilder setzen sich dabei, Text steigt auf.

  Alles klein gehalten: unter 900 ms, unter 2 rem Weg, keine Skalierung über
  1,5 %. Die Bildschirmfotos sind der Inhalt — Bewegung kündigt sie an, statt
  mit ihnen zu wetteifern. Unter `prefers-reduced-motion` fällt jede davon weg.
*/

/* 1 — Der Kopf, gestaffelt. Läuft beim Laden, ohne Beobachter. */
@keyframes aufsteigen {
  from {
    opacity: 0;
    transform: translate3d(0, 1.1rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero h1,
.hero .lede,
.hero__actions,
.hero__meta {
  animation: aufsteigen 700ms var(--ease) both;
}
.hero h1 {
  animation-delay: 60ms;
}
.hero .lede {
  animation-delay: 190ms;
}
.hero__actions {
  animation-delay: 300ms;
}
.hero__meta {
  animation-delay: 390ms;
}

/* 2 — Die Streckenleiste zählt sich durch. */
@keyframes einzaehlen {
  from {
    opacity: 0;
    transform: translate3d(0, 0.6rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rail__item {
  animation: einzaehlen 560ms var(--ease) both;
}
.rail__item:nth-child(1) {
  animation-delay: 520ms;
}
.rail__item:nth-child(2) {
  animation-delay: 610ms;
}
.rail__item:nth-child(3) {
  animation-delay: 700ms;
}
.rail__item:nth-child(4) {
  animation-delay: 790ms;
}

/*
  3 — Die Zeichen zeichnen sich. `pathLength="1"` normiert jeden Pfad auf die
  Länge 1, damit lange und kurze gleich lange brauchen; sonst wäre der Rahmen
  eines Zeichens fertig, während sein Inneres noch entsteht.
*/
@keyframes strichZiehen {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.proof__i path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.proof.is-in .proof__i path {
  animation: strichZiehen 900ms var(--ease) both;
}
.proof.is-in .proof__i path:nth-child(2) {
  animation-delay: 160ms;
}
.proof.is-in .proof__i path:nth-child(3) {
  animation-delay: 260ms;
}

/* 4 — Abschnitte treten ein. */
.reveal {
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

/*
  Ein Bild steigt nicht auf, es setzt sich. Kürzerer Weg, dafür ein Hauch
  Maßstab — so wirkt es wie ein Gegenstand, der zur Ruhe kommt, und nicht wie
  ein Block, der hereinfährt.
*/
.wide.reveal,
.step__shot.reveal {
  transform: translate3d(0, 1rem, 0) scale(0.988);
}
.wide.reveal.is-in,
.step__shot.reveal.is-in {
  transform: none;
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

/*
  Die Bildschirmfotos heben beim Überfahren leicht an. Sie sind Gegenstände auf
  der Seite, keine Flächen darin — zwei Pixel reichen, um das zu sagen.
*/
.wide img,
.step__shot img {
  transition:
    transform 260ms var(--ease),
    box-shadow 260ms var(--ease);
}
.wide:hover img,
.step__shot:hover img {
  transform: translate3d(0, -2px, 0);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-right: var(--gutter);
  }
  .hero__shot {
    margin-right: calc(var(--gutter) * -1);
  }
  .companion,
  .poses {
    grid-template-columns: 1fr;
  }
  .poses__shot {
    max-width: 16rem;
  }
  .rail {
    grid-template-columns: repeat(2, 1fr);
  }
  .rail__item:nth-child(3) {
    border-left: 0;
  }
  .rail__item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .checks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .topbar__nav {
    display: none;
  }
  .topbar {
    justify-content: space-between;
  }
  /* Ohne die Navigation trägt die Wortmarke den freien Platz. */
  .topbar__brand {
    margin-right: auto;
  }
  .step,
  .step--flip .step__text {
    grid-template-columns: 1fr;
    order: 0;
  }
  .companion__devices {
    padding-bottom: 3rem;
  }
  .phone--back {
    display: none;
  }
  .phone img,
  .phone video {
    width: min(15rem, 62vw);
  }
  .checks {
    grid-template-columns: 1fr;
  }
  /*
    Der Ausschnitt fürs Telefon ist ein eigenständiges Bild, kein angeschnittenes
    Fenster: Er bekommt seine Rundung ringsum, steht im Satzspiegel und wird
    nicht gekippt — bei dieser Größe wäre die Neigung nur Unschärfe.
  */
  .hero__shot {
    margin-right: 0;
    perspective: none;
  }
  .hero__shot img {
    animation-name: settle-flach;
    border-radius: var(--r-lg);
    border-right: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    /*
      Auch der Verzug muss weg. Die Leiste zählt sich um bis zu 790 ms
      gestaffelt ein; ohne diese Zeile stünde sie bei abbestellter Bewegung
      knapp eine Sekunde leer da, weil `animation-fill-mode: both` den
      Anfangszustand bis dahin festhält.
    */
    animation-delay: 0ms !important;
    transition-delay: 0ms !important;
  }
  .reveal,
  .wide.reveal,
  .step__shot.reveal {
    opacity: 1;
    transform: none;
  }
  /* Gezeichnete Zeichen stehen fertig da, statt sich zu zeichnen. */
  .proof__i path {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
