/* SOFORTKEY v5.0.7 – premium header identity.
   Scope protection: the existing brand/text strip and hero text panel are intentionally untouched. */
:root {
  --sk-header-neutral: #05080d;
  --sk-header-line: rgba(255,255,255,.085);
  --sk-header-text: rgba(247,249,252,.78);
  --sk-header-text-active: #f7f9fc;
}
.sk-header {
  background: rgba(5,8,13,.945) !important;
  border-bottom: 1px solid var(--sk-header-line) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,.14) !important;
  backdrop-filter: blur(18px) saturate(112%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(112%) !important;
}
.sk-header .sk-logo,
.sk-header .sk-home-logo,
.sk-header img[src*="sofortkey-logo" i] {
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
  opacity: 1 !important;
}
.sk-header .sk-nav a,
.sk-header .sk-phone {
  color: var(--sk-header-text) !important;
  text-shadow: none !important;
  transition: color .25s ease, opacity .25s ease !important;
}
.sk-header .sk-nav a:hover,
.sk-header .sk-nav a:focus-visible,
.sk-header .sk-nav a[aria-current="page"],
.sk-header .sk-phone:hover,
.sk-header .sk-phone:focus-visible {
  color: var(--sk-header-text-active) !important;
}
.sk-header .sk-top-cta {
  color: #f8fbff !important;
  background: rgba(16,37,58,.72) !important;
  border: 1px solid rgba(67,205,245,.34) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease !important;
}
.sk-header .sk-top-cta:hover,
.sk-header .sk-top-cta:focus-visible {
  background: rgba(20,49,76,.9) !important;
  border-color: rgba(78,220,255,.58) !important;
  transform: translateY(-1px) !important;
}
.sk-header .sk-menu-toggle {
  color: #f7f9fc !important;
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(255,255,255,.12) !important;
  box-shadow: none !important;
}

@media (min-width: 1280px) {
  body.sk-home-page .sk-header > .sk-container {
    grid-template-columns: 242px minmax(0,1fr) auto !important;
    gap: clamp(22px,2.1vw,34px) !important;
  }
  body.sk-home-page .sk-header > .sk-container > a:first-child,
  body.sk-home-page .sk-header .sk-home-logo-link {
    width: 232px !important;
    height: 58px !important;
  }
  body.sk-home-page .sk-header .sk-logo,
  body.sk-home-page .sk-header .sk-home-logo,
  body.sk-home-page .sk-header img[src*="sofortkey-logo" i] {
    width: 228px !important;
    max-width: 228px !important;
    height: auto !important;
    max-height: 54px !important;
  }
  body:not(.sk-home-page):not(.legal-static-page) .sk-header > .sk-container {
    grid-template-columns: 236px minmax(0,1fr) auto !important;
  }
  body:not(.sk-home-page):not(.legal-static-page) .sk-header .sk-logo,
  body:not(.sk-home-page):not(.legal-static-page) .sk-header .sk-home-logo,
  body:not(.sk-home-page):not(.legal-static-page) .sk-header img[src*="sofortkey-logo" i] {
    width: 224px !important;
    max-width: 224px !important;
    height: auto !important;
    max-height: 54px !important;
  }
}

@media (max-width: 1279px) and (min-width: 1101px) {
  body.sk-home-page .sk-header > .sk-container {
    grid-template-columns: 190px minmax(0,1fr) auto !important;
    gap: 14px !important;
  }
  body.sk-home-page .sk-header .sk-logo,
  body.sk-home-page .sk-header .sk-home-logo,
  body.sk-home-page .sk-header img[src*="sofortkey-logo" i],
  body:not(.sk-home-page):not(.legal-static-page) .sk-header .sk-logo,
  body:not(.sk-home-page):not(.legal-static-page) .sk-header .sk-home-logo,
  body:not(.sk-home-page):not(.legal-static-page) .sk-header img[src*="sofortkey-logo" i] {
    width: 184px !important;
    max-width: 184px !important;
    height: auto !important;
    max-height: 48px !important;
  }
  body.sk-home-page .sk-header .sk-nav { gap: 10px !important; }
  body.sk-home-page .sk-header .sk-nav a,
  body.sk-home-page .sk-header .sk-phone { font-size: 12px !important; }
}

@media (max-width: 1100px) and (min-width: 768px) {
  body.sk-home-page .sk-header > .sk-container {
    grid-template-columns: 200px minmax(0,1fr) auto !important;
    gap: 15px !important;
  }
  body.sk-home-page .sk-header .sk-logo,
  body.sk-home-page .sk-header .sk-home-logo,
  body.sk-home-page .sk-header img[src*="sofortkey-logo" i],
  body:not(.sk-home-page):not(.legal-static-page) .sk-header .sk-logo,
  body:not(.sk-home-page):not(.legal-static-page) .sk-header .sk-home-logo,
  body:not(.sk-home-page):not(.legal-static-page) .sk-header img[src*="sofortkey-logo" i] {
    width: 194px !important;
    max-width: 194px !important;
    height: auto !important;
    max-height: 50px !important;
  }
}

@media (max-width: 767px) {
  .sk-header .sk-logo,
  .sk-header .sk-home-logo,
  .sk-header img[src*="sofortkey-logo" i] {
    content: url('/assets/sofortkey-logo-luxury-mobile.webp') !important;
    width: min(166px,43vw) !important;
    max-width: min(166px,43vw) !important;
    height: auto !important;
    max-height: 46px !important;
  }
  html.sk-nav-enhanced .sk-header .sk-nav,
  html.sk-nav-enhanced .sk-nav {
    background: rgba(5,8,13,.985) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: 0 22px 50px rgba(0,0,0,.38) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }
  html.sk-nav-enhanced .sk-header .sk-nav a,
  html.sk-nav-enhanced .sk-nav a {
    color: rgba(247,249,252,.86) !important;
    background: transparent !important;
    border: 1px solid transparent !important;
  }
  html.sk-nav-enhanced .sk-header .sk-nav a:hover,
  html.sk-nav-enhanced .sk-header .sk-nav a:focus-visible {
    color: #fff !important;
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,255,255,.08) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sk-header *, .sk-header *::before, .sk-header *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
