:root {
  --procheck-yellow: #ffc300;
  --text-dark: #111111;

  --procheck-black-pearl:
    radial-gradient(
      ellipse at 10% -18%,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.045) 30%,
      rgba(255, 255, 255, 0) 57%
    ),
    radial-gradient(
      ellipse at 102% 112%,
      rgba(143, 173, 190, 0.13) 0%,
      rgba(106, 137, 154, 0.035) 38%,
      rgba(0, 0, 0, 0) 62%
    ),
    linear-gradient(
      112deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 21%,
      rgba(205, 222, 231, 0.095) 32%,
      rgba(255, 255, 255, 0.035) 39%,
      rgba(255, 255, 255, 0) 49%,
      rgba(119, 151, 168, 0.07) 65%,
      rgba(255, 255, 255, 0) 77%
    ),
    linear-gradient(
      145deg,
      #020303 0%,
      #090b0c 34%,
      #010202 57%,
      #0a0c0d 78%,
      #010101 100%
    );

  --procheck-black-pearl-inset:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 1px 0 0 rgba(255, 255, 255, 0.055),
    inset -1px 0 0 rgba(0, 0, 0, 0.68),
    inset 0 -2px 1px rgba(0, 0, 0, 0.7);

  --procheck-black-pearl-shadow:
    var(--procheck-black-pearl-inset),
    0 6px 0 rgba(0, 0, 0, 0.38),
    0 18px 32px rgba(0, 0, 0, 0.2),
    0 32px 60px rgba(0, 0, 0, 0.15);

  --procheck-pearl-glass:
    radial-gradient(
      ellipse at 16% 118%,
      transparent 0%,
      transparent 48%,
      rgba(111, 137, 151, 0.034) 48.5%,
      rgba(255, 255, 255, 0.16) 49.2%,
      transparent 50.1%
    ),
    radial-gradient(
      ellipse at 111% -18%,
      transparent 0%,
      transparent 54%,
      rgba(104, 133, 149, 0.03) 54.5%,
      rgba(255, 255, 255, 0.14) 55.2%,
      transparent 56.1%
    ),
    linear-gradient(
      128deg,
      transparent 0%,
      transparent 23%,
      rgba(94, 121, 136, 0.028) 23.5%,
      rgba(255, 255, 255, 0.16) 24.1%,
      transparent 25%,
      transparent 65%,
      rgba(113, 142, 157, 0.025) 65.5%,
      rgba(255, 255, 255, 0.12) 66.1%,
      transparent 67%
    ),
    radial-gradient(
      ellipse at 12% -18%,
      rgba(255, 255, 255, 0.9) 0%,
      rgba(255, 255, 255, 0.26) 37%,
      transparent 68%
    ),
    linear-gradient(
      116deg,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(233, 240, 244, 0.48) 27%,
      rgba(255, 255, 255, 0.84) 49%,
      rgba(220, 232, 238, 0.39) 70%,
      rgba(255, 255, 255, 0.78) 100%
    ),
    rgba(255, 255, 255, 0.38);

  --procheck-pearl-glass-position:
    0 0,
    0 0,
    0 0,
    0 0,
    18% 50%,
    0 0;

  --procheck-pearl-glass-size:
    126% 112%,
    118% 108%,
    150% 100%,
    145% 155%,
    220% 100%,
    auto;


  --content-width: 1180px;
  --side-space: 40px;

  --card-border-color: #ffc300;
  --card-border-width: 4px;
  --card-bg: #ffffff;
  --card-padding: 28px;

  --header-border: rgba(17, 17, 17, 0.34);
  --header-border-strong: rgba(17, 17, 17, 0.66);

  --header-shadow:
    0 5px 12px rgba(0, 0, 0, 0.08),
    0 17px 36px rgba(0, 0, 0, 0.15);

  --header-shadow-hover:
    0 7px 15px rgba(0, 0, 0, 0.1),
    0 22px 44px rgba(0, 0, 0, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: #ffffff;
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  display: flex;
  flex-direction: column;

  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;

  color: #333333;

  background-color: #ffffff;
  background-image: url("/hex-bg 3-4-6-4.svg");
  background-repeat: repeat;
  background-position: center top;
  background-size: 541px 934px;

  font-family: "Source Sans 3", Arial, sans-serif;
}

