/* BFV Reviews – Zeile, Siegel (rund, unten rechts), Fenster, Danke-Formular. Farben über Variablen, je Portal anpassbar. */
:root {
	--bfvr-akzent: #1f5fbf;
	--bfvr-marke: #123d6b;
	--bfvr-stern: #f2a516;
	--bfvr-stern-aus: #d5dae2;
	--bfvr-text: #1d2433;
	--bfvr-leise: #5f6b7d;
	--bfvr-linie: #dfe3ea;
	--bfvr-flaeche: #ffffff;
	--bfvr-lob: #0b6b3a;
	--bfvr-lob-bg: #eef8f2;
	--bfvr-kritik: #9a3b30;
	--bfvr-kritik-bg: #fdf3f1;
}

.bfvr-sterne { position: relative; display: inline-block; line-height: 1; letter-spacing: 1px; white-space: nowrap; vertical-align: -1px; }
.bfvr-sterne-aus { color: var(--bfvr-stern-aus); }
.bfvr-sterne-an { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--bfvr-stern); }
.bfvr-sterne.is-klein { font-size: 13px; }
.bfvr-sterne.is-gross { font-size: 22px; }

/* Zeile */
.bfvr-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: var(--bfvr-text); }
.bfvr-zeile-knopf { all: unset; cursor: pointer; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.bfvr-zeile-knopf span:last-child { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bfvr-linie); }
.bfvr-zeile-knopf:hover span:last-child, .bfvr-zeile-knopf:focus-visible span:last-child { text-decoration-color: currentColor; }
.bfvr-zeile-knopf:focus-visible { outline: 2px solid var(--bfvr-akzent); outline-offset: 3px; border-radius: 4px; }
.bfvr-zeile-zusatz, .bfvr-zeile-herkunft { flex-basis: 100%; font-size: 13px; color: var(--bfvr-leise); }

/* Siegel */
.bfvr-siegel {
	all: unset; box-sizing: border-box; position: fixed; z-index: 99990;
	right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	width: 78px; height: 78px; border-radius: 50%; background: var(--bfvr-flaeche); border: 2px solid var(--bfvr-marke);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer;
	box-shadow: 0 6px 18px rgba(16, 24, 40, .16); font-family: inherit; text-align: center; transition: transform .15s;
}
.bfvr-siegel:hover { transform: scale(1.04); }
.bfvr-siegel:focus-visible { outline: 3px solid var(--bfvr-akzent); outline-offset: 2px; }
.bfvr-siegel-note { font-size: 20px; font-weight: 700; line-height: 1; color: var(--bfvr-marke); }
.bfvr-siegel .bfvr-sterne { font-size: 9px; letter-spacing: 0; }
.bfvr-siegel-text { font-size: 9px; color: var(--bfvr-leise); line-height: 1; }
@media (max-width: 600px) { .bfvr-siegel { width: 62px; height: 62px; right: calc(10px + env(safe-area-inset-right, 0px)); bottom: calc(10px + env(safe-area-inset-bottom, 0px)); } .bfvr-siegel-note { font-size: 16px; } .bfvr-siegel-text { display: none; } }
@media (prefers-reduced-motion: reduce) { .bfvr-siegel { transition: none; } }

