/* ImmoSprint – Marketing-Website (Story #332, ADR-0049, docs/45).

   Ein Akzent, viel Weissraum, ruhig – dieselbe Haltung wie die Anwendung.
   Die Tokens sind KOPIEN der Werte aus frontend/src/styles/theme.css, nicht
   importiert: die Website hat keinen Build und soll die App-Datei nicht als
   Abhängigkeit tragen (docs/45 §4). Setzt docs/37 Schritt 3 das Fundament
   neu, zieht diese Datei in einem eigenen Schritt nach. */

:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --ink: #1c2430;
  /* = --muted-strong der App: --muted (#6b7685) erreicht auf --bg nur 4,33:1
     und reisst WCAG AA für kleine Schrift (theme.css, Story #20). */
  --muted: #5b6675;
  --line: #e6e9ef;
  --primary: #2b6cb0;
  --primary-ink: #ffffff;
  --primary-soft: #ebf3fb;
  /* Dunklere Stufe für Text auf --primary-soft und für Hover: #2b6cb0 auf
     #ebf3fb liegt bei 4,7:1 (AA, knapp) – die Stufe darunter bei 6,4:1. */
  --primary-dunkel: #245a94;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --trefferflaeche: 44px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --abstand: 16px;
  --abschnitt-y: 64px;
}

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

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

html {
  scroll-behavior: smooth;
  /* Der Kopf ist angeheftet; Sprungmarken sollen nicht unter ihm landen. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  /* Kein waagerechter Seitenscroll – gemessen in website/tests/pruefen.mjs. */
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0 0 12px; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw + 1rem, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.125rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 12px; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--primary-dunkel); }

/* Sichtbarer Fokusring auf JEDEM Bedienelement – gemessen. Ein Ring, den
   der Browser zeichnet, ist je Browser ein anderer; hier ist es einer. */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 3px;
}

.behaelter {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--abstand);
}

/* Sprunglink: unsichtbar, bis er per Tastatur den Fokus bekommt. */
.sprunglink {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-sm);
}
.sprunglink:focus { top: 8px; }

.ueberzeile {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.einleitung { font-size: 1.125rem; color: var(--muted); }

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

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--trefferflaeche);
  padding: 0 20px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-ink);
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.knopf:hover { background: var(--primary-dunkel); border-color: var(--primary-dunkel); color: var(--primary-ink); }

.knopf-sekundaer {
  background: var(--surface);
  color: var(--primary);
}
.knopf-sekundaer:hover { background: var(--primary-soft); color: var(--primary-dunkel); }

/* Auf der Akzentfläche (Kontakt) kehrt sich der Knopf um. Der Selektor
   trägt die Fläche mit, weil `.abschnitt-akzent a` sonst spezifischer wäre
   und die Schrift weiss auf weiss setzte – genau so gemessen (pruefen.mjs). */
.abschnitt-akzent .knopf-hell {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--primary);
}
.abschnitt-akzent .knopf-hell:hover { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--primary-dunkel); }
/* Zweiter Knopf auf der Akzentfläche: Umriss in Weiss, damit „Demo anfragen"
   der eine volle Knopf bleibt. */
.abschnitt-akzent .knopf-hell-sekundaer {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--primary-ink);
}
.abschnitt-akzent .knopf-hell-sekundaer:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--primary-ink); color: var(--primary-ink); }

.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Kopf -------------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease;
}
.kopf.is-gescrollt { border-bottom-color: var(--line); }

.kopf-zeile {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "marke portal" "nav nav";
  align-items: center;
  row-gap: 4px;
  padding-top: 10px;
  padding-bottom: 8px;
}

.wortmarke {
  grid-area: marke;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--trefferflaeche);
}
.wortmarke-akzent { color: var(--primary); }
.wortmarke-klein { min-height: 0; font-size: 1rem; }

.hauptnav {
  grid-area: nav;
  display: flex;
  gap: 2px;
  margin-left: -8px;
  /* Vier kurze Wörter passen auf 360 px in eine Zeile; sollten sie es einmal
     nicht mehr, scrollt die Zeile in sich – nie die Seite. */
  overflow-x: auto;
  scrollbar-width: none;
}
.hauptnav::-webkit-scrollbar { display: none; }
.hauptnav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--trefferflaeche);
  /* 8 px auf Handybreite, damit vier Wörter in 328 px passen (gemessen);
     ab 720 px mehr Luft. */
  padding: 0 8px;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.hauptnav a:hover { color: var(--ink); background: var(--bg); }