/* =========================================================
   DYNAMISCHE UNTERNEHMENSSEITEN
   ========================================================= */

html:not(.company-admin-ready) #company-dashboard,
html:not(.company-admin-ready) #employee-management {
  min-height: calc(100vh - 170px);
  min-height: calc(100dvh - 170px);

  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.company-admin-ready #company-dashboard,
html.company-admin-ready #employee-management {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

html:not(.company-admin-ready)
#company-dashboard
~ .site-footer,
html:not(.company-admin-ready)
#employee-management
~ .site-footer {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.company-admin-ready
#company-dashboard
~ .site-footer,
html.company-admin-ready
#employee-management
~ .site-footer {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

html:not(.system-admin-ready) #system-admin-dashboard {
  min-height: calc(100vh - 170px);
  min-height: calc(100dvh - 170px);

  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.system-admin-ready #system-admin-dashboard {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

html:not(.system-admin-ready)
#system-admin-dashboard
~ .site-footer {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.system-admin-ready
#system-admin-dashboard
~ .site-footer {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  padding: 8px 0 12px;

  overflow: visible;

  color: var(--text-dark);
  background: var(--procheck-yellow);

  box-shadow:
    0 3px 0 rgba(17, 17, 17, 0.12),
    0 10px 25px rgba(0, 0, 0, 0.15);

  transform: translateY(0);

  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease;
}

html.header-start-hidden .site-header,
.site-header-hidden {
  transform: translateY(-130%);
}

html.header-start-hidden .site-header {
  transition: none;
}

.site-header-inner {
  position: relative;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;

  width: min(
    var(--content-width),
    calc(100% - var(--side-space))
  );

  height: 66px;
  min-height: 66px;
  margin: 0 auto;
  padding: 8px 11px 8px 15px;

  overflow: visible;

  border: 1.5px solid rgba(255, 255, 255, 0.94);
  border-radius: 17px;
  outline: 1px solid rgba(86, 108, 120, 0.24);
  outline-offset: -1px;

  background: var(--procheck-pearl-glass);
  background-position: var(--procheck-pearl-glass-position);
  background-size: var(--procheck-pearl-glass-size);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 1px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px 0 0 rgba(132, 157, 171, 0.13),
    inset 0 -2px 1px rgba(104, 130, 144, 0.22),
    0 6px 0 rgba(73, 94, 105, 0.2),
    0 16px 28px rgba(38, 56, 66, 0.13),
    0 28px 52px rgba(38, 56, 66, 0.11);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-header-inner::before,
.site-header-inner::after {
  display: none;
  content: none;
}

.site-header-inner:hover {
  border-color: rgba(17, 17, 17, 0.48);

  transform: translateY(-2px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 1px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px 0 0 rgba(132, 157, 171, 0.13),
    inset 0 -2px 1px rgba(104, 130, 144, 0.22),
    0 8px 0 rgba(73, 94, 105, 0.2),
    0 20px 34px rgba(38, 56, 66, 0.15),
    0 34px 60px rgba(38, 56, 66, 0.12);
}

/* =========================================================
   MARKE
   ========================================================= */

.brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;

  min-width: 0;
  padding: 4px 8px 4px 4px;

  border: 1.5px solid transparent;
  border-radius: 11px;

  color: var(--text-dark);
  background: transparent;

  text-decoration: none;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.brand:hover,
.brand:focus-visible {
  border-color: rgba(17, 17, 17, 0.25);

  background: #ffffff;

  outline: none;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.1);
}

.brand-logo {
  display: block;
  flex-shrink: 0;

  width: 42px;
  height: 42px;
  padding: 0;

  object-fit: contain;
  background: transparent;

  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.22s ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  filter:
    drop-shadow(2px 3px 0 rgba(17, 17, 17, 0.13));

  transform:
    rotate(-2deg)
    scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;

  min-width: 0;

  line-height: 1.05;
}

.brand-name {
  color: #111111;

  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: -0.018em;
  white-space: nowrap;
}

.brand-subtitle {
  margin-top: 4px;

  color: #666666;

  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.site-nav,
.service-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
}

.site-nav {
  justify-self: center;
  justify-content: center;

  min-width: 0;
}

.service-nav {
  justify-self: end;
  justify-content: flex-end;
  gap: 8px;

  flex-shrink: 0;
}

.service-nav > .nav-link-small {
  display: none;
}

.nav-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  height: 43px;
  min-height: 43px;
  padding: 8px 14px;

  overflow: hidden;

  border: 1.5px solid transparent;
  border-radius: 10px;

  color: #111111;
  background: transparent;

  font: inherit;
  font-size: 0.87rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.nav-link::after {
  display: none;
  content: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: var(--header-border-strong);

  color: #111111;
  background: #ffffff;

  outline: none;

  transform: translateY(-2px);

  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.12);
}

.nav-link:active {
  background: #eeeeee;

  transform:
    translateY(0)
    scale(0.98);

  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.07);
}

.nav-link-active {
  border-color: rgba(17, 17, 17, 0.52);

  color: #111111;
  background: #eeeeee;

  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.055),
    0 4px 10px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   WARENKORB IM HEADER
   ========================================================= */

.header-cart-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 43px;
  height: 43px;

  flex: 0 0 43px;

  border: 1.5px solid rgba(17, 17, 17, 0.34);
  border-radius: 10px;

  color: #111111;
  background: #ffffff;

  text-decoration: none;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 4px 10px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.header-cart-link:hover,
.header-cart-link:focus-visible {
  border-color: #111111;

  background: #ffffff;

  outline: none;

  transform: translateY(-2px);

  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.13);
}

.header-cart-link:active {
  background: #eeeeee;

  transform:
    translateY(0)
    scale(0.97);
}

.header-cart-link-active {
  border-color: #111111;

  color: var(--procheck-yellow);
  background: #111111;

  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.15);
}

