/* Code: Jonas Pelzer, jonaspelzer.com */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 100%;
  font: inherit;
  list-style-type: none;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Fabrikat Mono', sans-serif;
  line-height: 1.3rem;
  background: #fff;
  color: red;
}

.noscroll {
  overflow: hidden;
}

img {
  max-width: 100%;
}

.main {
  padding-top: 60px;
  /* header size (.wrap padding-top + padding-bottom + line-height) */
}

.wrap {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  margin: auto;
}

.wrap--big {
  /* background: red; */
  /* max-width: 1500px; */
  max-width: 1800px;
  /* transform: translateX(10px); */
  padding-left: 40px;
}

.wrap--big img {
  width: 100%;
}

.right {
  float: right;
}

a {
  color: red;
  text-decoration: none;
}

a:hover {
  font-weight: bold;
}

.text {
  width: 100%;
  max-width: 600px;
}

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

.text a {
  text-decoration: underline;
}

.intro {
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: bold;
  margin-bottom: 2.6rem;
}

.intro--lessdistance {
  margin-bottom: 1rem;
}

h2 {
  margin-bottom: 1.3rem;
}

h2, h3 {
  font-weight: bold;
  text-transform: uppercase;
}

.news-item h3 {
  text-transform: initial;
}

.cols {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.3rem;
}

.cols .text {
  max-width: 100%;
}

.cols img, .cols video {
  background: #eee;
}

::selection {
  /* color: red; */
  color: #000;
}

*:focus {
  outline: dotted 1px #999;
}

.cf {
  display: block;
  clear: both;
}

strong {
  font-weight: bold;
}

.flutschfinger {
  height: 60px;
  width: 60px;
  /* outline: solid 1px red; */
  background: url(../images/flutschfinger.svg);
  background-size: 100%;
  position: fixed;
  display: block;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 550;
}




/* FONT FACE  */
@font-face {
  font-family: 'Fabrikat Mono';
  font-weight: normal;
  src: url(../fonts/36F94C_1_0.eot) format('embedded-opentype'), url(../fonts/36F94C_1_0.woff) format('woff'), url(../fonts/36F94C_1_0.woff2) format('woff2');
}

@font-face {
  font-family: 'Fabrikat Mono';
  font-weight: bold;
  src: url(../fonts/36F94C_0_0.eot) format('embedded-opentype'), url(../fonts/36F94C_0_0.woff) format('woff'), url(../fonts/36F94C_0_0.woff2) format('woff2');
}




/* HEADER */
.header {
    position: fixed;
    background: #fff;
    width: 100%;
    z-index: 500;
}

ul.menu {}

ul.menu li {
  display: inline-block;
  margin-right: 10px;
}

.menu-logo {
  display: inline-block;
  margin: auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  letter-spacing: .2rem;
  font-size: 1.1rem;
}

.current, .current:hover {
  font-weight: bold;
  color: red;
}

.menu--visible a:focus {
  background: rgba(250,0,0,.5);
}

.indexmenu {
  position: fixed;
  height: calc(100vh - 60px);
  width: 100vw;
  top: 60px;
  background: #fff;
  z-index: 600;
  display: none;
}

.indexmenu a {
  display: block;
  height: calc((100vh - 60px) / 4);
  line-height: calc((100vh - 60px) / 4);
  width: 100%;
  border-top: solid 1px red;
  text-align: center;
  font-size: 14vh;
}

.indexmenu a.indexmenu-news {
  display: none;
}

.indexmenu--visible {
  display: block;
}

.btn-indexmenu {
  cursor: pointer;
  background: none;
  border: none;
  color: red;
}

.btn-indexmenu:hover {
  font-weight: bold;
}




/* HOME */
.featured {
  margin-bottom: 5px;
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 6px;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  grid-auto-flow: row;
}

.mousemove {
  position: relative;
}

.teaser {
}

.teaser img, .teaser video {
  object-fit: cover;
  background: #eee;
  width: 100%;
}

.featured .text {
  position: absolute;
  z-index: 100;
  margin: 0;
}

.featured h2 {
  margin-bottom: 0;
}

.featured .text p {
  display: none;
}

.teaserlayout-1 {
}

