.lc-reviews * { box-sizing: border-box; margin: 0; padding: 0; }

.lc-reviews {
  max-width: 1200px;
  /* Top-Margin bewusst grosszuegig — die Reviews-Section ist eine
     eigenstaendige Trust-Aussage und braucht Luft zur darueberliegenden
     Bilderreihe. Mobile entsprechend dezenter. */
  margin: 64px auto 48px;
  padding: 0 16px;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ── Header mit Aggregat-Score (groß, vertrauensbildend) ── */
.lc-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid #e2e2e2;
}
.lc-reviews-title-block {
  flex: 1;
  min-width: 240px;
}
.lc-reviews-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #57b1e3;
  margin-bottom: 6px;
}
.lc-reviews-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1.25;
  margin: 0;
}
.lc-reviews-aggregate {
  background: #f9fbfd;
  border: 1.5px solid #e2e2e2;
  border-radius: 10px;
  padding: 12px 18px;
}

/* Plugin-Output [tiqets_rating] umstylen — analog zum Vorgehen in der Trust Bar.
   Das Plugin liefert ein .at-rating-Element mit Sternen + Score + Count in einer
   Zeile. Wir stylen es flexbox-mäßig so, dass die Score-Zahl links groß steht
   und Sterne + Count rechts gestapelt darunter erscheinen.

   Strategie:
   - .at-rating wird zum Flex-Container (Score + Stars + Count nebeneinander)
   - Per :first-child / :nth-child / [class*="star"] selektiv stylen
   - Wenn das Plugin Score als reinen Text rendert (kein span), nutzen wir
     ein ::before-Trick — fällt aber selten an, da das Plugin in der Regel
     strukturiertes Markup liefert. */

.lc-reviews-aggregate .at-rating {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  color: #1a3a5c !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}
.lc-reviews-aggregate .at-rating * {
  font-family: inherit !important;
  color: inherit !important;
}

/* Score-Zahl: das Plugin rendert sie typischerweise als ersten Direkt-Text-
   oder Span-Child. Wir greifen den ersten span/strong/b/div und ziehen ihn
   auf die große Optik hoch. */
.lc-reviews-aggregate .at-rating > span:first-child,
.lc-reviews-aggregate .at-rating > strong:first-child,
.lc-reviews-aggregate .at-rating > b:first-child {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #1a3a5c !important;
  line-height: 1 !important;
  letter-spacing: -0.5px;
}

/* Sterne-Container — Wildcard-Selector wie in der Trust Bar */
.lc-reviews-aggregate .at-rating .at-rating__stars,
.lc-reviews-aggregate .at-rating [class*="star"] {
  color: #f5c518 !important;
  letter-spacing: 1.5px;
  font-size: 16px !important;
  line-height: 1;
}

/* Bewertungs-Count (z. B. „(25.119 Bewertungen)") */
.lc-reviews-aggregate .at-rating .at-rating__count,
.lc-reviews-aggregate .at-rating [class*="count"] {
  font-size: 13px !important;
  color: #666 !important;
  font-weight: 400 !important;
}

/* Fallback: falls das Plugin sehr kompakten Output liefert (alles in einer Zeile,
   keine Sub-Klassen), wenigstens die Optik harmonisch halten. */
.lc-reviews-aggregate .at-rating:not(:has(*)) {
  font-size: 16px !important;
}

/* ── Karten-Grid ── */
.lc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.lc-review-card {
  background: #fff;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.lc-review-card:hover {
  box-shadow: 0 6px 20px rgba(26,58,92,0.10);
  transform: translateY(-2px);
}

/* Karten-Kopf: Avatar/Initialen + Name/Land + Datum */
.lc-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lc-review-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #1a3a5c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.4px;
}
.lc-review-meta { flex: 1; min-width: 0; }
.lc-review-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1.25;
}
.lc-review-loc {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

/* Sterne-Reihe */
.lc-review-stars {
  display: inline-flex;
  gap: 2px;
}
.lc-review-stars svg { width: 14px; height: 14px; display: block; }

/* Zitat */
.lc-review-quote {
  font-size: 14px;
  color: #333;
  line-height: 1.55;
  flex: 1;
}

/* Footer: verifiziert-Badge */
.lc-review-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #57b1e3;
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}
.lc-review-verified svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── Tablet ── */
@media (max-width: 900px) {
  .lc-reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .lc-reviews { margin: 36px auto 32px; padding: 0 12px; }
  .lc-reviews-head { gap: 12px; padding-bottom: 16px; margin-bottom: 20px; }
  .lc-reviews-aggregate { padding: 10px 14px; gap: 10px; }
  .lc-reviews-score-num { font-size: 28px; }
  .lc-reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .lc-review-card { padding: 16px; }
}