.header-cart-link-active:hover,
.header-cart-link-active:focus-visible {
  color: #111111;
}

.header-cart-link svg {
  width: 21px;
  height: 21px;

  overflow: visible;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 22px;
  height: 22px;
  padding: 0 5px;

  border: 2px solid #ffffff;
  border-radius: 999px;

  color: #111111;
  background: var(--procheck-yellow);

  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;

  box-shadow:
    0 4px 9px rgba(0, 0, 0, 0.2);
}

.header-cart-count[hidden] {
  display: none;
}

/* =========================================================
   LOGIN- UND KONTOBEREICH
   ========================================================= */

.login-menu {
  position: relative;

  width: 112px;

  flex: 0 0 112px;
}

.login-menu::after {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;

  height: 19px;

  content: "";
}

.login-toggle {
  width: 112px;
  min-width: 112px;
  max-width: 112px;
  padding-right: 36px;
  padding-left: 14px;

  flex: 0 0 112px;

  border-radius: 10px;

  appearance: none;
  -webkit-appearance: none;

  font-family: inherit;
  font-weight: 900;

  cursor: pointer;
}

.login-toggle::before {
  position: absolute;
  top: 50%;
  right: 15px;

  width: 7px;
  height: 7px;

  content: "";

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform:
    translateY(-70%)
    rotate(45deg);

  transition:
    transform 0.2s ease;
}

