/* ── Google Reviews (global: SEO-Seiten + Startseite) ── */

.g-reviews-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.g-reviews-title {
  text-align: center;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 28px;
}

.g-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.g-reviews-summary {
  text-align: center;
  max-width: 320px;
}

.g-reviews-badge {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.g-reviews-stars-wrap,
.g-reviews-stars,
.g-review-stars {
  color: #fbbc04;
  font-size: 1.35rem;
  letter-spacing: 2px;
  line-height: 1;
}

.g-reviews-count {
  font-size: 0.9rem;
  color: #555;
  margin: 12px 0 14px;
}

.g-reviews-logo {
  display: block;
  margin: 0 auto 12px;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  font-family: 'Product Sans', 'Segoe UI', system-ui, sans-serif;
}

.g-logo-g { color: #4285f4; }
.g-logo-o1 { color: #ea4335; }
.g-logo-o2 { color: #fbbc04; }
.g-logo-g2 { color: #4285f4; }
.g-logo-l { color: #34a853; }
.g-logo-e { color: #ea4335; }

.g-reviews-all-link {
  display: inline-block;
  font-size: 0.82rem;
  color: #666;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.g-reviews-all-link:hover {
  color: var(--brand, #7A246F);
}

.g-reviews-empty {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.g-reviews-section--fallback .g-reviews--fallback {
  max-width: 720px;
  margin: 0 auto;
}

.g-reviews--loading {
  text-align: center;
  padding: 32px 16px;
  color: #666;
}

.g-reviews-loading {
  margin: 0;
  font-size: 0.95rem;
}

.g-reviews-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 22px;
  border-radius: 8px;
  background: #972C86;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.g-reviews-cta:hover {
  background: #7a246f;
  color: #fff !important;
}

.g-reviews-embed-wrap {
  width: 100%;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.g-reviews-embed {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.g-reviews-carousel {
  position: relative;
  width: 100%;
  max-width: 720px;
}

.g-reviews-viewport {
  overflow: hidden;
  width: 100%;
}

.g-reviews-track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}

.g-review-card {
  flex: 0 0 100%;
  min-width: 0;
  background: #fff;
  border: var(--border, 0.5px solid rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 18px 16px 16px;
  margin: 0 4px;
}

.g-review-head {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px 12px;
  align-items: start;
  margin-bottom: 10px;
}

.g-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.g-review-avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8710a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.g-review-meta {
  min-width: 0;
  text-align: left;
}

.g-review-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.g-review-date {
  display: block;
  font-size: 0.78rem;
  color: #888;
  margin-top: 2px;
}

.g-review-g-icon {
  flex-shrink: 0;
}

.g-review-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.g-review-stars {
  font-size: 1rem;
}

.g-review-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4285f4;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

.g-review-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

.g-review-text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-review-text.is-expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.g-review-more {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: #888;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}

.g-reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  color: #666;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.g-reviews-nav:hover {
  background: var(--brand, #7A246F);
  color: #fff;
}

.g-reviews-prev {
  left: -6px;
}

.g-reviews-next {
  right: -6px;
}

@media (min-width: 900px) {
  .g-reviews {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: center;
    gap: 32px 40px;
  }

  .g-reviews-summary {
    text-align: left;
    max-width: none;
  }

  .g-reviews-logo {
    margin-left: 0;
  }

  .g-reviews-carousel {
    max-width: none;
  }

  .g-review-card {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .g-reviews-prev {
    left: 0;
  }

  .g-reviews-next {
    right: 0;
  }

  .g-review-card {
    margin: 0 28px;
  }
}
