/* Öffentliche Bewertungsansicht */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.review-overview {
  padding-top: 92px;
  padding-bottom: 108px;
  border-top: 1px solid var(--line);
}

.hero-review-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  margin-top: 17px;
  padding: 9px 12px;
  border: 1px solid #847e74;
  border-radius: 99px;
  background: rgba(213, 207, 197, .64);
  color: #2d2c29;
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease;
}

.hero-review-link:hover {
  transform: translateY(-2px);
  border-color: #3f8b64;
  background: #d5cfc5;
}

.hero-review-link .review-stars {
  font-size: 15px;
}

.hero-review-link strong {
  color: #255f42;
}

.hero-review-link b {
  color: #255f42;
  font-size: 16px;
  line-height: 1;
}

.review-overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, .88fr) minmax(440px, 1.12fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.review-overview h2,
.reviews-hero h1,
.reviews-list-heading h2,
.review-form-copy h2 {
  margin: 0;
  letter-spacing: -.045em;
  line-height: .94;
}

.review-overview h2,
.reviews-list-heading h2,
.review-form-copy h2 {
  font-size: clamp(2.7rem, 4.8vw, 5.5rem);
}

.review-overview h2 em,
.reviews-hero h1 em,
.reviews-list-heading h2 em,
.review-form-copy h2 em {
  color: #3f8b64;
  font-family: Georgia, 'Times New Roman', serif;
}

.review-overview-copy > p:not(.eyebrow),
.reviews-hero .intro,
.reviews-list-heading > p,
.review-form-copy > p:not(.eyebrow) {
  max-width: 37ch;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.review-summary-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 19px;
  align-items: center;
  min-height: 138px;
  padding: 24px;
  border: 1px solid #847e74;
  border-radius: 15px;
  background: #d5cfc5;
  box-shadow: 5px 5px 0 rgba(63, 139, 100, .18);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.review-summary-card:hover {
  transform: translateY(-3px);
  border-color: #3f8b64;
  box-shadow: 7px 8px 0 rgba(63, 139, 100, .22);
}

.review-stars,
.review-rating {
  display: inline-flex;
  gap: 2px;
  color: #255f42;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
}

.review-stars.is-empty {
  color: #596358;
}

.review-summary-score {
  display: grid;
  gap: 5px;
}

.review-summary-score strong {
  color: #255f42;
  font-size: 29px;
  letter-spacing: -.8px;
  line-height: 1;
}

.review-summary-score span {
  color: var(--muted);
  font-size: 13px;
}

.review-summary-arrow {
  color: #255f42;
  font-size: 25px;
  transition: transform .2s ease;
}

.review-summary-card:hover .review-summary-arrow {
  transform: translateX(4px);
}

.review-preview-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.review-preview-card,
.review-card,
.review-empty {
  border: 1px solid #847e74;
  border-radius: 12px;
  background: #d5cfc5;
}

.review-preview-card {
  min-height: 155px;
  padding: 18px;
}

.review-preview-card h3,
.review-card h3 {
  margin: 0;
  color: #2d2c29;
  font-size: 18px;
  letter-spacing: -.35px;
}

.review-preview-card p,
.review-card p {
  margin: 13px 0 0;
  color: #4e4a45;
  font-size: 14px;
  line-height: 1.58;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.review-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.review-date {
  color: #67625b;
  font: 11px var(--mono);
}

.reviews-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr);
  gap: clamp(34px, 8vw, 112px);
  align-items: end;
  min-height: 455px;
  padding-top: 80px;
  padding-bottom: 84px;
}

.reviews-hero h1 {
  font-size: clamp(3.5rem, 7vw, 7.1rem);
}

.review-guide {
  padding: 24px;
  border: 1px solid #847e74;
  border-radius: 14px;
  background: #d5cfc5;
}

.review-guide p {
  margin: 0;
  color: #4e4a45;
  font-size: 15px;
  line-height: 1.6;
}

.review-guide p + p {
  margin-top: 10px;
}

.review-guide strong {
  color: #255f42;
}

.reviews-list-section {
  padding-top: 92px;
  border-top: 1px solid var(--line);
}

.reviews-list-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
}

.reviews-public-summary {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 230px;
  padding: 16px 18px;
  border: 1px solid #847e74;
  border-radius: 12px;
  background: #d5cfc5;
}

.reviews-public-summary .review-stars {
  font-size: 20px;
}

.reviews-public-summary strong {
  display: block;
  color: #255f42;
  font-size: 22px;
  letter-spacing: -.5px;
  line-height: 1.1;
}

