@font-face {
  font-family: 'GeneralSans-Regular';
  src: url('fonts/GeneralSans-Regular.woff2') format('woff2'),
       url('fonts/GeneralSans-Regular.woff') format('woff'),
       url('fonts/GeneralSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'GeneralSans-Italic';
  src: url('fonts/GeneralSans-Italic.woff2') format('woff2'),
       url('fonts/GeneralSans-Italic.woff') format('woff'),
       url('fonts/GeneralSans-Italic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'GeneralSans-Bold';
  src: url('fonts/GeneralSans-Bold.woff2') format('woff2'),
       url('fonts/GeneralSans-Bold.woff') format('woff'),
       url('fonts/GeneralSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'GeneralSans-BoldItalic';
  src: url('fonts/GeneralSans-BoldItalic.woff2') format('woff2'),
       url('fonts/GeneralSans-BoldItalic.woff') format('woff'),
       url('fonts/GeneralSans-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: italic;
}
:root {
  --swiper-navigation-size: 22px;
  --swiper-navigation-top-offset: 100%;
  --swiper-navigation-sides-offset: 1px;
  --swiper-navigation-color: #000;
}


* {
  box-sizing: border-box;
  color: #000;
  font-family: 'GeneralSans-Regular', sans-serif;
  padding: 0;
  margin: 0;
}

html {
  background: #a3a79a;
  font-weight: 400;
  /*scroll-behavior: smooth;*/
}

h1, h2, h3, h4, h5, h6, b, strong {
  font-family: 'GeneralSans-Bold', sans-serif;
  font-weight: 700;
}

.preload * {
 -webkit-transition: none !important;
 -moz-transition: none !important;
 -ms-transition: none !important;
 -o-transition: none !important;
}


/*#logo-wrapper {
  position: fixed;
  left: 2rem;
}*/

ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

#overlay ul {
  list-style-type: none;
  padding-left: 0;
}

a {
  text-decoration: none;
}

em {
  font-family: 'GeneralSans-Regular', sans-serif;
  color: #fff;
}

.col-1 > p:first-child {
  margin-bottom: 2rem;
}
.zitat {
  line-height: 1rem;
}
.zitat_mini {
  font-size: .5rem;
}

.home-headline {
  font-size: 2rem;
  margin: 4rem 0 1rem 0;
}

.swiper {
  /*width: 100%;
  height: 400px;
*/
  margin-bottom: 1rem;
}

.swiper-slide {
  width: initial;
}
.swiper-slide img {
  vertical-align: middle;
  max-width: 100%;
}

.swiper-button-prev, .swiper-button-next {
  background: #a3a79a;
  padding: 1rem;
  top: calc(var(--swiper-navigation-top-offset) - var(--swiper-navigation-size));
}

.swiper-button-next {
  right: auto;
  left: calc(var(--swiper-navigation-size) + 12px);
}

.meldung-text {
  max-width: 60vw;
  padding: 1rem 0 1rem 0;
}

/*.swiper-button-prev, .swiper-rtl .swiper-button-next {
left: var(--swiper-navigation-sides-offset,20px);
right: auto;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
right: var(--swiper-navigation-sides-offset,20px);
left: auto;
}*/

#content.active {
  /*transform: translateY(10rem);*/
  transition: all .5s ease-in-out;
}



#overlay {
  width: 33vw;
  height: 100svh;
  position: fixed;
  padding: 3rem;
  top: 0px;
  right: 0px;
  background: rgb(173,177,164);
  z-index: 1020;
  transform: translateX(33vw);
  transition: all .5s ease-in-out 0s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.menu-active #overlay {
  right:0px;
  transform: translateX(0);
  transition: all .5s ease-in-out 0s;
}

body.menu-active .page-wrapper {
  transform: translateX(-33vw);
  opacity: .5;
  transition: all .5s ease-in-out 0s;
}

body .page-wrapper {
  opacity: 1;
  transition: all .5s ease-in-out 0s;
}

#overlay h2,
#overlay p,
#overlay ul li,
#overlay a {
  color: #000 !important;
}

