/*
 Theme Name:   aixvers
 Description:  Child Theme for aixvers
 Author:       POWER+RADACH werbeagentur gmbh
 Author URI:   https://www.power-radach.de/
 Template:     pr-master-theme
 Version:      1.0
 Tested up to: 6.2.2
 Requires PHP: >8.0 
*/
html,
body {
  overflow-x: hidden;
  --primary-font: "Roboto", sans-serif;
  --headings-font: "Merriweather", sans-serif;
  --secondary-font: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --content-max-width: 1200px;
  --text-max-width: var(--content-max-width);
  --primary-color: #007370;
  --primary-color-light: #00A3AE;
  --secondary-color: #91A447;
  --secondary-color-light: #D2D92A;
  --a-color: var(--primary-color);
  --a-hover-color: var(--primary-color-light);
  --a-text-decoration: none;
  --grey-light: #F4F5F5;
  --box-shadow: 0 6px 50px rgba(0, 0, 0, .05);
}
html .has-aixvers-blau-color,
body .has-aixvers-blau-color {
  color: #164179 !important;
}
html .has-aixvers-rot-color,
body .has-aixvers-rot-color {
  color: #c11729 !important;
}
html .has-aixvers-gruen-color,
body .has-aixvers-gruen-color {
  color: #007370 !important;
}
html .has-gradient-color,
body .has-gradient-color {
  background-image: linear-gradient(to right, #00a2ae, #94ae23, #d2d82d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html .no-deco :before,
body .no-deco :before {
  display: none;
}

@media (max-width: 580px) {
  :root {
    --content-width: calc(100vw - 60px);
  }
}
/*
@include breakpoint(tablet) {
}
*/
.has-box-shadow .wp-block-media-text__content, .has-box-shadow.column-outer-wrapper,
.has-box-shadow .group-inner-wrapper {
  box-shadow: var(--box-shadow);
  padding: 40px !important;
  background-color: #fff;
}
@media (max-width: 480px) {
  .has-box-shadow .wp-block-media-text__content, .has-box-shadow.column-outer-wrapper,
  .has-box-shadow .group-inner-wrapper {
    padding: 20px !important;
  }
}

/*
@extend %paleri;
*/
/*
@extend %transition;
*/
/*
@extend %button;
*/
html,
body {
  --p-font-size: 16px;
  --p-line-height: 1.625;
  --p-font-weight: 300;
  --p-strong-font-weight: 400;
  --p-margin-bottom: 20px;
  --p-color: #000000;
  --h1-font-family: var(--headings-font);
  --h1-color: var(--p-color);
  --h1-font-size: 45px;
  --h1-line-height: 1.29;
  --h1-font-weight: 400;
  --h1-letter-spacing: normal;
  --h1-margin-bottom: 20px;
  --h2-font-family: var(--headings-font);
  --h2-color: var(--p-color);
  --h2-font-size: 30px;
  --h2-line-height: 1.33;
  --h2-font-weight: 400;
  --h2-letter-spacing: normal;
  --h2-margin-bottom: 20px;
  --h3-font-family: var(--headings-font);
  --h3-color: var(--p-color);
  --h3-font-size: 22px;
  --h3-font-style: italic;
  --h3-line-height: 1.36;
  --h3-font-weight: 400;
  --h3-letter-spacing: normal;
  --h3-margin-bottom: 20px;
  --h4-font-family: var(--headings-font);
  --h4-color: var(--p-color);
  --h4-font-size: 22px;
  --h4-line-height: 1.36;
  --h4-font-weight: 700;
  --h4-letter-spacing: normal;
  --h4-margin-bottom: 20px;
}
html a,
body a {
  text-decoration: none;
  color: var(--a-color);
}
html a:hover,
body a:hover {
  color: var(--a-hover-color);
}
html h1,
body h1 {
  font-style: italic;
}
html h2,
body h2 {
  font-style: italic;
}
html h3,
body h3 {
  font-style: italic;
}
@media (max-width: 980px) {
  html,
  body {
    --h3-font-size: 22px;
    --h3-font-weight: 500;
  }
}
html h5,
body h5 {
  font-family: var(--headings-font);
  color: var(--p-color);
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.39;
  letter-spacing: normal;
  margin-bottom: 16px;
  margin-top: 0;
}
html h6,
body h6 {
  font-family: var(--headings-font);
  color: var(--p-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.39;
  letter-spacing: normal;
  margin-bottom: 16px;
  margin-top: 0;
}
html h1.has-large-font-size h2.has-large-font-size,
body h1.has-large-font-size h2.has-large-font-size {
  --wp--preset--font-size--large: 46px !important;
  font-size: var(--wp--preset--font-size--large) !important;
  --h2-line-height: 1.4;
  --h2-font-weight: 500;
}
@media (max-width: 768px) {
  html h1.has-large-font-size h2.has-large-font-size,
  body h1.has-large-font-size h2.has-large-font-size {
    --wp--preset--font-size--large: 22px !important;
  }
}
@media (max-width: 980px) {
  html,
  body {
    --h1-font-size: 22px;
    --h1-line-height: 1.4;
    --h1-font-weight: 700;
    --h2-font-size: 22px;
    --h2-line-height: 1.4;
    --h2-font-weight: 500;
  }
  html .heading-outer-wrapper .heading-inner-wrapper h2,
  body .heading-outer-wrapper .heading-inner-wrapper h2 {
    font-weight: var(--h2-font-weight) !important;
  }
}
html .paragraph-outer-wrapper:last-child p,
body .paragraph-outer-wrapper:last-child p {
  --p-margin-bottom: 0;
}
html p.has-small-font-size,
body p.has-small-font-size {
  --wp--preset--font-size--small: 13px !important;
  --p-color: #cbcbcb;
  --p-font-weight: 400;
}
html .footer h3,
body .footer h3 {
  --h3-font-size: 20px;
  --h3-line-height: 1.4;
  --h3-font-weight: 400;
}
@media (max-width: 480px) {
  html h4,
  body h4 {
    -webkit-hyphens: auto;
            hyphens: auto;
  }
}

html,
body {
  --global-padding: 40px;
  --block-container-padding-top: 140px;
  --block-container-padding-bottom: 140px;
  --block-container-horizontal-padding: var(--global-padding);
}
@media (max-width: 768px) {
  html,
  body {
    --global-padding: 20px;
  }
}
@media (max-width: 980px) {
  html,
  body {
    --block-container-padding-top: 70px;
    --block-container-padding-bottom: 70px;
  }
}
html .block-outer-wrapper.has-background-color-white .block-container-outer-wrapper.has-background.has-background-color.has-background-color-var--grey-light,
body .block-outer-wrapper.has-background-color-white .block-container-outer-wrapper.has-background.has-background-color.has-background-color-var--grey-light {
  background-color: #fff !important;
}
html .pb0,
body .pb0 {
  --block-container-padding-bottom: 0px;
}
html .block-inner-wrapper.inner-wrapper,
body .block-inner-wrapper.inner-wrapper {
  --text-max-width: 100%;
}
html .wp-block-spacer,
body .wp-block-spacer {
  height: 140px;
}
@media (max-width: 980px) {
  html .wp-block-spacer,
  body .wp-block-spacer {
    height: var(--block-container-padding-top) !important;
  }
  html .wp-block-spacer.spacer-small,
  body .wp-block-spacer.spacer-small {
    height: calc(var(--block-container-padding-top) / 3) !important;
  }
}

@media (max-width: 980px) {
  html .wp-block-media-text.intro,
  body .wp-block-media-text.intro {
    gap: 30px;
  }
}
@media (max-width: 480px) {
  html .wp-block-media-text.intro,
  body .wp-block-media-text.intro {
    gap: 20px;
  }
}
html .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
body .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding-left: 0;
  padding-right: 70px;
}
html .wp-block-media-text .wp-block-media-text__media,
body .wp-block-media-text .wp-block-media-text__media {
  width: 100%;
}
@media (max-width: 980px) {
  html .wp-block-media-text .wp-block-media-text__media img,
  body .wp-block-media-text .wp-block-media-text__media img {
    width: 100%;
    height: 50vw;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: top;
       object-position: top;
  }
}
@media (max-width: 480px) {
  html .wp-block-media-text .wp-block-media-text__media img,
  body .wp-block-media-text .wp-block-media-text__media img {
    height: 50vh;
  }
}
html .wp-block-media-text .wp-block-media-text__content,
body .wp-block-media-text .wp-block-media-text__content {
  background-color: #fff;
  width: 100%;
}
@media (max-width: 980px) {
  html .wp-block-media-text.is-stacked-on-mobile,
  body .wp-block-media-text.is-stacked-on-mobile {
    display: flex;
    flex-direction: column;
  }
}
@media (min-width: 980px) {
  html .florian-rechts,
  body .florian-rechts {
    --p-color: rgba(255, 255, 255, 0.7);
    --h3-color: #fff;
    --p-font-weight: 400;
    --a-color: #fff;
    --a-hover-color: var(--p-color);
  }
  html .florian-rechts .wp-block-media-text__content,
  body .florian-rechts .wp-block-media-text__content {
    padding: 40px !important;
    background-color: var(--color-red) !important;
  }
}
@media (max-width: 980px) {
  html .florian-rechts .wp-block-media-text.is-stacked-on-mobile,
  body .florian-rechts .wp-block-media-text.is-stacked-on-mobile {
    flex-direction: column-reverse;
  }
  html .florian-rechts .wp-block-media-text.is-image-fill .wp-block-media-text__media,
  body .florian-rechts .wp-block-media-text.is-image-fill .wp-block-media-text__media {
    min-height: 400px;
  }
}

html,
body {
  --columns-gutter: 70px;
  /*
  // overwrite wp block library gr
  @media (min-width: 782px) {
      .wp-block-columns {
          flex-wrap: wrap !important;
      }
  }
  */
}
@media (max-width: 1024px) {
  html,
  body {
    --columns-gutter: 35px;
  }
}
html .standorte .image-outer-wrapper,
body .standorte .image-outer-wrapper {
  margin-bottom: 20px;
}
html .standorte .image-inner-wrapper,
body .standorte .image-inner-wrapper {
  position: relative;
  overflow: hidden;
}
html .standorte .image-inner-wrapper:hover img,
body .standorte .image-inner-wrapper:hover img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}
html .standorte .image-inner-wrapper:after,
body .standorte .image-inner-wrapper:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  background-image: linear-gradient(to right, #027470, rgba(0, 162, 174, 0.5), rgba(148, 174, 35, 0.5), rgba(210, 216, 45, 0.5));
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 35px;
  font-weight: 300;
  font-family: var(--secondary-font);
}
html .standorte .image-inner-wrapper:hover:after,
body .standorte .image-inner-wrapper:hover:after {
  opacity: 1;
}
html .standorte .image-inner-wrapper.data-from-title-attr:after,
body .standorte .image-inner-wrapper.data-from-title-attr:after {
  content: attr(data-title);
}

html .grid,
body .grid {
  --block-container-padding-top: 0px;
  --block-container-padding-bottom: 0px;
  --grid-gutter: 40px;
  --tile-justify-content: space-between;
  --global-padding: 0;
}
html .grid.outer-wrapper,
body .grid.outer-wrapper {
  margin-top: 50px;
}
@media (max-width: 980px) {
  html .grid.outer-wrapper,
  body .grid.outer-wrapper {
    margin-top: 15px;
  }
}
@media (max-width: 980px) {
  html .grid,
  body .grid {
    --tile-column-width: 100%;
  }
}
html .grid .block-container-inner-wrapper,
body .grid .block-container-inner-wrapper {
  height: 100%;
  box-shadow: var(--box-shadow);
  padding: 40px !important;
}
html .tileswrapper-outer-wrapper .tileswrapper-inner-wrapper .tileswrapper.show-as-grid[rowlen="3"] > *:not(.custom-width),
body .tileswrapper-outer-wrapper .tileswrapper-inner-wrapper .tileswrapper.show-as-grid[rowlen="3"] > *:not(.custom-width) {
  margin-right: 0;
}

html,
body {
  --image-noalignment-margin-top: 0;
  --image-noalignment-margin-bottom: 0px;
}

html,
body {
  --button-font-size: 13px;
  --button-line-height: 40px;
  --button-font-weight: 400;
  --button-text-transform: uppercase;
  --button-hover-background-color: #727272;
  --button-padding-top: 0px;
  --button-padding-right: 30px;
  --button-padding-bottom: 0px;
  --button-padding-left: 30px;
}
@media (max-width: 480px) {
  html,
  body {
    --button-padding-right: 20px;
    --button-padding-left: 20px;
  }
}
@media (max-width: 330px) {
  html,
  body {
    --button-padding-right: 10px;
    --button-padding-left: 10px;
  }
}
html .wp-block-button__link,
html .ninja-forms-field.wp-block-button__link.nf-element,
html .wp-block-post-excerpt__more-link,
body .wp-block-button__link,
body .ninja-forms-field.wp-block-button__link.nf-element,
body .wp-block-post-excerpt__more-link {
  background-image: linear-gradient(to right, #027470, #00a2ae, #94ae23, #d2d82d);
  color: #fff !important;
  text-transform: var(--button-text-transform);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  border: none;
  padding: var(--button-padding-top) var(--button-padding-right) var(--button-padding-bottom) var(--button-padding-left);
  height: 40px;
  line-height: var(--button-line-height);
}
html .wp-block-button__link:hover,
html .ninja-forms-field.wp-block-button__link.nf-element:hover,
html .wp-block-post-excerpt__more-link:hover,
body .wp-block-button__link:hover,
body .ninja-forms-field.wp-block-button__link.nf-element:hover,
body .wp-block-post-excerpt__more-link:hover {
  background-image: none;
  background-color: var(--button-hover-background-color);
  color: #fff;
}

html,
body {
  --list-item-border-radius: 0%;
  --list-item-before-width: 5px;
  --list-item-before-height: 5px;
  --list-item-top: 9px;
  --list-item-padding-left: 15px;
  --list-item-before-background: var(--secondary-color);
}
html .group-outer-wrapper.align-wide .inner-wrapper,
body .group-outer-wrapper.align-wide .inner-wrapper {
  --text-max-width: 100% ;
}
html #wrapper .list-outer-wrapper .list-inner-wrapper ol li,
body #wrapper .list-outer-wrapper .list-inner-wrapper ol li {
  margin-left: 8px;
  --list-item-padding-left: 0;
  list-style: auto;
}
html #wrapper .list-outer-wrapper .list-inner-wrapper ol li:before,
body #wrapper .list-outer-wrapper .list-inner-wrapper ol li:before {
  display: none;
}

