/**
 * Carconnect Pro – Frontend-Styles v2
 * Modernes Autohaus-Design | Mobile-First | CSS Custom Properties
 * @package NE_Fahrzeugmarkt
 * @author  Nico Eberhardt – https://nico-eberhardt.de
 */

:root {
    --ne-fm-primary: #1a56db;
    --ne-fm-primary-hover: #1e40af;
    --ne-fm-primary-light: rgba(26,86,219,.06);
    --ne-fm-success: #15803d;
    --ne-fm-warning: #d97706;
    --ne-fm-danger: #dc2626;
    --ne-fm-text: #111827;
    --ne-fm-text-light: #6b7280;
    --ne-fm-bg: #ffffff;
    --ne-fm-bg-light: #f8fafc;
    --ne-fm-border: #e2e8f0;
    --ne-fm-radius: 12px;
    --ne-fm-radius-sm: 8px;
    --ne-fm-shadow: 0 1px 3px rgba(0,0,0,.06),0 1px 2px rgba(0,0,0,.04);
    --ne-fm-shadow-hover: 0 12px 32px rgba(0,0,0,.12);
    --ne-fm-font: inherit;
    --ne-fm-transition: .2s cubic-bezier(.4,0,.2,1);
}

/* ── Container ── */
.ne-fm-container { max-width:1320px; margin:0 auto; padding:0 20px; font-family:var(--ne-fm-font); color:var(--ne-fm-text); -webkit-font-smoothing:antialiased; }

/* ══ FILTERLEISTE ══ */
.ne-fm-filters { background:var(--ne-fm-bg); border:1px solid var(--ne-fm-border); border-radius:var(--ne-fm-radius); padding:20px; margin-bottom:24px; box-shadow:var(--ne-fm-shadow); }

/* 4-Spalten-Dropdown-Grid */
.ne-fm-filters__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:16px; }
@media(max-width:900px) { .ne-fm-filters__grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:500px) { .ne-fm-filters__grid { grid-template-columns:1fr; } }

.ne-fm-filter-input { padding:10px 14px; border:1px solid var(--ne-fm-border); border-radius:var(--ne-fm-radius-sm); font-size:.9rem; background:var(--ne-fm-bg); color:var(--ne-fm-text); transition:all var(--ne-fm-transition); font-family:inherit; line-height:1.5; width:100%; }
.ne-fm-filter-input:focus { outline:none; border-color:var(--ne-fm-primary); box-shadow:0 0 0 3px var(--ne-fm-primary-light); }
.ne-fm-filter-select { cursor:pointer; -webkit-appearance:none; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:34px; }
/* Ergebnis-Button (prominent, zentriert wie Pirna) */
.ne-fm-filters__result-btn { text-align:center; padding:14px 0; margin:4px 0 12px; background:var(--ne-fm-primary); color:#fff; border-radius:var(--ne-fm-radius-sm); font-size:1rem; font-weight:600; cursor:default; }
.ne-fm-filters__result-btn strong { font-size:1.15rem; }

/* Filter-Fußzeile */
.ne-fm-filters__footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding-top:12px; border-top:1px solid var(--ne-fm-border); }
.ne-fm-filters__footer-right { display:flex; align-items:center; gap:10px; margin-left:auto; }
.ne-fm-filters__sort-label { font-size:.85rem; font-weight:600; color:var(--ne-fm-text-light); white-space:nowrap; }

