:root {
  color-scheme: light;
  --papier: #f4efe6;
  --papier-2: #fbf7f2;
  --tinte: #2c241f;
  --leise: #6d5f56;
  --linie: rgba(44, 36, 31, 0.14);
  --rot: #8d3b34;
  --schatten: rgba(28, 20, 16, 0.45);
  --rand: clamp(1.1rem, 5vw, 4.5rem);
  --schrift: "Segoe UI", "Helvetica Neue", sans-serif;
  --titel: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 6.5rem; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--rot);
  outline-offset: 3px;
}

.kopf {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1.1rem, 4vw, 3.5rem);
  background: rgba(244, 239, 230, 0.94);
  border-bottom: 1px solid var(--linie);
}

.wortmarke {
  font-family: var(--titel);
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.wortmarke span {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--schrift);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leise);
}

.navi {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  font-size: 0.92rem;
}

.navi a { text-decoration: none; }

.navi a:hover { color: var(--rot); }

.navi a[aria-current] {
  color: var(--rot);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.4em;
}

.sprache {
  margin-left: 0.4rem;
  color: var(--leise);
  letter-spacing: 0.04em;
}

.held {
  position: relative;
  min-height: calc(100svh - 4.6rem);
  display: grid;
  align-items: end;
  color: #f7f3ec;
  overflow: hidden;
}

.held img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.held .schirm {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(24, 16, 12, 0.72) 0%, rgba(24, 16, 12, 0.08) 48%, rgba(24, 16, 12, 0.28) 100%);
}

.held .inhalt {
  position: relative;
  width: min(46rem, calc(100% - 2.4rem));
  margin: 0;
  padding: 12vh clamp(1.1rem, 5vw, 4.5rem) 3.2rem;
}

.held h1 {
  margin: 0;
  font-family: var(--titel);
  font-weight: normal;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.ort {
  margin: 0.8rem 0 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.held .satz {
  max-width: 28rem;
  margin: 1.1rem 0 0;
  font-size: 1.2rem;
}

.held .eckdaten {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 236, 0.86);
}

/* Inzell: Ein Foto bleibt stehen und wechselt mit den Textblättern.
   Ohne szenen.js (Klasse .lebt fehlt) stehen Foto und Text untereinander. */
.lage {
  padding: clamp(1rem, 4vw, 2rem) 0 clamp(4rem, 8vw, 6rem);
}

.lage .schmal,
.blatt {
  width: min(44rem, calc(100% - 2 * var(--rand)));
  margin-left: var(--rand);
}

.zeiten { margin-top: 1.4rem; }

.zeiten + .schmal { margin-top: 2.2rem; }

.kulisse {
  position: relative;
  margin: 0;
}

.kulisse img {
  width: 100%;
  height: clamp(16rem, 42vw, 36rem);
  object-fit: cover;
  object-position: center 60%;
}

.kulisse img.berge { object-position: center 28%; }

.kulisse figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin: 0.5rem var(--rand) 0;
  color: var(--leise);
  font-size: 0.92rem;
}

.blatt {
  margin-top: 1.3rem;
  margin-bottom: 2.6rem;
}

.blatt h3,
.schritt h3 {
  margin: 0 0 0.5rem;
  font-family: var(--titel);
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--rot);
}

.blatt p,
.schritt p { margin: 0; }

.lage.lebt .zeiten {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 2rem;
}

.lage.lebt .kulisse {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: start;
  position: sticky;
  top: var(--kopf, 4.6rem);
  height: calc(100svh - var(--kopf, 4.6rem));
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.lage.lebt .kulisse.da { opacity: 1; }

.lage.lebt .kulisse::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 16, 12, 0.5), rgba(24, 16, 12, 0) 26%);
  pointer-events: none;
}

.lage.lebt .kulisse img { height: 100%; }

