/*
 * ML-Freizeitmobile – Redesign „Friendly & Welcoming“ (Konzept A)
 * Gilt nur mit body.mlfm-friendly (gesetzt in inc/mlfm-design.php).
 * Überschreibt die Flatsome-Darstellung; Inhalte und Produktdaten bleiben unverändert.
 */

/* ---------- Schriften (lokal, OFL-Lizenz, siehe assets/fonts) ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

/* ---------- Farb- und Schrift-Tokens ----------
   html:root schlägt das spätere Inline-CSS von Flatsome (:root) über die Spezifität. */
html:root {
    --mlfm-sea: #2E7DAF;        /* Primär, Buttons, Links */
    --mlfm-sea-d: #1F5F88;      /* Hover, Footer */
    --mlfm-meadow: #4E8C5E;     /* Vertrauen, Häkchen (etwas dunkler als im Konzept für Kontrast auf Weiß) */
    --mlfm-sun: #F2B544;        /* Akzent */
    --mlfm-sky: #EAF4F9;        /* Flächen, Chips */
    --mlfm-meadow-l: #EEF6EF;
    --mlfm-sand: #FFF7EA;       /* Warme Flächen */
    --mlfm-ink: #23343F;        /* Text */
    --mlfm-soft: #5B6B76;       /* Nebentext */
    --mlfm-line: #DCE8EE;
    --mlfm-white: #FFFFFF;
    --mlfm-radius: 22px;
    --mlfm-radius-s: 14px;
    --mlfm-shadow: 0 14px 30px rgba(31, 95, 136, .12);
    --mlfm-head: "Nunito", "Segoe UI", system-ui, sans-serif;
    --mlfm-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

    /* Flatsome-Variablen */
    --primary-color: var(--mlfm-sea);
    --fs-color-primary: var(--mlfm-sea);
    --fs-color-secondary: var(--mlfm-sun);
    --fs-color-success: var(--mlfm-meadow);
    --fs-experimental-link-color: var(--mlfm-sea-d);
    --fs-experimental-link-color-hover: var(--mlfm-sea);
}

