/* frag-galal.de · Paket 1 Teilpaket B (25.11.2026): mobile Kontaktleiste und Fokus-Barrierefreiheit. Keine neuen Farben, Schriften oder Animationen.
   1) Leistenregeln wortgleich aus fg-d1-s-*.css – für Seiten, deren Seiten-CSS sie nicht enthält (z. B. /ratgeber/). */
.handy-leiste{display:none}@media(max-width:767px){.handy-leiste{display:flex;gap:10px;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -4px 16px #0000000f}.handy-leiste .btn{flex:1;display:flex;align-items:center;justify-content:center;white-space:nowrap;min-height:46px;padding:8px 12px;font-size:.95rem}body:has(.handy-leiste){padding-bottom:72px}}@supports (animation-timeline:scroll()){@media(max-width:767px){.handy-leiste{animation:leiste-ein linear both;animation-timeline:scroll(root);animation-range:0 560px}}}@keyframes leiste-ein{0%,70%{transform:translateY(120%)}to{transform:none}}@media(prefers-reduced-motion:reduce){.handy-leiste{animation:none!important}}
/* 2) Tastatur: fokussierte Elemente nicht hinter der Leiste (WCAG 2.4.11), Leiste sichtbar, sobald sie den Fokus hat (2.4.7),
      Leiste ausblenden, solange ein Formularfeld den Fokus hat (keine verdeckten Eingabefelder, Bildschirmtastatur). */
@media(max-width:767px){html:has(.handy-leiste){scroll-padding-bottom:96px}.handy-leiste:focus-within{animation:none!important;transform:none!important}body:has(main :is(input,textarea,select):focus) .handy-leiste{display:none!important}}
/* 3) Fokusrahmen auf dunklen Flächen: Markenfarbe #9c4a24 hat auf #1b1917 nur 2,85:1 → hell (#fffdfa, > 15:1) (WCAG 1.4.11). */
html :is(.d1-kontakt,.lp-tafel,.check15) :is(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline-color:#fffdfa}
