.ba-slider {
    position: relative;
    width: 100%;
    height: 400px; /* kannst du später anpassen */
    overflow: hidden;
    border-radius: 12px;
}

/* beide Bilder exakt gleich */
.ba-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

/* Nachher */
.ba-after {
    z-index: 1;
}

/* Vorher (wird beschnitten, NICHT skaliert) */
.ba-before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

/* Linie */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
}

/* Kreis */
.ba-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Icon */
.ba-icon {
    font-size: 18px;
    color: #000;
    user-select: none;
    pointer-events: none;
}

/* Linie */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 3;
    cursor: ew-resize;
}

/* Kreis */
.ba-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Icon */
.ba-icon {
    font-size: 18px;
    color: #000;
    user-select: none;
    pointer-events: none;
}
.ba-slider,
.ba-slider * {
    user-select: none;
    -webkit-user-select: none;
}
.ba-slider img {
    pointer-events: none;
}