/* ---------- Grundlagen ---------- */
body.mlfm-friendly {
    font-family: var(--mlfm-body);
    color: var(--mlfm-ink);
    background: var(--mlfm-white);
}
body.mlfm-friendly h1, body.mlfm-friendly h2, body.mlfm-friendly h3, body.mlfm-friendly h4,
body.mlfm-friendly h5, body.mlfm-friendly h6, body.mlfm-friendly .heading-font,
body.mlfm-friendly .banner h1, body.mlfm-friendly .banner h2 {
    font-family: var(--mlfm-head);
    font-weight: 800;
    color: var(--mlfm-ink);
    letter-spacing: -.005em;
    text-wrap: balance;
}
body.mlfm-friendly .banner h1, body.mlfm-friendly .banner h2, body.mlfm-friendly .dark h1,
body.mlfm-friendly .dark h2, body.mlfm-friendly .dark h3 { color: #fff; }
body.mlfm-friendly a { color: var(--mlfm-sea-d); }
body.mlfm-friendly a:hover { color: var(--mlfm-sea); }
body.mlfm-friendly :focus-visible { outline: 3px solid var(--mlfm-sun); outline-offset: 2px; }
.mlfm-ico { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.17em; }

/* ---------- Buttons ---------- */
body.mlfm-friendly .button,
body.mlfm-friendly button.button,
body.mlfm-friendly input[type=submit],
body.mlfm-friendly .wpcf7-submit,
.mlfm-btn {
    font-family: var(--mlfm-head);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 999px;
    line-height: 1.2;
}
body.mlfm-friendly .button.primary:not(.is-outline),
body.mlfm-friendly input[type=submit],
body.mlfm-friendly .wpcf7-submit {
    background-color: var(--mlfm-sea);
    border-color: var(--mlfm-sea);
    color: #fff;
}
body.mlfm-friendly .button.primary:not(.is-outline):hover,
body.mlfm-friendly input[type=submit]:hover,
body.mlfm-friendly .wpcf7-submit:hover { background-color: var(--mlfm-sea-d); border-color: var(--mlfm-sea-d); box-shadow: none; }
body.mlfm-friendly .button.is-outline { border-width: 2px; }

.mlfm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 15.5px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    transition: background-color .2s, color .2s, box-shadow .2s;
}
.mlfm-btn--primary { background: var(--mlfm-sea); color: #fff !important; }
.mlfm-btn--primary:hover { background: var(--mlfm-sea-d); }
.mlfm-btn--outline { background: #fff; color: var(--mlfm-sea-d) !important; box-shadow: inset 0 0 0 2px var(--mlfm-sea); }
.mlfm-btn--outline:hover { background: var(--mlfm-sky); }
.mlfm-btn--sun { background: var(--mlfm-sun); color: var(--mlfm-ink) !important; }
.mlfm-btn--sun:hover { background: #E9A62A; }
.mlfm-btn--small { padding: 8px 16px; font-size: 14.5px; }

/* ---------- Kontaktleiste ---------- */
.mlfm-topbar { background: var(--mlfm-sea-d); color: #E5F0F6; font-size: 14px; }
.mlfm-topbar__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; padding-top: 6px; padding-bottom: 6px; }
.mlfm-topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #E5F0F6 !important; text-decoration: none; }
.mlfm-topbar__item:hover { color: #fff !important; }
.mlfm-topbar .mlfm-ico { color: var(--mlfm-sun); }
@media (max-width: 549px) {
    .mlfm-topbar__inner { justify-content: center; font-size: 13px; }
    .mlfm-topbar__item:nth-child(2) { display: none; }
}

/* ---------- Header und Navigation ---------- */
body.mlfm-friendly .header-bg-color,
body.mlfm-friendly .header-main { background-color: #fff; }
body.mlfm-friendly #masthead { border-bottom: 1px solid var(--mlfm-line); }
body.mlfm-friendly .header-main .nav > li > a {
    font-family: var(--mlfm-head);
    font-weight: 700;
    font-size: 16px;
    color: var(--mlfm-ink);
    padding: 9px 15px;
    border-radius: 999px;
    transition: background-color .2s, color .2s;
}
body.mlfm-friendly .header-main .nav > li > a:hover { background: var(--mlfm-sky); color: var(--mlfm-sea-d); }
body.mlfm-friendly .header-main .nav > li.active > a,
body.mlfm-friendly .header-main .nav > li.current-menu-item > a,
body.mlfm-friendly .header-main .nav > li.current-menu-ancestor > a { background: var(--mlfm-sky); color: var(--mlfm-sea-d); }
body.mlfm-friendly .header-main .nav-spacing-medium > li { margin: 0 2px; }
body.mlfm-friendly .stuck .header-main { box-shadow: 0 6px 18px rgba(31, 95, 136, .10); }
body.mlfm-friendly .mobile-nav .button.primary { background: var(--mlfm-sky); color: var(--mlfm-sea-d); border: 0; }
body.mlfm-friendly .off-canvas .nav-vertical > li > a { font-family: var(--mlfm-head); font-weight: 700; color: var(--mlfm-ink); }

/* ---------- Button „Zum Camping-Zubehör“ (Customizer-Element, Klasse ml-shop-button) ----------
   Gleicher Link, gleiches Ziel (eigener Shop, neues Fenster). Nur die Gestaltung passt sich an:
   Sonnengelb als Akzent statt Rot, kein Dauer-Pulsieren, Pfeil als Hinweis auf die externe Seite. */
body.mlfm-friendly .ml-shop-button {
    gap: 8px;
    background: var(--mlfm-sun);
    color: var(--mlfm-ink) !important;
    padding: 11px 18px !important;
    border-radius: 999px !important;
    font-family: var(--mlfm-head);
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 4px 14px rgba(242, 181, 68, .45);
    animation: none;
    transition: background-color .2s, transform .2s, box-shadow .2s;
}
body.mlfm-friendly .ml-shop-button::after {
    content: "";
    width: .7em;
    height: .7em;
    margin-left: 2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M9 7h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.mlfm-friendly .ml-shop-button:hover {
    background: #E9A62A;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(242, 181, 68, .55);
}
body.mlfm-friendly .ml-shop-button:focus-visible { outline: 3px solid var(--mlfm-sea); outline-offset: 3px; }

/* ---------- Seitentitel, Breadcrumbs ---------- */
body.mlfm-friendly .shop-page-title .page-title-inner,
body.mlfm-friendly .page-title-inner { padding-top: 18px; }
body.mlfm-friendly .woocommerce-breadcrumb,
body.mlfm-friendly .breadcrumbs { font-family: var(--mlfm-body); font-size: 15px; color: var(--mlfm-soft); text-transform: none; letter-spacing: 0; }
body.mlfm-friendly .breadcrumbs a { color: var(--mlfm-soft); }
body.mlfm-friendly .breadcrumbs .divider { opacity: .5; }
body.mlfm-friendly .woocommerce-ordering select,
body.mlfm-friendly select.orderby {
    border: 2px solid var(--mlfm-line);
    border-radius: 999px;
    padding: 8px 36px 8px 16px;
    height: auto;
    color: var(--mlfm-ink);
    background-color: #fff;
}
body.mlfm-friendly .woocommerce-result-count { color: var(--mlfm-soft); }

/* ---------- Filter-Sidebar (HUSKY/WOOF, Shop-Sidebar-Widgets) ---------- */
body.mlfm-friendly #shop-sidebar {
    background: var(--mlfm-sky);
    border-radius: var(--mlfm-radius);
    padding: 18px 12px 18px 14px;
}
body.mlfm-friendly #shop-sidebar .widget-title,
body.mlfm-friendly #shop-sidebar .widget-title.shop-sidebar { font-family: var(--mlfm-head); font-weight: 800; font-size: 18px; color: var(--mlfm-ink); text-transform: none; letter-spacing: 0; }
body.mlfm-friendly #shop-sidebar .is-divider { display: none; }
body.mlfm-friendly .woof_container h4 { font-family: var(--mlfm-head); font-weight: 700; font-size: 16px; color: var(--mlfm-ink); }
body.mlfm-friendly .woof_container label { font-size: 14.5px; color: var(--mlfm-ink); }
body.mlfm-friendly .woof_container { padding-bottom: 6px; }
body.mlfm-friendly .woof_text_search_container input,
body.mlfm-friendly #shop-sidebar input[type=search],
body.mlfm-friendly #shop-sidebar input[type=text] { border: 2px solid var(--mlfm-line); border-radius: var(--mlfm-radius-s); background: #fff; box-shadow: none; }
body.mlfm-friendly .irs--round .irs-bar,
body.mlfm-friendly .irs--round .irs-from,
body.mlfm-friendly .irs--round .irs-to,
body.mlfm-friendly .irs--round .irs-single { background-color: var(--mlfm-sea); }
body.mlfm-friendly .irs--round .irs-handle { border-color: var(--mlfm-sea); }
body.mlfm-friendly .irs--round .irs-from:before,
body.mlfm-friendly .irs--round .irs-to:before,
body.mlfm-friendly .irs--round .irs-single:before { border-top-color: var(--mlfm-sea); }

/* ---------- Fahrzeugkarten ---------- */
body.mlfm-friendly .product-small.box {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--mlfm-line);
    border-radius: var(--mlfm-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
body.mlfm-friendly .product-small.box:hover { transform: translateY(-3px); box-shadow: var(--mlfm-shadow); }
body.mlfm-friendly .product-small .box-image { border-radius: 0; width: 100%; } /* Flatsome setzt margin:auto; im Flex-Layout würde der Bildbereich sonst auf 0 schrumpfen */
body.mlfm-friendly .product-small .box-image img { transition: transform .5s; }
body.mlfm-friendly .product-small.box:hover .box-image img { transform: scale(1.03); }
body.mlfm-friendly .product-small .box-text.box-text-products {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
    padding: 16px 18px 18px;
    text-align: left;
}
body.mlfm-friendly .product-small .title-wrapper { padding: 0; }
body.mlfm-friendly .product-small p.category,
body.mlfm-friendly p.category.uppercase.is-smaller.no-text-overflow.product-cat.op-7 {
    font-family: var(--mlfm-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--mlfm-meadow);
    text-transform: none;
    letter-spacing: 0;
    opacity: 1;
    padding-bottom: 2px;
    margin-bottom: 2px;
}
body.mlfm-friendly .product-small .name.product-title,
body.mlfm-friendly .product-small .woocommerce-loop-product__title {
    font-family: var(--mlfm-head);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.25;
    min-height: 0;
    margin: 0;
}
body.mlfm-friendly .product-small .name.product-title a { color: var(--mlfm-ink); }
body.mlfm-friendly .product-small .name.product-title a:hover { color: var(--mlfm-sea-d); }

.mlfm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mlfm-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--mlfm-sky);
    color: var(--mlfm-sea-d);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
}
.mlfm-chip .mlfm-ico { width: 1em; height: 1em; }

.mlfm-card-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--mlfm-line);
}
body.mlfm-friendly .mlfm-card-footer .price-wrapper { display: flex; flex-direction: column; }
body.mlfm-friendly .mlfm-card-footer .price { padding: 0; margin: 0; line-height: 1; }
body.mlfm-friendly .mlfm-card-footer .price .amount,
body.mlfm-friendly .mlfm-card-footer span.amount { font-family: var(--mlfm-head); font-weight: 800; font-size: 23px; color: var(--mlfm-ink); }
.mlfm-vat { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mlfm-soft); }
/* Auf Fahrzeugseiten ergänzt functions.php „inkl. MwSt.“ an jedem Preis; in der Karte steht der Hinweis schon als .mlfm-vat */
body.mlfm-friendly .mlfm-card-footer .inkl-mwst { display: none !important; }

/* ---------- Pagination ---------- */
body.mlfm-friendly .page-numbers .page-number,
body.mlfm-friendly ul.page-numbers li > a,
body.mlfm-friendly ul.page-numbers li > span { border-radius: 999px; border: 2px solid var(--mlfm-line); color: var(--mlfm-ink); font-family: var(--mlfm-head); font-weight: 700; }
body.mlfm-friendly span.page-number.current,
body.mlfm-friendly ul.page-numbers li > span.current { background-color: var(--mlfm-sea); border-color: var(--mlfm-sea); color: #fff; }

/* ---------- Fahrzeugdetailseite ---------- */
body.mlfm-friendly.single-product .shop-container { padding-top: 12px; }
body.mlfm-friendly .custom-product-page .product-images .woocommerce-product-gallery__wrapper,
body.mlfm-friendly .custom-product-page .product-images .flickity-viewport { border-radius: var(--mlfm-radius); overflow: hidden; }
body.mlfm-friendly .custom-product-page .product-thumbnails .col a { border-radius: var(--mlfm-radius-s); overflow: hidden; }
body.mlfm-friendly .custom-product-page .product-thumbnails .col.is-nav-selected a { box-shadow: 0 0 0 3px var(--mlfm-sea); }
body.mlfm-friendly .custom-product-page .product-thumbnails img { border-radius: var(--mlfm-radius-s); }

/* rechte Spalte: Infobox */
body.mlfm-friendly .custom-product-page .large-4 > .col-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--mlfm-line);
    border-radius: var(--mlfm-radius);
    padding: 24px;
}
body.mlfm-friendly .custom-product-page .large-4 > .col-inner > .product-price-container { order: 3; }
body.mlfm-friendly .custom-product-page .large-4 > .col-inner > .product_meta { order: 4; }
body.mlfm-friendly .custom-product-page .large-4 > .col-inner > .mlfm-cta { order: 5; }
body.mlfm-friendly .product-title-container .is-divider,
body.mlfm-friendly .custom-product-page .is-divider { display: none; }
body.mlfm-friendly .product-title.product_title {
    font-family: var(--mlfm-head);
    font-weight: 800;
    font-size: clamp(24px, 2.4vw, 30px);
    line-height: 1.2;
    color: var(--mlfm-ink);
    margin: 0;
}
body.mlfm-friendly .product-price-container { margin: 0; }
body.mlfm-friendly .product-page-price,
body.mlfm-friendly p.price.product-page-price { margin: 0; padding: 0; }
body.mlfm-friendly .product-page-price .amount { font-family: var(--mlfm-head); font-weight: 800; font-size: 34px; color: var(--mlfm-ink); }
body.mlfm-friendly .product-price-container .inkl-mwst { display: block; font-size: 13.5px !important; color: var(--mlfm-soft); margin-top: 4px; }

