/* Handy global (0.11.4): Kopfleiste, mobiles Menü, Grundlagen. Nur @media(max-width:899px), Desktop (ab 900 px) bleibt unberührt. */
@media(max-width:899px){
  /* Grundlagen: nie seitlich scrollen, Medien nie breiter als der Bildschirm */
  html{overflow-x:clip}
  body{overflow-x:clip;overflow-wrap:break-word}
  img,video,canvas,iframe,svg{max-width:100%}
  img,video{height:auto}
  table{max-width:100%}
  pre,code{overflow-wrap:anywhere}
  html{scroll-padding-top:calc(var(--kopfhoehe) + 8px)}
  .sprung{left:max(var(--rand),env(safe-area-inset-left))}

  /* Kopfleiste: Logo, Menü, Erstgespräch in einer Zeile, Touch-Ziele ab 44 px */
  .leiste{padding-left:max(var(--rand),env(safe-area-inset-left));padding-right:max(var(--rand),env(safe-area-inset-right));gap:.5rem}
  .logo{flex:none;display:flex;align-items:center;min-height:44px}
  .leiste-rechts{gap:.4rem;min-width:0}
  .menue>summary{display:flex;align-items:center;justify-content:center;width:56px;min-height:48px;padding:0;-webkit-tap-highlight-color:transparent}
  .leiste .knopf{flex:none;min-height:44px;white-space:nowrap;padding:.6rem 1rem;font-size:.7rem;letter-spacing:.1em}
  /* Menü offen: Schaltfläche wird zum Schließen-Kreuz gleicher Breite (Text „Menü“ bleibt im Dokument für Screenreader) */
  .menue[open]>summary{font-size:0;text-decoration:none}
  .menue[open]>summary::after{content:"\00D7";font:300 2.4rem/1 var(--sans);color:var(--weiss)}
  /* Hintergrund steht still, solange das Menü offen ist */
  body:has(.menue[open]){overflow:hidden}

  /* Aufgeklapptes Menü: Vollfläche, große tippbare Zeilen */
  .menue-liste{padding:.6rem max(var(--rand),env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(var(--rand),env(safe-area-inset-left));gap:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
  .menue-liste>a{display:flex;align-items:center;min-height:64px;padding:.6rem 0}
  .menue-produkte>summary{min-height:64px;padding:.6rem 0;-webkit-tap-highlight-color:transparent}
  .menue-produkte>a{display:flex;align-items:center;min-height:52px;padding:.4rem 0 .4rem 1.1rem}
  .menue-produkte>a b{font-size:1.1rem;line-height:1.3}
  /* Akkordeon-Zeichen: Pfeil statt Kreuz, damit es nicht mit dem Schließen-Kreuz oben verwechselt wird */
  .menue-produkte>summary::after{width:11px;height:11px;margin-right:6px;background:none;border:solid currentColor;border-width:0 2px 2px 0;transform:translateY(-3px) rotate(45deg);transition:transform .4s}
  .menue-produkte[open]>summary::after{transform:translateY(3px) rotate(-135deg)}
  .menue-produkte[open]{padding-bottom:.6rem}
  .menue-liste a:focus-visible,.menue-produkte>summary:focus-visible{outline:2px solid var(--akzent);outline-offset:2px;border-radius:6px}
}
@media(max-width:359px){
  .leiste .knopf{padding:.6rem .8rem;font-size:.66rem;letter-spacing:.06em}
  .menue>summary{width:48px}
}
