/*!
 * Repack much Core – Preisseiten ([repack_preise], [repack_lieferpreise], [repack_preisrechner]).
 * Baut auf rmc-basis.css auf (Farben, Schrift, Knöpfe, Felder). Keine Schlagschatten, keine
 * Farbverläufe, keine dunkle Schrift auf grünen Flächen.
 */

.rmc .rmc-tipp {
  padding: 22px 18px;
  border-radius: var(--rmc-radius);
  background: var(--rmc-beige);
  color: var(--rmc-text);
}
.rmc .rmc-tipp-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #fff;
  color: var(--rmc-braun);
}
.rmc .rmc-tipp-rechnung {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: var(--rmc-radius-m);
  background: #fff;
  font-variant-numeric: tabular-nums;
}
.rmc .rmc-tipp-rechnung span { display: flex; justify-content: space-between; gap: 12px; }
.rmc .rmc-tipp-fuss { font-size: 16px; color: var(--rmc-text-2); }

.rmc .rmc-beispiel {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius-m);
  background: var(--rmc-beige-2);
  color: var(--rmc-text);
  font-size: 17px;
  line-height: 1.5;
}
.rmc .rmc-beispiel s { color: var(--rmc-text-2); }

.rmc .rmc-weitere-text { margin: 0 0 16px; }
.rmc .rmc-weitere-liste { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.rmc .rmc-weiter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "link preis" "link info";
  align-items: center;
  gap: 2px 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius-m);
  background: #fff;
}
.rmc .rmc-weiter-link { grid-area: link; display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--rmc-text); text-decoration: none; }
.rmc .rmc-weiter-link:hover .rmc-weiter-name { text-decoration: underline; text-underline-offset: 3px; }
.rmc .rmc-weiter-bild { flex: 0 0 46px; width: 46px; overflow: hidden; aspect-ratio: 500 / 583; border-radius: 10px; background: #fff; }
.rmc .rmc-weiter-bild img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rmc .rmc-weiter-name { font-family: var(--rmc-stark); font-size: 17px; line-height: 1.3; }
.rmc .rmc-weiter-preis { grid-area: preis; align-self: end; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--rmc-text); }
.rmc .rmc-weiter-preis strong { font-size: 18px; }
.rmc .rmc-weiter-statt { display: block; font-size: 15px; color: var(--rmc-text-2); }
.rmc .rmc-weiter-info { grid-area: info; align-self: start; text-align: right; font-size: 15px; line-height: 1.3; color: var(--rmc-braun); }

/* ------------------------------------------------------------------
 * [repack_lieferpreise]
 * ------------------------------------------------------------------ */

.rmc-liefer > section { margin: 0 0 44px; }
.rmc-liefer > section:last-child { margin-bottom: 0; }
.rmc .rmc-wege-text { max-width: 62ch; margin: 0 0 18px; }
.rmc .rmc-wege { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.rmc .rmc-weg {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius);
  background: #fff;
}
.rmc .rmc-weg p { font-size: 17px; line-height: 1.55; }
.rmc .rmc-weg-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--rmc-beige);
  color: var(--rmc-braun);
}
.rmc .rmc-weg-icon .rmc-icon { width: 28px; height: 28px; }
.rmc .rmc-weg-titel { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.rmc .rmc-weg .rmc-weg-wann {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 4px 11px;
  border: 1px solid var(--rmc-gruen-rand);
  border-radius: 999px;
  background: #fff;
  color: var(--rmc-gruen-text);
  font-family: var(--rmc-stark);
  font-size: 14px;
  line-height: 1.4;
}
.rmc .rmc-weg .rmc-weg-preis {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin: auto 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--rmc-linie);
  color: var(--rmc-text);
}
.rmc .rmc-weg-preis strong { font-size: 24px; line-height: 1.2; }

.rmc .rmc-beispiele-text { margin: 0 0 14px; }

