/* ===== Industry Synapse – Kundenbewertungen ===== */

.reviews-section {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}
.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.reviews-title {
  font-family: 'Rajdhani', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}
.btn-write-review {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: .55rem 1.1rem;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.btn-write-review:hover { background: var(--brand-orange-d); }

/* Übersicht */
.reviews-overview {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.reviews-avg-box { text-align: center; min-width: 100px; }
.avg-number { font-size: 3.5rem; font-weight: 700; color: var(--color-text); line-height: 1; margin-bottom: .35rem; }
.avg-count { font-size: .78rem; color: var(--color-muted); margin-top: .3rem; }
.reviews-dist { flex: 1; min-width: 200px; }
.dist-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .5rem; }
.dist-label { font-size: .78rem; color: var(--color-muted); width: 32px; flex-shrink: 0; }
.dist-bar-wrap { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.dist-bar { height: 100%; background: #f59e0b; border-radius: 4px; transition: width .5s; }
.dist-count { font-size: .78rem; color: var(--color-muted); width: 24px; text-align: right; flex-shrink: 0; }

/* Formular */
.review-form {
  background: #fafafa;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

/* Karte */
.review-card {
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.review-card:last-child { border-bottom: none; }
.review-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), #5a4000);
  color: #fff;
  font-size: .9rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.review-name { font-size: .875rem; font-weight: 600; color: var(--color-text); }
.review-date { font-size: .72rem; color: var(--color-muted); margin-top: .1rem; }
.verified-badge {
  background: #dcfce7; color: #16a34a;
  font-size: .65rem; font-weight: 700;
  padding: .1rem .4rem; border-radius: 99px;
  margin-left: .4rem;
}
.review-title { font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.review-text { font-size: .875rem; color: #374151; line-height: 1.7; }
.review-helpful { margin-top: .75rem; }
.btn-helpful {
  background: none; border: 1.5px solid var(--color-border);
  border-radius: 99px; padding: .25rem .75rem;
  font-size: .72rem; cursor: pointer; color: var(--color-muted);
  transition: all .15s;
}
.btn-helpful:hover:not(:disabled) { border-color: var(--brand-orange); color: var(--brand-orange); }
.btn-helpful:disabled { opacity: .5; cursor: not-allowed; }

/* Stars */
.stars-wrap span { font-size: 16px; }

@media (max-width: 600px) {
  .reviews-overview { flex-direction: column; gap: 1.25rem; }
}
