/* Klakker Swiper System - Komplette Überarbeitung */

/* ===== SWIPER GRUNDLAGEN ===== */
.klakSwiper {
  margin-bottom: 2rem;
  background: #fefaf1;
  padding: 2rem 0;
  border-radius: 8px;
  position: relative;
}

/* ===== VERSCHIEDENE HÖHEN ===== */
.klakSwiperCompact {
  min-height: 300px !important;
  height: 300px !important;
  padding: 1.5rem 0 !important;
}

.klakSwiperStandard {
  min-height: 400px !important;
  height: 400px !important;
  padding: 2rem 0 !important;
}

.klakSwiperLarge {
  min-height: 500px !important;
  height: 500px !important;
  padding: 2.5rem 0 !important;
}

/* Swiper-Container Höhen respektieren */
.klakSwiper .swiper-wrapper {
  height: inherit !important;
}

.klakSwiper .swiper-slide {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ===== DEZENTE NAVIGATION ===== */
.klak-swiper-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ===== DEZENTE PFEILE ===== */
.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  background: rgba(0, 56, 147, 0.1) !important;
  border: 1px solid rgba(0, 56, 147, 0.2) !important;
  border-radius: 50% !important;
  color: #003893 !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Swiper Container Grundlagen */
.klakSwiper {
  position: relative;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(0, 56, 147, 0.2) !important;
  border-color: rgba(0, 56, 147, 0.4) !important;
  transform: scale(1.05);
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: scale(0.95);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
}

/* ===== DEZENTE PAGINATION - STANDARD-WERTE ÜBERSCHREIBEN ===== */
.swiper-pagination {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  margin: 0 20px !important;
  width: auto !important;
  height: auto !important;
  flex: 1 !important;
}

.swiper-pagination-bullet {
  width: 14px !important;
  height: 14px !important;
  background: rgba(0, 56, 147, 0.5) !important;
  opacity: 0.9 !important;
  border-radius: 50% !important;
  margin: 0 !important;
  cursor: pointer !important;
  border: 1px solid rgba(0, 56, 147, 0.3) !important;
  transition: all 0.3s ease !important;
  display: block !important;
}

/* Aktive Dot - gleiche Größe, nur dunkler */
.swiper-pagination-bullet-active {
  background: rgba(0, 56, 147, 0.9) !important;
  opacity: 1 !important;
  transform: none !important;
  border-color: rgba(0, 56, 147, 0.6) !important;
}

/* Hover-Effekt - keine Größenänderung */
.swiper-pagination-bullet:hover {
  background: rgba(0, 56, 147, 0.7) !important;
  transform: none !important;
}

/* Alte Regeln entfernt - werden durch neue überschrieben */

/* ===== DEZENTE DIASHOW-BUTTONS ===== */
.klak-swiper-diashow {
  background: rgba(0, 56, 147, 0.1) !important;
  border: 1px solid rgba(0, 56, 147, 0.2) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  cursor: pointer !important;
  padding: 0 !important;
  transition: all 0.3s ease !important;
  color: #003893 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.klak-swiper-diashow:hover {
  background: rgba(0, 56, 147, 0.2) !important;
  border-color: rgba(0, 56, 147, 0.4) !important;
  transform: scale(1.05);
}

.klak-swiper-diashow.active {
  background: rgba(0, 56, 147, 0.3) !important;
  color: #1A2233 !important;
  box-shadow: 0 0 10px rgba(0, 56, 147, 0.3);
}

.klak-swiper-diashow:active {
  transform: scale(0.95);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .klak-swiper-navigation {
    gap: 10px;
    padding: 0.8rem;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px !important;
    height: 36px !important;
  }
  
  .klak-swiper-diashow {
    width: 32px !important;
    height: 32px !important;
  }
  
  .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
  }
}

@media (max-width: 480px) {
  .klak-swiper-navigation {
    gap: 8px;
    padding: 0.6rem;
  }
  
  .swiper-button-prev,
  .swiper-button-next {
    width: 32px !important;
    height: 32px !important;
  }
  
  .klak-swiper-diashow {
    width: 28px !important;
    height: 28px !important;
  }
}

/* ===== ACCESSIBILITY ===== */
.swiper-button-prev:focus,
.swiper-button-next:focus,
.klak-swiper-diashow:focus {
  outline: 2px solid #003893 !important;
  outline-offset: 2px !important;
}

/* ===== ANIMATIONEN ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.klak-swiper-navigation {
  animation: fadeIn 0.5s ease-out;
}
