/* Themenseiten von tuespetrus.de (bisher /name-fels-schluessel/: Mt 16,18–19 mit Erklärungen).
   Kopf auf Papier (auf /name-fels-schluessel/, /papstliste/, /petersdom/ und /fruehe-kirche/ über einem Foto) mit dem
   Inschriftenband aus Goldmosaik, darunter der Text in einer Lesespalte bzw. zwei Spalten nebeneinander. Gemeinsame
   Bausteine (Abschnittsköpfe, Einblenden, Knopf) stehen in site.css. */
.artikel { background: var(--paper); }
.artikel main { display: block; overflow-x: clip; }
.artikel-kopf {
  max-width: 46rem; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) max(1.25rem, env(safe-area-inset-right, 0px)) clamp(1.75rem, 4vw, 2.5rem) max(1.25rem, env(safe-area-inset-left, 0px));
}
.artikel-kopf .tp-pfad ol { justify-content: center; }
.artikel-kopf .eyebrow { color: var(--gold-text); }
.artikel-titel, .artikel-untertitel { font-family: var(--font-display); font-weight: 500; }
.artikel-titel { margin: 0; font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -.01em; }
/* Zweite Zeile der Seitenüberschrift (<hgroup>): Die Überschrift beginnt mit dem Namen aus der Adresse
   (/papstliste/ → „Papstliste“), darunter steht, worum es geht. Halb so groß wie die Überschrift. Sie steht neben der
   <h1>, nicht darin: Safaris Reader nimmt die ganze <h1> als Titel und lässt dann Zwischenüberschriften weg, die ihm
   ähneln (auf /fruehe-kirche/ zwei Einträge der Zeitleiste). */
