  .modern-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 1172 / 813; 
  aspect-ratio: 1192 / 1200; 
  margin-top: -26px;
}

 #slideshow-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
li.slide{
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}



.slide.active {
  opacity: 1;
}

  .controls {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  z-index: 10;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  user-select: none;
}

 /* --------------------------------- PFEILE */
#prev {
  margin-left: -30px;
  padding: 150px 150px 150px 0px;
  background-image: url(../../elemente/pfeil_prev.svg);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: left center;

}

#next {
  margin-right: -30px;
  padding: 150px 0px 150px 150px;
  background-image: url(../elemente/pfeil_next.svg);
  background-repeat: no-repeat;
  background-size: 60px;
  background-position: right center;
}

 .caption {
  position: absolute;
  left: -21px;
  bottom: -66px;
  color: var(--brand_color);
  font-size: 1.3rem;
  text-align: left;
}

/* .caption span{
  display: inline;
  background: var(--background_color);
  padding: 1px 4px 2px 0;
} */

.slide {
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  /* background-size: cover;
  background-position: center; */
  text-align: center
}

.slide img {
  height: auto;
  width: 100%;
}
.slide.portrait img{
  height: 85vw;
  width: auto;

}

.pause-play {
    width: 20px;
    position: absolute;
    right: -13px;
    bottom: -48px;
}
@media screen and (min-width: 484px) {
  /* --------------------------------- PFEILE */
  #prev {
    margin-left: -40px;
    background-size: 70px;
  }
  
  #next {
    margin-right: -40px;
    background-size: 70px;
  }
  
}

@media screen and (min-width: 810px) {
  /* --------------------------------- PFEILE */
  #prev {
    margin-left: -56px;
    background-size: 94px;
  }
  
  #next {
    margin-right: -56px;
    background-size: 94px;
  }
}

@media screen and (min-width: 1080px) {
}


@media screen and (min-width: 1360px) {
  
  .modern-slideshow {
    position: relative;
    width: 1172px;
    height: 813px;
    margin-top: -41px;
    cursor: pointer;
  }
  
  
  .slide {
    /* overflow: hidden; */
    /* Wichtig, damit das Bild beim Zoomen nicht übersteht */
    position: relative;
  }
  
  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* background-size: cover;
    background-position: center; */
    text-align: center
  }
  
  .slide img {
    height: 100%;
    width: auto;
  }
  .slide.portrait img{
    height: 832px;
      margin-top: -2px;
  }

  
  
  
  
  
 .caption {
    position: absolute;
    bottom: -78px;
    height: 3rem;
    width: 93%;
    hyphens: none;
    left: var(--left-minus);
    font-size: 1.5rem;
    
  }
  


  .controls {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    z-index: 10;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    user-select: none;
  }

  /* --------------------------------- PFEILE */
  #prev {
    margin-left: -120px;
    padding: 250px 250px 250px 0px;
    background-image: url(../../elemente/pfeil_prev.svg);
    background-repeat: no-repeat;
    background-size: 110px;
    background-position: left center;

  }

  #next {
    margin-right: -120px;
    padding: 250px 0px 250px 250px;
    background-image: url(../elemente/pfeil_next.svg);
    background-repeat: no-repeat;
    background-size: 110px;
    background-position: right center;
  }




  span.cbp-binext {
    background-image: url(../../elemente/pfeil_next.svg);
    background-repeat: no-repeat;
    background-size: 110px;
    background-position: right center;
    margin-right: -102px;

  }

  span.cbp-biprev {
    background-image: url(../../elemente/pfeil_prev.svg);
    background-repeat: no-repeat;
    background-size: 110px;
    background-position: left center;
    margin-left: -102px;
  }
  
  
  .pause-play{
    width: 20px;
    position: absolute;
    right: -71px;
    bottom: -48px;
  }
  
  

}