html,
body {
  --slider-caption-primary-font-family: var(--h1-font-family);
  --slider-caption-primary-font-size: 36px;
  --slider-caption-primary-font-weight: 300;
  --slider-caption-primary-line-height: 46px;
  --slider-caption-primary-color: var(--secondary-color);
  --slider-caption-primary-text-shadow: none;
  --slider-caption-primary-text-align: left;
  --slider-captions-width: 45%;
  --slider-captions-transform: none;
  --slider-captions-left: auto;
  --slider-captions-padding: 70px;
}
@media (max-width: 1600px) {
  html,
  body {
    --slider-captions-width: 85%;
  }
}
@media (max-width: 1281px) {
  html,
  body {
    --slider-captions-padding: 25px;
  }
}
@media (max-width: 980px) {
  html,
  body {
    --slider-captions-width: 50%;
  }
}
@media (max-width: 580px) {
  html .slider-captions,
  body .slider-captions {
    display: none;
  }
}
html .swiper-pagination,
body .swiper-pagination {
  display: none;
}
html .slider-captions,
html .wp-block-cover__inner-container,
body .slider-captions,
body .wp-block-cover__inner-container {
  background-color: rgba(255, 255, 255, 0.91);
  right: 0;
}
html .slider-captions h1:before,
html .wp-block-cover__inner-container h1:before,
body .slider-captions h1:before,
body .wp-block-cover__inner-container h1:before {
  display: none;
}