.artikel-untertitel { margin: .5rem 0 0; font-size: clamp(1.15rem, .75rem + 1.7vw, 2rem); font-style: italic; line-height: 1.2; color: var(--ink-2); text-wrap: balance; }
.artikel-lead { margin: 1.1rem auto 0; max-width: 38rem; font-size: 1.1em; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

/* Kopf über einem Foto, wie das Titelbild der Startseite: auf /name-fels-schluessel/ der Fries der Kuppel mit Kreuz und
   „TV ES PETRVS“, auf /papstliste/ das Band der Papstbildnisse in St. Paul vor den Mauern und über „Die ganze Reihe“
   drei dieser Bildnisse (dort mit .abschnitt-kopf statt .artikel-kopf), auf /petersdom/ die Kuppel mit den Lichtbahnen
   (Foto und Verlauf dort in src/ort.css, weil das Foto beim Scrollen stehen bleibt), auf /fruehe-kirche/ das Apsismosaik
   von Santa Pudenziana in Rom (um 400). Nach unten geht das Foto in Nachtblau über, darauf Titel und Vorspann. --oben
   ist der Platz über dem Text; das Foto reicht etwas weiter hinab und wird dort ganz dunkel. */
.foto-kopf {
  --oben: clamp(17rem, 10rem + 14vw, 24rem);
  position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--auf-nacht); --fokus: var(--gold-hell); --fokus-gold: var(--gold-hell);
}
.foto-kopf-bild { position: absolute; inset: 0 0 auto; z-index: -1; height: calc(var(--oben) * 1.85); }
.foto-kopf-bild picture, .foto-kopf-foto { display: block; width: 100%; height: 100%; }
.foto-kopf-foto { object-fit: cover; }
.foto-kopf-bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 34, .5) 0%, rgba(8, 12, 34, .06) 20%, rgba(8, 12, 34, .1) 44%, rgba(8, 12, 34, .82) 58%, var(--night) 82%);
}
.foto-kopf :is(.artikel-kopf, .abschnitt-kopf) { padding-top: var(--oben); text-shadow: 0 2px 20px rgba(0, 0, 0, .55); }
.foto-kopf .tp-pfad { color: var(--auf-nacht-3); }
.foto-kopf .tp-pfad a { color: var(--auf-nacht-2); }
.foto-kopf .tp-pfad a:hover { color: var(--gold-hell); }
.foto-kopf .tp-pfad li + li::before { color: var(--auf-nacht-3); }
.foto-kopf .eyebrow { color: var(--gold-hell); }
.foto-kopf :is(.artikel-titel, .abschnitt-titel) { color: #fff; }
.foto-kopf .artikel-untertitel { color: var(--auf-nacht-2); }
.foto-kopf :is(.artikel-lead, .abschnitt-lead) { color: var(--auf-nacht); }
/* Verweise auf dunklem Grund: Gold statt der Farbe der Art (wie auf /petersdom/) */
.foto-kopf .ref { --c: var(--gold-hell); --c-line: rgba(236, 210, 142, .5); --c-tint: rgba(236, 210, 142, .16); }
.foto-kopf-nachweis { margin: 1.6rem 0 0; font-family: var(--font-ui); font-size: .72rem; line-height: 1.45; color: rgba(242, 236, 221, .66); }
.foto-kopf-nachweis a { color: inherit; text-decoration-color: currentColor; text-underline-offset: .15em; }

/* Die Inschrift als Goldmosaik mit blauen Mosaikbuchstaben, wie im Fries der Kuppel */
.inschrift { margin: 0 0 clamp(2.5rem, 6vw, 4rem); }
.inschrift-band {
  position: relative; overflow: hidden; background-color: var(--gold); background-size: 150px auto;
  border-block: 3px solid #6f5520; padding: clamp(.7rem, 2vw, 1.2rem) max(1rem, env(safe-area-inset-left, 0px));
  box-shadow: inset 0 10px 18px rgba(60, 38, 6, .35), inset 0 -10px 18px rgba(60, 38, 6, .35);
  text-align: center;
}
.inschrift-zeile {
  margin: 0 auto; max-width: 72rem; font-family: var(--font-kapitalis); font-weight: 700; font-kerning: none;
  font-size: clamp(1.35rem, 3.4vw, 2.6rem); line-height: 1.3; letter-spacing: .07em; color: var(--lapis); text-wrap: balance;
}
.inschrift-zeile .kreuz { display: inline-block; vertical-align: -.04em; margin-right: .35em; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .inschrift-zeile .mosaik-blau {
    color: transparent; background-size: 70px auto; -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(255, 240, 200, .45)) drop-shadow(0 -1px 0 rgba(40, 24, 2, .25));
  }
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .inschrift-zeile .mosaik-blau { background: none; }
}
.inschrift figcaption {
  max-width: 40rem; margin: 1rem auto 0; padding: 0 1.25rem; text-align: center;
  font-family: var(--font-ui); font-size: .9rem; line-height: 1.5; color: var(--ink-3);
}
.inschrift figcaption a { color: var(--ink-2); text-decoration-color: var(--gold-line); text-underline-offset: .18em; }
/* ------------------------------------------------------------ Mt 16,18–19 */
.wort-abschnitt {
  padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) clamp(3rem, 7vw, 5rem) max(1.25rem, env(safe-area-inset-left, 0px));
}
.wort-text {
  position: relative; max-width: 44rem; margin: 0 auto; padding: 1.9rem 1.6rem 1.6rem; overflow: hidden;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px;
}
.wort-text::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background-color: var(--gold); background-size: 96px auto; }
.wort-text figcaption {
  margin-bottom: .9rem; font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-text);
}
.wort-text figcaption span { font-weight: 500; letter-spacing: .03em; text-transform: none; color: var(--ink-3); }
.wort-text blockquote { margin: 0; }
.wort-text p { margin: 0; font-family: var(--font-display); font-size: clamp(1.18rem, 1.05rem + .45vw, 1.42rem); line-height: 1.68; text-wrap: pretty; }
.wort-text sup { font-family: var(--font-ui); font-size: .6em; font-weight: 700; color: var(--gold-text); margin: 0 .25em 0 .1em; }
.im-fries { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: .1em; text-underline-offset: .24em; }
.wort-hinweis {
  max-width: 46rem; margin: 1.3rem auto 0; text-align: center; font-family: var(--font-ui); font-size: .875rem; line-height: 1.5; color: var(--ink-3);
}
.wort-hinweis--quellen { margin-top: .35rem; }
.wort-hinweis-muster { display: inline-block; width: 1.8em; height: .6em; margin-right: .5em; border-bottom: .14em solid var(--gold); vertical-align: .15em; }
/* Erklärungen untereinander, jede eine Zeile aus Bild und Text: auf dem Handy das Bild über dem Text, auf breiten
   Bildschirmen daneben, abwechselnd links und rechts. Der Text hält eine gut lesbare Zeilenlänge; das Bild bleibt beim
   Lesen stehen (sticky), bis der Text zu Ende ist. */
