/** VARIABLES **/

:root {
  --c-black: rgb(19, 19, 19);
  --c-white: rgb(252, 252, 252);
  --c-third: #4697be;
}

/** JUMP TO CONTENT BUTTON **/

.skip-to-content {
  position: absolute;
  top: -4rem;
  left: 4rem;
  background: var(--c-black);
  color: var(--c-white);
  padding: 0.5rem 1rem .75rem 1rem;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
}

.skip-to-content:focus {
  top: 0;
}

/** EVERYTHING ELSE (SORRY) **/

@media (hover: hover) {
  .sandwich {
    cursor: pointer;
  }

  .sandwich :hover line {
    stroke: #4697be;
    transition: 0.5s ease-in-out;
  }

  .categories,
  input,
  label {
    cursor: pointer;
  }

  a :hover {
    color: #4697be;
    transition: 0.5s ease-in-out;
  }

  .move :hover {
    transform: translateX(3px);
  }

  button {
    cursor: pointer;
  }

  #loadbutton :hover {
    stroke: #4697be;
    transform: rotate(90deg);
    transition: 0.5s ease-in-out;
  }
}


body {
  scroll-behavior: smooth;
}

.snap-container {
  /*     scroll-snap-type: y proximity;
      overflow: auto;
      height: 100vh; */
}

.scroll-snap {
  /*     scroll-snap-align: start; */
}

.scroll-margin {
  scroll-margin-top: 47px;
  scroll-snap-margin-top: 47px;
}

@media screen and (orientation: portrait) {
  .dev_landscape {
    display: none;
  }
}

@media screen and (orientation: landscape) {
  .dev_portrait {
    display: none;
  }
}

.hide_header {
  display: none;
}

.padding_a {
  width: calc(100% - 1rem);
  padding: 52px 0.5rem 52px 0.5rem;
  margin-bottom: -40px;
}

@media screen and (min-width: 820px) {
  .padding_a {
    width: calc(100% - 1.6rem);
    padding: 52px 0.8rem 52px 0.8rem;
  }
}

.padding_8 {
  width: calc(100% - 1rem);
  padding: 0.5rem 0.5rem 0.8rem 0.5rem;
}

@media screen and (min-width: 820px) {
  .padding_8 {
    width: calc(100% - 1.6rem);
    padding: 0.8rem 0.8rem 1rem 0.8rem;
  }
}

.padding_16 {
  width: calc(100% - 2rem);
  padding: 1rem 1rem 1.2rem 1rem;
}

@media screen and (min-width: 820px) {
  .padding_16 {
    width: calc(100% - 3.2rem);
    padding: 1.6rem 1.6rem 2rem 1.6rem;
  }
}

.margin_46 {
  margin-top: 46px;
}

.margin-bottom-0_8 {
  margin-bottom: .8rem;
}

.fullwidth {
  width: calc(100% - 1rem);
}

@media screen and (min-width: 820px) {
  .fullwidth {
    width: calc(100% - 1.6rem);
  }
}

.container {
  width: 100%;
}

.container_landing {
  width: 100%;
  height: 100vh;
  background-color: var(--c-black);
  position: relative;
}

.mobile {
  height: calc(100vh - 45px) !important;
  margin-top: 46px;
}

.landing {
  z-index: 5;
  position: absolute;
}

.landingfont {
  pointer-events: none;
}

.landing_gallery {
  width: 100%;
  height: 100%;
}

.landing_figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.landing_figure img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: cover;
}

.visible {
  animation: fadeIn 0.8s;
  opacity: 1;
  z-index: 1;
}

.invisible {
  animation: fadeOut 0.8s;
  opacity: 0;
  z-index: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

button#loadDeviceOrientation {
  position: absolute;
  z-index: 8;
  margin-left: 50%;
  margin-top: 50vh;
  transform: translate(-50%, -50%);
}

@media screen and (min-width: 1200px) {
  .container_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.8rem;
  }
}

@media screen and (min-width: 820px) {
  .container_3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.8rem;
  }
}

@media screen and (min-width: 1200px) {
  .container_3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 0.8rem;
  }
}

