@media ( min-width: 1200px) {}

@media ( min-width: 992px) {}

@media ( min-width: 769px) {}

@media ( max-width: 768px) {}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
    gap: 0;
    }
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/* montserrat-bold - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ibm-plex-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/ibm-plex-sans-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* ibm-plex-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/ibm-plex-sans-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
    --color1: #111;
    --color2: #666;
    --color3: #F2F2F2;
    --color4: rgb(0, 145, 64);
    --color5: #D5D4B3;
    --color6: #224033;
    --color7: #344E41;
    --color8: #fff;



}

h1 {
    color: var(--color1);
}

@media only screen and (min-width: 993px) {
    .container {
        width: 90%;
    }
}

.container{
    padding-left: 20px;
    padding-right: 20px;
}

.full-width-container {
  width: 100%;
  max-width: 100%; /* Falls es eine maximale Breite gibt */
  margin-left: auto;
  margin-right: auto;
}

a:focus {
    outline: none !important;
}

* {
    border: 0px;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

ul, ol{
    padding-left: 20px;
}

*::selection {
    background: #ccc;
    color: #fff;
}


html,
body {
    height: 100%;

}

html{
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    word-break: normal;
    overflow-wrap: normal;    
    overflow-x:hidden;
}

body {
    background: #ffffff;
    color: var(--color1);
    font-family: 'Montserrat', Arial, Verdana, sans-serif;
    font-size: 17px;
    line-height: 1.45rem;
    -webkit-text-size-adjust: none;
    font-weight: 400;
}

@media ( max-width: 768px) {
    body {
    font-size: 16px;
    line-height: 1.45rem;
}

}

div {
    position: relative;
}

img,
iframe,
video {
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

.image-fitted {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

a{
text-decoration: none;
color: #000;
} 


/* Active links */
a:active {
  color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px 0;
    -webkit-hyphens: manual;
    hyphens: manual;
    word-wrap: break-word;
    /* font-family: 'Inter'; */
    font-family:'IBM Plex Sans', sans-serif;
}

h1 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 700;

}

h2 {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}


@media ( max-width: 768px) {
    /* h1 { font-size: 30px; } */
    h2 { font-size: 30px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 16px; }
    h6 { font-size: 16px; }
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
    color:var(--color1);
}

.headline {
    font-family:'IBM Plex Sans', sans-serif;
    font-size: 60px;
    line-height: 70px;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 767px) {
    .headline {
        font-size: 30px;
        line-height: 40px;
    }
}

.stage-slider .headline{
    font-family:'IBM Plex Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    font-size: clamp(40px, 6.5vw, 80px);
    line-height: 1;
}

p {
    margin: 0 0 10px 0;
    line-height: 1.55rem;
    letter-spacing: 0.02em;
    -webkit-hyphens: auto;
    hyphens: auto;
}

p a {
    color: #666;
}

p a:hover {
    color: #888;
}

a.readmore:after {
    font-family: 'bootstrap-icons';
    content: '\F231';
    margin: 0 0 0 5px;
    transform: translate(0, 1px);
    color: var(--color1);
    display: inline-block;
    transition: .1s;
}

a.readmore:hover:after {
    transform: translate(3px, 1px);
}

a.underline {
    text-decoration: none;
    background-image: linear-gradient(var(--color3), var(--color3));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 3px;
    transition: background-size .3s;
}

a.underline:hover, a.underline:focus {
    background-size: 100% 3px;
}

.no-hyphens {
    -webkit-hyphens: none;
    hyphens: none;
    word-wrap: break-word;
}

strong, b{
    font-family:'IBM Plex Sans', sans-serif;
    font-weight: 700;
}

.text-gruen {
    color: var(--color4);
}

.text-dunkelgruen {
    color: var(--color6);
}

.text-grau {
    color: var(--color2);
}

.text-hellgrau {
    color: var(--color3);
}

.text-weiss {
    color: var(--color8);
}

.text-weiss a{
    color: #fff;
}

.text-weiss a:hover{
    color: #fff;
    text-decoration: underline;
}


.text-beige {
    color: var(--color5);
}

.text-uppercase {
    text-transform: uppercase;
}

/* .btn{
background: var(--color3) ;
color:#000;
padding:10px 15px;
transition:all .2s;
display:inline-block;
letter-spacing:1px;
position:relative;
font-weight:700;
text-transform:uppercase;
}


.btn:hover{
background: var(--color3);
color:#000;
transition:all .15s;
border:0;
} */

.btn-custom {
    background: var(--color4);
    color: #fff;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-custom:hover {
    opacity: 0.9;
}

.bg-creme .btn-custom {
    background: var(--color5);
    color: #000;
}

.arrow_right {
    padding-right: 35px;
}

.arrow_right:after {
    font-family: 'bootstrap-icons';
    content: '\F231';
    z-index: 100;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 15px;
    transition: all .15s;
}

.arrow_right:hover:after {
    color: #d30000;
    right: 10px;
}

.social-icon{
    max-width: 10%;
    fill: #fff;
    stroke: #fff;
}



.wp-block-separator {
    border: unset;
    border-left: none;
    border-right: none;
    height: unset;
}

hr {
    height: 0;
    margin: 20px 0;
    border-bottom: 3px solid #999 !important; 
    width: 70px;
    text-align: left;
    opacity: 1;
}

.shaded {
    display: inline;
    color: #fff!important;
    background: none repeat scroll 0px 0px #285e7a;
    box-shadow: 5px 0 0 #285e7a, -5px 0 0 #285e7a;
    background-origin: border-box;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.lined {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
}

.lined:before,
.lined:after {
    background-color: #aaa;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.lined:before {
    right: 1em;
    margin-left: -50%;
}

.lined:after {
    left: 1em;
    margin-right: -50%;
}


/* LAYOUT */

.bodywrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.innerwrap {
    min-height: calc(100vh - 187px);
}

.section {
    width: 100%;
    padding: 0;
}

.bg-weiss{ background:#fff; }
.bg-hellgrau{ background:#F2F2F2; }
.bg-grau{ background: #DBDADA; }
.bg-dunkelgruen {background: #224033;}
.bg-creme {background: #D5D4B3;}
.bg-gruen {background-color: #009140;}
.bg-schwarz {background-color: #000;}
.bg-waldgruen {background-color: #344E41;}


.bgimg {
  background-size: cover;
  background-position: center;
}


/*  <video autoplay muted loop playsinline class="bgvideo"> */
.section.height800 {
    min-height: 800px !important;
    display: flex;
    align-items: center;
}

.bgvideo-container {
    padding: 100px 0 150px 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 800px !important;
}

.bgvideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black;
    background-position: center center;
    background-size: contain;
    z-index: 0;
    object-fit: cover;
}

@media (max-width: 767px) {

  .section.height800 {
    min-height: 430px !important;
    height: 430px !important;
    display: flex;
    align-items: center;
  }

  .bgvideo-container {
    width: 100% !important;
    height: 430px !important;
    min-height: 430px !important;
    padding: 0 !important;
    overflow: hidden;
    position: relative;
  }

  .bgvideo {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;

    object-fit: cover;
    object-position: center center;

    background-size: cover;
    background-position: center center;
  }
}

.row {
    margin-bottom: 0;
}


/*.col{outline: 1px dotted #ccc;}*/

.padding30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.padding50 {
    padding-top: 50px;
    /* padding-bottom: 50px; */
}

.padding-bottom-0 { 
    padding-bottom: 0px !important; 
    }
.padding-bottom-50 { 
    padding-bottom: 50px !important; 
    }

.padding70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.paddingbottom10 {
    padding-bottom: 10px;
}

.paddingbottom20 {
    padding-bottom: 20px;
}

.paddingbottom50 {
    padding-bottom: 50px;
}

.spacer10 {
    height: 10px;
}

.spacer20 {
    height: 20px;
}

.spacer30 {
    height: 30px;
}

.spacer50 {
    height: 50px;
}

.contentpadding50{
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.contentpadding70{
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}

.contentpadding100{
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}


@media ( max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .wrap {
        width: 100%;
    }
    .padding30 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .padding50 {
        padding-top: 25px;
        /* padding-bottom: 25px; */
    }
    .padding70 {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .spacer10 {
        height: 5px;
    }
    
    .spacer20 {
        height: 10px;
    }
    
    .spacer30 {
        height: 15px;
    }
    
    .spacer50 {
        height: 25px;
    }
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* width100 for Gutenberg-Blocks */
.width100 {
    position: relative;
    left: 50%;
    right: 50%;
    width:calc(100vw - 15px);   
    margin-left: calc(-50vw + 7.5px);
    margin-right:calc(-50vw + 7.5px);

    width:100vw;   
    margin-left: -50vw;
    margin-right:-50vw;
}

.height550 {
    min-height: 550px;
}

 
.newsimagewrap{
    float:right; 
    width:50%;
    margin:10px 0 15px 20px;
 }
 
 .newsimagewrap p{
     font-size:14px;
     margin: 3px 0 5px 0;
     max-width: 100%;
  }
 
 
  @media ( max-width: 769px) {
     .newspost p{
         max-width: 100%;
      }
       
      .newsimagewrap{
         float:none; 
         width:100%;
         margin:10px 0 15px 0;
      }
      
      .newsimagewrap p{
          font-size:14px;
          margin: 3px 0 5px 0;
       }
 }

.content img {}

.image_right {
    float: right;
    margin: 0 !important;
    padding: 7px 0 10px 20px;
    width: 40%;
}

.image_left {
    float: left;
    margin: 0 !important;
    padding: 7px 20px 10px 0;
    width: 40%;
}

@media ( max-width: 768px) {
    .image_right,
    .image_left {
        float: none;
        width: 100%;
        padding: 5px 0 15px 0;
    }
}

.bgimgteaser {
    text-align: center;
    min-height: 200px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow: hidden;
    transition: .2s;
    position: relative;
}

.bgimgteaser .text {
    opacity: 0;
    transition: .4s;
}

.bgimgteaser .image,
.bgimgteaser .blackoverlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

.bgimgteaser .blackoverlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: .2s;
}

.bgimgteaser *,
.bgimgteaser:hover {
    color: #fff;
    text-decoration: none !important;
}

.bgimgteaser:hover>.image {
    transform: scale(1.1);
}

.bgimgteaser:hover>.text,
.bgimgteaser:hover>.blackoverlay {
    opacity: 1;
}

.half-width-image-left {
    width: 59vw;
    height: 100%;
    position: absolute;
    left: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

.half-width-image-right {
    width: 50vw;
    height: 100%;
    position: absolute;
    right: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

.half-width-image-left,
.half-width-image-right {
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.half-width-image-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.half-width-image-left:not(.visible) {
  transform: translateX(-50px);
}

.half-width-image-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.half-width-image-right:not(.visible) {
  transform: translateX(50px);
}

.comefromleft{
    opacity: 0;
    transition: 1.5s ease-in;
    transform: translateX(-100px);
}

.comefromright{
    opacity: 0;
    transition: 1.5s ease-in;
    transform: translateX(100px);
}

.comefromleft.visible, .comefromright.visible{
    transform: translate(0);
    opacity: 1;
}

@media (max-width: 767px) {

  /* Section auf normales Stapel-Layout umstellen */
  .section.width100 {
    min-height: auto !important;
    height: auto !important;
    display: block !important;
    position: relative;
  }

  /* Bilder mobil vollflächig anzeigen */
  .half-width-image-left,
  .half-width-image-right {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100vw !important;
    display: block;
    object-fit: cover;
    object-position: center center;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Container/Text unter das Bild setzen */
  .section.width100 .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    z-index: 2;
  }

  .section.width100 .row {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .section.width100 .col-12,
  .section.width100 .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Abstände mobil neutralisieren */
  .section.width100 .ps-md-5,
  .section.width100 .pe-md-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Textanimationen mobil deaktivieren */
  .comefromleft,
  .comefromright,
  .comefromleft.visible,
  .comefromright.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



.bodywrap {
    margin: 0 auto 0;
}

.footer-top {
    background: var(--color3);
    margin: 0 auto;
    width: 100%;
    padding: 50px 0 50px 0;
    transition: transform .15s;
    color: #000;
    text-align: left;
    
}



.footer {
    background: var(--color4);
    margin: 0 auto;
    width: 100%;
    padding: 30px 0 30px 0;
    transition: transform .15s;
    color: #fff;
    text-align: left;
}

.footer a {
    color: #fff;

    text-transform: uppercase;
}

.footer a:hover {
}


@media ( max-width: 768px) {
    .footer {
        height: auto;
    }
    .bodywrap {
        margin: 0 auto;
        min-height: auto;
        height: auto;
    }
    .push {
        height: auto;
        display: none;
    }
}

/* NAVIGATION */ 

.searchicon {
    position: absolute;
    right: 15px;
    bottom: 3px;
    color: #111;
    width: 18px;
}

.navigation {
    position: absolute;
    right: 45px;
    bottom: 0;
}

.navigation ul {
    list-style: none;
    margin-bottom: 0;
}

.navigation ul li {
    margin: 0 0 0 50px;
    float: left;
}

.navigation ul li a {
    display: block;
    font-size: 16px;
    color: #000;
    padding: 36px 20px 32px 20px;
    margin: -35px -20px -25px -20px;
    position: relative;
    overflow: hidden;
}

.navigation ul li a:hover {
    color: #fff;
}

.navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0; 
    background: var(--color4);
    transition: height 0.2s ease;
    z-index: -1;
}

.navigation ul li a:hover::after {
    height: 100%; /* Füllt die gesamte Box von unten nach oben */
}

.navigation ul li a.current {
    color: #666;
    font-weight: bold;
}

.navigation ul li a.current:hover {
    opacity: 1;
}

.navigation ul li ul {
    position: absolute;
    z-index: 100;
    left: 0px;
    padding-top: 10px;
    display: none;
    padding-bottom: 20px;
}

.navigation ul li ul li {
    float: none;
    border-left: 0;
    padding: 5px 0 6px 0px;
    white-space: nowrap;
}

.navigation ul li ul li a {
    text-transform: none;
    font-weight: inherit;
}

.navigation li a {
    font-weight: normal; 
}

.navigation li.current-menu-item > a, 
.navigation li.current-menu-ancestor > a {
  /* border-top: 2px solid var(--color4); */
}

.current-menu-item a:before{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    content: '';

 border-top: 4px solid var(--color4);
}

.navigation li .sub-menu li a {
    font-weight: normal; 
}

.navigation li .sub-menu li.current-menu-item > a {
    font-weight: bold; 
    color: var(--color3);
    /* border-bottom: 2px solid var(--color2); */

}

.navigation li.current-menu-ancestor > a {
    font-weight: bold; 
    color: var(--color3);
    /* border-bottom: 2px solid var(--color2); */
}



.navoverlay {
    background: #f6f6f6;
    width: 100%;
    height: 0;
    position: absolute;
    left: 0;
    top: 110px;
    z-index: 99;
    transition: 0.15s;
    opacity: 0.4;
    display: block !important;
    z-index: 99;
}


.searchcontainer {
    padding: 30px 0 30px 0;
    display: none;
}

.big-search-field {
    background-color: #fff !important;
    padding: 10px 15px !important;
    height: auto !important;
    border: 0px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    width: calc(100% - 105px) !important;
    height: 44px;
}

.big-search-submit {
    width: 100px !important;
    height: 44px;
    font-size: 15px !important;
    color: #fff !important;
    background: var(--color1) !important;
    border: 0 !important;
    border-radius: 0 !important;
    position: absolute;
    right: 15px;
    top: 0;
}

/* CUSTOM */

.header {
    padding-top: 25px;
    padding-bottom: 25px;
    position: fixed;
    z-index: 100;
    top:0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
}

.logo {
    width: 150px;
}



@media ( max-width: 768px) {
    .header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .logo {
        width: 140px;
    }
}

.imgbgheader{
    height: 30vh;
}

.imageheader {
  min-height: 80vh;
  display: flex;
  align-items: flex-end; 
  background-size: cover;
}

.karriere-check {
    color: var(--color5);
}

.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
}

.list-check li::before {
  font-family: "bootstrap-icons";
  content:"\F26E";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 26px;
  color: var(--color5);
}
.karriere-arrow {
    color: var(--color5);
}

.list-arrow {
  list-style: none;
  padding-left: 0;
}

.list-arrow li {
  position: relative;
  padding-left: 32px;
}

.list-arrow li::before {
  font-family: "bootstrap-icons";
  content: "\F135";   /* bi-arrow-right-short */
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 26px;
  line-height: 1;
  color: var(--color5);
}

.content ul {
    margin: 10px 0;
    list-style: none;
}

.content ol {
    margin: 10px 0;
}

.content li {
    margin: 0 0 10px 15px;
    line-height: 1.45em;
    letter-spacing: 0.02em;
}

.content ol li {
    margin: 0 0 10px 18px;
    padding-left: 3px;
}

.content ul li:before {
    font-family: 'bootstrap-icons';
    content: '\F231';
    margin: 0 10px 0 -15px;
    color: var(--color1);
    position: absolute;
}

.content li a {
    color: #666;
}

.content li a:hover {
    opacity: .7;
}


/* VIDEO / YOUTUBE */

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper, .wp-embed-aspect-16-9 iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-embed-aspect-16-9 {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

iframe[src*="youtube.com"]{
    width: 100% !important;
}

/* GRID */


/*<div class="grid" data-columns> */

@media ( max-width: 768px) {
    .grid[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media ( min-width: 769px) {
    .grid[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}

@media ( min-width: 992px) {
    .grid[data-columns]::before {
        content: '3 .column.size-1of3';
    }
}

.column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.grid .item {
    padding: 0 15px 15px 15px;
}


/* ACC */

.acc_item {
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 16px;
    line-height: 22px;
}

.acc_btn {
    font-weight: 500;
    cursor: pointer;
    padding-top: 4px;
    padding-right: 15px;
}

.acc_btn p {
    margin: 0;
}

.acc_btn:after {
    font-family: 'bootstrap-icons';
    content: '\F229';
    z-index: 100;
    color: var(--color1);
    position: absolute;
    top: 3px;
    right: 5px;
    transition: all .2s;
}

.acc_btn.active:after {
    transform: rotate(-180deg);
}

.acc_btn:hover {
    opacity: .7;
}

.acc_content {
    padding-top: 12px;
    display: none;
}

.cms .acc_content {
    display: block;
}


/* MAP */

.map {
    height: 400px;
    background: #f9f8f8;
    width: 100%;
}

@media ( max-width: 750px) {
    .map {
        height: 250px;
    }
}


/* *** */

.arrow_up_section {
    position: fixed;
    z-index: 15;
    bottom: 0;
    padding: 0;
    margin: 0;
}

.arrow_up_section .row {
    margin-bottom: 0;
}

.arrow_up {
    position: absolute;
    right: 15px;
    bottom: -200px;
    z-index: 10;
    transition: .5s;
    background: #ccc;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
}

.arrow_up.visible {
    bottom: 0;
}

.arrow_up i {
    color: #fff;
}


/* GALLERY */

/*
object-fit: cover;
object-position: 50% 50%;
*/

.gallerywrap a img {
    float: left;
    position: relative;
}

.gallerywrap:hover img {
    opacity: .5;
    z-index: 900;
}

.gallerywrap a img {
    transition: all .4s;
}

.gallerywrap a:hover img {
    transform: scale(1.07);
    transition: all .1s;
    opacity: 1;
    z-index: 1000;
}

.collagewrap {
    background: #fff;
}

.collage {
    padding: 10px;
    background: #fff;
}

.collage img {
    vertical-align: bottom;
    float: left;
}

.collage img a {
    float: left;
}

.pics_in_a_row {
    margin: 1% 0 0 0;
    display: flex;
}

.pics_in_a_row>div:not(:last-child) {
    margin-right: 1%;
}

.pics_in_a_row img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}


/* CONTENTOVERLAY / LIGHTBOX */

.contentoverlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1250;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    text-align: center;
    padding: 40px 15px;
    display: none;
}

.contentoverlay img {
    max-width: 100%;
}

.contentoverlayclose {
    position: fixed;
    cursor: pointer;
    top: 15px;
    right: 30px;
    font-size: 20px;
    z-index: 360;
    color: #666;
}

.contentoverlayclose:hover {
    opacity: 0.5;
}


/* MARQUEE */

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-1800px, 0);
    }
}

.marqueesection {
    background: #eee;
}

.marqueewrap {
    width: 100000px;
}

.marquee.animated {
    animation: marquee 80s linear infinite
}

.marquee a {
    transition: .1s;
    display: inline-block;
    color: #c0392b
}

.marquee h3 {
    font-size: 20px;
    display: inline;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color1);
}

.marquee h3 a:hover {
    color: var(--color1);
}

.marquee h3 strong {
    font-size: 22px;
    display: inline;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color1);
}

@media (max-width:800px) {
    .marquee h3 {
        font-size: 18px;
        display: inline;
    }
}


/*  * * * *  */

.fadeInOnLoad {
    opacity: 0;
    transition: .15s;
}

.clearer {
    clear: both;
}

.overflowhidden {
    overflow: hidden;
}

@media ( min-width: 769px) {
    .mobile { 
        display: none !important;
    }
}

.navicon {
    position: absolute;
    right: 15px;
    top: -2px;
    width: 30px;
    display: block;
    z-index: 100;
}

.navicon .line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--color1);
}

.navicon .line:nth-child(1) {
    top: 10px;
}

.navicon .line:nth-child(2) {
    top: 20px;
}


/* MOBILE  NAVIGATION * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media ( max-width: 768px) {
    .navigation {
        display: none;
    }

    .outerwrap {
        transition: transform .15s;
    }

    .shifted {
        transition: transform .15s;
        transform: translateX(-270px);
    }

    .subnav_mobile {
        background: var(--color4);
        position: fixed;
        width: 270px;
        top: 0;
        bottom: 0;
        right: -540px;
        transition: transform .15s;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
    }

    .subnav_mobile ul {
        list-style: none;
        margin:0;
        padding-left: 0;
    }

    .subnav_mobile ul ul {
        margin-left:10px;
    }

    .subnav_mobile ul li {
        margin: 0 0 0 0;
        text-transform: uppercase;
    }

    .subnav_mobile ul li ul li {
        text-transform: none;
    }

    .subnav_mobile ul li a {
        padding: 10px 5px 10px 20px;
        display: block;
        font-weight: 300;
        color: #fff !important;
        letter-spacing: 1px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .subnav_mobile ul li a:hover {
        opacity: .8;
    }

    .subnav_mobile ul li.current-menu-item a{
        color: #fff;
        font-weight: 900;
    }

    .subnav_mobile ul li ul {
        padding: 0 0 0 20px;
    }

    .subnav_mobile ul li ul li {}
    .subnav_mobile ul li ul li a {
        padding: 7px 0;
        color: #fff;
    }

    .subnav_mobile ul li ul li:last-child a {
        margin-bottom: 10px;
    }

    .subnav_mobile.shifted {
        /*box-shadow: 0 0 6px rgba(0, 0, 0, .3) !important;*/
    }

    .subnav_mobile_overlay {
        background: rgba(255, 255, 255, .7);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        transition: transform .15s;
        z-index: 101;
        backdrop-filter:blur(2px);
    }

    .bodywrap {
        transition: transform .15s;
    }

    .current-menu-item a:before{
    position: unset;
    top:unset;
    left:unset;
    width: unset;
    content: '';

 border-top: unset;
}


}

/* Change Autocomplete styles in Chrome*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #111 !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}


@keyframes wobble {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}


.stage .bgimg{
    animation: wobble 60s linear infinite;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.stage{
    padding: 100px 0 150px 0;
    overflow: hidden;
    height: 100%;
}

.stage .bgimg{
    animation: wobble 40s linear infinite;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.stage h1{  
    font-size: 66px;
    line-height: 62px;
    color:#fff;
    font-weight: 300;

}

.stage h1 strong{  
    font-weight: 600;
    
}

.stage p{
    color:#fff;
    hyphens: none;
    font-size: 23px;
}

@media ( max-width: 768px) {
    .stage h1{
        font-size: 44px;
        line-height: 44px;
    }
    
.stage p{
    font-size: 18px;
}
}


.slick-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -30px !important;
    z-index: 10000;
}

.slick-dots li {
    margin: 0 1px;
}

.slick-dots button {
    height: 15px !important;
    width: 15px !important;
    margin: 0 4px !important;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 20px;
}

.slick-dots .slick-active button {
    background: #fff !important;
}

.slick-dots li button:before{
    content: '';
}


.slick-prev, .slick-next{
    left: 20px;
    content:'';
    z-index: 1000;
    opacity: .6;
}

.slick-next{
    right: 20px;
    left: unset;
}

.slick-next:before{
    content:'';
}

.slick-next:after, .slick-prev:after{
    font-family: 'bootstrap-icons';
    content:'\F133';
    position: absolute;
    top:0;
    right: 0;
    font-size: 30px;
    color: #999;

}

.slick-prev:after{
    content:'\F129';
    right: unset;
    left: 0;
}

.slick-dotted.slick-slider {
     margin-bottom: 0; 
}

/*
.owl-nav {
    position: absolute !important;
    top:50% !important;
    width: 100%;
}

.owl-prev, .owl-next{
    color:#eee !important;
    position: absolute !important;
    top: calc(50% - 35px) !important;
    font-size: 50px !important;
}

.owl-prev{
    left:-30px;
}

.owl-prev:before{
    font-family: 'bootstrap-icons';
    content:'\F27A';
}

.owl-next{
    right:-30px;
}

.owl-next:after{
    font-family: 'bootstrap-icons';
    content:'\F27B';
}

.owl-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -40px !important;
    z-index: 100;
}

.owl-dots button {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background: #eee !important;
    border-radius: 20px;
}

.owl-dot.active {
    background: var(--color2) !important;
}
*/

.embed-responsive {
    margin-bottom: 20px;
}

.wp-block-image .alignright, .wp-block-image .alignleft {
    max-width: 40%;
}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}

.wp-block-button__link{
    color:#fff;
    background: #009140;
    font-size: 18px;    
    font-weight: 400;
    border-radius: 25px;
    transition: .15s;
}

.wp-block-button__link.wp-element-button:hover {
    color: #000 !important;
    background: var(--color3) !important;
}


.bg-gruen .wp-block-button__link{
    color:#000;
    background: var(--color3);
    font-size: 18px;    
    font-weight: 400;
    border-radius: 25px;
    transition: .15s;
}

.bg-gruen .wp-block-button__link.wp-element-button:hover {
    background: #fff !important;
}


.bg-creme .wp-block-button__link{
    color:#fff;
    background: var(--color6);
    font-size: 18px;    
    font-weight: 400;
    border-radius: 25px;
    transition: .15s;
}

.bg-dunkelgruen .wp-block-button__link{
    color:#000;
    background: var(--color5);
    font-size: 18px;    
    font-weight: 400;
    border-radius: 25px;
    transition: .15s;
}

.bg-weiss .wp-block-button__link{
    color:#fff;
    background: var(--color4);
    font-size: 18px;    
    font-weight: 400;
    border-radius: 25px;
    transition: .15s;
}

.bg-weiss .wp-block-button__link a.button:visited {
    color: #fff;
}

.bg-hellgrau .wp-block-button__link{
    color:#fff;
    background: var(--color4);
    font-size: 18px;    
    font-weight: 400;
    border-radius: 25px;
    transition: .15s;
}

.bg-hellgrau .wp-block-button__link a.button:visited {
    color: #fff;
}

.bg-hellgrau .wp-block-button__link.wp-element-button:hover {
    background: #fff !important;
    color: #000;
}

.bg-gruen .wp-block-button__link.wp-element-button:hover {
    background: #fff !important;
}

.bg-schwarz {
    background: #000;
}

.wpcf7 label {
    display: unset;
}

.wp-block-table a{
    color:#111;
}

.wp-block-table a:hover{
   text-decoration: underline;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 5px 0;
}

.wpcf7-list-item-label{
    padding-left: 5px;
}

.df-loading-icon{
    display: none;
}

.df-container .df-loading-info {
    background: none;
    box-shadow: none;
    padding-top: 100px;
}

.page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
    list-style: none;
    margin-top: 20px;
}

.page-numbers li{
    display: inline-block;
}

.page-numbers.current {
    font-weight: bold;
    background: #EE2D24;
    border-radius: 2px;
    color: #fff;
}

.page-numbers.dots {
    background: none;
    pointer-events: none;
}

.page-numbers a:hover{
    color:#333;
}

.page-numbers .bi{
    display: inline-block;
    position: relative;
    transform: translateY(1px);
    color: #EE2D24;
}

.mitglied {
    text-align: center;
}

/* ================================
   SLIDER BASIS (dein Teil)
   ================================ */

/* Slider Höhe */
.image-slider.stage-slider,
.image-slider.stage-slider .slick-list,
.image-slider.stage-slider .slick-track,
.image-slider.stage-slider .slick-slide{
  height: 90vh;
}

.image-slider.stage-slider{
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Slide */
.image-slider.stage-slider .stage-slide{
  height: 90vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.headline-wrap {
    border-bottom: 3px solid #009140 !important; 
}

/* Headline Layer */
.image-slider.stage-slider .headline-wrap{
  position: absolute;
  inset: 0;
  display: flex;

  /* pad_x/pad_y pro Slide (Zahl wird in vw/vh umgerechnet) */
  padding-left:  calc(var(--pad-x, 5) * 1vw);
  padding-right: calc(var(--pad-x, 5) * 1vw);
  padding-top:   calc(var(--pad-y, 6) * 1vh);
  padding-bottom:calc(var(--pad-y, 6) * 1vh);
}

.image-slider.stage-slider .headline{
    color: #fff;   /* Default = weiß */
}


.stage-slide.headline-green .headline{ color: var(--color4); }
.stage-slide.headline-black .headline{ color:#000; }


/* Position X */
.stage-slide.x-left   .headline-wrap{ justify-content: flex-start; }
.stage-slide.x-center .headline-wrap{ justify-content: center; }
.stage-slide.x-right  .headline-wrap{ justify-content: flex-end; }

/* Position Y */
.stage-slide.y-top    .headline-wrap{ align-items: flex-start; }
.stage-slide.y-center .headline-wrap{ align-items: center; }
.stage-slide.y-bottom .headline-wrap{ align-items: flex-end; }

/* Text Align */
.stage-slide.ta-left   .headline{ text-align: left; }
.stage-slide.ta-center .headline{ text-align: center; }
.stage-slide.ta-right  .headline{ text-align: right; }

.hero-slider-wrap{
  margin-top: -50px;
}

/* Full-bleed (wie Footer, über gesamte Seitenbreite) */
.hero-slider-wrap .image-slider.stage-slider{
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Fullheight auch in Slick-Wrappern */
.hero-slider-wrap .image-slider.stage-slider,
.hero-slider-wrap .image-slider.stage-slider .slick-list,
.hero-slider-wrap .image-slider.stage-slider .slick-track,
.hero-slider-wrap .image-slider.stage-slider .slick-slide,
.hero-slider-wrap .image-slider.stage-slider .stage-slide{
  height: 90vh;
}

/* Mobile echtes Fullscreen (Adressleisten-Bug Fix) */
@supports (height: 100svh){
  .hero-slider-wrap .image-slider.stage-slider,
  .hero-slider-wrap .image-slider.stage-slider .slick-list,
  .hero-slider-wrap .image-slider.stage-slider .slick-track,
  .hero-slider-wrap .image-slider.stage-slider .slick-slide,
  .hero-slider-wrap .image-slider.stage-slider .stage-slide{
    height: 90svh;
  }
}

@media (max-width: 767px) {

  .hero-slider-wrap {
    margin-top: 0;
  }

  .image-slider.stage-slider,
  .image-slider.stage-slider .slick-list,
  .image-slider.stage-slider .slick-track,
  .image-slider.stage-slider .slick-slide,
  .image-slider.stage-slider .stage-slide,
  .hero-slider-wrap .image-slider.stage-slider,
  .hero-slider-wrap .image-slider.stage-slider .slick-list,
  .hero-slider-wrap .image-slider.stage-slider .slick-track,
  .hero-slider-wrap .image-slider.stage-slider .slick-slide,
  .hero-slider-wrap .image-slider.stage-slider .stage-slide {
    height: 430px !important;
    min-height: 430px !important;
  }

  .image-slider.stage-slider .stage-slide,
  .hero-slider-wrap .image-slider.stage-slider .stage-slide {
    width: 100vw !important;
    min-width: 100vw !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .hero-slider-wrap .image-slider.stage-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    overflow: hidden !important;
  }
}


.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 550px !important;
}

/* Hintergrundbild anzeigen */
.hero-image {
    width: 100vw;
    min-height: 550px;               /* Mindestens eine Höhe setzen */
    background-repeat: no-repeat;
    background-size: cover;      /* deckt den Bereich */
    background-position: center; /* zentriert */
}

/* Optional: Text über dem Bild */
.hero-wrapper .container {
    position: absolute;
    /* top: 50%; */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* über dem Bild */
    /* color: #fff; */
}

.hero-wrapper .container .black {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* über dem Bild */
    color: #000;
}

.section.width100 {
    min-height: 450px !important;
    display: flex;
    align-items: center;
}

.ab-image-marquee {
    --gap: 18px;
    --item-width: 440px;
    --item-ratio: 3 / 4;
    --marquee-duration: 40s;

    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
}

/* TRACK */

.ab-image-marquee__track {
    display: flex;
    gap: var(--gap);
    width: max-content;
    animation: ab-marquee-scroll var(--marquee-duration) linear infinite;
    will-change: transform;
}

/* ITEM */

.ab-image-marquee__item {
    position: relative;
    flex: 0 0 var(--item-width);
    width: var(--item-width);
    aspect-ratio: var(--item-ratio);
    overflow: hidden;
    border-radius: 0;
}

/* IMAGE */

.ab-image-marquee__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* OVERLAY */

.ab-image-marquee__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 145, 64, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

/* CAPTION */

.ab-image-marquee__caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    z-index: 3;
    color: #fff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* TYPO RESET */

.ab-image-marquee__caption * {
    margin: 0;
    padding: 0;
    color: #fff;
}

/* NAME (H6 Look) */

.ab-image-marquee__name,
.ab-image-marquee__name * {
    font-family: 'Inter';
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

/* POSITION (H5 Look) */

.ab-image-marquee__position,
.ab-image-marquee__position * {
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

/* HOVER EFFECT */

.ab-image-marquee__item:hover .ab-image-marquee__overlay,
.ab-image-marquee__item:hover .ab-image-marquee__caption {
    opacity: 1;
}

/* PAUSE ANIMATION */

.ab-image-marquee:hover .ab-image-marquee__track {
    animation-play-state: paused;
}

/* MARQUEE ANIMATION */

@keyframes ab-marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - (var(--gap) / 2)));
    }
}

/* TABLET */

@media (max-width: 1024px) {
    .ab-image-marquee {
        --item-width: 320px;
        --gap: 14px;
    }

    .ab-image-marquee__caption {
        left: 18px;
        bottom: 18px;
    }

    .ab-image-marquee__position,
    .ab-image-marquee__position * {
        font-size: 20px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .ab-image-marquee {
        --item-width: 240px;
        --gap: 12px;
    }

    .ab-image-marquee__caption {
        left: 14px;
        bottom: 14px;
    }

    .ab-image-marquee__position,
    .ab-image-marquee__position * {
        font-size: 18px;
    }

    .ab-image-marquee__name,
    .ab-image-marquee__name * {
        font-size: 14px;
    }
}

/* TOUCH DEVICES → OVERLAY IMMER SICHTBAR */

@media (hover: none) {
    .ab-image-marquee__overlay,
    .ab-image-marquee__caption {
        opacity: 1;
    }
}


.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
    position: relative;
}

.team-card {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow: visible;
    z-index: 1;
}

.team-card.is-open {
    z-index: 30;
}

.team-card__media {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    cursor: pointer;
    z-index: 2;
    display: block;
}

.team-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.team-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 145, 64, 1);
    z-index: 1;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.team-card__teaser {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 24px;
    color: #fff;
    transition: opacity 0.2s ease;
}

/* NAME */
.team-card__name,
.team-card__name p,
.team-card__name h1,
.team-card__name h2,
.team-card__name h3,
.team-card__name h4,
.team-card__name h5,
.team-card__name h6 {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px 0;
    color: #fff;
}

.team-card__panel-name,
.team-card__panel-name p,
.team-card__panel-name h1,
.team-card__panel-name h2,
.team-card__panel-name h3,
.team-card__panel-name h4,
.team-card__panel-name h5,
.team-card__panel-name h6 {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px 0;
    color: var(--color6);
}

/* POSITION */
.team-card__position,
.team-card__position p,
.team-card__panel-position,
.team-card__panel-position p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: #fff;
}

.team-card__panel-position {
    margin-bottom: 20px;
    color: var(--color6);
}

/* TEXT */
.team-card__panel-text,
.team-card__panel-text p {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 100 !important;
    font-variation-settings: "wght" 100;
    line-height: 1.5;
    margin: 0;
    color: var(--color5);
}

/* PANEL */
.team-card__panel {
    position: absolute;
    top: 0;
    left: 100%;
    width: calc(100% + 30px);
    height: 100%;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
}

/* nach rechts öffnen */
.team-card[data-direction="right"] .team-card__panel {
    transform: translateX(0);
}

/* nach links öffnen */
.team-card[data-direction="left"] .team-card__panel {
    left: auto;
    right: 100%;
}

.team-card__panel-surface {
    width: 100%;
    height: 100%;
    background: #009140;
    overflow: hidden;
    transform: scaleX(0);
    transition: transform 0.45s ease;
    padding-top: 50px;
}

/* Animation rechts */
.team-card[data-direction="right"] .team-card__panel-surface {
    transform-origin: left center;
}

/* Animation links */
.team-card[data-direction="left"] .team-card__panel-surface {
    transform-origin: right center;
}

.team-card__panel-inner {
    height: 100%;
    padding: 28px 24px;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

/* OPEN STATE */
.team-card.is-open .team-card__overlay,
.team-card.is-open .team-card__teaser {
    opacity: 0;
}

.team-card.is-open .team-card__panel {
    opacity: 1;
    pointer-events: auto;
}

.team-card.is-open .team-card__panel-surface {
    transform: scaleX(1);
}

.team-card.is-open.is-content-visible .team-card__panel-inner {
    opacity: 1;
    transform: translateY(0);
}

/* TABLET */
@media (max-width: 991.98px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .team-card__panel,
    .team-card[data-direction="right"] .team-card__panel,
    .team-card[data-direction="left"] .team-card__panel {
        left: 0;
        width: 100%;
        transform: translateX(0);
    }

    .team-card[data-direction="right"] .team-card__panel-surface,
    .team-card[data-direction="left"] .team-card__panel-surface {
        transform-origin: left center;
    }
}

/* MOBILE */
@media (max-width: 767.98px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.content-container-inner .wp-block-heading,
.content-container-inner h1,
.content-container-inner h2,
.content-container-inner h3,
.content-container-inner h4,
.content-container-inner h5,
.content-container-inner h6 {
  color: var(--headline-color, inherit);
}

.content-container-inner .wp-block-paragraph,
.content-container-inner p,
.content-container-inner li {
  color: var(--text-color, inherit);
}

.content-animated-block {
  position: relative;
  overflow: hidden;
}

.content-animated-block__inner {
  position: relative;
  z-index: 2;
}

.content-animated-block__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.22;
  pointer-events: none;
  animation: floatingBg 12s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* vorhandene Farbsteuerung weiter nutzen */
.content-container-inner .wp-block-heading,
.content-container-inner h1,
.content-container-inner h2,
.content-container-inner h3,
.content-container-inner h4,
.content-container-inner h5,
.content-container-inner h6 {
  color: var(--headline-color, inherit);
}

.content-container-inner .wp-block-paragraph,
.content-container-inner p,
.content-container-inner li {
  color: var(--text-color, inherit);
}

/* Animationen für innere Blöcke */
.content-container-inner .anime-left,
.content-container-inner .anime-right {
  opacity: 0.4;
  will-change: transform, opacity;
  animation-duration: 1.2s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

/* von links nach rechts ins Bild */
.content-container-inner .anime-left {
  animation-name: animeLeftFloat;
}

/* von rechts nach links ins Bild */
.content-container-inner .anime-right {
  animation-name: animeRightFloat;
}

@keyframes animeLeftFloat {
  from {
    transform: translateX(-60px);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes animeRightFloat {
  from {
    transform: translateX(60px);
    opacity: 0.4;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Hintergrundbild bewegt sich leicht */
@keyframes floatingBg {
  0% {
    transform: translate(0, 0) rotate(-2deg) scale(1);
    opacity: 0.16;
  }
  50% {
    transform: translate(12px, -8px) rotate(1deg) scale(1.03);
    opacity: 0.26;
  }
  100% {
    transform: translate(-10px, 10px) rotate(2deg) scale(1.01);
    opacity: 0.18;
  }
}

/* Standardstil für alle Texte (Überschriften, Absätze, Listen) */
main h1, main h2, main h3, main h4, main h5, main h6, main p, main li, main .wp-block-heading, main .wp-block-paragraph, .wp-block-image{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s ease-in, transform 1.1s ease-in;
}

/* Stil, wenn der Text im Viewport ist */
main h1.visible, h2.visible, h3.visible, h4.visible, h5.visible, h6.visible,
p.visible, li.visible, .wp-block-heading.visible, .wp-block-paragraph.visible, .wp-block-image.visible{
  opacity: 1;
  transform: translateY(0);
}

.bg-overlay{
    opacity: 0;
    transition: opacity 2s ease-in, transform 2s ease-in;
}

.bg-overlay.visible{
    opacity: 1;
}

.kontaktformular-container {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;

    border-bottom-left-radius: 150px;
    border-bottom-right-radius: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    border: none;
}

 .wp-block-lazyblock-kontakt-container .content-container-inner{
    padding: 0;
 }

.kontaktformular-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.kontaktformular-title {
    color: #ffffff;

    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.kontaktformular-inner-blocks {
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    width: 100%;
}

input {
    border: none;
    border-radius: 40px;
}

.form-control {
    border-radius: 14px;
    padding: 8px 20px;
}

@media (max-width: 767px) {

  .kontaktformular-container {
    height: auto !important;
    min-height: 100svh !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 00px 20px 50px 20px !important;
    border-bottom-left-radius: 60px !important;
    border-bottom-right-radius: 60px !important;
    overflow: visible !important;
  }

  .kontaktformular-content {
    max-width: 100% !important;
    width: 100% !important;
    text-align: center;
  }

  .kontaktformular-title {
    font-size: 2rem !important;
    line-height: 1.15 !important;
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    padding-top: 0px !important;
  }

  .kontaktformular-inner-blocks {
    padding: 0 !important;
    margin-top: 0 !important;
    width: 100% !important;
  }

  .kontaktformular-inner-blocks form,
  .kontaktformular-inner-blocks .wpcf7-form {
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .kontaktformular-inner-blocks input,
  .kontaktformular-inner-blocks textarea,
  .kontaktformular-inner-blocks select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .kontaktformular-inner-blocks input[type="submit"],
  .kontaktformular-inner-blocks button[type="submit"] {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    margin: 24px auto 0 auto !important;
  }
}

.referenzgrid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.referenzitem{
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.referenzoverlay{
    background: rgb(0, 145, 64);
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    padding: 25px;
    transition: .25s;
}

.referenzoverlay:hover{
    background:rgba(0, 145, 64,.0);
}

.referenzheadline{
    color:#fff;
    font-weight: 600;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.referenzsubline{
    color: var(--color5);
    opacity: .7;
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
}

.referenzdetail h2 {
    color: rgb(0, 145, 64) !important;
}

.referenzdetail h3 {
    color: var(--color5) !important;
    text-transform: uppercase;
}

@media ( max-width: 768px) {
    .referenzgrid{
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 20px;
}

.referenzitem{
    min-height: 170px;
}

.referenzoverlay{
    padding: 20px;
}
}

.wp-block-lazyblock-referenzen {
    padding: 20px 0 5px 0;
}
    
    .wp-block-lazyblock-referenzen .hidden{
      display:none;
    }

@media (min-width: 782px) {
    .wp-block-lazyblock-referenzen .wp-block-columns {
        flex-wrap: nowrap !important;
        gap:20px;
        display:flex;
    }
    
    .wp-block-lazyblock-referenzen .wp-block-column {
        flex: 1;
    }


    .wp-block-lazyblock-referenzen .referenzdetail{
        color:#fff !important
    }
}

.section.stage.width100 {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    min-height: 90vh;
    height: 90vh;
    padding: 0 !important;
}

@supports (height: 100svh) {
    .section.stage.width100 {
        min-height: 90svh;
        height: 90svh;
    }
}

.section.stage.width100 .bgvideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
    margin: 40px 0 0 0;
}

.job-card {
    min-width: 0;
}

.job-card h4 {
    text-transform: none;
}

.job-card__inner {
    background: #009140;
    padding: 34px 30px 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    min-height: 0;
}

.job-card__title {
    margin: 0;
    color: var(--color6) !important;
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    line-height: 1.02;
    font-weight: 800;
    text-transform: uppercase;
}

.job-card__meta {
    display: block;
    margin-top: 10px;
    margin-bottom: 70px;
    font-size: 30px;
    font-weight: 400;
    color: #D5D4B3; /* oder eigene Farbe */
    text-transform: none;
}

.job-card__subtitle {
    margin: 4px 0 0 0;
    color: #D5D4B3;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
}

.job-card__content {
    color: #D5D4B3;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.45;
    width: 100%;
}

.job-card__content h1,
.job-card__content h2,
.job-card__content h3,
.job-card__content h5,
.job-card__content h6 {
    color: var(--color6) !important;
    font-weight: 800;
    margin: 0 0 14px 0;
}


.job-card__content h4 {
    font-size: 22px;
    line-height: 1.1;
    color: var(--color6) !important;
}

.job-card__content p {
    margin: 10px 0px 70px 0px;
    color: #D5D4B3;
}

.job-card__content ul {
    margin: 14px 0 0 0;
    padding: 0;
    list-style: none;
}

.job-card__content li {
    position: relative;
    margin: 0 0 12px 0;
    padding-left: 28px;
    color: #D5D4B3;
    line-height: 1.4;
}

.job-card__content li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 12px;
    color: var(--color5);
}

.job-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: 26px;
    padding: 14px 26px;
    min-width: 220px;
    border-radius: 999px;
    background: #224033;
    color: #ffffff !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.job-card__button::after {
    content: "▶";
    font-size: 10px;
    margin-left: 12px;
}

.job-card__button:hover {
    background: #1a3128;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Wenn der ganze Inhalt Links enthält */
.job-card a:not(.job-card__button) {
    color: inherit;
}

/* Tablet */
@media (max-width: 1100px) {
    .jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .job-card__title {
        font-size: 26px;
    }

    .job-card__subtitle {
        font-size: 20px;
    }

    .job-card__content {
        margin-top: 50px;
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .job-card__inner {
        padding: 26px 22px 22px;
    }

    .job-card__title {
        font-size: 24px;
    }

    .job-card__meta {
        font-size: 24px;
    }

    .job-card__subtitle {
        font-size: 18px;
    }

    .job-card__content {
        margin-top: 5px;
        font-size: 16px;
    }

    .job-card__content h4 {
        font-size: 20px;
    }

    .job-card__content p {
        margin: 0 0 40px 0;
    }

    .job-card__button {
        min-width: 0;
    }
}

/* =========================
   AUSBILDUNG GRID
========================= */

.ausbildung-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin: 40px 0 0 0;
}

.ausbildung-card {
    min-width: 0;
}

.ausbildung-card__inner {
    background: #f1f1f1;
    padding: 44px 42px 40px;
    display: flex;
    flex-direction: column;
    height: 100%;

}

/* =========================
   TITEL
========================= */

.ausbildung-card__title {
    margin: 0;
    color: #009140;
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    line-height: 1.02;
    font-weight: 800;
    text-transform: uppercase;
}

.ausbildung-card__meta {
    display: block;
    margin-top: 10px;
    margin-bottom: 70px;
    font-size: 30px;
    font-weight: 400;
    color: #D5D4B3; /* oder eigene Farbe */
    text-transform: none;
}

.ausbildung-card__subtitle {
    margin: 6px 0 0 0;
    color: #cbc59f;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 400;
}

/* =========================
   CONTENT
========================= */

.ausbildung-card__content {
    width: 100%;
    color: #009140;
    font-size: 25px;
    line-height: 1.45;
}

.ausbildung-card__content h1,
.ausbildung-card__content h2,
.ausbildung-card__content h3,
.ausbildung-card__content h4,
.ausbildung-card__content h5,
.ausbildung-card__content h6 {
    margin: 0 0 26px 0;
    color: #009140;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    text-transform: none;
}

.ausbildung-card__content p {
    margin: 10px 0px 70px 0px;
    color: #D5D4B3;
}

.ausbildung-card__content ul {
    margin: 20px 0 0 0;
    padding: 0;
    list-style: none;
}

.ausbildung-card__content li {
    position: relative;
    margin: 0 0 22px 0;
    padding-left: 42px;
    font-size: 18px;
    color: #009140;
    line-height: 1.35;
}

.ausbildung-card__content li::before {
    content: "•";
    position: absolute;
    left: 16px;
    top: 0;
    color: #009140;
    font-size: 18px;
    line-height: 1.2;
}

/* =========================
   BUTTON
========================= */

.ausbildung-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: 40px;
    min-width: 340px;
    padding: 20px 34px;
    border-radius: 999px;
    background: #009140;
    color: #d8d0a8 !important;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 1;
    font-weight: 400;
    transition: all 0.2s ease;
}

.ausbildung-card__button::after {
    content: "▶";
    font-size: 14px;
    margin-left: 18px;
}

.ausbildung-card__button:hover {
    background: #007c37;
    color: #ffffff !important;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {
    .ausbildung-card__inner {
        min-height: 720px;
        padding: 36px 34px;
    }

    .ausbildung-card__title {
        font-size: 34px;
    }

    .ausbildung-card__meta {
        font-size: 34px;
    }

    .ausbildung-card__subtitle {
        font-size: 26px;
    }

    .ausbildung-card__content {
        margin-top: 110px;
        font-size: 21px;
    }

    .ausbildung-card__content h4 {
        font-size: 24px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
    .ausbildung-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ausbildung-card__inner {
        min-height: auto;
        padding: 28px 24px 24px;
    }

    .ausbildung-card__title {
        font-size: 24px;
    }

      .ausbildung-card__meta {
        font-size: 24px;
    }

    .ausbildung-card__subtitle {
        font-size: 22px;
    }

    .ausbildung-card__content {
        margin-top: 5px;
        font-size: 18px;
    }

    .ausbildung-card__content h4 {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .ausbildung-card__content p {
        margin: 0 0 40px 0;
    }

    .ausbildung-card__content li {
        padding-left: 28px;
        margin-bottom: 14px;
    }

    .ausbildung-card__content li::before {
        left: 8px;
        font-size: 18px;
    }

    .ausbildung-card__button {
        min-width: 0;
        font-size: 18px;
        padding: 16px 24px;
    }
}

.ccbg{
    padding-top: 130px;
    padding-bottom: 130px;
}

.bg-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.text-gruen{
    color:#039141 !important;
}

.text-white{
    color:#fff !important;
}

.karriereplusbox{
    overflow: hidden !important;
    position: absolute;
    top:-70px;
    left:50%;
    bottom: -70px;
    width:100vw;   
    margin-left: -50vw;
    margin-right:-50vw;
}

.karriereplus{
    position: absolute;
    top:-100px;
    right:-100px; 
    height:100vh;
    transform-origin: 5% 5%;
    transform: rotate(300deg);
    transition: 2s ease-in;
    opacity: .3;
}

.karriereplus.visible{
    transform: rotate(340deg);
    opacity: 1;
}



.comefromleft{
    opacity: 0;
    transition: 1.5s ease-in;
    transform: translateX(-100px);
}

.comefromright{
    opacity: 0;
    transition: 1.5s ease-in;
    transform: translateX(100px);
}

.comefromleft.visible, .comefromright.visible{
    transform: translate(0);
    opacity: 1;
}


body.page-id-406 .footer-top{
  display: none !important;
}

.industrie-lippe{
  width: 190px;  
  transform: translateX(2px);
}

.kontaktformular-content br{
    display: none;
}

.kontaktformular-content p{
    margin-bottom:20px;
}

.kontaktformular-content .text-weiss br{
    display: block;
}

.bg-waldgruen p a{
    color:#fff;
}

.bg-waldgruen p a:hover{
    color:#fff;
    text-decoration: underline;
}

.referenzdetail img{
    aspect-ratio: 16 / 10;
    width: 100%;
    object-fit: cover;
}

.footer-top a{
    color:#000000;
}

.footer-top a:hover{
    color:#000000;
    text-decoration: underline;
}

.wpcf7-response-output{
    background: #fff;
}