/* =====================================================================
   Wobble.at — Stil
   Muster nach developer.apple.com (am 03.10.2026 nachgemessen: Kopfleiste
   44 px, Kacheln 28 px Radius, Karten 18 px, Pillen 980 px, Überschriften
   28/600, Fließtext 17/25 mit −0,374 px). Nachgebaut, nicht kopiert.
   Farben nach Adams Vorgabe: Mulberry #32292F, Turquoise #99E1D9 — als
   „Liquid Glass“ über den Flächenbildern beeren.webp und eis.webp.
   ===================================================================== */

:root {
  --mulberry: #32292F;
  --mulberry-tief: #1b1519;
  --mulberry-mitte: #261f24;
  --mulberry-hell: #4a3d45;
  --turquoise: #99E1D9;
  --turquoise-hell: #c8f0eb;
  --turquoise-satt: #74d3c7;
  --turquoise-text: #1d6b64;
  --papier: #f5f5f7;
  --tinte: #1d1d1f;
  --grau: #6e6e73;
  --grau-dunkel: #424245;
  --linie: #d2d2d7;

  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --schrift-gross: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --r-kachel: 28px;
  --r-karte: 18px;
  --r-klein: 12px;
  --r-pille: 980px;

  --breite: 980px;
  --breite-weit: 1200px;
  --rand: 22px;
  --kopf-hoehe: 44px;

  --glas-unschaerfe: blur(30px) saturate(180%);
  --apple-kurve: cubic-bezier(0.28, 0.11, 0.32, 1);

  /* Grundthema = Nacht; die Abschnitte überschreiben es */
  --text: #f5f5f7;
  --text-leise: rgba(245, 245, 247, 0.68);
  --glas: rgba(50, 41, 47, 0.55);
  --glas-kante: rgba(255, 255, 255, 0.13);
  --glas-glanz: rgba(255, 255, 255, 0.22);
  --akzent: var(--turquoise);
  --knopf-grund: var(--turquoise);
  --knopf-schrift: var(--mulberry);

  color-scheme: dark;
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--mulberry-tief);
}

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  font-weight: 400;
  color: var(--text);
  background: var(--mulberry-tief);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }

button { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--schrift-gross); }
p { margin: 0; }

:focus-visible {
  outline: 3px solid var(--turquoise);
  outline-offset: 3px;
  border-radius: 6px;
}
.thema-eis :focus-visible,
.thema-hell :focus-visible { outline-color: var(--mulberry); }

.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: var(--r-pille);
  background: var(--turquoise); color: var(--mulberry); font-size: 14px;
}
.sprung:focus { top: 8px; }

.nur-vorleser {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Themen der Abschnitte ---------- */

.thema-nacht {
  --text: #f5f5f7;
  --text-leise: rgba(245, 245, 247, 0.68);
  --glas: rgba(50, 41, 47, 0.55);
  --glas-kante: rgba(255, 255, 255, 0.13);
  --glas-glanz: rgba(255, 255, 255, 0.22);
  --akzent: var(--turquoise);
  --knopf-grund: var(--turquoise);
  --knopf-schrift: var(--mulberry);
  color: var(--text);
  background: var(--mulberry-tief) url("../bilder/beeren.webp") center / cover no-repeat;
}

.thema-eis {
  --text: var(--mulberry);
  --text-leise: rgba(50, 41, 47, 0.74);
  --glas: rgba(182, 237, 230, 0.5);
  --glas-kante: rgba(255, 255, 255, 0.62);
  --glas-unschaerfe: blur(34px) saturate(112%) brightness(1.04);
  --glas-glanz: rgba(255, 255, 255, 0.6);
  --akzent: var(--mulberry);
  --knopf-grund: var(--mulberry);
  --knopf-schrift: var(--turquoise);
  color: var(--text);
  color-scheme: light;
  background: var(--turquoise) url("../bilder/eis.webp") center / cover no-repeat;
}

.thema-hell {
  --text: var(--tinte);
  --text-leise: var(--grau);
  --glas: rgba(255, 255, 255, 0.72);
  --glas-kante: rgba(0, 0, 0, 0.06);
  --glas-glanz: rgba(255, 255, 255, 0.9);
  --akzent: var(--turquoise-text);
  --knopf-grund: var(--mulberry);
  --knopf-schrift: #fff;
  color: var(--text);
  color-scheme: light;
  background: var(--papier);
}

/* ---------- Liquid Glass ---------- */

.glas {
  position: relative;
  isolation: isolate;
  border-radius: var(--r-kachel);
  background: var(--glas);
  -webkit-backdrop-filter: var(--glas-unschaerfe);
  backdrop-filter: var(--glas-unschaerfe);
  border: 1px solid var(--glas-kante);
  box-shadow:
    inset 0 1px 0 var(--glas-glanz),
    inset 0 -1px 0 rgba(0, 0, 0, 0.08),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
/* Lichtkante wie bei echtem Glas – folgt dem Zeiger (--mx/--my aus seite.js) */
.glas::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(420px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 38%);
  pointer-events: none;
}
.thema-eis .glas::before {
  background:
    radial-gradient(420px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, 0.45), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.35), transparent 40%);
}
.glas--karte { border-radius: var(--r-karte); }
/* Mulberry-Glas auf Eis: deckender, sonst wird es grünlich-grau */
.thema-eis .glas.thema-nacht {
  --glas: rgba(50, 41, 47, 0.9);
  --glas-unschaerfe: blur(30px) saturate(110%);
  background: var(--glas);
}

