/* Buchungsportal — Optik angeglichen an kameraverleih.online (Onlinerechner/Formular):
   Navy #4f6279 als Primärfarbe, sanft abgerundete Kanten (5px), graue Eingabefelder (#f2f2f2, ohne Rahmen),
   ruhige weiße Fläche, dunkle Preisbox #202b40, Amber-Hinweise mit linkem Balken.
   Grün nur als Status-Akzent (gewählt/eingelöst/Miettage). */
/* Portal lädt seine eigene Schrift (normales Roboto, NICHT Condensed), damit es unabhängig von
   der Website-Vorlage ist und nicht die schmale Condensed-Variante der Seite erbt (@import MUSS vor allen Regeln stehen). */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/* overflow-x: clip — die Seiten-Gleitanimation (transform) erzeugt sonst kurz horizontalen
   Überlauf (Scrollleiste blitzt auf). clip statt hidden: erzeugt keinen Scrollcontainer;
   fixe Kacheln/Popups bleiben unberührt. */
[data-mh-portal] { display: block; width: 100%; box-sizing: border-box; overflow-x: clip;
  padding: 10px 10px 0;   /* eigenes 10px-Innenpadding: das Portal wird randlos eingebettet */
  overflow-anchor: none; }   /* Browser-Scroll-Anchoring AUS: sonst ankert der Browser beim
  Re-Render an ersetzten DOM-Ankern und die Seite springt — das Portal steuert Scrolls selbst */
/* … und AM SCROLL-CONTAINER selbst (auf der Live-Seite <html>, nicht das Portal): sonst ankert
   der Browser beim Kachel-Auf/Zu an Joomla-Inhalt UM das Portal herum und scrollt gegen die
   eigene sanftScrollen-Kompensation. (scrollbar-gutter:stable bewusst NICHT: es ließe die
   randlose Fußleiste/Weißgrund 15px vor dem rechten Rand enden.) */