/* Kurzdaten (Ausgabe des bestehenden Flatsome-Hooks) als Kacheln */
body.mlfm-friendly .custom-product-page .product_meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 15px;
}
body.mlfm-friendly .custom-product-page .product_meta > span {
    display: block;
    background: var(--mlfm-sky);
    border-radius: var(--mlfm-radius-s);
    padding: 9px 12px;
    border: 0;
    color: var(--mlfm-ink);
    font-weight: 600;
    line-height: 1.35;
}
body.mlfm-friendly .custom-product-page .product_meta > span a { color: var(--mlfm-sea-d); }
body.mlfm-friendly .custom-product-page .product_meta > span.sku_wrapper { grid-column: 1 / -1; background: transparent; padding: 0; color: var(--mlfm-soft); font-weight: 400; font-size: 14px; }

/* Anfrage-Buttons */
.mlfm-cta { display: flex; flex-direction: column; gap: 10px; }
.mlfm-cta .mlfm-btn { width: 100%; }
.mlfm-cta__hint {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 4px 0 0;
    padding: 10px 14px;
    background: var(--mlfm-sand);
    border-radius: var(--mlfm-radius-s);
    font-size: 14.5px;
    color: var(--mlfm-ink);
}
.mlfm-cta__hint .mlfm-ico { color: #B5790C; }

/* Abschnitte: Grundriss, Basisdaten, Technische Daten, Beschreibung, Ausstattung, Sonderausstattung */
body.mlfm-friendly .product-page-sections { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; }
body.mlfm-friendly .product-page-sections .product-section {
    background: #fff;
    border: 1px solid var(--mlfm-line);
    border-radius: var(--mlfm-radius);
    padding: 22px 24px 10px;
    border-top-width: 1px;
    margin: 0;
}
body.mlfm-friendly .product-page-sections .product-section > .row { margin: 0; }
body.mlfm-friendly .product-page-sections .product-section .col { padding: 0 0 12px; }
body.mlfm-friendly .product-page-sections .large-2,
body.mlfm-friendly .product-page-sections .large-10 { flex-basis: 100%; max-width: 100%; }
body.mlfm-friendly .product-page-sections h5.uppercase.mt {
    font-family: var(--mlfm-head);
    font-weight: 800;
    font-size: 21px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--mlfm-ink);
    margin: 0 0 6px;
}
body.mlfm-friendly table.shop_attributes,
body.mlfm-friendly table.woocommerce-product-attributes { border: 0; margin: 0; }
body.mlfm-friendly table.shop_attributes th,
body.mlfm-friendly th.woocommerce-product-attributes-item__label {
    width: 48%;
    font-family: var(--mlfm-body);
    font-weight: 600;
    color: var(--mlfm-soft);
    text-transform: none;
    letter-spacing: 0;
    font-size: 15.5px;
    padding: 11px 12px 11px 0;
    border-top: 0;
    border-bottom: 1px solid var(--mlfm-line);
    background: none;
}
body.mlfm-friendly table.shop_attributes td {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--mlfm-ink);
    padding: 11px 0;
    border-top: 0;
    border-bottom: 1px solid var(--mlfm-line);
    font-style: normal;
    background: none;
}
body.mlfm-friendly table.shop_attributes td p { margin: 0; padding: 0; }
body.mlfm-friendly table.shop_attributes tr:last-child th,
body.mlfm-friendly table.shop_attributes tr:last-child td { border-bottom: 0; }
/* Ausstattung / Sonderausstattung: Listen zweispaltig mit Häkchen */
body.mlfm-friendly th.woocommerce-product-attributes-item__label--attribute_pa_ausstattung,
body.mlfm-friendly th.woocommerce-product-attributes-item__label--attribute_pa_sonderausstattung { display: none; }
body.mlfm-friendly .woocommerce-product-attributes-item--attribute_pa_ausstattung td,
body.mlfm-friendly .woocommerce-product-attributes-item--attribute_pa_sonderausstattung td { font-weight: 400; }
body.mlfm-friendly .woocommerce-product-attributes-item--attribute_pa_ausstattung td > p > br:first-child,
body.mlfm-friendly .woocommerce-product-attributes-item--attribute_pa_sonderausstattung td > p > br:first-child { display: none; }
body.mlfm-friendly .product-page-sections ul { list-style: none; margin: 0; padding: 0; columns: 2 240px; column-gap: 28px; }
body.mlfm-friendly .product-page-sections ul li {
    position: relative;
    margin: 0;
    padding: 7px 0 7px 26px;
    border-bottom: 1px solid var(--mlfm-line);
    break-inside: avoid;
}
body.mlfm-friendly .product-page-sections ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 13px;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--mlfm-meadow);
    border-bottom: 2px solid var(--mlfm-meadow);
    transform: rotate(-45deg);
}
body.mlfm-friendly img.vehicle-layout-picture { width: 100%; max-width: 760px; border-radius: var(--mlfm-radius-s); }

