/***********************************************
 * CONTENT-SWIPER — FINAL BASIS
 ***********************************************/

 /* Swiper Default Icons ausblenden */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.content-swiper .swiper-button-prev svg {
  transform: scaleX(-1);
}

/* Buttons kleiner */
.content-swiper .swiper-button-prev,
.content-swiper .swiper-button-next {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  backdrop-filter: blur(4px);
}

/* SVG-Icons verkleinern */
.content-swiper .swiper-button-prev svg,
.content-swiper .swiper-button-next svg {
  width: 0.9rem;
  height: auto;
  display: block;
  margin: auto;
}

/* Linken Pfeil spiegeln */
.content-swiper .swiper-button-prev svg {
  transform: scaleX(-1);
}

/* Basis */
.content-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--ms-dark-20);
  opacity: 1;
  border-radius: 999px;
  transition: background .3s ease, transform .3s ease;
}

/* Aktiv */
.content-swiper .swiper-pagination-bullet-active {
  background: var(--ms-primary);
  transform: scale(1.4);
}

/* Dark Mode */
body.dark .content-swiper .swiper-pagination-bullet {
  background: var(--ms-light-20);
}

body.dark .content-swiper .swiper-pagination-bullet-active {
  background: var(--ms-primary-light);
}


.content-swiper {
  width: 100%;
  margin: var(--ms-section-gap) 0;
}

/* Swiper Container */
.content-swiper .swiper {
  width: 100%;
  overflow: hidden;
}

/* Wrapper */
.content-swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

/* Slides */
.content-swiper .swiper-slide {
  width: auto; /* Swiper setzt Breite dynamisch */
  margin-right: var(--ms-space-4); /* entspricht deinen 30px */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content-Image innerhalb des Sliders */
.content-swiper .content-image figure {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: var(--ms-radius);
  margin: 0;
  padding: 0;
}

.content-swiper .content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

/* Hover-Effekt */
.content-swiper .content-image:hover img {
  transform: scale(1.05);
}

/***********************************************
 * NAVIGATION
 ***********************************************/

.content-swiper .swiper-button-prev,
.content-swiper .swiper-button-next {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background .25s ease;
}

.content-swiper .swiper-button-prev:hover,
.content-swiper .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.55);
}

/* Dark Mode */
body.dark .content-swiper .swiper-button-prev,
body.dark .content-swiper .swiper-button-next {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/***********************************************
 * PAGINATION
 ***********************************************/

.content-swiper .swiper-pagination-bullet {
  background: var(--ms-primary);
  opacity: .4;
}

.content-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}
