#uid-1066 .container,
#uid-1106 .container,
#uid-1159 .container,
#uid-1187 .container {
  position: relative !important;
  max-width: 100% !important;
  width: 1440px !important;
  padding-left: 0;
  padding-right: 0;
}


/* Animation Slider */
#wrap-anim-slider {
  height: clamp(15rem, 39.744vw - 1.394rem, 34.375rem);
  width: 100%;
  position: relative;
  margin-top: 150px;
}

#page-title {
  position: absolute;
  top: -150px;
  left: 50%;
  width: 100%;
  max-width: 1440px;
  transform: translateX(-50%);
  z-index: 100;
}

#anim-slider {
  height: clamp(15rem, 39.744vw - 1.394rem, 34.375rem);
  width: 100vw;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  overflow: visible;
}


/*
 * Alle Slides liegen auf derselben Buehne. Die Positionen und Groessen werden
 * von animslider.js berechnet. Dadurch ist die Animation nicht mehr auf vier
 * Spalten/Boxen begrenzt und funktioniert auch mit 15 Bildern.
 */
.anim-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.box {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform-origin: left top;
  will-change: transform, opacity;
}

.box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


@media screen and (max-width: 1600px) {
  #uid-1066 .container,
  #uid-1159 .container {
    position: relative !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 5%;
    padding-right: 5%;
  }

  #anim-slider {
    width: 100%;
    left: 0;
    transform: none;
  }
}


@media screen and (max-width: 991.5px) {
  #uid-1066 .container,
  #uid-1106 .container,
  #uid-1159 .container,
  #uid-1187 .container {
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
}


@media screen and (max-width: 575.5px) {
  #wrap-anim-slider,
  #anim-slider {
    height: 200px;
  }

  #page-title {
    width: 100vw;
    top: -95px;
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
}


@media screen and (max-width: 480px) {
  #wrap-anim-slider,
  #anim-slider {
    height: 145px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .box {
    will-change: auto;
  }
}
