
html{
  background-color:#333;
}

body{
  text-rendering: geometricPrecision;
  margin: 0 auto;
  box-shadow: 0px 20px 60px rgb(0 0 0 / 20%);
  font-family: "Roboto Slab";
}

@font-face{
   font-family:'ShadowsIntoLight';
   font-style: normal;
   font-weight: 400;
   src:url(../fonts/ShadowsIntoLight.woff) format('woff');
 }

@font-face{
   font-family:'Roboto Slab';
   font-style: normal;
   font-weight: 600;
   src:url(../fonts/RobotoSlab-Bold.ttf) format('truetype');
 }

@font-face{
   font-family:'Roboto';
   font-style: normal;
   font-weight: 400;
   src:url(../fonts/Roboto-Regular.ttf) format('truetype');
 }

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.5;
  color:#2D4333;
}

h1,.h1{
  font-size:32px;
  line-height:40px;
  margin-bottom:24px;
}

h2 .h2{
  margin-bottom: 12px;
  margin-top: 24px;
}

h3 .h3{
  font-size:24px;
  margin-bottom: 8px;
  margin-top: 16px;
}

h4, .h4{
  font-size:18px;
  margin-bottom: 8px;
  margin-top: 16px;
}

.section-headline{
  margin-top:0px;
  margin-bottom:32px;
}

p{
  font-family: 'Roboto', sans-serif;
}

a {
  font-family: 'Roboto Slab';
  font-weight:bold;
}

.bg-white {
  overflow:hidden;
}

.bg-green h1, .bg-green h2,.bg-green h3, .bg-green h4 {
    color: #fff;
}