html { overflow-anchor: none; }
/* SCHMALE Formular-Spalte wie das heutige Buchungsportal — kein Vollbreite-Dashboard */
.mhp { font-family: 'Roboto', Arial, sans-serif; color: #212121; line-height: 1.5; }
/* KEINE eigene Breitenbegrenzung — die Balbooa-Gridbox bestimmt die Breite. */
.mhp * { box-sizing: border-box; }

/* Kopf: zwei Auswahllisten (Kategorie/Hersteller bzw. Art) + Suche in EINER Zeile */
.mhp-kopf { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 20.8px;
  padding-bottom: 16px; border-bottom: 1px solid #e8ebef; }
.mhp-filter:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(79, 98, 121, .45); }
/* Theme-Margins neutralisieren: Joomla gibt <select> z. B. margin-bottom:10px mit — das
   verschiebt sonst das Suchfeld in der Filterzeile um 5px nach unten */
.mhp select.mhp-filter { margin: 0 !important; }
.mhp-suche { border: none !important; background: #eaf1f8 !important; color: #212121 !important; border-radius: 5px !important;
  padding: 0 12.8px !important; margin: 0 !important; vertical-align: middle !important;
  height: 38px !important; min-height: 38px !important; max-height: 38px !important; line-height: 38px !important;
  box-sizing: border-box !important; -webkit-appearance: none !important; appearance: none !important;
  font: inherit; font-size: 13px; flex: 1 1 160px; min-width: 0; align-self: center; }
.mhp-suche::placeholder { color: #6b7280 !important; -webkit-text-fill-color: #6b7280 !important; opacity: 1; font-size: 13px; }
.mhp-suche:focus { outline: none; background: #eaf1f8 !important; box-shadow: inset 0 0 0 2px #4f6279; }

/* Equipment als KOMPAKTE Checkbox-LISTE — zweispaltig auf Desktop, einspaltig mobil */
.mhp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28.8px; }
@media (max-width: 760px) { .mhp-grid { grid-template-columns: 1fr; } }
.mhp-row { display: flex; align-items: center; gap: 9.6px; padding: 4.8px 8px;   /* enger zusammen */
  font-size: 13px; cursor: pointer; border-radius: 5px; }
.mhp-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mhp-row-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.mhp-row:hover { background: #f7f9fb; }
.mhp-row--on { background: #d1fae5; }
.mhp-row--lock { opacity: .55; cursor: default; }
.mhp-row-chk { width: 20px; height: 20px; accent-color: #202b40; flex-shrink: 0; cursor: pointer; }
.mhp-row-img { width: 64px; height: 44px; object-fit: contain; background: #fff; flex-shrink: 0; border-radius: 5px; }
.mhp-row-img--leer { background: #f7f8fa; }
.mhp-row-name { font-weight: 400; color: #212121; min-width: 0; }
.mhp-gruppe-h { grid-column: 1 / -1; }
.mhp-badge { font-size: 11px; border: none; background: #f2f2f2; border-radius: 5px; padding: 1.6px 7.2px; color: #666; white-space: nowrap; }
.mhp-badge--gruen { color: #15803d; background: rgba(34,197,94,.12); }
.mhp-in { font-size: 13px; color: #15803d; font-weight: 700; margin-left: auto; }
.mhp-btn { background: #4f6279; color: #fff; border: 0; border-radius: 5px;
  padding: 8px 17.6px; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .2px; cursor: pointer;
  transition: background-color 0.26s ease, transform 0.18s cubic-bezier(.34,1.5,.64,1), box-shadow 0.26s ease; }
.mhp-btn:hover:not(:disabled) { background: #3d4d60; }
.mhp-btn:active:not(:disabled) { box-shadow: 0 2px 6px rgba(32,43,64,.2); }
.mhp-btn:disabled { background: #ccd2d9; cursor: not-allowed; }
.mhp-btn--ghost { background: #fff; color: #4f6279; border: 2px solid #4f6279; padding: calc(8px - 2px) 16px; margin: 0; }
.mhp-btn--ghost:hover { background: #4f6279; color: #fff; }
.mhp-btn--sm { padding: 4.5px 11.2px; font-size: 13px; margin-left: 0; }
.mhp-btn--ghost.mhp-btn--sm { padding: calc(4.5px - 2px) 11.2px; }

/* Pop-up (Modal): Brennweiten + Mounts + Zubehör */
.mhp-modal-bg { position: fixed; inset: 0; background: rgb(17 24 39 / .55); z-index: 9000;
  display: flex; align-items: center; justify-content: center; padding: 16px; }
/* Modal = Flex-Säule: scrollen darf nur die innere Auswahl-Spur (.mhp-modal-scroll) —
   Kopf und Aktions-Knöpfe bleiben bei Überlänge immer sichtbar */
.mhp-modal { background: #fff; border-radius: 12px; max-width: 640px; width: 100%;
  max-height: 85vh; max-height: 85dvh; display: flex; flex-direction: column; overflow: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 16px 19.2px; box-shadow: 0 20px 60px rgb(0 0 0 / .3);
  font-family: 'Roboto', Arial, sans-serif; color: #212121; }
.mhp-modal-kopf { display: flex; align-items: center; gap: 9.6px; margin-bottom: 8px; }
.mhp-modal-kopf b { font-size: 15px; }
.mhp-kette-prog { margin-left: 10px; font-size: 12px; font-weight: 700; color: #4f6279; background: #eef1f5; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.mhp-modal-kopf .mhp-x { margin-left: auto; font-size: 20px; }
/* Options-Preis rechtsbuendig + nie umbrechen (bricht sonst mobil hinter langen Namen);
   Zeile bleibt vertikal ZENTRIERT */
.mhp-opts .mhp-chip--opt { align-items: center; }
.mhp-chip--opt small { color: #666; margin-left: auto; padding-left: 10px; white-space: nowrap; flex: 0 0 auto; }
.mhp-chip:has(input:checked) .mhp-chip--opt small, .mhp-opts .mhp-chip--opt:has(input:checked) small { color: rgba(255,255,255,.8); }
/* Pflicht-Hinweis im Popup: ruhige navy Pille statt gelber Karte (Klassenname MUSS bleiben —
   mhpModalBtn erkennt die Pflicht über .mhp-pflicht-tag) */
.mhp-pflicht-tag { font-size: 11px; color: #4f6279; background: #eef1f5; border-left: none;
  border-radius: 5px; padding: 2.4px 9.6px; font-weight: 600; }
.mhp-opts { display: flex; flex-direction: column; gap: 4.8px; }
.mhp-opts .mhp-chip { justify-content: flex-start; }
.mhp-expand-title { font-weight: 700; font-size: 14px; margin: 4.8px 0; color: #212121; }
.mhp-zaehler { font-size: 13px; color: #55606f; margin-bottom: 6.4px; }   /* ruhig statt amber — grün, sobald erfüllt */
.mhp-zaehler--ok { color: #15803d; font-weight: 700; }
.mhp-lenses, .mhp-mounts { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.mhp-lenses .mhp-chip, .mhp-mounts .mhp-chip { justify-content: flex-start; }
.mhp-chip { display: inline-flex; align-items: center; gap: 7.2px; border: none;
  border-radius: 5px; padding: 6.4px 11.2px; font-size: 13px; cursor: pointer; background: #f2f2f2; color: #333; }
.mhp-chip:has(input:checked) { background: #4f6279; color: #fff; }
.mhp-chip:has(input:checked) small { color: rgba(255,255,255,.75); }
.mhp-chip--lock { opacity: .5; }
.mhp-expand-msg { color: #b91c1c; font-size: 13px; min-height: 19.2px; margin-top: 6.4px; }
.mhp-expand-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 9.6px; }
.mhp-expand-actions .mhp-btn--ghost { order: -1; margin-right: auto; }
.mhp-modal--msg { max-width: 460px; padding: 0 0 16px; }
.mhp-modal--msg .mhp-msg-kopf { background: #4f6279; color: #fff; font-weight: 700; padding: 10.4px 17.6px; }
.mhp-modal--msg .mhp-msg-body { padding: 12.8px 17.6px 3.2px; font-size: 14px; }
.mhp-modal--msg .mhp-expand-actions { padding: 0 17.6px; }
.mhp-msg-liste { margin: 3.2px 0 6.4px 17.6px; padding: 0; }
.mhp-msg-liste li { margin: 2.4px 0; }

/* Erfolgs-Popup „Anfrage gesendet" — großer grüner Haken, blickdichter Hintergrund verdeckt das zurückgesetzte Formular */
.mhp-modal-bg--voll { background: rgba(20, 27, 41, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mhp-modal--erfolg { max-width: 420px; text-align: center; padding: 34px 30px 26px; }
.mhp-erfolg-haken { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; background: #22c55e;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(34, 197, 94, .42);
  animation: mhp-erfolg-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.mhp-erfolg-haken svg { width: 52px; height: 52px; overflow: visible; }
.mhp-erfolg-haken path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 42; stroke-dashoffset: 42; animation: mhp-erfolg-check .4s .28s ease forwards; }
.mhp-erfolg-titel { font-size: 18px; font-weight: 700; color: #15803d; margin-bottom: 8px; }
.mhp-erfolg-text { font-size: 14px; color: #444; line-height: 1.55; margin-bottom: 20px; }
.mhp-expand-actions--mitte { justify-content: center; }
@keyframes mhp-erfolg-pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes mhp-erfolg-check { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .mhp-erfolg-haken { animation: none; }
  .mhp-erfolg-haken path { animation: none; stroke-dashoffset: 0; }
}

/* Spezielle Anfrage */
.mhp-special-ta { width: 100% !important; border: none !important; background: #f2f2f2 !important; border-radius: 5px; padding: 8px 11px !important; font: inherit; font-size: 13px; line-height: normal; min-height: 110px; resize: vertical; box-sizing: border-box; display: block; }
.mhp-special-ta:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(79, 98, 121, .45); }

/* Fußleiste: FIX am unteren Viewport-Rand; Footer als schwebende Kachel, Weissgrund als fixe
   Ebene UNTER Bar (8990) und Hilfe-Leiste (8985). Der Verlauf muss oben schnell deckend sein
   (feste Pixel-Stops), sonst schimmert Inhalt durch die Fuehrungs-Texte; Hoehe kommt aus
   paddingAnwenden() (waechst mit offener Karte). Content bekommt unten Platz, damit nichts
   hinter der Leiste verschwindet (passePadding zieht den echten Wert nach). */
.mhp-weissgrund { position: fixed; left: 0; right: 0; bottom: 0; height: 360px;
  pointer-events: none; z-index: 8980;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0, rgba(255,255,255,.65) 16px, rgba(255,255,255,.92) 36px, rgba(255,255,255,.99) 58px, #fff 74px); }
/* KEIN weisser Nav-Kasten: die Buttons stehen frei auf dem Weissgrund,
   der Fuehrungs-Hinweis liegt Desktop zwischen ihnen / Mobil ueber den Kacheln. */
.mhp-bar { position: fixed; left: 12.8px; right: 12.8px; bottom: 53px; z-index: 8990;
  border-radius: 0; box-shadow: none; padding: 0; }   /* bottom 53: gleicher Abstand oben (Karten) wie unten (Footer) ~18px */
/* Hilfe-/Kontakt-Zeile als eigener BODEN-Footer: klebt ganz unten, volle Bildschirmbreite */
.mhp-hilfe-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 8985; background: #202b40; }
.mhp-hilfe-in { text-align: center; font-size: 12px; color: #9fb0c7; padding: 20px 12px 21px; }   /* doppelt so hoher Footer */
.mhp-hilfe-in a { color: #c3cee0; font-weight: 700; text-decoration: none; white-space: nowrap; }
.mhp-hilfe-in a:hover { text-decoration: underline; }
@media (max-width: 560px) { .mhp-hilfe-in { font-size: 11px; padding: 18px 8px 18px; } }   /* doppelt so hoch */
.mhp { padding-bottom: 120px; }   /* KEINE Padding-Transition: sie kaempft sonst mit dem Scroll-Ausgleich (Clamp-Ruck) */
.mhp-bar-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px;
  padding: 0; }   /* stretch: alle Nav-Buttons gleich hoch */
.mhp-bar-grid .mhp-bar-mitte { align-self: center; }   /* Hinweis bleibt vertikal mittig */
.mhp-bar-grid .mhp-btn { border-radius: 12px; padding-top: 8px; padding-bottom: 8px; }   /* Nav-Buttons rund + flacher */
.mhp-bar-zurueck { justify-self: start; }
.mhp-bar-mitte { justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 3.5px; min-width: 0; }
.mhp-bar-hinweis { font-size: 14px; font-weight: 700; color: #1b2536; text-align: center; line-height: 1.3; }
/* Mobiler Fuehrungs-Hinweis ueber den Kacheln: Desktop unsichtbar (er lebt zwischen den Buttons) */
.mhp-bar-hinweis-oben { display: none; }
.mhp-bar-aktion { justify-self: end; }
/* Desktop: kraeftigere Nav-Buttons + gut lesbarer Fuehrungs-Hinweis */
@media (min-width: 701px) {
  .mhp-bar-grid .mhp-btn { padding: 12px 28px; font-size: 15px; }
  .mhp-bar-mitte .mhp-bar-hinweis { font-size: 15px; }
}
@media (max-width: 700px) {
  .mhp-bar-grid { grid-template-columns: auto 1fr; grid-template-areas: "hint hint" "zurueck aktion";
    gap: 9px 10px; padding: 0; box-sizing: border-box; }
    /* KEIN min-height/align-content: Buttons sitzen unten buendig,
       damit der Footer-Abstand auf allen Seiten gleich ist */
  .mhp-bar-mitte { grid-area: hint; }
  .mhp-bar-zurueck { grid-area: zurueck; justify-self: start; }
  .mhp-bar-aktion { grid-area: aktion; justify-self: end; }
  .mhp-bar-hinweis { font-size: 13px; }
  /* Mobil: Hinweis wandert ueber die Kacheln, die Buttons stehen frei
     ohne Nav-Kasten in EINER Reihe. Auf S1 wird der einzelne CTA breit. */
  /* Eigener weisser Sockel unter dem Hinweis (laeuft nach oben aus) — bleibt lesbar, auch wenn
     Inhalt dahinter liegt */
  .mhp-bar-hinweis-oben { display: block; text-align: center; padding: 12px 8px 2px; margin-bottom: -6px;   /* enger an die Kachel darunter — Innenabstand + Flex-Gap gekürzt */
    background: linear-gradient(to top, #fff 0, #fff 46%, rgba(255,255,255,0) 100%); }
  .mhp-bar-hinweis-oben .mhp-bar-hinweis { color: #1b2536; font-size: 12px; font-weight: 700; }   /* wie Seite 3 */
  .mhp-bar--hat-stapel .mhp-bar-grid { grid-template-columns: auto 1fr; grid-template-areas: "zurueck aktion";
    min-height: 0; padding: 0; gap: 10px; }
  .mhp-bar--hat-stapel .mhp-bar-mitte { display: none; }
  .mhp-bar--s1.mhp-bar--hat-stapel .mhp-bar-grid { grid-template-columns: 1fr; grid-template-areas: "aktion"; }
  .mhp-bar--s1.mhp-bar--hat-stapel .mhp-bar-aktion { justify-self: stretch; }
  .mhp-bar--s1.mhp-bar--hat-stapel .mhp-bar-aktion .mhp-btn { width: 100%; }
  /* mitte-Innenpolster mobil weg → Ein-Gerät-Zeile wirklich LINKSBÜNDIG am Leistenrand */
  .mhp-bar .mhp-bar-mitte { padding-left: 0; padding-right: 0; }
  /* Mobil kompakter Knopf. Der .mhp-bar-Vorspann ist nötig: die Basisregeln stehen weiter
     unten in der Datei und gewännen sonst. */
  .mhp-bar .mhp-btn--gross { font-size: 14px; padding: 10.4px 20px; }
}
@keyframes mhp-bereit { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 55% { box-shadow: 0 0 0 9px rgba(34,197,94,0); } }
.mhp-btn--bereit { background: #22c55e; animation: mhp-bereit 2.08s ease-out infinite; }
.mhp-btn--bereit:hover:not(:disabled) { background: #16a34a; }   /* deutlich GRÜN bleiben (schlägt den navy .mhp-btn:hover) */
.mhp-btn--weiter { margin-left: 0; padding: 9.9px 24px; font-size: 14px; }
.mhp-btn--gross { font-size: 16px; padding: 14.4px 35.2px; }
.mhp-btn--gruen { background: #22c55e; }
.mhp-btn--gruen:hover { background: #16a34a; }
/* -webkit-text-fill-color MUSS hier mit: die harte #212121-Fill-Regel der Inputs (Balbooa-Falle)
   vererbt sich sonst in den Platzhalter und macht ihn dunkel */
.mhp ::placeholder { font-size: 13px; color: #b4b9c0; -webkit-text-fill-color: #b4b9c0; opacity: 1; }
/* klickbarer Nachrüst-Knopf in der Pflicht-Warnung (öffnet das Auswahl-Popup des Geräts erneut) */
.mhp-bar-pflicht-btn { background: #fff; border: 1px solid #f59e0b; color: #92400e; border-radius: 4px;
  padding: 2.4px 8.8px; margin: 2px 4px 2px 2px; font: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: background-color .18s ease, color .18s ease; }
.mhp-bar-pflicht-btn:hover { background: #f59e0b; color: #fff; }

/* Kontextuelles Zubehör */
.mhp-leer { color: #666; padding: 32px 0; text-align: center; }
.mhp-gruppe-h { font-size: 15px; font-weight: 700; color: #212121;
  border-bottom: 2px solid #4f6279; padding: 0 0 6.4px; margin-top: 38.4px; }
.mhp-gruppe-h small { color: #999; font-weight: 400; }
.mhp-gruppe-h:first-child { margin-top: 0; }

/* Equipment-Zeile bricht NIE unter das Bild — der Name umbricht nur in seiner eigenen Spalte rechts der Checkbox */
.mhp-row { flex-wrap: nowrap; }
.mhp-row-name { overflow-wrap: anywhere; }

/* ── Schritte-Leiste: volle Breite, Pfeil-Segmente wie das Live-Portal ── */
.mhp-steps { display: flex; margin: 0 0 15px; gap: 8px;
  font-family: 'Roboto', Arial, sans-serif; }
.mhp-step { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #f2f4f7; border-radius: 12px; padding: 9.6px 8px; color: #8a929c;   /* 12px wie alle Karten */
  transition: background-color 0.32s ease, color 0.32s ease; }   /* Balken bleiben stehen, Farbe gleitet weich mit */
.mhp-step--on { color: #fff; background: #202b40; }
.mhp-step--done { color: #15803d; background: rgba(34,197,94,.12); }
.mhp-kopfzeile { display: flex; align-items: baseline; gap: 16px; margin: 0 0 18px; }
.mhp-h2 { font-size: 22px; font-weight: 700; color: #212121; margin: 0; }   /* Hauptueberschrift groesser */
/* EIN Reset-Look fuer beide Knoepfe (oben im Kopf + Kalender) — ECKIG wie der
   Erweiterter-Modus-Knopf (5px), rot umrandet */
.mhp-reset-pill { background: transparent; border: 1.5px solid #dc2626; border-radius: 5px; font: inherit;
  font-size: 12px; font-weight: 700; color: #dc2626; cursor: pointer; height: 32px; line-height: 1; padding: 0 13px;   /* 32px = exakt wie „Erweiterter Modus" daneben */
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap;
  transition: color .18s, border-color .18s, background .18s; }
.mhp-reset-pill:hover { background: rgba(220,38,38,.1); color: #b91c1c; border-color: #ef4444; }
.mhp-steps-reset { margin-left: auto; }   /* nur Positionierung; Look kommt von .mhp-reset-pill */
.mhp-reset-ic { display: block; flex: 0 0 auto; }

/* Filter: ruhige Zeile über der Liste (Kategorie-Buttons · Hersteller · Suche) */
.mhp-tab { border: none; background: #f2f2f2; border-radius: 5px; padding: 0 15.2px; height: 38px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: #444; }
.mhp-tab:hover { background: #e5e8ec; color: #212121; }
.mhp-tab--on { background: #202b40; color: #fff; }
.mhp-filter { border: none; background: #f2f2f2; border-radius: 5px; padding: 0 8px; height: 38px;
  font: inherit; font-size: 13px; color: #333; max-width: 200px; }
.mhp3-mini { display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: #444; cursor: pointer; }

/* Schritt 3: Land-Select, AGB-Zeile */
.mhp3-feld select { border: none; background: #f2f2f2; border-radius: 5px; padding: 6.5px 11px;
  font: inherit; font-size: 13px; }
.mhp3-feld select:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(79, 98, 121, .45); }
.mhp3-agb { display: flex; align-items: flex-start; gap: 12px; margin-top: 11.2px;
  font-size: 13px; color: #212121; cursor: pointer; padding: 8px 0; }
.mhp3-agb input { flex-shrink: 0; margin-top: 1.6px; }
.mhp3-agb span { flex: 1; min-width: 0; }   /* Text + Links umbrechen sauber als EIN Block (mobil) */
.mhp3-agb a { color: #4f6279; }

/* ── Schritt 2: EINSPALTIG von oben nach unten (wie das heutige Formular; mobil identisch) ── */
.mhp2-wrap { display: block; }
.mhp2-feld { margin-bottom: 11px; }   /* Felder enger zusammen */
.mhp2-feld label { display: flex; align-items: center; font-size: 12px; font-weight: 600; color: #333; margin-bottom: 3px; }
.mhp2-feld label .mhp-hilfe, .mhp3-feld label .mhp-hilfe { margin-left: auto; }
.mhp2-feld select { width: 100%; border: none; background: #f2f2f2; border-radius: 5px;
  padding: 6.5px 11px; font: inherit; font-size: 13px; }   /* schmaler */
.mhp2-feld select:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(79, 98, 121, .45); }
.mhp2-hint { font-size: 12px; color: #666; margin: 4.8px 0 9.6px; }
.mhp2-calnav { display: flex; gap: 6.4px; margin: 6.4px 0; align-items: center; flex-wrap: wrap; }
.mhp2-calnav .mhp-btn--ghost { background: #f2f2f2; border: none; color: #333; height: 34px; padding: 0 12.8px; }
.mhp2-calnav .mhp-btn--ghost:hover { background: #4f6279; color: #fff; }
.mhp2-calhint { margin: 1.6px 0 16px; }
.mhp2-calhint--unter { margin: 16px 0 4px; }   /* mehr Abstand von den Wahl-Buttons darüber */
/* Erweiterter Modus: Umschalter neben "Zurücksetzen" in der Kalender-Navigation */
.mhp2-erweitert-btn { border: 1px solid #4f6279; background: #fff; color: #4f6279; border-radius: 5px;
  height: 30px; padding: 0 11.2px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; margin-left: 6.4px; }
.mhp2-erweitert-btn:hover { background: #4f6279; color: #fff; }
.mhp2-erweitert-btn--on { background: #202b40; border-color: #202b40; color: #fff; }

/* Spezial: Malwerkzeuge (Miet-/Besitz-/Zustell-/Rückgabetag) — FARBIG wie die Kalendertage.
   Kompakt (passen in eine Zeile); der aktive ist GEFÜLLT → zeigt, was man gerade in den Kalender malt. */
.mhp2-modus-btn { display: inline-flex; align-items: center; border: 1px solid #ccd2d9; background: #fff; border-radius: 5px;
  height: 28px; padding: 0 9px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; color: #333;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease; }
.mhp2-modus-btn:hover:not(.mhp2-modus-btn--on):not(:disabled) { transform: translateY(-1px); box-shadow: 0 3px 9px rgba(32,43,64,.15); opacity: 1; }
.mhp2-modus-btn:disabled { opacity: .4; cursor: not-allowed; }
/* NICHT gewählte Werkzeuge blasser — der aktive hebt sich klar ab */
.mhp2-modus-btn:not(.mhp2-modus-btn--on):not(:disabled) { opacity: .55; }
.mhp2-modus-btn--on { font-weight: 700; box-shadow: 0 2px 8px rgba(32,43,64,.22); opacity: 1; }
/* „Wähle:"-Label vor den Werkzeugen */
.mhp2-wz-lbl { font-size: 12px; color: #55606f; font-weight: 600; margin-right: 2px; display: inline-flex; align-items: center; }
.mhp2-modus-btn--miet { background: #e2e8f0; border-color: #b7c3d2; color: #35465c; }
.mhp2-modus-btn--miet.mhp2-modus-btn--on { background: #4f6279; border-color: #4f6279; color: #fff; }
.mhp2-modus-btn--besitz { background: #fef3c7; border-color: #f0d48a; color: #92400e; }
.mhp2-modus-btn--besitz.mhp2-modus-btn--on { background: #d97706; border-color: #d97706; color: #fff; }
.mhp2-modus-btn--zustell { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.mhp2-modus-btn--zustell.mhp2-modus-btn--on { background: #059669; border-color: #059669; color: #fff; }
.mhp2-modus-btn--rueckgabe { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.mhp2-modus-btn--rueckgabe.mhp2-modus-btn--on { background: #dc2626; border-color: #dc2626; color: #fff; }
/* Kalender-Legende + markierte Logistik-Tage (Zustellung/Abholung/Rückgabe) — DEUTLICH sichtbar */
.mhp2-day.mhp2-zustell { background: #d1fae5; color: #065f46; font-weight: 700; outline: 1px solid #6ee7b7; outline-offset: -1px; }
.mhp2-day.mhp2-rueck { background: #fee2e2; color: #991b1b; font-weight: 700; outline: 1px solid #fca5a5; outline-offset: -1px; }
.mhp2-legende { font-size: 12px; color: #666; margin: 6.4px 0 3.2px; }
.mhp2-legende--unter { margin: 9px 0 8px; }   /* Legende sitzt unter den Tagen, über den Wahl-Buttons */
.mhp2-leg { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; }
.mhp2-leg--miet { background: #4f6279; }
.mhp2-leg--besitz { background: #fef3c7; border: 1px solid #f0d48a; }
.mhp2-leg--zustell { background: #d1fae5; border: 1px solid #6ee7b7; }
.mhp2-leg--rueck { background: #fee2e2; border: 1px solid #fca5a5; }

/* Hilfe-Icons (?) mit Hover-Erklärung + rote Umrandung für sichtbare, noch offene Pflichtangaben */
.mhp-hilfe { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px;
  border-radius: 50%; background: #ccd2d9; color: #fff; font-size: 11px; font-weight: 700;
  vertical-align: 1px; user-select: none; }
.mhp-hilfe:hover { background: #4f6279; }
.mhp3-fehlt { box-shadow: inset 0 0 0 2px #ef4444 !important; }
.mhp2-leg--urlaub { background: repeating-linear-gradient(45deg, #fef2f2, #fef2f2 2px, #fee2e2 2px, #fee2e2 4px); border: 1px solid #f3c1c1; }
.mhp2-cal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }   /* kompakter */
@media (max-width: 640px) {
  .mhp2-monat:nth-of-type(2) { display: none; }   /* mobil: EIN Monat */
  .mhp2-mnav--mobil { visibility: visible; }      /* Monat 1 trägt dann auch den →-Pfeil */
}
.mhp2-day.mhp2-hover { outline: 2px solid #4f6279; outline-offset: -2px; }   /* KEIN background → gemalte Farbe bleibt sichtbar */
.mhp2-monat-h { display: flex; align-items: center; justify-content: space-between; gap: 6.4px;
  font-weight: 700; margin-bottom: 4.8px; }
.mhp2-mnav { border: none; background: #f2f2f2; color: #333; width: 30px; height: 26px; cursor: pointer; border-radius: 12px;
  font: inherit; font-size: 13px; }
.mhp2-mnav:hover { background: #4f6279; color: #fff; }
.mhp2-mnav-platz { width: 30px; }
.mhp2-mnav--mobil { visibility: hidden; }   /* hält den Platz frei — Monatsname bleibt mittig */
.mhp2-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mhp2-dow { text-align: center; font-size: 10px; color: #999; padding: 3.5px 0; }
.mhp2-day { text-align: center; padding: 6px 0; border-radius: 5px; cursor: pointer; background: #f2f2f2; font-size: 12px; user-select: none; }
.mhp2-day:hover { outline: 2px solid #4f6279; }
.mhp2-miet { background: #4f6279; color: #fff; font-weight: 700; }
.mhp2-besitz { background: #fef3c7; color: #92400e; }
.mhp2-pending { outline: 2px solid #4f6279; }
.mhp2-aus { opacity: .35; }   /* Cursor = rotes X (Regel unten, wie nicht-malbare Tage) */
.mhp2-aus:hover { outline: none; }
.mhp2-urlaub { background: repeating-linear-gradient(45deg, #fef2f2, #fef2f2 4px, #fee2e2 4px, #fee2e2 8px); color: #b91c1c; cursor: not-allowed; }
.mhp2-urlaub:hover { outline: none; }

/* Zusammenfassung */
.mhp2-sec { font-size: 14px; font-weight: 700; color: #212121; margin: 20.8px 0 8px; }
.mhp2-sec:first-child { margin-top: 0; }
.mhp2-zrow { display: flex; justify-content: space-between; gap: 12.8px; padding: 2.9px 0; font-size: 14px; }
.mhp2-klein { font-size: 12px; }
.mhp2-ablauf { font-size: 13px; color: #333; line-height: 1.6; }

/* Preisblock — dunkel wie die Preisbox des Onlinerechners (#202b40, weiße Schrift) */
.mhp2-preisbox { background: #202b40; color: #fff; margin: 0; padding: 19.2px 22.4px 20.8px; }
.mhp2-preisbox .mhp2-sec { margin-top: 0; }
.mhp2-preisbox .mhp2-zrow { color: rgba(255,255,255,.9); }
.mhp2-preisbox .mhp2-klein { color: rgba(255,255,255,.55); }
/* Rabatt-Zeile gruen hervorgehoben */
.mhp2-preisbox .mhp2-rabatt { color: #6ee7b7; font-weight: 700; }
/* Zwischensumme (nur wenn Rabatt UND Mindestwert zusammentreffen): dezent abgesetzt, damit
   die Anhebung auf den Mindestwert darunter nachvollziehbar ist */
.mhp2-preisbox .mhp2-zwischen { color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 2.9px; padding-top: 5.8px; }
/* Mindestmietwert greift: helles Rot auf dem dunklen Block (Design-Kanon Fehlfarbe) */
.mhp2-preisbox .mhp2-mindest { color: #dc2626; font-weight: 700; }   /* sattes Badge-Rot statt ausgebleicht */
.mhp2-gesamt { font-weight: 700; font-size: 16px; border-top: 1px solid rgba(255,255,255,.25);
  margin-top: 4.8px; padding-top: 7.2px; color: #fff; }
.mhp2-preisbox .mhp2-hint { color: rgba(255,255,255,.55); margin-bottom: 0; }
.mhp2-gsrow { display: flex; gap: 6.4px; margin-top: 9.6px; }
/* Gutschein: Desktop zeigt das Feld direkt; mobil klappt es hinter einem kleinen Link auf */
.mhp2-gs-toggle { display: none; }
@media (max-width: 640px) {
  .mhp2-gsfeld:not(.mhp2-gs--auf) .mhp2-gsrow { display: none; }
  .mhp2-gs--auf .mhp2-gs-toggle { display: none; }
  .mhp2-gs-toggle { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px;
    background: none; border: 0; color: rgba(255,255,255,.6); font: inherit; font-size: 11px; font-weight: 600;
    cursor: pointer; padding: 2px 0; text-decoration: underline; text-underline-offset: 2px; }
  .mhp2-gs-toggle::before { content: "＋"; font-weight: 700; }
}
.mhp2-gsrow input { flex: 1; border: none; background: #fff !important; box-shadow: inset 0 0 0 1px #dde3e8;
  color: #212121 !important; border-radius: 5px; height: 38px; padding: 0 9.6px; box-sizing: border-box; font: inherit; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1px; min-width: 0; }
.mhp2-gsrow .mhp-btn { height: 38px; box-sizing: border-box; display: inline-flex; align-items: center; padding-top: 0; padding-bottom: 0; }   /* exakt so hoch wie das Feld */
.mhp2-gsrow input::placeholder { color: #9aa3ad; -webkit-text-fill-color: #9aa3ad; text-transform: none; letter-spacing: normal; }
.mhp2-gsrow input:focus { outline: none; box-shadow: inset 0 0 0 1px #22c55e; color: #212121 !important; background: #fff !important; }
/* Balbooa-/Theme-Falle: manche Themes setzen input:focus{color:#fff} bzw. -webkit-text-fill-color —
   Letzteres schlägt JEDE color-Regel. Deshalb für ALLE Portal-Eingaben hart dunkel, inkl. Fokus + Textcursor. */
.mhp input, .mhp textarea, .mhp select,
.mhp input:focus, .mhp textarea:focus, .mhp select:focus {
  color: #212121 !important; -webkit-text-fill-color: #212121 !important; caret-color: #212121; }
.mhp2-gsrow .mhp-btn--ghost { background: #22c55e; color: #fff; border-color: #15803d; }   /* sichtbarer, definierter Rand */
.mhp2-gsrow .mhp-btn--ghost:hover { background: #16a34a; border-color: #0f6c34; }
.mhp2-gesamtzeile { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 16px 32px;
  align-items: start; border-top: 1px solid rgba(255,255,255,.25); margin-top: 8px; padding-top: 9.6px; }
@media (max-width: 640px) { .mhp2-gesamtzeile { grid-template-columns: 1fr; } }
.mhp2-gsumme .mhp2-gesamt { border-top: none; margin-top: 0; padding-top: 0; }
.mhp2-gsumme .mhp2-hint { text-align: right; }   /* Versandkosten-Hinweis buendig zur Summe */
.mhp2-gsfeld .mhp2-gsrow { margin-top: 0; }

/* Gutschein-Feld bewusst HELL in der navy Box (eine dunkle Variante macht nur den Platzhalter unsichtbar und killt den gruenen Fokus-Ring). */

/* ══ Joomla-/Theme-PANZER Teil 2: GROESSEN ══
   Auf der Live-Seite drueckte Template-/Balbooa-CSS die Eingabefelder gross (padding/height/
   font-size bei gleicher Spezifitaet, aber spaeter geladen). Gleiche Werte wie unsere
   Basisregeln — nur HART. Lokal aendert sich dadurch NICHTS.
   (background-COLOR statt Kurzform: das Select-Pfeil-Bild aus .mhp select muss ueberleben.) */
.mhp .mhp3-feld input {
  padding: 6.5px 11px !important; font-size: 13px !important; line-height: 1.45 !important;
  height: auto !important; min-height: 0 !important; max-width: none !important;
  border: none !important; border-radius: 5px !important; background-color: #f2f2f2 !important;
  box-sizing: border-box !important; margin: 0 !important; }
.mhp .mhp3-feld select, .mhp .mhp2-feld select {
  padding: 6.5px 33.6px 6.5px 11px !important;   /* rechts: Platz fuer den eigenen Pfeil */
  font-size: 13px !important; line-height: 1.45 !important;
  height: auto !important; min-height: 0 !important; max-width: none !important;
  border: none !important; border-radius: 5px !important; background-color: #f2f2f2 !important;
  -webkit-appearance: none !important; appearance: none !important;
  box-sizing: border-box !important; margin: 0 !important; }
.mhp .mhp-special-ta { font-size: 13px !important; height: auto !important; min-height: 110px; margin: 0 !important; }
/* Seite-1-Listeneinträge auf die Input-Textgröße pinnen — sonst bläst das Live-Theme sie größer
   als die Formularfelder auf (wie bei den Inputs). */
.mhp .mhp-row { font-size: 13px !important; }
.mhp .mhp-row-name { font-size: 13px !important; line-height: 1.35 !important; }
.mhp .mhp-suche, .mhp .mhp-filter { height: 38px !important; font-size: 13px !important;
  padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; box-sizing: border-box !important; }
.mhp .mhp2-gsrow input { height: 38px !important; padding: 0 9.6px !important; font-size: 13px !important;
  margin: 0 !important; box-sizing: border-box !important; }

/* Hinweise — Amber mit linkem Balken (Optik wie die Rechner-Hinweise) */
.mhp2-hinweis { background: #fffbeb; border: 2px solid #f59e0b; border-radius: 5px;
  padding: 8.8px 12px; font-size: 12px; color: #92400e; line-height: 1.55; margin: 8px 0; }
.mhp-sammler-banner { background: #fffbeb; border: 2px solid #f59e0b; border-radius: 5px;
  padding: 9.6px 12.8px; margin-bottom: 12.8px; font-size: 13px; color: #92400e; line-height: 2.1; }
/* Vormerk-Zahlen — gleiches Design wie die Header-Zähler (rot = vorgemerkt, navy = in der Anfrage) */
.mhp-vm-zahl { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 11px; font-weight: 700;
  line-height: 1; margin-right: 8px; vertical-align: middle; position: relative; top: -1px; flex: 0 0 auto; }
.mhp-vm-zahl--blau { background: #4f6279; }
/* Plaketten-Zeile in Popups: Zahl und Text sauber mittig nebeneinander, Liste darunter eingerückt */
.mhp-vm-zeile { display: flex; align-items: center; }
.mhp-vm-zeile .mhp-vm-zahl { top: 0; }
.mhp-vm-zeile + .mhp-msg-liste { margin-left: 40px; }
/* Knöpfe im Hinweis = kleine Portal-Buttons (navy wie .mhp-btn, Ghost als Sekundär) */
.mhp-hchip { display: inline-flex; align-items: center; background: #4f6279; color: #fff; border: 0;
  border-radius: 5px; padding: 4.5px 12.8px; margin: 1.6px 1.6px 1.6px 3.2px; font: inherit; font-size: 13px;
  font-weight: 700; letter-spacing: .2px; line-height: 1.4; cursor: pointer; vertical-align: middle;
  transition: background-color 0.26s ease, box-shadow 0.26s ease; }
.mhp-hchip:hover { background: #3d4d60; box-shadow: 0 2px 8px rgba(32,43,64,.18); }
.mhp-hchip--reset { background: #fff; color: #4f6279; border: 2px solid #4f6279; padding: calc(4.5px - 2px) 11.2px; }
.mhp-hchip--reset:hover { background: #4f6279; color: #fff; }

/* Zusammenfassung im Stil der Live-Website: navy Kopfleiste, Wertfelder, Zeitstrahl integriert */
.mhp2-zusammen { margin-top: 22.4px; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 16px rgba(31,45,61,.08); }
.mhp2-zushead { color: #fff; font-weight: 700; padding: 12.8px 22.4px; }
.mhp2-zusbody .tl-svg-wrap { max-width: 1000px; margin: 0 auto; }

/* Schritt 3: Deine Daten */
.mhp3-wrap { display: flex; flex-direction: column; gap: 28.8px; }
.mhp3-card { padding: 0; background: none; }
.mhp3-grid { display: flex; flex-wrap: wrap; gap: 9.6px 12.8px; margin-top: 6.4px; }
.mhp3-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 12.8px 19.2px; margin-top: 12.8px; }
.mhp3-zeile--strasse { grid-template-columns: 1fr 130px; }
.mhp3-zeile--plz { grid-template-columns: 130px 1fr 200px; }
/* MOBIL: kurze Feld-Paare bleiben NEBENEINANDER (Vorname|Nachname,
   Straße|Nr, PLZ|Ort, Website|Social) — nur lange Felder (E-Mail, Firma …) stapeln. */
@media (max-width: 640px) {
  .mhp3-zeile { grid-template-columns: 1fr; }                          /* Standard: stapeln */
  .mhp3-zeile--mob2 { grid-template-columns: 1fr 1fr; gap: 10px; }     /* kurze Paare nebeneinander */
  .mhp3-zeile--strasse { grid-template-columns: 1fr 84px; gap: 10px; }
  .mhp3-zeile--plz { grid-template-columns: 96px 1fr; gap: 10px; }     /* PLZ | Ort … */
  .mhp3-zeile--plz > :nth-child(3) { grid-column: 1 / -1; }            /* … Land eigene Zeile */
}
.mhp3-zeile .mhp3-feld select { width: 100%; }
.mhp3-feld { display: flex; flex-direction: column; gap: 3px; flex: 1 1 200px; min-width: 0; }
.mhp3-feld--klein { flex: 0 1 110px; }
.mhp3-feld--breit { flex: 1 1 100%; }
.mhp3-feld label { display: flex; align-items: center; font-size: 13px; font-weight: 600; color: #333; }
.mhp3-feld input { width: 100%; border: none; background: #f2f2f2; border-radius: 5px; padding: 6.5px 11px; font: inherit;
  font-size: 13px; min-width: 0; }
.mhp3-feld input:focus { outline: none; box-shadow: inset 0 0 0 2px rgba(79, 98, 121, .45); }
/* Datei-Upload: Drop-Zone + Datei-Liste (mehrere Dateien, Drag & Drop) */
.mhp3-drop { border: 2px dashed #ccd2d9; border-radius: 5px; background: #fafbfc; padding: 16px; text-align: center; cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease; }
.mhp3-drop:hover { border-color: #4f6279; background: #f2f5f8; }
.mhp3-drop--ueber { border-color: #4f6279; background: #eaf0f6; }
.mhp3-drop.mhp3-fehlt { border-color: #dc2626; background: #fef2f2; }
.mhp3-drop-txt { font-size: 13px; color: #566; line-height: 1.55; }
.mhp3-drop-link { color: #4f6279; font-weight: 700; text-decoration: underline; }
.mhp3-drop-sub { display: block; font-size: 11px; color: #9aa3ad; margin-top: 2px; }
.mhp3-fileliste { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mhp3-fileitem { display: flex; align-items: center; gap: 8px; background: #f2f2f2; border-radius: 5px; padding: 7px 8px 7px 11px; font-size: 13px; color: #333; }
.mhp3-fileitem-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mhp3-fileitem-x { flex: 0 0 auto; background: none; border: none; color: #9ca3af; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 4px; }
.mhp3-fileitem-x:hover { color: #dc2626; }
.mhp3-fileitem--raus { max-height: 0 !important; opacity: 0; margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
  transition: max-height 0.26s ease, opacity 0.2s ease, padding 0.26s ease !important; }   /* ohne Seitwaerts-Rutsch */
.mhp3-opt { font-weight: 400; color: #999; text-transform: none; letter-spacing: 0; }
.mhp3-erkl { font-size: 13px; color: #666; }
.mhp3-hint { font-size: 11px; color: #999; }

/* SVG-Zeitstrahl (Mietablauf) — Optik 1:1 wie der Onlinerechner */
.tl-svg-wrap { display: block; overflow: visible; }
.tl-mobile { display: none; }
/* Vertikale Listen-„Schlange" — Element-Stile IMMER verfügbar (mobil UND Desktop bei komplexen Buchungen) */
/* Optik wie die Mini-Liste der Kompakt-Karte: Dot sitzt auf der LABEL-Zeile,
   nicht ueber zweizeilige Datumsangaben zentriert */
.tl-mobx-zeile { display: flex; align-items: flex-start; gap: 9px; padding: 3px 0; }
.tl-mobx-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; margin-top: 4px; }
/* Fliesstext links (Label + Carrier + Zeit), darf umbrechen; Datum bleibt oben rechts */
.tl-mobx-lbl { flex: 1 1 auto; min-width: 0; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 15px; }
.tl-mobx-miet .tl-mobx-lbl { color: #c7d5e7; font-weight: 700; }
.tl-mobx-dat { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.85); text-align: right; white-space: nowrap; line-height: 15px; }
.tl-mobx-anno { margin: 0 0 2px 19px; font-size: 10px; font-weight: 600; color: #fbbf24; }
.tl-mobx-anno--miet { color: #c7d5e7; }
.tl-mobile { position: relative; }
.tl-mobile::before { content: ""; position: absolute; left: 3.5px; top: 11px; bottom: 11px; width: 2px; background: rgba(255,255,255,.22); }
@media (max-width: 600px) { .tl-svg-wrap { display: none; } .tl-mobile { display: block; padding: 2px 0; } }
/* Robust fuer die Einbettung: JS misst die PORTAL-Breite und setzt .mhp-schmal
   (< 700px) — so kommt die einfache Liste auch in einer schmalen Spalte im breiten Viewport, OHNE
   container-type (das haette den Host zum Bezugsrahmen der fixen Karten gemacht). */
[data-mh-portal].mhp-schmal .tl-svg-wrap { display: none; }
[data-mh-portal].mhp-schmal .tl-mobile { display: block; padding: 2px 0; }

/* ── Sanfte Bewegung: nur Zustandswechsel + Pop-ups, kein Flackern beim Neuzeichnen ── */
.mhp button, .mhp select, .mhp input, .mhp2-day, .mhp-row, .mhp-modal-bg button {
  transition: background-color 0.36s ease, color 0.36s ease, border-color 0.36s ease,
    box-shadow 0.29s ease, opacity 0.36s ease, transform 0.18s cubic-bezier(.34,1.5,.64,1); }
/* ALLE Einblendungen sind reine FADES ohne Bewegung — nur die Kacheln (.mhp-sheet) behalten ihre Choreografie. */
.mhp-modal-bg { animation: mhpFadeIn 0.34s ease; }
.mhp-modal { animation: mhpFadeIn 0.42s ease; }
@keyframes mhpFadeIn { from { opacity: 0; } }
/* Pop-up schließen: Hintergrund + Karte sanft ausblenden (statt hart verschwinden) */
@keyframes mhpFadeOut { to { opacity: 0; } }
.mhp-modal-bg--zu { animation: mhpFadeOut 0.24s ease forwards; }
.mhp-modal-bg--zu .mhp-modal { animation: mhpFadeOut 0.24s ease forwards; }
/* Kalender-Monatswechsel: altes Raster blendet aus, neues ein */
.mhp2-cal-raus { animation: mhpFadeOut 0.15s ease forwards; }
.mhp2-cal-rein { animation: mhpFadeIn 0.34s ease both; }
/* Footer-Texte (Zusammenfassung/Preis/Hinweis) beim Ändern sanft einblenden statt hart umschalten */
.mhp-bar-hinweis { animation: mhpFadeIn 0.28s ease; }
@media (prefers-reduced-motion: reduce) {
  .mhp, .mhp *, .mhp-modal, .mhp-modal-bg { animation: none !important; transition: none !important; }
}

/* ── Selects mit eigenem Pfeil (sauber positioniert), Radius kommt von oben ── */
.mhp select { -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11.2px center; padding-right: 33.6px; }

/* Einblend-Animationen: NEU erscheinende Blöcke + Seitenwechsel = reine Fades */
.mhp-anim-neu { animation: mhpFadeIn 0.78s ease both; scroll-margin: 80px 0 110px; }
.mhp-anim-seite { animation: mhpFadeIn 0.6s ease both; }
.mhp-seite-raus { animation: mhpFadeOut 0.28s ease both; }   /* Dauer = setTimeout(go, 280) in seiteWechseln */

.mhp input[type="checkbox"], .mhp input[type="radio"], .mhp-modal input[type="checkbox"], .mhp-modal input[type="radio"] { accent-color: #4f6279; }

/* ── Deutlicher Fokus: man sieht sofort, welches Feld gerade dran ist (v.a. beim Tabben auf Seite 3) ── */
.mhp input:focus, .mhp select:focus, .mhp textarea:focus,
.mhp-special-ta:focus, .mhp2-feld select:focus,
.mhp3-feld input:focus, .mhp3-feld select:focus {
  outline: none;
  background-color: #eaf1f8;                        /* leichte navy Tönung (NICHT weiß) → hebt sich klar von Weiß ab */
  box-shadow: inset 0 0 0 2px #4f6279;   /* INSET: stuende sonst ueber die Formularkante und wuerde geclippt */
}
.mhp input[type="checkbox"]:focus-visible, .mhp input[type="radio"]:focus-visible {
  outline: 2px solid #4f6279; outline-offset: 2px; border-radius: 3px;
}
.mhp3-drop:focus-within { border-color: #4f6279; background: #eef3f8; box-shadow: 0 0 0 3px rgba(79,98,121,.28); }
.mhp2-gsrow input:focus { background-color: #fff; box-shadow: inset 0 0 0 1px #22c55e; }   /* Gutschein bleibt grün (zum Einlösen-Knopf) */
/* Fehler-Rot MUSS den Fokus-Rahmen schlagen — auch gegen später geladenes Joomla/Balbooa-:focus.
   mhpScrollZuFehler() fokussiert nach einem Weiter-/Absende-Versuch automatisch das erste rote Feld;
   ohne diese Regel überschreibt der Theme-Fokus (:focus{...!important}) das Rot. Hohe Spezifität schlägt das Theme. */
.mhp .mhp2-feld select.mhp2-fehlt:focus,
.mhp select.mhp2-fehlt:focus,
.mhp .mhp3-feld input.mhp3-fehlt:focus,
.mhp .mhp3-feld select.mhp3-fehlt:focus,
.mhp input.mhp3-fehlt:focus {
  box-shadow: inset 0 0 0 2px #ef4444 !important;
  background-color: #fef2f2 !important;
}
.mhp-herst-h { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: #4f6279;
  text-transform: uppercase; letter-spacing: .05em; padding: 0 0 4.8px 1.6px; margin-top: 20.8px; }
/* Seite 2: Dropdowns mehrspaltig auf Desktop; Kalender + Zeitwahl über die volle Breite */
.mhp2-links { display: block; }   /* Seite-2-Dropdowns einspaltig (auch Desktop) */
/* Kalenderknöpfe unter dem Kalender */
.mhp2-calnav--unten { margin-top: 9.6px; justify-content: flex-start; }
.mhp2-calnav--reset { justify-content: flex-end; }   /* Zurücksetzen + Erweiterter Modus rechtsbündig */
.mhp2-calnav--wz { margin-bottom: 8px; }

.mhp2-calnav--wz { margin: 10px 0 2px; }   /* Werkzeuge sitzen UNTER den Tagen */
.mhp-anim-grid { animation: mhpFadeIn 0.72s ease both; }   /* Kategorie-/Filterwechsel: reiner Fade */

.mhp2-calnav--unten .mhp-btn--ghost, .mhp2-calnav--unten .mhp2-erweitert-btn {
  height: 32px; padding: 0 13.6px; font-size: 12px; font-weight: 700; margin-left: 0; }
.mhp2-calnav--unten { gap: 6.4px; }
/* roter Pflicht-Rahmen abgerundet (AGB-Haken, Chips) — folgt der Rundung statt eckigem outline */
.mhp3-agb { border-radius: 5px; }
.mhp3-chip--fehlt { outline: none; box-shadow: inset 0 0 0 2px #ef4444; }

.mhp input[type="checkbox"], .mhp input[type="radio"],
.mhp-modal input[type="checkbox"], .mhp-modal input[type="radio"] { width: 19px; height: 19px; flex-shrink: 0; }
/* Mobile: Monat-Vorwärts-Pfeil am 1. Monat MUSS sichtbar sein (Basisregel stand später und gewann sonst) */
@media (max-width: 640px) { .mhp2-mnav--mobil { visibility: visible !important; } }
/* ── Mobile-Feinschliff ── */
@media (max-width: 620px) {
  .mhp-bar-grid { grid-template-columns: auto 1fr; gap: 9px 10px; padding: 0; }   /* padding 0: einheitlicher Footer-Abstand */
  .mhp-bar-zurueck { justify-self: start; }
  .mhp-bar-aktion { justify-self: end; min-width: 0; }
  .mhp-bar-aktion .mhp-btn { white-space: normal; line-height: 1.15; }
  .mhp-bar .mhp-btn--gross { font-size: 13.5px; padding: 6.5px 15px; }
  .mhp-bar .mhp-btn--weiter { padding: 6.5px 13px; font-size: 13.5px; }
  .mhp-bar-zurueck .mhp-btn--ghost { padding: 6px 11px; font-size: 13px; }
  .mhp-bar-hinweis { font-size: 12px; }   /* Fuehrungs-Hinweis kompakter */
  /* Kalender-Zeichnen-Buttons kleiner, damit sie in EINE Zeile passen */
  .mhp2-modus-btn { height: 25px; padding: 0 6px; font-size: 11px; }
  .mhp { padding-bottom: 84px; }
  .mhp-kopfzeile { margin-bottom: 16px; }
  .mhp-h2 { font-size: 19px; }   /* mobil groesser */
  .mhp2-zusbody { padding: 16px 16px 17.6px; }
  .mhp2-preisbox { padding: 16px 16px 17.6px; }
  .mhp2-zushead { padding: 11.2px 16px; }
}

.mhp-row-lock { width: 20px; text-align: center; flex-shrink: 0; font-size: 15px; line-height: 1; }
.mhp-row--lock .mhp-row-name { color: #9aa1a9; }
/* Gesperrte Zeichen-Werkzeuge (vor festgelegten Miettagen) */
.mhp2-modus-btn--aus { opacity: .4; cursor: not-allowed; }

/* Seite 3: Haken + sanft auf-/zufahrende Blöcke darunter.
   !important, weil Balbooa Gridbox generische p/div-Abstände mit !important überschreibt (bekannte Falle). */
.mhp3-mini { margin-top: 17.6px !important; }
/* AUFEINANDERFOLGENDE Haken-Zeilen kompakt —
   dazwischen liegt meist der (zu) geschlossene Aufklapp-Block, daher beide Nachbarschaften */
.mhp3-mini + .mhp3-mini, .mhp3-aufklapp-wrap + .mhp3-mini { margin-top: 8px !important; }
/* Aufklapp-Block: Höhe wird sanft animiert (grid-template-rows 0fr↔1fr) → kein harter Sprung,
   alles darunter verschiebt sich flüssig. Inhalt bleibt im DOM (geschlossen: 0 Höhe, inert). */
.mhp3-aufklapp-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.49s cubic-bezier(.22,.61,.36,1); }
.mhp3-aufklapp-wrap[data-open="1"] { grid-template-rows: 1fr; }
/* padding-top animiert MIT (0fr klemmt nur den Inhalt, nicht das Padding — die 14px
   stuenden sonst auch ZU als Luft zwischen den Haken-Zeilen) */
.mhp3-aufklapp-inner { overflow: hidden; min-height: 0; padding-top: 0 !important;
  transition: padding-top 0.49s cubic-bezier(.22,.61,.36,1); }
.mhp3-aufklapp-wrap[data-open="1"] .mhp3-aufklapp-inner { padding-top: 14px !important; }   /* Abstand Haken→Inhalt sitzt IM animierten Block */
.mhp3-aufklapp-inner > :first-child { margin-top: 0 !important; }
.mhp3-erkl { margin: 0 0 9.6px !important; }
@media (prefers-reduced-motion: reduce) { .mhp3-aufklapp-wrap { transition: none; } }

@media (max-width: 640px) { .mhp-steps { display: none; } }   /* mobil nur die Ueberschrift, kein Stepper */
.mhp2-zrow > span:last-child, .mhp2-gesamt > span:last-child { white-space: nowrap; }   /* Gesamtsumme: Euro bleibt am Betrag */

/* -- aufklappbare Mietdauer-Details in der dunklen Preisbox -- */
.mhp2-details { margin: 3.2px 0 9.6px; }
.mhp2-details summary { cursor: pointer; font-size: 13px; font-weight: 700; color: #4f6279;
  list-style: none; padding: 4px 0; user-select: none; }
.mhp2-details summary::-webkit-details-marker { display: none; }
.mhp2-details summary::after { content: " ▾"; }
.mhp2-details[open] summary::after { content: " ▴"; }

/* -- geklickter/aktiver Zustand gewinnt ueber :hover (sonst maskiert Hover die Auswahl) -- */
.mhp-row--on:hover { background: #d1fae5; }
.mhp-tab--on:hover { background: #202b40; color: #fff; }
.mhp2-erweitert-btn--on:hover { background: #202b40; color: #fff; }

/* -- Kategorien mobil als Dropdown statt Button-Reihe -- */
.mhp-tabs { display: contents; }
.mhp-tab-sel { display: none; }
@media (max-width: 640px) {
  .mhp-tabs { display: none; }
  .mhp-tab-sel { display: block; flex: 1 1 100%; height: 38px; }
}

/* ── Lebendige Text-/Zustandswechsel ── */
@keyframes mhpMitteFlash {   /* Hinweis-Wechsel: Fade + gruener Schein, OHNE Bewegung */
  0% { opacity: 0; background: rgba(34,197,94,.32); box-shadow: 0 0 0 6px rgba(34,197,94,.14); }
  60% { opacity: 1; }
  100% { background: transparent; box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.mhp-mitte-wechsel { animation: mhpMitteFlash 0.91s ease; }
.mhp-bar-mitte { padding: 1.9px 8px; border-radius: 6px; }

/* ── Auswahl-Popup (prominenter Prüf-Moment) ── */
/* Auswahl-Popup (Footer-Liste): bei Überlänge scrollt NUR die Auswahlliste — Kopf und
   Ja/Nein-Knöpfe bleiben immer sichtbar. */
.mhp-modal--auswahl { max-width: 520px; padding: 0 0 16px; }
.mhp-modal--auswahl .mhp-msg-kopf, .mhp-modal--auswahl .mhp-expand-actions { flex: 0 0 auto; }
/* Geräte-Wahl-Popup (Mount/Brennweiten/Zubehör): gleiche Mechanik über die Scroll-Spur */
.mhp-modal-scroll { overflow-y: auto; min-height: 0; flex: 1 1 auto; -webkit-overflow-scrolling: touch; }
.mhp-modal-kopf, .mhp-expand-actions, .mhp-expand-msg { flex: 0 0 auto; }
.mhp-modal--auswahl .mhp-msg-kopf { background: #4f6279; color: #fff; font-weight: 700; font-size: 15px; padding: 12.8px 19.2px; }
.mhp-modal--auswahl .mhp-expand-actions { padding: 6.4px 19.2px 0; }

/* ── Aufklappbare Auswahl-Zeile im Footer (Seite 1) ── */
.mhp-bar--s1 .mhp-bar-grid { grid-template-columns: 1fr auto; }
.mhp-bar--s1 .mhp-bar-mitte { justify-self: start; text-align: left; }

/* ── BOTTOM-SHEET „Deine Auswahl / Zusammenfassung": die Karte
   selbst lugt PERMANENT mit ihrem navy Kopf über dem Footer hervor (Teaser mit Stückzahl +
   Summe), schwebt frei mit Schatten und lässt sich am Kopf hochziehen/zuziehen. ── */
/* ECHTE schwebende Tile: mit Luft zum Footer abgelöst, rundum rund + Schatten */
/* Karten-STAPEL ueber dem Footer (getrennte Karten) */
.mhp-zsm-stapel { position: absolute; left: 0; right: 0; bottom: calc(100% + 18px);
  display: flex; flex-direction: column; gap: 10px; }   /* mehr Luft zu den freien Nav-Buttons */
.mhp-sheet { position: relative; --kopfH: 44px; height: var(--kopfH);   /* duennere Kachel */
  overflow: hidden; background: #202b40; border-radius: 12px;
  /* leichterer, engerer Schatten — faellt nicht auf die freistehenden Nav-Buttons */
  box-shadow: 0 6px 18px rgba(15, 23, 42, .22), 0 1px 4px rgba(15, 23, 42, .14);
  transition: height .45s cubic-bezier(.22, .61, .36, 1); }
/* Kopf im FOOTER-Dunkelblau; Text exakt mittig */
.mhp-sheet-kopf { position: relative; display: flex; align-items: center; width: 100%; height: var(--kopfH);
  padding: 0 16px; background: #202b40; color: #fff; border: 0; cursor: grab; font: inherit;
  text-align: left; touch-action: none; user-select: none; -webkit-user-select: none;
  transition: background-color .26s ease; }
.mhp-sheet-kopf:hover { background: #2a3750; }
.mhp-sheet--offen .mhp-sheet-kopf { background: #2a3750; }   /* offene Kachel behaelt das Hover-Blau im Kopf */
.mhp-sheet-kopf:active { cursor: grabbing; }
/* Titel + Summe auf EINER Schriftgrundlinie (baseline) — Chevron mittig dazu */
.mhp-sheet-zeile { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; }   /* vertikal mittig */
.mhp-sheet-titel { flex: 0 0 auto; font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: inline-flex; align-items: center; gap: 7px; }   /* Plakette/Badge exakt mittig zur Textzeile */
.mhp-sheet-titel .mhp-zsm-warn { margin-right: 0; }
/* Kopf-Zusammenfassung: RECHTSbuendig + im gleichen Stil wie der Geldbetrag,
   kleiner; wird beim Oeffnen der Karte ausgeblendet (Inhalt steht dann darunter) und beim Schliessen wieder ein. */
.mhp-sheet-info { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  text-align: right; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: 0; text-transform: none;
  transition: opacity .2s ease; }
.mhp-sheet--offen .mhp-sheet-info { opacity: 0; }
.mhp-sheet-summe { margin-left: auto; font-size: 12px; font-weight: 700; white-space: nowrap; transition: opacity .2s ease; }
/* Preis + Badge im Kopf blenden beim Oeffnen mit aus (nur der Chevron bleibt) */
.mhp-sheet--offen .mhp-sheet-summe,
.mhp-sheet--offen .mhp-sheet-kopfbadge { opacity: 0; }
/* Scrollleiste NUR, wenn die Karte am Viewport-Deckel ist (Inhalt passt nicht) — nie beim Aufziehen */
.mhp-sheet-body { height: calc(100% - var(--kopfH)); overflow-y: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mhp-sheet--scroll .mhp-sheet-body { overflow-y: auto; }
/* Nicht-scrollender Body ist ZIEH-Fläche (Wisch-zu wie bei nativen Bottom-Sheets) */
.mhp-sheet:not(.mhp-sheet--scroll) .mhp-sheet-body { touch-action: none; }
/* EDLES Aufleuchten bei jeder Auswahl-Änderung: sanfte Aufhellung + ein feiner
   Licht-Schimmer gleitet einmal über den Kopf — kein plumper Ring */
@keyframes mhpSheetGlanz { 0% { left: -45%; } 100% { left: 115%; } }
/* Aktualisiert-Schein: ein Licht-Sweep ueber die GANZE Kachel bei jeder Aenderung */
.mhp-sheet--puls::after { content: ''; position: absolute; top: 0; bottom: 0; width: 34%; z-index: 6;
  left: -45%; background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .17), transparent);
  animation: mhpSheetGlanz .9s ease; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .mhp-sheet--puls::after { animation: none; } }
/* Karten-Auftritte: NEU erscheinen = von unten hereinschweben; letztes Equipment
   entfernt = nach unten verschwinden; Seitenwechsel fährt sie sichtbar zu (JS) */
@keyframes mhpSheetRein { from { transform: translateY(26px); opacity: 0; } }
.mhp-sheet--rein { animation: mhpSheetRein .45s cubic-bezier(.22, .61, .36, 1) !important; }   /* gewinnt gegen die Nudge-:has-Regel (Karte B kaeme sonst ohne Entrance) */
.mhp-sheet--raus { transform: translateY(30px); opacity: 0; transition: transform .32s ease, opacity .32s ease, height .45s; }
@media (prefers-reduced-motion: reduce) { .mhp-sheet--rein { animation: none; } .mhp-sheet--raus { transition: none; } }
/* Kopf-Badges neben dem Preis: gruener Rabatt bzw. rotes ! beim Mindestmietwert */
.mhp-sheet-kopfbadge { display: inline-flex; align-items: center; justify-content: center; height: 19px;
  border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 700; letter-spacing: 0;
  margin-left: auto; flex: 0 0 auto; transition: opacity .2s ease; }
.mhp-sheet-kopfbadge + .mhp-sheet-summe { margin-left: 9px; }
.mhp-sheet-kopfbadge--rabatt { background: rgba(52, 211, 153, .16); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, .45); }
.mhp-sheet-kopfbadge--warn { background: #dc2626; color: #fff; min-width: 19px; padding: 0 6px; }
/* Auf-/Zuklapp-Pfeil (Material) rechts im Kopf — dreht sich beim Oeffnen */
.mhp-sheet-chevron { flex: 0 0 auto; margin-left: auto; display: inline-flex; align-items: center;
  color: rgba(255,255,255,.85); transition: transform .28s cubic-bezier(.22,.61,.36,1); }
.mhp-sheet-chevron svg { display: block; }
.mhp-sheet--offen .mhp-sheet-chevron { transform: rotate(180deg); }
/* Preis-Karten-Kopf: Badge + Gesamtpreis + Chevron als EINE Gruppe rechts */
.mhp-sheet-kopfrechts { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; min-width: 0; }
.mhp-sheet-kopfrechts .mhp-sheet-summe { margin-left: 0; }
.mhp-sheet-kopfrechts .mhp-sheet-chevron { margin-left: 0; }
.mhp-sheet-kopfrechts .mhp-sheet-kopfbadge { margin-left: 0; align-self: center; }
@media (max-width: 900px) {
  .mhp-sheet-chevron svg { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  /* Mobil zeigt die Mietdaten-Karte offen nur die EINFACHE Info —
     die Spezial-Aufschlüsselungs-Tabelle ist Desktop-Detail und bleibt mobil aus. */
  .mhp-sheet .mhp2-details--voll { display: none; }
  /* mobil braucht es die Netto-Zeile nicht (Platz sparen) */
  .mhp2-preisbox .mhp2-zrow.mhp2-klein { display: none; }
}

/* Footer-Buttons wechseln SANFT beim Seitenwechsel (Crossfade statt hartem Tausch) */
@keyframes mhpBtnRein { from { opacity: 0; } to { opacity: 1; } }
.mhp-bar-fadein { animation: mhpBtnRein .34s ease .04s both; }
.mhp-bar-zurueck, .mhp-bar-aktion { transition: opacity .18s ease; }
.mhp-bar-fadeout { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .mhp-bar-fadein { animation: none; } .mhp-bar-zurueck, .mhp-bar-aktion { transition: none; } }
.mhp-sheet .mhp2-zusammen { margin: 0; box-shadow: none; border-radius: 0; }
/* ── Karte B offen: EINE dunkle Flaeche, KEINE Karten in der Karte —
   Sektion "Mietdaten" (Eckdaten + Timeline verschmolzen, Aufklapper darunter), dann die
   Preisbox als "Berechnung & Preis" (Hairline statt Farbwechsel) ── */
.mhp2-zusammen--dunkel .mhp2-zusbody { background: #202b40; color: #fff; }
.mhp2-zusammen--dunkel .mhp2-preisbox { border-top: 1px solid rgba(255,255,255,.14); }
/* Eck-Zeile ueber die GANZE Breite: Mietzeitraum + Mietdauer als eigene Ueberschriften,
   der Mietdauer-Aufklapper als DRITTE Spalte; die Timeline schliesst darunter an */
.mhp2-zusammen--dunkel .mhp2-eck { display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 24px; align-items: start; border: none; padding: 0; margin: 2px 0 10px; }
/* Mietzeitraum + Mietdauer bleiben AUCH mobil nebeneinander, nur kleiner */
.mhp2-zusammen--dunkel .mhp2-eck-item { padding: 0; border-left: none; min-width: 0; }
.mhp2-zusammen--dunkel .mhp2-eck-item + .mhp2-eck-item { border-left: none; }
.mhp2-zusammen--dunkel .mhp2-eck-lbl { color: rgba(255,255,255,.8); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }   /* im Stil der Sektions-Titel */
.mhp2-zusammen--dunkel .mhp2-eck-wert { color: #fff; font-size: 13px; }
/* Aufschluesselung als eigene 3. Spalte neben der Mietdauer (nur Desktop).
   GLEICHE Drittel (nicht 1.5fr): sonst wirkt die Zeile linkslastig */
.mhp2-zusammen--dunkel .mhp2-eck--drei { grid-template-columns: 1fr 1fr 1fr; }
/* Trennlinie zwischen Kopf-Infos und Timeline — gleiche Hairline wie zur Preisbox */
.mhp2-zusammen--dunkel .mhp2-ablauf { border-top: 1px solid rgba(255,255,255,.14); margin-top: 12px; padding-top: 14px; }
.mhp2-zusammen--dunkel .mhp2-eck-item--sub .mhp2-eck-sub:first-of-type { margin-top: 0; }   /* 1. Zeile auf Wert-Hoehe */
@media (max-width: 640px) {
  .mhp2-zusammen--dunkel .mhp2-eck { gap: 5px 14px; margin: 0 0 8px; }
  .mhp2-zusammen--dunkel .mhp2-eck--drei { grid-template-columns: 1fr 1fr; }   /* mobil zurueck auf 2 Spalten */
  .mhp2-zusammen--dunkel .mhp2-eck-item--sub { display: none; }                 /* Aufschluesselung mobil ausgeblendet */
  .mhp2-zusammen--dunkel .mhp2-eck-wert { font-size: 12px; }
  .mhp2-zusammen--dunkel .mhp2-eck-lbl { font-size: 9px; }
}
/* kompakte Mietdauer-Zeilen (normale Anmietung): reine Miettage + amber +0,5-Zeilen */
.mhp2-zusammen--dunkel .mhp2-eck-sub { display: block; font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,.6); margin-top: 3px; }
.mhp2-zusammen--dunkel .mhp2-eck-wert + .mhp2-eck-sub { margin-top: 6px; }
.mhp2-zusammen--dunkel .mhp2-eck-sub--plus { color: #fbbf24; }
/* mobil braucht es die Netto-/Besitztage-Aufschluesselung unter der Mietdauer nicht (Platz sparen) */
@media (max-width: 640px) { .mhp2-zusammen--dunkel .mhp2-eck-sub { display: none; } }
/* Equipment-Kachel dunkel: Zeilen der Auswahl-Liste hell umtoenen */
.mhp2-zusammen--dunkel .mhp2-eq-name { color: #fff; }
.mhp2-zusammen--dunkel .mhp2-eq-det { color: rgba(255,255,255,.55); }
.mhp2-zusammen--dunkel .mhp2-eq-preis b { color: #fff; }
.mhp2-zusammen--dunkel .mhp2-eq-preis span { color: rgba(255,255,255,.5); }
.mhp2-zusammen--dunkel .mhp2-eq-opt { color: rgba(255,255,255,.75); }
.mhp2-zusammen--dunkel .mhp2-eq-opt-name::before { color: rgba(255,255,255,.45); }
.mhp2-zusammen--dunkel .mhp2-eq-opt-preis { color: rgba(255,255,255,.5); }
.mhp2-zusammen--dunkel .mhp2-eq-tagsum { color: #fff; border-top-color: rgba(255,255,255,.2); }
.mhp2-zusammen--dunkel .mhp2-eq-tagsum b { color: #fff; }
/* "Aufschluesselung deines Mietzeitraums" — MITTIG unter der Timeline, Tabelle ueber die GANZE
   Breite. Die !important sind noetig: die helle Basis-Tabelle (display:contents-Zeilen) zerrisse das Grid sonst. */
.mhp2-zusammen--dunkel .mhp2-details--voll { margin: 4px 0 0; border-top: none; padding-top: 0; }
.mhp2-zusammen--dunkel .mhp2-details--voll summary { color: #fbbf24; background: transparent; border: none;
  padding: 4px 0 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; text-align: center; }
.mhp2-zusammen--dunkel .mhp2-details--voll summary:hover { color: #fcd34d; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-ptab { display: block; margin-top: 6px; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-trow { display: grid !important;
  grid-template-columns: minmax(190px, max-content) auto 1fr auto !important;
  gap: 0 18px !important; padding: 5.5px 0 !important; border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important; border-radius: 0 !important;
  background: transparent !important; align-items: baseline; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-trow--sum { border-bottom: none !important;
  border-top: 1.5px solid rgba(255,255,255,.3) !important; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-trow > span { grid-area: auto !important; grid-column: auto !important; grid-row: auto !important;
  border: none !important; padding: 0 !important; background: transparent !important; opacity: 1 !important; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-tdatum { font-size: 12px; color: rgba(255,255,255,.6) !important; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-tart { font-weight: 700; font-size: 12px; color: rgba(255,255,255,.94) !important; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-tgrund { font-size: 12px; color: rgba(255,255,255,.55) !important; }
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-twert { font-weight: 700; color: #fff !important; text-align: right; }
/* BESITZTAGE + FRUEHANLIEFERUNG: gelb markierte Zeilen (ersetzen den Erklaertext) */
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-trow--besitz > span,
.mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-trow--frueh > span { color: #fbbf24 !important; }
@media (max-width: 640px) {   /* schmal: Datum/Grund unter die Art-Zeile */
  .mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-trow { grid-template-columns: 1fr auto !important;
    grid-template-areas: "art wert" "datum wert" "grund wert" !important; gap: 0 14px !important; }
  .mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-tart { grid-area: art !important; }
  .mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-tdatum { grid-area: datum !important; font-size: 11px; }
  .mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-tgrund { grid-area: grund !important; font-size: 11px; }
  .mhp2-zusammen--dunkel .mhp2-details--voll .mhp2-twert { grid-area: wert !important; }
}
.mhp2-zusammen--dunkel .mhp2-details .mhp2-trow { border-bottom-color: rgba(255,255,255,.14); }
.mhp2-zusammen--dunkel .mhp2-details .mhp2-trow--sum { border-top-color: rgba(255,255,255,.3); }
.mhp2-zusammen--dunkel .mhp2-tdatum, .mhp2-zusammen--dunkel .mhp2-tart { color: rgba(255,255,255,.92); }
.mhp2-zusammen--dunkel .mhp2-tgrund { color: rgba(255,255,255,.55); }
.mhp2-zusammen--dunkel .mhp2-twert { color: #fff; }
/* Abholzeit-Hinweis (amber) auf dunkel */
.mhp2-zusammen--dunkel .mhp2-hinweis { background: rgba(251, 191, 36, .1); border-color: rgba(251, 191, 36, .4); color: #fbbf24; margin-top: 20px; }
.mhp-sheet .mhp2-zushead { display: none; }   /* der Sheet-Kopf IST der Kartenkopf — nichts doppelt */
.mhp-zsm-warn { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px;
  border-radius: 50%; background: #f59e0b; color: #1f2937; font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.mhp2-eq-tagsum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-top: 1px solid #d7dee8; margin-top: 9.6px; padding-top: 8px; font-size: 14px; color: #1f2d3d; }
.mhp2-eqliste .mhp-x { margin-left: 10px; flex: 0 0 auto; }
/* Loesch-Knopf: transparenter Kreis, ROT umrandet, rotes X (grau auf hellblau ist unleserlich) */
.mhp-sheet .mhp-x { width: 24px; height: 24px; background: transparent; border: 1.5px solid #dc2626; color: #ef4444; }
.mhp-sheet .mhp-x:hover { background: rgba(220, 38, 38, .16); color: #f87171; border-color: #ef4444; }
.mhp-sheet .mhp-x--sm { width: 21px; height: 21px; }
/* SVG-Kreuz statt Font-Glyphe — pixelgenau zentriert (gleiche Lektion wie beim Eck-Badge) */
.mhp2-eqliste .mhp-x svg { width: 11px; height: 11px; display: block; }
.mhp2-eqliste .mhp-x--sm svg { width: 9px; height: 9px; }
@media (max-width: 820px) {   /* Kante buendig zum Kopf (12.8px-Padding) */
  /* KEIN left/right-Override — die Tile erbt die Formular-Kanten der Footer-Kachel */
  .mhp-sheet { --kopfH: 38px; }   /* mobil noch schlanker */
  .mhp-sheet-kopf { padding: 0 12px; }   /* Text exakt mittig, wie Desktop */
  .mhp-sheet-titel { font-size: 10px; }
  .mhp-sheet-summe { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .mhp-sheet { transition: none; } }
@media (max-width: 700px) { .mhp-bar--s1 .mhp-bar-grid { grid-template-areas: none; } }

/* ── Hersteller/Art als Button-Zeile unter den Kategorien (Desktop); bricht sie um → Dropdown ── */
.mhp-dims { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6.4px; margin-top: 2.4px; }
.mhp-dim { display: flex; align-items: center; flex-wrap: wrap; gap: 6.4px; }
.mhp-dim-btns { display: flex; flex-wrap: wrap; gap: 6.4px; }
.mhp-dbtn { border: none; background: #eef1f4; border-radius: 5px; padding: 0 12.8px; height: 32px;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: #556; }
.mhp-dbtn:hover { background: #e2e6ea; color: #212121; }
.mhp-dbtn--on, .mhp-dbtn--on:hover { background: #4f6279; color: #fff; }
.mhp-dim-sel { display: none; max-width: 220px; }
.mhp-dim--drop .mhp-dim-btns { display: none; }
.mhp-dim--drop .mhp-dim-sel { display: inline-block; }
@media (max-width: 640px) {   /* mobil immer Dropdown (wie die Kategorien) */
  .mhp-dim-btns { display: none; }
  .mhp-dim-sel { display: block; flex: 1 1 100%; max-width: none; width: 100%; }
}

/* ── Footer animiert wachsen/schrumpfen, X deutlicher, Stepper wuchtiger ── */
/* X-Entfernen als klarer runder Knopf */
.mhp-x { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  background: #eef1f4; border: 1px solid #e2e6ea; color: #64707e; font-size: 18px; line-height: 1;
  border-radius: 50%; cursor: pointer; padding: 0; flex-shrink: 0; }
.mhp-x:hover { background: #fee2e2; border-color: #fca5a5; color: #b91c1c; }
.mhp { transition: none; }   /* Content-Abstand wird per JS (paddingAnwenden) nachgezogen — eine CSS-Transition kaempft dagegen und ruckelt */
/* Stepper oben wuchtiger */
.mhp-steps { margin-bottom: 30.4px; gap: 9.6px; }
.mhp-step { padding: 14.4px 11.2px; border-radius: 12px; gap: 9.6px; box-shadow: 0 1px 3px rgba(17,24,39,.05); }   /* 12px wie alle Karten */
.mhp-step-txt { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.mhp-step--on { box-shadow: 0 5px 16px rgba(32,43,64,.32); }
/* Mobil Seite-1-Footer: Auswahl-Zeile ÜBER dem Knopf stapeln (kein Überlappen mehr).
   FLEX statt Grid — so ignoriert es das grid-area:hint/aktion der Kinder (sonst erzeugen die
   Phantom-Zeilennamen implizite Spalten und legen Zeile + Knopf übereinander). */
@media (max-width: 700px) {
  /* NUR das leere S1 (kein Stapel) stapelt Hinweis + Knopf; S1 MIT Kacheln nutzt den sauberen
     hat-stapel-Grid wie S2/S3 (Abstaende sonst anders als S2) */
  .mhp-bar--s1:not(.mhp-bar--hat-stapel) .mhp-bar-grid { display: flex; flex-direction: column; align-items: stretch;
    justify-content: center; gap: 8px; min-height: 62px; box-sizing: border-box; }
  .mhp-bar--s1:not(.mhp-bar--hat-stapel) .mhp-bar-aktion .mhp-btn { width: 100%; }
}

/* ── Sicherheit: Honeypot unsichtbar auslagern, Turnstile-Container ── */
.mhp-hp { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mhp3-turnstile { display: flex; justify-content: center; padding: 12.8px; }

/* ── Footer Seite 1 ── */
.mhp-bar--s1 .mhp-bar-mitte { flex-direction: row; align-items: center; gap: 11.2px; flex-wrap: wrap; }
.mhp-bar--s1 { overflow: visible; }
@media (max-width: 700px) {
  .mhp-bar--s1 .mhp-bar-mitte { flex-direction: row; flex-wrap: nowrap; align-items: center;
    justify-content: space-between; gap: 8px; width: 100%; }
}
/* Exit: zu entfernende Zeile(n) sanft ausblenden — danach faehrt der Rest weich nach oben (Panel-Hoehe animiert, siehe mhpRemove) */
.mhp-raus { opacity: 0 !important; transition: opacity 0.24s ease !important; pointer-events: none; }   /* reiner Fade-out */
@media (prefers-reduced-motion: reduce) { .mhp-raus { transition: none !important; } }
/* Eckdaten-Streifen: Mietdauer · Mietzeitraum · Gesamt (brutto) — füllt den Raum über der Timeline */
.mhp2-eck { display: flex; flex-wrap: wrap; gap: 11.2px 32px; margin: 16px 0 4.8px; padding: 13.6px 0;
  border-top: 1px solid #eef1f4; border-bottom: 1px solid #eef1f4; }
.mhp2-eck-item { display: flex; flex-direction: column; gap: 1.9px; }
.mhp2-eck-lbl { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #9aa1ab; }
.mhp2-eck-wert { font-size: 14px; font-weight: 700; color: #212121; }
/* „Wie kommt die Mietdauer zustande?" kompakter */
.mhp2-details .mhp2-zrow { font-size: 12px; padding: 1.6px 0; }

/* ── Buttons hüpfen beim Hover nicht — nur Farbe/Schatten, keine Bewegung ── */
.mhp-btn:hover:not(:disabled), .mhp-btn--ghost:hover:not(:disabled) { transform: none; box-shadow: 0 2px 8px rgba(32,43,64,.14); }
.mhp-btn:active:not(:disabled) { transform: scale(.97); }   /* Klick-Feedback bleibt (kein Hover-Hüpfen) */

/* ── Besitztage-Erklärung sitzt im Ausklapp-Detail (dunkler Kasten) → dezent statt großer gelber Block ── */
.mhp2-details .mhp2-hinweis { margin: 8px 0 1.6px; font-size: 12px; }

/* ── Heller Bereich = klare weiße Karten; dunkler Kasten = nur Berechnung/Preise ── */
.mhp2-preisbox > .mhp2-sec:first-child { margin-bottom: 11.2px; }

/* ── Zusammenfassung im Editorial-/Rechnungsstil — KEINE Karten, Abschnitts-Labels (navy Kapitälchen) + durchgehende Haarlinien ── */
.mhp2-zusbody { padding: 22.4px 25.6px 24px; }
/* Abschnitts-Labels = kleine navy Kapitälchen (Eyebrow) */
.mhp2-zusammen .mhp2-sec { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: #4f6279; margin: 0 0 9.6px; }
.mhp2-preisbox .mhp2-sec { color: rgba(255,255,255,.8); }   /* im dunklen Block hell (nach der navy-Regel neu setzen) */

/* ── Eckdaten = zwei volle Spalten (Mietzeitraum | Mietdauer) mit senkrechter Haarlinie ── */
.mhp2-abschnitt .mhp2-eck { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: none; padding: 0; margin: 1.6px 0 0; }
.mhp2-eck-item { padding: 0 25.6px; }
.mhp2-eck-item:first-child { padding-left: 0; }
.mhp2-eck-item + .mhp2-eck-item { border-left: 1px solid #eaedf1; }
@media (max-width: 560px) {
  .mhp2-abschnitt .mhp2-eck { grid-template-columns: 1fr; gap: 14.4px; }
  .mhp2-eck-item { padding: 0; }
  .mhp2-eck-item + .mhp2-eck-item { border-left: none; }
}

/* ── „Wie kommt die Mietdauer zustande?" als chronologische Tabelle (Datum · Was · Wert) ── */
.mhp2-details .mhp2-trow { display: grid; grid-template-columns: auto 1fr auto; gap: 2.4px 17.6px; padding: 3.5px 0; font-size: 13px; align-items: baseline; }
.mhp2-tdatum { color: #4f6279; white-space: nowrap; font-weight: 600; }
.mhp2-twert { text-align: right; font-weight: 600; color: #212121; white-space: nowrap; }
.mhp2-trow--sum { border-top: 1px solid #dde3e8; margin-top: 4px; padding-top: 6.7px; }
.mhp2-trow--sum .mhp2-twert { font-weight: 700; color: #212121; }
@media (max-width: 560px) {
  .mhp2-details .mhp2-trow { grid-template-columns: 1fr auto; }
}

/* ── Tabelle mit EIGENER Erklärungs-Spalte (Datum · Art · Grund · Wert) ── */
.mhp2-details .mhp2-trow { grid-template-columns: auto auto 1fr auto; }
.mhp2-tart { color: #212121; font-weight: 600; white-space: nowrap; }
.mhp2-tgrund { color: #6b7280; }
.mhp2-trow--sum .mhp2-tart { font-weight: 700; color: #212121; }
@media (max-width: 640px) {
  .mhp2-details .mhp2-trow { grid-template-columns: 1fr auto; gap: 0.8px 12.8px; }
  .mhp2-tdatum { grid-row: 1; grid-column: 1; }
  .mhp2-twert { grid-row: 1; grid-column: 2; }
  .mhp2-tart { grid-row: 2; grid-column: 1 / -1; }
  .mhp2-tgrund { grid-row: 3; grid-column: 1 / -1; color: #888; font-size: 12px; }
}

/* ── Popups: keine dünne blaue Linie oben ── */
.mhp-modal { border-top: none; }

/* ── Ausklapp "Wie kommt die Mietdauer zustande?" ganzspaltig unter Deine Mietdaten ── */
.mhp2-details--voll { margin-top: 16px; }

/* ── Oberer Teil: Sektions-Bänder + Tabellen-Rhythmus ── */
/* Sektions-Überschriften als getönte Bänder mit navy Akzent (starke Abgrenzung, keine Karten) */
.mhp2-zusbody .mhp2-sec { background: #f2f5f9; border-radius: 5px; padding: 7.7px 13.6px; margin: 0 0 14.4px; position: relative; }
/* Abschnitts-Trennung übernehmen die Bänder → keine Haarlinie, nur Luft */
.mhp2-abschnitt + .mhp2-abschnitt { border-top: none; padding-top: 0; margin-top: 24px; }
.mhp2-details .mhp2-trow { align-items: baseline; }

/* ── Equipment-Liste der Zusammenfassung: Vorschaubilder + kräftigere Werte ── */
.mhp2-eqliste { display: flex; flex-direction: column; gap: 8.8px; }
.mhp2-eq-row { display: flex; align-items: flex-start; gap: 13.6px; }   /* Bild + Preis OBEN an der Zeile */
.mhp2-eq-img { width: 58px; height: 44px; object-fit: contain; background: #fff; border: 1px solid #eceff3; border-radius: 6px; flex-shrink: 0; }
.mhp2-eq-img--leer { background: #f5f7fa; }
.mhp2-eq-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1.9px; }
.mhp2-eq-name { font-weight: 700; color: #1f2733; font-size: 14px; }
.mhp2-eq-det { color: #8a919b; }
.mhp2-eq-preis { text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; }
.mhp2-eq-preis b { font-weight: 700; color: #1f2733; font-size: 15px; }
.mhp2-eq-preis span { font-size: 12px; color: #9aa1ab; }
/* Gerät + sein Zubehör als Block; Optionen KOMPAKT + eingerückt unter dem Gerät, ohne Bild */
.mhp2-eq-block { display: flex; flex-direction: column; gap: 4.8px; }
.mhp2-eq-opts { display: flex; flex-direction: column; gap: 3.2px; margin-left: 71.6px !important; }   /* = Bildbreite(58) + gap(13.6); !important gegen Balbooa-Reset */
/* Preis rechtsbuendig unter dem Geraetepreis: Name streckt, gap = Hauptzeilen-gap (13.6) —
   space-between drueckte den Preis mit drittem Kind (x-Knopf) in die MITTE */
.mhp2-eq-opt { display: flex; align-items: center; gap: 13.6px; font-size: 12px; color: #5a626d; }
.mhp2-eq-opt-name::before { content: "+ "; color: #9aa1ab; }
.mhp2-eq-opt-name { min-width: 0; flex: 1; }
.mhp2-eq-opt-preis { white-space: nowrap; color: #8a919b; font-size: 12px; }
@media (max-width: 640px) { .mhp2-eq-opts { margin-left: 0 !important; padding-left: 12px; border-left: 2px solid #e6eaef; } }   /* !important: die 71.6px-Basisregel ist selbst !important */

/* ── Bänder ohne Akzentbalken + volle Breite; Tabelle uniform (keine Farben) ── */
/* Zwischenüberschrift-Bänder über die GANZE Breite (bis an die Kartenränder) */
.mhp2-zusbody .mhp2-sec { margin-left: -25.6px; margin-right: -25.6px; padding-left: 25.6px; padding-right: 25.6px; border-radius: 0; }
@media (max-width: 620px) {
  .mhp2-zusbody .mhp2-sec { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}
/* „Wie kommt die Mietdauer zustande?" — klare, uniforme Tabelle (keine Zebra-Töne, keine Farbunterschiede) */
.mhp2-details .mhp2-trow { background: transparent; border-radius: 0; padding: 6.4px 1.6px; border-bottom: 1px solid #eef1f4; }
.mhp2-details .mhp2-trow--sum { border-bottom: none; border-top: 1.5px solid #cfd6df; }
.mhp2-trow--miet { background: transparent; }

/* ── Bündige Tabelle (ein Grid), Ausklapp amber ── */
/* EIN Grid für die ganze Tabelle → Spalten über alle Zeilen bündig */
.mhp2-ptab { display: grid; grid-template-columns: auto auto 1fr auto; }
.mhp2-details .mhp2-trow { display: contents; }
.mhp2-ptab > .mhp2-trow > span { padding: 6.7px 17.6px 6.7px 0; border-bottom: 1px solid #eef1f4; }
.mhp2-ptab > .mhp2-trow > .mhp2-tdatum { color: #4f6279; font-weight: 600; white-space: nowrap; }
.mhp2-ptab > .mhp2-trow > .mhp2-tart { color: #212121; font-weight: 600; white-space: nowrap; }
.mhp2-ptab > .mhp2-trow > .mhp2-twert { padding-right: 0; text-align: right; white-space: nowrap; font-weight: 600; color: #212121; }
.mhp2-ptab > .mhp2-trow--sum > span { border-bottom: none; border-top: 1.5px solid #cfd6df; padding-top: 8px; font-weight: 700; }
@media (max-width: 620px) {
  .mhp2-ptab { grid-template-columns: auto 1fr auto; }
  .mhp2-ptab > .mhp2-trow > .mhp2-tgrund { display: none; }
}
/* weisser Leerraum zwischen Kopf und erstem Band weg → erstes Band schliesst an den Header an */
.mhp2-zusbody > .mhp2-abschnitt:first-child > .mhp2-sec { margin-top: -22.4px; }
@media (max-width: 620px) { .mhp2-zusbody > .mhp2-abschnitt:first-child > .mhp2-sec { margin-top: -16px; } }
/* „Wie kommt die Mietdauer zustande?" staerker hervorgehoben — amber wie die Besitztage */
.mhp2-details--voll { border-top: none; padding-top: 3.2px; }
.mhp2-details--voll summary { color: #b45309; border-radius: 6px; font-size: 14px; }

/* ── Zusammenfassung typografisch: EINE dunkle Textfarbe (#1f2733), EINE Micro-Label-Typografie,
   zwei Grautöne (#6b7280 Sekundärtext, #9aa1ab Bildunterschrift). ── */
.mhp2-zusbody .mhp2-sec,
.mhp2-eck-wert,
.mhp2-eq-name,
.mhp2-eq-preis b,
.mhp2-ptab > .mhp2-trow > .mhp2-tart,
.mhp2-ptab > .mhp2-trow > .mhp2-twert,
.mhp2-ptab > .mhp2-trow--sum > span { color: #1f2733; }

.mhp2-zusammen .mhp2-sec { font-size: 11px; letter-spacing: .07em; }
.mhp2-eck-lbl { font-size: 11px; letter-spacing: .07em; color: #9aa1ab; }

.mhp2-klein { color: #6b7280; }
.mhp2-eq-det,
.mhp2-eck-sub,
.mhp2-eq-preis span { color: #9aa1ab; }
.mhp2-ptab > .mhp2-trow > .mhp2-tgrund { color: #6b7280; }
@media (max-width: 620px) { .mhp2-tgrund { color: #6b7280; font-size: 12px; } }

/* Fließtext-Zeilen einheitlich (Preisbox-Zeilen + Tabellen-Zellen) */
.mhp2-preisbox .mhp2-zrow { font-size: 13px; }
.mhp2-ptab > .mhp2-trow > span { font-size: 13px; }

/* ── Zusammenfassung deutlicher vom Formular abgesetzt ──
   hellblauer Grund statt Weiß + spürbar dunklere Zwischenüberschrift-Bänder. */
.mhp2-zusbody .mhp2-sec { background: #c7d5e7; }
/* Trennlinien auf dem hellblauen Grund sichtbar halten */
.mhp2-ptab > .mhp2-trow > span { border-bottom-color: #d2dce8; }
.mhp2-ptab > .mhp2-trow--sum > span { border-top-color: #adbdd2; }

/* ── Stepper ohne Nummer/Haken — Farbe reicht (grün=erledigt, navy=aktuell).
   Mobil zeigt der Text (verkleinert). */
@media (max-width: 520px) {
  .mhp-step-txt { display: block; font-size: 11px; line-height: 1.15; }
  .mhp-step { padding: 8.8px 4.8px; }
}

/* ── Nur-Text-Ausklapper, kleinere & einheitliche Größen, helleres Blau, Kopf = Preisbox-Dunkelblau ── */
/* „Wie kommt die Mietdauer zustande?" — nur gelber Text, KEIN Kasten */
.mhp2-details--voll summary { background: transparent; border: none; padding: 3.2px 0; }
.mhp2-details--voll[open] summary { margin-bottom: 8px; }
/* Obere Auflistungen so klein wie die „Berechnung & Preis"-Zeilen (13.6px) */
.mhp2-eq-name { font-size: 13px; }
.mhp2-eq-preis b { font-size: 13px; }
.mhp2-eq-det { font-size: 12px; }
.mhp2-eq-preis span { font-size: 11px; }
/* Mietzeitraum/Mietdauer kleiner + einheitlicher */
.mhp2-eck-wert { font-size: 14px; }
.mhp2-eck-lbl { font-size: 11px; }
/* Tabelle: leere Zellen (z. B. leerer Grund) nicht mehr auf anderer Höhe → Linie bricht nicht */
.mhp2-ptab { align-items: stretch; }
/* helleres Hintergrundblau */
.mhp2-zusammen, .mhp2-zusbody { background: #eef3f9; }
/* Kopf-Balken im selben Dunkelblau wie die Preisbox unten */
.mhp2-zushead { background: #202b40; }

/* ── Kopf so groß wie die Schritt-Titel + Desktop-Gesamtsumme größer ── */
/* „Zusammenfassung deiner Anmietung" = Größe der Schritt-Titel (.mhp-h2 = 21.6px) */
.mhp2-zushead { font-size: 18px; }
@media (max-width: 520px) { .mhp2-zushead { font-size: 16px; } }
/* Desktop: Gesamtsumme als große Hero-Zahl (Wert groß, Label ruhig) */
@media (min-width: 641px) {
  .mhp2-gesamt { align-items: baseline; }
  .mhp2-gesamt > span:first-child { font-size: 15px; }
  .mhp2-gesamt > span:last-child { font-size: 20px; line-height: 1.1; }
}

@media (max-width: 560px) { .mhp-bar-hilfe-txt { display: none; } }

/* ══════════════ Mobil-Feinschliff der Zusammenfassung, Tabelle, Filter, Footer ══════════════ */
@media (max-width: 640px) {
  /* — Zusammenfassung: Padding zurück auf 16px (spätere Desktop-Regel überschrieb den Mobil-Wert) + Bänder bündig zur Kante — */
  .mhp2-zusbody { padding: 16px 16px 17.6px; }
  .mhp2-zusbody .mhp2-sec { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }

  /* — Mietdauer-Tabelle: sauber GESTAPELT statt Zellen-Chaos (alte grid-row/column-Regeln neutralisiert) — */
  .mhp2-ptab { display: block; }
  .mhp2-details .mhp2-trow { display: grid; grid-template-columns: 1fr auto; column-gap: 12.8px; row-gap: 1.6px;
    padding: 7.2px 0; border-bottom: 1px solid #d2dce8; align-items: baseline; }
  .mhp2-details .mhp2-trow--sum { border-bottom: none; border-top: 1.5px solid #adbdd2; padding-top: 8px; }
  .mhp2-ptab > .mhp2-trow > span { border: none; padding: 0; }
  .mhp2-ptab > .mhp2-trow > .mhp2-tdatum { grid-row: 1; grid-column: 1; }
  .mhp2-ptab > .mhp2-trow > .mhp2-twert  { grid-row: 1; grid-column: 2; text-align: right; }
  .mhp2-ptab > .mhp2-trow > .mhp2-tart   { grid-row: 2; grid-column: 1 / -1; display: block; font-size: 12px; }
  .mhp2-ptab > .mhp2-trow > .mhp2-tgrund { grid-row: 3; grid-column: 1 / -1; display: block; font-size: 12px; }
  .mhp2-ptab > .mhp2-trow--sum > .mhp2-tdatum,
  .mhp2-ptab > .mhp2-trow--sum > .mhp2-tgrund { display: none; }
  .mhp2-ptab > .mhp2-trow--sum > .mhp2-tart { grid-row: 1; grid-column: 1; }

  /* — Seite 1 KOMPAKT: EINE Zeile
     [Kategorie | Suche] nebeneinander; Hersteller/Art (nur bei gewählter Kategorie)
     als zweite 50/50-Zeile darunter. Halbiert die Höhe des sticky Blocks. — */
  .mhp-tab-sel { order: 1; flex: 1 1 0; width: auto; max-width: none; min-width: 0; }
  .mhp-suche   { order: 2; flex: 1 1 0; min-width: 0; height: 38px; }
  .mhp-dims    { order: 3; flex-direction: row; gap: 6.4px; }
  .mhp-dims .mhp-dim { flex: 1 1 0; min-width: 0; }
  .mhp-dims .mhp-dim-sel { width: 100%; min-width: 0; }
  /* Filter oben mitscrollen (sticky) — klebt UNTER dem Website-Header (mobil 70px) */
  .mhp-kopf { position: sticky; top: 70px; z-index: 500; background: #fff; padding-top: 8px;
    padding-bottom: 10px; margin-bottom: 12px; }

  /* — Equipment-Bilder etwas kleiner — */
  /* Equipment-Vorschaubilder mobil kleiner -> mehr Platz fuer den Text */
  .mhp-row-img { width: 40px; height: 28px; }
  .mhp2-eq-img { width: 42px; height: 30px; }

  /* — Abstand zwischen den Dropdowns (mobil kompakter) — */
  .mhp2-feld { margin-bottom: 9px; }
  .mhp2-cal { margin-bottom: 18px; }

  /* — Kalender-Reset + Formular-Reset: mobil nur das Symbol, beide identisch quadratisch — */
  .mhp2-reset-txt, .mhp-steps-reset-txt { display: none; }
  .mhp-reset-pill { width: 32px; min-width: 32px; padding: 0; }

  /* — Footer: Zurück- und Vorwärts-Button gleich groß (Schritt 2/3) — */
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-grid { grid-template-columns: 1fr 1fr; }
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-zurueck,
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-aktion { justify-self: stretch; }
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-zurueck .mhp-btn,
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-aktion .mhp-btn {
    width: 100%; height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; }
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-zurueck .mhp-btn { justify-content: flex-end; }    /* Text rechts */
  .mhp-bar:not(.mhp-bar--s1) .mhp-bar-aktion .mhp-btn { justify-content: flex-start; }   /* Text links */
  /* Seite-1-„Mietdauer wählen"-Knopf genauso dick (46px) wie die Weiter-Knöpfe auf Seite 2/3 */
  .mhp-bar--s1 .mhp-bar-aktion .mhp-btn { height: 46px; box-sizing: border-box; display: inline-flex;
    align-items: center; justify-content: flex-start; }
}

/* ── Popup-Auswahlen ohne grauen Hintergrund (dezenter Rahmen statt Grau) ── */
.mhp-modal .mhp-chip { background: transparent; border: 1px solid #e3e7ec; }
.mhp-modal .mhp-chip:not(:has(input:checked)):hover { background: #f7f9fb; border-color: #cbd3dd; }
.mhp-modal .mhp-chip:has(input:checked) { background: #4f6279; color: #fff; border-color: #4f6279; }   /* Auswahl bleibt navy — Hover darf sie nicht überdecken */

/* ── Zeichenmodus: ungültige Tage bekommen einen roten-X-Cursor (Feedback) ── */
/* Rotes-X-Cursor für alle NICHT wählbaren Tage: nicht-malbar (nope), vergangen (aus), Urlaub. */
.mhp2-day--nope,
.mhp2-day.mhp2-aus,
.mhp2-day.mhp2-urlaub {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%3E%3Cg%20stroke-linecap='round'%3E%3Cpath%20d='M6%206%2018%2018%20M18%206%206%2018'%20stroke='%23ffffff'%20stroke-width='6'/%3E%3Cpath%20d='M6%206%2018%2018%20M18%206%206%2018'%20stroke='%23dc2626'%20stroke-width='3.4'/%3E%3C/g%3E%3C/svg%3E") 12 12, not-allowed;
}
.mhp2-day--nope:hover { background: rgba(220,38,38,.10); box-shadow: inset 0 0 0 1px rgba(220,38,38,.35); }
/* Werkzeug-Etikett am Zeichen-Cursor (erweiterter Modus) — folgt der Maus, blockiert keine Klicks */
.mhp2-cursor-label { position: fixed; z-index: 99999; pointer-events: none; display: none;
  background: #202b40; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2px;
  padding: 2px 7px; border-radius: 5px; white-space: nowrap; box-shadow: 0 2px 7px rgba(0,0,0,.28); }
/* Tap-Feedback (mobil, kein Hover/Cursor): kurzes rotes Aufleuchten beim Antippen eines ungültigen Tages */
@keyframes mhpNopeFlash {
  0%, 100% { background: rgba(220,38,38,.10); box-shadow: inset 0 0 0 1px rgba(220,38,38,.30); }
  40%      { background: rgba(220,38,38,.48); box-shadow: inset 0 0 0 2px rgba(220,38,38,.75); }
}
.mhp2-day--nope-flash { animation: mhpNopeFlash 0.65s ease-out; }

/* ══ Nav-Buttons stehen FREI auf dem Weissgrund — kein dunkler Kasten.
   Fuehrungs-Hinweis Desktop zwischen den Buttons, Mobil ueber den Kacheln. ══ */
.mhp-bar { background: transparent; }
.mhp-bar .mhp-bar-hinweis { color: #1b2536; }   /* dunkel + fett: liegt auf dem hellen Weissgrund */
/* ══ NUR die echten Nav-Buttons (in .mhp-bar-zurueck / .mhp-bar-aktion) stylen — NICHT die
   Karten-Buttons im Stapel (z. B. Einlösen), die ebenfalls in .mhp-bar liegen! ══ */
.mhp-bar-zurueck .mhp-btn, .mhp-bar-aktion .mhp-btn { position: relative; display: inline-flex; align-items: center; }
.mhp-nav-pfeil { position: absolute; top: 50%; transform: translateY(-50%); display: inline-flex; }
.mhp-nav-pfeil svg { display: block; }
.mhp-nav-pfeil--links { left: 14px; }
.mhp-nav-pfeil--rechts { right: 14px; }
/* Zurück: solide DUNKELBLAU, Text RECHTSbuendig, Pfeil links am Aussenrand */
.mhp-bar-zurueck .mhp-btn { background: #202b40; color: #fff; border: none; justify-content: flex-end;
  text-align: right; padding-left: 40px; padding-right: 18px; }   /* text-align: auch umgebrochene Zeilen rechtsbuendig */
.mhp-bar-zurueck .mhp-btn:hover:not(:disabled) { background: #2e3d57; box-shadow: 0 6px 16px rgba(32,43,64,.22); }
/* Weiter: Text LINKSbuendig, Pfeil rechts am Aussenrand; deaktiviert = gedaempftes ROT (statt grau) */
.mhp-bar-aktion .mhp-btn { justify-content: flex-start; text-align: left; padding-left: 18px; padding-right: 40px; }   /* text-align: auch umgebrochene Zeilen ("Mietanfrage absenden") linksbuendig */
.mhp-bar-aktion .mhp-btn:disabled { background: #d97b77; color: #fff; cursor: not-allowed; }
/* Unvollstaendig auf S2/S3: gleiches Blassrot wie der S1-disabled-Knopf, aber KLICKBAR —
   der Klick markiert die fehlenden Felder rot (einheitliche Farbsprache) */
.mhp-bar-aktion .mhp-btn--wartet { background: #d97b77; }
.mhp-bar-aktion .mhp-btn--wartet:hover:not(:disabled) { background: #d06a66; }

/* ══ Popup-Design, mobile Preisbox, Zeit-Picker, Hilfe-Klick, Footer-Warnung ══ */
/* Zeit-Picker-Abstand als Klasse statt Inline-Style im JS */
.mhp2-feld--zeit { margin-top: 15px; }   /* einheitlicher Abstand */
/* ?-Hilfe ist jetzt ein Button (Klick statt Hover — Touch!): Browser-Button-Optik neutralisieren */
.mhp-hilfe { border: none; padding: 0; font-family: inherit; cursor: pointer; }
.mhp-hilfe-box { font-size: 12px; color: #55606f; background: #f2f5f9; border-left: none;
  border-radius: 5px; padding: 8px 11.2px; margin: 6.4px 0 9.6px; line-height: 1.5; }
/* Turnstile-Karte als Fehler markierbar (Wegweiser beim Absenden) */
.mhp3-turnstile.mhp3-fehlt { border-radius: 5px; }
/* Mobile Preisbox: kurzes Gesamt-Label, aber die BERECHNUNG bleibt sichtbar wie am Desktop
   (der Kunde will Aufschlüsselung + Rabatt sehen). */
.mhp2-gkurz { display: none; }
@media (max-width: 640px) {
  .mhp2-glang { display: none; }
  .mhp2-gkurz { display: inline; }
  .mhp2-preisbox > .mhp2-zrow { font-size: 12px; }      /* sichtbar, nur kompakter */
  .mhp2-gsumme .mhp2-zrow.mhp2-klein { font-size: 11px; }
  /* Reihenfolge wie Desktop (Aufschlüsselung → Gutschein → Gesamt) — kein order:-1 mehr */
  .mhp2-gesamtzeile { border-top: none; margin-top: 0; padding-top: 0; }
  .mhp2-gesamt { align-items: baseline; }
  .mhp2-gesamt > span:first-child { font-size: 14px; }
  .mhp2-gesamt > span:last-child { font-size: 20px; line-height: 1.1; }
}

/* ══ Seite-2-Fuehrung navy statt Fehler-Rot ══ */
/* Unbeantwortete Seite-2-Felder sind FUEHRUNG ("hier geht's weiter"), kein Fehler — Rot ist fuer
   echte Fehler nach dem Absende-Versuch (Seite 3) reserviert. */
.mhp2-dran { box-shadow: inset 0 0 0 2px #9db2c8 !important; }
.mhp2-fehlt { box-shadow: inset 0 0 0 2px #ef4444 !important; }   /* fehlendes Pflichtfeld nach Weiter-Versuch (wie Seite 3) */
/* Kalender ohne (vollstaendige) Auswahl nach Weiter-Versuch: roter Rahmen um den ganzen Block */
.mhp2-fehlt-kal { box-shadow: inset 0 0 0 2px #ef4444; border-radius: 8px; padding: 6px; }
