/* h24googlebadge – Google-Bewertungen (ohne externe Ressourcen) */
.h24gb {
  --h24gb-accent: #2e6b2e;
  --h24gb-border: #e3e6e1;
  --h24gb-muted: #6b746b;
  --h24gb-star: #fbbc04;
  max-width: 1140px;
  margin: 2.5rem auto 1.5rem;
  padding: 0 1rem;
  color: #2b332b;
}
.h24gb-headline {
  font-size: 1.35rem;
  font-weight: 600;
  text-align: center;
  margin: 0 0 1.25rem;
}
.h24gb-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--h24gb-border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 1rem;
}
.h24gb-brand { display: flex; align-items: baseline; gap: .4rem; font-size: 1.05rem; font-weight: 500; }
.h24gb-google { font-family: Arial, Helvetica, sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.5px; }
.h24gb-score { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; }
.h24gb-score-value { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.h24gb-score-count { color: var(--h24gb-muted); font-size: .95rem; }
.h24gb-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.h24gb-btn {
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid var(--h24gb-accent);
  border-radius: 999px;
  color: var(--h24gb-accent);
  font-size: .9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.h24gb-btn:hover, .h24gb-btn:focus { background: #f1f6f0; color: var(--h24gb-accent); text-decoration: none; }
.h24gb-btn-primary { background: var(--h24gb-accent); color: #fff; }
.h24gb-btn-primary:hover, .h24gb-btn-primary:focus { background: #245724; color: #fff; }

/* Sterne: graue Reihe, darüber eine gelbe, per Breite beschnitten */
.h24gb-stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.h24gb-stars-empty { color: #d8dbd6; }
.h24gb-stars-full { position: absolute; top: 0; left: 0; overflow: hidden; color: var(--h24gb-star); }
.h24gb-stars-lg { font-size: 1.35rem; }
.h24gb-stars-sm { font-size: 1rem; margin: .5rem 0; }

/* Karussell */
.h24gb-carousel { position: relative; }
.h24gb-track {
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: .25rem .1rem .75rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.h24gb-track::-webkit-scrollbar { display: none; }
.h24gb-card {
  flex: 0 0 calc((100% - 2rem) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.1rem;
  border: 1px solid var(--h24gb-border);
  border-radius: 12px;
  background: #fff;
  min-width: 0;
}
@media (max-width: 991px) { .h24gb-card { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 575px) { .h24gb-card { flex-basis: 86%; } }

.h24gb-card-head { display: flex; align-items: center; gap: .65rem; }
.h24gb-avatar {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
}
.h24gb-meta { flex: 1 1 auto; min-width: 0; }
.h24gb-author { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h24gb-author a { color: inherit; text-decoration: none; }
.h24gb-author a:hover { text-decoration: underline; }
.h24gb-date { color: var(--h24gb-muted); font-size: .85rem; }
.h24gb-g { flex: 0 0 auto; line-height: 0; }

.h24gb-text {
  font-size: .95rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.h24gb-text.h24gb-open { display: block; -webkit-line-clamp: unset; }
.h24gb-more {
  align-self: flex-start;
  margin-top: .35rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--h24gb-accent);
  font-size: .9rem;
  cursor: pointer;
}
.h24gb-more:hover { text-decoration: underline; }

.h24gb-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin-top: -24px;
  border: 1px solid var(--h24gb-border);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  color: #2b332b;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.h24gb-nav[disabled] { opacity: 0; pointer-events: none; }
.h24gb-prev { left: -14px; }
.h24gb-next { right: -14px; }
@media (max-width: 575px) { .h24gb-nav { display: none; } }

.h24gb-source { margin: .5rem 0 0; color: var(--h24gb-muted); font-size: .8rem; text-align: right; }

/* Reiter Google | Facebook */
.h24gb-tabs { display: flex; gap: .5rem; margin-bottom: .75rem; flex-wrap: wrap; }
.h24gb-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border: 1px solid var(--h24gb-border);
  border-radius: 999px;
  background: #fff;
  color: #2b332b;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
}
.h24gb-tab:hover { background: #f4f6f3; }
.h24gb-tab[aria-selected="true"] { border-color: var(--h24gb-accent); box-shadow: inset 0 0 0 1px var(--h24gb-accent); }
.h24gb-tab-icon { line-height: 0; }
.h24gb-tab-score { color: var(--h24gb-muted); font-size: .85rem; }
.h24gb-panel[hidden] { display: none; }

/* Facebook */
.h24gb-facebook { font-family: Helvetica, Arial, sans-serif; font-size: 1.35rem; font-weight: 700; color: #1877F2; letter-spacing: -.3px; }
.h24gb-recommend { display: inline-flex; align-items: center; gap: .35rem; margin: .5rem 0; color: #1877F2; font-size: .9rem; font-weight: 500; }
.h24gb-recommend-no { color: var(--h24gb-muted); }
