@charset "UTF-8";
/* RM Time — Google-Bewertungen. Elfsight-Ersatz, keine Abhängigkeiten. */

.rmr {
  /* Schrift des Shops. Erben würde hier zwar auch reichen — das Theme setzt
     --bs-body-font-family auf genau diesen Stack — aber festgeschrieben kann
     sie kein Container darüber versehentlich zurücksetzen. Zum Ändern nur
     diese eine Zeile bzw. --rmr-font von außen überschreiben. */
  --rmr-font: "Josefin Sans", sans-serif;

  --rmr-bg: #111;
  --rmr-radius: 24px;
  --rmr-pad-x: 40px;
  --rmr-pad-y: 40px;
  --rmr-max: 1460px;

  --rmr-title-color: #fff;
  --rmr-title-size: 24px;

  --rmr-card-bg: #222;
  --rmr-card-radius: 30px;
  --rmr-card-pad: 24px;
  --rmr-gap: 20px;
  --rmr-basis: 240px;

  --rmr-text: #fff;
  --rmr-text-size: 16px;
  --rmr-text-lh: 23px;
  --rmr-muted: rgba(255, 255, 255, 0.5);
  --rmr-more: rgba(255, 255, 255, 0.5);

  --rmr-star: #fcbf02;
  --rmr-star-empty: rgba(255, 255, 255, 0.3);
  --rmr-star-size: 18px;

  --rmr-arrow-bg: rgba(255, 255, 255, 0.5);
  --rmr-arrow-bg-hover: #fff;
  --rmr-arrow-fg: #111;
  --rmr-arrow-size: 32px;
  --rmr-dot: #fff;
  --rmr-verified: #006dff;

  box-sizing: border-box;
  max-width: 100%;
  width: var(--rmr-max);
  margin: 0 auto;
  padding: var(--rmr-pad-y) var(--rmr-pad-x);
  background: var(--rmr-bg);
  border-radius: var(--rmr-radius);
  position: relative;
  font-family: var(--rmr-font);
}
.rmr *,
.rmr *::before,
.rmr *::after { box-sizing: border-box; }

.rmr--pdp { --rmr-bg: #000; --rmr-card-radius: 8px; --rmr-more: #fff; --rmr-verified: #fff; --rmr-max: 1280px; }
.rmr--footer { --rmr-card-radius: 30px; --rmr-max: 1280px; }

.rmr__title {
  margin: 0 0 32px;
  text-align: center;
  color: var(--rmr-title-color);
  font-size: var(--rmr-title-size);
  font-weight: 700;
  line-height: 1.34;
}

/* ---------- Karussell ---------- */
.rmr__viewport { overflow: hidden; }
.rmr__track {
  display: flex;
  align-items: flex-start; /* Karten behalten ihre eigene Höhe, wie im Original */
  gap: var(--rmr-gap);
  will-change: transform;
  transition: transform 740ms cubic-bezier(0.4, 0, 0.2, 1);
}
.rmr--nomotion .rmr__track { transition: none; }

.rmr__slide { flex: 0 0 auto; display: flex; }

.rmr__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: var(--rmr-arrow-size);
  height: var(--rmr-arrow-size);
  border: 0;
  border-radius: 50%;
  background: var(--rmr-arrow-bg);
  color: var(--rmr-arrow-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: background 150ms ease;
}
.rmr__arrow:hover { background: var(--rmr-arrow-bg-hover); }
.rmr__arrow[hidden] { display: none; }
.rmr__arrow--prev { left: 4px; }
.rmr__arrow--next { right: 4px; }
.rmr__arrow svg { width: 18px; height: 18px; display: block; }

.rmr__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 24px;
  height: 6px;
}
.rmr__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--rmr-dot);
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 150ms ease, transform 150ms ease;
}
.rmr__dot--active { opacity: 1; }
.rmr__dot--small { transform: scale(0.66); }

/* ---------- Karte ---------- */
.rmr__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--rmr-card-bg);
  border-radius: var(--rmr-card-radius);
  padding: var(--rmr-card-pad);
  color: var(--rmr-text);
}

.rmr__author { display: flex; align-items: center; gap: 12px; }
.rmr--classic .rmr__author { margin: 0 0 16px; }

