/* Kundenstimmen: nur auf der Über-uns-Seite geladen. Nutzt bestehende Tokens. */
.testimonials-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.testimonials-intro .section-title { max-width: 13ch; }
.testimonials-intro p { margin: 22px 0 24px; max-width: 32ch; }
.testimonials a { color: var(--accent-fg, var(--accent)); }
.testimonial-slider { min-width: 0; }
.testimonial-viewport { background: transparent; --testimonial-window-height: 400px; }
.testimonial-card { margin: 0 0 36px; padding: 18px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.testimonial-card:last-child { margin-bottom: 0; }
.testimonials [hidden] { display: none !important; }
.testimonial-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 16px; }
.testimonial-rating { color: #cdba85; font-size: 1.1rem; letter-spacing: .12em; white-space: nowrap; }
.testimonial-card blockquote { margin: 0; }
.testimonial-card blockquote p { color: var(--text); font-size: clamp(1.12rem, 1.8vw, 1.4rem); line-height: 1.55; max-width: none; margin: 0 0 18px; }
.testimonial-person { display: flex; align-items: center; gap: 10px; }
.testimonial-person strong { display: block; color: var(--text); font-size: .9rem; }
.testimonial-person div > span { display: block; color: var(--text-dim); font-size: .75rem; margin-top: 3px; }
.testimonial-caption { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; }
.testimonial-person { min-width: 0; }
.testimonial-person strong { overflow-wrap: anywhere; }
.testimonial-source { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 0; font-size: .75rem; color: var(--text-dim); text-align: right; }
.testimonial-source a { display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.testimonial-source .testimonial-edit-note { font-size: .72rem; }
.testimonial-controls { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 18px; margin-top: 20px; }
.testimonial-viewport.is-enhanced { overflow: hidden; height: var(--testimonial-window-height); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.testimonial-track { display: flex; flex-direction: column; gap: 36px; padding: 28px 0; }
.testimonial-track .testimonial-card { flex: 0 0 auto; margin: 0; }
.testimonial-viewport.is-static { height: auto !important; overflow: visible; -webkit-mask-image: none; mask-image: none; }
.testimonial-viewport.is-static .testimonial-track { transform: none !important; }
.testimonial-placeholder-label { color: var(--text-dim); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.testimonial-autoplay { margin-right: auto; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-card); background: transparent; color: var(--text); font: inherit; font-size: .75rem; cursor: pointer; }
.testimonial-autoplay:hover { border-color: var(--accent); }
@media (max-width: 900px) {
  .testimonials-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .testimonials-intro .section-title, .testimonials-intro p { max-width: 40ch; }
}
@media (max-width: 480px) {
  .testimonial-card { padding: 16px 4px; }
  .testimonial-viewport { --testimonial-window-height: 440px; }
  .testimonial-topline { margin-bottom: 14px; }
  .testimonial-card blockquote p { font-size: 1.08rem; }
}

@media (max-width: 600px) {
  .testimonial-source { align-items: flex-start; text-align: left; margin-left: 0; }
  .testimonial-caption { align-items: flex-start; }
}
@media (pointer: coarse) { .testimonial-source a { min-height: 44px; } }

@media (max-width: 600px) { .testimonial-source { margin-left: 0; } }


.testimonial-banner { width: 100%; max-width: 340px; margin-top: 28px; }
.testimonial-banner img { display: block; width: 100%; height: auto; }
.testimonial-banner .testimonial-banner--dark { display: none; }
:root[data-theme="dark"] .testimonial-banner .testimonial-banner--light { display: none; }
:root[data-theme="dark"] .testimonial-banner .testimonial-banner--dark { display: block; }
