/* BFSG / WCAG 2.2 AA overrides only. Do not merge into existing theme CSS. */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  text-underline-offset: 0.18em;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px #111;
}

.button::after, button[type=submit]::after {
  background-color: #000;
}
.inverted .button::after, .inverted button[type=submit]::after {
    background-color: #000;
}


.skip-link,
.bfsg-skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10000;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  background: #111;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

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

main:focus {
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
label,
select {
  cursor: pointer;
}

input,
select,
textarea,
button {
  min-height: 44px;
}

.socialmedia_item,
.pswp__button,
.slick-arrow,
.slick-dots button {
  min-width: 44px;
  min-height: 44px;
}

.slick-dots button:focus-visible {
  border-radius: 999px;
}

.inverted a:not(.button),
footer a:not(.button) {
  text-decoration: underline;
}

footer,
footer.inverted,
footer.inverted h1,
footer.inverted h2,
footer.inverted h3,
footer.inverted h4,
footer.inverted h5,
footer.inverted h6,
footer.inverted p,
footer.inverted a {
  color: #000;
}

footer>.columns>.col:last-child>p  {
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

footer>.columns>.col:last-child>p>a:first-child {
  margin-bottom: 0.5rem;
}

footer>.columns>.col:last-child>p>a+a {
    border-left: 0;
}

footer>.columns>.col:last-child>p>a {
    padding: 0;
}


h1,
h2,
h3,
h4,
h5,
h6,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #000;
}

.inverted h1,
.inverted h2,
.inverted h3,
.inverted h4,
.inverted h5,
.inverted h6,
.inverted h1 a,
.inverted h2 a,
.inverted h3 a,
.inverted h4 a,
.inverted h5 a,
.inverted h6 a {
  color: #fff;
}

.row_imagetext .wrapper.inverted .text-col {
  background-color: var(--primary);
}

.primaerfarbe_bg,
.sekundaerfarbe_bg,
.button,
.inverted .button, .inverted button[type=submit] {
  color: #000000;
}

.row_imagetext .image,
.team_member_image {
  overflow: hidden;
}

.team_member_image {
  position: relative;
  min-height: 300px;
}

.row_imagetext .image > img,
.team_member_image > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

@media (forced-colors: active) {
  a,
  button,
  input,
  select,
  textarea {
    forced-color-adjust: auto;
  }
}
