.dienstenCarousel{
    position:relative;
    height:550px;
    z-index:1;
}
.dienstenCarousel .carousel-inner {
  height: 100%;
}

.dienstenCarousel .carousel-item {
  position: absolute !important; /* Bootstrap is insistent */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.dienstenCarousel .carousel-item img {
  height: 100%; /* Bootstrap handles width already */
  object-fit: cover; /* or 'contain' if you want stretch instead of crop */
}

.dienstenCarousel div.imageHolder::after{
    background-color:rgba(0,0,0,0.5);
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}
.dienstenCarousel .carousel-caption {
    top: 18%;
    left: auto;
    right: 0;
    width: 80%;
    bottom: auto;
    text-align: left;
    position: relative;
}
.dienstenCarousel .carousel-caption h3{
    text-transform:uppercase;
}
.dienstenCarousel .carousel-caption *{
    color:#fff;
}

.dienstenCarouselOverlay{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    z-index: 10;
}

.dienstenList{
    margin-top: -40px;
    width: 100%;
    max-width: 320px;
    /* position: absolute; */
    background-color: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
}
.dienstenList .dienstenItem{
    line-height:1.1em;
    padding:5px 0;
    cursor:pointer;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    text-transform: uppercase;
}
.dienstenList .dienstenItem:hover{
    color:var(--themeBlue);
}
.dienstenList h3{
    color:var(--themeOrange);
    margin: 0;
}
.dienstenList hr{
    margin:0;
    border-width: 2px;
    border-top-color: #000;
    opacity: 1;
    width: 50%;
}
.dienstenList .dienstenItem svg{
    transition: all .2s ease-in-out;
}
.dienstenList .dienstenItem:hover svg{
    transform: translateX(4px);
}

.carousel-item > .container {
    height: 100%;
    display: flex;
    justify-content: flex-end;
}

.carousel-item > .imageHolder {
    position: absolute;
    top: 0;
    left: 0;
}
@media screen and (max-width:769px){
    .carousel-item > .container {
        flex-direction: column;
    }
    .dienstenCarouselOverlay .dienstenList{
        width:100%;
        max-width:100%;
    }
    .dienstenCarousel .carousel-caption {
        top: 0;
        left: auto;
        right: 0;
        width: 100%;
        bottom: auto;
        text-align: left;
        position: relative;
    }
    .dienstenCarousel {
        height: 100dvh;
        min-height: 650px;
        max-height:700px;
    }
    .dienstenSpacer{
        flex:none;
    }
    .dienstenCarousel .sliderContent{
        height:auto;
        flex:1;
        display:flex;
        align-items: center;
    }
}