/* Gemeinsames, responsives Seitenraster – Stendel & Peitzmeier. */
:root{--site-red:#e31b23;--site-bg:#111313;--site-fg:#f4f5f2;--site-muted:#bec7c0;--site-max:1320px;--site-header-measured:80px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:104px;overflow-x:clip}
body{min-width:0;margin:0!important;padding:0!important;overflow-x:clip;background:var(--site-bg);color:var(--site-fg)}
body>main{min-height:65svh}
main, main>section, article, .feature-page, .legal-copy{min-width:0}
#hauptinhalt,section[id],main[id]{scroll-margin-top:104px}
:where(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #ffc18c!important;outline-offset:3px}
.site-skip{position:fixed;top:-120px;left:10px;z-index:11000;background:#fff;color:#111;padding:12px 16px;font-weight:700}
.site-skip:focus{top:10px}
body .site-header{position:sticky!important;top:0;left:0;width:100%;height:auto!important;min-height:76px!important;padding:0!important;background:rgba(14,19,17,.98)!important;border:0!important;border-bottom:1px solid #405047!important;z-index:9000!important;box-shadow:0 8px 26px #0008;backdrop-filter:none;-webkit-backdrop-filter:none}
.site-header .site-header__inner{width:min(var(--site-max),calc(100% - 34px));margin-inline:auto;min-height:76px;display:flex!important;align-items:center;gap:clamp(9px,1.3vw,20px);justify-content:space-between;flex-wrap:nowrap;padding:8px 0}
.site-header .site-brand{display:flex;align-items:center;gap:9px;flex:0 1 auto;min-width:0;text-decoration:none}
.site-header .site-brand__logo{width:61px;height:56px;flex:none;object-fit:contain}
.site-header .site-brand__name{display:block;color:#fff;font:bold clamp(12px,1.25vw,17px)/1.14 Arial,sans-serif;white-space:nowrap;letter-spacing:.015em}
.site-header .site-brand__name b{color:#ff565f}
.site-header .site-brand__name small{display:block;margin-top:5px;color:#b9c9be;font:700 9px/1.2 Arial,sans-serif;letter-spacing:.14em}
.site-header .site-nav{position:static;min-width:0;display:flex;align-items:center;justify-content:center;gap:clamp(9px,1.1vw,18px);flex:1;margin:0;padding:0;background:none;border:0;box-shadow:none}
.site-header .site-nav a{display:block;font:700 clamp(11px,.8vw,13px)/1.4 Arial,sans-serif;white-space:nowrap;text-decoration:none;color:#e0e8e0;padding:10px 0}
.site-header .site-nav a:hover,.site-header .site-nav a[aria-current="page"]{color:#ff989c}
.site-header .site-nav .site-nav__emergency{color:#ff969b}
.site-header .site-actions{display:flex;align-items:center;gap:8px;flex:none;margin-left:auto}
.site-header .site-appointment,.site-header .site-location{display:inline-flex!important;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:11px 13px;border-radius:7px;text-decoration:none;text-align:center;color:#fff;font:800 12px/1.15 Arial,sans-serif;letter-spacing:.01em;white-space:nowrap}
.site-header .site-appointment{background:#29342c;border:1px solid #6b756b}
.site-header .site-appointment:hover{background:#38443a}
.site-header .site-location{background:#e31b23!important;border:1px solid #ff535b!important;box-shadow:0 0 0 2px #e31b232d;cursor:pointer}
.site-header .site-location:hover{background:#b70d17!important}
.site-header .site-location svg{width:18px;height:18px;flex:none}
.site-header .site-menu-toggle{display:none!important}
body .site-footer{position:relative!important;inset:auto!important;display:block!important;height:auto!important;min-height:0!important;width:100%;z-index:1!important;margin:0!important;padding:22px 18px max(24px,env(safe-area-inset-bottom,0px))!important;background:#121815!important;border-top:2px solid var(--site-red);box-shadow:none!important;transform:none!important;opacity:1!important;visibility:visible!important}
.site-footer .site-footer__inner{width:min(var(--site-max),100%);margin:0 auto}
.site-footer .site-footer__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:0 0 18px;border-bottom:1px solid #39463d}
.site-footer .site-footer__brand{font:800 13px/1.5 Arial,sans-serif;color:#fff;letter-spacing:.02em}
.site-footer .site-footer__brand b{color:#ff686f}
.site-footer .site-footer__brand span{font-weight:400;color:#becbc1}
.site-footer .site-footer__contact{display:flex;flex-wrap:wrap;align-items:center;gap:12px 26px}
.site-footer a,.site-footer button{font:600 12px/1.5 Arial,sans-serif;color:#e8efe8;text-decoration:none}
.site-footer .site-footer__contact a{display:inline-flex;align-items:center;gap:7px;overflow-wrap:anywhere}
.site-footer svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.site-footer a:hover,.site-footer button:hover{color:#ff9b9e;text-decoration:underline}
.site-footer .site-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 24px;min-height:48px;margin:0;padding:16px 0 0;border:0}
.site-footer .site-footer__bottom a,.site-footer .site-footer__bottom button{margin:0;padding:5px 0;background:transparent;border:0;cursor:pointer;white-space:normal;text-transform:none}
.site-footer a[aria-current="page"]{color:#ff9095;text-decoration:underline}
.site-footer .site-footer__copyright{color:#a8b8aa;font:11px Arial,sans-serif}
/* Auf großen und kleinen Bildschirmen ein gemeinsamer mittiger Inhaltsbereich. */
main#hauptinhalt>section:not(.hero):not(.stage){max-width:var(--site-max);margin-inline:auto}
main#hauptinhalt>.hero{max-width:var(--site-max);margin-inline:auto}
main.feature-page{width:min(1160px,calc(100% - 40px))!important;margin-inline:auto!important;padding:clamp(30px,5vw,64px) 0 78px!important}
main.legal-layout{width:min(1120px,calc(100% - 40px))!important;max-width:none!important;margin-inline:auto!important;padding:clamp(30px,5vw,60px) 0 76px!important}
main.error-page{width:min(1000px,calc(100% - 40px))!important;margin-inline:auto!important;padding:clamp(35px,6vw,60px) 0 75px!important}
main#hauptinhalt>#kontakt{width:min(var(--site-max),100%);margin-inline:auto}
main#hauptinhalt>.services,main#hauptinhalt>.booking-section,main#hauptinhalt>.roadside-section,main#hauptinhalt>.home-extra{width:100%;box-sizing:border-box}
/* Auch Mediennachweise: kein randständiges Sonderlayout. */
main#hauptinhalt:has(>.grid):not(.feature-page):not(.legal-layout){max-width:1120px;width:calc(100% - 40px);margin-inline:auto}
@media(max-width:1370px){
 .site-header .site-nav{gap:12px}
 .site-header .site-header__inner{width:calc(100% - 28px)}
}
@media(max-width:1190px){
 .site-header .site-menu-toggle{display:grid!important;order:3;place-items:center;width:44px;height:44px;flex:none;border:1px solid #768477;border-radius:7px;background:#242d27;color:#fff;cursor:pointer}
 .site-header .site-nav{display:none;position:absolute!important;top:100%;left:0;right:0;width:100%;max-height:calc(100svh - 76px);overflow:auto;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:12px max(20px,calc((100vw - 800px)/2));background:#141c17;border-bottom:2px solid var(--site-red);box-shadow:0 20px 30px #0009;z-index:9050}
 .site-header .site-nav.is-open{display:flex!important}
 .site-header .site-nav a{font-size:15px;padding:13px 10px;white-space:normal;border-bottom:1px solid #2e3b32}
 .site-header .site-brand{margin-right:auto}
}
@media(max-width:700px){
 .site-header .site-header__inner{min-height:70px;width:calc(100% - 22px);gap:8px}
 .site-header .site-brand__logo{width:48px;height:45px}
 .site-header .site-brand__name{font-size:11px}
 .site-header .site-brand__name small{font-size:8px;letter-spacing:.08em}
 .site-header .site-appointment{display:none!important}
 .site-header .site-actions{margin-left:auto}
 .site-header .site-location{min-height:44px;padding:9px 10px;font-size:11px;white-space:normal}
 .site-footer .site-footer__top{flex-direction:column;align-items:center;text-align:center}
 .site-footer .site-footer__contact{justify-content:center}
 .site-footer .site-footer__bottom{gap:4px 18px}
 #hauptinhalt,section[id]{scroll-margin-top:85px}
 main.feature-page,main.legal-layout,main.error-page{width:calc(100% - 28px)!important}
}
@media(max-width:420px){
 .site-header .site-brand__name{display:none}
 .site-header .site-brand__logo{width:48px;height:46px}
 .site-header .site-location{font-size:12px;padding:10px 12px}
 .site-footer .site-footer__contact a[href^="mailto:"]{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{body .site-header,body .site-footer,.site-skip{display:none!important}body{padding:0!important}}
/* Standort-Notdienst: ein Dialog auf allen Seiten. */
.location-dialog{width:min(600px,calc(100% - 24px));max-width:600px;max-height:min(92dvh,900px);overflow:auto;border-radius:14px;padding:clamp(18px,4vw,30px);box-shadow:0 28px 80px #000c;position:fixed}
.location-dialog::backdrop{background:rgba(0,0,0,.82)}
.location-dialog .dialog-close{width:40px;height:40px;display:grid;place-items:center;border-radius:6px;right:12px;top:12px}
.location-dialog h2{font-size:clamp(25px,5vw,36px);margin:0 30px 12px 0}
.location-dialog p{line-height:1.65;color:#c8d6cd}
.location-dialog .location-dialog__eyebrow{font-size:11px;font-weight:800;letter-spacing:.14em;color:#ff8b92;margin:0 0 7px}
.location-dialog>label{font-size:13px;font-weight:700;margin:12px 0 6px;color:#eaf0e9}
.location-dialog>input,.location-dialog>textarea{display:block;width:100%;padding:12px 13px;min-height:45px;border:1px solid #69796e;border-radius:6px;background:#0d140e;color:#fff;font:14px/1.5 Arial,sans-serif}
.location-dialog>textarea{min-height:108px;resize:vertical}
.location-dialog__detect{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:50px;padding:12px;background:#293b31;color:#fff;border:1px solid #89a893;border-radius:7px;font:800 14px Arial,sans-serif;cursor:pointer}
.location-dialog__detect:hover{background:#354d3c}
.location-dialog__status{min-height:20px;font-size:12px!important;margin:8px 0 12px!important}
.location-dialog__note{font-size:12px!important}
.location-dialog__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.location-dialog__actions button{min-height:49px;border-radius:7px;padding:12px;font:800 13px/1.3 Arial,sans-serif;cursor:pointer;background:#e31b23;color:#fff;border:1px solid #ff5962}
.location-dialog__actions #location-email{background:#293830;border-color:#889a8b}
.location-dialog__actions button:disabled{opacity:.42;cursor:not-allowed}
.location-dialog__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:17px;padding-top:15px;border-top:1px solid #49594b}
.location-dialog__bottom a,.location-dialog__bottom button{color:#f6f6f3;font-size:12px;text-decoration:underline;border:0;background:none;cursor:pointer;padding:7px 0}
.location-dialog__bottom a{color:#ffa1a5}
@media(max-width:430px){.location-dialog__actions{grid-template-columns:1fr}.location-dialog{padding:18px}.location-dialog h2{font-size:27px}.location-dialog__bottom{flex-direction:column;align-items:flex-start}}
/* Text und Karten in responsiven Innenrastern gleichmäßig verteilen. */
main#hauptinhalt>.services>.section-head,main#hauptinhalt>.services>.cards{max-width:100%}
:where(.feature-grid,.team-grid,.roadside-layout,.home-extra__grid,.booking-layout){min-width:0}
:where(.feature-card,.team-card,.booking-panel,.roadside-contact,.tire-catalog){min-width:0}
img,video{max-width:100%}
/* Durchgehend zentrierte Inhaltsstruktur mit begrenzter Lesebreite. */
.legal-layout{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
.legal-layout>.legal-title{text-align:center;grid-column:1!important}
.legal-layout .legal-title .legal-lead{margin-inline:auto}
.legal-layout>.legal-toc{grid-column:1}
.legal-layout .legal-toc nav{position:static!important;flex-direction:row!important;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 22px;border-top:1px solid #38473e;padding:18px 0 20px}
.legal-layout>.legal-copy{width:100%;max-width:830px;margin-inline:auto;grid-column:1}
.legal-layout .legal-copy section{scroll-margin-top:98px}
.feature-page>.feature-eyebrow,.feature-page>h1,.feature-page>.feature-lead{text-align:center;margin-inline:auto}
.feature-page>.feature-lead{max-width:900px}
main#hauptinhalt>.workshop-detail>h2,main#hauptinhalt>.workshop-detail>.workshop-detail-lead{text-align:center;margin-inline:auto}
main#hauptinhalt>.booking-section>h2,main#hauptinhalt>.booking-section>.intro{text-align:center;margin-inline:auto}
main#hauptinhalt>.booking-section>.direct-booking-contact{justify-content:center}
@media(min-width:1191px){#site-header #primary-nav .site-nav__appointment{display:none}}
@media(max-width:1190px){
 #site-header #primary-nav{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:12px 20px 18px!important;background:#141c17!important;border:0!important;border-bottom:2px solid #e31b23!important;max-height:calc(100dvh - 70px);overflow-y:auto;z-index:9050}
 #site-header #primary-nav.is-open{display:flex!important}
 #site-header #primary-nav a{display:block;padding:13px 10px;font-size:15px;border-bottom:1px solid #2e3b32}
}
main#hauptinhalt>.stage{max-width:var(--site-max);width:100%;margin-inline:auto}
main#hauptinhalt>.stage>.hero{width:100%;max-width:var(--site-max);margin-inline:auto}
.stage .hero:fullscreen,.stage .hero.expanded{max-width:none}

.cms-extra-section{margin:48px auto;max-width:1050px;padding:28px 24px;border:1px solid #455447;border-radius:16px;color:#e5eae6;background:rgba(18,29,22,.75)}.cms-extra-section p{line-height:1.8}

/* v19.2 – zusätzliche CMS-Abschnitte, ohne Eingriff in das Seitengerüst. */
.cms-page-section{padding:2px 0;margin:0 0 28px}
.cms-page-section + .cms-page-section{border-top:1px solid #465a4b;padding-top:24px}
.cms-page-section h2{font:700 clamp(22px,2.4vw,32px)/1.2 Arial,Helvetica,sans-serif;color:#fff;margin:0 0 14px}
.cms-page-section p{overflow-wrap:anywhere;line-height:1.7}
