@import url('https://fonts.googleapis.com/css?family=PT+Mono|PT+Sans:400,700,400i');

strong{font-weight: 700;}
i {font-weight: 400i;}

:root {
  --white: #FFFFFF;
  --lightgrey: #E0E0E0;
  --dune: #242424;
  --sand: #A59E8D;
  --olive: #788173;
  --gold: #C7A842;
  --darkgrey: #524F4F;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html {
  overflow-x: hidden;
}
body {
  font-family: 'PT Sans', sans-serif;
  color: var(--darkgrey);
  overflow-x: hidden;
}
body.no-scroll {
  position: absolute;
  bottom: 0;
  overflow: hidden !important;
}

.mobile-only {
  display: none;
  margin: 0;
}

.menu-container {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 960;
  width: 100vw;
  height: auto;
}

.menu-container #menu {
  display: none;
  position: absolute;
  transform: translate3d(calc(50vw - 50%),calc(50px - 50%),0);
  top: 0px;
  left: 0px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  opacity: 0;
  z-index: 600;
}

.menu-container #menu ~ #hamburger {
  display: none;
  position: absolute;
  transform: translate3d(calc(50vw - 50%),calc(50px - 50%),0);
  top: 0px;
  left: 0px;
  width: 24px;
  height: 32px;
  pointer-events: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 600;
}


.menu-container #menu ~ #hamburger span {
  position: absolute;
  top: 12px;
  left: 0;
  height: 2px;
  width: 24px;
  transition: all .3s ease;
  pointer-events: none;
}

.menu-container #menu ~ #hamburger span:first-child {
  top: 0;
}

.menu-container #menu ~ #hamburger span:last-child {
  top: 24px;
}

.menu-container #menu:checked ~ #hamburger span {
  position: absolute;
  top: 12px;
  left: 0;
  height: 2px;
  width: 24px;
  transition: all .3s ease;
  pointer-events: none;
  opacity: 0;
}

.menu-container #menu ~ #hamburger span {
  background: #fff;
}

.menu-container #menu ~ #hamburger.dark span {
  background: var(--darkgrey);
}

.menu-container #menu:checked ~ #hamburger.dark span {
  background: #fff;
}

.menu-container #menu:checked ~ #hamburger span:first-child {
  opacity: 1;
  transform: rotate(-45deg);
}

.menu-container #menu:checked ~ #hamburger span:last-child {
  opacity: 1;
  transform: rotate(45deg);
}

a {
  text-decoration: none;
  color: var(--white);
  transition: all .3s ease;
}

a:hover {
  color: var(--gold) !important;
}

p {
  font-family: 'PT Sans', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  margin: 32px 0;
}

p:first-of-type {
  margin-top: 0;
}

p:last-of-type {
  margin-bottom: 0;
}

h1, h2, h3 {
  font-family: 'PT Mono', monospace;
}

h1 {
  font-size: 160px;
}

h2 {
  font-size: 32px;
  margin-top: 42px;
  margin-bottom: 42px;
}

h3 {
  font-size: 24px;
  line-height: 42px;
}

nav {
  display: flex;
  position: fixed;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 72px;
  width: 100vw;
  background: var(--dune);
  border-bottom: 2px solid var(--white);
  transition: all .3s ease;
  z-index: 500;
  left: 0;
  top: 0;
}

nav a {
  font-family: 'PT Mono', monospace;
  padding: 0 32px;
  color: var(--white);
}

nav a:first-of-type {
  padding-left: 0px;
}

nav a:last-of-type {
  padding-right: 0px;
}

nav a.active {
  color: var(--gold) !important;
}

nav.white {
  background: var(--white);
  border-bottom: 2px solid var(--darkgrey);
}

nav.white a {
  color: var(--darkgrey);
}

nav.olive {
  background: var(--olive);
  border-bottom: 2px solid var(--white);
}

nav.olive a {
  color: var(--white);
}

nav.lightgrey {
  background: var(--lightgrey);
  border-bottom: 2px solid var(--white);
}

nav.lightgrey a {
  color: var(--darkgrey);
}

header {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  background: var(--dune);
  background-image: url('../img/pattern_header.png');
  background-repeat: repeat;
  color: var(--white);
}

header h1 {
  line-height: 1.5;
}

header p {
  font-family: 'PT Mono', monospace;
  font-size: 40px;
  line-height: 1;
  text-align: center;
  padding: 0 25vw;
}

header p, header h1 {
  position: relative;
  z-index: 10;
}