#overlay h2,
#overlay p,
#overlay ul {
  margin-bottom: 1rem;
}

.main-link {
  display: block;
  font-size: 2rem;
  padding: .5rem 0;
  transition: all .2s ease-in-out 0s;
}

.main-link:hover {
  transform: translateX(10px);
  transition: all .2s ease-in-out 0s;
}

.instagram img,
.facebook img {
  height: 30px;
  width: 30px;
}


.footnote {
  text-align: center;
  padding: 5rem 0;
}

#logo_01,
#logo_02,
#logo_03 {
  box-sizing: initial;
  padding: 4px;
}

#logo_01 a {
  background-image: url(images/spa_01.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 125px;
  height: 29px;
  animation-duration: 10s;
  animation-name: changeBG_01;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  /*transition: all 0.2s 0s ease-in-out;*/
}

#logo_02 a {
  background-image: url(images/spa_02.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 207px;
  height: 55px;
  animation-duration: 8s;
  animation-name: changeBG_02;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  /*transition: all 0.2s 0s ease-in-out;*/
}

#logo_03 a {
  background-image: url(images/spa_03.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 140px;
  height: 55px;
  animation-duration: 12s;
  animation-name: changeBG_03;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  /*transition: all 0.2s 0s ease-in-out*/
}


@keyframes changeBG_01 {
    0% {
        background-image: url(images/spa_01_b.png);
    }
    35% {
        background-image: url(images/spa_01_b.png);
    }
    40% {
        background-image: url(images/spa_01.png);
    }
    50% {
        background-image: url(images/spa_01.png);
    }
    60% {
        background-image: url(images/spa_01.png);
    }
    65% {
        background-image: url(images/spa_01_b.png);
    }
    100% {
        background-image: url(images/spa_01_b.png);
    }
}

@keyframes changeBG_02 {
    0% {
        background-image: url(images/spa_02_b.png);
    }
    35% {
        background-image: url(images/spa_02_b.png);
    }
    40% {
        background-image: url(images/spa_02.png);
    }
    50% {
        background-image: url(images/spa_02.png);
    }
    60% {
        background-image: url(images/spa_02.png);
    }
    65% {
        background-image: url(images/spa_02_b.png);
    }
    100% {
        background-image: url(images/spa_02_b.png);
    }
}

@keyframes changeBG_03 {
    0% {
        background-image: url(images/spa_03_b.png);
    }
    35% {
        background-image: url(images/spa_03_b.png);
    }
    40% {
        background-image: url(images/spa_03.png);
    }
    50% {
        background-image: url(images/spa_03.png);
    }
    60% {
        background-image: url(images/spa_03.png);
    }
    65% {
        background-image: url(images/spa_03_b.png);
    }
    100% {
        background-image: url(images/spa_03_b.png);
    }
}
#logo_01 {
  width: 125px;
  height: 29px;
  position: fixed;
  top: 20px;
  left: 2rem;
  transform: scale(0.5);
  transform-origin: top left;
  z-index: 1001;
}

#logo_02 {
  width: 207px;
  height: 55px;
  position: fixed;
  top: 33vh;
  right: 20px;
  transform: scale(0.5);
  transform-origin: top right;
  z-index: 1002;
}

#logo_03 {
  width: 140px;
  height: 55px;
  position: fixed;
  bottom: 70px;
  left: 2rem;
  transform: scale(0.5);
  transform-origin: bottom left;
  z-index: 1003;
}

.image-grid,
.filter {
}

.image-grid {
  width: 75vw;
  margin: 0 auto;
}

.hero-text {
  margin: 0 auto;
  max-width: 75vw;
  font-size: 1.6rem;
  padding-top: 4rem;
}

.portfolio-entry {
  /*padding: 120px 60px;*/
  max-width: calc(33.3% - 1px);
}

.randomsize-300 {
  padding: 1rem 6rem 8rem 6rem;
}

.randomsize-400 {
  padding: 2rem 4rem 6rem 4rem;
}

.randomsize-500 {
  padding: 3rem 2rem 4rem 2rem;
}

