/* LEISTUNGEN ****************************/

#servicesMain {
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  min-height: 100%;
}
#servicesMain .section-heading-service {
  background: url(../img/services/bridge_wide.jpg);
  background-position: center top;
  background-size: fit;
  position: relative;
  overflow: hidden;
  background-attachment: fixed;
  height: 300px;
  margin-top: 25px;
}

#servicesMain .section-heading-service h1 {
  position: relative;
  padding-top: 90px;
}

#servicesMain .section-heading-service .background::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6); /* black overlay with 50% opacity */
}

#servicesMain .section-heading-service #name-box {
  padding-bottom: 50px;
  margin-top: 50px;
  text-shadow: #000000 1px 0 10px;
  color: #fff;
  z-index: 1;
  position: relative;
  text-align: center;
}

#servicesMain .section-heading-service #name-box h1 {
  font-size: 3rem;
  color: #fff;
  text-transform: uppercase;
}


#servicesMain ul, p {
  font-family: "Roboto Slab", serif;
  color: #000000;
  font-size: 1.2rem;
  line-height: 2rem;
  padding-left: 80px;
  text-align: left;
}
#servicesMain p {
  padding-left: 0px;
}

#servicesMain ul li {
  margin-bottom: 0.5em;
  list-style-type: circle;
}

#servicesMain .content-wrapper {
  width: 80%;
  text-align: left;
  padding-top: 10px;
}

#servicesMain .slick-dots {
  font-family: "Roboto Slab", serif;
  color: #000000;
  font-size: 1.2rem;
  line-height: 2rem;
  padding-left: 0;
  text-align: center;
}
#servicesMain .carousel-caption h3 {
  text-align: center;
  text-transform: none;
}

#servicesMain .carousel-caption p {
  display: none;
}

/* ###################### Handy Configuration #################### */
@media (max-width: 600px) {
  .topic-heading::before,
  .topic-heading::after {
    display: none; /* Blendet die Linien aus bei kleinerem Bildschirm */
  }
}

.services-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 30px;
  padding-top: 30px;
}

.services-list {
  flex: 1;
  min-width: 300px;
}

#servicesMain ul {
  padding-left: 20px;
}

/* Well this one is not necessary, trying to get the arrows out of carousel  */
.carousel-container {
  flex: 1;
  min-width: 250px;
  height: 304px;
  margin-left: 20px;
  margin-right: 50px;
  margin-bottom: 30px;
}

.carousel {
  flex: 1;
  min-width: 250px;
  height: 304px; /* Well those 4px and the pic fits, who knows why */
  margin-left: 20px;
  margin-right: 50px;
  position: relative; /* Important for positioning the arrows */
  border: 2px solid #000;
  /* overflow: hidden; */
  background:  rgba(101, 197, 255, 0.3);
}

.carousel-item {
  position: relative;
  height: 300px; /* Höhe des Carousels */
}

.carousel-caption {
  position: absolute;
  bottom: 0; /* Positioniert den Textbereich am unteren Rand des Carousels */
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* Halbtransparenter schwarzer Hintergrund */
  color: #fff; /* Weiße Schriftfarbe */
  padding: 10px;
  box-sizing: border-box;
  text-align: left; /* Zentriert den Text horizontal */
}

.carousel-caption h3, .carousel-caption p {
  margin: 0;
  padding: 5px;
}

.carousel-caption h3 {
  color: #c4fcff;
}

.carousel .slick-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.carousel img {
  /* width: auto; */
  height: 100%;
  width: 100%;
  object-fit: contain;
  /* max-width: 250px; */
  /* height: 300px; */
  margin: auto;
}

.slick-prev, .slick-next {
  background: transparent; /* Change background to transparent */
  border: none;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 80px; /* Adjust the size as needed */
  height: 80px; /* Adjust the size as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}
.slick-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-prev img, .slick-next img {
  /* width: 100%; */
  width: 40px;  /* Size of arrows left and right of carousel */
  height: auto;
}

.slick-prev {
  left: -60px; /* Position the left arrow */
}

.slick-next {
  right: 10px; /* Position the right arrow */
}
.slick-prev:hover, .slick-next:hover {
  background: rgba(0, 0, 0, 0.3); /* Add a slight background on hover */
}