.notizen { max-width: 68rem; margin: clamp(3rem, 7vw, 5rem) auto 0; display: grid; gap: clamp(3rem, 8vw, 5.5rem); }
.notiz { border-top: 2px solid var(--gold); }
.notiz-bild { margin: 0; }
/* Auf dem Handy alle Bilder im selben Format; daneben auf breiten Bildschirmen das ganze Bild. Vergrößern zeigt es immer ganz. */
.notiz-bild-rahmen { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gold-tint); }
.notiz-bild-rahmen picture, .notiz-bild-rahmen img { display: block; width: 100%; height: 100%; }
.notiz-bild-rahmen img { object-fit: cover; }
.notiz-bild figcaption { padding: .7rem 0 0; font-family: var(--font-ui); font-size: .8rem; line-height: 1.45; color: var(--ink-2); }
.notiz-bild .nachweis { display: block; margin-top: .15rem; }
.notiz-text { max-width: 38rem; padding-top: 1.5rem; }
.notiz-titel { margin: 0 0 .8rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.2rem); line-height: 1.15; }
.notiz p { margin: 0 0 1rem; font-size: 1.0625rem; line-height: 1.7; hyphens: auto; -webkit-hyphens: auto; }
/* Der Versteil, um den es geht, als Einstieg unter der Überschrift, mit goldenem Strich */
.notiz-vers { margin: 0 0 1.25rem; }
.notiz-vers blockquote { margin: 0; padding: .1rem 0 .1rem 1rem; border-left: 2px solid var(--gold); }
.notiz-vers p { margin: 0; font-family: var(--font-display); font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); line-height: 1.45; text-wrap: pretty; }
.notiz-vers figcaption { margin: .45rem 0 0 1rem; font-family: var(--font-ui); font-size: .8125rem; color: var(--ink-3); }
/* Foto im Text einer Erklärung */
.notiz-foto { margin: .4rem 0 1.4rem; }
.notiz-foto-rahmen { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background: var(--gold-tint); }
.notiz-foto-rahmen picture, .notiz-foto-rahmen img { display: block; width: 100%; height: 100%; }
.notiz-foto-rahmen img { object-fit: cover; }
.notiz-foto figcaption { padding: .6rem 0 0; font-family: var(--font-ui); font-size: .8rem; line-height: 1.45; color: var(--ink-2); }
.notiz-foto .nachweis { display: block; margin-top: .15rem; color: var(--ink-3); }
/* Der Schlüssel im Maßstab (Zeichnung in scripts/name-fels-schluessel.mjs) */
.schluessel-mass { margin: .2rem 0 1.5rem; padding: 1rem 1rem .8rem; border-radius: 16px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.schluessel-mass svg { display: block; width: 100%; height: auto; overflow: visible; }
.schluessel-tempel { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.schluessel-tempel .schluessel-zier { fill: var(--gold); stroke-width: 3; }
.schluessel-heute { fill: none; stroke: var(--ink-2); stroke-width: 5; stroke-linecap: round; }
.schluessel-name { fill: var(--ink); font-family: var(--font-ui); font-size: 25px; font-weight: 600; }
.schluessel-lineal line { stroke: var(--ink-3); stroke-width: 1.5; }
.schluessel-lineal text { fill: var(--ink-3); font-family: var(--font-ui); font-size: 19px; text-anchor: middle; }
.schluessel-mass figcaption { margin-top: .5rem; font-family: var(--font-ui); font-size: .82rem; line-height: 1.45; color: var(--ink-2); }
/* Kepha: griechisch zwei Formen, aramäisch ein Wort. Die Knöpfe schalten um (src/schrift.js); ohne Skript stehen beide
   Tafeln untereinander. Aramäisch verbindet eine goldene Klammer die beiden Wörter. */
.kepha { margin: 0 0 1.6rem; padding: 1.1rem 1rem 1.2rem; border-radius: 16px; background: var(--sheet); box-shadow: inset 0 0 0 1px var(--rule); }
.kepha .wahl { margin-bottom: .9rem; }
.kepha-tafel + .kepha-tafel { margin-top: 1.4rem; }
.ist-bedienbar .kepha-tafel + .kepha-tafel { margin-top: 0; }
.notiz .kepha p { margin: 0; }
.notiz .kepha-sprache { text-align: center; font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kepha-paar { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .7rem 0 0; padding-bottom: 1.1rem; text-align: center; }
.notiz .kepha-wort { display: grid; justify-items: center; gap: .1rem; }
.kepha-vor { font-family: var(--font-ui); font-size: .85rem; color: var(--ink-3); }
.kepha-wort b { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 1.6rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--gold-text); }
.kepha-wort + .kepha-wort b { color: var(--ink-2); }
.kepha-art { font-family: var(--font-ui); font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.kepha-tafel--eins .kepha-wort + .kepha-wort b { color: var(--gold-text); }
.kepha-tafel--eins .kepha-paar::after {
  content: ""; position: absolute; left: 25%; right: 25%; bottom: 0; height: .65rem;
  border: 2px solid var(--gold); border-top: 0; border-radius: 0 0 10px 10px; transform-origin: center;
}
.ist-bedienbar .kepha-tafel--eins[aria-current] .kepha-paar::after { animation: kepha-klammer .6s cubic-bezier(.3, .7, .2, 1) .15s both; }
@keyframes kepha-klammer { from { transform: scaleX(0); opacity: 0; } }
.notiz .kepha-fazit { margin-top: .55rem; text-align: center; font-family: var(--font-display); font-size: 1.2rem; font-style: italic; line-height: 1.35; color: var(--ink); }
.kepha-tafel:not(.kepha-tafel--eins) .kepha-paar { padding-bottom: .3rem; }
@media (prefers-reduced-motion: reduce) { .ist-bedienbar .kepha-tafel--eins[aria-current] .kepha-paar::after { animation: none; } }
@media (min-width: 860px) {
  .notiz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; padding-top: 2rem; }
  .notiz:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .notiz:nth-child(even) .notiz-bild { order: 2; }
  .notiz-bild { position: sticky; top: 5.5rem; }
  .notiz-bild-rahmen { aspect-ratio: auto; }
  .notiz-bild-rahmen picture, .notiz-bild-rahmen img { height: auto; }
  .notiz-text { padding-top: 0; }
}

/* ------------------------------------------------------------ Bausteine mehrerer Themenseiten
   Auswahlknöpfe (src/schrift.js), Nachtabschnitte und „Zum Mitnehmen“: /sola-scriptura/, /messe/, /grabtuch/ und
   /name-fels-schluessel/. Die Breiten (--spalte, --breit, --rand) setzt .schrift-seite; sonst gelten die Ersatzwerte. */
/* Auswahl (src/schrift.js): Knöpfe wie Reiter; data-gewaehlt am Behälter */
.wahl { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: 0 0 1.1rem; }
.wahl button {
  min-height: 2.75rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--rule-strong);
  background: var(--sheet); color: var(--ink-2); cursor: pointer; -webkit-tap-highlight-color: transparent;
  font-family: var(--font-ui); font-size: .9rem; font-weight: 600; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.wahl button:hover { border-color: var(--gold); color: var(--ink); }
.wahl button[aria-pressed="true"] { background: var(--night); border-color: var(--night); color: var(--gold-hell); }
.wahl button:focus-visible { outline-offset: 2px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wahl button[aria-pressed="true"] { background: var(--night-3); border-color: var(--gold-line); } }
:root[data-theme="dark"] .wahl button[aria-pressed="true"] { background: var(--night-3); border-color: var(--gold-line); }
@media (max-width: 520px) { .wahl { gap: .3rem; } .wahl button { padding: .4rem .72rem; font-size: .84rem; } }
/* Mit Skript zeigt der Behälter nur die gewählte Tafel; ohne Skript stehen alle da */
.ist-bedienbar [data-zu]:not([aria-current]) { display: none; }
.ist-bedienbar [data-zu][aria-current] { animation: tafel-auf .35s ease both; }
@media (forced-colors: active) { .wahl button[aria-pressed="true"] { outline: 2px solid CanvasText; } }
/* Nachtabschnitte: dunkler Grund mit Goldband oben */
.nacht {
  position: relative; padding: clamp(4rem, 10vw, 7rem) var(--rand, max(1.25rem, env(safe-area-inset-left, 0px))); background: var(--night); color: var(--auf-nacht); --fokus: var(--gold-hell); --fokus-gold: var(--gold-hell);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 74, .14), transparent 60%);
}
.nacht::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background-color: var(--gold); background-size: 96px auto; }
.nacht-inner { max-width: var(--breit, 60rem); margin: 0 auto; }
.nacht-text, .mitnehmen-liste { max-width: var(--spalte, 38rem); margin-inline: auto; }
.nacht .eyebrow { color: var(--gold-hell); text-align: center; }
.nacht-titel { margin: 0 0 1.6rem; text-align: center; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem); line-height: 1.05; color: #fff; }
.nacht-text p, .nacht p { line-height: 1.68; }
.nacht-text p { margin: 0 0 1.1em; hyphens: auto; -webkit-hyphens: auto; }
.nacht a:not(.ref):not(.share-btn) { color: var(--auf-nacht); }
.nacht .share-btn { color: var(--auf-nacht-3); }
.nacht .share-btn:hover { color: var(--gold-hell); background: rgba(236, 210, 142, .14); }
.nacht .ref { --c: var(--gold-hell); --c-line: rgba(236, 210, 142, .5); --c-tint: rgba(236, 210, 142, .16); }
/* ------------------------------------------------------------ Zum Mitnehmen */
.mitnehmen-liste { list-style: none; margin: 0 auto 2.5rem; padding: 0; display: grid; gap: 1rem; }
.mitnehmen-frage { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: .2rem 1.1rem; align-items: baseline; padding: 1.2rem 1.2rem 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(236, 210, 142, .2); }
.js .mitnehmen-frage.zeigen { transition-delay: calc(var(--i, 0) * .18s); }
.mitnehmen-nr { grid-row: span 2; font-family: var(--font-kapitalis); font-weight: 600; font-size: 2.6rem; line-height: 1; color: var(--gold-hell); text-align: center; }
.mitnehmen-text { margin: 0; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.15; color: #fff; }
.mitnehmen-antwort { margin: .3rem 0 0; color: var(--auf-nacht-2); line-height: 1.6; }
.mitnehmen-schluss {
  margin: 0 0 .8rem; text-align: center; font-family: var(--font-kapitalis); font-weight: 600; letter-spacing: .06em;
  font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.8rem); color: var(--gold-hell); text-wrap: balance;
}
.mitnehmen-schluss .kreuz { display: inline-block; margin-right: .4em; vertical-align: -.02em; }
.mitnehmen-satz { margin: 0 auto; max-width: 36rem; text-align: center; font-size: 1.08rem; color: var(--auf-nacht); }
@media (max-width: 520px) { .mitnehmen-frage { grid-template-columns: 2.8rem minmax(0, 1fr); } .mitnehmen-nr { font-size: 2rem; } .mitnehmen-text { font-size: 1.4rem; } }
/* Abstand zum Weiterlesen nach dem letzten Nachtabschnitt */
.mitnehmen + .artikel-weiter { border-top: 0; }

