@font-face {
    font-family: 'serpentine';
    src: url('../fonts/SerpentineBoldOblique.woff2') format('woff2'), url('../fonts/SerpentineBoldOblique.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
    --white-color: #dedede;
    --primary-color: #036735;
    --section-bg-color: #dedede;
    --dark-color: #343233;
    --grey-color: #dedede;
    --text-secondary-white-color: #dedede;
    --title-color: #dedede;
    --p-color: #dedede;
    --body-font-family: 'serpentine', sans-serif;
    --h1-font-size: 72px;
    --h2-font-size: 42px;
    --h3-font-size: 36px;
    --h3-font-rem: 2.3vw;
    --h4-font-size: 32px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 1.35vw;
    --copyright-text-font-size: 14px;
    --custom-link-font-size: 12px;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --font-weight-black: 900;
    --widthpic2: calc(calc(100% - 10%) / calc(1 + calc(16/9)));
    --widthvid2: calc(var(--widthpic2) * calc(16/9));
    --widthpic3: calc(calc(100% - 10%) / calc(2 + calc(16/9)));
    --widthvid3: calc(var(--widthpic3) * calc(16/9));
}

body,
html {
  height: 100%;
}

body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
  line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1,
h2 {
  font-weight: var(--font-weight-black);
}

h1 {
  font-size: var(--h1-font-size);
  line-height: normal;
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}

.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--primary-color);
}

::selection {
  background: var(--dark-color);
  color: var(--white-color);
}

.custom-underline {
  border-bottom: 2px solid var(--white-color);
  color: var(--white-color);
  padding-bottom: 4px;
}

.videoWrapper {
  position: fixed;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  z-index: -100;
}

.custom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home .overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}

.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/

.sticky-wrapper.is-sticky #navlogo {
  width: auto;
  margin-left: 50px;
}

.navbar {
  font-family: sans-serif;
  z-index: 9;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}

/* MAkierung in Navbar*/
.navbar-nav .nav-link::after {
  content: "\f140";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  color: var(--primary-color);
  opacity: 0;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  -moz-transition: opacity 0.3s, -moz-transform 0.3s;
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transform: translateY(10px);
  -moz-transform: translateY(10px);
  transform: translateY(10px);
}

.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-link {
  color: var(--grey-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}

.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--grey-color);
}

.nav-link:focus {
  color: var(--p-color);
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: #dedede;
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}

/*---------------------------------------
  HOME              
-----------------------------------------*/
.home {
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 992px) {
  .home {
    height: 100vh;
  }

  .custom-video,
  .references-detail-image,
  .services-detail-image {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
  }

  .sticky-wrapper {
    position: relative;
    bottom: 0px;
  }
}

.homeText {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  text-align: center;
}

/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}

.team-thumb {
  background: var(--white-color);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 65%;
  padding: 22px 32px 32px 32px;
}

.carousel-control-next, 
.carousel-control-prev {
  top: auto;
  bottom: 2.5rem;
}

.carousel-control-prev {
  right: 4rem;
  left: auto;
}

.carousel-control-next-icon, 
.carousel-control-prev-icon {
  background-color: var(--dark-color);
  background-size: 50% 50%;
  border-radius: 100px;
  width: 3rem;
  height: 3rem;
}

/*---------------------------------------
  PARTNER               
-----------------------------------------*/
.partner-thumb {
  position: relative;
  overflow: hidden;
}

.partner-info {
  margin: 20px;
}

/*---------------------------------------
  Referenzen              
-----------------------------------------*/

.references,
.related-references {
  background: var(--section-bg-color);
}

.references-thumb {
  position: relative;
}

.references-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.references-text-info {
  margin: 0 20px;
}

.references-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.references-title-link {
  color: var(--title-color);
  display: inline-block;
}

.references-title-link:hover {
  color: var(--dark-color);
}

.partner-image,
.references-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.references-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.references-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.references-image-hover-warning::after {
  background: #ffc107;
}

.references-image-hover-primary::after {
  background: #0d6efd;
}

.references-image-hover-success::after {
  background: #198754;
}

.references-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .partner-image,
.references-image-hover:hover .references-image {
  transform: scale(1.02);
}

.references-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.references-two-column .references-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-share-link,
.social-share-link + span {
  color: rgba(255, 255, 255, 0.65);
}