/* Ähnliche Fahrzeuge */
body.mlfm-friendly .related-products-wrapper { margin-top: 26px; }
body.mlfm-friendly .product-section-title-related {
    font-family: var(--mlfm-head);
    font-weight: 800;
    font-size: 24px;
    text-transform: none;
    letter-spacing: 0;
    color: var(--mlfm-ink);
}

/* Anfrage-Bereich unter den Fahrzeugdaten */
.mlfm-inquiry { background: var(--mlfm-sand); padding: 48px 0; margin-top: 28px; scroll-margin-top: 90px; }
.mlfm-inquiry__inner { display: grid; grid-template-columns: 1fr; gap: 20px 48px; }
@media (min-width: 850px) { .mlfm-inquiry__inner { grid-template-columns: 1fr 1.6fr; } }
.mlfm-inquiry h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 10px; }
.mlfm-inquiry p { color: var(--mlfm-soft); }
.mlfm-inquiry__title { display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 8px 16px; color: var(--mlfm-sea-d) !important; font-weight: 600; }
body.mlfm-friendly .mlfm-inquiry .wpcf7-form { background: #fff; box-shadow: none; }

/* feste Aktionsleiste auf dem Handy */
.mlfm-mobilebar { display: none; }
@media (max-width: 849px) {
    body.mlfm-friendly.single-product { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
    body.mlfm-friendly.single-product .mlfm-mobilebar {
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        gap: 8px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
        background: #fff;
        border-top: 1px solid var(--mlfm-line);
        box-shadow: 0 -6px 18px rgba(31, 95, 136, .08);
    }
    .mlfm-mobilebar .mlfm-btn { padding: 12px 10px; }
    body.mlfm-friendly .custom-product-page .large-4 > .col-inner { padding: 18px; }
}

/* ---------- Formulare (Contact Form 7) ---------- */
body.mlfm-friendly .wpcf7-form {
    background: var(--mlfm-sand);
    border-radius: 26px;
    box-shadow: none;
    padding: clamp(18px, 3vw, 32px);
}
body.mlfm-friendly .wpcf7 label { font-family: var(--mlfm-body); font-weight: 600; font-size: 15px; color: var(--mlfm-ink); }
body.mlfm-friendly .wpcf7 input[type=text],
body.mlfm-friendly .wpcf7 input[type=email],
body.mlfm-friendly .wpcf7 input[type=tel],
body.mlfm-friendly .wpcf7 input[type=date],
body.mlfm-friendly .wpcf7 input[type=number],
body.mlfm-friendly .wpcf7 select,
body.mlfm-friendly .wpcf7 textarea {
    width: 100%;
    border: 2px solid var(--mlfm-line);
    border-radius: var(--mlfm-radius-s);
    padding: 11px 14px;
    background: #fff;
    color: var(--mlfm-ink);
    font-size: 16px;
    box-shadow: none;
    height: auto;
}
body.mlfm-friendly .wpcf7 input:focus,
body.mlfm-friendly .wpcf7 select:focus,
body.mlfm-friendly .wpcf7 textarea:focus { outline: none; border-color: var(--mlfm-sea); box-shadow: 0 0 0 4px rgba(46, 125, 175, .15); }
/* Checkbox-Gruppen als Auswahl-Pills */
body.mlfm-friendly .wpcf7-checkbox,
body.mlfm-friendly .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
body.mlfm-friendly .wpcf7-checkbox .wpcf7-list-item,
body.mlfm-friendly .wpcf7-radio .wpcf7-list-item { display: inline-block; margin: 0; }
body.mlfm-friendly .wpcf7-checkbox .wpcf7-list-item label,
body.mlfm-friendly .wpcf7-radio .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 7px 14px;
    background: #fff;
    border: 2px solid var(--mlfm-line);
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}
body.mlfm-friendly .wpcf7-checkbox .wpcf7-list-item label:has(input:checked),
body.mlfm-friendly .wpcf7-radio .wpcf7-list-item label:has(input:checked) { border-color: var(--mlfm-sea); background: var(--mlfm-sky); color: var(--mlfm-sea-d); }
body.mlfm-friendly .wpcf7 input[type=checkbox],
body.mlfm-friendly .wpcf7 input[type=radio] { accent-color: var(--mlfm-sea); width: 17px; height: 17px; margin: 0; }
body.mlfm-friendly .wpcf7-acceptance .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
body.mlfm-friendly .wpcf7 input[type=file] { border: 2px dashed var(--mlfm-sea); border-radius: var(--mlfm-radius-s); padding: 14px; background: #fff; width: 100%; }
body.mlfm-friendly .wpcf7-submit { width: auto; min-width: 220px; padding: 13px 28px; font-size: 16px; margin-top: 10px; }
body.mlfm-friendly .wpcf7-response-output { border-radius: var(--mlfm-radius-s); }

/* ---------- Banner auf Unterseiten (Vermietung, Service-Werkstatt) ---------- */
body.mlfm-friendly .banner .text-box h1,
body.mlfm-friendly .banner .text-box h2,
body.mlfm-friendly .banner .text-box h3 { text-shadow: 0 2px 16px rgba(0, 0, 0, .25); }

/* ---------- Footer ---------- */
body.mlfm-friendly .footer-1,
body.mlfm-friendly .footer-wrapper .footer-1 { background-color: var(--mlfm-sea-d); color: #E5F0F6; }
body.mlfm-friendly .footer-1 .widget-title { font-family: var(--mlfm-head); font-weight: 800; font-size: 17px; color: #fff; text-transform: none; letter-spacing: 0; }
body.mlfm-friendly .footer-1 .is-divider { background-color: var(--mlfm-sun); opacity: 1; height: 3px; width: 32px; border-radius: 3px; }
body.mlfm-friendly .footer-1 a,
body.mlfm-friendly .footer-1 li { color: #E5F0F6; }
body.mlfm-friendly .footer-1 a:hover { color: #fff; }
body.mlfm-friendly .footer-1 .menu li { border-color: rgba(255, 255, 255, .12); }
body.mlfm-friendly .absolute-footer { background-color: #184C6D; color: #C9DDEA; }
body.mlfm-friendly .absolute-footer a { color: #fff; }

/* =====================================================================
 * Startseite (Seite mit [mlfm-home]-Abschnitten, Template „page-blank“)
 * ===================================================================== */
.mlfm-home { font-size: 17px; line-height: 1.55; }
.mlfm-home p { margin: 0; }
.mlfm-wrap { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mlfm-sec { padding: 64px 0; }
.mlfm-sec--sky { background: var(--mlfm-sky); }
.mlfm-sec--sand { background: var(--mlfm-sand); }
.mlfm-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.mlfm-head h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 8px; }
.mlfm-head p { color: var(--mlfm-soft); }
.mlfm-kick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--mlfm-meadow);
    box-shadow: 0 2px 8px rgba(46, 125, 175, .12);
}

/* Hero */
.mlfm-hero { background: linear-gradient(180deg, var(--mlfm-sky), #fff); padding: 48px 0 64px; }
.mlfm-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 850px) { .mlfm-hero__grid { grid-template-columns: 1.05fr 1fr; } }
.mlfm-hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.1; margin: 18px 0 16px; }
.mlfm-hero h1 em { font-style: normal; color: var(--mlfm-sea); }
.mlfm-hero__lead { color: var(--mlfm-soft); font-size: 19px; max-width: 46ch; margin-bottom: 24px !important; }
.mlfm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mlfm-trust { margin-top: 24px; color: var(--mlfm-soft); font-size: 15.5px; line-height: 2; }
/* Funktioniert mit <span class="mlfm-trust__item"> und auch, wenn der Editor die Hüllen entfernt hat */
.mlfm-trust .mlfm-trust__item { display: inline-flex; align-items: center; gap: 7px; margin-right: 22px; white-space: nowrap; }
.mlfm-trust .mlfm-ico { color: var(--mlfm-meadow); margin-right: 6px; }
.mlfm-trust > .mlfm-ico:not(:first-child) { margin-left: 18px; }
.mlfm-trust .mlfm-trust__item .mlfm-ico { margin: 0; }
.mlfm-hero__pic { border-radius: 28px 28px 28px 120px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 20px 40px rgba(31, 95, 136, .18); max-width: 100%; }
.mlfm-hero__pic img, .mlfm-area__pic img, .mlfm-why__pic img, .mlfm-rent__pic img, .mlfm-brand__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Geschäftsbereiche */
.mlfm-areas { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 750px) { .mlfm-areas { grid-template-columns: repeat(3, 1fr); } }
.mlfm-area { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: var(--mlfm-sky); }
.mlfm-area:nth-child(2) { background: var(--mlfm-meadow-l); }
.mlfm-area:nth-child(3) { background: var(--mlfm-sand); }
.mlfm-area__pic { aspect-ratio: 16 / 10; overflow: hidden; }
/* Werkstatt-Foto ist Hochformat: Ausschnitt nach oben schieben, damit der Kopf des Mitarbeiters sichtbar bleibt */
.mlfm-area:nth-child(3) .mlfm-area__pic img { object-position: 50% 15%; }
.mlfm-area__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; flex: 1; }
.mlfm-area__icon { width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--mlfm-sea); margin-top: -48px; box-shadow: 0 4px 12px rgba(0, 0, 0, .08); }
.mlfm-area:nth-child(2) .mlfm-area__icon { color: var(--mlfm-meadow); }
.mlfm-area:nth-child(3) .mlfm-area__icon { color: #B5790C; }
.mlfm-area__icon .mlfm-ico { width: 24px; height: 24px; }
.mlfm-area h3 { font-size: 22px; margin: 0; }
.mlfm-area p { color: var(--mlfm-soft); font-size: 16px; }
.mlfm-area .mlfm-btn { align-self: flex-start; margin-top: auto; }

/* Öffnungszeiten */
.mlfm-hours { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 750px) { .mlfm-hours { grid-template-columns: 1fr 1fr; } }
.mlfm-hours__card { background: #fff; border: 1px solid var(--mlfm-line); border-radius: var(--mlfm-radius); padding: 24px 26px; }
.mlfm-hours__card h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; margin: 0 0 12px; }
.mlfm-hours__card h3 .mlfm-ico { color: var(--mlfm-sea); width: 24px; height: 24px; }
.mlfm-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 16.5px; }
.mlfm-hours dt { font-weight: 600; color: var(--mlfm-ink); text-transform: none; letter-spacing: 0; font-size: 16.5px; }
.mlfm-hours dd { margin: 0; color: var(--mlfm-soft); font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; font-size: 16.5px; }
.mlfm-note { display: flex; gap: 8px; align-items: center; margin-top: 14px !important; padding: 9px 14px; background: var(--mlfm-sand); border-radius: var(--mlfm-radius-s); font-size: 15px; }

/* Fahrzeuge (WooCommerce-Shortcode [products]) */
.mlfm-home .woocommerce .products { margin-bottom: 0; }
.mlfm-center { text-align: center; margin-top: 26px !important; }

/* Warum ML-Freizeitmobile */
.mlfm-why { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 850px) { .mlfm-why { grid-template-columns: 1fr 1fr; } }
.mlfm-why h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 12px; }
.mlfm-why > div > p { color: var(--mlfm-soft); margin-bottom: 18px; }
.mlfm-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mlfm-points li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.mlfm-points .mlfm-dot { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--mlfm-meadow-l); color: var(--mlfm-meadow); display: grid; place-items: center; }
.mlfm-points strong { display: block; font-family: var(--mlfm-head); font-weight: 800; font-size: 17.5px; color: var(--mlfm-ink); }
.mlfm-points li > div { color: var(--mlfm-soft); font-size: 16px; }
.mlfm-points li > div > strong { color: var(--mlfm-ink); }
.mlfm-why__pic { border-radius: 28px 120px 28px 28px; overflow: hidden; aspect-ratio: 3 / 2; }
/* Teamfoto ist ca. 2:1 – Ausschnitt nach links verschieben, damit alle Mitarbeiter sichtbar sind */
.mlfm-why__pic img { object-position: 15% 50%; }

/* Vermietung */
.mlfm-rent { display: grid; grid-template-columns: 1fr; border-radius: 28px; overflow: hidden; background: var(--mlfm-sea-d); color: #E5F0F6; }
@media (min-width: 850px) { .mlfm-rent { grid-template-columns: 1fr 1.1fr; } }
.mlfm-rent__pic { position: relative; min-height: 280px; }
.mlfm-rent__pic img { position: absolute; inset: 0; } /* Bildhöhe folgt dem Text, Hochformat-Fotos sprengen den Block nicht */
.mlfm-rent__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
body.mlfm-friendly .mlfm-rent h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 0; }
.mlfm-rent p { color: #E5F0F6; }
.mlfm-rent .mlfm-btn { align-self: flex-start; }

/* Marken */
.mlfm-brands { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 750px) { .mlfm-brands { grid-template-columns: repeat(3, 1fr); } }
.mlfm-brand { background: #fff; border: 1px solid var(--mlfm-line); border-radius: var(--mlfm-radius); overflow: hidden; }
.mlfm-brand__pic { aspect-ratio: 4 / 3; background: var(--mlfm-sky); }
.mlfm-brand__pic img { object-fit: contain; padding: 10px; }
.mlfm-brand__body { padding: 18px 22px 22px; }
.mlfm-brand h3 { font-size: 20px; margin: 0 0 6px; }
.mlfm-brand p { color: var(--mlfm-soft); font-size: 15.5px; }

/* Kontakt */
.mlfm-contact { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 750px) { .mlfm-contact { grid-template-columns: repeat(3, 1fr); } }
.mlfm-contact a, .mlfm-contact div {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: center;
    background: #fff;
    border-radius: var(--mlfm-radius);
    padding: 18px 20px;
    text-decoration: none;
    color: var(--mlfm-ink) !important;
    border: 1px solid var(--mlfm-line);
}
.mlfm-contact .mlfm-dot { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--mlfm-sun); display: grid; place-items: center; color: var(--mlfm-ink); }
.mlfm-contact small { display: block; color: var(--mlfm-soft); font-size: 14px; grid-column: 2; align-self: end; }
.mlfm-contact a > strong { grid-column: 2; align-self: start; }
.mlfm-contact .mlfm-contact__text { grid-column: 2; grid-row: 1 / span 2; }
.mlfm-contact strong { font-family: var(--mlfm-head); font-weight: 800; font-size: 16.5px; }

@media (prefers-reduced-motion: reduce) {
    body.mlfm-friendly *, body.mlfm-friendly *::before { transition: none !important; }
}

/* =====================================================================
 * Service-Werkstatt (Seite mit .mlfm-svc, Template „page-blank“)
 * Vorlage: page-templates/service-werkstatt-friendly.html
 * ===================================================================== */
/* Hinweis „eingeschränkt erreichbar“: ruhig, aber deutlich – statt roter Fläche */
.mlfm-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--mlfm-sand);
    border: 1px solid #F3DDB0;
    border-left: 5px solid var(--mlfm-sun);
    border-radius: var(--mlfm-radius-s);
    padding: 14px 18px;
    margin: 0 0 24px;
    max-width: 560px;
}
.mlfm-notice__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--mlfm-sun); color: var(--mlfm-ink); display: grid; place-items: center; }
.mlfm-notice__icon .mlfm-ico { width: 20px; height: 20px; }
.mlfm-notice strong { display: block; font-family: var(--mlfm-head); font-weight: 800; font-size: 17px; color: var(--mlfm-ink); margin-bottom: 2px; }
.mlfm-notice p { font-size: 15.5px; color: var(--mlfm-ink); line-height: 1.5; }
.mlfm-notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

