/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   Phone: +49 173 7050910
════════════════════════════════════════════════════════ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
    flex-shrink: 0;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* Pulse ring */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: wa-pulse 2.2s infinite;
    z-index: -1;
}

@keyframes wa-pulse {
    0%   { transform: scale(1);    opacity: 0.7; }
    70%  { transform: scale(1.5);  opacity: 0;   }
    100% { transform: scale(1.5);  opacity: 0;   }
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(11, 29, 46, 0.92);
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    letter-spacing: 0.3px;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: rgba(11, 29, 46, 0.92);
    border-right: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}
