/* ---------- Schrift ---------- */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Variablen ---------- */

:root {
  --bg: #F4F3EF;
  --card: #FFFFFF;
  --ink: #111111;
  --muted: #6B6B6B;
  --line: rgba(17, 17, 17, .10);
  --accent: #1A2FB0;
  --accent-light: #6B82F2; /* hellstes Blau mit ≥ 3 : 1 auf --bg (große Schrift) */
  --accent-gradient: linear-gradient(120deg, var(--accent) 0%, #3F57E6 45%, var(--accent-light) 100%);

  --radius-card: 28px;
  --font: "Inter Tight", system-ui, sans-serif;

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;

  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

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

/* Fotos nicht per langem Tippen (iOS), Rechtsklick oder Ziehen speichern lassen.
   Klicks gehen an die Kachel darunter, Hover-Zoom und Parallax laufen über sie weiter.
   Hält nur Gelegenheitskopien ab: Screenshots oder die Entwicklertools verhindert das nicht. */
main img {
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.04em;
  hyphens: auto;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

h3 { hyphens: manual; }

p { margin: 0; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: var(--space-1) var(--space-2);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus { top: var(--space-1); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Zwischen zwei Abschnitten liegen 80 px (mobil) bzw. 128 px: klar getrennt, ohne Leerlauf. */
.section { padding-block: var(--space-4); }

@media (min-width: 900px) {
  .section { padding-block: var(--space-5); }
}

/* ---------- Meta-Text ---------- */

.meta {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: relative;
  z-index: 2;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
}

/* Wortmarke „dominik saure.“: gleiche Laufweite wie logo/wortmarke.svg, der Punkt im Verlauf */
.site-header__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.018em;
  text-decoration: none;
}

.site-header__dot {
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-height: 48px;
  padding: .375rem .375rem .375rem 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  transform: translate(var(--mx, 0px), var(--my, 0px)) rotate(var(--rot, 0deg));
  transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}

.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn:hover .btn__icon { --rot: -45deg; background: #fff; color: var(--accent); }

.btn--ghost {
  padding-right: 1.25rem;
  background: transparent;
  border-color: rgba(17, 17, 17, .25);
  color: var(--ink);
}

.btn--ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn__icon { transition: none; }
}

/* ---------- Hero-Bühne ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Die Bühne reicht hinter die Kopfzeile, damit oben keine Kante entsteht. */
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  padding-bottom: var(--space-4);
}

/* Weiche Farbwolken wie im früheren Hero-Video */
.stage__clouds {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Oben und unten weich auslaufen lassen, damit an den Kanten der Bühne nichts abgeschnitten wirkt */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 70%, transparent 100%);
}

.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(clamp(60px, 9vw, 140px));
}

.cloud--1 { width: 62vmax; height: 62vmax; left: -24vmax; bottom: -34vmax; background: rgba(26, 47, 176, .22); }
.cloud--2 { width: 54vmax; height: 54vmax; right: -20vmax; top: -24vmax; background: rgba(142, 162, 255, .45); }
.cloud--3 { width: 46vmax; height: 46vmax; right: -14vmax; bottom: -30vmax; background: rgba(244, 183, 154, .45); }
.cloud--4 { width: 38vmax; height: 38vmax; left: -14vmax; top: -18vmax; background: rgba(142, 162, 255, .28); }

.stage__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  min-height: min(calc(100svh - 96px), 880px);
  padding-block: var(--space-4);
  text-align: center;
}

/* Headline und Eingabefeld liegen übereinander und wechseln sich ab. */
.stage__screen {
  display: grid;
  place-items: center;
  width: 100%;
}

.stage__title,
.stage__prompt { grid-area: 1 / 1; }

.stage__title {
  font-size: clamp(2.6rem, 10vw, 8.5rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.045em;
}

.stage__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stage__word {
  position: relative;
  display: block;
  min-height: 1.1em;
  /* Platz für Unterlängen (g), die Verlaufsschrift malt nur in der Box */
  padding-bottom: .22em;
  margin-bottom: -.22em;
  font-weight: 700;
  white-space: nowrap;
}

.stage__word .ch {
  display: inline-block;
  padding-bottom: .22em;
  margin-bottom: -.22em;
  white-space: pre;
}

/* Leuchten hinter „Wirkung.“ */
.stage__word.is-final::before {
  content: "";
  position: absolute;
  inset: 10% 5%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(26, 47, 176, .28);
  filter: blur(50px);
}

.stage__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0;
  visibility: hidden;
}

.prompt {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: min(560px, 86vw);
  padding: 1.1rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--accent-gradient) border-box;
  box-shadow: 0 24px 70px rgba(26, 47, 176, .22);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: left;
}