@media screen and (min-width: 820px) {
  .container_14 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-column-gap: 0.8rem;
  }
}

.cv {
  padding: 1rem 0;
}

.cv h1 {
  font-size: 1rem;
}

@media screen and (min-width: 820px) {
  .cv {
    display: grid;
    grid-template-columns: 7rem auto;
    grid-column-gap: 1.2rem;
    padding: 1.6rem 0;
  }
}

.cv_year {
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
}

@media screen and (min-width: 820px) {
  .cv_year {
    margin: 0;
  }
}

@media screen and (min-width: 820px) {
  .container_11max {
    display: grid;
    grid-template-columns: 1fr 1fr max-content;
    grid-column-gap: 0.8rem;
  }
}

@media screen and (min-width: 820px) {
  .container_projectslist {
    display: grid;
    grid-template-columns: 1.7fr 1.2fr 0.8fr 4rem;
    grid-column-gap: 0.8rem;
  }
}

.container_1max {
  display: grid;
  grid-template-columns: 1fr max-content;
  grid-column-gap: 20px;
}

.container_adress {
  background-color: var(--c-black);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-top: 1px;
}

.adress {
  margin-top: 9vw;
  margin-bottom: 9vw;
}

.span1_2 {
  grid-column: 1/span 2;
  margin-bottom: 1.7rem;
}

@media screen and (min-width: 820px) {
  .span2 {
    grid-column: 2;
  }
}

table {
  text-align: left;
  width: 100%;
  margin-top: 10px;
  color: var(--c-white);
}

/* home */
article {
  display: none;
  opacity: 0;
  transition: opacity 500ms ease;
  margin-bottom: 2.5rem;
}

.article-wrapper {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

article img {
  width: 100%;
  height: 65vw;
  object-fit: cover;
}

@media screen and (min-width: 820px) {
  article img {
    height: 33vw;
  }
}

@media screen and (min-width: 1200px) {
  article img {
    height: 20vw;
  }
}

.loadbutton {
  margin-top: 50px;
  margin-bottom: 50px;
  margin-left: calc(50% - 30px);
  stroke: var(--c-black);
}

button {
  border: 0;
  background-color: var(--c-white);
}

#description h2 {
  font-size: 1.5rem;
}

@media screen and (min-width: 820px) {
  #description h2 {
    font-size: 2.2rem;
  }
}

/* contact */
#contact {
  color: var(--c-white);
}

@media screen and (min-width: 820px) {
  #contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1px;
  }
}

/* about */
#partners,
#team {
  color: var(--c-white);
  background-color: var(--c-black);
}

#partners div img,
#team div img {
  width: 100%;
  margin-bottom: 0.8rem;
}

@media screen and (min-width: 820px) {

  #partners div img,
  #team div img {
    width: 400px;
  }
}

@media screen and (min-width: 1200px) {

  #partners div img,
  #team div img {
    width: calc(50% - .6rem);
  }
}

.cv-portrait img {
  width: 100% !important;
  margin-bottom: 0 !important;
}

@media screen and (min-width: 820px) {
  .cv-portrait img {
    width: 400px !important;
  }
}

@media screen and (min-width: 1200px) {
  #partners .cv-portrait img {
    width: calc(50% - .6rem) !important;
  }

  #team .cv-portrait img {
    width: 100% !important;
  }
}

.listelement {
  border-bottom: 1px solid currentColor;
  padding: 0.3rem 0 0.4rem 0;
}

.border_top {
  border-top: 1px solid currentColor;
}

.team {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: columns;
  flex-direction: columns;
}

.member {
  width: 100%;
}

.cross {
  display: grid;
  transition: 0.1s ease-in-out;
}

.cross svg {
  fill: none;
  width: 1.5rem;
  -ms-flex-item-align: center;
  align-self: center;
  justify-self: center;
}

.cross svg line {
  stroke: currentColor;
  stroke: 2px;
}

.philosophy {
  background-color: var(--c-black);
  color: var(--c-white);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#jobs {
  background-color: #f7f7f7;
}

.show {
  cursor: pointer;
}

.imprint p {
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}

