/* ===================== Portale-Nacht 22.10.2026 (Teil B): Bewerber-Portal /bewerber und /bewerber/med =====================
   Grundlage: aussen-basis.css (Leitstand 2, Inter, Token hell und dunkel, Knöpfe, Felder, Kästen, Code-Feld, Berater-Karte, Blatt, fester Knopf unten).
   Hier nur der Aufbau: Anmeldung (mittige Karte), Mein Bereich (Handy zuerst eine Spalte, ab 1024 px Inhalt und Spalte mit Ansprechperson und Lohn-Info).
   Keine style-Attribute im Markup (strenge CSP der Portalseiten). iPersonal: Rot nur für die eine Hauptaktion. MediPersonal: Blau und Grün, nie Rot.
   Handy zuerst (390 px): nie seitwärts schieben, Tippflächen ab 44 px, wichtige Knöpfe unten.
   Update 19 (23.10.2026): «Mein Bereich» im Aufbau des Musters «Mitarbeiterportal» vom 13.10. (data/vorschau/portal-muster-13-10/3-mitarbeiterportal*.png):
   Kopf mit Reitern (portal.css .p-kopf, .p-nav, .p-wer), Raster Inhalt | Spalte 360 px, Begrüssung mit dunkler Karte, Einsatz-Zeilen mit farbigem Rand,
   Verfügbarkeit als Wahlkarten, Unterlagen-Liste mit «Neu», Berater-Karte (portal.css .p-bk), Empfehlen und Bewertung, am Handy Leiste unten mit den Reitern. */
body:not([data-mandant="med"]) .nur-med, body[data-mandant="med"] .nur-bau { display: none !important; }

/* ---------- Anmeldung ---------- */
.bp-buehne { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 24px var(--rand) 36px; }
.bp-karte-mitte { width: 100%; max-width: 480px; padding: 26px 20px; display: flex; flex-direction: column; gap: 18px; }
.bp-karte-mitte h1 { font-size: 24px; letter-spacing: -.02em; }
@media (min-width: 768px) { .bp-buehne { padding-top: 56px; } .bp-karte-mitte { padding: 34px 32px; } .bp-karte-mitte h1 { font-size: 28px; } }
.bp-teil { display: flex; flex-direction: column; gap: 16px; }
.bp-unter { color: var(--muted); font-size: 15.5px; }
.bp-klein { font-size: 13px; color: var(--muted); }
.bp-intern { font-size: 16px; font-weight: 700; }
.bp-fang { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-tel { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.bp-tel-nr { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 16px; color: var(--text); text-decoration: none; }
.bp-noch { width: 100%; max-width: 480px; }
.bp-noch > div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bp-noch span { font-size: 14px; }
.bp-noch .knopf { margin-top: 4px; }

/* ---------- Gemeinsame Bausteine aus der ersten Fassung (Stand, Unterlagen, Stellen, Angaben, Lohn, Fenster) ---------- */
.bp-satz { font-size: 15px; }
.bp-fehler { color: var(--fehler-tx); font-weight: 600; font-size: 14px; }
.bp-danke { margin-top: 4px; }

/* Mein Stand: Schritte (Handy senkrecht, ab 768 px waagrecht) */
.bp-schritte { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.bp-schritte li { position: relative; display: flex; align-items: center; gap: 12px; min-height: 40px; color: var(--muted); font-weight: 600; font-size: 15px; }
.bp-schritte li::before { content: ""; position: absolute; left: 13px; top: -10px; height: 20px; width: 2px; background: var(--line-strong); }
.bp-schritte li:first-child::before { display: none; }
.bp-schritte li.fertig::before { background: var(--text); }
.bp-punkt { position: relative; z-index: 1; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--flaeche-2); border: 2px solid var(--line-strong); color: var(--invers-tx); }
.bp-punkt svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
.bp-schritte li.fertig { color: var(--text); }
.bp-schritte li.fertig .bp-punkt { background: var(--invers-bg); border-color: var(--invers-bg); }
.bp-schritte li.jetzt { color: var(--text); font-weight: 700; }
.bp-schritte li.jetzt .bp-punkt { background: var(--haupt-bg); border-color: var(--haupt-bg); color: var(--haupt-tx); box-shadow: 0 0 0 4px var(--ak-bg); }
@media (min-width: 768px) {
  .bp-schritte { flex-direction: row; gap: 6px; }
  .bp-schritte li { flex: 1 1 0; min-width: 0; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13.5px; }
  /* Update 19: Linie vom vorigen Punkt bis zu diesem (vorher begann sie mitten im vorigen Schritt) */
  .bp-schritte li::before { left: calc(-100% + 22px); right: auto; top: 13px; width: calc(100% - 22px); height: 2px; margin-left: 0; }
}

/* Hochladen (Knopf mit verstecktem Dateifeld) */
.bp-ul-meldung { font-size: 13.5px; }
.bp-ul-meldung:empty { display: none; }
.bp-hoch { position: relative; cursor: pointer; }
.bp-hoch.laedt { opacity: .55; pointer-events: none; }
.bp-hoch:focus-within { outline: 3px solid var(--fokus); outline-offset: 2px; }
.bp-schutz { font-size: 13.5px; }

/* Stellen in meiner Region */
.bp-stellen { display: flex; flex-direction: column; gap: 10px; }
.bp-stelle { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--flaeche-2); }
.bp-stelle-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; align-items: flex-start; }
.bp-stelle-text b { font-size: 16px; overflow-wrap: anywhere; }
.bp-stelle-text span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.bp-stelle-text span svg.i { width: 16px; height: 16px; }
.bp-stelle-text small { font-size: 13px; color: var(--muted); }
.bp-stelle-text .plakette { margin-top: 4px; }
.bp-stelle-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (min-width: 600px) { .bp-stelle { flex-direction: row; align-items: center; justify-content: space-between; } .bp-stelle-knoepfe { flex: none; justify-content: flex-end; } }

