/* Paginierungspunkte */
.swiper-pagination {
  position: absolute;
  right: 10px;
  top: 20%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.swiper-pagination-dot {
  width: 8px;
  height: 8px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 5px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.swiper-pagination-dot.active {
  background-color: var(--green);
}

.swiper {
  position: relative;
  width: 300px;
  height:400px;
  max-height:210px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width:100%;
}

/* Wrapper und Slides */
.swiper-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  height: 210px;
  background-color: #007bff;
}

.swiper-slide img{
  width:100%;
  height:210px;
  object-fit:cover;

}


@media screen and (min-width:780px){
  .swiper{
    max-height:unset;
  }

  .swiper-slide{
    height:100%;
  }

  .swiper-slide img{
    height:400px;
  }

  .swiper-pagination {
    top: 30%;
  }
}