html #ninja_forms_required_items, html .nf-field-container,
body #ninja_forms_required_items,
body .nf-field-container {
  margin-bottom: 10px;
}
html .label-left .nf-field-label,
body .label-left .nf-field-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-right: 2%;
  text-align: left;
  width: 35%;
  order: 5;
}
html .nf-form-content .nf-field-label label,
body .nf-form-content .nf-field-label label {
  font-size: 16px;
  font-weight: 300;
}
html .nf-form-fields-required,
body .nf-form-fields-required {
  display: none;
}
html .nf-form-content .list-select-wrap .nf-field-element > div, html .nf-form-content input:not([type=button]), html .nf-form-content textarea,
html select,
body .nf-form-content .list-select-wrap .nf-field-element > div,
body .nf-form-content input:not([type=button]),
body .nf-form-content textarea,
body select {
  background: #fff;
  border: 1px solid #8e8e8e;
  color: #787878;
  max-width: 400px;
  font-family: var(--primary-font);
}
html .nf-form-content textarea.ninja-forms-field,
body .nf-form-content textarea.ninja-forms-field {
  height: 100px;
}
html .submit-container,
body .submit-container {
  border-top: 1px solid #e8e8e8;
  padding-top: 19px;
}
html .submit-wrap .nf-field-element,
body .submit-wrap .nf-field-element {
  text-align: right;
}
html .checkbox-container.label-left .nf-field-label,
body .checkbox-container.label-left .nf-field-label {
  padding-right: 4%;
}
html .label-left .checkbox-wrap .nf-field-description,
body .label-left .checkbox-wrap .nf-field-description {
  margin: 20px 0;
}
html .label-left .nf-after-field,
body .label-left .nf-after-field {
  margin-left: 35%;
}
html .nf-error-field-errors,
body .nf-error-field-errors {
  background: #fef0ef;
  padding: 15px;
}