.teaserlayout-1 .teaserno-1 {
  width: 50%;
  justify-self: end;
  align-self: center;
}

.teaserlayout-1 .teaserno-2 {
}

.teaserlayout-1 .teaserno-3 {
  width: 70%;
  justify-self: end;
  align-self: start;
}

.teaserlayout-1 .teaserno-4 {
  width: 90%;
  justify-self: start;
  align-self: start;
}

.teaserlayout-1 .text {
}

.teaserlayout-2 {
}

.teaserlayout-2 .teaserno-1 {
  width: 150%;
}

.teaserlayout-2 .teaserno-2 {
  width: 50%;
  justify-self: end;
}

.teaserlayout-2 .teaserno-3 {
  width: 70%;
  justify-self: end;
  align-self: start;
}

.teaserlayout-2 .teaserno-4 {
  width: 80%;
}

.teaserlayout-3 {
}

.teaserlayout-3 .teaserno-1 {
  width: 70%;
  align-self: end;
  justify-self: end;
}

.teaserlayout-3 .teaserno-2 {
  width: 80%;
  align-self: start;
  justify-self: start;
}

.teaserlayout-3 .teaserno-3 {
  width: 140%;
  justify-self: start;
}

.teaserlayout-3 .teaserno-4 {
  width: 60%;
  justify-self: end;
  align-self: start;
}

.teaserlayout-4 {
}

.teaserlayout-4 .teaserno-1 {
  width: 30%;
  align-self: center;
  justify-self: center;
}

.teaserlayout-4 .teaserno-2 {
  width: 120%;
  align-self: start;
  justify-self: end;
}

.teaserlayout-4 .teaserno-3 {
  width: 60%;
  justify-self: end;
}

.teaserlayout-4 .teaserno-4 {
}

.teaserlayout-5 {
}

.teaserlayout-5 .teaserno-1 {
  width: 90%;
  align-self: center;
  justify-self: end;
}

.teaserlayout-5 .teaserno-2 {
  width: 60%;
  justify-self: start;
  align-self: start;
}

.teaserlayout-5 .teaserno-3 {
  width: 50%;
  justify-self: end;
  align-self: start;
}

.teaserlayout-5 .teaserno-4 {
  width: 70%;
  justify-self: start;
}

.teaserlayout-6 {
  display: block;
}

.teaserlayout-6 .teaserno-1 {
}

.teaserlayout-6 .teaserno-2, .teaserlayout-6 .teaserno-3, .teaserlayout-6 .teaserno-4 {
  display: none;
}

.teaserlayout-7 {
  display: block;
}

.teaserlayout-7 .teaserno-1 {
  width: 70%;
}

.teaserlayout-7 .teaserno-2, .teaserlayout-7 .teaserno-3, .teaserlayout-7 .teaserno-4 {
  display: none;
}

.teaserlayout-8 {
  display: grid;
}

.teaserlayout-8 .teaserno-1 {
  width: 60%;
  justify-self: end;
  margin-right: -10px;
  /* transform: translateX(0%); */
}

.teaserlayout-8 .teaserno-2, .teaserlayout-8 .teaserno-3, .teaserlayout-8 .teaserno-4 {
  display: none;
}



.bigtype {
  font-size: 20vw;
  line-height: 20vw;
  display: none;
  z-index: 600;
  position: fixed;
  top: 50%;
  width: 100%;
  left: 0;
  transform: translateY(-50%);
  color: #000;
  color: transparent;
  pointer-events: none;
  -webkit-text-stroke: .3vw #ff0000;
  /* color: red; */
  text-align: center;
}

.featured:hover .bigtype {
  display: block !important;
}


.toplayer {
  position: fixed;
  /* outline: solid 1px green; */
  z-index: 500;
  width: 100%;
  margin-top: 120px;
  margin-top: 13vh;
  pointer-events: none;
}

.underline {
  text-decoration: underline;
}

.toplayer .wrap {
  position: relative;
  /* outline: solid 1px green; */
}

.toplayer-left {
  display: inline-block;
  /* outline: solid 1px blue; */
  pointer-events: auto;
  transform: rotate(-90deg);
  position: absolute;
  /* left: -30px; */
  top: 65px;
}

