@keyframes fadeIn {
   from {opacity: 0;}
   to {opacity: 1;}
}
body.page-template-page_startseite_2024 {
   background-color: #1A6E4A;
}
.header {
   margin: 0;
   padding-top: 5px;
}
.breadcrumb {
   display: none;
}
.header_container {
   background: #fff;
}
.container.zindex5 {
   max-width: unset;
   padding: 0;
}

/* homepage */
.homepage {
   margin-top: 0;
   color: #fff;
   font-size: 24px;
   line-height: 34px;
   overflow: hidden;
}
.homepage h1,
.homepage h2,
.homepage h3,
.homepage h4 {
   font-weight: bold;
   font-family: "Roboto Slab", Georgia, serif;
}
.homepage__header {
   position: relative;
   padding-bottom: 200px;
   overflow: hidden;
}
.homepage__header::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-image: linear-gradient(to top, #1A6E4A, rgba(0, 0, 0, 0));
   z-index: -1;
}
.homepage__background {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: -1;
   object-fit: cover;
   opacity: 0;
   animation: fadeIn 0.4s ease forwards;
   animation-delay: 0.5s;
}
.homepage__background--alt {
   animation: none;
}

/* hero */
.hero--alt {
   position: relative;
   margin-bottom: 80px;
}
.hero__wrapper {
   padding-top: 200px;
   position: relative;
   min-height: calc(100vh - 100px);
   margin-bottom: 50px;
}
.hero h4 {
   font-size: 24px;
   line-height: 30px;
   text-transform: uppercase;
   font-weight: normal;
   max-width: 700px;
     font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}
.hero h1 {
   color: #fff;
   font-size: 60px;
   line-height: 75px;
   max-width: 700px;
}
.hero__button {
   position: absolute;
   bottom: 0px;
   right: -30px;
   width: 260px;
   height: 260px;
   background: #fff;
   border-radius: 50%;
   border: none;
   outline: 3px solid #fff;
   outline-offset: 10px;
   transform: rotate(-10deg);
   transition: 0.3s ease;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 0 30px;
   text-align: center;
}
.hero__button:hover {
   outline: 2px solid #fff;
   outline-offset: 5px;
   text-decoration: none;
}
.hero__button img {
}
.hero__button span {
   color: #1A6E4A !important;
   font-size: 18px;
   line-height: 24px;
   font-weight: bold;
   margin-top: 10px;
}

/* introtext */
.introtext {
   margin-bottom: 200px;
}
.introtext__content {
   margin-top: 50px;
}
.introtext__content h1,
.introtext__content h2,
.introtext__content h3,
.introtext__content h4 {
   color: #fff;
   padding: 0;
   margin-bottom: 20px;
}
.introtext__content h2 {
   font-size: 45px;
   line-height: 50px;
}
.introtext img {
   width: 140%;
   max-width: unset;
   margin-left: -40%;
}
.cta {
   display: inline-block;
   border: 1px solid #fff;
   border-radius: 5px;
   background: transparent;
   color: #fff;
   padding: 8px 20px;
   transition: 0.3s ease;
   margin-top: 20px;
   margin-right: 20px;
   font-size: 20px;
   line-height: 30px;
}
.cta:hover {
   background: #fff;
   color: #000;
   text-decoration: none;
}

/* services */
.services__title {
   font-size: 24px;
   line-height: 30px;
   text-transform: uppercase;
   font-weight: normal !important;
     font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
   margin-bottom: 40px;
}
.services__wrapper {
   display: flex;
   flex-wrap: wrap;
   width: calc(100% + 20px);
}
.services__item {
   width: calc(25% - 20px);
   height: 390px;
   background: #fff;
   border-radius: 5px;
   color: #1A6E4A !important;
   padding: 20px;
   border: 5px solid #fff;
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   flex-direction: column;
   flex-wrap: wrap;
   margin-right: 20px;
   transition: border 0.3s ease;
}
.services__item:last-child {
   margin-right: unset;
}
.services__item:hover {
   text-decoration: none;
   border: 5px solid #B3C535;
}
.services__item span {
   font-size: 18px;
   color: #000;
}
.services__item h4 {
   font-size: 28px;
   line-height: 40px;
}
.services__wrapper .flickity-viewport {
   overflow: visible;
}
.services__item img {
   height: 100px;
   margin-bottom: 10px;
}

