.ba-image-compare-48fc10e9 {
    position: relative;
    width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: ew-resize;
    box-sizing: border-box;
    display: block;
    /* Senkrecht wischen scrollt weiter die Seite, waagrecht gehoert dem Regler */
    touch-action: pan-y;
}

.ba-image-compare-48fc10e9 * {
    box-sizing: border-box;
}

.ba-layer-48fc10e9 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ba-layer-48fc10e9 img {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.ba-after-48fc10e9 {
    position: relative;
    width: 100%;
    height: 100%;
}

.ba-before-48fc10e9 {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--ba-pos, var(--ba-initial-position, 50%))) 0 0);
    -webkit-clip-path: inset(0 calc(100% - var(--ba-pos, var(--ba-initial-position, 50%))) 0 0);
}

.ba-divider-line-48fc10e9 {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos, var(--ba-initial-position, 50%));
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-handle-48fc10e9 {
    position: absolute;
    top: 50%;
    left: var(--ba-pos, var(--ba-initial-position, 50%));
    z-index: 4;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: transform 0.1s ease;
    /* Der Griff nimmt die Wischgeste vollstaendig an sich */
    touch-action: none;
}

.ba-handle-48fc10e9:hover {
    transform: scale(1.05);
}

/* Sichtbarer Fokus, damit der Regler mit der Tastatur auffindbar ist */
.ba-handle-48fc10e9:focus-visible {
    outline: 3px solid var(--color-highlight, #9DD7CF);
    outline-offset: 3px;
}

.ba-handle-arrows-48fc10e9 {
    font-weight: bold;
    user-select: none;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-label-48fc10e9 {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    white-space: nowrap;
}

/* Auf schmalen Schirmen stehen die Beschriftungen dem Griff im Weg */
@media (max-width: 767px) {
    .ba-label-48fc10e9 {
        font-size: 11px;
        opacity: 0.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ba-handle-48fc10e9 {
        transition: none;
    }
    .ba-handle-48fc10e9:hover {
        transform: none;
    }
}
