.sticky-navbar {
    position: fixed;
    top: 50%;
    right: -150px; /* Verschiebt das Menü weiter nach rechts */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.sticky-navbar-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #333;
    border-radius: 5px 0 0 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    right: 20px; /* Stellt sicher, dass die Icons am Rand bleiben */
}

.sticky-navbar-item .icon {
    font-size: 24px;
}

.sticky-navbar-item .title {
    margin-left: 10px;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.sticky-navbar-item:hover {
    background-color: #444;
    padding-right: 0px;
    right: 150px; /* Verschiebt das Menü bei Hover */
}

.sticky-navbar-item:hover .title {
    opacity: 1;
}

/* Spezifische Farbgestaltung */
.button-red {
    background-color: #a72f4b;
}

.button-red:hover {
    background-color: #562a34;
}

.button-termin {
    background-color: #9a97a2;
}

.button-termin:hover {
    background-color: #606071;
}

.button-green {
    background-color: #aabfba;
}

.button-green:hover {
    background-color: #5e8982;
}

.button-tel {
    background-color: #cdc2bc;
}

.button-tel:hover {
    background-color: #af9d93;
}

.button-insta {
    background-color: #b6abd1;
}

.button-insta:hover {
    background-color: #533c89;
}

/* Weißes Icon und weiße Schrift für alle Buttons */
.sticky-navbar-item .icon,
.sticky-navbar-item .title {
    color: white;
}


/* Keyframe-Animation für die Drehung */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Drehung beim Hover */
.sticky-navbar-item:hover .icon {
    animation: rotate 0.5s linear;
}