html .cool-vertical-timeline-body,
body .cool-vertical-timeline-body {
  --ctlb-story-border-color: #858585;
  --ctlb-line-color: #1d1d1b;
  --ctlb-item-spacing: 20px;
  --ctlb-sub-heading-color: #858585;
}
html .cool-vertical-timeline-body.ctlb-wrapper:before,
body .cool-vertical-timeline-body.ctlb-wrapper:before {
  background-color: var(--ctlb-line-color);
  opacity: 1;
  width: 4px;
}
html .cool-vertical-timeline-body .timeline-content .story-details,
body .cool-vertical-timeline-body .timeline-content .story-details {
  border-right: none !important;
  border-left: none !important;
  border-bottom: 2px solid var(--ctlb-story-border-color);
  border-radius: 0;
  box-shadow: none;
}
html .cool-vertical-timeline-body .timeline-content .story-details:before,
body .cool-vertical-timeline-body .timeline-content .story-details:before {
  display: none !important;
}
html .cool-vertical-timeline-body .timeline-content .story-details .wp-block-image.alignleft,
body .cool-vertical-timeline-body .timeline-content .story-details .wp-block-image.alignleft {
  width: 100%;
}
@media (max-width: 768px) {
  html .cool-vertical-timeline-body .timeline-content .story-details,
  body .cool-vertical-timeline-body .timeline-content .story-details {
    padding-left: 10px;
  }
}
html .cool-vertical-timeline-body .heading-h3.ctlb-block-title,
body .cool-vertical-timeline-body .heading-h3.ctlb-block-title {
  display: none;
}
@media (max-width: 768px) {
  html .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-left .timeline-block-icon,
  html .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-right .timeline-block-icon,
  body .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-left .timeline-block-icon,
  body .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-right .timeline-block-icon {
    top: 5px;
    left: 0px;
  }
  html .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-left .timeline-block-icon .iconpicker-item svg,
  html .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-right .timeline-block-icon .iconpicker-item svg,
  body .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-left .timeline-block-icon .iconpicker-item svg,
  body .cool-vertical-timeline-body .timeline-content.icon-true .ctl-row.position-right .timeline-block-icon .iconpicker-item svg {
    font-size: 19px !important;
  }
  html .cool-vertical-timeline-body.both-sided .ctl-6.timeline-block-time,
  body .cool-vertical-timeline-body.both-sided .ctl-6.timeline-block-time {
    margin-bottom: 0px;
  }
}

