/* Geführte Tour: Licht, Pfeil, Zeiger und Erklärung */
.tour { position: fixed; inset: 0; z-index: 3000; pointer-events: none; opacity: 0; transition: opacity .2s ease; }
.tour--an { opacity: 1; }

.tour__licht { position: fixed; border-radius: 12px; box-shadow: 0 0 0 200vmax rgba(24, 12, 20, .68); transition: left .32s ease, top .32s ease, width .32s ease, height .32s ease; }
.tour__licht::after { content: ''; position: absolute; inset: 0; border: 2px solid var(--akzent); border-radius: inherit; animation: tour-puls 1.7s ease-out infinite; }
.tour__licht--aus::after { display: none; }
@keyframes tour-puls {
  0% { box-shadow: 0 0 0 0 rgba(226, 182, 92, .75); }
  100% { box-shadow: 0 0 0 16px rgba(226, 182, 92, 0); }
}

.tour__pfeil { position: fixed; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tour__bahn, .tour__spitze { fill: none; stroke: var(--akzent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tour__bahn { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tour-zeichnen .5s ease-out .12s forwards; }
.tour__spitze { opacity: 0; animation: tour-auf .16s linear .56s forwards, tour-wippen 1.1s ease-in-out .8s infinite; }
@keyframes tour-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes tour-auf { to { opacity: 1; } }
@keyframes tour-wippen { 50% { stroke-width: 4.5; } }

.tour__zeiger { position: fixed; width: 44px; height: 44px; margin: -6px 0 0 -14px; opacity: 0; transition: left .6s cubic-bezier(.3, .1, .2, 1), top .6s cubic-bezier(.3, .1, .2, 1), opacity .12s linear; }
.tour__zeiger svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: var(--dunkel); stroke-width: 1.3; stroke-linejoin: round; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .4)); transition: transform .13s ease; }
.tour__zeiger--an { opacity: 1; }
.tour__zeiger--tippt svg { transform: scale(.84); }
.tour__zeiger::before { content: ''; position: absolute; left: 14px; top: 6px; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; }
.tour__zeiger--tippt::before { animation: tour-tippen .3s ease-out; }
@keyframes tour-tippen {
  0% { box-shadow: 0 0 0 0 rgba(226, 182, 92, .9); }
  100% { box-shadow: 0 0 0 30px rgba(226, 182, 92, 0); }
}

.tour__blase { position: fixed; width: min(370px, calc(100vw - 24px)); padding: 1.05rem 1.2rem 1rem; border-top: 3px solid var(--akzent); border-radius: var(--r); background: var(--flaeche); color: var(--text); box-shadow: 0 18px 50px rgba(0, 0, 0, .38); pointer-events: auto; transition: left .32s ease, top .32s ease; }
.tour__blase h2 { margin: 0 0 .35rem; font-size: 1.35rem; line-height: 1.2; }
.tour__blase p { margin: 0; line-height: 1.5; }
.tour__zaehler { margin-bottom: .25rem !important; color: var(--text-2); font-size: .88rem; font-variant-numeric: tabular-nums; }
.tour__knoepfe { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; margin-top: .9rem; }
.tour__aus { margin-right: auto; min-height: 44px; padding: 0 .3rem; border: 0; background: none; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.tour__aus:hover { color: var(--text); }

.tour-wahl { display: grid; gap: .6rem; }

@media (prefers-reduced-motion: reduce) {
  .tour, .tour__licht, .tour__blase { transition: none; }
  .tour__licht::after, .tour__spitze { animation: none; }
  .tour__spitze { opacity: 1; }
  .tour__bahn { animation: none; stroke-dashoffset: 0; }
}