/* news */
.news {
   margin-bottom: 200px;
}
.news__title {
   font-size: 24px;
   line-height: 30px;
   text-transform: uppercase;
   font-weight: normal !important;
     font-family: 'Open Sans', Helvetica, Arial, sans-serif !important;
   margin-bottom: 40px;
}
.news__grid {
   display: grid;
     grid-template-columns: calc(100%/3) calc(100%/3) calc(100%/3);
   gap: 40px;
}
.news__item {
   height: 100%;
   border-right: 2px solid #fff;
   padding: 20px 40px 20px 0;
}
.news__item:last-child {
   border-right: none;
}
.news__link {
   color: #fff;
}
.news__link {
   color: #fff !important;
   text-decoration: none !important;
}
.news__link span {
   font-size: 18px;
   color: #fff;
}
.news__link h4 {
   font-size: 26px;
   line-height: 34px;
   font-weight: bold;
   margin-top: 10px;
}

/* two-column */
.two-column {
   margin-bottom: 200px;
}
.two-column .introtext {
   margin-bottom: unset;
}
.two-column__images {
   position: relative;
   width: 100%;
   display: flex;
   justify-content: right;
   position: relative;
}
.two-column__image {
   width: 75% !important;
   padding-top: 85%;
   position: relative;
   margin-right: 8%;
   transform: rotate(10deg);
}
.two-column__image:nth-child(2) {
   position: absolute;
   transform: rotate(5deg);
   margin-right: 20%;
   margin-top: 4%;
}
.two-column__image:nth-child(3) {
   position: absolute;
   transform: rotate(-5deg);
   margin-right: 5%;
   margin-top: 10%;
}
.two-column__image img {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   box-shadow: 0 0 10px 10px rgba(0,0,0,0.1);
}
.two-column__play {
   position: absolute;
   top: 50%;
   left: 50%;
   width: 150px;
   height: 150px;
   transform: translate(-30%, -20%);
   background: transparent;
   border: none;
   outline: none !important;
}
@media only screen and (max-width:1599px) {
   .services__item {
      width: calc(50% - 20px);
      height: auto;
      justify-content: flex-start;
      margin-bottom: 20px;
   }
}
@media only screen and (max-width:767px) {
   .homepage {
      font-size: 20px;
      line-height: 30px;
   }
   .homepage__header {
      padding-bottom: 100px;
   }
   .homepage__header::after {
      background-image: linear-gradient(to top, #1A6E4A, rgba(26, 110, 74, 0.5));
   }
   .hero__wrapper {
      padding-top: 100px;
      margin-bottom: 100px;
   }
   .hero h4 {
      font-size: 20px;
      line-height: 30px;
   }
   .hero h1 {
      color: #fff;
      font-size: 38px;
      line-height: 48px;
   }
   .services__wrapper {
      width: 100%;
   }
   .services__item {
      width: 100%;
      margin-bottom: 20px;
      padding: 20px;
      margin-right: unset;
   }
   .services__item img {
      margin-bottom: 20px;
   }
   .news__grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
   }
   .news__item {
      border-right: unset;
      padding: 0;
   }
   .introtext {
      margin-bottom: 150px;
   }
   .news {
      margin-bottom: 100px;
   }
   .two-column__images {
      margin-top: 60px;
   }
   .two-column__play {
      transform: translate(-50%, -30%)
   }
}
#videomodal {
   position: fixed;
   top: 0;
   left: 0;
   display: flex;
   align-items: center;
   width: 100%;
   height: 100vh;
   background: rgba(0,0,0,0.9);
   opacity: 0;
   pointer-events: none;
   transition: 0.5s ease;
   z-index: 99999 !important;
}
#videomodal.active {
   opacity: 1;
   pointer-events: visible;
}
#videomodal iframe {
   width: 100% !important;
}
#videomodal-close {
   position: absolute;
   top: 20px;
   right: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 50px;
   height: 50px;
   background: transparent;
   border: 1px solid #fff;
   border-radius: 50%;
}
#videomodal-close img {
   width: 70%;
}
#videomodal-wrapper {
   width: 100%;
   padding-top: 56.25%;
   position: relative;
}
#videomodal-wrapper iframe {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}
