.reise { --rs-gold: #d4b673; --rs-hell: #efe6cf; position: relative; background: #0b101d; overflow-x: clip; }
.rs-spur { position: relative; }
.rs-buehne {
  position: sticky; top: var(--kopf); height: calc(100vh - var(--kopf)); height: calc(100svh - var(--kopf)); min-height: 420px;
  overflow: hidden; isolation: isolate; touch-action: pan-y; contain: layout paint;
}
.rs-himmel, .rs-welt { position: absolute; inset: 0; pointer-events: none; }
.rs-h { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.rs-h:first-child { opacity: 1; }

.rs-sterne { position: absolute; inset: 0 0 18% 0; opacity: 0; will-change: opacity; }
.rs-sterne-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rs-sterne::before {
  content: ''; position: absolute; left: -20%; right: -20%; top: 18%; height: 30%; transform: rotate(-14deg);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(214, 214, 255, .13), rgba(214, 214, 255, 0) 70%);
}
.rs-funkeln i {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff8e6;
  box-shadow: 0 0 6px 1px rgba(255, 248, 230, .75); animation: rs-funkeln 4s ease-in-out infinite;
}
@keyframes rs-funkeln { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }
.rs-schnuppe {
  position: absolute; left: 18%; top: 10%; width: 120px; height: 1.5px; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, rgba(255, 250, 235, 0), rgba(255, 250, 235, .95));
  transform: rotate(18deg); animation: rs-schnuppe 13s linear infinite 4s;
}
@keyframes rs-schnuppe {
  0%, 88% { opacity: 0; transform: translate3d(0, 0, 0) rotate(18deg); }
  90% { opacity: 1; }
  96%, 100% { opacity: 0; transform: translate3d(260px, 84px, 0) rotate(18deg); }
}
.rs-sonne, .rs-mond { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.rs-sonne::before {
  content: ''; position: absolute; width: 56vmin; height: 56vmin; left: -28vmin; top: -28vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 220, .6), rgba(255, 238, 196, .2) 30%, rgba(255, 238, 196, 0) 66%);
}
.rs-sonne::after {
  content: ''; position: absolute; width: 8vmin; height: 8vmin; left: -4vmin; top: -4vmin; border-radius: 50%;
  background: radial-gradient(circle, #fffbf1 0 52%, #fff0cc 64%, rgba(255, 240, 204, 0) 71%);
}
.rs-sonne-w {
  position: absolute; z-index: 1; width: 40vmin; height: 40vmin; left: -20vmin; top: -20vmin; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, #ffe2b0 0 9%, #ffb062 10.5%, rgba(255, 140, 70, .35) 13%, rgba(255, 130, 70, .12) 34%, rgba(255, 130, 70, 0) 62%);
}
.rs-mond {
  width: 5.4vmin; height: 5.4vmin; margin: -2.7vmin 0 0 -2.7vmin; border-radius: 50%; opacity: 0;
  box-shadow: inset -1.35vmin .55vmin 0 0 #f2e9cc; filter: drop-shadow(0 0 14px rgba(242, 233, 204, .45));
}

.rs-ebene { position: absolute; left: 0; bottom: 0; will-change: transform; overflow: visible; }
.rs-tafel text { font-family: var(--f-titel); }
.rs-t-name { font-size: 34px; font-weight: 600; fill: #2b241b; letter-spacing: .01em; }
.rs-t-gegen { font-size: 24px; font-style: italic; fill: #5c4a33; }
.rs-t-nr { font-size: 19px; letter-spacing: .3em; fill: #6b5024; }

.rs-fluegel { transform-box: view-box; transform-origin: 0 0; animation: rs-dreh 16s linear infinite; }
.rs-kreisen { transform-box: view-box; transform-origin: 0 0; animation: rs-dreh 30s linear infinite; }
@keyframes rs-dreh { to { transform: rotate(360deg); } }
.rs-wiege { transform-box: fill-box; transform-origin: 50% 100%; animation: rs-wiegen 7s ease-in-out infinite; }
@keyframes rs-wiegen { 0%, 100% { transform: rotate(-.8deg) translateY(0); } 50% { transform: rotate(.8deg) translateY(2px); } }
.rs-glanz { animation: rs-glanz 4.5s ease-in-out infinite; opacity: .15; }
@keyframes rs-glanz { 50% { opacity: .75; } }
.rs-fliessen { animation: rs-fliessen 3.3s linear infinite; opacity: 0; }
.rs-fliessen.rs-langsam { animation-duration: 6s; }
@keyframes rs-fliessen { 0% { transform: translateX(-18px); opacity: 0; } 40%, 60% { opacity: 1; } 100% { transform: translateX(26px); opacity: 0; } }

.rs-troika { position: absolute; left: 0; top: 0; overflow: visible; transform-origin: 54.55% 94.1%; will-change: transform; }
.rs-rad { transform-box: fill-box; transform-origin: center; }
.rs-bein { transform-box: fill-box; transform-origin: 50% 0; }
.rs-staub circle { fill: rgba(205, 186, 148, .45); opacity: 0; }
.rs-laterne { opacity: 0; }
.faehrt .rs-bein { animation: rs-galopp .46s linear infinite; }
.faehrt .rs-b2 { animation-delay: -.08s; }
.faehrt .rs-b3 { animation-delay: -.23s; }
.faehrt .rs-b4 { animation-delay: -.31s; }
.faehrt .rs-gespann > g:nth-child(2) .rs-bein { animation-duration: .5s; }
.faehrt .rs-gespann > g:nth-child(1) .rs-bein { animation-duration: .43s; }
@keyframes rs-galopp { 0%, 100% { transform: rotate(26deg); } 50% { transform: rotate(-24deg); } }
.faehrt .rs-pferd { animation: rs-hops .23s ease-in-out infinite alternate; }
@keyframes rs-hops { to { transform: translateY(-2.5px); } }
.faehrt .rs-kasten { animation: rs-ruettel .17s ease-in-out infinite alternate; }
@keyframes rs-ruettel { to { transform: translateY(-1.2px); } }
.faehrt .rs-staub circle { animation: rs-staub .7s ease-out infinite; }
.faehrt .rs-staub circle:nth-child(2) { animation-delay: -.25s; }
.faehrt .rs-staub circle:nth-child(3) { animation-delay: -.5s; }
@keyframes rs-staub { 0% { opacity: .8; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(-26px, -10px) scale(1.8); } }
.rs-staub circle { transform-box: fill-box; transform-origin: center; }

:root[data-abend="an"] .rs-welt::after { content: ''; position: absolute; inset: 0; background: rgba(8, 6, 4, .14); }

.rs-kopf {
  position: absolute; z-index: 3; left: 0; right: 0; top: 8%; text-align: center; padding: 0 var(--rand);
  color: #1e2b26; will-change: opacity;
}
.rs-kopf.weg { pointer-events: none; }
.rs-oben { color: #4c4c3f; letter-spacing: .3em; margin: 0 0 1em; }
.rs-kopf h1 { margin: 0; font-weight: 300; }
.rs-t1 { display: block; font-family: var(--f-titel); font-size: clamp(3.4rem, 10vw, 7.6rem); line-height: .92; color: #1c2925; text-shadow: 0 1px 34px rgba(255, 248, 230, .7); }
.rs-t2 { display: block; font-family: var(--f-titel); font-style: italic; font-size: clamp(1.3rem, 2.8vw, 2.1rem); color: #6b4f1f; margin-top: .3em; font-weight: 400; }
.rs-hinweis { margin: 2.2em 0 0; font-size: .86rem; letter-spacing: .22em; text-transform: uppercase; color: #3d4239; }
.rs-hinweis span { display: inline-block; animation: rs-schweben 2.6s ease-in-out infinite; }
@keyframes rs-schweben { 50% { transform: translateY(5px); } }
.rs-los { min-height: 44px; font-size: 1rem; margin-top: 1.1em; border-color: rgba(30, 43, 38, .45); color: #1e2b26; background: rgba(255, 250, 238, .35); }
.rs-los:hover { background: #1e2b26; color: #f4eddd; }

.rs-stationen { list-style: none; margin: 0; padding: 0; }
.rs-karte {
  position: absolute; z-index: 3; left: clamp(14px, 3.2vw, 52px); top: clamp(14px, 4.5vh, 46px);
  width: min(27.5rem, 40vw); max-height: calc(100% - 170px); overflow: auto; overscroll-behavior: contain;
  opacity: 0; pointer-events: none; will-change: opacity, transform;
  background: color-mix(in srgb, var(--papier) 92%, transparent); color: var(--tinte);
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent); border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 22px 50px -22px rgba(0, 0, 0, .6);
  padding: 20px 24px 18px; scrollbar-width: thin;
}
.rs-karte::before { content: ''; position: absolute; inset: 5px; border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent); pointer-events: none; border-radius: 2px; }
.rs-karte.ist { pointer-events: auto; }
.rs-karte article { position: relative; }
.rs-k-nr { display: flex; align-items: baseline; gap: .7em; margin: 0 0 .35em; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.rs-k-roem { font-family: var(--f-titel); font-size: 1.15rem; letter-spacing: .08em; color: var(--bordeaux); text-transform: none; }
.rs-k-name { margin: 0 0 .5em; font-family: var(--f-titel); font-weight: 500; font-size: clamp(1.75rem, 2.7vw, 2.45rem); line-height: 1.04; }
.rs-k-name .rs-k-gegen { display: block; margin-top: .14em; font-size: .6em; font-style: italic; font-weight: 400; color: var(--grau); }
.rs-k-text { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.rs-k-block h3 { margin: .95em 0 .45em; padding-top: .75em; border-top: 1px solid var(--linie); font-family: var(--f-text); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--grau); }
.rs-k-block h3 small { font-size: 1em; letter-spacing: .06em; text-transform: none; }
.rs-k-werke { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rs-k-werke a { display: inline-block; min-height: 44px; padding: .3em 0; font-family: var(--f-titel); font-size: 1.2rem; line-height: 1.25; color: var(--bordeaux); text-decoration: none; }
.rs-k-werke a:hover, .rs-k-werke a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.rs-k-werke a::before { content: '❧ '; color: var(--gold); }
.rs-k-werke .rs-k-gegen { display: block; padding-left: 1.15em; font-style: italic; font-size: .8em; color: var(--grau); }
.rs-k-jahr { font-family: var(--f-text); font-size: .9rem; color: var(--grau); letter-spacing: .06em; }
.rs-k-chronik { list-style: none; margin: 0; padding: 0; font-size: 1rem; line-height: 1.42; color: var(--tinte-2); }
.rs-k-chronik li + li { margin-top: .38em; }
.rs-k-mehr > summary {
  display: none; margin-top: .8em; padding-top: .6em; border-top: 1px solid var(--linie); cursor: pointer;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text);
  min-height: 44px; padding-bottom: .4em;
}
.rs-k-mehr[open] > summary { margin-bottom: -.2em; }
.rs-k-chronik b { font-family: var(--f-titel); font-size: 1.05rem; font-weight: 600; color: var(--gold-text); margin-right: .3em; }

.rs-ende {
  position: absolute; z-index: 3; left: 50%; top: clamp(14px, 6vh, 70px); width: min(35rem, calc(100% - 28px));
  max-height: calc(100% - 160px); overflow: auto; text-align: center; color: var(--rs-hell);
  opacity: 0; pointer-events: none; will-change: opacity, transform; transform: translate3d(-50%, 0, 0);
  padding: 22px 28px 20px; border-radius: 3px; border: 1px solid rgba(212, 182, 115, .26);
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 182, 115, .1), rgba(212, 182, 115, 0) 70%), rgba(8, 11, 24, .58);
  scrollbar-width: thin;
}
.rs-ende.ist { pointer-events: auto; }
.rs-ende .kimm { display: block; width: min(220px, 60%); margin: 0 auto .4em; color: var(--rs-gold); }
.rs-ende h2 { margin: 0 0 .7em; font-family: var(--f-titel); font-weight: 300; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #f4ead2; }
.rs-lied { margin: 0 0 1.1em; }
.rs-lied blockquote { margin: 0; }
.rs-lied p { margin: 0 0 .7em; }
.rs-lied p[lang="ru"] { font-family: var(--f-titel); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.35; color: #f6eedb; }
.rs-lied-de { font-style: italic; font-size: 1rem; line-height: 1.45; color: rgba(239, 230, 207, .78); }
.rs-lied figcaption { font-size: .9rem; color: rgba(239, 230, 207, .62); }
.rs-lied figcaption a { color: var(--rs-gold); display: inline-flex; align-items: center; min-height: 44px; }
.rs-ende-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.rs-ende .knopf.voll { background: var(--rs-gold); border-color: var(--rs-gold); color: #1a150e; }
.rs-ende .knopf.voll:hover { background: #e3c98d; border-color: #e3c98d; color: #1a150e; }
.rs-ende .rs-hell { border-color: rgba(212, 182, 115, .6); color: var(--rs-hell); }
.rs-ende .rs-hell:hover { background: rgba(212, 182, 115, .16); color: #fff; }
.rs-frei { margin: 1.1em 0 0; font-size: .86rem; color: rgba(239, 230, 207, .55); }

.rs-leiste {
  position: absolute; z-index: 4; left: 50%; bottom: 10px; transform: translateX(-50%); width: min(980px, calc(100% - 210px));
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 7px 8px; border-radius: 99px; background: rgba(10, 12, 20, .62); color: var(--rs-hell);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .7);
}
.rs-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: 6px 16px;
  border-radius: 99px; border: 1px solid rgba(212, 182, 115, .5); background: none; color: #f1e7cf;
  font: inherit; font-size: .95rem; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, opacity .2s;
}
.rs-knopf > span[aria-hidden] { font-size: 1.35rem; line-height: 1; margin-top: -2px; }
.rs-knopf:hover { background: rgba(212, 182, 115, .16); }
.rs-knopf:disabled { opacity: .32; cursor: default; background: none; }
.rs-weiter { background: var(--rs-gold); border-color: var(--rs-gold); color: #1a150e; }
.rs-weiter:hover { background: #e3c98d; }
.rs-weiter:disabled { background: var(--rs-gold); }
.rs-knopf:focus-visible, .rs-route button:focus-visible, .rs-los:focus-visible { outline: 2px solid var(--rs-gold); outline-offset: 3px; }
.rs-route { position: relative; min-width: 0; }
.rs-linie { position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: rgba(239, 230, 207, .2); }
.rs-fortschritt { position: absolute; inset: 0; background: var(--rs-gold); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.rs-route ol { position: relative; list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; }
.rs-route button {
  position: relative; width: 28px; height: 28px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(239, 230, 207, .42); background: #141723; color: rgba(239, 230, 207, .78);
  font: 600 .62rem/1 var(--f-titel); letter-spacing: .02em;
}
.rs-route button::after { content: ''; position: absolute; inset: -8px -2px; }
.rs-route button:hover { border-color: var(--rs-gold); color: var(--rs-gold); }
.rs-route button.vorbei { border-color: var(--rs-gold); color: var(--rs-gold); }
.rs-route button[aria-current] { background: var(--rs-gold); color: #1a150e; border-color: var(--rs-gold); transform: scale(1.12); }
.rs-wo { margin: 3px 0 0; min-height: 1.25em; text-align: center; font-size: .86rem; letter-spacing: .08em; color: rgba(239, 230, 207, .76); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.rs-leiste { container-type: inline-size; }
@container (max-width: 700px) {
  .rs-knopf { width: 44px; height: 44px; padding: 0; }
  .rs-knopf .rs-kt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 719px) {
  .rs-karte { left: 10px; right: 10px; top: 10px; width: auto; max-height: 47%; padding: 15px 17px 14px; }
  .rs-k-name { font-size: 1.7rem; margin-bottom: .4em; }
  .rs-k-text { font-size: 1rem; line-height: 1.45; }
  .rs-k-chronik { font-size: 1rem; }
  .rs-ende { top: 10px; padding: 18px 16px; max-height: calc(100% - 130px); }
  .rs-leiste { border-radius: 16px; bottom: 8px; left: 66px; right: 8px; width: auto; transform: none; gap: 6px; padding: 7px; grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .rs-knopf { width: 44px; height: 44px; min-height: 44px; padding: 0; }
  .rs-knopf .rs-kt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rs-route button { width: 22px; height: 22px; font-size: .5rem; }
  .rs-route button::after { inset: -11px -1px; }
  .rs-linie { top: 10px; left: 10px; right: 10px; }
  .rs-wo { font-size: .82rem; letter-spacing: .04em; }
  .rs-k-mehr > summary { display: list-item; }
  .rs-kopf { top: 6%; }
  .rs-t1 { font-size: clamp(3rem, 15vw, 4.4rem); }
}
@media (max-width: 360px) { .rs-route button { width: 19px; height: 19px; font-size: .45rem; } }

@media (hover: none) { .rs-karte, .rs-ende { overscroll-behavior: auto; } }

@media (max-height: 520px) and (orientation: landscape) {
  .rs-buehne { min-height: 0; }
  .rs-karte { top: 10px; max-height: calc(100% - 84px); padding: 14px 18px 12px; }
  .rs-k-name { font-size: 1.6rem; }
  .rs-ende { top: 8px; max-height: calc(100% - 80px); padding: 14px 18px; }
  .rs-leiste { bottom: 6px; }
  .rs-kopf { top: 4%; }
}

.rs-still .rs-buehne { position: relative; top: auto; height: min(calc(100svh - var(--kopf) - 40px), 780px); min-height: 520px; }
.rs-still .rs-kopf { position: static; padding: clamp(24px, 4vw, 40px) var(--rand) 22px; background: var(--papier); color: var(--tinte); }
.rs-still .rs-t1 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: var(--tinte); text-shadow: none; }
.rs-still .rs-t2 { color: var(--gold-text); }
.rs-still .rs-oben { color: var(--grau); }
.rs-pause * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .reise *, .reise *::before, .reise *::after { animation: none !important; transition: none !important; }
}
:root[data-ruhig="an"] .rs-schnuppe { display: none; }