/*---------------------------------------
Services
-----------------------------------------*/
.services,
.related-services {
  background: var(--section-bg-color);
}

.services-thumb {
  position: relative;
}

.services-category {
  background: var(--white-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  padding: 4px 12px;
  display: inline-block;
}

.services-text-info {
  margin: 0 20px;
}

.services-title {
  margin-top: 15px;
  margin-bottom: 15px;
}

.services-title-link {
  color: var(--title-color);
  display: inline-block;
}

.services-title-link:hover {
  color: var(--dark-color);
}

.partner-image,
.services-image {
  display: block;
  transition: transform 0.6s ease-out;
}

.services-image-hover {
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 4px;
  height: 100%;
}

.services-image-hover::after {
  content: "";
  width: 0;
  height: 4px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: #198754;
}

.services-image-hover-warning::after {
  background: #ffc107;
}

.services-image-hover-primary::after {
  background: #0d6efd;
}

.services-image-hover-success::after {
  background: #198754;
}

.services-image-hover:hover::after {
  width: 100%;
  left: 0;
  right: auto;
  z-index: 9;
}

.image-popup:hover .partner-image,
.services-image-hover:hover .services-image {
  transform: scale(1.02);
}

.services-two-column {
  min-height: 199px;
  margin-bottom: 16px;
}

.services-two-column .services-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/*---------------------------------------
  CONTACT              
-----------------------------------------*/
.contact-info {
  padding: 40px;
}

.contact-form .form-control {
  border-radius: 0;
  font-weight: var(--font-weight-normal);
  padding-top: 12px;
  padding-bottom: 12px;
}

.contact-form button[type='submit'] {
  background: var(--dark-color);
  border: none;
  border-radius: 100px;
  color: var(--white-color);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 16px;
  transition: all 0.6s ease-out;
}

.contact-form button[type='submit']:hover {
  background: var(--primary-color);
}

.form-label {
  color: var(--dark-color);
  font-weight: var(--font-weight-bold);
}

.map-iframe {
  display: block;
  filter: grayscale(100);
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: var(--dark-color);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}

.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}

.social-icon-link:hover {
  color: var(--primary-color);
}

/* ----------  userdefined ----*/

#about p {
  color: var(--dark-color);
  text-align: center;
}

#about img {
  padding-bottom: 0;
}

.row {
  box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
  background: rgb(222,222,222,0.8);
  padding-bottom: 3rem!important;
  border: 1rem double var(--dark-color);
  border-radius: 5vw;
}

.centeredinfo {
  width: 90%;
  text-align: center;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white-color);
  line-height: inherit;
  text-shadow: -2px -2px 0 var(--dark-color), 2px -2px 0 var(--dark-color), -2px 2px 0 var(--dark-color), 2px 2px 0 var(--dark-color);
}

.service {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: var(--widthpic3);
  position: relative;
  background-color: var(--dark-color);
}

#p2 { font-size: 2vw; top: 70% }

.servicevid:hover .turn  {
  transform: rotateX(180deg);
}

.serviceimg:hover .turn  {
  transform: rotateY(180deg);
}

.servicevid .turn {
  transition: 2s; /* Die Drehung soll 0,5 Sekunden dauern */
   transform-style: preserve-3d; /* Kind-Elemente  (.front + .back) sollen ihre 3D-Eigenschaften behalten*/
   position: relative;
   height: 100%;
}

.serviceimg .turn {
  transition: 2s; /* Die Drehung soll 0,5 Sekunden dauern */
   transform-style: preserve-3d; /* Kind-Elemente  (.front + .back) sollen ihre 3D-Eigenschaften behalten*/
   height: 100%;
}

.servicevid .front,
.servicevid .back {
  transition: 2s;
  backface-visibility: hidden;
}

.serviceimg .front,
.serviceimg .back {
  transition: 2s;
  backface-visibility: hidden;
}

.servicevid .back {
  transform: rotateX(180deg) translate(-50%, 50%);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
}

.serviceimg .back {
  transform: rotateY(180deg) translate(50%, 50%);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
}

.servicevid {
  width: var(--widthvid3);
}

