body {
  margin: 0;
  padding: 0;
  background: #eee;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.swiper {
  width: 100%;
  height: 100%;
  margin-left: 23px;
  margin-right: auto;
  border: 1px solid #ffcc33;
  padding: 5px;
  background-color: #fffbef;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 75px;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

.swiper-button-next {
  background-image: url(../galerie/pfeil-rechts.svg);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

.swiper-button-prev {
  background-image: url(../galerie/pfeil-links.svg);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  max-height: 90vh;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px; /* Consistent with SVG resize */
  height: 32px;
  background-image: url(../galerie/close-button.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
  cursor: pointer;
  transition: opacity 0.3s;
}

.close:hover,
.close:focus {
  opacity: 0.7;
}

.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px; /* Consistent with SVG resize */
  height: 32px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.modal-prev {
  left: 10px;
  background-image: url(../galerie/pfeil-links.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

.modal-next {
  right: 10px;
  background-image: url(../galerie/pfeil-rechts.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

.modal-prev:hover,
.modal-next:hover {
  opacity: 0.7;
}