/* Stimmen der Wertschätzung – from stimmen-wertschaetzung-web */
.voices {
  --voices-ink: #283125;
  --voices-gold: #b98624;
  --voices-paper: #f7f0e3;
  --voices-paper-light: #fffaf0;
  --voices-border: rgba(151, 112, 50, 0.35);
  --voices-shadow: 0 12px 24px rgba(69, 55, 35, 0.14);
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 5rem) clamp(0.75rem, 4vw, 1rem);
  color: var(--voices-ink);
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  background:
    radial-gradient(circle at 0% 0%, rgba(71, 91, 54, 0.16), transparent 17rem),
    radial-gradient(circle at 100% 100%, rgba(71, 91, 54, 0.14), transparent 18rem),
    linear-gradient(180deg, #f5eedf 0%, #efe6d3 100%);
}

.voices__intro {
  max-width: 48rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.6;
}

.voices__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.voices__header h2 {
  margin: 0;
  color: #263118;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.voices__header-rule,
.voices__footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.voices__header-rule {
  margin-top: 1rem;
}

.voices__header-rule span,
.voices__footer-rule span {
  display: block;
  width: clamp(5rem, 17vw, 18rem);
  height: 1px;
  background: rgba(185, 134, 36, 0.6);
}

.voices__header-rule svg {
  width: 3rem;
  height: 3rem;
  color: var(--voices-gold);
}

.voices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.7rem);
  align-items: start;
}

.quote-card {
  --rotation: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: 2.5rem 1.5rem 1.4rem;
  border: 1px solid var(--voices-border);
  border-radius: 0.75rem;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.75), transparent 35%),
    linear-gradient(150deg, var(--voices-paper-light), var(--voices-paper));
  box-shadow: var(--voices-shadow);
  transform: rotate(var(--rotation));
}

.quote-card:nth-child(4n + 1) {
  --rotation: -1.3deg;
}

.quote-card:nth-child(4n + 2) {
  --rotation: 0.7deg;
}

.quote-card:nth-child(4n + 3) {
  --rotation: -0.5deg;
}

.quote-card:nth-child(4n + 4) {
  --rotation: 1deg;
}

.quote-card:nth-child(5n) {
  min-height: 275px;
}

.quote-card:nth-child(7n) {
  min-height: 230px;
}

.quote-card__pin {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f4d88b, #a56c10 60%, #6f4306);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
  transform: translateX(-50%);
}

.quote-card blockquote {
  margin: 0;
}

.quote-card blockquote p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.45;
  text-align: center;
}

.quote-card blockquote p::before {
  content: "„";
}

.quote-card blockquote p::after {
  content: "“";
}

.quote-card__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.quote-card__ornament span {
  width: 2.5rem;
  height: 1px;
  background: rgba(185, 134, 36, 0.55);
}

.quote-card__ornament svg {
  width: 2rem;
  height: 2rem;
  color: var(--voices-gold);
}

.voices__footer {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.voices__footer-rule svg {
  width: 2.7rem;
  height: 2.7rem;
  color: var(--voices-gold);
}

.voices__footer p {
  margin: 0.8rem 0 0.6rem;
  color: #283125;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voices__footer-diamond {
  width: 0.7rem;
  height: 0.7rem;
  margin-inline: auto;
  background: var(--voices-gold);
  transform: rotate(45deg);
}

@media (max-width: 1050px) {
  .voices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .voices__header h2 {
    letter-spacing: 0.02em;
  }

  .voices-grid {
    grid-template-columns: 1fr;
  }

  .quote-card {
    min-height: 210px !important;
    transform: none;
  }

  .voices__header-rule span,
  .voices__footer-rule span {
    width: 3.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .quote-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .quote-card:hover {
    transform: rotate(0deg) translateY(-3px);
    box-shadow: 0 16px 30px rgba(69, 55, 35, 0.18);
  }
}
