:root{--bg:#101114;--panel:#1b1d21;--orange:#ff881b;--muted:#a7a8ae}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:white;font:16px system-ui,Arial,sans-serif}a{color:inherit;text-decoration:none}header{position:sticky;top:0;z-index:5;background:#101114ed;border-bottom:1px solid #303136}.nav{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:12px 22px;gap:20px}.brand{font-weight:900;letter-spacing:.05em}.brand span{color:var(--orange)}nav{display:flex;gap:24px;flex-wrap:wrap}nav a:hover{color:var(--orange)}.hero{background:linear-gradient(90deg,#08090bed,#08090b88),url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?w=1800') center/cover;min-height:510px;display:flex;align-items:center}.wrap{max-width:1200px;margin:auto;padding:0 22px}.hero h1{font-size:clamp(42px,7vw,88px);line-height:1.02;max-width:850px;margin:0 0 22px;font-weight:950;text-transform:uppercase}.hero h1 em{font-style:normal;color:var(--orange)}.hero p{color:#ddd;font-size:20px;max-width:560px}.btn{background:var(--orange);color:#111;border:0;border-radius:6px;padding:14px 22px;font-weight:800;cursor:pointer;display:inline-block}.btn:hover{background:#ffae5d}.ghost{background:#292b30;color:white}.section{padding:75px 0}.eyebrow{color:var(--orange);font-weight:800;letter-spacing:.17em;text-transform:uppercase}.section h2{font-size:clamp(28px,4vw,44px);margin:8px 0 26px}.controls{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}input,select{background:#22252a;color:white;border:1px solid #40434a;padding:14px;border-radius:6px;font:inherit;min-width:150px}input{flex:1}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.bike{background:var(--panel);border:1px solid #303238;border-radius:12px;overflow:hidden;display:flex;flex-direction:column}.bike .photo{height:205px;background:linear-gradient(135deg,#353941,#17191c);display:flex;align-items:center;justify-content:center;color:#85878e;position:relative}.photo svg{width:115px;opacity:.55}.tag{position:absolute;left:15px;top:15px;background:var(--orange);color:#111;padding:6px 10px;font-weight:800;font-size:12px;border-radius:3px}.bike .info{padding:22px;flex:1;display:flex;flex-direction:column}.bike h3{font-size:23px;margin:0 0 14px}.specs{color:var(--muted);font-size:14px;line-height:1.8}.price{font-size:28px;font-weight:900;color:var(--orange);margin:20px 0}.bike .btn{margin-top:auto;text-align:center}.featuregrid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.feature{background:#1b1d21;padding:28px;border-radius:10px}.feature b{color:var(--orange);font-size:22px}.feature h3{margin-bottom:8px}.feature p,.muted{color:var(--muted);line-height:1.7}.about{background:#191b1f}.contact{background:linear-gradient(135deg,#24272c,#111215)}footer{padding:30px 22px;border-top:1px solid #303136;color:var(--muted);text-align:center}.notice{font-size:13px;color:#b9bac0}.hidden{display:none!important}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.grid,.featuregrid{grid-template-columns:1fr}nav{gap:10px;font-size:13px}.hero{min-height:460px}.section{padding:50px 0}} .detail{max-width:1050px;margin:35px auto;padding:25px;background:#1b1d21;border-radius:14px}.detail img{width:100%;max-height:520px;object-fit:contain;background:#101114;border-radius:8px}.thumbs{display:flex;gap:9px;overflow:auto;margin:12px 0}.thumbs img{width:105px;height:72px;object-fit:cover;cursor:pointer;border:2px solid transparent}.thumbs img:hover{border-color:var(--orange)}.adminpanel{background:#191b1f;border:1px solid #3a3b40;border-radius:12px;padding:22px;margin:24px 0}.adminpanel label{display:block;margin:12px 0 5px;color:#bbb}.adminpanel input,.adminpanel textarea,.adminpanel select{width:100%;max-width:100%;min-width:0}.adminpanel textarea{background:#22252a;color:#fff;border:1px solid #40434a;border-radius:6px;padding:12px;font:inherit;min-height:100px}.adminrows{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.adminactions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.adminlist{display:grid;gap:8px;margin-top:20px}.adminitem{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #444;padding:9px 0}.adminitem button{margin-left:5px}.small{font-size:13px}.bike .photo img{width:100%;height:100%;object-fit:cover}.status{color:#ffb86a}.gallery-placeholder{padding:80px 15px;text-align:center;color:#999;background:#25282d}.hidden{display:none!important}@media(max-width:650px){.adminrows{grid-template-columns:1fr}.adminitem{flex-wrap:wrap}} 
.admin-link{font-weight:700;color:var(--orange)} .photo img{width:100%;height:100%;object-fit:cover} .formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px} .formgrid label{display:block} .formgrid input,.formgrid select,.formgrid textarea{width:100%;margin-top:7px} .msg{padding:14px;background:#293b2d;border:1px solid #547759;border-radius:6px} .danger{background:#963c35;color:white} @media(max-width:650px){.formgrid{grid-template-columns:1fr}}
.contactform{display:grid;gap:12px;max-width:760px;margin:25px 0 45px}.contactform input:not([type=checkbox]),.contactform select,.contactform textarea{width:100%;padding:14px;background:#171a1e;color:#fff;border:1px solid #444;border-radius:8px;font:inherit}.contactform label{font-weight:600}.contactform .consent{font-weight:400;line-height:1.6}.contactform .consent input{margin-right:8px}.trap{position:absolute;left:-9999px}.legal{max-width:880px;line-height:1.8}.legal h2{margin-top:30px}.legal a,.contact a{color:#ff982f}.feature a{overflow-wrap:anywhere}

/* Design 2026 – angelehnt an die freigegebene Vorschau */
:root{--orange:#ff7800;--bg:#101215;--panel:#191c20;--muted:#b7b9bc}body{font-family:Arial,Helvetica,sans-serif;background:#101215} .wide{max-width:1510px;margin:auto;padding-left:24px;padding-right:24px}.topbar{background:#090b0d;border-bottom:1px solid #30343a;font-size:13px}.toplinks{min-height:38px;display:flex;gap:25px;align-items:center}.toplinks a:hover{color:var(--orange)}.topright{margin-left:auto}.topright a{margin:0 7px}header{position:relative;background:#121518;z-index:8}.nav{max-width:1510px;min-height:75px;padding-left:300px;gap:18px}.nav .brand{position:absolute;top:-24px;left:max(20px,calc((100vw - 1480px)/2));z-index:9;width:275px}.brand img{width:100%;filter:drop-shadow(0 4px 6px #000)}.nav nav{gap:20px;align-items:center}.nav nav a{font-size:13px;font-weight:900;text-transform:uppercase;white-space:nowrap}.ebaybtn{background:var(--orange);padding:15px 20px;border-radius:5px;color:white;font-weight:900;white-space:nowrap}.hero{min-height:290px;background:linear-gradient(90deg,#0c0d0f10,#0c0d0f33),url('assets/hero.jpg') center 49%/cover;position:relative}.hero-inner{min-height:290px;display:flex;align-items:center;justify-content:space-between}.hero-brand{width:340px}.hero-brand img{display:none}.hero-copy{text-align:right;margin-left:auto;text-shadow:0 3px 7px #000}.hero h1{font-size:clamp(28px,3.2vw,54px);font-weight:1000;max-width:none;transform:rotate(-2deg);text-transform:uppercase;background:#090a0ddc;padding:12px 25px;line-height:1.1}.hero h1 strong{color:var(--orange)}.hero p{font-size:29px;font-style:italic;color:white;margin:8px 0 18px auto}.stocksection{padding:14px 0;background:#131619}.filterbar{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 1.2fr 1fr auto;gap:12px;margin:0 0 20px}.filterbar input,.filterbar select{width:100%;min-width:0;background:#20252a;border:1px solid #555;border-radius:4px;color:#eee}.filterbar .btn{align-content:center}.categorygrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.category{height:126px;position:relative;display:flex;align-items:flex-end;padding:13px 10px;font-size:14px;font-weight:900;text-shadow:1px 2px 5px #000;background:linear-gradient(0deg,#08090bef,#08090b05),var(--cat) center/cover,#282c30;border:1px solid #51545b;border-radius:4px;overflow:hidden}.category b{font-size:26px;color:var(--orange);margin-left:auto}.ebaycat{background:linear-gradient(135deg,#32383e,#0d1014);font-size:26px;align-items:center;justify-content:center;color:var(--orange);text-shadow:none}.trustbar{border-top:1px solid #373b40;border-bottom:1px solid #373b40;background:#0c0e10}.trustgrid{display:flex;justify-content:space-around;gap:12px;padding-top:17px;padding-bottom:17px}.trustgrid span{color:var(--orange);font-size:26px;display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}.trustgrid b{font-size:14px;color:white}.trustgrid small{font-size:12px;color:#c6c8c9;grid-column:2}.dashboard{padding:12px 0 30px;background:#25292d}.dashgrid{display:grid;grid-template-columns:265px minmax(0,1fr) 245px;gap:12px}.panel{background:#131619;border-radius:5px;padding:13px;min-width:0}.panel h2{font-size:19px;margin:0 0 12px}.locationcard{position:relative;border-radius:5px;overflow:hidden;min-height:170px;margin-bottom:10px;background:#bad8ec;color:#111;padding:11px}.locationcard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58}.locationcard>div{position:relative;text-shadow:0 1px 1px #fff}.locationcard h3{margin:0;font-size:16px}.locationcard p{font-size:13px;line-height:1.45;font-weight:600}.locationcard .btn{font-size:12px;padding:9px 12px;color:white}.panelheading{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid var(--orange);padding-bottom:9px;margin-bottom:12px}.panelheading h2{margin:0}.panelheading small{font-size:11px;color:#aaa;font-weight:normal;margin-left:8px}.panelheading .btn{padding:9px 12px;color:white}.listingpanel .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bike{border-radius:4px;background:#f5f5f5;color:#111}.bike .photo{height:155px;background:#34383c}.bike .info{padding:11px}.bike h3{font-size:16px;margin:0 0 8px}.bike .specs{font-size:12px;color:#555;line-height:1.5}.bike .price{font-size:22px;margin:10px 0;color:#ef7000}.bike .btn{font-size:12px;padding:10px 7px;background:#16191c;color:white}.tag{background:var(--orange);color:white;top:auto;bottom:0;left:0}.contactline{display:flex;align-items:center;gap:12px;margin:21px 0;font-size:13px}.contactline span{color:var(--orange);font-size:25px;width:30px}.contactline a{display:block;margin-top:5px;overflow-wrap:anywhere}.full{display:block;text-align:center;color:white}.tiny{font-size:11px;color:#adb0b4;line-height:1.5}.section{padding:55px 0}.section h2{font-size:35px}.section .wide{max-width:1350px}.aboutrow{display:flex;align-items:center;justify-content:space-between;gap:35px}.aboutrow img{width:250px;max-width:35%}.contactform{max-width:760px}.contactform input{flex:none}.footerlinks{float:right;display:flex;gap:20px}footer{text-align:left;background:#0b0d0f}.contact a{color:#ff982f}
@media(max-width:1250px){.nav{padding-left:210px}.nav .brand{width:190px;top:-5px}.nav nav{gap:10px}.nav nav a{font-size:11px}.dashgrid{grid-template-columns:235px minmax(0,1fr)}.quickcontact{grid-column:1/-1}.quickcontact .contactline{display:inline-flex;margin-right:30px}.categorygrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.toplinks{flex-wrap:wrap;padding-top:8px;padding-bottom:8px;gap:8px 18px}.topright{display:none}.nav{padding-left:20px;flex-wrap:wrap;padding-top:90px}.nav .brand{top:3px;left:20px;width:155px}.nav nav{justify-content:center;flex:1}.ebaybtn{position:absolute;right:20px;top:20px}.filterbar{grid-template-columns:repeat(2,minmax(0,1fr))}.dashgrid{grid-template-columns:1fr}.listingpanel .grid{grid-template-columns:repeat(2,minmax(0,1fr))}.locationpanel{display:grid;grid-template-columns:1fr 1fr;gap:10px}.locationpanel h2,.locationpanel .tiny{grid-column:1/-1}.hero-brand{width:0}.hero h1{font-size:32px}.trustgrid{flex-wrap:wrap}.categorygrid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:550px){.wide{padding-left:12px;padding-right:12px}.categorygrid{grid-template-columns:repeat(2,1fr)}.category{height:105px;font-size:12px}.filterbar{grid-template-columns:1fr 1fr}.filterbar input{grid-column:1/-1}.listingpanel .grid{grid-template-columns:1fr}.locationpanel{grid-template-columns:1fr}.hero-copy{text-align:center}.hero h1{font-size:26px}.hero p{font-size:20px}.trustgrid span{width:44%}.footerlinks{float:none;margin-top:12px;flex-wrap:wrap}.aboutrow img{display:none}}

/* Anhängervermietung und Fanshop */
.rental-section{background:#181b1f}.rental-layout{display:grid;grid-template-columns:minmax(260px,.85fr) 1.15fr;gap:30px;align-items:start}.rental-image{background:#252a2e;padding:12px;border:1px solid #444;border-radius:10px}.rental-image img{display:block;width:100%;height:auto;max-height:390px;object-fit:contain}.rental-fallback{text-align:center;padding:90px 12px;font-size:24px;color:#ddd}.rental-fallback small{font-size:13px}.rental-lead{font-size:19px;line-height:1.65}.rental-prices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.rental-prices>div{background:#101215;border:1px solid #42464b;border-radius:8px;padding:18px 12px;text-align:center}.rental-prices strong{display:block;font-size:30px;color:var(--orange)}.rental-prices span{display:block;font-size:13px;margin-top:5px}.rental-copy p{line-height:1.6}.rental-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:25px}.fan-section{background:linear-gradient(120deg,#1b2026,#0e1013)}.fan-layout{display:flex;justify-content:space-between;align-items:center;gap:30px}.fan-layout p{color:#ccc;line-height:1.7;max-width:700px}.fan-emblem{font-size:29px;font-weight:1000;letter-spacing:.1em;text-align:center;transform:rotate(-5deg);border:4px solid var(--orange);border-radius:12px;padding:22px 35px;line-height:1.15}.fan-emblem strong{color:var(--orange);font-size:44px}@media(max-width:750px){.rental-layout{grid-template-columns:1fr}.rental-prices{grid-template-columns:1fr 1fr 1fr}.fan-emblem{display:none}}@media(max-width:430px){.rental-prices{grid-template-columns:1fr}}

/* Logo im Desktop-Header tiefer positionieren */
@media (min-width: 851px) {
  .nav .brand { top: 14px; }
}

/* Bildschirmoptimierte, rahmenlose Motorradgalerie */
#detailModal{padding:8px!important;overflow-y:auto!important}
#detailModal .detail{width:min(1600px,98vw);max-width:none;margin:0 auto;padding:clamp(12px,2vw,26px);border-radius:10px}
#detailModal #mainPhoto{height:min(76vh,900px);min-height:260px;display:flex;align-items:center;justify-content:center;background:#0c0e11;overflow:hidden}
#detailModal #mainPhoto img{width:100%;height:100%;max-height:none;object-fit:contain;display:block;border:0;box-shadow:none;border-radius:0;background:transparent}
#detailModal .thumbs{margin:9px 0 15px;gap:7px}
#detailModal .thumbs img{width:100px;height:70px;flex:0 0 auto;object-fit:cover;border:0;border-radius:4px;box-shadow:none}
@media(max-width:650px){#detailModal{padding:0!important}#detailModal .detail{width:100%;padding:12px;margin:0;border-radius:0}#detailModal #mainPhoto{height:62dvh;min-height:200px}#detailModal .thumbs img{width:75px;height:54px}}

/* Vollbreites Hauptfoto und mehrzeilige, auswählbare Vorschaubilder */
#detailModal .detail{width:100%;max-width:none;margin:0;padding:clamp(10px,1.2vw,22px)}
#detailModal #mainPhoto{height:auto;min-height:0;width:100%;display:block;background:#0c0e11;overflow:visible;text-align:center}
#detailModal #mainPhoto img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border:0;border-radius:0;box-shadow:none}
#detailModal .thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(95px,1fr));gap:9px;overflow:visible;margin:12px 0 22px}
#detailModal .thumbs img{width:100%;height:76px;object-fit:cover;cursor:pointer;border:3px solid transparent;border-radius:6px;box-shadow:none;transition:border-color .15s,filter .15s}
#detailModal .thumbs img:hover{border-color:#ffba79}
#detailModal .thumbs img.is-active{border-color:var(--orange);box-shadow:0 0 0 2px #ff881b55;filter:brightness(1.1)}
@media(max-width:650px){#detailModal .thumbs{grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:6px}#detailModal .thumbs img{height:58px}#detailModal #mainPhoto{height:auto;min-height:0}}

/* Hauptbilder maximal 1000 px breit, mittig ausgerichtet */
#detailModal #mainPhoto img{max-width:1000px!important;width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}

/* Detailfenster wieder kompakt, Bild maximal 1000px */
#detailModal .detail{width:min(1050px,calc(100vw - 32px))!important;max-width:1050px!important;margin:24px auto!important;padding:25px!important;border-radius:14px!important}
#detailModal #mainPhoto img{max-width:1000px!important;width:100%!important;height:auto!important;margin:0 auto!important}
@media(max-width:650px){#detailModal .detail{width:calc(100vw - 16px)!important;margin:8px auto!important;padding:12px!important}}
/* Ersatzteile / Gebrauchtteile */
.parts-page{padding-top:38px;padding-bottom:70px;min-height:70vh}.parts-page h1{font-size:clamp(32px,4vw,54px);margin:20px 0}.parts-page h1 strong{color:var(--orange,#ff881b)}.parts-page a{color:inherit}.parts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:15px;margin:25px 0 35px}.parts-tile{background:#171a1f;border:1px solid #373b40;border-radius:12px;padding:24px;display:flex;flex-direction:column;gap:10px;text-decoration:none;transition:border-color .15s,transform .15s}.parts-tile:hover{border-color:var(--orange,#ff881b);transform:translateY(-2px)}.parts-tile b{font-size:21px}.parts-tile small{color:#bbb}.parts-tile span{color:var(--orange,#ff881b);margin-top:auto}.parts-tile[hidden],.parts-model-item[hidden]{display:none!important}.parts-search{width:100%;padding:13px;margin:12px 0;background:#14171b;color:white;border:1px solid #666;border-radius:8px}.parts-detail,.parts-form{background:#171a1f;border:1px solid #363b42;border-radius:14px;padding:clamp(18px,3vw,35px);margin:25px 0;max-width:950px}.parts-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:25px}.parts-form label{display:block;margin:12px 0}.parts-form input:not([type=checkbox]),.parts-form textarea,.parts-admin-grid input:not([type=checkbox]),.parts-admin-grid select,.parts-admin-grid textarea{width:100%;padding:12px;background:#101215;color:white;border:1px solid #565c62;border-radius:7px}.parts-privacy{display:flex!important;gap:10px;align-items:flex-start}.parts-footer{text-align:center;padding:25px;background:#15171a}.parts-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.parts-admin-grid label{display:block;margin:12px 0}@media(max-width:750px){.parts-admin-grid{grid-template-columns:1fr}}

/* Ersatzteilseiten: Logo im Kopf kompakt, ohne Überlappung */
.parts-layout header .nav{min-height:92px;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 24px}
.parts-layout header .nav .brand{position:static;display:block;flex:0 0 auto;width:112px;max-width:112px;margin:0}
.parts-layout header .nav .brand img{display:block;width:100%;height:auto;max-height:75px;object-fit:contain}
.parts-layout header .nav nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.parts-layout header .ebaybtn{position:static;flex:0 0 auto}
@media(max-width:700px){.parts-layout header .nav{padding:10px 14px;gap:12px}.parts-layout header .nav .brand{width:90px;max-width:90px}.parts-layout header .nav .brand img{max-height:65px}.parts-layout header .nav nav{gap:10px}.parts-layout header .nav nav a{font-size:12px}.parts-layout header .ebaybtn{padding:10px 12px;font-size:12px}}

/* Verlinkte Service-Kacheln und Über-mich-Seite */
.feature-link{display:block;transition:transform .18s,border-color .18s;border:1px solid transparent;color:inherit}.feature-link:hover,.feature-link:focus-visible{transform:translateY(-3px);border-color:var(--orange);outline:none}.feature-arrow{color:var(--orange);font-weight:800;display:inline-block;margin-top:10px}.about-page{max-width:1020px;margin:auto;padding:50px 24px 85px}.about-page h1{font-size:clamp(34px,5vw,58px);margin:8px 0 20px}.about-page .lead{font-size:20px;color:#dedee1;line-height:1.7}.about-block{background:#1b1d21;border:1px solid #35373d;border-radius:12px;padding:25px 30px;margin:22px 0}.about-block h2{margin:0 0 12px;color:var(--orange)}.about-block p{white-space:pre-line;line-height:1.8;color:#d5d5d9;margin:0}.about-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.about-admin textarea{min-height:155px}

/* Einheitlicher Kopfbereich für sämtliche Backend-Seiten */
.admin-layout .admin-header{position:sticky;top:0;z-index:30;background:#121518;border-bottom:1px solid #30343a}
.admin-layout .admin-header .nav{max-width:1510px;min-height:94px;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.admin-layout .admin-header .brand{position:static;flex:0 0 115px;width:115px;max-width:115px;margin:0;letter-spacing:normal}
.admin-layout .admin-header .brand img{display:block;width:100%;max-height:74px;object-fit:contain;filter:drop-shadow(0 2px 3px #000)}
.admin-layout .admin-header nav{display:flex;align-items:center;gap:12px 22px;flex-wrap:wrap}
.admin-layout .admin-header nav a{font-size:13px;font-weight:800;text-transform:uppercase;white-space:normal}
.admin-layout .admin-header nav a:hover{color:var(--orange)}
.admin-layout main{clear:both}
@media(max-width:760px){.admin-layout .admin-header .nav{padding:10px 14px;gap:8px}.admin-layout .admin-header .brand{flex-basis:85px;width:85px;max-width:85px}.admin-layout .admin-header .brand img{max-height:60px}.admin-layout .admin-header nav{gap:8px 14px}.admin-layout .admin-header nav a{font-size:11px}}

/* Admin: Fotos umbrechen, Startbild und Schnellstatus */
.admin-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px;margin:18px 0 32px;overflow:visible}
.admin-photo-card{min-width:0;background:#1c1e22;border:2px solid #373a40;border-radius:9px;padding:8px;display:flex;flex-direction:column;gap:6px}
.admin-photo-card.cover-selected{border-color:var(--orange);box-shadow:0 0 0 1px #ff881b55}
.admin-photo-card img{width:100%;height:115px;object-fit:contain;background:#101114;border-radius:5px}
.admin-photo-card form{margin:0}.admin-photo-card button{width:100%;padding:9px 4px;font-size:12px}.admin-photo-card .cover-button{opacity:1;background:var(--orange);color:#111;cursor:default}
.admin-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.admin-inline-form{display:inline-flex;margin:0}.admin-inline-form label{display:flex;align-items:center;gap:7px;font-size:13px}.admin-inline-form select{min-width:130px;padding:9px;font-size:13px}.admin-bike-name{display:flex;flex-direction:column;gap:4px}.admin-bike-name span{color:var(--muted);font-size:13px}.adminitem{flex-wrap:wrap}.adminitem .btn{padding:10px 13px}.new-toggle{display:flex!important;align-items:center;gap:10px;color:#fff!important}.new-toggle input{width:auto!important;min-width:0!important;flex:none}
.new-sticker{position:absolute;right:12px;top:12px;z-index:2;transform:rotate(9deg);background:#ff4d00;color:white;font-size:24px;font-weight:1000;padding:10px 16px;border:3px solid white;box-shadow:0 4px 18px #000a;clip-path:polygon(0 10%,12% 0,26% 8%,40% 0,55% 8%,70% 0,85% 8%,100% 0,92% 35%,100% 65%,92% 100%,75% 92%,60% 100%,45% 92%,30% 100%,15% 92%,0 100%,8% 65%,0 35%)}
@media(max-width:650px){.admin-photo-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:9px}.admin-quick-actions{width:100%}.new-sticker{font-size:17px;padding:7px 10px}}

/* Gemeinsame Verwaltungsnavigation und Bild-Massenauswahl */
.admin-layout .admin-header nav a[aria-current="page"]{color:var(--orange);text-decoration:underline;text-underline-offset:6px}
.photo-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:14px 0;padding:13px;background:#202328;border:1px solid #41454b;border-radius:9px}
.photo-toolbar label,.photo-select{display:flex;align-items:center;gap:9px;cursor:pointer}
.photo-toolbar input,.photo-select input{width:18px;height:18px;accent-color:#ff881b}
.photo-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.photo-select{font-size:13px}.photo-manager{min-width:0}.admin-photo-card:has(.photo-check:checked){border-color:#ff881b;background:#32271e}
.admin-layout .admin-header nav{min-width:0;overflow:visible}
@media(max-width:650px){.photo-toolbar{align-items:stretch}.admin-layout .admin-header .nav{align-items:flex-start}.admin-layout .admin-header nav{flex:1 1 220px}}

/* Fahrzeugverwaltung: identischer Seitenkopf und Live-Suche wie Ersatzteile */
.vehicle-admin-page .vehicle-search-label{display:block;font-weight:700;margin-top:18px}.vehicle-admin-page .vehicle-search-item[hidden],#vehicle-search-empty[hidden]{display:none!important}.vehicle-admin-page #vehicle-search-count{margin:0 0 15px}.vehicle-admin-page .adminitem{min-width:0}

/* Hero as approved: preserve screenshot artwork exactly without duplicated live text. */
body.home-approved .hero{background-image:url('assets/hero-approved.jpg')!important;background-position:center center!important;background-size:100% 100%!important;min-height:0!important;height:clamp(220px,17.55vw,390px)!important;}
body.home-approved .hero-inner{min-height:0!important;height:100%!important;position:relative;}
body.home-approved .hero-copy h1,body.home-approved .hero-copy p{display:none!important;}
body.home-approved .hero-copy{position:absolute;inset:0;margin:0!important;pointer-events:none;}
body.home-approved .hero-copy .btn{position:absolute;right:6%;bottom:6%;width:19%;height:18%;opacity:0;pointer-events:auto;}
body.home-approved header .nav .brand{visibility:hidden!important;}
@media(max-width:850px){body.home-approved header .nav .brand{visibility:visible!important}body.home-approved .hero{background-size:cover!important;background-position:center!important;height:280px!important}body.home-approved .hero-copy .btn{right:2%;bottom:5%;width:32%;height:22%;}}

/* Header repair: real logo, real headline, real accessible button */
body.home-approved .hero{background-image:linear-gradient(90deg,rgba(0,0,0,.15),rgba(0,0,0,.08)),url('assets/hero.jpg')!important;background-size:cover!important;background-position:center 49%!important;height:auto!important;min-height:290px!important}
body.home-approved .hero-inner{min-height:290px!important;height:auto!important;position:relative;display:flex;justify-content:center;align-items:center}
body.home-approved .hero-brand{display:none!important}
body.home-approved .hero-copy{position:relative!important;inset:auto!important;margin:0 auto!important;pointer-events:auto!important;text-align:center!important;max-width:min(920px,90%);padding:18px 0}
body.home-approved .hero-copy h1{display:block!important;font-size:clamp(27px,3.35vw,54px)!important;line-height:1.08!important;margin:0 auto 12px!important;transform:rotate(-2deg);background:rgba(8,9,11,.87);padding:12px 22px;text-shadow:0 3px 5px #000}
body.home-approved .hero-copy p{display:block!important;font-size:clamp(17px,2vw,27px)!important;margin:10px auto 15px!important;color:white!important}
body.home-approved .hero-copy .btn{position:static!important;display:inline-block!important;width:auto!important;height:auto!important;opacity:1!important;pointer-events:auto!important;padding:14px 22px!important;color:#111!important}
body.home-approved header .nav .brand{display:block!important;visibility:visible!important;opacity:1!important;z-index:30!important}
body.home-approved header .nav .brand img{display:block!important;visibility:visible!important;opacity:1!important}
@media(max-width:850px){body.home-approved .hero{min-height:290px!important;height:auto!important;background-position:60% center!important}body.home-approved .hero-copy{max-width:94%!important}body.home-approved .hero-copy .btn{width:auto!important;height:auto!important}}

/* Schwebender Zurueck-nach-oben-Button */
.back-to-top{position:fixed;right:22px;bottom:22px;z-index:9999;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border:1px solid #ff8500;border-radius:12px;background:#ff8500;color:#101114;font-size:28px;font-weight:800;line-height:1;box-shadow:0 5px 20px #0009;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s,transform .2s,visibility .2s}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover,.back-to-top:focus-visible{background:#ffa02e;outline:2px solid #fff;outline-offset:2px}
@media(max-width:600px){.back-to-top{right:14px;bottom:14px;width:46px;height:46px}}
@media(prefers-reduced-motion:reduce){.back-to-top{transition:none}}

/* Refined header; original layout retained */
body.home-approved .hero-copy{width:100%!important;max-width:min(1120px,96%)!important;display:flex!important;flex-direction:column!important;align-items:center!important;}
body.home-approved .hero-copy h1{background:rgba(8,9,11,.42)!important;padding:8px 14px!important;width:fit-content!important;max-width:100%!important;border-radius:4px!important;}
body.home-approved .hero-copy .btn{align-self:flex-end!important;position:relative!important;right:auto!important;bottom:auto!important;opacity:1!important;pointer-events:auto!important;z-index:2!important;margin-top:8px!important;}
@media(max-width:550px){body.home-approved .hero-copy h1{padding:7px 9px!important;}body.home-approved .hero-copy .btn{margin-right:5px!important;}}

/* Backend: Abmelden oben rechts */
.admin-layout .admin-header nav{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.admin-layout .admin-header .admin-logout-form{display:inline-flex;margin:0}
.admin-layout .admin-header .admin-logout-button{background:#d75b20;color:#fff;border:1px solid #e57b45;border-radius:6px;padding:10px 15px;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.admin-layout .admin-header .admin-logout-button:hover,.admin-layout .admin-header .admin-logout-button:focus-visible{background:#f07735;outline-offset:2px}

/* Facebook Timeline: erst nach aktiver Zustimmung laden */
.facebook-feed-box{border-top:1px solid #393a3d;margin-top:24px;padding-top:18px}
.facebook-feed-box h3{font-size:1.12rem;margin:0 0 12px;color:#fff}
.facebook-feed-box p{font-size:.88rem;line-height:1.6;color:#c1c2c7}
.facebook-feed-box .facebook-feed-small{font-size:.76rem;color:#a7a8ae}
.facebook-feed-box a{display:inline-block;margin-top:8px;color:var(--orange);font-weight:600}
.facebook-feed-box iframe{display:block;width:100%;max-width:340px;min-height:520px;border:0;background:#fff;border-radius:6px}
.facebook-feed-box [hidden]{display:none!important}

/* Kontakt und Facebook: nebeneinander statt im Kontakt-Seitenkasten */
.contact-social-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,0.85fr);gap:30px;align-items:stretch;margin-top:20px}
.contact-form-column,.contact-social-column{min-width:0}
.contact-form-column .contactform{max-width:none}
.contact-social-column .facebook-feed-box{border:1px solid #3a3b3d;border-top:3px solid var(--orange);background:#202226;border-radius:9px;margin:0;padding:22px;height:100%;box-sizing:border-box}
.contact-social-column .facebook-feed-box h3{font-size:1.4rem;margin-bottom:16px;color:#fff}
.contact-social-column .facebook-feed-box iframe{max-width:100%;margin-inline:auto}
.contact-social-column #facebook-feed-frame{display:flex;justify-content:center}
@media(max-width:850px){.contact-social-layout{grid-template-columns:minmax(0,1fr);gap:24px}.contact-social-column .facebook-feed-box{height:auto}}
