/*
 * „Meine Fahrzeuge“ für Händler (/meine-fahrzeuge/), Entwurf E (Bilal 16.10.2026).
 *
 * Eigene Seite ohne Listeo-CSS (siehe Kopf von o4u-kleinanzeigen/meine-fahrzeuge.php). Pre-Flight
 * inspect_listeo_conflict.py (16.10.2026, /kleinanzeigen/, Suchfeld): Listeo setzt input auf 51 px
 * Höhe, line-height 51 px, Innenabstand 0 20px, Rand unten 16 px, Farbe grau, Breite 100 %. Diese
 * Seite lädt weder Listeo- noch Theme-CSS, die Werte greifen hier nicht; deshalb eigene Klassen
 * ohne Doppelklassen und ohne !important.
 *
 * Maße und Farben wie im Entwurf: Rechner mit Seitenleiste und Zeilen (Foto, Fahrzeug, Preis,
 * Kilometer, Knöpfe), Handy (bis 760 px) mit Karten, Feldern zum Antippen, Blatt von unten und
 * Menü als Schublade. Zwischen 761 und 1023 px Zeilen ohne Seitenleiste (Menü im Kopf).
 * Nur hell, wie die Kleinanzeigen-Seiten. Größen in px.
 */

:root {
	--mf-text: #17181a;
	--mf-text2: #3f4247;
	--mf-leise: #6b6f76;
	--mf-linie: #ececef;
	--mf-rand: #dadbdf;
	--mf-grund: #f6f6f7;
	--mf-flaeche: #f1f1f3;
	--mf-orange: #fe6e0e;
	--mf-orange-dunkel: #e85f04;
	--mf-orange-text: #c2510a;
	--mf-orange-zart: #fff1e6;
	--mf-orange-hauch: #fff6ee;
	--mf-orange-rand: #ffd9bd;
	--mf-gruen: #1f9d55;
	--mf-gruen-zart: #e7f5ec;
	--mf-gruen-text: #17663a;
	--mf-blau: #3b6fb6;
	--mf-blau-zart: #e8eef8;
	--mf-blau-text: #24497a;
	--mf-rot: #b42318;
	--mf-entwurf-text: #9a3d00;
	--mf-entwurf-zart: #fff0e3;
	--mf-schrift: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--mf-titel-schrift: "Barlow Condensed", "Inter", Arial, sans-serif;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mf {
	margin: 0;
	background: var(--mf-grund);
	color: var(--mf-text);
	font: 400 15px/1.45 var(--mf-schrift);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.mf.mf-gesperrt { overflow: hidden; }
.mf a { color: var(--mf-text); }
.mf a:hover { color: var(--mf-orange); }
.mf button, .mf input { font-family: inherit; }
.mf img { max-width: 100%; }
[hidden] { display: none !important; }

.mf-sr {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.mf-sprung:focus {
	position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 100;
	background: #fff; padding: 10px 14px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}
.mf :focus-visible { outline: 2px solid var(--mf-orange); outline-offset: 2px; }

/* ── Knöpfe ─────────────────────────────────────────────────────────────── */
.mf-eb {
	height: 40px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--mf-rand);
	background: #fff; color: var(--mf-text); font: 600 14px var(--mf-schrift);
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	cursor: pointer; text-decoration: none; white-space: nowrap; touch-action: manipulation;
}
.mf-eb:hover { border-color: var(--mf-text); color: var(--mf-text); }
.mf-eb:disabled { opacity: .55; cursor: default; }
.mf-ebp, .mf a.mf-ebp { background: var(--mf-orange); border-color: var(--mf-orange); color: #fff; }
.mf-ebp:hover, .mf a.mf-ebp:hover { background: var(--mf-orange-dunkel); border-color: var(--mf-orange-dunkel); color: #fff; }
.mf-eb--gross { height: 44px; padding: 0 18px; }
.mf-eb--rot { background: var(--mf-rot); border-color: var(--mf-rot); color: #fff; }
.mf-eb--rot:hover { background: #9b1c12; border-color: #9b1c12; color: #fff; }
.mf-eb--klein { height: 34px; font-size: 13.5px; }
.mf-eb--quadrat { width: 40px; padding: 0; }
.mf-eb--schwarz { background: var(--mf-text); border-color: var(--mf-text); color: #fff; }
.mf-eb--schwarz:hover { background: #000; border-color: #000; color: #fff; }
.mf-eb--leise { border-color: transparent; background: transparent; color: #b4500a; }
.mf-eb--leise:hover { border-color: transparent; color: var(--mf-text); }
.ist-laedt { opacity: .6; pointer-events: none; }

/* ── Kopf ───────────────────────────────────────────────────────────────── */
.mf-kopf { background: #fff; border-bottom: 1px solid var(--mf-linie); }
.mf-kopf-innen {
	max-width: 1440px; margin: 0 auto; padding: 0 24px; height: 64px;
	display: flex; align-items: center; gap: 16px;
}
.mf-logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.mf-logo img { height: 34px; width: auto; display: block; }
.mf-logo-text { font-weight: 700; font-size: 15px; }
.mf-kopf-strich { width: 1px; height: 26px; background: var(--mf-linie); flex: 0 0 auto; }
.mf-kopf-bereich { font-size: 15px; font-weight: 600; color: var(--mf-text2); white-space: nowrap; }
.mf-kopf-platz { flex: 1 1 auto; }
.mf .mf-kopf-start { font-size: 14px; font-weight: 500; color: var(--mf-text2); text-decoration: none; white-space: nowrap; }
.mf .mf-kopf-start:hover { color: var(--mf-orange); }
.mf-konto {
	display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 5px;
	border: 1px solid var(--mf-linie); border-radius: 999px; min-width: 0; max-width: 300px;
}
.mf-konto-initial {
	width: 30px; height: 30px; border-radius: 50%; background: var(--mf-text); color: #fff;
	font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.mf-konto-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mf-burger {
	display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--mf-text);
	align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto;
}

/* ── Rahmen, Seitenleiste ───────────────────────────────────────────────── */
.mf-rahmen {
	max-width: 1440px; margin: 0 auto; padding: 28px 24px 80px;
	display: flex; gap: 24px; align-items: flex-start;
}
.mf-nav {
	flex: 0 0 232px; background: #fff; border: 1px solid var(--mf-linie); border-radius: 16px; padding: 10px;
	display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px;
}
.mf .mf-nv {
	display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 10px;
	text-decoration: none; color: var(--mf-text2); font: 600 15px var(--mf-schrift);
}
.mf .mf-nv:hover { background: var(--mf-grund); color: var(--mf-text); }
.mf .mf-nv.ist-aktiv { background: var(--mf-orange-zart); color: var(--mf-text); }
.mf-nv.ist-aktiv svg { color: var(--mf-orange-text); }
.mf-nav-zahl { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--mf-text2); }
.mf .mf-nv.mf-nav-unter { padding-left: 44px; font-weight: 500; font-size: 14px; gap: 8px; }
.mf-nav-trenner { height: 1px; background: var(--mf-linie); margin: 8px 4px; }

.mf-haupt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

/* ── Titel und Zahlen ───────────────────────────────────────────────────── */
.mf-titel-zeile { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.mf-titel-text { flex: 1 1 420px; min-width: 0; }
.mf-betrieb { margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--mf-leise); }
.mf-h1 { margin: 0; font-family: var(--mf-titel-schrift); font-weight: 700; font-size: 46px; line-height: 1; }
.mf-abgleich { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--mf-text2); }
.mf-abgleich svg { flex: 0 0 auto; }
.mf-zahlen { display: flex; gap: 10px; flex-wrap: wrap; }
.mf-zahl { min-width: 104px; background: #fff; border: 1px solid var(--mf-linie); border-radius: 14px; padding: 10px 16px 12px; }
.mf-zahl b { display: block; font-family: var(--mf-titel-schrift); font-weight: 700; font-size: 32px; line-height: 1; }
.mf-zahl span { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--mf-text2); }
.mf-punkt { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.mf-punkt--online { background: var(--mf-gruen); }
.mf-punkt--entwurf { background: var(--mf-orange); }
.mf-punkt--verkauft { background: var(--mf-leise); }
.mf-punkt--pausiert { background: var(--mf-blau); }

/* ── Hinweis ────────────────────────────────────────────────────────────── */
.mf-hinweis {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--mf-orange-hauch);
	border: 1px solid var(--mf-orange-rand); border-radius: 14px; padding: 10px 12px 10px 16px;
}
.mf-hinweis svg { flex: 0 0 auto; }
.mf-hinweis-text { flex: 1 1 300px; font-size: 14.5px; font-weight: 500; }
.mf-hinweis--freigabe { background: var(--mf-blau-zart); border-color: #c9d6ee; }

/* ── Liste ──────────────────────────────────────────────────────────────── */
.mf-liste { background: #fff; border: 1px solid var(--mf-linie); border-radius: 16px; }
.mf-werkzeug { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 16px 20px; }
.mf-suche {
	flex: 0 1 340px; display: flex; align-items: center; gap: 8px; height: 44px; border: 1px solid var(--mf-rand);
	border-radius: 12px; padding: 0 12px; background: #fff; cursor: text;
}
.mf-suche:focus-within { border-color: var(--mf-text); }
.mf-suche svg { flex: 0 0 auto; }
.mf-suche input {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 15px var(--mf-schrift);
	color: var(--mf-text); height: 40px; padding: 0; margin: 0; -webkit-appearance: none; appearance: none;
}
.mf-suche input::placeholder { color: var(--mf-leise); opacity: 1; }
.mf-reiter { display: flex; gap: 8px; flex-wrap: wrap; }
.mf-tab {
	height: 40px; padding: 0 14px; border-radius: 999px; font: 600 14px var(--mf-schrift); cursor: pointer;
	display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--mf-text);
	border: 1px solid var(--mf-rand); white-space: nowrap; touch-action: manipulation;
}
.mf-tab[aria-pressed="true"] { background: var(--mf-text); color: #fff; border-color: var(--mf-text); }
.mf-tab-zahl { font-size: 12.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--mf-flaeche); color: var(--mf-text2); }
.mf-tab[aria-pressed="true"] .mf-tab-zahl { background: #3a3c41; color: #fff; }

.mf-spaltenkopf {
	position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px;
	border-top: 1px solid var(--mf-linie); border-bottom: 1px solid var(--mf-linie); background: #fafafb;
}
.mf-spaltenkopf.hat-auswahl { background: var(--mf-orange-zart); }
.mf-spalte { font-size: 12px; font-weight: 700; letter-spacing: .6px; color: var(--mf-leise); }
.mf-auswahl-text { font-size: 15px; }

.mf-kb { flex: 0 0 24px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.mf-kb input { width: 18px; height: 18px; accent-color: var(--mf-orange); margin: 0; cursor: pointer; }

/* Spaltenbreiten (Zeile und Kopf gleich, wie im Entwurf) */
.mf-s-bild { flex: 0 0 88px; }
.mf-s-info { flex: 1 1 240px; min-width: 0; }
.mf-s-preis { flex: 0 0 164px; }
.mf-s-km { flex: 0 0 136px; }
.mf-s-akt { flex: 0 0 344px; }

.mf-z {
	display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 20px;
	border-bottom: 1px solid var(--mf-linie); background: #fff;
}
.mf-z.ist-gewaehlt { background: #fff8f1; }
.mf-bild { height: 59px; border-radius: 9px; overflow: hidden; background: var(--mf-flaeche); }
.mf-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mf-bild.ist-aus img { opacity: .45; filter: grayscale(1); }
.mf-kein-foto {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	border: 1.5px dashed #f2a36b; border-radius: 9px; background: var(--mf-orange-hauch); color: var(--mf-entwurf-text);
	font-size: 11px; font-weight: 700;
}
.mf-s-info { display: flex; flex-direction: column; gap: 6px; }
.mf-titel {
	margin: 0; font-size: 15px; font-weight: 700; line-height: 1.32;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere;
}
.mf-meta-zeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mf-meta { font-size: 13px; color: var(--mf-text2); }
.mf-pill {
	display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px;
	font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.mf-pill .mf-punkt { width: 7px; height: 7px; }
.mf-pill--online { background: var(--mf-gruen-zart); color: var(--mf-gruen-text); }
.mf-pill--entwurf { background: var(--mf-entwurf-zart); color: var(--mf-entwurf-text); }
.mf-pill--verkauft { background: #ececef; color: var(--mf-text2); }
.mf-pill--pausiert { background: var(--mf-blau-zart); color: var(--mf-blau-text); }

.mf-feld { display: flex; flex-direction: column; gap: 6px; }
.mf-ef {
	display: flex; align-items: center; gap: 6px; height: 40px; border: 1px solid var(--mf-rand); border-radius: 10px;
	background: #fff; padding: 0 12px; cursor: text;
}
.mf-ef:hover { border-color: #9ea1a8; }
.mf-ef:focus-within { border-color: var(--mf-text); }
.mf-ef.ist-geaendert { border-color: var(--mf-orange); box-shadow: 0 0 0 3px rgba(254, 110, 14, .18); }
.mf-ef input {
	flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; padding: 0; margin: 0; height: 36px;
	font: 600 15px var(--mf-schrift); color: var(--mf-text); text-align: right;
}
.mf-ef input::placeholder { color: var(--mf-leise); font-weight: 500; font-size: 14px; text-align: left; opacity: 1; }
.mf-einheit { font-size: 15px; font-weight: 600; color: var(--mf-text2); }
.mf-ok { display: flex; align-items: flex-start; gap: 5px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mf-gruen-text); margin: 0; }
.mf-ok svg { flex: 0 0 auto; margin-top: 1px; }

.mf-s-akt { display: flex; justify-content: flex-end; align-items: center; gap: 6px; position: relative; flex-wrap: wrap; }
.mf-menue {
	position: absolute; right: 0; top: 46px; z-index: 20; width: 248px; background: #fff; border: 1px solid var(--mf-linie);
	border-radius: 12px; box-shadow: 0 14px 34px rgba(17, 17, 17, .14); padding: 6px 0;
}
.mf .mf-mi {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 14px; border: 0; background: none;
	font: 500 15px var(--mf-schrift); color: var(--mf-text); text-decoration: none; text-align: left; cursor: pointer;
}
.mf .mf-mi:hover { background: var(--mf-grund); color: var(--mf-text); }
.mf .mf-mi--rot, .mf .mf-mi--rot:hover { color: var(--mf-rot); }
.mf-menue-trenner { display: block; height: 1px; background: var(--mf-linie); margin: 6px 0; }

.mf-leer { padding: 48px 20px; text-align: center; }
.mf-leer-titel { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.mf-leer-text { margin: 0 0 18px; color: var(--mf-text2); padding: 0 20px; }
.mf-fuss { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; font-size: 14px; color: var(--mf-text2); }
.mf-mehr { height: 44px; padding: 0 20px; }

/* ── Meldung unten (Toast) ──────────────────────────────────────────────── */
.mf-toast {
	position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px;
	max-width: calc(100% - 32px); background: var(--mf-text); color: #fff; border-radius: 12px; padding: 8px 8px 8px 18px;
	box-shadow: 0 14px 34px rgba(17, 17, 17, .28); font-size: 14.5px; font-weight: 500;
}
.mf-toast-text { line-height: 1.35; }
.mf-toast-rueck {
	height: 40px; padding: 0 14px; border-radius: 8px; border: 0; background: #2c2e33; color: #ffb27a;
	font: 700 14px var(--mf-schrift); cursor: pointer; white-space: nowrap; flex: 0 0 auto;
}
.mf-toast-zu {
	width: 40px; height: 40px; border-radius: 8px; border: 0; background: transparent; color: #fff;
	display: flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto;
}
.mf-toast.ist-fehler { background: #7a1a12; }
/* Wie im Entwurf: Dialog, Blatt und Menü liegen über der Meldung (Meldung 50, Dialog 60, Blatt 70). */

/* ── Dialog Löschen ─────────────────────────────────────────────────────── */
.mf-schleier {
	position: fixed; inset: 0; z-index: 60; background: rgba(23, 24, 26, .5); display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.mf-dialog { width: 100%; max-width: 470px; background: #fff; border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(17, 17, 17, .3); }
.mf-h2 { margin: 0 0 12px; font-family: var(--mf-titel-schrift); font-weight: 700; font-size: 32px; line-height: 1.05; }
.mf-dialog-text { margin: 0 0 10px; font-size: 15px; line-height: 1.5; }
.mf-dialog-leise { margin: 0 0 22px; font-size: 15px; line-height: 1.5; color: var(--mf-text2); }
.mf-dialog-knoepfe { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* ── Blatt (Handy) und Schublade ────────────────────────────────────────── */
.mf-blatt-ebene, .mf-schublade-ebene { position: fixed; inset: 0; z-index: 70; }
.mf-blatt-schleier { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: rgba(23, 24, 26, .5); cursor: default; }
.mf-blatt {
	position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0;
	padding: 8px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 30px rgba(17, 17, 17, .18);
	max-height: 90vh; overflow-y: auto;
}
.mf-blatt-griff { display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--mf-rand); margin: 0 auto 10px; }
.mf-blatt-titel {
	margin: 0 0 6px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--mf-text2);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mf .mf-si {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 4px; border: 0;
	border-bottom: 1px solid var(--mf-flaeche); background: none; font: 600 16px var(--mf-schrift); color: var(--mf-text);
	text-decoration: none; text-align: left; cursor: pointer;
}
.mf .mf-si.ist-aktiv { color: var(--mf-orange-text); }
.mf .mf-si.mf-nav-unter { padding-left: 36px; font-weight: 500; font-size: 15px; gap: 8px; }
.mf .mf-si--rot { color: var(--mf-rot); border-bottom: 0; }
.mf .mf-si--ab { border-bottom: 0; border-top: 1px solid var(--mf-linie); }
.mf-si .mf-nav-zahl { margin-left: auto; }
.mf-mb {
	height: 48px; border-radius: 12px; border: 1px solid var(--mf-rand); background: #fff; color: var(--mf-text);
	font: 700 15px var(--mf-schrift); display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 12px;
	text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation;
}
.mf .mf-mb.mf-ebp, .mf .mf-mb.mf-ebp:hover { background: var(--mf-orange); border-color: var(--mf-orange); color: #fff; }
.mf-mb--rot { background: var(--mf-rot); border-color: var(--mf-rot); color: #fff; }
.mf-mb--breit { width: 100%; }
.mf-mb--abstand { margin-top: 8px; }
.mf-mb--abstand-gross { margin-top: 10px; }
.mf-blatt .mf-h2 { font-size: 28px; margin: 6px 0 8px; }
.mf-blatt-text { margin: 0 0 8px; font-size: 14.5px; line-height: 1.5; }
.mf-blatt-leise { margin: 0 0 14px; font-size: 14.5px; line-height: 1.5; color: var(--mf-text2); }

.mf-schublade {
	position: absolute; top: 0; right: 0; bottom: 0; width: 300px; max-width: 86vw; background: #fff;
	padding: 6px 16px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto;
}
.mf-schublade-kopf { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 10px; }
.mf-schublade-name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; min-width: 0; }
.mf-rund-zu {
	width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f3f3f5; color: var(--mf-text);
	display: flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto;
}

/* ── Fotos ──────────────────────────────────────────────────────────────── */
.mf-fotos-ebene {
	position: fixed; inset: 0; z-index: 80; background: rgba(23, 24, 26, .55); padding: 48px 16px; overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.mf-fotos {
	position: relative; max-width: 980px; margin: 0 auto; background: #fff; border-radius: 20px;
	box-shadow: 0 30px 70px rgba(17, 17, 17, .35); display: flex; flex-direction: column;
}
.mf-fotos-kopf { display: flex; align-items: flex-start; gap: 16px; padding: 22px 20px 14px 24px; }
.mf-fotos-kopf-text { flex: 1; min-width: 0; }
.mf-fotos-ober { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--mf-leise); }
.mf-fotos .mf-h2 { margin: 0; overflow-wrap: anywhere; }
.mf-fotos-info { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 24px 16px; }
.mf-fotos-anzahl { font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: var(--mf-flaeche); color: var(--mf-text2); }
.mf-fotos-satz { font-size: 14.5px; color: var(--mf-text2); }
.mf-fotos-leer { margin: 0 24px 16px; }
.mf-kacheln {
	list-style: none; margin: 0; padding: 0 24px 8px; display: grid;
	grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px;
}
.mf-kachel { list-style: none; border-radius: 12px; padding: 6px; border: 1px solid var(--mf-linie); background: #fff; position: relative; }
.mf-kachel.ist-titel { border-color: #ffc9a3; }
.mf-kachel.ist-gezogen { opacity: .4; }
.mf-kachel.ist-ziel { border-color: var(--mf-orange); box-shadow: 0 0 0 3px rgba(254, 110, 14, .22); }
.mf-kachel-bild { position: relative; aspect-ratio: 3 / 2; border-radius: 9px; overflow: hidden; background: var(--mf-flaeche); cursor: grab; }
.mf-kachel-bild img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; -webkit-user-drag: none; user-select: none; }
.mf-kachel-nr {
	position: absolute; left: 8px; top: 8px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px;
	background: rgba(17, 17, 17, .74); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.mf-kachel-griff {
	position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .92);
	display: flex; align-items: center; justify-content: center;
}
.mf-kachel-titel {
	position: absolute; left: 8px; bottom: 8px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--mf-orange);
	color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 4px;
}
.mf-kachel-leiste { display: flex; align-items: center; gap: 2px; padding-top: 6px; }
.mf-ib {
	width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--mf-text2);
	display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; touch-action: manipulation;
}
.mf-ib:hover { background: var(--mf-flaeche); color: var(--mf-text); }
.mf-ib:disabled { opacity: .3; cursor: default; background: transparent; }
.mf-ib--stern.ist-an { color: var(--mf-orange-dunkel); }
.mf-ib--weg { color: var(--mf-rot); margin-left: auto; }
.mf-ib--weg:hover { color: var(--mf-rot); }
.mf-kachel--laedt .mf-kachel-bild {
	display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--mf-text2);
	cursor: default; text-align: center; padding: 8px;
}
.mf-kachel--neu { min-height: 168px; padding: 0; border: 0; }
.mf-kachel--neu.ist-voll { grid-column: 1 / -1; min-height: 240px; }
.mf-zone {
	height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--mf-rand);
	border-radius: 12px; padding: 16px; cursor: pointer; background: #fafafb; text-align: center;
}
.mf-zone:hover, .mf-zone.ist-ueber { border-color: var(--mf-orange); background: var(--mf-orange-hauch); }
.mf-zone:focus-within { outline: 2px solid var(--mf-orange); outline-offset: 2px; }
.mf-zone-kreis { width: 44px; height: 44px; border-radius: 50%; background: var(--mf-entwurf-zart); display: flex; align-items: center; justify-content: center; }
.mf-zone-titel { font-size: 15px; font-weight: 700; }
.mf-zone-text { font-size: 13px; color: var(--mf-text2); line-height: 1.4; }
.mf-fotos-fuss {
	display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px;
	padding: 16px 24px; border-top: 1px solid var(--mf-linie);
}
.mf-fotos-fuss-text { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mf-text2); }
.mf-fotos-fuss-text svg { flex: 0 0 auto; }
.mf-fertig {
	height: 46px; padding: 0 28px; border-radius: 999px; background: var(--mf-orange); color: #fff; font: 700 15px var(--mf-schrift);
	border: 0; cursor: pointer;
}
.mf-fertig:hover { background: var(--mf-orange-dunkel); }
.mf-toast--fotos { position: absolute; bottom: 84px; }

/* ── Private Inserenten: Top-Anzeige (Link je Zeile, Kasten nach Preissenkung) ── */
.mf a.mf-top-link { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--mf-orange-text); text-decoration: underline; text-underline-offset: 2px; }
.mf a.mf-top-link:hover { color: var(--mf-text); }
.mf-top-kasten {
	flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px;
	background: var(--mf-orange-hauch); border: 1px solid var(--mf-orange-rand); border-radius: 12px;
}
.mf-top-kasten-text { flex: 1 1 240px; margin: 0; font-size: 14px; font-weight: 500; }

/* ── Anmelden per Link und „Neuen Link anfordern“ (o4u-meine-anzeigen-link.php) ── */
.mz-rahmen { max-width: 520px; margin: 0 auto; padding: 40px 16px 64px; }
.mz-karte { background: #fff; border: 1px solid var(--mf-linie); border-radius: 16px; padding: 28px 24px; }
.mz-h1 { margin-bottom: 10px; }
.mz-lead { margin: 0 0 20px; color: var(--mf-text2); font-size: 15.5px; }
.mz-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mz-feld { display: flex; flex-direction: column; gap: 6px; }
.mz-label { font-size: 13px; font-weight: 700; color: var(--mf-text2); }
.mz-feld input {
	height: 48px; width: 100%; border: 1px solid var(--mf-rand); border-radius: 10px; padding: 0 12px; margin: 0;
	font: 500 16px var(--mf-schrift); color: var(--mf-text); background: #fff; -webkit-appearance: none; appearance: none;
}
.mz-feld input:focus { border-color: var(--mf-text); outline: 0; }
.mz-knopf { width: 100%; height: 48px; font-size: 15px; }
.mz-fehler { margin: 0; color: var(--mf-rot); font-size: 14px; font-weight: 600; }
.mz-klein { margin: 16px 0 0; font-size: 14px; color: var(--mf-text2); }
.mz-karte .mz-klein { margin-top: 18px; }

/* ── Mittlere Breite: Zeilen ohne Seitenleiste ──────────────────────────── */
@media (max-width: 1023px) {
	.mf-nav { display: none; }
	.mf-burger { display: flex; }
	.mf-konto { display: none; }
	.mf-rahmen { padding: 22px 16px 80px; }
}
@media (max-width: 1180px) and (min-width: 761px) {
	.mf-s-akt { flex: 1 1 100%; justify-content: flex-start; padding-left: 140px; }
	.mf-spaltenkopf .mf-s-akt { display: none; }
}

/* ── Handy ──────────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
	.mf-kopf-innen { height: 56px; padding: 0 6px 0 16px; gap: 8px; }
	.mf-logo img { height: 30px; }
	.mf-kopf-strich, .mf-kopf-start { display: none; }
	.mf-kopf-bereich { font-size: 14px; }
	.mf-rahmen { display: block; padding: 0 0 24px; }
	.mf-haupt { gap: 0; }

	.mf-titel-zeile { display: flex; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 14px 16px 16px; border-bottom: 1px solid var(--mf-linie); }
	.mf-titel-text { display: contents; }
	.mf-betrieb { order: 1; font-size: 13px; margin-bottom: 2px; }
	.mf-h1 { order: 2; font-size: 34px; }
	.mf-zahlen { order: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
	.mf-abgleich { order: 4; align-items: flex-start; font-size: 13px; line-height: 1.45; margin-top: 12px; }
	.mf-abgleich svg { margin-top: 1px; width: 16px; height: 16px; }
	.mf-zahl { min-width: 0; background: var(--mf-grund); border: 0; border-radius: 12px; padding: 8px 10px; }
	.mf-zahl b { font-size: 24px; }
	.mf-zahl span { font-size: 12px; gap: 5px; margin-top: 3px; }
	.mf-zahl .mf-punkt { width: 7px; height: 7px; }

	.mf-haupt > .mf-titel-zeile { order: 1; }
	.mf-haupt > .mf-hinweis { order: 3; margin: 12px 16px 0; padding: 8px 8px 8px 12px; gap: 10px; flex-wrap: nowrap; }
	.mf-haupt > .mf-hinweis--freigabe { padding: 10px 12px; }
	.mf-haupt > .mf-liste { order: 2; display: contents; }
	.mf-haupt > .mf-hinweis .mf-hinweis-text { flex: 1; font-size: 13.5px; line-height: 1.35; }
	.mf-haupt > .mf-hinweis .mf-eb { height: 44px; border-radius: 12px; font-weight: 700; }
	.mf-werkzeug { order: 2; position: sticky; top: 0; z-index: 5; background: var(--mf-grund); padding: 10px 0 8px; border-bottom: 1px solid var(--mf-linie); display: block; }
	.mf-spaltenkopf { display: none; }
	.mf-liste [data-mf="zeilen"] { order: 4; }
	.mf-liste .mf-fuss { order: 5; }
	.mf-suche { margin: 0 16px; }
	.mf-suche input { font-size: 16px; }
	.mf-reiter { flex-wrap: nowrap; overflow-x: auto; padding: 10px 16px 2px; scrollbar-width: none; }
	.mf-reiter::-webkit-scrollbar { display: none; }
	.mf-tab { flex: 0 0 auto; height: 44px; }

	.mf-karten { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 8px; }
	.mf-k { background: #fff; border: 1px solid var(--mf-linie); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
	.mf-k-kopf { display: flex; gap: 12px; align-items: flex-start; }
	.mf-k .mf-bild { flex: 0 0 96px; height: 64px; border-radius: 10px; }
	.mf-k-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
	.mf-k-info .mf-pill { align-self: flex-start; }
	.mf-k .mf-titel { line-height: 1.3; }
	.mf-k-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.mf-tf {
		position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 58px;
		padding: 8px 38px 8px 12px; border: 1px solid var(--mf-rand); border-radius: 12px; background: #fff; text-align: left;
		font-family: var(--mf-schrift); color: var(--mf-text); cursor: pointer; touch-action: manipulation;
	}
	.mf-tf-label { font-size: 12px; font-weight: 600; color: var(--mf-leise); }
	.mf-tf-wert { font-size: 17px; font-weight: 700; line-height: 1.25; }
	.mf-tf-wert.ist-leer { font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--mf-text2); }
	.mf-tf svg { position: absolute; right: 12px; top: 50%; margin-top: -8px; }
	.mf-editor { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--mf-orange); border-radius: 12px; padding: 10px; }
	.mf-editor label { display: flex; flex-direction: column; gap: 6px; }
	.mf-editor-label { font-size: 12px; font-weight: 700; color: var(--mf-text2); }
	.mf-feldgross {
		height: 48px; width: 100%; border: 1px solid var(--mf-text); border-radius: 10px; padding: 0 12px; margin: 0;
		font: 700 18px var(--mf-schrift); color: var(--mf-text); background: #fff; -webkit-appearance: none; appearance: none;
	}
	.mf-editor-hilfe { font-size: 12.5px; color: var(--mf-text2); }
	.mf-editor-knoepfe { display: flex; gap: 8px; }
	.mf-editor-knoepfe .mf-mb { flex: 1; }
	.mf-k .mf-ok { margin: -4px 0 0; font-size: 13px; align-items: center; gap: 6px; }
	.mf-k-akt { display: flex; gap: 8px; }
	.mf-k-akt .mf-mb { flex: 1; }
	.mf-k-akt .mf-mb--mehr { flex: 0 0 48px; width: 48px; padding: 0; }

	.mf-leer { margin: 16px; border: 1px dashed var(--mf-rand); border-radius: 16px; padding: 28px 18px; background: #fff; }
	.mf-leer-titel { font-size: 15px; margin-bottom: 12px; }
	.mf-leer .mf-leer-text { display: none; }
	.mf-leer .mf-eb { height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px; }
	.mf-fuss { flex-direction: column; padding: 4px 16px 24px; gap: 12px; font-size: 13px; }
	.mf-fuss .mf-mehr { width: 100%; height: 48px; border-radius: 12px; font-weight: 700; font-size: 15px; }

	.mf-toast {
		left: 12px; right: 12px; transform: none; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: none;
		border-radius: 14px; padding: 6px 6px 6px 14px; gap: 8px; font-size: 14px;
	}
	.mf-toast-text { flex: 1; }
	.mf-toast-rueck { height: 44px; padding: 0 12px; border-radius: 10px; }
	.mf-toast-zu { display: none; }

	.mf-fotos-ebene { padding: 0; background: #fff; }
	.mf-fotos { border-radius: 0; box-shadow: none; min-height: 100%; }
	.mf-fotos-kopf { padding: 14px 12px 10px 16px; position: sticky; top: 0; background: #fff; z-index: 3; }
	.mf-fotos .mf-h2 { font-size: 24px; }
	.mf-fotos-info { padding: 0 16px 12px; }
	.mf-fotos-leer { margin: 0 16px 12px; }
	.mf-kacheln { padding: 0 16px 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mf-kachel { padding: 5px; }
	.mf-ib { width: 40px; height: 40px; }
	.mf-kachel-leiste { gap: 0; }
	.mf-kachel--neu { min-height: 150px; }
	.mf-fotos-fuss { position: sticky; bottom: 0; background: #fff; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); margin-top: 8px; }
	.mf-fotos-fuss-text { flex: 1 1 100%; font-size: 13px; }
	.mf-fertig { width: 100%; height: 48px; }
	.mf-toast--fotos { position: fixed; bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
	.mf-zahl { padding: 8px 6px; }
	.mf-zahl span { font-size: 11px; }
	.mf-kachel-leiste .mf-ib { width: 32px; }
}
