@charset "UTF-8";
/* RM Time — kleine Widgets. Ersatz für Logo-Showcase, Team, Store-Locator,
   Hinweisleiste, Slider und Preistabelle von Elfsight. Keine Abhängigkeiten. */

.rmw2 {
  --rmw2-font: "Josefin Sans", sans-serif;
  --rmw2-dark: #111;
  --rmw2-card: #222;
  --rmw2-text: #fff;
  --rmw2-muted: rgba(255, 255, 255, 0.7);
  --rmw2-accent: #b82d2d;
  --rmw2-radius: 8px;

  box-sizing: border-box;
  font-family: var(--rmw2-font);
}
.rmw2 *, .rmw2 *::before, .rmw2 *::after { box-sizing: border-box; }

/* ═══════════════════════════════ Logos ═══════════════════════════════ */

.rmw2-logos { overflow: hidden; padding: 12px 0; }
.rmw2-logos__track {
  display: flex;
  align-items: center;
  gap: 48px;
}
.rmw2-logos__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rmw2-logos__item img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}
.rmw2-logos__item a { display: block; }

/* Endlos-Lauf: die Liste steht zweimal im Track, die zweite Hälfte schiebt nach */
.rmw2-logos--endlos .rmw2-logos__track {
  width: max-content;
  animation: rmw2-lauf var(--rmw2-dauer, 40s) linear infinite;
}
.rmw2-logos--endlos:hover .rmw2-logos__track { animation-play-state: paused; }
@keyframes rmw2-lauf {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 24px)); } /* halber Track + halbe Lücke */
}