.prompt__icon { flex: none; color: var(--accent); }

.prompt__caret {
  width: 2px;
  height: 1.2em;
  margin-left: -.6rem;
  background: var(--ink);
}

.prompt__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: .55rem 1.1rem;
  border-radius: 999px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(17, 17, 17, .08);
  font-size: 1rem;
  font-weight: 500;
}

.chip--accent { background: var(--accent); color: #fff; }

.hero__lead {
  max-width: 46ch;
  text-wrap: pretty;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* ---------- Markenleiste ---------- */

/* Ohne Bewegung steht die Liste umbrochen da. Mit Bewegung wird daraus ein langsames
   Laufband; die Kopie der Liste schließt die Lücke, damit es nahtlos weiterläuft. */
.brands {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}

.brands__band { overflow: hidden; }

.brands__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3em 1em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.5rem, 3.6vw, 2.6rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.brands__list li {
  display: flex;
  align-items: center;
  gap: 1em;
  white-space: nowrap;
}

.brands__list li::after {
  content: "";
  width: .28em;
  height: .28em;
  border-radius: 50%;
  background: var(--accent-gradient);
}

.brands__list li:last-child::after { display: none; }

.brands__list--copy { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .brands__band {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  }

  .brands__track {
    display: flex;
    width: max-content;
    animation: brands-band 32s linear infinite;
  }

  .brands__list {
    flex-wrap: nowrap;
    padding-right: 1em;
  }

  .brands__list li:last-child::after { display: block; }

  .brands__list--copy { display: flex; }

  @media (hover: hover) {
    .brands:hover .brands__track { animation-play-state: paused; }
  }

  @keyframes brands-band {
    to { transform: translateX(-50%); }
  }
}

/* ---------- Abschnittskopf ---------- */

.section__head {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.section__title {
  max-width: 18ch;
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 300;
}

.section__title strong {
  font-weight: 700;
}

/* ---------- Karten (Schwerpunkte) ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-3);
  border-radius: 20px;
  background: var(--card);
}

.card__index { color: var(--accent); }

.card__media {
  overflow: hidden;
  margin-bottom: var(--space-1);
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  background: var(--card);
}

/* iOS im Stromsparmodus blockiert das Abspielen und zeigt sonst einen großen Play-Button. */
video::-webkit-media-controls-start-playback-button {
  display: none;
  -webkit-appearance: none;
}

.card__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.15;
}

.card__text {
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .card { grid-column: span 2; }
  .card:nth-child(n + 4) { grid-column: span 3; }

  /* Gleiche Höhe in beiden Reihen; der weiße Videogrund verschmilzt mit der Karte. */
  .card__media { aspect-ratio: auto; height: 240px; }
  .card__media video { object-fit: contain; }
}

@media (min-width: 900px) {
  .card {
    min-height: 300px;
    padding: var(--space-4) var(--space-3) var(--space-3);
  }

  .card__text { margin-top: auto; }
}

/* ---------- Arbeiten: Moodboard ---------- */

.section__lead {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  text-wrap: pretty;
}

/* Kacheln unterschiedlicher Größe: Foto-Serien, eine Zahl, der Bildband und kurze Formate.
   Mobil zwei Spalten, ab 900 px vier. Zeilen wachsen mit, wenn ein Text mehr Platz braucht. */
.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(42vw, auto);
  grid-template-areas:
    "a a"
    "a a"
    "b c"
    "g c"
    "e e"
    "i f"
    "j j"
    "h h"
    "h h";
  gap: .75rem;
}

@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(230px, auto);
    grid-template-areas:
      "a a b b"
      "a a c g"
      "e e c f"
      "h h i f"
      "h h j j";
    gap: var(--space-2);
  }
}

.bento__tile--a { grid-area: a; }
.bento__tile--b { grid-area: b; }
.bento__tile--c { grid-area: c; }
.bento__tile--e { grid-area: e; }
.bento__tile--f { grid-area: f; }
.bento__tile--g { grid-area: g; }
.bento__tile--h { grid-area: h; }
.bento__tile--i { grid-area: i; }
.bento__tile--j { grid-area: j; }

.bento__tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-card);
}

