/* Bewertungen Section Container */
.bewertungen-section {
  width: 100vw;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  background: transparent;
  position: relative;
  z-index: 2;
}

/* Title Wrapper for SVG */
.bewertungen-title-wrapper {
  width: 100vw;
  max-width: 1000px;
  height: 220px;
  margin: 96px auto 0 auto;
  position: relative;
}

/* SVG Title Styling */
.bewertungen-title-svg {
  width: 72vw;
  max-width: 1000px;
  height: 220px;
  opacity: 0.78;
  display: block;
  margin: 0 auto;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.bewertungen-title-svg text {
  fill: none !important;
  paint-order: stroke;
}

.bewertungen-intro {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 36px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #43e97b 0%, #a17fe0 65%, #5d26c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 12px rgba(93,38,193,0.10));
  text-align: center;
  pointer-events: none;
  margin: 0;
  width: max-content;
}

/* Hide intro on devices smaller than 1024px */
@media (max-width: 1023px) {
  .bewertungen-intro {
    display: none !important;
  }
}

/* Responsive: hide SVG title on small screens if needed */
@media (max-width: 720px) {
  .bewertungen-title-svg {
    height: 120px;
    width: 92vw;
    max-width: 900px;
  }
  .bewertungen-title-wrapper {
    height: 120px;
    margin-top: 48px;
  }
  .bewertungen-intro {
    font-size: 1.2rem;
  }
}

/* Testimonials Carousel */
.testimonials-carousel {
  width: 100%;
  max-width: 1000px;
  margin: 64px auto 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 0 20px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,.2,.2,1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

.testimonials-track:active {
  cursor: grabbing;
}

.testimonial-card {
  min-width: 350px;
  max-width: 350px;
  height: 240px;
  margin: 0 15px;
  position: relative;
  background: rgba(21,24,34,0.45);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(161,127,224,0.15);
  border-radius: 24px;
  padding: 28px 24px 24px 24px;
  box-shadow:
    0 8px 32px rgba(93,38,193,0.12),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition:
    transform 0.3s cubic-bezier(.4,.2,.2,1),
    box-shadow 0.3s cubic-bezier(.4,.2,.2,1),
    border-color 0.3s cubic-bezier(.4,.2,.2,1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 48px rgba(93,38,193,0.18),
    inset 0 1px 0 rgba(255,255,255,0.12);
  border-color: rgba(161,127,224,0.25);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #808080;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  margin-bottom: 20px;
  flex-grow: 1;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.testimonial-author {
  flex: 1;
}

.author-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px 0;
  font-family: 'Poppins', sans-serif;
}

.author-business {
  font-size: 0.9rem;
  font-weight: 400;
  color: #a0a0a0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  align-items: center;
}

.star {
  font-size: 1.2rem;
  color: #ffd700;
  filter: drop-shadow(0 1px 2px rgba(255,215,0,0.3));
}

/* Carousel Controls */
.testimonials-controls {
  display: none;
}

/* Swipe Indicator */
.testimonials-swipe-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 8px;
  color: #808080;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  opacity: 0.7;
  animation: swipeHint 2s ease-in-out infinite;
}

.swipe-icon {
  font-size: 1.2rem;
  color: #a17fe0;
  animation: swipeIcon 2s ease-in-out infinite;
}

.swipe-text-mobile {
  display: none;
}

.swipe-text-desktop {
  display: inline;
}

@keyframes swipeHint {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes swipeIcon {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* Hide swipe hint after user interacts */
.testimonials-carousel.interacted .testimonials-swipe-hint {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .testimonials-carousel {
    max-width: 100%;
    padding: 0 5px;
    overflow: visible;
  }
  .testimonials-track {
    align-items: center;
  }
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
    height: 220px;
    margin: 0 2px; /* Minimal margin for mobile centering */
    padding: 20px 18px 18px 18px;
    flex-shrink: 0;
  }
  .testimonial-text {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .author-name {
    font-size: 1rem;
  }
  .author-business {
    font-size: 0.8rem;
  }
  .star {
    font-size: 1rem;
  }
  .swipe-text-desktop {
    display: none;
  }

  .swipe-text-mobile {
    display: inline;
  }
}