.thema-eis .glas.thema-nacht::before {
  background:
    radial-gradient(420px circle at var(--mx, 20%) var(--my, 0%), rgba(255, 255, 255, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%);
}

/* Ohne backdrop-filter (alte Browser) – sonst wäre Schrift auf Foto unlesbar */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .thema-nacht .glas, .glas { background: rgba(38, 31, 36, 0.92); }
  .thema-eis .glas { background: rgba(190, 238, 232, 0.94); }
  .thema-hell .glas { background: #fff; }
}

/* ---------- Knöpfe (Pillen wie Apple: 980 px Radius) ---------- */

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: var(--r-pille);
  border: 1px solid transparent;
  background: var(--knopf-grund);
  color: var(--knopf-schrift);
  font-size: 17px; line-height: 1.17648; font-weight: 400; letter-spacing: -0.022em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--apple-kurve), background-color 0.25s, box-shadow 0.25s, opacity 0.25s;
}
.knopf:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.45); }
.knopf:active { transform: scale(0.98); }

.knopf--glas {
  background: var(--glas);
  color: var(--text);
  border-color: var(--glas-kante);
  -webkit-backdrop-filter: var(--glas-unschaerfe);
  backdrop-filter: var(--glas-unschaerfe);
  box-shadow: inset 0 1px 0 var(--glas-glanz);
}
.knopf--klein { font-size: 14px; line-height: 1.28577; min-height: 38px; padding: 9px 16px; }
.knopf--breit { width: 100%; }
.knopf[aria-disabled="true"], .knopf:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

/* Apple-Textlink mit „›“ */
.pfeil-link { color: var(--akzent); font-weight: 400; white-space: nowrap; }
.pfeil-link::after { content: "\00a0›"; }
.pfeil-link:hover { text-decoration: underline; }

/* Pille aus dem Screenshot (rechts unten in der Glaskarte) */
.pille {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: var(--r-pille);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 18px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s var(--apple-kurve), background 0.25s;
  cursor: pointer;
}
.thema-eis .pille {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.85);
}
.pille:hover { transform: translateY(-1px); }

/* ---------- Kopfleiste (Apple globalnav: 44 px) ---------- */

.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--kopf-hoehe);
  color: rgba(245, 245, 247, 0.86);
  font-size: 12px; letter-spacing: -0.01em;
  background: rgba(27, 21, 25, 0.62);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.4s;
}
.kopf--gescrollt { background: rgba(27, 21, 25, 0.9); }

