/* Handbuch für Tester (DEC-089): oben der Rundgang „Der erste Abend“, darunter Nachschlagen.
   Lädt nach einladung.css und nutzt deren Farben aus :root; hier steht keine feste Farbe.
   Jede Bewegung höchstens 260 ms, bei reduzierter Bewegung steht alles still. */
.hb-kopf { padding: clamp(40px, 8vw, 88px) var(--rand) 32px; max-width: 1180px; margin: 0 auto; }
.hb-kopf h1 { font-size: clamp(38px, 7.4vw, 56px); margin: 14px 0 16px; }
.hb-satz { font: italic 400 21px/1.4 var(--serife); color: var(--leise); max-width: 46ch; }
.hb-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hb-zurueck { display: inline-flex; align-items: center; min-height: 44px; color: var(--leise); font-size: 15px; }

.hb-teil { max-width: 1180px; margin: 0 auto; padding: 0 var(--rand); }
.hb-teil-kopf { padding: 56px 0 8px; }
.hb-teil-kopf h2 { font-size: clamp(28px, 4.6vw, 40px); margin-top: 12px; }
.hb-teil-kopf p:not(.eyebrow) { color: var(--leise); margin-top: 12px; max-width: 60ch; }

/* Laufleiste des Rundgangs: klebt nur, solange der Rundgang im Bild ist. */
.hb-lauf { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 0; background: var(--grund); border-bottom: 1px solid var(--haar); font-size: 14.5px; color: var(--leise); }
.hb-lauf b { color: var(--tinte); font-weight: 600; }
.hb-balken { flex: 1; height: 6px; border-radius: 3px; background: var(--flaeche-2); overflow: hidden; }
.hb-balken i { display: block; height: 100%; background: var(--akzent); transform-origin: left; transform: scaleX(0.2); transition: transform 240ms var(--aus); }
.hb-balken[data-stand="2"] i { transform: scaleX(0.4); }
.hb-balken[data-stand="3"] i { transform: scaleX(0.6); }
.hb-balken[data-stand="4"] i { transform: scaleX(0.8); }
.hb-balken[data-stand="5"] i { transform: scaleX(1); }

.hb-station { display: grid; gap: 28px; padding: 56px 0; border-bottom: 1px solid var(--haar); align-items: center; }
.hb-station .tel { --b: min(280px, 72vw); margin: 0 auto; }
.hb-nr { font: 500 12.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--akzent); }
.hb-station h2 { font-size: clamp(28px, 4.4vw, 40px); margin: 12px 0 14px; }
.hb-station p { max-width: 54ch; }
.hb-griffe { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; max-width: 54ch; }
.hb-griffe li { display: flex; gap: 12px; align-items: flex-start; }
.hb-n { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--warm); color: var(--auf-akzent); font: 600 13px/1 var(--schrift); }
.hb-hinweis { margin-top: 18px; padding-left: 12px; border-left: 3px solid var(--warm); color: var(--leise); font-size: 15.5px; }

/* Punkte auf dem Bildschirmfoto: dieselbe Zahl wie im Satz daneben. */
.hb-punkt { position: absolute; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--warm); color: var(--auf-akzent); font: 600 14px/1 var(--schrift); box-shadow: 0 0 0 3px var(--blitz), 0 0 0 5px var(--warm), 0 6px 14px var(--schatten); }
.hb-js .hb-station .hb-punkt { opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--aus), transform 240ms var(--aus); }
.hb-js .hb-station.ist-da .hb-punkt { opacity: 1; transform: none; }
.hb-js .hb-station.ist-da .hb-punkt:nth-of-type(2) { transition-delay: 120ms; }
.hb-js .hb-station.ist-da .hb-punkt:nth-of-type(3) { transition-delay: 240ms; }

.hb-probe { display: flex; gap: 14px; align-items: center; width: 100%; max-width: 54ch; min-height: 64px; margin-top: 24px; padding: 14px 16px; border: 1.5px solid var(--haar-stark); border-radius: 16px; background: var(--flaeche); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color 200ms var(--aus), background-color 200ms var(--aus); }
.hb-probe i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--haar-stark); transition: background-color 200ms var(--aus), border-color 200ms var(--aus); }
.hb-probe i::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--auf-akzent); border-bottom: 2.5px solid var(--auf-akzent); transform: rotate(-45deg) translateY(-1px) scale(0); transition: transform 200ms var(--aus); }
.hb-probe[aria-pressed="true"] { border-color: var(--akzent); background: var(--akzent-sanft); }
.hb-probe[aria-pressed="true"] i { background: var(--akzent); border-color: var(--akzent); }
.hb-probe[aria-pressed="true"] i::after { transform: rotate(-45deg) translateY(-1px) scale(1); }
.hb-probe b { display: block; font-weight: 600; line-height: 1.3; }
.hb-probe small { display: block; margin-top: 2px; color: var(--leise); font-size: 13.5px; }

