@font-face{font-family:Inter;src:url('fonts/inter-variable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/barlow-condensed-600.woff2') format('woff2');font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/barlow-condensed-700.woff2') format('woff2');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Barlow Condensed';src:url('fonts/barlow-condensed-800.woff2') format('woff2');font-style:normal;font-weight:800;font-display:swap}
:root{color-scheme:dark;--bg:#0c0d0f;--panel:#15171a;--edge:#292c30;--text:#f7f7f8;--muted:#adafb7;--red:#ed322d;--radius:24px;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text)}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid white;outline-offset:4px}img{display:block;max-width:100%}p{line-height:1.7}h1,h2,h3{font-family:'Barlow Condensed','Arial Narrow',Impact,sans-serif;line-height:.96;margin:0;font-weight:700}h1{font-size:clamp(3.4rem,7.5vw,7.4rem);letter-spacing:-.025em;text-transform:uppercase}h2{font-size:clamp(2.4rem,5vw,4.5rem);text-transform:uppercase}h3{font-size:1.85rem}section[id]{scroll-margin-top:24px}.wrap{width:min(1400px,calc(100% - 72px));margin-inline:auto}.skip{position:absolute;top:-100px}.skip:focus{top:5px;z-index:10;background:black;padding:12px}.header{min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:22px}.logo{width:220px}.header nav{display:flex;align-items:center;gap:clamp(14px,2.25vw,34px);font-size:.88rem;font-weight:600}.header nav a{color:#d4d5d9}.header nav a:hover,.header nav a.active,.footer a:hover{color:#ff5752}.button{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:10px;min-height:48px;padding:10px 19px;background:var(--red);color:white;font-size:.85rem;font-weight:700;border:1px solid transparent}.button:hover{background:#c62824}.button.secondary{background:#17191be8;border-color:#47494f}.menu{display:none}.hero{position:relative;isolation:isolate;display:flex;min-height:clamp(520px,44vw,655px);align-items:center;overflow:hidden;border:1px solid #33353a;border-radius:var(--radius);background:#141519}.hero::before,.hero::after,.hero-image{position:absolute;inset:0;z-index:-1}.hero::before,.hero::after{content:''}.hero-image{width:100%;height:100%;object-fit:cover;object-position:center 53%;background:radial-gradient(ellipse at 78% 52%,#484a50,#17191c 55%,#08090a)}.hero::after{background:linear-gradient(90deg,#090a0cf5 0%,#0b0c0dd9 26%,#090a0c50 61%,#090a0c15),linear-gradient(0deg,#08090bd9,transparent 32%)}.hero-copy{padding:50px clamp(24px,5vw,75px) 98px;max-width:810px}.eyebrow{display:flex;align-items:center;gap:12px;text-transform:uppercase;font-size:.73rem;font-weight:700;letter-spacing:.16em;color:#eee}.eyebrow::before{content:'';width:26px;height:3px;background:var(--red);transform:skewX(-20deg)}.accent{color:#fa423b}.hero-copy p:not(.eyebrow){color:#e0e0e2;max-width:550px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.slide-controls{display:flex;align-items:center;justify-content:space-between;position:absolute;inset:auto clamp(24px,5vw,75px) 24px;gap:14px}.dots,.arrows{display:flex;align-items:center;gap:8px}.dot{border:0;border-radius:5px;background:#808186;width:17px;height:5px;padding:0;position:relative}.dot::before{position:absolute;content:'';inset:-10px -4px}.dot[aria-current=true]{width:32px;background:var(--red)}.arrow{border:1px solid #696c72;background:#141518bb;color:white;width:43px;height:43px;border-radius:11px;font-size:1.15rem}.arrow:hover{background:var(--red)}.quick{display:grid;grid-template-columns:repeat(3,1fr);margin-top:17px;border:1px solid var(--edge);border-radius:18px;background:var(--panel);padding:12px 22px}.quick a,.quick div{display:flex;gap:14px;align-items:center;padding:12px 18px}.quick>*+*{border-left:1px solid var(--edge)}.quick strong,.quick small{display:block}.quick small{margin-top:5px;color:var(--muted);line-height:1.35}.icon{color:#ff514b;flex:none;width:24px;height:24px}.block{margin-top:70px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.section-head .eyebrow{margin-bottom:12px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card,.panel{background:var(--panel);border:1px solid var(--edge);border-radius:var(--radius)}.card{min-height:154px;padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px}.card:hover{border-color:var(--red)}.card-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px}.card-row span{color:#ff514b}.panel{padding:clamp(23px,4vw,54px)}.split{display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.panel p,.rich p{color:#c8c9cf;white-space:pre-line}.rich a{color:#ff625c;text-decoration:underline}.placeholder{min-height:200px;display:grid;place-content:center;justify-items:center;gap:12px;padding:20px;border-radius:18px;border:1px dashed #42454c;color:#b6b8c0;background:repeating-linear-gradient(135deg,#15171a,#15171a 15px,#17191c 15px,#17191c 16px);text-align:center}.placeholder .icon{width:32px;height:32px}.detail{margin:20px 0 0}.detail h1{font-size:clamp(2.7rem,6vw,5rem);margin-top:15px;overflow-wrap:anywhere}.detail .rich{max-width:880px}.media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px;margin-top:22px}.media-grid img,.media-grid video,.media-grid iframe{width:100%;border-radius:16px;max-height:440px;object-fit:cover}.footer{margin-top:65px;padding:32px 0 44px;border-top:1px solid var(--edge);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:24px;color:var(--muted);font-size:.84rem}.footer .logo{width:160px}.footer div{display:flex;flex-wrap:wrap;gap:16px}.back{font-size:.85rem;color:#ddd}.search{border:1px solid #43464e;border-radius:10px;background:#141619;padding:13px 16px;color:white;width:min(100%,380px);margin:22px 0 14px}.legal h2,.legal h3{margin:1em 0 .4em}.legal ul{line-height:1.7}.admin input,.admin select,.admin textarea{width:100%;padding:10px;background:#101114;border:1px solid #41444b;border-radius:8px;color:white;margin:5px 0 13px}.admin label{display:block}.admin fieldset{border:1px solid var(--edge);border-radius:16px;margin:20px 0;padding:18px}.admin textarea{min-height:110px}.admin details{margin:12px 0}.admin summary{cursor:pointer}.notice{padding:12px;border-radius:8px;background:#25282c}
@media(max-width:1050px){.header{min-height:86px}.logo{width:185px}.header nav{gap:13px}.header nav a{font-size:.79rem}.call{font-size:.76rem;padding-inline:12px}.wrap{width:min(1400px,calc(100% - 40px))}}
@media(max-width:790px){.header{position:relative;min-height:77px}.menu{display:inline-flex;gap:10px;align-items:center;border:1px solid #393b41;background:#181a1e;border-radius:10px;padding:9px 12px;color:white}.header nav{display:none;position:absolute;z-index:2;top:calc(100% - 3px);inset-inline:0;flex-direction:column;align-items:stretch;padding:13px;background:#16181c;border:1px solid var(--edge);border-radius:15px}.header nav.open{display:flex}.header nav a{font-size:1rem;padding:9px}.header .call{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick{padding:8px}.quick a,.quick div{padding:9px;gap:9px}.quick small{font-size:.72rem}.quick strong{font-size:.82rem}}
@media(max-width:520px){.wrap{width:calc(100% - 24px)}.hero{min-height:530px;align-items:end}.hero-image{object-position:64% center}.hero::after{background:linear-gradient(0deg,#08090bf5 10%,#08090bc9 42%,#08090b28 85%),linear-gradient(90deg,#08090b55,transparent)}.hero-copy{padding:25px 19px 88px}.slide-controls{inset:auto 19px 17px}.hero-copy p:not(.eyebrow){font-size:.9rem}.quick{grid-template-columns:1fr}.quick>*+*{border-left:0;border-top:1px solid var(--edge)}.quick a,.quick div{padding:10px 12px}.split{grid-template-columns:1fr}.section-head{align-items:start;flex-direction:column}.block{margin-top:48px}.card{min-height:132px;padding:14px;border-radius:17px}.card h3{font-size:1.4rem}.footer{margin-top:45px}.logo{width:165px}}
/* Slideshow: wide editorial frame for desktop, stacked content on mobile. */
.hero.hero-slideshow{min-height:450px;height:clamp(360px,32.15vw,450px);border-radius:24px;background:#111;overflow:hidden}
.hero-slideshow .hero-image{object-position:center 54%;transition:opacity .35s ease}
.hero-slideshow #stage{position:absolute;inset:0}
.hero-slideshow .hero-copy{position:absolute;inset:0;max-width:none;padding:46px clamp(30px,5.5vw,76px) 72px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;background:linear-gradient(90deg,#08090af2 0%,#090a0bca 32%,#090a0b37 63%,transparent 100%),linear-gradient(0deg,#08090a9c,transparent 33%)}
.hero-slideshow .hero-copy h1{max-width:670px;font-size:clamp(3.25rem,6.2vw,6rem);text-shadow:0 3px 22px #0008}
.hero-slideshow .hero-copy .eyebrow{color:#f04b45}
.hero-slideshow .hero-copy p:not(.eyebrow){max-width:510px;margin:12px 0 0;color:#f1f1f2;font-size:1.05rem;text-shadow:0 2px 12px #000}
.hero-slideshow .hero-copy .actions{margin-top:19px}
.hero-slideshow .slide-controls{z-index:1}
.hero-slideshow .dots{padding:10px 14px;border:1px solid #ffffff38;border-radius:12px;background:#101114ad;backdrop-filter:blur(8px)}
@media(max-width:790px){
 .hero.hero-slideshow{height:470px;min-height:0;display:block}
 .hero-slideshow .hero-image{height:59%;object-position:67% center}
 .hero-slideshow .hero-copy{inset:auto 0 0;min-height:51%;padding:30px 22px 78px;justify-content:center;border-radius:0 0 23px 23px;background:linear-gradient(0deg,#111214 79%,#111214f0 91%,#11121400 100%)}
 .hero-slideshow .hero-copy .eyebrow{font-size:.65rem;margin-bottom:8px}
 .hero-slideshow .hero-copy h1{font-size:clamp(2.55rem,8vw,3.6rem);line-height:.91}
 .hero-slideshow .hero-copy p:not(.eyebrow){font-size:.86rem;line-height:1.45;margin-top:9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .hero-slideshow .hero-copy .actions{margin-top:14px}
 .hero-slideshow .hero-copy .button{min-height:42px;padding:8px 12px;font-size:.76rem}
 .hero-slideshow .slide-controls{inset:auto 14px 12px}
 .hero-slideshow .dots{gap:7px;padding:8px 10px}
}
@media(max-width:390px){
 .hero.hero-slideshow{height:445px}
 .hero-slideshow .hero-copy{padding-inline:17px;padding-bottom:70px}
 .hero-slideshow .hero-copy h1{font-size:2.45rem}
 .hero-slideshow .slide-controls{inset-inline:10px}
 .hero-slideshow .dot{width:11px}
 .hero-slideshow .dot[aria-current=true]{width:21px}
}
@media(prefers-reduced-motion:reduce){.hero-slideshow .hero-image{transition:none}}
/* Keep the photograph above the hero background and the copy above the photo. */
.hero-slideshow #stage{z-index:0}
.hero-slideshow .hero-image{z-index:0}
.hero-slideshow .hero-copy{z-index:1}
.hero-slideshow .slide-controls{z-index:2}
.hero-slideshow .brand-logo{position:absolute;z-index:2;top:26px;right:28px;width:clamp(118px,13vw,188px);height:78px;object-fit:contain;padding:5px 9px;border-radius:8px;background:#fff;color:#111;box-shadow:0 4px 18px #0007}
@media(max-width:520px){.hero-slideshow .brand-logo{top:10px;right:10px;width:92px;height:48px;padding:3px 5px}}

/* KW slides: keep the cars in view and use the logo without a box. */
.hero-slideshow .hero-image[src$="kw-toyota-gr86-v3.jpg"],
.hero-slideshow .hero-image[src$="kw-bmw-m2-v4-detail.jpg"]{object-position:center bottom}
.hero-slideshow .brand-logo{background:transparent;box-shadow:none;padding:0;filter:drop-shadow(0 2px 5px #000)}
@media(max-width:790px){.hero-slideshow .hero-image[src$="kw-bmw-m2-wide-ai.png"]{object-position:75% center}.hero-slideshow .hero-image[src$="kw-toyota-gr86-v3.jpg"],.hero-slideshow .hero-image[src$="kw-bmw-m2-v4-detail.jpg"]{object-position:center bottom}}

.hero-slideshow .hero-image[src$="toyota-wide-ai.png"],
.hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"]{object-position:right bottom}

/* Service cards share the same photographs on the home page and overview. */
.service-card{padding:0;gap:0;overflow:hidden;justify-content:flex-start}
.service-photo{display:block;width:100%;aspect-ratio:4/3;background-size:300% auto;background-repeat:no-repeat;background-color:#25282c}
.service-card .card-row{padding:20px 22px;gap:12px;min-height:90px}
.service-card h3{line-height:1.05}
.service-card:hover .service-photo{filter:brightness(1.08)}
@media(max-width:520px){.service-card{padding:0}.service-card .card-row{padding:14px;min-height:76px}.service-card h3{font-size:1.25rem}}

/* Mobile: show the subject before the text fades in. */
@media (max-width:790px){
 .hero.hero-slideshow{height:520px;min-height:0}
 .hero-slideshow .hero-image{height:56%;object-position:center center}
 .hero-slideshow .hero-copy{inset:48% 0 0;min-height:0;padding:30px 22px 75px;justify-content:center;background:linear-gradient(to bottom,rgba(17,18,20,0) 0%,rgba(17,18,20,.58) 8%,#111214 23%,#111214 100%)}
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"],
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"]{object-position:right bottom}
 .hero-slideshow .hero-image[src$="kw-bmw-m2-wide-ai.png"]{object-position:right center}
 .hero-slideshow .hero-image[src$="kw-einbau-workshop-ai.png"]{object-position:right center}
 .hero-slideshow .brand-logo{top:12px;right:12px;width:92px;height:48px}
}
@media (max-width:390px){
 .hero.hero-slideshow{height:500px}
 .hero-slideshow .hero-copy{padding:25px 17px 70px}
}

/* On mobile, let the photograph continue behind the slide text. */
@media (max-width:790px){
 .hero-slideshow .hero-image{height:100%;object-position:center center}
 .hero-slideshow .hero-copy{inset:0;padding:115px 22px 78px;justify-content:flex-end;background:linear-gradient(to bottom,rgba(8,9,10,.05) 0%,rgba(8,9,10,.12) 30%,rgba(8,9,10,.56) 56%,rgba(8,9,10,.84) 100%)}
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"],
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"]{object-position:78% center}
 .hero-slideshow .hero-image[src$="kw-bmw-m2-wide-ai.png"],
 .hero-slideshow .hero-image[src$="kw-einbau-workshop-ai.png"]{object-position:78% center}
 .hero-slideshow .hero-copy h1,.hero-slideshow .hero-copy p{text-shadow:0 2px 12px #000,0 1px 3px #000}
}
@media (max-width:390px){.hero-slideshow .hero-copy{padding:105px 17px 70px}}

/* Compact service cards with readable titles over the image. */
.service-card{position:relative;isolation:isolate;min-height:165px;aspect-ratio:2/1;justify-content:flex-end;background:#15171a}
.service-card .service-photo{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;z-index:-2;background-size:300% auto}
.service-card::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(8,9,10,.92),rgba(8,9,10,.12) 75%)}
.service-card .card-row{min-height:0;padding:18px 20px;align-items:end}
.service-card h3{font-size:clamp(1.25rem,2vw,1.85rem);text-shadow:0 2px 6px #000}
.service-detail-photo{display:block;width:100%;height:clamp(220px,33vw,440px);margin-top:24px;border-radius:16px;background-size:300% auto;background-repeat:no-repeat;background-color:#202226}
@media(max-width:520px){.service-card{min-height:125px;aspect-ratio:1.35/1}.service-card .card-row{min-height:0;padding:12px}.service-card h3{font-size:1.18rem}.service-detail-photo{height:220px}}

/* Subtle service photograph behind the detail page content. */
.service-detail{position:relative;isolation:isolate;overflow:hidden}
.service-detail-photo{position:absolute;z-index:-1;top:0;right:0;width:min(45%,480px);height:360px;margin:0;border-radius:0;opacity:.34;filter:grayscale(1) contrast(1.2);background-color:transparent;mask-image:linear-gradient(to right,transparent,#000 45%),linear-gradient(to bottom,#000 45%,transparent 100%);mask-composite:intersect;-webkit-mask-image:linear-gradient(to right,transparent,#000 45%),linear-gradient(to bottom,#000 45%,transparent 100%);-webkit-mask-composite:source-in}
@media(max-width:790px){.service-detail-photo{width:72%;height:260px;opacity:.26}}

/* Give the Toyota and BMW more presence in the slideshow. */
@media (min-width:791px){
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"],
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"]{object-position:right bottom;transform:scale(1.3);transform-origin:right bottom}
}
@media (max-width:790px){
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"],
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"]{object-position:90% center}
}

/* Toyota and BMW: keep the car clear below the mobile text. */
@media (max-width:790px){
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"] + .hero-copy,
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"] + .hero-copy{
  justify-content:flex-start;
  padding:24px 20px 70px;
  background:linear-gradient(165deg,rgba(8,9,10,.78) 0%,rgba(8,9,10,.48) 27%,rgba(8,9,10,.08) 55%,transparent 72%),linear-gradient(to top,rgba(8,9,10,.48),transparent 20%);
 }
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"] + .hero-copy h1,
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"] + .hero-copy h1{font-size:clamp(2rem,7vw,3rem);max-width:75%;overflow-wrap:anywhere}
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"] + .hero-copy .eyebrow,
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"] + .hero-copy .eyebrow{max-width:70%}
 .hero-slideshow .hero-image[src$="toyota-wide-ai.png"] + .hero-copy p:not(.eyebrow),
 .hero-slideshow .hero-image[src$="bmw-front-wide-ai.png"] + .hero-copy p:not(.eyebrow){max-width:80%}
}

/* Gentle zoom on service images, with a smooth return. */
.service-card .service-photo{transition:transform .7s ease,filter .7s ease}
@media (hover:hover){.service-card:hover .service-photo{transform:scale(1.06)}}
.service-card:focus-visible .service-photo{transform:scale(1.06)}
@media (prefers-reduced-motion:reduce){.service-card .service-photo{transition:none}.service-card:hover .service-photo,.service-card:focus-visible .service-photo{transform:none}}

/* Make the complete service tile respond, including its label. */
.service-card{transition:transform .55s ease,box-shadow .55s ease,border-color .3s ease;transform-origin:center}
@media (hover:hover){
 .service-card:hover{transform:scale(1.035);box-shadow:0 12px 28px #0008;z-index:1}
 .service-card:hover .service-photo{transform:scale(1.08)}
}
.service-card:focus-visible{transform:scale(1.035);box-shadow:0 12px 28px #0008;z-index:1}
@media (prefers-reduced-motion:reduce){.service-card{transition:none}.service-card:hover,.service-card:focus-visible{transform:none}}

/* Fahrzeugankauf */
.purchase-form{max-width:900px;margin-top:32px}
.purchase-form fieldset{margin:22px 0;padding:18px}
.purchase-form legend{font-weight:700;padding:0 6px}
.purchase-form .purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 18px}
.purchase-form label{font-size:.9rem;font-weight:600}
.purchase-form label[hidden]{display:none}
.purchase-form input,.purchase-form select,.purchase-form textarea{font-weight:400;min-height:46px}
.purchase-form small{display:block;color:#adafb7;font-weight:400;line-height:1.4}
.vehicle-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.vehicle-options label{position:relative;cursor:pointer}
.vehicle-options input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}
.vehicle-options span{display:block;min-height:76px;padding:12px;border:1px solid #44484f;border-radius:10px;background:#101114;line-height:1.3}
.vehicle-options input:checked+span{border-color:#ed322d;background:#301818}
.vehicle-options input:focus-visible+span{outline:2px solid white;outline-offset:2px}
.vehicle-options small{margin-top:5px;font-size:.72rem}
.purchase-form .accident-options{display:flex;flex-wrap:wrap;gap:18px}
.purchase-form .accident-options label,.purchase-form .purchase-privacy{display:flex;align-items:flex-start;gap:9px;font-weight:400}
.purchase-form .accident-options input,.purchase-form .purchase-privacy input{width:auto;min-height:0;margin:4px 0 0;flex:none}
.purchase-upload{padding:16px;border:1px dashed #585b62;border-radius:12px;margin:20px 0}
.purchase-privacy{margin:22px 0;line-height:1.5}
@media(max-width:790px){.vehicle-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:520px){.purchase-form .purchase-grid{grid-template-columns:1fr}.vehicle-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Gleichmäßige Fahrzeugauswahl und Formularfelder. */
.purchase-form{max-width:100%;margin-top:30px}
.purchase-form .vehicle-types{padding:0;border:0;margin:26px 0 28px}
.purchase-form .vehicle-types legend{padding:0;margin-bottom:14px;font-size:1rem}
.vehicle-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:stretch}
.vehicle-options label{min-width:0;height:100%}
.vehicle-options label>span{height:100%;min-height:150px;padding:14px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;border:1px solid #393d43;border-radius:13px;background:#17191c;transition:border-color .2s,background .2s}
.vehicle-options img{width:54px;height:54px;object-fit:contain;filter:brightness(0) invert(.9)}
.vehicle-options strong{font-size:1rem;line-height:1.2;color:#f7f7f8}
.vehicle-options small{font-size:.72rem;line-height:1.3;margin:3px 0 0}
.vehicle-options label:hover>span{border-color:#8a8d93}
.vehicle-options input:checked+span{border:2px solid #ed322d;padding:13px 7px;background:#251819}
.vehicle-options input:checked+span img{filter:brightness(0) saturate(100%) invert(41%) sepia(90%) saturate(3087%) hue-rotate(343deg) brightness(100%) contrast(98%)}
.purchase-form .purchase-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 16px;align-items:start}
.purchase-form .purchase-grid label{min-width:0;margin:0}
.purchase-form .purchase-grid input,.purchase-form .purchase-grid select{display:block;width:100%;height:54px;min-height:54px;margin:7px 0 0;padding:0 14px;border:1px solid #41444b;border-radius:9px;font:inherit;font-weight:400;line-height:normal}
.purchase-form .purchase-grid select{appearance:none;background:#101114 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23d7d8dd' stroke-width='1.8' d='m3 6 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center;padding-right:38px}
.purchase-form .purchase-grid select:disabled{opacity:.62}
.purchase-form .purchase-grid small{margin-top:6px}
.purchase-form .purchase-grid label[hidden]{display:none}
@media(max-width:790px){.vehicle-options{grid-template-columns:repeat(3,minmax(0,1fr))}.purchase-form .purchase-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.vehicle-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vehicle-options label>span{min-height:125px}.vehicle-options img{width:46px;height:46px}.purchase-form .purchase-grid{grid-template-columns:1fr;gap:15px}}
/* Consistent white outlined vehicle icons. */
.vehicle-options img,.vehicle-options input:checked+span img{width:60px;height:60px;filter:brightness(0) invert(1)}
@media(max-width:520px){.vehicle-options img,.vehicle-options input:checked+span img{width:52px;height:52px}}

/* Kurze Einblendungen beim Laden und Scrollen. */
@media (prefers-reduced-motion:no-preference){
 .header-entrance{animation:header-appear .48s ease-out both}
 #main .hero,#main .quick,#main .section-head,#main .service-card,#main .block > .panel,#main .detail,#footer{transition:opacity .48s ease-out,translate .48s ease-out}
 #main .service-card{transition:opacity .48s ease-out,translate .48s ease-out,transform .55s ease,box-shadow .55s ease,border-color .3s ease}
 .reveal-pending:not(:focus-within){opacity:0;translate:0 18px}
 @keyframes header-appear{from{opacity:0;translate:0 -12px}to{opacity:1;translate:0 0}}
}

/* Sprachauswahl: Englisch wird nach Fertigstellung ergänzt. */
.language-picker{position:relative;display:inline-flex;align-items:center;flex:none}
.language-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.language-picker select{appearance:none;-webkit-appearance:none;color:#f7f7f8;background:#17191b;border:1px solid #41444b;border-radius:9px;padding:8px 27px 8px 10px;font:600 .82rem Inter,Arial,sans-serif;line-height:1.4;cursor:pointer}
.language-picker::after{content:'▾';position:absolute;right:9px;pointer-events:none;color:#bfc0c6;font-size:.7rem}
.language-picker select:focus-visible{outline:2px solid white;outline-offset:3px}
.language-picker option{color:#f7f7f8;background:#17191b}
@media(max-width:790px){.header>.logo,.header>a:first-child{order:0}.header .language-picker{order:1;margin-left:auto}.header .menu{order:2}.header nav{order:3}.header .call{order:4}.header{gap:10px}.language-picker select{padding:7px 23px 7px 8px}}
@media(max-width:390px){.header .logo{width:min(42vw,150px)}.header .menu{padding:8px}.language-picker select{font-size:.78rem}}

/* Freigestellter Lackierer auf dem ersten Slide. */
.hero-slideshow .hero-figure{position:absolute;z-index:1;right:5%;bottom:0;height:96%;width:auto;max-width:48%;object-fit:contain;object-position:right bottom;pointer-events:none}
.hero-slideshow .hero-copy{z-index:2}
.hero-slideshow .slide-controls,.hero-slideshow .brand-logo{z-index:3}
@media(max-width:790px){.hero-slideshow .hero-figure{height:64%;max-width:58%;right:1%;bottom:auto;top:0;object-position:right top;mask-image:linear-gradient(to bottom,#000 75%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 75%,transparent 100%)}}

.instagram-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:none;color:#f4f4f5;border-radius:9px;transition:color .2s,background .2s}
.instagram-link svg{width:22px;height:22px}
.instagram-link:hover{color:#ff5752;background:#242629}
@media(max-width:790px){.header .instagram-link{order:1;margin-left:auto}.header .language-picker{order:2;margin-left:0}.header .menu{order:3}.header nav{order:4}}
@media(max-width:390px){.header{gap:6px}.header .logo{width:min(37vw,135px)}.instagram-link{width:30px}.instagram-link svg{width:20px}}
.autofit-partner{display:inline-flex;align-items:center;gap:9px}.autofit-partner img{width:46px;height:46px;object-fit:contain}
.privacy-notice{position:fixed;z-index:30;left:16px;bottom:16px;display:flex;align-items:center;gap:14px;max-width:min(440px,calc(100% - 32px));padding:11px 13px 11px 16px;border:1px solid #44484f;border-radius:12px;background:#181a1ef2;box-shadow:0 6px 30px #0007;font:400 .8rem/1.45 Inter,Arial,sans-serif;color:#e6e6e8}
.privacy-notice a{color:#fff;text-decoration:underline}.privacy-notice button{flex:none;border:0;background:transparent;color:#fff;font-size:1.35rem;line-height:1;padding:0 4px}
.hero-slideshow .hero-image[src$="mitarbeiter-gesucht.png"] + .hero-copy h1{font-size:clamp(2.5rem,4.4vw,4.6rem);max-width:720px}
@media(max-width:790px){.hero-slideshow .hero-image[src$="mitarbeiter-gesucht.png"]{object-position:80% center}.hero-slideshow .hero-image[src$="mitarbeiter-gesucht.png"] + .hero-copy h1{font-size:clamp(2.05rem,7vw,3.25rem);overflow-wrap:anywhere}}
@media(max-width:520px){.hero-slideshow .dots{gap:5px;padding:8px}.hero-slideshow .dot{width:9px}.hero-slideshow .dot[aria-current=true]{width:18px}.hero-slideshow .arrows{gap:5px}.hero-slideshow .arrow{width:38px;height:38px}}
@media(prefers-reduced-motion:no-preference){
 .hero-slideshow #stage{transition:opacity .2s ease}
 .hero-slideshow #stage.slide-fading{opacity:.05}
 .hero-slideshow .hero-image{animation:hero-slow-zoom 8.2s ease-out both}
 .hero-slideshow.motion-paused .hero-image{animation-play-state:paused}
 @keyframes hero-slow-zoom{from{scale:1}to{scale:1.055}}
}
/* Werkstattvideo über die gesamte Kachelbreite. */
.workshop-video .media-grid{display:block;margin:22px calc(-1 * clamp(23px,4vw,54px)) 0}
.workshop-video .media-grid video{display:block;width:100%;max-height:none;border-radius:0;object-fit:contain;background:#000}
.gallery-open{display:block;padding:0;border:0;border-radius:16px;background:#101114;overflow:hidden;cursor:zoom-in}
.media-grid .gallery-open img{width:100%;aspect-ratio:1/1;object-fit:cover;transition:transform .3s ease}
@media(hover:hover){.gallery-open:hover img{transform:scale(1.04)}}
.lightbox{max-width:none;max-height:none;width:100%;height:100%;margin:0;padding:20px;border:0;background:transparent;color:white;overflow:auto}
.lightbox::backdrop{background:rgba(0,0,0,.91)}
.lightbox-inner{position:relative;min-height:100%;display:flex;align-items:center;justify-content:center;gap:16px}
.lightbox figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0}
.lightbox figure img{display:block;width:auto;max-width:min(100%,1100px);max-height:calc(100vh - 120px);object-fit:contain;border-radius:8px}
.lightbox figcaption{color:#dedee2;text-align:center;font-size:.9rem}
.lightbox button{display:grid;place-items:center;flex:none;color:#fff;background:#202226;border:1px solid #555960;border-radius:10px;width:44px;height:44px;font-size:2rem;line-height:1}
.lightbox button:hover{background:#ed322d}
.lightbox-close{position:absolute;top:0;right:0;z-index:1}
@media(max-width:520px){.lightbox{padding:12px}.lightbox-inner{gap:6px}.lightbox button{width:36px;height:40px}.lightbox figure img{max-height:calc(100vh - 110px)}}
@media(prefers-reduced-motion:reduce){.media-grid .gallery-open img{transition:none}}
.hero-slideshow .hero-image[src$="mitarbeiter-gesucht.png"] + .hero-copy h1{font-size:clamp(2.1rem,4.2vw,4.3rem)}
.hero-slideshow .job-title{white-space:nowrap;color:#fa423b}
.hero-slideshow .job-inclusive{display:inline-block;font:600 .32em/1.2 Inter,Arial,sans-serif;letter-spacing:0;vertical-align:middle;color:#f7f7f8;white-space:nowrap}
@media(max-width:790px){.hero-slideshow .hero-image[src$="mitarbeiter-gesucht.png"] + .hero-copy h1{font-size:clamp(1.45rem,6.1vw,2.8rem)}}
/* Schnell erreichbare WhatsApp-Anfrage. */
.whatsapp-float{position:fixed;right:18px;bottom:18px;z-index:25;display:inline-flex;align-items:center;gap:9px;padding:7px 14px 7px 7px;border:1px solid #4d805d;border-radius:15px;background:#16271cf2;color:#fff;box-shadow:0 6px 24px #0006;font:500 .72rem/1.25 Inter,Arial,sans-serif;transition:transform .2s ease,background .2s ease}
.whatsapp-float img{width:42px;height:42px;object-fit:contain}.whatsapp-float strong{font-size:.78rem}.whatsapp-float:hover{background:#1e3c27;transform:translateY(-2px)}
@media(max-width:520px){.whatsapp-float{right:10px;bottom:10px;padding:6px;gap:0;border-radius:50%}.whatsapp-float img{width:42px;height:42px}.whatsapp-float span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}}
@media(prefers-reduced-motion:reduce){.whatsapp-float{transition:none}.whatsapp-float:hover{transform:none}}

/* Dezente Carbon-Struktur nur hinter den Inhaltsflächen. */
body{background-color:#0c0d0f;background-image:linear-gradient(#090a0bc0,#090a0bc0),url('carbon-hintergrund.png');background-position:center;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
.home-service-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.home-service-search input{width:clamp(180px,18vw,270px);height:48px;padding:0 15px;border:1px solid #555961;border-radius:10px;background:#15171a;color:#f7f7f8;font:inherit;font-size:.9rem}
.home-service-search input::placeholder{color:#b4b6bd}
.home-search-status{margin:0 0 12px;color:#bfc0c6;font-size:.85rem}
.home-search-status:empty{display:none}
@media(max-width:790px){.home-service-tools{justify-content:flex-start;width:100%}.home-service-search{flex:1;min-width:150px}.home-service-search input{width:100%}}
@media(max-width:390px){.home-service-tools{align-items:stretch}.home-service-search{flex-basis:100%}.home-service-tools .button{width:100%}}
.whatsapp-float{bottom:118px}
@media(max-width:520px){.whatsapp-float{bottom:110px}}
/* Originalbilder dezent hinter den drei Leistungstexten. */
.feature-panel{position:relative;isolation:isolate;overflow:hidden}
.feature-panel::before{content:'';position:absolute;inset:0;z-index:-1;background-size:cover;background-position:center;filter:grayscale(1) contrast(1.08);opacity:.22;mask-image:linear-gradient(115deg,transparent 0%,#000 75%);-webkit-mask-image:linear-gradient(115deg,transparent 0%,#000 75%);pointer-events:none}
.feature-autoglas-reparatur::before{background-image:url('leistungen-original/autoglas.jpg')}
.feature-klimaservice::before{background-image:url('leistungen-original/klimaservice.jpg')}
.feature-tuning::before{background-image:url('leistungen-original/tuning_A.jpg')}

/* Anliegen-Assistent auf der Startseite. */
.assistant-panel{padding:clamp(24px,4vw,50px)}
.assistant-panel .eyebrow{margin:0 0 14px}
.assistant-panel h2{font-size:clamp(2.3rem,4.5vw,4rem)}
.assistant-intro{max-width:700px;margin:14px 0 25px;color:#c8c9cf}
.assistant-choices{margin:0;padding:0;border:0;min-width:0}
.assistant-choices legend{padding:0;margin-bottom:12px;font-weight:700}
.assistant-choice-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.assistant-choice-grid label{position:relative;min-width:0;cursor:pointer}
.assistant-choice-grid input{position:absolute;width:1px;height:1px;opacity:0}
.assistant-choice-grid label>span{display:flex;flex-direction:column;align-items:flex-start;gap:7px;height:100%;min-height:145px;padding:16px;border:1px solid #3a3d43;border-radius:13px;background:#101215;transition:border-color .2s,background .2s}
.assistant-choice-grid b{color:#ff514b;font-size:1.55rem;line-height:1}
.assistant-choice-grid strong{font-size:.95rem;line-height:1.2}
.assistant-choice-grid small{color:#b8bac1;line-height:1.4}
.assistant-choice-grid label:hover>span{border-color:#a4a6ac}
.assistant-choice-grid input:checked+span{border-color:#ed322d;background:#291a1b}
.assistant-choice-grid input:focus-visible+span{outline:2px solid white;outline-offset:3px}
.assistant-step[hidden]{display:none}
.assistant-step{margin-top:24px;padding-top:24px;border-top:1px solid #36383e}
.assistant-step h3{margin-bottom:18px;font-size:1.65rem}
.assistant-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.assistant-fields label{display:block;font-size:.9rem;font-weight:600;min-width:0}
.assistant-fields small{font-weight:400;color:#b8bac1}
.assistant-fields input,.assistant-fields select,.assistant-fields textarea{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #4a4d55;border-radius:9px;background:#0f1113;color:#fff;font:400 1rem/1.35 Inter,Arial,sans-serif}
.assistant-fields input,.assistant-fields select{height:48px}
.assistant-fields textarea{resize:vertical;min-height:95px}
.assistant-details-label{grid-column:1/-1}
.assistant-note{margin:14px 0;color:#b9bbc3;font-size:.8rem;line-height:1.5}
.assistant-whatsapp{background:#205a34;border-color:#367f4d}
.assistant-whatsapp:hover{background:#287344}
.assistant-whatsapp img{width:25px;height:25px;object-fit:contain}
@media(max-width:1050px){.assistant-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.assistant-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.assistant-choice-grid label>span{min-height:128px;padding:13px}.assistant-fields{grid-template-columns:1fr}.assistant-details-label{grid-column:auto}.assistant-whatsapp{width:100%}}

/* Standort – zurückhaltende Karte in Graustufen. */
.location-panel{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:clamp(24px,4vw,55px);align-items:center}
.location-copy .eyebrow{margin:0 0 14px}.location-copy h2{font-size:clamp(2.3rem,4vw,3.8rem)}
.location-copy p:not(.eyebrow){color:#c8c9cf;margin:18px 0 24px}
.location-map{position:relative;min-width:0;height:340px;overflow:hidden;border:1px solid #42454b;border-radius:16px;background:#242629}
.map-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;padding:24px;background:radial-gradient(ellipse at center,#42464b,#202225 72%);color:#f7f7f8}
.map-placeholder[hidden],.map-frame[hidden]{display:none}
.map-placeholder span:not(.map-pin),.map-placeholder small{color:#c6c8cc;font-size:.8rem;line-height:1.4}
.map-placeholder small{max-width:275px}.map-placeholder .button{margin:7px 0 0}
.map-pin{font-size:2.5rem;line-height:1;color:#ff5752}
.map-frame{height:100%;width:100%}.map-frame iframe{display:block;width:100%;height:100%;border:0;filter:grayscale(1);background:#d0d0d0}
.map-attribution{position:absolute;right:5px;bottom:4px;z-index:1;padding:3px 5px;background:#18191bcf;border-radius:4px;color:#f2f2f2;font:400 .62rem/1.2 Inter,Arial,sans-serif}
.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,54px);align-items:start;margin-top:20px}
.contact-layout .location-map{position:sticky;top:24px;height:420px}
@media(max-width:790px){.location-panel,.contact-layout{grid-template-columns:1fr}.contact-layout .location-map{position:relative;top:auto;height:320px}.location-map{height:300px}}
.external-service-note{font-size:.78rem;color:#b9bbc3;line-height:1.5}
.assistant-note a,.external-service-note a{color:#e6e6e8;text-decoration:underline}
/* Carbon etwas aufhellen, damit die Struktur sichtbar bleibt. */
body{background-color:#101113;background-image:linear-gradient(#35383b55,#35383b55),url('carbon-hintergrund.png');background-size:auto,900px auto;background-position:center;background-repeat:repeat;background-attachment:fixed}
/* Bewertungsstand unter der Slideshow. */
.google-rating{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px 11px;margin:14px 0 0;padding:9px 16px;color:#e7e7ea;font:500 .87rem/1.3 Inter,Arial,sans-serif}
.rating-number{font-size:1.1rem;color:#fff}.rating-stars{position:relative;display:inline-block;font-size:1.15rem;letter-spacing:.08em;white-space:nowrap;line-height:1;color:#55585d}
.rating-stars-filled{position:absolute;left:0;top:0;width:94%;overflow:hidden;color:#f5b323;white-space:nowrap}
.rating-label{color:#f1f1f2;font-weight:600}.rating-date{color:#a7a9b1;font-size:.74rem}
.google-rating+.quick{margin-top:7px}
@media(max-width:520px){.google-rating{gap:5px 8px;padding:8px 4px;font-size:.78rem}.rating-number{font-size:1rem}.rating-stars{font-size:1rem}.rating-date{font-size:.7rem}}

/* Nahtloses Carbon-Gewebe ohne Bildkanten. */
body{
 background-color:#17191b;
 background-image:repeating-linear-gradient(135deg,rgba(255,255,255,.055) 0 2px,rgba(0,0,0,.20) 2px 5px,transparent 5px 9px),repeating-linear-gradient(45deg,rgba(255,255,255,.035) 0 3px,rgba(0,0,0,.22) 3px 6px,transparent 6px 9px);
 background-size:auto;background-position:0 0;background-repeat:repeat;background-attachment:scroll;
}

/* Mitlaufende, dezent transparente Navigation. */
.header{position:sticky;top:8px;z-index:40;padding:0 18px;background:rgba(8,9,11,.83);border:1px solid rgba(255,255,255,.08);border-radius:15px;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}
@media(max-width:790px){.header{position:sticky;top:6px;padding:0 10px;border-radius:12px}}

/* Carbon-Fototextur als durchgehender Hintergrund ohne Kachelkanten. */
body{background-color:#111315;background-image:linear-gradient(#30323544,#30323544),url('carbon-hintergrund.png');background-size:cover,cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed}

/* Navigation bündig an der oberen Bildschirmkante. */
.header.wrap{top:0;width:100%;max-width:none;margin-inline:0;padding-inline:max(36px,calc((100% - 1400px) / 2));border:0;border-bottom:1px solid rgba(255,255,255,.08);border-radius:0}
@media(max-width:790px){.header.wrap{top:0;padding-inline:12px;border-radius:0}}
/* Feineres Carbon-Gewebe ohne wiederholte Kachelkanten. */
body{background-image:linear-gradient(#30323544,#30323544),url('carbon-fein.png')}
/* Schlichter Seitenhintergrund. */
body{background:#0c0d0f}

/* Slideshow-Bearbeitung: ausschließlich lokale Vorschau. */
.slide-edit-trigger{position:absolute;z-index:5;top:16px;left:16px;padding:9px 13px;border:1px solid #6b6f77;border-radius:10px;background:#101114e8;color:#fff;font:600 .8rem Inter,Arial,sans-serif;box-shadow:0 3px 16px #0007}
.slide-edit-trigger:hover{background:#c62824;border-color:#ed322d}
.slide-editor-dialog{width:min(920px,calc(100% - 30px));max-width:none;max-height:min(90vh,950px);padding:0;border:1px solid #44484f;border-radius:18px;background:#15171a;color:#f7f7f8;box-shadow:0 20px 80px #000b}
.slide-editor-dialog::backdrop{background:#000c;backdrop-filter:blur(3px)}
.slide-editor-header{position:sticky;z-index:2;top:0;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px;background:#15171af7;border-bottom:1px solid #32353b}
.slide-editor-header h2{font-size:clamp(1.8rem,3vw,2.6rem)}
.slide-editor-header p,.slide-editor-intro p{margin:8px 0 0;color:#bfc1c7;font-size:.88rem;line-height:1.5}
.slide-editor-close{flex:none;width:40px;height:40px;border:1px solid #555;border-radius:9px;background:#202226;color:#fff;font-size:1.5rem}
.slide-editor-intro,.slide-editor-body{padding:24px}
.slide-editor-intro .button{margin-top:20px}
.slide-editor-note{padding:12px 14px;border-left:3px solid #e9aa3b;background:#26221b;border-radius:4px}
.slide-edit-zone{margin-bottom:24px;padding:16px;border:1px solid #34373d;border-radius:14px;background:#101215}
.slide-edit-zone h3{font-size:1.45rem;margin:0 0 12px}
.slide-edit-list{display:grid;gap:9px;min-height:35px}
.slide-editor-empty{margin:5px 0;color:#9da0a7;font-size:.85rem}
.slide-edit-card{padding:12px;background:#1b1d21;border:1px solid #3a3d44;border-radius:11px}
.slide-edit-card.offline{opacity:.68}
.slide-edit-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.slide-drag-handle{font-size:1.4rem;color:#a5a7ae;cursor:grab}
.slide-edit-thumb{width:90px;height:52px;object-fit:cover;border-radius:7px;background:#0e0f11}
.slide-edit-info{min-width:100px;flex:1;display:flex;flex-direction:column;gap:5px;font-size:.9rem}
.slide-edit-info small{color:#adb0b8}
.slide-edit-controls,.slide-editor-actions,.slide-edit-toggles{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.slide-mini-button{padding:7px 10px;border:1px solid #51545c;border-radius:7px;background:#24272c;color:#fff;font:600 .76rem Inter,Arial,sans-serif}
.slide-mini-button:hover{border-color:#ed322d}
.slide-edit-details{margin-top:10px}.slide-edit-details summary,.slide-ai-note summary{cursor:pointer;color:#e0e1e5;font-size:.85rem}
.slide-edit-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.slide-edit-field,.slide-photo-upload{display:flex;flex-direction:column;gap:6px;font-size:.8rem;color:#d2d4d9}
.slide-edit-field input,.slide-edit-field textarea,.slide-photo-upload input{width:100%;padding:10px;border:1px solid #4c5058;border-radius:8px;background:#101114;color:#fff;font:400 .9rem Inter,Arial,sans-serif}
.slide-edit-toggles,.slide-photo-upload{grid-column:1/-1}.slide-edit-toggles{gap:20px;font-size:.85rem}
.slide-editor-actions{margin-top:18px}.slide-editor-status{color:#ffb2ac;font-size:.85rem}.slide-ai-note{padding:14px;border:1px solid #363940;border-radius:10px;color:#bec0c7;font-size:.85rem;line-height:1.5}
@media(max-width:600px){.slide-editor-header,.slide-editor-body,.slide-editor-intro{padding:16px}.slide-edit-fields{grid-template-columns:1fr}.slide-edit-thumb{width:70px;height:45px}.slide-edit-controls{width:100%}.slide-edit-trigger{top:10px;left:10px;font-size:.72rem}}
.admin-settings{border:0;background:transparent;color:#c2c4ca;font-size:1.15rem;line-height:1;cursor:pointer}.admin-settings:hover{color:#ff5752}
.settings-section{padding:18px;margin-bottom:14px;border:1px solid #383b42;border-radius:12px;background:#101215}.settings-section h3{font-size:1.55rem}.settings-section p{font-size:.86rem;color:#c4c6cc;line-height:1.55}.settings-disabled{width:100%;padding:11px;border:1px solid #44474e;border-radius:8px;background:#202226;color:#aaa}.settings-section .button{margin-top:4px}
.history-list{display:grid;gap:9px;margin:18px 0}.history-row{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:13px;background:#202226;border:1px solid #383b42;border-radius:9px}.history-row div{display:flex;flex-direction:column;gap:5px}.history-row strong{font-size:.86rem}.history-row small{color:#aeb1b9;font-size:.76rem}
.slide-ai-note .slide-edit-field,.slide-ai-note .slide-photo-upload{margin:14px 0}
.slide-ai-result{display:grid;gap:12px;margin-top:14px;justify-items:start}
.slide-ai-result img{width:min(100%,540px);border-radius:10px;border:1px solid #41444b}

/* Vorschau und Bildausschnitt für KI-Slides. */
.slide-ai-note select{width:100%;padding:10px;border:1px solid #4c5058;border-radius:8px;background:#101114;color:#fff;font:400 .9rem Inter,Arial,sans-serif}
.slide-ai-hint{color:#c5c7cd;font-size:.8rem;line-height:1.5}
.slide-ai-result{display:block}
.slide-ai-result h3{margin:18px 0 8px;font-size:1.45rem}
.ai-preview-grid{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:14px;align-items:start;margin:14px 0}
.ai-preview-box{min-width:0;color:#d4d6db;font-size:.8rem}
.ai-preview-box>strong{display:block;margin-bottom:7px}
.ai-preview-stage{position:relative;overflow:hidden;background:#111;border:1px solid #4a4d53;border-radius:10px}
.ai-preview-desktop{aspect-ratio:3/1}.ai-preview-mobile{aspect-ratio:3/4}
.slide-ai-result .ai-preview-stage img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;border:0;border-radius:0}
.ai-preview-copy{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:8%;background:linear-gradient(90deg,#08090ae8,transparent 78%);color:white;overflow:hidden}
.ai-preview-copy[hidden]{display:none}
.ai-preview-copy small{color:#ff514b;font-size:clamp(.4rem,.8vw,.65rem);text-transform:uppercase;letter-spacing:.07em}
.ai-preview-copy strong{font:700 clamp(.85rem,2.1vw,1.7rem)/1 'Barlow Condensed',sans-serif;text-transform:uppercase}
.ai-preview-copy strong span{color:#fa423b}
.ai-preview-copy p{margin:0;color:#fff;font-size:clamp(.5rem,.8vw,.7rem);line-height:1.3}
.ai-preview-mobile .ai-preview-copy{justify-content:flex-end;padding:10px 8px 22px;background:linear-gradient(0deg,#08090ae8,transparent 80%)}
.ai-preview-mobile .ai-preview-copy strong{font-size:1.1rem}.ai-preview-mobile .ai-preview-copy small{font-size:.5rem}.ai-preview-mobile .ai-preview-copy p{font-size:.55rem}
.slide-ai-result>.slide-edit-field{margin:16px 0}.slide-ai-result>.slide-edit-fields{margin:16px 0}
.hero-slideshow .hero-image[data-ai-embedded="true"]{animation:none}
@media(max-width:790px){.hero-slideshow .hero-image[data-ai-slide="true"]{object-position:var(--mobile-photo-x,50%) center}}
@media(max-width:600px){.ai-preview-grid{grid-template-columns:minmax(0,1fr) 100px;gap:8px}.ai-preview-mobile .ai-preview-copy strong{font-size:.85rem}.ai-preview-mobile .ai-preview-copy p{font-size:.48rem}}
.hero-slideshow .hero-image[data-ai-slide="true"] + .hero-copy h1{font-size:clamp(2.6rem,5vw,4.8rem);line-height:1;max-width:65%;overflow-wrap:anywhere}
@media(max-width:790px){.hero-slideshow .hero-image[data-ai-slide="true"] + .hero-copy h1{font-size:clamp(2rem,7vw,3rem);max-width:95%}}
/* Mobile Textposition für KI-Slides. */
.ai-preview-mobile .ai-preview-copy.ai-copy-top{justify-content:flex-start;padding:10px 8px 22px;background:linear-gradient(180deg,#08090ae8,transparent 80%)}
.slide-edit-field select{width:100%;padding:10px;border:1px solid #4c5058;border-radius:8px;background:#101114;color:#fff;font:400 .9rem Inter,Arial,sans-serif}
@media(max-width:790px){.hero-slideshow .hero-copy.hero-copy-mobile-top{justify-content:flex-start;padding:25px 22px 78px;background:linear-gradient(160deg,rgba(8,9,10,.84) 0%,rgba(8,9,10,.48) 30%,rgba(8,9,10,.06) 68%),linear-gradient(to top,rgba(8,9,10,.45),transparent 20%)}}

/* Textbearbeitung in der lokalen Admin-Vorschau. */
.service-card-shell{position:relative;min-width:0;display:flex}
.service-card-shell>.service-card{flex:1;width:100%}
.content-edit-surface{position:relative}
.content-edit-trigger{position:absolute;z-index:5;top:12px;right:12px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #767980;border-radius:9px;background:#121416ed;color:#fff;font-size:1.15rem;line-height:1;box-shadow:0 3px 12px #0008}
.content-edit-trigger:hover{background:#c62824;border-color:#ed322d}
.content-edit-fields{display:grid;gap:14px}.content-edit-fields h3{margin:8px 0 0;font-size:1.4rem}.content-edit-fields textarea{resize:vertical;min-height:140px;line-height:1.5}
@media(max-width:520px){.content-edit-trigger{top:8px;right:8px;width:34px;height:34px}}

/* Eigene Zeilen und Kacheln in der lokalen Bearbeitung. */
.content-add-slot{display:none}
.content-add-slot.visible{display:flex;align-items:center;gap:12px;margin:22px 0 0}
.content-add-slot.visible::before,.content-add-slot.visible::after{content:'';height:1px;flex:1;background:#4b4e55}
.content-add-button{width:38px;height:38px;flex:none;display:grid;place-items:center;border:1px solid #777b82;border-radius:50%;background:#17191c;color:#fff;font-size:1.6rem;line-height:1}
.content-add-button:hover{background:#c62824;border-color:#ed322d}
.custom-row{display:grid;gap:15px}
.custom-row.columns-1{grid-template-columns:1fr}.custom-row.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.custom-row.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.custom-tile{position:relative;isolation:isolate;overflow:hidden;min-height:220px;display:flex;flex-direction:column;justify-content:flex-end;gap:12px}
.custom-tile h3,.custom-tile p{margin:0;position:relative}.custom-tile p{color:#d5d6db;white-space:pre-line}
.custom-tile-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.custom-tile.has-photo:not(.image-only)::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(8,9,10,.94),rgba(8,9,10,.18));pointer-events:none}
.custom-tile.image-only{min-height:260px;padding:0}.custom-tile.image-only .custom-tile-photo{z-index:-1}
.content-remove-trigger{position:absolute;z-index:5;top:12px;right:54px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #767980;border-radius:9px;background:#121416ed;color:#fff;font-size:1.35rem;line-height:1;box-shadow:0 3px 12px #0008}
.content-remove-trigger:hover{background:#a52222;border-color:#ed322d}
.layout-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.layout-choice{display:flex;flex-direction:column;align-items:center;gap:12px;padding:18px 12px;background:#202226;border:1px solid #4a4d54;border-radius:12px;color:#fff;font:600 .9rem Inter,Arial,sans-serif}
.layout-choice.selected{border-color:#ed322d;box-shadow:inset 0 0 0 1px #ed322d;background:#2c1c1c}
.layout-illustration{display:flex;gap:5px;width:100%;height:62px}
.layout-illustration span{flex:1;border:1px solid #a5a7ac;border-radius:5px;background:#363a40}
.archive-list{display:grid;gap:10px;margin-bottom:16px}.archive-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;border:1px solid #3a3d43;border-radius:10px;background:#202226}
.archive-row img{width:70px;height:48px;border-radius:6px;object-fit:cover}.archive-row div{flex:1;min-width:140px;display:flex;flex-direction:column;gap:5px}.archive-row small{color:#aeb1b9}
.danger{border-color:#a74c4c;color:#ffc6c3}
.custom-editor-fields,.custom-ai-fields{display:grid;gap:12px;margin:16px 0}.slide-edit-field[hidden],.custom-ai-fields[hidden],.custom-editor-image[hidden]{display:none}
.custom-editor-image{display:block;width:min(100%,420px);max-height:320px;object-fit:contain;margin:12px 0;border:1px solid #444;border-radius:10px;background:#101114}
@media(max-width:790px){.custom-row.columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.custom-row.columns-2,.custom-row.columns-3{grid-template-columns:1fr}.layout-choice-grid{gap:6px}.layout-choice{padding:12px 6px;font-size:.75rem}.layout-illustration{height:42px}.content-remove-trigger{top:8px;right:48px;width:34px;height:34px}}
.custom-row.columns-1 .custom-tile.image-only{aspect-ratio:3/1;min-height:0}
.custom-row.columns-2 .custom-tile.image-only{aspect-ratio:3/2;min-height:0}
.custom-row.columns-3 .custom-tile.image-only{aspect-ratio:1/1;min-height:0}
/* Archivbilder mit eingebrannter Schrift bleiben beim Formatwechsel vollständig sichtbar. */
.custom-tile.image-only .custom-tile-photo.contain-photo{object-fit:contain;background:#0e1012}

@media(max-width:790px){.hero-slideshow .hero-image[data-mobile-adjust="true"]{object-position:var(--mobile-photo-x,50%) center;transform:translateY(var(--mobile-photo-shift,0%)) scale(var(--mobile-photo-zoom,1.1));transform-origin:center}}
.slide-existing-preview{width:150px;max-width:100%;margin:12px 0}.slide-existing-preview>img:not(.ai-preview-brand){position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide-ai-result .ai-preview-stage .ai-preview-brand,.slide-existing-preview .ai-preview-brand{position:absolute;inset:8px 8px auto auto;width:22%;height:auto;max-height:25%;object-fit:contain;z-index:3;border:0;filter:drop-shadow(0 1px 3px #000)}
.ai-preview-stage .ai-preview-brand[hidden]{display:none}

@media(max-width:790px){.feature-panel{grid-column:1 / -1}}

/* Galerieverwaltung für angemeldete Nutzer */
.gallery-manage{margin:0 0 1.2rem}.gallery-editor-list{display:grid;gap:.8rem;margin:1rem 0}.gallery-editor-item{display:flex;gap:.9rem;align-items:center;padding:.8rem;border:1px solid #383a40;border-radius:12px;background:#17181b}.gallery-editor-item img{width:110px;height:78px;object-fit:cover;border-radius:7px}.gallery-editor-handle{font-size:1.6rem;cursor:grab;color:#a5a6aa}.gallery-editor-fields{flex:1;min-width:0}.gallery-editor-fields label{display:grid;gap:.3rem;font-size:.85rem}.gallery-editor-fields input{width:100%;background:#0f1012;color:#fff;border:1px solid #4b4e56;border-radius:6px;padding:.55rem}.gallery-editor-controls{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.5rem}.gallery-editor .gallery-add{margin:.5rem 0}.gallery-editor button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:600px){.gallery-editor-item{align-items:flex-start;gap:.5rem}.gallery-editor-item img{width:72px;height:64px}.gallery-editor-controls .slide-mini-button{padding:.4rem .55rem}}
.vehicle-list{display:grid;gap:1.25rem;margin-top:1.5rem}.vehicle-card{border:1px solid #33363c;background:#17181b;border-radius:18px;padding:1.25rem}.vehicle-card .media-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:1rem}.vehicle-card img{width:100%;height:180px;object-fit:cover;border-radius:10px}.vehicle-card h2{margin:.6rem 0}.vehicle-card strong{font-size:1.25rem;color:#ff4141}.vehicle-add{margin:.5rem 0 1rem}.vehicle-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.vehicle-form .slide-edit-field{margin:0}.vehicle-form textarea{min-height:100px}.vehicle-photo-list{margin:.5rem 0 1rem;color:#bbb}.settings-section input[type=file]{display:block;margin:.75rem 0}.settings-section input[type=file]:not(:disabled){color:#eee}@media(max-width:650px){.vehicle-form{grid-template-columns:1fr}.vehicle-card img{height:130px}}

/* Untermenü für alle Werkstattleistungen */
.service-nav{position:relative;display:flex;align-items:center;gap:3px}
.service-nav-toggle{border:0;background:transparent;color:#d4d5d9;padding:8px 5px;line-height:1;font-size:1.2rem}
.service-nav-toggle:hover,.service-nav-toggle[aria-expanded="true"]{color:#ff5752}
.service-submenu{position:absolute;top:100%;left:-18px;width:min(620px,80vw);max-height:min(65vh,580px);overflow-y:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:12px;background:#17191df7;border:1px solid #393c42;border-radius:12px;box-shadow:0 18px 36px #0009}
.service-submenu[hidden]{display:none}
.header nav .service-submenu a{padding:10px 12px;border-radius:7px;font-size:.84rem;line-height:1.3}
.header nav .service-submenu a:hover,.header nav .service-submenu a:focus-visible{background:#292b30;color:#ff5752}
@media(max-width:790px){.header nav.open{max-height:calc(100dvh - 85px);overflow-y:auto}.service-nav{flex-wrap:wrap;justify-content:space-between}.service-nav>a{flex:1}.service-nav-toggle{min-width:44px;min-height:44px}.service-submenu{position:static;flex-basis:100%;width:100%;max-height:45vh;grid-template-columns:1fr;box-shadow:none;background:#101114;border-radius:9px}.header nav .service-submenu a{font-size:.92rem;padding:10px 12px}}

.vehicle-visibility{margin:18px 0;padding:16px 18px;border:1px solid #41444b;border-radius:12px;background:#1b1d20}.vehicle-visibility p{margin:0 0 10px}.vehicle-add{margin:0 0 20px}

.admin-logout{font-size:.84rem}