html .konzept,
body .konzept {
  --block-container-padding-top: 70px;
}
html .konzept .heading-h1,
body .konzept .heading-h1 {
  max-width: 880px;
}
@media (min-width: 1025px) {
  html .konzept,
  body .konzept {
    margin-bottom: -70px;
  }
}
html .konzept .group-outer-wrapper.outer-wrapper,
html .konzept .paragraph-outer-wrapper.outer-wrapper,
html .konzept .heading-outer-wrapper.outer-wrapper,
body .konzept .group-outer-wrapper.outer-wrapper,
body .konzept .paragraph-outer-wrapper.outer-wrapper,
body .konzept .heading-outer-wrapper.outer-wrapper {
  margin-left: 0;
}
html .konzept .wp-block-group.is-vertical,
body .konzept .wp-block-group.is-vertical {
  max-width: 56vw;
  margin-right: 0;
}
@media (max-width: 980px) {
  html .konzept .wp-block-group.is-vertical,
  body .konzept .wp-block-group.is-vertical {
    max-width: 100vw;
  }
}
html .konzept .grid.outer-wrapper,
body .konzept .grid.outer-wrapper {
  --tile-column-mobile-width: 0;
  order: -1;
  margin-top: 0;
  margin-bottom: 50px;
  max-width: 500px;
}
@media (max-width: 580px) {
  html .konzept .grid.outer-wrapper,
  body .konzept .grid.outer-wrapper {
    --grid-gutter: 0px;
  }
  html .konzept .grid.outer-wrapper.tileswrapper-outer-wrapper .tileswrapper-inner-wrapper .tileswrapper.show-as-grid[rowlen="2"] > *:not(.custom-width),
  body .konzept .grid.outer-wrapper.tileswrapper-outer-wrapper .tileswrapper-inner-wrapper .tileswrapper.show-as-grid[rowlen="2"] > *:not(.custom-width) {
    min-width: 50%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}
@media (max-width: 980px) {
  html .konzept .grid.outer-wrapper,
  body .konzept .grid.outer-wrapper {
    --tile-column-width: 46%;
  }
}
@media (min-width: 1025px) {
  html .konzept .grid.outer-wrapper,
  body .konzept .grid.outer-wrapper {
    order: 1;
    max-width: 300px;
    margin-top: 20px;
    margin-left: 0;
    margin-right: 0;
  }
}
html .konzept .grid.outer-wrapper .wp-block-image img,
body .konzept .grid.outer-wrapper .wp-block-image img {
  max-width: 150px;
}

/* Swiper container stylng */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  cursor: grab;
  /* Center slide text vertically */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.cover-swiper {
  position: relative;
  overflow: hidden;
}

.cover-swiper .wp-block-cover {
  --image-noalignment-margin-top: 0;
  --image-noalignment-margin-bottom: 0;
  padding: 0;
  /*
  p.has-large-font-size {
      font-size: 46px;
      line-height: 46px;
      font-weight: 300;
      font-family: var(--secondary-font);
      margin-bottom: 0;

  }
  */
}
@media (max-width: 980px) {
  .cover-swiper .wp-block-cover {
    min-height: 50vh !important;
  }
}
@media (max-width: 580px) {
  .cover-swiper .wp-block-cover {
    min-height: 30vh !important;
  }
}
.cover-swiper .wp-block-cover .wp-block-cover__inner-container {
  display: none;
  /*    background-color: rgba(255, 255, 255, .91);
  padding: 70px;
  padding-right: 30vw;

  @include breakpoint(laptop) {
      padding: 40px;
      padding-right: 20vw;
  }

  @include breakpoint(phablet) {
      display: none;
  } */
}
.cover-swiper .cover-outer-wrapper.stage.outer-wrapper[prebackgroundimage] {
  background-size: 170vh;
  --container-background-position: calc(100% + 10vh) top;
}
@media (max-width: 980px) {
  .cover-swiper .cover-outer-wrapper.stage.outer-wrapper[prebackgroundimage] {
    background-size: 130vh;
    --container-background-position: calc(100% + 40vh) top;
  }
}

h2.cover-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 46vh;
  background-color: rgba(255, 255, 255, 0.91);
  --h2-color: var(--p-color);
  --h2-font-size: 36px;
  --h2-line-height: 46px;
  --h2-font-weight: 300;
  --h2-font-family: var(--secondary-font);
  margin-bottom: 0;
  padding: 70px;
  padding-right: 30vw;
}
h2.cover-caption:before {
  display: none;
}
@media (max-width: 980px) {
  h2.cover-caption {
    padding: 40px;
    padding-right: 20vw;
    top: 26vh;
  }
}
@media (max-width: 580px) {
  h2.cover-caption {
    display: none !important;
  }
}