.bento__photo { background: #6F8478; }

.bento__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__photo:hover [data-parallax] { --hover: 1.04; }

/* Serien: mehrere Fotos übereinander, main.js blendet sie nacheinander ein.
   Ohne JavaScript bleibt das erste stehen. */
.bento__slides {
  position: absolute;
  inset: 0;
}

.bento__slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento__slides img + img { visibility: hidden; }

.js .bento__slides img {
  visibility: visible;
  opacity: 0;
}

.js .bento__slides img.is-active { opacity: 1; }

/* Den Ausschnitt setzt jedes Foto selbst (object-position im HTML). Collagen und Anzeigen mit Text
   stehen ganz in der Kachel, dahinter dasselbe Bild klein und unscharf (background-image im HTML). */
.bento__slides img.is-whole {
  object-fit: contain;
  background-position: center;
  background-size: cover;
}

/* Fortschritt der Serie wie bei Stories: ein Strich je Foto, der laufende füllt sich */
.bento__progress {
  position: absolute;
  top: .9rem;
  right: .9rem;
  left: .9rem;
  display: flex;
  gap: 4px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
}

.bento__bar {
  position: relative;
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .42);
}

.bento__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  scale: 0 1;
}

.bento__bar.is-done::after,
.bento__bar.is-on::after { scale: 1 1; }

.bento__caption {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.bento__stat,
.bento__note,
.bento__book {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
  padding: var(--space-2);
  background: var(--card);
  text-decoration: none;
}

@media (min-width: 900px) {
  .bento__stat,
  .bento__note,
  .bento__book { padding: var(--space-3); }
}

.bento__stat .meta,
.bento__note .meta,
.bento__book .meta { margin: 0; }

/* Mobil an der Kachelbreite, ab 900 px an der Seitenbreite gemessen */
.bento__number {
  font-size: clamp(2rem, 8vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--accent);
}

@media (min-width: 900px) {
  .bento__number { font-size: clamp(2.4rem, 4vw, 3.6rem); }
}

.bento__title {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.bento__text {
  margin: 0;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.bento__stat:hover .bento__text { color: var(--ink); }

/* Bildband: Cover links, Text rechts */
.bento__book {
  flex-direction: row;
  align-items: stretch;
  gap: var(--space-3);
}

.bento__cover {
  position: relative;
  flex: none;
  width: auto;
  height: 100%;
  max-height: 200px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  align-self: center;
  background: #DAD6CC;
}

.bento__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
}

/* Kanäle als kleine Pillen unter dem Text */
.bento__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .5rem 0 0;
  padding: 0;
  list-style: none;
}

.bento__chip {
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--bg);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: -.01em;
}

.bento__note--accent {
  background: var(--accent-gradient);
  color: #fff;
}

.bento__note--accent .meta,
.bento__note--accent .bento__text { color: rgba(255, 255, 255, .86); }

/* ---------- Einblenden ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }

  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Arbeitsweise ---------- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps__item {
  display: grid;
  gap: .25rem;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
}

.steps__index { color: var(--accent); }

.steps__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -.03em;
}

.steps__text {
  max-width: 48ch;
  color: var(--muted);
}

@media (min-width: 900px) {
  .steps__item {
    grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: baseline;
    gap: var(--space-3);
  }
}

/* ---------- Über mich ---------- */

.about {
  display: grid;
  gap: var(--space-4);
}

.about__media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  aspect-ratio: 4 / 5;
  background: #4A3A2C;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.about__text p:not(.meta) {
  max-width: 60ch;
  color: #3A3A3A;
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 5fr 6fr;
    align-items: center;
    gap: var(--space-5);
  }
}

.tools {
  display: grid;
  gap: .75rem;
  margin-top: var(--space-1);
}

.tools__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tools__list li {
  padding: .375rem .875rem;
  border: 1px solid rgba(17, 17, 17, .18);
  border-radius: 999px;
  font-size: .9375rem;
  line-height: 1.4;
}

/* ---------- Kontakt ---------- */

.contact { padding-bottom: var(--space-5); }

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid var(--line);
}

.contact__title {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 300;
  line-height: .95;
}

.contact__title strong {
  font-weight: 700;
  color: var(--accent);
}

.contact__lead {
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.125rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* ---------- Fußzeile ---------- */

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9375rem;
}

.site-footer__links {
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- Rechtliche Seiten ---------- */

.legal .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 760px;
}

.legal__title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
}

.legal h2 {
  margin-top: var(--space-3);
  font-size: 1.5rem;
  letter-spacing: -.02em;
}

.legal p:not(.meta) { max-width: 65ch; }
.legal a { color: var(--accent); }

/* ---------- Farbverlauf in Wörtern ---------- */

