/* WPR: Schwebender Nach-oben-Button, ab 1.2.17 */
.wpr-scroll-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: #800000;
  color: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background-color .2s ease;
}
.wpr-scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.wpr-scroll-to-top:hover { background: #600000; color: #fff; transform: translateY(-3px); }
.wpr-scroll-to-top:focus-visible { outline: 3px solid #f5bd75; outline-offset: 3px; }
.wpr-scroll-to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .wpr-scroll-to-top { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .wpr-scroll-to-top { transition: none; }
}
