/* BITV 9.2.4.11: Fokus nicht hinter dem sticky Header verdecken */
html {
  scroll-padding-top: var(--lo-header-offset, 8rem);
}

@media (min-width: 1024px) {
  html {
    scroll-padding-top: var(--lo-header-offset, 11rem);
  }
}

/* BITV 9.1.1.1c: Deko-Icons auf eigenen Elementen, nicht per ::after auf Links */

.m-breadcrumbs li:after {
  display: none !important;
}

.m-breadcrumbs__sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  font-size: 8px;
}

.c-guideline-subitem a:after {
  display: none !important;
}

.c-guideline-subitem a .icon-arrow-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0171BC;
  color: #fff;
  width: 40px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 8px;
  font-size: 13px;
}

.c-collapsible__opener:after {
  display: none !important;
}

.c-collapsible__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  width: 40px;
  aspect-ratio: 1 / 1;
  font-size: 10px;
  background-color: #0171BC;
  color: #fff;
  border-radius: 8px;
  flex-shrink: 0;
}

.c-collapsible__item.is-active .c-collapsible__chevron {
  transform: rotate(180deg);
}

/* BITV 9.1.3.1a: echte Überschriften, bisheriges Aussehen behalten */
h2.c-logo {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

h3.m-footer-nav__title {
  margin: 0 0 18px;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

h3.c-collapsible__heading {
  margin: 0;
}

h2.c-guideline-box__title,
h3.c-guideline-box__subtitle,
h3.c-card__title {
  margin-top: 0;
}

/* BITV 11.7: Browser-Textgröße und eigene/dunkle Farben */

html {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  font-size: 100%;
}

body {
  font-size: 1.125rem;
}

body.h-easy-version {
  font-size: 1.25rem;
}

@media (prefers-color-scheme: dark), (forced-colors: active) {
  .c-logo a,
  .c-partners a,
  .c-partners img {
    background-color: #fff;
    padding: 0.35em 0.5em;
    border-radius: 4px;
    forced-color-adjust: none;
  }

  .c-logo img,
  .c-partners img {
    background-color: #fff;
  }

  .g-footer-content .c-logo img {
    filter: none;
  }
}

@media (forced-colors: active) {
  .c-switcher {
    border: 2px solid ButtonText;
    background-color: ButtonFace;
  }

  .c-switcher:before {
    background-color: ButtonText;
  }

  .c-switcher.h-checked {
    background-color: Highlight;
    border-color: HighlightText;
  }

  .c-switcher.h-checked:before {
    background-color: HighlightText;
  }

  .m-lang-switcher__item.h-active {
    color: LinkText;
  }
}

/* BITV 9.4.1.2: Video-Auslöser als Button, bisheriges Kachel-Aussehen */
button.c-video-card__video {
  width: 100%;
  padding: 0;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