/* Wie früher im Hero-Video: Kobalt → Periwinkle. Ohne Unterstützung bleibt das Wort kobaltblau.
   Etwas Innenabstand unten, damit Unterlängen (g, p) nicht abgeschnitten werden. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .bento__number {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: .08em;
  }

  .site-header__dot {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* Ohne JavaScript steht „Wirkung.“ als ganzes Wort, mit JavaScript trägt jeder Buchstabe
     seinen Ausschnitt des Verlaufs (Größe und Position setzt main.js). */
  .stage__word.is-final:not(.is-split) {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .stage__word.is-final .ch {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .contact__title strong {
    padding-bottom: .12em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* ---------- Bewegung ---------- */

/* Fotos: Parallax (--py, per JS), Hover-Zoom (--hover) und Aufdeck-Zoom (--zoom) teilen sich ein transform. */
[data-parallax] {
  transform: translate3d(0, var(--py, 0px), 0) scale(calc(var(--base, 1) * var(--hover, 1) * var(--zoom, 1)));
}

.has-parallax [data-parallax] { --base: 1.08; }

@media (prefers-reduced-motion: no-preference) {
  [data-parallax] { transition: transform .9s var(--ease); }

  /* Hero-Bühne */
  .hero__lead { animation: fade-up .8s var(--ease) .3s both; }
  .hero__actions { animation: fade-up .8s var(--ease) .4s both; }

  .cloud { animation: drift 26s ease-in-out infinite alternate; }
  .cloud--2 { animation-duration: 30s; animation-delay: -8s; }
  .cloud--3 { animation-duration: 34s; animation-delay: -14s; }
  .cloud--4 { animation-duration: 28s; animation-delay: -4s; }

  .stage__title,
  .stage__prompt {
    transition: opacity .6s var(--ease), filter .6s var(--ease), scale .6s var(--ease);
  }

  .js .stage__prompt { filter: blur(18px); scale: .96; }
  .js .stage__screen.is-prompt .stage__title { opacity: 0; filter: blur(18px); scale: 1.04; }
  .js .stage__screen.is-prompt .stage__prompt { opacity: 1; visibility: visible; filter: none; scale: 1; }

  /* Wörter: Buchstabe für Buchstabe aus der Unschärfe, danach nach oben verschwommen */
  .stage__word .ch {
    transition: opacity .55s var(--ease), filter .55s var(--ease), translate .55s var(--ease), scale .55s var(--ease);
    transition-delay: calc(var(--i) * 40ms);
  }

  .stage__word .ch.is-pre { opacity: 0; filter: blur(16px); translate: 0 .25em; scale: 1.15; }

  .stage__word .ch.is-out {
    opacity: 0;
    filter: blur(18px);
    translate: 0 -.2em;
    scale: 1.1;
    transition-duration: .4s;
    transition-delay: calc(var(--i) * 25ms);
  }

  /* „Wirkung.“: zieht sich als Ganzes zusammen und fliegt am Ende auf die Kamera zu */
  .stage__word.is-final {
    transition: letter-spacing .9s cubic-bezier(.16, 1, .3, 1), opacity .7s var(--ease), filter .7s var(--ease), scale .7s var(--ease);
  }

  .stage__word.is-final::before { transition: opacity .8s var(--ease), scale .8s var(--ease); }

  .stage__word.is-arriving { letter-spacing: .5em; opacity: 0; filter: blur(22px); scale: .92; }
  .stage__word.is-arriving::before { opacity: 0; scale: .3; }

  .stage__word.is-leaving { opacity: 0; filter: blur(22px); scale: 1.3; }
  .stage__word.is-leaving::before { opacity: 0; scale: 1.6; }

  .prompt__caret { animation: blink 1s steps(1) infinite; }

  .chip { opacity: 0; scale: .8; transition: opacity .4s var(--ease), scale .5s cubic-bezier(.34, 1.56, .64, 1); }
  .chip.is-in { opacity: 1; scale: 1; }

  /* Fotos werden beim Hineinscrollen von unten aufgedeckt */
  .js .reveal-media {
    clip-path: inset(100% 0 0 0 round var(--radius-card));
    transition: clip-path 1.1s var(--ease);
  }

  .js .reveal-media img,
  .js .reveal-media .bento__slides { --zoom: 1.15; }

  .js .reveal-media.is-visible { clip-path: inset(0 0 0 0 round var(--radius-card)); }
  .js .reveal-media.is-visible img,
  .js .reveal-media.is-visible .bento__slides { --zoom: 1; }

  /* Serien: langsam überblenden, das aktive Foto zoomt dabei kaum merklich heran */
  .js .bento__slides img { transition: opacity 1.2s var(--ease), scale 7s linear; }
  .js .bento__slides img.is-active { scale: 1.06; }
  .bento__bar.is-on::after { animation: bento-bar var(--d, 5200ms) linear both; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes bento-bar {
  from { scale: 0 1; }
  to { scale: 1 1; }
}

@keyframes drift {
  from { translate: 0 0; }
  to { translate: 6vmax -4vmax; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@media print {
  .js .reveal, .js .reveal-media { opacity: 1; transform: none; clip-path: none; }
}