/* ------------------------------------------------------------ Weiterlesen */
.artikel-weiter {
  max-width: 72rem; margin: 0 auto; padding: clamp(2rem, 5vw, 3rem) max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--rule); text-align: center;
}
.artikel-weiter-titel { margin: 0 0 1rem; font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.artikel-weiter ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.artikel-weiter a:not(.knopf) {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.9rem; padding: .6rem 1.2rem; border-radius: 999px;
  border: 1px solid var(--rule-strong); color: var(--ink); text-decoration: none; font-family: var(--font-ui); font-size: .95rem; font-weight: 600;
}
.artikel-weiter a:not(.knopf):hover { border-color: var(--gold); color: var(--gold-text); }
.artikel-weiter a:hover .pfeil { transform: translateX(4px); }
/* Leiser Hinweis unter „Weiterlesen“, etwa auf die offizielle Seite eines Ortes (/petersdom/) */
.artikel-hinweis {
  max-width: 38rem; margin: 1.25rem auto 0; padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px));
  font-family: var(--font-ui); font-size: .85rem; line-height: 1.5; color: var(--ink-3); text-align: center; text-wrap: pretty;
}

/* ------------------------------------------------------------ Nächste Station (rundgang() in scripts/seite.mjs)
   Band zwischen Inhalt und Fußzeile: das Foto der nächsten Station, nach unten in Nachtblau übergehend wie der Kopf der
   Seite, zu der es führt (.foto-kopf), darauf ihr Wort, ihr Titel und ihr Kurztext. Das ganze Band ist ein Link.
   Darunter alle Stationen; die Nummern setzt ein Zähler (römisch, für Bildschirmleser ohne Text: Die Liste ist
   geordnet). Golden ist, was man schon aufgerufen hat (:visited, das weiß nur der Browser), gerahmt die eigene Station;
   von ihr zieht ein Goldfaden zur nächsten, hinter der ein leiser Schein liegt. */
