﻿/* =========================
   CONTAINER
========================= */
.quick-contact {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 10000;
}

/* =========================
   MAIN BUTTON
========================= */
.qc-main {
  width: 70px;
  height: 70px;
  border-radius: 50%;

  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  /* echtes Licht oben links */
  background: radial-gradient(circle at 25% 25%, #fff7cc, #d4af37 60%, #a88700 100%);

  transition: transform 0.2s ease;
}

/* HOVER */
.qc-main:hover {
  transform: scale(1.05);
}

/* =========================
   ICON
========================= */
.qc-main i {
  font-size: 38px;
  display: block;

  transform-origin: center;
  animation: rotate 12s linear infinite;
}

/* ROTATION */
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* =========================
   🌞 SONNENKORONA (KEY FEATURE)
========================= */
.qc-main::after {
  content: "";
  position: absolute;

  inset: -18px;
  border-radius: 50%;

  background: radial-gradient(circle,
    rgba(255,255,200,0.9) 0%,
    rgba(255,220,100,0.6) 30%,
    rgba(255,200,0,0.3) 60%,
    transparent 75%
  );

  filter: blur(10px);

  animation: coronaPulse 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes coronaPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

/* stärker wenn aktiv */
.quick-contact.active .qc-main::after {
  animation-duration: 1.5s;
}

/* =========================
   LABEL (CONTACT)
========================= */
.qc-main-label {
  display: block;
  margin-top: 10px;
  text-align: center;

  font-size: 13px;
  color: #fff;

  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);

  padding: 4px 10px;
  border-radius: 6px;

  box-shadow: 0 2px 8px rgba(0,0,0,0.5);

  white-space: nowrap;
}

/* =========================
   ITEMS CONTAINER
========================= */
.qc-items {
  position: absolute;
  bottom: 0;
  right: 0;
}

/* =========================
   ITEMS
========================= */
.qc-item {
  position: absolute;
  bottom: 0;
  right: 0;

  transform: translate(0,0) scale(0);
  opacity: 0;

  transition: transform 0.4s ease, opacity 0.3s ease;
}

.quick-contact.active .qc-item {
  opacity: 1;
}

/* =========================
   BUTTONS
========================= */
.qc-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;
  font-size: 20px;

  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* COLORS */
.qc-phone .qc-btn { background: #007bff; }
.qc-whatsapp .qc-btn { background: #25D366; }
.qc-mail .qc-btn { background: #ff5c5c; }

/* =========================
   ITEM LABELS
========================= */
.qc-label {
  margin-top: 8px;
  font-size: 12px;

  color: white;
  background: rgba(0,0,0,0.75);

  padding: 3px 8px;
  border-radius: 6px;

  text-align: center;
}

/* =========================
   OVERLAY
========================= */
.quick-contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;

  transition: 0.3s;
  z-index: 9998;
}

.quick-contact-overlay.active {
  opacity: 1;
  pointer-events: all;
}