/* ==========================================================================
   ZEITSTRAHL SWIPER (Konfliktfrei für Mobile & Desktop)
   ========================================================================== */
.timeline-section {
  background-color: #3a605c;
  color: #ffffff;
  --accent-green: #69be00;
  --badge-height: 62px;
  --badge-margin: 24px;
  --dot-size: 51px;
  --dot-size: 51px; /* Von 32px auf 51px erhöht – Linie und Desktop-Pfeile rutschen automatisch mit */
  --dot-center-y: calc(var(--badge-height) + var(--badge-margin) + (var(--dot-size) / 2));
}

/* Platz links und rechts für die Pfeile schaffen */
.timeline-wrapper {
  padding: 0 54px;
  position: relative;
}

@media (min-width: 992px) {
  .timeline-wrapper {
    padding: 0 70px;
  }
}

/* Setzt globale .swiper-Paddings aus deinem restlichen CSS nur hier zurück */
.timeline-section .timelineSwiper {
  padding-bottom: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

/* Durchgehende grüne Linie von Pfeil zu Pfeil */
.timeline-line {
  position: absolute;
  top: var(--dot-center-y);
  left: 22px;
  right: 22px;
  height: 2px;
  background-color: var(--accent-green);
  transform: translateY(-50%);
  z-index: 1;
}

/* Grüne Pfeil-Buttons wie in der Original-Grafik */
.timeline-nav-btn {
  position: absolute !important;
  top: var(--dot-center-y) !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  border: none !important;
  border-radius: 50% !important;
  background-color: var(--accent-green) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 20px 20px !important;
  padding: 0 !important;
  z-index: 5 !important;
  cursor: pointer !important;
  display: block !important;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.timeline-prev {
  left: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='19' y1='12' x2='5' y2='12'/%3E%3Cpolyline points='12 19 5 12 12 5'/%3E%3C/svg%3E") !important;
}

.timeline-next {
  right: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://w3.org' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") !important;
}

/* Deaktivierter Pfeil (hellgrün wie im Screenshot) */
.timeline-nav-btn.swiper-button-disabled {
  background-color: #a8d88a !important;
  opacity: 0.9 !important;
  cursor: default !important;
  pointer-events: none !important;
}

/* Slide-Inhalt */
.timeline-item {
  width: 100%;
  padding: 0 8px;
}

/* Phase-Badge oben */
.phase-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--badge-height);
  padding: 27px 22px;
  border: 2px solid var(--accent-green);
  border-radius: 8px;
  color: var(--accent-green);
  
	font-size: 22px;
	font-family:'ExtraBold', sans-serif;
  margin-bottom: var(--badge-margin);
  position: relative;
  background-color: #3a605c;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Grüner äußerer Rahmen der Spitze (startet exakt an der Außenkante des 2px-Rahmens) */
.phase-badge::before {
  content: "";
  position: absolute;
  top: 100%;              /* Beginnt genau unterhalb des 2px-Rahmens */
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;           /* Länge der Spitze nach unten */
  background-color: var(--accent-green);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
}

/* Innere Füllung (startet 3px weiter oben im Badge, um den Rahmen sauber zu öffnen) */
.phase-badge::after {
  content: "";
  position: absolute;
  top: calc(100% - 3px);  /* Überdeckt den 2px-Rahmen des Badges komplett */
  left: 50%;
  transform: translateX(-50%);
  width: 17px;
  height: 20px;           /* 3px Überstand oben + 17px nach unten = saubere 2px-Spitze */
  background-color: #3a605c;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transition: background-color 0.2s ease;
  z-index: 2;
}


/* Kreis auf der Linie */
.phase-dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  background-color: #3a605c;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Aktiver Zustand */
.timeline-section .swiper-slide.is-active .phase-badge,
.timeline-item:hover .phase-badge {
  background-color: #a6b7b6;
  color: #3a605c;
}

/* Füllfarbe der Nase beim aktiven Zustand oder Hover mitfärben */
.timeline-section .swiper-slide.is-active .phase-badge::after,
.timeline-item:hover .phase-badge::after {
  background-color: #a6b7b6;
}

.timeline-section .swiper-slide.is-active .phase-dot span {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background-color: var(--accent-green);
}

.phase-title {
  font-size: 22px;
  font-family:'ExtraBold', sans-serif;
  margin-bottom: 0.5rem;
}

.phase-text {
  font-size: 22px;
  line-height: 1.2;
  color: #fff;
  max-width: 260px;
  margin: 0 auto;
}

/* Flexbox für Inline-SVGs in den Buttons */
.timeline-nav-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-image: none !important; /* Verhindert Konflikte mit Background-SVGs */
}

