/* Vorab-Check, öffentliche Seite. Designsystem „Arbeitskarte“, von Hand geschrieben. */

:root {
  /* Farbwelt A: Weiß, Tinte, Signalorange. Der Name --gelb bleibt als Akzent-Variable, damit nichts bricht. */
  --papier: #ffffff;
  --blatt: #f5f5f3;
  --tinte: #0e0f11;
  --grau: #5b5f66;
  --linie: #e4e4e0;
  --gelb: #ff5b14;
  --gruen: #17663e;
  --blau: #1f4bd8;

  --linie-stark: #c8c8c2;
  --tinte-2: #24272c;
  --tinte-linie: #34373d;
  --tinte-grau: #a4a8ae;
  --gelb-hell: #ffe9de;
  --gruen-hell: #e2eee5;

  --schrift: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --rand: clamp(16px, 4.4vw, 48px);
  --breite: 1240px;
  --abschnitt: clamp(72px, 10vw, 136px);
  --r: 6px;
  --r-klein: 4px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}

h1 { font-size: clamp(2.45rem, 1.25rem + 4.9vw, 5rem); line-height: 1; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); line-height: 1.04; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.2; letter-spacing: -0.012em; }

p { margin: 0; text-wrap: pretty; }
b, strong { font-weight: 800; }

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

:focus-visible {
  outline: 3px solid var(--gelb);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--tinte);
  border-radius: 2px;
}

::selection { background: var(--gelb); color: var(--tinte); }

.rahmen { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

.springen {
  position: absolute; left: 16px; top: -100px; z-index: 50;
  background: var(--gelb); color: var(--tinte); font-weight: 800;
  padding: 12px 16px; border-radius: var(--r); text-decoration: none;
}
.springen:focus { top: 16px; }

/* ---------- Etiketten, Stempel, Knöpfe ---------- */

.etikett {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--grau);
}
.etikett-tinte { color: var(--tinte); }

.zahl { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }

.stempel {
  display: inline-grid;
  place-items: center;
  width: 2.25em;
  height: 2.25em;
  border: 2px solid currentColor;
  border-radius: var(--r-klein);
  font-family: var(--mono);
  font-weight: 700;
  line-height: 1;
  flex: none;
}
.stempel-a { color: var(--gruen); }
.stempel-b { color: var(--blau); }
.stempel-c { color: var(--grau); }

.knopf {
  --schatten: var(--tinte);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: .8em 1.35em;
  border: 2px solid var(--tinte);
  border-radius: var(--r);
  font: inherit;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  color: var(--tinte);
  background: transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease;
}
.knopf svg { width: 1.1em; height: 1.1em; }
.knopf-gelb { background: var(--gelb); box-shadow: 0 4px 0 var(--schatten); }
.knopf-gelb:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--schatten); }
.knopf-gelb:active { transform: translateY(4px); box-shadow: 0 0 0 var(--schatten); }
.knopf-gelb:focus-visible { box-shadow: 0 4px 0 var(--schatten), 0 0 0 2px var(--tinte); }
.knopf-linie:hover { background: var(--blatt); }
.knopf-gross { min-height: 60px; font-size: 1.125rem; padding-inline: 1.6em; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.knopf-text { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; color: var(--tinte); font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--linie-stark); }
.knopf-text:hover { text-decoration-color: var(--tinte); }
.knopf-text svg { width: 1.05em; height: 1.05em; }

