.grav-back-to-top {
    position: fixed;
    bottom: 2rem;
    width: 44px;
    height: 44px;
    background-color: var(--btt-bg, #222);
    color: var(--btt-color, #fff);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    z-index: 9999;
}

/* Positionen */
.grav-back-to-top.pos-right {
    right: 2rem;
}

.grav-back-to-top.pos-left {
    left: 2rem;
}

/* Formen */
.grav-back-to-top.shape-circle {
    border-radius: 50%;
}

.grav-back-to-top.shape-square {
    border-radius: 8px;
}

/* Sichtbarkeit & Hover */
.grav-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.grav-back-to-top:hover {
    background-color: var(--btt-hover-bg, #444);
}

/* SVG Styling (unterstützt sowohl Fill als auch Stroke Icons) */
.grav-back-to-top svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
}

.grav-back-to-top svg[fill="none"] {
    fill: none;
    stroke: currentColor;
}