
  /* XXXXXXXXXXXXmax-width:40emXXXXXXXXXXXXXXX */


  @media screen and (max-width:40em){



    .logo {
      font-family: 'galdergly';
      font-size:10.1vw;    
      line-height: 84%;
      min-height:0vw;
      margin-top: 0.5rem;
      margin-left: 0.5rem;
    }



    .headliner {          
      grid-area: 1 / 1 / 3 / 3;
      display:none;
      align-self: flex-end;
      margin:0;
      margin-left: 1rem;
  }



  
  .platzhalter{
    margin-top: 10px;
    background-color: white;
    display: -webkit-box;
    display: flex;
  }
  
  

  .parent {
    display: grid;
    grid-template-columns: 18rem
      /*minmax(15rem, 18rem)*/
      auto;
    grid-template-rows: 15rem 20vw auto auto auto 5px ;
    grid-column-gap: 1.5rem;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }





  .div1 {
    grid-area: 1 / 1 / 2 / 3;
    z-index: 1;
    position: fixed;

  }



    
  .headliner02 {          
    grid-area: 2 / 1 / 3 / 3;
    display:grid;
    align-self: start;  
    margin-left: 1rem;
}



  .div2 {
    grid-area: 3 / 1 / 4 / 2;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: end;
    justify-content: flex-end;
    -webkit-box-align: left;
    align-items: left;
    align-self: flex-end;
    margin-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    z-index: 1;
  }



  .div3 {
    grid-area: 4 / 1 / 5 / 3;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: end;
    justify-content: flex-start;
    -webkit-box-align: left;
    align-items: left;
    align-self: flex-start;
    justify-self: flex-start;

    margin-bottom: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
  
    -webkit-column-gap: 5px;
    -moz-column-gap: 5px;
    column-gap: 5px;
  }

  .teilno01,
  .teilno02 {
    margin-left: 0;
  }

  .teilno02{
      padding-left: 2rem;
  }


  .div3 img {
    width: 18px;
  }


  .div4 {
    grid-area: 5 / 1 / 6 / 2;  
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    align-content: flex-start;
    align-self: flex-start;
    justify-self: flex-start;
    -webkit-box-pack: start;
    justify-content: flex-start;
    z-index: 1;
    width: 100%;
    margin-bottom: 1rem;
  }




  .div5 {
    grid-area: 4 / 2 / 5 / 3;
    display: -webkit-box;
    display: none;
    position: relative;
    z-index: -1;
    justify-self: center;
    align-self: flex-end;
    margin-left: 1.5rem;
    top: -1rem;
    height: 100%;

  }

  .div5 img {
    height: 80%;
    overflow: hidden;
  }



  .div6 {
    grid-area: 1 / 1 / 2 / 3;
    display: -webkit-box;
    display: grid;   
    z-index: -10;      
  }
  
  
  .div6 img{
   width: 100%;      
  }
  

/* video-einbindung*/

.div7 {
  grid-area: 1 / 1 / 2 / 3;
  position: relative;
  top: 0;
  bottom: 0;  
  height: 100vh;
  z-index: -100;
  overflow: hidden;
  display: -webkit-box;
  display: flex;
  align-self: flex-start!important;
  justify-self: flex-end!important;
  -webkit-box-align: start!important;
          align-items: flex-start!important;

  align-content: flex-start!important;
  -webkit-box-pack: start!important;
          justify-content: flex-start!important;

}

.div7 video {
  height: auto;
  width: 100vw;   
}




  .nav {
    width: 100vw;
    grid-area: 1 / 5/ 2 / 7;
    position: absolute;
    display: none;
    /*grid*/
    grid-template-columns: 12vw 12vw 12vw 12vw;
    grid-template-rows: 8vh;
    grid-template-areas: 'menuepunkt01 menuepunkt02 menuepunkt03 menuepunkt04';
    margin: 0;
    z-index: 999;
    text-align: right;
    -webkit-box-pack: end;
    justify-content: end;
  }

  .menuepunkt01 {
    grid-area: menuepunkt01;
    margin-top: 1rem;
    margin-right: 1vw;
  }

  .menuepunkt02 {
    grid-area: menuepunkt02;
    margin-top: 1rem;
    margin-right: 1vw;
  }

  .menuepunkt03 {
    grid-area: menuepunkt03;
    margin-top: 1rem;
    margin-right: 1vw;
  }

  .menuepunkt04 {
    grid-area: menuepunkt04;
    margin-top: 1rem;
    margin-right: 1vw;
  }

  .menuepunkt01,
  .menuepunkt02,
  .menuepunkt03,
  .menuepunkt04 {
    font-family: 'neuehaasbold';
    font-size: calc(0.4rem + 0.6vw);
    line-height: calc(65% + 0.25vw);
    font-size: -webkit-calc(0.4rem + 0.6vw);
    line-height: -webkit-calc(65% + 0.25vw);
  }

  .nav p {
    position: relative !important;
    margin: 0px;
  }

  .nav a {
    text-decoration: none;
    color: #000000;
  }

  .nav a:hover {
    color: rgb(227, 22, 169);
  }


  .platzhalter {
    display: -webkit-box;
    display: none;
  }

    
    /* hier fängt das "hamburger_menue an!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
    
      .overlaymenue {
      grid-area: 1 / 1 / 5 / 3;
      display: grid;/*none*/
      width: 100vw;      
      overflow: hidden;      
    }
    .menu-wrap .menu > div {
      background: var(--overlay-color);    
      width: 100vw;
      height: 100vh;
      display: -webkit-box;
      display: flex;
      -webkit-box-flex: 0;
              flex: none;
      -webkit-box-align: start;
              align-items: flex-start;
      -webkit-box-pack: end;
              justify-content: flex-end;    
      -webkit-transition: all 0.4s ease;    
      transition: all 0.4s ease;
    }


    
    .menu-wrap .menu > div > div > ul > li {
      list-style: none;
      color: #fff;
      font-size: calc(1.75rem + 3vw);
      line-height: calc(75% + 0.4vw);
      font-size: -webkit-calc(1.75rem + 3vw);
      line-height: -webkit-calc(75% + 0.4vw);
      padding:.5rem;
      margin: 0;
    }

    .menu-wrap .menu > div > div > ul > li {
      margin: 0;
      padding: 0;
    }
}