/* ROTHLER Heizkörper-Konfigurator v0.2 — mobil zuerst. Farben aus css/brand.css (Blau-Skala), Vorlauf-Rot nur in Skizzen. */
.rhk { --k-blue: var(--brand-primary, #116bb0); --k-blue-dark: var(--blue-700, #0e548b); --k-50: var(--blue-50, #f2f8fd); --k-100: var(--blue-100, #e0effa);
       --k-200: var(--blue-200, #bcdcf5); --k-900: var(--blue-900, #072a46); --k-950: var(--blue-950, #04192a);
       --k-text: var(--color-text, #0a1628); --k-muted: var(--color-text-muted, #525252); --k-line: #e3e9f0; --k-bg: #f6f8fb;
       --k-ok: #136a18; --k-ok-bg: #e6f4e6; --k-err: #b3261e; --k-red: #c8102e; --k-radius: 16px; --k-shadow: 0 10px 30px -18px rgba(4,25,42,.45);
       max-width: 560px; margin: 0 auto; padding: 4px 0 130px; color: var(--k-text); font-size: 16px; line-height: 1.4; }
.rhk *, .rhk *::before, .rhk *::after { box-sizing: border-box; }
.rhk button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
.rhk img { max-width: 100%; }
@media (min-width: 992px) { .rhk { max-width: 1100px; display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 32px; align-items: start; padding: 8px 0 60px; } }

/* Doppelten JTL-Seitentitel ausblenden (der Berater hat seinen eigenen Kopf) */
body:has(#rh-konfigurator) #content > .index-heading-wrapper { display: none !important; }

/* Kopf: Foto-Hero mit schwebender Karte (Option B) */
.rhk__hero { margin: 0 12px; }
.rhk__photo { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--k-line); }
.rhk__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; display: block; transition: opacity .3s; }
/* Nie zuschneiden: das Produktbild liegt komplett (contain) über einer weichgezeichneten Kopie als Hintergrund */
.rhk__photo .rhk__bg { object-fit: cover; filter: blur(22px) saturate(1.15); transform: scale(1.15); opacity: .85; }
.rhk__card { position: relative; margin: -44px 10px 0; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 14px 34px -18px rgba(4,25,42,.5); border: 1px solid var(--k-line); }
.rhk__eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-blue); }
.rhk__title { margin: 0 0 6px; font-size: 19px; font-weight: 800; line-height: 1.18; letter-spacing: -.02em; color: var(--k-text); }
.rhk__text { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--k-muted); }
.rhk__text b { color: var(--k-blue); }
.rhk__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.rhk__dock { display: flex; gap: 6px; flex-wrap: wrap; }
.rhk__dock span { width: 36px; height: 36px; border-radius: 9px; background: #fff; border: 1px solid var(--k-line); display: grid; place-items: center; }
.rhk__dock span.empty { border-style: dashed; background: var(--k-bg); }
.rhk__dock img { width: 30px; height: 30px; object-fit: contain; }
.rhk__pricebox { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.rhk__sum { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; color: var(--k-text); }
.rhk__delta { font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--k-ok-bg); color: var(--k-ok); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.rhk__delta.show { opacity: 1; transform: none; }
.rhk__delta.neg { background: #fde8e6; color: var(--k-err); }
/* Klickbarer Schritt-Stepper im Hero */
.rhk__stepper { display: flex; gap: 4px; margin: 12px 0 0; padding: 0; list-style: none; }
.rhk__stepper li { flex: 1; min-width: 0; }
.rhk__stepper button { display: block; width: 100%; height: 26px; padding: 0; border: 0; border-radius: 7px; background: var(--k-line); color: #4f5b68; font-size: 12px; font-weight: 800; cursor: pointer; transition: background .25s, color .25s; }
.rhk__stepper button.is-done { background: var(--k-blue); color: #fff; }
.rhk__stepper button.is-cur { background: #fff; color: var(--k-blue-dark); box-shadow: inset 0 0 0 2px var(--k-blue); }
.rhk__stepper button.is-locked { cursor: default; color: #4f5b68; }
.rhk__stepper button:focus-visible { outline: 3px solid var(--focus-ring, #ffbf47); outline-offset: 1px; }
.rhk__fitchip { display: inline-block; margin-top: 8px; padding: 6px 10px; border-radius: 999px; background: var(--k-blue); color: #fff; font-size: 12.5px; font-weight: 600; }
.rhk__fitchip b { font-size: 14px; font-weight: 800; }
.rhk__fitchip[hidden] { display: none; }
.rhk__fitchip.pulse { animation: rhkPulse .5s ease; }
.rhk__photo { position: relative; padding: 0; width: 100%; cursor: default; display: block; }
.rhk__photo.is-clickable { cursor: zoom-in; }
.rhk__zoom { position: absolute; right: 10px; top: 10px; padding: 5px 9px 5px 26px; border-radius: 999px; background: rgba(4,25,42,.78); color: #fff; font-size: 12px; font-weight: 700; }
.rhk__zoom::before { content: ""; position: absolute; left: 9px; top: 7px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; }
.rhk__zoom::after { content: ""; position: absolute; left: 18px; top: 16px; width: 5px; height: 2px; background: #fff; transform: rotate(45deg); }
.rhk__zoom[hidden] { display: none; }
.rhk__meta { margin: 6px 0 0; font-size: 13px; color: var(--k-muted); font-weight: 600; }
.rhk .rhk__go, .rhk button.rhk__go { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--k-blue); color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(17,107,176,.7); }
.rhk__go::after { content: "→"; font-size: 17px; }
.rhk__go:active { background: var(--k-blue-dark); }
.rhk__sum[hidden] { display: none; }
/* Einstieg mobil kompakt: die ersten Kacheln (Bad / Wohnraum) sollen ohne Scrollen sichtbar sein */
@media (max-width: 991px) {
  .rhk--start .rhk__photo { aspect-ratio: 2 / 1; border-radius: 16px; }
  .rhk--start .rhk__card { margin: -36px 10px 0; padding: 12px 12px 10px; }
  .rhk--start .rhk__eyebrow { margin-bottom: 3px; }
  .rhk--start .rhk__title { font-size: 17px; margin-bottom: 4px; }
  .rhk--start .rhk__text { font-size: 13px; line-height: 1.4; }
  .rhk--start .rhk__row { margin-top: 8px; align-items: center; }
  .rhk--start .rhk__dock { flex: 1; }
  .rhk .rhk--start .rhk__go, .rhk--start .rhk .rhk__go, .rhk--start .rhk__go { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
  .rhk--start .rhk__line { height: 3px; margin-top: 8px; }
  .rhk--start .rhk__meta { margin-top: 4px; font-size: 12.5px; }
  .rhk--start .rhk__steps { padding-top: 10px; }
  .rhk--nobar .rhk__bar { display: none; }
  .rhk--nobar { padding-bottom: 40px; }
  .rhk--start .step.is-active .hint { margin-bottom: 8px; }
}
@media (max-width: 374px) { .rhk--start .rhk__text { display: none; } .rhk--start .rhk__photo { aspect-ratio: 21 / 9; } }
@media (min-width: 992px) { .rhk__hero { grid-column: 1; position: sticky; top: 170px; margin: 0; } .rhk__photo { aspect-ratio: 4 / 3; } .rhk__card { margin: -60px 16px 0; padding: 18px; } .rhk__title { font-size: 22px; } .rhk__sum { font-size: 32px; } }

/* Schritte */
.rhk__steps { padding: 12px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.rhk .step { border-radius: var(--k-radius); background: #fff; border: 1px solid var(--k-line); overflow: hidden; transition: box-shadow .2s, border-color .2s; padding: 0 !important; margin: 0 !important; }
.rhk .step > * { max-width: none; }
.rhk .step.is-active { border-color: transparent; box-shadow: var(--k-shadow); }
.rhk .step.is-locked { opacity: .45; }
.rhk .step__head { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; background: none; border: 0; text-align: left; cursor: pointer; }
.rhk .step.is-active .step__head { padding-bottom: 4px; cursor: default; }
.rhk .step__num { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--k-50); color: var(--k-blue); }
.rhk .step.is-done .step__num { background: var(--k-blue); color: #fff; }
.rhk .step.is-done .step__num::before { content: "✓"; }
.rhk .step.is-done .step__num span { display: none; }
.rhk .step__t { flex: 1; min-width: 0; }
.rhk .step__title { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.rhk .step.is-active .step__title { font-size: 19px; }
.rhk .step__answer { display: none; font-size: 13px; color: var(--k-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhk .step.is-done .step__answer { display: block; }
.rhk .step__edit { display: none; font-size: 12px; font-weight: 700; color: var(--k-blue); }
.rhk .step.is-done .step__edit { display: block; }
.rhk .step__price { display: none; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rhk .step.is-done .step__price { display: block; }
.rhk .step__body { display: none; padding: 4px 14px 14px; margin: 0; }
.rhk .step.is-active .step__body { display: block; animation: rhkRise .55s cubic-bezier(.22,.61,.36,1) both; }
.rhk .step__body.is-leaving { opacity: 0; transform: translateY(-4px); transition: opacity .22s ease, transform .22s ease; }
@keyframes rhkRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rhk .step.is-active .step__body { animation: none; } .rhk .step__body.is-leaving { transition: none; } }
@media (prefers-reduced-motion: reduce) { .rhk * { animation: none !important; transition: none !important; } }
.rhk .hint { margin: 0 0 12px; font-size: 14px; color: var(--k-muted); }
.rhk .info { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--k-50); font-size: 13px; color: var(--k-blue-dark); line-height: 1.45; }
.rhk .info--montage { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.rhk .info--montage b { color: var(--k-text); }
.rhk .info::before { content: "i"; flex: 0 0 18px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--k-blue); color: #fff; font-size: 11px; font-weight: 800; margin-top: 1px; }
.rhk .lab { display: block; margin: 14px 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--k-muted); }
.rhk .lab:first-child { margin-top: 0; }
.rhk .lab--q { display: flex; align-items: center; gap: 8px; margin: 18px 0 10px; font-size: 17px; font-weight: 800; letter-spacing: -.01em; text-transform: none; color: var(--k-text); }
.rhk .lab--q i { flex: 0 0 auto; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 7px; background: var(--k-100); color: var(--k-blue-dark); font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* Kacheln */
.rhk .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rhk .tiles--1 { grid-template-columns: 1fr; }
.rhk .tiles--3 { grid-template-columns: repeat(3, 1fr); }
.rhk .tile { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 14px; border: 1.5px solid var(--k-line); background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; min-height: 44px; }
.rhk .tile:active { transform: scale(.985); }
.rhk .tile.on { border-color: var(--k-blue); background: var(--k-50); }
.rhk .tile.on::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--k-blue); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.rhk .tile.off { opacity: 1; }
.rhk .tile:focus-visible { outline: 3px solid var(--k-blue); outline-offset: 2px; }
.rhk .tile__media { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--k-line); display: grid; place-items: center; }
.rhk .tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; display: block; }
.rhk .tile__media svg { width: 100%; height: 100%; display: block; }
.rhk .tile__media--sk { aspect-ratio: 4 / 3; background: var(--k-50); border: 0; }
.rhk .tile__zoom { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: var(--k-950); color: #fff; font-size: 13px; font-weight: 800; line-height: 1; cursor: zoom-in; box-shadow: 0 6px 16px -6px rgba(4,25,42,.6); }
.rhk .tile__zoom i { position: relative; width: 14px; height: 14px; }
.rhk .tile__zoom i::before { content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; }
.rhk .tile__zoom i::after { content: ""; position: absolute; left: 9px; top: 10px; width: 6px; height: 2px; background: #fff; transform: rotate(45deg); }
/* Farbwahl: die wichtigste Seite – große Bilder, ein Heizkörper pro Zeile auf dem Handy */
.rhk .tiles--farbe { grid-template-columns: 1fr; gap: 12px; }
.rhk .tiles--farbe .tile { padding: 10px; }
.rhk .tiles--farbe .tile__media { aspect-ratio: 1; }
.rhk .tiles--farbe .tile__zoom { left: auto; right: 10px; bottom: 10px; }
.rhk .tiles--farbe .tile__name { font-size: 17px; }
.rhk .tiles--farbe .tile.on::after { width: 28px; height: 28px; top: 16px; right: 16px; font-size: 14px; }
@media (min-width: 560px) { .rhk .tiles--farbe { grid-template-columns: repeat(3, 1fr); } .rhk .tiles--farbe .tile__media { aspect-ratio: 1; } .rhk .tiles--farbe .tile__zoom { left: 8px; right: auto; bottom: 8px; } }
.rhk .tile__price small { font-size: 11.5px; font-weight: 700; color: #4f5b68; }
.rhk .tile__name { font-size: 14px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.rhk .tile__sub { font-size: 13px; color: var(--k-muted); line-height: 1.35; }
.rhk .tile__sub b { color: var(--k-text); }
.rhk .tile__price { margin-top: 2px; font-size: 14px; font-weight: 800; color: var(--k-blue); font-variant-numeric: tabular-nums; }
.rhk .tile__price small { font-weight: 600; color: var(--k-muted); }
.rhk .badge { display: inline-flex; align-self: flex-start; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--k-ok-bg); color: var(--k-ok); line-height: 1; }
.rhk .badge--i { background: var(--k-100); color: var(--k-blue-dark); }
.rhk .badge--w { background: #fff3e0; color: #8a4b00; }
.rhk .badge--sale { background: #fdecea; color: #b3261e; }
.rhk .badge--no { background: #fdecea; color: #b3261e; }
.rhk .size .badge { font-size: 10.5px; min-height: 18px; padding: 0 7px; }
.rhk .sum__row .lz { display: block; color: var(--k-ok); font-weight: 700; font-size: 11.5px; margin-top: 2px; }
.rhk .tile--row { flex-direction: row; align-items: center; }
.rhk .tile--row .tile__media { flex: 0 0 96px; width: 96px; aspect-ratio: 4 / 3; }
.rhk .tile__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rhk .tile--row .tile__price { margin-top: 2px; }
.rhk .dotsrow { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.rhk .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--k-line), inset -3px -4px 6px rgba(0,0,0,.18), inset 3px 4px 6px rgba(255,255,255,.55); }
.rhk .dot--big { width: 30px; height: 30px; box-shadow: 0 0 0 1px var(--k-line), inset -5px -6px 9px rgba(0,0,0,.22), inset 5px 6px 9px rgba(255,255,255,.6); }
.rhk .dotsrow small { font-size: 11px; color: var(--k-muted); margin-left: 2px; }
.rhk .tile__vor { display: flex; flex-direction: column; gap: 2px; margin-top: 2px; font-size: 12px; color: var(--k-muted); }
.rhk .tile__vor span { display: flex; gap: 6px; line-height: 1.35; }
.rhk .tile__vor span::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--k-blue); margin-top: 6px; }
.rhk .tile__why { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: #b3261e; line-height: 1.3; }

/* Chips / Stepper / Watt */
.rhk .chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 10px; }
.rhk .chips--2 { grid-template-columns: 1fr 1fr; }
.rhk .chip { min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--k-line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.rhk .chip.on { background: var(--k-blue); border-color: var(--k-blue); color: #fff; }
.rhk .m2 { text-align: center; margin: 4px 0 6px; }
.rhk .m2 output { display: block; font-size: 40px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; color: var(--k-text); }
.rhk .m2 small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--k-muted); }
.rhk .range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; }
.rhk .range:focus { outline: none; }
.rhk .range::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--k-blue) var(--fill, 0%), var(--k-line) var(--fill, 0%)); }
.rhk .range::-moz-range-track { height: 8px; border-radius: 4px; background: var(--k-line); }
.rhk .range::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--k-blue); }
.rhk .range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: #fff; border: 3px solid var(--k-blue); box-shadow: 0 4px 12px -4px rgba(4,25,42,.5); }
.rhk .range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--k-blue); box-shadow: 0 4px 12px -4px rgba(4,25,42,.5); }
.rhk .range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(17,107,176,.25); }
.rhk .scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--k-muted); margin: -4px 4px 6px; }
.rhk .watt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--k-50); border: 1px solid var(--k-line); margin-top: 4px; }
.rhk .watt strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--k-blue); }
.rhk .watt span { font-size: 12.5px; color: var(--k-muted); text-align: right; line-height: 1.35; }

/* Größen-Reihe */
.rhk .sizes { display: grid; grid-template-columns: 1fr; gap: 8px; }
.rhk .size__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.rhk .size__pic { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--k-line); cursor: zoom-in; display: grid; place-items: center; }
.rhk .size__pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rhk .size.on .size__pic { border-color: rgba(255,255,255,.7); }
.rhk .size__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.rhk .size__lz { font-size: 11.5px; font-weight: 700; color: #4f5b68; white-space: nowrap; }
.rhk .size__lz::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; vertical-align: 1px; background: currentColor; }
.rhk .size__lz.is-ok { color: var(--k-ok); }
.rhk .size__lz.is-no { color: #8a4b00; }
.rhk .size.on .size__lz { color: #fff !important; }
.rhk .size { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--k-line); background: #fff; text-align: left; cursor: pointer; min-height: 44px; }
.rhk .size.on { border-color: var(--k-blue); background: var(--k-blue); color: #fff; }
.rhk .size b { font-size: 15px; }
.rhk .size small { font-size: 11.5px; color: var(--k-muted); line-height: 1.3; }
.rhk .size.on, .rhk .size.on b, .rhk .size.on em, .rhk .size.on .size__lz { color: #fff !important; }
.rhk .size.on small { color: rgba(255,255,255,.92) !important; }
.rhk .size em { font-style: normal; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rhk .size .badge { margin-top: 0; white-space: normal; text-align: right; line-height: 1.2; }
.rhk .size.on .badge { background: rgba(255,255,255,.22); color: #fff; }

/* Formular (Montage) */
.rhk .form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 8px; }
.rhk .form input { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--k-line); font-size: 16px; background: #fff; color: var(--k-text); }
.rhk .form input::placeholder { color: #5b6672; }
.rhk .form input:focus { outline: none; border-color: var(--k-blue); box-shadow: 0 0 0 3px rgba(17,107,176,.18); }
.rhk .form .form__wide { grid-column: 1 / -1; }
.rhk .field { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
.rhk .field label { font-size: 12px; font-weight: 700; color: var(--k-muted); }
.rhk .field input { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--k-line); font-size: 16px; background: #fff; color: var(--k-text); }
.rhk .field input:focus { outline: none; border-color: var(--k-blue); box-shadow: 0 0 0 3px rgba(17,107,176,.18); }

/* Zusammenfassung */
.rhk .sum { border: 1px solid var(--k-line); border-radius: 14px; overflow: hidden; }
.rhk .sum__row { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-top: 1px solid var(--k-line); }
.rhk .sum__row:first-child { border-top: 0; }
.rhk .sum__row img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid var(--k-line); }
.rhk .sum__row b { display: block; font-size: 14px; }
.rhk .sum__row small { color: var(--k-muted); font-size: 12px; }
.rhk .sum__row em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.rhk .sum__total { display: flex; justify-content: space-between; padding: 12px; background: var(--k-50); font-weight: 800; }
.rhk .sum__total small { font-weight: 600; font-size: 12px; color: var(--k-muted); }
.rhk .cta { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 12px; border: 0; border-radius: 14px; background: var(--k-blue); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.rhk .cta[disabled] { opacity: .6; cursor: wait; }
.rhk .note { margin: 8px 0 0; font-size: 12px; color: var(--k-muted); }
.rhk .note--err { color: var(--k-err); font-weight: 700; }

/* Leiste unten */
.rhk__bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; align-items: center; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--k-line); box-shadow: 0 -10px 28px -14px rgba(4,25,42,.5); }
.rhk__bar-total { flex: 1; }
.rhk__bar-total small { display: block; font-size: 11px; color: var(--k-muted); }
.rhk__bar-total b { font-size: 18px; font-variant-numeric: tabular-nums; }
.rhk__bar-total .rhk__fit { display: flex; align-items: baseline; gap: 5px; font-size: 24px; color: var(--k-blue-dark); line-height: 1; }
.rhk__bar-total .rhk__fit span { font-size: 13px; font-weight: 700; color: #4f5b68; }
.rhk__bar-total .rhk__fit + small { margin-top: 2px; }
.rhk__bar-total.pulse { animation: rhkPulse .5s ease; }
@keyframes rhkPulse { 30% { transform: scale(1.06); } }
.rhk__btn { min-height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 800; font-size: 15px; cursor: pointer; border: 1.5px solid var(--k-line); background: #fff; color: var(--k-text); }
.rhk__btn--p { background: var(--k-blue); border-color: var(--k-blue); color: #fff; }
.rhk__btn[disabled] { opacity: 1; cursor: default; background: #eef2f6; border-color: #eef2f6; color: #4f5b68; }
.rhk__btn--p:not([disabled]) { background: var(--k-blue); color: #fff; box-shadow: 0 6px 16px -8px rgba(17,107,176,.7); }
.rhk__btn--p:not([disabled]):active { background: var(--k-blue-dark); }
@media (min-width: 992px) { .rhk__bar { position: static; grid-column: 2; box-shadow: none; border: 0; background: none; padding: 12px 0 0; justify-content: flex-end; } .rhk__bar-total { display: none; } .rhk__steps { padding: 0; } .rhk .tiles { grid-template-columns: repeat(3, 1fr); gap: 12px; } .rhk .tiles--1 { grid-template-columns: 1fr 1fr; } .rhk .sizes { grid-template-columns: 1fr 1fr; } }
.rhk__toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 10px); background: var(--k-900); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; z-index: 1040; max-width: 90vw; text-align: center; }
.rhk__toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Menge + Speichern (Zusammenfassung) */
.rhk .qtyrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; }
.rhk .qtylab { font-size: 14px; font-weight: 700; color: var(--k-text); }
.rhk .qty { display: grid; grid-template-columns: 44px 56px 44px; align-items: center; border: 1.5px solid var(--k-line); border-radius: 12px; overflow: hidden; }
.rhk .qty button { height: 44px; border: 0; background: #fff; font-size: 22px; font-weight: 800; color: var(--k-blue); cursor: pointer; }
.rhk .qty button[disabled] { color: #b7c0cb; cursor: default; }
.rhk .qty output { text-align: center; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--k-text); }
.rhk .savebox { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--k-50); border: 1px solid var(--k-line); }
.rhk .btn-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--k-blue); background: #fff; color: var(--k-blue-dark) !important; font-size: 14px; font-weight: 800; cursor: pointer; text-decoration: none !important; }
.rhk .btn-ghost[disabled] { opacity: .6; }
.rhk .savecode { margin: 0 0 4px; font-size: 15px; color: var(--k-text); }
.rhk .savecode b { font-size: 20px; letter-spacing: .08em; color: var(--k-blue-dark); font-variant-numeric: tabular-nums; }
.rhk .savebox .note a { color: var(--k-blue-dark); word-break: break-all; }
.rhk .saveacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* Lightbox */
.rhk-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(4,25,42,.985); display: grid; grid-template-rows: 1fr auto; }
.rhk-lb[hidden] { display: none; }
body.rhk-lb-open { overflow: hidden; }
.rhk-lb__stage { display: grid; place-items: center; padding: 56px 12px 8px; min-height: 0; }
.rhk-lb__stage img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; background: #fff; transition: opacity .25s; }
.rhk-lb__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--k-950, #04192a); font-size: 28px; line-height: 1; cursor: pointer; }
.rhk-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 56px; border: 0; border-radius: 10px; background: rgba(255,255,255,.92); color: var(--k-950, #04192a); font-size: 32px; line-height: 1; cursor: pointer; }
.rhk-lb__nav--prev { left: 8px; } .rhk-lb__nav--next { right: 8px; }
.rhk-lb__nav[hidden] { display: none; }
.rhk-lb__foot { padding: 6px 12px calc(12px + env(safe-area-inset-bottom)); color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.rhk-lb__title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rhk-lb__count { font-size: 13px; font-weight: 700; color: #cfe3f5; font-variant-numeric: tabular-nums; }
.rhk-lb--cap .rhk-lb__title { white-space: normal; display: flex; flex-direction: column; gap: 3px; font-weight: 500; line-height: 1.35; }
.rhk-lb--cap .rhk-lb__title b { font-weight: 700; }
.rhk-lb--cap .rhk-lb__title span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: rgba(255,255,255,.88); font-size: 12.5px; }
.rhk-lb--cap .rhk-lb__foot { align-items: start; }
.rhk-lb__thumbs { grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.rhk-lb__thumbs button { flex: 0 0 56px; width: 56px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; cursor: pointer; opacity: .75; }
.rhk-lb__thumbs button.on { border-color: #fff; opacity: 1; }
.rhk-lb__thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.rhk-lb button:focus-visible { outline: 3px solid var(--focus-ring, #ffbf47); outline-offset: 2px; }

/* Kundenbewertungen (Enes 09.09.: edel, minimal, „Shopify-App-Look" à la Loox/Judge.me): weiße Karte, ruhiges Foto-Raster
   ohne dunkle Overlays, Sterne/Zitat/Name unter dem Foto, Score 4,8 links, „Weitere Fotos" statt endloser Wand.
   Portraitfotos (3:4) fuellen die Kachel ohne Beschnitt, Querformate werden eingepasst. */
.rhk .stars { display: inline-flex; gap: 2px; line-height: 0; }
.rhk .stars i { width: 14px; height: 14px; display: block; background: #f5a623; clip-path: polygon(50% 2%, 63% 36%, 98% 38%, 70% 60%, 80% 96%, 50% 76%, 20% 96%, 30% 60%, 2% 38%, 37% 36%); }
.rhk .stars i.off { background: #d9dee5; }
.rhk .stars--sm i { width: 11px; height: 11px; }
.rhk .proof { display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--k-line); }
.rhk .proof__thumbs { display: flex; flex: 0 0 auto; }
.rhk .proof__thumbs button { width: 34px; height: 34px; padding: 0; margin-left: -10px; border: 2px solid #fff; border-radius: 50%; overflow: hidden; background: var(--k-bg); cursor: zoom-in; box-shadow: 0 1px 4px rgba(4,25,42,.18); }
.rhk .proof__thumbs button:first-child { margin-left: 0; }
.rhk .proof__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rhk .proof__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; font-size: 12.5px; color: var(--k-muted); line-height: 1.25; }
.rhk .proof__text b { color: var(--k-text); font-size: 15px; display: flex; align-items: center; gap: 6px; line-height: 1; }
.rhk .proof__go { flex: 0 0 auto; padding: 7px 12px; border: 1px solid var(--k-line); border-radius: 999px; background: #fff; color: var(--k-blue); font-size: 13px; font-weight: 700; cursor: pointer; font-family: var(--font-display, inherit); }
.rhk .proof__go:hover { border-color: var(--k-blue); }
.rhk__reviews { padding: 10px 12px 0; }
.rhk__reviews .rev { margin: 0; padding: 18px 14px 16px; border: 1px solid var(--k-line); border-radius: var(--k-radius); background: #fff; }
.rhk .rev__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.rhk .rev__score { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 0 0 auto; min-width: 92px; padding: 10px 12px; border-radius: 12px; background: var(--k-bg); border: 1px solid var(--k-line); }
.rhk .rev__score b { font-size: 30px; line-height: 1; letter-spacing: -.03em; color: var(--k-text); font-variant-numeric: tabular-nums; }
.rhk .rev__score span { font-size: 11.5px; color: var(--k-muted); white-space: nowrap; }
.rhk .rev__headtext { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rhk .rev__title { margin: 0; font-size: 17px !important; font-weight: 800 !important; color: var(--k-text); line-height: 1.2; letter-spacing: -.01em; }
.rhk .rev__sub { margin: 0; font-size: 13px !important; color: var(--k-muted); line-height: 1.35 !important; }
.rhk .rev__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.rhk .rv { display: flex; flex-direction: column; min-width: 0; }
.rhk .rv__photo { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; margin: 0; border: 1px solid var(--k-line); border-radius: 10px; overflow: hidden; background: #eef1f5; cursor: zoom-in; }
.rhk .rv__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.rhk .rv__photo--land img { object-fit: contain; background: #eef1f5; }
.rhk .rv__photo:hover img { transform: scale(1.03); }
.rhk .rv__photo:focus-visible { outline: 3px solid var(--focus-ring, #ffbf47); outline-offset: 2px; }
.rhk .rv__body { display: flex; flex-direction: column; gap: 5px; padding: 8px 2px 0; }
.rhk .rv__q { margin: 0; font-size: 13px !important; line-height: 1.4 !important; color: var(--k-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rhk .rv__who { margin: 0; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font-size: 12.5px !important; line-height: 1.2 !important; color: var(--k-muted); }
.rhk .rv__who b { color: var(--k-text); font-weight: 700; }
.rhk .rv__ok { display: inline-flex; align-items: center; }
.rhk .rv__ok i { width: 14px; height: 14px; display: block; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill='%23136a18'/%3E%3Cpath d='M4.5 8.3l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.rhk .rev__more { display: flex; justify-content: center; margin-top: 16px; }
.rhk .rev__more .btn-ghost { min-width: 220px; }
.rhk .rev__more small { font-size: 12px; font-weight: 600; opacity: .7; margin-left: 6px; }
@media (min-width: 560px) { .rhk .rev__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .rhk__reviews { grid-column: 2; padding: 12px 0 0; }
  .rhk__reviews .rev { padding: 22px 20px 20px; }
  .rhk .rev__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 14px; }
  .rhk .rev__title { font-size: 20px !important; }
  .rhk .rev__head { gap: 18px; margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .rhk .rv__photo img { transition: none; } }

/* Schriftfamilien aus dem Shop-Template (rothler 09.09.2026: Manrope + IBM Plex Sans): Display fuer Titel, Preise, Buttons; Body fuer alles andere */
.rhk { font-family: var(--font-body, inherit); }
.rhk .step__title, .rhk .step__num, .rhk .rhk__title, .rhk .rhk__eyebrow, .rhk .lab--q, .rhk .lab, .rhk .rhk__sum, .rhk .rhk__bar-total b, .rhk .cta, .rhk .rhk__btn, .rhk .rhk__go, .rhk .btn-ghost, .rhk .tile__price, .rhk .size em, .rhk .sum__total, .rhk .rev__score b, .rhk .rev__title, .rhk .proof__go, .rhk .m2 output, .rhk .watt strong, .rhk .rhk__stepper button, .rhk .rhk__fitchip, .rhk .badge, .rhk .proof__text b { font-family: var(--font-display, inherit) !important; }
.rhk .tile__name, .rhk .size b, .rhk .sum__row b { font-family: var(--font-body, inherit) !important; font-weight: 700; }
.rhk__sum, .rhk .tile__price, .rhk .size em, .rhk .sum__row em, .rhk .sum__total b { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