.rmc .rmc-tabelle-rahmen { overflow: hidden; border: 1px solid var(--rmc-linie); border-radius: var(--rmc-radius-m); background: #fff; }
.rmc .rmc-tabelle { border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.rmc .rmc-tabelle thead th {
  padding: 10px 12px;
  background: var(--rmc-beige-2);
  font-family: var(--rmc-stark);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  vertical-align: bottom;
  color: var(--rmc-text-2);
}
.rmc .rmc-tabelle thead th span { display: block; font-size: 13.5px; letter-spacing: 0; text-transform: none; }
.rmc .rmc-tabelle tbody th,
.rmc .rmc-tabelle tbody td { padding: 11px 12px; border-top: 1px solid var(--rmc-linie); color: var(--rmc-text); }
.rmc .rmc-tabelle tbody tr:nth-child(even) > * { background: #fcfaf7; }
.rmc .rmc-tabelle tbody th { font-family: var(--rmc-stark); font-weight: 400; }
.rmc .rmc-tabelle tbody th small { display: block; margin-top: 2px; font-family: inherit; font-size: 14px; line-height: 1.35; color: var(--rmc-text-2); }
.rmc .rmc-tabelle .rmc-zahl { text-align: right; white-space: nowrap; }
/* Am Handy dürfen Spaltenköpfe mit Zusatz („je Karton (10 / 8 Stück)“) umbrechen, sonst wird die Tabelle zu breit */
@media (max-width: 767px) {
  .rmc .rmc-tabelle thead th.rmc-zahl { white-space: normal; }
}
@media (max-width: 480px) {
  .rmc .rmc-laender-tabelle th, .rmc .rmc-laender-tabelle td { padding-left: 9px; padding-right: 9px; }
}
.rmc .rmc-beispiel-tabelle tbody th { white-space: nowrap; }
.rmc .rmc-tabelle td.rmc-anfrage a { color: var(--rmc-braun); text-decoration: underline; text-underline-offset: 3px; }
.rmc .rmc-art--palette { font-family: var(--rmc-stark); color: var(--rmc-braun); }

.rmc .rmc-laender-kopf { margin-bottom: 16px; }
.rmc .rmc-suche { margin: 0 0 14px; }
.rmc .rmc-suche-feld { position: relative; max-width: 460px; }
.rmc .rmc-suche-feld .rmc-icon { position: absolute; top: 50%; left: 14px; width: 20px; height: 20px; color: var(--rmc-text-2); transform: translateY(-50%); pointer-events: none; }
.rmc .rmc-suche-eingabe { padding-left: 44px; }
.rmc .rmc-suche-anzahl { min-height: 1.5em; margin: 6px 0 0; font-size: 15px; }
.rmc .rmc-suche-leer { margin: 14px 0 0; padding: 14px 16px; border-radius: var(--rmc-radius-m); background: var(--rmc-beige); color: var(--rmc-text); }
.rmc .rmc-suche-leer a { color: var(--rmc-braun); }
.rmc .rmc-alle-laender { margin-top: 14px; }

.rmc .rmc-hinweise { padding: 22px 18px; border-radius: var(--rmc-radius); background: var(--rmc-beige); }
.rmc .rmc-hinweis-liste { display: grid; gap: 10px; }
.rmc .rmc-hinweis-liste li { position: relative; padding-left: 22px; line-height: 1.55; color: var(--rmc-text); }
.rmc .rmc-hinweis-liste li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rmc-gruen-knopf);
}
.rmc .rmc-hinweis-liste a { color: var(--rmc-braun); }
.rmc .rmc-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(141, 68, 17, .15);
}
.rmc .rmc-cta p { margin: 0; font-family: var(--rmc-stark); font-size: 19px; line-height: 1.3; color: var(--rmc-text); }

/* ------------------------------------------------------------------
 * [repack_preisrechner]
 * ------------------------------------------------------------------ */

