/*
  Ideen für Autohaus Royal. Vorschlag von Bogdan Miller.

  Fassung 3 (25.11.2026 nachts, nach Bogis „zu overload“): weniger Text, weniger Bewegung,
  pro Abschnitt eine Aussage. Schrift und Rot sind die von Royal: Bebas Neue für Überschriften,
  IBM Plex Sans für Text. Die Bilder der Ideen stammen aus dem Vorstellungsclip.

  Ecken: Knöpfe 10px (wie auf autohaus-royal.de), Handys und Bilder 1.5rem.
*/

@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --nacht: #131312;   /* Studio, Licht aus */
  --kohle: #20201e;   /* Kopfzeile von autohaus-royal.de */
  --scheibe: #1c1c1a; /* Drehscheibe */
  --weiss: #f3f2f0;
  --grau: #a9a8a3;
  --dunkelgrau: #5c5b56;
  --rot: #ec0029;
  --linie: rgba(243, 242, 240, 0.14);

  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --rand: clamp(1.25rem, 5vw, 3rem);
  --breit: 77.5rem;
  --r-knopf: 10px;
  --r-bild: 1.5rem;
  --r-handy: 1.5rem;
  --handy-rahmen: 0.35rem;
  --nav-h: 4.25rem;
  --abstand: clamp(6rem, 15vw, 11rem);

  --raus: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  background: var(--nacht);
  color: var(--weiss);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.012em;
}
h2 { font-size: clamp(3.1rem, 13vw, 6rem); line-height: 0.88; }

.wrap {
  width: 100%;
  max-width: var(--breit);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.lead { max-width: 40ch; margin-top: 1rem; font-size: 1.125rem; color: var(--grau); }

/* Entwurfs-Hinweis, nur solange inhalt.js entwurf: true sagt */
.draft {
  position: fixed;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 60;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-knopf);
  background: var(--weiss);
  color: var(--nacht);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: var(--r-knopf);
  font: 600 0.9375rem/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, scale 0.15s ease, translate 0.6s var(--raus);
}
.knopf:active { scale: 0.97; }
.knopf:focus-visible { outline: 2px solid var(--weiss); outline-offset: 3px; }
.knopf--rot { background: var(--rot); color: #fff; }
.knopf--rot:hover { background: #ff1442; }
.knopf--leise { background: transparent; color: var(--weiss); box-shadow: inset 0 0 0 1px var(--linie); }
.knopf--leise:hover { box-shadow: inset 0 0 0 1px rgba(243, 242, 240, 0.45); }
.knopf--gross { min-height: 3.5rem; padding: 0 1.6rem; font-size: 1.0625rem; }

/* ---------- Kopfzeile ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding: 0.6rem var(--rand);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-unten {
  background: rgba(19, 19, 18, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linie);
}
.nav__marke { display: flex; align-items: center; gap: 0.6rem; min-width: 0; text-decoration: none; }
.nav__name { font-weight: 600; font-size: 1rem; white-space: nowrap; }
.nav__fuer { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8125rem; color: var(--grau); }
.nav__fuer img { width: auto; height: 1.65rem; }
.nav__links { display: none; }
.nav__cta .lang { display: none; }

@media (min-width: 40rem) {
  .nav__cta .lang { display: inline; }
  .nav__cta .kurz { display: none; }
  .nav__fuer img { height: 2rem; }
}
@media (min-width: 64rem) {
  .nav__links {
    position: absolute;
    left: 50%;
    translate: -50% 0;
    display: flex;
    gap: 0.15rem;
    padding: 0.3rem;
    border: 1px solid var(--linie);
    border-radius: 12px;
    background: rgba(28, 28, 26, 0.7);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .nav__links a {
    position: relative;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    color: var(--grau);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s ease;
  }
  .nav__links a:hover, .nav__links a.is-hier { color: var(--weiss); }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.15rem;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--rot);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  .nav__links a.is-hier::after { opacity: 1; }
}

/* ---------- Wörter steigen aus ihrer Zeile (wie auf bogdanmiller.xyz) ---------- */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0.06em 0 0.08em;
  margin: -0.06em 0 -0.08em;
}
.w > span { display: inline-block; }

/* ---------- 1. Kopf: ein Plakat. Das riesige ROYAL steht hinter dem Handy. ---------- */
.hero {
  --gross: min(50vw - var(--rand), 34rem); /* Schriftgröße des großen Worts */
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(1rem, 4vw, 2.5rem));
  overflow-x: clip;
}
/* rotes Studiolicht hinter dem Handy */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--nav-h) + var(--gross) * 0.5);
  width: min(140vw, 72rem);
  height: min(150vw, 54rem);
  translate: -50% 0;
  background: radial-gradient(closest-side, rgba(236, 0, 41, 0.32), rgba(236, 0, 41, 0.1) 50%, rgba(236, 0, 41, 0) 100%);
  pointer-events: none;
}
.hero__titel {
  position: relative;
  display: grid;
  justify-items: center;
  padding-inline: var(--rand);
  text-align: center;
}
.hero__klein { font-size: clamp(1.5rem, 6vw, 2.75rem); line-height: 1; letter-spacing: 0.08em; color: var(--grau); }
.hero__gross { margin-top: 0.06em; font-size: var(--gross); line-height: 0.8; letter-spacing: 0.01em; }
.hero__wasser { display: none; }
.stage--hero {
  --w: min(62vw, calc(56dvh * 9 / 16), 20rem);
  z-index: 1;
  margin-top: calc(var(--gross) * -0.14); /* am Handy deckt das Handy nur den Fuß des Worts ab */
}

