.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: none;
    z-index: 1000;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    filter: brightness(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top svg {
    width: 1.4rem;
    height: 1.4rem;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* Tablet Anpassungen */
@media (max-width: 991px) {
    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.8rem;
        height: 2.8rem;
    }

    .scroll-to-top svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .scroll-to-top svg {
        width: 1.1rem;
        height: 1.1rem;
    }
} 