/* Local offers-first candidate. Same content and links for users and crawlers. */
.ev-offers-first .lkc-model-hero{margin:0 0 8px;box-shadow:none;min-height:0}
.ev-offers-first .lkc-model-hero__content-wrap{padding:14px 18px}
.ev-offers-first .lkc-model-hero__content{max-width:100%}
.ev-offers-first .lkc-model-hero__h1{font-size:27px;line-height:1.13;margin:0 0 7px;padding-right:45px}
.ev-offers-first .ev-entry-lead{color:#fff;font-size:15px;line-height:1.4;margin:0;max-width:850px}
.ev-offers-first .lkc-model-hero__overlay{background:linear-gradient(90deg,rgba(0,90,79,.95),rgba(0,110,94,.8))}
.ev-offers-first .lkc-model-hero__sortlane{display:none}
.ev-offers-first .lkc-model-hero__ai-label{top:8px;right:8px;font-size:8px;padding:2px 4px;background:#eee;color:#666;border:0;border-radius:2px}
.ev-offers-first .lkc-filter-summary:not(.is-sticky){margin:8px auto;box-shadow:none;border-radius:8px}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__inner{padding:7px 10px;gap:8px}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__label{display:none}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__actions{width:auto;flex:1;display:flex;justify-content:flex-end;gap:8px}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__sort{display:flex!important;min-width:220px;height:44px;margin:0}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__btn{height:44px;min-height:44px;padding:0 14px!important;min-width:110px}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__btn-sub{display:none}
.ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__quicknav{display:flex!important;margin-left:4px}
.ev-offers-first table:has(.showcount){display:none}
.ev-offers-first #angebote{margin-top:0;padding-top:0;scroll-margin-top:140px}
.ev-offers-first .ev-list-view-switch{margin:3px 0 10px;padding:3px}
.ev-offers-first .ev-list-view-switch a{font-size:14px;min-height:40px;padding:8px 14px}
.ev-offers-first .ev-after-offers-models{clear:both;margin:22px 0 26px;grid-column:1/-1}
.ev-offers-first .ev-after-offers-models .ev-pilot-view{margin-bottom:0}
.ev-offers-first .ev-model-group:first-child{padding-top:4px}
@media(max-width:768px){
 .ev-offers-first .lkc-model-hero__content-wrap{padding:12px}
 .ev-offers-first .lkc-model-hero__h1{font-size:21px;line-height:1.12;margin-bottom:6px;padding-right:30px}
 .ev-offers-first .ev-entry-lead{font-size:14px;line-height:1.35}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky){margin:6px 0 8px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__inner{display:flex;flex-wrap:wrap;padding:6px 8px;gap:5px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__left{width:100%;flex-basis:100%;margin:0;min-height:21px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__tags{gap:5px;padding-bottom:0;max-height:24px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__tags li{font-size:11px;padding:3px 7px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__actions{display:grid!important;grid-template-columns:100px minmax(0,1fr);width:100%;gap:7px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__sort{grid-column:auto;min-width:0;width:100%;padding:0 8px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__sort-label{display:none}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__sort-select{font-size:13px;height:42px}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__quicknav{display:none!important}
 .ev-offers-first .lkc-filter-summary:not(.is-sticky) .lkc-filter-summary__btn{width:100%!important;min-width:0;height:44px;min-height:44px;padding:0 9px!important}
 .ev-offers-first .ev-list-view-switch{margin:2px 0 9px;width:100%;box-sizing:border-box}
 .ev-offers-first .ev-list-view-switch a{padding:7px 10px;font-size:13px;min-height:38px}
 .ev-offers-first .filter_data>.card-row .card-row-image{height:125px;min-height:0;max-height:125px}
 .ev-offers-first .filter_data>.card-row .lkc-image-inner{height:125px;min-height:0;max-height:125px}
 .ev-offers-first .filter_data>.card-row .lkc-car-image{height:125px;max-height:125px;object-fit:contain}
}

@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .lkc-topbar{display:flex;flex-direction:column;align-items:stretch;gap:7px}
 .ev-offers-first .filter_data>.card-row .lkc-titlewrap{display:contents}
 .ev-offers-first .filter_data>.card-row .card-row-title{order:0;margin:0 0 5px}
 .ev-offers-first .filter_data>.card-row .lkc-price-cta{order:1;width:100%;margin:0}
 .ev-offers-first .filter_data>.card-row .lkc-meta{order:2;margin:5px 0}
 .ev-offers-first .filter_data>.card-row .lkc-sort-indicator{order:3;margin:3px 0}
}

/* Compact, crawlable topic links. The complete article stays in the initial HTML. */
.ev-offers-first .ev-entry-lead a{color:#fff;text-decoration:underline;text-underline-offset:2px;font-weight:600}
.ev-offers-first .ev-entry-links{display:flex;align-items:center;flex-wrap:wrap;gap:5px 16px;margin-top:7px;font-size:13px;line-height:1.5}
.ev-offers-first .ev-entry-links>a,.ev-offers-first .ev-entry-more summary{color:#fff;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ev-offers-first .ev-entry-more{position:relative}
.ev-offers-first .ev-entry-more>div{position:absolute;top:calc(100% + 7px);right:0;width:240px;max-width:calc(100vw - 45px);padding:10px;background:#fff;border:1px solid #c9ded7;border-radius:8px;box-shadow:0 6px 18px #0003;z-index:30;display:grid;gap:0}
.ev-offers-first .ev-entry-more>div a{display:block;color:#14634f;padding:7px 8px;line-height:1.3;text-decoration:none}
.ev-offers-first .ev-entry-more>div a:hover,.ev-offers-first .ev-entry-more>div a:focus{background:#edf6f2;text-decoration:underline}
.ev-offers-first .lkc-model-hero:has(.ev-entry-more[open]){overflow:visible;z-index:60}
.ev-offers-first :is(#wissenswertes,#ev-audience-heading,[id^="ev-sub-"],#ev-modelle,#ev-vergleich,#ev-foerderung,#ev-intent-guide){scroll-margin-top:140px}
@media(max-width:768px){
 .ev-offers-first .ev-entry-links{gap:2px 12px;margin-top:5px;font-size:12px}
 .ev-offers-first .filter_data>.card-row :is(.card-row-image,.lkc-image-inner,.lkc-car-image){height:90px;max-height:90px;min-height:0}
}

@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .card-row-body{padding:18px}
 .ev-offers-first .filter_data>.card-row .lkc-price-cta{box-sizing:border-box;justify-content:space-between;flex-wrap:nowrap;padding:12px;gap:8px}
 .ev-offers-first .filter_data>.card-row .lkc-price{flex:1 1 auto;width:auto;min-width:0;text-align:left;margin:0}
 .ev-offers-first .filter_data>.card-row .lkc-price-main{min-width:0}
 .ev-offers-first .filter_data>.card-row .lkc-provider-badge{padding:4px}
 .ev-offers-first .filter_data>.card-row .lkc-provider-badge img{height:auto;max-height:20px;max-width:75px}
}

@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .lkc-topbar{width:100%;max-width:100%}
 .ev-offers-first .filter_data>.card-row .lkc-price-value{font-size:38px}
 .ev-offers-first .filter_data>.card-row .lkc-price-decimal{font-size:18px}
 .ev-offers-first .filter_data>.card-row .lkc-price-unit{font-size:12px;margin-left:2px}
}

@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .card-row-inner{display:block}
 .ev-offers-first .filter_data>.card-row .card-row-image{float:none;display:block;width:auto}
 .ev-offers-first .filter_data>.card-row .card-row-body{display:block;clear:both}
 .ev-offers-first .filter_data>.card-row .lkc-topbar{margin-top:0;clear:none}
}

@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .card-row-body{padding-top:8px}
 .ev-offers-first .lkc-model-hero__h1{font-size:20px;padding-right:20px}
}

/* Related offer pages are primary navigation, directly below the hero. */
.ev-offers-first .lkcos-main-topic-nav{margin:5px 0 7px;border-block:1px solid #dce9e4}
.ev-offers-first .lkcos-main-topic-nav__track{padding:0;gap:0}
.ev-offers-first .lkcos-main-topic-nav__li{flex:0 0 auto;min-width:0}
.ev-offers-first .lkcos-main-topic-nav__item{min-height:36px;padding:9px 13px;flex-direction:row;align-items:center;justify-content:center}
.ev-offers-first .lkcos-main-topic-nav__text{font-size:12px;line-height:1.4;font-weight:600;max-width:none;white-space:nowrap;letter-spacing:0}
.ev-offers-first .lkcos-main-topic-nav__icon{display:none}
.ev-offers-first .lkcos-main-topic-nav__arrow{height:28px;width:25px}
@media(max-width:768px){
 .ev-offers-first .lkcos-main-topic-nav{margin:4px 0 6px}
 .ev-offers-first .lkcos-main-topic-nav__item{min-height:34px;padding:8px 12px}
 .ev-offers-first .lkcos-main-topic-nav__text{font-size:12px}
}

@media(max-width:768px){
 /* Images are block elements here; clearing legacy floats adds an empty gap. */
 .ev-offers-first .filter_data>.card-row .card-row-body{clear:none}
}

@media(max-width:375px){
 .ev-offers-first .filter_data>.card-row :is(.card-row-image,.lkc-image-inner,.lkc-car-image){height:65px;max-height:65px;min-height:0}
}

/* Stock, price and audience are essential orientation, kept in the short hero. */
.ev-offers-first .ev-entry-stats{display:flex;flex-wrap:wrap;gap:4px 14px;color:#fff;margin:0;font-size:15px;line-height:1.35}
.ev-offers-first .ev-entry-stats .ev-entry-stock{white-space:nowrap}
.ev-offers-first .ev-entry-meta{color:#fff;font-size:13px;line-height:1.4}
.ev-offers-first .ev-entry-meta a{color:#fff;text-decoration:underline;text-underline-offset:2px;font-weight:600}
.ev-offers-first .ev-entry-stats [hidden]{display:none!important}
.ev-offers-first #ev-entry-summary[hidden]{display:none!important}
@media(max-width:768px){
 .ev-offers-first .ev-entry-stats{display:block;font-size:14px}
 .ev-offers-first .ev-entry-stats>span{display:block}
 .ev-offers-first .ev-entry-meta{font-size:12px;margin-top:2px}
}

@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .lkc-meta{order:3}
 .ev-offers-first .filter_data>.card-row .lkc-sort-indicator{order:4}
}

.ev-offers-first .ev-entry-price-wrap{flex:0 0 310px;width:310px;max-width:100%}
.ev-offers-first .ev-entry-price-wrap .lkc-price-cta{width:100%;box-sizing:border-box}
@media(max-width:768px){
 .ev-offers-first .filter_data>.card-row .ev-entry-price-wrap{order:1;flex:0 0 auto;width:100%;margin:0}
}

@media(max-width:375px){
 /* Compact spacing on small phones. */
 .ev-offers-first .filter_data>.card-row .card-row-body{padding-top:0}
 .ev-offers-first .filter_data>.card-row .lkc-price-cta{padding:8px}
}

@media(max-width:375px){.ev-offers-first .lkc-model-hero__content-wrap{padding-top:5px;padding-bottom:5px}}

/* At intermediate widths the native stacked photo pushed the first price
   below the viewport. Keep photo beside the model and price in this range. */
@media(min-width:769px) and (max-width:1100px){
 .ev-offers-first .filter_data>.card-row .card-row-inner{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:start}
 .ev-offers-first .filter_data>.card-row .card-row-image{float:none;width:180px;min-width:0;max-width:180px;height:180px;min-height:0;margin:0}
 .ev-offers-first .filter_data>.card-row .lkc-image-inner{width:100%;height:180px;min-height:0}
 .ev-offers-first .filter_data>.card-row .lkc-car-image{height:160px;max-height:160px;object-fit:contain}
 .ev-offers-first .filter_data>.card-row .card-row-body{clear:none;width:auto;min-width:0;padding:18px}
 .ev-offers-first .filter_data>.card-row .lkc-topbar{display:flex;flex-direction:column;align-items:stretch;gap:7px;max-width:100%}
 .ev-offers-first .filter_data>.card-row .lkc-titlewrap{display:contents}
 .ev-offers-first .filter_data>.card-row .card-row-title{order:0;margin:0 0 5px}
 .ev-offers-first .filter_data>.card-row .ev-entry-price-wrap{order:1;width:100%;flex:0 0 auto}
 .ev-offers-first .filter_data>.card-row .lkc-meta{order:2;margin:4px 0}
 .ev-offers-first .filter_data>.card-row .lkc-sort-indicator{order:3}
}

/* The top alarm box is part of the listing, alongside the sticky alarm entry. */
.ev-offers-first #lkcAgentLauncher{display:grid}

/* Chapter labels and their targets stay one navigational unit. */
.ev-offers-first .ev-entry-links a[hidden]{display:none!important}
.ev-offers-first :is([id^="ev-private-"],[id^="ev-business-"],[id^="ev-mileage-"],[id^="ev-term-"],[id^="ev-premium-"],[id^="ev-delivery-"],[id^="ev-low-budget-"],[id^="ev-used-"],[id^="ev-zero-"],[id^="ev-budget-"]){scroll-margin-top:140px}
.ev-category-guide .ev-sub-specs td,.ev-category-guide .ev-sub-specs th{overflow-wrap:break-word}

.ev-offers-first [id^="ev-"]{scroll-margin-top:140px}