/* Nachschlagen */
.hb-such { margin-top: 20px; }
.hb-such input { width: 100%; min-height: 56px; padding: 0 18px; border: 1.5px solid var(--haar-stark); border-radius: 18px; background: var(--flaeche); color: inherit; font: inherit; }
.hb-such input:focus { outline: none; border-color: var(--akzent); }
.hb-stand { min-height: 28px; margin-top: 12px; font: italic 400 18px/1.4 var(--serife); color: var(--leise); }
.hb-gruppe { padding-top: 32px; scroll-margin-top: 16px; }
.hb-gruppe h3 { font-size: 28px; }
.hb-gruppe h3 small { margin-left: 10px; font: 400 15px/1 var(--schrift); letter-spacing: 0; color: var(--leise); }
.hb-liste { margin-top: 12px; border-radius: var(--r-karte); background: var(--flaeche); box-shadow: 0 0 0 1px var(--haar); overflow: hidden; }
.hb-frage + .hb-frage { border-top: 1px solid var(--haar); }
.hb-frage summary { display: grid; grid-template-columns: 1fr 12px; gap: 16px; align-items: center; min-height: 68px; padding: 12px 20px; cursor: pointer; list-style: none; }
.hb-frage summary::-webkit-details-marker { display: none; }
.hb-frage summary b { display: block; font-weight: 600; line-height: 1.3; }
.hb-frage summary small { color: var(--leise); font-size: 14px; }
.hb-frage summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--hauch); border-bottom: 2px solid var(--hauch); transform: rotate(45deg) translateY(-3px); transition: transform 200ms var(--aus); }
.hb-frage[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.hb-antwort { display: grid; gap: 24px; padding: 8px 20px 28px; }
.hb-antwort .tel { --b: min(220px, 60vw); margin: 0 auto; }
.hb-weg { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 10px; background: var(--akzent-sanft); color: var(--akzent); font-weight: 600; font-size: 14.5px; }
.hb-antwort p { margin-top: 12px; color: var(--leise); max-width: 54ch; }
.hb-leer { margin-top: 28px; padding: 24px; border-radius: var(--r-karte); background: var(--flaeche-2); }
.hb-leer p { margin-top: 6px; color: var(--leise); }

/* Leiste wie in der App: klebt unten, solange das Nachschlagen im Bild ist. */
.hb-reiter { position: sticky; bottom: 0; z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 560px; margin: 32px auto 0; padding-bottom: env(safe-area-inset-bottom); background: var(--flaeche); border: 1px solid var(--haar); border-bottom: 0; border-radius: 18px 18px 0 0; }
.hb-reiter a { display: grid; place-items: center; min-height: 52px; color: var(--leise); font-weight: 600; font-size: 13.5px; text-decoration: none; }
.hb-reiter a.ist-da { color: var(--akzent); }

.hb-schluss { max-width: 1180px; margin: 0 auto; padding: 72px var(--rand); }
.hb-schluss h2 { font-size: clamp(28px, 4.6vw, 40px); margin: 12px 0 14px; }
.hb-schluss p:not(.eyebrow) { color: var(--leise); max-width: 54ch; margin-bottom: 24px; }

@media (min-width: 860px) {
  .hb-station { grid-template-columns: 340px 1fr; gap: 72px; padding: 80px 0; }
  .hb-station:nth-of-type(even) .tel { order: 2; }
  .hb-antwort { grid-template-columns: 240px 1fr; gap: 40px; align-items: center; padding: 16px 32px 36px; }
  .hb-antwort.hb-ohne-bild { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hb-balken i, .hb-probe, .hb-probe i, .hb-probe i::after, .hb-frage summary::after, .hb-js .hb-station .hb-punkt { transition: none; }
  .hb-js .hb-station .hb-punkt { opacity: 1; transform: none; }
}

/* Punkt-Lagen in Prozent des Bildschirmfotos (statt style=, wegen der strikten CSP). */
.hb-x9 { left: 9%; }
.hb-x11 { left: 11%; }
.hb-x19 { left: 19%; }
.hb-x21 { left: 21%; }
.hb-x24 { left: 24%; }
.hb-x26 { left: 26%; }
.hb-x28 { left: 28%; }
.hb-x30 { left: 30%; }
.hb-x40 { left: 40%; }
.hb-x42 { left: 42%; }
.hb-x43 { left: 43%; }
.hb-x45 { left: 45%; }
.hb-x50 { left: 50%; }
.hb-x51 { left: 51%; }
.hb-x58 { left: 58%; }
.hb-x71 { left: 71%; }
.hb-x72 { left: 72%; }
.hb-x73 { left: 73%; }
.hb-x78 { left: 78%; }
.hb-x85 { left: 85%; }
.hb-x86 { left: 86%; }
.hb-x90 { left: 90%; }
.hb-x92 { left: 92%; }
.hb-x95 { left: 95%; }
.hb-y11 { top: 11%; }
.hb-y20 { top: 20%; }
.hb-y24 { top: 24%; }
.hb-y25 { top: 25%; }
.hb-y33 { top: 33%; }
.hb-y34 { top: 34%; }
.hb-y38 { top: 38%; }
.hb-y39 { top: 39%; }
.hb-y40 { top: 40%; }
.hb-y42 { top: 42%; }
.hb-y43 { top: 43%; }
.hb-y47 { top: 47%; }
.hb-y48 { top: 48%; }
.hb-y50 { top: 50%; }
.hb-y52 { top: 52%; }
.hb-y55 { top: 55%; }
.hb-y56 { top: 56%; }
.hb-y59 { top: 59%; }
.hb-y61 { top: 61%; }
.hb-y63 { top: 63%; }
.hb-y64 { top: 64%; }
.hb-y65 { top: 65%; }
.hb-y66 { top: 66%; }
.hb-y71 { top: 71%; }
.hb-y72 { top: 72%; }
.hb-y74 { top: 74%; }
.hb-y76 { top: 76%; }
.hb-y77 { top: 77%; }
.hb-y79 { top: 79%; }
.hb-y86 { top: 86%; }
.hb-y87 { top: 87%; }
.hb-y91 { top: 91%; }
.hb-y93 { top: 93%; }
.hb-y95 { top: 95%; }