/* Karussell: seitenweise blättern */
.rmw2-logos--karussell { position: relative; }
.rmw2-logos--karussell .rmw2-logos__track {
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  gap: 32px;
}
.rmw2-logos__pfeil {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(17, 17, 17, 0.08); color: #111;
  display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.rmw2-logos__pfeil:hover { background: rgba(17, 17, 17, 0.18); }
.rmw2-logos__pfeil[hidden] { display: none; }
.rmw2-logos__pfeil--zurueck { left: -8px; }
.rmw2-logos__pfeil--vor { right: -8px; }
.rmw2-logos__pfeil svg { width: 16px; height: 16px; }

/* ═══════════════════════════════ Team ════════════════════════════════ */

.rmw2-team {
  background: var(--rmw2-dark);
  border-radius: 24px;
  padding: 40px;
  color: var(--rmw2-text);
}
.rmw2-team__titel {
  text-align: center; font-size: 24px; font-weight: 700; line-height: 1.34; margin: 0;
}
.rmw2-team__untertitel {
  text-align: center; font-size: 16px; color: var(--rmw2-muted);
  margin: 8px auto 0; max-width: 70ch;
}
.rmw2-team__grid {
  display: grid; gap: 24px; margin-top: 32px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.rmw2-team__karte {
  margin: 0;              /* <figure> bringt sonst 1em 40px mit */
  position: relative; border-radius: var(--rmw2-radius); overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--rmw2-card);
}
.rmw2-team__karte img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.rmw2-team__info {
  position: absolute; inset: auto 0 0 0; padding: 16px 12px 18px; text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 30%, rgba(0, 0, 0, 0));
}
.rmw2-team__name { font-size: 16px; font-weight: 700; }
.rmw2-team__rolle { font-size: 14px; color: var(--rmw2-muted); margin-top: 2px; }
.rmw2-team__cta { text-align: center; margin-top: 32px; }
.rmw2-team__ctatitel { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.rmw2-knopf {
  display: inline-block; padding: 11px 26px; border-radius: 6px;
  background: var(--rmw2-accent); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700;
}
.rmw2-knopf:hover { filter: brightness(1.1); color: #fff; }

/* ═══════════════════════════════ Filiale ═════════════════════════════ */

.rmw2-filiale__titel { font-size: 22px; font-weight: 700; margin: 0 0 16px; }
.rmw2-filiale__karte {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px;
  border: 1px solid rgba(17, 17, 17, 0.12); border-radius: 12px; overflow: hidden;
  background: #fff;
}
.rmw2-filiale__bild { min-height: 240px; background: #f2f2f4; }
.rmw2-filiale__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmw2-filiale__body { padding: 24px 24px 24px 0; }
.rmw2-filiale__name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.rmw2-filiale__text { font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
.rmw2-filiale__zeile { font-size: 15px; margin: 4px 0; }
.rmw2-filiale__zeile a { color: inherit; }
.rmw2-filiale__aktionen { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════ Hinweisleiste ═══════════════════════════ */

.rmw2-hinweis {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 10px 44px 10px 20px; position: relative;
  background: var(--rmw2-hinweis-bg, #f6f2f2);
  color: var(--rmw2-hinweis-fg, #b82d2d);
  font-size: 15px; text-align: center;
}
.rmw2-hinweis__icon { width: 22px; height: 22px; flex: 0 0 22px; }
.rmw2-hinweis__icon img { width: 100%; height: 100%; display: block; }
.rmw2-hinweis__text strong { font-weight: 700; }
.rmw2-hinweis__knopf {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--rmw2-hinweis-knopf, #702020); color: #fff;
  text-decoration: none; font-size: 13px; font-weight: 700; white-space: nowrap;
}
.rmw2-hinweis__zu {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border: 0; background: none; cursor: pointer;
  color: currentColor; opacity: 0.6; padding: 0;
}
.rmw2-hinweis__zu:hover { opacity: 1; }
.rmw2-hinweis__zu svg { width: 12px; height: 12px; display: block; margin: auto; }

/* ═══════════════════════════ Preistabelle ════════════════════════════ */

.rmw2-preis {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.rmw2-preis__spalte {
  background: var(--rmw2-dark); color: var(--rmw2-text);
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
}
.rmw2-preis__spalte--hervor { outline: 2px solid var(--rmw2-accent); }
.rmw2-preis__bild { aspect-ratio: 3 / 2; background: var(--rmw2-card); }
.rmw2-preis__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rmw2-preis__titel {
  font-size: 20px; font-weight: 700; text-align: center; padding: 18px 16px 6px;
}
.rmw2-preis__untertitel { text-align: center; color: var(--rmw2-muted); font-size: 14px; padding: 0 16px; }
.rmw2-preis__merkmale { list-style: none; margin: 14px 0 0; padding: 0 20px 22px; }
.rmw2-preis__merkmal {
  font-size: 14px; line-height: 1.5; padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}
.rmw2-preis__merkmal:first-child { border-top: 0; }
.rmw2-preis__merkmal div { display: inline; }
.rmw2-preis__hinweis {
  display: block; margin-top: 4px; font-size: 12px; color: var(--rmw2-muted);
}

/* ═════════════════════════════ Slider ════════════════════════════════ */

.rmw2-slider { position: relative; border-radius: 12px; overflow: hidden; background: #000; }
.rmw2-slider__medium { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.rmw2-slider__inhalt {
  position: absolute; inset: auto 0 0 0; padding: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #fff; text-align: center;
}
.rmw2-slider__titel { font-size: 27px; font-weight: 700; }

/* ═════════════════════════════ Mobil ═════════════════════════════════ */

/* ---- FAQ als <details>: die serverseitig gerenderte Fassung ----
 *
 * Das Aufklappen macht der Browser selbst. Das spart nicht nur Skript — es
 * heisst auch, dass der Antworttext im HTML steht und nicht erst entsteht,
 * wenn jemand klickt. Genau darum geht es bei der FAQPage-Auszeichnung.
 *
 * Die Regeln oben gelten weiter, hier kommt nur dazu, was <details> braucht. */
.rmw2-faq__eintrag > summary.rmw2-faq__frage {
  list-style: none;               /* Firefox */
}
.rmw2-faq__eintrag > summary.rmw2-faq__frage::-webkit-details-marker {
  display: none;                  /* Safari, aeltere Chrome */
}

/* Pfeil selbst zeichnen, damit kein zusaetzliches Bild noetig ist. */
.rmw2-faq__eintrag > summary.rmw2-faq__frage::after {
  content: '';
  flex: 0 0 10px;
  width: 10px; height: 10px;
  margin: 6px 3px 0 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms ease;
}
.rmw2-faq__eintrag[open] > summary.rmw2-faq__frage::after {
  transform: rotate(-135deg);
  margin-top: 10px;
}

/* Die Antwort ist bei <details> nicht mehr [hidden], sondern schlicht
   ausgeblendet, solange der Eintrag zu ist — das erledigt der Browser. */
.rmw2-faq__eintrag > .rmw2-faq__antwort { padding-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .rmw2-faq__eintrag > summary.rmw2-faq__frage::after { transition: none; }
}

@media (max-width: 767px) {
  .rmw2-team { padding: 24px 20px; }
  .rmw2-team__titel { font-size: 20px; }
  .rmw2-team__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .rmw2-filiale__karte { grid-template-columns: 1fr; }
  .rmw2-filiale__body { padding: 20px; }
  .rmw2-hinweis { flex-direction: column; gap: 8px; padding: 12px 40px; font-size: 14px; }
  .rmw2-logos__track { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .rmw2-logos--endlos .rmw2-logos__track { animation: none; }
  .rmw2-logos--karussell .rmw2-logos__track { transition: none; }
}

/* ═════════════════════════════════ FAQ ═══════════════════════════════ */

.rmw2-faq__titel { font-size: 24px; font-weight: 700; margin: 0 0 20px; }
.rmw2-faq__gruppe { font-size: 18px; font-weight: 700; margin: 26px 0 12px; }
.rmw2-faq__gruppe:first-child { margin-top: 0; }

.rmw2-faq__liste {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}
.rmw2-faq--zweispaltig .rmw2-faq__liste {
  columns: 2;
  column-gap: 40px;
  border-top: 0;
}
.rmw2-faq--zweispaltig .rmw2-faq__eintrag {
  break-inside: avoid;
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.rmw2-faq__eintrag { border-bottom: 1px solid rgba(17, 17, 17, 0.12); }
.rmw2-faq__frageZeile { margin: 0; font-size: inherit; font-weight: inherit; }

.rmw2-faq__frage {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  width: 100%; padding: 15px 0; border: 0; background: none;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.4;
  color: inherit; text-align: left; cursor: pointer;
}
.rmw2-faq__frage:hover { color: var(--rmw2-accent); }
.rmw2-faq__frage:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.rmw2-faq__pfeil {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px;
  transition: transform 200ms ease;
}
.rmw2-faq__frage[aria-expanded="true"] .rmw2-faq__pfeil { transform: rotate(180deg); }

.rmw2-faq__antwort {
  padding: 0 0 16px; font-size: 16px; line-height: 1.6;  /* 15 px lagen unter der Fließtextgrenze */
  color: rgba(17, 17, 17, 0.82); max-width: 78ch;
}
.rmw2-faq__antwort[hidden] { display: none; }
.rmw2-faq__antwort a { color: var(--rmw2-accent); }
.rmw2-faq__antwort ul, .rmw2-faq__antwort ol { padding-left: 20px; }

@media (max-width: 767px) {
  .rmw2-faq--zweispaltig .rmw2-faq__liste { columns: 1; }
  .rmw2-faq__titel { font-size: 20px; }
}