/* Bühne: ein Handy auf der Drehscheibe */
.stage {
  --w: min(70vw, calc(58dvh * 9 / 16), 21rem);
  --scheibe-b: calc(var(--w) * 2.9);
  --scheibe-h: calc(var(--scheibe-b) / 5.2);
  position: relative;
  display: grid;
  justify-items: center;
  padding-bottom: calc(var(--scheibe-h) / 2);
}
.stage::before, .stage::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--scheibe-b);
  height: var(--scheibe-h);
  translate: -50% 0;
  border-radius: 50%;
}
.stage::before {
  background: var(--scheibe);
  box-shadow: inset 0 1px 0 rgba(243, 242, 240, 0.14), 0 0.3rem 0 #0b0b0a;
}
.stage::after {
  background: radial-gradient(50% 60% at 50% 42%, rgba(243, 242, 240, 0.2), rgba(243, 242, 240, 0.06) 55%, rgba(243, 242, 240, 0) 100%);
}

/* Handy */
.phone {
  position: relative;
  z-index: 1;
  width: calc(var(--w) + 2 * var(--handy-rahmen));
  padding: var(--handy-rahmen);
  border-radius: var(--r-handy);
  background: #050505;
  box-shadow: 0 0 0 1px rgba(243, 242, 240, 0.2), 0 2.5rem 3.5rem -1.5rem rgba(0, 0, 0, 0.9);
}
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: calc(var(--r-handy) - var(--handy-rahmen));
  background: #050505;
}
.phone__poster, .phone__screen video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone__screen video { background: #050505; }
.phone__start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem;
  border: 0;
  background: linear-gradient(to top, rgba(19, 19, 18, 0.88), rgba(19, 19, 18, 0) 40%);
  color: var(--weiss);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.phone__play {
  flex: none;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--r-knopf);
  background: var(--rot);
  transition: transform 0.15s ease;
}
.phone__play::before {
  content: "";
  width: 1.05rem;
  height: 1.25rem;
  margin-left: 0.2rem;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.phone__words { display: grid; padding-bottom: 0.3rem; line-height: 1.25; }
.phone__label { font-weight: 600; }
.phone__meta { font-size: 0.875rem; color: rgba(243, 242, 240, 0.8); }
.phone__start:hover .phone__play { transform: scale(1.05); }
.phone__start:active .phone__play { transform: scale(0.95); }
.phone__start:focus-visible { outline: 2px solid var(--weiss); outline-offset: -0.5rem; border-radius: var(--r-handy); }
.phone__error {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem;
  background: rgba(19, 19, 18, 0.92);
  font-size: 0.9375rem;
}
/* Läuft ein Video, wird sein Handy groß. */
.stage.is-playing { --w: min(100vw - 2 * var(--rand) - 2 * var(--handy-rahmen), calc(84dvh * 9 / 16), 26rem); }

/* Laufband: groß, unten angeschnitten */
.band {
  height: 0.6em;
  margin-top: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
  font: 400 clamp(5.5rem, 26vw, 13rem)/1 var(--display);
  text-transform: uppercase;
  color: var(--weiss);
}
.band__spur {
  display: flex;
  align-items: center;
  gap: 0.28em;
  width: max-content;
  padding-left: 0.28em;
  white-space: nowrap;
  animation: band-lauf 46s linear infinite;
}
.band__spur i {
  flex: none;
  width: 0.13em;
  height: 0.13em;
  margin-top: -0.12em;
  border-radius: 50%;
  background: var(--rot);
}
@keyframes band-lauf { to { transform: translateX(-50%); } }

/* ---------- 2. Drei Beispiele ---------- */
.ideas { padding-top: var(--abstand); overflow: clip; }

.trio {
  --w: min(60vw, 17rem);
  --scheibe-b: max(150vw, 34rem);
  --scheibe-h: calc(var(--scheibe-b) / 6);
  --handy-h: calc(var(--w) * 16 / 9 + 2 * var(--handy-rahmen));
  position: relative;
  margin-top: clamp(2rem, 6vw, 3.5rem);
}
.trio::before, .trio::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--handy-h) - var(--scheibe-h) / 2);
  width: var(--scheibe-b);
  height: var(--scheibe-h);
  translate: -50% 0;
  border-radius: 50%;
}
.trio::before {
  background: var(--scheibe);
  box-shadow: inset 0 1px 0 rgba(243, 242, 240, 0.14), 0 0.3rem 0 #0b0b0a;
}
.trio::after {
  background: radial-gradient(50% 60% at 50% 42%, rgba(243, 242, 240, 0.17), rgba(243, 242, 240, 0.05) 55%, rgba(243, 242, 240, 0) 100%);
}
.trio__row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: calc(50% - var(--w) / 2 - var(--handy-rahmen));
  padding-inline: calc(50% - var(--w) / 2 - var(--handy-rahmen));
  scrollbar-width: none;
}
.trio__row::-webkit-scrollbar { display: none; }
.trio__item {
  flex: none;
  width: calc(var(--w) + 2 * var(--handy-rahmen));
  scroll-snap-align: center;
}
.trio__cap { margin-top: calc(var(--scheibe-h) / 2 + 1.25rem); }
.trio__cap h3 { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 0.95; }
.trio__cap p { margin-top: 0.4rem; }
.ki { font-size: 0.875rem; color: var(--grau); }