/*
.swiper-pagination {
    z-index: 1 !important;
}
*/
.fade-in-right {
  opacity: 0;
}

.animated {
  animation: fade-in-right 0.5s ease-out 0.5s both;
}

.delayed-075 {
  animation-delay: 0.75s;
}

.wp-block-media-text__media,
.delayed-1 {
  animation-delay: 1s;
}

/**
* ----------------------------------------
* animation fade-in-right
* ----------------------------------------
*/
@keyframes fade-in-right {
  0% {
    transform: translateX(30px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
html h2.wp-block-post-title,
body h2.wp-block-post-title {
  font-family: var(--secondary-font);
  color: var(--p-color);
  font-size: 35px;
  --h2-margin-top: 140px;
  margin-top: var(--h2-margin-top);
  text-transform: uppercase !important;
  --h2-font-weight: 300 !important;
}
@media (max-width: 980px) {
  html h2.wp-block-post-title,
  body h2.wp-block-post-title {
    font-size: 22px;
    --h2-margin-top: 70px;
    font-family: var(--secondary-font);
    --h2-font-weight: 500 !important;
    font-weight: 500 !important;
    text-transform: none !important;
  }
}
html p.wp-block-post-excerpt__excerpt,
body p.wp-block-post-excerpt__excerpt {
  font-size: 16px;
  line-height: 1.625;
  font-weight: 300;
  margin-bottom: 20px;
  color: var(--text-color);
}
html.single-stellenangebot h1.wp-block-heading,
body.single-stellenangebot h1.wp-block-heading {
  --h1-text-transform: uppercase;
  --h1-font-size: 46px;
}
@media (max-width: 980px) {
  html.single-stellenangebot h1.wp-block-heading,
  body.single-stellenangebot h1.wp-block-heading {
    --h1-font-size: 37px;
  }
}
@media (max-width: 580px) {
  html.single-stellenangebot h1.wp-block-heading,
  body.single-stellenangebot h1.wp-block-heading {
    --h1-font-size: 22px;
    --h1-font-weight: 500;
    --h1-font-family: var(--secondary-font);
  }
}

#header-outer {
  width: 100%;
  background-color: var(--grey-light);
  position: fixed;
  top: 0;
  z-index: 3;
  left: 0;
  right: 0;
}
@media (max-width: 768px) {
  #header-outer {
    position: relative;
  }
}

#header-inner {
  display: flex;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--global-padding);
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1281px) {
  #header-inner {
    padding: 0px;
  }
}
@media (max-width: 980px) {
  #header-inner {
    padding: 15px 20px 15px 0;
  }
}

