/* Miet-Konfigurator /screen-mieten/ – Aufbau wie auf Renés mybow.ch (26.11.2026), Aussehen von uns */
.miete{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);grid-template-rows:auto 1fr;gap:24px 28px;align-items:start}
.miete-fortschritt{grid-column:1;grid-row:1;margin:0;scroll-margin-top:110px}
.miete-links{grid-column:1;grid-row:2;min-width:0;background:var(--nacht-2);border:1px solid var(--linie);border-radius:var(--r2);padding:clamp(20px,3vw,36px)}
.miete-ergebnis{grid-column:2;grid-row:1 / 3;align-self:start}
@media (max-width:900px){
  .miete{grid-template-columns:minmax(0,1fr);grid-template-rows:auto}
  .miete-fortschritt,.miete-links,.miete-ergebnis{grid-column:1;grid-row:auto}
  .miete-ergebnis{position:static}
}

/* Fortschritt */
.miete-fortschritt li{color:var(--leise);font-weight:500}
.miete-fortschritt li .mono{border-color:var(--linie);color:var(--leise)}
.miete-fortschritt li[aria-current=step]{color:var(--text);font-weight:600}
.miete-fortschritt li[aria-current=step] .mono{border-color:var(--rot);background:var(--rot);color:#fff}
.miete-fortschritt li.erledigt{color:var(--text)}
.miete-fortschritt li.erledigt .mono{border-color:var(--rot);color:var(--rot-hell)}
@media (max-width:560px){.miete-fortschritt{gap:8px 14px}.miete-fortschritt li{font-size:14px;gap:7px}.miete-fortschritt .mono{width:26px;height:26px;font-size:12px}}

.miete-teil{display:grid;gap:26px}
.miete-teil[hidden]{display:none}
.miete-teil>.label{margin-bottom:-14px}
.miete-titel{font-size:clamp(24px,3vw,30px);line-height:1.2;margin:0 0 -14px}
.miete-titel em{font-style:normal;color:var(--rot-hell)}
.miete-teil .frage>p{margin:-4px 0 0}

/* Ausgewählter Screen */
.miete-vorschau{display:flex;gap:18px;align-items:center;padding:14px;border:1px solid var(--linie);border-radius:var(--r1);background:var(--nacht)}
.miete-vorschau img{width:96px;height:96px;object-fit:contain;flex:none}
.miete-vorschau div{display:grid;gap:4px;min-width:0}
.miete-vorschau .label{font-size:12px;color:var(--rot-hell)}
.miete-vorschau b{font:700 22px var(--titel)}
.miete-vorschau small{font-size:14px;color:var(--leise)}

/* Modelle mit Bild */
.miete-modelle{grid-template-columns:repeat(2,minmax(0,1fr))}
.miete-modelle button{grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;min-height:78px}
.miete-modelle img{width:56px;height:56px;object-fit:contain}
.miete-modelle span{display:grid;gap:2px;min-width:0}
.miete-modelle b{font-weight:600}

.miete-dauer{grid-template-columns:repeat(5,minmax(0,1fr))}
.miete-dauer button{text-align:center;justify-items:center}
@media (max-width:640px){.miete-dauer{grid-template-columns:repeat(3,minmax(0,1fr))}}
.miete-zwei{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:520px){.miete-zwei{grid-template-columns:minmax(0,1fr)}}

.miete-anzahl .frage-titel{margin-bottom:6px}
.miete-anzahl select{max-width:320px}
.miete-termin input{max-width:320px}
.miete-termin p{margin:4px 0 0}

.miete-weiter{display:flex;justify-content:flex-end}
.miete-nav{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.miete-nav-oben{margin-top:-8px}
.miete-zurueck{background:none;border:0;padding:8px 0;font:inherit;cursor:pointer}
@media (max-width:560px){.miete-weiter .knopf,.miete-nav .knopf{width:100%;justify-content:center}}
.miete-teil .formular{margin-top:-6px}

/* Ergebnis */
.miete-ergebnis img{width:100%;max-width:220px;height:auto;aspect-ratio:1;object-fit:contain;justify-self:center}
.miete-ergebnis-titel{font:600 20px/1.3 var(--titel)}
.miete-ergebnis .total{align-items:baseline;gap:12px;flex-wrap:wrap}
.miete-ergebnis .total .klein{text-transform:uppercase;letter-spacing:.06em}
.miete-brutto dt,.miete-brutto dd{color:var(--text);font-weight:600}
.miete-ergebnis p{margin:0}
.miete-wichtig{border-left:1px solid var(--rot);padding:4px 0 4px 14px;color:var(--leise);line-height:1.6}
.miete-wichtig b{color:var(--text)}
@media (max-width:900px){.miete-ergebnis img{max-width:160px}}

html[data-modus="hell"] .miete-links{box-shadow:0 1px 2px rgba(22,24,29,.04),0 10px 28px -14px rgba(22,24,29,.16)}
html[data-modus="hell"] .miete-vorschau{background:#FBF8F4}
html[data-modus="hell"] .miete-teil .formular{border-color:var(--linie)}

/* Handy: Fortschritt in drei gleichen Spalten, Modelle mit Bild oben */
@media (max-width:560px){
  .miete-fortschritt{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .miete-fortschritt li{flex-direction:column;align-items:flex-start;font-size:13px;line-height:1.3}
}
@media (max-width:480px){
  .miete-modelle button{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;padding:12px}
  .miete-modelle img{width:48px;height:48px}
  .miete-modelle b{font-size:14px;overflow-wrap:anywhere}
}