.reviews-public-summary span:last-child {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.review-card {
  min-height: 210px;
  padding: 22px;
}

.review-card.is-pinned {
  border-color: #3f8b64;
  box-shadow: 4px 4px 0 rgba(63, 139, 100, .18);
}

.review-card .review-rating,
.review-preview-card .review-rating {
  margin-top: 12px;
  font-size: 17px;
}

.review-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 190px;
  padding: 28px;
  border-style: dashed;
  text-align: center;
}

.review-empty strong {
  color: #2d2c29;
  font-size: 19px;
}

.review-empty span {
  color: var(--muted);
  font-size: 14px;
}

.review-load-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.review-load-more .button {
  border: 1px solid #4a4742;
  background: transparent;
  color: #2d2c29;
  font-weight: 700;
}

.review-load-more .button:hover {
  border-color: #255f42;
  background: #d5cfc5;
}

.review-form-section {
  max-width: none;
  margin-top: 28px;
  padding: clamp(72px, 10vw, 130px) max(4vw, calc((100vw - 1380px) / 2 + 4vw));
  background: linear-gradient(135deg, #585650, #69645d);
  color: #f4eee6;
}

.review-form-inner {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(440px, 1.2fr);
  gap: clamp(36px, 8vw, 112px);
  max-width: 1380px;
  margin: 0 auto;
}

.review-form-copy .eyebrow {
  color: #c6ebd2;
}

.review-form-copy h2 em {
  color: #d8e680;
}

.review-form-copy > p:not(.eyebrow) {
  color: #f0e7dd;
}

.review-form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 36ch;
  margin-top: 26px;
  color: #dce7dc;
  font-size: 14px;
  line-height: 1.55;
}

.review-form-note::before {
  content: '✓';
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #3f8b64;
  color: #fff;
  font-weight: 800;
}

.review-form {
  display: grid;
  gap: 17px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(226, 238, 225, .34);
  border-radius: 16px;
  background: #d5cfc5;
  color: #2d2c29;
  box-shadow: 8px 8px 0 rgba(24, 28, 25, .26);
}

.review-form label,
.rating-fieldset legend {
  color: #255f42;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2px;
}

.rating-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.rating-fieldset legend {
  margin-bottom: 8px;
}

.star-picker {
  display: flex;
  gap: 6px;
  align-items: center;
}

.star-select {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid #6d7169;
  border-radius: 10px;
  background: #c6c0b6;
  color: #5f625c;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .16s ease, color .16s ease, background-color .16s ease, border-color .16s ease;
}

.star-select:hover,
.star-select.is-selected {
  border-color: #255f42;
  background: #e7f0df;
  color: #255f42;
}

.star-select:hover {
  transform: translateY(-2px);
}

.rating-status {
  min-height: 20px;
  margin: 8px 0 0;
  color: #4e4a45;
  font-size: 13px;
}

.review-form .consent {
  align-items: flex-start;
  font-size: 12px;
  line-height: 1.5;
}

.review-form .consent a {
  color: #255f42;
}

.review-form .primary {
  justify-content: space-between;
}

.review-form-success {
  padding: 16px 17px;
  border: 1px solid rgba(63, 139, 100, .48);
  border-radius: 11px;
  background: #e7f0df;
  color: #255f42;
}

.review-form-success[hidden] {
  display: none;
}

.review-form-success strong,
.review-form-success p {
  display: block;
  margin: 0;
}

.review-form-success p {
  margin-top: 4px;
  color: #4e4a45;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .review-overview-grid,
  .reviews-hero,
  .review-form-inner {
    grid-template-columns: 1fr;
  }

  .reviews-hero {
    min-height: 0;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .review-guide,
  .review-form-copy > p:not(.eyebrow) {
    max-width: 50ch;
  }
}

@media (max-width: 650px) {
  .review-overview,
  .reviews-list-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .review-summary-card {
    grid-template-columns: 1fr auto;
    gap: 15px;
    padding: 20px;
  }

  .hero-review-link {
    width: 100%;
    justify-content: center;
  }

  .review-summary-card .review-stars {
    grid-column: 1 / -1;
  }

  .review-preview-list,
  .review-list {
    grid-template-columns: 1fr;
  }

  .reviews-list-heading {
    display: grid;
    gap: 22px;
    align-items: start;
  }

  .reviews-public-summary {
    width: 100%;
  }

  .review-form-section {
    margin-top: 0;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .star-picker {
    justify-content: space-between;
    gap: 5px;
  }

  .star-select {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: 50px;
    height: clamp(42px, 15vw, 50px);
  }

  .review-form input,
  .review-form textarea {
    font-size: 16px;
  }
}
