/* Google-Bewertungen für alle Konzeptentwürfe: Leiste mit laufenden Karten und Kurzbadge im Kopfbereich.
   Farben und Schriften kommen aus den Variablen, jede Seite setzt sie in ihrer eigenen CSS-Datei. */
:where(.gbar) {
  --gb-bg: transparent;
  --gb-ink: #202124;
  --gb-muted: #5f6368;
  --gb-card: #fff;
  --gb-card-ink: #202124;
  --gb-card-muted: #5f6368;
  --gb-card-line: rgba(32, 33, 36, 0.1);
  --gb-shadow: 0 1px 2px rgba(32, 33, 36, 0.12), 0 10px 28px -14px rgba(32, 33, 36, 0.35);
  --gb-radius: 16px;
  --gb-max: 1280px;
  --gb-pad: clamp(16px, 4vw, 40px);
  --gb-fade: var(--gb-bg);
  position: relative;
  padding-block: clamp(56px, 8vw, 104px);
  background: var(--gb-bg);
  color: var(--gb-ink);
  overflow: hidden;
}
.gbar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 32px;
  width: min(var(--gb-max), 100% - 2 * var(--gb-pad));
  margin: 0 auto clamp(28px, 4vw, 44px);
}
.gbar__title {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
}
.gbar__brand { display: flex; align-items: center; gap: 16px; }
.gbar__logo {
  flex: none;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.16), 0 8px 20px -10px rgba(32, 33, 36, 0.45);
}
.gbar__logo svg { width: 36px; height: 36px; }
.gbar__label {
  margin: 0 0 2px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.gbar__label .gword { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-weight: 700; font-size: 1.15em; letter-spacing: -0.02em; }
.gbar__score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: 0.95rem; color: var(--gb-muted); }
.gbar__score b { font-size: 1.6rem; line-height: 1; color: var(--gb-ink); font-weight: 700; }
.gstars { display: inline-flex; gap: 2px; color: #fbbc04; }
.gstars svg { width: 18px; height: 18px; fill: currentColor; }
.gstars .is-empty { color: #dadce0; }
.gbar__ctrl {
  display: inline-flex;
  color: var(--gb-ink);
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}
.gbar__ctrl:hover { border-color: currentColor; }
.gbar__ctrl svg { width: 14px; height: 14px; fill: currentColor; }
.gbar__ctrl .is-play, .gbar.is-paused .gbar__ctrl .is-pause { display: none; }
.gbar.is-paused .gbar__ctrl .is-play { display: inline; }
.gbar:not(.is-running) .gbar__ctrl { display: none; }

/* Laufband: ohne Script seitlich wischbar, mit Script läuft es endlos nach rechts. */
.gbar__track {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-block: 6px 18px;
  padding-inline: var(--gb-pad);
}
.gbar__track::-webkit-scrollbar { display: none; }
.gbar.is-running .gbar__track {
  overflow: hidden;
  padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gbar__list { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
.gbar.is-running .gbar__list { animation: gbar-run var(--gb-dur, 90s) linear infinite; will-change: transform; }
.gbar.is-running.is-paused .gbar__list,
.gbar.is-running .gbar__track:hover .gbar__list,
.gbar.is-running .gbar__track:focus-within .gbar__list { animation-play-state: paused; }
@keyframes gbar-run { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.gcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: clamp(268px, 78vw, 340px);
  margin-right: 16px;
  padding: 20px 20px 18px;
  border-radius: var(--gb-radius);
  background: var(--gb-card);
  color: var(--gb-card-ink);
  box-shadow: var(--gb-shadow);
  scroll-snap-align: center;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
}
.gcard__top { display: flex; align-items: center; gap: 10px; color: var(--gb-card-muted); font-size: 13px; }
.gcard__top .gstars svg { width: 16px; height: 16px; }
.gcard__text {
  flex: 1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gcard__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--gb-card-line); }
.gcard__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--av, #1a73e8);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}
.gcard__name { display: block; font-weight: 700; font-size: 14px; line-height: 1.3; }
.gcard__meta { display: block; color: var(--gb-card-muted); font-size: 12.5px; line-height: 1.3; }
.gcard__g { flex: none; width: 20px; height: 20px; margin-left: auto; }
.gbar__note {
  width: min(var(--gb-max), 100% - 2 * var(--gb-pad));
  margin: 18px auto 0;
  font-size: 0.78rem;
  color: var(--gb-muted);
}

/* Kurzbadge im Kopfbereich: Note, Sterne, Anzahl. */
.gbadge {
  --gbadge-bg: rgba(255, 255, 255, 0.94);
  --gbadge-ink: #202124;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: var(--gbadge-bg);
  color: var(--gbadge-ink);
  font: 400 14px/1.2 Arial, "Helvetica Neue", Helvetica, sans-serif;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.12), 0 8px 22px -12px rgba(32, 33, 36, 0.5);
  transition: transform 0.2s ease;
}
.gbadge:hover { transform: translateY(-1px); }
.gbadge__g { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; }
.gbadge__g svg { width: 20px; height: 20px; }
.gbadge b { font-size: 16px; font-weight: 700; }
.gbadge .gstars svg { width: 15px; height: 15px; }
.gbadge__count { color: color-mix(in srgb, var(--gbadge-ink) 70%, transparent); }

@media (max-width: 640px) {
  .gbar__logo { width: 54px; height: 54px; border-radius: 15px; }
  .gbar__logo svg { width: 30px; height: 30px; }
  .gbadge__count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gbar.is-running .gbar__list { animation: none; }
}
.gw-b { color: #4285f4; } .gw-r { color: #ea4335; } .gw-y { color: #fbbc05; } .gw-g { color: #34a853; }
