/* =====================================================
   BASIS LAYOUT
===================================================== */

.koebes-hero-slider,
.koebes-hero-slider .koebes-slide {
  height: var(--koebes-height, 75vh);
}

.koebes-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.koebes-slide {
  position: relative;
  display: flex;
  align-items: center;
}

.koebes-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.koebes-inner{
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  padding: 0 5%;
}

.koebes-left  { justify-content: flex-start; }
.koebes-right { justify-content: flex-end; }

.koebes-content-box{
  background: rgba(171, 29, 49, 0.9);
  padding: 80px 60px;
  max-width: 650px;
  color: #fff;
}

.koebes-heading{
  font-size: 2.375rem;
  text-transform: uppercase;
  font-weight: 300;
  color: #ffffff;
  margin: 0 0 30px 0;
}

.koebes-text{
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 30px 0;
  color: #ffffff;
}

/* ================================
   CTA Link (mit Icon) – Underline nur bei Hover
   Styling über CSS-Variablen (Elementor Style Tab)
================================ */
.koebes-link{
  --koebes-cta-gap: 10px;
  --koebes-cta-icon-size: 16px;
  --koebes-cta-underline-height: 2px;
  --koebes-cta-underline-offset: 4px;

  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--koebes-cta-gap);

  color: #fff;
  text-transform: uppercase;
  text-decoration: none;

  padding-bottom: var(--koebes-cta-underline-offset);
}

.koebes-link-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.koebes-link-icon svg{
  width: var(--koebes-cta-icon-size);
  height: var(--koebes-cta-icon-size);
  fill: currentColor;
  stroke: currentColor;
  display: block;
}

.koebes-link-icon-img{
  width: var(--koebes-cta-icon-size);
  height: var(--koebes-cta-icon-size);
  display: block;
}

.koebes-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: var(--koebes-cta-underline-height);
  background: currentColor;
  transition: width 0.25s ease;
}

.koebes-link:hover::after{
  width: 100%;
}

/* Dots */
.koebes-pagination{
  bottom: 22px !important;
}
.koebes-pagination .swiper-pagination-bullet{
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
.koebes-pagination .swiper-pagination-bullet-active{
  opacity: 1;
}

/* ================================
   NAVIGATION – ORIGINAL HALBKREIS (SVG)
   85px Höhe / 43px Breite wie im Original
================================ */

.koebes-hero-slider .koebes-swiper-button{
  height: 85px;
  width: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  top: 50% !important;
  transform: translateY(-50%);

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 100% 100% !important;

  background-color: transparent !important;
  border-radius: 0;
  padding: 0;
}

.koebes-hero-slider .koebes-prev.swiper-button-prev{
  left: 0 !important;
  right: auto !important;
  background-image: url('https://brodesser.treehousemedia.de/wp-content/uploads/2026/02/be_halbkreis_links.svg') !important;
  padding-right: 10px;
}

.koebes-hero-slider .koebes-next.swiper-button-next{
  right: 0 !important;
  left: auto !important;
  background-image: url('https://brodesser.treehousemedia.de/wp-content/uploads/2026/02/be_halbkreis_rechts.svg') !important;
  padding-left: 10px;
}

.koebes-hero-slider .swiper-button-prev:after,
.koebes-hero-slider .swiper-button-next:after{
  font-size: 20px;
  line-height: 1;
  color: #ffffff;
}

.koebes-hero-slider .swiper-button-prev,
.koebes-hero-slider .swiper-button-next{
  margin-top: 0 !important;
}

/* Custom arrow SVG support (falls du SVG Pfeile nutzt) */
.koebes-hero-slider.khs-has-custom-arrows .koebes-swiper-button:after{
  display: none !important;
}
.koebes-hero-slider .koebes-swiper-button .khs-nav-icon{
  width: 20px;
  height: 20px;
  display: block;
}
.koebes-hero-slider .koebes-swiper-button svg{
  fill: currentColor;
  stroke: currentColor;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px){
  .koebes-hero-slider,
  .koebes-hero-slider .koebes-slide{
    height: auto;
    min-height: 560px;
  }
  .koebes-content-box{
    padding: 40px 28px;
    max-width: 92%;
  }
}