.text-entry {
  padding: 120px 60px;
  width: calc(45% - 1px) !important;
  font-size: 1rem;
}

.randomsize-1 {
  padding: 100px 50px;
}

.randomsize-2 {
  padding: 120px 70px;
}

.randomsize-3 {
  padding: 80px 80px;
}

.filter {
   margin: 0 auto;
  max-width: 75vw;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.filter a {
  padding: 1rem 2rem 1rem 0;
  font-size: .75rem;
  text-transform: uppercase;
  transition: all .5s linear;
  color: #888;
}

.filter a.active {
  color: #000;
  transition: all .5s linear .5s;
}
@media screen and (max-width:640px) {
  .filter {
    padding: 1rem 20px;
    max-width: 100vw;
  }
  .filter a {
    padding: .5rem 1rem .5rem 0;
  }
}

.project-wrap {
  position: relative;
  display: block;
}

.entry-thumbnail {
  padding: 0;
  line-height: 0;
  display: block;
  z-index: 100;
  opacity: 1;
  overflow: hidden;
}

.entry-thumbnail img,
.entry-thumbnail video  {
  padding: 0;
  max-width: 100%;
  height: auto;
  transition: all .3s ease-in-out;
}

.entry-thumbnail img:hover,
.entry-thumbnail video:hover {
  scale: 1.1;
  transform-origin: center;
  transition: all .3s ease-in-out;
}

.projekt video {
  width: 100%;
}

.title-wrap {

}

.title-wrap .entry-header {

}

.title-wrap h2 {
  font-size: 0.75rem;
  text-align: center;
}

.title-wrap h2 a {
  text-decoration: none;
  text-transform: uppercase;
}




.text {
  padding: 3rem 0;
}

.text p {
  margin-bottom: 1rem;
}

.text ul {
  list-style-type: square;
}

.projekt-img {
  max-width: 100%;
  height: auto;
}

.gif-img {
  width: 100%;
  height: auto;
}

.cat {
  text-transform: uppercase;
  font-size: .75rem;
}

.image-container {
  position: relative;
}

.description {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 5px 5px 0 0;
}

.back svg {
  width: 30px;
  fill: #000;
  transition: all .3s ease-out;
}

.back svg:hover {
  width: 30px;
  fill: #000;
  transform: translateX(-10px);
  transition: all .3s ease-out;
}



.page-wrapper {
  width: 85vw;
  margin-left: 15vw;
}


.info-content {
  display: flex;
  align-items: center;
  margin: 2rem 0;
}

.projekt-header {
  margin-left: 2rem;
  transform: translateY(-2px);
}

.category-box {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: rgba(226, 228, 221,.8);
  pointer-events: none; 
  transition: all .3s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-box h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.project-wrap:hover .category-box {
  opacity: 1;
  z-index: 1;
  transition: all .3s ease-out;
}

article {
  margin-bottom: 4rem;
}

article.projekt a {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin-bottom: 1rem;
  width: 75%;
  position: relative;
}

.projekt.odd {

}

.projekt.even a {
  margin-left: 25%;
}

.projekt-content {
  position: absolute;
  left: -1px;
  bottom: -1px;
}

.projekt a > .portfolio-img {
  max-width: 100%;
  height: auto;
}

.projekt-content h2 {
  /*margin-bottom: .5rem;*/
  padding: .5rem .5rem .5rem 0;
  background: #a3a79a;
  text-transform: uppercase;
  font-size: 1.4rem;
  display: inline-block;
}

.projekt-content h2 a {
  padding: .5rem .5rem .5rem 0;
  background: #a3a79a;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.projekt-content p {
  /*padding: 0 .5rem 0 0;
  background: #a3a79a;*/
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.3rem;
}

.projekt-content p span {
  background: #a3a79a;
  padding-right: .5rem;
  padding-top: .5rem;
}

@media screen and (max-width:640px) {
  .projekt-content h2 {
    font-size: 1.2rem;
    padding: 0;
    background: none;
  }

  .projekt-content p {
    /*padding: 0 .5rem 0 0;
    background: #a3a79a;*/
    font-size: .8rem;
    line-height: 1rem;
  }

  .projekt-content p span {
    background: none;
    padding-right: 0;
    padding-top: 0;
  }
}
/*.projekt-content h2 {
  margin-left: 2rem;
}*/

.v2-text {
  max-width: 60vw;
  font-size: 1.4rem;
  margin: 4rem 0;
}

.v2-text p {
  margin-bottom: 1rem;
}

.aktuell {
  display: flex;
  flex-wrap: wrap;
  margin: 4rem 0;
}

.meldung {
  display: flex;
  width: 50%;
}

.thumbnail {
  margin-right: 1rem;
}

.meldung-text {
  padding-right: 1rem;
}

.meldung-text h4 {
  margin-bottom: .5rem;
}




.menu-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  margin: auto;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 1025;
}

.hamburger-menu,
.hamburger-menu:after,
.hamburger-menu:before {
  width: 25px;
  height: 3px;
}

.hamburger-menu {
  position: relative;
  transform: translateY(10px);
  background: #000;
  transition: all 0ms 300ms;
}
.hamburger-menu.animate {
  background: rgba(0, 0, 0, 0);
}

.hamburger-menu:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background: #000;
  transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu:after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  background: #000;
  transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:after {
  top: 0;
  transform: rotate(45deg);
  transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:before {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.text-bild {
  display: flex;
  flex-direction: row;
  margin: 4rem 0;
}

.text-bild-text {
  width: 50%;
  font-size: 1.4rem;
  margin: 4rem 0;
}

.text-size-1 {
  width: 100%;
}

.text-size-2 {
  width: 25%;
}

.text-size-3 {
  width: 50%;
}

.text-size-4 {
  width: 75%;
}

.image-size-1 {
  width: 100%;
}

.image-size-2 {
  width: 75%;
}

.image-size-3 {
  width: 50%;
}

.image-size-4 {
  width: 25%;
}

.container-size-1 {
  width: 100%;
}

.container-size-2 {
  width: 75%;
  margin-left: 25%;
}

.container-size-3 {
  width: 50%;
  margin-left: 50%;
}

.container-size-4 {
  width: 25%;
  margin-left: 75%;
}

.text-bild > .text-bild-text {
  margin-right: 2rem;
  margin-top: 0;
}

.text-bild-image + .text-bild-text {
  margin-right: 0;
  margin-left: 2rem;
  margin-top: 0;
}

@media screen and (max-width: 640px) {
  /*.text-bild {
    display: flex;
    flex-direction: column;
  }*/

  .home-headline {
    font-size: 1.6rem;
  }
  
  body.menu-active .page-wrapper {
    transform: translateX(-25vw);
    opacity: .5;
    transition: all .5s ease-in-out 0s;
  }

  body .page-wrapper {
    opacity: 1;
    transition: all .5s ease-in-out 0s;
  }

  .page-wrapper {
    width: 100%;
    padding: 0 1rem;
    margin: 0 !important;
  }

  .swiper {
    /*height: 400px;*/
    height: 40vw;
    margin-bottom: 1rem;
  }

  .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
  }

  .meldung-text {
    position: initial;
    background: #a3a79a;
    z-index: 2;
    width: 100%;
  }

  .page-wrapper {
    width: 100%;
    padding: 4rem 0 0 1rem;
    margin: 0 !important;
  }

  .info-content {
    display: flex;
    align-items: center;
    margin: 1rem 0;
  }

  .v2-text,
  .text-bild-text {
    max-width: 100%;
    font-size: 1rem;
    margin: 2rem 1rem 2rem 0;
  }

  .homepage .v2-text {
    margin-top: 6rem;
  }

  article.projekt a {
    width: 100%;
  }

  .projekt.even a,
  .projekt.odd a {
    margin-left: 0;
    display: block;
    margin-bottom: 2rem;
  }

  #overlay {
    width: 100vw;
    transform: translateX(100vw);
  }

  .projekt {
    margin-bottom: 1rem;
  }

  .projekt-content {
    position: initial;
  }
  
  .info {
    width: calc(100vw - 3rem);
  }

  .images {
    width: calc(100vw - 3rem);
  }

  .back a {
    display: block;
  }

  .back svg {
    width: 25px;
    fill: #000;
    transition: all .3s ease-out;
  }

  .back svg:hover {
    width: 25px;
    fill: #000;
    transform: translateX(-10px);
    transition: all .3s ease-out;
  }

  #logo_01 {
    width: 125px;
    height: 29px;
    position: fixed;
    top: 1rem;
    left: 1rem;
    transform: scale(0.5);
    transform-origin: top left;
    z-index: 1001;
  }

  #logo_02 {
    width: 207px;
    height: 55px;
    position: fixed;
    top: 1rem;
    left: 5.3rem;
    right: initial;
    transform: scale(0.5);
    transform-origin: top left;
    z-index: 1002;
  }

  #logo_03 {
    width: 140px;
    height: 55px;
    position: fixed;
    top: calc(1rem + 14px);
    left: 1rem;
    transform: scale(0.5);
    transform-origin: top left;
    z-index: 1003;
  }

  #logo_01 a {
    animation-duration: 14s;
    animation-name: changeBG_01;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  #logo_02 a {
    animation-duration: 10s;
    animation-name: changeBG_02;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  #logo_03 a {
    animation-duration: 20s;
    animation-name: changeBG_03;
    animation-iteration-count: infinite;
    animation-direction: alternate;
  }

  @keyframes changeBG_01 {
      0% {
          background-image: url(images/spa_01_b.png);
      }
      35% {
          background-image: url(images/spa_01_b.png);
      }
      40% {
          background-image: url(images/spa_01.png);
      }
      50% {
          background-image: url(images/spa_01.png);
      }
      60% {
          background-image: url(images/spa_01.png);
      }
      65% {
          /*background-image: url(images/spa_01_b.png);*/
          background-image: none;
      }
      100% {
          /*background-image: url(images/spa_01_b.png);*/
          background-image: none;
      }
  }

  @keyframes changeBG_02 {
      0% {
          background-image: url(images/spa_02_b.png);
      }
      35% {
          background-image: url(images/spa_02_b.png);
      }
      40% {
          background-image: url(images/spa_02.png);
      }
      50% {
          background-image: url(images/spa_02.png);
      }
      60% {
          background-image: url(images/spa_02.png);
      }
      65% {
          /*background-image: url(images/spa_02_b.png);*/
          background-image: none;
      }
      100% {
          /*background-image: url(images/spa_02_b.png);*/
          background-image: none;
      }
  }

  @keyframes changeBG_03 {
      0% {
          background-image: url(images/spa_03_b.png);
      }
      35% {
          background-image: url(images/spa_03_b.png);
      }
      40% {
          background-image: url(images/spa_03.png);
      }
      50% {
          background-image: url(images/spa_03.png);
      }
      60% {
          background-image: url(images/spa_03.png);
      }
      65% {
          /*background-image: url(images/spa_03_b.png);*/
          background-image: none;
      }
      100% {
          /*background-image: url(images/spa_03_b.png);*/
          background-image: none;
      }
  }

  .aktuell {
    display: block;
    margin: 4rem 0;
  }

  .meldung {
    display: flex;
    width: initial;
    margin-bottom: 1rem;
  }

  .thumbnail {
    margin-right: 1rem;
    flex: 0 0 100px;
  }

  .thumbnail img {
    max-width: 100%;
  }

  .meldung-text {
    padding-right: 0rem;
  }

  .meldung-text h4 {
    margin-bottom: .5rem;
  }

  .image-size-2,
  .image-size-3,
  .image-size-4 {
    width: 50%;
  }

  .text-size-2,
  .text-size-3,
  .text-size-4 {
    width: calc(50% - 2rem);
  }

  .container-size-1,
  .container-size-2,
  .container-size-3,
  .container-size-4 {
    width: 100%;
    margin-left: 0;
  }
}

.fslightbox-absoluted img {
  background: #fff;
}

.fslightboxsn span {
  color: #d7d7d7;
}