.login-menu:hover .login-toggle::before,
.login-menu:focus-within .login-toggle::before,
.login-menu-open .login-toggle::before {
  transform:
    translateY(-20%)
    rotate(225deg);
}

.nav-link-login,
.service-link-active {
  border-color: #111111;

  color: var(--procheck-yellow);
  background: #111111;

  box-shadow:
    0 7px 16px rgba(0, 0, 0, 0.15);
}

.nav-link-login:hover,
.nav-link-login:focus-visible,
.service-link-active:hover,
.service-link-active:focus-visible {
  border-color: #111111;

  color: #111111;
  background: #ffffff;

  box-shadow:
    0 10px 23px rgba(0, 0, 0, 0.16);
}

.nav-link-login::after,
.service-link-active::after {
  display: none;
  content: none;
}

/* =========================================================
   AUTH-ZUSTAND
   ========================================================= */

html:not(.course-access-ready)
body[data-course-access] {
  visibility: hidden;
}

html:not(.auth-state-ready) .login-toggle {
  visibility: hidden;
  pointer-events: none;
}

html:not(.auth-state-ready)
body[data-auth="required"]
.login-toggle {
  visibility: visible;
  color: transparent;
}

html:not(.auth-state-ready)
body[data-auth="required"]
.login-toggle::after {
  position: absolute;
  inset: 0 27px 0 0;

  display: grid;

  content: "Konto";

  place-items: center;

  color: var(--procheck-yellow);

  font: inherit;
  font-weight: 900;
  line-height: 1;

  pointer-events: none;
}

html:not(.auth-state-ready)
body[data-auth="required"]
.login-toggle::before {
  border-color: var(--procheck-yellow);
}

html:not(.auth-state-ready) .login-dropdown {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   LOGIN-DROPDOWN
   ========================================================= */

.login-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 2200;

  display: block;

  width: 292px;
  max-width: calc(100vw - 24px);
  padding: 12px;

  overflow: hidden;

  border: 1.5px solid rgba(17, 17, 17, 0.3);
  border-radius: 15px;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  color: #111111;
  background: #ffffff;

  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.2);

  transform:
    translateY(-6px)
    scale(0.98);

  transform-origin: top right;

  transition:
    opacity 0.18s ease,
    visibility 0.18s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-dropdown::before,
.login-dropdown::after {
  display: none;
  content: none;
}

.login-menu-open .login-dropdown,
.login-menu:hover .login-dropdown,
.login-menu:focus-within .login-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;

  transform:
    translateY(0)
    scale(1);
}

.login-guest-menu {
  display: grid;
  gap: 4px;
}

.login-user-menu {
  display: none;
}

.login-user-status {
  position: relative;

  margin: 0 0 10px;
  padding: 12px 40px 12px 16px;

  overflow: hidden;

  border: 1.5px solid rgba(17, 17, 17, 0.3);
  border-radius: 11px;

  color: #111111;
  background: #ffffff;

  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.35;

  box-shadow:
    inset 4px 0 0 var(--procheck-yellow),
    0 5px 12px rgba(0, 0, 0, 0.055);
}

.login-user-status::after {
  display: none;
  content: none;
}

.login-user-status strong {
  color: #111111;

  font-size: 0.94rem;
  font-weight: 900;
}

.login-user-status-copy {
  display: block;
}

