/* Gemeinsame Styles. Kein Eingriff in bestehende Seiten-/Header-/Footer-CSS. */
.nf-contact-fab, .nf-contact-fab * { box-sizing: border-box; }
.nf-contact-fab { isolation: isolate; }
.nf-contact-fab button { appearance: none; -webkit-appearance: none; font-family: inherit; }
.nf-contact-fab .nf-contact-fab__menu { max-height: calc(100dvh - 105px); overflow-y: auto; }
/* Einheitlicher Noor-Fit Kontaktbutton auf allen Seiten, Desktop und Mobil. */
.nf-contact-fab {
  position: fixed;
  right: clamp(16px, 2.3vw, 34px);
  bottom: clamp(16px, 2.3vw, 34px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
  font-family: inherit;
}
.nf-contact-fab > * { pointer-events: auto; }
.nf-contact-fab__toggle {
  width: 62px;
  height: 62px;
  padding: 14px;
  display: grid;
  place-items: center;
  position: relative;
  border: 2px solid #d6ab57;
  border-radius: 50%;
  background: #0b0a08;
  color: #e5bd65;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.3);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.nf-contact-fab__toggle:hover,
.nf-contact-fab__toggle:focus-visible,
.nf-contact-fab.is-open .nf-contact-fab__toggle {
  background: #d6ab57;
  color: #11100d;
  box-shadow: 0 8px 30px rgba(0,0,0,.6);
}
.nf-contact-fab__toggle:focus-visible,
.nf-contact-fab__link:focus-visible { outline: 3px solid #f2d893; outline-offset: 3px; }
.nf-contact-fab__toggle svg { display: block; width: 100%; height: 100%; }
/* Ausgefüllte WhatsApp-Marke gegen globale Login-SVG-Regeln absichern.
   Andere Symbole (E-Mail, Kalender, Schließen) behalten ihre Kontur. */
.nf-contact-fab .nf-contact-fab__whatsapp svg,
.nf-contact-fab .nf-contact-fab__link-icon svg[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}
.nf-contact-fab__close { display: none !important; }
.nf-contact-fab.is-open .nf-contact-fab__whatsapp { display: none; }
.nf-contact-fab.is-open .nf-contact-fab__close { display: block !important; }
.nf-contact-fab__menu {
  width: max-content;
  min-width: 234px;
  max-width: min(300px, calc(100vw - 28px));
  padding: 7px;
  border: 1px solid rgba(218,177,90,.68);
  border-radius: 16px;
  background: rgba(12,11,9,.98);
  box-shadow: 0 16px 44px rgba(0,0,0,.56);
  color: #f7edda;
}
.nf-contact-fab__menu[hidden] { display: none !important; }
.nf-contact-fab__link {
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 48px;
  padding: 9px 12px;
  border-radius: 10px;
  color: #f7edda;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
}
.nf-contact-fab__link + .nf-contact-fab__link { border-top: 1px solid rgba(215,170,78,.18); }
.nf-contact-fab__link:hover,
.nf-contact-fab__link:focus-visible { color: #f2d185; background: rgba(204,157,63,.13); }
.nf-contact-fab__link-icon { display: inline-flex; width: 24px; height: 24px; flex: 0 0 24px; color: #dcb466; }
.nf-contact-fab__link-icon svg { display: block; width: 100%; height: 100%; }
@media (max-width: 780px) {
  .nf-contact-fab {
    right: max(13px, env(safe-area-inset-right));
    bottom: max(15px, env(safe-area-inset-bottom));
    gap: 10px;
  }
  .nf-contact-fab__toggle { width: 54px; height: 54px; padding: 12px; }
  .nf-contact-fab__menu { min-width: 218px; }
}