.knopf-kopf { grid-area: portal; padding: 0 16px; }

@media (min-width: 720px) {
  .kopf-zeile {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "marke nav portal";
    column-gap: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .hauptnav { justify-content: flex-start; margin-left: 12px; }
  .hauptnav a { padding: 0 12px; font-size: 1rem; }
  html { scroll-padding-top: 72px; }
}

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

.abschnitt { padding: var(--abschnitt-y) 0; }
.abschnitt-getoent { background: var(--bg); }
.abschnitt-akzent { background: var(--primary); color: var(--primary-ink); }
/* Kontakt: die Fassade liegt dezent unter der blauen Fläche. Der Verlauf ist
   nahezu deckend, damit der weisse Text den gemessenen Kontrast behält. */
#kontakt {
  background-image:
    linear-gradient(rgba(43, 108, 176, 0.90), rgba(36, 90, 148, 0.94)),
    url("bilder/kontakt-fassade.webp");
  background-size: cover;
  background-position: center 40%;
}
.abschnitt-akzent a { color: var(--primary-ink); }
.abschnitt-akzent h2 { color: var(--primary-ink); }
.abschnitt-akzent p { color: var(--primary-ink); }
.abschnitt-akzent :focus-visible { outline-color: var(--primary-ink); }

.abschnitt-kopf {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.abschnitt-kopf p:last-child { color: var(--muted); font-size: 1.0625rem; }
.abschnitt-kopf-links { margin-left: 0; text-align: left; }

/* ---- Hero -------------------------------------------------------------- */

.hero { padding: 40px 0 var(--abschnitt-y); }
.hero-raster {
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero-text .einleitung { max-width: 560px; }
.hero-text .knopfreihe { margin-top: 24px; }

.hero-bild {
  margin: 0;
}
.hero-bild img,
.beleg img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}
/* Fotos (KI-Szenen mit dem echten Screenshot): kein Rahmen, weicher Schatten */
.hero-bild img,
.beleg-foto img,
.foto img {
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.10), 0 2px 6px rgba(16, 24, 40, 0.06);
  object-fit: cover;
}
.foto { margin: 0; }
figcaption {
  margin-top: 10px;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero-raster { grid-template-columns: 5fr 6fr; gap: 48px; }
}

/* ---- Zeichen (Inline-SVG, Stil des kuratierten Icon-Sets, docs/37 §7.2) - */

.zeichen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary);
}
.zeichen svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zeichen-gross { width: 48px; height: 48px; }
.zeichen-gross svg { width: 26px; height: 26px; }

/* ---- Punkte („Was heute passiert") ------------------------------------- */