.tp-gang {
  position: relative; isolation: isolate; overflow: hidden; margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--night); color: var(--auf-nacht); --fokus: var(--gold-hell); --fokus-gold: var(--gold-hell);
}
.tp-gang::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 6px; background-color: var(--gold); background-size: 96px auto; }
.tp-gang + .tp-fuss { margin-top: 0; }
/* overflow: Das beim Zeigen vergrößerte Foto ragte sonst unten unter dem Verlauf hervor, als heller Strich durch den
   Kurztext (auf dem iPhone auch beim Scrollen, wenn das Antippen des Bandes als Zeigen gilt) */
.tp-gang-bild { position: absolute; inset: 0 0 auto; z-index: -1; height: clamp(19rem, 14rem + 16vw, 29rem); overflow: hidden; }
.tp-gang-bild picture, .tp-gang-foto { display: block; width: 100%; height: 100%; }
.tp-gang-foto { object-fit: cover; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.tp-gang-bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 34, .42) 0%, rgba(8, 12, 34, .12) 26%, rgba(8, 12, 34, .5) 50%, rgba(8, 12, 34, .9) 72%, var(--night) 94%);
}
.tp-gang-link {
  display: block; max-width: 46rem; margin: 0 auto; text-align: center; color: inherit; text-decoration: none; text-shadow: 0 2px 20px rgba(0, 0, 0, .55);
  padding: clamp(9rem, 6rem + 10vw, 14.5rem) max(1.25rem, env(safe-area-inset-right, 0px)) 0 max(1.25rem, env(safe-area-inset-left, 0px));
  -webkit-tap-highlight-color: transparent;
}
.tp-gang-link:focus-visible { outline-offset: -6px; }
.tp-gang-link p { margin: 0; }
.tp-gang-marke { font-family: var(--font-ui); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hell); }
.tp-gang-link .tp-gang-wort { margin-top: 1rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.2; color: var(--auf-nacht-2); }
.tp-gang-link .tp-gang-titel { margin-top: .15rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.7rem); line-height: 1.05; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.tp-gang-link .tp-gang-kurz { max-width: 38rem; margin: 1rem auto 0; font-size: 1.02em; line-height: 1.6; color: var(--auf-nacht); text-wrap: pretty; }
.tp-gang-link .tp-gang-los { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.1rem; margin-top: 1.6rem; text-shadow: none; }
.tp-gang-zeit { font-family: var(--font-ui); font-size: .9rem; color: var(--auf-nacht-2); }
.tp-gang-link:hover .knopf { background: #f6e3ae; }
.tp-gang-link:hover .pfeil { transform: translateX(4px); }
.tp-gang:has(.tp-gang-link:hover) .tp-gang-foto { transform: scale(1.035); }
.tp-gang-stationen {
  list-style: none; max-width: 60rem; margin: clamp(2.25rem, 5vw, 3.25rem) auto 0; counter-reset: station;
  padding: 1.1rem max(.75rem, env(safe-area-inset-right, 0px)) clamp(1.75rem, 4vw, 2.5rem) max(.75rem, env(safe-area-inset-left, 0px));
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); --spalte: .25rem; --reihe: .8rem; gap: var(--reihe) var(--spalte);
  border-top: 1px solid rgba(236, 210, 142, .18);
}
.tp-gang-stationen li { position: relative; isolation: isolate; counter-increment: station; }
.tp-gang-stationen a {
  display: grid; justify-items: center; align-content: center; gap: .1rem; min-height: 3.4rem; padding: .35rem .2rem; border-radius: 12px;
  font-family: var(--font-ui); font-size: .82rem; font-weight: 600; letter-spacing: .02em; line-height: 1.2; color: var(--auf-nacht-3); text-decoration: none;
}
.tp-gang-stationen a::before {
  content: counter(station, upper-roman); content: counter(station, upper-roman) / "";
  font-family: var(--font-kapitalis); font-size: 1.05rem; font-weight: 600; line-height: 1.1; color: var(--auf-nacht-3);
}
.tp-gang-stationen a:visited { color: var(--auf-nacht); }
.tp-gang-stationen a:visited::before { color: var(--gold-hell); }
.tp-gang-stationen a:hover { background: rgba(236, 210, 142, .14); color: var(--gold-hell); }
.tp-gang-stationen a:hover::before { color: var(--gold-hell); }
.tp-gang-stationen a[aria-current="page"] { color: var(--gold-hell); box-shadow: inset 0 0 0 1px rgba(236, 210, 142, .45); }
.tp-gang-stationen a[aria-current="page"]::before { color: var(--gold-hell); text-shadow: 0 0 10px rgba(236, 210, 142, .35); }
/* Faden und Schein hängen am <li>, nicht am Link: Am besuchten Link gelten nur Farben, und die lassen sich dort nicht
   animieren. Der Faden läuft unter den Stationen von Mitte zu Mitte, mit einem Punkt an jedem Ende. */
