/* Google-Bewertungen Fröschl Elektro – Ersatz für die beiden Elfsight-Widgets (Stand 26.11.2026).
   Maße und Farben aus den Original-Widgets abgelesen (1366 px und 390 px). */

.fb { width: 100%; box-sizing: border-box; color: #202020; }
.fb *, .fb *::before, .fb *::after { box-sizing: border-box; }
.fb a { color: inherit; text-decoration: none; }
.fb-sterne { display: inline-flex; align-items: center; gap: 0; }
.fb-sterne svg { display: block; }

/* ---------- Raster (Widget 4ff07ad8: Start, /unternehmen/bewertungen, /unternehmen/uebersicht) ---------- */
.fb-raster { font-size: 18px; line-height: 27px; }
.fb-kopf { display: flex; align-items: center; justify-content: center; text-align: center; background: #f8f8f8;
  border-radius: 8px; padding: 24px; margin: 0 0 20px; }
.fb-kopf-info { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.fb-kopf-titel { display: flex; align-items: center; gap: 6px; }
.fb-kopf-titel img { height: 32px; width: auto; display: block; }
.fb-kopf-titel span { font-size: 20px; font-weight: 700; line-height: 26px; color: #111; }
.fb-kopf-note { display: flex; align-items: center; gap: 6px; }
.fb-kopf-note .fb-wert { font-size: 22px; font-weight: 700; line-height: 28px; color: #111; }
.fb-kopf-note .fb-sterne svg { width: 22px; height: 22px; }
.fb-kopf-note .fb-anzahl { font-size: 12px; line-height: 14px; color: rgba(17, 17, 17, .5); }

.fb-gitter { display: grid; gap: 20px; grid-template-columns: repeat(var(--fb-spalten, 3), minmax(0, 1fr)); }
@media (max-width: 991px) { .fb-gitter { --fb-spalten: 2; } }
@media (max-width: 767px) { .fb-gitter { --fb-spalten: 1; } }
.fb-eintrag { display: flex; flex-direction: column; }
.fb-eintrag[hidden] { display: none; }
.fb-karte { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; background: #f8f8f8;
  border: 1px solid transparent; border-radius: 8px; padding: 24px; } /* 1 px Rand wie im Original */
.fb-karte .fb-sterne { margin: 0 0 6px; }
.fb-karte .fb-sterne svg { width: 18px; height: 18px; }
.fb-karte .fb-text { font-size: 18px; line-height: 26px; color: #111; text-align: left; white-space: normal;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 14; overflow: hidden; }
.fb-lesen { align-self: flex-start; font: inherit; font-size: 18px; line-height: 26px; color: rgb(17, 85, 178);
  background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
.fb-lesen[hidden] { display: none; }
.fb-schweif { position: absolute; left: 23px; top: calc(100% + 1px); width: 19px; height: 13px; fill: #f8f8f8; }
.fb-autor { display: flex; gap: 12px; margin: 22px 0 6px; }
.fb-quelle { width: 40px; height: 40px; flex: 0 0 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(17, 17, 17, .2); border-radius: 8px; background: #f8f8f8; }
.fb-quelle img { width: 28px; height: 28px; display: block; }
.fb-autor-info { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.fb-name { display: flex; align-items: center; gap: 5px; font-size: 15px; font-weight: 600; line-height: 18px; color: #111; }
.fb-name svg { width: 14px; height: 14px; flex: 0 0 14px; }
.fb-datum { font-size: 12px; line-height: 16px; color: rgba(17, 17, 17, .5); }
.fb-mehr-zeile { display: flex; align-items: center; justify-content: center; margin: 20px 0 0; }
.fb-mehr { font: inherit; font-size: 13px; font-weight: 700; line-height: 16px; color: #111; background: #f8f8f8;
  border: 1px solid transparent; border-radius: 4px; padding: 8px 51px; cursor: pointer; }
.fb-mehr:hover { background: #efefef; }

/* ---------- Karussell (Widget 2498b409: Ladepunkte, Montage PV, Umrüstung PV, Ratgeber) ---------- */
/* Schrift wie im Original: „Generalsans“ ist dort nicht geladen, der Browser fällt auf seine Standardschrift zurück. */
.fb-karussell { font-family: Generalsans; font-size: 18px; line-height: 27px; color: #687a77;
  width: 800px; max-width: calc(100vw - 30px); /* wie Original: 800 px im Flex-Container, Handy volle Breite */ }
.fb-karussell .fb-titel { margin: 0 0 32px; text-align: center; font-size: 24px; font-weight: 700; line-height: 31.68px; color: #111; text-wrap: balance; }
.fb-buehne { position: relative; display: flex; align-items: center; }
.fb-fenster { overflow: hidden; flex: 1 1 auto; min-width: 0; width: 100%; transition: height .3s ease;
  touch-action: pan-y pinch-zoom; /* senkrecht scrollt der Browser, waagrecht wischt das Karussell */ }
.fb-band { display: flex; align-items: flex-start; transition: transform .74s ease; }
.fb-folie { flex: 0 0 100%; margin-right: 20px; padding: 1px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.fb-folie .fb-sterne { margin: 0 0 6px; }
.fb-folie .fb-sterne svg { width: 18px; height: 18px; }
.fb-folie .fb-text { font-size: 18px; line-height: 26px; color: #111; }
.fb-folie .fb-autor { flex-direction: column; align-items: center; gap: 8px; margin: 16px 0 0; }
.fb-bild { position: relative; width: 40px; height: 40px; }
.fb-bild img.fb-avatar { width: 40px; height: 40px; border-radius: 50%; display: block; object-fit: cover; }
.fb-bild .fb-g { position: absolute; left: 22px; top: 22px; width: 24px; height: 24px; }
.fb-folie .fb-autor-info { align-items: center; }
.fb-pfeil { position: absolute; top: 50%; z-index: 2; width: 32px; height: 32px; margin-top: -16px; padding: 0; border: 0;
  border-radius: 50%; background: rgba(255, 255, 255, .5); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.fb-pfeil svg { width: 16px; height: 16px; fill: #fff; }
.fb-pfeil[disabled] { opacity: 0; pointer-events: none; }
.fb-zurueck { left: -16px; }
.fb-vor { right: -16px; }
@media (max-width: 829px) { /* Karussell füllt die Breite: Pfeile bündig am Bildschirmrand, sonst 1 px Überbreite */
  .fb-zurueck { left: -15px; }
  .fb-vor { right: -15px; }
}
/* ---------- Fenster „Mehr lesen“ (wie im Original: alle Bewertungen, beginnend bei der angeklickten) ---------- */
dialog.fb-dialog { width: 720px; max-width: calc(100% - 40px); height: calc(100% - 80px); max-height: none; margin: auto; padding: 0;
  border: 0; border-radius: 24px; background: #fff; color: #111; overflow: hidden; font-family: Generalsans; }
dialog.fb-dialog[open] { display: flex; flex-direction: column; }
dialog.fb-dialog::backdrop { background: rgba(17, 17, 17, .9); }
.fb-zu { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fb-zu:hover { background: #f3f3f3; }
.fb-zu svg { width: 16px; height: 16px; fill: rgba(17, 17, 17, .7); }
.fb-dialog-kopf { flex: 0 0 auto; display: flex; justify-content: center; text-align: center; margin: 0 40px;
  padding: 40px 0 24px; border-bottom: 1px solid rgba(17, 17, 17, .1); }
.fb-liste { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 34px 40px 40px; }
.fb-beitrag { padding: 24px 1px; border-bottom: 1px solid rgba(17, 17, 17, .1); }
.fb-beitrag:last-child { border-bottom: 0; }
.fb-beitrag .fb-autor { margin: 0 0 12px; }
.fb-beitrag .fb-sterne { margin: 0 0 6px; }
.fb-beitrag .fb-sterne svg { width: 18px; height: 18px; }
.fb-beitrag .fb-text { font-size: 16px; line-height: 23px; color: #111; text-align: left; white-space: pre-line; }
@media (max-width: 767px) {
  dialog.fb-dialog { width: 100%; max-width: 100%; height: 100%; height: 100dvh; margin: 0; border-radius: 0; }
  .fb-dialog-kopf { margin: 0; }
  .fb-liste { padding: 0 14px 14px 20px; }
  .fb-beitrag { margin: 0 -14px 0 -20px; padding: 24px 15px 24px 21px; }
}