.contentservice {
  width: 100%;
  height: auto;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.servcont .service .centered h3 {
  color: var(--white-color);
  line-height: inherit;
  font-size: var(--h3-font-rem);
  text-shadow: -2px -2px 0 var(--dark-color), 2px -2px 0 var(--dark-color), -2px 2px 0 var(--dark-color), 2px 2px 0 var(--dark-color);
}

.servcont {
  display: contents;
  position: absolute;
}

.container-page {
  max-width: 90vw;
  border-radius: 5vw;
}

.anchor-link {
  padding: calc(2 * 1rem) calc(2 * 1rem) 1rem calc(2 * 1rem);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10%;
  z-index: 5;
}

#checkbox4 {
  display: none;
}

.row-contact {
  border: none;
  border-radius: 0px;
}

.site-footer .row {
  padding-left: 3vw;
  padding-top: 1vw;
  padding-bottom: 1vw;
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/



 Layout für Desktops 
@media (min-width: 1025px) {
  .grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 30px;
  }
}

@media screen and (min-width: 1600px) {
  .references-two-column {
    min-height: 232.5px;
  }
  .services-two-column {
    min-height: 232.5px;
  }
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 32px;
    }

    h4 {
        font-size: 28px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .section-padding {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .team-thumb {
        left: 0;
        width: auto;
    }

    .references-two-column {
        height: auto !important;
        min-height: inherit;
    }

    .references .col-12 .references-two-column:first-child {
        margin-bottom: 38px;
    }

    .services-two-column {
        height: auto !important;
        min-height: inherit;
    }

    .services .col-12 .services-two-column:first-child {
      margin-bottom: 38px;
    }

    .container .mb-5 .pb-lg-5 {
      background: transparent;
    }

    .sticky-wrapper #navlogo {
      /*content: url("../images/logo_360.png");*/
      width: 80vw;
    }

    .sticky-wrapper.is-sticky #navlogo {
      margin-left: 0px;
      width: 80vw;
    }

    .videoWrapper {
      position: fixed;
      padding-top: 20%; /* 16:9 */
      width: 200%;
      z-index: -100;
    }

    .custom-video {
      position: relative;
      top: 0;
      left: -50%;
      width: 100%;
      height: Auto;
    }
    .homeText {
      visibility: hidden;
    }

    .service {
      width: var(--widthpic2);
    }

    .servicevid {
      width: var(--widthvid2);
    }

    .servcont {
      display: contents;
      position: absolute;
    }
    .servcont .service .centered h3 {
      font-size: 3.1vw;
    }
    #about p {
      padding-top: 5% 
    }
}

@media screen and (max-width: 767px) {
  .references-detail-title {
    font-size: 36px;
  }
  .services-detail-title {
    font-size: 36px;
  }
  .sticky-wrapper #navlogo {
    content: url("../images/logo_360.png");
    max-width: 80vw;
  }
  .videoWrapper {
    position: fixed;
    top: 0; /* 16:9 */
    width: 200%;
    z-index: -100;
  }

  .custom-video {
    position: relative;
    top: 0;
    left: -50%;
    width: 200%;
  }

  .service {
    width: 90%;
  }

  .servcont {
    display: block;
    position: inherit;
  }

  .servcont .service .centered h3 {
    font-size: 6.5vw;
  }
  #about p {
    padding-top: 5% 
  }
  p {
    font-size: 2.8vi;
  }
  #p2 {
    font-size: 3.85vi;
  }
}

@media screen and (max-width: 361px) {
  h1 {
    font-size: 32px;
  }

  p {
    font-size: 2.8vi;
  }
  #p2 {
    font-size: 3.85vi;
  }

  .homeText p {
    font-size: 14px;
  }

  .references-detail-title {
    font-size: 22px;
  }
  .services-detail-title {
    font-size: 22px;
  }
  .sticky-wrapper #navlogo {
    content: url("../images/logo_360.png");
    max-width: 80vw;
  }
  .videoWrapper {
    position: fixed;
    top: 0; /* 16:9 */
    width: 200%;
    z-index: -100;
  }

  .custom-video {
    position: relative;
    top: 0;
    left: -50%;
    width: 200%;
  }

  .service {
    width: 90%;
  }

  .servcont {
    display: block;
    position: inherit;
  }

  .servcont .service .centered h3 {
    font-size: 6.5vw;
  }

  .servcont .service p {
    font-size: 3.5;
  }

  #about p {
    padding-top: 5% 
  }
}