.toplayer-right {
  display: inline-block;
  /* outline: solid 1px blue; */
  float: right;
  pointer-events: auto;
}

.toplayer--2 {
  /* outline: solid 1px blue; */
  bottom: 10vw;
  margin-bottom: 20px;
}

.toplayer--2 .toplayer-left {
  transform: initial;
  top: initial;
}

.alf {
  width: 50px;
  height: 60px;
  /* outline: solid 1px green; */
  display: block;
  position: relative;
  /* z-index: 9000; */
  background: url(../images/ALF.png);
  background-size: 100%;
}

@media (min-width: 1400px) {
  .toplayer-right {
    margin-right: -150px;
  }
}




/* START */
.start {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 800;
  transition: all .3s;
  cursor: pointer;
  zoom: 1;
}


.start--invisible {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transform: scale(1.1);
}

.notransition {
  transition: none;
}

.start-cover {
  width: 110%;
  height: 110%;
  position: fixed;
}

.start-cover--image {
  background-size: cover;
  background-position: center center;
}

.start-cover--video {
  background: #eee;
}

.start-cover--video video {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.start-type {
  display: block;
  /* height: 35vh; */
  position: fixed;
  z-index: 900;
  width: 40%;
  top: 48%;
  left: 50%;
  transform: translateY(-48%) translateX(-50%);
  /* pointer-events: none; */
  transition: all .2s;
  font-weight: bold;
  text-align: center;
  /* background: url(../images/bam-logo.svg) center; */
  /* background-size: cover; */
  /* outline: solid 1px green; */
}

.start-type--noani {
  font-size: 20vw;
  letter-spacing: 2vw;
  /* outline: solid 1px red; */
  white-space: nowrap;
  line-height: 20vw;
}

.start--invisible .start-type {
  opacity: 0;
}

.start-type-subtitle {
  font-size: 1.5vw;
  letter-spacing: initial;
  /* outline: solid 1px blue; */
  display: block;
  line-height: 1.5vw;
  /* position: fixed;
  top: 80%;
  left: 50%;
  transform: translateY(-80%) translateX(-50%); */
  width: 100%;
  text-align: center;
  margin-top: -1.5vw;
  color: transparent;
  font-weight: normal;
}

.start-type:hover {
}

.start-type:hover .start-type-subtitle {
  color: red;
}








/* PROJECT PAGE */
body {
  scroll-snap-type: mandatory;
  /* scroll-snap-points-y: repeat(100vh); */
  scroll-snap-type: y mandatory;
}

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

ul.photos {
  text-align: center;
}

ul.photos li {
  /* margin-bottom: 20px; */
  padding-top: 60px;
  margin-top: -40px;
}

ul.photos li:last-of-type {
  /* margin-top: 0; */
  margin-bottom: 1rem;
}

ul.photos li img {
  background: #fff;
}

ul.photos video {
  width: 100% !important;
  height: auto !important;
  background: #fff;
  object-fit: cover;
}

.lazy {
  background: #fff;
  width: 100vw;
  height: 60vw;
  display: block;
}

a.back {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 70px;
  text-align: center;
  line-height: 50px;
}


/* PROJECT SECTIONS */
.section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 20px;
  margin-bottom: 20px;
}

.section-100 {
  grid-column: span 4;
}

.section-75 {
  grid-template: span 3;
}

.section-75--left {
  grid-column: 1 / span 3;
}

.section-75--right {
  grid-column: 2 / span 3;
}

.section-50 {
  grid-column: span 2;
}

.section-50--left {
  grid-column: 1 / span 2;
}

.section-50--right {
  grid-column: 3 / span 2;
}

.section img, .section video {
  max-width: 100%;
}



/* ABOUT */

.about {
}

.about .intro {
  width: 55%;
  float: right;
}

.about img {
  position: absolute;
  width: 50%;
  max-width: 600px;
  z-index: -1;
  margin-top: 84px;
}

.about .wrap {
  position: relative;
}

.about img+img {
  /* outline: solid 10px red; */
  bottom: 120px;
  max-width: 20vw;
  right: 10px;
}






/* NEWS */
ul.news {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 50px 20px;
}

.news-item {
}

.news-item figure {
  margin-bottom: 1rem;
}