#logo {
  display: block;
  z-index: 100000;
  height: auto;
}
@media (max-width: 980px) {
  #logo img {
    width: 150px;
  }
}

#burger {
  padding: 9px;
  transform: translate(34px, 3px) scale(0.7);
  fill: var(--secondary-color);
  cursor: pointer;
  display: none;
  box-sizing: content-box;
}
#burger:hover {
  fill: var(--p-color);
}
@media (max-width: 980px) {
  #burger {
    display: block;
  }
}

#burger rect {
  transition: 0.5s;
}
#burger.active rect#upper {
  transform: rotate(45deg) translate(-4px, -20px);
  width: 31px;
}
#burger.active rect#under {
  transform: rotate(-45deg) translate(-21px, 14px);
  width: 31px;
}
#burger rect#middle {
  transition: opacity 0.8s;
  opacity: 1;
}
#burger.active rect#middle {
  opacity: 0;
  transition: opacity 0.1s;
}

#header_navigation .menu {
  display: flex;
  margin-bottom: 0;
  list-style: none;
  margin-top: 0;
  padding-left: 0;
}
#header_navigation .menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-height: 110px;
  color: #858585;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  font-family: var(--secondary-font);
  text-transform: uppercase;
  padding: 0px 25px;
  position: relative;
  z-index: 1;
}
#header_navigation .menu li a:before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  bottom: 24px;
  height: 1px;
  transition: 0.4s ease-in-out;
  transition-property: background-color, border-color, box-shadow, height, right;
  left: 25px;
  right: calc(102% - 25px);
}
#header_navigation .menu li a:focus, #header_navigation .menu li a:hover {
  color: var(--secondary-color);
  outline: 0;
}
#header_navigation .menu li a:focus:before, #header_navigation .menu li a:hover:before {
  right: 25px;
  background-color: #969696;
}
#header_navigation .menu li.menu-icon a {
  padding-right: 0;
}
#header_navigation .menu li.menu-icon a svg {
  fill: #cbcbcb;
}
#header_navigation .menu li.menu-icon a svg:hover {
  fill: var(--secondary-color);
}
#header_navigation .menu li.menu-icon a:hover:before, #header_navigation .menu li.menu-icon a:focus:before {
  display: none;
}
@media (max-width: 980px) {
  #header_navigation .menu li.menu-icon a {
    display: none;
  }
}
#header_navigation .menu li.current-menu-item a, #header_navigation .menu li.current-menu-parent a, #header_navigation .menu li.current-page-ancestor a {
  color: var(--p-color);
}
#header_navigation .menu li.current-menu-item a:before, #header_navigation .menu li.current-menu-parent a:before, #header_navigation .menu li.current-page-ancestor a:before {
  right: 25px;
  background-color: #969696;
}
@media (max-width: 980px) {
  #header_navigation .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0px;
    top: 56px;
    background: var(--grey-light);
    width: 100%;
    height: 100vh;
    list-style: none;
    padding-left: 0px;
    padding-top: 20vh;
    padding-bottom: 1vh;
  }
  #header_navigation .menu li a {
    padding: 10px;
    text-align: center;
    width: 300px;
    margin: 0px;
    font-size: 22px;
    font-weight: 300;
    min-height: auto;
  }
  #header_navigation .menu li a:before {
    display: none;
  }
}
#header_navigation .menu .sub-menu {
  display: block;
  padding: 0;
  /* &:after { // not sliding with the sub menu :((
      content: "";
      background: #929191;
      height: 130px;
      width: 200vw;
      position: absolute;
      left: -100vw;
      top: 0px;
      z-index: -2;
  }*/
}
@media (min-width: 980px) {
  #header_navigation .menu .sub-menu {
    display: none;
    background: #929191;
    position: absolute;
    padding: 20px 20px 60px 20px;
    z-index: -1;
    border-left: 100vw #929191 solid;
    margin-left: -100vw;
    border-right: 100vw #929191 solid;
  }
}
#header_navigation .menu .sub-menu li {
  list-style: none;
}
#header_navigation .menu .sub-menu li a {
  text-transform: none;
  font-size: 16px;
  padding: 3px;
}
@media (min-width: 980px) {
  #header_navigation .menu .sub-menu li a {
    color: var(--grey-light);
    text-align: left;
    justify-content: flex-start;
    min-height: 30px;
    padding-left: 0;
    font-family: var(--primary-font);
  }
  #header_navigation .menu .sub-menu li a:hover {
    color: rgba(255, 255, 255, 0.5);
  }
}