.rmr__avatarwrap { position: relative; flex: 0 0 40px; width: 40px; height: 40px; display: block; }
.rmr__avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: block;
  background: rgba(255, 255, 255, 0.12);
}
.rmr__avatar--initial {
  display: flex; align-items: center; justify-content: center;
  /* Ausdrücklich, nicht geerbt: der Kreis hängt manchmal ausserhalb des
     .rmr-Aufbaus, etwa wenn ein Bild erst zur Laufzeit ersetzt wird. */
  font-family: var(--rmr-font, "Josefin Sans", sans-serif);
  font-size: 14px; font-weight: 600; letter-spacing: .02em; line-height: 1;
  color: #fff; background: #4285f4;
}
.rmr__srcbadge {
  position: absolute; right: -4px; bottom: -2px; width: 24px; height: 24px;
  border-radius: 50%; display: block;
}
.rmr__srcbadge svg { width: 24px; height: 24px; display: block; }

.rmr__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rmr__name {
  display: flex; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 600; line-height: 18px; color: var(--rmr-text);
  text-decoration: none;
}
.rmr__name:hover { text-decoration: underline; }
.rmr__nametext { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rmr__verified { flex: 0 0 14px; width: 14px; height: 14px; color: var(--rmr-verified); }
.rmr__verified svg { width: 14px; height: 14px; display: block; }
.rmr__verified svg path { stroke: var(--rmr-card-bg, #222); }

.rmr__info {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; line-height: 16px; color: var(--rmr-muted);
}
.rmr__info a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; }
.rmr__glogo { height: 24px; width: 57px; display: block; }
.rmr__glogo svg { height: 100%; width: 100%; display: block; }

.rmr__stars { display: flex; margin: 0 0 6px; }
.rmr__star { width: var(--rmr-star-size); height: var(--rmr-star-size); position: relative; display: block; }
.rmr__star svg { width: 100%; height: 100%; display: block; }
.rmr__star--empty svg path { fill: var(--rmr-star-empty); }
.rmr__star--full svg path { fill: var(--rmr-star); }
.rmr__star--half { display: block; }
.rmr__star--half .rmr__starclip { position: absolute; inset: 0; overflow: hidden; }
.rmr__star--half .rmr__starclip svg path { fill: var(--rmr-star); }

.rmr__body { font-size: var(--rmr-text-size); line-height: var(--rmr-text-lh); color: var(--rmr-text); }
.rmr__text { white-space: pre-line; overflow-wrap: anywhere; }
.rmr__text--clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  white-space: normal; /* Vorschau zieht Absätze zusammen — wie bei Elfsight */
}
.rmr__more {
  display: inline-block;
  color: var(--rmr-more);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  line-height: var(--rmr-text-lh);
}
.rmr__more:hover { text-decoration: underline; }

.rmr__shots { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.rmr__shots img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; display: block; }

.rmr__bottomlogo { margin-top: 12px; }

/* ---------- Ballon-Variante ---------- */
.rmr--balloon .rmr__slide > .rmr__wrap { display: flex; flex-direction: column; width: 100%; }
.rmr--balloon .rmr__card { position: relative; }
.rmr--balloon .rmr__card::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -11px;
  width: 0;
  height: 0;
  border-left: 0 solid transparent;
  border-right: 14px solid transparent;
  border-top: 12px solid var(--rmr-card-bg);
}
.rmr--balloon .rmr__author { margin: 22px 0 6px; }