.auf-tinte .knopf { border-color: var(--blatt); color: var(--blatt); }
.auf-tinte .knopf-gelb { border-color: var(--tinte); color: var(--tinte); --schatten: #000; }

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

.kopf {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 0;
}
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  border-bottom: 1px solid var(--linie);
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tinte);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
  margin-right: auto;
  white-space: nowrap;
}
.marke-zeichen { width: 34px; height: 34px; color: var(--tinte); }
.marke span { font-size: 1.3rem; letter-spacing: -0.045em; }
.kopf-nav { display: flex; gap: 4px; }
.kopf-nav a, .sprache a {
  color: var(--tinte);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: var(--r-klein);
  font-weight: 600;
}
.kopf-nav a:hover, .sprache a:hover { background: var(--blatt); }
.sprache { display: flex; align-items: center; font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; }
.sprache a { color: var(--grau); padding: 8px 6px; }
.sprache a[aria-current="page"] { color: var(--tinte); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.kopf .knopf { min-height: 44px; padding: .5em 1em; font-size: 1rem; }

@media (max-width: 960px) {
  .kopf-nav { display: none; }
}
@media (max-width: 420px) {
  .kopf-innen { gap: 10px; min-height: 68px; }
  .marke { font-size: 1.05rem; gap: 8px; }
  .kopf .knopf { padding-inline: .85em; }
}

/* ---------- Fotos mit Etikett ---------- */

.einleitung { font-size: clamp(1.125rem, 1.02rem + .35vw, 1.28rem); line-height: 1.52; color: var(--tinte-2); }
.szene { position: relative; margin: 0; }
.szene img { width: 100%; border-radius: var(--r); background: #d9d9d4; }
.bild-etikett {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--tinte);
  background: rgba(255, 255, 255, .88);
  padding: 4px 7px;
  border-radius: var(--r-klein);
}

/* ---------- Titelbild (Quilt-Prinzip: ein Foto, ein Satz) ---------- */

.titelbild {
  position: relative;
  min-height: clamp(560px, calc(100svh - 82px), 940px);
  display: flex;
  align-items: flex-end;
  color: var(--blatt);
  background: var(--tinte);
  overflow: hidden;
}
.titelbild-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.titelbild::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 16, 19, .72) 0%, rgba(14, 16, 19, .5) 34%, rgba(14, 16, 19, 0) 62%),
    linear-gradient(0deg, rgba(14, 16, 19, .55) 0%, rgba(14, 16, 19, 0) 45%);
}
.titelbild .bild-etikett { z-index: 2; left: auto; right: var(--rand); top: 18px; }
.titelbild-inhalt {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  justify-items: start;
  padding-block: 0 clamp(48px, 8vh, 96px);
}
.titelbild .etikett { color: rgba(255, 253, 248, .78); }
.titelbild h1 {
  font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6.2rem);
  line-height: .95;
  letter-spacing: -0.04em;
  max-width: 11.5ch;
  text-wrap: balance;
}
.titelbild .einleitung { color: rgba(255, 253, 248, .9); max-width: 34ch; font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); }
.titelbild .knopf-reihe { margin-top: 8px; }
.knopf-hell { border-color: rgba(255, 253, 248, .85); color: var(--blatt); }
.knopf-hell:hover { background: rgba(255, 253, 248, .12); }
.titelbild .knopf-gelb { --schatten: #000; }

@media (max-width: 700px) {
  .titelbild { min-height: calc(100svh - 74px); }
  .titelbild-foto { object-position: 78% 50%; }
  .titelbild::before {
    background:
      linear-gradient(0deg, rgba(14, 16, 19, .86) 0%, rgba(14, 16, 19, .62) 46%, rgba(14, 16, 19, .05) 78%);
  }
  .titelbild .knopf { width: 100%; }
}

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

.abschnitt { padding-block: var(--abschnitt); }
.abschnitt-kopf { display: grid; gap: 20px; max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.abschnitt-kopf p:not(.etikett) { font-size: 1.15rem; color: var(--tinte-2); max-width: 56ch; }
.linie-oben { border-top: 1px solid var(--linie); }

.auf-tinte { background: var(--tinte); color: var(--blatt); }
.auf-tinte .etikett { color: var(--tinte-grau); }
.auf-tinte .abschnitt-kopf p:not(.etikett) { color: #d9dbde; }
.auf-tinte a { color: #9cc3ef; }

.auf-blatt { background: var(--blatt); border-block: 1px solid var(--linie); }

/* ---------- WhatsApp-Nachbau ---------- */

.wa {
  --wa-hg: #efeae2;
  --wa-aus: #d9fdd3;
  --wa-ein: #ffffff;
  --wa-text: #111b21;
  --wa-grau: #667781;
  --wa-knopf: #027eb5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.36;
  color: var(--wa-text);
  letter-spacing: 0;
}
.wa-fenster {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--wa-hg);
  background-image: radial-gradient(rgba(84, 101, 111, .09) 1px, transparent 1.3px);
  background-size: 16px 16px;
  border: 1px solid var(--linie-stark);
  box-shadow: 0 1px 0 rgba(22, 25, 29, .04), 0 24px 48px -28px rgba(22, 25, 29, .35);
}
.wa-kopf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f7f5f2;
  border-bottom: 1px solid #e2ded6;
  flex: none;
}
.wa-bild {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dfe5e7;
  color: #3b4a54;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.wa-bild-betrieb { background: var(--tinte); color: var(--gelb); }
.wa-name { font-weight: 600; font-size: 15.5px; line-height: 1.2; }
.wa-status { font-size: 12.5px; color: var(--wa-grau); line-height: 1.25; }

.wa-verlauf {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 12px 16px;
}
.wa-datum {
  align-self: center;
  margin: 2px 0 10px;
  background: #fff;
  color: #54656f;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 7px;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
}
.wa-gruppe { display: flex; flex-direction: column; gap: 2px; max-width: 86%; }
.wa-gruppe + .wa-gruppe { margin-top: 8px; }
.wa-ein { align-self: flex-start; }
.wa-aus { align-self: flex-end; }

.wa-blase {
  position: relative;
  padding: 6px 9px 8px;
  border-radius: 7.5px;
  background: var(--wa-ein);
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  overflow-wrap: anywhere;
}
.wa-aus .wa-blase { background: var(--wa-aus); }
.wa-ein > .wa-blase:first-child { border-top-left-radius: 0; }
.wa-aus > .wa-blase:first-child { border-top-right-radius: 0; }
.wa-ein > .wa-blase:first-child::before,
.wa-aus > .wa-blase:first-child::before {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 13px;
  background: inherit;
}
.wa-ein > .wa-blase:first-child::before { left: -7px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa-aus > .wa-blase:first-child::before { right: -7px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-blase p + p { margin-top: .7em; }
.wa-zeit {
  float: right;
  position: relative;
  bottom: -5px;
  margin-left: 10px;
  font-size: 11px;
  line-height: 15px;
  color: var(--wa-grau);
  display: inline-flex;
  gap: 3px;
  align-items: center;
  white-space: nowrap;
}
.wa-zeit svg { width: 16px; height: 11px; color: #53bdeb; }
.wa-knoepfe { display: grid; gap: 2px; }
.wa-knoepfe span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  background: var(--wa-ein);
  border-radius: 7.5px;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  color: var(--wa-knopf);
  font-weight: 500;
  text-align: center;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.wa-knoepfe span::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h10.5a5.5 5.5 0 0 1 0 11H11'/%3E%3C/svg%3E") center / contain no-repeat;
  flex: none;
}
.wa-knoepfe span.gedrueckt { background: var(--gelb); color: var(--tinte); box-shadow: 0 0 0 2px var(--tinte); }
.wa-mehr { color: var(--wa-knopf); font-weight: 500; }
.wa-fett { font-weight: 700; }

.wa-album {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 3px;
  border-radius: 7.5px;
  background: var(--wa-aus);
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  width: 232px;
  max-width: 100%;
}
.wa-album figure { margin: 0; position: relative; }
.wa-album img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.wa-album .mehr-fotos {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(17, 27, 33, .5);
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  border-radius: 5px;
}
.wa-album .wa-zeit { color: #fff; position: absolute; right: 8px; bottom: 6px; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.wa-album .wa-zeit svg { color: #fff; }

/* Unsere Anmerkungen im Chat: deutlich keine WhatsApp-Elemente */
.notiz {
  align-self: center;
  margin: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--gelb);
  color: var(--tinte);
  border: 1.5px solid var(--tinte);
  padding: 5px 10px;
  border-radius: var(--r-klein);
}
.notiz-still { background: var(--blatt); border-style: dashed; border-color: var(--linie-stark); color: var(--grau); }
.notiz svg { width: 14px; height: 14px; }


/* ---------- Vorführung ---------- */

.vorfuehrung { display: grid; gap: 28px; }
.vf-steuerung {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 2px solid var(--tinte);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--blatt);
  counter-reset: schritt;
}
.vf-schritt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 16px 16px;
  font: inherit;
  text-align: left;
  color: var(--tinte);
  background: transparent;
  border: 0;
  border-left: 1px solid var(--linie);
  cursor: pointer;
  min-height: 64px;
}
.vf-schritt:first-child { border-left: 0; }
.vf-schritt .nr { font-family: var(--mono); font-size: .75rem; font-weight: 700; letter-spacing: .06em; color: var(--grau); }
.vf-schritt .titel { font-weight: 800; line-height: 1.2; }
.vf-schritt .kurz { display: none; }
.vf-schritt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--gelb);
  transform: scaleX(0);
  transform-origin: left;
}
.vf-schritt.erledigt::after { transform: scaleX(1); }
.vf-schritt[aria-current="step"] { background: var(--gelb-hell); }
.vf-schritt[aria-current="step"] .nr { color: var(--tinte); }
.vf-schritt[aria-current="step"]::after { transform: scaleX(var(--fortschritt, 0)); transition: transform .25s linear; }
.vf-schritt:hover { background: var(--papier); }
.vf-schritt[aria-current="step"]:hover { background: var(--gelb-hell); }
.vf-schritt:focus-visible { outline-offset: -5px; box-shadow: inset 0 0 0 2px var(--tinte); }

.vf-buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.vf-seite { display: grid; gap: 12px; }
.vf-seite-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vf-seite-kopf .etikett-tinte { font-weight: 700; }
.vf-reiter { display: none; }

.bereit .vf-buehne .wa-verlauf {
  height: clamp(460px, 62vh, 600px);
  justify-content: flex-end;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 64px);
}
.vf-leer { align-self: center; margin-block: auto; }
.erscheint { animation: erscheinen .38s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes erscheinen {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.tippt { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border-radius: 7.5px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.tippt i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: punkt 1s infinite ease-in-out; }
.tippt i:nth-child(2) { animation-delay: .15s; }
.tippt i:nth-child(3) { animation-delay: .3s; }
@keyframes punkt { 0%, 80%, 100% { opacity: .35; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.vf-unten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 32px;
  align-items: start;
  padding-top: 22px;
  border-top: 1px solid var(--linie);
}
.vf-text { display: grid; gap: 8px; max-width: 70ch; min-height: 5.5em; }
.vf-text h3 { font-size: 1.3rem; }
.vf-text p { color: var(--tinte-2); }
.vf-text .bei-ihnen { display: flex; gap: 10px; align-items: baseline; }
.vf-text .bei-ihnen .etikett { flex: none; color: var(--tinte); }
.vf-knoepfe { display: flex; gap: 10px; }
.vf-knoepfe .knopf { min-height: 46px; padding: .55em 1em; font-size: .98rem; }
.vf-knoepfe .knopf[hidden] { display: none; }
.vf-hinweis { font-size: .9rem; color: var(--grau); }

@media (min-width: 1100px) {
  .vorfuehrung {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    grid-template-areas: "steuerung buehne" "unten buehne" "hinweis hinweis";
    column-gap: clamp(32px, 3.4vw, 48px);
    row-gap: 0;
    align-items: start;
  }
  .vf-steuerung { grid-area: steuerung; grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
  .vf-schritt { flex-direction: row; align-items: baseline; gap: 14px; min-height: 54px; padding: 15px 18px; border-left: 0; border-top: 1px solid var(--linie); }
  .vf-schritt:first-child { border-top: 0; }
  .vf-schritt .titel { font-size: 1.05rem; }
  .vf-buehne { grid-area: buehne; }
  .vf-unten { grid-area: unten; grid-template-columns: minmax(0, 1fr); border-top: 0; padding-top: 28px; gap: 22px; }
  .vf-text h3 { font-size: 1.4rem; }
  .vf-hinweis { grid-area: hinweis; margin-top: 28px; }
}

@media (max-width: 900px) {
  .vf-steuerung { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .vf-schritt { padding: 10px 6px 12px; align-items: center; text-align: center; min-height: 58px; }
  .vf-schritt .titel { font-size: .78rem; font-weight: 700; }
  .bereit .vf-buehne { grid-template-columns: minmax(0, 1fr); }
  .bereit .vf-seite[data-verdeckt] { display: none; }
  .bereit .vf-seite-kopf { display: none; }
  .bereit .vf-reiter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 2px solid var(--tinte);
    border-radius: var(--r);
    overflow: hidden;
  }
  .vf-reiter button {
    position: relative;
    font: inherit;
    font-family: var(--mono);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 12px 8px;
    min-height: 48px;
    background: var(--blatt);
    color: var(--grau);
    border: 0;
    cursor: pointer;
  }
  .vf-reiter button + button { border-left: 2px solid var(--tinte); }
  .vf-reiter button[aria-selected="true"] { background: var(--tinte); color: var(--blatt); }
  .vf-reiter .neu::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gelb);
    box-shadow: 0 0 0 2px var(--tinte);
  }
  .bereit .vf-buehne .wa-verlauf { height: 470px; }
  .vf-unten { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .vf-schritt .lang:not(:only-child) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .vf-schritt .kurz { display: inline; }
}
@media (max-width: 420px) {
  .vf-schritt .titel { font-size: .7rem; letter-spacing: -0.01em; }
  .wa { font-size: 14.5px; }
  .wa-gruppe { max-width: 90%; }
}

/* ---------- Fotos innen und außen ---------- */

.fotos-band { display: flex; gap: clamp(16px, 2.4vw, 28px); align-items: flex-start; }
.fotos-band .szene:nth-child(1) { flex: .8 1 0; }
.fotos-band .szene:nth-child(2) { flex: 1.488 1 0; }
.fotos-band figcaption { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; color: var(--tinte-2); }
@media (max-width: 600px) {
  .fotos-band { flex-direction: column; }
  .fotos-band .szene { flex: none; width: 100%; }
}

/* ---------- Freigabe ---------- */

.tasten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.taste { display: grid; gap: 18px; align-content: start; }
.taste-kappe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 92px;
  padding: 18px;
  border-radius: var(--r);
  background: var(--blatt);
  color: var(--tinte);
  border: 2px solid var(--blatt);
  box-shadow: 0 6px 0 #b9b2a3;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.taste-kappe svg { width: 26px; height: 26px; }
.taste-frei .taste-kappe { background: var(--gelb); border-color: var(--gelb); box-shadow: 0 6px 0 #9c3205; }
.taste p { color: #d9dbde; }
.taste p b { color: var(--blatt); }
.taste .beispiel { font-family: var(--mono); font-size: .88rem; color: var(--blatt); background: var(--tinte-2); border-left: 3px solid var(--gelb); padding: 10px 12px; border-radius: 0 var(--r-klein) var(--r-klein) 0; }

@media (max-width: 900px) {
  .tasten { grid-template-columns: minmax(0, 1fr); }
  .taste { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 560px) {
  .taste { grid-template-columns: minmax(0, 1fr); }
  .taste-kappe { min-height: 76px; }
}

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

.schluss {
  margin-top: clamp(56px, 8vw, 104px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--tinte-linie);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
}
.schluss h3 { font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.02; letter-spacing: -0.03em; }
.schluss p { margin-top: 14px; color: #d4d6d9; max-width: 52ch; font-size: 1.1rem; }
@media (max-width: 760px) {
  .schluss { grid-template-columns: minmax(0, 1fr); }
  .schluss .knopf { width: 100%; }
}

/* ---------- Meinung und Fuß ---------- */

.fuss { padding-block: 0 56px; border-top: 1px solid var(--linie); margin-top: var(--abschnitt); color: var(--grau); font-size: .95rem; overflow: hidden; }
.fuss-wort {
  font-weight: 800;
  font-size: min(12.2vw, 11rem);
  display: flex;
  align-items: center;
  gap: .12em;
  line-height: .78;
  letter-spacing: -0.055em;
  color: var(--tinte);
  margin: clamp(28px, 4vw, 56px) 0 clamp(28px, 4vw, 48px) -0.04em;
  white-space: nowrap;
}
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fuss a { color: var(--tinte); }
.fuss-zeichen { width: .82em; height: .82em; flex: none; transform: translateY(.04em); }
.fuss .klein { max-width: 62ch; font-size: .9rem; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: minmax(0, 1fr); } }

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

.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
/* Falls das Skript nicht lädt, wird nach kurzer Zeit trotzdem alles sichtbar. */
.js:not(.bereit) .einblenden { animation: notfall-zeigen 0s 2.5s forwards; }
@keyframes notfall-zeigen { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .einblenden { opacity: 1; transform: none; }
  }

@media print {
  .kopf .knopf, .vf-steuerung, .vf-knoepfe, .vf-reiter { display: none; }
  body { border-top: 0; }
}

/* ---------- Handys in der Vorführung ---------- */

.vf-buehne .wa-fenster {
  border: 10px solid var(--tinte);
  border-radius: 38px;
  box-shadow: 0 40px 80px -36px rgba(14, 15, 17, .45), 0 0 0 1px rgba(14, 15, 17, .9);
  max-width: 390px;
  width: 100%;
  margin-inline: auto;
}
.vf-buehne .wa-kopf { padding-top: 16px; border-radius: 0; }
.vf-seite { display: flex; flex-direction: column-reverse; gap: 16px; }
.vf-unterschrift { text-align: center; }
.bereit .vf-buehne .wa-verlauf { height: clamp(440px, 58vh, 540px); }

@media (max-width: 480px) {
  .sprache { display: none; }
  .marke span { font-size: 1.12rem; }
  .marke-zeichen { width: 30px; height: 30px; }
  .vf-buehne .wa-fenster { border-width: 8px; border-radius: 32px; }
}
