/* vernunft.taxi · Buch-Linie: Weiß, Tinte, ein rotes Wort, Taxi-Gelb nur fürs Taxi */

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --papier: #FFFFFF;
  --hell: #F2F3F4;
  --grau: #E1E4E8;
  --tinte: #23201B;
  --tinte-weich: #5E5A53;
  --rot: #DC020C;
  --rot-dunkel: #B10009;
  --taxi: #FFD200;
  --tuerkis: #00B0AD;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --schreibmaschine: "Courier Prime", "Courier New", Courier, monospace;
  --breite: 1200px;
  --rand: clamp(1.25rem, 4vw, 3rem);
  --runde: 18px;
  --schatten: 0 24px 60px -20px rgba(35, 32, 27, .35), 0 8px 18px -8px rgba(35, 32, 27, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: clamp(1.05rem, 0.4vw + 0.95rem, 1.175rem);
  line-height: 1.6;
  font-stretch: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }
.unsichtbar { position: absolute; width: 0; height: 0; overflow: hidden; }
.leise { color: var(--tinte-weich); font-size: .85em; }
.rot { color: var(--rot); font-style: normal; }

:focus-visible { outline: 3px solid var(--taxi); outline-offset: 3px; border-radius: 6px; }

.sprung {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--tinte); color: var(--papier); padding: .6rem 1rem; border-radius: 8px;
}
.sprung:focus { top: 1rem; }

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

.titel, .gross, .halt-ort, .karte h3, .buchseite-titel, .zahlen dt {
  font-family: var(--sans);
  font-stretch: 75%;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: .92;
}
.gross { font-size: clamp(2.3rem, 5.2vw, 4.6rem); margin-bottom: .45em; }
.dachzeile {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tinte-weich); margin-bottom: 1.1rem;
}
.dachzeile::before {
  content: ""; display: inline-block; width: 1.8em; height: 3px; background: var(--rot);
  vertical-align: middle; margin-right: .7em; border-radius: 2px;
}
.vorspann { font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem); max-width: 38em; }
.quelle { font-size: .9rem; color: var(--tinte-weich); }
.zitat, .zitat-gross, blockquote, .halt-zitat { font-family: var(--serif); font-style: italic; }
blockquote { margin: 0; }
.zitat-gross { font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.25; margin-bottom: .5em; }

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