/* ---------- Kompakt-Badge ---------- */
.rmr-badge {
  --rmr-font: "Josefin Sans", sans-serif;
  --rmr-star: #fcbf02;
  --rmr-star-empty: rgba(17, 17, 17, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 34px;
  cursor: pointer;
  font: inherit;
  font-family: var(--rmr-font);
  color: #111;
  line-height: 1;
  max-width: 100%;
}
.rmr-badge:hover { border-color: rgba(17, 17, 17, 0.25); }

/* Die Pille sitzt in der Beraterbox in einem Behälter, der selbst zentriert
   ist (`.review-wrapper { margin: 32px auto }`). Weil die Pille inline-flex
   ist, klebte sie darin links. Der Behälter zentriert sie jetzt selbst —
   über den Behälter statt über die Pille, damit eine Pille ausserhalb der
   Beraterbox weiterhin dort steht, wo der Text steht. */
[data-rmtime-reviews][data-variant="badge"] {
  display: flex;
  justify-content: center;
}
.rmr-badge__icon { flex: 0 0 22px; width: 22px; height: 22px; }
.rmr-badge__icon svg { width: 22px; height: 22px; display: block; }
.rmr-badge__rating { display: flex; align-items: center; gap: 2px; }
.rmr-badge__value { font-size: 16px; font-weight: 700; color: #111; }
.rmr-badge__stars { display: flex; --rmr-star-size: 16px; }
.rmr-badge__count { font-size: 11px; color: rgba(17, 17, 17, 0.5); }
.rmr-badge__check { width: 10px; height: 10px; color: #111; flex: 0 0 10px; }
.rmr-badge__check svg { width: 10px; height: 10px; display: block; }
.rmr-badge__check svg path { stroke: #fff; }

/* ---------- Popup ---------- */
.rmr-pop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 200ms ease;
}
.rmr-pop--in { opacity: 1; }
.rmr-pop__box {
  --rmr-font: "Josefin Sans", sans-serif;
  font-family: var(--rmr-font);
  position: relative;
  width: 720px;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: #1d1d1d;
  border-radius: 24px;
  color: #fff;
  --rmr-star-size: 18px;
  --rmr-star: #fcbf02;
  --rmr-star-empty: rgba(255, 255, 255, 0.3);
  --rmr-text: #fff;
  --rmr-muted: rgba(255, 255, 255, 0.5);
  --rmr-more: rgba(255, 255, 255, 0.5);
  --rmr-verified: #fff;
  --rmr-text-size: 16px;
  --rmr-text-lh: 23px;
}
.rmr-pop__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.5);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.rmr-pop__close:hover { color: #fff; }
.rmr-pop__close svg { width: 14px; height: 14px; display: block; }
.rmr-pop__head {
  margin: 0 40px;
  padding: 40px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rmr-pop__headtop { display: flex; align-items: center; gap: 12px; }
.rmr-pop__headtop svg { width: 28px; height: 28px; display: block; }
.rmr-pop__headline { font-size: 20px; font-weight: 700; }
.rmr-pop__headrating { display: flex; align-items: center; gap: 6px; }
.rmr-pop__headvalue { font-size: 15px; font-weight: 700; }
.rmr-pop__headcount { font-size: 12px; color: var(--rmr-muted); }
.rmr-pop__scroll {
  /* min-height:0 ist hier Pflicht: ohne das weigert sich ein Flex-Kind,
     unter seine Inhaltshöhe zu schrumpfen, und die Liste schiebt sich
     hinter den Fußlink. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 34px 24px 40px;
  -webkit-overflow-scrolling: touch;
}
.rmr-pop__item { padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.rmr-pop__item:last-child { border-bottom: 0; }
.rmr-pop__item .rmr__author { margin: 0 0 10px; }
.rmr-pop__item .rmr__stars { margin-bottom: 8px; }
.rmr-pop__reply {
  margin-top: 14px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.rmr-pop__replyhead { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rmr-pop__replyname { font-size: 13px; font-weight: 600; }
.rmr-pop__replylabel {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rmr-muted);
}
.rmr-pop__replydate { font-size: 12px; color: var(--rmr-muted); }
/* Eigener Grund und Trennlinie: sonst klebt die abgeschnittene letzte
   Textzeile direkt am Link und es sieht aus, als liefe sie darunter durch. */
.rmr-pop__foot {
  padding: 16px 40px 20px;
  background: #1d1d1d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rmr-pop__link {
  display: block;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.rmr-pop__link:hover { color: #fff; text-decoration: underline; }

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
  .rmr { --rmr-pad-x: 20px; --rmr-pad-y: 24px; }
  .rmr__title { font-size: 20px; margin-bottom: 20px; }
  .rmr__arrow--prev { left: -6px; }
  .rmr__arrow--next { right: -6px; }
  .rmr-pop__head { margin: 0 20px; padding: 32px 0 16px; }
  .rmr-pop__scroll { padding: 20px; }
  .rmr-pop__foot { padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .rmr__track { transition: none; }
}