/* Fenster */
html.bfvr-offen { overflow: hidden; }
.bfvr-fenster { width: min(860px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 16px; background: var(--bfvr-flaeche); color: var(--bfvr-text); box-shadow: 0 24px 60px rgba(15, 23, 42, .35); }
.bfvr-fenster::backdrop { background: rgba(15, 23, 42, .5); }
.bfvr-fenster-innen { position: relative; display: grid; gap: 18px; padding: 24px; font-size: 15px; line-height: 1.55; }
.bfvr-zu { all: unset; position: sticky; top: 0; justify-self: end; margin: -12px -12px -40px 0; width: 36px; height: 36px; border-radius: 50%; background: var(--bfvr-flaeche); text-align: center; font-size: 26px; line-height: 34px; cursor: pointer; color: var(--bfvr-leise); z-index: 2; }
.bfvr-zu:focus-visible { outline: 2px solid var(--bfvr-akzent); }
.bfvr-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: flex-start; }
.bfvr-kopf p { margin: 4px 0 0; }
.bfvr-note { margin: 0; font-size: 44px; line-height: 1; font-weight: 700; }
.bfvr-verteilung { display: grid; gap: 4px; flex: 1; min-width: 220px; max-width: 360px; }
.bfvr-vz { display: grid; grid-template-columns: 34px 1fr 40px; gap: 8px; align-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.bfvr-balken { height: 8px; border-radius: 4px; background: var(--bfvr-stern-aus); overflow: hidden; }
.bfvr-balken span { display: block; height: 100%; background: var(--bfvr-stern); }
.bfvr-ki { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.bfvr-fac { border-radius: 10px; padding: 12px 14px; }
.bfvr-fac.is-lob { background: var(--bfvr-lob-bg); }
.bfvr-fac.is-kritik { background: var(--bfvr-kritik-bg); }
.bfvr-fac h3 { margin: 0 0 6px; font-size: 15px; }
.bfvr-fac.is-lob h3 { color: var(--bfvr-lob); }
.bfvr-fac.is-kritik h3 { color: var(--bfvr-kritik); }
.bfvr-fac p { margin: 6px 0 0; font-size: 14px; }
.bfvr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bfvr-chips span { font-size: 12px; padding: 1px 9px; border-radius: 999px; background: var(--bfvr-flaeche); border: 1px solid var(--bfvr-linie); }
.bfvr-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.bfvr-karte { border: 1px solid var(--bfvr-linie); border-radius: 10px; padding: 10px 12px; font-size: 14px; display: grid; gap: 4px; align-content: start; min-width: 0; }
.bfvr-karte h4 { margin: 2px 0 0; font-size: 14px; }
.bfvr-karte p { margin: 0; overflow-wrap: anywhere; }
.bfvr-meta, .bfvr-klein { font-size: 12.5px; color: var(--bfvr-leise); margin: 0; }
.bfvr-leer { color: var(--bfvr-leise); font-style: italic; }
.bfvr-liste-titel { margin: 6px 0 0; font-size: 16px; }
.bfvr-mehr { margin: 0; text-align: center; }
.bfvr-hinweis { margin: 0; padding-top: 12px; border-top: 1px solid var(--bfvr-linie); font-size: 12.5px; color: var(--bfvr-leise); }
.bfvr-hinweis a { color: var(--bfvr-akzent); }

/* Knopf */
.bfvr-knopf { appearance: none; border: 0; border-radius: 8px; padding: 10px 18px; background: var(--bfvr-akzent); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.bfvr-knopf.is-leise { background: transparent; color: var(--bfvr-akzent); border: 1px solid var(--bfvr-linie); }
.bfvr-knopf:disabled { opacity: .6; cursor: default; }
.bfvr-knopf:focus-visible { outline: 2px solid var(--bfvr-akzent); outline-offset: 2px; }

/* Danke-Formular */
.bfvr-form { display: grid; gap: 12px; max-width: 560px; margin: 24px 0; padding: 18px 20px; border: 1px solid var(--bfvr-linie); border-radius: 12px; background: var(--bfvr-flaeche); color: var(--bfvr-text); }
.bfvr-form-frage { margin: 0; font-weight: 700; font-size: 17px; }
.bfvr-sternwahl { display: flex; gap: 6px; }
.bfvr-sternwahl button { all: unset; cursor: pointer; font-size: 36px; line-height: 1; color: var(--bfvr-stern-aus); transition: transform .1s; }
.bfvr-sternwahl button.is-an { color: var(--bfvr-stern); }
.bfvr-sternwahl button:hover { transform: scale(1.1); }
.bfvr-sternwahl button:focus-visible { outline: 2px solid var(--bfvr-akzent); border-radius: 4px; }
.bfvr-form-rest { display: grid; gap: 12px; }
.bfvr-form-rest[hidden] { display: none; }
.bfvr-feld { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.bfvr-feld small { font-weight: 400; color: var(--bfvr-leise); font-size: 12.5px; }
.bfvr-feld input, .bfvr-feld textarea { font: inherit; padding: 8px 10px; border: 1px solid var(--bfvr-linie); border-radius: 8px; width: 100%; box-sizing: border-box; }
.bfvr-haken { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.bfvr-form .bfvr-knopf { justify-self: start; }
.bfvr-fehler { margin: 0; color: var(--bfvr-kritik); font-size: 14px; }
.bfvr-form-danke { margin: 0; font-weight: 600; color: var(--bfvr-lob); }

/* ☠️ Themes stylen jeden <button> (Hintergrund, Rand, Schatten, Großbuchstaben). Die eigenen Knöpfe hier hart zurücksetzen. */
.bfvr-zeile-knopf, .bfvr-siegel, .bfvr-sternwahl button, .bfvr-zu {
	background-image: none !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
	min-height: 0 !important; min-width: 0 !important; font-family: inherit !important;
}
.bfvr-zeile-knopf, .bfvr-sternwahl button { background: transparent !important; border: 0 !important; padding: 0 !important; color: inherit !important; border-radius: 4px !important; }
.bfvr-sternwahl button { color: var(--bfvr-stern-aus) !important; }
.bfvr-sternwahl button.is-an { color: var(--bfvr-stern) !important; }
.bfvr-siegel { background: var(--bfvr-flaeche) !important; border: 2px solid var(--bfvr-marke) !important; padding: 0 !important; border-radius: 50% !important; box-shadow: 0 6px 18px rgba(16, 24, 40, .16) !important; color: var(--bfvr-text) !important; }
.bfvr-zu { background: var(--bfvr-flaeche) !important; border: 0 !important; padding: 0 !important; color: var(--bfvr-leise) !important; border-radius: 50% !important; }

.bfvr-admin-hinweis { margin: 0; padding: 6px 10px; border-radius: 8px; background: #fff4d6; color: #7a5300; font-size: 12.5px; font-weight: 600; }
