/* SG BVK – HEADER POLISH
   Ausschließlich die obere Navigation */

/* Ruhigere Proportionen */
#sgbvk-fleet-inspector .sg-global-nav-inner {
  width: min(100%, 1220px);
  min-height: 64px;
  padding: 8px 24px;
  gap: 19px;
}

/* Logo auf der Fuhrparkseite größer */
#sgbvk-fleet-inspector .sg-global-brand {
  flex: 0 0 auto;
  min-width: 157px;
}

#sgbvk-fleet-inspector .sg-global-brand img {
  width: 157px !important;
  max-width: none !important;
  max-height: 47px !important;
  height: auto !important;
  object-fit: contain;
  object-position: left center;
}

/* Feinere Navigation */
#sgbvk-fleet-inspector .sg-global-links {
  gap: clamp(14px, 1.7vw, 25px);
}

#sgbvk-fleet-inspector .sg-global-links a {
  font-size: 13px;
  font-weight: 720;
  letter-spacing: -.012em;
}

#sgbvk-fleet-inspector .sg-global-links
.sg-global-active::after {
  height: 2px;
  bottom: 4px;
}

/* Aufgeräumter Anfragebutton */
#sgbvk-fleet-inspector .sg-global-cta {
  min-height: 39px;
  padding: 9px 15px;
  border-radius: 8px;
  gap: 9px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

#sgbvk-fleet-inspector .sg-nav-calendar {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

/* Homepage: nur erkannte Markenlogos */
body.home header a:has(> img[alt*="SG BVK" i]),
body.home header a:has(> img[src*="logo" i]) {
  transform: scale(1.22);
  transform-origin: left center;
  margin-right: 20px;
}

/* Tablet */
@media (max-width: 1080px) {
  #sgbvk-fleet-inspector .sg-global-nav-inner {
    padding: 8px 17px;
    gap: 11px;
  }

  #sgbvk-fleet-inspector .sg-global-brand {
    min-width: 124px;
  }

  #sgbvk-fleet-inspector .sg-global-brand img {
    width: 124px !important;
  }

  #sgbvk-fleet-inspector .sg-global-links {
    gap: 11px;
  }

  #sgbvk-fleet-inspector .sg-global-links a {
    font-size: 12px;
  }

  #sgbvk-fleet-inspector .sg-global-cta {
    padding: 9px 11px;
  }
}

/* Smartphone */
@media (max-width: 760px) {
  #sgbvk-fleet-inspector .sg-global-nav-inner {
    min-height: 0;
    padding: 10px 16px 8px;
  }

  #sgbvk-fleet-inspector .sg-global-brand {
    min-width: 0;
  }

  #sgbvk-fleet-inspector .sg-global-brand img {
    width: 139px !important;
    max-height: 41px !important;
  }

  #sgbvk-fleet-inspector .sg-global-links {
    gap: 19px;
  }

  #sgbvk-fleet-inspector .sg-global-cta {
    min-height: 36px;
    font-size: 12px;
  }

  body.home header a:has(> img[alt*="SG BVK" i]),
  body.home header a:has(> img[src*="logo" i]) {
    transform: scale(1.12);
    margin-right: 8px;
  }
}