/* Grundlayout */
.pf-testimonials, .pf-customer-images {
    background-color: var(--lightRose);
    padding: 3rem 5rem;
    margin: 2rem 0;
    color: var(--testimonialTextColor);
}

.pf-testimonials__header, .pf-customer-images__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.pf-testimonials__kicker, .pf-customer-images__kicker {
  font-family: Zeyada, serif;
  font-size: 1.4rem;
  margin: 0;
}

.pf-testimonials__title, .pf-customer-images__title {
  color: var(--testimonialTextColor);
  font-size: 4rem;
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0;
}

/* Slider-Layout */
.pf-testimonials__slider, pf.customer-images__slider {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pf-testimonials__viewport, .pf-customer-images__viewport {
  overflow: hidden;
  overflow-x: auto;
  overflow-y: hidden;
  flex: 1;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pf-testimonials__viewport::-webkit-scrollbar {
    display: none;
}

.pf-customer-images__viewport::-webkit-scrollbar {
    display: none;
}

.pf-testimonials__track, .pf-customer-images__track {
  display: flex;
  gap: 2rem;
  padding: 5rem 0 3rem 3rem;
}

/* Buttons */
.pf-testimonials__btn, .pf-customer-images__btn {
  border: none;
  background: var(--darkRose);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.pf-testimonials__btn:hover, .pf-customer-images__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* Testimonial-Karte */
.pf-testimonial-card {
  position: relative;
  flex: 0 0 30%;            /* 2 Karten + ein Stück der dritten */
  max-width: 80%;
  background: var(--blackRose);
  color: #fff;
  border-radius: 24px;
  padding: 5rem 2.5rem 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);

  display: flex;
    flex-direction: column;
    justify-content: center;    /* Text + Name vertikal zentriert */
}

.pf-testimonial-card__avatar {
  position: absolute;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 999px;
  overflow: hidden;
  border: 4px solid var(--lightRose);
  background: #ccc;
}

.pf-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-testimonial-card__quotes {
  position: absolute;
  top: -4.2rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding-inline: clamp(1rem, 4vw, 3rem);
  pointer-events: none;
}

.pf-testimonial-card__quote {
  font-family: "Times New Roman", Times, serif !important;
  font-size: 9rem;
  color: var(--testimonialTextColor);
}

.pf-testimonial-card__text {
  margin: 1rem 0 1.8rem;
  line-height: 1.6;
  font-size: 0.95rem;
  text-align: center;
  color: var(--testimonialTextColor);
  justify-content: center;
}

.pf-testimonial-card__name {
  margin: 0;
  color: var(--testimonialTextColor);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1rem;
  display: block;
}

.pf-testimonial-card__instagram {
   color: var(--testimonialTextColor);
   display: block;
   opacity: 0.6;
   text-align: center;
}

/* Links in Name-Zeile */
.pf-testimonial-card__name a {
  color: #ffffff;
  text-decoration: none;
}

.pf-testimonial-card__name a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 880px) {
  .pf-testimonial-card {
    flex: 0 0 70%;          /* auf Tablet ~1,5 Karten sichtbar */
  }
}

@media (max-width: 640px) {
  .pf-testimonials {
    padding: 2.5rem .5rem 3rem;
  }

  .pf-testimonials__slider {
    gap: 0.5rem;
  }

  .pf-testimonial-card {
    flex: 0 0 85%;          /* auf Handy eine Karte + Kante der nächsten */
    padding: 4.5rem 1.7rem 2rem;
  }

  .pf-testimonial-card__text {
    font-size: 0.9rem;
  }

  .pf-testimonials__track {
      display: flex;
      gap: 2rem;
      padding: 5rem 0 1rem 0;
    }

  .pf-testimonial-card {
      box-shadow: 0 10px 10px rgba(0, 0, 0, 0.16);
    }
}
