/* Contact FAB — Promo Reisedienst */
.cf-wrap {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: inherit;
}

.cf-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.cf-wrap.cf-open .cf-actions {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cf-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  background: #0b3d4a;
  border-radius: 999px;
  padding: 12px 18px 12px 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cf-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  color: #ffffff;
}
.cf-action--whatsapp { background: #25d366; }
.cf-action--call     { background: #0b3d4a; }
.cf-action svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Main toggle button */
.cf-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #0b3d4a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(11, 61, 74, 0.45);
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cf-toggle:hover { transform: scale(1.05); }
.cf-toggle svg { width: 28px; height: 28px; fill: currentColor; transition: transform 0.25s ease; }
.cf-toggle .cf-icon-emoji {
  font-size: 28px;
  line-height: 1;
  transition: transform 0.25s ease, opacity 0.2s ease;
  /* Force-render colored emoji glyphs regardless of font-family */
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", system-ui, sans-serif;
}
.cf-wrap.cf-open .cf-toggle { background: #08303a; }
.cf-wrap.cf-open .cf-toggle .cf-icon-emoji { transform: scale(0.5); opacity: 0; }
.cf-toggle .cf-icon-close {
  position: absolute;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: rotate(-90deg);
  transition: opacity 0.2s ease, transform 0.25s ease;
}
.cf-wrap.cf-open .cf-toggle .cf-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

/* Pulsing rings */
.cf-toggle::before,
.cf-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(11, 61, 74, 0.55);
  z-index: -1;
  animation: cf-pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.cf-toggle::after { animation-delay: 1.1s; }
.cf-wrap.cf-open .cf-toggle::before,
.cf-wrap.cf-open .cf-toggle::after { animation-play-state: paused; opacity: 0; }

@keyframes cf-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  80%  { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cf-toggle::before, .cf-toggle::after { animation: none; opacity: 0; }
}

@media (max-width: 480px) {
  .cf-wrap { right: 16px; bottom: 16px; }
  .cf-toggle { width: 56px; height: 56px; }
  .cf-action { font-size: 13px; padding: 11px 16px 11px 12px; }
}