/* Filter-Reset */
.ne-fm-filter-reset { display:inline-flex; align-items:center; gap:4px; padding:8px 14px; border:1px solid var(--ne-fm-danger); border-radius:var(--ne-fm-radius-sm); background:transparent; color:var(--ne-fm-danger); font-size:.85rem; font-weight:500; cursor:pointer; transition:all var(--ne-fm-transition); }
.ne-fm-filter-reset:hover { background:var(--ne-fm-danger); color:#fff; }

.ne-fm-view-toggle { display:flex; gap:4px; }
.ne-fm-view-btn { width:36px; height:36px; border:1px solid var(--ne-fm-border); border-radius:6px; background:var(--ne-fm-bg); color:var(--ne-fm-text-light); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:1rem; transition:all var(--ne-fm-transition); }
.ne-fm-view-btn:hover { border-color:var(--ne-fm-primary); color:var(--ne-fm-primary); }
.ne-fm-view-btn.active { background:var(--ne-fm-primary); color:#fff; border-color:var(--ne-fm-primary); }
@media(max-width:768px) { .ne-fm-filters__footer { flex-direction:column; align-items:stretch; } .ne-fm-filters__footer-right { width:100%; justify-content:space-between; } }

/* ══ Mobile: Filter einklappbar ══ */
.ne-fm-filters__mobile-toggle { display:none; }
@media(max-width:640px) {
    .ne-fm-filters__mobile-toggle { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:12px; background:var(--ne-fm-primary,#1a56db); color:#fff; border:none; border-radius:var(--ne-fm-radius-sm,8px); font-size:1rem; font-weight:600; cursor:pointer; margin-bottom:0; }
    .ne-fm-filters__mobile-toggle .ne-fm-ftm-arrow { transition:transform .2s; }
    .ne-fm-filters.mobile-collapsed .ne-fm-filters__mobile-toggle .ne-fm-ftm-arrow { transform:rotate(-90deg); }
    .ne-fm-filters.mobile-collapsed .ne-fm-filters__grid,
    .ne-fm-filters.mobile-collapsed .ne-fm-filters__features-grid { display:none !important; }
    .ne-fm-filters__features-grid { max-height:200px; overflow-y:auto; }
}

/* ══ FAHRZEUG-GRID ══ */
.ne-fm-grid { display:grid; grid-template-columns:1fr; gap:24px; }
@media(min-width:640px) { .ne-fm-grid { grid-template-columns:repeat(2,1fr); } }
@media(min-width:1024px) { .ne-fm-grid { grid-template-columns:repeat(3,1fr); } }
.ne-fm-no-results { grid-column:1/-1; text-align:center; padding:60px 20px; color:var(--ne-fm-text-light); }

/* ══ FAHRZEUGKARTE ══ */
.ne-fm-card { display:flex; flex-direction:column; background:var(--ne-fm-bg); border-radius:var(--ne-fm-radius); overflow:hidden; text-decoration:none; color:inherit; transition:all .3s cubic-bezier(.4,0,.2,1); box-shadow:var(--ne-fm-shadow); border:1px solid var(--ne-fm-border); position:relative; }
.ne-fm-card:hover { transform:translateY(-4px); box-shadow:var(--ne-fm-shadow-hover); border-color:transparent; }
.ne-fm-card--sold { opacity:.65; }
.ne-fm-card__image { position:relative; overflow:hidden; aspect-ratio:16/10; background:var(--ne-fm-bg-light); }
.ne-fm-card__image img { width:100%; height:100%; object-fit:cover; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.ne-fm-card:hover .ne-fm-card__image img { transform:scale(1.05); }
.ne-fm-card__img-count { position:absolute; bottom:8px; right:8px; background:rgba(0,0,0,.65); color:#fff; padding:3px 8px; border-radius:4px; font-size:.75rem; font-weight:500; display:flex; align-items:center; gap:4px; backdrop-filter:blur(4px); }
.ne-fm-badge { position:absolute; top:10px; padding:4px 10px; border-radius:4px; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:#fff; z-index:2; line-height:1.3; }
.ne-fm-badge--zustand { left:10px; background:var(--ne-fm-primary); }
.ne-fm-badge--drop { left:10px; top:40px; background:var(--ne-fm-success); }
.ne-fm-badge--sold { right:10px; background:#000; }
.ne-fm-badge--reserved { right:10px; background:var(--ne-fm-warning); }
.ne-fm-card__body { padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; gap:6px; }
.ne-fm-card__title { margin:0; font-size:1rem; font-weight:700; color:var(--ne-fm-text); line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.ne-fm-card__subtitle { margin:0; font-size:.82rem; color:var(--ne-fm-text-light); }
.ne-fm-card__specs { display:flex; flex-wrap:wrap; gap:4px 12px; font-size:.8rem; color:var(--ne-fm-text-light); padding:8px 0; border-top:1px solid var(--ne-fm-border); border-bottom:1px solid var(--ne-fm-border); margin-top:auto; }
.ne-fm-card__spec { display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }
.ne-fm-card__spec-icon { display:inline-flex; width:14px; color:var(--ne-fm-text-light); opacity:.6; font-size:.75rem; }
.ne-fm-card__price { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px; margin-top:4px; }
.ne-fm-card__price-current { font-size:1.4rem; font-weight:800; color:var(--ne-fm-text); letter-spacing:-.02em; line-height:1.2; }
.ne-fm-card__price-old { font-size:.9rem; color:var(--ne-fm-text-light); text-decoration:line-through; }
.ne-fm-card__price-tax { font-size:.72rem; color:var(--ne-fm-text-light); }
.ne-fm-card__finance { font-size:.8rem; color:var(--ne-fm-primary); font-weight:600; }
.ne-fm-card__highlights { display:flex; flex-wrap:wrap; gap:4px; margin-top:2px; }
.ne-fm-card__highlights span { display:inline-block; padding:2px 8px; background:var(--ne-fm-bg-light); border:1px solid var(--ne-fm-border); border-radius:4px; font-size:.72rem; color:var(--ne-fm-text-light); font-weight:500; }

/* Liste-Ansicht */
.ne-fm-grid--list { grid-template-columns:1fr !important; gap:16px; }

/* ══ Multi-Select Dropdown ══ */
.ne-fm-multiselect { position:relative; }
.ne-fm-multiselect__trigger { cursor:pointer !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; user-select:none; }
.ne-fm-multiselect--has-value { color:var(--ne-fm-text) !important; font-weight:500 !important; }
.ne-fm-multiselect__dropdown { display:none; position:absolute; top:calc(100% + 4px); left:0; right:0; background:#fff; border:1px solid var(--ne-fm-border); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.12); z-index:50; max-height:240px; overflow-y:auto; padding:6px 0; }
.ne-fm-multiselect__dropdown.open { display:block; }
.ne-fm-multiselect__option { display:flex; align-items:center; gap:8px; padding:7px 14px; font-size:.88rem; cursor:pointer; transition:background .15s; }
.ne-fm-multiselect__option:hover { background:#f1f5f9; }
.ne-fm-multiselect__option input[type="checkbox"] { width:auto !important; height:auto !important; margin:0; accent-color:var(--ne-fm-primary); cursor:pointer; }
.ne-fm-multiselect__hidden { display:none !important; }

/* ══ Ausstattungs-Filter (immer sichtbar, wie Pirna) ══ */
.ne-fm-filters__features-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:4px 16px; padding:12px 0 16px; border-top:1px solid var(--ne-fm-border); border-bottom:1px solid var(--ne-fm-border); margin:4px 0; }
.ne-fm-filters__feature { display:flex; align-items:center; gap:6px; font-size:.85rem; color:var(--ne-fm-text); cursor:pointer; padding:4px 0; }
.ne-fm-filters__feature input[type="checkbox"] { width:auto; height:auto; margin:0; accent-color:var(--ne-fm-primary); cursor:pointer; }

/* ══ EnVKV auf Fahrzeugkarten ══ */
.ne-fm-card__envkv { padding:8px 0 0; border-top:1px solid var(--ne-fm-border); display:flex; align-items:flex-start; gap:8px; }
.ne-fm-card__envkv-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; flex:1; }
.ne-fm-card__envkv-item { display:flex; flex-direction:column; }
.ne-fm-card__envkv-label { font-size:.62rem; color:var(--ne-fm-text-light); line-height:1.2; }
.ne-fm-card__envkv-value { font-size:.75rem; font-weight:600; color:var(--ne-fm-text); }
/* Energieeffizienz-Badge */
.ne-fm-energy-badge { width:28px; height:28px; border-radius:4px; display:flex; align-items:center; justify-content:center; font-size:.75rem; font-weight:800; color:#fff; flex-shrink:0; }
.ne-fm-energy-badge--a { background:#00963f; }
.ne-fm-energy-badge--b { background:#4db848; }
.ne-fm-energy-badge--c { background:#bdd630; }
.ne-fm-energy-badge--d { background:#fff200; color:#333; }
.ne-fm-energy-badge--e { background:#fdb913; }
.ne-fm-energy-badge--f { background:#f37021; }
.ne-fm-energy-badge--g { background:#e30613; }

/* ══ EnVKV-Disclaimer ══ */
.ne-fm-envkv-disclaimer { margin:24px 0 16px; font-size:.8rem; color:var(--ne-fm-text-light); line-height:1.6; }
.ne-fm-envkv-disclaimer summary { cursor:pointer; font-weight:600; padding:10px 14px; background:var(--ne-fm-bg-light); border:1px solid var(--ne-fm-border); border-radius:var(--ne-fm-radius-sm); user-select:none; }
.ne-fm-envkv-disclaimer summary:hover { background:var(--ne-fm-bg); }
.ne-fm-envkv-disclaimer details[open] summary { border-radius:var(--ne-fm-radius-sm) var(--ne-fm-radius-sm) 0 0; border-bottom:none; }
.ne-fm-envkv-disclaimer__text { padding:14px 16px; border:1px solid var(--ne-fm-border); border-top:none; border-radius:0 0 var(--ne-fm-radius-sm) var(--ne-fm-radius-sm); background:var(--ne-fm-bg); }
.ne-fm-envkv-disclaimer__text p { margin:0 0 8px; }
.ne-fm-envkv-disclaimer__text p:last-child { margin-bottom:0; }
.ne-fm-envkv-disclaimer__text a { color:var(--ne-fm-primary); }
.ne-fm-grid--list .ne-fm-card { flex-direction:row; }
.ne-fm-grid--list .ne-fm-card__image { width:320px; min-width:320px; aspect-ratio:auto; }
.ne-fm-grid--list .ne-fm-card__body { padding:18px 22px; justify-content:center; }
.ne-fm-grid--list .ne-fm-card__title { font-size:1.15rem; }
.ne-fm-grid--list .ne-fm-card__price-current { font-size:1.6rem; }
@media(max-width:768px) { .ne-fm-grid--list .ne-fm-card { flex-direction:column; } .ne-fm-grid--list .ne-fm-card__image { width:100%; min-width:auto; aspect-ratio:16/10; } }

/* ══ PAGINATION ══ */
.ne-fm-pagination { display:flex; justify-content:center; align-items:center; gap:6px; margin:32px 0 16px; }
.ne-fm-page-btn { min-width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; padding:0 12px; border:1px solid var(--ne-fm-border); border-radius:var(--ne-fm-radius-sm); background:var(--ne-fm-bg); color:var(--ne-fm-text); font-size:.9rem; font-weight:500; cursor:pointer; transition:all var(--ne-fm-transition); }
.ne-fm-page-btn:hover { border-color:var(--ne-fm-primary); color:var(--ne-fm-primary); }
.ne-fm-page-btn.active { background:var(--ne-fm-primary); color:#fff; border-color:var(--ne-fm-primary); }

/* ══ BUTTONS ══ */
.ne-fm-btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:12px 24px; border-radius:var(--ne-fm-radius-sm); font-size:.9rem; font-weight:600; font-family:inherit; text-decoration:none; cursor:pointer; transition:all var(--ne-fm-transition); border:2px solid transparent; line-height:1.4; }
.ne-fm-btn--primary { background:var(--ne-fm-primary); color:#fff; border-color:var(--ne-fm-primary); }
.ne-fm-btn--primary:hover { background:var(--ne-fm-primary-hover); border-color:var(--ne-fm-primary-hover); }
.ne-fm-btn--outline { background:transparent; color:var(--ne-fm-primary); border-color:var(--ne-fm-primary); }
.ne-fm-btn--outline:hover { background:var(--ne-fm-primary); color:#fff; }
.ne-fm-btn--large { padding:14px 28px; font-size:1rem; }

/* ══ DETAILSEITE ══ */
.ne-fm-detail { max-width:1320px; margin:0 auto; padding:0 20px; font-family:var(--ne-fm-font); color:var(--ne-fm-text); -webkit-font-smoothing:antialiased; }
.ne-fm-detail__breadcrumb { font-size:.82rem; color:var(--ne-fm-text-light); margin-bottom:20px; padding:12px 0; }
.ne-fm-detail__breadcrumb a { color:var(--ne-fm-text-light); text-decoration:none; }
.ne-fm-detail__breadcrumb a:hover { color:var(--ne-fm-primary); }
.ne-fm-detail__top { display:grid; grid-template-columns:1fr; gap:28px; margin-bottom:32px; }
@media(min-width:900px) { .ne-fm-detail__top { grid-template-columns:1.1fr 1fr; } }
.ne-fm-detail__gallery { position:relative; }
.ne-fm-gallery__main { position:relative; border-radius:var(--ne-fm-radius); overflow:hidden; background:var(--ne-fm-bg-light); aspect-ratio:16/10; }
.ne-fm-gallery__main img { width:100%; height:100%; object-fit:cover; cursor:zoom-in; }
.ne-fm-gallery__counter { position:absolute; bottom:10px; right:10px; background:rgba(0,0,0,.6); color:#fff; padding:4px 10px; border-radius:4px; font-size:.8rem; backdrop-filter:blur(4px); }
.ne-fm-gallery__thumbs { display:flex; gap:8px; margin-top:10px; overflow-x:auto; scrollbar-width:thin; padding-bottom:4px; }
.ne-fm-gallery__thumb { width:72px; height:54px; border-radius:6px; object-fit:cover; cursor:pointer; border:2px solid transparent; opacity:.6; transition:all var(--ne-fm-transition); flex-shrink:0; }
.ne-fm-gallery__thumb:hover { opacity:.9; }
.ne-fm-gallery__thumb.active { border-color:var(--ne-fm-primary); opacity:1; }
.ne-fm-detail__header { display:flex; flex-direction:column; gap:12px; }
.ne-fm-detail__title { margin:0; font-size:1.6rem; font-weight:800; color:var(--ne-fm-text); line-height:1.25; letter-spacing:-.02em; }
@media(min-width:900px) { .ne-fm-detail__title { font-size:1.9rem; } }
.ne-fm-detail__subtitle { font-size:1rem; color:var(--ne-fm-text-light); margin:0; }
.ne-fm-detail__price-box { background:var(--ne-fm-bg-light); border:1px solid var(--ne-fm-border); border-radius:var(--ne-fm-radius); padding:20px; }
.ne-fm-detail__price-current { font-size:2.2rem; font-weight:800; color:var(--ne-fm-text); letter-spacing:-.03em; line-height:1.1; }
.ne-fm-detail__price-old { font-size:1.1rem; color:var(--ne-fm-text-light); text-decoration:line-through; margin-right:8px; }
.ne-fm-detail__price-tax { font-size:.85rem; color:var(--ne-fm-text-light); margin-top:4px; }
.ne-fm-detail__price-finance { margin-top:10px; padding-top:10px; border-top:1px solid var(--ne-fm-border); font-size:.9rem; color:var(--ne-fm-primary); font-weight:600; }
.ne-fm-detail__quick-specs { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:4px; }
@media(min-width:480px) { .ne-fm-detail__quick-specs { grid-template-columns:repeat(3,1fr); } }
.ne-fm-detail__qspec { display:flex; flex-direction:column; gap:2px; padding:10px 12px; background:var(--ne-fm-bg-light); border-radius:var(--ne-fm-radius-sm); border:1px solid var(--ne-fm-border); }
.ne-fm-detail__qspec-label { font-size:.72rem; color:var(--ne-fm-text-light); text-transform:uppercase; letter-spacing:.03em; font-weight:600; }
.ne-fm-detail__qspec-value { font-size:.9rem; font-weight:600; color:var(--ne-fm-text); }
.ne-fm-detail__cta-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }

/* Tabs */
.ne-fm-tabs { margin-bottom:32px; }
.ne-fm-tabs__nav { display:flex; flex-wrap:wrap; gap:4px; border-bottom:2px solid var(--ne-fm-border); }
.ne-fm-tab-btn { padding:12px 20px; background:none; border:none; border-bottom:2px solid transparent; margin-bottom:-2px; font-size:.9rem; font-weight:600; color:var(--ne-fm-text-light); cursor:pointer; transition:all var(--ne-fm-transition); font-family:inherit; }
.ne-fm-tab-btn:hover { color:var(--ne-fm-text); }
.ne-fm-tab-btn.active { color:var(--ne-fm-primary); border-bottom-color:var(--ne-fm-primary); }
.ne-fm-tab-content { display:none; padding:24px 0; }
.ne-fm-tab-content.active { display:block; }
.ne-fm-data-table { width:100%; border-collapse:collapse; }
.ne-fm-data-table th { text-align:left; font-weight:600; font-size:.85rem; color:var(--ne-fm-text-light); padding:10px 12px; border-bottom:1px solid var(--ne-fm-border); width:40%; }
.ne-fm-data-table td { padding:10px 12px; border-bottom:1px solid var(--ne-fm-border); font-size:.9rem; }
.ne-fm-data-table tr:last-child th,.ne-fm-data-table tr:last-child td { border-bottom:none; }
.ne-fm-data-table tr:hover { background:var(--ne-fm-bg-light); }
.ne-fm-equipment-list { display:flex; flex-wrap:wrap; gap:8px; }
.ne-fm-equipment-tag { display:inline-flex; align-items:center; gap:6px; padding:7px 14px; background:var(--ne-fm-bg-light,#f9fafb); border:1px solid var(--ne-fm-border,#e5e7eb); border-radius:8px; font-size:.84rem; color:var(--ne-fm-text); font-weight:500; transition:all .2s; }
.ne-fm-equipment-tag::before { content:"✓"; color:var(--ne-fm-success,#15803d); font-weight:700; font-size:.75rem; }
.ne-fm-equipment-tag:hover { background:var(--ne-fm-primary-light,#eff6ff); border-color:var(--ne-fm-primary,#1a56db); }

/* Ausstattung gruppiert */
.ne-fm-equip-search { display:flex; align-items:center; gap:12px; margin-bottom:20px; flex-wrap:wrap; }
.ne-fm-equip-count { font-size:.82rem; color:var(--ne-fm-text-light,#6b7280); font-weight:500; }
.ne-fm-equip-groups { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.ne-fm-equip-group { background:var(--ne-fm-bg-light,#f9fafb); border:1px solid var(--ne-fm-border,#e5e7eb); border-radius:12px; padding:16px; transition:border-color .2s; }
.ne-fm-equip-group:hover { border-color:var(--ne-fm-primary,#1a56db); }
.ne-fm-equip-group__head { display:flex; align-items:center; gap:8px; margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid var(--ne-fm-border,#e5e7eb); }
.ne-fm-equip-group__icon { font-size:1.15rem; }
.ne-fm-equip-group__title { font-weight:700; font-size:.92rem; flex:1; }
.ne-fm-equip-group__count { background:var(--ne-fm-primary,#1a56db); color:#fff; font-size:.7rem; font-weight:700; padding:2px 8px; border-radius:10px; }
.ne-fm-equip-group__items { display:flex; flex-wrap:wrap; gap:6px; }
.ne-fm-equip-group .ne-fm-equipment-tag { background:#fff; font-size:.8rem; padding:5px 10px; border-radius:6px; }
.ne-fm-envkv-note,.ne-fm-finance-note { margin-top:16px; color:var(--ne-fm-text-light); line-height:1.5; font-size:.82rem; }
.ne-fm-detail__back { text-align:center; margin:24px 0 40px; }
.ne-fm-loading { opacity:.4; pointer-events:none; }

/* Kontaktformular */
#ne-fm-contact-form input:focus,#ne-fm-contact-form select:focus,#ne-fm-contact-form textarea:focus { outline:none !important; border-color:var(--ne-fm-primary) !important; box-shadow:0 0 0 3px var(--ne-fm-primary-light) !important; }
#ne-fm-contact-form .nefm-submit:hover { background:var(--ne-fm-primary-hover) !important; }
@media(max-width:540px) { #ne-fm-contact-form .nefm-row--half { grid-template-columns:1fr !important; } }

/* Kontaktbereich Detail */
.ne-fm-detail__contact { display:grid !important; grid-template-columns:1fr !important; gap:28px !important; background:var(--ne-fm-bg-light) !important; border:1px solid var(--ne-fm-border) !important; border-radius:var(--ne-fm-radius) !important; padding:28px !important; margin-bottom:24px !important; }
@media(min-width:768px) { .ne-fm-detail__contact { grid-template-columns:1fr 1fr !important; } }
.ne-fm-detail__contact-info { text-align:center !important; padding:20px !important; display:flex !important; flex-direction:column !important; justify-content:center !important; }
.ne-fm-detail__contact-info h2 { margin:0 0 8px !important; font-size:1.3rem !important; }
.ne-fm-detail__contact-info p { color:var(--ne-fm-text-light) !important; margin-bottom:16px !important; }
.ne-fm-detail__contact-buttons { display:flex !important; flex-wrap:wrap !important; justify-content:center !important; gap:10px !important; }
@media(min-width:768px) { .ne-fm-detail__contact-info { text-align:left !important; } .ne-fm-detail__contact-buttons { justify-content:flex-start !important; } }

/* ══ Standort-Karte ══ */
.ne-fm-map-container { margin:24px 0; }
.ne-fm-map-consent { background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:32px 24px; text-align:center; }
.ne-fm-map-consent__inner { max-width:400px; margin:0 auto; }
.ne-fm-map-consent__icon { font-size:2.5rem; margin-bottom:8px; }
.ne-fm-map-consent__text { font-size:.9rem; color:#374151; margin-bottom:4px; }
.ne-fm-map-consent__sub { font-size:.8rem; margin-bottom:16px; }
.ne-fm-map-consent__sub a { color:var(--ne-fm-primary,#1a56db); }
.ne-fm-section-title { font-size:1.1rem; font-weight:700; margin-bottom:12px; }

/* ══ Zustandsbericht ══ */
.ne-fm-condition__grade { display:inline-flex; align-items:center; gap:12px; padding:12px 24px; border-radius:12px; margin-bottom:16px; }
.ne-fm-condition__grade-num { font-size:2rem; font-weight:800; }
.ne-fm-condition__grade-label { font-size:1.1rem; font-weight:600; }
.ne-fm-condition__cats { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px; margin-bottom:16px; }
.ne-fm-condition__cat { display:flex; justify-content:space-between; align-items:center; padding:8px 12px; background:#f9fafb; border-radius:8px; font-size:.88rem; }
.ne-fm-condition__silhouette { margin:16px 0; text-align:center; }
.ne-fm-condition__legend { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; justify-content:center; }
.ne-fm-condition__legend-item { display:flex; align-items:center; gap:6px; font-size:.85rem; color:#4b5563; }
.ne-fm-condition__marker { display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px; border-radius:50%; background:#dc2626; color:#fff; font-size:.7rem; font-weight:700; }
.ne-fm-condition__note { font-size:.9rem; color:#6b7280; line-height:1.6; margin-top:12px; padding:12px; background:#f9fafb; border-radius:8px; }

/* ══ Probefahrt / Rückruf Modal ══ */
.ne-fm-extra-modal { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; }
.ne-fm-extra-modal__backdrop { position:absolute; inset:0; background:rgba(0,0,0,.5); backdrop-filter:blur(2px); }
.ne-fm-extra-modal__dialog { position:relative; background:#fff; border-radius:16px; max-width:520px; width:90vw; max-height:90vh; overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.ne-fm-extra-modal__header { display:flex; justify-content:space-between; align-items:center; padding:18px 24px; border-bottom:1px solid #e2e8f0; }
.ne-fm-extra-modal__header h3 { margin:0; font-size:1.15rem; font-weight:700; }
.ne-fm-extra-modal__header button { width:36px; height:36px; border-radius:8px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; font-size:1rem; }
.ne-fm-extra-modal__body { padding:20px 24px 24px; }
.ne-fm-extra-form { display:flex; flex-direction:column; gap:0; }
.ne-fm-ef-row { margin-bottom:14px; }
.ne-fm-ef-row label { display:block; font-size:.85rem; font-weight:600; color:#374151; margin-bottom:4px; }
.ne-fm-ef-row input[type="text"], .ne-fm-ef-row input[type="email"], .ne-fm-ef-row input[type="tel"], .ne-fm-ef-row input[type="date"], .ne-fm-ef-row select, .ne-fm-ef-row textarea { width:100%; padding:10px 12px; border:1px solid #d1d5db; border-radius:8px; font-size:.9rem; font-family:inherit; transition:border-color .2s; }
.ne-fm-ef-row input:focus, .ne-fm-ef-row select:focus, .ne-fm-ef-row textarea:focus { border-color:var(--ne-fm-primary,#1a56db); outline:none; box-shadow:0 0 0 3px rgba(26,86,219,.1); }
.ne-fm-ef-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.ne-fm-ef-check { display:flex !important; align-items:flex-start; gap:8px; font-weight:400 !important; font-size:.82rem !important; color:#6b7280; cursor:pointer; }
.ne-fm-ef-check input[type="checkbox"] { margin-top:2px; width:auto; }
.ne-fm-ef-check a { color:var(--ne-fm-primary,#1a56db); }
@media(max-width:480px) { .ne-fm-ef-grid { grid-template-columns:1fr; } }

/* ══ WhatsApp-Button ══ */
.ne-fm-btn--whatsapp { background:#25D366 !important; color:#fff !important; border-color:#25D366 !important; }
.ne-fm-btn--whatsapp:hover { background:#128C7E !important; border-color:#128C7E !important; }

/* ══ Reservieren-Button ══ */
.ne-fm-btn--reserve { background:#7c3aed !important; color:#fff !important; border-color:#7c3aed !important; }
.ne-fm-btn--reserve:hover { background:#6d28d9 !important; border-color:#6d28d9 !important; }

/* ══ Trust-Badges / Siegel ══ */
.ne-fm-trust-badges { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0; }
.ne-fm-trust-badge { display:inline-flex; align-items:center; gap:4px; padding:5px 12px; border:1.5px solid; border-radius:20px; font-size:.8rem; font-weight:600; background:rgba(255,255,255,.8); }

/* ══ 360° & Video Buttons ══ */
.ne-fm-media-btns { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.ne-fm-media-btn { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; background:#fff; border:2px solid var(--ne-fm-primary,#1a56db); border-radius:10px; color:var(--ne-fm-primary,#1a56db); font-size:.88rem; font-weight:600; cursor:pointer; transition:all .2s; }
.ne-fm-media-btn:hover { background:var(--ne-fm-primary,#1a56db); color:#fff; transform:translateY(-1px); box-shadow:0 4px 12px rgba(26,86,219,.25); }
.ne-fm-media-btn__icon { font-size:1.1rem; }

/* 360° / Video Overlay */
.ne-fm-360-overlay { position:fixed; inset:0; background:rgba(0,0,0,.92); z-index:999999; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(4px); }
.ne-fm-360-inner { width:90vw; max-width:1200px; height:80vh; background:#000; border-radius:16px; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.ne-fm-360-header { display:flex; justify-content:space-between; align-items:center; padding:12px 20px; background:#111; color:#fff; flex-shrink:0; }
.ne-fm-360-header span { font-size:1rem; font-weight:600; }
.ne-fm-360-header button { background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.2); color:#fff; padding:8px 18px; border-radius:8px; cursor:pointer; font-size:.9rem; font-weight:600; transition:background .2s; }
.ne-fm-360-header button:hover { background:rgba(255,255,255,.2); }
.ne-fm-360-content { flex:1; position:relative; overflow:hidden; }
.ne-fm-360-hint { position:absolute; bottom:20px; left:50%; transform:translateX(-50%); background:rgba(0,0,0,.7); color:#fff; padding:8px 20px; border-radius:20px; font-size:.85rem; transition:opacity .5s; pointer-events:none; z-index:2; }
@media(max-width:768px) { .ne-fm-360-inner { width:100vw; height:100vh; border-radius:0; } }

/* ══ Lightbox-Galerie ══ */
.ne-fm-lightbox { position:fixed; inset:0; background:rgba(0,0,0,.95); z-index:999999; display:flex; align-items:center; justify-content:center; }
.ne-fm-lightbox__img { max-width:90%; max-height:85vh; object-fit:contain; border-radius:4px; user-select:none; }
.ne-fm-lightbox__close { position:absolute; top:16px; right:20px; color:#fff; font-size:1.8rem; cursor:pointer; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.1); transition:background .2s; z-index:2; }
.ne-fm-lightbox__close:hover { background:rgba(255,255,255,.25); }
.ne-fm-lightbox__counter { position:absolute; top:20px; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.7); font-size:.9rem; font-weight:600; z-index:2; }
.ne-fm-lightbox__prev, .ne-fm-lightbox__next { position:absolute; top:50%; transform:translateY(-50%); color:#fff; font-size:3rem; cursor:pointer; width:56px; height:56px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.08); transition:background .2s; user-select:none; z-index:2; }
.ne-fm-lightbox__prev { left:16px; }
.ne-fm-lightbox__next { right:16px; }
.ne-fm-lightbox__prev:hover, .ne-fm-lightbox__next:hover { background:rgba(255,255,255,.2); }

/* ══ Teilen-Button Feedback ══ */
.ne-fm-share--copied { background:#15803d !important; color:#fff !important; border-color:#15803d !important; }

/* ══ Sticky CTA-Bar ══ */
.ne-fm-sticky-cta { position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid #e2e8f0; box-shadow:0 -4px 20px rgba(0,0,0,.08); z-index:9997; display:none; padding:10px 0; }
.ne-fm-sticky-cta__inner { max-width:1200px; margin:0 auto; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.ne-fm-sticky-cta__info { display:flex; align-items:center; gap:12px; min-width:0; }
.ne-fm-sticky-cta__info strong { font-size:1rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ne-fm-sticky-cta__price { font-size:1.2rem; font-weight:800; color:var(--ne-fm-primary,#1a56db); white-space:nowrap; }
.ne-fm-sticky-cta__actions { display:flex; gap:8px; flex-shrink:0; }
@media(max-width:640px) { .ne-fm-sticky-cta__info strong { display:none; } .ne-fm-sticky-cta__inner { justify-content:center; } }

/* ══ Finanzierungsrechner ══ */
.ne-fm-calc { max-width:560px; }
.ne-fm-calc__result { background:var(--ne-fm-primary,#1a56db); color:#fff; border-radius:12px; padding:24px; text-align:center; margin-bottom:20px; }
.ne-fm-calc__result-label { font-size:.8rem; opacity:.8; margin-bottom:4px; }
.ne-fm-calc__result-amount { font-size:2.5rem; font-weight:800; letter-spacing:-.03em; line-height:1.1; }
.ne-fm-calc__result-sub { font-size:.75rem; opacity:.6; margin-top:2px; }
.ne-fm-calc__sliders { display:flex; flex-direction:column; gap:18px; margin-bottom:20px; }
.ne-fm-calc__row-header { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:6px; }
.ne-fm-calc__row-label { font-size:.88rem; font-weight:600; color:var(--ne-fm-text,#1f2937); }
.ne-fm-calc__row-value { font-size:.88rem; font-weight:700; color:var(--ne-fm-primary,#1a56db); }
.ne-fm-calc__row--static .ne-fm-calc__row-value { color:var(--ne-fm-text,#1f2937); }
.ne-fm-calc__slider { -webkit-appearance:none; width:100%; height:6px; border-radius:3px; background:#e2e8f0; outline:none; cursor:pointer; }
.ne-fm-calc__slider::-webkit-slider-thumb { -webkit-appearance:none; width:22px; height:22px; border-radius:50%; background:var(--ne-fm-primary,#1a56db); border:3px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.15); cursor:pointer; transition:transform .15s; }
.ne-fm-calc__slider::-webkit-slider-thumb:hover { transform:scale(1.15); }
.ne-fm-calc__slider::-moz-range-thumb { width:22px; height:22px; border-radius:50%; background:var(--ne-fm-primary,#1a56db); border:3px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,.15); cursor:pointer; }
.ne-fm-calc__range-labels { display:flex; justify-content:space-between; font-size:.7rem; color:#9ca3af; margin-top:2px; }
.ne-fm-calc__summary { background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:14px 18px; margin-bottom:16px; display:flex; flex-direction:column; gap:8px; }
.ne-fm-calc__summary-row { display:flex; justify-content:space-between; font-size:.9rem; }
.ne-fm-calc__summary-row strong { font-weight:700; }
.ne-fm-calc__cta { text-align:center; margin-bottom:12px; }
.ne-fm-calc__disclaimer { font-size:.72rem; color:#9ca3af; line-height:1.5; padding:10px 0; border-top:1px solid #e2e8f0; }
@media(max-width:640px) { .ne-fm-calc__result-amount { font-size:2rem; } }

/* ══ Ähnliche Fahrzeuge ══ */
.ne-fm-similar { margin:28px 0 20px; }
.ne-fm-similar__title { font-size:1.3rem; font-weight:700; margin-bottom:16px; }
.ne-fm-similar__count { font-weight:400; color:var(--ne-fm-text-light,#64748b); font-size:1rem; }
.ne-fm-similar__empty { color:var(--ne-fm-text-light,#64748b); font-style:italic; }
.ne-fm-similar__grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.ne-fm-similar__card { display:flex; flex-direction:column; background:#fff; border:1px solid var(--ne-fm-border,#e2e8f0); border-radius:12px; overflow:hidden; text-decoration:none; color:inherit; transition:box-shadow .2s, transform .2s; }
.ne-fm-similar__card:hover { box-shadow:0 8px 24px rgba(0,0,0,.08); transform:translateY(-2px); }
.ne-fm-similar__card-img { aspect-ratio:16/10; overflow:hidden; background:#f1f5f9; }
.ne-fm-similar__card-img img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.ne-fm-similar__card:hover .ne-fm-similar__card-img img { transform:scale(1.05); }
.ne-fm-similar__card-body { padding:12px 14px 14px; flex:1; display:flex; flex-direction:column; }
.ne-fm-similar__card-title { font-size:.95rem; font-weight:700; line-height:1.2; margin-bottom:2px; }
.ne-fm-similar__card-subtitle { font-size:.8rem; color:var(--ne-fm-text-light,#64748b); margin-bottom:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ne-fm-similar__card-specs { display:flex; flex-wrap:wrap; gap:4px 8px; font-size:.75rem; color:var(--ne-fm-text-light,#64748b); margin-bottom:8px; }
.ne-fm-similar__card-specs span { white-space:nowrap; }
.ne-fm-similar__card-price { margin-top:auto; display:flex; align-items:baseline; gap:6px; }
.ne-fm-similar__card-price strong { font-size:1.1rem; font-weight:800; color:var(--ne-fm-text,#1f2937); }
.ne-fm-similar__card-price span { font-size:.72rem; color:var(--ne-fm-text-light,#64748b); }
@media(max-width:640px) { .ne-fm-similar__grid { grid-template-columns:repeat(2,1fr); gap:10px; } .ne-fm-similar__card-title { font-size:.85rem; } }
@media(max-width:400px) { .ne-fm-similar__grid { grid-template-columns:1fr; } }

/* ══ Merkliste / Favoriten ══ */
/* Herz-Button auf Karte */
.ne-fm-fav-btn { position:absolute; top:10px; right:48px; width:32px; height:32px; border-radius:50%; border:none; background:rgba(255,255,255,.85); color:#9ca3af; font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .2s; z-index:3; backdrop-filter:blur(4px); line-height:1; }
.ne-fm-fav-btn:hover { background:#fff; color:#ef4444; transform:scale(1.1); }
.ne-fm-fav-btn.active { background:#ef4444; color:#fff; }
.ne-fm-fav-btn-detail.active { background:#ef4444 !important; color:#fff !important; border-color:#ef4444 !important; }
@keyframes ne-fm-fav-pulse { 0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }
.ne-fm-fav--pulse { animation:ne-fm-fav-pulse .4s ease !important; }

/* Floating Action Button */
.ne-fm-fav-fab { position:fixed; bottom:80px; right:24px; width:56px; height:56px; border-radius:50%; background:#ef4444; color:#fff; border:none; font-size:1.4rem; cursor:pointer; display:none; align-items:center; justify-content:center; z-index:9990; box-shadow:0 4px 16px rgba(239,68,68,.4); transition:transform .2s; }
.ne-fm-fav-fab:hover { transform:scale(1.1); }
.ne-fm-fav-fab__count { position:absolute; top:-4px; right:-4px; width:22px; height:22px; border-radius:50%; background:#1f2937; color:#fff; font-size:.7rem; font-weight:700; display:flex; align-items:center; justify-content:center; border:2px solid #fff; }

/* Backdrop */
.ne-fm-fav-backdrop { position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,.4); z-index:99990; opacity:0; pointer-events:none; transition:opacity .3s; backdrop-filter:blur(2px); }
.ne-fm-fav-backdrop.open { opacity:1; pointer-events:auto; }

/* Drawer */
.ne-fm-fav-drawer { position:fixed; top:0; right:-400px; bottom:0; width:380px; max-width:90vw; background:#fff; z-index:99991; box-shadow:-8px 0 40px rgba(0,0,0,.15); transition:right .3s cubic-bezier(.4,0,.2,1); display:flex; flex-direction:column; }
.ne-fm-fav-drawer.open { right:0; }
.ne-fm-fav-drawer__header { display:flex; justify-content:space-between; align-items:center; padding:20px 24px; border-bottom:1px solid #e2e8f0; flex-shrink:0; }
.ne-fm-fav-drawer__header h3 { margin:0; font-size:1.15rem; font-weight:700; }
.ne-fm-fav-drawer__header h3 span { color:#6b7280; font-weight:400; }
.ne-fm-fav-drawer__close { width:36px; height:36px; border-radius:8px; border:1px solid #e2e8f0; background:#fff; cursor:pointer; font-size:1rem; display:flex; align-items:center; justify-content:center; transition:background .15s; }
.ne-fm-fav-drawer__close:hover { background:#f1f5f9; }

/* Leerer Zustand */
.ne-fm-fav-drawer__empty { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px 24px; text-align:center; color:#9ca3af; }
.ne-fm-fav-drawer__empty p { margin:0; }

/* Fahrzeugliste im Drawer */
.ne-fm-fav-drawer__list { flex:1; overflow-y:auto; padding:12px 16px; display:flex; flex-direction:column; gap:10px; }
.ne-fm-fav-card { display:flex; align-items:center; gap:12px; padding:10px; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; transition:box-shadow .2s; }
.ne-fm-fav-card:hover { box-shadow:0 2px 12px rgba(0,0,0,.06); }
.ne-fm-fav-card__img { flex-shrink:0; width:80px; height:56px; border-radius:6px; overflow:hidden; }
.ne-fm-fav-card__img img { width:100%; height:100%; object-fit:cover; }
.ne-fm-fav-card__info { flex:1; min-width:0; }
.ne-fm-fav-card__title { display:block; font-size:.9rem; font-weight:600; color:#1f2937; text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.ne-fm-fav-card__title:hover { color:var(--ne-fm-primary,#1a56db); }
.ne-fm-fav-card__price { font-size:.95rem; font-weight:800; color:#1f2937; margin-top:2px; }
.ne-fm-fav-card__remove { width:28px; height:28px; border-radius:6px; border:none; background:transparent; color:#9ca3af; cursor:pointer; font-size:.8rem; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all .15s; }
.ne-fm-fav-card__remove:hover { background:#fef2f2; color:#ef4444; }

/* Footer */
.ne-fm-fav-drawer__footer { padding:16px 24px; border-top:1px solid #e2e8f0; flex-shrink:0; display:flex; justify-content:center; }
.ne-fm-fav-drawer__clear { padding:8px 18px; border:1px solid #fca5a5; border-radius:8px; background:transparent; color:#ef4444; font-size:.85rem; cursor:pointer; transition:all .15s; }
.ne-fm-fav-drawer__clear:hover { background:#ef4444; color:#fff; }

/* ══ Fahrzeugvergleich ══ */
.ne-fm-compare-btn { position:absolute; top:10px; right:10px; width:32px; height:32px; border-radius:50%; border:none; background:rgba(255,255,255,.85); color:#6b7280; font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .2s; z-index:3; backdrop-filter:blur(4px); }
.ne-fm-compare-btn:hover { background:#fff; color:var(--ne-fm-primary); transform:scale(1.1); }
.ne-fm-compare-btn.active { background:var(--ne-fm-primary); color:#fff; }
.ne-fm-compare-btn-detail.active { background:var(--ne-fm-primary,#1a56db) !important; color:#fff !important; border-color:var(--ne-fm-primary,#1a56db) !important; }

/* Floating-Bar */
.ne-fm-compare-bar { position:fixed; bottom:0; left:0; right:0; background:#1f2937; color:#fff; padding:12px 24px; display:none; align-items:center; gap:12px; z-index:9998; box-shadow:0 -4px 20px rgba(0,0,0,.2); flex-wrap:wrap; justify-content:center; }
.ne-fm-compare-bar__items { display:flex; gap:8px; flex-wrap:wrap; }
.ne-fm-compare-bar__item { display:inline-flex; align-items:center; gap:6px; padding:4px 12px; background:rgba(255,255,255,.1); border-radius:20px; font-size:.85rem; }
.ne-fm-compare-bar__item button { background:none; border:none; color:rgba(255,255,255,.6); cursor:pointer; font-size:.8rem; padding:0 2px; }
.ne-fm-compare-bar__item button:hover { color:#fff; }
.ne-fm-compare-bar__go { padding:10px 24px; background:var(--ne-fm-primary,#1a56db); color:#fff; border:none; border-radius:8px; font-weight:700; font-size:.9rem; cursor:pointer; }
.ne-fm-compare-bar__go:hover { filter:brightness(1.1); }
.ne-fm-compare-bar__clear { background:none; border:none; color:rgba(255,255,255,.5); cursor:pointer; font-size:.8rem; text-decoration:underline; }

/* Vergleichs-Overlay */
.ne-fm-compare-overlay { position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,.6); z-index:99999; display:flex; align-items:flex-start; justify-content:center; padding:24px; overflow-y:auto; backdrop-filter:blur(2px); }
.ne-fm-compare-overlay__inner { background:#fff; border-radius:16px; max-width:1100px; width:100%; max-height:calc(100vh - 48px); overflow-y:auto; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.ne-fm-compare-overlay__header { display:flex; justify-content:space-between; align-items:center; padding:20px 28px; border-bottom:1px solid #e2e8f0; position:sticky; top:0; background:#fff; z-index:2; border-radius:16px 16px 0 0; }
.ne-fm-compare-overlay__header h2 { margin:0; font-size:1.3rem; }
.ne-fm-compare-overlay__header button { padding:8px 18px; border:1px solid #e2e8f0; border-radius:8px; background:#fff; cursor:pointer; font-weight:600; font-size:.9rem; }
.ne-fm-compare-overlay__body { padding:0 28px 24px; }
.ne-fm-compare-table { width:100%; border-collapse:collapse; margin-top:16px; }
.ne-fm-compare-table th { text-align:left; font-size:.82rem; color:#6b7280; padding:8px 10px; border-bottom:1px solid #e2e8f0; font-weight:600; vertical-align:top; width:140px; white-space:nowrap; }
.ne-fm-compare-table td { padding:8px 10px; border-bottom:1px solid #f1f5f9; font-size:.9rem; vertical-align:top; text-align:center; }
.ne-fm-compare-table td img { width:100%; max-width:280px; height:auto; border-radius:8px; object-fit:cover; aspect-ratio:16/10; }
.ne-fm-compare-table td a { color:inherit; text-decoration:none; }
.ne-fm-compare-table .row-title td { font-size:1rem; padding:12px 10px; }
.ne-fm-compare-table .row-price td { padding:12px 10px; }
.ne-fm-compare-table .row-section th { font-size:.9rem; color:var(--ne-fm-text,#111); padding:14px 10px 8px; border-bottom:2px solid var(--ne-fm-primary,#1a56db); font-weight:700; }
.ne-fm-compare-table tbody tr:hover { background:#f8fafc; }

@media(max-width:768px) { .ne-fm-compare-overlay__inner { max-width:100%; border-radius:12px; } .ne-fm-compare-table th { width:100px; font-size:.75rem; } }

/* Animationen */
@keyframes ne-fm-fadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
.ne-fm-card { animation:ne-fm-fadeIn .3s ease both; }
.ne-fm-card:nth-child(2) { animation-delay:.05s; }
.ne-fm-card:nth-child(3) { animation-delay:.1s; }
.ne-fm-card:nth-child(4) { animation-delay:.15s; }
.ne-fm-card:nth-child(5) { animation-delay:.2s; }
.ne-fm-card:nth-child(6) { animation-delay:.25s; }

@media print { .ne-fm-filters,.ne-fm-pagination,.ne-fm-detail__contact,.ne-fm-detail__back { display:none; } .ne-fm-card { break-inside:avoid; box-shadow:none; border:1px solid #ddd; } }

/* ══ Batterie-Zertifikat ══ */
.ne-fm-badge--battery { display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:6px; font-size:.78rem; font-weight:600; margin-top:6px; }
.ne-fm-card__battery { margin-top:4px; }
.ne-fm-battery__health { margin-bottom:20px; }
.ne-fm-battery__bar-wrap { width:100%; height:12px; background:#e5e7eb; border-radius:6px; overflow:hidden; margin-bottom:8px; }
.ne-fm-battery__bar { height:100%; border-radius:6px; transition:width .8s ease-out; }
.ne-fm-battery__grade { display:flex; justify-content:space-between; align-items:center; }
.ne-fm-battery__soh { font-size:1.6rem; font-weight:800; }
.ne-fm-battery__label { font-size:1rem; font-weight:700; }
.ne-fm-battery__grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:10px; margin-bottom:16px; }
.ne-fm-battery__item { display:flex; justify-content:space-between; align-items:center; padding:10px 14px; background:#f9fafb; border:1px solid #e5e7eb; border-radius:8px; }
.ne-fm-battery__key { font-size:.85rem; color:#6b7280; }
.ne-fm-battery__val { font-size:.92rem; font-weight:700; color:#1e293b; }
.ne-fm-battery__cert { display:flex; justify-content:space-between; align-items:center; padding:16px; background:#eff6ff; border:1px solid #bfdbfe; border-radius:12px; margin-top:16px; gap:16px; flex-wrap:wrap; }
.ne-fm-battery__cert-info { display:flex; flex-direction:column; gap:2px; }
.ne-fm-battery__cert-info strong { font-size:1rem; }
.ne-fm-battery__cert-info span { font-size:.85rem; color:#6b7280; }
.ne-fm-battery__note { font-size:.9rem; color:#6b7280; line-height:1.6; margin-top:12px; padding:12px; background:#f9fafb; border-radius:8px; }

/* ══ Inzahlungnahme Wizard ══ */
.ne-fm-ti { padding:24px; }
.ne-fm-ti__header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid #e5e7eb; flex-wrap:wrap; }
.ne-fm-ti__title { font-size:1.15rem; font-weight:700; color:#1e293b; }
.ne-fm-ti__dealer { font-size:.82rem; color:#6b7280; margin-top:2px; }
.ne-fm-ti__progress { text-align:right; min-width:160px; }
.ne-fm-ti__bar { width:100%; height:6px; background:#e5e7eb; border-radius:3px; overflow:hidden; margin-bottom:4px; }
.ne-fm-ti__bar-fill { height:100%; background:linear-gradient(90deg,#1a56db,#3b82f6); border-radius:3px; transition:width .4s ease; width:0; }
.ne-fm-ti__pct { font-size:.75rem; color:#6b7280; }
.ne-fm-ti__step { display:none; animation:neFmTiFade .3s ease; }
.ne-fm-ti__step.active { display:block; }
@keyframes neFmTiFade { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.ne-fm-ti__q { font-size:1rem; font-weight:600; color:#1e293b; margin-bottom:16px; }
.ne-fm-ti__row { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.ne-fm-ti__row--3 { grid-template-columns:1fr 1fr 1fr; }
.ne-fm-ti__f { display:flex; flex-direction:column; gap:4px; }
.ne-fm-ti__f label { font-size:.8rem; font-weight:600; color:#374151; }
.ne-fm-ti__f input, .ne-fm-ti__f select, .ne-fm-ti__f textarea { padding:11px 14px; border:1px solid #d1d5db; border-radius:10px; font-size:.9rem; font-family:inherit; background:#fff; transition:all .2s; }
.ne-fm-ti__f input:focus, .ne-fm-ti__f select:focus, .ne-fm-ti__f textarea:focus { outline:none; border-color:#3b82f6; box-shadow:0 0 0 3px rgba(59,130,246,.12); }
.ne-fm-ti__unit { display:flex; align-items:center; border:1px solid #d1d5db; border-radius:10px; overflow:hidden; background:#fff; }
.ne-fm-ti__unit input { border:none !important; border-radius:0 !important; box-shadow:none !important; flex:1; }
.ne-fm-ti__unit span { padding:0 14px; color:#6b7280; font-size:.85rem; font-weight:600; background:#f9fafb; border-left:1px solid #d1d5db; }
.ne-fm-ti__toggle { display:flex; align-items:center; gap:10px; margin:12px 0; cursor:pointer; font-size:.9rem; }
.ne-fm-ti__toggle input { display:none; }
.ne-fm-ti__toggle-switch { width:42px; height:24px; background:#d1d5db; border-radius:12px; position:relative; transition:background .2s; flex-shrink:0; }
.ne-fm-ti__toggle-switch::after { content:''; position:absolute; top:3px; left:3px; width:18px; height:18px; background:#fff; border-radius:50%; transition:transform .2s; }
.ne-fm-ti__toggle input:checked + .ne-fm-ti__toggle-switch { background:#3b82f6; }
.ne-fm-ti__toggle input:checked + .ne-fm-ti__toggle-switch::after { transform:translateX(18px); }
.ne-fm-ti__equip-cat { font-size:.82rem; font-weight:700; color:#6b7280; text-transform:uppercase; letter-spacing:.06em; margin:16px 0 8px; padding-bottom:4px; border-bottom:1px solid #e5e7eb; }
.ne-fm-ti__equip-cat:first-of-type { margin-top:0; }
.ne-fm-ti__checks { display:grid; grid-template-columns:1fr 1fr; gap:4px 16px; }
.ne-fm-ti__check { display:flex; align-items:center; gap:8px; padding:6px 0; font-size:.88rem; cursor:pointer; }
.ne-fm-ti__check input { accent-color:#3b82f6; }
.ne-fm-ti__conds { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ne-fm-ti__cond { cursor:pointer; }
.ne-fm-ti__cond input { display:none; }
.ne-fm-ti__cond-inner { padding:16px 14px; border:2px solid #e5e7eb; border-radius:12px; transition:all .2s; text-align:center; }
.ne-fm-ti__cond input:checked + .ne-fm-ti__cond-inner { border-color:var(--cond-color); background:color-mix(in srgb, var(--cond-color) 6%, white); }
.ne-fm-ti__cond-icon { font-size:1.5rem; display:block; margin-bottom:4px; }
.ne-fm-ti__cond-desc { display:block; font-size:.73rem; color:#6b7280; margin-top:4px; line-height:1.4; }
.ne-fm-ti__radios { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.ne-fm-ti__radios label { display:flex; align-items:center; gap:8px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:8px; font-size:.88rem; cursor:pointer; transition:all .2s; }
.ne-fm-ti__radios label:has(input:checked) { border-color:#3b82f6; background:#eff6ff; }
.ne-fm-ti__radios input { accent-color:#3b82f6; }
.ne-fm-ti__consent { font-size:.78rem; color:#6b7280; margin:12px 0; padding:12px; background:#f9fafb; border-radius:8px; line-height:1.6; border:1px solid #e5e7eb; }
.ne-fm-ti__nav { display:flex; gap:10px; justify-content:flex-end; margin-top:20px; padding-top:16px; border-top:1px solid #e5e7eb; }
.ne-fm-ti__btn-next, .ne-fm-ti__btn-submit { padding:12px 32px; background:#3b82f6; color:#fff; border:none; border-radius:10px; font-size:.95rem; font-weight:700; cursor:pointer; font-family:inherit; transition:all .2s; }
.ne-fm-ti__btn-next:hover, .ne-fm-ti__btn-submit:hover { background:#2563eb; transform:translateY(-1px); }
.ne-fm-ti__btn-back { padding:12px 24px; background:transparent; color:#374151; border:2px solid #d1d5db; border-radius:10px; font-size:.95rem; font-weight:600; cursor:pointer; font-family:inherit; transition:all .2s; }
.ne-fm-ti__btn-back:hover { border-color:#9ca3af; }
@media(max-width:600px) { .ne-fm-ti__row, .ne-fm-ti__row--3, .ne-fm-ti__conds, .ne-fm-ti__checks { grid-template-columns:1fr; } .ne-fm-ti__header { flex-direction:column; } .ne-fm-ti { padding:16px; } }

/* ══ Inzahlungnahme Modal/Popup ══ */
.ne-fm-ti-modal { position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.5); backdrop-filter:blur(4px); padding:20px; animation:neFmTiOverlay .2s ease; }
@keyframes neFmTiOverlay { from{opacity:0} to{opacity:1} }
.ne-fm-ti-modal__content { background:#fff; border-radius:16px; width:100%; max-width:680px; max-height:85vh; overflow-y:auto; position:relative; box-shadow:0 24px 64px rgba(0,0,0,.2); animation:neFmTiSlide .3s ease; }
@keyframes neFmTiSlide { from{opacity:0;transform:translateY(20px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
.ne-fm-ti-modal__close { position:absolute; top:16px; right:16px; z-index:2; width:36px; height:36px; border:none; background:rgba(0,0,0,.06); border-radius:50%; font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all .2s; color:#374151; }
.ne-fm-ti-modal__close:hover { background:rgba(0,0,0,.12); transform:scale(1.1); }
.ne-fm-ti-modal__content .ne-fm-ti { padding:28px 32px; }
.ne-fm-ti-modal__content .ne-fm-ti__header { position:sticky; top:0; background:#fff; z-index:1; margin:-28px -32px 20px; padding:20px 32px 16px; border-radius:16px 16px 0 0; border-bottom:1px solid #e5e7eb; }
@media(max-width:600px) { .ne-fm-ti-modal__content { max-height:92vh; border-radius:12px; } .ne-fm-ti-modal__content .ne-fm-ti { padding:16px; } .ne-fm-ti-modal__content .ne-fm-ti__header { margin:-16px -16px 16px; padding:14px 16px 12px; } .ne-fm-ti-modal { padding:8px; } }

/* ══ Floating Action Sidebar ══ */
.ne-fm-fab { position:fixed; top:50%; transform:translateY(-50%); z-index:9990; display:flex; flex-direction:column; gap:10px; opacity:0; pointer-events:none; transition:opacity .4s; }
.ne-fm-fab.visible { opacity:1; pointer-events:auto; }
.ne-fm-fab__item { position:relative; display:flex; align-items:center; justify-content:center; width:var(--fab-size,48px); height:var(--fab-size,48px); border-radius:50%; background:var(--item-color,var(--fab-color,#1a56db)); color:#fff; border:none; text-decoration:none; cursor:pointer; box-shadow:0 3px 12px rgba(0,0,0,.18); transition:transform .2s,box-shadow .2s; font-family:inherit; flex-shrink:0; }
.ne-fm-fab__item:hover { transform:scale(1.08); box-shadow:0 6px 20px rgba(0,0,0,.25); }
.ne-fm-fab__icon { display:flex; align-items:center; justify-content:center; font-size:1.15rem; }
.ne-fm-fab__label { position:absolute; top:50%; transform:translateY(-50%); background:var(--item-color,var(--fab-color,#1a56db)); color:#fff; font-size:.82rem; font-weight:700; white-space:nowrap; padding:8px 16px; border-radius:8px; pointer-events:none; opacity:0; transition:opacity .25s,transform .25s; }
/* Label-Position je nach Sidebar-Seite (rechts → Label links davon, links → Label rechts) */
.ne-fm-fab__label { right:calc(100% + 10px); }
.ne-fm-fab[style*="left"] .ne-fm-fab__label { right:auto; left:calc(100% + 10px); }
.ne-fm-fab--hover .ne-fm-fab__item:hover .ne-fm-fab__label { opacity:1; transform:translateY(-50%) translateX(0); pointer-events:auto; }
.ne-fm-fab__label::after { content:''; position:absolute; top:50%; border:5px solid transparent; transform:translateY(-50%); }
/* Pfeil je nach Seite */
.ne-fm-fab__label::after { right:-9px; border-left-color:var(--item-color,var(--fab-color,#1a56db)); }
.ne-fm-fab[style*="left"] .ne-fm-fab__label::after { right:auto; left:-9px; border-left-color:transparent; border-right-color:var(--item-color,var(--fab-color,#1a56db)); }
/* Desktop/Mobile */
.ne-fm-fab--hidden-desktop { display:none !important; }
@media(max-width:768px) {
    .ne-fm-fab--hidden-mobile { display:none !important; }
    .ne-fm-fab { gap:8px; }
    .ne-fm-fab__icon { font-size:1rem; }
    .ne-fm-fab__label { font-size:.75rem; padding:6px 12px; }
}
@media print { .ne-fm-fab { display:none !important; } }
