/* Google Reviews Widget – Frontend Styles
 * Farben kommen aus CSS-Variablen, die per Admin-Einstellung gesetzt werden:
 *   --grw-accent, --grw-bg, --grw-card, --grw-text
 */

.grw-widget {
	--grw-accent: #fbbc05;
	--grw-bg: #111111;
	--grw-card: #1c1c1c;
	--grw-text: #ffffff;
	--grw-muted: rgba(255, 255, 255, 0.55);
	--grw-radius: 22px;
	--grw-card-radius: 16px;
	--grw-gap: 20px;
	--grw-cols: 3;
	--grw-fontsize: 15px;
	--grw-maxwidth: none;

	position: relative;
	box-sizing: border-box;
	padding: 28px 56px;
	background: var(--grw-bg);
	border-radius: var(--grw-radius);
	color: var(--grw-text);
	font-size: var(--grw-fontsize);
	max-width: var(--grw-maxwidth);
	font-family: var(--grw-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
}

.grw-widget *,
.grw-widget *::before,
.grw-widget *::after {
	box-sizing: border-box;
}

/* ---------- Light Theme ---------- */
.grw-widget.grw-theme-light {
	--grw-bg: #f5f5f5;
	--grw-card: #ffffff;
	--grw-text: #1a1a1a;
	--grw-muted: rgba(0, 0, 0, 0.5);
}

/* ---------- Header (Gesamtbewertung + CTA) ---------- */
.grw-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	flex-wrap: wrap;
}

/* Header-Ausrichtung (links/mittig/rechts). */
.grw-header-align-center {
	justify-content: center;
	text-align: center;
}
.grw-header-align-right {
	justify-content: flex-end;
	text-align: right;
}
.grw-header-align-center .grw-header-info,
.grw-header-align-right .grw-header-info {
	align-items: inherit;
}
.grw-header-align-center .grw-header-info {
	align-items: center;
}
.grw-header-align-right .grw-header-info {
	align-items: flex-end;
}

.grw-header-g svg {
	width: 30px;
	height: 30px;
	display: block;
}

.grw-header-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.grw-header-name {
	font-weight: 700;
	font-size: 16px;
}

.grw-header-rating {
	display: flex;
	align-items: center;
	gap: 8px;
}

.grw-header-score {
	font-size: 22px;
	font-weight: 700;
	color: var(--grw-accent);
	line-height: 1;
}

.grw-header-count {
	font-size: 13px;
	color: var(--grw-muted);
}

.grw-cta {
	margin-left: auto;
	display: inline-block;
	padding: 9px 16px;
	border-radius: 999px;
	background: var(--grw-accent);
	color: #1a1a1a;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.grw-cta:hover {
	opacity: 0.88;
	color: #1a1a1a;
}

/* ---------- Body (Wrapper für Track + Nav) ---------- */
.grw-body {
	position: relative;
}

/* ---------- Track (gemeinsam) ---------- */
.grw-track {
	display: flex;
	gap: var(--grw-gap);
}

/* ---------- Carousel ---------- */
.grw-layout-carousel .grw-track {
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.grw-layout-carousel .grw-track::-webkit-scrollbar {
	display: none;
}

.grw-layout-carousel .grw-card {
	/* Spaltenzahl bestimmt, wie viele Karten gleichzeitig sichtbar sind; der Rest scrollt. */
	flex: 0 0 calc((100% / var(--grw-cols)) - (var(--grw-gap) * (var(--grw-cols) - 1) / var(--grw-cols)));
	min-width: 240px;
	scroll-snap-align: start;
}

/* ---------- Grid ---------- */
.grw-layout-grid .grw-track {
	flex-wrap: wrap;
}

.grw-layout-grid .grw-card {
	flex: 1 1 calc((100% / var(--grw-cols)) - var(--grw-gap));
	max-width: calc((100% / var(--grw-cols)) - (var(--grw-gap) * (var(--grw-cols) - 1) / var(--grw-cols)));
}

@media (max-width: 900px) {
	.grw-layout-grid .grw-card {
		max-width: calc(50% - 10px);
	}
}

@media (max-width: 600px) {
	.grw-layout-grid .grw-card {
		max-width: 100%;
	}
}

/* ---------- List ---------- */
.grw-layout-list .grw-track {
	flex-direction: column;
}

.grw-layout-list .grw-card {
	width: 100%;
}

/* ---------- Marquee (Endlos-Lauftext) ---------- */
.grw-layout-marquee {
	overflow: hidden;
}

.grw-layout-marquee .grw-track {
	flex-wrap: nowrap;
	width: max-content;
	animation: grw-scroll 40s linear infinite;
}

.grw-layout-marquee .grw-card {
	flex: 0 0 clamp(240px, 23%, 340px);
}

.grw-layout-marquee:hover .grw-track {
	animation-play-state: paused;
}

@keyframes grw-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.grw-layout-marquee .grw-track {
		animation: none;
	}
}