.login-context-switch {
  position: relative;

  display: grid;
  gap: 1px;

  width: 100%;
  margin-top: 11px;
  padding: 9px 36px 9px 11px;

  overflow: hidden;

  border: 1px solid rgba(17, 17, 17, 0.24);
  border-radius: 9px;

  color: #ffffff;
  background: #111111;

  font: inherit;
  line-height: 1.2;
  text-align: left;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.login-context-switch::after {
  position: absolute;
  top: 50%;
  right: 15px;

  width: 7px;
  height: 7px;

  content: "";

  border-top: 2px solid var(--procheck-yellow);
  border-right: 2px solid var(--procheck-yellow);

  transform: translateY(-50%) rotate(45deg);
}

.login-context-switch span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.login-context-switch strong {
  color: #ffffff;
  font-size: 0.79rem;
  font-weight: 900;
}

.login-context-switch:hover,
.login-context-switch:focus-visible {
  border-color: #111111;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.login-context-switch:active {
  transform: translateY(0) scale(0.985);
}

.login-dropdown a,
.login-dropdown-button {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 42px;
  padding: 9px 35px 9px 14px;

  overflow: hidden;

  border: 1.5px solid transparent;
  border-radius: 10px;

  color: #111111;
  background: #ffffff;

  font: inherit;
  font-size: 0.87rem;
  font-weight: 850;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;

  transition:
    transform 0.18s ease,
    padding-left 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.login-dropdown a + a {
  margin-top: 4px;
}

.login-dropdown a::before,
.login-dropdown-button::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 5px;

  width: 4px;

  content: "";

  border-radius: 999px;

  background: var(--procheck-yellow);

  opacity: 0;

  transform: scaleY(0.45);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.login-dropdown a::after,
.login-dropdown-button::after {
  position: absolute;
  top: 50%;
  right: 15px;

  width: 7px;
  height: 7px;

  content: "";

  border-top: 2px solid #111111;
  border-right: 2px solid #111111;

  opacity: 0;

  transform:
    translateY(-50%)
    translateX(-4px)
    rotate(45deg);

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.login-dropdown a:hover,
.login-dropdown a:focus-visible,
.login-dropdown-button:hover,
.login-dropdown-button:focus-visible {
  border-color: rgba(17, 17, 17, 0.62);

  color: #111111;
  background: #ffffff;

  outline: none;

  padding-left: 20px;

  transform:
    translateX(2px)
    translateY(-1px);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.11);
}

.login-dropdown a:hover::before,
.login-dropdown a:focus-visible::before,
.login-dropdown-button:hover::before,
.login-dropdown-button:focus-visible::before {
  opacity: 1;
  transform: scaleY(1);
}

.login-dropdown a:hover::after,
.login-dropdown a:focus-visible::after,
.login-dropdown-button:hover::after,
.login-dropdown-button:focus-visible::after {
  opacity: 0.7;

  transform:
    translateY(-50%)
    translateX(0)
    rotate(45deg);
}

.login-dropdown-button {
  margin-top: 9px;
  padding-top: 11px;

  border-top-color: rgba(17, 17, 17, 0.17);

  font-weight: 900;
}

/* =========================================================
   SEITENINHALT
   ========================================================= */

.page-content {
  width: min(
    var(--content-width),
    calc(100% - var(--side-space))
  );

  margin: 0 auto;
  padding-top: 119px;
  padding-bottom: 54px;
}

.content-card {
  margin-bottom: 28px;
  padding: var(--card-padding);

  border:
    var(--card-border-width)
    solid
    var(--card-border-color);

  background: var(--card-bg);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.12);
}

h1 {
  font-size: 3rem;
}

h2,
h3 {
  font-weight: 700;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  flex-shrink: 0;

  width: 100%;
  margin-top: auto;
  padding: 14px 0 18px;

  color: #111111;
  background: var(--procheck-yellow);

  box-shadow:
    0 -3px 0 rgba(17, 17, 17, 0.12),
    0 -10px 25px rgba(0, 0, 0, 0.14);
}

.site-footer-inner {
  position: relative;

  display: grid;
  grid-template-columns:
    minmax(280px, 1fr)
    auto
    auto;

  align-items: center;
  gap: 24px;

  width: min(
    var(--content-width),
    calc(100% - var(--side-space))
  );

  min-height: 82px;
  margin: 0 auto;
  padding: 12px 16px;

  border: 1.5px solid rgba(255, 255, 255, 0.94);
  border-radius: 17px;
  outline: 1px solid rgba(86, 108, 120, 0.24);
  outline-offset: -1px;

  background: var(--procheck-pearl-glass);
  background-position: var(--procheck-pearl-glass-position);
  background-size: var(--procheck-pearl-glass-size);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 1px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px 0 0 rgba(132, 157, 171, 0.13),
    inset 0 -2px 1px rgba(104, 130, 144, 0.22),
    0 6px 0 rgba(73, 94, 105, 0.2),
    0 16px 28px rgba(38, 56, 66, 0.13),
    0 28px 52px rgba(38, 56, 66, 0.11);

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.site-footer-inner:hover {
  border-color: rgba(17, 17, 17, 0.48);

  transform: translateY(-2px);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 1px 0 0 rgba(255, 255, 255, 0.9),
    inset -1px 0 0 rgba(132, 157, 171, 0.13),
    inset 0 -2px 1px rgba(104, 130, 144, 0.22),
    0 8px 0 rgba(73, 94, 105, 0.2),
    0 20px 34px rgba(38, 56, 66, 0.15),
    0 34px 60px rgba(38, 56, 66, 0.12);
}

/*
 * Ausgangszustand vor der JavaScript-Umwandlung.
 * Das Logo ist dadurch bereits beim ersten Render sichtbar.
 */

.footer-brand {
  position: relative;

  display: grid;
  align-content: center;
  gap: 4px;

  min-width: 0;
  min-height: 50px;
  padding: 4px 8px 4px 58px;

  border: 1.5px solid transparent;
  border-radius: 11px;
}

.footer-brand::before {
  position: absolute;
  top: 50%;
  left: 5px;

  width: 42px;
  height: 42px;

  content: "";

  background-image: url("/procheck.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  transform: translateY(-50%);
}

/* Klickbarer Markenbereich nach der JavaScript-Umwandlung */

.footer-brand-link {
  display: flex;
  align-items: center;
  gap: 11px;

  min-width: 0;
  min-height: 50px;
  padding: 4px 8px 4px 4px;

  border: 1.5px solid transparent;
  border-radius: 11px;

  color: #111111;
  background: transparent;

  text-decoration: none;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.footer-brand-link:hover,
.footer-brand-link:focus-visible {
  border-color: rgba(17, 17, 17, 0.42);

  color: #111111;
  background: #ffffff;

  outline: none;

  transform: translateY(-2px);

  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.12);
}

.footer-brand-link:active {
  background: #eeeeee;

  transform:
    translateY(0)
    scale(0.99);

  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.07);
}

.footer-brand-logo {
  display: block;
  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  object-fit: contain;

  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.22s ease;
}

.footer-brand-link:hover
.footer-brand-logo,
.footer-brand-link:focus-visible
.footer-brand-logo {
  filter:
    drop-shadow(2px 3px 0 rgba(17, 17, 17, 0.13));

  transform:
    rotate(-2deg)
    scale(1.05);
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;

  min-width: 0;
}

.footer-brand strong,
.footer-brand-copy > strong {
  color: #111111;

  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
}

.footer-brand > span,
.footer-brand-copy > span {
  color: #666666;

  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 39px;
  padding: 8px 11px;

  border: 1.5px solid transparent;
  border-radius: 9px;

  color: #111111;
  background: transparent;

  font-size: 0.83rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  border-color: var(--header-border-strong);

  color: #111111;
  background: #ffffff;

  outline: none;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.11);
}

.footer-nav a:active {
  background: #eeeeee;

  transform:
    translateY(0)
    scale(0.98);

  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.07);
}