.note { max-width: 44ch; margin-top: clamp(2rem, 5vw, 3rem); font-size: 1.0625rem; color: var(--grau); }

/* ---------- 3. Mehr Ideen: drei Punkte, je Bild und Satz ---------- */
.ideen { padding-top: var(--abstand); }
.idee { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 7vw, 5.5rem); }
.idee__bild img {
  width: 100%;
  aspect-ratio: 1;
  object-position: 50% 40%;
  object-fit: cover;
  border-radius: var(--r-bild);
}
.idee__text h3 { font-size: clamp(2.6rem, 11vw, 4.75rem); line-height: 0.9; }
.idee__text p { max-width: 32ch; margin-top: 0.85rem; font-size: 1.1875rem; color: var(--grau); }

/* ---------- 3b. Feed-Vorschau: ein Handy mit dem Profil ---------- */
.feed { padding-top: var(--abstand); overflow-x: clip; } /* die Drehscheibe ist breiter als das Handy */
.feed__in { display: grid; gap: 2rem; }
.stage--feed { --w: min(66vw, 18rem); }
.feed__ki { margin-top: 0.75rem; }
.phone--hoch .phone__screen { aspect-ratio: 390 / 844; }
.phone--hoch .phone__poster { object-position: top; }

/* ---------- 4. Website: der Schieber zum Selbst-Ziehen ---------- */
.website { padding-top: var(--abstand); }
.vergleich { margin-top: clamp(2rem, 5vw, 3rem); margin-inline: calc(-1 * var(--rand) + 0.5rem); }
.vergleich__leiste {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--linie);
  border-bottom: 0;
  border-radius: 1rem 1rem 0 0;
  background: var(--kohle);
}
.vergleich__leiste i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(243, 242, 240, 0.22); }
.vergleich__leiste span { margin-left: 0.6rem; padding: 0.2rem 0.7rem; border-radius: 6px; background: rgba(243, 242, 240, 0.07); color: var(--grau); font-size: 0.75rem; }
.vergleich__bild {
  --schnitt: 50%;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--linie);
  border-radius: 0 0 1rem 1rem;
  background: #000;
  cursor: ew-resize;
  touch-action: pan-y; /* senkrecht scrollt die Seite weiter, waagrecht zieht man den Regler */
  -webkit-user-select: none;
  user-select: none;
}
.vergleich__bild img, .vergleich__bild video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  -webkit-user-drag: none;
}
.vergleich__idee { clip-path: inset(0 0 0 var(--schnitt)); }
.vergleich__kante {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--schnitt);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.vergleich__griff {
  position: absolute;
  top: 50%;
  left: var(--schnitt);
  display: block;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--rot);
  box-shadow: 0 0 0 3px #fff, 0 0.5rem 1.5rem rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  touch-action: none;
}
/* zwei kleine Pfeile im Griff */
.vergleich__griff::before, .vergleich__griff::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0.5rem;
  height: 0.7rem;
  margin-top: -0.35rem;
  background: #fff;
}
.vergleich__griff::before { left: 0.7rem; clip-path: polygon(100% 0, 0 50%, 100% 100%); }
.vergleich__griff::after { right: 0.7rem; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.vergleich__griff:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
/* Heute und Idee stehen über dem Bild, links und rechts, wie die beiden Seiten des Reglers */
.vergleich__kopf {
  display: flex;
  justify-content: space-between;
  padding: 0 0.25rem 0.6rem;
  font: 400 1.5rem/1 var(--display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vergleich__kopf span:first-child { color: var(--grau); }
.vergleich figcaption { margin-top: 0.75rem; padding-inline: 0.5rem; font-size: 0.875rem; color: var(--grau); }

/* ---------- 5. Werbung ---------- */
.werbung { padding-top: var(--abstand); overflow: hidden; }
.werbung__woerter { display: grid; }
.werbung__wort {
  font: 400 clamp(5rem, 25vw, 15rem)/0.84 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
  translate: var(--zug, 0) 0;
}
.werbung__wort--a { padding-left: var(--rand); }
.werbung__wort--b { justify-self: end; padding-right: var(--rand); color: transparent; -webkit-text-stroke: 2px var(--weiss); }
.werbung__satz { margin-top: clamp(1.5rem, 4vw, 2.5rem); font-size: clamp(2.4rem, 9vw, 4.5rem); color: var(--grau); }

/* ---------- 6. Ablauf: drei Schritte ---------- */
.ablauf { padding-top: var(--abstand); }
.schritte { display: grid; gap: 1.75rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.schritt {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  column-gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
}
.schritt__nr {
  grid-row: span 2;
  font: 400 5rem/0.8 var(--display);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--rot);
}
.schritt h3 { font-size: clamp(2rem, 8vw, 2.75rem); line-height: 0.95; }
.schritt p { margin-top: 0.35rem; color: var(--grau); }

/* ---------- 7. Abschluss ---------- */
.ende {
  margin-top: var(--abstand);
  padding-block: clamp(3.5rem, 9vw, 7rem);
  background:
    radial-gradient(55% 50% at 50% 20%, rgba(236, 0, 41, 0.16), rgba(236, 0, 41, 0) 70%),
    #0a0a0a;
  border-top: 1px solid var(--linie);
}
.ende__in { display: grid; gap: 2.25rem; }
.ende__bild img { width: 62%; max-width: 24rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-bild); }
.ende h2 { font-size: clamp(3.6rem, 16vw, 8rem); line-height: 0.86; }
.ende__satz { margin-top: 1rem; font-size: 1.25rem; color: var(--grau); }
.kontakt { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.kontakt__platzhalter {
  max-width: 30rem;
  padding: 1rem 1.25rem;
  border: 1.5px dashed rgba(243, 242, 240, 0.35);
  border-radius: var(--r-knopf);
  font-size: 0.9375rem;
  color: var(--grau);
}

.fuss { padding-block: 0 2.5rem; background: #0a0a0a; }
.fuss__in {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
  font-size: 0.8125rem;
  color: var(--grau);
}
.fuss p { grid-column: 1; max-width: 75ch; }
.fuss__hoch {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--linie);
  transition: box-shadow 0.25s ease;
}
.fuss__hoch:hover { box-shadow: inset 0 0 0 1px rgba(243, 242, 240, 0.5); }
.fuss__hoch svg { width: 1.15rem; height: 1.15rem; }

.noscript { padding-block: 2rem; color: var(--grau); }

/* ---------- Breite Bildschirme ---------- */
@media (min-width: 48rem) {
  .vergleich { margin-inline: 0; }
}

@media (min-width: 60rem) {
  /* Kopf breit (Bogi, 26.11.: Handy und Scheibe weiter hoch, ROYAL nicht so präsent):
     eine Zeile „Ideen für Autohaus Royal“, darunter das ganze Handy samt Scheibe im ersten Bild,
     das große ROYAL nur noch leise im Hintergrund, von oben angeleuchtet. */
  .hero { padding-top: calc(var(--nav-h) + clamp(1rem, 2.5vh, 2rem)); }
  .hero::before { top: calc(var(--nav-h) + 3rem); height: min(56rem, 95dvh); }
  .hero__titel { display: block; }
  .hero__klein, .hero__gross {
    display: inline;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: 0.06em;
    color: var(--weiss);
  }
  .stage--hero {
    --w: min(19rem, calc(60dvh * 9 / 16));
    margin-top: clamp(1rem, 2.5vh, 1.75rem);
  }
  .hero__wasser {
    display: block;
    position: absolute;
    left: 50%;
    top: calc(var(--w) * 8 / 9 + var(--handy-rahmen));
    z-index: -1;
    translate: -50% -50%;
    font: 400 min(36vw, 34rem)/0.8 var(--display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: transparent;
    background: linear-gradient(to bottom, rgba(243, 242, 240, 0.16), rgba(243, 242, 240, 0.02) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
  }
  .idee__bild img { aspect-ratio: 4 / 5; }
  .ende__bild img { width: 100%; }
  .stage.is-playing { --w: min(26rem, calc(82dvh * 9 / 16)); }
  .band { font-size: clamp(8rem, 15vw, 14rem); }

  .trio {
    --w: clamp(13rem, 19vw, 17rem);
    --scheibe-b: min(96vw, 78rem);
    --scheibe-h: calc(var(--scheibe-b) / 7);
  }
  .trio__row {
    display: grid;
    grid-template-columns: repeat(3, calc(var(--w) + 2 * var(--handy-rahmen)));
    justify-content: center;
    gap: clamp(2.5rem, 6vw, 6rem);
    overflow: visible;
    padding-inline: var(--rand);
  }
  .trio__item { width: auto; }
  /* Halbkreis wie in der letzten Szene des Clips: die äußeren Handys drehen sich zur Mitte. */
  .trio__item .phone { --dreh: 0deg; transform: perspective(48rem) rotateY(var(--dreh)); }
  .trio__item:first-child .phone { --dreh: 16deg; }
  .trio__item:last-child .phone { --dreh: -16deg; }
  .trio__item .phone.is-playing { --dreh: 0deg; }

  /* Ideen: alle drei nebeneinander, auf einen Blick */
  .ideen__reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
  .ideen__reihe .idee { margin-top: 0; align-content: start; }
  .idee__text h3 { font-size: clamp(2.2rem, 2.9vw, 3rem); }
  .idee__text p { font-size: 1.0625rem; }

  .feed__in { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: center; column-gap: clamp(3rem, 8vw, 8rem); }
  .stage--feed { --w: min(19rem, calc(68dvh * 390 / 844)); }

  .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
  .schritt { grid-template-columns: 1fr; }
  .schritt__nr { grid-row: auto; margin-bottom: 1rem; font-size: 6.5rem; }

  .ende__in { grid-template-columns: minmax(0, 22rem) minmax(0, 1fr); align-items: center; column-gap: clamp(3rem, 8vw, 8rem); }
}

/* ---------- Bewegung (nur wenn sie erwünscht ist und JavaScript läuft) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Kopf: zwei Licht-Klacks wie am Anfang des Clips */
  .js .stage--hero .phone__poster { animation: klack-bild 0.9s steps(1, end) 0.5s both; }
  .js .stage--hero::after { animation: klack-licht 0.9s steps(1, end) 0.5s both; }
  .js .stage--hero .phone__start { animation: klack-knopf 0.9s steps(1, end) 0.5s both; }
  .js .hero::before { animation: klack-licht 0.9s steps(1, end) 0.5s both; }

  /* Wörter und Absätze */
  .js [data-worte] .w > span { transform: translateY(112%); transition: transform 1s var(--raus); transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
  .js [data-worte].is-in .w > span { transform: none; }
  .js [data-zeigen] { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.9s var(--raus), transform 0.9s var(--raus); transition-delay: calc(0.12s + var(--i, 0) * 0.15s); }
  .js [data-zeigen].is-in { opacity: 1; transform: none; }

  /* Drei Clips, breit: die Handys drehen sich von der Scheibe nach vorn */
  @media (min-width: 60rem) {
    .js .trio__item .phone, .js .trio__cap { transition: transform 1.3s var(--raus), opacity 0.9s ease; }
    .js .trio:not(.is-in) .trio__item:first-child .phone { transform: perspective(48rem) rotateY(70deg) translateX(-25%); opacity: 0; }
    .js .trio:not(.is-in) .trio__item:is(:nth-child(2), :nth-child(3)) .phone { transform: translateY(3rem); opacity: 0; }
    .js .trio:not(.is-in) .trio__item:last-child .phone { transform: perspective(48rem) rotateY(-70deg) translateX(25%); opacity: 0; }
    .js .trio:not(.is-in) .trio__cap { transform: translateY(1.5rem); opacity: 0; }
    .js .trio__item:nth-child(1) :is(.phone, .trio__cap) { transition-delay: 0.12s; }
    .js .trio__item:nth-child(3) :is(.phone, .trio__cap) { transition-delay: 0.18s; }
    .js .trio__item:nth-child(4) :is(.phone, .trio__cap) { transition-delay: 0.3s; }
    .js .trio.is-in .trio__item .phone { transition: transform 0.35s var(--raus); transition-delay: 0s; }
  }
  /* Drei Clips, Handy: das Handy in der Mitte ist groß, die Nachbarn treten zurück */
  @media (max-width: 59.99rem) {
    .js .trio__item { transition: opacity 0.45s ease, transform 0.6s var(--raus); }
    .js .trio__item:not(.is-mitte) { opacity: 0.4; transform: scale(0.9); }
  }

  /* Schieber: beim ersten Anblick bewegt er sich einmal kurz, damit man sieht, dass man ziehen kann */
  .vergleich__bild.zeigt-an :is(.vergleich__idee, .vergleich__kante, .vergleich__griff) { transition: clip-path 0.7s var(--raus), left 0.7s var(--raus); }
}

/* Ohne Bewegung: alles steht fertig da */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band__spur { animation: none; }
  .phone__play, .knopf { transition: none; }
}

@keyframes klack-bild {
  0% { filter: brightness(0.1); }
  35% { filter: brightness(0.45); }
  70%, 100% { filter: brightness(1); }
}
@keyframes klack-licht {
  0% { opacity: 0; }
  35% { opacity: 0.4; }
  70%, 100% { opacity: 1; }
}
@keyframes klack-knopf {
  0%, 69% { opacity: 0; }
  70%, 100% { opacity: 1; }
}