.mlfm-svc__pic { aspect-ratio: 4 / 3; }
@media (min-width: 850px) { .mlfm-svc__pic { aspect-ratio: 4 / 5; max-height: 600px; } }
.mlfm-svc__pic img { object-position: 50% 20%; }
.mlfm-svc .mlfm-btn--outline .mlfm-ico { margin-right: 2px; }

/* Öffnungszeiten & Kontakt */
.mlfm-svc__list { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--mlfm-line); display: flex; flex-direction: column; gap: 6px; }
.mlfm-svc__list li { display: flex; gap: 10px; align-items: center; margin: 0; color: var(--mlfm-soft); font-size: 16px; }
.mlfm-svc__list .mlfm-ico { color: var(--mlfm-meadow); }
.mlfm-svc__contact { display: flex; flex-direction: column; gap: 12px; }
.mlfm-svc__contact a { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--mlfm-ink) !important; padding: 10px 12px; margin: -10px -12px 0; border-radius: var(--mlfm-radius-s); }
.mlfm-svc__contact a:first-child { margin-top: -10px; }
.mlfm-svc__contact a:hover { background: var(--mlfm-sky); }
.mlfm-svc__contact .mlfm-dot { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--mlfm-sky); color: var(--mlfm-sea); display: grid; place-items: center; }
.mlfm-svc__contact a:first-child .mlfm-dot { background: var(--mlfm-sun); color: var(--mlfm-ink); }
.mlfm-svc__contact small { display: block; color: var(--mlfm-soft); font-size: 14px; }
.mlfm-svc__contact strong { font-family: var(--mlfm-head); font-weight: 800; font-size: 16.5px; word-break: break-word; }