.punkte {
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.punkte li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.punkte strong { display: block; margin-bottom: 2px; }
.heute-raster { display: grid; gap: 32px; align-items: center; }
.foto-heute img { width: 100%; aspect-ratio: 4 / 3; height: auto; }
@media (min-width: 900px) {
  .heute-raster { grid-template-columns: 6fr 5fr; gap: 48px; }
  .punkte { max-width: none; margin: 0; }
  .foto-heute img { aspect-ratio: 5 / 6; }
}

/* ---- Einstiege („Der Ablauf", Story #384) ------------------------------ */

/* Zwei Ausgangspunkte – Kündigung oder Erstbezug –, die in denselben Ablauf
   münden. Gleiche Kachelform wie die Punkte unter „Das Problem", dazu eine
   Akzentkante links, damit sie sich von den sechs Schritten darunter abheben;
   der Pfeil dazwischen ist das einzige Verbindungszeichen. */
.einstiege {
  list-style: none;
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.einstieg {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
}
/* Das Zeichen sitzt sonst Ton in Ton auf der getönten Kachel. */
.einstieg .zeichen { background: var(--surface); }
.einstieg h3 { margin-bottom: 4px; font-size: 1.0625rem; }
.einstieg p { margin: 0; color: var(--ink); font-size: 0.9375rem; }
.einstiege-hinweis {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 20px auto 24px;
  max-width: 560px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}
.einstiege-pfeil { display: inline-flex; color: var(--primary); }
.einstiege-pfeil svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (min-width: 720px) { .einstiege { grid-template-columns: repeat(2, 1fr); } }

/* ---- Schritte ---------------------------------------------------------- */

.schritte {
  list-style: none;
  display: grid;
  gap: 20px;
  counter-reset: schritt;
}
.schritt {
  position: relative;
  padding: 20px 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.schritt-nr {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.8125rem;
  font-weight: 650;
  color: var(--muted);
}
.schritt .zeichen { margin-bottom: 14px; }
.schritt h3 { margin-bottom: 6px; }
.schritt p { margin: 0; color: var(--muted); }

@media (min-width: 720px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .schritte { grid-template-columns: repeat(3, 1fr); } }

/* ---- Funktionen -------------------------------------------------------- */

.kacheln {
  display: grid;
  gap: 16px;
}
.kachel {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.kachel .zeichen { margin-bottom: 14px; }
.kachel h3 { margin-bottom: 6px; }
.kachel p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 720px) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kacheln { grid-template-columns: repeat(3, 1fr); } }

.belege {
  display: grid;
  gap: 32px;
  margin-top: 48px;
  justify-items: center;
}
.beleg { margin: 0; max-width: 480px; }

/* ---- KI ---------------------------------------------------------------- */

.ki-raster { display: grid; gap: 32px; align-items: start; }
.ki-raster .abschnitt-kopf { margin-bottom: 0; }
.ki-punkte { list-style: none; display: grid; gap: 14px; }
.ki-punkte li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.ki-punkte strong { color: var(--ink); display: block; margin-bottom: 2px; }
@media (min-width: 900px) { .ki-raster { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* ---- Für wen ----------------------------------------------------------- */

.foto-breit { margin: 0 0 32px; }
.foto-breit img { width: 100%; aspect-ratio: 16 / 9; height: auto; }
@media (min-width: 900px) { .foto-breit img { aspect-ratio: 21 / 9; } }
.rollen { display: grid; gap: 16px; }
.rolle {
  padding: 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.rolle h3 { margin-bottom: 6px; }
.rolle p { margin: 0; color: var(--muted); }
@media (min-width: 720px) { .rollen { grid-template-columns: repeat(3, 1fr); } }

/* ---- Über uns ---------------------------------------------------------- */

.team {
  display: grid;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.person {
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Runde Porträts, das Gesicht in der Mitte: der Ausschnitt ist im Bild schon
   quadratisch um das Gesicht gelegt, object-fit hält ihn bei jeder Grösse. */
.portraet {
  width: 152px;
  height: 152px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 40%;
  border: 4px solid var(--primary-soft);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.10);
  margin-bottom: 18px;
}
.person h3 { margin-bottom: 2px; }
.person-rolle {
  color: var(--primary);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0 0 12px;
}
.person > p:not(.person-rolle) { color: var(--muted); margin: 0 0 18px; }
.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--trefferflaeche);
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
}
.linkedin:hover { border-color: var(--primary); color: var(--primary); }
.linkedin svg { width: 18px; height: 18px; fill: var(--primary); }
.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.vision {
  max-width: 860px;
  margin: 32px auto 0;
  padding: 28px 28px 28px 32px;
  border-left: 4px solid var(--primary);
  background: var(--surface);
  border-radius: var(--radius);
}
.vision .ueberzeile { margin-bottom: 8px; }
.vision p:last-child { margin: 0; font-size: 1.125rem; line-height: 1.55; }
@media (min-width: 720px) {
  .team { grid-template-columns: 1fr 1fr; gap: 24px; }
  .portraet { width: 168px; height: 168px; }
}

/* ---- Preise ------------------------------------------------------------ */

.preise-raster {
  list-style: none;
  display: grid;
  gap: 12px;
}
.preis {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
}
.preis-grenze { margin: 0 0 10px; color: var(--muted); font-size: 0.9375rem; }
.preis-grenze strong { color: var(--ink); font-size: 1.0625rem; }
.preis-betrag {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.preis-waehrung { font-size: 0.9375rem; font-weight: 650; color: var(--muted); vertical-align: 0.9em; margin-right: 2px; letter-spacing: 0; }
.preis-hinweis { margin: 4px 0 0; font-size: 0.875rem; color: var(--muted); }
.preise-fuss {
  max-width: 680px;
  margin: 28px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (min-width: 560px) { .preise-raster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .preise-raster { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .preise-raster { grid-template-columns: repeat(5, 1fr); } }

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

.kontakt-raster {
  display: grid;
  gap: 20px;
  align-items: center;
}
.kontakt-raster h2 { margin-bottom: 6px; }
.kontakt-raster p { margin: 0; }
@media (min-width: 720px) {
  .kontakt-raster { grid-template-columns: 1fr auto; gap: 40px; }
}

/* ---- Fuss -------------------------------------------------------------- */

.fuss {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 0.9375rem;
  color: var(--muted);
}
.fuss-zeile {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
.fuss p { margin: 0; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.fuss nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--trefferflaeche);
  padding: 0 8px;
  color: var(--muted);
  text-decoration: none;
}
.fuss nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---- Rechtliches (zweite Seite) ---------------------------------------- */

/* ---- Fragen und Antworten (faq.html) ---------------------------------- */

.faq { max-width: 720px; }
.faq h1 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
.faq > p.einleitung { color: var(--muted); margin-bottom: 32px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--trefferflaeche);
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.25rem;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: var(--radius); }
.faq details > div { padding: 0 18px 18px; color: var(--muted); }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin-bottom: 0; }

.rechtliches { max-width: 720px; }
.rechtliches h1 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); }
.rechtliches h2 { font-size: 1.5rem; margin-top: 40px; }
.rechtliches h3 { margin-top: 24px; }
.hinweis-betreiber {
  padding: 14px 16px;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-dunkel);
  font-size: 0.9375rem;
}
.hinweis-betreiber p { margin: 0; }
.platzhalter { color: var(--muted); font-style: italic; }

/* ---- Scroll-Effekte („nicht too much") --------------------------------- */
/*
   Abschnitte tragen data-reveal; das Skript setzt beim Hereinscrollen die
   Klasse is-sichtbar. Der versteckte ANFANGSZUSTAND gilt nur

     1. unter html.js  – ohne Skript ist alles sichtbar, und
     2. unter prefers-reduced-motion: no-preference – wer Bewegung abgestellt
        hat, sieht die Seite vollständig und still.

   Beide Vorbehalte sind gemessen (website/tests/pruefen.mjs). Einmal
   sichtbar, bleibt sichtbar: kein Ausblenden beim Hochscrollen.

   Nur `screen`: beim Drucken (oder „Als PDF sichern") scrollt niemand, der
   Observer feuert für nichts unterhalb des Bildschirms – ohne diese Grenze
   bliebe jeder noch nicht hereingescrollte Abschnitt auf dem Papier leer. */
@media screen and (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 480ms ease, transform 480ms ease;
  }
  html.js [data-reveal].is-sichtbar {
    opacity: 1;
    transform: none;
  }
  /* Kacheln in einem Raster folgen einander um einen Wimpernschlag – das
     ist der ganze „Slide"-Effekt. */
  html.js .kacheln [data-reveal]:nth-child(3n + 2),
  html.js .einstiege [data-reveal]:nth-child(2),
  html.js .schritte [data-reveal]:nth-child(3n + 2),
  html.js .preise-raster [data-reveal]:nth-child(5n + 2),
  html.js .rollen [data-reveal]:nth-child(2) { transition-delay: 80ms; }
  html.js .kacheln [data-reveal]:nth-child(3n),
  html.js .schritte [data-reveal]:nth-child(3n),
  html.js .preise-raster [data-reveal]:nth-child(5n + 3),
  html.js .rollen [data-reveal]:nth-child(3) { transition-delay: 160ms; }
  html.js .preise-raster [data-reveal]:nth-child(5n + 4) { transition-delay: 240ms; }
  html.js .preise-raster [data-reveal]:nth-child(5n) { transition-delay: 320ms; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .kopf { transition: none; }
}