@font-face {
  font-family: "ModeratReg";
  font-weight: normal;
  src: url("/assets/fonts/Moderat-Regular.eot");
  src: url("/assets/fonts/Moderat-Regular.woff") format("woff"), url("/assets/fonts/Moderat-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "ModeratBold";
  font-weight: bold;
  src: url("/assets/fonts/Moderat-Bold.eot");
  src: url("/assets/fonts/Moderat-Bold.woff") format("woff"), url("/assets/fonts/Moderat-Bold.woff2") format("woff2");
}

a {
  color: currentcolor;
  text-decoration: none;
  cursor: pointer;
}


/* p,
li {
  font-family: "ModeratReg", Times;
  font-weight: normal;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0.01px;
  color: currentColor;
}

@media screen and (min-width: 1600px) {

  p,
  li {
    font-size: 1.6rem;
  }
}

li {
  margin: 0.5rem 0 0.5rem 3rem;
} */

.jobdesc p,
.jobdesc li {
  font-size: 1.2rem;
}

/* h1 {
  font-family: "ModeratReg", Times;
  font-weight: normal;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0.01px;
  color: currentColor;
} */

article h1,
article h4 {
  margin-top: 0.3rem;
}

h2 {
  font-family: "ModeratReg", Times;
  font-weight: normal;
  font-size: 1.3rem;
  line-height: 1.2;
  letter-spacing: 0.01px;
  color: currentColor;
}

@media screen and (min-width: 820px) {
  h2 {
    font-size: 1.7rem;
  }
}

/* h3 {
  font-family: "ModeratBold", Times;
  font-size: 0.9rem;
  letter-spacing: 0.02px;
  text-transform: uppercase;
  color: currentColor;
  margin: 0.5rem 0 0.5rem 0;
} */

h4 {
  font-family: "ModeratReg", Times;
  font-weight: normal;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: 0.01px;
  color: currentColor;
}

@media screen and (min-width: 820px) {
  h4 {
    font-size: 2rem;
  }
}

@media screen and (min-width: 820px) {
  h5 {
    font-size: 11rem;
    margin-top: -1.2vw;
  }
}

.container_head h4 {
  font-size: 12.5vw;
  line-height: 1;
}

.container_head h5 {
  font-size: 24vw;
}

@media screen and (min-width: 820px) {
  .container_head h4 {
    font-size: 3vw;
  }

  .container_head h5 {
    font-size: 15vw;
  }
}

#header,
#header_start,
#header_fixed {
  top: 0;
  box-shadow: 0px 3px 20px -12px #a7a7a7;
  width: calc(100% - 1.2rem);
  padding: 0.6rem;
  z-index: 10;
  height: 27px;
  background-color: var(--c-white);
  overflow: hidden;
}

#header {
  position: fixed;
}

.sticky {
  position: -webkit-sticky !important;
  position: sticky !important;
}

#header,
#header_start,
#nav,
#header_fixed {
  transition: all 0.5s;
}

.header {
  display: grid;
  grid-template-columns: auto min-content min-content min-content;
  gap: .5rem;
  align-items: center;
}

/* .langcode,
.sandwich {
  margin-left: 10px;
} */

.sandwich {
  width: 25px;
}

.sandwich svg line {
  stroke: var(--c-black);
  stroke-width: 2;
}

footer {
  background-color: #f7f7f7;
}

@media screen and (min-width: 820px) {
  footer {
    display: grid;
    grid-template-columns: max-content max-content auto max-content max-content;
    grid-gap: 30px;
  }
}

#nav {
  position: relative;
  height: 100%;
  z-index: 200;
  padding-top: 20px;
}

.nav {
  display: grid;
  height: 88%;
  grid-template-columns: min-content auto;
  grid-template-rows: max-content max-content max-content 1fr;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1rem;
}

.nav h4,
.nav p {
  font-size: 6vw;
}

@media screen and (min-width: 820px) {
  .nav {
    grid-template-columns: max-content auto;
    grid-column-gap: 11vw;
  }

  .nav h4 {
    font-size: 3rem;
  }

  .nav p {
    font-size: 1.8rem;
  }
}