a.news-item-title {
  text-decoration: none;
}

.news-item-date {
  /* color: #999; */
  text-decoration: none;
}

a.news-item-date:hover {
  color: red;
}

.news-item p {
  width: 100%;
  max-width: 600px;
  margin-bottom: 1.3rem;
}

.news-item video {
  max-width: 100%;
}





/* INDEX */
ul.index {
}

li.index-item {
  border-top: solid 1px #000;
  border-bottom: solid 1px #000;
  margin-bottom: -1px;
  transition: all .2s;
}

li.index-item a {
  padding: 4px 0;
  display: block;
  overflow: hidden;
}

li.index-item a:after {
  clear: both;
  display: block;
  content: '';
}

.index-item-title {
  font-weight: bold;
  width: 20%;
  float: left;
}

.index-item-date {
  width: 20%;
  float: left;
}

.index-item-text {
  float: left;
  width: 60%;
  white-space: nowrap;
}

.tags {
}

.tags li {
  display: inline-block;
}

.tags-btn {
  background: none;
  cursor: pointer;
  border: solid 1px #000;
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.tags-btn--active {
  color: red;
  border: solid 1px red;
}

.index-item--inactive {
  opacity: .2;
  pointer-events: none;
}




/* NEW PROJECT LAYOUT */
.section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
  grid-gap: 30px;
  margin-bottom: 25px;
}

.projectlayout-1 {
}

.projectlayout-1 .section-part-1 {
  grid-column: 1 / span 12;
}

.projectlayout-1 .section-part-2, .projectlayout-1 .section-part-3, .projectlayout-1 .section-part-4 {
  display: none;
}

.projectlayout-2 {
}

.projectlayout-2 .section-part-1, .projectlayout-2 .section-part-2 {
  grid-column: span 6;
}

.projectlayout-3 {
}