.kopf__innen {
  max-width: 1024px; height: 100%; margin: 0 auto;
  padding: 0 var(--rand);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.kopf__marke { display: flex; align-items: center; min-height: 44px; }
.kopf__marke img { width: 66px; height: auto; }
.kopf__nav { display: flex; align-items: center; gap: 34px; }
.kopf__nav a { opacity: 0.86; transition: opacity 0.2s; padding: 12px 0; }
.kopf__nav a:hover, .kopf__nav a[aria-current="page"] { opacity: 1; }
.kopf__rechts { display: flex; align-items: center; gap: 10px; }
.kopf__kauf {
  display: inline-flex; align-items: center;
  min-height: 24px; padding: 3px 11px;
  border-radius: var(--r-pille);
  background: var(--turquoise); color: var(--mulberry);
  font-size: 12px; font-weight: 500;
  transition: background-color 0.2s;
}
.kopf__kauf:hover { background: var(--turquoise-hell); }
/* Trefferfläche 44 px trotz kleiner Pille */
.kopf__kauf { position: relative; }
.kopf__kauf::after { content: ""; position: absolute; inset: -10px -4px; }

.kopf__burger {
  display: none;
  width: 44px; height: 44px; margin-right: -12px;
  border: 0; background: none; cursor: pointer; position: relative;
}
.kopf__burger span {
  position: absolute; left: 14px; width: 16px; height: 1.5px; border-radius: 1px;
  background: currentColor; transition: transform 0.3s var(--apple-kurve), top 0.3s var(--apple-kurve);
}
.kopf__burger span:first-child { top: 18px; }
.kopf__burger span:last-child { top: 25px; }
.kopf--offen .kopf__burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.kopf--offen .kopf__burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 833px) {
  :root { --kopf-hoehe: 48px; }
  .kopf__burger { display: block; }
  .kopf__nav {
    position: fixed; inset: var(--kopf-hoehe) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 18px 40px;
    background: rgba(27, 21, 25, 0.96);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    visibility: hidden; opacity: 0;
    transition: opacity 0.3s var(--apple-kurve), visibility 0s 0.3s;
  }
  .kopf--offen .kopf__nav { visibility: visible; opacity: 1; transition: opacity 0.3s var(--apple-kurve); }
  .kopf__nav a { font-size: 28px; font-weight: 600; letter-spacing: 0.007em; padding: 8px 0; color: #f5f5f7; opacity: 1; }
  .kopf__marke img { width: 72px; }
}

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

main { display: block; }

.abschnitt {
  position: relative;
  padding: clamp(84px, 11vw, 150px) var(--rand);
  scroll-margin-top: var(--kopf-hoehe);
}
.abschnitt__kopf {
  max-width: var(--breite);
  margin: 0 auto clamp(40px, 5vw, 64px);
}
.abschnitt__kopf--mitte { text-align: center; }
.abschnitt__kopf--weit { max-width: var(--breite-weit); }
.galerie .abschnitt__kopf--weit { max-width: min(var(--breite-weit), calc(100vw - 128px)); padding: 0; }
@media (max-width: 833px) { .galerie .abschnitt__kopf--weit { max-width: none; padding: 0 var(--rand); } }

.ueberschrift {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.07143;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.ueberschrift .leiser { color: var(--text-leise); }
.einleitung {
  margin-top: 16px;
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.381;
  letter-spacing: 0.011em;
  color: var(--text-leise);
  max-width: 640px;
}
.abschnitt__kopf--mitte .einleitung { margin-left: auto; margin-right: auto; }

/* Einblenden beim Scrollen – nur mit JS (Klasse .js setzt das Inline-Skript im <head>) */
.js .einblenden {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--apple-kurve), transform 0.9s var(--apple-kurve);
}
.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: calc(var(--kopf-hoehe) + 24px) var(--rand) clamp(56px, 9vh, 96px);
  overflow: hidden;
  isolation: isolate;
  background: var(--mulberry-tief);
}
.hero__leinwand {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  cursor: grab;
  touch-action: pan-y;
}
.hero__leinwand:active { cursor: grabbing; }
/* Ersatz ohne WebGL oder bei „Bewegung reduzieren“: Bild + Glaszeichen */
.hero__ersatz {
  position: absolute; inset: 0; z-index: -2;
  display: none;
  background: var(--mulberry-tief) url("../bilder/beeren.webp") center / cover no-repeat;
}
.hero__ersatz svg {
  position: absolute; left: 50%; top: 40%;
  width: min(54vw, 420px); height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(153, 225, 217, 0.35));
}
.hero--ohne-webgl .hero__ersatz { display: block; }
.hero--ohne-webgl .hero__leinwand { display: none; }
/* Abdunkeln hinter dem Text */
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 62%; z-index: -1;
  background: linear-gradient(180deg, rgba(27, 21, 25, 0) 0%, rgba(27, 21, 25, 0.55) 45%, rgba(27, 21, 25, 0.88) 100%);
  pointer-events: none;
}

