/* Punkt 100: ⓘ-Symbole und Hilfe-Overlay (auf allen Seiten geladen) */
.hb-i{display:inline-grid;place-items:center;width:20px;height:20px;margin:0 0 0 6px;border-radius:50%;vertical-align:middle;flex:none;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.45);color:#fff;text-decoration:none;font:700 12px/1 "Outfit",system-ui,sans-serif;font-style:italic;
  box-shadow:0 2px 6px rgba(8,16,28,.25);transition:transform .15s,background .15s,border-color .15s;cursor:help;position:relative;z-index:2}
.hb-i span{transform:translateY(.5px)}
.hb-i:hover,.hb-i:focus-visible{background:rgba(255,255,255,.95);color:#1d2a3a;border-color:#fff;transform:scale(1.12);outline:none}
.hb-i[aria-expanded="true"]{background:#fff;color:#1d2a3a}
/* in hellen Flächen (z. B. Formulare) dunkel */
:where(.hb-i-dunkel) .hb-i,.hb-i.dunkel{background:rgba(29,42,58,.08);border-color:rgba(29,42,58,.35);color:#1d2a3a}

/* Punkt 225: ⓘ-Fenster als dunkle Glas-Kachel – feste Breite 380 px, Bereichsfarbe (--hb-pf) als Akzentlinie oben, Bereichs-Symbol
   vor der Oberzeile, runder 44-px-Schließen-Knopf, klare Typo-Hierarchie, Zeiger zum ⓘ, zwei gleich große Glas-Knöpfe unten.
   Scrollt nie (Regel 22): overflow hidden, Höhe nie über dem Fenster; was nicht passt, kürzt handbuch.js (einpassen). */
.hb-pop{--hb-pf:#5aa9e6;--hb-glas:rgba(22,30,44,.9);position:fixed;z-index:2000;box-sizing:border-box;width:380px;max-width:calc(100vw - 24px);
  max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);overflow:hidden;overscroll-behavior:contain;padding:16px 18px 16px;border-radius:20px;
  background:linear-gradient(165deg,color-mix(in srgb,var(--hb-pf) 16%,rgba(30,40,58,.9)),var(--hb-glas) 60%);
  border:1px solid rgba(255,255,255,.16);color:#f2f5fa;
  box-shadow:inset 0 3px 0 -0.5px var(--hb-pf),inset 0 1px 0 rgba(255,255,255,.1),0 24px 56px rgba(4,10,20,.55),0 2px 8px rgba(4,10,20,.3);
  backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);
  font:400 14px/1.55 "Outfit",system-ui,sans-serif;text-align:left;
  opacity:0;transform:translateY(8px);transition:opacity .26s ease-out,transform .3s cubic-bezier(.2,.8,.2,1)}
.hb-pop.offen{opacity:1;transform:none}
/* Zeiger zum ⓘ: eigenes Element hinter dem Fenster (das Fenster schneidet ab), oben in der Akzentfarbe, unten im Glaston; frei stehend ohne */
.hb-pop-pfeil{--hb-pf:#5aa9e6;position:fixed;z-index:1999;width:14px;height:14px;border-radius:3px 0 0 0;transform:rotate(45deg) translateY(4px);pointer-events:none;
  background:var(--hb-pf);border-left:1px solid rgba(255,255,255,.25);border-top:1px solid rgba(255,255,255,.25);opacity:0;transition:opacity .26s ease-out,transform .3s cubic-bezier(.2,.8,.2,1)}
.hb-pop-pfeil.unten{background:#1a2232;border-color:rgba(255,255,255,.16);transform:rotate(225deg) translateY(-4px)}
.hb-pop-pfeil.offen{opacity:1;transform:rotate(45deg)}
.hb-pop-pfeil.unten.offen{transform:rotate(225deg)}
.hb-pop-pfeil[hidden]{display:none}
/* Schließen: runder Glasknopf innen rechts oben, sauberes ✕ als SVG */
.hb-pop .hb-pop-zu{all:unset;box-sizing:border-box;position:absolute;top:8px;right:8px;z-index:1;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;cursor:pointer;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.14);transition:background .15s,border-color .15s}
.hb-pop .hb-pop-zu svg{display:block;width:18px;height:18px}
.hb-pop .hb-pop-zu:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.4)}
.hb-pop .hb-pop-zu:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Kopf: Oberzeile (Symbol + Kapitel, klein, Bereichsfarbe) und Titel */
.hb-pop-kopf{display:block;margin:0 0 8px;padding:0 48px 0 0;min-height:40px}
.hb-pop-ober{display:flex;align-items:center;gap:8px;min-height:24px;font-size:11.5px;line-height:1.25;letter-spacing:.06em;text-transform:uppercase;font-weight:700;
  color:color-mix(in srgb,var(--hb-pf) 38%,#fff)}
.hb-pop[data-farbe="gold"] .hb-pop-ober{color:#e9edf3}   /* Gold nie für Schrift – Akzent bleibt an Linie und Symbol */
.hb-pop-sym{flex:none;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:8px;
  background:color-mix(in srgb,var(--hb-pf) 30%,rgba(255,255,255,.08));border:1px solid color-mix(in srgb,var(--hb-pf) 50%,rgba(255,255,255,.2))}
.hb-pop-sym .hb-pop-sym-svg{width:16px;height:16px;color:var(--hb-pf);--ic-hell:rgba(255,255,255,.92);--ic-glanz:#fff}
.hb-pop-ober-t{min-width:0}
.hb-pop-ober .hb-pop-kl{text-transform:none;letter-spacing:0}
.hb-pop-kopf h2{margin:6px 0 0;font:700 17px/1.3 "Outfit",system-ui,sans-serif;color:#fff;letter-spacing:-.005em;overflow-wrap:anywhere}
/* Klartext bei Kirchenbegriffen: klein, grau, direkt dahinter (Regel 21) */
.hb-pop .hb-pop-kl{display:inline;margin-left:.35em;font-size:.82em;font-weight:500;color:#c3cdd9;font-style:normal;white-space:nowrap}
.hb-pop-kopf h2 .hb-pop-kl{font-size:12.5px;font-weight:600;white-space:normal}
/* Inhalt: Kernsatz 15 px, Erklärung 14 px grau, nummerierte Mini-Liste */
.hb-pop-inhalt{margin:0}
.hb-pop .hb-pop-inhalt>:last-child{margin-bottom:0}
.hb-pop .hb-pop-kurz{margin:0 0 8px;font-size:15px;line-height:1.5;font-weight:600;color:#fff}
.hb-pop p{margin:0 0 8px;color:#d3dbe6;font-size:14px;line-height:1.6}
.hb-pop b{color:#fff;font-weight:650}
.hb-pop img{display:block;width:100%;border-radius:12px;margin:8px 0;border:1px solid rgba(255,255,255,.15)}
.hb-pop .hb-schritte{margin:4px 0 8px;padding:0;list-style:none;counter-reset:hbs}
.hb-pop .hb-schritte li{counter-increment:hbs;position:relative;margin:0;padding:1px 0 6px 30px;color:#d3dbe6;font-size:14px;line-height:1.55}
.hb-pop .hb-schritte li:last-child{padding-bottom:0}
.hb-pop .hb-schritte li::before{content:counter(hbs);position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;
  font:700 11.5px/1 "Outfit",system-ui,sans-serif;background:var(--hb-pf);color:#0d1a28}
.hb-pop code{background:rgba(255,255,255,.12);padding:1px 5px;border-radius:5px;font-size:.92em}
.hb-pop.eng .hb-pop-kurz{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
/* Fuß: „Mehr im Handbuch / in der Heiligen Schrift“ und (nur Kirchen-Modus) „Kirchen-Deutsch“ – gleich große Glas-Knöpfe */
.hb-pop-fuss{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
.hb-pop-fuss:empty{display:none}
.hb-pop-fuss.zwei{grid-template-columns:1fr 1fr}
.hb-pop .hb-pop-knopf{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;margin:0;padding:6px 12px;border-radius:12px;
  text-align:center;text-decoration:none;font:650 13.5px/1.25 "Outfit",system-ui,sans-serif;color:#fff !important;text-wrap:balance;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.12);transition:background .15s,border-color .15s}
.hb-pop .hb-pop-fuss .hb-pop-kd{margin:0 !important;font-size:13.5px}   /* klartext.css (Punkt 109) setzt für den alten Link Abstand */
.hb-pop .hb-pop-mehr{background:color-mix(in srgb,var(--hb-pf) 30%,rgba(16,22,34,.72));border-color:color-mix(in srgb,var(--hb-pf) 60%,rgba(255,255,255,.2))}
.hb-pop .hb-pop-knopf:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.42)}
.hb-pop .hb-pop-mehr:hover{background:color-mix(in srgb,var(--hb-pf) 42%,rgba(16,22,34,.72))}
.hb-pop .hb-pop-knopf:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hb-pop-laden{display:flex;gap:6px;padding:10px 0}
.hb-pop-laden i{width:8px;height:8px;border-radius:50%;background:#fff;opacity:.4;animation:hbPunkt 1s infinite}
.hb-pop-laden i:nth-child(2){animation-delay:.15s}.hb-pop-laden i:nth-child(3){animation-delay:.3s}
@keyframes hbPunkt{50%{opacity:1;transform:translateY(-3px)}}
.hb-schleier{position:fixed;inset:0;z-index:1999;background:rgba(5,10,20,.5);opacity:0;transition:opacity .26s}
.hb-schleier.offen{opacity:1}
/* Handy: Blatt von unten, volle Breite, großer Schließen-Knopf */
@media (max-width:640px){
  .hb-pop{left:0 !important;right:0;top:auto !important;bottom:0;width:100%;max-width:100%;max-height:calc(100vh - 56px);max-height:calc(100dvh - 56px);
    border-radius:22px 22px 0 0;border-bottom:0;padding:22px 18px calc(18px + env(safe-area-inset-bottom));transform:translateY(40px);
    background:linear-gradient(165deg,color-mix(in srgb,var(--hb-pf) 16%,rgba(30,40,58,.96)),rgba(20,28,41,.97) 60%)}
  .hb-pop::after{content:"";position:absolute;left:50%;top:7px;width:42px;height:4px;margin-left:-21px;border-radius:2px;background:rgba(255,255,255,.35)}
  .hb-pop .hb-pop-zu{top:12px;right:12px;width:48px;height:48px}
  .hb-pop .hb-pop-zu svg{width:20px;height:20px}
  .hb-pop-kopf{padding-right:56px;min-height:48px}
}
.sgr-schnell{position:relative}.sgr-hilfe{position:absolute;top:-10px;right:-6px}
@media (prefers-reduced-motion:reduce){.hb-pop,.hb-pop-pfeil,.hb-schleier,.hb-i{transition:none}.hb-pop-laden i,.hb-pop.offen *{animation:none !important}}
html[data-animation="aus"] .hb-pop,html[data-animation="aus"] .hb-pop *{transition:none !important;animation:none !important}
@media print{.hb-i,.hb-pop,.hb-pop-pfeil,.hb-schleier{display:none !important}}
.seiten-pfad .sp-hilfe{display:inline-flex;align-items:center;margin-left:4px}
.seiten-pfad .sp-hilfe .hb-i{width:18px;height:18px;font-size:11px}
/* Mini-Animationen im ⓘ-Fenster (höchstens 64 px hoch) */
.hb-mini{margin:4px 0 8px;padding:6px 8px;border-radius:12px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.hb-mini svg{display:block;width:100%;max-width:340px;height:auto;max-height:64px;margin:0 auto;overflow:visible}
.hb-mini text{font-family:"Outfit",system-ui,sans-serif}
.hbm-verschieben .hbm-a{animation:hbmHoch 3.2s ease-in-out infinite}
.hbm-verschieben .hbm-b{animation:hbmRunter 3.2s ease-in-out infinite}
.hbm-verschieben .hbm-pfeil{animation:hbmBlink 3.2s ease-in-out infinite}
@keyframes hbmHoch{0%,20%{transform:none}45%,80%{transform:translateY(-30px)}100%{transform:none}}
@keyframes hbmRunter{0%,20%{transform:none}45%,80%{transform:translateY(30px)}100%{transform:none}}
@keyframes hbmBlink{0%,15%,55%,100%{opacity:1}25%,40%{opacity:.35}}
.hb-mini .hbm-druck{transform-box:fill-box;transform-origin:center;animation:hbmDruck 3.2s ease-in-out infinite}
@keyframes hbmDruck{0%,18%,32%,100%{transform:scale(1)}24%{transform:scale(.82)}}
.hb-mini .hbm-menue,.hb-mini .hbm-blatt{animation:hbmAuf 3.2s ease-in-out infinite}
@keyframes hbmAuf{0%,26%{opacity:0;transform:translateY(6px)}38%,85%{opacity:1;transform:none}100%{opacity:0;transform:translateY(6px)}}
.hbm-modus .hbm-knopf{animation:hbmPille 3.2s ease-in-out infinite}
@keyframes hbmPille{0%,30%{transform:none}50%,85%{transform:translateX(66px)}100%{transform:none}}
.hbm-modus .hbm-t1{animation:hbmT1 3.2s ease-in-out infinite}.hbm-modus .hbm-t2{animation:hbmT2 3.2s ease-in-out infinite}
@keyframes hbmT1{0%,30%,100%{fill:#1d2a3a}50%,85%{fill:#fff}}
@keyframes hbmT2{0%,30%,100%{fill:#fff}50%,85%{fill:#1d2a3a}}
.hbm-suche .hbm-tipp{transform-box:fill-box;transform-origin:left center;animation:hbmTipp 3.2s steps(9) infinite}
@keyframes hbmTipp{0%,30%{transform:scaleX(0)}70%,100%{transform:scaleX(1)}}
@media (prefers-reduced-motion:reduce){.hb-mini *{animation:none !important}.hb-mini .hbm-menue,.hb-mini .hbm-blatt{opacity:1}}
html[data-animation="aus"] .hb-mini *{animation:none !important}
