/* Ergebnisleiste v1 (13.11.2026): mobil am unteren Rand, solange das Ergebnis eines Rechners nicht im Bild ist.
   Zeigt den Hauptwert live und springt per Tipp zum Ergebnis. Ab 721 px aus (Desktop zeigt Formular und Ergebnis nebeneinander oder nah). */
.erg-leiste { display: none; }
@media (max-width: 720px) {
  .erg-leiste:not([hidden]) {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60;
    min-height: 56px; padding: 10px 16px; border-radius: 14px;
    background: #023e84; color: #fff; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(2, 28, 58, .55);
    font-family: var(--body), system-ui, sans-serif; font-size: .95rem; line-height: 1.3;
  }
  .erg-leiste .erg-l-wert { font-size: 1.15rem; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .erg-leiste .erg-l-pfeil { font-size: 1.2rem; }
  .erg-leiste:focus-visible { outline: 3px solid #022c5e; outline-offset: 2px; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .erg-leiste:not([hidden]) { animation: erg-ein .2s ease-out; }
  @keyframes erg-ein { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
}