.hero__text { text-align: center; max-width: 900px; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.hero__unter {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.33;
  letter-spacing: 0.009em;
  color: var(--text-leise);
}
.hero__knoepfe { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__preis { margin-top: 18px; font-size: 14px; letter-spacing: -0.01em; color: var(--text-leise); }
.hero__hinweis {
  position: absolute; right: var(--rand); bottom: 18px;
  font-size: 12px; color: rgba(245, 245, 247, 0.45);
}

/* ---------- Galerie (Apple-Kachelband mit Punktleiste) ---------- */

.galerie {
  padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 100px);
  scroll-margin-top: var(--kopf-hoehe);
  --kachel-b: min(var(--breite-weit), calc(100vw - 128px));
}
.galerie .abschnitt__kopf { padding: 0 var(--rand); }
.galerie__spur {
  display: flex; gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px calc((100vw - var(--kachel-b)) / 2) 12px;
  scrollbar-width: none;
}
.galerie__spur::-webkit-scrollbar { display: none; }

.kachel {
  position: relative;
  flex: 0 0 var(--kachel-b);
  aspect-ratio: 1.61;
  border-radius: var(--r-kachel);
  overflow: hidden;
  scroll-snap-align: center;
  isolation: isolate;
  perspective: 1800px;
  color: #f5f5f7;
  background: var(--mulberry-tief) url("../bilder/beeren.webp") center / cover;
}
.kachel--eis { background: var(--turquoise) url("../bilder/eis.webp") center / cover; color: var(--mulberry); }

.kachel__buehne {
  position: absolute; inset: 6% 7% 22%;
  display: flex; align-items: flex-start; justify-content: center; gap: 3%;
  transform-style: preserve-3d;
}
/* Programmfenster aus Glas mit echtem Screenshot */
.fenster {
  position: relative;
  margin: 0;
  width: 100%; max-width: 880px;
  border-radius: 14px;
  padding: 26px 8px 8px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  transform: rotateX(14deg) translateY(4%) scale(0.94);
  transform-origin: 50% 100%;
  opacity: 0.75;
  transition: transform 1.1s var(--apple-kurve), opacity 1.1s var(--apple-kurve);
}
.fenster::before { /* drei Fensterpunkte */
  content: ""; position: absolute; left: 12px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 12px 0 rgba(255, 255, 255, 0.4), 24px 0 rgba(255, 255, 255, 0.3);
}
.fenster img { border-radius: 8px; width: 100%; }
.fenster--handy {
  width: 25%; max-width: 230px;
  border-radius: 30px; padding: 8px;
}
.fenster--handy::before { display: none; }
.fenster--handy img { border-radius: 23px; }
.fenster--handy:nth-child(2) { margin-top: 4%; }
.kachel.ist-aktiv .fenster { transform: none; opacity: 1; }
.kachel.ist-aktiv .fenster--handy:nth-child(2) { transform: translateY(-4%); }

.kachel__unterschrift {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; gap: 20px;
  padding: 60px 43px 34px;
  background: linear-gradient(180deg, transparent, rgba(27, 21, 25, 0.78));
}
.kachel--eis .kachel__unterschrift { background: linear-gradient(180deg, transparent, rgba(200, 240, 235, 0.86)); }
.kachel__unterschrift p { font-size: 17px; line-height: 1.47; max-width: 640px; }
.kachel__unterschrift strong { font-weight: 600; }
.kachel__unterschrift .knopf { flex: none; }
.kachel .knopf--hell { background: #f5f5f7; color: #1d1d1f; }
.kachel--eis .knopf--hell { background: var(--mulberry); color: var(--turquoise); }

.galerie__steuerung {
  display: flex; justify-content: center; gap: 14px;
  margin-top: 26px;
}
.punkte, .abspielen {
  height: 56px;
  background: rgba(232, 232, 237, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 #fff, 0 6px 18px -10px rgba(0, 0, 0, 0.25);
}
.punkte {
  display: flex; align-items: center; gap: 4px;
  padding: 0 14px;
  border-radius: 28px;
  list-style: none; margin: 0;
}
.punkt {
  position: relative;
  width: 24px; height: 44px;
  border: 0; background: none; padding: 0; cursor: pointer;
  transition: width 0.5s var(--apple-kurve);
}
.punkt::before, .punkt::after {
  content: ""; position: absolute; left: 8px; right: 8px; top: 18px; height: 8px;
  border-radius: 4px;
}
.punkt::before { background: rgba(0, 0, 0, 0.36); transition: background-color 0.3s; }
.punkt::after { background: rgba(0, 0, 0, 0.78); transform-origin: left; transform: scaleX(0); }
.punkt:hover::before { background: rgba(0, 0, 0, 0.6); }
.punkt[aria-current="true"] { width: 64px; }
.punkt[aria-current="true"]::before { background: rgba(0, 0, 0, 0.2); }
.punkt[aria-current="true"]::after { transform: scaleX(1); }
.galerie--laeuft .punkt[aria-current="true"]::after { animation: fortschritt var(--dauer, 5s) linear forwards; }
@keyframes fortschritt { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.abspielen {
  width: 56px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #1d1d1f;
}
.abspielen svg { width: 20px; height: 20px; }
.abspielen .zeichen-start { display: none; }
.abspielen[aria-pressed="false"] .zeichen-start { display: block; }
.abspielen[aria-pressed="false"] .zeichen-pause { display: none; }

@media (max-width: 833px) {
  .galerie { --kachel-b: calc(100vw - 44px); }
  .galerie__spur { gap: 12px; }
  .kachel { aspect-ratio: 0.78; }
  .kachel__buehne { inset: 6% 5% 34%; align-items: center; }
  .fenster { padding: 18px 5px 5px; border-radius: 10px; }
  .fenster::before { left: 9px; top: 7px; width: 5px; height: 5px; box-shadow: 9px 0 rgba(255,255,255,.4), 18px 0 rgba(255,255,255,.3); }
  .fenster--handy { width: 31%; border-radius: 20px; padding: 5px; }
  .fenster:not(.fenster--handy) img { aspect-ratio: 1.08; object-fit: cover; object-position: 0 0; }
  .fenster--handy img { border-radius: 16px; }
  .kachel__unterschrift { flex-direction: column; align-items: flex-start; gap: 14px; padding: 60px 22px 24px; }
  .kachel__unterschrift p { font-size: 15px; }
}

/* ---------- Große Glaskarte (genau das Muster aus Adams Screenshot) ---------- */

.karte-gross {
  max-width: var(--breite);
  margin: 0 auto;
  padding: clamp(32px, 6.5vw, 72px) clamp(26px, 7.5vw, 74px);
  min-height: clamp(360px, 44vw, 430px);
  display: flex; flex-direction: column;
}
.karte-gross + .karte-gross { margin-top: clamp(40px, 6vw, 80px); }
.karte-gross__titel {
  font-size: clamp(42px, 6.4vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
}
.thema-nacht .karte-gross__titel { color: #dccdd5; }
.karte-gross__fuss {
  margin-top: auto;
  padding-top: clamp(40px, 7vw, 96px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 32px;
  flex-wrap: wrap;
}
.werte {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 44px;
  margin: 0;
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.4;
}
.werte dt { font-weight: 600; }
.werte dd { margin: 0; color: var(--text-leise); font-variant-numeric: tabular-nums; }

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

.raster-funktionen {
  max-width: var(--breite-weit);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.funktion { padding: 28px 26px 30px; min-height: 230px; display: flex; flex-direction: column; }
.funktion svg { width: 34px; height: 34px; color: var(--turquoise); margin-bottom: auto; }
.funktion h3 { margin-top: 36px; font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: 0.011em; }
.funktion p { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--text-leise); }

@media (max-width: 1068px) { .raster-funktionen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .raster-funktionen { grid-template-columns: 1fr; gap: 12px; }
  .funktion { min-height: 0; flex-direction: row; align-items: flex-start; gap: 18px; padding: 22px; }
  .funktion svg { margin: 2px 0 0; flex: none; }
  .funktion h3 { margin-top: 0; font-size: 19px; }
}

/* ---------- Ablauf in 3D (Karten fächern sich beim Scrollen auf) ---------- */

.ablauf { padding-top: 0; padding-bottom: 0; }
.ablauf__strecke { height: 240vh; position: relative; }
.ablauf__buehne {
  position: sticky; top: var(--kopf-hoehe);
  height: calc(100vh - var(--kopf-hoehe));
  height: calc(100svh - var(--kopf-hoehe));
  display: grid; grid-template-rows: auto 1fr; justify-items: center; align-items: center;
  padding-top: clamp(48px, 9vh, 96px);
  perspective: 1500px;
  overflow: hidden;
  --p: 0;
}
.ablauf__buehne .abschnitt__kopf { margin-bottom: 0; }
.ablauf__karten { position: relative; width: 260px; height: 300px; transform-style: preserve-3d; }
.schritt {
  --i: 0;
  position: absolute; inset: 0;
  padding: 24px 22px;
  display: flex; flex-direction: column;
  border-radius: var(--r-karte);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: inset 0 1px 0 #fff, 0 40px 60px -30px rgba(50, 41, 47, 0.45);
  transform:
    translate3d(
      calc((var(--i) - 1.5) * var(--abstand-x, 286px) * var(--p)),
      calc((var(--i) - 1.5) * var(--abstand-y, 0px) * var(--p) + (3 - var(--i)) * -22px * (1 - var(--p))),
      calc((3 - var(--i)) * 46px * (1 - var(--p))))
    rotateX(calc(56deg * (1 - var(--p))))
    rotateZ(calc(-34deg * (1 - var(--p))));
  will-change: transform;
}
.schritt:nth-child(1) { --i: 0; }
.schritt:nth-child(2) { --i: 1; }
.schritt:nth-child(3) { --i: 2; }
.schritt:nth-child(4) { --i: 3; background: rgba(50, 41, 47, 0.92); color: #f5f5f7; border-color: rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 40px 60px -30px rgba(50, 41, 47, 0.6); }
.schritt__nr { font-size: 12px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--grau); }
.schritt:nth-child(4) .schritt__nr { color: rgba(245,245,247,.6); }
.schritt h3 { margin-top: 10px; font-size: 24px; line-height: 1.17; font-weight: 600; letter-spacing: 0.009em; }
.schritt dl { margin: auto 0 0; display: grid; gap: 6px; font-size: 14px; }
.schritt dl div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(0,0,0,.07); padding-top: 6px; }
.schritt:nth-child(4) dl div { border-color: rgba(255,255,255,.1); }
.schritt dt { color: var(--grau); }
.schritt:nth-child(4) dt { color: rgba(245,245,247,.6); }
.schritt dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.marke-status {
  align-self: flex-start; margin-top: 14px;
  padding: 3px 10px; border-radius: var(--r-pille);
  font-size: 12px; font-weight: 600;
  background: rgba(50, 41, 47, 0.08); color: var(--mulberry);
}
.marke-status--gut { background: var(--turquoise); color: var(--mulberry); }

.ablauf__band {
  position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%);
  width: min(560px, 80vw); height: 4px; border-radius: 2px;
  background: rgba(50, 41, 47, 0.1); overflow: hidden;
}
.ablauf__band span { display: block; height: 100%; width: 100%; background: var(--mulberry); transform-origin: left; transform: scaleX(var(--p)); }

@media (max-width: 1180px) and (min-width: 834px) { .schritt { --abstand-x: 232px; } .ablauf__karten { width: 216px; } }
@media (max-width: 833px) {
  .ablauf__strecke { height: 200vh; }
  .ablauf__buehne { padding-top: 28px; }
  .ablauf__buehne .ueberschrift { font-size: 30px; }
  .ablauf__karten { width: min(300px, 80vw); height: 112px; }
  .schritt { --abstand-x: 0px; --abstand-y: 122px; padding: 14px 16px; }
  .schritt h3 { font-size: 19px; margin-top: 2px; }
  .schritt dl { font-size: 13px; gap: 3px; }
  .schritt dl div:nth-child(n+2) { display: none; }
  .marke-status, .ablauf__band { display: none; }
}

/* ---------- Programm-Band (wie Apples dunkles Band mit Symbol) ---------- */

.band {
  text-align: center;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(122, 34, 66, 0.55), transparent 70%),
    radial-gradient(700px 400px at 85% 100%, rgba(153, 225, 217, 0.18), transparent 70%),
    linear-gradient(180deg, #2a1f26, var(--mulberry-tief));
}
.band__zeichen { width: 64px; height: 64px; margin: 0 auto 22px; color: #f5f5f7; }
.band h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.125; font-weight: 600; letter-spacing: 0.004em; }
.band .einleitung { margin: 14px auto 0; }
.chips {
  max-width: 900px; margin: 40px auto 0; padding: 0;
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.chips li {
  padding: 9px 16px; border-radius: var(--r-pille);
  font-size: 14px; letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ---------- Preis ---------- */

.preis__zahl {
  font-family: var(--schrift-gross);
  font-size: clamp(64px, 10vw, 112px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.preis__zahl small { font-size: 0.24em; font-weight: 600; letter-spacing: -0.01em; color: var(--text-leise); margin-left: 6px; }
.preis__zeile { margin-top: 8px; color: var(--text-leise); font-size: 15px; }

.stepper {
  display: inline-flex; align-items: center;
  border-radius: var(--r-pille);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.stepper button {
  width: 46px; height: 44px; border: 0; background: none; cursor: pointer;
  font-size: 22px; line-height: 1; color: var(--mulberry); border-radius: var(--r-pille);
}
.stepper button:hover { background: rgba(255, 255, 255, 0.5); }
.stepper input, .stepper output {
  width: 54px; text-align: center; border: 0; background: none;
  font: 600 19px/1 var(--schrift); color: var(--mulberry);
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-zeile { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.stepper-zeile label { font-weight: 600; }

/* ---------- Downloads ---------- */

.raster-downloads {
  max-width: var(--breite-weit);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.geraet { padding: 30px 26px 26px; display: flex; flex-direction: column; min-height: 300px; }
.geraet svg { width: 52px; height: 52px; color: var(--turquoise); }
.geraet h3 { margin-top: 30px; font-size: 24px; font-weight: 600; letter-spacing: 0.009em; }
.geraet__meta { margin-top: 6px; font-size: 14px; color: var(--text-leise); min-height: 2.6em; }
.geraet .knopf { margin-top: auto; }
.geraet__hinweis { margin-top: 10px; font-size: 12px; color: var(--text-leise); text-align: center; }

@media (max-width: 1068px) { .raster-downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .raster-downloads { grid-template-columns: 1fr; gap: 12px; } .geraet { min-height: 0; } .geraet h3 { margin-top: 18px; } .geraet .knopf { margin-top: 20px; } }

/* ---------- Fragen ---------- */

.fragen { max-width: var(--breite); margin: 0 auto; border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0;
  font-family: var(--schrift-gross);
  font-size: clamp(19px, 2vw, 24px); line-height: 1.17; font-weight: 600; letter-spacing: 0.009em;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform 0.35s var(--apple-kurve);
}
.frage[open] summary::after { transform: rotate(135deg); }
.frage p { padding: 0 48px 26px 0; font-size: 17px; color: var(--grau-dunkel); max-width: 760px; }

/* ---------- Schluss ---------- */

.schluss { text-align: center; }
.schluss .knoepfe { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Fußzeile (Apple: 12 px, #f5f5f7) ---------- */

.fuss {
  background: var(--papier);
  color: var(--grau-dunkel);
  font-size: 12px; line-height: 1.33337; letter-spacing: -0.01em;
  color-scheme: light;
}
.fuss__innen { max-width: 1024px; margin: 0 auto; padding: 22px var(--rand) 24px; }
.fuss__hinweis { padding: 14px 0 16px; border-bottom: 1px solid var(--linie); color: var(--grau); }
.fuss__spalten {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  padding: 22px 0 26px;
}
.fuss__spalten h3 { font-family: var(--schrift); font-size: 12px; font-weight: 600; color: var(--tinte); margin-bottom: 10px; }
.fuss__spalten ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss__spalten a:hover { text-decoration: underline; color: var(--tinte); }
.fuss__marke img { width: 76px; }
.fuss__unten {
  border-top: 1px solid var(--linie);
  padding-top: 16px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  color: var(--grau);
}
.fuss__unten nav { display: flex; gap: 0; }
.fuss__unten nav a { padding: 0 10px; border-left: 1px solid var(--linie); color: var(--grau-dunkel); }
.fuss__unten nav a:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 733px) { .fuss__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Unterseiten: Kaufen, Danke, Recht ---------- */

.seite {
  min-height: 100vh;
  padding: calc(var(--kopf-hoehe) + clamp(40px, 6vw, 80px)) var(--rand) clamp(60px, 8vw, 100px);
}
.kauf {
  max-width: var(--breite-weit); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
  gap: 28px; align-items: start;
}
.kauf__formular, .kauf__summe { padding: clamp(26px, 4vw, 48px); }
.kauf__summe { position: sticky; top: calc(var(--kopf-hoehe) + 24px); }
.kauf h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
.kauf__einleitung { margin-top: 12px; color: var(--text-leise); }
.kauf h2 { font-size: 24px; font-weight: 600; }
@media (max-width: 899px) { .kauf { grid-template-columns: 1fr; } .kauf__summe { position: static; order: -1; } }

.feld { margin-top: 18px; display: grid; gap: 6px; }
.feld label { font-size: 14px; font-weight: 600; }
.feld .optional { font-weight: 400; color: var(--text-leise); }
.feld input, .feld textarea {
  width: 100%; min-height: 50px;
  padding: 13px 16px;
  font: 17px/1.3 var(--schrift); letter-spacing: -0.022em;
  color: var(--mulberry);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(50, 41, 47, 0.42);
  border-radius: var(--r-klein);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input::placeholder, .feld textarea::placeholder { color: rgba(50, 41, 47, 0.62); }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--mulberry); box-shadow: 0 0 0 4px rgba(50, 41, 47, 0.16); }
.feld input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12); }
.feld--zwei { grid-template-columns: 1fr 1fr; gap: 16px; }
.feld--plz { grid-template-columns: 120px 1fr; gap: 16px; }
.feld--zwei > div, .feld--plz > div { display: grid; gap: 6px; }
@media (max-width: 560px) { .feld--zwei { grid-template-columns: 1fr; } }
.feld--haken { grid-template-columns: 24px 1fr; align-items: start; gap: 12px; margin-top: 24px; }
.feld--haken input { width: 24px; height: 24px; min-height: 0; margin: 0; accent-color: var(--mulberry); }
.feld--haken label { font-weight: 400; font-size: 15px; }
.feld--haken a { text-decoration: underline; }
.feld--falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular-fehler {
  display: none; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-klein);
  background: rgba(179, 38, 30, 0.1); border: 1px solid rgba(179, 38, 30, 0.35); color: #7a1912; font-size: 15px;
}
.formular-fehler.ist-sichtbar { display: block; }
.kauf__senden { margin-top: 28px; }
.kauf__hinweis { margin-top: 12px; font-size: 13px; color: var(--text-leise); text-align: center; }

.posten { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(50, 41, 47, 0.14); font-variant-numeric: tabular-nums; }
.thema-nacht .posten { border-bottom-color: rgba(255, 255, 255, 0.12); }
.posten--summe { border-bottom: 0; padding-top: 18px; font-size: 21px; font-weight: 600; }
.posten--summe strong { font-size: 34px; letter-spacing: -0.02em; }
.kauf__klein { margin-top: 10px; font-size: 13px; color: var(--text-leise); }

.rechtstext { max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); }
.rechtstext h1 { font-size: clamp(34px, 4.6vw, 48px); font-weight: 700; letter-spacing: -0.02em; }
.rechtstext h2 { margin-top: 32px; font-size: 21px; font-weight: 600; }
.rechtstext p { margin-top: 10px; color: var(--text-leise); }
.rechtstext a { text-decoration: underline; }
.platzhalter { background: #fff2a8; color: #5c4400; padding: 0 4px; border-radius: 4px; }
.box-offen { margin-top: 20px; padding: 14px 16px; border-radius: var(--r-klein); background: #fff8d6; color: #5c4400; border: 1px solid #f0d76a; font-size: 15px; }

.danke { max-width: 720px; margin: 0 auto; text-align: center; padding: clamp(32px, 6vw, 64px); }
.danke svg { width: 64px; height: 64px; margin: 0 auto 18px; color: var(--mulberry); }
.danke h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.025em; }
.danke ol { text-align: left; margin: 28px auto 0; max-width: 460px; padding-left: 22px; display: grid; gap: 10px; color: var(--text-leise); }
.danke .knoepfe { margin-top: 30px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .js .einblenden { opacity: 1; transform: none; }
  .fenster { transform: none; opacity: 1; }
  .ablauf__strecke { height: auto; }
  .ablauf__buehne { position: relative; height: auto; padding: 80px 0 100px; gap: 48px; --p: 1 !important; }
  .galerie__spur { scroll-behavior: auto; }
}
