/* AutoPoint Fahrzeugplattform – responsive, compact vehicle cards */
.apfp-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:24px 0}
.apfp-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.apfp-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.apfp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.apfp-card{min-width:0;overflow:hidden;border:1px solid #e5e7eb;border-radius:12px;background:#fff;box-shadow:0 5px 18px rgba(0,0,0,.07);display:flex;flex-direction:column}
.apfp-image{display:block;height:220px;overflow:hidden;background:#f2f3f5}
.apfp-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.apfp-no-image{display:flex;height:100%;align-items:center;justify-content:center;color:#666}
.apfp-card-body{padding:16px;display:flex;flex:1;flex-direction:column}
.apfp-card h3{font-size:1.05rem;line-height:1.35;margin:0 0 12px}
.apfp-specs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px}
.apfp-specs span{font-size:.83rem;background:#f3f4f6;border-radius:5px;padding:5px 7px}
.apfp-price{font-size:1.35rem;font-weight:700;margin:0 0 14px}
.apfp-button{display:inline-block;text-align:center;text-decoration:none!important;padding:11px 16px;border-radius:6px;background:#111827;color:#fff!important;font-weight:600;margin-top:auto}
.apfp-button:hover{opacity:.88}
.apfp-filters{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}
.apfp-filters input{max-width:220px;padding:10px;border:1px solid #d1d5db;border-radius:6px}
.apfp-filters button{padding:10px 16px;border:0;border-radius:6px;cursor:pointer}
.apfp-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.apfp-gallery img{width:100%;height:220px;object-fit:cover;border-radius:8px}
.apfp-detail-price{font-size:1.8rem;font-weight:700}
.apfp-detail dl{display:grid;grid-template-columns:minmax(140px,220px) 1fr;gap:8px}
.apfp-detail dt{font-weight:700}.apfp-detail dd{margin:0}
.apfp-empty{padding:18px;border:1px solid #e5e7eb;border-radius:8px}
@media(max-width:1000px){.apfp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.apfp-image{height:210px}}
@media(max-width:600px){.apfp-grid{grid-template-columns:1fr;gap:16px}.apfp-image{height:220px}.apfp-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.apfp-gallery img{height:150px}.apfp-detail dl{grid-template-columns:1fr;gap:4px}.apfp-detail dd{margin-bottom:10px}}

.apfp-route-main{padding:24px 0}.apfp-route-wrap{width:min(1200px,calc(100% - 32px));margin:0 auto}.apfp-detail h1{margin:0 0 22px}.apfp-gallery a{display:block;overflow:hidden;border-radius:8px}.apfp-gallery img{display:block;transition:transform .2s}.apfp-gallery a:hover img{transform:scale(1.025)}.apfp-contact{margin-top:32px;padding:24px;border-radius:12px;background:#f3f4f6}.apfp-detail dl{margin:20px 0}.apfp-detail dt{padding:8px 0;border-bottom:1px solid #e5e7eb}.apfp-detail dd{padding:8px 0;border-bottom:1px solid #e5e7eb}

/* Version 0.3.0: ausführliche Fahrzeugdetailseite */
.apfp-detail{max-width:1200px;margin:0 auto}.apfp-detail h1{font-size:clamp(28px,3.3vw,42px);line-height:1.2}.apfp-back{display:inline-block;margin-bottom:12px;color:#555}.apfp-data-section{margin:30px 0;padding:24px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 5px 18px rgba(0,0,0,.035)}.apfp-data-section h2{font-size:1.35rem;margin:0 0 18px;padding-bottom:12px;border-bottom:2px solid #e51d2a}.apfp-data-section dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0}.apfp-data-row{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);gap:12px;padding:11px 0;border-bottom:1px solid #eceef0;align-items:start}.apfp-data-row dt{font-weight:650;color:#555}.apfp-data-row dd{margin:0;font-weight:600;overflow-wrap:anywhere}.apfp-equipment{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.apfp-equipment li{position:relative;padding:10px 12px 10px 30px;background:#f5f6f7;border-radius:6px}.apfp-equipment li:before{content:"✓";position:absolute;left:12px;color:#e51d2a;font-weight:800}.apfp-description p{white-space:normal}.apfp-detail-price{margin:20px 0;font-size:clamp(28px,3vw,38px);font-weight:800;color:#111}
@media(max-width:760px){.apfp-data-section{padding:17px;margin:20px 0}.apfp-data-section dl{grid-template-columns:1fr}.apfp-data-row{grid-template-columns:1fr;gap:2px;padding:10px 0}.apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.apfp-equipment{grid-template-columns:1fr}.apfp-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Version 0.4.0 – große Fahrzeuggalerie und klare Preis-/Kontakt-Hierarchie */
.apfp-detail{max-width:1240px}
.apfp-detail h1{margin:0 0 22px;font-size:clamp(29px,3.5vw,46px);letter-spacing:-.025em}
.apfp-gallery-wrap{margin:24px 0 30px}
.apfp-gallery-main{position:relative;overflow:hidden;border-radius:14px;background:#17191c;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.apfp-gallery-view{display:block;position:relative;width:100%;padding:0;border:0;background:#17191c;cursor:zoom-in;line-height:0}
.apfp-gallery-hero{display:block;width:100%;height:clamp(320px,51vw,660px);max-height:660px;object-fit:contain;background:#17191c}
.apfp-gallery-zoom{position:absolute;right:16px;bottom:16px;line-height:1.3;padding:10px 13px;border-radius:5px;background:rgba(17,19,21,.78);color:#fff;font-size:13px;font-weight:700}
.apfp-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:44px;height:52px;border:0;border-radius:6px;background:rgba(17,19,21,.76);color:#fff;font-size:34px;line-height:1;cursor:pointer}
.apfp-gallery-prev{left:14px}.apfp-gallery-next{right:14px}
.apfp-gallery-thumbs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin-top:12px}
.apfp-gallery-thumb{padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:#f1f2f3;cursor:pointer;aspect-ratio:4/3}
.apfp-gallery-thumb.is-active{border-color:#e51d2a;box-shadow:0 0 0 1px #e51d2a}
.apfp-gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.apfp-detail-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0 30px;padding:24px 28px;border:1px solid #e5e7eb;border-left:5px solid #e51d2a;border-radius:10px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.045)}
.apfp-detail-summary .apfp-detail-price{margin:2px 0 0;font-size:clamp(30px,3.5vw,42px);line-height:1.1;color:#111}
.apfp-detail-kicker{margin:0;color:#62666c;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.apfp-summary-note{margin:0;color:#555;font-size:14px;text-align:right}
.apfp-lightbox{position:fixed;inset:0;width:min(96vw,1400px);max-width:none;height:min(92vh,1000px);max-height:none;padding:48px 64px 56px;border:1px solid rgba(255,255,255,.18);border-radius:12px;background:#101113;color:#fff;overflow:hidden}
.apfp-lightbox::backdrop{background:rgba(0,0,0,.88)}
.apfp-lightbox-image{display:block;width:100%;height:100%;max-height:calc(92vh - 110px);object-fit:contain}
.apfp-lightbox-close{position:absolute;right:12px;top:8px;border:0;background:transparent;color:#fff;font-size:36px;cursor:pointer}
.apfp-lightbox-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:52px;border:0;border-radius:5px;background:rgba(255,255,255,.16);color:#fff;font-size:34px;cursor:pointer}
.apfp-lightbox-prev{left:12px}.apfp-lightbox-next{right:12px}.apfp-lightbox-count{position:absolute;bottom:7px;left:0;right:0;text-align:center;color:#ddd;font-size:13px}
.apfp-contact{border:1px solid #e5e7eb;border-top:4px solid #e51d2a;background:#f7f7f8;box-shadow:0 8px 24px rgba(0,0,0,.04)}
.apfp-contact .apfp-button{background:#e51d2a;padding:13px 20px}.apfp-contact .apfp-button:hover{background:#c91622}
@media(max-width:760px){.apfp-gallery-hero{height:clamp(240px,65vw,440px)}.apfp-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.apfp-detail-summary{align-items:flex-start;flex-direction:column;padding:18px;gap:10px}.apfp-summary-note{text-align:left}.apfp-lightbox{width:100vw;height:100dvh;padding:50px 42px 50px;border-radius:0}.apfp-lightbox-image{max-height:calc(100dvh - 110px)}}
@media(max-width:420px){.apfp-gallery-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))}.apfp-gallery-arrow{width:36px;height:44px}.apfp-gallery-prev{left:7px}.apfp-gallery-next{right:7px}.apfp-detail-summary .apfp-detail-price{font-size:30px}}

/* Version 0.5.0 – Suche, Filter, Pagination und direkte Fahrzeuganfrage */
.apfp-filters{align-items:end;padding:18px;background:#f7f7f8;border:1px solid #e5e7eb;border-radius:12px;gap:12px}
.apfp-filters label,.apfp-inquiry-form label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:650;color:#333}
.apfp-filters input,.apfp-filters select,.apfp-inquiry-form input,.apfp-inquiry-form textarea{box-sizing:border-box;width:100%;max-width:none;min-width:0;padding:11px 12px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#171717;font:inherit}
.apfp-filters button{padding:11px 17px;border:0;border-radius:6px;background:#e51d2a;color:#fff;font-weight:700;cursor:pointer}
.apfp-reset{padding:10px;color:#555}
.apfp-results-count{font-size:.95rem;color:#666;margin:14px 0}
.apfp-pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:28px 0}
.apfp-pagination a{display:inline-flex;min-width:40px;height:40px;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:6px;text-decoration:none;color:#222}
.apfp-pagination a[aria-current="page"]{background:#e51d2a;color:#fff;border-color:#e51d2a}
.apfp-contact{padding:24px}
.apfp-inquiry-form{display:grid;gap:14px;margin-top:18px}
.apfp-form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.apfp-inquiry-form textarea{resize:vertical}
.apfp-inquiry-form .apfp-consent{display:flex;flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;line-height:1.45}
.apfp-inquiry-form .apfp-consent input{width:auto;margin-top:4px}
.apfp-inquiry-form button{justify-self:start;margin-top:4px;border:0;cursor:pointer}
.apfp-form-success{padding:12px 14px;border:1px solid #9ac9a1;border-radius:6px;background:#edf8ef;color:#185c25}
@media(max-width:760px){.apfp-filters label{flex:1 1 calc(50% - 12px)}.apfp-form-row{grid-template-columns:1fr}.apfp-inquiry-form button{width:100%}}
@media(max-width:440px){.apfp-filters label{flex:1 1 100%}}

/* Version 0.5.7 – modernisierte Fahrzeugdetailseite, ohne Eingriff in die Fahrzeugübersicht */
.apfp-detail{max-width:1120px;margin:0 auto;color:inherit}
.apfp-detail .apfp-back{font-size:.92rem;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;opacity:.8}
.apfp-detail h1{margin:8px 0 22px;font-size:clamp(28px,3.2vw,44px);line-height:1.14;letter-spacing:-.025em}
.apfp-detail .apfp-gallery-wrap{margin:22px 0 18px}
.apfp-detail .apfp-gallery-main{border-radius:16px;box-shadow:0 14px 38px rgba(0,0,0,.14)}
.apfp-detail .apfp-gallery-hero{height:clamp(300px,48vw,590px);}
.apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin-top:10px}
.apfp-detail .apfp-gallery-thumb{border-radius:9px;transition:border-color .18s,transform .18s}
.apfp-detail .apfp-gallery-thumb:hover{transform:translateY(-2px)}
.apfp-detail .apfp-detail-summary{margin:20px 0 14px;padding:22px 25px;border:1px solid #e1e4e8;border-left:5px solid #e51d2a;border-radius:14px;align-items:center;gap:18px}
.apfp-detail .apfp-detail-summary .apfp-detail-price{font-size:clamp(30px,3vw,40px);margin:5px 0;color:inherit}
.apfp-detail .apfp-detail-kicker{letter-spacing:.06em}
.apfp-detail .apfp-summary-note{margin:0;text-align:left;font-size:.9rem}
.apfp-detail .apfp-summary-cta{margin:0;padding:13px 20px;background:#e51d2a;border-radius:8px;white-space:nowrap}
.apfp-quick-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0 24px}
.apfp-quick-fact{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:7px;padding:15px 13px;border:1px solid #e3e5e8;border-radius:10px;background:#f7f8f9}
.apfp-quick-fact span{font-size:.76rem;line-height:1.25;color:#686d73;font-weight:650}
.apfp-quick-fact strong{font-size:.95rem;line-height:1.3;overflow-wrap:anywhere}
.apfp-detail .apfp-data-section{margin:20px 0;padding:23px;border:1px solid #e3e5e8;border-radius:13px;box-shadow:0 5px 20px rgba(0,0,0,.035)}
.apfp-detail .apfp-data-section h2{font-size:1.35rem;margin:0 0 17px;padding-bottom:12px;border-bottom:2px solid #e51d2a}
.apfp-detail .apfp-data-section dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
.apfp-detail .apfp-data-row{grid-template-columns:minmax(120px,.9fr) minmax(0,1.1fr);padding:10px 0;gap:12px}
.apfp-detail .apfp-data-row dt{font-size:.9rem;color:#5c6269}
.apfp-detail .apfp-data-row dd{font-size:.92rem}
.apfp-detail .apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.apfp-detail .apfp-equipment li{padding:12px 12px 12px 34px;border:1px solid #eceef0;background:#f8f9fa;border-radius:8px}
.apfp-detail .apfp-description p{line-height:1.75;overflow-wrap:anywhere}
.apfp-detail .apfp-contact{margin:24px 0;padding:24px;border-radius:14px}
@media(max-width:900px){.apfp-quick-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:640px){.apfp-detail .apfp-gallery-hero{height:clamp(230px,68vw,400px)}.apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.apfp-detail .apfp-detail-summary{align-items:flex-start;flex-direction:column;padding:18px}.apfp-detail .apfp-summary-cta{width:100%;box-sizing:border-box}.apfp-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.apfp-quick-fact{padding:12px}.apfp-detail .apfp-data-section{padding:17px}.apfp-detail .apfp-data-section dl{grid-template-columns:1fr}.apfp-detail .apfp-data-row{grid-template-columns:1fr;gap:3px}.apfp-detail .apfp-equipment{grid-template-columns:1fr}}


/* Version 0.5.9 – mobile.de-inspirierte Detailseite: Galerie + Preis/Kontakt nebeneinander.
   Ausschließlich .apfp-detail betroffen; Fahrzeugübersicht und Karten bleiben unverändert. */
.apfp-detail{
  width:min(1240px,calc(100vw - 48px));max-width:none;
  position:relative;left:50%;transform:translateX(-50%);
  display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,.85fr);
  column-gap:22px;row-gap:0;align-items:start;margin:0 auto 42px;
  color:#202124;
}
.apfp-detail>p:first-child,.apfp-detail>h1{grid-column:1/-1}
.apfp-detail>p:first-child{margin:0 0 12px}
.apfp-detail h1{font-size:clamp(28px,2.7vw,38px);line-height:1.15;letter-spacing:-.035em;margin:0 0 18px;font-weight:750}
.apfp-detail .apfp-gallery-wrap{grid-column:1;grid-row:auto;align-self:start;margin:0 0 18px;min-width:0}
.apfp-detail .apfp-gallery-main{border-radius:13px;box-shadow:none;background:#18191b}
.apfp-detail .apfp-gallery-hero{height:clamp(300px,33vw,470px);max-height:470px;object-fit:contain}
.apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:9px}
.apfp-detail .apfp-gallery-thumb{border-radius:7px;aspect-ratio:4/3}
.apfp-detail .apfp-gallery-thumb.is-active{border-color:#e51d2a;box-shadow:0 0 0 1px #e51d2a}
.apfp-detail .apfp-detail-summary{grid-column:2;grid-row:auto;align-self:start;position:sticky;top:24px;display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:0 0 18px;padding:22px;background:#fff;border:1px solid #e3e5e8;border-left:1px solid #e3e5e8;border-radius:13px;box-shadow:0 4px 18px rgba(0,0,0,.06)}
.apfp-detail .apfp-detail-kicker{font-size:11px;letter-spacing:.08em;color:#6a6d70;margin:0 0 7px}
.apfp-detail .apfp-detail-summary .apfp-detail-price{font-size:clamp(32px,3vw,40px);line-height:1.05;margin:0 0 8px;color:#171717;font-weight:800}
.apfp-detail .apfp-summary-note{font-size:13px;line-height:1.5;color:#65686b;margin:0}
.apfp-detail .apfp-summary-cta{width:100%;box-sizing:border-box;text-align:center;padding:14px 16px;border-radius:7px;background:#e51d2a;color:#fff;font-size:15px;font-weight:750}
.apfp-detail .apfp-summary-cta:hover{background:#c91622}
.apfp-detail .apfp-quick-facts{grid-column:1/-1;grid-row:auto;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:0 0 18px;padding:17px 8px;background:#fff;border:1px solid #e3e5e8;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.apfp-detail .apfp-quick-fact{background:transparent;border:0;border-radius:0;padding:5px 12px;gap:5px;border-right:1px solid #eceef0}
.apfp-detail .apfp-quick-fact:last-child{border-right:0}
.apfp-detail .apfp-quick-fact span{font-size:12px;color:#6b7075;font-weight:550}
.apfp-detail .apfp-quick-fact strong{font-size:15px;color:#242629;font-weight:750}
.apfp-detail .apfp-data-section,.apfp-detail .apfp-contact,.apfp-detail>p:not(:first-child),.apfp-detail>section:not(.apfp-gallery-wrap):not(.apfp-detail-summary):not(.apfp-quick-facts){grid-column:1/-1;width:100%;box-sizing:border-box}
.apfp-detail .apfp-data-section{margin:0 0 16px;padding:22px 24px;background:#fff;border:1px solid #e3e5e8;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.035)}
.apfp-detail .apfp-data-section h2{font-size:20px;line-height:1.3;font-weight:750;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #e51d2a}
.apfp-detail .apfp-data-section dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 34px}
.apfp-detail .apfp-data-row{grid-template-columns:minmax(135px,.8fr) minmax(0,1.2fr);gap:14px;padding:11px 0;border-bottom:1px solid #eceef0}
.apfp-detail .apfp-data-row dt{font-size:13px;color:#62676c;font-weight:550}
.apfp-detail .apfp-data-row dd{font-size:14px;color:#242629;font-weight:650}
.apfp-detail .apfp-equipment{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 14px}
.apfp-detail .apfp-equipment li{padding:10px 10px 10px 30px;border:0;border-radius:5px;background:#f6f7f8;font-size:13px;line-height:1.4}
.apfp-detail .apfp-description p{font-size:15px;line-height:1.75;color:#34383b}
.apfp-detail .apfp-contact{margin:8px 0 24px;padding:24px;background:#f7f8f9;border:1px solid #e3e5e8;border-top:3px solid #e51d2a;border-radius:12px}
@media(max-width:900px){
 .apfp-detail{width:min(100%,calc(100vw - 32px));grid-template-columns:minmax(0,1fr);column-gap:0}
 .apfp-detail>p:first-child,.apfp-detail>h1,.apfp-detail .apfp-gallery-wrap,.apfp-detail .apfp-detail-summary,.apfp-detail .apfp-quick-facts,.apfp-detail .apfp-data-section,.apfp-detail .apfp-contact{grid-column:1}
 .apfp-detail .apfp-detail-summary{position:static;grid-row:auto;margin:0 0 14px}
 .apfp-detail .apfp-gallery-hero{height:clamp(260px,55vw,500px)}
 .apfp-detail .apfp-quick-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .apfp-detail .apfp-quick-fact:nth-child(3n){border-right:0}
 .apfp-detail .apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .apfp-detail{width:calc(100vw - 24px)}
 .apfp-detail h1{font-size:27px;margin-bottom:14px}
 .apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .apfp-detail .apfp-gallery-hero{height:clamp(220px,68vw,360px)}
 .apfp-detail .apfp-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 6px}
 .apfp-detail .apfp-quick-fact{padding:10px;border-right:1px solid #eceef0;border-bottom:1px solid #eceef0}
 .apfp-detail .apfp-quick-fact:nth-child(2n){border-right:0}
 .apfp-detail .apfp-data-section{padding:17px;margin-bottom:12px}
 .apfp-detail .apfp-data-section dl{grid-template-columns:1fr}
 .apfp-detail .apfp-data-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px}
 .apfp-detail .apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Version 0.6.0 – robustes, ausgewogenes Detailseiten-Layout.
   Gilt ausschließlich für die Detailansicht; Fahrzeugkarten und Archiv bleiben unberührt. */
.apfp-route-main{width:100%;max-width:none;padding:26px 0 56px;overflow:visible}
.apfp-route-main>.apfp-route-wrap{width:100%;max-width:none;margin:0;padding:0}
.apfp-route-main .apfp-detail{
  box-sizing:border-box;width:min(1180px,calc(100% - 48px));max-width:1180px;
  left:auto;transform:none;position:relative;margin:0 auto 44px;
  display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);
  column-gap:22px;row-gap:0;align-items:start;
}
.apfp-route-main .apfp-detail>*{min-width:0;box-sizing:border-box}
.apfp-route-main .apfp-detail>p:first-child,
.apfp-route-main .apfp-detail>h1{grid-column:1/-1}
.apfp-route-main .apfp-detail>p:first-child{margin:0 0 10px}
.apfp-route-main .apfp-detail .apfp-back{font-size:13px;text-decoration:none;color:#62676c}
.apfp-route-main .apfp-detail h1{font-size:clamp(26px,2.5vw,36px);line-height:1.18;letter-spacing:-.025em;margin:0 0 18px;color:#202124}
.apfp-route-main .apfp-detail .apfp-gallery-wrap{grid-column:1;grid-row:auto;margin:0 0 18px}
.apfp-route-main .apfp-detail .apfp-gallery-main{border-radius:12px;overflow:hidden;background:#17191c}
.apfp-route-main .apfp-detail .apfp-gallery-hero{height:clamp(300px,34vw,470px);max-height:470px;object-fit:contain}
.apfp-route-main .apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:9px}
.apfp-route-main .apfp-detail .apfp-gallery-thumb{aspect-ratio:4/3;border-radius:7px}
.apfp-route-main .apfp-detail .apfp-detail-summary{
  grid-column:2;grid-row:auto;align-self:start;position:sticky;top:24px;
  display:flex;flex-direction:column;align-items:stretch;gap:14px;
  margin:0 0 18px;padding:21px;background:#fff;border:1px solid #e2e5e9;
  border-radius:12px;box-shadow:0 5px 18px rgba(25,35,45,.07)
}
.apfp-route-main .apfp-detail .apfp-detail-kicker{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#687078;margin:0 0 8px}
.apfp-route-main .apfp-detail .apfp-detail-price{font-size:clamp(30px,2.8vw,38px);line-height:1.05;margin:0 0 8px;color:#181a1c;font-weight:800}
.apfp-route-main .apfp-detail .apfp-summary-note{font-size:13px;line-height:1.5;color:#60666c;margin:0}
.apfp-route-main .apfp-detail .apfp-summary-cta{width:100%;margin:0;box-sizing:border-box;background:#d92b2b;border-radius:7px;padding:14px 16px;color:#fff;text-align:center;font-weight:750}
.apfp-route-main .apfp-detail .apfp-summary-cta:hover{background:#bb2020}
.apfp-route-main .apfp-detail .apfp-quick-facts{
  grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  margin:0 0 18px;padding:12px 8px;background:#fff;border:1px solid #e2e5e9;
  border-radius:11px;box-shadow:0 3px 12px rgba(25,35,45,.035);gap:0
}
.apfp-route-main .apfp-detail .apfp-quick-fact{padding:7px 12px;gap:5px;background:transparent;border:0;border-right:1px solid #e9ecef;border-radius:0}
.apfp-route-main .apfp-detail .apfp-quick-fact:last-child{border-right:0}
.apfp-route-main .apfp-detail .apfp-quick-fact span{font-size:12px;color:#697078;font-weight:500}
.apfp-route-main .apfp-detail .apfp-quick-fact strong{font-size:14px;line-height:1.35;color:#202428;font-weight:750}
.apfp-route-main .apfp-detail .apfp-data-section,
.apfp-route-main .apfp-detail .apfp-contact,
.apfp-route-main .apfp-detail>p:not(:first-child),
.apfp-route-main .apfp-detail>section:not(.apfp-gallery-wrap):not(.apfp-detail-summary):not(.apfp-quick-facts){
  grid-column:1/-1;width:100%;max-width:100%
}
.apfp-route-main .apfp-detail .apfp-data-section{margin:0 0 15px;padding:22px 24px;background:#fff;border:1px solid #e2e5e9;border-radius:12px;box-shadow:0 3px 12px rgba(25,35,45,.035)}
.apfp-route-main .apfp-detail .apfp-data-section h2{font-size:20px;line-height:1.3;color:#202428;margin:0 0 13px;padding:0 0 12px;border-bottom:1px solid #df2b2b}
.apfp-route-main .apfp-detail .apfp-data-section dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin:0}
.apfp-route-main .apfp-detail .apfp-data-row{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.15fr);gap:12px;padding:10px 0;border-bottom:1px solid #eceef0;align-items:start}
.apfp-route-main .apfp-detail .apfp-data-row dt{font-size:13px;color:#626970;font-weight:500}
.apfp-route-main .apfp-detail .apfp-data-row dd{font-size:14px;color:#24282c;font-weight:650;overflow-wrap:anywhere}
.apfp-route-main .apfp-detail .apfp-equipment{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 10px}
.apfp-route-main .apfp-detail .apfp-equipment li{font-size:13px;line-height:1.4;background:#f6f7f8;border:1px solid #eff0f1;border-radius:6px;padding:10px 10px 10px 30px}
.apfp-route-main .apfp-detail .apfp-description p{font-size:15px;line-height:1.75;color:#373c40;overflow-wrap:anywhere}
.apfp-route-main .apfp-detail .apfp-contact{margin:8px 0 24px;padding:24px;background:#f8f9fa;border:1px solid #e2e5e9;border-top:3px solid #df2b2b;border-radius:12px}
@media(max-width:900px){
 .apfp-route-main .apfp-detail{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);column-gap:0}
 .apfp-route-main .apfp-detail>p:first-child,.apfp-route-main .apfp-detail>h1,
 .apfp-route-main .apfp-detail .apfp-gallery-wrap,.apfp-route-main .apfp-detail .apfp-detail-summary,
 .apfp-route-main .apfp-detail .apfp-quick-facts,.apfp-route-main .apfp-detail .apfp-data-section,
 .apfp-route-main .apfp-detail .apfp-contact{grid-column:1}
 .apfp-route-main .apfp-detail .apfp-detail-summary{position:static;margin:0 0 15px}
 .apfp-route-main .apfp-detail .apfp-gallery-hero{height:clamp(280px,55vw,470px)}
 .apfp-route-main .apfp-detail .apfp-quick-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
 .apfp-route-main .apfp-detail .apfp-quick-fact:nth-child(3n){border-right:0}
 .apfp-route-main .apfp-detail .apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .apfp-route-main{padding-top:18px}
 .apfp-route-main .apfp-detail{width:calc(100% - 24px)}
 .apfp-route-main .apfp-detail h1{font-size:26px;margin-bottom:14px}
 .apfp-route-main .apfp-detail .apfp-gallery-hero{height:clamp(220px,68vw,360px)}
 .apfp-route-main .apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .apfp-route-main .apfp-detail .apfp-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 5px}
 .apfp-route-main .apfp-detail .apfp-quick-fact{padding:10px;border-right:1px solid #e9ecef;border-bottom:1px solid #e9ecef}
 .apfp-route-main .apfp-detail .apfp-quick-fact:nth-child(2n){border-right:0}
 .apfp-route-main .apfp-detail .apfp-data-section{padding:17px;margin-bottom:12px}
 .apfp-route-main .apfp-detail .apfp-data-section dl{grid-template-columns:1fr}
 .apfp-route-main .apfp-detail .apfp-data-row{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:10px}
 .apfp-route-main .apfp-detail .apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Version 0.6.1 – kompakter mobile.de-inspirierter Detailaufbau im AutoPoint-Design.
   Ausschließlich Fahrzeugdetailseite; Archiv und Fahrzeugkarten bleiben unverändert. */
.apfp-route-main .apfp-detail{
  width:min(1120px,calc(100% - 40px));
  grid-template-columns:minmax(0,1fr) 235px;
  column-gap:16px;
}
.apfp-route-main .apfp-detail .apfp-detail-summary{
  position:static;top:auto;gap:9px;padding:15px;
  border-radius:9px;border-top:3px solid #d92b2b;
  box-shadow:0 2px 8px rgba(25,35,45,.06);
}
.apfp-route-main .apfp-detail .apfp-detail-price{font-size:30px;margin-bottom:5px}
.apfp-route-main .apfp-detail .apfp-detail-kicker{font-size:10px;margin-bottom:5px}
.apfp-route-main .apfp-detail .apfp-summary-note{font-size:12px}
.apfp-route-main .apfp-detail .apfp-summary-cta{padding:11px 12px;font-size:13px}
.apfp-route-main .apfp-detail .apfp-gallery-hero{height:clamp(300px,32vw,430px);max-height:430px}
.apfp-route-main .apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.apfp-route-main .apfp-detail .apfp-quick-facts{padding:9px 5px;margin-bottom:14px;border-radius:8px;box-shadow:none}
.apfp-route-main .apfp-detail .apfp-quick-fact{padding:6px 10px}
.apfp-route-main .apfp-detail .apfp-quick-fact span{font-size:11px}
.apfp-route-main .apfp-detail .apfp-quick-fact strong{font-size:13px}
.apfp-route-main .apfp-detail .apfp-data-section{padding:17px 20px;margin-bottom:12px;border-radius:9px;box-shadow:none}
.apfp-route-main .apfp-detail .apfp-data-section h2{font-size:18px;margin-bottom:8px;padding-bottom:9px}
.apfp-route-main .apfp-detail .apfp-data-section dl{gap:0 22px}
.apfp-route-main .apfp-detail .apfp-data-row{grid-template-columns:minmax(110px,.9fr) minmax(0,1.1fr);gap:10px;padding:7px 8px;border-bottom:0}
.apfp-route-main .apfp-detail .apfp-data-row:nth-child(4n+1),
.apfp-route-main .apfp-detail .apfp-data-row:nth-child(4n+2){background:#f4f5f6}
.apfp-route-main .apfp-detail .apfp-data-row dt{font-size:12px;color:#596168}
.apfp-route-main .apfp-detail .apfp-data-row dd{font-size:13px;font-weight:600}
.apfp-route-main .apfp-detail .apfp-equipment{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 7px}
.apfp-route-main .apfp-detail .apfp-equipment li{font-size:12px;padding:7px 8px 7px 25px;background:#f4f5f6;border:0;border-radius:3px}
.apfp-route-main .apfp-detail .apfp-contact{padding:18px;margin-top:6px;border-radius:9px;box-shadow:none}
@media(max-width:900px){
 .apfp-route-main .apfp-detail{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr);column-gap:0}
 .apfp-route-main .apfp-detail .apfp-detail-summary{padding:15px;position:static}
 .apfp-route-main .apfp-detail .apfp-detail-price{font-size:28px}
 .apfp-route-main .apfp-detail .apfp-gallery-hero{height:clamp(280px,55vw,450px)}
 .apfp-route-main .apfp-detail .apfp-data-row:nth-child(n){background:transparent}
 .apfp-route-main .apfp-detail .apfp-data-row:nth-child(odd){background:#f4f5f6}
}
@media(max-width:600px){
 .apfp-route-main .apfp-detail{width:calc(100% - 22px)}
 .apfp-route-main .apfp-detail .apfp-gallery-hero{height:clamp(220px,68vw,350px)}
 .apfp-route-main .apfp-detail .apfp-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .apfp-route-main .apfp-detail .apfp-data-section{padding:14px 12px}
 .apfp-route-main .apfp-detail .apfp-data-section dl{grid-template-columns:1fr;gap:0}
 .apfp-route-main .apfp-detail .apfp-data-row{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);padding:8px 7px}
 .apfp-route-main .apfp-detail .apfp-equipment{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Version 0.6.2 – Tabellen ohne irritierende Linien und mobile.de-artige Bildleiste.
   Nur Fahrzeugdetailseite. */
.apfp-route-main .apfp-detail .apfp-data-row{
  border:0 !important;
  border-bottom:0 !important;
  padding:10px 12px;
  min-height:42px;
  align-items:center;
}
.apfp-route-main .apfp-detail .apfp-data-row:nth-child(4n+1),
.apfp-route-main .apfp-detail .apfp-data-row:nth-child(4n+2){
  background:#f2f3f4;
}
.apfp-route-main .apfp-detail .apfp-data-row:nth-child(4n+3),
.apfp-route-main .apfp-detail .apfp-data-row:nth-child(4n){
  background:#fff;
}
.apfp-route-main .apfp-detail .apfp-data-row dt,
.apfp-route-main .apfp-detail .apfp-data-row dd{
  border:0 !important;
  margin:0;
  padding:0;
}
.apfp-route-main .apfp-detail .apfp-data-section dl{gap:0 14px}
.apfp-route-main .apfp-detail .apfp-gallery-thumbs{
  display:flex !important;
  flex-wrap:nowrap !important;
  overflow-x:auto;
  overflow-y:hidden;
  gap:7px !important;
  padding:2px 1px 8px;
  scroll-snap-type:x proximity;
  scrollbar-width:thin;
}
.apfp-route-main .apfp-detail .apfp-gallery-thumb{
  flex:0 0 78px;
  width:78px;
  min-width:78px;
  aspect-ratio:4/3;
  scroll-snap-align:start;
}
.apfp-route-main .apfp-detail .apfp-gallery-thumb img{
  display:block;width:100%;height:100%;object-fit:cover;
}
.apfp-route-main .apfp-detail .apfp-gallery-main{position:relative}
.apfp-route-main .apfp-detail .apfp-gallery-hero{width:100%;display:block}
@media(max-width:900px){
 .apfp-route-main .apfp-detail .apfp-data-row:nth-child(n){background:transparent}
 .apfp-route-main .apfp-detail .apfp-data-row:nth-child(odd){background:#f2f3f4}
 .apfp-route-main .apfp-detail .apfp-gallery-thumb{flex-basis:74px;width:74px;min-width:74px}
}
@media(max-width:600px){
 .apfp-route-main .apfp-detail .apfp-gallery-thumbs{grid-template-columns:none;gap:6px!important}
 .apfp-route-main .apfp-detail .apfp-gallery-thumb{flex-basis:68px;width:68px;min-width:68px}
 .apfp-route-main .apfp-detail .apfp-data-row{padding:9px 8px}
}

/* Structured vehicle description */
.apfp-route-main .apfp-detail .apfp-description{padding:20px}
.apfp-route-main .apfp-detail .apfp-description .apfp-description-group{margin:18px 0 0}
.apfp-route-main .apfp-detail .apfp-description .apfp-description-group h3{font-size:16px;line-height:1.35;margin:0 0 10px;padding:0 0 8px;border-bottom:2px solid #e52b2e;color:#20232a}
.apfp-route-main .apfp-detail .apfp-description .apfp-description-group ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px}
.apfp-route-main .apfp-detail .apfp-description .apfp-description-group li{position:relative;margin:0;padding:0 0 0 16px;line-height:1.55;overflow-wrap:anywhere}
.apfp-route-main .apfp-detail .apfp-description .apfp-description-group li:before{content:"✓";position:absolute;left:0;top:0;color:#d52b2b;font-weight:700}
@media(max-width:650px){.apfp-route-main .apfp-detail .apfp-description{padding:15px}.apfp-route-main .apfp-detail .apfp-description .apfp-description-group ul{grid-template-columns:1fr;gap:7px}}

/* Readable vehicle description: clean responsive feature list, no noisy separators */
.apfp-route-main .apfp-detail .apfp-description{padding:20px}
.apfp-route-main .apfp-detail .apfp-description-intro{margin:0 0 14px;color:#666;font-size:14px}
.apfp-route-main .apfp-detail .apfp-description-items{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.apfp-route-main .apfp-detail .apfp-description-items li{list-style:none!important;position:relative;margin:0!important;padding:3px 0 3px 18px!important;line-height:1.45;border:0!important;border-bottom:0!important;overflow-wrap:anywhere}
.apfp-route-main .apfp-detail .apfp-description-items li:before{content:"✓";position:absolute;left:0;top:3px;color:#d52b2b;font-weight:700}
.apfp-route-main .apfp-detail .apfp-description-original{margin-top:18px;border-top:1px solid #eee;padding-top:12px}
.apfp-route-main .apfp-detail .apfp-description-original summary{cursor:pointer;color:#b92328;font-weight:700}
.apfp-route-main .apfp-detail .apfp-description-original p{margin:12px 0 0;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:650px){.apfp-route-main .apfp-detail .apfp-description{padding:15px}.apfp-route-main .apfp-detail .apfp-description-items{grid-template-columns:1fr;gap:0}}

/* Fahrzeug teilen – kompakte AutoPoint-Share-Leiste */
.apfp-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0 18px;font-size:14px}
.apfp-share-label{font-weight:700;color:#292929;margin-right:4px}
.apfp-share-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#292929;text-decoration:none;font:inherit;line-height:1.2;cursor:pointer;box-sizing:border-box}
.apfp-share-link:hover,.apfp-share-link:focus{border-color:#d9232e;color:#d9232e}
.apfp-share-whatsapp{border-color:#d9232e}
.apfp-share-status{font-size:12px;color:#555}
@media(max-width:600px){.apfp-share{gap:6px;margin:8px 0 14px}.apfp-share-label{width:100%;margin-bottom:1px}.apfp-share-link{font-size:13px;padding:7px 9px;min-height:32px}}

/* Fahrzeug teilen: direkt unter Preis und Anfrage-Button */
.apfp-share{margin:12px 0 22px;display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.apfp-share-label{display:inline-flex;align-items:center;gap:7px}
.apfp-share-icon{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.apfp-share-link{gap:6px}
@media(max-width:600px){.apfp-share{margin:10px 0 18px}.apfp-share-label{width:100%}}

/* Share action lives inside the price/contact card; options open on icon click */
.apfp-route-main .apfp-detail .apfp-detail-summary{position:relative;align-items:flex-start;gap:12px}
.apfp-route-main .apfp-detail .apfp-summary-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:140px}
.apfp-route-main .apfp-detail .apfp-share{position:relative;margin:0;display:block;font-size:13px}
.apfp-route-main .apfp-detail .apfp-share-trigger{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:34px;padding:7px 10px;border:1px solid #dedede;border-radius:6px;background:#fff;color:#292929;font:inherit;font-weight:700;cursor:pointer}
.apfp-route-main .apfp-detail .apfp-share-trigger:hover,.apfp-route-main .apfp-detail .apfp-share-trigger:focus{border-color:#d9232e;color:#d9232e}
.apfp-route-main .apfp-detail .apfp-share-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.apfp-route-main .apfp-detail .apfp-share-menu{position:absolute;z-index:30;right:0;top:calc(100% + 6px);width:180px;padding:8px;display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e3e3e3;border-top:2px solid #d9232e;border-radius:7px;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.apfp-route-main .apfp-detail .apfp-share-menu[hidden]{display:none}
.apfp-route-main .apfp-detail .apfp-share-menu .apfp-share-link{width:100%;justify-content:flex-start;min-height:32px;font-size:13px}
.apfp-route-main .apfp-detail .apfp-share-status{font-size:11px;overflow-wrap:anywhere}
@media(max-width:600px){.apfp-route-main .apfp-detail .apfp-detail-summary{gap:8px}.apfp-route-main .apfp-detail .apfp-summary-actions{min-width:120px}.apfp-route-main .apfp-detail .apfp-share-menu{width:170px}}