.rmc-rechner { scroll-margin-top: 110px; }
.rmc .rmc-rechner-raster { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
.rmc .rmc-rechner-form { display: grid; gap: 16px; margin: 0; }
.rmc .rmc-feld {
  min-width: 0;
  margin: 0;
  padding: 18px 16px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius);
  background: #fff;
}
.rmc .rmc-legende {
  display: flex;
  float: left;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  font-family: var(--rmc-stark);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--rmc-text);
}
.rmc .rmc-legende + * { clear: both; }
.rmc .rmc-schritt {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rmc-braun);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.rmc .rmc-posten-liste { display: grid; gap: 12px; }
.rmc .rmc-posten {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius-m);
  background: var(--rmc-beige-2);
}
.rmc .rmc-posten--weg { padding-top: 48px; }
.rmc .rmc-posten-weg {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rmc-linie);
  border-radius: 50%;
  background: #fff;
  color: var(--rmc-text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.rmc .rmc-posten-weg:hover { border-color: var(--rmc-braun); color: var(--rmc-braun); }

.rmc .rmc-menge { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 6px; }
.rmc .rmc-menge-knopf {
  display: grid;
  place-items: center;
  width: 48px;
  height: 50px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--rmc-feldrand);
  border-radius: 12px;
  background: #fff;
  color: var(--rmc-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.rmc .rmc-menge-knopf:hover { border-color: var(--rmc-gruen-knopf); background: var(--rmc-beige-2); color: var(--rmc-gruen-text); }
.rmc .rmc-menge-feld { padding: 0 6px; text-align: center; font-family: var(--rmc-stark); font-size: 18px; -moz-appearance: textfield; appearance: textfield; }
.rmc .rmc-menge-feld::-webkit-outer-spin-button,
.rmc .rmc-menge-feld::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.rmc .rmc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.rmc .rmc-chips:empty { display: none; }
.rmc .rmc-chip {
  min-width: 48px;
  height: auto;
  min-height: 36px;
  margin: 0;
  padding: 6px 12px;
  border: 1.5px solid var(--rmc-feldrand);
  border-radius: 999px;
  background: #fff;
  color: var(--rmc-text);
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
}
.rmc .rmc-chip:hover { border-color: var(--rmc-gruen-knopf); }
.rmc .rmc-chip[aria-pressed="true"] { border-color: var(--rmc-text); background: var(--rmc-text); color: #fff; }

.rmc .rmc-plus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: auto;
  min-height: 44px;
  margin: 12px 0 0;
  padding: 8px 14px;
  border: 1.5px dashed #c9bcae;
  border-radius: 12px;
  background: transparent;
  color: var(--rmc-text);
  font-family: var(--rmc-stark);
  font-size: 16px;
  line-height: 1.2;
  cursor: pointer;
}
.rmc .rmc-plus:hover { border-color: var(--rmc-gruen-knopf); background: var(--rmc-beige-2); color: var(--rmc-gruen-text); }

.rmc .rmc-ziel { display: grid; gap: 12px; }
.rmc .rmc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin: 12px 0 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--rmc-text);
  cursor: pointer;
}
.rmc .rmc-check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--rmc-gruen-knopf); }

.rmc .rmc-ergebnis {
  min-width: 0;
  padding: 20px 16px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius);
  background: #fff;
}
.rmc .rmc-laedt { margin: 0; color: var(--rmc-text-2); }
.rmc .rmc-erg-titel { margin: 0 0 12px; font-size: 22px; line-height: 1.25; }
.rmc .rmc-erg-zeile { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--rmc-linie); }
.rmc .rmc-erg-zeile:first-child { padding-top: 0; border-top: 0; }
.rmc .rmc-erg-zeile:focus { outline: none; }
.rmc .rmc-erg-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--rmc-text); }
.rmc .rmc-erg-name { font-family: var(--rmc-stark); font-size: 18px; line-height: 1.3; }
.rmc .rmc-erg-summe { font-family: var(--rmc-stark); font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rmc .rmc-erg-stueck { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font-size: 16px; }
.rmc .rmc-erg-tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--rmc-gruen-rand);
  border-radius: 999px;
  background: #fff;
  color: var(--rmc-gruen-text);
  font-family: var(--rmc-stark);
  font-size: 13.5px;
  line-height: 1.4;
}
.rmc .rmc-erg-spar { display: flex; align-items: flex-start; gap: 6px; margin: 0; font-size: 16px; color: var(--rmc-gruen-text); }
.rmc .rmc-erg-spar strong { color: var(--rmc-gruen-text); }
.rmc .rmc-erg-spar .rmc-icon { width: 20px; height: 20px; margin-top: 2px; }
.rmc .rmc-erg-aktion { display: flex; flex-wrap: wrap; gap: 8px; }