.lage.lebt .kulisse figcaption {
  position: absolute;
  z-index: 1;
  left: var(--rand);
  right: var(--rand);
  bottom: 0.9rem;
  justify-content: flex-end;
  margin: 0;
  color: rgba(247, 243, 236, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.lage.lebt .kulisse.oben figcaption {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.lage.lebt .kulisse .nachweis { color: inherit; }

.lage.lebt .blatt {
  grid-column: 1;
  position: relative;
  z-index: 1;
  width: min(27rem, calc(100% - 2 * var(--rand)));
  margin: 0 0 62svh var(--rand);
  padding: 1.5rem 1.7rem 1.6rem;
  background: rgba(244, 239, 230, 0.95);
  box-shadow: 0 1.2rem 3rem rgba(28, 20, 16, 0.28);
}

.lage.lebt .blatt:nth-of-type(1) { grid-row: 1; margin-top: 56svh; }
.lage.lebt .blatt:nth-of-type(2) { grid-row: 2; }
.lage.lebt .blatt:nth-of-type(3) { grid-row: 3; margin-bottom: 40svh; }

/* Anreise: Die Karte bleibt stehen und geht in drei Schritten näher heran.
   Ohne szenen.js stehen die drei Karten nebeneinander, die Texte darunter. */
.anreise {
  padding: clamp(1rem, 4vw, 2rem) var(--rand) clamp(4rem, 8vw, 6rem);
}

.anreise .schmal { width: min(44rem, 100%); }

.weg {
  width: min(74rem, 100%);
  margin-top: 1.6rem;
}

.lupe { margin: 0; }

.karten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.karten img {
  width: 100%;
  height: auto;
  border: 1px solid var(--linie);
}

.lupe figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  margin-top: 0.55rem;
  color: var(--leise);
  font-size: 0.92rem;
}

.schritte {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.anreise.lebt .weg {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
  width: auto;
  margin-top: 0;
}

.anreise.lebt .lupe {
  position: sticky;
  top: var(--kopf, 4.6rem);
  height: calc(100svh - var(--kopf, 4.6rem));
  display: grid;
  align-content: center;
}

/* Die Markierung liegt in karte.jpg 40 Pixel tiefer als in den beiden anderen.
   Der Ausschnitt 15 zu 8 rückt sie in allen drei Karten genau in die Mitte. */
.anreise.lebt .karten {
  display: block;
  position: relative;
  aspect-ratio: 15 / 8;
  overflow: hidden;
  border: 1px solid var(--linie);
  background: var(--papier-2);
}

.anreise.lebt .karten img {
  position: absolute;
  left: 0;
  top: -6.25%;
  width: 100%;
  max-width: none;
  height: 112.5%;
  border: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.anreise.lebt .karten img:nth-child(2) {
  top: -12.5%;
  transform-origin: 50% 55.556%;
}

.anreise.lebt .karten img + img { opacity: 0; }

.anreise.lebt .ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border: 2px solid #fff8ee;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(44, 36, 31, 0.28), 0 0.5rem 1.6rem rgba(28, 20, 16, 0.3);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.anreise.lebt .schritte {
  display: block;
  margin: 0;
  padding: 4svh 0 24svh;
}

.anreise.lebt .schritt {
  min-height: min(70svh, 42rem);
  display: grid;
  align-content: center;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.anreise.lebt .schritt.da { opacity: 1; }

.nachweis {
  color: var(--leise);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.nachweis a { color: inherit; }

.knopf {
  display: inline-block;
  margin-top: 1.6rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid rgba(247, 243, 236, 0.7);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.knopf:hover { border-color: #f7f3ec; background: rgba(247, 243, 236, 0.08); }

.band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.1rem, 5vw, 4.5rem);
}

.band.bild-zuerst .bild { order: -1; }

.band h2,
.block h2,
.rundgang h2,
.lage h2,
.anreise h2,
.buchung h2,
.gruss h2,
.folge h2 {
  margin: 0 0 1rem;
  font-family: var(--titel);
  font-weight: normal;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.band p,
.block p,
.block li,
.lage .schmal p,
.anreise .schmal p,
.buchung p,
.gruss p { margin: 0 0 0.9rem; }

.leise { color: var(--leise); }

.bild {
  margin: 0;
  overflow: hidden;
}

.bild img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.bild.hoch img { aspect-ratio: 3 / 4; }

/* Ausstattung: Das Foto soll neben der Liste nicht höher werden als der Text. */
#ausstattung .bild img { max-height: min(42rem, calc(100svh - var(--kopf, 4.6rem) - 5.5rem)); }

.dinge {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.2rem, 3vw, 2.4rem);
  margin: 1.4rem 0 0;
}

.dinge div {
  padding: 0.8rem 0 0.95rem;
  border-top: 1px solid var(--linie);
}

.dinge dt {
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rot);
}

.dinge dd {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
}

.extra {
  margin: 0.6rem 0 1.3rem;
  padding: 1.1rem 1.3rem 1.2rem;
  background: var(--papier-2);
  border-left: 3px solid var(--rot);
}

.extra h3 {
  margin: 0 0 0.35rem;
  font-family: var(--titel);
  font-weight: normal;
  font-size: 1.45rem;
  line-height: 1.15;
}

.extra p,
.lage .schmal .extra p { margin: 0; }

.lage .schmal .extra { margin: 1.4rem 0 1.3rem; }

.bild figcaption,
.buehne figcaption {
  margin-top: 0.55rem;
  color: var(--leise);
  font-size: 0.92rem;
}

/* Rundgang: Der Grundriss bleibt stehen, die Stationen laufen daneben vorbei.
   Ohne rundgang.js (Klasse .lebt fehlt) stehen Plan und Stationen untereinander. */
.rundgang {
  padding: clamp(1rem, 4vw, 2rem) clamp(1.1rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

.rundgang .einleitung {
  width: min(44rem, 100%);
  margin: 0;
  color: var(--leise);
}

.lauf {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: start;
}

.buehne { margin: 1.8rem 0 0; }

.plan { position: relative; }

.plan img {
  width: 100%;
  height: auto;
}

.plan svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.plan .schleier {
  fill: var(--papier);
  fill-rule: evenodd;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.plan .schleier.da { opacity: 0.52; }

.plan .rahmen {
  fill: none;
  stroke: var(--rot);
  stroke-width: 1.4;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.plan .rahmen.da { opacity: 0.8; }

.plan .tritte {
  fill: none;
  stroke: var(--rot);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-dasharray: 0.1 7.5;
}

.plan .hof {
  fill: var(--rot);
  opacity: 0.22;
  transform-box: fill-box;
  transform-origin: center;
  animation: puls 2.6s ease-in-out infinite;
}

.plan .kern {
  fill: var(--rot);
  stroke: #fff8ee;
  stroke-width: 1.8;
}

.stationen { padding-top: 1.8rem; }

.station { margin: 0 0 3rem; }

.station img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.station img.unten { object-position: center 88%; }

.station h3 {
  margin: 1rem 0 0.45rem;
  font-family: var(--titel);
  font-weight: normal;
  font-size: 1.6rem;
  line-height: 1.15;
  color: var(--rot);
}

.station p { margin: 0; }

.rundgang.lebt .buehne {
  position: sticky;
  top: var(--kopf, 4.6rem);
  height: calc(100svh - var(--kopf, 4.6rem));
  margin: 0;
  display: grid;
  align-content: center;
}

.rundgang.lebt .stationen { padding: 4svh 0 20svh; }

.rundgang.lebt .station {
  min-height: min(74svh, 46rem);
  margin: 0;
  display: grid;
  align-content: center;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.rundgang.lebt .station.da { opacity: 1; }

.rundgang.lebt .station img { max-height: 54svh; }

.block {
  padding: clamp(1rem, 4vw, 2rem) clamp(1.1rem, 5vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}

.block .schmal,
.fuss .innen {
  width: min(44rem, 100%);
}

.liste {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.liste li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--linie);
}

.buchung {
  padding: clamp(3rem, 7vw, 5.5rem) var(--rand);
  background: var(--papier-2);
  border-top: 1px solid var(--linie);
  border-bottom: 1px solid var(--linie);
}

.buchung .innen {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4.5rem);
  align-items: center;
  width: min(72rem, 100%);
  margin: 0 auto;
}

.buchung .liste { margin-bottom: 1.1rem; }

.buchung .liste li:last-child { border-bottom: 1px solid var(--linie); }

.gruss {
  padding: clamp(3.5rem, 8vw, 6rem) var(--rand);
  text-align: center;
}

.gruss .schmal {
  width: min(40rem, 100%);
  margin: 0 auto;
}

.gruss .post {
  margin: 1.4rem 0 0;
  font-family: var(--titel);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.gruss .post a {
  color: var(--rot);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.kalender {
  min-height: 18rem;
  margin-top: 1.6rem;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--papier-2);
  border: 1px solid var(--linie);
  color: var(--leise);
}

.buchung .kalender {
  min-height: 24rem;
  margin-top: 0;
  background: var(--papier);
}

.folge {
  padding: 1rem clamp(1.1rem, 5vw, 4.5rem) clamp(4rem, 8vw, 6rem);
}

.folge h2,
.folge .einleitung {
  width: min(72rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.folge h2 { margin-top: 0; }

.folge .einleitung {
  margin-bottom: 1.8rem;
  color: var(--leise);
}

.folge .hinweis {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.mosaik {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(9rem, 15vw, 15rem);
  grid-auto-flow: dense;
  gap: clamp(0.5rem, 1.2vw, 0.9rem);
  width: min(72rem, 100%);
  margin: 0 auto;
}

.mosaik figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  grid-column: span 2;
}

.mosaik .gross { grid-column: span 4; grid-row: span 2; }
.mosaik .hoch { grid-row: span 2; }
.mosaik .halb { grid-column: span 3; grid-row: span 2; }
.mosaik .breit { grid-column: span 6; grid-row: span 2; }
.mosaik .breit img { object-position: center 42%; }

.mosaik a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.mosaik img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mosaik a:hover img { transform: scale(1.03); }

.mosaik figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.9rem 0.65rem;
  background: linear-gradient(to top, rgba(24, 16, 12, 0.62), rgba(24, 16, 12, 0));
  color: #f7f3ec;
  font-size: 0.92rem;
  pointer-events: none;
}

.leuchtkasten {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 14, 11, 0.96);
  color: #f7f3ec;
}

.leuchtkasten::backdrop { background: rgba(20, 14, 11, 0.9); }

.leuchtkasten .bahn {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.leuchtkasten .bahn::-webkit-scrollbar { display: none; }

.leuchtkasten figure {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: center;
  align-items: center;
  padding: 4.5rem 4.5rem 1.4rem;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.leuchtkasten img {
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
}

.leuchtkasten figcaption {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: rgba(247, 243, 236, 0.82);
}

.leuchtkasten button {
  position: absolute;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(247, 243, 236, 0.4);
  border-radius: 50%;
  background: rgba(20, 14, 11, 0.4);
  color: #f7f3ec;
  font: inherit;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.leuchtkasten button:hover { border-color: #f7f3ec; }
.leuchtkasten button:focus-visible { outline: 2px solid #f7f3ec; outline-offset: 3px; }
.leuchtkasten .zu { top: 1rem; right: 1rem; }
.leuchtkasten .zurueck { left: 1rem; top: 50%; translate: 0 -50%; }
.leuchtkasten .weiter { right: 1rem; top: 50%; translate: 0 -50%; }

.leuchtkasten .zaehler {
  position: absolute;
  top: 1.6rem;
  left: 1.4rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(247, 243, 236, 0.7);
}

.fuss {
  padding: 2rem clamp(1.1rem, 5vw, 4.5rem) 2.6rem;
  border-top: 1px solid var(--linie);
  color: var(--leise);
}

.fuss a { margin-right: 1.2rem; }

.seite {
  width: min(42rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.seite h1 {
  margin: 0 0 1.2rem;
  font-family: var(--titel);
  font-weight: normal;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.seite h2 {
  margin: 2rem 0 0.55rem;
  font-family: var(--titel);
  font-weight: normal;
  font-size: clamp(1.3rem, 2.4vw, 1.55rem);
  line-height: 1.25;
}

.seite p { margin: 0 0 0.9rem; }

.seite ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.seite li { margin-bottom: 0.35rem; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bild img {
      animation: heben linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 35%;
    }

    .held img {
      animation: nah linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    .mosaik figure {
      animation: wachsen linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
  }
}

@keyframes wachsen {
  0% { transform: scale(0.82); opacity: 0.35; }
  28% { transform: scale(1); opacity: 1; }
  78% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

@keyframes heben {
  from { transform: translateY(1.4rem); }
  to { transform: none; }
}

@keyframes nah {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes puls {
  0%, 100% { transform: scale(1); opacity: 0.24; }
  50% { transform: scale(1.5); opacity: 0.08; }
}

@media (max-width: 860px) {
  .kopf {
    display: block;
    padding: 0.6rem var(--rand) 0;
  }
  .wortmarke span {
    display: inline;
    margin-left: 0.7rem;
  }
  .navi {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 1.15rem;
    margin: 0.2rem calc(-1 * var(--rand)) 0;
    padding: 0 2.6rem 0 var(--rand);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }
  /* Die Leiste läuft seitlich aus. Die Ränder blenden weich aus. */
  .kopf::before,
  .kopf::after {
    content: "";
    position: absolute;
    bottom: 1px;
    height: 2.5rem;
    pointer-events: none;
  }
  .kopf::before {
    left: 0;
    width: var(--rand);
    background: linear-gradient(to right, var(--papier), rgba(244, 239, 230, 0));
  }
  .kopf::after {
    right: 0;
    width: 2.4rem;
    background: linear-gradient(to left, var(--papier), rgba(244, 239, 230, 0));
  }
  .navi::-webkit-scrollbar { display: none; }
  .navi a { padding: 0.5rem 0 0.65rem; }
  .navi .sprache {
    position: absolute;
    top: 0.85rem;
    right: var(--rand);
    margin: 0;
    padding: 0;
  }
  .band,
  .band.bild-zuerst .bild { display: block; }
  .bild { margin-bottom: 1.4rem; }
  #ausstattung .bild img { max-height: none; }
  .dinge { grid-template-columns: 1fr; }
  .karten,
  .schritte { grid-template-columns: 1fr; }
  .buchung .innen { display: block; }
  .buchung .kalender { min-height: 18rem; margin-top: 1.6rem; }
  .lage.lebt .blatt { padding: 1.2rem 1.3rem 1.3rem; }
  .anreise.lebt .weg { display: block; }
  .anreise.lebt .lupe {
    z-index: 2;
    height: auto;
    display: block;
    margin: 1rem calc(-1 * var(--rand)) 0;
    padding: 0.7rem var(--rand) 0.55rem;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
  }
  .anreise.lebt .schritte { padding: 1.2rem 0 1rem; }
  .anreise.lebt .schritt {
    min-height: 44svh;
    padding: 1.5rem 0;
  }
  .mosaik {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 9.5rem;
  }
  .mosaik figure { grid-column: span 1; }
  .mosaik .gross,
  .mosaik .halb,
  .mosaik .breit { grid-column: span 2; grid-row: span 2; }
  .lauf { display: block; }
  .rundgang.lebt .buehne {
    z-index: 2;
    height: auto;
    display: block;
    margin: 1rem calc(-1 * clamp(1.1rem, 5vw, 4.5rem)) 0;
    padding: 0.7rem clamp(1.1rem, 5vw, 4.5rem) 0.55rem;
    background: var(--papier);
    border-bottom: 1px solid var(--linie);
  }
  .rundgang.lebt .stationen { padding: 1.2rem 0 1rem; }
  .rundgang.lebt .station {
    min-height: 0;
    display: block;
    padding: 1.5rem 0;
  }
  .rundgang.lebt .station img { max-height: none; }
  .leuchtkasten figure { padding: 4rem 0.6rem 1rem; }
  .leuchtkasten .zurueck,
  .leuchtkasten .weiter { top: auto; bottom: 1rem; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mosaik img { transition: none; }
}
