:root {
  --dbfu-radius: 12px;
  --dbfu-shadow: 0 6px 18px rgba(0,0,0,.12);
  --dbfu-bg: #ffffff;
  --dbfu-border: rgba(0,0,0,.08);
}

.dbfu-wrap {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2147483000;
}

.dbfu-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
}

.dbfu-btn {
  width: 48px;
  height: 48px;
  border-radius: var(--dbfu-radius);
  border: 1px solid var(--dbfu-border);
  background: var(--dbfu-bg);
  box-shadow: var(--dbfu-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, box-shadow .12s ease, opacity .2s ease;
}
.dbfu-btn:focus { outline: 2px solid #005fcc; outline-offset: 2px; }
.dbfu-btn:hover { transform: translateY(-1px); }
.dbfu-btn[hidden] { display: none !important; }

.dbfu-icon {
  font-size: 20px;
  line-height: 1;
}

/* Positionen */
.dbfu-wrap[data-pos="right-middle"] { right: 16px; top: 50%; transform: translateY(-50%); }
.dbfu-wrap[data-pos="right-bottom"] { right: 16px; bottom: 16px; top: auto; transform: none; }
.dbfu-wrap[data-pos="left-middle"]  { left: 16px; right: auto; top: 50%; transform: translateY(-50%); }

/* Mobile kompakt */
@media (max-width: 768px) {
  .dbfu-btn { width: 44px; height: 44px; }
  .dbfu-wrap { right: 12px; }
  .dbfu-stack { gap: 8px; }
}

/* Scroll-to-Top sichtbar erst nach Scroll */
.dbfu-btn--top[aria-hidden="true"] { opacity: 0; pointer-events: none; }
.dbfu-btn--top[aria-hidden="false"] { opacity: 1; }

.dbfu-btn[data-key="whatsapp"] .dbfu-icon{color:#25D366}
.dbfu-btn[data-key="whatsapp"] .dbfu-icon svg{width:22px;height:22px;display:block}
.dbfu-btn[data-key="whatsapp"] .dbfu-icon svg path{fill:#25D366 !important}
.dbfu-wa-fallback{width:22px;height:22px;border-radius:4px;background:#25D366;display:none;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:14px;line-height:1}

/* 3CX: Minimized-Bubbles in beiden Modi (Shadow & Light) hart verstecken */
call-us::part(minimized),
call-us [part="minimized"],
call-us .bubble,
call-us .bubble-root,
#wp-live-chat-by-3CX .bubble,
#wp-live-chat-by-3CX .bubble-root,
#wp-live-chat-by-3CX #wplc-chat-button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.dbfu-icon{display:inline-flex;line-height:1;font-size:20px}
.dbfu-icon svg{width:1em;height:1em;display:block}