.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.45em; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--sans); font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(35, 32, 27, .45); }
.knopf:active { transform: translateY(0); }
.knopf-rot { background: var(--rot); color: #fff; }
.knopf-rot:hover { background: var(--rot-dunkel); }
.knopf-tinte { background: var(--tinte); color: #fff; }
.knopf-rand { border-color: var(--tinte); background: transparent; color: var(--tinte); }
.knopf-rand:hover { background: var(--tinte); color: #fff; }
.knopf-weiss { background: #fff; color: var(--tinte); }
.knopf-klein { padding: .55em 1.1em; font-size: .92rem; }
.knopf-gross { padding: 1em 2em; font-size: 1.15rem; }
.knopf[disabled] { opacity: .55; cursor: wait; transform: none; box-shadow: none; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

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

.kopf {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem var(--rand);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--grau);
}
.marke { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.marke b { color: var(--rot); font-weight: 700; }
.marke-schild { width: 44px; height: 20px; }
.navi { display: flex; gap: 1.6rem; margin-left: auto; }
.navi a { text-decoration: none; font-size: .95rem; font-weight: 500; position: relative; }
.navi a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--rot);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.navi a:hover::after { transform: scaleX(1); }
.kopf .knopf { margin-left: 0; }
@media (max-width: 900px) {
  .navi { display: none; }
  .kopf .knopf { margin-left: auto; }
}

/* ---------------------------------------------------------------- Held */

.held {
  max-width: var(--breite); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--rand) 0;
  display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.titel { font-size: clamp(3rem, 7vw, 6.5rem); margin-bottom: .2em; }
.titel-zeile { display: block; }
.stern { color: var(--rot); font-family: var(--serif); font-weight: 400; }
.titel .stern { font-size: .55em; vertical-align: top; position: relative; top: .1em; margin-left: .04em; }
.untertitel {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.3vw, 2.9rem); line-height: 1.1; color: var(--tinte-weich);
  margin-bottom: 1.4rem; transform: rotate(-1.5deg); transform-origin: left;
}
.untertitel .stern { margin-right: .08em; }
.held .vorspann { margin-bottom: 0; }
.held-bild { position: relative; justify-self: center; width: min(100%, 420px); }
.cover {
  border-radius: 6px; box-shadow: var(--schatten);
  transform: rotate(3deg); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.held-bild:hover .cover { transform: rotate(0deg) scale(1.02); }
.stempel {
  position: absolute; left: -2.2rem; bottom: 2.5rem; width: 9.5rem; height: 9.5rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--rot); color: #fff; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.15;
  padding: 1rem; transform: rotate(-14deg); box-shadow: 0 12px 30px -10px rgba(220, 2, 12, .6);
  margin: 0;
}
.stempel span {
  font-family: var(--sans); font-style: normal; font-weight: 700; font-stretch: 75%;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; margin-bottom: .25rem;
}

/* Straße mit Taxi */
.strasse, .fuss-strasse {
  grid-column: 1 / -1; position: relative; height: 92px; margin-top: clamp(2rem, 5vw, 3.5rem);
}
.strasse-linie {
  position: absolute; left: calc(-1 * var(--rand)); right: calc(-1 * var(--rand)); bottom: 6px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--tinte) 0 34px, transparent 34px 58px);
  opacity: .9;
}
.taxi { width: 100%; height: auto; display: block; overflow: visible; }
.taxi-fahrt {
  position: absolute; left: 4%; bottom: 0; width: 150px;
  transition: transform 2.6s cubic-bezier(.55, 0, .8, .2);
}
.taxi-fahrt.faehrt { transform: translateX(110vw); }
.taxi-fahrt.faehrt .taxi { animation: rumpeln .18s linear infinite alternate; }
.strasse-zeile {
  grid-column: 1 / -1; margin: .9rem 0 0; font-size: .92rem; color: var(--tinte-weich);
}
@keyframes rumpeln { from { transform: translateY(0); } to { transform: translateY(-1.5px); } }

@media (max-width: 760px) {
  .held { grid-template-columns: 1fr; }
  .held-bild { order: -1; width: min(72%, 300px); margin-bottom: .5rem; }
  .stempel { width: 7rem; height: 7rem; font-size: .85rem; left: -1.6rem; bottom: 1.2rem; }
  .taxi-fahrt { width: 120px; }
}

/* ---------------------------------------------------------------- Zettel */

.zettel-abschnitt { background: var(--hell); margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(3.5rem, 8vw, 7rem) var(--rand); }
.zettel-gitter {
  max-width: var(--breite); margin: 0 auto;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.zettel {
  position: relative; margin: 0; background: #FFFEF8; padding: 2.6rem 2.2rem 2rem;
  box-shadow: var(--schatten); transform: rotate(-2.5deg); border-radius: 3px;
}
.zettel::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px;
  background: rgba(255, 210, 0, .55); transform: translateX(-50%) rotate(2deg);
}
.zettel blockquote p {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.25; margin-bottom: 1.2rem;
}
.zettel figcaption { font-size: .95rem; color: var(--tinte-weich); }
.zettel-antwort .gross { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2.2rem 0 0; }
.zahlen div { border-top: 3px solid var(--tinte); padding-top: .8rem; }
.zahlen dt { font-size: clamp(2.6rem, 5vw, 4rem); }
.zahlen dd { margin: .4rem 0 0; font-size: .95rem; line-height: 1.45; }
@media (max-width: 860px) {
  .zettel-gitter { grid-template-columns: 1fr; }
  .zettel { max-width: 34rem; }
}
@media (max-width: 560px) {
  .zahlen { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------------------------------------------------------------- Taxi bestellen */

.bestellen {
  max-width: 980px; margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) var(--rand) clamp(3rem, 6vw, 5rem);
}
.bestellen-kopf { margin-bottom: 2.4rem; }
.bestellung {
  background: var(--papier); border: 2px solid var(--tinte); border-radius: var(--runde);
  padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: 10px 10px 0 var(--taxi);
}
.bestellung-frage { display: block; font-weight: 650; font-size: 1.15rem; margin-bottom: .6rem; }
.bestellung-feld {
  display: flex; align-items: baseline; gap: .3rem;
  border-bottom: 3px solid var(--tinte); padding-bottom: .3rem;
}
.anfuehrung { font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: var(--rot); line-height: 1; }
.bestellung input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--tinte); padding: .2rem 0;
}
.bestellung input::placeholder { color: #A9A49B; }
.bestellung-feld:focus-within { border-bottom-color: var(--rot); }
.bestellung-hilfe { margin: 1.1rem 0 .6rem; font-size: .92rem; color: var(--tinte-weich); }
.vorschlaege { display: flex; flex-wrap: wrap; gap: .5rem; }
.vorschlag {
  border: 1px solid var(--grau); background: var(--hell); border-radius: 999px;
  padding: .45em 1em; font-size: .92rem; cursor: pointer; transition: background .2s, border-color .2s;
}
.vorschlag:hover { background: #fff; border-color: var(--tinte); }
.bestellung-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.8rem; }
.ton {
  border: 0; background: none; cursor: pointer; font-size: .92rem; color: var(--tinte-weich);
  text-decoration: underline; text-underline-offset: 3px; padding: .3rem;
}
.bestellung-fehler { margin: 1rem 0 0; color: var(--rot-dunkel); font-weight: 600; }

/* Die Szene: Straße, Taxi, Zettel */
.szene {
  position: relative; height: 190px; margin-top: 2.2rem; overflow: hidden;
  border-radius: var(--runde); background: linear-gradient(180deg, #F7F8F9 0%, var(--hell) 100%);
}
.szene-strasse { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; background: #D9DCE0; }
.szene-strasse .strasse-linie { left: 0; right: 0; bottom: 18px; height: 3px; }
.taxi-buehne {
  position: absolute; left: 6%; bottom: 14px; width: 200px;
  transition: transform 2.2s cubic-bezier(.55, 0, .8, .2);
}
.taxi-buehne.weg { transform: translateX(calc(100vw + 260px)); }
.taxi-buehne.weg .taxi { animation: rumpeln .16s linear infinite alternate; }
.taxi-buehne.draussen { transform: translateX(-140%); transition: none; }
.taxi-buehne.kommt { transition: transform 1.4s cubic-bezier(.2, .8, .3, 1); }
.taxi-buehne.wippt .taxi { animation: wippen .5s ease 2; }
@keyframes wippen { 50% { transform: translateY(-4px) rotate(-1deg); } }
.szene-zettel {
  position: absolute; left: calc(6% + 60px); top: 14px; max-width: min(70%, 420px);
  background: #FFFEF8; padding: .55rem .9rem; border-radius: 3px;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.3;
  box-shadow: 0 8px 20px -8px rgba(35, 32, 27, .4);
  opacity: 0; transform: translateY(-20px) rotate(-3deg);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.szene-zettel.da { opacity: 1; transform: translateY(0) rotate(-3deg); transition: opacity .35s, transform .35s; }
.szene-zettel.steigt-ein { animation: einsteigen .9s cubic-bezier(.5, 0, .7, .4) forwards; }
@keyframes einsteigen {
  0% { opacity: 1; transform: translate(0, 0) rotate(-3deg) scale(1); }
  100% { opacity: 0; transform: translate(40px, 92px) rotate(12deg) scale(.15); }
}
.taxameter {
  position: absolute; right: 4%; top: 18px; display: flex; flex-direction: column; align-items: center;
  background: var(--tinte); color: #fff; border-radius: 10px; padding: .45rem .9rem;
  font-family: var(--schreibmaschine);
}
.taxameter span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.taxameter b { font-size: 1.35rem; color: var(--taxi); letter-spacing: .1em; }
.taxameter.blinkt b { animation: blinken .5s steps(2, start) 4; }
@keyframes blinken { to { visibility: hidden; } }
.szene-status { min-height: 1.6em; margin: 1rem 0 0; color: var(--tinte-weich); font-size: .95rem; text-align: center; }
.szene-status.schreibt::after { content: "…"; animation: punkte 1.2s steps(4, end) infinite; display: inline-block; width: 1.2em; overflow: hidden; vertical-align: bottom; }
@keyframes punkte { from { width: 0; } to { width: 1.2em; } }
@media (max-width: 600px) {
  .szene { height: 160px; }
  .taxi-buehne { width: 150px; left: 4%; }
  .szene-zettel { left: 4%; font-size: .95rem; max-width: 62%; }
  .taxameter { right: 3%; top: 12px; padding: .35rem .6rem; }
  .taxameter b { font-size: 1.1rem; }
}

/* Der Befund */
.befund {
  position: relative; margin: 2rem auto 0; max-width: 680px;
  background: #FFFEF8; border: 1px solid var(--grau); border-radius: 6px;
  padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--schatten); transform: rotate(.6deg);
  font-family: var(--schreibmaschine); font-size: 1rem; line-height: 1.55;
}
.befund[hidden] { display: none; }
.befund.erscheint { animation: hereingleiten .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes hereingleiten { from { opacity: 0; transform: translateY(24px) rotate(-1deg); } }
.befund-kopf {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  border-bottom: 2px solid var(--tinte); padding-bottom: .8rem; margin-bottom: 1.1rem;
}
.befund-kopf p { margin: 0; display: flex; flex-direction: column; }
.befund-kopf b {
  font-family: var(--sans); font-stretch: 75%; font-size: 2rem; letter-spacing: .08em; color: var(--rot); line-height: 1;
}
.befund-kopf span { font-size: .8rem; letter-spacing: .06em; margin-top: .3rem; }
.befund-nr { font-size: .8rem; text-align: right; color: var(--tinte-weich); }
.befund-liste { margin: 0; }
.befund-liste div { display: grid; grid-template-columns: 9.5em 1fr; gap: .8rem; padding: .35rem 0; border-bottom: 1px dashed var(--grau); }
.befund-liste dt { font-weight: 700; text-transform: uppercase; font-size: .82rem; letter-spacing: .06em; padding-top: .15em; }
.befund-liste dd { margin: 0; min-height: 1.5em; }
.befund-erstes {
  margin: 1.4rem 0 1rem; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35;
  padding-left: .9rem; border-left: 4px solid var(--rot);
}
.befund-preis, .befund-ps { margin: .2rem 0; font-size: .92rem; }
.befund-herkunft { margin: 1rem 0 0; font-size: .75rem; color: var(--tinte-weich); }
.befund .tippt::after { content: "▌"; animation: blinken .8s steps(2, start) infinite; margin-left: 1px; }
@media (max-width: 560px) {
  .befund-liste div { grid-template-columns: 1fr; gap: 0; }
  .befund-kopf b { font-size: 1.6rem; }
}
.befund-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.8rem; }
.befund-aktionen[hidden] { display: none; }

.befund.sorgsam .befund-kopf b { color: var(--tinte); }
.befund.sorgsam .befund-preis, .befund.sorgsam .befund-ps { display: none; }

.buch-zitat { text-align: center; max-width: 720px; margin: 3.5rem auto 0; }
.buch-zitat[hidden] { display: none; }
.kleingedruckt { margin: 2.5rem auto 0; max-width: 640px; text-align: center; font-size: .82rem; color: var(--tinte-weich); }

/* ---------------------------------------------------------------- Besetzung */

.besetzung { max-width: var(--breite); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--rand); }
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.5rem; }
.karte { background: var(--hell); border-radius: var(--runde); overflow: hidden; display: flex; flex-direction: column; }
.karte img, .karte-zeichen { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; object-position: center 30%; }
.karte-zeichen {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem;
  background: var(--grau); padding: 1.5rem;
}
.karte-zeichen svg { width: 52%; max-width: 180px; }
.karte-zeichen span { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-weich); }
.karte-zeichen-gelb { background: var(--taxi); }
.karte-zeichen-gelb span { color: var(--tinte); }
.karte-zeichen-gelb .taxi { width: 70%; max-width: 230px; }
.karte-text { padding: 1.4rem 1.5rem 1.6rem; }
.karte h3 { font-size: 2rem; margin-bottom: .5rem; }
.karte-rolle { font-size: .98rem; }
.karte .zitat { font-size: 1.25rem; line-height: 1.3; margin-bottom: .3rem; }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------------------------------------------------------------- Die Fahrt: Linie 40 */