.rmc .rmc-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--rmc-radius-m);
  font-size: 16px;
  line-height: 1.5;
  color: var(--rmc-text);
}
.rmc .rmc-hinweis > .rmc-icon { width: 20px; height: 20px; margin-top: 2px; }
.rmc .rmc-hinweis p { margin: 0 0 8px; }
.rmc .rmc-hinweis p:last-child { margin-bottom: 0; }
.rmc .rmc-hinweis a { color: inherit; }
.rmc .rmc-hinweis--plus { border: 1.5px solid var(--rmc-gruen-rand); background: #fff; }
.rmc .rmc-hinweis--plus > .rmc-icon { color: var(--rmc-gruen-text); }
.rmc .rmc-hinweis--info { background: var(--rmc-beige); }
.rmc .rmc-hinweis--warn { border: 1px solid #efd2a6; background: #fff5e6; }
.rmc .rmc-hinweis .rmc-knopf { margin-top: 2px; }

.rmc .rmc-erg-versand { display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--rmc-linie); }
.rmc .rmc-erg-versand h4 { margin: 0; font-size: 17px; line-height: 1.3; }
.rmc .rmc-erg-reihe { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--rmc-text); }
.rmc .rmc-erg-reihe > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rmc .rmc-erg-reihe small { display: block; font-size: 15px; line-height: 1.4; color: var(--rmc-text-2); }
.rmc .rmc-erg-plz { display: grid; gap: 4px; }
.rmc .rmc-erg-plz .rmc-erg-reihe { font-size: 16px; }

.rmc .rmc-summen { display: grid; gap: 6px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rmc-linie); font-variant-numeric: tabular-nums; }
.rmc .rmc-summen > div { display: flex; justify-content: space-between; gap: 12px; }
.rmc .rmc-summen dt { margin: 0; font-weight: 400; color: var(--rmc-text-2); }
.rmc .rmc-summen dd { margin: 0; white-space: nowrap; color: var(--rmc-text); }
.rmc .rmc-summen .rmc-gesamt { margin-top: 6px; padding-top: 10px; border-top: 2px solid var(--rmc-text); }
.rmc .rmc-summen .rmc-gesamt dt,
.rmc .rmc-summen .rmc-gesamt dd { font-family: var(--rmc-stark); font-size: 22px; line-height: 1.3; color: var(--rmc-text); }
.rmc .rmc-je-stueck { margin: 10px 0 0; font-size: 15px; }
.rmc .rmc-alle-wk { width: 100%; margin-top: 16px; }
.rmc .rmc-erg-fuss { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--rmc-text-2); }

/* ------------------------------------------------------------------
 * Größere Bildschirme
 * ------------------------------------------------------------------ */

