/* Appointment Floating Button */
.appointment-float {
    position: fixed;
    bottom: 170px;
    right: 30px;
    min-height: 54px;
    padding: 0 18px 0 8px;
    background: rgba(212, 175, 55, 0.94);
    color: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.34);
    z-index: 1000;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, color 0.28s ease;
}

.appointment-float__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(26, 29, 36, 0.92);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1;
}

.appointment-float__text {
    font-family: var(--font-heading, serif);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.appointment-float:hover {
    background: #e7c75d;
    color: #111319;
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.46);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    background-color: #128c7e;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

/* Instagram Floating Button */
.instagram-float {
    position: fixed;
    bottom: 100px; /* 10px Abstand über dem WhatsApp Button (30+60+10) */
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.instagram-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    filter: brightness(1.1); /* Macht den Farbverlauf beim Hover etwas leuchtender */
}

.instagram-icon {
    width: 35px;
    height: 35px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 242px; /* Platziert über dem Termin-Button */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 680px) {
    .whatsapp-float,
    .instagram-float {
        bottom: 14px;
        height: 52px;
        width: 52px;
    }

    .whatsapp-float {
        right: 14px;
    }

    .instagram-float {
        right: 76px;
    }

    .appointment-float {
        bottom: 76px;
        right: 14px;
        min-height: 48px;
        padding: 0 14px 0 6px;
    }

    .appointment-float__icon {
        height: 34px;
        width: 34px;
        font-size: 1.15rem;
    }

    .appointment-float__text {
        font-size: 0.9rem;
    }

    .scroll-to-top {
        bottom: 136px;
        right: 14px;
        height: 44px;
        width: 44px;
    }
}