footer {
  --h3-margin-bottom: 0;
  --block-container-padding-top: 40px;
  --block-container-padding-bottom: 0px;
  margin: auto;
}
footer .widget-aachen h3:hover {
  --h3-color: #164179;
}
footer .widget-koeln h3:hover {
  --h3-color: #c11729;
}
footer .widget-pfeifle h3:hover {
  --h3-color: #007370;
}
footer .outer-wrapper > .inner-wrapper {
  width: 100%;
}
footer .wp-block-group {
  justify-content: space-between;
}
footer .wp-block-group .footer-logo > .inner-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 40px;
  gap: 30px;
}
@media (max-width: 580px) {
  footer .wp-block-group .footer-logo > .inner-wrapper {
    padding-right: 0;
  }
}
footer .wp-block-group > .outer-wrapper {
  margin-bottom: 40px;
}
@media (max-width: 980px) {
  footer .wp-block-group > .outer-wrapper {
    min-width: 49%;
  }
}
@media (max-width: 580px) {
  footer .wp-block-group > .outer-wrapper {
    min-width: 100%;
  }
}
footer .footer-policy-menu {
  display: flex;
  justify-content: center;
  padding-left: 0;
}
footer .footer-policy-menu li {
  display: block;
  margin: 50px 15px;
}
footer .footer-policy-menu li a {
  color: #cbcbcb;
  font-weight: 400;
}
footer .footer-policy-menu li a:hover {
  color: var(--secondary-color);
}
footer .footer-policy-menu::before {
  content: "";
  display: block;
  position: absolute;
  width: 95%;
  margin-left: -2%;
  height: 1px;
  background-color: #e8e8e8;
}