/* SBS Hilfe – Knopf, Panel, Kurzanleitungen */
.sbsh { --h-gruen: #2F5443; --h-dunkel: #1E3A2D; --h-mint: #EAF4EA; --h-rand: #C9DFCA; --h-flaeche: #F4F8F3; --h-text: #1F2A24; --h-grau: #4B5A51; --h-blau: #4465B0; font-family: inherit; color: var(--h-text); }
.sbsh *, .sbsh *::before, .sbsh *::after { box-sizing: border-box; }
.sbsh-knopf { position: fixed; right: 18px; bottom: 18px; z-index: 99990; display: flex; align-items: center; gap: .45rem; background: var(--h-gruen); color: #fff; border: 0; border-radius: 999px; padding: .55rem 1rem .55rem .55rem; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 20px rgba(20,32,26,.28); min-height: 48px; }
.sbsh-knopf span { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--h-gruen); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.sbsh-knopf:hover { background: var(--h-dunkel); }
.sbsh-knopf:focus-visible { outline: 3px solid #B6DDB7; outline-offset: 2px; }
.sbsh-k-admin .sbsh-knopf { bottom: 24px; right: 24px; }
html.sbsh-offen .sbsh-knopf { display: none; }
@media (max-width: 720px) {
	.sbsh-k-portal .sbsh-knopf { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 12px; padding: .5rem; }
	.sbsh-k-portal .sbsh-knopf b { display: none; }
	html.bp-touch .sbs-bp.bp-tippen ~ .sbsh .sbsh-knopf { display: none; }
}
.sbsh-bg { position: fixed; inset: 0; background: rgba(20,32,26,.45); z-index: 99991; }
.sbsh-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100vw); z-index: 99992; background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(20,32,26,.25); font-size: 16px; line-height: 1.5; }
.sbsh-panel[hidden], .sbsh-bg[hidden], .sbsh [hidden] { display: none !important; }
.sbsh-kopf { display: flex; align-items: center; gap: .4rem; padding: .6rem .6rem .6rem 1rem; border-bottom: 1px solid #E3ECE4; background: var(--h-flaeche); }
.sbsh-kopf h2 { flex: 1; margin: 0; font-size: 1.08rem; color: var(--h-dunkel); line-height: 1.25; }
.sbsh-kopf button { background: none; border: 0; font-size: 1.9rem; line-height: 1; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; color: var(--h-grau); }
.sbsh-kopf button:hover { background: var(--h-mint); }
.sbsh-inhalt { flex: 1; overflow-y: auto; padding: 1rem; -webkit-overflow-scrolling: touch; }
.sbsh-suche { display: flex; gap: .4rem; }
.sbsh-suche input { flex: 1; min-width: 0; border: 1.5px solid var(--h-rand); border-radius: 12px; padding: .7rem .9rem; font: inherit; font-size: 16px; min-height: 48px; }
.sbsh-suche input:focus { outline: 2px solid #B6DDB7; border-color: var(--h-gruen); }
.sbsh-suche button, .sbsh-btn { background: var(--h-gruen); color: #fff; border: 0; border-radius: 999px; padding: .6rem 1.1rem; font: inherit; font-weight: 700; cursor: pointer; min-height: 46px; }
.sbsh-btn { margin: .5rem .4rem 0 0; }
.sbsh-link { background: none; border: 0; color: var(--h-gruen); text-decoration: underline; font: inherit; cursor: pointer; padding: .6rem 0; min-height: 44px; }
.sbsh-tipp { color: var(--h-grau); font-size: .88rem; margin: .5rem 0 0; }
.sbsh h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--h-grau); margin: 1.2rem 0 .5rem; }
.sbsh-treffer { display: block; width: 100%; text-align: left; background: #fff; border: 1px solid #E3ECE4; border-radius: 12px; padding: .75rem .9rem; margin-bottom: .5rem; font: inherit; color: inherit; cursor: pointer; }
.sbsh-treffer:hover, .sbsh-treffer:focus-visible { border-color: var(--h-gruen); background: var(--h-flaeche); outline: none; }
.sbsh-t-titel { display: block; font-weight: 700; color: var(--h-dunkel); }
.sbsh-t-info { display: block; color: var(--h-grau); font-size: .88rem; }
.sbsh-t-zust { display: inline-block; margin-top: .3rem; font-size: .75rem; font-weight: 700; background: #E3E9F7; color: var(--h-blau); border-radius: 99px; padding: .1rem .55rem; }
.sbsh-nichts { background: #FFF8E6; border: 1px solid #EBD48A; border-radius: 12px; padding: .8rem 1rem; margin-top: 1rem; }
.sbsh-nichts p { margin: .3rem 0 0; }
.sbsh-zust { background: #E9EEF9; border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; color: #23396F; }
.sbsh-zust p { margin: .4rem 0 0; color: var(--h-text); }
.sbsh-kurz { margin: 0 0 .7rem; color: var(--h-grau); }
.sbsh-hinweis { background: var(--h-mint); border-radius: 10px; padding: .6rem .8rem; font-size: .92rem; margin-top: .8rem; }
.sbsh-hin { width: 100%; margin-top: .8rem; }

/* Bühne */
.sbsh-buehne { position: relative; background: linear-gradient(160deg, #EDF4EC, #DDEADB); border-radius: 16px; padding: 14px; display: flex; justify-content: center; overflow: hidden; min-height: 300px; }
.sbsh-szene { transition: opacity .35s, transform .35s; width: 100%; display: flex; justify-content: center; }
.sbsh-szene.sbsh-neu { opacity: 0; transform: translateY(8px); }
.sbsh-finger { position: absolute; width: 34px; height: 34px; margin: -6px 0 0 -10px; border-radius: 50%; background: rgba(255,255,255,.0); pointer-events: none; opacity: 0; transition: left .7s cubic-bezier(.3,.7,.3,1), top .7s cubic-bezier(.3,.7,.3,1), opacity .3s; z-index: 5; }
.sbsh-finger::before { content: "👆"; position: absolute; left: 2px; top: 6px; font-size: 30px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.sbsh-finger.sichtbar { opacity: 1; }
.sbsh-finger.tipp::after { content: ""; position: absolute; left: -4px; top: -8px; width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(68,101,176,.8); animation: sbshRing .8s ease-out 2; }
@keyframes sbshRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.sbsh-schritt { margin: .8rem 0 .4rem; font-size: 1.02rem; min-height: 3.2em; }
.sbsh-nr { display: inline-block; background: var(--h-gruen); color: #fff; border-radius: 99px; font-size: .75rem; font-weight: 700; padding: .05rem .5rem; margin-right: .3rem; vertical-align: 2px; }
.sbsh-steuer { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.sbsh-steuer > button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--h-rand); background: #fff; color: var(--h-gruen); font-size: 1.2rem; font-weight: 700; cursor: pointer; }
.sbsh-steuer > button[data-play] { background: var(--h-gruen); color: #fff; border-color: var(--h-gruen); font-size: .95rem; }
.sbsh-punkte { display: flex; gap: .3rem; flex-wrap: wrap; margin-left: .3rem; }
.sbsh-punkte button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; position: relative; padding: 0; }
.sbsh-punkte button::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--h-rand); }
.sbsh-punkte button.fertig::before { background: #8FBF92; }
.sbsh-punkte button.an::before { background: var(--h-gruen); inset: 6px; }

/* Szenen-Bausteine */
.sx-handy { width: 250px; max-width: 100%; background: #F4F8F3; border: 7px solid #1F2A24; border-radius: 26px; overflow: hidden; font-size: 10.5px; line-height: 1.35; box-shadow: 0 10px 24px rgba(20,32,26,.25); display: flex; flex-direction: column; min-height: 300px; }
.sx-kopf { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 7px 9px; font-weight: 800; color: #1E3A2D; border-bottom: 1px solid #E3ECE4; }
.sx-av { width: 20px; height: 20px; border-radius: 50%; background: #2F5443; color: #fff; font-size: 8px; display: flex; align-items: center; justify-content: center; }
.sx-unter { display: flex; gap: 4px; padding: 6px 7px; overflow: hidden; flex-wrap: nowrap; }
.sx-unter span { flex: 0 0 auto; border: 1px solid #C9DFCA; background: #fff; border-radius: 99px; padding: 2px 7px; font-weight: 700; color: #4B5A51; white-space: nowrap; }
.sx-unter span.an { background: #1E3A2D; color: #fff; border-color: #1E3A2D; }
.sx-flaeche { flex: 1; padding: 6px 7px; }
.sx-karte { background: #fff; border: 1px solid #E3ECE4; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.sx-karte-titel { font-weight: 800; font-size: 11.5px; color: #1E3A2D; }
.sx-btn { align-self: flex-start; border: 1.3px solid #2F5443; color: #2F5443; background: #fff; border-radius: 99px; padding: 3px 9px; font-weight: 700; }
.sx-btn.sx-prim { background: #2F5443; color: #fff; }
.sx-feld { display: block; }
.sx-feld small { display: block; font-weight: 700; color: #1F2A24; font-size: 9px; margin-bottom: 1px; }
.sx-feld span { display: block; border: 1px solid #C9DFCA; border-radius: 6px; padding: 3px 6px; background: #fff; min-height: 18px; }
.sx-chip { display: inline-block; align-self: flex-start; border: 1px solid #C9DFCA; border-radius: 99px; padding: 2px 8px; }
.sx-chip.an { background: #EAF4EA; border-color: #2F5443; font-weight: 700; }
.sx-check { display: flex; align-items: center; gap: 5px; }
.sx-check i { width: 12px; height: 12px; border: 1.3px solid #4B5A51; border-radius: 3px; font-style: normal; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.sx-check.an i { background: #2F5443; border-color: #2F5443; color: #fff; }
.sx-check small { color: #6B7A70; font-size: .9em; }
.sx-zeile { display: block; border: 1px solid #E3ECE4; border-radius: 7px; padding: 4px 6px; position: relative; }
.sx-zeile b { display: block; }
.sx-zeile small { color: #4B5A51; }
.sx-zeile em { position: absolute; right: 6px; top: 4px; font-style: normal; font-weight: 800; }
.sx-h { font-weight: 800; color: #1E3A2D; }
.sx-hinweis { background: #E9EEF9; color: #2B4078; border-radius: 6px; padding: 4px 6px; font-weight: 600; }
.sx-qr { width: 54px; height: 54px; align-self: center; background: repeating-linear-gradient(90deg, #1F2A24 0 3px, #fff 3px 6px), repeating-linear-gradient(0deg, #1F2A24 0 3px, #fff 3px 6px); background-blend-mode: multiply; border: 3px solid #fff; outline: 1px solid #C9DFCA; }
.sx-datei { display: flex; align-items: center; gap: 5px; background: #F4F8F3; border-radius: 6px; padding: 3px 5px; }
.sx-datei i { background: #2F5443; color: #fff; font-style: normal; font-size: 8px; font-weight: 800; border-radius: 3px; padding: 1px 3px; }
.sx-reihe { display: flex; gap: 4px; flex-wrap: wrap; }
.sx-text { color: #4B5A51; }
.sx-nav { display: flex; background: #fff; border-top: 1px solid #E3ECE4; padding: 4px 2px; }
.sx-nav span { flex: 1; text-align: center; font-size: 8.5px; color: #4B5A51; padding: 2px 0; border-radius: 6px; }
.sx-nav span i { display: block; width: 12px; height: 12px; margin: 0 auto 1px; border: 1.5px solid currentColor; border-radius: 4px; }
.sx-nav span.an { background: #EAF4EA; color: #1E3A2D; font-weight: 700; }
.sx-web .sx-kopf { background: #2F5443; color: #fff; }
.sx-admin { width: 100%; max-width: 420px; background: #F0F0F1; border: 1px solid #C3C4C7; border-radius: 8px; overflow: hidden; font-size: 10.5px; line-height: 1.35; box-shadow: 0 10px 24px rgba(20,32,26,.2); align-self: center; }
.sx-wpbar { background: #1D2327; color: #F0F0F1; padding: 4px 8px; font-size: 9.5px; }
.sx-wpkoerper { display: flex; min-height: 240px; }
.sx-wpmenue { width: 96px; background: #2C3338; display: flex; flex-direction: column; padding: 4px 0; flex: 0 0 auto; }
.sx-wpmenue span { color: #C3C4C7; padding: 4px 8px; font-size: 9.5px; }
.sx-wpmenue span.an { background: #2271B1; color: #fff; }
.sx-wpinhalt { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.sx-wptabs { display: flex; gap: 2px; flex-wrap: wrap; border-bottom: 1px solid #C3C4C7; }
.sx-wptabs span { padding: 2px 6px; font-size: 9px; color: #50575E; border: 1px solid transparent; border-bottom: 0; }
.sx-wptabs span.an { background: #fff; border-color: #C3C4C7; color: #1D2327; font-weight: 700; }
.sx-admin .sx-karte { border-radius: 4px; }
.sx-admin .sx-btn { border-radius: 3px; border-color: #2271B1; color: #2271B1; }
.sx-admin .sx-btn.sx-prim { background: #2271B1; color: #fff; }
[data-ziel] { position: relative; }
.sx-getippt { box-shadow: 0 0 0 3px rgba(68,101,176,.45); transition: box-shadow .3s; }
@media (prefers-reduced-motion: reduce) { .sbsh-finger, .sbsh-szene { transition: none !important; } .sbsh-finger.tipp::after { animation: none; } }
@media (max-width: 520px) { .sbsh-panel { width: 100vw; } .sbsh-buehne { min-height: 280px; padding: 10px; } }
