:root{--black:#090a0c;--black2:#101316;--panel:#15191d;--red:#e22b22;--red2:#9d1713;--white:#f5f5f2;--muted:#9aa1a7;--line:#2a3035;--silver:#c5c8ca}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--black);color:var(--white);font-family:Arial,Helvetica,sans-serif}body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:50;opacity:.035;background:repeating-linear-gradient(0deg,#fff 0 1px,transparent 1px 4px)}a{color:inherit}.wrap{max-width:1220px;margin:auto;padding-left:24px;padding-right:24px}.top-strip{background:var(--red);color:#fff;font-size:10px;font-weight:900;letter-spacing:1.8px}.top-strip .wrap{height:28px;display:flex;align-items:center;justify-content:space-between}.site-header{position:sticky;top:0;z-index:20;background:#090a0ceF;border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.nav{height:72px;display:flex;align-items:center;gap:28px}.logo{display:flex;align-items:center;gap:9px;text-decoration:none;font-size:21px;font-weight:1000;letter-spacing:1px;white-space:nowrap}.logo>span:last-child>span{color:var(--red)}.logo-box{display:grid;place-items:center;width:36px;height:36px;background:var(--red);color:#fff;font-size:12px;transform:skew(-8deg);border:1px solid #ff5a50}.main-nav{display:flex;gap:24px;margin-left:auto}.main-nav a{font-size:11px;font-weight:900;letter-spacing:1.3px;text-decoration:none}.main-nav a:hover{color:#ff4b43}.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;font-size:12px;letter-spacing:1px;padding:12px 16px;border:1px solid var(--red);cursor:pointer}.nav-cta{background:var(--red);color:#fff}.btn.red{background:var(--red);color:#fff}.btn.dark{background:#171a1d;border-color:#50575c;color:#fff}.menu-btn{display:none;background:none;border:0;color:#fff;font-size:25px}.hero{min-height:700px;position:relative;overflow:hidden;background:radial-gradient(circle at 70% 35%,#343a3f 0,#181c20 27%,#090a0c 70%)}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 0 47%,#e22b2210 47% 48%,transparent 48% 53%,#fff009 53% 54%,transparent 54%);opacity:.8}.hero-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:70px 70px;mask-image:linear-gradient(to right,#000,transparent 80%)}.hero-inner{position:relative;z-index:2;min-height:700px;display:flex;align-items:center}.hero-copy{padding-top:20px}.kicker{color:var(--red);font-size:11px;font-weight:1000;letter-spacing:2.5px}.kicker span{display:inline-block;width:22px;height:3px;background:var(--red);vertical-align:middle;margin-right:7px}.hero h1{font-size:clamp(50px,8vw,105px);line-height:.87;letter-spacing:-4px;margin:18px 0;text-transform:uppercase}.hero h1 strong{color:#fff}.hero p{font-size:18px;color:#c2c6c9;letter-spacing:1px}.hero-actions{display:flex;gap:10px;margin-top:28px;flex-wrap:wrap}.hero-badge,.stamp{position:absolute}.hero-badge{right:9%;bottom:12%;width:160px;height:160px;border:2px solid var(--red);border-radius:50%;display:grid;place-items:center;text-align:center;transform:rotate(-10deg);background:#090a0ca8}.hero-badge b{font-size:45px;color:var(--red);display:block}.hero-badge span{font-size:9px;letter-spacing:2px}.speed-lines{position:absolute;right:-5%;bottom:80px;width:55%;height:180px;transform:skewY(-12deg);background:repeating-linear-gradient(0deg,transparent 0 17px,#e22b2238 18px 21px);opacity:.7}.intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding-top:95px;padding-bottom:95px}.section-title small,.section-bar small,.feature small,.projects-band small,.about small,.contact-section small{font-size:10px;color:var(--red);font-weight:1000;letter-spacing:2px}.intro h2,.section-bar h2,.about h3,.contact-section h2{font-size:50px;line-height:.95;margin:10px 0;letter-spacing:-2px}.intro h2 em,.section-bar h2 em,.about h3 em,.contact-section h2 em{font-family:Georgia,serif;font-weight:400;color:#cdd0d2}.intro-text{align-self:end}.intro-text p,.about-text p{color:var(--muted);line-height:1.8;font-size:18px}.text-link{color:#fff;text-decoration:none;font-weight:900;font-size:11px;letter-spacing:1.5px;border-bottom:2px solid var(--red);padding-bottom:5px}.dark-section,.appointment{background:var(--black2);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}section.dark-section{max-width:none}.section-bar{display:flex;justify-content:space-between;align-items:end;margin-bottom:35px}.section-mark{font-size:10px;color:#687076;letter-spacing:2px}.service-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.service{display:grid;grid-template-columns:45px 1fr 25px;gap:15px;min-height:160px;padding:24px 16px;border-bottom:1px solid var(--line)}.service:nth-child(odd){border-right:1px solid var(--line)}.service:hover{background:#191e22}.service-number{color:var(--red);font-family:Georgia,serif;font-size:17px}.service h3{font-size:21px;margin:0 0 9px}.service p{color:var(--muted);line-height:1.55;margin:0}.service a{color:var(--red);font-size:25px;text-decoration:none}.feature-section{padding-top:90px;padding-bottom:90px}.feature-grid{display:grid;grid-template-columns:1.25fr .9fr .9fr;gap:14px}.feature{min-height:360px;padding:28px;display:flex;flex-direction:column;justify-content:end;position:relative;overflow:hidden;border:1px solid #343a3e}.feature:after{content:"";position:absolute;right:-50px;top:-60px;width:220px;height:220px;border:30px solid #ffffff0b;border-radius:50%}.feature span{font-size:10px;letter-spacing:2px;font-weight:1000;color:#fff;position:relative;z-index:1}.feature h3{font-size:39px;line-height:.88;margin:12px 0;position:relative;z-index:1}.feature p{color:#c1c6c9;max-width:280px;position:relative;z-index:1}.feature a{font-size:11px;font-weight:900;text-decoration:none;color:#fff;position:relative;z-index:1}.feature-red{background:linear-gradient(145deg,#9e1714,#280b0a)}.feature-light{background:linear-gradient(145deg,#c8cacc,#303437);color:#111}.feature-light p,.feature-light span{color:#202326}.feature-dark{background:linear-gradient(145deg,#252b2f,#0d1012)}.projects-band{max-width:none;background:linear-gradient(105deg,#160b0b,#090a0c);border-top:1px solid #421514;border-bottom:1px solid #421514}.project-content{min-height:350px;display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.project-content h2{font-size:55px;line-height:.9;margin:10px 0}.project-content h2 em{font-family:Georgia,serif;font-weight:400}.project-content p{color:var(--muted);font-size:18px;line-height:1.8}.appointment{padding-top:85px;padding-bottom:90px}.form{max-width:900px;display:grid;gap:15px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}label{display:grid;gap:7px;font-size:10px;font-weight:1000;letter-spacing:1px;color:#d8dcde}input,select,textarea{width:100%;background:#090b0d;border:1px solid #363d42;color:#fff;padding:14px;border-radius:0;font:inherit}input:focus,select:focus,textarea:focus{outline:1px solid var(--red);border-color:var(--red)}.consent{display:flex;align-items:center;color:var(--muted);font-size:12px;letter-spacing:0;font-weight:400}.consent input{width:auto}.notice{border-left:4px solid #6e944d;background:#172016;padding:15px;margin-bottom:18px}.about{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center;padding-top:95px;padding-bottom:95px}.about-card{min-height:260px;border:1px solid var(--line);background:linear-gradient(135deg,#181c20,#0e1012);display:flex;align-items:center;gap:35px;padding:30px;position:relative;overflow:hidden}.about-card:after{content:"";position:absolute;right:-80px;bottom:-80px;width:260px;height:260px;border:35px solid #e22b2210;border-radius:50%}.about-logo{font-weight:1000;font-size:60px;color:var(--red);border:3px solid var(--red);padding:20px;transform:skew(-7deg);position:relative;z-index:1}.about-card h3{font-size:34px;position:relative;z-index:1}.contact-section{background:#0d1012;border-top:1px solid var(--line)}.contact-grid{min-height:330px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px}.contact-info{border-left:3px solid var(--red);padding-left:28px;display:grid;gap:25px}.contact-info div{display:grid;gap:6px}.contact-info b{font-size:10px;color:var(--red);letter-spacing:2px}.contact-info a{font-size:20px;text-decoration:none}.footer{min-height:90px;display:flex;align-items:center;justify-content:space-between;color:#6f787e;font-size:11px}.footer .logo{color:#fff;font-size:16px}.admin-page,.admin-login{min-height:100vh;background:radial-gradient(circle at 70% 10%,#2a0e0d,#090a0c 45%)}.admin-page{padding-bottom:80px}.admin-nav{height:75px;max-width:1220px;margin:auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.admin-head{max-width:1220px;margin:auto;padding:60px 24px 35px;display:flex;justify-content:space-between;align-items:end}.admin-head h1{font-size:48px;margin:12px 0}.admin-head p{color:var(--muted)}.admin-count{width:90px;height:90px;border:2px solid var(--red);display:grid;place-items:center;text-align:center}.admin-count b{font-size:30px;color:var(--red)}.admin-count span{font-size:9px;letter-spacing:2px}.table-wrap{max-width:1220px;margin:auto;padding:0 24px;overflow:auto}table{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--line)}th,td{padding:15px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}th{font-size:10px;color:var(--red);letter-spacing:1.5px}td small{color:#737c82}.status{font-size:9px;border:1px solid #555;padding:5px 7px;text-transform:uppercase}.status.neu{color:#ffb84d;border-color:#ffb84d}.status.bestaetigt{color:#9fbd78;border-color:#718f4c}.status.abgelehnt{color:#e27d73;border-color:#9b4d43}.empty{text-align:center;color:var(--muted);padding:50px}.admin-login{display:grid;place-items:center;padding:25px}.admin-login-box{width:min(470px,100%);background:#111519;border:1px solid var(--line);padding:35px}.admin-login-box h1{font-size:52px;margin:10px 0 30px}.error{border-left:4px solid var(--red);background:#281211;padding:13px;margin-bottom:15px}@media(max-width:850px){.top-strip .wrap span:nth-child(2){display:none}.main-nav,.nav-cta{display:none}.menu-btn{display:block;margin-left:auto}.hero{min-height:620px}.hero-inner{min-height:620px}.hero h1{font-size:58px;letter-spacing:-3px}.hero-badge{display:none}.intro,.project-content,.about,.contact-grid{grid-template-columns:1fr;gap:30px}.intro{padding-top:70px;padding-bottom:70px}.service-grid,.feature-grid,.form-row{grid-template-columns:1fr}.service:nth-child(odd){border-right:0}.feature{min-height:290px}.project-content{padding-top:60px;padding-bottom:60px}.project-content h2,.intro h2,.section-bar h2,.contact-section h2{font-size:40px}.about{padding-top:65px;padding-bottom:65px}.footer{flex-direction:column;gap:15px;justify-content:center;padding:25px}.admin-head{align-items:start}.admin-head h1{font-size:38px}.admin-count{width:70px;height:70px}}

.maintenance-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 70% 20%,#32100e,#090a0c 52%);position:relative;overflow:hidden}.maintenance-grid{position:absolute;inset:0;background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px);background-size:60px 60px;opacity:.45}.maintenance-card{position:relative;z-index:2;width:min(720px,calc(100% - 36px));padding:48px;background:#111519ee;border:1px solid #343a3f;box-shadow:0 25px 80px #0008}.maintenance-logo{margin-bottom:55px}.maintenance-card h1{font-size:clamp(38px,6vw,66px);line-height:.95;margin:15px 0;text-transform:uppercase}.maintenance-card p{font-size:19px;color:#c4c9cc;line-height:1.6}.maintenance-card small{color:#858e94;line-height:1.6}.maintenance-line{height:4px;width:100%;background:linear-gradient(90deg,var(--red),transparent);margin:30px 0}.admin-settings,.admin-requests{max-width:1220px;margin:0 auto 45px;padding:0 24px}.admin-settings{background:#111519;border:1px solid var(--line);padding-top:26px;padding-bottom:30px}.settings-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.settings-head small{font-size:10px;color:var(--red);font-weight:1000;letter-spacing:2px}.settings-head h2{font-size:30px;margin:8px 0}.maintenance-pill{font-size:10px;font-weight:1000;letter-spacing:2px;padding:7px 10px;border:1px solid}.maintenance-pill.on{color:#ff8b82;border-color:var(--red);background:#35100e}.maintenance-pill.off{color:#8e989e;border-color:#4b5358}.maintenance-form{display:grid;gap:18px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#0b0d0f;border:1px solid var(--line);padding:18px}.toggle-row span{display:grid;gap:5px}.toggle-row strong{font-size:15px}.toggle-row small{color:var(--muted);font-size:12px}.toggle-row input{appearance:none;width:52px;height:28px;border-radius:20px;padding:0;border:1px solid #555;background:#2a2f33;position:relative;cursor:pointer;flex:0 0 auto}.toggle-row input:before{content:"";position:absolute;width:20px;height:20px;left:3px;top:3px;background:#aaa;border-radius:50%;transition:.2s}.toggle-row input:checked{background:var(--red);border-color:var(--red)}.toggle-row input:checked:before{left:27px;background:#fff}.maintenance-form .form-row{max-width:none}

/* ADMIN DESIGN SETTINGS */
.appearance-form{display:grid;gap:18px}.appearance-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.appearance-control{background:#0b0d0f;border:1px solid var(--line);padding:18px}.appearance-control.wide{grid-column:1/-1}.appearance-control label{display:grid;gap:10px}.appearance-control output{float:right;color:var(--red);font-weight:1000}.appearance-control input[type=color]{height:48px;width:100%;padding:4px;cursor:pointer;background:#090b0d}.appearance-control input[type=range]{width:100%;accent-color:var(--red);cursor:pointer}.range-hint{display:flex;justify-content:space-between;color:#687177;font-size:9px;margin-top:5px}.smiley-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#0b0d0f;border:1px solid var(--line);padding:15px}.smiley-tools>div:first-child{display:grid;gap:4px}.smiley-tools small{color:var(--muted);font-size:11px}.smiley-list{display:flex;gap:6px;flex-wrap:wrap}.smiley-list button{background:#181d21;border:1px solid #3a4248;color:#fff;font-size:20px;width:40px;height:40px;cursor:pointer}.smiley-list button:hover,.smiley-list button.copied{border-color:var(--red);background:#32100e}.site-smiley{font-size:22px;letter-spacing:7px;margin-top:18px;opacity:.9}
@media(max-width:700px){.appearance-grid{grid-template-columns:1fr}.appearance-control.wide{grid-column:auto}.smiley-tools{align-items:flex-start;flex-direction:column}}

body{font-size:var(--user-font-size,16px)}

/* ===== ADMIN V7 – strukturierte Oberfläche ===== */
.admin-page{min-height:100vh;background:radial-gradient(circle at 75% 0,#260d0c 0,#090a0c 42%);padding:0 0 70px}
.admin-shell{width:min(1180px,calc(100% - 32px));margin:0 auto}
.admin-nav{height:78px;padding:0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.admin-hero{display:flex;justify-content:space-between;align-items:center;padding:52px 0 42px}
.admin-hero h1{font-size:48px;line-height:1;margin:10px 0}.admin-hero p{color:var(--muted);margin:0}
.admin-count{width:92px;height:92px;border:1px solid var(--red);background:#120d0d;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.admin-count b{font-size:30px;color:var(--red)}.admin-count span{font-size:8px;line-height:1.25;letter-spacing:1.5px;text-align:center;color:#d5d8da}
.admin-sections{display:grid;gap:24px}
.admin-card{background:rgba(17,21,25,.96);border:1px solid var(--line);box-shadow:0 18px 55px rgba(0,0,0,.22)}
.card-header{padding:26px 28px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.card-header small{font-size:9px;color:var(--red);font-weight:1000;letter-spacing:2px}.card-header h2{font-size:28px;margin:8px 0 5px;letter-spacing:-.5px}.card-header p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.card-index{font-size:11px;color:#626b70;letter-spacing:2px}.card-actions{padding-top:2px}
.appearance-form,.maintenance-form{padding:22px 28px 28px;display:grid;gap:18px}
.settings-block{background:#0c0f11;border:1px solid #262d32;padding:18px}.block-title{font-size:9px;color:#899196;font-weight:1000;letter-spacing:1.8px;margin-bottom:14px}
.range-line{display:grid;grid-template-columns:45px 1fr 45px 70px;gap:12px;align-items:center;color:#737c82;font-size:10px}.range-line input{margin:0;accent-color:var(--red)}.range-line output{font-size:14px;color:var(--red);font-weight:1000;text-align:right}.help{font-size:11px;color:#646d73;margin:10px 0 0}
.color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.color-field{display:grid;gap:8px}.color-field>span{font-size:11px;color:#d3d7d9;font-weight:700;letter-spacing:.3px}.color-field>div{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center}.color-field input[type=color]{width:48px;height:36px;padding:3px;border:1px solid #3b4247;background:#090b0d;cursor:pointer}.color-field code{font-size:10px;color:#7c868c;background:#090b0d;border:1px solid #2a3035;padding:10px 7px}
.switch-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 16px;background:#090b0d;border:1px solid #262d32}.switch-row>span{display:grid;gap:5px}.switch-row strong{font-size:13px}.switch-row small{font-size:11px;color:var(--muted);line-height:1.4}.switch{appearance:none!important;width:48px!important;height:26px!important;padding:0!important;border-radius:20px!important;border:1px solid #50585d!important;background:#292e32!important;position:relative;cursor:pointer;flex:0 0 auto}.switch:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;border-radius:50%;background:#9da4a8;transition:.2s}.switch:checked{background:var(--red)!important;border-color:var(--red)!important}.switch:checked:before{left:25px;background:#fff}
.smiley-row{display:flex;align-items:center;gap:18px;padding-top:3px}.smiley-row>span{font-size:10px;color:#777f84;text-transform:uppercase;letter-spacing:1px}.smiley-list{display:flex;gap:6px;flex-wrap:wrap}.smiley-list button{width:38px;height:38px;padding:0;background:#15191d;border:1px solid #343c41;color:#fff;font-size:18px;cursor:pointer}.smiley-list button:hover,.smiley-list button.copied{border-color:var(--red);background:#32100e}
.maintenance-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.maintenance-fields label{display:grid;gap:7px}
.maintenance-pill{font-size:9px;font-weight:1000;letter-spacing:1.8px;padding:7px 10px;border:1px solid}.maintenance-pill.on{color:#ff8d84;border-color:var(--red);background:#32100e}.maintenance-pill.off{color:#8d969b;border-color:#444c51}
.notice{margin:0 28px;padding:13px 15px;border-left:3px solid #6d944d;background:#172016;color:#cbd6c2;font-size:12px}
.admin-card .table-wrap{padding:0;overflow:auto}.admin-card table{width:100%;border:0;background:#111519}.admin-card th,.admin-card td{padding:15px 18px}.admin-card th{background:#0d1012}.table-action{color:#fff;text-decoration:none;font-size:10px;font-weight:1000;letter-spacing:.5px}.table-action:hover{color:var(--red)}.table-action.reject:hover{color:#e27d73}
@media(max-width:800px){.admin-shell{width:min(100% - 20px,1180px)}.admin-hero{padding:38px 0 30px}.admin-hero h1{font-size:40px}.admin-count{width:76px;height:76px}.card-header{padding:20px}.appearance-form,.maintenance-form{padding:18px 20px 22px}.color-grid{grid-template-columns:1fr 1fr}.maintenance-fields{grid-template-columns:1fr}.range-line{grid-template-columns:40px 1fr 40px 55px}.smiley-row{align-items:flex-start;flex-direction:column}.admin-card th,.admin-card td{padding:12px}.card-header h2{font-size:24px}}

/* V12 media/upload additions – V7 design retained */
.font-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.font-size-grid>label{display:grid;gap:9px}.number-control{display:grid;grid-template-columns:1fr 62px;gap:10px;align-items:center}.number-control input[type=range]{width:100%;accent-color:var(--red)}.number-control output{font-size:13px;color:var(--red);font-weight:1000;text-align:right}
.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-box{min-height:115px;background:#0b0d0f;border:1px dashed #424a50;padding:16px;display:grid;align-content:start;gap:8px;cursor:pointer}.upload-box.wide{grid-column:1/-1}.upload-box input[type=file]{width:100%;font-size:11px;color:#b9c0c4}.upload-box small{color:#737d82;font-size:10px}.current-file{color:#9fbd78;font-size:10px;font-weight:900}.upload-toggles{display:grid;grid-template-columns:1fr 1fr;gap:12px}.upload-error{margin:20px 28px 0;padding:13px 15px;border-left:3px solid var(--red);background:#32100e;color:#ffb0aa;font-size:12px}
.admin-settings .maintenance-fields .editable-field input{display:block!important;width:100%!important;min-height:46px!important;padding:12px 14px!important;background:#090b0d!important;color:#fff!important;border:1px solid #3b4348!important;border-radius:0!important;font-size:13px!important;cursor:text!important;pointer-events:auto!important}.admin-settings .maintenance-fields .editable-field input:focus{outline:2px solid var(--red)!important;border-color:var(--red)!important}
@media(max-width:700px){.font-size-grid,.upload-grid,.upload-toggles{grid-template-columns:1fr}.upload-box.wide{grid-column:auto}}

.maintenance-preview{display:block;width:min(100%,520px);max-height:260px;object-fit:cover;border:1px solid #3b4248;margin:20px 0}.maintenance-file{margin-top:22px}

/* V13 - Asset loeschen */
.asset-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:2px}
.asset-actions form{margin:0}
.delete-asset{border:1px solid #8d2c27;background:#260e0c;color:#ffb1aa;padding:7px 10px;font-size:9px;font-weight:1000;letter-spacing:.8px;cursor:pointer}
.delete-asset:hover{background:#e22b22;color:#fff;border-color:#e22b22}
.no-file{display:block;color:#666f74;font-size:10px}
.asset-delete-notice{margin-bottom:14px}
.upload-box .asset-actions .current-file{margin:0}
@media(max-width:650px){.asset-actions{align-items:flex-start;flex-direction:column}}

/* V14 – Informationsbutton */
.maintenance-file{
    display:block!important;
    width:max-content!important;
    margin:26px auto 0!important;
    text-align:center!important;
    white-space:nowrap!important;
}
@media(max-width:600px){
    .maintenance-file{
        width:100%!important;
        box-sizing:border-box!important;
        margin-top:22px!important;
    }
}

/* V16 – eigenes Logo zentral verwalten */
.site-brand-link{display:flex;align-items:center;min-width:0}
.site-brand-image{display:block;width:var(--logo-width,430px);height:auto;max-height:115px;object-fit:contain;object-position:left center}
.site-header .site-brand-image{max-height:92px}
.maintenance-brand-image{width:min(var(--logo-width,430px),100%);max-height:150px;margin-bottom:34px;object-position:left center}
.footer-brand .site-brand-image{width:min(220px,var(--logo-width,430px));max-height:60px}
.logo-manager-grid{display:grid;grid-template-columns:minmax(320px,1fr) minmax(320px,1fr);gap:18px}
.logo-preview-box{border:1px solid #343b40;background:#080a0c;padding:16px}
.logo-preview-label{font-size:10px;font-weight:1000;letter-spacing:1.3px;color:#aab1b5;margin-bottom:10px}
.logo-preview-stage{min-height:180px;border:1px solid #343b40;background:#050607;display:flex;align-items:center;justify-content:center;padding:18px;overflow:hidden}
.logo-preview-stage img{display:block;max-width:100%;max-height:190px;width:auto;height:auto;object-fit:contain}
.logo-status-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:12px}
.logo-status{font-size:9px;font-weight:1000;letter-spacing:1px;padding:6px 8px;border:1px solid}
.logo-status.active{color:#a9d78d;border-color:#4e753c;background:#12230f}
.logo-status.inactive{color:#ffb1aa;border-color:#8d2c27;background:#260e0c}
.logo-controls{display:grid;gap:14px}
.logo-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.logo-delete{margin-top:12px;width:100%}
@media(max-width:800px){
  .logo-manager-grid{grid-template-columns:1fr}
  .logo-size-grid{grid-template-columns:1fr}
  .site-brand-image{width:var(--logo-mobile-width,290px)}
  .maintenance-brand-image{width:min(var(--logo-mobile-width,290px),100%)}
}
@media(max-width:560px){
  .site-header .site-brand-image{max-width:var(--logo-mobile-width,290px);max-height:72px}
  .logo-preview-stage{min-height:130px}
}

/* V17 – Header-Logo korrigiert
   Ursache in V16: Das Seitenverhältnis des Logos wurde durch max-height
   stark begrenzt. Dadurch wurde das Logo zu klein und konnte aus dem Header
   herausragen. Der Header erhält jetzt ausreichend Höhe und das Logo wird
   proportional skaliert.
*/
.site-header{min-height:142px}
.site-header .nav{height:142px;align-items:center}
.site-header .site-brand-link{height:142px;flex:0 0 auto;align-items:center}
.site-header .site-brand-image{
    width:min(var(--logo-width,430px),430px)!important;
    max-width:430px!important;
    max-height:none!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:center!important;
}
.site-header .main-nav{align-items:center}
.site-header .nav-cta{flex:0 0 auto}

@media(max-width:850px){
    .site-header{min-height:108px}
    .site-header .nav{height:108px}
    .site-header .site-brand-link{height:108px}
    .site-header .site-brand-image{
        width:min(var(--logo-mobile-width,290px),290px)!important;
        max-width:290px!important;
        max-height:none!important;
        height:auto!important;
    }
}
@media(max-width:480px){
    .site-header{min-height:92px}
    .site-header .nav{height:92px}
    .site-header .site-brand-link{height:92px}
    .site-header .site-brand-image{
        width:min(var(--logo-mobile-width,240px),240px)!important;
        max-width:240px!important;
    }
}

/* V18 – Header vollständig neu ausgerichtet
   Das Logo hat ein sehr breites Seitenverhältnis und benötigt deshalb
   einen eigenen, ausreichend hohen Markenbereich unterhalb der roten Topbar.
*/
.site-header{
    position:relative!important;
    min-height:205px!important;
    height:205px!important;
    overflow:visible!important;
    z-index:20!important;
}
.site-header .nav{
    position:relative!important;
    height:205px!important;
    min-height:205px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding-top:25px!important;
    box-sizing:border-box!important;
}
.site-header .site-brand-link{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:430px!important;
    height:180px!important;
    flex:0 0 430px!important;
    overflow:visible!important;
    z-index:5!important;
}
.site-header .site-brand-image{
    display:block!important;
    width:350px!important;
    max-width:350px!important;
    height:auto!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center!important;
    flex:none!important;
}
.site-header .main-nav{
    position:relative!important;
    z-index:10!important;
    align-self:center!important;
}
.site-header .nav-cta{
    position:relative!important;
    z-index:10!important;
}

/* Logo nicht mehr unter/über die rote Topbar ziehen */
.site-header .topbar,
.site-header .top-bar{
    position:relative!important;
    z-index:30!important;
}

@media(max-width:850px){
    .site-header{
        min-height:145px!important;
        height:145px!important;
    }
    .site-header .nav{
        height:145px!important;
        min-height:145px!important;
        padding-top:18px!important;
    }
    .site-header .site-brand-link{
        width:300px!important;
        height:127px!important;
        flex-basis:300px!important;
    }
    .site-header .site-brand-image{
        width:270px!important;
        max-width:270px!important;
    }
}
@media(max-width:600px){
    .site-header{
        min-height:115px!important;
        height:115px!important;
    }
    .site-header .nav{
        height:115px!important;
        min-height:115px!important;
        padding-top:14px!important;
    }
    .site-header .site-brand-link{
        width:220px!important;
        height:100px!important;
        flex-basis:220px!important;
    }
    .site-header .site-brand-image{
        width:205px!important;
        max-width:205px!important;
    }
}

/* V19 – Logo im Header weiter nach links */
.site-header .site-brand-link{
    transform:translateX(-32px)!important;
}
@media(max-width:850px){
    .site-header .site-brand-link{
        transform:translateX(-22px)!important;
    }
}
@media(max-width:600px){
    .site-header .site-brand-link{
        transform:translateX(-12px)!important;
    }
}

/* V20 – frei einstellbare Logo-Position */
.site-header .site-brand-link{
    transform:translate(var(--logo-x,-120px),var(--logo-y,0px))!important;
}
@media(max-width:850px){
    .site-header .site-brand-link{
        transform:translate(var(--logo-mobile-x,-30px),var(--logo-mobile-y,0px))!important;
    }
}

/* Admin: Logo Position & Größe */
.logo-position-panel{
    border:1px solid #343b40;
    background:#090b0d;
    padding:16px;
    display:grid;
    gap:14px;
}
.position-title{
    color:#f5f5f2;
    font-size:11px;
    font-weight:1000;
    letter-spacing:1.2px;
    border-bottom:1px solid #343b40;
    padding-bottom:8px;
    margin-top:2px;
}
.logo-position-panel label{
    display:grid;
    gap:7px;
    color:#f5f5f2;
    font-size:10px;
    font-weight:1000;
    letter-spacing:.6px;
}
.logo-position-panel label small{
    color:#7e878c;
    font-size:9px;
    font-weight:600;
    letter-spacing:0;
}
.position-reset-form{margin-top:2px}
.position-reset-form .btn{width:100%}
@media(max-width:800px){
    .logo-position-panel{padding:12px}
}

/* V21 – sichtbarer eigener Speichern-Button für Logo-Einstellungen */
.logo-action-row{
    display:grid;
    grid-template-columns:minmax(180px,1fr) minmax(240px,1.6fr);
    gap:10px;
    margin-top:4px;
}
.logo-action-row form{margin:0}
.logo-action-row button{
    width:100%;
    min-height:42px;
    cursor:pointer;
}
.logo-save-form .btn.red{
    background:#e82b24;
    border-color:#e82b24;
    color:#fff;
}
.logo-save-form .btn.red:hover{
    background:#ff3a31;
    border-color:#ff3a31;
}
.logo-save-notice{
    border-color:#4d753d!important;
    background:#11220e!important;
    color:#b7e19b!important;
}
@media(max-width:700px){
    .logo-action-row{grid-template-columns:1fr}
}

/* V22 – Logo-Position tatsächlich aus gespeicherten Werten anwenden */
.site-header .site-brand-link{
    position:relative!important;
    left:0!important;
    top:0!important;
    transform:translate3d(var(--logo-x,-120px),var(--logo-y,0px),0)!important;
}
@media(max-width:850px){
    .site-header .site-brand-link{
        transform:translate3d(var(--logo-mobile-x,-30px),var(--logo-mobile-y,0px),0)!important;
    }
}
.logo-action-row{
    display:grid!important;
    grid-template-columns:minmax(180px,1fr) minmax(240px,1.6fr)!important;
    gap:10px!important;
    margin-top:4px!important;
}
.logo-action-row button{
    width:100%!important;
    min-height:42px!important;
    cursor:pointer!important;
}

/* V23 – frei verwaltbare Hauptnavigation */
.nav-help{
    color:#899196;
    margin:0 0 18px;
    line-height:1.6;
}
.nav-admin-grid{
    display:grid;
    grid-template-columns:minmax(280px,.85fr) minmax(360px,1.15fr);
    gap:16px;
}
.nav-add-card,.nav-list-card{
    border:1px solid #343b40;
    background:#090b0d;
    padding:16px;
}
.nav-item-form{
    display:grid;
    gap:13px;
}
.nav-item-form label{
    display:grid;
    gap:7px;
    color:#f5f5f2;
    font-size:10px;
    font-weight:1000;
    letter-spacing:.8px;
}
.nav-item-form input[type=text],
.nav-item-form input[type=number]{
    width:100%;
    box-sizing:border-box;
    background:#060708;
    color:#f5f5f2;
    border:1px solid #343b40;
    padding:11px 12px;
    font:inherit;
    font-size:13px;
}
.nav-form-row{
    display:grid;
    grid-template-columns:120px 1fr;
    gap:14px;
    align-items:end;
}
.nav-check{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center;
    gap:8px!important;
    min-height:40px;
}
.nav-check input{accent-color:#e82b24}
.nav-list-card{display:grid;gap:12px}
.nav-item-admin{
    border:1px solid #343b40;
    padding:13px;
    background:#07090b;
}
.nav-item-admin .compact{gap:10px}
.nav-admin-actions{display:flex;justify-content:flex-end}
.nav-delete-form{margin-top:8px}
.nav-delete-form .delete-asset{width:100%}
.nav-empty{padding:18px;border:1px dashed #343b40}
.nav-save-notice{
    border-color:#4d753d!important;
    background:#11220e!important;
    color:#b7e19b!important;
}
@media(max-width:850px){
    .nav-admin-grid{grid-template-columns:1fr}
}
@media(max-width:560px){
    .nav-form-row{grid-template-columns:1fr}
}

/* V24 – Adminbereich klar in eigene Seiten/Reiter aufgeteilt */
.admin-section-nav{
  max-width:1180px;
  margin:18px auto 22px;
  padding:8px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  border:1px solid #2d3439;
  background:#080a0c;
  position:sticky;
  top:0;
  z-index:50;
}
.admin-section-nav a{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  color:#dce1e3;
  text-decoration:none;
  font-size:10px;
  font-weight:1000;
  letter-spacing:1px;
  border:1px solid #2f373c;
  background:#111417;
}
.admin-section-nav a:hover,
.admin-section-nav a.active{
  color:#fff;
  background:#e82b24;
  border-color:#e82b24;
}
.admin-dashboard-overview{
  max-width:1180px;
  margin:0 auto 24px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.overview-card{
  border:1px solid #30383d;
  background:#0a0c0e;
  padding:18px;
  min-height:120px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.overview-card strong{
  color:#fff;
  font-size:12px;
  letter-spacing:1.2px;
}
.overview-card span{
  color:#899297;
  font-size:11px;
  line-height:1.45;
  flex:1;
}
.overview-card a{
  color:#fff;
  background:#e82b24;
  border:1px solid #e82b24;
  text-decoration:none;
  padding:9px 11px;
  font-size:10px;
  font-weight:1000;
  letter-spacing:.8px;
  width:max-content;
}
.admin-page-section[hidden],
.settings-block[hidden],
.dashboard-only[hidden]{
  display:none!important;
}
@media(max-width:850px){
  .admin-section-nav{
    position:relative;
    margin:12px 10px 18px;
  }
  .admin-dashboard-overview{
    grid-template-columns:repeat(2,minmax(0,1fr));
    margin-left:10px;
    margin-right:10px;
  }
}
@media(max-width:560px){
  .admin-section-nav a{
    flex:1 1 calc(50% - 6px);
    justify-content:center;
  }
  .admin-dashboard-overview{
    grid-template-columns:1fr;
  }
}

/* V25 – Admin-Darstellungsfehler behoben */
.admin-section-nav{
  box-sizing:border-box!important;
  width:calc(100% - 32px)!important;
  max-width:1180px!important;
  margin:18px auto 24px!important;
  padding:8px!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:6px!important;
  position:relative!important;
}
.admin-section-nav a{
  box-sizing:border-box!important;
  white-space:nowrap!important;
}
.admin-dashboard-overview{
  box-sizing:border-box!important;
  width:calc(100% - 32px)!important;
  max-width:1180px!important;
  margin:0 auto 24px!important;
}
.settings-block[data-admin-section]{
  box-sizing:border-box!important;
}
.settings-block[data-admin-section] > *{
  box-sizing:border-box;
}
@media(max-width:850px){
  .admin-section-nav{
    width:calc(100% - 20px)!important;
    margin:12px 10px 18px!important;
  }
  .admin-dashboard-overview{
    width:calc(100% - 20px)!important;
    margin-left:10px!important;
    margin-right:10px!important;
  }
}
@media(max-width:560px){
  .admin-section-nav a{
    flex:1 1 calc(50% - 6px)!important;
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}

/* V27 – Logo löschen */
.ab-btn.danger{
  background:#2a0d0b!important;
  border-color:#a52d27!important;
  color:#ffb0ab!important;
}
.ab-btn.danger:hover{
  background:#e82b24!important;
  border-color:#e82b24!important;
  color:#fff!important;
}

/* V29 – öffentliche Navigation typografisch an das V7/Community-Design angleichen */
.site-header nav,
.site-header nav a,
.main-nav,
.main-nav a,
.header-nav,
.header-nav a,
.navbar,
.navbar a,
.custom-nav,
.custom-nav a,
.custom-navigation,
.custom-navigation a,
.site-navigation,
.site-navigation a{
  font-family:Arial, Helvetica, sans-serif!important;
  font-weight:900!important;
  letter-spacing:.7px!important;
  text-transform:uppercase!important;
  font-size:12px!important;
  line-height:1!important;
}

/* V30 – Vorinstallierte Navigation bearbeiten */
.builtin-nav-card{grid-column:1/-1;margin-bottom:18px}
.builtin-nav-list{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.builtin-nav-row{border:1px solid rgba(255,255,255,.14);padding:14px;background:rgba(0,0,0,.18)}
.builtin-nav-main{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,1.2fr) 110px 180px;gap:12px;align-items:end}
.builtin-nav-row .ab-actions{margin-top:12px}
@media(max-width:800px){
  .builtin-nav-main{grid-template-columns:1fr}
}

/* V31 – Footer ohne Logo + Footer-Navigation */
.site-footer img.logo,
.site-footer .footer-logo,
footer .footer-logo,
footer img.aitrachbikes-logo{display:none!important}
.footer-links{display:flex;gap:8px;justify-content:flex-end;align-items:center}
.footer-nav-card{grid-column:1/-1;margin:18px 0}
.footer-add-form{display:grid;grid-template-columns:minmax(220px,1fr) 130px auto;gap:12px;align-items:end;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
@media(max-width:800px){.footer-add-form{grid-template-columns:1fr}}

/* V32 – sauberer Footer */
.site-footer{
  border-top:1px solid rgba(255,255,255,.12);
  background:#08090b;
  position:relative;
  z-index:5;
}
.site-footer .footer{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-footer .footer-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:9px;
  margin:0;
}
.site-footer .footer-links a{
  color:inherit;
  text-decoration:none;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  font-weight:700;
}
.site-footer .footer-links a:hover{
  color:var(--red,#e22b22);
}
@media(max-width:700px){
  .site-footer .footer{
    flex-direction:column;
    justify-content:center;
    padding:18px 0;
  }
}

/* V33 – separate legal pages */
.legal-page{
  min-height:calc(100vh - 150px);
  padding-top:70px;
  padding-bottom:70px;
}
.legal-page h1{
  margin:14px 0 24px;
}
.legal-placeholder{
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:24px;
  max-width:900px;
}

/* V35 – Seiteninhalte / Reiter-Editor */
.content-choice-list{display:grid;gap:7px;margin-top:12px}.content-group-title{margin-top:8px;color:#e22b22!important}.content-choice{display:flex;justify-content:space-between;gap:15px;padding:11px 12px;border:1px solid var(--line);background:#0c0f11;text-decoration:none}.content-choice span{font-size:10px;color:#707980}.content-choice.active{border-color:var(--red);background:#1a1010}.page-assets-editor{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.page-asset-existing{display:flex;gap:10px;align-items:center;margin-top:10px;flex-wrap:wrap}.page-asset-existing img{width:110px;height:70px;object-fit:cover;border:1px solid var(--line)}
@media(max-width:850px){.page-assets-editor{grid-template-columns:1fr}}

/* V36 – Mehrfach-Fotogalerie */
.content-select-form{display:grid;grid-template-columns:minmax(240px,420px)}
.content-gallery-admin{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:10px;margin-top:12px}
.content-gallery-item{border:1px solid rgba(255,255,255,.12);padding:7px}
.content-gallery-item img{display:block;width:100%;height:120px;object-fit:cover;margin-bottom:7px}
.content-gallery-item .ab-btn{width:100%;font-size:10px;padding:8px}
.managed-gallery{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr));gap:14px;margin-top:24px}
.managed-gallery a{display:block;border:1px solid rgba(255,255,255,.15);overflow:hidden}
.managed-gallery img{display:block;width:100%;height:180px;object-fit:cover}
@media(max-width:800px){.content-gallery-admin,.managed-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.content-gallery-admin,.managed-gallery{grid-template-columns:1fr}}

/* V38 – kompakter Header / Navigation im Stil der neuen Aitrachbikes-Vorlage
   Kein Header-Foto: der obere Bereich bleibt rein grafisch und dunkel. */
.top-strip{display:none!important}

.site-header{
  position:relative!important;
  height:78px!important;
  min-height:78px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),rgba(255,255,255,0)),
    #090b0d!important;
  border-bottom:1px solid #242a2e!important;
  overflow:visible!important;
  z-index:100!important;
  box-shadow:0 4px 18px rgba(0,0,0,.28);
}
.site-header .nav{
  width:min(1360px,calc(100% - 72px))!important;
  height:78px!important;
  min-height:78px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
}
.site-header .site-brand-link{
  width:300px!important;
  flex:0 0 300px!important;
  height:78px!important;
  min-height:78px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  transform:translate3d(var(--logo-x,-40px),var(--logo-y,0px),0)!important;
  overflow:visible!important;
  z-index:3!important;
}
.site-header .site-brand-image{
  width:min(var(--logo-width,270px),270px)!important;
  max-width:270px!important;
  height:auto!important;
  max-height:70px!important;
  object-fit:contain!important;
}
.site-header .main-nav{
  height:78px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  margin:0 auto!important;
  flex:1 1 auto!important;
  white-space:nowrap!important;
}
.site-header .main-nav a{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:78px!important;
  padding:0 17px!important;
  color:#f4f4f2!important;
  text-decoration:none!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:1.1px!important;
  transition:color .18s ease,background .18s ease!important;
}
.site-header .main-nav a::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:12px!important;
  width:0!important;
  height:3px!important;
  background:#ed2d26!important;
  transform:translateX(-50%)!important;
  transition:width .18s ease!important;
}
.site-header .main-nav a:hover,
.site-header .main-nav a.is-active{
  color:#ed2d26!important;
}
.site-header .main-nav a:hover::after,
.site-header .main-nav a.is-active::after{
  width:28px!important;
}
.site-header .nav-cta{
  height:42px!important;
  min-width:148px!important;
  padding:0 18px!important;
  margin-left:12px!important;
  background:#ed2d26!important;
  border:1px solid #ed2d26!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.8px!important;
  text-decoration:none!important;
}
.site-header .nav-cta:hover{background:#ff3a31!important;border-color:#ff3a31!important}
.header-tools{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  margin-left:10px!important;
}
.header-tool{
  width:34px!important;
  height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#e8e9e8!important;
  text-decoration:none!important;
  font-size:20px!important;
  position:relative!important;
  transition:color .18s ease!important;
}
.header-tool:hover{color:#ed2d26!important}
.header-tool span{display:none}
.header-bell::after{
  content:""!important;
  position:absolute!important;
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#ed2d26!important;
  right:5px!important;
  top:9px!important;
}
.menu-btn{display:none!important}

/* Hero bleibt unangetastet; insbesondere kein Foto wird in den Header übernommen. */
@media(max-width:1150px){
  .site-header .nav{width:min(100%,calc(100% - 32px))!important}
  .site-header .site-brand-link{width:245px!important;flex-basis:245px!important}
  .site-header .site-brand-image{width:235px!important;max-width:235px!important}
  .site-header .main-nav a{padding:0 10px!important;font-size:11px!important}
  .site-header .nav-cta{min-width:125px!important;padding:0 12px!important}
  .header-tools{margin-left:4px!important}
}
@media(max-width:900px){
  .site-header,.site-header .nav{height:70px!important;min-height:70px!important}
  .site-header .site-brand-link{height:70px!important;min-height:70px!important;width:230px!important;flex-basis:230px!important}
  .site-header .site-brand-image{width:215px!important;max-width:215px!important;max-height:62px!important}
  .site-header .main-nav{height:70px!important}
  .site-header .main-nav a{padding:0 7px!important;font-size:10px!important}
  .site-header .nav-cta{min-width:110px!important;font-size:10px!important}
  .header-tools{display:none!important}
}
@media(max-width:760px){
  .site-header,.site-header .nav{height:64px!important;min-height:64px!important}
  .site-header .nav{width:calc(100% - 24px)!important}
  .site-header .site-brand-link{height:64px!important;min-height:64px!important;width:210px!important;flex-basis:210px!important;transform:translate3d(var(--logo-mobile-x,-12px),var(--logo-mobile-y,0px),0)!important}
  .site-header .site-brand-image{width:min(var(--logo-mobile-width,195px),195px)!important;max-width:195px!important;max-height:56px!important}
  .site-header .main-nav{display:none!important}
  .site-header .nav-cta{display:none!important}
  .menu-btn{display:block!important;margin-left:auto!important;background:transparent!important;border:0!important;color:#fff!important;font-size:27px!important;line-height:1!important}
}

/* =========================================================
   V39 – HEADER FINAL / REFERENZ-ANORDNUNG
   Kompakter Header wie in der gelieferten Referenz.
   Kein Header-Foto. Das Logo darf bewusst unter den Header
   ragen, während die Navigation auf einer einzigen Zeile sitzt.
   ========================================================= */

.site-header{
  display:block!important;
  position:relative!important;
  width:100%!important;
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  background:#080a0c!important;
  border-bottom:1px solid #292f33!important;
  box-shadow:none!important;
  z-index:100!important;
}
.site-header .nav{
  position:relative!important;
  width:100%!important;
  max-width:none!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0 34px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
}

/* Logo: links wie in der Referenz, unabhängig von der Navigation */
.site-header .site-brand-link{
  position:absolute!important;
  left:54px!important;
  top:0!important;
  width:315px!important;
  height:54px!important;
  min-height:54px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  transform:translate3d(var(--logo-x,0px),var(--logo-y,0px),0)!important;
  z-index:120!important;
}
.site-header .site-brand-image{
  display:block!important;
  width:315px!important;
  max-width:315px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
}

/* Navigation exakt als kompakte horizontale Leiste */
.site-header .main-nav{
  position:absolute!important;
  left:calc(50% - 285px)!important;
  top:0!important;
  height:54px!important;
  width:570px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:space-between!important;
  gap:0!important;
  flex:none!important;
  white-space:nowrap!important;
  z-index:110!important;
}
.site-header .main-nav a{
  position:relative!important;
  height:54px!important;
  min-width:0!important;
  margin:0!important;
  padding:0 12px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#f2f2f0!important;
  background:transparent!important;
  border:0!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:.65px!important;
  text-decoration:none!important;
}
.site-header .main-nav a::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  width:0!important;
  height:3px!important;
  background:#ed2d26!important;
  transform:translateX(-50%)!important;
  transition:width .15s ease!important;
}
.site-header .main-nav a:hover,
.site-header .main-nav a.is-active{
  color:#ed2d26!important;
}
.site-header .main-nav a:hover::after,
.site-header .main-nav a.is-active::after{
  width:28px!important;
}

/* Termin-Button rechts neben den Reitern */
.site-header .nav-cta{
  position:absolute!important;
  left:calc(50% + 300px)!important;
  top:8px!important;
  height:38px!important;
  min-width:162px!important;
  margin:0!important;
  padding:0 16px!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#ed2d26!important;
  border:1px solid #ed2d26!important;
  color:#fff!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.7px!important;
  text-decoration:none!important;
  z-index:115!important;
}
.site-header .nav-cta:hover{
  background:#ff3a31!important;
  border-color:#ff3a31!important;
}

/* Kleine Icons ganz rechts */
.site-header .header-tools{
  position:absolute!important;
  right:54px!important;
  top:0!important;
  height:54px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  z-index:115!important;
}
.site-header .header-tool{
  position:relative!important;
  width:32px!important;
  height:54px!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#f0f0ee!important;
  background:transparent!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:17px!important;
  text-decoration:none!important;
}
.site-header .header-tool:hover{color:#ed2d26!important}
.site-header .header-account span{display:none!important}
.site-header .header-bell::after{
  content:""!important;
  position:absolute!important;
  right:4px!important;
  top:14px!important;
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#ed2d26!important;
}

/* Die bestehende mobile Menüfunktion bleibt erhalten */
@media(max-width:1100px){
  .site-header .site-brand-link{
    left:30px!important;
    width:270px!important;
  }
  .site-header .site-brand-image{
    width:270px!important;
    max-width:270px!important;
  }
  .site-header .main-nav{
    left:350px!important;
    width:500px!important;
  }
  .site-header .main-nav a{
    padding:0 8px!important;
    font-size:11px!important;
  }
  .site-header .nav-cta{
    display:none!important;
  }
  .site-header .header-tools{
    right:24px!important;
  }
}
@media(max-width:760px){
  .site-header,
  .site-header .nav{
    height:62px!important;
    min-height:62px!important;
    max-height:62px!important;
  }
  .site-header .site-brand-link{
    left:18px!important;
    top:0!important;
    width:205px!important;
    height:62px!important;
    transform:translate3d(var(--logo-mobile-x,0px),var(--logo-mobile-y,0px),0)!important;
  }
  .site-header .site-brand-image{
    width:min(var(--logo-mobile-width,205px),205px)!important;
    max-width:205px!important;
  }
  .site-header .main-nav{
    display:none!important;
  }
  .site-header .header-tools{
    display:none!important;
  }
  .site-header .nav-cta{
    display:none!important;
  }
  .site-header .menu-btn{
    display:block!important;
    position:absolute!important;
    right:16px!important;
    top:0!important;
    width:42px!important;
    height:62px!important;
    margin:0!important;
    padding:0!important;
    color:#fff!important;
    background:transparent!important;
    border:0!important;
    font-size:27px!important;
    line-height:1!important;
  }
}

/* =========================================================
   V40 – REFERENZ-DESIGN: NAVIGATION + SERVICEBOXEN
   Grundlage ist das vom Nutzer gelieferte Referenzbild.
   Kein zusätzliches Header-Foto.
   ========================================================= */

/* Header: flach, kompakt, Logo links, Navigation mittig */
.site-header{
  position:relative!important;
  height:52px!important;
  min-height:52px!important;
  max-height:52px!important;
  background:#080a0c!important;
  border-bottom:1px solid #202529!important;
  box-shadow:none!important;
  overflow:visible!important;
}
.site-header .nav{
  width:100%!important;
  max-width:none!important;
  height:52px!important;
  min-height:52px!important;
  padding:0 54px!important;
  margin:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  position:relative!important;
}

/* Logo der vorherigen Version */
.site-header .site-brand-link{
  position:absolute!important;
  left:54px!important;
  top:0!important;
  width:250px!important;
  height:52px!important;
  min-height:52px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  transform:translate3d(var(--logo-x,0px),var(--logo-y,0px),0)!important;
  z-index:20!important;
}
.site-header .site-brand-image{
  display:block!important;
  width:250px!important;
  max-width:250px!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* Hauptnavigation wie in der Referenz */
.site-header .main-nav{
  position:absolute!important;
  left:455px!important;
  top:0!important;
  width:auto!important;
  height:52px!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:0!important;
  white-space:nowrap!important;
  z-index:15!important;
}
.site-header .main-nav a{
  position:relative!important;
  height:52px!important;
  padding:0 17px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#f5f5f3!important;
  background:transparent!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.65px!important;
  text-decoration:none!important;
}
.site-header .main-nav a::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:13px!important;
  width:0!important;
  height:3px!important;
  background:#ed2d26!important;
  transform:translateX(-50%)!important;
}
.site-header .main-nav a:hover,
.site-header .main-nav a.is-active{color:#ed2d26!important}
.site-header .main-nav a:hover::after,
.site-header .main-nav a.is-active::after{width:29px!important}

/* Termin-Button */
.site-header .nav-cta{
  position:absolute!important;
  left:calc(100% - 112px)!important;
  transform:translateX(-100%)!important;
  top:7px!important;
  height:38px!important;
  min-width:162px!important;
  margin:0!important;
  padding:0 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  background:#ed2d26!important;
  border:1px solid #ed2d26!important;
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.65px!important;
  text-decoration:none!important;
}

/* Rechte Schnellzugriffe */
.site-header .header-tools{
  position:absolute!important;
  right:52px!important;
  top:0!important;
  height:52px!important;
  display:flex!important;
  align-items:center!important;
  gap:5px!important;
  margin:0!important;
  z-index:20!important;
}
.site-header .header-tool{
  position:relative!important;
  width:31px!important;
  height:52px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#f3f3f1!important;
  background:transparent!important;
  text-decoration:none!important;
  font-size:17px!important;
}
.site-header .header-tool:hover{color:#ed2d26!important}
.site-header .header-tool .tool-icon{display:block!important}
.site-header .header-tool .tool-label{
  display:none!important;
}
.site-header .header-account{
  width:74px!important;
  justify-content:flex-start!important;
  gap:6px!important;
}
.site-header .header-account .tool-label{
  display:block!important;
  font-size:11px!important;
  color:#eee!important;
  white-space:nowrap!important;
}
.site-header .header-bell::after{
  content:""!important;
  position:absolute!important;
  right:3px!important;
  top:11px!important;
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#ed2d26!important;
}

/* =========================================================
   SERVICEBOXEN – sechs Boxen wie im Referenzbild
   ========================================================= */
.reference-services{
  position:relative!important;
  z-index:5!important;
  margin:0!important;
  padding:10px 0 12px!important;
  background:#080a0c!important;
  border-top:1px solid #262c30!important;
  border-bottom:1px solid #262c30!important;
}
.reference-services-grid{
  width:calc(100% - 108px)!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
}
.reference-service{
  min-width:0!important;
  height:62px!important;
  border:1px solid #292f33!important;
  background:linear-gradient(180deg,#101316,#0b0d0f)!important;
  box-sizing:border-box!important;
  transition:border-color .18s ease,background .18s ease,transform .18s ease!important;
}
.reference-service:hover{
  border-color:#4a5054!important;
  background:#121619!important;
  transform:translateY(-1px)!important;
}
.reference-service>a{
  width:100%!important;
  height:100%!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 15px!important;
  box-sizing:border-box!important;
  color:#fff!important;
  text-decoration:none!important;
}
.reference-service-icon{
  flex:0 0 30px!important;
  width:30px!important;
  height:30px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#ef3029!important;
  font-size:25px!important;
  line-height:1!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:900!important;
}
.reference-service-copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
}
.reference-service-copy strong{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#f4f4f2!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:900!important;
  letter-spacing:.2px!important;
}
.reference-service-copy small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#8f989e!important;
  font-size:9px!important;
  line-height:1.1!important;
}

/* Die alte Überschrift des Leistungsbereichs wird nicht mehr dargestellt. */
.reference-services + #fahrzeuge{padding-top:70px!important}

/* Responsive */
@media(max-width:1250px){
  .site-header .main-nav{left:350px!important}
  .site-header .main-nav a{padding:0 11px!important;font-size:11px!important}
  .site-header .site-brand-link{left:35px!important;width:230px!important}
  .site-header .site-brand-image{width:230px!important;max-width:230px!important}
  .site-header .nav-cta{display:none!important}
  .site-header .header-tools{right:25px!important}
  .reference-services-grid{width:calc(100% - 50px)!important}
  .reference-service>a{padding:0 10px!important;gap:8px!important}
  .reference-service-icon{flex-basis:26px!important;width:26px!important;font-size:21px!important}
}
@media(max-width:900px){
  .site-header,.site-header .nav{height:64px!important;min-height:64px!important}
  .site-header .site-brand-link{
    left:20px!important;width:205px!important;height:64px!important;min-height:64px!important;
    transform:translate3d(var(--logo-mobile-x,0px),var(--logo-mobile-y,0px),0)!important;
  }
  .site-header .site-brand-image{width:205px!important;max-width:205px!important}
  .site-header .main-nav{display:none!important}
  .site-header .header-tools{display:none!important}
  .site-header .nav-cta{display:none!important}
  .site-header .menu-btn{
    display:block!important;position:absolute!important;right:18px!important;top:0!important;
    width:42px!important;height:64px!important;margin:0!important;padding:0!important;
  }
  .reference-services-grid{
    width:calc(100% - 30px)!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  .reference-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .reference-service{height:60px!important}
  .reference-service-copy strong{font-size:10px!important}
}

/* V41 FINAL – Kopfbereich nach Referenzbild */
.site-header{
  height:58px!important;
  min-height:58px!important;
  max-height:58px!important;
}
.site-header .nav{
  height:58px!important;
  min-height:58px!important;
  padding-left:54px!important;
  padding-right:54px!important;
}
.site-header .site-brand-link{
  left:54px!important;
  top:0!important;
  width:255px!important;
  height:58px!important;
}
.site-header .site-brand-image{
  width:255px!important;
  max-width:255px!important;
}
.site-header .main-nav{
  left:455px!important;
  height:58px!important;
}
.site-header .main-nav a{
  height:58px!important;
  padding-left:15px!important;
  padding-right:15px!important;
}
.site-header .nav-cta{
  top:8px!important;
  height:40px!important;
  min-width:162px!important;
}
.site-header .header-tools{
  right:42px!important;
  height:58px!important;
}

/* Service-Leiste direkt unter dem Kopf-/Startbereich */
.reference-services{
  padding:10px 0 12px!important;
}
.reference-services-grid{
  width:calc(100% - 108px)!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
}
.reference-service{
  height:64px!important;
}
.reference-service>a{
  padding:0 14px!important;
}
.reference-service-icon{
  color:#ef3029!important;
}

/* Keine alte Leistungsdarstellung doppelt unter den neuen Boxen */
.reference-services + #fahrzeuge .section-bar{
  margin-top:0!important;
}

/* Desktop ab 1400px: die Referenz erhält ihren großzügigen horizontalen Aufbau */
@media(min-width:1400px){
  .site-header .main-nav{left:54%!important;transform:translateX(-50%)!important}
  .site-header .nav-cta{left:auto!important;right:190px!important;transform:none!important}
  .site-header .header-tools{right:42px!important}
}

/* Mittelgroße Displays */
@media(min-width:901px) and (max-width:1399px){
  .site-header .main-nav{left:390px!important}
  .site-header .main-nav a{padding-left:9px!important;padding-right:9px!important;font-size:11px!important}
  .site-header .nav-cta{right:105px!important;left:auto!important;transform:none!important;min-width:145px!important}
  .site-header .header-tools{right:12px!important}
}

/* =========================================================
   V42 – NORMALE WEBSITE / KOPFBEREICH WIE REFERENZ 3
   ========================================================= */
body{
  background:#090a0c!important;
  overflow-x:hidden!important;
}

/* Header exactly compact; logo and nav on one line */
.site-header{
  height:54px!important;
  min-height:54px!important;
  max-height:54px!important;
  background:rgba(6,8,10,.97)!important;
  border-bottom:1px solid #24282c!important;
}
.site-header .nav{
  height:54px!important;
  min-height:54px!important;
  padding:0 24px!important;
}
.site-header .site-brand-link{
  left:38px!important;
  top:0!important;
  width:280px!important;
  height:54px!important;
}
.site-header .site-brand-image{
  width:280px!important;
  max-width:280px!important;
  max-height:none!important;
}
.site-header .main-nav{
  left:430px!important;
  top:0!important;
  height:54px!important;
}
.site-header .main-nav a{
  height:54px!important;
  padding:0 17px!important;
  font-size:12px!important;
  letter-spacing:.5px!important;
}
.site-header .nav-cta{
  top:6px!important;
  right:145px!important;
  left:auto!important;
  transform:none!important;
  height:42px!important;
  min-width:155px!important;
}
.site-header .header-tools{
  right:20px!important;
  height:54px!important;
}

/* Hero: normal website hero, same proportions and composition as reference */
#start.hero{
  min-height:280px!important;
  height:280px!important;
  background:
    linear-gradient(90deg,rgba(5,7,9,.76) 0%,rgba(5,7,9,.47) 38%,rgba(5,7,9,.16) 72%,rgba(5,7,9,.28) 100%),
    none!important;
  overflow:hidden!important;
}
#start.hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(90deg,rgba(0,0,0,.45),transparent 55%),linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.28))!important;
  opacity:1!important;
}
#start .hero-grid{
  background-size:45px 45px!important;
  opacity:.18!important;
}
#start .hero-inner{
  min-height:280px!important;
  height:280px!important;
  width:calc(100% - 48px)!important;
  max-width:none!important;
  margin:0 24px!important;
  display:flex!important;
  align-items:center!important;
}
#start .hero-copy{
  padding-top:5px!important;
  max-width:650px!important;
}
#start .kicker{
  font-size:11px!important;
  letter-spacing:4px!important;
  margin-bottom:8px!important;
}
#start .hero h1{
  margin:7px 0 10px!important;
  font-size:clamp(35px,4.1vw,59px)!important;
  line-height:.9!important;
  letter-spacing:-1.8px!important;
}
#start .hero p{
  margin:0!important;
  font-size:14px!important;
  letter-spacing:.4px!important;
}
#start .hero-actions{
  margin-top:16px!important;
  gap:8px!important;
}
#start .hero-actions .btn{
  min-height:34px!important;
  padding:0 15px!important;
  font-size:10px!important;
}
#start .hero-badge{
  right:9%!important;
  bottom:10%!important;
  width:112px!important;
  height:112px!important;
  opacity:.85!important;
}
#start .hero-badge b{font-size:30px!important}
#start .speed-lines{
  right:-3%!important;
  bottom:25px!important;
  width:46%!important;
  height:100px!important;
}

/* Service boxes directly below hero, six-column reference layout */
.reference-services{
  padding:10px 0 10px!important;
  background:#090b0d!important;
  border-top:1px solid #272c30!important;
  border-bottom:1px solid #272c30!important;
}
.reference-services-grid{
  width:calc(100% - 44px)!important;
  margin:0 22px!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
}
.reference-service{
  height:64px!important;
  min-height:64px!important;
}
.reference-service>a{
  padding:0 12px!important;
  gap:9px!important;
}
.reference-service-icon{
  flex:0 0 27px!important;
  width:27px!important;
  height:27px!important;
  font-size:23px!important;
}
.reference-service-copy{gap:3px!important}
.reference-service-copy strong{font-size:11px!important}
.reference-service-copy small{font-size:9px!important}

/* The normal content starts after the reference service strip. */
.intro{
  padding-top:72px!important;
  padding-bottom:72px!important;
}

/* Desktop: keep everything in the same visual order as reference. */
@media(min-width:1400px){
  .site-header .main-nav{
    left:50%!important;
    transform:translateX(-50%)!important;
  }
}

/* Tablet */
@media(max-width:1050px){
  .site-header .site-brand-link{left:18px!important;width:225px!important}
  .site-header .site-brand-image{width:225px!important;max-width:225px!important}
  .site-header .main-nav{left:310px!important}
  .site-header .main-nav a{padding:0 8px!important;font-size:10px!important}
  .site-header .nav-cta{display:none!important}
  .site-header .header-tools{right:12px!important}
  .reference-services-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  .site-header,.site-header .nav{height:62px!important;min-height:62px!important}
  .site-header .site-brand-link{
    left:12px!important;width:205px!important;height:62px!important;
    transform:translate3d(var(--logo-mobile-x,0px),var(--logo-mobile-y,0px),0)!important;
  }
  .site-header .site-brand-image{width:205px!important;max-width:205px!important}
  .site-header .main-nav,.site-header .nav-cta,.site-header .header-tools{display:none!important}
  .site-header .menu-btn{display:block!important;position:absolute!important;right:12px!important;top:0!important;width:42px!important;height:62px!important}
  #start.hero,#start .hero-inner{height:330px!important;min-height:330px!important}
  #start.hero{background-position:center!important}
  #start .hero-inner{width:calc(100% - 30px)!important;margin:0 15px!important}
  #start .hero h1{font-size:37px!important}
  #start .hero-copy{max-width:95%!important}
  #start .hero-badge{display:none!important}
  .reference-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:calc(100% - 20px)!important;margin:0 10px!important}
}

/* V43 – Header/Logo und kompakter Hero
   Finale Korrektur nach Referenz: Logo sichtbar oben links, Hero deutlich kompakter. */
.site-header{
  height:72px!important;
  min-height:72px!important;
  max-height:72px!important;
}
.site-header .nav{
  height:72px!important;
  min-height:72px!important;
  padding:0 28px!important;
}
.site-header .site-brand-link{
  left:34px!important;
  top:-6px!important;
  width:270px!important;
  height:78px!important;
  min-height:78px!important;
  transform:translate3d(clamp(-55px,var(--logo-x,0px),35px),clamp(-8px,var(--logo-y,0px),12px),0)!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
}
.site-header .site-brand-image{
  display:block!important;
  width:255px!important;
  max-width:255px!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}
.site-header .main-nav{
  top:0!important;
  height:72px!important;
  left:calc(50% - 285px)!important;
}
.site-header .main-nav a{height:72px!important}
.site-header .nav-cta{top:15px!important;height:40px!important}
.site-header .header-tools{height:72px!important}
.site-header .header-tool{height:72px!important}

.hero{
  min-height:500px!important;
  height:500px!important;
}
.hero-inner{
  min-height:500px!important;
  height:500px!important;
  align-items:center!important;
}
.hero-copy{padding-top:0!important;max-width:980px!important}
.hero h1{
  font-size:clamp(48px,6vw,78px)!important;
  line-height:.9!important;
  letter-spacing:-3px!important;
  margin:14px 0!important;
}
.hero p{font-size:16px!important;margin:0!important}
.hero-actions{margin-top:22px!important}
.hero-badge{width:140px!important;height:140px!important;right:10%!important;bottom:11%!important}
.hero-badge b{font-size:38px!important}
.speed-lines{bottom:45px!important;height:130px!important}

.reference-services{
  padding:10px 0 12px!important;
}
.reference-services-grid{
  gap:8px!important;
}

@media(max-width:1250px){
  .site-header .site-brand-link{left:25px!important;width:235px!important}
  .site-header .site-brand-image{width:225px!important;max-width:225px!important}
  .site-header .main-nav{left:330px!important}
}
@media(max-width:900px){
  .site-header,.site-header .nav{height:68px!important;min-height:68px!important}
  .site-header .site-brand-link{left:18px!important;top:-4px!important;width:205px!important;height:74px!important;min-height:74px!important;transform:translate3d(clamp(-35px,var(--logo-mobile-x,0px),25px),clamp(-8px,var(--logo-mobile-y,0px),10px),0)!important}
  .site-header .site-brand-image{width:195px!important;max-width:195px!important}
  .hero,.hero-inner{height:450px!important;min-height:450px!important}
}
@media(max-width:760px){
  .site-header,.site-header .nav{height:64px!important;min-height:64px!important}
  .site-header .site-brand-link{left:12px!important;top:-2px!important;width:180px!important;height:68px!important;min-height:68px!important}
  .site-header .site-brand-image{width:175px!important;max-width:175px!important}
  .hero,.hero-inner{height:420px!important;min-height:420px!important}
  .hero h1{font-size:clamp(38px,10vw,58px)!important}
  .hero-badge{width:100px!important;height:100px!important;right:7%!important}
}

/* =========================================================
   V44 – SAUBERER KOPFBEREICH / HERO NEUAUFBAU
   Logo vollständig sichtbar, kompakter Hero, stabile Desktop- und
   Mobile-Geometrie. Die bisherigen Positionswerte werden nicht mehr
   dazu verwendet, das Logo aus dem sichtbaren Bereich zu schieben.
   ========================================================= */
.site-header{
  height:74px!important;
  min-height:74px!important;
  max-height:74px!important;
  overflow:visible!important;
}
.site-header .nav{
  width:100%!important;
  max-width:none!important;
  height:74px!important;
  min-height:74px!important;
  padding:0 28px!important;
  margin:0!important;
  position:relative!important;
  display:flex!important;
  align-items:center!important;
}
.site-header .site-brand-link{
  position:absolute!important;
  left:28px!important;
  top:0!important;
  width:220px!important;
  height:74px!important;
  min-height:74px!important;
  margin:0!important;
  padding:0!important;
  transform:translate3d(clamp(-8px,var(--logo-x,0px),18px),clamp(-2px,var(--logo-y,0px),4px),0)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
  z-index:30!important;
}
.site-header .site-brand-image{
  width:220px!important;
  max-width:220px!important;
  height:auto!important;
  max-height:68px!important;
  object-fit:contain!important;
  object-position:left center!important;
  display:block!important;
}
.site-header .main-nav{
  position:absolute!important;
  left:50%!important;
  top:0!important;
  transform:translateX(-50%)!important;
  height:74px!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
  white-space:nowrap!important;
  z-index:20!important;
}
.site-header .main-nav a{
  height:74px!important;
  padding:0 16px!important;
  font-size:11px!important;
  letter-spacing:.8px!important;
}
.site-header .nav-cta{
  position:absolute!important;
  right:92px!important;
  left:auto!important;
  top:17px!important;
  transform:none!important;
  height:40px!important;
  min-width:148px!important;
  margin:0!important;
  padding:0 14px!important;
  font-size:10px!important;
  z-index:25!important;
}
.site-header .header-tools{
  position:absolute!important;
  right:20px!important;
  top:0!important;
  height:74px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  z-index:25!important;
}
.site-header .header-tool{height:74px!important}

/* Kompakter, sauberer Hero */
#start.hero{
  height:350px!important;
  min-height:350px!important;
  max-height:350px!important;
  background:#090a0c!important;
  overflow:hidden!important;
}
#start .hero-inner{
  width:100%!important;
  max-width:1220px!important;
  height:350px!important;
  min-height:350px!important;
  margin:0 auto!important;
  padding:0 24px!important;
  display:flex!important;
  align-items:center!important;
  position:relative!important;
}
#start .hero-copy{
  width:min(820px,72%)!important;
  max-width:820px!important;
  min-width:0!important;
  padding:0!important;
  position:relative!important;
  z-index:4!important;
}
#start .kicker{font-size:10px!important;letter-spacing:3px!important;margin-bottom:7px!important}
#start .hero h1{
  width:100%!important;
  max-width:820px!important;
  font-size:clamp(44px,4.4vw,66px)!important;
  line-height:.92!important;
  letter-spacing:-2.5px!important;
  margin:8px 0 12px!important;
  white-space:normal!important;
}
#start .hero p{font-size:15px!important;margin:0!important}
#start .hero-actions{margin-top:18px!important}
#start .hero-actions .btn{min-height:36px!important;padding:0 15px!important;font-size:10px!important}
#start .hero-badge{
  width:110px!important;
  height:110px!important;
  right:11%!important;
  bottom:12%!important;
  z-index:3!important;
  opacity:.82!important;
}
#start .hero-badge b{font-size:30px!important}
#start .speed-lines{right:-3%!important;bottom:20px!important;width:45%!important;height:105px!important;opacity:.55!important}

/* Leistungsboxen sauber an den Hero anschließen */
.reference-services{
  padding:9px 0 10px!important;
  margin:0!important;
}
.reference-services-grid{
  width:calc(100% - 48px)!important;
  margin:0 24px!important;
  padding:0!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:8px!important;
}
.reference-service{height:62px!important;min-height:62px!important}
.reference-service>a{padding:0 12px!important;gap:8px!important}
.reference-service-icon{flex:0 0 26px!important;width:26px!important;font-size:21px!important}
.reference-service-copy strong{font-size:10px!important}
.reference-service-copy small{font-size:8px!important}

@media(max-width:1250px) and (min-width:901px){
  .site-header .site-brand-link{left:20px!important;width:205px!important}
  .site-header .site-brand-image{width:205px!important;max-width:205px!important}
  .site-header .main-nav a{padding:0 10px!important;font-size:10px!important}
  .site-header .nav-cta{right:80px!important;min-width:132px!important}
  .site-header .header-tools{right:10px!important}
  #start .hero-copy{width:min(700px,68%)!important}
  #start .hero h1{font-size:52px!important}
}
@media(max-width:900px){
  .site-header,.site-header .nav{height:66px!important;min-height:66px!important;max-height:66px!important}
  .site-header .site-brand-link{
    left:14px!important;width:190px!important;height:66px!important;min-height:66px!important;
    transform:translate3d(clamp(-5px,var(--logo-mobile-x,0px),8px),clamp(-2px,var(--logo-mobile-y,0px),3px),0)!important;
  }
  .site-header .site-brand-image{width:190px!important;max-width:190px!important;max-height:61px!important}
  .site-header .main-nav,.site-header .nav-cta,.site-header .header-tools{display:none!important}
  .site-header .menu-btn{display:block!important;position:absolute!important;right:15px!important;top:0!important;width:42px!important;height:66px!important;margin:0!important}
  #start.hero{height:330px!important;min-height:330px!important;max-height:330px!important}
  #start .hero-inner{height:330px!important;min-height:330px!important;padding:0 18px!important}
  #start .hero-copy{width:100%!important;max-width:100%!important}
  #start .hero h1{font-size:clamp(38px,8vw,54px)!important;max-width:650px!important}
  #start .hero-badge{display:none!important}
  .reference-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;width:calc(100% - 28px)!important;margin:0 14px!important}
}
@media(max-width:560px){
  .site-header .site-brand-link{left:10px!important;width:165px!important}
  .site-header .site-brand-image{width:165px!important;max-width:165px!important}
  #start.hero{height:300px!important;min-height:300px!important;max-height:300px!important}
  #start .hero-inner{height:300px!important;min-height:300px!important}
  #start .hero h1{font-size:37px!important;letter-spacing:-1.5px!important}
  #start .hero p{font-size:13px!important}
  .reference-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:calc(100% - 18px)!important;margin:0 9px!important}
  .reference-service{height:58px!important;min-height:58px!important}
}

/* V45 – final header cleanup: logo stays inside header, right controls never overlap */
.site-header{
  position:relative!important;
  height:92px!important;
  min-height:92px!important;
  max-height:92px!important;
  overflow:visible!important;
}
.site-header .nav{
  height:92px!important;
  min-height:92px!important;
  max-width:none!important;
  padding:0 30px!important;
  overflow:visible!important;
}
.site-header .site-brand-link{
  left:30px!important;
  top:0!important;
  width:285px!important;
  height:92px!important;
  min-height:92px!important;
  max-height:92px!important;
  transform:translate3d(clamp(-4px,var(--logo-x,0px),8px),clamp(-2px,var(--logo-y,0px),2px),0)!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:hidden!important;
  z-index:40!important;
}
.site-header .site-brand-image{
  width:270px!important;
  max-width:270px!important;
  height:auto!important;
  max-height:88px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.site-header .main-nav{
  left:50%!important;
  top:0!important;
  height:92px!important;
  z-index:30!important;
}
.site-header .main-nav a{
  height:92px!important;
  display:flex!important;
  align-items:center!important;
  padding:0 15px!important;
  font-size:11px!important;
}
.site-header .nav-cta{
  right:205px!important;
  top:22px!important;
  height:48px!important;
  min-width:168px!important;
  z-index:45!important;
}
.site-header .header-tools{
  right:24px!important;
  top:0!important;
  height:92px!important;
  z-index:50!important;
  gap:2px!important;
  background:var(--black)!important;
  padding-left:8px!important;
}
.site-header .header-tool{
  height:92px!important;
  display:flex!important;
  align-items:center!important;
}
.site-header .header-account .tool-label{white-space:nowrap!important;margin-left:5px!important}

/* Hero begins cleanly below the complete header */
#start.hero{
  height:320px!important;
  min-height:320px!important;
  max-height:320px!important;
}
#start .hero-inner{
  height:320px!important;
  min-height:320px!important;
}
#start .hero-copy{padding-top:0!important}
#start .hero h1{font-size:clamp(42px,4.0vw,62px)!important;line-height:.93!important}

@media(max-width:1250px) and (min-width:901px){
  .site-header .site-brand-link{left:20px!important;width:235px!important}
  .site-header .site-brand-image{width:225px!important;max-width:225px!important}
  .site-header .main-nav a{padding:0 9px!important;font-size:10px!important}
  .site-header .nav-cta{right:175px!important;min-width:145px!important}
  .site-header .header-tools{right:10px!important}
}
@media(max-width:900px){
  .site-header,.site-header .nav{height:70px!important;min-height:70px!important;max-height:70px!important}
  .site-header .site-brand-link{left:12px!important;width:205px!important;height:70px!important;min-height:70px!important;max-height:70px!important}
  .site-header .site-brand-image{width:200px!important;max-width:200px!important;max-height:66px!important}
  #start.hero,#start .hero-inner{height:310px!important;min-height:310px!important;max-height:310px!important}
}
@media(max-width:560px){
  .site-header .site-brand-link{left:8px!important;width:175px!important}
  .site-header .site-brand-image{width:170px!important;max-width:170px!important;max-height:62px!important}
}


/* V46 – rechte Schnellzugriffe entfernt: Suche, Mein Konto, Nachricht und Benachrichtigungen */
.site-header .header-tools{display:none!important;}

/* V51 Hero-Zusatztext */
.hero-extra-text{max-width:720px;margin:14px 0 4px;color:#c8d0d5;font-size:16px;line-height:1.55;}
@media(max-width:760px){.hero-extra-text{font-size:14px;line-height:1.5;margin-top:10px;}}

.hero-extra-text{max-width:760px;margin:14px 0 0;color:#d3d9dc;font-size:16px;line-height:1.65}.hero-extra-text a{color:#ff3b32;text-decoration:underline;text-underline-offset:2px}.hero-extra-text p{margin:0 0 8px}.hero-extra-text span{display:inline}.hero-extra-text strong{font-weight:800}.hero-extra-text em{font-style:italic}.hero-extra-text u{text-decoration:underline}

/* V55 – mehr Platz im Header für das Aitrachbikes-Logo */
.site-header{
    min-height:170px;
}
.site-header .nav{
    height:170px;
    align-items:center;
}
.site-header .site-brand-link{
    height:170px;
    min-width:430px;
    display:flex;
    align-items:center;
}
.site-header .site-brand-image{
    width:min(var(--logo-width,500px),500px)!important;
    max-width:500px!important;
    max-height:150px!important;
    height:auto!important;
    object-fit:contain;
    object-position:left center;
}
@media(max-width:1100px){
    .site-header{min-height:150px}
    .site-header .nav{height:150px}
    .site-header .site-brand-link{height:150px;min-width:360px}
    .site-header .site-brand-image{max-height:125px!important;width:min(var(--logo-width,430px),430px)!important}
}
@media(max-width:800px){
    .site-header{min-height:115px}
    .site-header .nav{height:115px}
    .site-header .site-brand-link{height:115px;min-width:0}
    .site-header .site-brand-image{max-height:90px!important;width:min(var(--logo-mobile-width,290px),290px)!important}
}
@media(max-width:560px){
    .site-header{min-height:96px}
    .site-header .nav{height:96px}
    .site-header .site-brand-link{height:96px}
    .site-header .site-brand-image{max-height:76px!important;width:min(var(--logo-mobile-width,240px),240px)!important}
}

/* V56 – Headerhöhe final korrigiert: Logo vollständig sichtbar, Hero beginnt darunter */
.site-header{
  height:190px!important;
  min-height:190px!important;
  max-height:190px!important;
  overflow:visible!important;
}
.site-header .nav{
  height:190px!important;
  min-height:190px!important;
  max-height:190px!important;
  align-items:center!important;
  position:relative!important;
}
.site-header .site-brand-link{
  position:absolute!important;
  left:28px!important;
  top:0!important;
  width:500px!important;
  height:190px!important;
  min-height:190px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
  z-index:40!important;
  transform:translate3d(clamp(-120px,var(--logo-x,0px),60px),max(0px,var(--logo-y,0px)),0)!important;
}
.site-header .site-brand-image{
  display:block!important;
  width:min(var(--logo-width,500px),500px)!important;
  max-width:500px!important;
  height:auto!important;
  max-height:175px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.site-header .main-nav{
  height:190px!important;
  top:0!important;
  align-items:center!important;
  z-index:35!important;
}
.site-header .main-nav a{height:auto!important}
.site-header .nav-cta{z-index:45!important}

@media(max-width:1100px){
  .site-header,.site-header .nav{height:170px!important;min-height:170px!important;max-height:170px!important}
  .site-header .site-brand-link{height:170px!important;min-height:170px!important;width:430px!important;transform:translate3d(clamp(-80px,var(--logo-x,0px),40px),max(0px,var(--logo-y,0px)),0)!important}
  .site-header .site-brand-image{width:min(var(--logo-width,430px),430px)!important;max-width:430px!important;max-height:155px!important}
  .site-header .main-nav{height:170px!important}
}
@media(max-width:800px){
  .site-header,.site-header .nav{height:125px!important;min-height:125px!important;max-height:125px!important}
  .site-header .site-brand-link{height:125px!important;min-height:125px!important;width:300px!important;transform:translate3d(clamp(-50px,var(--logo-mobile-x,0px),30px),max(0px,var(--logo-mobile-y,0px)),0)!important}
  .site-header .site-brand-image{width:min(var(--logo-mobile-width,290px),290px)!important;max-width:290px!important;max-height:112px!important}
  .site-header .main-nav{height:125px!important}
}
@media(max-width:560px){
  .site-header,.site-header .nav{height:105px!important;min-height:105px!important;max-height:105px!important}
  .site-header .site-brand-link{height:105px!important;min-height:105px!important;width:250px!important}
  .site-header .site-brand-image{width:min(var(--logo-mobile-width,240px),240px)!important;max-width:240px!important;max-height:92px!important}
  .site-header .main-nav{height:105px!important}
}