/* Meine Angaben */
.bp-angaben { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px 14px; }
.bp-angaben dt { font-size: 12.5px; color: var(--muted-2); font-weight: 700; margin-top: 8px; }
.bp-angaben dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
@media (min-width: 600px) { .bp-angaben { grid-template-columns: 140px minmax(0, 1fr); } .bp-angaben dt { margin-top: 0; padding: 6px 0; } .bp-angaben dd { padding: 6px 0; } }

/* Lohn-Info */
.bp-lohn-liste { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.bp-lohn-liste li::marker { color: var(--ink); font-weight: 700; }

/* Ruhezeit */
.bp-ruhe { gap: 14px; }
.bp-countdown { font-family: var(--mono); font-size: 34px; font-weight: 700; text-align: center; }

/* ===================== Update 19: Mitarbeiterportal wie im Muster vom 13.10. ===================== */
body.bp-portal { --p-dunkel: #1D1D1F; --p-dunkel-tx: #FFFFFF; --mp-gruen: #1F8A4A; --mp-wa: #187A3E; }
html:not([data-theme="light"]) body.bp-portal { --p-dunkel: #E9ECF1; --p-dunkel-tx: #0A0B0E; --mp-gruen: #5FD08E; --mp-wa: #187A3E; } /* Korrektur 1 (Befund 8): #187A3E, weisse Schrift 5,4 zu 1 */
@media (prefers-color-scheme: light) { html:not([data-theme]) body.bp-portal { --p-dunkel: #1D1D1F; --p-dunkel-tx: #FFFFFF; --mp-gruen: #1F8A4A; } }

/* ---------- Kopf ---------- */
.mp-kopf .p-kopf-innen { max-width: 1440px; }
.mp-kopf .mk-flaeche { flex: none; }
.mp-sprache { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--flaeche); color: var(--text); }
.mp-sprache svg.i { width: 17px; height: 17px; color: var(--muted); }
.mp-sprache select { font: inherit; font-size: 14px; font-weight: 700; color: var(--text); background: transparent; border: 0; min-height: 40px; padding-right: 4px; cursor: pointer; }
.mp-sprache select:focus-visible { outline: none; }
.mp-sprache:focus-within { outline: 3px solid var(--fokus); outline-offset: 2px; }
.mp-ich { font: inherit; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--flaeche-3); color: var(--muted); font-size: 13px; font-weight: 700; cursor: pointer; }
.mp-menue-wer { display: flex; flex-direction: column; padding: 4px 4px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mp-menue-wer b { font-size: 15px; }
.mp-menue-wer span { font-size: 13px; color: var(--muted); }
.mp-menue .mp-sprache { width: 100%; }
.mp-menue .mp-sprache select { flex: 1; }
@media (min-width: 1024px) {
  .mp-kopf .p-wer { border-left: 1px solid var(--line); }
  .mp-kopf-titel { padding-left: 16px; }
}

/* ---------- Seite und Raster ---------- */
.mp-inhalt { width: 100%; max-width: 1440px; margin: 0 auto; flex: 1; }
.mp-seite { padding: 14px var(--rand) 24px; }
@media (min-width: 1024px) { .mp-seite { padding: 26px 28px 44px; } }
.mp-start, .mp-raster { display: flex; flex-direction: column; gap: 14px; }
/* Handy: eine Spalte in der Reihenfolge des Musters (Begrüssung, Einsätze, Verfügbarkeit, Ansprechperson, Unterlagen, Empfehlen, Bewertung) */
@media (max-width: 1023.98px) {
  .mp-start .mp-links, .mp-start .mp-rechts, .mp-start .mp-paar { display: contents; }
  .mp-start .mp-gruss { order: 1; } .mp-start #bp-einsaetze, .mp-start #bp-stand { order: 2; } .mp-start #bp-verfuegbar { order: 3; }
  .mp-start .mp-berater { order: 4; } .mp-start #bp-unterlagen { order: 5; } .mp-start .mp-empfehlen { order: 6; } .mp-start .mp-bewertung { order: 7; }
  .mp-raster .mp-links, .mp-raster .mp-rechts { display: flex; flex-direction: column; gap: 14px; }
  body.bp-portal .a-fuss { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 1024px) {
  .mp-start, .mp-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
  .mp-links, .mp-rechts { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .mp-paar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (min-width: 1280px) {
  .mp-start, .mp-raster { grid-template-columns: minmax(0, 1fr) 360px; }
  .mp-paar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
}

/* ---------- Karten ---------- */
.mp-karte { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 84px; }
@media (min-width: 768px) { .mp-karte { padding: 22px 24px; } .mp-rechts .mp-karte { padding: 18px 18px 20px; } }
.mp-kopfzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-width: 0; }
.mp-kopfzeile.oben { align-items: flex-start; }
.mp-kopfzeile h2 { font-size: 18px; letter-spacing: -.015em; flex: 1 1 150px; min-width: 0; }
.mp-kopfzeile .mp-mehr { margin-left: auto; }
.mp-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ak-bg); border: 1px solid var(--ak-ln); color: var(--ink); }
.mp-ic svg.i { width: 17px; height: 17px; }
.mp-ic.gruen { background: var(--ok-bg); border-color: var(--ok-ln); color: var(--ok-tx); }
body[data-mandant="med"] .mp-ic.gruen { color: var(--ak2); }
.mp-mehr { font: inherit; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px 0 8px; border: 0; background: transparent; color: var(--text); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; border-radius: 10px; }
.mp-mehr svg.i { width: 16px; height: 16px; color: var(--muted); }
.mp-mehr:hover { background: var(--hover); }
.mp-satz { font-size: 15px; color: var(--muted); }
.mp-klein { font-size: 13.5px; color: var(--muted); }
.mp-unterlbl { font-size: 14px; margin-top: 2px; color: var(--muted-2); font-family: var(--mono); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Etiketten */
.mp-pillen { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-pille { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: var(--neu-bg); color: var(--neu-tx); border: 1px solid var(--neu-ln); }
.mp-pille.punkt::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.mp-pille.ok { background: var(--ok-bg); color: var(--ok-tx); border-color: var(--ok-ln); }
.mp-pille.warn { background: var(--warn-bg); color: var(--warn-tx); border-color: var(--warn-ln); }
.mp-pille.neu, .mp-pille.ab { background: var(--ak-bg); color: var(--ink); border-color: var(--ak-ln); }

/* ---------- Begrüssung mit dunkler Karte ---------- */
.mp-gruss { position: relative; overflow: hidden; isolation: isolate; flex-direction: column; gap: 18px; }
.mp-gruss::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 420px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--ak-rgb), .09), transparent 66%); }
.mp-gruss-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mp-datumzeile { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.mp-gruss h1 { font-size: 27px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.mp-gruss-satz { font-size: 15.5px; color: var(--muted); max-width: 640px; }
.mp-gruss-satz b { color: var(--text); }
.mp-pillen { margin-top: 4px; }
@media (max-width: 767.98px) { .mp-satz-weiter { display: none; } } /* Handy wie im Muster: nur der erste Satz, der nächste Einsatz steht in der dunklen Karte */
.mp-naechst { flex: none; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--p-dunkel); color: var(--p-dunkel-tx); min-width: 0; }
.mp-naechst-lbl { font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.mp-naechst b { font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.mp-naechst span:last-child:not(.mp-naechst-lbl) { font-size: 14px; opacity: .9; overflow-wrap: anywhere; }
@media (min-width: 768px) {
  .mp-gruss { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 26px; }
  .mp-gruss h1 { font-size: 31px; }
  .mp-naechst { width: 220px; }
}

/* ---------- Meine Einsätze ---------- */
.mp-einsaetze { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mp-einsatz { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--flaeche-2); overflow: hidden; }
.mp-einsatz::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--line-strong); }
.mp-einsatz.art-laufend::before { background: var(--mp-gruen); }
.mp-einsatz.art-kommend::before { background: var(--ak); }
.mp-einsatz-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mp-einsatz-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.mp-einsatz-titel b { font-size: 16px; letter-spacing: -.01em; overflow-wrap: anywhere; }
.mp-fakten { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.mp-fakten > span { display: inline-flex; align-items: flex-start; gap: 7px; min-width: 0; }
.mp-fakten > span > span { min-width: 0; overflow-wrap: anywhere; }
.mp-fakten svg.i { width: 16px; height: 16px; margin-top: 2px; color: var(--muted); }
.mp-fakten b { color: var(--text); font-weight: 700; }
.mp-mitbringen { font-size: 13.5px; }
.mp-mitbringen svg.i { color: var(--warn-tx); }
.mp-einsatz-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-einsatz-knoepfe .knopf { flex: 1 1 140px; }
@media (min-width: 768px) {
  .mp-einsatz { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 20px; }
  .mp-fakten:not(.mp-mitbringen) { flex-direction: row; flex-wrap: wrap; gap: 6px 22px; }
  .mp-einsatz-knoepfe { flex-direction: column; flex: none; width: 150px; }
  .mp-einsatz-knoepfe .knopf { flex: none; width: 100%; }
}
.mp-einsaetze.frueher { gap: 6px; }
.mp-frueher { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); }
.mp-frueher b { font-size: 14.5px; overflow-wrap: anywhere; }
.mp-frueher span { font-size: 13px; color: var(--muted); }

/* ---------- Verfügbarkeit melden ---------- */
.mp-vf { display: flex; flex-direction: column; gap: 10px; }
.mp-wahl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 52px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--feld); cursor: pointer; font-size: 15px; }
.mp-wahl input[type="radio"] { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--text); cursor: pointer; }
.mp-wahl b { font-weight: 700; }
.mp-wahl small { font-size: 13px; color: var(--muted); }
.mp-wahl.an { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.mp-wahl-ab { cursor: default; justify-content: space-between; }
.mp-wahl-teil { display: inline-flex; align-items: center; gap: 12px; min-height: 32px; cursor: pointer; }
.mp-datum { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 8px 0 10px; border-radius: 9px; border: 1px solid var(--line); background: var(--flaeche-2); max-width: 100%; }
.mp-datum svg.i { width: 16px; height: 16px; color: var(--muted); }
.mp-datum input { font: inherit; font-size: 14.5px; font-weight: 700; color: var(--text); background: transparent; border: 0; min-height: 38px; min-width: 0; max-width: 150px; }
.mp-datum input:focus-visible { outline: none; }
.mp-datum:focus-within { outline: 3px solid var(--fokus); outline-offset: 1px; }
.mp-vf .knopf.haupt { margin-top: 4px; }
.bp-vf-meldung:empty { display: none; }

/* ---------- Meine Unterlagen ---------- */
.mp-dokliste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mp-dok { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mp-dok:first-child { border-top: 0; padding-top: 4px; }
.mp-dok-ic { position: relative; width: 38px; height: 42px; display: grid; place-items: start center; color: var(--muted); }
.mp-dok-ic svg.i { width: 26px; height: 26px; }
.mp-typ { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 1px 4px; border-radius: 4px; background: var(--invers-bg); color: var(--invers-tx); font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; }
.mp-dok-ic.hoch { width: 38px; height: 38px; border-radius: 10px; place-items: center; background: var(--flaeche-2); border: 1px solid var(--line); color: var(--ink); }
.mp-dok-ic.hoch svg.i { width: 19px; height: 19px; }
.bp-ul.stand-fehlt .mp-dok-ic.hoch { background: var(--warn-bg); border-color: var(--warn-ln); color: var(--warn-tx); }
.mp-dok-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-dok-text b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-dok-text span { font-size: 13.5px; color: var(--muted); }
.mp-dok-text small { font-size: 13px; color: var(--muted-2); }
.mp-dok-knopf { display: flex; align-items: center; gap: 10px; flex: none; }
.mp-laden { width: 40px; min-height: 40px; border-radius: 10px; }
.bp-ul .mp-dok-text b { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 459.98px) {
  .bp-ul { grid-template-columns: 38px minmax(0, 1fr); }
  .bp-ul .mp-dok-knopf { grid-column: 1 / -1; }
  .bp-ul .mp-dok-knopf .knopf { width: 100%; }
}
.mp-leer { padding: 6px 0; }
/* Handy wie im Muster: auf «Start» höchstens drei Zeilen der Unterlagen zum Herunterladen («Alle» zeigt den Rest), Hochladen bleibt immer sichtbar */
/* Korrektur 1 (Befund 5): vorher nth-child über alle Zeilen (auch Hochladen), so fielen bei drei Anforderungen alle Unterlagen weg */
@media (max-width: 1023.98px) { .mp-start #bp-unterlagen .mp-dok-mehr { display: none; } }

/* ---------- Empfehlen ---------- */
.mp-empfehlen .mp-kopfzeile h2 { font-size: 18px; line-height: 1.3; }
.mp-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; border: 1px dashed var(--line-3); background: var(--flaeche-2); min-width: 0; }
.mp-link > svg.i { width: 16px; height: 16px; color: var(--muted); }
.mp-link input { font-family: var(--mono); font-size: 13.5px; color: var(--text); background: transparent; border: 0; min-width: 0; flex: 1; min-height: 40px; text-overflow: ellipsis; }
.mp-link input:focus-visible { outline: none; }
.mp-link:focus-within { outline: 3px solid var(--fokus); outline-offset: 1px; }
.mp-link .knopf { flex: none; min-height: 40px; font-family: var(--mono); }
.mp-teilen { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-teilen .knopf { padding: 0 10px; font-size: 13.5px; white-space: nowrap; gap: 6px; }
.mp-teilen .knopf svg.i { width: 18px; height: 18px; }
.mp-teilen .mp-wa { flex: 1 1 auto; }
.mp-teilen .knopf.rand { flex: 1 0 auto; }
.knopf.mp-wa { background: var(--mp-wa); border-color: transparent; color: #FFFFFF; }
.knopf.mp-wa:hover { background: #136332; }
.mp-so { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; }
.mp-so li::marker { color: var(--ink); font-weight: 700; }

/* ---------- Bewertung ---------- */
.mp-bewertung { gap: 12px; }
.mp-bewertung-kopf { display: flex; align-items: flex-start; gap: 12px; }
.mp-bewertung-kopf > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mp-bewertung-kopf b { font-size: 15px; }
.mp-bewertung-kopf span { font-size: 13.5px; color: var(--muted); }

/* ---------- Ansprechperson (portal.css .p-bk) ---------- */
.mp-berater .p-bk-foto.mp-foto { width: 84px; height: 84px; font-size: 24px; }
.mp-berater .p-bk-knoepfe .knopf { padding: 0 12px; }
.mp-wa-berater { margin-top: -4px; }

/* ---------- Leiste unten am Handy (Reiter) ---------- */
.mp-unten { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  background: var(--glas); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--line); }
.mp-unten button { font: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 58px; padding: 4px 2px; border: 0; border-radius: 12px; background: transparent;
  color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; min-width: 0; }
.mp-unten button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-unten button svg.i { width: 21px; height: 21px; }
.mp-unten button[aria-current="page"] { color: var(--ink); }
