/* Gemeinsame Kopfzeile für virtual.vision, 2026-10-14. Nur ausdrücklich eingebundene Seiten. */
header.vv-header {
  --vv-header-accent: #202731;
  --vv-header-gradient: linear-gradient(135deg, #202731 0%, #394552 55%, #657382 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid #d9deea;
  border-radius: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}
header.vv-header[data-product="sehtest"] {
  --vv-header-accent: #0b0b92;
  --vv-header-gradient: linear-gradient(135deg, #0b0b92 0%, #3434c6 55%, #5964e8 100%);
}
header.vv-header[data-product="adhs"] {
  --vv-header-accent: #0f766e;
  --vv-header-gradient: linear-gradient(135deg, #075b55 0%, #0f766e 55%, #2b9a90 100%);
}
header.vv-header[data-product="dinis"] {
  --vv-header-accent: #8b2942;
  --vv-header-gradient: linear-gradient(135deg, #64192f 0%, #8b2942 55%, #b93d5a 100%);
}
.vv-header .vv-header__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 0;
}
.vv-header .brand.vv-header__brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: .8rem;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #101426;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
  text-decoration: none;
  cursor: default;
}
.vv-header .vv-header__brand img {
  display: block;
  box-sizing: border-box;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  max-width: none;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--vv-header-accent) 16%, transparent);
}
.vv-header .vv-header__brand > span,
.vv-header .brand-copy,
.vv-header .brandCopy { display: block; min-width: 0; }
.vv-header .vv-header__brand strong,
.vv-header .brand-title,
.vv-header .brandTitle {
  display: block;
  margin: 0;
  color: #101426;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.15;
}
.vv-header .vv-header__brand small,
.vv-header .brand-subtitle,
.vv-header .brandSubtitle {
  display: block;
  margin: .2rem 0 0;
  color: #526078;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.35;
  white-space: normal;
}
.vv-header .vv-header__actions,
.vv-header .vv-header__actions nav,
.vv-header .vv-header__actions .nav-actions,
.vv-header .vv-header__actions .header-actions {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 11px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.vv-header .vv-header__actions:empty { display: none; }
.vv-header .vv-header__actions form { display: flex; align-items: center; margin: 0; }
.vv-header .vv-header__actions a,
.vv-header .vv-header__actions button {
  display: inline-flex;
  box-sizing: border-box;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  max-width: 100%;
  margin: 0;
  padding: .58rem 1rem;
  border: 2px solid color-mix(in srgb, var(--vv-header-accent) 24%, white);
  border-radius: 11px;
  background: #fff;
  color: var(--vv-header-accent);
  box-shadow: none;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.vv-header .vv-header__actions .button:not(.secondary):not(.button-secondary),
.vv-header .vv-header__actions .vv-header__primary {
  border-color: transparent;
  background: var(--vv-header-gradient);
  color: #fff;
  box-shadow: 0 9px 22px color-mix(in srgb, var(--vv-header-accent) 25%, transparent);
}
.vv-header .vv-header__actions a:hover,
.vv-header .vv-header__actions button:hover { transform: translateY(-1px); filter: saturate(1.08); }
.vv-header .vv-header__actions a:focus-visible,
.vv-header .vv-header__actions button:focus-visible { outline: 3px solid var(--vv-header-accent); outline-offset: 3px; }
html:has(.vv-header) { scroll-padding-top: calc(var(--vv-header-height, 94px) + var(--vv-emergency-height, 0px) + 16px); }
.skip-link:focus, .skip:focus { z-index: 1100; }
/* Die vorhandene diNis-Notfallleiste bleibt unter der Produkt-Kopfzeile angeheftet. */
body:has(> .vv-header) .employee-heading-public {
  top: var(--vv-header-height, 94px);
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 860px) {
  .vv-header .vv-header__inner { flex-wrap: wrap; }
  .vv-header .vv-header__brand { flex: 1 1 100%; }
  .vv-header .vv-header__actions { justify-content: flex-start; }
  .vv-header .vv-header__actions nav,
  .vv-header .vv-header__actions .nav-actions,
  .vv-header .vv-header__actions .header-actions { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .vv-header .vv-header__inner { width: calc(100% - 32px); padding: 1rem 0; gap: 1rem; }
  .vv-header .vv-header__actions a,
  .vv-header .vv-header__actions button { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .vv-header .vv-header__actions a,
  .vv-header .vv-header__actions button { transition: none; }
}
@media print { header.vv-header { display: none !important; } }
