/* MoppClean – Preisrechner auf /pages/preise (Präfix pr-, Gestaltung wie apple.css) */
.pr-section { background: var(--ap-soft, #f5f5f7); }
.pr-wrap { max-width: 1100px !important; }
.pr-sub { color: var(--ap-muted); margin: 0 0 24px; }
.pr-noscript { background: #fff; border-radius: 14px; padding: 14px 16px; }
.pr-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pr-card { background: #fff; border-radius: 22px; padding: 22px; }
.pr-step { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.pr-step:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.pr-step[hidden], .pr-counters[hidden], .pr-chk[hidden] { display: none; }
.pr-lbl { font-weight: 600; font-size: 1rem; margin-bottom: 10px; display: flex; justify-content: space-between; gap: 8px; color: var(--ap-ink); }
.pr-lbl label { font-weight: 600; }
.pr-val { color: var(--ap-green-ink); font-variant-numeric: tabular-nums; }
.pr-req { color: #b3261e; }
.pr-hint { font-size: .85rem; color: var(--ap-muted); margin: -4px 0 10px; }
.pr-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pr-opt { border: 1px solid var(--ap-line, #d2d2d7); border-radius: 14px; padding: 11px 13px; background: #fff; color: var(--ap-ink); text-align: left; cursor: pointer; font: inherit; min-height: 48px; }
.pr-opt b { display: block; font-size: .95rem; font-weight: 600; }
.pr-opt span { font-size: .8rem; color: var(--ap-muted); }
.pr-opt[aria-pressed="true"] { border-color: var(--ap-green-ink); background: #eaf6ee; box-shadow: 0 0 0 1px var(--ap-green-ink) inset; }
.pr-opt:focus-visible, .pr-pill:focus-visible, .pr-sbtn:focus-visible, .pr-btn:focus-visible, .pr-section input:focus-visible { outline: 3px solid var(--ap-green-ink); outline-offset: 2px; }
.pr-section input[type="range"] { width: 100%; accent-color: var(--ap-green-ink); }
.pr-counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pr-counters[data-gap="top"] { margin-top: 12px; }
.pr-counters[data-gap="bottom"] { margin-bottom: 10px; }
.pr-ctr { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--ap-line, #d2d2d7); border-radius: 14px; padding: 6px 8px 6px 12px; }
.pr-ctr > span { font-size: .92rem; }
.pr-s { display: flex; align-items: center; gap: 6px; }
.pr-sbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ap-line, #d2d2d7); background: #fff; color: var(--ap-ink); font-size: 1.15rem; cursor: pointer; }
.pr-ctr output { min-width: 2ch; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pr-chks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
.pr-chk { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; cursor: pointer; }
.pr-chk input { width: 20px; height: 20px; accent-color: var(--ap-green-ink); margin-top: 2px; flex: none; }
.pr-chk b { font-weight: 600; }
.pr-chk small { display: block; color: var(--ap-muted); }
.pr-chk[data-gap="top8"] { margin-top: 8px; }
.pr-off { opacity: .45; }
.pr-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pr-fields label { font-size: .88rem; color: var(--ap-muted); display: block; }
.pr-fields input { width: 100%; margin-top: 4px; padding: 12px; border: 1px solid var(--ap-line, #d2d2d7); border-radius: 12px; background: #fff; color: var(--ap-ink); font: inherit; font-size: 1rem; box-sizing: border-box; }
.pr-fields input.pr-bad { border-color: #b3261e; }
.pr-q { margin-bottom: 14px; }
.pr-q:last-child { margin-bottom: 0; }
.pr-q[hidden] { display: none; }
.pr-qt { font-size: .92rem; margin-bottom: 6px; }
.pr-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-pill { border: 1px solid var(--ap-line, #d2d2d7); border-radius: 999px; padding: 8px 13px; background: #fff; color: var(--ap-ink); font: inherit; font-size: .88rem; cursor: pointer; min-height: 40px; }
.pr-pill[aria-pressed="true"] { border-color: var(--ap-green-ink); background: #eaf6ee; font-weight: 600; }
[data-gap="level"] { margin-top: 12px; font-size: .9rem; }
.pr-level { display: inline-block; border-radius: 8px; padding: 2px 8px; font-weight: 600; font-size: .88rem; background: #eaf6ee; }
.pr-res { position: sticky; top: 76px; }
.pr-ca { color: var(--ap-muted); font-size: .92rem; }
.pr-must { border-radius: 14px; padding: 12px 14px; background: #eaf6ee; font-size: .9rem; margin: 10px 0; }
.pr-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; text-align: center; padding: 12px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600; margin-top: 8px; box-sizing: border-box; }
.pr-btn.pr-p { background: var(--ap-ink); color: #fff; }
.pr-btn.pr-p:hover { background: #000; }
.pr-sendinfo { font-size: 1.05rem; font-weight: 600; color: var(--ap-ink); margin: 4px 0 12px; line-height: 1.35; }
.pr-mail { margin: 0 0 4px; }
.pr-mail label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.pr-mailrow { display: flex; gap: 8px; }
.pr-mailrow input { flex: 1; width: 0; min-width: 0; padding: 12px; border: 1px solid var(--ap-line, #d2d2d7); border-radius: 999px; font: inherit; font-size: 1rem; background: #fff; color: var(--ap-ink); }
.pr-mailrow .pr-btn { width: auto; margin-top: 0; padding: 0 20px; }
.pr-mail small { display: block; margin-top: 6px; font-size: .8rem; color: var(--ap-muted); }
.pr-mailmsg { font-size: .88rem; margin-top: 6px; }
.pr-mailmsg.ok { color: var(--ap-green-ink, #1a7f37); }
.pr-mailmsg.err { color: #b3261e; }
.pr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pr-contact { font-size: .82rem; color: var(--ap-muted); text-align: center; margin-top: 10px; }
@media (max-width: 780px) {
  .pr-grid { grid-template-columns: 1fr; }
  .pr-res { position: static; }
}
@media (max-width: 420px) {
  .pr-counters, .pr-chks, .pr-fields { grid-template-columns: 1fr; }
  .pr-card { padding: 16px; }
}

/* Schritte automatisch nummerieren (ausgeblendete Schritte zählen nicht mit) */
.pr-card { counter-reset: prstep; }
.pr-step:not([hidden]) { counter-increment: prstep; }
.pr-step > .pr-lbl::before { content: counter(prstep) ". "; }