/* Leistungen */
.mlfm-svc__intro { display: grid; grid-template-columns: 1fr; gap: 14px 40px; max-width: 1040px; margin: 0 auto 40px; color: var(--mlfm-soft); }
.mlfm-svc__sub { text-align: center; font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 22px; }
.mlfm-svc__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.mlfm-svc__item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--mlfm-line); border-radius: var(--mlfm-radius); padding: 20px 22px; color: var(--mlfm-soft); font-size: 16px; }
.mlfm-svc__item strong { display: block; font-family: var(--mlfm-head); font-weight: 800; font-size: 17.5px; color: var(--mlfm-ink); margin-bottom: 2px; }
.mlfm-svc__item .mlfm-dot { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--mlfm-sky); color: var(--mlfm-sea); display: grid; place-items: center; }
.mlfm-svc__item .mlfm-dot .mlfm-ico { width: 22px; height: 22px; }
.mlfm-svc__extras { margin-top: 22px; background: var(--mlfm-meadow-l); border-radius: var(--mlfm-radius); padding: 22px 24px; }
.mlfm-svc__extras h3 { display: flex; gap: 10px; align-items: center; font-size: 19px; margin: 0 0 14px; }
.mlfm-svc__extras h3 .mlfm-ico { color: var(--mlfm-meadow); width: 24px; height: 24px; }
.mlfm-svc__extras .mlfm-chip { background: #fff; font-size: 15px; padding: 7px 14px; margin: 0; }

/* Anfrage */
#anfrage { scroll-margin-top: 80px; }
.mlfm-svc__form { display: grid; grid-template-columns: 1fr; gap: 28px 48px; align-items: start; }
.mlfm-svc__aside h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 10px; }
.mlfm-svc__aside > p { color: var(--mlfm-soft); }
.mlfm-svc__aside a { word-break: break-word; }
.mlfm-svc__steps { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mlfm-svc__steps li { display: flex; gap: 12px; align-items: center; margin: 0; font-weight: 600; }
.mlfm-svc__steps span { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--mlfm-sea); color: #fff; display: grid; place-items: center; font-family: var(--mlfm-head); font-weight: 800; font-size: 15px; }
.mlfm-svc__team { margin-top: 26px; border-radius: var(--mlfm-radius); overflow: hidden; position: relative; }
.mlfm-svc__team img { display: block; width: 100%; height: auto; }
.mlfm-svc__team span { position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 6px 14px; font-family: var(--mlfm-head); font-weight: 800; font-size: 15px; color: var(--mlfm-ink); }
body.mlfm-friendly .mlfm-svc__formbox .wpcf7-form { background: #fff; box-shadow: var(--mlfm-shadow); }
.mlfm-svc__formbox .wpcf7-form > p { margin-bottom: 14px; }

@media (min-width: 750px) {
    .mlfm-svc__grid { grid-template-columns: 1fr 1fr; }
    .mlfm-svc__intro { grid-template-columns: 1fr 1fr; }
    .mlfm-svc__formbox .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
    .mlfm-svc__formbox .wpcf7-form > * { grid-column: 1 / -1; }
    .mlfm-svc__formbox .wpcf7-form > p:has(input.wpcf7-text, input.wpcf7-date) { grid-column: auto; }
    .mlfm-svc__formbox .wpcf7-form > fieldset, .mlfm-svc__formbox .wpcf7-form > input[type=hidden] { display: none; }
}
@media (min-width: 1000px) {
    .mlfm-svc__grid { grid-template-columns: repeat(3, 1fr); }
    .mlfm-svc__form { grid-template-columns: minmax(280px, 1fr) 2fr; }
    .mlfm-svc__aside { position: sticky; top: 100px; }
}

/* Vermietung (Seite mit .mlfm-rentpage, nutzt die Service-Bausteine oben)
 * Vorlage: page-templates/vermietung-friendly.html */
a.mlfm-svc__item { text-decoration: none; color: var(--mlfm-soft) !important; transition: border-color .15s, box-shadow .15s; }
a.mlfm-svc__item:hover { border-color: var(--mlfm-sea); box-shadow: var(--mlfm-shadow); }
.mlfm-rentpage .mlfm-hero__pic { aspect-ratio: 4 / 3; border-radius: 28px 28px 28px 120px; }
.mlfm-rentpage .mlfm-hero__pic img { object-position: 30% 60%; }
.mlfm-rentpage .mlfm-rent__pic img { object-position: 50% 60%; }

/* Newsletter-Kasten (Startseite und Vermietung)
 * Verlinkt auf /newsletter-anmelden/?von=<seite>, damit sich die Herkunft der Anmeldungen auswerten lässt. */
.mlfm-nl { box-sizing: border-box; display: grid; gap: 18px; align-items: center; max-width: 1000px; margin: 0 auto; background: #fff; border: 2px solid var(--mlfm-line); border-radius: var(--mlfm-radius); padding: 26px 22px; box-shadow: var(--mlfm-shadow); }
@media (min-width: 850px) { .mlfm-nl { grid-template-columns: auto 1fr auto; gap: 28px; padding: 32px 36px; } }
.mlfm-nl__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--mlfm-sun); color: var(--mlfm-ink); display: grid; place-items: center; }
.mlfm-nl__icon .mlfm-ico { width: 30px; height: 30px; }
body.mlfm-friendly .mlfm-nl h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 6px; }
.mlfm-nl p { color: var(--mlfm-soft); margin: 0; }
body.mlfm-friendly ul.mlfm-nl__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
body.mlfm-friendly ul.mlfm-nl__chips li { display: inline-flex; align-items: center; gap: 6px; margin: 0; background: var(--mlfm-sky); color: var(--mlfm-sea-d); border-radius: 999px; padding: 5px 12px; font-size: 14.5px; font-weight: 600; }
.mlfm-nl__chips .mlfm-ico { color: var(--mlfm-meadow); }
.mlfm-nl__cta { display: flex; flex-direction: column; gap: 8px; }
.mlfm-nl__cta .mlfm-btn { width: 100%; box-sizing: border-box; }
@media (min-width: 850px) { .mlfm-nl__cta { align-items: center; text-align: center; } .mlfm-nl__cta .mlfm-btn { width: auto; white-space: nowrap; } }
.mlfm-nl__hint { font-size: 14px; color: var(--mlfm-soft); }