/* ---------- Masonry (Pinterest-Wand) ---------- */
.grw-layout-masonry .grw-track {
	display: block;
	column-count: 3;
	column-gap: 20px;
}

.grw-layout-masonry .grw-card {
	break-inside: avoid;
	margin-bottom: 20px;
	display: inline-block;
	width: 100%;
}

@media (max-width: 900px) {
	.grw-layout-masonry .grw-track { column-count: 2; }
}

@media (max-width: 600px) {
	.grw-layout-masonry .grw-track { column-count: 1; }
}

/* ---------- Badge (Inline) ---------- */
.grw-badge {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-radius: 14px;
	background: var(--grw-bg, #111);
	color: var(--grw-text, #fff);
	text-decoration: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.grw-badge.grw-theme-light {
	--grw-bg: #ffffff;
	--grw-text: #1a1a1a;
	--grw-muted: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.grw-badge .grw-google-g svg { display: block; width: 26px; height: 26px; }
.grw-badge .grw-stars { font-size: 16px; }
.grw-badge-text { display: flex; flex-direction: column; gap: 3px; }
.grw-badge-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.grw-badge-headline { font-weight: 700; font-size: 15px; line-height: 1.2; }
.grw-badge-score { font-weight: 700; font-size: 18px; color: var(--grw-accent, #fbbc05); }
.grw-badge-count { font-size: 13px; color: var(--grw-muted, rgba(255,255,255,.55)); }
.grw-badge .grw-star.is-on { color: var(--grw-accent, #fbbc05); }
.grw-badge .grw-star.is-off { color: rgba(128,128,128,.45); }
/* Halber Stern (Badge & Header): linke Hälfte in Akzentfarbe, rechte Hälfte grau */
.grw-star.is-half { position: relative; color: rgba(128,128,128,.45); }
.grw-star.is-half::before {
	content: "\2605";
	position: absolute;
	left: 0;
	top: 0;
	width: 50%;
	overflow: hidden;
	color: var(--grw-accent, #fbbc05);
}
.grw-badge-g-inline svg { width: 18px; height: 18px; }

/* Avatar-Reihe im Badge */
.grw-badge-avatars { display: inline-flex; align-items: center; }
.grw-badge-av {
	position: relative;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	overflow: hidden;
	margin-left: -10px;
	border: 2px solid var(--grw-bg, #111);
	background: var(--grw-avc, linear-gradient(135deg, #6d5bd0, #8a63d2));
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	font-size: 14px;
	flex: 0 0 auto;
}
.grw-badge-av:first-child { margin-left: 0; }
.grw-badge-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grw-badge-avatars + .grw-badge-text { margin-left: 4px; }

/* Avatar-Position im Badge */
.grw-badge-avpos-right { flex-direction: row-reverse; }
.grw-badge-avpos-top { flex-direction: column; align-items: flex-start; }
.grw-badge-avpos-bottom { flex-direction: column-reverse; align-items: flex-start; }

/* Länglicher / Banner-Badge */
.grw-badge-wide {
	display: flex;
	width: 100%;
	max-width: 720px;
	gap: 16px;
	padding: 16px 22px;
	align-items: center;
}
.grw-badge-wide .grw-badge-text { flex: 1 1 auto; }
.grw-badge-wide .grw-badge-line { font-size: 1.05em; }
.grw-badge-wide .grw-badge-score { font-size: 22px; }
.grw-badge-wide .grw-stars { font-size: 19px; }
.grw-badge-wide .grw-badge-avatars { flex: 0 0 auto; }

/* ---------- Floating Badge ---------- */
.grw-floating {
	position: fixed;
	z-index: 9999;
}
.grw-floating-br { right: 20px; bottom: 20px; }
.grw-floating-bl { left: 20px; bottom: 20px; }
.grw-floating-tr { right: 20px; top: 20px; }
.grw-floating-tl { left: 20px; top: 20px; }

.grw-badge-floating {
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
	transition: transform 0.2s ease;
}
.grw-badge-floating:hover { transform: translateY(-2px); }

/* ---------- Card ---------- */
.grw-card {
	background: var(--grw-card);
	border-radius: var(--grw-card-radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 0;
}

.grw-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.grw-avatar {
	position: relative;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	overflow: hidden;
	flex: 0 0 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #6d5bd0, #8a63d2);
	color: #fff;
	font-weight: 600;
	font-size: 18px;
}

/* Foto liegt über dem Initial-Kreis; faellt es aus (onerror), bleibt der Kreis sichtbar. */
.grw-avatar img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.grw-author {
	flex: 1 1 auto;
	min-width: 0;
}

.grw-author-name {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.grw-author-time {
	font-size: 13px;
	color: var(--grw-muted);
	margin-top: 2px;
}

.grw-author-product {
	font-size: 12px;
	color: var(--grw-muted);
	margin-top: 2px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: .85;
}

.grw-google-g {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
}

.grw-google-g svg {
	display: block;
}

/* ---------- Stars ---------- */
.grw-stars {
	display: flex;
	align-items: center;
	gap: 2px;
	font-size: 18px;
	line-height: 1;
}

.grw-star.is-on {
	color: var(--grw-accent);
}

.grw-star.is-off {
	color: rgba(128, 128, 128, 0.45);
}

.grw-verified {
	margin-left: 6px;
	display: inline-flex;
	align-items: center;
}

.grw-verified svg {
	display: block;
}

/* ---------- Text ---------- */
.grw-text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--grw-text);
}

.grw-readmore {
	display: inline-block;
	margin-top: 10px;
	background: none;
	border: none;
	padding: 0;
	color: var(--grw-muted);
	font-size: 14px;
	cursor: pointer;
	text-decoration: none;
}

.grw-readmore:hover {
	color: var(--grw-text);
	text-decoration: underline;
}

/* ---------- Nav Buttons ---------- */
.grw-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.08);
	color: var(--grw-text);
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
	z-index: 2;
}

.grw-theme-light .grw-nav {
	background: rgba(0, 0, 0, 0.06);
}

.grw-nav:hover {
	background: rgba(255, 255, 255, 0.18);
}

.grw-prev {
	left: -46px;
}

.grw-next {
	right: -46px;
}

.grw-nav[disabled] {
	opacity: 0.3;
	cursor: default;
}

/* ---------- Empty ---------- */
.grw-empty {
	padding: 20px;
	text-align: center;
	color: #888;
	font-size: 15px;
}

@media (max-width: 600px) {
	.grw-widget {
		padding: 20px 16px;
	}
	.grw-nav {
		display: none;
	}
	.grw-layout-carousel .grw-card {
		flex-basis: 80%;
	}
}

/* ============================================================
 * v1.4.0 – Neue Layouts, Design-Presets, Anpassungen
 * ============================================================ */

/* ---------- Avatar-Form ---------- */
.grw-avatar-square .grw-avatar {
	border-radius: 6px;
}

/* ---------- Textausrichtung ---------- */
.grw-align-center .grw-card {
	text-align: center;
}
.grw-align-center .grw-card-head {
	flex-direction: column;
	gap: 8px;
}
.grw-align-center .grw-author {
	text-align: center;
}
.grw-align-center .grw-author-name {
	white-space: normal;
}
.grw-align-center .grw-stars {
	justify-content: center;
}
.grw-align-center .grw-platform-logo {
	position: absolute;
	top: 16px;
	right: 16px;
}
.grw-align-center .grw-card {
	position: relative;
}

/* ---------- Sterne-Stil: Outline ---------- */
.grw-stars-outline .grw-star.is-on {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--grw-accent);
	text-stroke: 1.5px var(--grw-accent);
}

/* ---------- Design-Presets ---------- */
/* Flat: kein Schatten, dezent abgesetzt */
.grw-style-flat .grw-card {
	box-shadow: none;
}
/* Bordered: Rahmen statt Füllung */
.grw-style-bordered .grw-card {
	background: transparent;
	border: 1px solid rgba(128, 128, 128, 0.35);
}
/* Shadow: weiche Schlagschatten */
.grw-style-shadow .grw-card {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.grw-theme-dark.grw-style-shadow .grw-card {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
/* Glass: Glaseffekt (Blur + halbtransparent) */
.grw-style-glass .grw-card {
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
}
.grw-theme-light.grw-style-glass .grw-card {
	background: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ---------- Layout: Kompakt-Streifen ---------- */
.grw-layout-compact .grw-track {
	flex-direction: column;
	gap: calc(var(--grw-gap) / 2);
}
.grw-layout-compact .grw-card {
	width: 100%;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
}
.grw-layout-compact .grw-card-head {
	flex: 0 0 auto;
	gap: 10px;
}
.grw-layout-compact .grw-author-name {
	font-size: 14px;
}
.grw-layout-compact .grw-stars {
	font-size: 15px;
}
.grw-layout-compact .grw-text {
	flex: 1 1 auto;
	font-size: 14px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.grw-layout-compact .grw-readmore {
	display: none;
}

/* ---------- Layout: Bubble / Chat ---------- */
.grw-layout-bubble .grw-track {
	flex-wrap: wrap;
}
.grw-layout-bubble .grw-card {
	flex: 1 1 calc((100% / var(--grw-cols)) - var(--grw-gap));
	max-width: calc((100% / var(--grw-cols)) - (var(--grw-gap) * (var(--grw-cols) - 1) / var(--grw-cols)));
	background: none;
	padding: 0;
	gap: 0;
}
.grw-layout-bubble .grw-text {
	order: -1;
	background: var(--grw-card);
	border-radius: 16px;
	padding: 16px 18px;
	position: relative;
	margin-bottom: 16px;
}
.grw-layout-bubble .grw-text::after {
	content: "";
	position: absolute;
	left: 24px;
	bottom: -9px;
	width: 0;
	height: 0;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 10px solid var(--grw-card);
}
.grw-layout-bubble .grw-stars {
	order: -2;
	margin-bottom: 10px;
}
.grw-layout-bubble .grw-card-head {
	padding-left: 6px;
}

@media (max-width: 900px) {
	.grw-layout-bubble .grw-card { max-width: calc(50% - 10px); }
}
@media (max-width: 600px) {
	.grw-layout-bubble .grw-card { max-width: 100%; }
}

/* ---------- Layout: Spotlight (eine große, rotierende Bewertung) ---------- */
.grw-layout-spotlight .grw-body {
	max-width: 720px;
	margin: 0 auto;
}
.grw-layout-spotlight .grw-track {
	display: block;
	position: relative;
}
.grw-layout-spotlight .grw-card {
	text-align: center;
	align-items: center;
	padding: 28px;
	display: none;
}
.grw-layout-spotlight .grw-card.is-active {
	display: flex;
	animation: grw-fade 0.6s ease;
}
.grw-layout-spotlight .grw-card-head {
	flex-direction: column;
	gap: 8px;
}
.grw-layout-spotlight .grw-author,
.grw-layout-spotlight .grw-author-name {
	text-align: center;
	white-space: normal;
}
.grw-layout-spotlight .grw-stars {
	justify-content: center;
}
.grw-layout-spotlight .grw-text {
	font-size: 18px;
	line-height: 1.6;
}
.grw-layout-spotlight .grw-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}
.grw-layout-spotlight .grw-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(128, 128, 128, 0.4);
	cursor: pointer;
	padding: 0;
}
.grw-layout-spotlight .grw-dot.is-active {
	background: var(--grw-accent);
}

@keyframes grw-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
 * v1.5.0 – Interaktivität & Conversion
 * ============================================================ */

/* Sichtbarkeits-Helfer (Filter / Mehr laden) */
.grw-card.grw-filtered,
.grw-card.grw-hidden-more {
	display: none !important;
}

/* ---------- Sterne-Verteilung ---------- */
.grw-distribution {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 20px;
	max-width: 360px;
}
.grw-dist-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}
.grw-dist-label {
	flex: 0 0 32px;
	color: var(--grw-muted);
}
.grw-dist-bar {
	flex: 1 1 auto;
	height: 8px;
	border-radius: 999px;
	background: rgba(128, 128, 128, 0.25);
	overflow: hidden;
}
.grw-dist-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--grw-accent);
	transition: width 0.8s ease;
}
.grw-dist-pct {
	flex: 0 0 38px;
	text-align: right;
	color: var(--grw-muted);
}

/* ---------- Filterleiste ---------- */
.grw-filterbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.grw-filter-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.grw-pill {
	border: 1px solid rgba(128, 128, 128, 0.4);
	background: transparent;
	color: var(--grw-text);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 13px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.grw-pill:hover {
	border-color: var(--grw-accent);
}
.grw-pill.is-active {
	background: var(--grw-accent);
	border-color: var(--grw-accent);
	color: #1a1a1a;
	font-weight: 600;
}
.grw-sort {
	border: 1px solid rgba(128, 128, 128, 0.4);
	background: var(--grw-card);
	color: var(--grw-text);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 13px;
	cursor: pointer;
}

/* ---------- Mehr laden ---------- */
.grw-loadmore-wrap {
	text-align: center;
	margin-top: 22px;
}
.grw-loadmore {
	border: 1px solid var(--grw-accent);
	background: transparent;
	color: var(--grw-text);
	border-radius: 999px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.grw-loadmore:hover {
	background: var(--grw-accent);
	color: #1a1a1a;
}

/* ---------- Scroll-Animation ---------- */
.grw-animate .grw-card {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.grw-animate .grw-card.grw-in {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	.grw-animate .grw-card {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ============================================================
 * v1.6.0 – DSGVO & Performance
 * ============================================================ */

/* ---------- Consent-Gate ---------- */
.grw-consent-box {
	border: 1px dashed rgba(128, 128, 128, 0.5);
	border-radius: 14px;
	padding: 24px;
	text-align: center;
	background: rgba(128, 128, 128, 0.06);
}
.grw-consent-text {
	margin: 0 0 14px;
	font-size: 14px;
	color: #555;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.grw-consent-btn {
	border: none;
	background: #fbbc05;
	color: #1a1a1a;
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}
.grw-consent-btn:hover { opacity: 0.9; }

/* ---------- AJAX-Ladezustand ---------- */
.grw-ajax-loading {
	padding: 24px;
	text-align: center;
	color: #888;
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.grw-ajax-loading::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 8px;
	border: 2px solid rgba(128, 128, 128, 0.4);
	border-top-color: #fbbc05;
	border-radius: 50%;
	vertical-align: -3px;
	animation: grw-spin 0.8s linear infinite;
}
@keyframes grw-spin {
	to { transform: rotate(360deg); }
}

/* ============================================================
 * v1.7.0 – KI-Zusammenfassung
 * ============================================================ */
.grw-ai-summary {
	margin-bottom: 20px;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(128, 128, 128, 0.10);
	border: 1px solid rgba(128, 128, 128, 0.20);
}
.grw-ai-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--grw-accent);
	margin-bottom: 6px;
}
.grw-ai-summary p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--grw-text);
}

/* v1.8.0 – Themen-Tags */
.grw-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.grw-tag {
	font-size: 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(128,128,128,0.14);
	color: var(--grw-text);
	border: 1px solid rgba(128,128,128,0.22);
}

/* v2.0.0 – Feedback-Gate */
.grw-gate { text-align: center; }
.grw-gate-heading { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.grw-gate-stars { display: inline-flex; gap: 6px; }
.grw-gate-star {
	background: none; border: none; cursor: pointer; padding: 0;
	font-size: 38px; line-height: 1; color: rgba(128,128,128,0.4);
	transition: color 0.15s ease, transform 0.1s ease;
}
.grw-gate-star:hover, .grw-gate-star.is-hot { color: var(--grw-accent); transform: scale(1.08); }
.grw-gate-msg { margin-top: 14px; font-size: 15px; }
.grw-gate-msg a { color: var(--grw-accent); font-weight: 600; }
