:root {
  --rot: rgba(196,61,42,1);
  --weiss: rgba(255,255,255,1);
  --grau: rgba(245,245,245,1);
}

@font-face {
    font-family: 'safiro';
    src: url('fonts/subset-Safiro-Regular.eot');
    src: url('fonts/subset-Safiro-Regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/subset-Safiro-Regular.woff2') format('woff2'),
         url('fonts/subset-Safiro-Regular.woff') format('woff'),
         url('fonts/subset-Safiro-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'safiro';
    src: url('fonts/subset-Safiro-SemiBold.eot');
    src: url('fonts/subset-Safiro-SemiBold.eot?#iefix') format('embedded-opentype'),
         url('fonts/subset-Safiro-SemiBold.woff2') format('woff2'),
         url('fonts/subset-Safiro-SemiBold.woff') format('woff'),
         url('fonts/subset-Safiro-SemiBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

html {
  font-family: "safiro", Arial, sans-serif;
  color: #222;
  font-weight: normal;
  font-variant-numeric: tabular-nums;
  font-size: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "safiro", Arial, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

a, a:hover {
  color: #222;
  text-decoration: none;
}

ul {
  padding-left: 0;
}

li {
  list-style-type: none;
}

.randomsize-1 {
  padding: 3vw 3.33333vw;
}

.randomsize-2 {
  padding: 5vw 6.66666vw;
}

.randomsize-3 {
  padding: 7vw 10vw;
}

@media screen and (max-width:640px) {
  .randomsize-1,
  .randomsize-2,
  .randomsize-3 {
    padding: 0 0 2rem 0;
  }
}

.mitarbeiter:nth-child(even) {
  flex-direction: row-reverse;
}

/*.mitarbeiter .randomsize-1,
.mitarbeiter .randomsize-2,
.mitarbeiter .randomsize-3 {
  padding-top: 0;
  padding-bottom: 0;
}*/

.projekt-titelbild {
  transform-origin: top right;
}

/*@media screen and (max-width:640px) {*/
  .content {
    margin-top: 6rem;
  }
/*}*/
/*.menu-container {
  width: 100vw;
  height: 100px;
  box-sizing: content-box;
  position: relative;
  z-index: 1000;
}

.menu-content {
  padding-left: 2rem;
}*/

/*.menu-inner {
  background: var(--grau);
  position: fixed;
}*/

/*.content {
  background: var(--weiss);
  margin-top: 0 !important;
}
*/

/*@media screen and (min-width:640px) {
  body {
    display: flex;
  }

  .menu-container {
    width: 140px;
    height: 100vh;
    box-sizing: content-box;
    position: relative;
  }

  .menu-inner {
    position: fixed;
    height: 100vh;
    width: 140px;
  }

  .content {
    width: calc(100vw - 140px);
    background: var(--weiss);
    margin-top: 0 !important;
  }
}*/


.toggle-container {
  position: fixed;
  top: 1.7rem;
  right: 0.1rem;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1010;
}



.menu-toggle span {
  display: block;
  -webkit-transition-duration: 0.5s; transition-duration: 0.5s;
  -webkit-transition-delay: 0.2s; transition-delay: 0.2s;
}

.menu-toggle .menu-plus {
  opacity: 1;
/*  animation-name: plus-peek;
  animation-duration: .8s;
  animation-delay: .8s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;*/
}

.menu-toggle .menu-menu {
  opacity: 1;

}


.menu-toggle .menu-menu,
.menu-toggle .menu-close {
  opacity: 0;
}

.menu-toggle:hover .menu-plus,
.menu-toggle.hidden .menu-plus {
  opacity: 0;
  transform: translateY(-100%);
}

.menu-toggle:hover .menu-menu {
  opacity: 1;
  transform: translateY(-100%);
}

.menu-toggle.hidden .menu-menu {
  opacity: 0;
  transform: translateY(-200%);
}

.menu-toggle.hidden .menu-close {
  opacity: 1;
  transform: translateY(-200%);
}



.menu {
  height: 100lvh;
  width: 33vw;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001;
}

.menu.hidden {
  background-color: rgba(196,61,42,1);
  /*background-color: rgba(255,255,25,0);*/
  top: 0lvh;
  right: -33vw; 
  opacity: 0;
  -webkit-transition: all 0.6s cubic-bezier(0.64, 0, 0.78, 0);
  -moz-transition: all 0.6s cubic-bezier(0.64, 0, 0.78, 0);
  -ms-transition: all 0.6s cubic-bezier(0.64, 0, 0.78, 0);
  -o-transition: all 0.6s cubic-bezier(0.64, 0, 0.78, 0);
  transition: all 0.6s cubic-bezier(0.64, 0, 0.78, 0);
  transition-delay: .4s;
}

.menu.visible {
  background-color: rgba(196,61,42,.95);
  /*background-color: rgba(255,255,255,0.95);*/
  top: 0;
  right: 0; 
  opacity: 1;
    -webkit-transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  -moz-transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  -ms-transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  -o-transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media screen and (max-width: 640px) {
  .menu {
    width: 100vw;
  }

  .menu.hidden {
    right: -100vw;
  }
}

.menu .subnav {
  margin-top: 2rem;
  display: flex;
}



.menu ul {
  text-align: left;
  position: relative;
/*  display: inline-block;*/
}

.menu ul li a {
  /*color: rgba(196,61,42,1);*/
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  text-transform: uppercase;
}

.menu .subnav li a {
  font-size: .8rem;
  margin-right: 1rem;
}

.menu.visible ul li {
  animation-name: animateIn;
  animation-duration: 500ms;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-delay: calc(0.4s + var(--animation-order) * 100ms);
}

.menu.hidden ul li {
  animation-name: animateOut;
  animation-duration: 500ms;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
  animation-delay: calc(var(--animation-order) * 100ms);
}

@keyframes animateIn {
  0% {
    opacity: 0;
    transform: translatex(8px);
  }
  
  100% {
    opacity: 1;
  }
}
@keyframes animateOut {
  0% {
    opacity: 1;
  }
  
  100% {
    opacity: 0;
    transform: translatex(-8px);
  }
}



.flos {
  display: block;
  text-indent: -9999px;
  width: 80px;
  height: 80px;
  background: url(images/flos_a_01.svg);
  position: absolute;
  top: 10px;
  left: 10px;
}

.flos:before {
  display: block;
  position: absolute;
  content: '';
  width: 80px;
  height: 80px;
  background: url(images/flos_a_03.svg);
  background-repeat: no-repeat;
  top: 0px;
  left: 0px;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.flos:after {
  display: block;
  position: absolute;
  content: '';
  width: 80px;
  height: 80px;
  background: url(images/flos_a_02.svg);
  background-repeat: no-repeat;
  top: 0px;
  left: 0px;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.plus {
  display: flex;
  align-items: center;
  justify-content: center;
/*  height: 2.2rem;
  width: 2.2rem;
  line-height: 1;*/
  position: fixed;
  top: 46px;
  right: 27px;
  color: #C43D2A;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  z-index: 100001;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.plus.hidden {
  transform: rotate(90deg);
  color: #222;
}

.flos:hover:before {
  transform: translateX(55px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.flos:hover:after {
  transform: translateX(26px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}


/*.flos:hover:before {
  transform: translateX(55px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.flos:hover:after {
  transform: translateX(26px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}*/



/*
@media screen and (min-width:640px) {
  .flos {
    display: block;
    text-indent: -9999px;
  }
  .flos:before {
    display: block;
    position: absolute;
    content: '';
    width: 100px;
    height: 60px;
    background: url(images/flos.svg);
    background-size: 100px 60px;
    background-repeat: no-repeat;
    top: 20px;
    left: 20px;
  }

  .flos:after {
    display: block;
    position: absolute;
    content: '';
    width: 100px;
    height: 60px;
    background: url(images/plus.svg);
    background-size: 100px 60px;
    background-repeat: no-repeat;
    top: initial;
    bottom: 20px;
    right: 20px;
  }

  .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.2rem;
    width: 2.2rem;
    line-height: 1;
    position: fixed;
    top: calc(10px + 1.1rem);
    left: calc(50vw - 1.1rem);
    color: #C43D2A;
    font-size: 2.2rem;
    font-weight: bold;
    text-decoration: none;
    z-index: 100001;
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
  }

  .plus.hidden {
    transform: rotate(45deg);
    color: #222;
  }
}*/


/*body:before {
  content: '';
  width: 100px;
  height: 100px;
  background: url(images/flos-01.png);
  background-size: 73px 75px;
  background-repeat: no-repeat;
  position: absolute;
  top: 10px;
  left: 10px;
}*/
