/* hostwebhub Home-Knopf: kleiner Klingelknopf aus Stahl, führt zurück zu hostwebhub.com.
   Gleiche Datei in jedem Projekt. Anpassen pro Projekt über CSS-Variablen auf :root oder body:
   --hwh-bottom, --hwh-left (Abstand), --hwh-size (Größe), --hwh-z (Ebene), --hwh-display: none (ausblenden).
   Oben statt unten: --hwh-top setzen, --hwh-bottom-edge: auto und --hwh-away: calc(-100% - 28px) */
#hwh-home {
  box-sizing: border-box; margin: 0; padding: 0;
  position: fixed;
  left: calc(var(--hwh-left, 16px) + env(safe-area-inset-left, 0px));
  top: var(--hwh-top, auto);
  bottom: var(--hwh-bottom-edge, calc(var(--hwh-bottom, 16px) + env(safe-area-inset-bottom, 0px)));
  z-index: var(--hwh-z, 50);
  display: var(--hwh-display, grid);
  place-items: center;
  width: var(--hwh-size, 48px); height: var(--hwh-size, 48px);
  border-radius: 50%;
  color: #14181B;
  background: radial-gradient(circle at 50% 30%, #FBFCFD 0, #E3E7EA 45%, #C4CACE 100%);
  border: 1px solid #8E979D;
  box-shadow: 0 0 0 3px rgba(20, 24, 27, .55), 0 4px 12px rgba(0, 0, 0, .35);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .15s ease, opacity .25s ease;
}
/* Ausweichen beim Scrollen. Sitzt der Knopf oben, im Projekt --hwh-away: calc(-100% - 28px) setzen */
#hwh-home.hwh-away { transform: translateY(var(--hwh-away, calc(100% + 28px))); opacity: 0; pointer-events: none; }
#hwh-home::after {
  content: '';
  position: absolute; top: 5px; right: 5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #FFB000;
  box-shadow: 0 0 6px 1px rgba(255, 176, 0, .75);
}
#hwh-home svg { width: 22px; height: 22px; display: block; }
#hwh-home:hover { transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(20, 24, 27, .55), 0 7px 16px rgba(0, 0, 0, .35); }
#hwh-home:active { transform: translateY(1px); }
#hwh-home:focus-visible { outline: 3px solid #FFB000; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #hwh-home { transition: none; } }
@media print { #hwh-home { display: none; } }
