/* ==========================================================================
   Buttons
   ========================================================================== */

.premium-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    padding: 1.2rem 3rem;
    background: var(--gold-gradient);
    color: var(--dark);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: var(--gold-glow);
    transition: all 0.3s ease;
}

.premium-button i {
    margin-inline-end: 0.5rem;
}

.premium-button::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: var(--shimmer);
    animation: shimmer 2s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-button:hover::before {
    opacity: 1;
}

.premium-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.6);
    animation: pulse 1.5s infinite;
}

.premium-button:active {
    transform: translateY(1px);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

/* Secondary button: gold outline (used for "Anrufen") */
.outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.1rem 2rem;
    background: rgba(0, 0, 0, 0.35);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.outline-button:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.35);
    transform: translateY(-2px);
}

.outline-button i {
    animation: ring 2.4s ease-in-out infinite;
}

/* Phone icon "ringing" wiggle */
@keyframes ring {
    0%, 60%, 100% { transform: rotate(0); }
    65% { transform: rotate(-15deg); }
    70% { transform: rotate(15deg); }
    75% { transform: rotate(-12deg); }
    80% { transform: rotate(12deg); }
    85% { transform: rotate(0); }
}

/* Floating round call button (bottom corner) */
.call-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.3rem;
    background: var(--gold-gradient);
    color: var(--dark);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--gold-glow);
    animation: fabPulse 2.4s ease-in-out infinite;
}

.call-fab i {
    font-size: 1.2rem;
    animation: ring 2.4s ease-in-out infinite;
}

/* On the home page the right corner belongs to the scroll-to-top button */
.call-fab-left {
    right: auto;
    left: 24px;
}

@keyframes fabPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.5), var(--gold-glow); }
    50%      { box-shadow: 0 0 0 12px rgba(255, 215, 0, 0), var(--gold-glow); }
}

@keyframes shimmer {
    to { transform: translate(100%, 100%); }
}

@media (max-width: 600px) {
    .premium-button,
    .outline-button {
        justify-content: center;
        padding: 0.9rem 1.6rem;
        font-size: 1.05rem;
    }

    .call-fab {
        bottom: 16px;
        right: 16px;
        padding: 0.85rem 1.1rem;
    }

    .call-fab-left {
        right: auto;
        left: 16px;
    }
}