@media screen and (min-width: 820px) and (min-height: 750px) {
  .nav {
    grid-row-gap: 3rem;
  }

  .nav h4 {
    font-size: 5rem;
  }
}

@media screen and (min-width: 820px) {
  .subnav {
    margin-top: 1.1rem;
  }
}

.bottomnav {
  grid-column: 2/span 1;
  -ms-flex-item-align: end;
  align-self: end;
}

.menu-toggle {
  position: relative;
  display: block;
  width: 24px;
  height: 10px;
  border-top: 4px solid;
  border-bottom: 4px solid;
  color: var(--c-black);
  font-size: 0;
  transition: all 0.25s ease-in-out;
}

.menu-toggle:before,
.menu-toggle:after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease-in-out;
}

@media (hover: hover) {
  .menu-toggle .menu-toggle:hover {
    color: #7fb7d2;
  }
}

.menu-toggle.is-active {
  border-color: transparent;
}

.menu-toggle.is-active:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.is-active:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.container_head {
  margin-bottom: 20vh;
}

@media screen and (min-width: 820px) {
  .container_head {
    display: grid;
    grid-template-columns: 1fr 23vw;
    margin-bottom: 20vh;
  }
}

.change {
  display: grid;
  grid-template-columns: 8.5vw max-content;
  margin-top: 1.2rem;
}

@media screen and (min-width: 820px) {
  .change {
    grid-template-columns: 2.7vw max-content;
  }
}

.listicon {
  position: relative;
  width: 6vw;
  height: 4vw;
  margin-top: 6.5vw;
}

@media screen and (min-width: 820px) {
  .listicon {
    width: 1.7vw;
    height: 1vw;
    margin-top: 1vw;
  }
}

.line {
  position: absolute;
  width: 6vw;
  height: 0;
  border: 1px solid var(--c-black);
  left: 0;
}

@media screen and (min-width: 820px) {
  .line {
    width: 1.7vw;
  }
}

.line_1 {
  top: 0;
}

.line_2 {
  top: 1vw;
}

@media screen and (min-width: 820px) {
  .line_2 {
    top: 0.5vw;
  }
}

.line_3 {
  top: 2vw;
}

@media screen and (min-width: 820px) {
  .line_3 {
    top: 1vw;
  }
}

.line_4 {
  top: 3vw;
}

@media screen and (min-width: 820px) {
  .line_4 {
    top: 1.5vw;
  }
}

.galleryicon {
  position: relative;
  width: 6vw;
  height: 6vw;
  margin-top: 5vw;
}

@media screen and (min-width: 820px) {
  .galleryicon {
    width: 1.7vw;
    height: 1.7vw;
    margin-top: 1vw;
  }
}

.rect {
  position: absolute;
  width: 2vw;
  height: 2vw;
  border: 2px solid #000000;
  box-sizing: border-box;
}

@media screen and (min-width: 820px) {
  .rect {
    width: 0.75vw;
    height: 0.75vw;
  }
}

.rect_1 {
  left: 0;
  top: 0;
}

.rect_2 {
  left: 3vw;
  top: 0;
}

@media screen and (min-width: 820px) {
  .rect_2 {
    left: 0.95vw;
  }
}

.rect_3 {
  left: 0;
  top: 3vw;
}

@media screen and (min-width: 820px) {
  .rect_3 {
    top: 0.95vw;
  }
}

.rect_4 {
  left: 3vw;
  top: 3vw;
}

@media screen and (min-width: 820px) {
  .rect_4 {
    left: 0.95vw;
    top: 0.95vw;
  }
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox]+label::before {
  width: 5vw;
  height: 5vw;
  border-radius: 25px;
  border: 2px solid var(--c-black);
  background-color: #fff;
  display: block;
  content: "";
  float: left;
  margin-right: 3vw;
  margin-top: 4.5vw;
}

@media screen and (min-width: 820px) {
  input[type=checkbox]+label::before {
    margin-top: 0.8rem;
    width: 1.4vw;
    height: 1.4vw;
    margin-right: 1vw;
    margin-top: 1vw;
  }
}

input[type=checkbox]:checked+label::before {
  box-shadow: inset 0px 0px 0px 0px #fff;
  background-color: var(--c-black);
}

