/* Knopf „Nach oben“ (nach-oben.js, Karim 12.10.2026). Farben aus den Seiten-Variablen (sprouto.css, legal.css), Pfeil in Akzentfarbe ≥ 3:1. */
.nach-oben {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  border: 1.5px solid var(--accent, #A8410C);
  border-radius: 50%;
  background: var(--surface, #FFFFFF);
  color: var(--accent, #A8410C);
  box-shadow: 0 4px 16px rgba(19, 32, 26, 0.16);
  cursor: pointer;
}
.nach-oben[hidden] { display: none; }
.nach-oben:hover { background: var(--accent-soft, rgba(15, 122, 77, 0.10)); }
.nach-oben:focus-visible { outline: 3px solid var(--accent, #A8410C); outline-offset: 3px; }
@media (min-width: 900px) {
  .nach-oben { right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
@media print {
  .nach-oben { display: none; }
}