.footer-copy {
  justify-self: end;

  margin: 0;
  padding: 9px 11px;

  border: 1.5px solid rgba(17, 17, 17, 0.2);
  border-radius: 9px;

  color: #555555;
  background: #f3f3f3;

  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 4px 10px rgba(0, 0, 0, 0.045);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .site-header-inner {
    gap: 14px;

    width: min(
      var(--content-width),
      calc(100% - 24px)
    );
  }

  .site-nav {
    gap: 2px;
  }

  .nav-link {
    padding-right: 10px;
    padding-left: 10px;

    font-size: 0.81rem;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-subtitle {
    font-size: 0.59rem;
  }

  .site-footer-inner {
    width: min(
      var(--content-width),
      calc(100% - 24px)
    );

    gap: 16px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 158px;
  }

  .site-header {
    padding: 8px 0 10px;
  }

  .site-header-inner {
    grid-template-columns:
      minmax(0, 1fr)
      auto;

    gap: 7px 12px;

    width: calc(100% - 24px);
    height: auto;
    min-height: 0;
    padding: 9px 10px 10px 13px;

    border-radius: 16px;
  }

  .brand {
    justify-self: start;
  }

  .service-nav {
    justify-self: end;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;

    justify-self: stretch;
    justify-content: center;

    width: 100%;
    padding-top: 7px;

    border-top:
      1px solid
      rgba(17, 17, 17, 0.1);
  }

  .nav-link {
    height: 38px;
    min-height: 38px;
    padding: 7px 11px;

    font-size: 0.79rem;
  }

  .login-menu {
    width: 112px;
    flex-basis: 112px;
  }

  .login-toggle {
    width: 112px;
    min-width: 112px;
    max-width: 112px;

    flex-basis: 112px;
  }

  .page-content {
    width: min(
      var(--content-width),
      calc(100% - 24px)
    );

    padding-top: 161px;
  }

  .site-footer {
    padding: 12px 0 14px;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 13px;

    width: calc(100% - 24px);
    padding: 18px;

    text-align: center;
  }

  .footer-brand,
  .footer-brand-link {
    justify-self: center;
  }

  .footer-brand-copy {
    text-align: left;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-copy {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 151px;
  }

  .site-header-inner {
    width: calc(100% - 16px);
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.77rem;
  }

  .brand-subtitle {
    display: none;
  }

  .site-nav {
    justify-content: flex-start;

    overflow-x: auto;

    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav .nav-link {
    flex: 0 0 auto;
  }

  .login-menu {
    width: 92px;
    flex: 0 0 92px;
  }

  .login-toggle {
    width: 92px;
    min-width: 92px;
    max-width: 92px;
    padding-right: 29px;
    padding-left: 10px;

    flex: 0 0 92px;
  }

  .login-toggle::before {
    right: 12px;
  }

  html:not(.auth-state-ready)
  body[data-auth="required"]
  .login-toggle::after {
    right: 23px;
  }

  .login-dropdown {
    position: fixed;
    top: 78px;
    right: 8px;

    width: min(
      292px,
      calc(100vw - 16px)
    );

    max-height: calc(100vh - 94px);
    overflow-y: auto;
  }

  .page-content {
    padding-top: 154px;
  }

  .site-footer-inner {
    width: calc(100% - 16px);
    padding: 16px 13px;
  }

  .footer-brand,
  .footer-brand-link {
    width: 100%;
  }

  .footer-brand-link {
    justify-content: center;
  }

  .footer-brand-copy {
    text-align: left;
  }

  .footer-nav {
    width: 100%;
  }

  .footer-nav a {
    flex: 1 1 auto;

    min-width: 94px;
  }

  .footer-copy {
    width: 100%;

    text-align: center;
  }
}

/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header-inner,
  .brand,
  .brand-logo,
  .nav-link,
  .login-toggle::before,
  .login-dropdown,
  .login-dropdown a,
  .login-dropdown button,
  .login-dropdown a::before,
  .login-dropdown a::after,
  .login-dropdown button::before,
  .login-dropdown button::after,
  .site-footer-inner,
  .footer-brand-link,
  .footer-brand-logo,
  .footer-nav a {
    transition: none;
  }
}