header img {
  position: absolute;
  max-width: 1248px;
  width: 70%;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%,-50%,0);
  z-index: 0;
  opacity: 0.3;
}

#scroll_down {
  position: absolute;
  width: 48px;
  height: 48px;
  bottom: 40px;
  left: calc(50% - 24px);
  justify-content: flex-end;
}

#scroll_down img {
  opacity: 1;
}

section {
  padding: 120px 0;
}

section#w19 {
  background: var(--white);
  background-image: url('../img/pattern_w19.png');
  background-repeat: repeat;
}

section#w19 .content.image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

section#w19 .content.holz:after {
  content: "Holz";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate3d(-50%,0,0);
  font-family: 'PT Sans', sans-serif;
  font-size: 28px;
  color: var(--sand);
  font-style: italic;
}

section#w19 .content.suedansicht:after {
  content: "Westansicht";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate3d(-50%,0,0);
  font-family: 'PT Sans', sans-serif;
  font-size: 28px;
  color: var(--darkgrey);
  font-style: italic;
}

section#w19 .content.image img {
  width: 80%;
  margin: 62px 0;
}

section#weilerstrasse {
  color: var(--white);
  background: var(--olive);
  background-image: url('../img/pattern_weilerstrasse.png');
  background-repeat: repeat;
}

section#weilerstrasse .left-content {
  margin-top: 0px;
}

section#weilerstrasse .content.image img {
  width: 80%;
}

section#baufortschritt {
  min-width: 100vw;
  min-height: 100vh;
  position: relative;
  /* background-image: url('../img/baufortschritt.png');
  background-size: cover;
  background-position: center center; */
}

section#baufortschritt h1 {
  font-family: 'PT Mono', monospace;
  color: var(--dune);
  font-size: 100px;
  text-align: center;
  z-index: 10;
  position: relative;
}

section#baufortschritt p {
  font-family: 'PT Mono', monospace;
  font-size: 36px;
  text-align: center;
  z-index: 10;
  position: relative;
}

section#baufortschritt .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

section#wir {
  background: var(--lightgrey);
  background-image: url('../img/pattern_wir.png');
  background-repeat: repeat;
}

section#wir .content .card {
  background: var(--white);
  margin-top: 72px;
  min-height: 350px;
  padding: 118px 40px 0px 40px;
}

section#wir .content p {
  margin-top: 32px;
  margin-bottom: 72px;
}


section#wir a {
  text-decoration: none;
  color: var(--darkgrey);
  transition: all .3s ease;
}


footer {
  display: flex;
  justify-content: right;
  padding: 48px 100px;
  min-height: 200px;
  background: var(--sand);
}

footer p {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  color: var(--darkgrey);
  line-height: 1;
  text-align: left;
  padding: 20px;
}

#boxfooter{
  display:flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  background-color: none;
}

.copyright {
  display:flex;
  flex: 1;
  margin-right: auto;
  }

#boxfooter a {
  padding: 20px;
  color: var(--darkgrey);
  }

footer a:first-child {
  margin-right: 125px;
}

.left-content, .right-content {
  opacity: 0;
}

.left-content.visible {
  animation: fade-in-left .3s linear .2s forwards;
}

.right-content.visible {
  animation: fade-in-right .3s linear .2s forwards;
}

.modal {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100vw;
  height: 0vh;
  padding-top: 72px;
  background: var(--white);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease;
}

.modal-wrapper {
  display: flex;
  flex: 1;
  overflow-y: scroll;
}

.modal-wrapper a {
  text-decoration: none;
  color: var(--darkgrey);
  transition: all .3s ease;
}


.modal.open {
  height: 100vh;
  opacity: 1;
  pointer-events: all;
}

.modal .modal-nav {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100vw;
  height: 72px;
  background: var(--white);
  border-bottom: 2px solid var(--darkgrey);
}

.modal .modal-nav .close {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  cursor: pointer;
}

.modal .modal-nav .close span {
  position: absolute;
  top: 16px;
  left: 0;
  height: 2px;
  width: 24px;
  background-color: var(--darkgrey);
}

.modal .modal-nav .close:hover span {
  background-color: var(--gold);
}
.modal .modal-nav .close span:first-of-type {
  transform: rotate(-45deg);
}
.modal .modal-nav .close span:last-of-type {
  transform: rotate(45deg);
}

@keyframes fade-in-left {
    from {
      transform: translateX(-100px);
      opacity: 0;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    }
}

@keyframes fade-in-right {
    from {
      transform: translateX(100px);
      opacity: 0;
    }
    to {
      transform: translateX(0px);
      opacity: 1;
    }
}