@media (min-width: 600px) {
  .rmc .rmc-posten { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
  .rmc .rmc-ziel { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
}

@media (min-width: 768px) {
  .rmc .rmc-h3 { font-size: 26px; }
  .rmc .rmc-tipp { padding: 28px; }
  .rmc .rmc-weg { padding: 24px; }
  .rmc .rmc-tabelle thead th { padding: 11px 16px; }
  .rmc .rmc-tabelle tbody th,
  .rmc .rmc-tabelle tbody td { padding: 12px 16px; }
  .rmc .rmc-hinweise { padding: 28px 32px; }
  .rmc .rmc-feld { padding: 22px 24px; }
  .rmc .rmc-ergebnis { padding: 24px; }
}

@media (min-width: 900px) {
  .rmc .rmc-wege { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .rmc .rmc-weitere-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
}

@media (min-width: 980px) {
  .rmc .rmc-rechner-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; }
  .rmc .rmc-ergebnis { position: sticky; top: 110px; }
}

@media (min-width: 1024px) {
  .rmc .rmc-zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); align-items: start; gap: 24px 48px; }
  .rmc .rmc-laender .rmc-spalte-links { position: sticky; top: 110px; }
  .rmc .rmc-suche-feld { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rmc *,
  .rmc *::before,
  .rmc *::after { transition: none !important; animation: none !important; }
}

@media print {
  .rmc .rmc-rechner-form,
  .rmc .rmc-suche,
  .rmc .rmc-alle-laender,
  .rmc .rmc-erg-aktion,
  .rmc .rmc-alle-wk { display: none !important; }
  .rmc tr[hidden] { display: table-row !important; }
  .rmc .rmc-wahl-modell,
  .rmc .rmc-weg,
  .rmc .rmc-ergebnis { break-inside: avoid; }
}

/* ------------------------------------------------------------------
 * [repack_preise] Spar-Treppe und Preiskarten (Standard)
 * ------------------------------------------------------------------ */

.rmc.rmc-preise { font-size: 17px; }
.rmc .rmc-einstieg { display: grid; gap: 20px; margin: 0 0 40px; }
.rmc .rmc-treppe-box { padding: 22px 16px 18px; border: 1px solid var(--rmc-linie); border-radius: var(--rmc-radius); background: #fff; }
.rmc .rmc-treppe { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); align-items: end; gap: 6px; margin: 18px 0 14px; }
.rmc .rmc-treppe-stufe { display: flex; flex-direction: column; align-items: stretch; text-align: center; }
.rmc .rmc-treppe-wert { order: 1; margin-bottom: 6px; font-family: var(--rmc-stark); font-size: 16px; line-height: 1.2; white-space: nowrap; color: var(--rmc-gruen-text); }
.rmc .rmc-treppe-balken { order: 2; display: block; height: calc(var(--h, 0) * 110px + 8px); border-radius: 10px 10px 4px 4px; background: var(--rmc-gruen); }
.rmc .rmc-treppe-menge { order: 3; margin-top: 8px; font-family: var(--rmc-stark); font-size: 15px; line-height: 1.25; color: var(--rmc-text); }
.rmc .rmc-treppe-stufe--grund .rmc-treppe-balken { height: 8px; background: var(--rmc-linie); }
.rmc .rmc-treppe-stufe--grund .rmc-treppe-wert { font-family: inherit; font-size: 14px; white-space: normal; color: var(--rmc-text-2); }
@media (max-width: 599px) {
  /* schmale Spalten: „Grundpreis“ passt sonst nicht über die erste Stufe */
  .rmc .rmc-treppe-stufe--grund .rmc-treppe-wert { font-size: 12px; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; }
}
.rmc .rmc-treppe-fuss { margin: 0; font-size: 16px; line-height: 1.5; }
.rmc .rmc-karten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 0 0 48px; }
.rmc .rmc-karte { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 16px; border: 1px solid var(--rmc-linie); border-radius: var(--rmc-radius); background: #fff; scroll-margin-top: 120px; }
.rmc .rmc-karte:target { outline: 3px solid var(--rmc-gruen); outline-offset: 3px; }
/* Bestseller (WooCommerce „Empfohlen“): Etikett und Rahmen in der Etikett-Farbe des Themes */
.rmc .rmc-karte--bestseller { border: 2px solid var(--pls-woocommece-featured-label-color, #ecb018); }
.rmc .rmc-karte-marke { margin: 0 0 8px; }
.rmc .rmc-karte-kopf { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 16px; }
.rmc .rmc-karte-bild { display: block; overflow: hidden; aspect-ratio: 500 / 583; border-radius: var(--rmc-radius-m); background: #fff; }
.rmc .rmc-karte-bild img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rmc .rmc-karte-name { margin: 0 0 6px; font-size: 23px; line-height: 1.2; }
.rmc .rmc-karte-name a { color: inherit; text-decoration: none; }
.rmc .rmc-karte-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rmc .rmc-ab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin: 0; color: var(--rmc-text); }
.rmc .rmc-ab-wort { font-size: 17px; }
.rmc .rmc-ab-preis { font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
.rmc .rmc-grund { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 0; font-size: 16px; line-height: 1.3; }
.rmc .rmc-leiter { border: 1px solid var(--rmc-linie); border-collapse: separate; border-spacing: 0; border-radius: var(--rmc-radius-m); overflow: hidden; font-size: 17px; font-variant-numeric: tabular-nums; }
.rmc .rmc-leiter thead th { padding: 10px 12px; background: var(--rmc-beige-2); font-family: var(--rmc-stark); font-size: 14px; font-weight: 400; line-height: 1.3; vertical-align: bottom; color: var(--rmc-text-2); }
.rmc .rmc-leiter tbody th,
.rmc .rmc-leiter tbody td { padding: 12px; border-top: 1px solid var(--rmc-linie); background: #fff; }
.rmc .rmc-leiter tbody th { font-family: var(--rmc-stark); font-weight: 400; white-space: nowrap; color: var(--rmc-text); }
.rmc .rmc-stufe-preis { font-family: var(--rmc-stark); font-size: 18px; white-space: nowrap; color: var(--rmc-text); }
.rmc .rmc-stufe-spar { font-family: var(--rmc-stark); color: var(--rmc-gruen-text); }
.rmc .rmc-stufe-spar small { font-family: var(--rmc-stark); font-size: 15px; color: var(--rmc-gruen-text); }
.rmc .rmc-stufe-spar--grund { font-family: inherit; font-size: 15px; color: var(--rmc-text-2); }
/* günstigste Zeile ruhig hervorgehoben (helle Fläche, kein Grün unter dunkler Schrift) */
.rmc .rmc-leiter tbody tr.rmc-stufe--best > * { background: var(--rmc-beige-2); }
.rmc .rmc-leiter--schlicht .rmc-stufe-preis { text-align: right; }
.rmc .rmc-leiter--schlicht thead th:last-child { text-align: right; }
.rmc .rmc-best-tag { display: block; width: max-content; margin-top: 5px; padding: 2px 10px; border-radius: 999px; background: var(--rmc-gruen-knopf); color: #fff; font-family: var(--rmc-stark); font-size: 13px; line-height: 1.5; }
.rmc .rmc-beispiel-wort { margin-right: 2px; font-family: var(--rmc-stark); color: var(--rmc-gruen-text); }
.rmc .rmc-karte-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: auto; }
.rmc .rmc-karte-aktionen .rmc-knopf,
.rmc .rmc-karte-aktionen .rmc-link { font-size: 17px; }
@media (min-width: 600px) {
  .rmc .rmc-treppe { gap: 10px; }
  .rmc .rmc-treppe-wert { font-size: 19px; }
  .rmc .rmc-treppe-menge { font-size: 16px; }
  .rmc .rmc-treppe-stufe--grund .rmc-treppe-wert { font-size: 15px; }
}
@media (min-width: 700px) {
  .rmc .rmc-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rmc .rmc-karte:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
@media (min-width: 768px) {
  .rmc .rmc-treppe-box { padding: 28px 28px 22px; }
  .rmc .rmc-treppe-balken { height: calc(var(--h, 0) * 150px + 8px); }
  .rmc .rmc-karte { padding: 22px; }
  .rmc .rmc-karte-kopf { grid-template-columns: 104px minmax(0, 1fr); }
  .rmc .rmc-leiter thead th { padding: 10px 14px; }
  .rmc .rmc-leiter tbody th,
  .rmc .rmc-leiter tbody td { padding: 12px 14px; }
  .rmc .rmc-stufe-preis { font-size: 19px; }
}
@media (min-width: 980px) {
  .rmc .rmc-einstieg { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; gap: 24px; }
}
@media (min-width: 1140px) {
  .rmc .rmc-karten { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
  .rmc .rmc-karte,
  .rmc .rmc-karte:last-child:nth-child(odd) { grid-column: span 2; justify-self: stretch; width: auto; }
  .rmc .rmc-karte:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .rmc .rmc-karte:nth-child(3n+2):nth-last-child(1) { grid-column: 4 / span 2; }
  .rmc .rmc-karte:nth-child(3n+1):nth-last-child(1) { grid-column: 3 / span 2; }
}
@media print {
  .rmc .rmc-karte-aktionen { display: none !important; }
  .rmc .rmc-karte,
  .rmc .rmc-treppe-box { break-inside: avoid; }
}

/* ------------------------------------------------------------------
 * [repack_preise ansicht="waehler"] Mengen-Wähler
 * ------------------------------------------------------------------ */

.rmc .rmc-wahl { margin: 0 0 32px; }
.rmc .rmc-wahl-text { max-width: 62ch; margin: 0 0 16px; }

.rmc .rmc-wahl-stufen {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 8px;
  margin: 0 0 18px;
}
.rmc .rmc-wahl-stufe {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 66px;
  margin: 0;
  padding: 10px 6px;
  border: 1.5px solid var(--rmc-linie);
  border-radius: var(--rmc-radius-m);
  background: #fff;
  color: var(--rmc-text);
  font: inherit;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.rmc .rmc-wahl-stufe:hover { border-color: var(--rmc-gruen); background: var(--rmc-beige-2); }
.rmc .rmc-wahl-stufe.is-aktiv { border-color: var(--rmc-gruen-knopf); background: var(--rmc-gruen-knopf); color: #fff; }
.rmc .rmc-wahl-stufe.is-aktiv .rmc-wahl-spar,
.rmc .rmc-wahl-stufe.is-aktiv:first-child .rmc-wahl-spar { color: #fff; }
.rmc .rmc-wahl-menge { font-family: var(--rmc-stark); font-size: 15.5px; white-space: nowrap; }
.rmc .rmc-wahl-spar { font-family: var(--rmc-stark); font-size: 13px; white-space: nowrap; color: var(--rmc-gruen-text); }
.rmc .rmc-wahl-stufe:first-child .rmc-wahl-spar { font-family: inherit; color: var(--rmc-text-2); }

.rmc .rmc-wahl-liste { display: grid; gap: 10px; }
.rmc .rmc-wahl-modell {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  grid-template-areas: "bild info preis" "aktion aktion aktion";
  align-items: center;
  gap: 10px 14px;
  padding: 12px 14px;
  border: 1px solid var(--rmc-linie);
  border-radius: var(--rmc-radius-m);
  background: #fff;
  scroll-margin-top: 120px;
}
.rmc .rmc-wahl-modell:target { outline: 3px solid var(--rmc-gruen); outline-offset: 2px; }
.rmc .rmc-wahl-bild { grid-area: bild; display: block; overflow: hidden; aspect-ratio: 500 / 583; border-radius: 10px; background: var(--rmc-beige); }
.rmc .rmc-wahl-bild img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rmc .rmc-wahl-info { grid-area: info; min-width: 0; }
.rmc .rmc-wahl-name { margin: 0 0 2px; font-size: 17px; line-height: 1.25; }
.rmc .rmc-wahl-name a { color: inherit; text-decoration: none; }
.rmc .rmc-wahl-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rmc .rmc-wahl-grund { margin: 0; font-size: 13.5px; line-height: 1.35; }
.rmc .rmc-wahl-summe { margin: 3px 0 0; color: var(--rmc-gruen-text); font-size: 13.5px; line-height: 1.35; }
.rmc .rmc-wahl-summe strong { color: var(--rmc-gruen-text); }
.rmc .rmc-wahl-preis { grid-area: preis; display: grid; justify-items: end; gap: 1px; text-align: right; }
.rmc .rmc-wahl-betrag { font-family: var(--rmc-stark); font-size: 24px; line-height: 1.1; color: var(--rmc-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rmc .rmc-wahl-einheit { font-size: 13px; line-height: 1.3; }
.rmc .rmc-wahl-statt { font-size: 13px; line-height: 1.3; white-space: nowrap; }
.rmc .rmc-wahl-statt s { color: var(--rmc-text-2); }
.rmc .rmc-wahl-prozent { font-family: var(--rmc-stark); color: var(--rmc-gruen-text); }
.rmc .rmc-wahl-aktion { grid-area: aktion; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; padding-top: 10px; border-top: 1px solid var(--rmc-linie); }
.rmc .rmc-link--klein { min-height: 40px; font-size: 15px; }

.rmc .rmc-matrix { margin-top: 16px; }
.rmc .rmc-matrix > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--rmc-stark);
  color: var(--rmc-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.rmc .rmc-matrix > summary::marker { color: var(--rmc-gruen-text); }
.rmc .rmc-matrix-rahmen { margin-top: 10px; overflow-x: auto; }
.rmc .rmc-matrix .rmc-tabelle th:first-child { white-space: nowrap; }
.rmc .rmc-matrix-best { font-family: var(--rmc-stark); color: var(--rmc-gruen-text) !important; }

@media (min-width: 900px) {
  .rmc .rmc-wahl-modell { grid-template-columns: 64px minmax(0, 1fr) auto auto; grid-template-areas: "bild info preis aktion"; }
  .rmc .rmc-wahl-aktion { justify-content: flex-end; padding-top: 0; border-top: 0; }
}

@media (max-width: 600px) {
  .rmc .rmc-wahl-zusatz { display: none; }
  .rmc .rmc-wahl-stufen { gap: 5px; }
  .rmc .rmc-wahl-stufe { min-height: 58px; padding: 8px 2px; border-radius: 12px; }
  .rmc .rmc-wahl-menge { font-size: 14px; }
  .rmc .rmc-wahl-spar { font-size: 12px; }
  .rmc .rmc-wahl-betrag { font-size: 21px; }
}

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

/* ------------------------------------------------------------------
 * Elementor-Widgets „Repack much“: je Baustein ein eigener Rahmen
 * ------------------------------------------------------------------ */

.rmc.rmc-liefer { font-size: 17px; }
.rmc.rmc-baustein > :last-child { margin-bottom: 0; }
/* Spar-Treppe und „Gut zu wissen“ nebeneinander gleich hoch */
.e-con > .elementor-element.elementor-widget-rmc_spar_treppe,
.e-con > .elementor-element.elementor-widget-rmc_gut_zu_wissen { --flex-grow: 1; flex-grow: 1; }
.elementor-widget-rmc_spar_treppe > .elementor-widget-container,
.elementor-widget-rmc_gut_zu_wissen > .elementor-widget-container,
.rmc.rmc-baustein--hoch,
.rmc.rmc-baustein--hoch > .rmc-treppe-box,
.rmc.rmc-baustein--hoch > .rmc-tipp { height: 100%; }
/* Nur im Elementor-Editor: Baustein ohne Inhalt */
.rmc.rmc-editor-hinweis { padding: 14px 16px; border: 1px dashed var(--rmc-feldrand); border-radius: var(--rmc-radius-m); background: #fff; color: var(--rmc-text-2); font-size: 14px; }
