/* DBZ 1.5 – small screens: one card per row, clear choices, existing booking logic. */
.dbz-hdr [hidden]{display:none!important}
@media(max-width:1179px){
 body.dbz-mnav-open .dbz-hdr{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg)}
 .dbz-mnav:not([hidden]){display:block;bottom:0;height:auto;max-height:none;padding-bottom:env(safe-area-inset-bottom)}
 .dbz-mnav__in{padding-bottom:28px}
 body.dbz-mnav-open :is(.dbz-calc__mini,.dbz-book__bar,.dbz-mobile-actions,.dbz-tesla-sticky){display:none!important}
 .dbz-mbar{bottom:calc(12px + env(safe-area-inset-bottom))}
}
.dbz-mobile-category,.dbz-mobile-progress,.dbz-mobile-actions,.dbz-mobile-review,.dbz-mobile-jump{display:none}
@media(max-width:767px){
 :root{--pad:16px;--sec:44px;--r-card:14px}
 .dbz-main{overflow-wrap:break-word}
 .dbz-wrap--full{padding-inline:16px}
 .dbz-hdr__bar{gap:10px}
 .dbz-button{min-height:46px;white-space:normal;text-align:center;padding:10px 16px}
 /* Explicit card groups only: calendars, specification tables and date fields keep their layout. */
 :is(.dbz-hero__usps,.dbz-hero-main__right,.dbz-why__usps,.dbz-loc__cards,.dbz-prod__grid,.dbz-pricing__grid,.dbz-steps__grid,.dbz-cityv__grid,.dbz-city__cards-text,.dbz-city__grid,.dbz-citysl__track,.dbz-city__products,.dbz-boxcomp__grid,.dbz-preis-box__grid,.dbz-dtpreis__grid,.dbz-heck-prod__grid,.dbz-dtbefest__cards,.dbz-sksteps__grid,.dbz-staffel,.dbz-skproducts__grid,.dbz-skprod__grid,.dbz-more__grid,.dbz-skwann__grid,.dbz-skblog__grid,.dbz-kb-prod__grid,.dbz-kb-use__grid,.dbz-kb-cross__grid,.dbz-ft-prod__grid,.dbz-ft-cross__grid,.dbz-ks-cross__grid,.dbz-ks-cases__grid,.dbz-ks-marken__grid,.dbz-ks-normen__grid,.dbz-ps__cross-grid,.dbz-ps__usecases,.dbz-kauf-model__grid,.dbz-kauf-why__grid,.dbz-vk-cross__grid,.dbz-vk-why__grid,.dbz-vk-rev__grid,.dbz-vw-grid,.dbz-vw-products,.dbz-tesla-range__cards,.dbz-tesla-how__grid,.dbz-faqp__quick,.dbz-values__grid,.dbz-fk-produkte__grid,.dbz-fk-blog__grid,.dbz-fk-ratgeber__grid){grid-template-columns:minmax(0,1fr);gap:12px}
 :is(.dbz-hero__usps,.dbz-why__usps,.dbz-cityv__grid,.dbz-city__cards-text)>*{grid-column:auto;grid-row:auto;min-height:0}
 :is(.dbz-hero__usp,.dbz-hero-main__usp,.dbz-why__usp-card,.dbz-steps__item,.dbz-cityv__card,.dbz-city__card,.dbz-city__card-text){min-height:0;padding:16px;gap:8px}
 :is(.dbz-hero__usp,.dbz-hero-main__usp,.dbz-why__usp-card,.dbz-steps__item,.dbz-cityv__card,.dbz-city__card,.dbz-city__card-text)>.dbz-ghost{display:none}
 :is(.dbz-hero__usp-text,.dbz-hero-main__usp-body,.dbz-why__usp-body) strong{font-size:18px;line-height:1.3;margin:0 0 4px}
 :is(.dbz-hero__usp-text,.dbz-hero-main__usp-body,.dbz-why__usp-body) span{font-size:14px;line-height:1.5}
 .dbz-prod__img-wrap{height:160px}
 .dbz-prod__card-body{padding:18px}
 .dbz-prod__card-title{font-size:24px}
 .dbz-skproducts__card{min-height:0;padding:18px}
 .dbz-skproducts__card-name{font-size:22px}
 .dbz-citysl__card,.dbz-city__product{min-height:0}
 .dbz-pricing__card{grid-row:auto;grid-template-rows:auto}
 .dbz-res{padding-top:24px;padding-bottom:36px}
 .dbz-res__header{margin-bottom:22px}
 .dbz-res__h1{font-size:34px;margin-bottom:14px}
 .dbz-res__intro{font-size:16px;line-height:1.5;margin-bottom:16px}
 .dbz-res__trust{margin-bottom:20px;gap:8px 14px}
 .dbz-res__booking{margin-bottom:36px}
 .dbzMRpage-hero__h1{font-size:38px}
 .dbzMRpage-hero__sub{font-size:16px}
 .dbzMRpage-hero__facts{margin-top:24px;padding-block:24px;gap:18px}
 .dbzMRpage-hero__fact-num{font-size:32px}
 .dbz-mobile-jump{display:inline-flex;margin-top:16px}
 .dbz-ftr__in{padding-top:36px;gap:28px}
 /* Categories have a labelled native select on mobile, never a hidden sideways strip. */
 .dbz-mobile-category,#dbz-book .dbz-mobile-category{display:flex;flex-direction:column;gap:6px;margin:0 0 12px;color:var(--gold);font:600 12px/1.3 var(--f-sans)}
 .dbz-mobile-category select,#dbz-book .dbz-mobile-category select{display:block;width:100%;min-width:0;min-height:48px;padding:10px 36px 10px 12px;border:1px solid var(--line-3,#555);border-radius:10px;background:var(--surface,#171717);color:var(--text,#fff);font:600 16px/1.4 var(--f-sans);color-scheme:dark}
 .dbz-calc .dbz-mobile-category-ready{display:none!important}
 /* Flatten the stacked borders in the compact availability search. */
 .dbz-calc--kompakt{padding:14px}
 .dbz-calc--kompakt .dbz-calc__when{padding:0;border:0;background:none}
 .dbz-calc__when{padding:12px;margin-bottom:12px}
 .dbz-calc__dates{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .dbz-calc__dates label{min-width:0}
 .dbz-calc__days{grid-column:1/-1;justify-content:flex-end;height:auto;min-height:26px;padding:0;background:none;color:var(--c-muted);gap:5px}
 .dbz-calc__days b{font-size:16px;line-height:1.3;color:var(--c-gold)}
 .dbz-calc__dates .dbz-dp .dbz-dp__field{height:48px;padding:0 8px;font-size:16px;gap:4px}
 .dbz-calc__dates .dbz-dp__wd{display:none}
 .dbz-calc__dates .dbz-dp__y{display:inline}
 .dbz-calc__dates .dbz-dp__ico{display:none}
 .dbz-calc__k-title{font-size:11px;letter-spacing:.08em}
 .dbz-calc__minirow{padding:12px;gap:8px;font-size:14px}
 .dbz-calc__minirow .dbz-calc__cta{width:100%;margin:4px 0 0;min-height:48px;padding:10px;font-size:16px;text-align:center}
 .dbz-calc__prods{grid-template-columns:minmax(0,1fr)}
 .dbz-calc__img{aspect-ratio:auto;height:140px}
 .dbz-calc__img img{object-fit:contain}
 .dbz-calc__pb{padding:14px}
 .dbz-calc__pf{flex-wrap:wrap;align-items:center}
 .dbz-calc__card{padding:18px}
 .dbz-calc__add,.dbz-calc__qty{min-height:44px}
 .dbz-calc__qty button{width:44px}
 .dbz-calc__quick button{min-height:44px;padding:8px 10px}
 .dbz-calc__mini.has-items.is-on{bottom:calc(12px + env(safe-area-inset-bottom));z-index:85;min-height:64px}
 .dbz-calc__total{flex-wrap:wrap}
 .dbz-calc__sum{scroll-margin-top:calc(var(--hdr) + 16px)}
 /* Existing plugin fields and validation are retained; only one mobile step is visible. */
 #dbz-book{padding:12px 0 100px!important;overflow:visible;background:transparent!important;border-radius:0}
 #dbz-book::after{display:none}
 #dbz-book .dbz-book__wrap{container-type:normal!important}
 #dbz-book .dbz-book__grid{gap:12px!important}
 #dbz-book .dbz-book__card{padding:16px 12px!important;scroll-margin-top:calc(var(--hdr) + 12px)}
 #dbz-book .dbz-book__prods{grid-template-columns:minmax(0,1fr)!important}
 #dbz-book .dbz-book__prod{padding:12px!important}
 #dbz-book .dbz-book__qty button{width:44px!important;height:44px!important}
 #dbz-book .dbz-book__row,#dbz-book .dbz-book__veh{grid-template-columns:minmax(0,1fr)!important}
 #dbz-book .dbz-book__in{font-size:16px!important;min-height:48px!important;min-width:0!important}
 #dbz-book .dbz-book__times{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 #dbz-book .dbz-book__cal{grid-template-columns:minmax(0,1fr)!important}
 #dbz-book .dbz-book__cal-m+.dbz-book__cal-m{display:none!important}
 #dbz-book button.dbz-book__day{height:44px!important;line-height:44px!important}
 #dbz-book.dbz-mobile-booking [data-mobile-step][hidden]{display:none!important}
 #dbz-book.dbz-mobile-booking .dbz-book__bar{display:none!important}
 #dbz-book .dbz-book__sum{scroll-margin-top:calc(var(--hdr) + 12px)}
 #dbz-book .dbz-mobile-progress{display:block;margin-bottom:14px;scroll-margin-top:calc(var(--hdr) + 12px)}
 #dbz-book .dbz-mobile-progress p{font-size:13px;color:var(--muted);margin:0 0 8px}
 #dbz-book .dbz-mobile-progress nav{display:flex;gap:8px}
 #dbz-book .dbz-mobile-progress button{display:grid;place-items:center;flex:1;min-width:0;height:44px;border:1px solid var(--line2);border-radius:9px;background:var(--card);color:var(--text);font:600 15px var(--f-sans);cursor:pointer}
 #dbz-book .dbz-mobile-progress button[aria-current=step]{background:var(--gold);color:#111;border-color:var(--gold)}
 #dbz-book .dbz-mobile-progress button.is-complete{border-bottom:3px solid var(--green)}
 #dbz-book .dbz-mobile-step-error{color:#ffb66b;margin:8px 0;font-size:14px}
 .dbz-mobile-actions:not([hidden]){position:fixed;display:flex;align-items:center;gap:8px;bottom:calc(10px + env(safe-area-inset-bottom));left:12px;right:12px;z-index:86;padding:8px;border:1px solid var(--line-2);border-radius:14px;background:#191917;box-shadow:0 8px 32px #0008}
 .dbz-mobile-actions button{min-height:48px;border:0;border-radius:8px;padding:8px 12px;cursor:pointer;font:600 15px/1.3 var(--f-sans)}
 .dbz-mobile-actions [data-mobile-back]{background:transparent;color:var(--text)}
 .dbz-mobile-actions [data-mobile-next]{flex:1;background:var(--gold);color:#111}
 .dbz-mobile-actions [data-mobile-next]:disabled{opacity:.55;cursor:wait}
 .dbz-mobile-actions [data-mobile-price]{font-size:12px;color:var(--muted);margin-right:auto;white-space:nowrap}
 .dbz-mobile-actions [hidden]{display:none!important}
 #dbz-book .dbz-mobile-review{display:block;padding:16px 20px;border-bottom:1px solid var(--line2)}
 #dbz-book .dbz-mobile-review p{margin:0 0 8px;font-size:14px;overflow-wrap:anywhere}
 #dbz-book .dbz-mobile-review button{min-height:44px;border:1px solid var(--line2);border-radius:8px;background:transparent;color:var(--gold);padding:8px 12px;cursor:pointer}
 body.dbz-has-booking .dbz-mbar{display:none!important}
}
@media(max-width:767px){
 /* Bring the search before the supporting benefits without changing stored page content. */
 .dbz-hero-main__video-wrap{display:none}
 .dbz-hero-main__inner{padding-top:24px;margin-top:0;gap:20px}
 .dbz-hero-main__content{display:contents}
 .dbz-hero-main__left{order:0;gap:14px}
 .dbz-hero-main__search{order:1;margin:0;padding:0;border:0;background:none}
 .dbz-hero-main__right{order:2}
 .dbz-hero-main__stats{order:3}
 .dbz-hero-main__h1{font-size:36px;line-height:1.05}
 .dbz-hero-main__sub{font-size:16px;line-height:1.5}
 .dbz-res__hero{margin-bottom:16px}
 .dbz-res__trust{grid-template-columns:1fr;gap:6px;margin:0}
 .dbz-res__trust-item{min-height:0;border:0;padding:0;background:none;font-size:13px;gap:8px}
 #dbz-book.dbz-book--nohead .dbz-book__wrap>.dbz-book__intro:only-child{display:block!important}
}
@media(max-width:767px){
 .dbz-res__inner>.dbz-res__trust{margin:0 0 24px;padding:16px;border:1px solid var(--line);border-radius:12px}
 .dbz-mobile-actions [data-mobile-back]{width:44px;min-width:44px;padding:8px}
 .dbz-mobile-actions [data-mobile-next]{min-width:0;font-size:14px}
 #dbz-book .dbz-mobile-review button{margin-bottom:12px}
 #dbz-book .dbz-mobile-review button:last-child{margin-bottom:0}
}
@media(max-width:767px){
 :is(.dbz-kauf-neu__models,.dbz-kauf-ref__steps,.dbz-kauf-calc__scenarios,.dbz-kauf-why__points,.dbz-kauf-how__grid,.dbz-kauf-links__prod-grid,.dbz-vk-ref__grid,.dbz-vk-compat__steps,.dbz-vk-hero__var-group){grid-template-columns:minmax(0,1fr);gap:12px}
 #dbz-book .dbz-book__media{height:140px!important;margin-inline:-12px!important}
 #dbz-book .dbz-book__media img{object-fit:contain!important}
 #dbz-book .dbz-book__mnav{width:44px!important;height:44px!important;opacity:1!important}
 .dbz-vk--hero #dbzVkPopup{padding:12px;max-height:100dvh}
 #dbzVkPopup .dbz-pop{padding:16px;border-radius:16px}
 #dbzVkPopup .dbz-pop__grid,#dbzVkPopup .dbz-pop__row2{grid-template-columns:minmax(0,1fr);gap:12px}
 #dbzVkPopup .dbz-pop__title{font-size:26px;margin-bottom:16px}
 #dbzVkPopup .dbz-pop__sum,#dbzVkPopup .dbz-pop__specs{padding:12px}
 #dbzVkPopup .dbz-pop__sr{gap:10px;flex-wrap:wrap}
 #dbzVkPopup .dbz-pop__sub{white-space:normal;padding:12px;font-size:16px}
}
.dbz-mobile-specs>summary{display:none}
@media(max-width:767px){
 #dbzVkPopup .dbz-pop{max-height:none!important;overflow:visible!important}
 #dbzVkPopup .dbz-pop__x{position:fixed;top:calc(20px + env(safe-area-inset-top));right:20px;width:44px;height:44px;background:var(--surface);z-index:3}
 .dbz-mobile-specs>summary{display:list-item;min-height:48px;padding:12px;cursor:pointer;color:var(--gold);font-size:15px;border:1px solid var(--line);border-radius:10px}
 .dbz-mobile-specs[open]>summary{margin-bottom:10px}
}
@media(max-width:767px){
 /* Keep the close control anchored to the screen, including while the dialog scrolls. */
 .dbz-vk--hero #dbzVkPopup{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(5,5,5,.96)}
}
@media(max-width:767px){
 .dbz-fk-tabs.dbz-mobile-category-ready,.dbz-blog-tabs.dbz-mobile-category-ready{display:none!important}
}
@media(max-width:767px){body:has(#dbzVkPopup.open) .dbz-mbar{visibility:hidden}}

/* Reservation: visible SVG categories and compact product photos, 1.54. */
#dbz-book .dbz-book__cats { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px!important; overflow:visible!important; }
#dbz-book button.dbz-book__cat { width:100%!important; min-width:0!important; min-height:52px!important; padding:10px!important; border-radius:10px!important; white-space:normal!important; text-align:left!important; justify-content:flex-start!important; font-size:13px!important; }
#dbz-book .dbz-book__cat svg { width:24px!important; height:24px!important; }
#dbz-book .dbz-book__prods { grid-template-columns:minmax(0,1fr)!important; }
#dbz-book .dbz-book__prod-top { display:flex!important; align-items:center!important; gap:12px!important; }
#dbz-book .dbz-book__prod-top > div:last-child { min-width:0!important; }
#dbz-book .dbz-book__product-photo { display:flex!important; flex-direction:column!important; align-items:center!important; justify-content:center!important; flex:0 0 88px!important; width:88px!important; height:76px!important; padding:5px!important; margin:0!important; background:#f5f5f2!important; border:1px solid #343434!important; border-radius:9px!important; overflow:hidden!important; color:#777!important; cursor:pointer!important; }
#dbz-book .dbz-book__product-photo img { display:block!important; width:100%!important; height:100%!important; object-fit:contain!important; }
#dbz-book .dbz-book__product-photo.is-placeholder { background:#161616!important; cursor:default!important; }
#dbz-book .dbz-book__product-photo small { font-size:10px!important; color:#aaa!important; -webkit-text-fill-color:#aaa!important; }
#dbz-book .dbz-book__product-photo:focus-visible, #dbz-book .dbz-book__cat:focus-visible { outline:2px solid var(--gold)!important; outline-offset:3px!important; }
@media(max-width:767px){#dbz-book .dbz-book__product-photo{flex-basis:64px!important;width:64px!important;height:64px!important;}#dbz-book .dbz-book__prod-top{gap:10px!important;}}
/* Opening hours stay readable as rows, including narrow tablet columns. */
.dbz-opening-hours{grid-column:1/-1!important}
.dbz-hours-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px 16px;flex-wrap:wrap}
.dbz-hours-time{white-space:nowrap;display:inline-block}
.dbz-kontakt__info-value .dbz-hours-row{font-size:14px}

#dbz-book button.dbz-book__cat{height:auto!important;line-height:1.25!important;align-self:stretch!important;}
#dbz-book .dbz-book__cat-label{min-width:0!important;overflow-wrap:anywhere!important;hyphens:auto!important;}
#dbz-book button.dbz-book__cat .dbz-book__cnt{flex-shrink:0!important;}

@media(max-width:420px){
#dbz-book button.dbz-book__cat{position:relative!important;flex-direction:column!important;justify-content:center!important;text-align:center!important;gap:4px!important;padding:8px!important;min-height:64px!important;font-size:12px!important;}
#dbz-book .dbz-book__cat-label{width:100%!important;}
#dbz-book button.dbz-book__cat .dbz-book__cnt{position:absolute!important;right:5px!important;top:5px!important;}
}

/* 1.6.3: Filter sitzt auf .dbz-hdr::before – bei offenem Handy-Menü wie bisher ohne Filter und deckend. */
@media(max-width:1179px){body.dbz-mnav-open .dbz-hdr::before{-webkit-backdrop-filter:none;backdrop-filter:none;background:var(--bg)}}
