/* Ratgeber am Handy: Leiste unten = Inhaltsverzeichnis + „Frage?“ per WhatsApp (18.11.2026, Alex: „A“)
   Baustein 4 aus AUFGABE-CONVERSION-RATGEBER-18-11-2026.md. Der Reiter aus inhalt-handy.js wandert links in die Leiste,
   rechts kommt der kleine Schritt WhatsApp dazu. Das Erstgespräch steht am Handy schon fest oben im Kopf.
   Sichtbarkeit wie der Reiter (hinter dem Verzeichnis, weg am Artikelende/#kontakt, beim schnellen Wischen, bei offenem Menü/Blatt).
   Nur unter 768 px. Ohne JavaScript bleibt alles wie vorher. Baut werkzeug/leiste-handy.py ein (Rückbau: --entfernen). */

.lh-leiste{display:none}
.lh-wa[hidden]{display:none!important}

@media (max-width:767.98px){

html.lh-js .lh-leiste{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:45;
  display:flex;align-items:stretch;height:54px;max-width:480px;margin:0 auto;border-radius:27px;overflow:hidden;
  background:linear-gradient(158deg,var(--papier,#fbf9f5),var(--card,#fff));
  box-shadow:var(--schatten-papier,0 0 0 1px rgba(60,45,25,.10),-2px 6px 10px rgba(60,45,25,.10),-6px 16px 30px rgba(60,45,25,.14));
  opacity:1;transform:none;visibility:visible;transition:opacity .25s ease,transform .3s cubic-bezier(.22,1,.36,1),visibility 0s}
html.lh-js .lh-leiste:not(.lh-zeigen),
html.lh-js body.menu-open .lh-leiste,
html.lh-js.ih-offen .lh-leiste{opacity:0;transform:translateY(18px);visibility:hidden;pointer-events:none;
  transition:opacity .2s ease,transform .25s ease,visibility 0s .25s}

/* Reiter in der Leiste: Lage, Grund und Schatten übernimmt die Leiste */
html body .lh-leiste .ih-reiter{position:relative;left:auto;bottom:auto;flex:1 1 auto;min-width:0;max-width:none;height:auto;
  padding:0 12px 0 18px;border-radius:0;background:transparent;box-shadow:none;translate:none;
  opacity:1;visibility:inherit;pointer-events:auto;transition:none}
html body .lh-leiste .ih-reiter:focus-visible{outline:2px solid var(--stift,#1f5a96);outline-offset:-4px;border-radius:27px 0 0 27px}
html body .lh-leiste .ih-reiter__linie{left:18px;right:12px;bottom:6px}

.lh-leiste__trenn{flex:none;width:1px;margin:13px 0;background:var(--line-strong,#dbdad4)}

html body .lh-leiste a.lh-wa{flex:none;display:flex;align-items:center;gap:8px;padding:0 18px 0 14px;
  font-family:var(--text,Inter,-apple-system,sans-serif);font-size:var(--fs-kasten,15px);font-weight:650;line-height:1;
  color:var(--tinte,#191b1d);text-decoration:none;-webkit-tap-highlight-color:transparent}
html body .lh-leiste a.lh-wa svg{flex:none;width:22px;height:22px}
html body .lh-leiste a.lh-wa:active{background:rgba(var(--navy-rgb,23,69,110),.06)}
html body .lh-leiste a.lh-wa:focus-visible{outline:2px solid var(--stift,#1f5a96);outline-offset:-4px;border-radius:0 27px 27px 0}

}

@media (max-width:767.98px) and (prefers-reduced-motion:reduce){
  html.lh-js .lh-leiste,html.lh-js .lh-leiste:not(.lh-zeigen){transition:opacity .15s ease,visibility 0s;transform:none}
}