.bg-green{
  background: #2d4434;
  background: -moz-linear-gradient(-45deg,  #2d4434 0%, #1e201e 100%);
  background: -webkit-linear-gradient(-45deg,  #2d4434 0%,#1e201e 100%);
  background: linear-gradient(135deg,  #2d4434 0%,#1e201e 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2d4434', endColorstr='#1e201e',GradientType=1 );
  color:#fff;
}

.bg-image-left {
  background-image: url(../images/logo-anschnitt.svg);
  background-repeat: no-repeat;
  background-size: 50vw;
  padding-top: 48px;
  background-position-y: 40%;
}

.kante {
  background-image:url(../images/layout/kante.svg);
  background-size: contain;
  height: 11px;
  z-index: 10;
  top: -11px;
  
  position: relative;
}

.kante.unten{
  transform:scaleY(-1);
  top: 11px;
  margin-top: -16px;
}

.container {
  padding: 48px 16px;
}

.btn-primary {
  background-color: #E8C334;
  color: #1E201E;
  border-radius: 4px;
  padding: 8px 24px;
  border: 0;
  font-family: 'Roboto Slab';
  font-weight: bold;
  font-size: 16px;
  height: 48px;
  transition:0.2s;
}

.btn-primary:hover {
  background-color: #FFDA4C;
  color: #1E201E;
}

.btn-outline {
  background-color: transparent;
  color: #fff;
  border-radius: 4px;
  padding:8px 24px;
  border: 2px solid #E8C334;
  font-family: 'Roboto Slab';
  font-weight: bold;
  font-size: 16px;
  height: 48px;
  transition:0.2s;
}

.btn-outline:hover {
  background-color: transparent;
  border: 2px solid #FFDA4C;
  box-shadow: inset 0px 0px 0px 1px #FFDA4C;
}

.btn-secondary {
  background-color: rgba(220,188,64, 0.1);
  color: #E8C334;
  border-radius: 4px;
  padding:12px 24px;
  font-family: 'Roboto Slab';
  font-weight: bold;
  font-size: 16px;
  height: 48px;
  transition:0.2s;
  border:0;
}

.btn-secondary:hover {
  background-color: rgba(220,188,64, 0.3);

}

.btn-check:active+.btn-secondary, .btn-check:checked+.btn-secondary, .btn-secondary.active, .btn-secondary:active, .show>.btn-secondary.dropdown-toggle {
  background-color: rgba(220,188,64, 0.3);
  border-color: transparent;
}

.btn-check:focus+.btn-secondary, .btn-secondary:focus {
  color: #fff;
  background-color: rgba(220,188,64, 0.4);
  border-color: transparent;
  box-shadow: none;
}

.stage-switch {
  animation-name: stage-switch;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  position: absolute !important;
  z-index: 2;
}

@keyframes stage-switch {
  0%   {opacity:1}
  40%  {opacity:1}
  50%  {opacity:0}
  90%  {opacity:0}
  100% {opacity:1}
}

@media (min-width: 768px) {
  h1,.h1{
    font-size:48px;
    margin-bottom:40px;
  }

  .container {
    padding: 64px 16px;
  }

  .bg-image-left {
    padding-top: 32px;
    background-size: auto;
    background-position-y: 15%;
  }

  .kante.unten{
    margin-top: -64px;
  }

  a.contact-channel {
      width: 50%%;
  }

  .navbar-brand img {
    height: 48px;
  }

}

@media (min-width: 768px) and (max-width: 1023px){

  .container, .container-md, .container-sm {
    max-width: 976px;
  }
}

/********** Navbar Hauptnavigation **********/

.autohide{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

.scrolled-down{
  transform:translateY(-100%); transition: all 0.3s ease-in-out;
}

.scrolled-up{
  transform:translateY(0); transition: all 0.3s ease-in-out;
}

.scrolled-up {
  background-color: #fff;
  box-shadow: 0px 2px 20px rgb(0 0 0 / 10%);
  padding: 16px 0 !important;
}

.nav-mobile-bg{
  background-color:#fff;
}
.nav-mobile-bg .navbar-brand{
  background-image: url(../images/layout/website-logo-dark.svg);
}

button.navbar-toggler{
  border:0;
  background:transparent;
  outline:0;
}
.animated-icon{
width: 30px;
height: 20px;
position: relative;
margin: 0px;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .5s ease-in-out;
-moz-transition: .5s ease-in-out;
-o-transition: .5s ease-in-out;
transition: .5s ease-in-out;
cursor: pointer;
}

.animated-icon span{
display: block;
position: absolute;
height: 3px;
width: 100%;
border-radius: 9px;
opacity: 1;
left: 0;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
-webkit-transition: .25s ease-in-out;
-moz-transition: .25s ease-in-out;
-o-transition: .25s ease-in-out;
transition: .25s ease-in-out;
}

.animated-icon span {
background: #E8C334;
}

.animated-icon span:nth-child(1) {
top: 0px;
}

.animated-icon span:nth-child(2),
.animated-icon span:nth-child(3) {
top: 10px;
}

.animated-icon span:nth-child(4) {
top: 20px;
}

.animated-icon.open span:nth-child(1) {
top: 11px;
width: 0%;
left: 50%;
}

.animated-icon.open span:nth-child(2) {
-webkit-transform: rotate(45deg);
-moz-transform: rotate(45deg);
-o-transform: rotate(45deg);
transform: rotate(45deg);
}

.animated-icon.open span:nth-child(3) {
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform: rotate(-45deg);
}

.animated-icon.open span:nth-child(4) {
top: 11px;
width: 0%;
left: 50%;
}

nav a.nav-link {
  font-family: "Roboto Slab";
  font-weight: bold;
  color:#2D4434;
  border-bottom:2px solid transparent;
  padding: 12px 0 4px;
}

.navbar-brand{
  background-image: url(../images/layout/website-logo-light.svg);
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 140px;
}

.scrolled-up .navbar-brand{
  background-image: url(../images/layout/website-logo-dark.svg);
  height: 48px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 140px;
}

  nav.navbar {
    padding: 1rem 0;
}

.navbar-toggler-icon {
  background-image: url(../images/layout/burger-icon.svg);
  width: 40px;
  height: 40px;
}

.navbar-toggler {
  padding: 0rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

ul.navbar-nav.ms-auto {
  margin: 32px 0;
}

.navbar>.container{
  padding: 0 16px;
}

.contact-badge{
  position: fixed;
  bottom:24px;
  right:24px;
  height:48px;
  width:48px;
  padding:12px;
  z-index: 10;
  border-radius: 50%;
  background-color:#E8C334;
  box-shadow: 0px 5px 10px rgb(0 0 0 / 20%);
}

.contact-badge svg{
  fill: rgba(0,0,0,1);
  width: 24px;
  height: 24px;
  margin-top: -4px;
}

@media (min-width: 768px){

  nav.navbar-expand-md .navbar-collapse {
      display: inline-block !important;
  }
  nav.navbar-expand-md .navbar-nav {
    float: right;
  }

  nav a.nav-link {
    margin-right: 32px;
    color:#ffffff;
  }

  nav a.nav-link:hover {
      color:#ffffff;
      border-bottom:2px solid #ffffff;
  }

  nav li.nav-item:last-child a.nav-link{
    margin-right:0;
    background-color:#E8C334;
    color:#1E201E;
    border-radius: 4px;
    padding: 12px 24px;
    height: 48px;
    border: none;
  }

  nav.navbar{
    margin:0 auto;
    height:96px;
  }

  nav.navbar {
    padding-top: 1.5rem;
}

  nav li.nav-item:last-child a.nav-link:hover{
    background-color:#FFDA4C;
    border:none;
  }

  nav .navbar-nav .nav-link {
      color: rgba(255,255,255,1);
  }

  nav .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255,255,255,1);
  }
  nav.scrolled-up .navbar-nav .nav-link{
  color: rgba(45,68,52,1) !important;
  }

  nav.scrolled-up .navbar-nav .nav-link:hover{
    color:rgba(45,68,52,1) !important;
    border-bottom: 2px solid rgba(45,68,52,1);
  }

  .navbar-brand{
  background-image: url(../images/layout/website-logo-light.svg);
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 246px;
}

.scrolled-up .navbar-brand{
  background-image: url(../images/layout/website-logo-dark.svg);
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  width: 246px;
}

  .contact-badge{
    display:none;
  }

}

 @media (min-width: 1024px){
    nav a.nav-link {
      margin-right: 48px;
      color:#ffffff;
    }
  }



/****** Stage ******/

.stage .container{
  padding:64px 16px 32px;
}

.stage {
  color:white;
  overflow-y: visible;
  padding-top:0px;
}

.home.stage {
  padding-top:40px;
}

.stage-inner{
  z-index: 12;
  position: relative;
  min-height: 500px;
  align-items: start !important;

}

.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.4s;
}


.stageimage-desktop{
  display:none;
}

.stageimage-mobile{
  display:block;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;

  }
}

.split-headline span:first-child{
  font-family: "Roboto Slab";
  font-weight: bold;
  display: block;
  font-size: 32px;
  padding-bottom: 12px;
}

.split-headline span:last-child{
  font-family: "ShadowsIntoLight";
  display: block;
  font-size: 40px;
  font-weight: 300;
}

.lead{
  font-family: "Roboto";
  color:#8CA995;
  font-weight: 400;
  font-size:16px;
  line-height: 24px;
  margin-bottom: 32px;
}

.col-lg-6 .lead {
    padding-right: 0px;
}

.position-container{
  overflow-x: hidden;
  position: absolute;
  z-index: 11;
  width: 100%;
  top: 370px;
}

.position-container img{
  position: relative;
  right: -32px;
  float: right;
  height: 356px;
  top: 0;
}


@media (min-width: 768px) {
  .stage {
  padding-top:40px;
}
  .stageimage-desktop{
    display:block;
  }

  .stageimage-mobile{
    display:none;
  }
  .stage .container{
    padding:64px 16px;
  }
  
  .col-lg-6 .lead {
    padding-right: 32px;
}

  .stage-inner{
    z-index: 12;
    min-height: 600px;
    align-items: center !important;
  }
  .split-headline span:first-child{
    font-size: 56px;
    padding-bottom: 12px;
  }

  .split-headline span:last-child{
    font-size: 72px;
    font-weight: 300;
  }

  .lead{
    font-family: "Roboto";
    color:#8CA995;
    font-weight: 400;
    font-size:20px;
    line-height: 32px;
    margin-bottom: 32px;
  }

  .position-container{
    overflow-x: hidden;
    position: absolute;
    z-index: 11;
    width: 100%;
    top: 0;
  }

  .position-container img{
    position: relative;
    right: -146px;
    float: right;
    top: -20px;
    height: 600px;
  }
}

@media (min-width: 992px) {

  .position-container img{
    position: relative;
    right: -150px;
    float: right;
    top: -50px;
    height: 700px;
  }

}

@media (min-width: 1200px) {
  .position-container img{
    position: relative;
    right: -250px;
    float: right;
    top: -80px;
    height: 900px;
  }

}

@media (min-width: 1500px) {
  .position-container img{
    position: relative;
    right: -100px;
    float: right;
    top: -80px;
    height: 900px;
  }

}


/********** Projekte ***********/

.responsive-tabs .nav-tabs {
    display: none;
}

.responsive-tabs .card .card-header {
  border-radius: 0 !important;
  border:0;
  border-bottom:2px solid rgba(30,32,30,0.2);
  background: none;
  padding:12px 0;
  transition: all 0.2s;
}

.card-header h2 {
    font-size: 18px;
}

.responsive-tabs .card .card-header.open-tab {
  border-bottom:2px solid rgba(30,32,30,1);
  transition: all 0.2s;
}

.responsive-tabs .card .card-header a {
  color:#2D4333;
  text-decoration: none;
  display:block;
}

.responsive-tabs .card .card-header img {
  margin-right:12px;
}

.responsive-tabs .card {
  border: none;
  border-radius: 0;
}

.acc-icon{
  float: right;
  width: 32px;
  height: 32px;
  background: ;
  margin-top: 8px;
  margin-right: 12px;
  padding-left: 8px;
  padding-top: 14px;
}

 .acc-icon span:first-child {
  width:16px;
  height:2px;
  background: #E8C334;
  display: inline-block;
  position: absolute;
}

 .acc-icon span:last-child {
  width: 16px;
  height: 2px;
  background: #E8C334;
  display: inline-block;
  position: absolute;
  transform: rotate(90deg);
  transition: transform 0.2s;
}

.responsive-tabs .card .card-header.open-tab .acc-icon span:last-child {
  transform: rotate(0deg);
  transition: transform 0.2s;
}

@media (max-width: 767px) {
    .responsive-tabs .tab-pane {
        display: block !important;
        opacity: 1;
    }
}

.nav-tabs {
    border-bottom: 0;
}

.nav-tabs .nav-link {
  margin: 0px 0px -2px;
  padding: 8px 12px;
  border: 2px solid rgba(30,32,30,0);
  border-bottom: 2px solid #d9d9d9;
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  opacity: 0.7;
}

.nav-tabs .nav-link h2{
  color: rgba(30,32,30,1);
  font-family: 'Roboto Slab', Arial;
  font-weight: bold;
  font-size: 14px;
  line-height: 28px;
  display:inline-block;
}

.nav-tabs .nav-link img{
  margin-right: 8px;
  height:40px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
  color: rgba(30,32,30,1);
  background-color: transparent;
  border: 2px solid rgba(30,32,30,0.2);
  border-bottom: 2px solid #fff;
  opacity: 1;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active:hover {
  color: rgba(30,32,30,1);
  background-color: transparent;
  border: 2px solid rgba(30,32,30,0.2);
  border-bottom: 2px solid #fff;
  opacity: 1;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover{
  border-color:transparent;
  border-bottom-color:#E8C334;
  opacity: 1;
}

@media (min-width: 1200px) {
  .nav-tabs .nav-link {
    margin: 0px 8px -2px;
    padding: 16px 24px;
  }

  .nav-tabs .nav-link h2{
    font-size: 18px;
  }
}

.nav-item:first-child a {
    margin-left: 0;
}

.navbar {
    padding-top: 1.5rem;
}

.card-body {
  flex: 1 1 auto;
  padding-left: 0;
  width: 200vw;
  margin-bottom: 48px;
}

.swiper {
  width: 100%;
  height: 100%;
  padding-right:20%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  height: 250px;
  background: #f2f2f2;
  margin-right: 32px;
  border-radius: 4px;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: -32px;
  left: 0;
  width: 100%;
  position: absolute;
  text-align: center;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.1;
}

.swiper-pagination-bullet-active{
  background-color:#E8C334;
  opacity: 1;
}

.swiper-slide{
  overflow: hidden;
}

.swiper-slide div {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: 0.2s;
}

@media (min-width: 768px) {
  .responsive-tabs .nav-tabs {
      display: flex;
      border-bottom: 2px solid #d9d9d9;
  }

  .responsive-tabs .card .card-header {
      display: none;
  }

  .responsive-tabs .card .collapse {
      display: block;
  }

  .nav-tabs .nav-link img{
    height:40px;
  }
 
  .card-body {
    flex: 1 1 auto;
    padding-left: 0;
    width: 1640px;
  }

  .swiper-slide {
    height: 400px;
    width: 400px;
    cursor:zoom-in;
  }

  .swiper-slide:hover div {
    transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .nav-tabs .nav-link img{
    height:48px;
  }
 }

/* Modal window */

.modal-header{
  border:0;
  background:transparent;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  margin-bottom: 12px;
  padding: 8px 16px;
}

.modal-dialog {
  max-width: 900px;
}

.modal-title{
  color: #fff;
}

.modal-body {
  padding: 0;
  text-align: center;
}

.modal-content{
  background:transparent;
  border:0;
}

.modal-content img {
  max-height: 65vh;
  text-align: center;
  width: auto;
  max-width: 100%;
}

.modal-backdrop.show {
  opacity: 0.7;
}

.modal-backdrop {
    background-color: #1E201E;
}

.btn-close {
    background-image: url(../images/layout/close-icon.svg);
    background-size: 24px;
}

/********* Kontakt **********/

.contact-channel-groups{
  margin:0;
  display: inline-block;
}

.channel-group-container{
  display: table;
  margin-bottom: 32px;
  background: rgba(255,255,255,0.05);
  padding: 32px 16px;
  width: 100%;
  border-radius: 5px;
  float:left;
  min-height: auto;
}

.channel-group-container:last-child{
  margin-bottom:0px;
}

.channel-group-container p{
  color:#8CA995;
  margin-bottom: 24px;
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

a.contact-channel{
  width: 100%;
  float: left;
  margin-bottom: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  font-family: "Roboto Slab", Arial;
  font-weight: bold;
  font-size: 18px;
  line-height: 28px;
  transition:0.2s;
}

a.contact-channel:hover {
  color: #DCBC40;
  text-decoration: underline;
}

a.contact-channel:last-child {
  margin-bottom:0;
}

@media (min-width: 768px) {

  .modal-content img {
    max-height: 85vh;
  }
  .channel-group-container{
    display: table;
    width: calc(50% - 16px);
    float:left;
    min-height: 333px;
    padding:24px;
    margin-bottom:0;
  }

  .channel-group-container:first-child{
    margin-right:16px;
  }

  .channel-group-container:last-child{
    margin-left:16px;
  }
}

footer{
  padding:0;
  background: #161816;
}

.footerlinks {
  float:right;
}

.footer-logo{
  max-width:140px;
}

.footer-anschrift{
  color: #8CA995;
  list-style: none;
  font-size: 12px;
}

.footer-anschrift ul {
  padding-left:0;
  margin-bottom: 0;
}

.footer-anschrift ul li{
  list-style:none;
}

.footerlinks a {
  display: block;
  margin: 0 0 16px;
  font-size: 12px;
  text-align: right;
  font-family: "Roboto slab";
  font-weight: bold;
  color: #8CA995;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}

.footerlinks a:last-child {
  margin-bottom:0px;
}

.footerlinks a:hover {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
}

@media (min-width: 768px) {
  .footer-logo{
  max-width:200px;
}

  .footerlinks a {
    margin: 0 16px;
    display:inline;
    font-size:16px;

  }
}

.navi-screen-dark{
  background: rgba(0,0,0,0.0);
  transition: background .2s;
  width: 100%;
  height: 0;
  position: fixed;
  z-index: 16;

}
.visible{
  background: rgba(0,0,0,0.5);
  transition: background .2s;
  height:100%;
}

.collapsing{
  transition: height 0s;
}

textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
  -webkit-appearance: none !important;
  border-radius: 0;
}

.open-tab{
  color:#E8C334;
}

main.content-page .bg-image-left{
   background-image:none;
   padding-top:0;
}

main.content-page .stage-inner{
  min-height: 40px;
}

main.content-page .container{
  padding:24px 16px 64px;
}

main.content-page footer .container {
    padding: 40px 16px;
}