:root
{
    --pd-farbe1: #009530;
    --pd-farbe1hell: #FF7828;
    --pd-farbe2: #009530;
    --pd-farbe2hell: #41132C;
    /* --pd-linkfarbe: #002967; */
}

/* individuelle Anpassungen */

.kacheln .pd-kachel h3,
.kacheln .pd-kachel p,
.kacheln .pd-kachel a {
    text-align: left;
    align-self: flex-start;
}

.pd .pd-kachel__klein h3 {
    padding: 30px 0px 0px 0px;
}

/* override nur für die kleinen Kacheln */
.pd-kachel__klein.pd-stretch {
  height: auto;              /* hebt das 100% wieder auf */
  justify-content: flex-start; /* Inhalt ganz normal von oben nach unten fließen lassen */
}

/* Carousel */

.pd-swiper-kontakt-nav {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 10px;
    }
    
.swiper-kontakt-pagination {
        position: static;
    }
    
.swiper-kontakt-pause-play {
        background: none;
        border: none;
        cursor: pointer;
        margin-left: 10px;
    }
    
.swiper-kontakt-pause-play svg {
        width: 24px;
        height: 24px;
    }

/* Individuelle Einstellungen Highlight Carousel */

/* Slides */

.row.pd.pd-hero.pd-hero__white.pd-image__bg {
  padding-bottom: calc(2 * var(--pd-abstand)); /* kleiner Abstand nach unten */
}

#Carousel-Hero .swiper-slide {
	width: 100vw;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 20rem var(--space-m);  
}

/* Textbox */
#Carousel-Hero .swiper-slide .pd-text {
  background-color: rgba(255,255,255,.7);
  padding: 2rem;
}

/* Animation */
.animated-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

.fade-in-up {
  animation: fadeInUp 0.9s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.carousel-navigation-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem var(--space-m);
  background-color: #fff;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
}

/* --- PAGINATION ZENTRIERT --- */
.swiper-kontakt-pagination {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 0.5rem;
}

/* --- PUNKTE --- */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  opacity: 1;
}

.carousel-navigation-wrapper .swiper-kontakt-pagination .swiper-pagination-bullet-active {
  background-color: var(--pd-farbe1);
}

/* --- PAUSE/PLAY BUTTON RECHTS --- */
.swiper-kontakt-pause-play {
	background: none;
	border: none;
	padding: 6px;
	margin-left: 1rem;
	display: flex;	
	cursor: pointer;
	transition: background-color 0.3s;
}

.pause-icon, .play-icon {
    fill: var(--pd-farbe1); 
    width: 24px;
    height: 24px;
    transition: fill 0.3s;
}

.pause-icon:hover, .play-icon:hover {
    fill: var(--pd-farbe2); 
}

/* --- MOBILE ANPASSUNG --- */
@media (max-width: 768px) {
 #Carousel-Hero  .swiper-slide {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 1rem;
    min-height: auto;
  }

  .swiper-kontakt-pause-play {
    margin-top: 0.5rem;
    width: 48px;
    height: 48px;
  }

  .carousel-navigation-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}


/* Mobile Optimierung */
@media (max-width: 767px) {
    .pd-kachel {
        padding: 15px;
    }
}

@media screen and (max-width: 992px)
{
    .pd-zitat::before
    {
        width: 8vw;
        height: 7vw;
        top: -3.2vw;
    }
}