:root {
  --vb-ink: #171717;
  --vb-text: #5d5f5f;
  --vb-muted: #666968;
  --vb-line: #dedfdd;
  --vb-surface: #f4f5f3;
  --vb-surface-warm: #f1f2f1;
  --vb-accent: #5b605d;
  --vb-white: #fff;
  --vb-radius-sm: 14px;
  --vb-radius: 22px;
  --vb-shadow: 0 18px 50px rgba(20, 22, 21, .08);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  color: var(--vb-ink);
  background: var(--vb-white);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body:not(.page-home) main {
  display: block;
  overflow: clip;
}

.page-news .news-hero h1 {
  font-size: clamp(2.9rem, 4.8vw, 4.45rem);
  line-height: 1.01;
}

.page-news .news-toolbar h2,
.page-news .news-transparency h2 {
  font-size: clamp(2.25rem, 3.5vw, 3.2rem);
}

img {
  max-width: 100%;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(91, 96, 93, .62);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 10000;
  padding: .75rem 1rem;
  color: #fff;
  background: #111;
  border-radius: .4rem;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.dropdown-overview::after {
  display: none;
  content: none;
}

.menu .nav-cta.is-active {
  background: #000;
}

.menu .dropdown-toggle.is-active {
  color: #111;
  background: #f2f3f4;
}

.menu .dropdown-toggle.is-active::before {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .35rem;
  height: 2px;
  border-radius: 2px;
  background: #202020;
}

.has-dropdown.is-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-actions {
  display: none !important;
}

/* Eigene Fehlerseite */
.error-main {
  min-height: calc(100vh - 88px);
  display: grid;
  place-items: center;
  padding: clamp(4rem, 9vw, 8rem) 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(91, 96, 93, .12), transparent 24rem),
    linear-gradient(135deg, #f1f3f2 0%, #fafafa 100%);
}

.error-card {
  width: min(760px, calc(100% - 30px));
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
  box-shadow: var(--vb-shadow);
}

.error-code {
  margin: 0 0 .8rem;
  color: var(--vb-accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.error-card h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.error-card > p:not(.error-code) {
  max-width: 58ch;
  margin: 1.35rem 0 0;
  color: var(--vb-text);
  font-size: 1.08rem;
}

/* Gemeinsamer Seitenbaukasten */
.page-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.page-hero {
  position: relative;
  padding: clamp(4.5rem, 7.5vw, 6.7rem) 0 clamp(4rem, 7vw, 5.8rem);
  background:
    radial-gradient(circle at 86% 30%, rgba(91, 96, 93, .1), transparent 26rem),
    linear-gradient(135deg, #f1f3f2 0%, #fafafa 100%);
  border-bottom: 1px solid var(--vb-line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.8rem, 3.5vw, 2.8rem);
}

.page-eyebrow {
  margin: 0 0 1.25rem;
  color: #656866;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.page-hero h1,
.section-heading {
  margin: 0;
  color: var(--vb-ink);
  font-weight: 750;
  letter-spacing: -.045em;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.9rem, 4.8vw, 4.45rem);
  line-height: 1.01;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  hyphenate-limit-chars: 10 5 5;
  text-wrap: balance;
}

.page-hero__side {
  width: min(100%, 820px);
  padding-bottom: 0;
}

.page-lead {
  max-width: 62ch;
  margin: 0;
  color: var(--vb-text);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.page-hero__side .page-lead {
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.page-button,
.page-button:visited {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.35rem;
  color: #fff;
  background: var(--vb-ink);
  border: 1px solid var(--vb-ink);
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform .18s ease, background .18s ease;
}

.page-button:hover {
  color: #fff;
  background: #000;
  transform: translateY(-1px);
}

.page-button--light,
.page-button--light:visited {
  color: var(--vb-ink);
  background: #fff;
  border-color: #d4d6d4;
}

.page-button--light:hover {
  color: var(--vb-ink);
  background: #f6f6f4;
}

.section-block {
  padding: clamp(4.6rem, 8vw, 7.4rem) 0;
}

.section-block--soft {
  background: var(--vb-surface);
  border-block: 1px solid var(--vb-line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.3rem);
}

.section-head > .section-copy {
  max-width: 62ch;
}

.section-heading {
  max-width: 18ch;
  font-size: clamp(2.25rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  hyphenate-limit-chars: 10 5 5;
  text-wrap: balance;
}

.section-copy,
.section-copy p {
  margin: 0;
  color: var(--vb-text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-copy p + p {
  margin-top: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.service-link-card,
.reference-card,
.team-profile,
.contact-card {
  min-width: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
}

.info-card--soft,
.service-link-card {
  background: var(--vb-surface);
}

.card-number,
.card-kicker {
  display: block;
  margin-bottom: 1rem;
  color: #555a57;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.info-card h3,
.service-link-card h2,
.service-link-card h3,
.reference-card h3,
.contact-card h2,
.contact-card h3 {
  margin: 0 0 .8rem;
  color: var(--vb-ink);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.info-card p,
.service-link-card p,
.reference-card p,
.contact-card p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.service-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-link-card:hover,
.service-link-card:focus-visible {
  transform: translateY(-3px);
  border-color: #c7c9c6;
  box-shadow: var(--vb-shadow);
}

.service-link-card__link {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--vb-ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-panel {
  padding: clamp(1.8rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
}

.detail-panel h2,
.detail-panel h3 {
  margin: 0 0 1rem;
  color: var(--vb-ink);
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.detail-panel p {
  color: var(--vb-text);
}

.check-list {
  display: grid;
  gap: .8rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  color: #444746;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66rem;
  width: .55rem;
  height: .55rem;
  background: #5b605d;
  border-radius: 50%;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 260px;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
}

.process-list strong {
  display: block;
  margin: 1.3rem 0 .75rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.process-list p {
  margin: 0;
  color: var(--vb-text);
}

.content-band {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(300px, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.content-band__sticky {
  position: sticky;
  top: 120px;
}

.content-band__body {
  display: grid;
  gap: 1rem;
}

.plain-link,
.plain-link:visited {
  color: var(--vb-ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25rem;
}

.cta-panel {
  padding: clamp(2.3rem, 6vw, 5.3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  color: #fff;
  background: var(--vb-ink);
  border-radius: 30px;
  overflow: hidden;
}

.cta-panel h2 {
  max-width: 16ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2.3rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.cta-panel p {
  max-width: 58ch;
  margin: 0;
  color: #c9cbca;
  font-size: 1.05rem;
}

.cta-panel .page-button {
  color: var(--vb-ink);
  background: #fff;
  border-color: #fff;
}

/* KI-Management */
.page-ai .ai-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--vb-accent) 0 18%, transparent 18% 100%);
}

.ai-summary {
  background: #fff;
  border-bottom: 1px solid var(--vb-line);
}

.ai-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-summary__grid > div {
  min-width: 0;
  padding: 1.65rem clamp(1.2rem, 3vw, 2.2rem);
  border-right: 1px solid var(--vb-line);
}

.ai-summary__grid > div:first-child {
  padding-left: 0;
}

.ai-summary__grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.ai-summary strong,
.ai-summary span {
  display: block;
}

.ai-summary strong {
  margin-bottom: .2rem;
  font-size: 1rem;
  line-height: 1.35;
}

.ai-summary span {
  color: var(--vb-text);
  font-size: .9rem;
  line-height: 1.5;
}

.ai-capability-list {
  border-block: 1px solid var(--vb-line);
}

.ai-capability {
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(360px, 1fr);
  gap: clamp(1.3rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-bottom: 1px solid var(--vb-line);
}

.ai-capability:last-child {
  border-bottom: 0;
}

.ai-capability__number {
  color: #a5a8a5;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.4;
}

.ai-capability__intro h3 {
  margin: 0 0 .8rem;
  color: var(--vb-ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.03em;
  line-height: 1.15;
}

.ai-capability__intro p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.ai-capability ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem 1.5rem;
  margin: .15rem 0 0;
  padding: 0;
  list-style: none;
}

.ai-capability li {
  position: relative;
  padding-left: 1.15rem;
  color: #444746;
  line-height: 1.55;
}

.ai-capability li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .64rem;
  width: .42rem;
  height: .42rem;
  background: var(--vb-accent);
  border-radius: 50%;
}

.ai-application-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--vb-line);
}

.ai-application-grid article {
  min-width: 0;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-right: 1px solid var(--vb-line);
  border-bottom: 1px solid var(--vb-line);
}

.ai-application-grid article:nth-child(2n) {
  border-right: 0;
}

.ai-application-grid article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.ai-application-grid h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -.025em;
  line-height: 1.18;
}

.ai-application-grid p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.ai-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--vb-line);
  list-style: none;
}

.ai-process-list li {
  min-width: 0;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-right: 1px solid var(--vb-line);
}

.ai-process-list li:first-child {
  padding-left: 0;
}

.ai-process-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.ai-process-list span {
  display: block;
  margin-bottom: 2.3rem;
  color: #555a57;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .12em;
}

.ai-process-list strong {
  display: block;
  margin-bottom: .7rem;
  font-size: 1.3rem;
  line-height: 1.25;
}

.ai-process-list p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.65;
}

.ai-assurance {
  background: #f1f2f1;
  border-block: 1px solid var(--vb-line);
}

.ai-assurance__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.ai-assurance h2 {
  margin: 0 0 1.2rem;
  color: var(--vb-ink);
  font-size: clamp(2rem, 3.3vw, 3rem);
  letter-spacing: -.04em;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.ai-assurance p {
  color: #4f504e;
  line-height: 1.75;
}

.ai-assurance__proof > p:not(.page-eyebrow),
.ai-role-note > p:not(.page-eyebrow) {
  margin: 0;
}

.ai-assurance__proof > p + p,
.ai-role-note > p + p {
  margin-top: 1rem;
}

.ai-certificate-line {
  padding-top: 1rem;
  border-top: 1px solid #cfd2cf;
  color: #3f4341 !important;
  font-size: .9rem;
  font-weight: 800;
}

.ai-role-note {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid #cfd2cf;
}

/* Referenzen */
.reference-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2rem;
}

.reference-nav a {
  padding: .7rem 1rem;
  color: var(--vb-ink);
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
}

.reference-group + .reference-group {
  margin-top: clamp(4.8rem, 9vw, 8rem);
}

.reference-group__head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.reference-group__head h2 {
  margin: 0 0 .8rem;
  font-size: clamp(2.15rem, 3.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.reference-group__head p {
  margin: 0;
  color: var(--vb-text);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}

.logo-card {
  min-height: 180px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: .9rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius-sm);
}

.logo-card img {
  width: auto;
  max-width: 100%;
  max-height: 112px;
  object-fit: contain;
}

.logo-card figcaption {
  color: #5d605f;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.team-bio-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-bio {
  min-width: 0;
  padding: 1.15rem;
  background: var(--vb-surface);
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
}

.team-bio--profile {
  display: grid;
  grid-template-columns: clamp(145px, 12vw, 190px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.team-bio--text-only {
  grid-column: 1 / -1;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.team-bio__portrait {
  width: 100%;
  height: clamp(220px, 18vw, 270px);
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--vb-radius) - .45rem);
}

.team-bio__content {
  min-width: 0;
}

.team-bio h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
}

.team-bio p:last-child {
  margin-bottom: 0;
  color: var(--vb-text);
}

.team-profile {
  padding: 0;
  overflow: hidden;
}

.team-profile__image {
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: var(--vb-surface);
}

.team-profile__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.team-profile__content {
  padding: 1.6rem;
}

.team-profile h2,
.team-profile h3 {
  margin: 0 0 .35rem;
  font-size: 1.65rem;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.team-profile__role {
  margin: 0 0 1rem;
  color: #555a57;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.team-profile p:last-child {
  margin-bottom: 0;
  color: var(--vb-text);
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.qualification-card {
  min-height: 240px;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
}

.qualification-card img {
  width: auto;
  max-width: 140px;
  height: 74px;
  margin-bottom: 1.4rem;
  object-fit: contain;
}

.qualification-card h3 {
  margin: 0 0 .75rem;
  font-size: 1.35rem;
}

.qualification-card p {
  margin: 0;
  color: var(--vb-text);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.certificate-grid figure {
  min-height: 260px;
  display: grid;
  grid-template-rows: 235px auto;
  align-items: start;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
  overflow: hidden;
}

.certificate-preview {
  width: 100%;
  height: 235px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: calc(var(--vb-radius) - .35rem);
  cursor: zoom-in;
}

.certificate-preview:focus-visible {
  outline: 3px solid var(--vb-primary);
  outline-offset: 3px;
}

.certificate-grid img {
  width: 100%;
  height: 235px;
  object-fit: contain;
  transition: transform .2s ease;
}

.certificate-preview:hover img {
  transform: scale(1.02);
}

.certificate-grid figcaption {
  display: grid;
  align-content: start;
  gap: .25rem;
  width: 100%;
  padding-top: .9rem;
  color: var(--vb-text);
  font-size: .9rem;
  line-height: 1.45;
}

.certificate-grid figcaption strong {
  color: var(--vb-navy);
  font-size: 1rem;
}

.certificate-grid figcaption span {
  display: block;
}

.certificate-grid .certificate-open {
  margin-top: .25rem;
  color: var(--vb-primary-dark);
  font-weight: 700;
}

body.certificate-lightbox-open {
  overflow: hidden;
}

.certificate-lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.certificate-lightbox::backdrop {
  background: rgba(5, 12, 22, .84);
  backdrop-filter: blur(3px);
}

.certificate-lightbox__panel {
  position: relative;
  display: grid;
  place-items: center;
  gap: .75rem;
  max-height: 94vh;
  padding: clamp(1rem, 2.5vw, 2rem);
  background: #fff;
  border-radius: var(--vb-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.certificate-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(94vh - 7rem);
  object-fit: contain;
}

.certificate-lightbox__caption {
  max-width: 850px;
  margin: 0;
  padding-inline: 2.75rem;
  color: var(--vb-navy);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.certificate-lightbox__close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--vb-line);
  border-radius: 50%;
  background: #fff;
  color: var(--vb-navy);
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

.certificate-lightbox__close:hover {
  color: var(--vb-primary-dark);
  border-color: var(--vb-primary);
}

.certificate-lightbox__close:focus-visible {
  outline: 3px solid var(--vb-primary);
  outline-offset: 3px;
}

.culture-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.culture-panel .section-copy {
  max-width: 58ch;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.culture-panel img {
  width: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
  border-radius: var(--vb-radius);
}

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  min-height: 235px;
  display: flex;
  flex-direction: column;
}

.contact-card a {
  margin-top: auto;
  color: var(--vb-ink);
  font-size: 1.12rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.contact-card__note {
  margin-top: auto;
  color: #555857;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
}

.contact-note {
  padding: 1.5rem;
  background: var(--vb-surface-warm);
  border: 1px solid #d7dad7;
  border-radius: var(--vb-radius-sm);
  color: #4f5351;
}

/* Rechtsseiten */
.page-legal main {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #f7f8f7;
}

.page-legal main > section,
.page-legal main > .container,
.page-legal main > div,
.page-legal .legal-page,
.page-legal .impressum-section,
.page-legal .privacy-section {
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 4rem);
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
}

.page-legal main h1 {
  margin: 0 0 2rem;
  color: var(--vb-ink);
  font-size: clamp(2.6rem, 4.5vw, 4.25rem) !important;
  line-height: 1;
  letter-spacing: -.045em;
}

.page-legal main h2 {
  margin: 2.5rem 0 1rem;
  color: var(--vb-ink);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.page-legal main h3 {
  margin: 1.8rem 0 .65rem;
  color: var(--vb-ink);
  font-size: 1.15rem;
}

.page-legal main p,
.page-legal main li {
  color: #505352;
  line-height: 1.75;
}

.page-legal main a {
  color: var(--vb-ink);
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.legal-intro {
  padding-bottom: clamp(1.75rem, 4vw, 3rem);
  border-bottom: 1px solid var(--vb-line);
}

.legal-intro .page-eyebrow {
  margin-bottom: 1rem;
}

.legal-lead {
  max-width: 68ch;
  margin: 0;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.legal-jump-links,
.legal-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.legal-jump-links a,
.legal-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .6rem .9rem;
  border: 1px solid var(--vb-line);
  border-radius: 999px;
  background: #fff;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
}

.legal-jump-links a:hover,
.legal-link-list a:hover {
  border-color: var(--vb-ink);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.legal-card {
  min-width: 0;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius-sm);
  background: var(--vb-surface);
}

.page-legal main .legal-card h2 {
  margin-top: 0 !important;
  max-width: 100%;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  hyphens: none;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

.legal-card address {
  margin-bottom: 1rem;
  color: #505352;
  font-style: normal;
  line-height: 1.75;
}

.legal-data-list {
  margin: 0;
}

.legal-data-list div {
  padding: .85rem 0;
  border-top: 1px solid var(--vb-line);
}

.legal-data-list div:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-data-list dt {
  color: var(--vb-muted);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-data-list dd {
  margin: .25rem 0 0;
  color: var(--vb-ink);
  font-weight: 750;
}

.legal-section {
  margin-top: 2.5rem;
  padding-top: .25rem;
  border-top: 1px solid var(--vb-line);
}

.privacy-load-status {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius-sm);
  background: var(--vb-surface);
  color: #505352;
}

.privacy-load-status--error {
  border-color: #d7dad7;
  background: var(--vb-surface-warm);
}

.privacy-content > h2:first-child {
  margin-top: 2.5rem;
}

.privacy-content ul {
  padding-left: 1.35rem;
}

.privacy-content .MsoNormal,
.privacy-content [data-start] {
  font-family: inherit !important;
  font-size: inherit !important;
}

/* Gemeinsamer Footer */
.site-footer {
  margin: 0;
  padding: 0;
  color: #e7e7e7;
  background: #171717;
  border-top: 0;
}

.site-footer .footer-refresh {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(2.8rem, 4vw, 3.5rem) 0 1.5rem;
}

.footer-refresh__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(130px, .65fr));
  gap: clamp(2rem, 5vw, 4.5rem);
}

.footer-refresh__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-refresh__brand .footer-logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
  max-height: 86px;
  margin: 0 auto 1.25rem;
  padding: .4rem;
  background: #fff;
  border-radius: 12px;
}

.footer-refresh__brand > p {
  max-width: 37ch;
  margin: 0 auto;
  color: #bfc1c0;
}

.footer-refresh__brand .footer-refresh__contact {
  margin-top: 1.25rem;
}

.footer-refresh__contact a {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.site-footer .footer-heading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-footer .footer-nav {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .footer-nav a {
  color: #c7c9c8;
  font-size: .95rem;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: .25rem;
}

.site-footer .footer-bottom {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.2rem;
  color: #8f9190;
  border-top: 1px solid #333;
  font-size: .86rem;
  text-align: left;
}

@media (max-width: 1024px) {
  .page-hero__grid,
  .section-head,
  .content-band,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .page-hero__grid {
    align-items: start;
    gap: 2rem;
  }

  .page-hero__side {
    max-width: 720px;
  }

  .card-grid,
  .process-list,
  .team-grid,
  .qualification-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-band__sticky {
    position: static;
  }

  .ai-capability {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-capability ul {
    grid-column: auto;
  }

  .ai-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-process-list li,
  .ai-process-list li:first-child,
  .ai-process-list li:last-child {
    padding: 2rem;
  }

  .ai-process-list li:nth-child(2n) {
    border-right: 0;
  }

  .ai-process-list li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--vb-line);
  }

  .ai-assurance__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-refresh__grid {
    grid-template-columns: 1.2fr repeat(2, .8fr);
  }

  .certificate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .culture-panel {
    grid-template-columns: 1fr;
  }

  .team-bio-list {
    grid-template-columns: 1fr;
  }

  .team-bio--text-only {
    grid-column: auto;
  }

  .footer-refresh__grid > :last-child {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .page-shell,
  .site-footer .footer-refresh {
    width: min(100% - 30px, 1180px);
  }

  .page-hero {
    padding: 4.2rem 0 3.8rem;
  }

  .page-hero h1 {
    font-size: clamp(2.4rem, 10.5vw, 3.15rem);
    line-height: 1.02;
  }

  .page-news .news-hero h1 {
    font-size: clamp(2.4rem, 10.5vw, 3.15rem);
  }

  .page-legal main h1 {
    font-size: clamp(2.4rem, 10.5vw, 3.15rem) !important;
  }

  .section-block {
    padding: 4rem 0;
  }

  .section-heading {
    font-size: clamp(2.05rem, 9.5vw, 2.8rem);
  }

  .ai-summary__grid {
    grid-template-columns: 1fr;
  }

  .ai-summary__grid > div,
  .ai-summary__grid > div:first-child,
  .ai-summary__grid > div:last-child {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .ai-summary__grid > div:last-child {
    border-bottom: 0;
  }

  .ai-capability {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 2rem 0;
  }

  .ai-capability ul {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .ai-application-grid,
  .ai-process-list {
    grid-template-columns: 1fr;
  }

  .ai-application-grid article,
  .ai-application-grid article:nth-child(2n),
  .ai-application-grid article:nth-last-child(-n + 2) {
    padding: 1.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .ai-application-grid article:last-child {
    border-bottom: 0;
  }

  .ai-process-list li,
  .ai-process-list li:first-child,
  .ai-process-list li:last-child {
    padding: 1.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .ai-process-list li:last-child {
    border-bottom: 0;
  }

  .ai-process-list span {
    margin-bottom: 1.2rem;
  }

  .ai-role-note {
    padding: 2rem 0 0;
    border-top: 1px solid #cfd2cf;
    border-left: 0;
  }

  .card-grid,
  .detail-grid,
  .process-list,
  .team-grid,
  .qualification-grid,
  .contact-grid,
  .legal-grid,
  .footer-refresh__grid {
    grid-template-columns: 1fr;
  }

  .service-link-card {
    min-height: 0;
  }

  .process-list li,
  .contact-card {
    min-height: 0;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .logo-card {
    min-height: 135px;
    padding: 1rem;
  }

  .logo-card img {
    max-height: 88px;
  }

  .page-actions,
  .page-button {
    width: 100%;
  }

  .cta-panel {
    padding: 2rem 1.35rem;
    border-radius: 22px;
  }

  .cta-panel h2 {
    font-size: 2.4rem;
  }

  .footer-refresh__grid > :last-child {
    grid-column: auto;
  }

  .footer-refresh__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-refresh__brand .footer-logo {
    display: block;
    margin: 0 auto 1.25rem;
  }

  .footer-refresh__brand > p {
    margin-inline: auto;
  }

  .team-bio--profile {
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    padding: 1rem;
  }

  .team-bio__portrait {
    height: 165px;
  }

  .team-bio--text-only {
    padding: 1.35rem;
  }

  .page-legal main > section,
  .page-legal main > .container,
  .page-legal main > div,
  .page-legal .legal-page,
  .page-legal .impressum-section,
  .page-legal .privacy-section {
    width: min(100% - 30px, 920px);
    padding: 1.5rem;
  }
}

/* Leistungsübersicht */
.services-hero {
  padding-bottom: 0;
}

.services-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--vb-line);
}

.services-hero__facts span {
  position: relative;
  min-width: 0;
  padding: 1.25rem clamp(1.2rem, 3vw, 2rem) 1.35rem;
  color: #4e504f;
  border-right: 1px solid var(--vb-line);
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.45;
}

.services-hero__facts span:first-child {
  padding-left: 1.2rem;
}

.services-hero__facts span:last-child {
  border-right: 0;
}

.services-hero__facts span::before {
  content: "";
  position: absolute;
  top: 1.72rem;
  left: 0;
  width: .42rem;
  height: .42rem;
  background: var(--vb-accent);
  border-radius: 50%;
}

.services-portfolio {
  scroll-margin-top: 90px;
}

.services-group + .services-group {
  margin-top: clamp(4.5rem, 8vw, 7rem);
}

.services-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: .9rem;
  margin-bottom: 1.8rem;
}

.services-group__head h2,
.services-contacts h2 {
  margin: 0;
  color: var(--vb-ink);
  font-size: clamp(1.8rem, 2.9vw, 2.55rem);
  letter-spacing: -.035em;
  line-height: 1.1;
}

.services-group__head > p {
  max-width: 62ch;
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.services-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--vb-line);
}

.services-overview-card {
  min-width: 0;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--vb-ink);
  border-right: 1px solid var(--vb-line);
  text-decoration: none;
  transition: background .18s ease;
}

.services-overview-card:last-child {
  border-right: 0;
}

.services-overview-card:hover,
.services-overview-card:focus-visible {
  color: var(--vb-ink);
  background: var(--vb-surface);
}

.services-overview-card__audience {
  display: block;
  min-height: 2.7em;
  margin-bottom: 1.2rem;
  color: #454947;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.services-overview-card h3 {
  margin: 0 0 .85rem;
  color: var(--vb-ink);
  font-size: clamp(1.4rem, 2.1vw, 1.75rem);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.services-overview-card p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.services-overview-card__link {
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--vb-ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25rem;
}

.services-relief__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--vb-line);
  list-style: none;
}

.services-relief__grid li {
  min-width: 0;
  padding: clamp(1.7rem, 3vw, 2.35rem);
  border-right: 1px solid var(--vb-line);
}

.services-relief__grid li:first-child {
  padding-left: 0;
}

.services-relief__grid li:last-child {
  padding-right: 0;
  border-right: 0;
}

.services-relief__grid h3 {
  margin: 0 0 .7rem;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.services-relief__grid p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.services-contacts {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.55fr);
  margin-top: clamp(3rem, 6vw, 5rem);
  background: #fff;
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
  overflow: hidden;
}

.services-contacts__intro {
  padding: clamp(1.8rem, 4vw, 3rem);
}

.services-contacts__people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-contacts__people a {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--vb-ink);
  border-left: 1px solid var(--vb-line);
  text-decoration: none;
  transition: background .18s ease;
}

.services-contacts__people a:hover,
.services-contacts__people a:focus-visible {
  color: var(--vb-ink);
  background: var(--vb-surface);
}

.services-contacts__people strong,
.services-contacts__people span {
  display: block;
}

.services-contacts__people strong {
  margin-bottom: .5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

.services-contacts__people span {
  color: var(--vb-text);
  font-size: .9rem;
  line-height: 1.55;
}

.services-scope .content-band__body {
  gap: 0;
  border-top: 1px solid var(--vb-line);
}

/* Externer Datenschutzbeauftragter */
.dpo-hero {
  padding-bottom: 0;
}

.page-external-dpo .dpo-hero h1,
.page-public-dpo .dpo-hero h1,
.page-whistle .dpo-hero h1,
.page-expert .dpo-hero h1,
.page-training .dpo-hero h1,
.page-contact .dpo-hero h1 {
  max-width: 100%;
  font-size: clamp(2.65rem, 3.75vw, 3.55rem);
  line-height: 1.02;
  text-wrap: pretty;
}

.page-service .dpo-hero .page-actions {
  gap: 1rem;
  margin-top: clamp(2.35rem, 3vw, 2.8rem);
}

.contact-security {
  margin-top: 1.25rem;
}

.dpo-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--vb-line);
}

.dpo-hero__facts span {
  position: relative;
  min-width: 0;
  padding: 1.25rem clamp(1.2rem, 3vw, 2rem) 1.35rem;
  color: #4e504f;
  border-right: 1px solid var(--vb-line);
  font-size: .92rem;
  font-weight: 750;
  line-height: 1.45;
}

.dpo-hero__facts span:first-child {
  padding-left: 1.2rem;
}

.dpo-hero__facts span:last-child {
  border-right: 0;
}

.dpo-hero__facts span::before {
  content: "";
  position: absolute;
  top: 1.72rem;
  left: 0;
  width: .42rem;
  height: .42rem;
  background: var(--vb-accent);
  border-radius: 50%;
}

.dpo-obligation__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--vb-line);
}

.dpo-obligation__grid article {
  min-width: 0;
  padding: clamp(1.7rem, 3vw, 2.35rem);
  border-right: 1px solid var(--vb-line);
}

.dpo-obligation__grid article:first-child {
  padding-left: 0;
}

.dpo-obligation__grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.dpo-obligation__grid h3,
.dpo-work-list h3,
.dpo-relief__panel h3,
.dpo-process__list h3 {
  margin: 0 0 .75rem;
  color: var(--vb-ink);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -.025em;
  line-height: 1.18;
}

.dpo-obligation__grid p,
.dpo-work-list p,
.dpo-process__list p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.whistle-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--vb-line);
}

.whistle-rule-card {
  min-width: 0;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  border-right: 1px solid var(--vb-line);
  border-bottom: 1px solid var(--vb-line);
}

.whistle-rule-card:nth-child(2n) {
  border-right: 0;
}

.whistle-rule-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.whistle-rule-card:nth-child(odd) {
  padding-left: 0;
}

.whistle-rule-card:nth-child(even) {
  padding-right: 0;
}

.whistle-rule-card__label,
.whistle-state-note__label {
  margin: 0 0 .85rem;
  color: #575c59;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.whistle-rule-card h3,
.whistle-state-note h3,
.whistle-count-note h3 {
  margin: 0 0 .8rem;
  color: var(--vb-ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}

.whistle-rule-card > p:not(.whistle-rule-card__label),
.whistle-state-note__content p,
.whistle-count-note p {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.whistle-rule-card .whistle-rule-card__detail {
  margin-top: .9rem;
  color: #676b69;
  font-size: .94rem;
}

.whistle-state-note {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.25rem, 5vw, 4.5rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: #eff1f0;
  border: 1px solid #d6dad8;
  border-radius: 1.25rem;
}

.whistle-state-note__content {
  display: grid;
  gap: 1.2rem;
}

.whistle-state-note__content strong {
  color: var(--vb-ink);
}

.whistle-count-note {
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(0, 1.42fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 1.5rem;
  padding: 1.5rem 0;
  border-block: 1px solid var(--vb-line);
}

.whistle-count-note h3 {
  margin-bottom: 0;
}

.dpo-legal-note {
  max-width: 920px;
  margin: 1.5rem 0 0;
  padding-left: 1rem;
  color: #666967;
  border-left: 3px solid #555a57;
  font-size: .9rem;
  line-height: 1.65;
}

.dpo-legal-note a,
.dpo-legal-note a:visited {
  color: var(--vb-ink);
  font-weight: 750;
  text-underline-offset: .2rem;
}

.dpo-scope {
  scroll-margin-top: 90px;
}

.dpo-work-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-block: 1px solid var(--vb-line);
}

.dpo-work-list article {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border-right: 1px solid var(--vb-line);
  border-bottom: 1px solid var(--vb-line);
}

.dpo-work-list article:nth-child(2n) {
  border-right: 0;
}

.dpo-work-list article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dpo-relief__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--vb-line);
  border-radius: var(--vb-radius);
  overflow: hidden;
}

.dpo-relief__panel {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.2rem);
  background: #fff;
}

.dpo-relief__panel:first-child {
  border-right: 1px solid var(--vb-line);
}

.dpo-relief__panel > p:not(.page-eyebrow) {
  margin: 0;
  color: var(--vb-text);
  line-height: 1.7;
}

.dpo-relief__panel > p:not(.page-eyebrow) + p {
  margin-top: 1rem;
}

.dpo-relief__panel .check-list {
  margin-top: 1.6rem;
}

.dpo-process__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--vb-line);
  list-style: none;
}

.dpo-process__list li {
  min-width: 0;
  padding: clamp(1.7rem, 3vw, 2.25rem);
  border-right: 1px solid var(--vb-line);
  border-bottom: 1px solid var(--vb-line);
}

.dpo-process__list li:nth-child(2n) {
  border-right: 0;
}

.dpo-process__list li:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.dpo-assurance .content-band__body .detail-panel p {
  margin: 0;
}

.page-service .card-grid,
.page-service .process-list,
.page-service .detail-grid {
  gap: 0;
  border-block: 1px solid var(--vb-line);
}

.page-service .card-grid .info-card,
.page-service .process-list li,
.page-service .detail-grid .detail-panel {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--vb-line);
  border-radius: 0;
}

.page-service .card-grid .info-card:nth-child(3n),
.page-service .process-list li:last-child,
.page-service .detail-grid .detail-panel:last-child {
  border-right: 0;
}

.page-service .card-grid .info-card:nth-child(n + 4) {
  border-top: 1px solid var(--vb-line);
}

.page-service .content-band__body {
  gap: 0;
  border-top: 1px solid var(--vb-line);
}

.page-service .content-band__body .detail-panel,
.page-services-overview .content-band__body .detail-panel {
  padding: 1.6rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--vb-line);
  border-radius: 0;
}

:is(.page-service, .page-services-overview) .content-band__body .detail-panel h3 {
  max-width: 28ch;
  margin-bottom: .8rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  line-height: 1.18;
  text-wrap: pretty;
}

@media (max-width: 1024px) {
  .services-contacts {
    grid-template-columns: 1fr;
  }

  .services-contacts__people {
    border-top: 1px solid var(--vb-line);
  }

  .services-contacts__people a:first-child {
    border-left: 0;
  }

}

@media (max-width: 900px) {
  .services-group__head,
  .services-overview-grid {
    grid-template-columns: 1fr;
  }

  .services-group__head {
    gap: 1rem;
  }

  .services-overview-card {
    min-height: 0;
    padding: 1.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .services-overview-card:last-child {
    border-bottom: 0;
  }

  .services-overview-card__audience {
    min-height: 0;
  }

  .dpo-obligation__grid,
  .whistle-rules-grid,
  .dpo-work-list,
  .dpo-relief__grid {
    grid-template-columns: 1fr;
  }

  .whistle-rule-card,
  .whistle-rule-card:nth-child(odd),
  .whistle-rule-card:nth-child(even),
  .whistle-rule-card:nth-last-child(-n + 2) {
    padding: 1.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .whistle-rule-card:last-child {
    border-bottom: 0;
  }

  .whistle-state-note,
  .whistle-count-note {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dpo-obligation__grid article,
  .dpo-obligation__grid article:first-child,
  .dpo-obligation__grid article:last-child {
    padding: 1.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .dpo-obligation__grid article:last-child {
    border-bottom: 0;
  }

  .dpo-work-list article,
  .dpo-work-list article:nth-child(2n),
  .dpo-work-list article:nth-last-child(-n + 2) {
    padding: 1.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .dpo-work-list article:last-child {
    border-bottom: 0;
  }

  .dpo-relief__panel:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .dpo-process__list {
    grid-template-columns: 1fr;
  }

  .dpo-process__list li,
  .dpo-process__list li:nth-child(2n),
  .dpo-process__list li:nth-last-child(-n + 2) {
    padding: 1.8rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .dpo-process__list li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  .page-service .card-grid,
  .page-service .process-list,
  .page-service .detail-grid {
    grid-template-columns: 1fr;
  }

  .page-service .card-grid .info-card,
  .page-service .card-grid .info-card:nth-child(3n),
  .page-service .process-list li,
  .page-service .detail-grid .detail-panel {
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .page-service .card-grid .info-card:last-child,
  .page-service .process-list li:last-child,
  .page-service .detail-grid .detail-panel:last-child {
    border-bottom: 0;
  }

  .services-hero__facts,
  .dpo-hero__facts,
  .services-overview-grid,
  .services-relief__grid,
  .services-contacts,
  .services-contacts__people {
    grid-template-columns: 1fr;
  }

  .services-hero__facts span,
  .services-hero__facts span:first-child,
  .services-hero__facts span:last-child {
    padding: 1rem 0 1rem 1.2rem;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .services-hero__facts span:last-child {
    border-bottom: 0;
  }

  .services-hero__facts span::before {
    top: 1.48rem;
  }

  .dpo-hero__facts span,
  .dpo-hero__facts span:first-child,
  .dpo-hero__facts span:last-child {
    padding: 1rem 0 1rem 1.2rem;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .dpo-hero__facts span:last-child {
    border-bottom: 0;
  }

  .dpo-hero__facts span::before {
    top: 1.48rem;
  }

  .services-relief__grid li,
  .services-relief__grid li:first-child,
  .services-relief__grid li:last-child {
    padding: 1.7rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--vb-line);
  }

  .services-relief__grid li:last-child {
    border-bottom: 0;
  }

  .services-contacts__people a {
    border-top: 1px solid var(--vb-line);
    border-left: 0;
  }

  .services-contacts__people a:first-child {
    border-top: 0;
  }
}

.contact-hero__facts {
  gap: .85rem;
  padding: 0;
  border-top: 0;
  list-style: none;
}

.contact-hero__facts > li {
  display: grid;
  gap: .35rem;
  min-width: 0;
  padding: 1.2rem 1.3rem 1.3rem;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--vb-line);
  border-radius: 16px;
}

.contact-hero__facts > li > strong {
  color: #555a57;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dpo-hero__facts.contact-hero__facts > li > span,
.dpo-hero__facts.contact-hero__facts > li > span:first-child,
.dpo-hero__facts.contact-hero__facts > li > span:last-child {
  position: static;
  padding: 0;
  color: #333635;
  border: 0;
  font-size: .93rem;
  font-weight: 650;
  line-height: 1.45;
}

.dpo-hero__facts.contact-hero__facts > li > span::before {
  display: none;
}

@media (max-width: 720px) {
  .contact-hero__facts {
    gap: .65rem;
  }

  .contact-hero__facts > li {
    padding: 1.05rem 1.1rem 1.15rem;
  }
}

/* Abschließende Layoutkorrekturen aus der vollständigen Breitenprüfung */
.page-home .home-contact-cta {
  padding-bottom: clamp(3.5rem, 4vw, 4rem);
}

.cta-panel,
.cta-panel > *,
.section-head,
.section-head > * {
  min-width: 0;
}

.cta-panel h2 {
  max-width: 16ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  hyphenate-limit-chars: 10 5 5;
  text-wrap: balance;
}

.privacy-content,
.privacy-content p,
.privacy-content li,
.privacy-content a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 680px) {
  .page-hero h1,
  .page-legal main h1 {
    hyphens: none;
    text-wrap: pretty;
  }
}

@media (max-width: 520px) {
  .page-hero h1 {
    font-size: clamp(2.15rem, 9.4vw, 2.7rem);
  }

  .section-heading,
  .dpo-obligation .section-heading {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.7vw, 2.3rem);
  }

  .cta-panel {
    padding-inline: 1.15rem;
  }

  .cta-panel h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.2vw, 2.3rem);
  }

  .page-privacy main h1 {
    max-width: 100%;
    font-size: clamp(1.7rem, 7.3vw, 1.95rem) !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: pretty;
  }

  .page-services-overview .page-hero h1,
  .page-external-dpo .dpo-hero h1,
  .page-public-dpo .dpo-hero h1,
  .page-whistle .dpo-hero h1,
  .page-expert .dpo-hero h1,
  .page-training .dpo-hero h1,
  .page-contact .dpo-hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.05rem);
    hyphens: none;
    text-wrap: pretty;
  }

  .privacy-content {
    font-size: .95rem;
  }

  .team-bio .team-profile__role {
    font-size: .72rem;
    letter-spacing: .015em;
    text-transform: none;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .page-legal main h2 {
    max-width: 100%;
    font-size: clamp(1.25rem, 5.7vw, 1.5rem);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
    hyphenate-limit-chars: 10 5 5;
  }
}

/* Einheitliche Merkmalskarten in den Seiteneinstiegen */
.services-hero__facts,
.dpo-hero__facts:not(.contact-hero__facts) {
  gap: 1rem;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  border-top: 0;
}

.services-hero__facts > span,
.services-hero__facts > span:first-child,
.services-hero__facts > span:last-child,
.dpo-hero__facts:not(.contact-hero__facts) > span,
.dpo-hero__facts:not(.contact-hero__facts) > span:first-child,
.dpo-hero__facts:not(.contact-hero__facts) > span:last-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 88px;
  padding: 1.15rem 1.25rem;
  color: #303231;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--vb-line);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(27, 29, 28, .055);
  font-size: .94rem;
  font-weight: 760;
  line-height: 1.4;
}

.services-hero__facts > span::before,
.dpo-hero__facts:not(.contact-hero__facts) > span::before {
  content: none;
  display: none;
}

.page-services-overview .services-hero + .section-block,
.page-service .dpo-hero + .section-block {
  padding-top: clamp(3.8rem, 6vw, 5.5rem);
}

.page-home .home-hero__facts {
  gap: .65rem;
  margin-top: 1.75rem;
}

.page-home .home-hero__facts li {
  gap: .55rem;
  padding: .62rem .85rem;
  color: #383a39;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(28, 30, 29, .1);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(27, 29, 28, .045);
}

.page-home .home-hero__facts li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: #222625;
  background: #e2e5e3;
  border-radius: 50%;
  box-shadow: none;
  font-size: .7rem;
  font-weight: 900;
}

@media (max-width: 720px) {
  .services-hero__facts,
  .dpo-hero__facts:not(.contact-hero__facts) {
    gap: .7rem;
    margin-top: 2.3rem;
  }

  .services-hero__facts > span,
  .services-hero__facts > span:first-child,
  .services-hero__facts > span:last-child,
  .dpo-hero__facts:not(.contact-hero__facts) > span,
  .dpo-hero__facts:not(.contact-hero__facts) > span:first-child,
  .dpo-hero__facts:not(.contact-hero__facts) > span:last-child {
    min-height: 0;
    padding: .95rem 1rem;
    border: 1px solid var(--vb-line);
    border-radius: 15px;
  }

  .page-home .home-hero__facts {
    gap: .55rem;
  }

  .page-home .home-hero__facts li {
    width: fit-content;
  }
}

/* Navigationsfunktionen: Zurück und Farbschema */
.nav-actions,
.nav-utilities {
  display: flex;
  align-items: center;
}

.nav-actions {
  flex: 0 0 auto;
  gap: .65rem;
}

.nav-utilities {
  gap: .45rem;
}

.nav-utility {
  min-width: 68px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 .85rem;
  color: #303231;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, .14);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(20, 22, 21, .05);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.nav-utility:hover,
.nav-utility:focus-visible {
  color: #111;
  background: #f2f3f4;
  border-color: rgba(26, 26, 26, .24);
  transform: translateY(-1px);
}

.nav-utility:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}

.nav-utility__text {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .nav-container {
    gap: clamp(.75rem, 1.7vw, 2rem);
  }

  .menu .nav-link,
  .menu .nav-cta {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 470px) {
  .nav-container {
    width: calc(100% - 24px);
    gap: .55rem;
  }

  .nav-logo img,
  .navbar.is-scrolled .nav-logo img {
    max-height: 46px;
  }

  .nav-actions,
  .nav-utilities {
    gap: .38rem;
  }

  .nav-utility {
    min-width: 62px;
    height: 42px;
    padding-inline: .65rem;
  }

  .nav-utility__text {
    font-size: .72rem;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
  }
}

/* Websiteweiter Dunkelmodus */
html[data-theme="dark"] {
  color-scheme: dark;
  --vb-ink: #f2f3f2;
  --vb-text: #b8bcba;
  --vb-muted: #a8adaa;
  --vb-line: #343837;
  --vb-surface: #191c1b;
  --vb-surface-warm: #202322;
  --vb-white: #111313;
  --vb-shadow: 0 18px 50px rgba(0, 0, 0, .28);
  --home-ink: #f2f3f2;
  --home-muted: #b8bcba;
  --home-line: rgba(255, 255, 255, .12);
  --home-soft: #191c1b;
  --home-paper: #141616;
}

html[data-theme="dark"] body,
html[data-theme="dark"] body.page-home {
  color: #eef0ef;
  background: #111313;
}

html[data-theme="dark"] main :is(h1, h2, h3, h4, h5, h6) {
  color: #f2f3f2;
}

html[data-theme="dark"] main :is(p, li) {
  color: #b8bcba;
}

html[data-theme="dark"] :is(.page-eyebrow, .home-eyebrow, .news-eyebrow, .news-section-kicker, .news-card__source-type, .card-kicker, .home-service-column__kicker, .home-trust__label) {
  color: #d5d9d7 !important;
}

html[data-theme="dark"] .services-overview-card__audience {
  color: #b9bfbc;
}

html[data-theme="dark"] .navbar {
  background: rgba(17, 19, 19, .97);
  border-bottom-color: rgba(255, 255, 255, .1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
}

html[data-theme="dark"] .navbar.is-scrolled {
  box-shadow: 0 10px 34px rgba(0, 0, 0, .4);
}

html[data-theme="dark"] .nav-logo img {
  padding: .18rem;
  background: #fff;
  border-radius: 9px;
}

html[data-theme="dark"] :is(.menu .nav-link, .menu .dropdown-toggle) {
  color: #d5d8d6;
}

html[data-theme="dark"] :is(.menu .nav-link:hover, .menu .nav-link:focus-visible, .menu .nav-link.is-active, .menu .dropdown-toggle:hover, .menu .dropdown-toggle:focus-visible, .menu .dropdown-toggle.is-active) {
  color: #fff;
  background: #292c2b;
}

html[data-theme="dark"] :is(.menu .nav-link.is-active::before, .menu .dropdown-toggle.is-active::before) {
  background: #9aa09d;
}

html[data-theme="dark"] :is(.menu .nav-cta, .menu .nav-cta.is-active) {
  color: #171717;
  background: #d5d9d7;
  border-color: #d5d9d7;
}

html[data-theme="dark"] :is(.menu .nav-cta:hover, .menu .nav-cta:focus-visible) {
  color: #111;
  background: #e6e9e7;
  border-color: #e6e9e7;
}

html[data-theme="dark"] .nav-utility,
html[data-theme="dark"] .mobile-nav-toggle {
  color: #edf0ee;
  background: #202322;
  border-color: #3b3f3d;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

html[data-theme="dark"] :is(.nav-utility:hover, .nav-utility:focus-visible, .mobile-nav-toggle:hover, .mobile-nav-toggle:focus-visible) {
  color: #fff;
  background: #2b2f2d;
  border-color: #555a57;
}

html[data-theme="dark"] .dropdown-menu {
  color: #e8eae9;
  background: #191c1b;
  border-color: #373b39;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .48);
}

html[data-theme="dark"] .dropdown-menu a {
  color: #c6cac8;
}

html[data-theme="dark"] .dropdown-group-title {
  color: #929894;
}

html[data-theme="dark"] :is(.dropdown-group a:hover, .dropdown-group a:focus-visible, .dropdown-group a.is-current) {
  color: #fff;
  background: #292d2b;
}

html[data-theme="dark"] .dropdown-overview {
  color: #171717 !important;
  background: #d5d9d7;
}

html[data-theme="dark"] .mobile-overlay {
  background: rgba(17, 19, 19, .995);
}

html[data-theme="dark"] :is(.mobile-menu-brand, .mobile-close, .mobile-menu a, .mobile-accordion, .mobile-submenu a) {
  color: #eef0ef;
}

html[data-theme="dark"] :is(.mobile-close, .mobile-accordion) {
  background: #202322;
  border-color: #3b3f3d;
}

html[data-theme="dark"] .mobile-menu > li {
  background: #1c1f1e;
  border-color: #3b403d;
}

html[data-theme="dark"] :is(.mobile-accordion, .mobile-menu > li > a) {
  color: #eef0ef;
  background: #1c1f1e;
}

html[data-theme="dark"] .mobile-submenu {
  border-color: #3b403d;
}

html[data-theme="dark"] .mobile-submenu-label {
  color: #cdd1cf;
}

html[data-theme="dark"] :is(.mobile-menu a:hover, .mobile-menu a:focus-visible, .mobile-submenu a:hover, .mobile-submenu a:focus-visible, .mobile-submenu a[aria-current="page"]) {
  color: #fff;
  background: #292d2b;
}

html[data-theme="dark"] :is(.page-hero, .services-hero, .dpo-hero, .error-main) {
  background:
    radial-gradient(circle at 82% 20%, rgba(205, 210, 207, .08), transparent 27rem),
    linear-gradient(135deg, #171a19 0%, #111313 68%, #1b1d1c 100%);
  border-color: #303432;
}

html[data-theme="dark"] :is(.section-block, .services-portfolio, .services-scope, .reference-group, .culture-panel) {
  background-color: #111313;
}

html[data-theme="dark"] :is(.section-block--soft, .services-relief, .ai-assurance, .contact-security, .page-legal main) {
  background: #171a19;
}

html[data-theme="dark"] :is(.contact-card, .detail-panel, .process-list li, .service-link-card, .ai-summary, .ai-role-note, .qualification-card, .team-bio, .contact-hero__facts > li, .services-hero__facts > span, .dpo-hero__facts:not(.contact-hero__facts) > span, .legal-link-list a, .legal-card, .privacy-load-status, .error-card) {
  background: #1c1f1e;
  border-color: #383c3a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] :is(.page-service, .page-services-overview) .content-band__body {
  gap: 0;
  background: #191c1b;
  border: 1px solid #353a38;
  border-radius: 22px;
  box-shadow: 0 20px 46px rgba(0, 0, 0, .16);
  overflow: hidden;
}

html[data-theme="dark"] :is(.page-service, .page-services-overview) .content-band__body .detail-panel {
  padding: clamp(1.55rem, 3vw, 2.25rem);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #353a38;
  border-radius: 0;
  box-shadow: none;
}

html[data-theme="dark"] :is(.page-service, .page-services-overview) .content-band__body .detail-panel:last-child {
  border-bottom: 0;
}

html[data-theme="dark"] :is(.services-overview-card, .ai-capability, .ai-application-grid article, .ai-process-list li, .services-relief__grid li, .dpo-process__list li, .dpo-relief__grid li, .services-contacts__people a) {
  border-color: #343837;
}

html[data-theme="dark"] :is(.page-button:not(.page-button--light), .home-btn--primary) {
  color: #171717;
  background: #d5d9d7;
  border-color: #d5d9d7;
}

html[data-theme="dark"] :is(.page-button:not(.page-button--light):hover, .page-button:not(.page-button--light):focus-visible, .home-btn--primary:hover, .home-btn--primary:focus-visible) {
  color: #111;
  background: #e6e9e7;
  border-color: #e6e9e7;
}

html[data-theme="dark"] :is(.page-button--light, .home-btn--secondary) {
  color: #eef0ef;
  background: #202322;
  border-color: #454a47;
}

html[data-theme="dark"] :is(.page-button--light:hover, .page-button--light:focus-visible, .home-btn--secondary:hover, .home-btn--secondary:focus-visible) {
  color: #fff;
  background: #2b2f2d;
  border-color: #5a605d;
}

html[data-theme="dark"] :is(.cta-panel, .home-contact-cta) {
  color: #fff;
  background: #080909;
  border-color: #343837;
}

html[data-theme="dark"] :is(.cta-panel h2, .cta-panel p, .home-contact-cta h2, .home-contact-cta p) {
  color: #f1f2f1 !important;
}

html[data-theme="dark"] .cta-panel .page-button,
html[data-theme="dark"] .home-btn--light {
  color: #171717;
  background: #f3f4f3;
  border-color: #f3f4f3;
}

html[data-theme="dark"] .home-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(205, 210, 207, .08), transparent 30%),
    linear-gradient(135deg, #181b1a 0%, #111313 62%, #1b1d1c 100%);
}

html[data-theme="dark"] .home-hero::before {
  border-color: rgba(255, 255, 255, .07);
  box-shadow: 0 0 0 5rem rgba(255, 255, 255, .025), 0 0 0 10rem rgba(255, 255, 255, .012);
}

html[data-theme="dark"] :is(.home-trust, .home-services, .home-references) {
  background: #111313;
}

html[data-theme="dark"] :is(.home-approach, .home-news) {
  background: #171a19;
}

html[data-theme="dark"] :is(.home-approach__people, .home-news-card) {
  background: #1c1f1e;
  border-color: #383c3a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .18);
}

html[data-theme="dark"] :is(.home-service-column + .home-service-column, .home-approach__steps li + li, .home-news-card, .home-reference-logos figure) {
  border-color: #343837;
}

html[data-theme="dark"] .home-service-list a:hover,
html[data-theme="dark"] .home-service-list a:focus-visible {
  background: #1c1f1e;
}

html[data-theme="dark"] :is(.page-home .home-hero__facts li, .news-principles li) {
  color: #e5e8e6;
  background: rgba(31, 35, 33, .88);
  border-color: #3c413e;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] .news-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(205, 210, 207, .08), transparent 34%),
    linear-gradient(135deg, #181b1a 0%, #111313 68%, #1b1d1c 100%);
  border-color: #303432;
}

html[data-theme="dark"] .news-hero::after {
  border-color: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, .02), 0 0 0 8rem rgba(255, 255, 255, .01);
}

html[data-theme="dark"] .news-overview {
  background: #111313;
}

html[data-theme="dark"] :is(.news-toolbar, .news-card, .news-card__footer, .news-pagination) {
  border-color: #343837;
}

html[data-theme="dark"] :is(.news-filter, .news-pagination__control, .news-pagination__page) {
  color: #d9dcda;
  background: #1c1f1e;
  border-color: #3b403d;
}

html[data-theme="dark"] :is(.news-filter:hover, .news-filter:focus-visible, .news-filter.is-active, .news-pagination__control:hover:not(:disabled), .news-pagination__control:focus-visible, .news-pagination__page:hover, .news-pagination__page:focus-visible, .news-pagination__page.is-active) {
  color: #171717;
  background: #d5d9d7;
  border-color: #d5d9d7;
}

html[data-theme="dark"] .news-pagination__control:disabled {
  color: #969b98;
  background: #171918;
  border-color: #2b2e2c;
}

html[data-theme="dark"] :is(.news-card__tags span, .news-card__practical, .news-empty) {
  color: #c8ccc9;
  background: #1c1f1e;
  border-color: #3b403d;
}

html[data-theme="dark"] .news-card__practical {
  border-left-color: #9aa09d;
}

html[data-theme="dark"] .news-source-link {
  color: #171717;
  background: #d5d9d7;
  border-color: #d5d9d7;
}

html[data-theme="dark"] .news-source-link:hover,
html[data-theme="dark"] .news-source-link:focus-visible {
  color: #111;
  background: #e6e9e7;
  border-color: #e6e9e7;
}

html[data-theme="dark"] .news-transparency {
  background: #080909;
}

html[data-theme="dark"] .page-legal main > :is(section, .container, div),
html[data-theme="dark"] .page-legal :is(.legal-page, .impressum-section, .privacy-section) {
  background-color: transparent;
}

html[data-theme="dark"] .privacy-content,
html[data-theme="dark"] .privacy-content * {
  background-color: transparent !important;
  border-color: #3b403d !important;
}

html[data-theme="dark"] .privacy-content :is(p, li, span, div) {
  color: #b8bcba !important;
}

html[data-theme="dark"] .privacy-content :is(h1, h2, h3, h4, strong, b) {
  color: #f2f3f2 !important;
}

html[data-theme="dark"] .privacy-content a {
  color: #e6e9e7 !important;
}

html[data-theme="dark"] :is(.logo-card, .home-reference-logos figure, .certificate-grid figure) {
  background: #f5f5f3;
  border-color: #d6d8d5;
}

html[data-theme="dark"] :is(.logo-card figcaption, .logo-card figcaption *, .home-reference-logos figcaption, .certificate-grid figcaption, .certificate-grid figcaption *) {
  color: #303231 !important;
}

html[data-theme="dark"] .certificate-lightbox__panel {
  background: #1c1f1e;
  border-color: #434845;
}

html[data-theme="dark"] .certificate-lightbox__close {
  color: #eef0ef;
  background: #242725;
  border-color: #484d4a;
}

/* Kontrastkorrekturen für fest definierte Seitentöne */
html[data-theme="dark"] :is(.services-hero__facts > span, .dpo-hero__facts:not(.contact-hero__facts) > span) {
  color: #e4e7e5;
}

html[data-theme="dark"] .page-home .home-hero__facts li::before {
  color: #222625;
  background: #e2e5e3;
  border-color: #e2e5e3;
}

html[data-theme="dark"] .services-contacts,
html[data-theme="dark"] .dpo-relief__panel {
  background: #1c1f1e;
  border-color: #383c3a;
}

html[data-theme="dark"] :is(.services-contacts__people strong, .services-contacts h2, .dpo-relief__panel h3) {
  color: #f2f3f2;
}

html[data-theme="dark"] :is(.services-contacts__people span, .dpo-relief__panel > p:not(.page-eyebrow), .dpo-relief__panel li) {
  color: #b8bcba;
}

html[data-theme="dark"] .check-list li::before {
  background: #9aa09d;
}

html[data-theme="dark"] :is(.reference-nav a, .legal-jump-links a, .legal-link-list a) {
  color: #eef0ef;
  background: #1c1f1e;
  border-color: #414643;
}

html[data-theme="dark"] :is(.reference-nav a:hover, .reference-nav a:focus-visible, .legal-jump-links a:hover, .legal-jump-links a:focus-visible, .legal-link-list a:hover, .legal-link-list a:focus-visible) {
  color: #171717;
  background: #d5d9d7;
  border-color: #d5d9d7;
}

html[data-theme="dark"] :is(.legal-card address, .legal-card address *, .legal-section address, .legal-section address *, .contact-card__note, .contact-note) {
  color: #bdc1bf;
}

html[data-theme="dark"] .contact-note {
  background: #202322;
  border-color: #555b58;
}

html[data-theme="dark"] .plain-link {
  color: #e6e9e7;
}

html[data-theme="dark"] .contact-hero__facts > li > strong {
  color: #d5d9d7;
}

html[data-theme="dark"] .dpo-hero__facts.contact-hero__facts > li > span,
html[data-theme="dark"] .dpo-hero__facts.contact-hero__facts > li > span:first-child,
html[data-theme="dark"] .dpo-hero__facts.contact-hero__facts > li > span:last-child {
  color: #c5c9c7;
}

html[data-theme="dark"] :is(.dpo-legal-note, .dpo-obligation__grid p, .dpo-work-list p, .dpo-process__list p, .services-relief__grid p, .services-group__head > p, .services-overview-card p) {
  color: #b8bcba;
}

html[data-theme="dark"] :is(.ai-capability__number, .ai-process-list span, .card-number) {
  color: #cdd1cf;
}

html[data-theme="dark"] .dpo-legal-note {
  border-left-color: #747a77;
}

html[data-theme="dark"] :is(.whistle-rule-card__label, .whistle-state-note__label) {
  color: #b8bcba;
}

html[data-theme="dark"] :is(.whistle-rule-card > p:not(.whistle-rule-card__label), .whistle-rule-card .whistle-rule-card__detail, .whistle-state-note__content p, .whistle-count-note p) {
  color: #b8bcba;
}

html[data-theme="dark"] .whistle-state-note {
  background: #202322;
  border-color: #414643;
}

html[data-theme="dark"] .ai-certificate-line {
  color: #cdd1cf !important;
  border-color: #464b48;
}

html[data-theme="dark"] :is(.home-trust__copy p, .home-hero__lead, .home-section-head > p, .home-service-list span, .home-approach__steps p, .home-approach__people > p, .home-news-card p) {
  color: #b8bcba;
}

html[data-theme="dark"] :is(.home-trust__copy a, .home-services__all a, .home-news-card > a, .home-news__all a, .home-references__all a) {
  color: #e6e9e7;
}

html[data-theme="dark"] .home-news-card__meta,
html[data-theme="dark"] .home-news-card__meta time {
  color: #aeb3b0;
}

html[data-theme="dark"] .home-news-card__meta span {
  color: #d5d9d7;
}

html[data-theme="dark"] .home-approach__steps span {
  color: #e6e9e7;
}

html[data-theme="dark"] .news-results-status {
  color: #aeb3b0;
}

html[data-theme="dark"] .news-card__meta time {
  color: #e2e5e3;
}

html[data-theme="dark"] .news-card__tags span {
  color: #d6d9d7;
  background: #242725;
}

html[data-theme="dark"] .news-card__content > p:not(.news-card__source-type),
html[data-theme="dark"] .news-card__practical p,
html[data-theme="dark"] .news-card__footer p,
html[data-theme="dark"] .news-empty p {
  color: #bdc1bf;
}

html[data-theme="dark"] :is(.news-card__practical h4, .news-empty h3) {
  color: #f0f2f1;
}

html[data-theme="dark"] .news-card__footer p span {
  color: #cdd1cf;
}

html[data-theme="dark"] .news-principles li::before {
  color: #d5d9d7;
}

html[data-theme="dark"] .news-pagination__ellipsis {
  color: #aeb3b0;
}

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