/*KARUSELL ANFANG*/

    .carousel {
        position: relative;
        width: min(90%, 600px);
        height: 315px;
        aspect-ratio: 16/9;
        margin: 0 auto;
        overflow: hidden;
        box-shadow: 0 0 30px var(--box-shadow-weich);
        border-radius: 30px;
        background: rgba(255,255,255,.03);
    }

    .carousel-track{
        display: flex;
        width: 100%;
        height: 100%;
        transition: transform 0.5s ease;
    }

    .carousel-track img{
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /*pfeile*/

    .carousel-button{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        box-shadow: 0 0 30px var(--box-shadow-mittel);
        border: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.03);
        color: var(--box-shadow-mittel);
        font-size: 22px;
        cursor: pointer;
        transition:
            backround 0.2s ease,
            color 0.2s ease,
            transform 0.2s ease;
    }

    .carousel-button:hover{
        background: var(--laser);
        color: var(--accent);
        transform: translateY(-50%) scale(1.06);
    }

    .prev{
        left: 16px;
    }

    .next{
        right: 16px;
    }

    /*navigationspunkte*/

    .carousel-dots{
        position: absolute;
        left: 50%;
        bottom: 14px;
        display: flex;
        gap: 8px;
        transform: translateX(-50%);
    }

    .carousel-dot{
        width: 9px;
        height: 9px;
        padding: 0;
        border: 1px solid var(--box-shadow-mittel);
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
    }

    .carousel-dot.active{
        background: var(--box-shadow-mittel);
        box-shadow: 
            0 0 6px var(--laser)
            0 0 12px var(--box-shadow-mittel);
    }

    @media (max-width: 600px){
        .carousel{
            width: calc(100%-32px);
            aspect-ratio: 4/3;
        }

        .carousel-button{
            width: 36px;
            height: 36px;
            font-size: 18px;
        }
    }

/*KARUSELL ENDE*/