.projectlayout-3 .section-part-1 {
  grid-column: 3 / span 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.projectlayout-3 .section-part-2 {
  grid-column: 6 / span 7;
}

.projectlayout-4 {
}

.projectlayout-4 .section-part-1 {
  grid-column: 2 / span 6;
}

.projectlayout-4 .section-part-2 {
  grid-column: 9 / span 3;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.projectlayout-5 {
}

.projectlayout-5 .section-part-1 {
  grid-column: 5 / span 2;
  position: absolute;
  top: 0;
}

.projectlayout-5 .section-part-2 {
  grid-column: 7 / span 4;
}

.projectlayout-6 .section-part-1 {
  grid-column: 2 / span 5;
}

.projectlayout-6 .section-part-2 {
  grid-column: 7 / span 3;
  position: absolute;
  bottom: 0;
}

.projectlayout-7 .section-part-1 {
  grid-column: 1 / span 9;
}

.projectlayout-7 .section-part-2 {
  grid-column: 10 / span 3;
}

.projectlayout-8 .section-part-1 {
  grid-column: 1 / span 5;
}

.projectlayout-8 .section-part-2 {
  grid-column: 6 / span 6;
}

.projectlayout-9 .section-part-1 {
  grid-column: 2 / span 5;
}

.projectlayout-9 .section-part-2 {
  grid-column: 7 / span 5;
}

.projectlayout-10 .section-part-1 {
  grid-column: 1 / span 11;
}

.projectlayout-10 .section-part-2 {
  grid-column: 12;
}

.projectlayout-11 .section-part-1 {
  grid-column: 3 / span 5;
}

.projectlayout-11 .section-part-2 {
  grid-column: 8 / span 4;
}

.projectlayout-12 .section-part-1 {
  grid-column: 5 / span 5;
}

.projectlayout-12 .section-part-2 {
  grid-column: 10 / span 3;
  position: absolute;
  bottom: 0;
}

.projectlayout-13 .section-part-1 {
  grid-column: 2 / span 4;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.projectlayout-13 .section-part-2 {
  grid-column: 7 / span 6;
}

.projectlayout-14 .section-part-1 {
  grid-column: 1 / span 5;
}

.projectlayout-14 .section-part-2 {
  grid-column: 6 / span 6;
}

/* 4 FOTO LAYOUTS START */
.projectlayout-15, .projectlayout-15-2 {
  grid-gap: 45px;
}

.projectlayout-15 {
  margin-bottom: 45px;
}

.projectlayout-15 .section-part-1 {
  grid-column: 1 / span 7;
  margin-top: 22%;
}

.projectlayout-15 .section-part-2 {
  grid-column: 10 / span 3;
}

.projectlayout-15-2 .section-part-3 {
  grid-column: 2 / span 6;
}

.projectlayout-15-2 .section-part-4 {
  grid-column: 8 / span 4;
  margin-top: -60%;
}

.projectlayout-16 {
  margin-bottom: 60px;
}

.projectlayout-16 .section-part-1 {
  grid-column: 3 / span 4;
  position: absolute;
  bottom: 0;
}

.projectlayout-16 .section-part-2 {
  grid-column: 8 / span 4;
}

.projectlayout-16-2 .section-part-3 {
  grid-column: 2 / span 6;
}

.projectlayout-16-2 .section-part-4 {
  grid-column: 10 / span 3;
}

.projectlayout-17 .section-part-1 {
  grid-column: 6 / span 3;
  margin-top: 10%;
}

.projectlayout-17 .section-part-2 {
  grid-column: 10 / span 3;
}

.projectlayout-17-2 .section-part-3 {
  grid-column: 1 / span 7;
  margin-top: -10%;
}

.projectlayout-17-2 .section-part-4 {
  grid-column: 8 / span 2;
}

.projectlayout-18 .section-part-1 {
  grid-column: 1 / span 3;
}

.projectlayout-18 .section-part-2 {
  grid-column: 5 / span 2;
  margin-top: 40%;
}

.projectlayout-18-2 .section-part-3 {
  grid-column: 7 / span 6;
  margin-top: -70%;
}

.projectlayout-18-2 .section-part-4 {
  grid-column: 3 / span 3;
}

.projectlayout-19 .section-part-1 {
  grid-column: 1 / span 4;
  margin-top: 10%;
}

.projectlayout-19 .section-part-2 {
  grid-column: 5 / span 5;
}

.projectlayout-19-2 .section-part-3 {
  grid-column: 10 / span 3;
  /* margin-top: -230%; */
  margin-top: -180%;
}

.projectlayout-19-2 .section-part-4 {
  grid-column: 11 / span 2;
  margin-top: -180%;
}

.projectlayout-20 {
  /* grid-gap: 90px; */
}

.projectlayout-20 .section-part-1 {
  grid-column: 1 / span 5;
  margin-top: 10%;
}

.projectlayout-20 .section-part-2 {
  grid-column: 6 / span 7;
  padding-left: 5%;
}

.projectlayout-20-2 .section-part-3 {
  grid-column: 4 / span 2;
  margin-top: -10%;
}

.projectlayout-20-2 .section-part-4 {
  grid-column: 7 / span 4;
}

/* .projectlayout-21, .projectlayout-21-2, .projectlayout-23, .projectlayout-23-2 {
  outline: solid 2px red;
}

.projectlayout-22, .projectlayout-22-2, .projectlayout-24, .projectlayout-24-2 {
  outline: solid 2px blue;
} */

.projectlayout-21 .section-part-1 {
  grid-column: 2 / span 7;
}

.projectlayout-21 .section-part-2 {
  grid-column: 9 / span 4;
  position: absolute;
  bottom: -5%;
}

.projectlayout-21-2 .section-part-3 {
  grid-column: 4 / span 2;
  margin-top: 10%;
}

.projectlayout-21-2 .section-part-4 {
  grid-column: 7 / span 4;
  margin-top: 15%;
}

.projectlayout-22 .section-part-1 {
  grid-column: 1 / span 5;
}

.projectlayout-22 .section-part-2 {
  grid-column: 10 / span 3;
  position: absolute;
  bottom: -15%;
}

.projectlayout-22-2 {
  margin-top: 4%;
  margin-bottom: 7vw;
}

.projectlayout-22-2 .section-part-3 {
  grid-column: 2 / span 4;
  position: relative;
  left: -10%;
}

.projectlayout-22-2 .section-part-4 {
  grid-column: 6 / span 6;
  position: relative;
  left: -5%;
  top: 15%;
}

.projectlayout-23, .projectlayout-23-2 {
  grid-gap: 60px;
}

.projectlayout-23 .section-part-1 {
  grid-column: 3 / span 7;
}

.projectlayout-23 .section-part-2 {
  grid-column: 10 / span 3;
  position: absolute;
  bottom: -15%;
}

.projectlayout-23-2 {
  margin-bottom: 7vw;
}

.projectlayout-23-2 .section-part-3 {
  grid-column: 1 / span 6;
}

.projectlayout-23-2 .section-part-4 {
  grid-column: 7 / span 5;
  position: absolute;
  bottom: -15%;
}

.projectlayout-24 .section-part-1 {
  grid-column: 1 / span 2;
  position: absolute;
  bottom: -20%;
}

.projectlayout-24 .section-part-2 {
  grid-column: 3 / span 5;
}

.projectlayout-24, .projectlayout-24-2 {
  margin-top: 12vw;
}

.projectlayout-24-2 {
  margin-top: -35%;
  margin-bottom: 12.5vw;

  width: 40%;
  margin-left: 60%;
}

.projectlayout-24-2 .section-part-3 {
  grid-column: 1 / span 6;
}

.projectlayout-24-2 .section-part-4 {
  grid-column: 1 / span 9;
  position: relative;
  bottom: -50%;
}

.projectlayout-24 .section-part-2, .projectlayout-24-2 .section-part-3, .projectlayout-24-2 .section-part-4 {
  padding-left: 15px;
}

/* 4 FOTO LAYOUTS ENDE */

/* .h2--new {
  font-size: 20vw;
  line-height: 20vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  pointer-events: none;
  width: 100%;
  left: 0;
} */

.section img {
  cursor: pointer;
}

img.zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: initial;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: calc(100% - 120px);
  width: auto;
  height: auto;
  z-index: 500;
  pointer-events: none;
}

.section-part--zoomfix {
  transform: initial !important;
}

.body--zoom {
  /* overflow: hidden; */
}

.closezoom {
  position: fixed;
  top: 60px; right: 0; bottom: 0; left: 0;
  display: none;
  z-index: 400;
  cursor: pointer;
  background: #fff;
}

.body--zoom .closezoom {
  display: block;
}

.toplayer--projects {
  /* position: absolute; */
  z-index: 400;
}

@media (min-width: 700px) {
  .toplayer--projects .toplayer-right {
    margin-top: -80px;
  }
}





/* ANIMATIONS */

@keyframes fadein {
  from {opacity: 0;}
  to {opacity: 1;}
}

.main, .footer, .fadein {
  animation: fadein .2s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

@keyframes ani-type {
  from {
    color: transparent;
  }

  to {
    color: red;
  }
}

@keyframes ani-type-after {
  0%, 100% {
    background: transparent;
  }
  0% {
    content: 'a';
  }
  25% {
    content: 'b';
  }
  50% {
    content: 'c';
  }
  75% {
    content: 'd';
  }
  100% {
    display: none;
  }
}

@keyframes ani-flutschfinger {
  0%, 49%, 65%, 100% {
    right: -60px;
  }

  50%, 64% {
    right: 10px;
  }
}

.ani-type:after {
  content: '';
  animation: ani-type-after .4s forwards;
  animation-delay: .2s;
  position: absolute;
  color: red;
  margin-left: -1.4rem;
}

.ani-type {
  animation: ani-type .3s steps(1) forwards;
  animation-delay: .2s;
}

.contact .intro, .imprint .intro {
  white-space: pre;
}

.ani-flutschfinger {
  animation: ani-flutschfinger 30s linear infinite;
}



/* BREAKPOINTS */
@media (display-mode: fullscreen) {
  ul.photos video {
    object-fit: contain;
    -webkit-object-fit: contain;
    object-position: 50% 50%;
    background: #000;
  }
}

ul.photos video:fullscreen, ul.photos video:full-screen, ul.photos video:-webkit-full-screen {
  object-fit: contain !important;
  -webkit-object-fit: contain !important;
  object-position: 50% 50%;
  background: #000;
}


@media (min-width: 701px) {
  /* .header nav ul.menu {
    display: block !important;
  }

  .masterclose {
    display: none !important;
  } */
}

@media (max-width: 700px) {
  .indexmenu a {
    font-size: 8vh;
    height: calc((100vh - 60px) / 5);
    line-height: calc((100vh - 60px) / 5);
  }

  .wrap {
    margin-left: 0 !important;
  }

  .indexmenu a.indexmenu-news {
    display: block;
  }

  .toplayer {
    position: static;
    margin-top: 0;
  }

  .toplayer .wrap {
    padding-top: 0;
  }

  .toplayer-left {
    display: block;
    position: static;
    transform: none;
  }

  .toplayer-right {
    float: none;
  }

  .featured {
    display: block !important;
  }

  .featured .text {
    position: static;
    display: block;
  }

  .featured .text p {
  }

  .bigtype {
    position: absolute;
    display: block;
    -webkit-text-stroke: .5vw #ff0000;
    /* color: red; */
    color: transparent;
    z-index: inherit;
  }

  .featured .teaserno-2, .featured .teaserno-3, .featured .teaserno-4 {
    display: none;
  }

  .teaser {
    width: 100% !important;
  }

  .index-item-text {
    display: none;
  }

  .index-item-title {
    width: 50%;
  }

  .index-item-date {
    width: 50%;
    text-align: right;
  }

  .menu-logo {
    left: 0;
    transform: none;
    padding: 20px;
    top: 0;
    width: 50%;
    background: #fff;
  }

  /* .header nav ul.menu {
    position: fixed;
    width: 100%;
    left: 0;
    z-index: -1;
    top: -200px;
    background: #fff;
    transition: all .3s;
  }

  .header nav ul.menu--visible {
    top: 60px;
  }

  .menu-toggle--open {
  }

  .menu-toggle--open span {
    display: none;
  }

  .menu-toggle--open:after {
    content: 'Close';
  }

  .header nav ul.menu li {
    outline: solid 1px purple;
    width: 100%;
  }

  .header nav ul.menu li a {
    display: block;
    padding: 20px;
  }

  .header nav ul.menu .right {
    float: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle:focus {
    outline: none;
  }

  .masterclose {
    display: block;

    position: fixed;
    background: rgba(0,0,0,.4);
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 400;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease-out;

  }

  .masterclose--visible {
    opacity: 1;
    pointer-events: auto;
    transition: .2s cubic-bezier(0.6, -0.28, 0.735, 0.045);
  }*/

  .intro {
    font-size: 1rem;
    line-height: 1.3rem;
    font-weight: bold;
    margin-bottom: 2.6rem;
  }

  .cols {
    display: block;
  }

  .footer .right {
    float: none;
    display: block;
  }

  ul.news {
    display: block;
  }

  li.news-item {
    margin-bottom: 2rem;
  }

  .intro--lessdistance {
    margin-bottom: 1rem;
  }

  .start-type {
    /* -webkit-text-stroke: .5vw #000; */
  }

  .about .intro {
    width: 100%;
  }

  .about img {
    width: 100%;
    position: static;
    margin-top: 0;
  }

  .about img+img {
    max-width: 100%;
    margin-top: 20px;
  }

  .mousemove, .start-mousemove {
    left: 0 !important;
    top: 0 !important;
  }

  .mousemove .section {
    /* outline: solid 4px red; */
    width: calc(100% + 20px) !important;
    margin-left: -20px !important;
  }

  .mousemove .bigtype {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  .ani-type:after, .ani-type {
    animation: none;
  }

  .start-type {
    height: 20vh;
  }

  .start-type-subtitle {
    display: none;
  }

  .section {
    display: block;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .section div {
    display: block;
    position: static !important;
    margin: 0 !important;
    transform: initial !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .section img, .section video {
    margin-top: 10px;
  }

  /* .section > * {
    position: static;
    margin: 0;
    display: block;
    margin-bottom: 20px;
  } */
}

@media (any-pointer: coarse) {
  .bigtype {
    position: absolute;
    display: block;
    z-index: inherit;
  }

  .featured .text {
    position: static;
    display: block;
  }

  .mousemove, .start-mousemove {
    left: 0 !important; 
    top: 0 !important;
  }

  .mousemove .bigtype {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

}
