/* SG BVK: Illustrator-authentic Fuhrpark skin. The existing app controls remain functional. */
html:has(#sgbvk-fleet-inspector),body:has(#sgbvk-fleet-inspector){background:#eff7fc}
#sgbvk-fleet-inspector{
  --fi-text:#07283d;--fi-navy:#07283d;--fi-green:#8ed12c;
  --fi-muted:#567083;--fi-line:#d9e8f1;
  position:relative;isolation:isolate;overflow:hidden;
  background:#eff7fc;
  background-image:linear-gradient(173deg,#f4faff 0%,#ecf5fc 54%,#eaf5fb 100%);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
/* Exactly traced from Bus-Fuhrpark.ai, not CSS-approximate curves */
#sgbvk-fleet-inspector::before{
  content:""!important;position:absolute;display:block!important;
  pointer-events:none;left:0;right:0;top:0;height:clamp(112px,9vw,172px);
  z-index:0;background:url('./sgbvk-illustrator-header.svg') top left/100% 100% no-repeat;
}
#sgbvk-fleet-inspector::after{
  content:"";position:absolute;pointer-events:none;left:-15%;right:-15%;
  top:clamp(190px,17vw,285px);height:clamp(150px,17vw,330px);
  background:rgba(255,255,255,.68);border-radius:45% 55% 52% 48%/30% 38% 60% 70%;
  transform:rotate(-1.5deg);z-index:0;
}
#sgbvk-fleet-inspector .fi-header{
  max-width:1680px;min-height:clamp(92px,7vw,130px);padding:clamp(16px,1.8vw,28px) clamp(24px,4.7vw,90px) 0;
  display:grid;grid-template-columns:minmax(180px,1fr) auto 54px;
  align-items:start;gap:clamp(12px,2vw,30px);position:relative;z-index:6;
}
#sgbvk-fleet-inspector .fi-logo{width:auto;min-height:56px;gap:0;align-items:flex-start}
#sgbvk-fleet-inspector .fi-logo-lockup{gap:0}
#sgbvk-fleet-inspector .fi-logo-lockup img{display:block;width:clamp(155px,15vw,230px);height:auto;object-fit:contain}
#sgbvk-fleet-inspector .fi-logo-lockup strong{display:none}
#sgbvk-fleet-inspector .fi-logo small{display:none}
#sgbvk-fleet-inspector .fi-tabs{
  justify-self:end;margin:0;gap:2px;padding:4px;border-radius:100px;
  border:1px solid #d3e3ee;background:#fff;box-shadow:0 6px 16px rgba(5,38,61,.025)
}
#sgbvk-fleet-inspector .fi-tab{
  border-radius:100px;min-height:46px;padding:10px clamp(17px,2vw,27px);
  font-size:clamp(14px,1.2vw,18px);font-weight:690;color:#082e45;white-space:nowrap;
}
#sgbvk-fleet-inspector .fi-tab svg{display:none!important}
#sgbvk-fleet-inspector .fi-tab.is-active{
  background:#07283d;color:#fff;box-shadow:none;position:relative
}
#sgbvk-fleet-inspector .fi-tab.is-active::after{
  content:"";position:absolute;bottom:4px;left:22%;right:22%;height:3px;border-radius:3px;background:#9ce615
}
#sgbvk-fleet-inspector .fi-main-menu{width:48px;height:48px;justify-self:end;border:1px solid #d3e3ee;box-shadow:none;background:white}
#sgbvk-fleet-inspector .fi-menu-panel{top:85px;z-index:50}
#sgbvk-fleet-inspector .fi-main{max-width:1660px;padding:0 clamp(22px,4.5vw,78px) 30px;position:relative;z-index:2}
#sgbvk-fleet-inspector .fi-toolbar,#sgbvk-fleet-inspector .fi-rail{display:none!important}
#sgbvk-fleet-inspector .fi-inspection-area{max-width:1450px;margin:-8px auto 0;position:relative}
#sgbvk-fleet-inspector .fi-scene-wrap{max-width:1350px;padding:0 12px}
#sgbvk-fleet-inspector .fi-scene{max-width:1300px;margin:auto}
#sgbvk-fleet-inspector .fi-scene-hint{
  color:#365d76;font-size:clamp(12px,1.1vw,15px);font-weight:500;margin:-2px auto 8px;
}
#sgbvk-fleet-inspector .fi-range-wrap{margin:9px auto 12px}
#sgbvk-fleet-inspector .fi-zones{justify-content:center;gap:18px;max-width:100%;margin:7px auto 25px;padding:0}
#sgbvk-fleet-inspector .fi-zones-label{font-weight:750;color:#395e73;font-size:clamp(12px,1.1vw,15px)}
#sgbvk-fleet-inspector .fi-zone-buttons{gap:9px}
#sgbvk-fleet-inspector .fi-zone-btn{
  width:auto;height:auto;min-height:43px;border-radius:100px;
  background:white;border:1px solid #cfdfeb;padding:9px 21px;
  box-shadow:none;color:#0b344a;font-size:clamp(12px,1.1vw,15px);font-weight:650;
}
#sgbvk-fleet-inspector .fi-zone-btn.is-active{
  background:#07283d;border-color:#07283d;color:white
}
#sgbvk-fleet-inspector .fi-zone-arrows{display:none!important}
#sgbvk-fleet-inspector .fi-bottom{
  display:grid;grid-template-columns:minmax(255px,.66fr) minmax(0,1.8fr);
  max-width:1480px;gap:20px;margin:0 auto;align-items:stretch
}
/* Do not touch .fi-fleet-card: this exact component stays as user designed it. */
#sgbvk-fleet-inspector .fi-spec-card{
  padding:19px clamp(16px,2.4vw,34px) 19px;border:1px solid #dbe8ef;
  border-radius:22px;background:rgba(255,255,255,.97);box-shadow:0 8px 30px rgba(6,40,61,.035)
}
#sgbvk-fleet-inspector .fi-spec-head{align-items:flex-end;gap:14px;margin-bottom:13px}
#sgbvk-fleet-inspector .fi-spec-head h2{
  color:#07283d;font-weight:840;font-size:clamp(22px,2.45vw,34px);letter-spacing:-.045em
}
#sgbvk-fleet-inspector .fi-section-eyebrow{color:#667f90;font-weight:800}
#sgbvk-fleet-inspector .fi-spec-description{max-width:360px;color:#456a82;font-size:12px;font-weight:550}
#sgbvk-fleet-inspector .fi-spec-content{grid-template-columns:minmax(200px,1.05fr) minmax(0,1fr);gap:15px}
#sgbvk-fleet-inspector .fi-floorplan{height:140px;background:#f4f8fb;border:1px solid #e3edf3;border-radius:17px}
#sgbvk-fleet-inspector .fi-details{gap:7px}
#sgbvk-fleet-inspector .fi-detail{border-radius:14px;box-shadow:none}
#sgbvk-fleet-inspector .fi-detail.is-active{border-color:#57ad36;box-shadow:0 0 0 1px #57ad3622}
#sgbvk-fleet-inspector .fi-selected{max-width:1480px;margin-top:24px}
#sgbvk-fleet-inspector .fi-footer{max-width:1480px;margin:auto}
/* A working CTA based on the green contact strip in the Illustrator artboard */
#sgbvk-fleet-inspector .fi-contact-band{
  position:relative;display:flex;align-items:center;justify-content:space-between;
  gap:20px;max-width:1480px;margin:25px auto 0;padding:22px clamp(20px,5vw,65px);
  background:#438102;border-radius:20px;color:#fff;
}
#sgbvk-fleet-inspector .fi-contact-band strong{font-size:clamp(17px,1.7vw,24px);line-height:1.2;font-weight:800}
#sgbvk-fleet-inspector .fi-contact-band a{
  display:inline-flex;align-items:center;gap:16px;background:#fff;color:#07283d;
  padding:15px 23px;border-radius:8px;font-size:15px;font-weight:800;white-space:nowrap;
}
#sgbvk-fleet-inspector .fi-contact-band a:hover{background:#f1f8ec}
@media(max-width:1050px){
  #sgbvk-fleet-inspector .fi-header{grid-template-columns:minmax(120px,1fr) auto 52px;gap:10px}
  #sgbvk-fleet-inspector .fi-bottom{grid-template-columns:minmax(220px,.85fr) minmax(0,1.55fr);gap:12px}
  #sgbvk-fleet-inspector .fi-spec-content{grid-template-columns:1fr}
  #sgbvk-fleet-inspector .fi-floorplan{height:175px}
}
@media(max-width:760px){
  #sgbvk-fleet-inspector::before{height:100px;background-size:auto 100%;background-position:left top}
  #sgbvk-fleet-inspector::after{top:170px;height:200px}
  #sgbvk-fleet-inspector .fi-header{grid-template-columns:minmax(0,1fr) 46px;min-height:80px;padding:13px 18px 8px;align-items:start}
  #sgbvk-fleet-inspector .fi-logo-lockup img{width:142px}
  #sgbvk-fleet-inspector .fi-tabs{grid-column:1/3;grid-row:2;justify-self:stretch;justify-content:center;margin:18px auto 0}
  #sgbvk-fleet-inspector .fi-tab{font-size:14px;padding:10px 24px}
  #sgbvk-fleet-inspector .fi-main-menu{width:44px;height:44px;grid-column:2;grid-row:1}
  #sgbvk-fleet-inspector .fi-main{padding:0 14px 32px}
  #sgbvk-fleet-inspector .fi-inspection-area{margin-top:8px}
  #sgbvk-fleet-inspector .fi-scene-wrap{padding:0}
  #sgbvk-fleet-inspector .fi-zones{flex-wrap:wrap;gap:7px;margin-bottom:22px}
  #sgbvk-fleet-inspector .fi-zone-btn{min-height:40px;padding:9px 14px;font-size:12px}
  #sgbvk-fleet-inspector .fi-bottom{grid-template-columns:1fr;gap:15px}
  #sgbvk-fleet-inspector .fi-spec-content{grid-template-columns:1fr}
  #sgbvk-fleet-inspector .fi-spec-card{padding:17px}
  #sgbvk-fleet-inspector .fi-contact-band{padding:19px 18px;flex-direction:column;align-items:stretch;border-radius:16px}
  #sgbvk-fleet-inspector .fi-contact-band a{justify-content:center}
}
@media(max-width:390px){
  #sgbvk-fleet-inspector .fi-logo-lockup img{width:128px}
  #sgbvk-fleet-inspector .fi-zones-label{display:none}
  #sgbvk-fleet-inspector .fi-zone-btn{padding:8px 10px;font-size:11px}
}

/* Nur das zusaetzliche Oval deaktivieren */
#sgbvk-fleet-inspector::after {
    content: none !important;
    display: none !important;
}