.tp-gang-stationen li:has(> a[aria-current="page"]):not(:last-child)::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(50% - 3px); width: calc(100% + var(--spalte) + 6px); height: 6px; bottom: calc(var(--reihe) / -2 - 3px);
  background:
    radial-gradient(circle closest-side, var(--gold-hell) 85%, transparent) left / 6px 6px no-repeat,
    radial-gradient(circle closest-side, var(--gold-hell) 85%, transparent) right / 6px 6px no-repeat,
    linear-gradient(90deg, var(--gold-hell), var(--gold)) center / calc(100% - 6px) 1px no-repeat;
}
.tp-gang-stationen li:has(> a[aria-current="page"]) + li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 12px;
  background: radial-gradient(ellipse 62% 70% at 50% 45%, rgba(236, 210, 142, .2), transparent 78%);
}
.tp-gang-stationen li:has(> a[aria-current="page"]) + li a:not(:hover) { color: var(--auf-nacht); }
.tp-gang-stationen li:has(> a[aria-current="page"]) + li a::before { text-shadow: 0 0 12px rgba(236, 210, 142, .5); }
@media (min-width: 700px) {
  .tp-gang-stationen { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .tp-gang-stationen a { font-size: .875rem; }
}
/* Unter den Stationen: Galerie und Zeitachse, die beide alle Themenseiten zusammenfassen */
.tp-gang-quer {
  max-width: 60rem; margin: 0 auto; padding: 0 max(.75rem, env(safe-area-inset-left, 0px)) clamp(1.75rem, 4vw, 2.5rem) max(.75rem, env(safe-area-inset-right, 0px));
  text-align: center; font-family: var(--font-ui); font-size: .88rem; line-height: 1.5; color: var(--auf-nacht-3);
}
.tp-gang-quer a { color: var(--gold-hell); text-decoration-color: rgba(236, 210, 142, .45); text-underline-offset: .2em; }
.tp-gang-quer a:hover { text-decoration-color: var(--gold-hell); }
/* In vier Spalten steht die nächste Station nach IV in der Zeile darunter: kein Faden quer über das Band */
@media (max-width: 699px) { .tp-gang-stationen li:nth-child(4n):has(> a[aria-current="page"])::after { display: none; } }
/* Ankommen (src/ankommen.js): Bis die Liste ganz im Blick ist (.ist-bereit), ist die eigene Ziffer blass und der Faden
   nicht gezogen. Dann setzt sich die Ziffer wie ein Mosaikstein, mit einem Aufleuchten dahinter, der Faden zieht zur
   nächsten Station, zuletzt leuchtet sie auf. Einmal je Aufruf, gut zwei Sekunden; nur Deckkraft, Größe, Schein und
   Zuschnitt bewegen sich, keine Farben. */
@media (prefers-reduced-motion: no-preference) {
  .tp-gang-stationen.ist-bereit a[aria-current="page"]::before { opacity: .25; }
  .tp-gang-stationen.ist-bereit li:has(> a[aria-current="page"])::after { clip-path: inset(0 100% 0 0); }
  .tp-gang-stationen.ist-bereit li:has(> a[aria-current="page"]) + li::before { opacity: 0; }
  .tp-gang-stationen.ist-angekommen a[aria-current="page"]::before { animation: gang-stein .8s cubic-bezier(.2, .8, .25, 1) both; }
  .tp-gang-stationen.ist-angekommen li:has(> a[aria-current="page"])::before {
    content: ""; position: absolute; inset: -.5rem; z-index: -1; pointer-events: none; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(236, 210, 142, .42), rgba(236, 210, 142, .1) 55%, transparent);
    animation: gang-licht 1.1s ease-out .12s both;
  }
  .tp-gang-stationen.ist-angekommen li:has(> a[aria-current="page"])::after { animation: gang-faden .95s cubic-bezier(.55, 0, .3, 1) .55s both; }
  .tp-gang-stationen.ist-angekommen li:has(> a[aria-current="page"]) + li::before { animation: gang-schein 1.3s ease-out 1.3s both; }
  .tp-gang-stationen.ist-angekommen li:has(> a[aria-current="page"]) + li a::before { animation: gang-glimmen 1.3s ease-out 1.3s both; }
}
@keyframes gang-stein {
  0% { opacity: .25; transform: translateY(-.2em) scale(1.3); text-shadow: 0 0 0 rgba(236, 210, 142, 0); }
  55% { opacity: 1; transform: translateY(.04em) scale(.94); text-shadow: 0 0 18px rgba(236, 210, 142, .95); }
  100% { opacity: 1; transform: none; text-shadow: 0 0 10px rgba(236, 210, 142, .35); }
}
@keyframes gang-licht { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes gang-faden { 0% { clip-path: inset(0 100% 0 0); } 12% { clip-path: inset(0 calc(100% - 6px) 0 0); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes gang-schein { 0% { opacity: 0; transform: scale(.7); } 45% { opacity: 1; transform: scale(1.1); } 100% { opacity: 1; transform: none; } }
@keyframes gang-glimmen {
  0% { text-shadow: 0 0 0 rgba(236, 210, 142, 0); }
  45% { text-shadow: 0 0 16px rgba(236, 210, 142, .95); }
  100% { text-shadow: 0 0 12px rgba(236, 210, 142, .5); }
}
@media (prefers-reduced-motion: reduce) { .tp-gang-foto { transition: none; } .tp-gang:has(.tp-gang-link:hover) .tp-gang-foto { transform: none; } }
@media (forced-colors: active) {
  .tp-gang-stationen a[aria-current="page"] { outline: 2px solid CanvasText; outline-offset: -2px; }
  .tp-gang-stationen li::before, .tp-gang-stationen li::after { display: none; }
}

/* Übersicht einer Rubrik (/rezensionen/): Karten in einer Lesespalte, Titel kleiner als auf der Startseite */
.uebersicht {
  max-width: 52rem; margin: 0 auto;
  padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) clamp(3.5rem, 8vw, 6rem) max(1.25rem, env(safe-area-inset-left, 0px));
}
.uebersicht-zahl {
  margin: 0 0 1.1rem; text-align: center; font-family: var(--font-ui); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.uebersicht .karte-link { background: var(--sheet); }
.uebersicht .karte-titel { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.3rem); }

/* Lesezeit unter dem Vorspann (scripts/build.mjs setzt sie ein; ohne Angabe bleibt die Zeile weg) */
.artikel-zeit { margin: .9rem 0 0; font-family: var(--font-ui); font-size: .85rem; letter-spacing: .02em; color: var(--ink-3); }
.artikel-zeit:empty { display: none; }
.foto-kopf .artikel-zeit { color: var(--auf-nacht-2); }
/* Sprung zur Kurzfassung (kurzfassung() in scripts/seite.mjs): neben der Lesezeit, auf dem Handy darunter */
.artikel-zeit:has(+ .artikel-kurz) { display: inline-block; }
.artikel-kurz { display: inline-block; margin: .35rem 0 0; font-family: var(--font-ui); font-size: .85rem; letter-spacing: .02em; }
.artikel-kurz::before { content: "·"; margin: 0 .15rem 0 .45rem; color: var(--ink-3); }
.artikel-kurz a {
  display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; padding: 0 .45rem; border-radius: 8px; font-weight: 600;
  color: var(--gold-text); text-decoration: underline; text-decoration-color: var(--gold-line); text-underline-offset: .22em;
}
.artikel-kurz a:hover { text-decoration-color: currentColor; }
.artikel-kurz svg { width: .95em; height: .95em; flex: none; }
.foto-kopf .artikel-kurz::before { color: var(--auf-nacht-3); }
.foto-kopf .artikel-kurz a { color: var(--gold-hell); text-decoration-color: rgba(236, 210, 142, .5); }
.mitnehmen { scroll-margin-top: 3.6rem; }
@media (max-width: 420px) { .artikel-kurz { display: block; margin-top: 0; } .artikel-kurz::before { content: none; } }