.fahrt { background: var(--tinte); color: #fff; padding: clamp(4rem, 9vw, 8rem) var(--rand) clamp(3rem, 6vw, 5rem); }
.fahrt .dachzeile, .fahrt .vorspann, .fahrt .leise { color: #C9C4BB; }
.fahrt .rot { color: var(--taxi); }
.fahrt-kopf { max-width: var(--breite); margin: 0 auto 3rem; }
.linie { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; position: relative; }
.linie::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; margin-left: -3px;
  background: var(--taxi); border-radius: 3px;
}
.halt { position: relative; width: 50%; padding: 0 3rem 2.6rem 0; text-align: right; }
.halt:nth-child(even) { margin-left: 50%; padding: 0 0 2.6rem 3rem; text-align: left; }
.halt::before {
  content: ""; position: absolute; top: .25rem; right: -12px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 5px solid var(--tinte); box-shadow: 0 0 0 4px var(--taxi);
}
.halt:nth-child(even)::before { right: auto; left: -12px; }
.halt-taxi::before, .halt-ende::before { background: var(--rot); }
.halt-ort { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 0 0 .25rem; }
.halt-kap { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #C9C4BB; margin-bottom: .6rem; }
.halt-zitat { font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.35; color: #fff; }
.halt-zitat-gross { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--taxi); }
@media (max-width: 760px) {
  .linie::before { left: 11px; }
  .halt, .halt:nth-child(even) { width: auto; margin-left: 0; padding: 0 0 2.2rem 3rem; text-align: left; }
  .halt::before, .halt:nth-child(even)::before { left: 0; right: auto; }
}

.fotostreifen {
  display: flex; gap: 1.2rem; max-width: var(--breite); margin: 3rem auto 0; padding: 1rem .5rem 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.fotostreifen img {
  flex: 0 0 auto; width: clamp(170px, 19vw, 230px); aspect-ratio: 3 / 4; object-fit: cover;
  border: 8px solid #fff; border-bottom-width: 26px; border-radius: 2px; scroll-snap-align: center;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); transition: transform .3s ease;
}
.fotostreifen img:nth-child(odd) { transform: rotate(-2.5deg); }
.fotostreifen img:nth-child(even) { transform: rotate(2deg) translateY(10px); }
.fotostreifen img:hover { transform: rotate(0) scale(1.04); }
.foto-hinweis { text-align: center; margin: .5rem 0 0; font-size: .8rem; }

/* ---------------------------------------------------------------- Leseprobe */

.leseprobe { background: var(--hell); padding: clamp(4rem, 9vw, 8rem) var(--rand); }
.leseprobe-kopf { max-width: 760px; margin: 0 auto 2rem; }
.buchseite {
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: 4px;
  padding: clamp(1.8rem, 6vw, 4.5rem); box-shadow: var(--schatten);
  font-family: var(--serif); font-size: clamp(1.1rem, 0.4vw + 1rem, 1.25rem); line-height: 1.7;
  hyphens: auto; -webkit-hyphens: auto;
}
.buchseite-kap { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--tinte-weich); margin-bottom: .4rem; }
.buchseite-titel { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.6rem; }
.buchseite-ort { font-family: var(--sans); font-weight: 600; font-size: .95rem; }
.brief { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--grau); font-style: italic; }
.brief-anrede { font-weight: 600; }
.brief-liste { padding-left: 1.2rem; margin: 0 0 1em; }
.brief-liste li { margin-bottom: .3rem; }
.brief-gruss { font-size: 1.5rem; }
.auslassung { text-align: center; color: var(--tinte-weich); }
.weiter { margin-top: 2.2rem; border-top: 1px solid var(--grau); padding-top: 1.6rem; }
.weiter summary {
  cursor: pointer; display: inline-flex; font-family: var(--sans); font-weight: 650; font-size: 1rem;
  padding: .8em 1.4em; border-radius: 999px; background: var(--tinte); color: #fff; list-style: none;
}
.weiter summary::-webkit-details-marker { display: none; }
.weiter[open] summary { background: var(--hell); color: var(--tinte); margin-bottom: 2rem; }
.buchseite-ende { font-family: var(--sans); font-weight: 650; margin-top: 2rem; }

/* ---------------------------------------------------------------- Buch */

.buch { background: var(--tuerkis); padding: clamp(4rem, 9vw, 8rem) var(--rand); }
.buch-gitter {
  max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.buch-bild img {
  border-radius: 6px; transform: rotate(-3deg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 40px 80px -24px rgba(0, 30, 30, .8), 0 12px 24px -10px rgba(0, 30, 30, .5);
}
.buch .dachzeile { color: var(--tinte); }
.buch .dachzeile::before { background: var(--tinte); }
.warnung {
  background: #fff; border-radius: 12px; padding: 1.1rem 1.3rem; font-size: 1.02rem;
  box-shadow: 6px 6px 0 var(--tinte); max-width: 34em;
}
.buchhandel { margin-top: 1.4rem; }
.isbn { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.kopieren {
  margin-left: .4rem; border: 1px solid var(--tinte); background: transparent; border-radius: 999px;
  padding: .15em .8em; font-size: .85rem; cursor: pointer;
}
.kopieren:hover { background: var(--tinte); color: #fff; }
.steckbrief { margin: 1.6rem 0 0; display: grid; gap: .3rem; font-size: .95rem; }
.steckbrief div { display: grid; grid-template-columns: 6.5em 1fr; gap: .8rem; }
.steckbrief dt { font-weight: 650; }
.steckbrief dd { margin: 0; }
@media (max-width: 760px) {
  .buch-gitter { grid-template-columns: 1fr; }
  .buch-bild { width: min(70%, 300px); margin: 0 auto; }
}

/* ---------------------------------------------------------------- Petra live */

.petra { background: var(--rot); color: #fff; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.petra-bild { align-self: stretch; }
.petra-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; min-height: 420px; }
.petra-text { padding: clamp(3rem, 7vw, 6rem) var(--rand); max-width: 640px; }
.petra .dachzeile { color: rgba(255, 255, 255, .85); }
.petra .dachzeile::before { background: #fff; }
.petra-rollen { font-weight: 600; font-size: 1.1rem; }
.petra .zitat-gross { margin: 1.2rem 0 1.2rem; }
@media (max-width: 900px) {
  .petra { grid-template-columns: 1fr; }
  .petra-bild img { min-height: 0; aspect-ratio: 3 / 2; }
}

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

.fuss { text-align: center; padding: 0 var(--rand) 3rem; overflow: hidden; }
.fuss-strasse { height: 80px; max-width: var(--breite); margin: 3rem auto 0; }
.fuss-strasse .strasse-linie { left: 0; right: 0; }
.taxi-vorbei { left: auto; right: 100%; width: 120px; transition: transform 3.4s linear; }
.taxi-vorbei.faehrt { transform: translateX(calc(100vw + 240px)); }
.schluss { max-width: 760px; margin: 2.5rem auto 1.5rem; }
.schluss p { font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; margin-bottom: .4rem; }
.schluss .quelle { font-family: var(--sans); font-style: normal; font-size: .9rem; }
.winken { margin: .5rem 0 2.5rem; }
.fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: .92rem; }
.fuss-zeile { margin-top: 1.2rem; font-size: .8rem; color: var(--tinte-weich); }

/* ---------------------------------------------------------------- Einfache Seiten */

.seite { max-width: 760px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 5rem) var(--rand); }
.seite h1 { font-stretch: 75%; text-transform: uppercase; font-size: clamp(2.4rem, 6vw, 4rem); line-height: .95; margin-bottom: 1.5rem; }
.seite h2 { font-size: 1.25rem; margin: 2rem 0 .6rem; }
.hinweis-entwurf { background: var(--taxi); padding: .8rem 1rem; border-radius: 10px; font-weight: 600; }

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

.bewegt .aufgehen { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.bewegt .aufgehen.sichtbar { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Der Zettel behält seine Schräglage auch beim Aufgehen */
.bewegt .zettel.aufgehen { transform: translateY(26px) rotate(-2.5deg); }
.bewegt .zettel.aufgehen.sichtbar { transform: rotate(-2.5deg); }
.taxi-vorbei.zurueck, .taxi-fahrt.zurueck { transition: none; }