label .f-projects-filter {
  transition: all 0.5s;
}

@media (hover: hover) {
  label .f-projects-filter:hover {
    color: #4697be;
    transition: all 0.5s;
  }
}


.overlay,
.overlaycontent {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: 0.4s ease;
}

.overlay {
  background-color: var(--c-white);
  height: 100%;
  width: 100%;
}

.project:hover .overlay {
  opacity: 0.3;
}

.project:hover .overlaycontent {
  opacity: 1;
}

.overlaycontent {
  display: grid;
  height: 100%;
  width: 70%;
  padding: 0 15% 0 15%;
  -ms-flex-line-pack: center;
  align-content: center;
  justify-items: center;
}

.overlaycontent div h4,
.overlaycontent div h1 {
  color: var(--c-black);
  text-align: center;
  margin: auto;
}

.year {
  display: none;
}

@media screen and (min-width: 820px) {
  .year {
    display: inline-block;
  }
}

.swiper-container,
.imagecontainer {
  width: 100%;
  height: calc(100vh - 90px);
}

.swiper-slide,
.imagewrapper {
  width: 100%;
}

img.landscape {
  width: 100vw;
  margin-top: 43vh;
  transform: translateY(-50%);
}

@media screen and (min-width: 820px) {
  img.landscape {
    width: 100%;
    height: calc(100vh - 90px);
    margin-top: 0;
    transform: translateY(0);
    object-fit: cover;
  }
}

img.portrait {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

@media screen and (min-width: 820px) {
  img.portrait {
    height: 100%;
    width: auto;
    margin-left: 50% !important;
    transform: translateX(-50%);
  }
}

@media (hover: hover) {
  .swiper-pagination {
    display: none;
  }
}

.swiper-button-prev,
.swiper-button-next {
  display: none;
  color: var(--c-black) !important;
  transform: scale(.5);
}

@media (hover: hover) {

  .swiper-button-prev,
  .swiper-button-next {
    display: block;
  }
}

.projecthead {
  margin-bottom: 1rem;
  margin-top: 3rem;
}

.projecthead h2 {
  font-size: 2rem;
}

.projecthead h4 {
  font-size: 2.8rem;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

@media screen and (min-width: 820px) {
  .projecthead {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .projecthead h4 {
    font-size: 5rem;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
  }
}

@media screen and (min-width: 1200px) {
  .projecthead {
    grid-column: 1/span 1;
  }
}

@media screen and (min-width: 820px) and (max-width: 1200px) {
  .container_projectinfo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 0.8rem;
  }
}

@media screen and (min-width: 1200px) {
  .container_projectinfo {
    grid-column: 2/span 1;
    grid-row: 1/span 2;
    margin-top: 2rem;
  }
}

.nextproject {
  display: grid;
  grid-template-columns: auto max-content;
  grid-column-gap: 2rem;
  background-color: var(--c-black);
  color: var(--c-white);
  margin-top: 2rem;
  transition: all 0.5s;
}

.nextproject h2:hover {
  color: var(--c-white);
}

.nextproject:hover {
  background-color: #4697be;
}

.np_arrow {
  justify-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

.np_arrow svg {
  stroke: var(--c-white);
  margin-top: 0.3rem;
}

@media screen and (min-width: 1200px) {
  .container_projectdescription {
    grid-column: 1/span 1;
    grid-row: 2/span 1;
  }
}

@media screen and (min-width: 1200px) {
  #projecttitle {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    grid-column-gap: 50px;
  }
}

.projectinfo {
  margin-top: 1rem;
}

.imginfo {
  z-index: 2;
  color: var(--c-white);
  padding: 5px 10px 5px 10px;
  margin-top: -2px;
  width: calc(100% - 20px);
}

.plancontainer {
  margin-bottom: 50px;
}

.plancontainer img {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
}

@media screen and (min-width: 820px) {
  .plancontainer img {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
  }
}

.planinfo {
  z-index: 2;
  color: var(--c-black);
  padding: 3px 10px 5px 10px;
  margin-top: -3px;
}

.category {
  cursor: pointer;
}