/* Bewegi liest vor (2.163.0). Farben wie Bewegi (hilfe.css), Mitlesen gelb. */
.sbv-start, .sbv-leiste {
	--sbv-dunkel: var(--awb-color5, var(--wp--preset--color--dunkel, var(--sb-c-dunkel, #1f5252)));
	--sbv-text: var(--awb-color7, var(--wp--preset--color--schrift, var(--sb-c-schrift, #2f3434)));
	--sbv-gelb: #ffe680;
}
.sbv-blase { position: fixed; right: 14px; bottom: 74px; z-index: 100002; display: flex; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s; align-items: stretch; padding: 3px; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); font-size: .9em; }
/* 2.168.0 (Michael): erscheint beim Drüberfahren an Bewegi; unsichtbare Brücke hält sie offen auf dem Weg nach oben */
.sbv-blase::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 26px; }
.sbv-blase:hover, .sbv-blase:focus-within, body:has(.sbh-fab:hover) .sbv-blase, body:has(.sbh-fab:focus-visible) .sbv-blase { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
/* Handy/Tablet ohne Maus: immer sichtbar */
@media (hover: none) { .sbv-blase { opacity: 1; visibility: visible; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sbv-blase { transform: none; transition: none; } }
/* Spitze der Sprechblase zeigt auf Bewegi */
.sbv-blase::after { content: ""; position: absolute; right: 22px; bottom: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); border-radius: 0 0 3px 0; }
.sbv-blase button { position: relative; display: flex; align-items: center; gap: .4em; height: 36px; min-height: 0; margin: 0; padding: 0 12px; border: 0; border-radius: 18px; background: transparent; color: var(--sbv-dunkel); font: inherit; font-weight: 700; line-height: 1; cursor: pointer; }
.sbv-blase button + button { margin-left: 2px; }
.sbv-blase button + button::before { content: ""; position: absolute; left: -2px; top: 9px; bottom: 9px; width: 1px; background: rgba(0, 0, 0, .14); }
.sbv-blase button:hover { background: #eef3f3; color: var(--sbv-dunkel); }
.sbv-blase svg { width: 18px; height: 18px; flex: none; }
.sbv-blase .sbv-hilfe b { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%; font-size: .78em; line-height: 1; }
.sbv-hilfe:focus-visible { outline: 3px solid #F28C00; outline-offset: 2px; }
@media (max-width: 720px) { .sbv-blase { right: 8px; bottom: 64px; } }
/* weg, solange das Cookie-Fenster offen ist (2.176.0, Fehler sammeln 3), Bewegi offen ist, ein Rundgang läuft oder schon vorgelesen wird */
html.sbv-an .sbv-blase, body:has(.cmplz-cookiebanner.cmplz-show) .sbv-blase, body:has(.sbh.auf) .sbv-blase, body:has(.sbh.tour) .sbv-blase, html.sbs-hall-auf .sbv-blase { display: none; }
.sbv-los:focus-visible, .sbv-leiste button:focus-visible { outline: 3px solid #F28C00; outline-offset: 2px; }
@media print { .sbv-start, .sbv-leiste { display: none !important; } }

/* Mitlesen */
::highlight(sbv-satz) { background-color: var(--sbv-gelb, #ffe680); color: inherit; }
.sbv-aktiv { outline: 2px solid #e2c36b; outline-offset: 6px; border-radius: 4px; }
.sbv-satz-ersatz { background: #fff6cc; }

/* Leiste unten */
.sbv-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100003; display: flex; align-items: center; gap: 18px; min-height: 84px; padding: 10px max(18px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left)); background: var(--sbv-dunkel); color: #fff; box-shadow: 0 -6px 20px rgba(0, 0, 0, .18); font-family: inherit; line-height: 1.35; box-sizing: border-box; }
.sbv-leiste[hidden] { display: none; }
.sbv-leiste * { box-sizing: border-box; }
.sbv-kopf { width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; object-fit: cover; }
.sbv-mund { display: block; background: #fff no-repeat 0 0 / 300% 100%; }
.sbv-info { flex: 1; min-width: 0; }
.sbv-info b { display: block; font-size: 1.05em; }
.sbv-info span { display: block; font-size: .9em; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbv-balken { height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .25); }
.sbv-balken i { display: block; height: 100%; width: 0; border-radius: 3px; background: #fff; transition: width .3s; }
.sbv-knoepfe { display: flex; align-items: center; gap: 12px; }
.sbv-leiste button { font: inherit; cursor: pointer; }
.sbv-k { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 2px solid rgba(255, 255, 255, .6); border-radius: 50%; background: transparent; color: #fff; }
.sbv-k:hover { background: rgba(255, 255, 255, .12); }
.sbv-k.sbv-gross { width: 60px; height: 60px; border: 0; background: #fff; color: var(--sbv-dunkel); }
.sbv-zu { width: 42px; height: 42px; font-size: 1.5em; line-height: 1; }
.sbv-tempo { display: flex; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; overflow: hidden; }
.sbv-tempo button { min-height: 40px; padding: 0 14px; border: 0; background: transparent; color: #fff; font-size: .9em; }
.sbv-tempo button[aria-pressed="true"] { background: #fff; color: var(--sbv-dunkel); font-weight: 700; }
html.sbv-an body { padding-bottom: 96px; }
html.sbv-an .sbh-fab { bottom: 104px; }
html.sbv-an .sbh-panel { bottom: 104px; max-height: calc(100vh - 124px); }

/* Handy: zwei Zeilen, Tempo unter den Knöpfen */
@media (max-width: 720px) {
	.sbv-leiste { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; }
	.sbv-kopf { width: 44px; height: 44px; }
	.sbv-info { flex: 1 1 calc(100% - 110px); }
	.sbv-knoepfe { order: 3; }
	.sbv-tempo { order: 4; margin-left: auto; }
	.sbv-tempo button { padding: 0 10px; }
	.sbv-zu { order: 2; }
	html.sbv-an body { padding-bottom: 210px; }
	html.sbv-an .sbh-fab { bottom: 222px; }
}
@media (prefers-reduced-motion: reduce) { .sbv-balken i { transition: none; } }
