/* Seite /petersdom/: Über dem Grab des Apostels. Kopf der Seite und Zeitachse über dem Foto mit den Lichtbahnen (bleibt
   beim Scrollen stehen), danach 1 Clem 5,3–4 als Leitwort auf hellem Grund und die Kuppel in Zahlen (src/zahlen.css). Bewegung: src/szenen.js setzt --p, src/zaehlen.js lässt die Zahlen
   hochzählen. */
.ort-nachweis a { color: inherit; text-decoration-color: currentColor; text-underline-offset: .15em; }

/* ------------------------------------------------------------ Der Ort: über dem Grab des Apostels */
.ort { position: relative; background: var(--night); color: var(--auf-nacht); --fokus: var(--gold-hell); --fokus-gold: var(--gold-hell); }
.ort-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.ort-buehne picture, .ort-foto { display: block; width: 100%; height: 100%; }
.ort-foto { object-fit: cover; transform: scale(calc(1.16 - var(--p, 0) * .16)); will-change: transform; }
.ort-buehne::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 34, .5) 0%, rgba(8, 12, 34, .35) 20%, rgba(8, 12, 34, .3) 55%, rgba(8, 12, 34, .88) 100%);
}
.ort-inhalt { position: relative; margin-top: -100vh; margin-top: -100svh; }
/* Der Kopf steht wie auf /name-fels-schluessel/ und /papstliste/ auf dem Foto (.foto-kopf in src/artikel.css); das Foto
   ist hier die Bühne dahinter, die beim Scrollen stehen bleibt. Hinter Titel und Vorspann dunkelt ein Verlauf die Kuppel
   ab und läuft unter dem Vorspann wieder aus. */
.ort-kopf {
  background: linear-gradient(180deg, transparent calc(var(--oben) * .45), rgba(8, 12, 34, .72) calc(var(--oben) + 2rem), rgba(8, 12, 34, .72) calc(100% - 7rem), transparent);
}
.ort-kopf .artikel-kopf { padding-bottom: clamp(5rem, 10vw, 7rem); }
.ort-geschichte { padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) clamp(4rem, 8vw, 6rem) max(1.25rem, env(safe-area-inset-left, 0px)); }
.ort .abschnitt-kopf { text-shadow: 0 2px 24px rgba(0, 0, 0, .65); }
.ort .eyebrow { color: var(--gold-hell); }
.ort .abschnitt-lead { color: var(--auf-nacht); }
/* Verweise auf dunklem Grund: Gold statt der Farbe der Art */
.ort .ref { --c: var(--gold-hell); --c-line: rgba(236, 210, 142, .5); --c-tint: rgba(236, 210, 142, .16); }
.achse {
  --p: 0;
  list-style: none; position: relative; max-width: 46rem; margin: clamp(1rem, 10vh, 6rem) auto 0;
  padding: 2.2rem 1.4rem .6rem 1.2rem; border-radius: 22px;
  background: rgba(8, 12, 34, .72); border: 1px solid rgba(236, 210, 142, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.achse::before, .achse::after { content: ""; position: absolute; left: 2.15rem; top: 2.7rem; width: 2px; }
.achse::before { bottom: 3rem; background: rgba(236, 210, 142, .2); }
/* Die goldene Linie wächst mit dem Lesen nach unten */
.achse::after {
  height: calc((100% - 5.7rem) * var(--p)); background: linear-gradient(var(--gold-hell), var(--gold));
  box-shadow: 0 0 14px rgba(236, 210, 142, .7);
}
.achse-punkt { position: relative; padding: 0 0 2.3rem 3.3rem; }
.achse-punkt::before {
  content: ""; position: absolute; left: calc(.95rem - 8px); top: .5rem; width: 14px; height: 14px; border-radius: 50%;
  background: var(--night); border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(8, 12, 34, .9);
  transition: background-color .6s ease, box-shadow .6s ease;
}
.achse-punkt.ist-sichtbar::before { background: var(--gold-hell); box-shadow: 0 0 0 4px rgba(8, 12, 34, .9), 0 0 20px rgba(236, 210, 142, .85); }
.achse-jahr { margin: 0; font-family: var(--font-kapitalis); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; color: var(--gold-hell); }
.achse-titel { margin: .15rem 0 .45rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; color: #fff; }
.achse-text { margin: 0; max-width: 36rem; color: var(--auf-nacht-2); line-height: 1.62; hyphens: auto; -webkit-hyphens: auto; }
.ort-nachweis { max-width: 46rem; margin: 1.4rem auto 0; font-family: var(--font-ui); font-size: .72rem; line-height: 1.45; color: rgba(242, 236, 221, .66); text-align: center; }

/* ------------------------------------------------------------ Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  .ort-foto { transform: none !important; }
  .achse::after { height: calc(100% - 5.7rem); }
}

/* ------------------------------------------------------------ Leitwort zwischen Zeitachse und Zahlen
   1 Clem 5,3–4 auf hellem Grund, damit nicht drei nachtblaue Abschnitte aufeinander folgen; so groß wie
   .leitwort--schluss (src/site.css) */
.leitwort-band {
  background: var(--paper);
  padding: clamp(3.5rem, 9vw, 5.5rem) max(1.25rem, env(safe-area-inset-right, 0px)) clamp(3.5rem, 9vw, 5.5rem) max(1.25rem, env(safe-area-inset-left, 0px));
}
.leitwort-band .leitwort { max-width: 40rem; }
.leitwort-band .leitwort p { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.35; }

/* ------------------------------------------------------------ Sehr zu empfehlen: virtueller Rundgang und offizielle Seite
   Band auf dem Nachtblau der Zahlen, vor dem Abstieg „Von der Kuppel zum Grab“; breit Text links, Knöpfe rechts */
.rundgang {
  background: var(--night-2); color: var(--auf-nacht); --fokus: var(--gold-hell); --fokus-gold: var(--gold-hell);
  padding: 0 max(1.25rem, env(safe-area-inset-right, 0px)) clamp(3rem, 7vw, 4.5rem) max(1.25rem, env(safe-area-inset-left, 0px));
}
.rundgang-karte {
  max-width: 60rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: 22px; background: rgba(8, 12, 34, .55); border: 1px solid rgba(236, 210, 142, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.rundgang .eyebrow { margin: 0 0 .5rem; color: var(--gold-hell); }
.rundgang-titel { margin: 0 0 .75rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.1; color: var(--auf-nacht); }
.rundgang-text p:last-child { margin: 0; line-height: 1.6; color: var(--auf-nacht-2); text-wrap: pretty; }
.rundgang-knoepfe { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0 0; }
.rundgang-knoepfe a { justify-content: center; }
.rundgang-seite {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .6rem 1.2rem; border-radius: 999px;
  border: 1px solid rgba(236, 210, 142, .45); color: var(--auf-nacht); text-decoration: none;
  font-family: var(--font-ui); font-size: .95rem; font-weight: 600;
}
.rundgang-seite:hover { border-color: var(--gold-hell); color: var(--gold-hell); }
.rundgang-seite:focus-visible { outline-color: var(--gold-hell); }
.rundgang-knoepfe a:hover .pfeil { transform: translate(2px, -2px); }
.rundgang-sprache { margin: .1rem 0 0; font-family: var(--font-ui); font-size: .8rem; color: var(--auf-nacht-3); text-align: center; }
@media (min-width: 760px) {
  .rundgang-karte { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: center; }
  .rundgang-knoepfe { margin: 0; }
}
