.yt-overlay-container {
  position: relative;
}

.yt-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* cover iframe completely */
  display: grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.yt-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.yt-overlay__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.yt-overlay__play {
  z-index: 1;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 999px;
  background: var(--wp--preset--color--aqua-teal);
  display: inline-grid;
  align-items: center;
  justify-items: center;
  place-items: center;
  cursor: pointer;
}

.yt-overlay__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 30px solid #fff;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  margin-left: 7px;
}

.yt-overlay__play:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@container (max-width: 1024px) {
  .wp-block-navigation__responsive-dialog {
    background-color: var(--wp--preset--color--blue-og-web);
    height: 100vh;
    width: 100vw;
    left: 0;
    position: fixed;
    overflow-y: scroll;
    padding-bottom: 100px;
  }
}

.wp-block-navigation-item__label {
  white-space: nowrap;
}

ul {
  padding-left: 20px;
}

@container (max-width: 767px) {
  .home-hero-bg-gradient, .kontakt-hero-bg-gradient {
    background: #FFFFFF !important;
  }
}

.wp-block-cover__inner-container {
  flex-grow: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.entry-content {
  z-index: 0;
  position: relative;
}

.bg-full {
  position: relative;
  z-index: 10;
}
.bg-full:after {
  content: "";
  background-color: inherit;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  z-index: -1;
}

strong {
  font-weight: 600;
}

@container (max-width: 1279px) {
  #header-spacer {
    display: none;
  }
}

.header-logo img {
  -o-object-fit: contain !important;
     object-fit: contain !important;
  width: auto;
  height: 100% !important;
}

p:not([class*=has-h-]) a {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  font-weight: 700;
}

.header-button {
  border: 2px solid transparent;
}
.header-button p a {
  -webkit-text-decoration: none;
  text-decoration: none;
}
.header-button:hover {
  background-color: var(--wp--preset--color--dark-blue) !important;
  border: 2px solid var(--wp--preset--color--dark-blue) !important;
}
.header-button p a {
  color: var(--wp--preset--color--white) !important;
}

.wp-block-buttons .wp-block-button__link {
  border: 3px solid transparent;
}
.wp-block-buttons .wp-block-button__link.has-blue-og-web-background-color:hover {
  background-color: var(--wp--preset--color--dark-blue) !important;
  border: 3px solid var(--wp--preset--color--dark-blue) !important;
  color: var(--wp--preset--color--white) !important;
}
.wp-block-buttons .wp-block-button__link.has-white-background-color:hover {
  background-color: var(--wp--preset--color--dark-blue) !important;
  border: 3px solid var(--wp--preset--color--dark-blue) !important;
  color: var(--wp--preset--color--white) !important;
}

body {
  overflow-x: clip;
}
body.scrolled .header {
  position: fixed;
  z-index: 1000;
  width: var(--m2c12);
}
@container (max-width: 1279px) {
  body.scrolled .header {
    position: relative;
  }
}
body .header {
  background-color: var(--wp--preset--color--white);
}
body .header .header-logo img {
  height: 60px;
  width: auto;
}

.desktop-navigation .button-online-termin {
  display: none;
}
.desktop-navigation > ul > li {
  padding-right: var(--g1);
}
.desktop-navigation > ul > li:last-of-type {
  padding-right: 0;
}
.desktop-navigation > ul > li > ul > li {
  padding-right: 0;
}

.wp-block-navigation__container li.has-child > a:hover {
  cursor: default;
}

.mobile-navigation .button-online-termin {
  margin-left: var(--c1g1);
  margin-right: var(--c1g1);
  width: calc(100% - var(--c2g2));
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}
.mobile-navigation .button-online-termin .wp-block-button {
  width: 100%;
  font-size: 18px;
  font-weight: 600;
}
.mobile-navigation .button-online-termin .wp-block-button .wp-block-button__link {
  background-color: var(--wp--preset--color--stormy-teal);
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: 100cqw;
  background-color: transparent !important;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close {
  height: 100vh;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 500px;
  background-color: var(--wp--preset--color--deep-teal);
  color: #FFF;
  overflow-y: auto;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-dialog {
  gap: 0;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close button.wp-block-navigation__responsive-container-close {
  margin-right: 20px;
  top: 20px;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul {
  width: 100%;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li {
  font-size: 22px;
  line-height: 2.0454545455em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: var(--c1g1);
  margin-right: var(--c1g1);
  width: calc(100% - var(--c2g2));
  justify-content: center;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li > button, .mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li > a {
  padding-top: 0.25em;
  padding-bottom: 0.25em;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li.has-child > button {
  position: relative;
  width: 100%;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li.has-child > button:after {
  content: "";
  background-image: url("../../images/mobile-menu-item-arrow-down.svg");
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 7px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li.has-child > button[aria-expanded=true] {
  color: var(--wp--preset--color--aqua-teal);
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li.has-child > button[aria-expanded=true]:after {
  background-image: url("../../images/mobile-menu-item-arrow-up.svg");
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li > ul {
  padding-top: 0;
  display: none;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li > ul.showing {
  display: block;
}
.mobile-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content > ul > li > ul > li {
  font-size: 18px;
  line-height: 2.5em;
}

/* /css/nav-icon-override.css */
/* Open (hamburger) button */
.wp-block-navigation__responsive-container-open {
  position: relative;
}

.wp-block-navigation__responsive-container-open svg {
  display: none !important; /* hide default */
}

.wp-block-navigation__responsive-container-open::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 24px;
  background-image: url("../../images/menu-open.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Close (X) button inside the overlay */
.wp-block-navigation__responsive-container-close svg {
  display: none !important;
}

.wp-block-navigation__responsive-container-close::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 24px;
  background-image: url("../../images/menu-close.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}