/* ==========================================================================
   MOBILE ANSICHT (unter 768px) – Exakt nach deiner Vorlage
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Auf Mobile braucht der Text links/rechts keinen Platz für die Pfeile, 
     weil die Pfeile oben neben dem Badge sitzen */
  .timeline-wrapper {
    padding: 0 12px !important;
  }

  /* Pfeile auf exakt dieselbe Höhe wie das Phase-Badge setzen (Mitte von 38px = 19px) */
  .timeline-nav-btn {
    top: calc(var(--badge-height) / 2) !important; /* 19px von oben */
    width: 38px !important;
    height: 38px !important;
  }

  .timeline-prev {
    left: 12px !important;
  }

  .timeline-next {
    right: 12px !important;
  }

  /* Durchgehende grüne Linie unter dem Badge (wie im Screenshot) */
  .timeline-line {
    top: var(--dot-center-y) !important; /* 70px von oben */
    left: 12px !important;
    right: 12px !important;
  }

  .phase-text {
    max-width: 290px !important;
  }
}

/* ==========================================================================
   PUNKT-NAVIGATION UNTER DEM GRÜNEN CONTAINER
   ========================================================================== */
.timeline-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

.timeline-pagination .swiper-pagination-bullet {
  width: 24px !important;
  height: 24px !important;
  background-color: transparent !important;
  border: 1.5px solid #3a605c !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: background-color 0.2s ease;
}

.timeline-pagination .swiper-pagination-bullet-active {
  background-color: #3a605c !important;
}

/* Auf Desktop ausblenden, wenn alle 3 Phasen sichtbar sind */
.timeline-pagination.swiper-pagination-lock {
  display: none !important;
}





/* ##################################################################### */



/* ==========================================================================
   VORTEILS-SWIPER (4 Spalten Desktop / 1 Spalte Mobile)
   ========================================================================== */
.benefits-section {
  background-color: transparent; /* Heller Hintergrund wie auf deinem Desktop-Screenshot */
  color: #3a605c;
  --brand-dark: #3a605c;
  --icon-size: 92px;
}

@media (max-width: 767.98px) {
  .benefits-section {
    background-color: #ffffff;
    --icon-size: 96px; /* Auf Mobile etwas größerer Icon-Kreis wie in der Vorlage */
  }
}

/* Globale Swiper-Paddings aus deinem restlichen CSS nur hier zurücksetzen */
.benefits-section .benefitsSwiper.swiper {
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
  overflow: hidden !important;
  width: 100% !important;
}

.benefit-item {
  width: 100%;
  padding: 0 10px;
}

/* Runder Icon-Container oben */
.benefit-icon-circle {
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  /*border: 1.5px solid var(--brand-dark); */
  margin: 0 auto ;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
	margin-bottom: 16px
}

.benefit-icon-circle img,
.benefit-icon-circle svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-title {
font-size: 22px;
	font-family:'ExtraBold', sans-serif;
  color: var(--brand-dark);
  margin-bottom: 0.65rem;
}

.benefit-text {
  font-size: 22px;
  line-height: 1.2;
  color: #465c59;
  max-width: 260px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .benefit-title {
    font-size: 1.15rem;
	  margin-bottom: 0.3rem
  }
  .benefit-text {
    font-size: 1rem;
    max-width: 300px;
  }
}

/* Pfeil-Buttons (exakt auf vertikaler Mitte des Icon-Kreises) */
.benefits-nav-btn {
  position: absolute !important;
  top: calc(var(--icon-size) / 2) !important; /* 48px auf Mobile (Mitte des 96px Kreises) */
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border: none !important;
  border-radius: 50% !important;
  background-color: var(--brand-dark) !important;
  background-image: none !important;
  padding: 0 !important;
  z-index: 5 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.2s ease;
}

.benefits-prev {
  left: 12px !important;
}

.benefits-next {
  right: 12px !important;
}

/* Inaktiver Pfeil (hellgrau/grünlich wie links auf deinem Mobile-Screenshot) */
.benefits-nav-btn.swiper-button-disabled {
  opacity: 0.4 !important;
  cursor: default !important;
  pointer-events: none !important;
}

/* Pfeile und Punkte automatisch ausblenden, wenn auf Desktop alle 4 sichtbar sind */
.benefits-nav-btn.swiper-button-lock,
.benefits-pagination.swiper-pagination-lock {
  display: none !important;
}

/* Punkt-Navigation darunter */
.benefits-pagination {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

.benefits-pagination .swiper-pagination-bullet {
  width: 22px !important;
  height: 22px !important;
  background-color: transparent !important;
  border: 1.5px solid var(--brand-dark) !important;
  opacity: 1 !important;
  margin: 0 !important;
  transition: background-color 0.2s ease;
}

.benefits-pagination .swiper-pagination-bullet-active {
  background-color: var(--brand-dark) !important;
}
