/* navigation oben dunkel */

.kopf {
  
  background-color: #5a5958;
  /* box-shadow: 0.2rem 0rem 0.2rem  #5a5958; */
  top: 0;
  z-index: 99;
  margin-bottom: 4%;

  position:relative;
  top:   0;
  left:  0;
  right: 0;
  
  height: 100vh;
}

.header_out {

  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1024px;
  margin: auto;
 }

.header_out ul {
  margin: 0;
  margin-right: 1%;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.header_out li a {
  display: block;
  float: left;
  padding: 20px 20px;
  text-decoration: none;
  /* color: #f5f5f5; */
}

.header_out  {
  padding-left: 1%;
  padding-top: 0.1%;
  padding-bottom: 0.1%;
}

/* menu */

.header_out .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.5s ease-out;
}

/* menu icon */

.header_out .menu-icon {
  cursor: pointer;
  padding-top: 3%;
  padding-right: 2%;
  position: relative;
  user-select: none;
}

.header_out .menu-icon .navicon {
  background: #f5f5f5;
  height: 2px;
  position: absolute;
  transition: background 0.2s ease-out;
  width: 18px;
}

.header_out .menu-icon .navicon:before,
.header_out .menu-icon .navicon:after {
  background: #f5f5f5;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header_out .menu-icon .navicon:before {
  top: 5px;
}

.header_out .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header_out .menu-btn {
  display: none;
}

.header_out .menu-btn:checked ~ .menu {
  max-height: 240px;
}

.header_out .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header_out .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header_out .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header_out .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header_out .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

/* Menü sortieren */

.item1 {
  order: 1;
}

.item1 img {
  display: flex;
}

.item2 {
  order: 2;
  flex-grow: 1;
}

.item3 {
  order:3;
  flex-grow: 1;
}

.item4 {
  order: 4;
  margin-right: 5%;
  flex-grow: 1;
}

.item5 {
  order: 2;
  width: 10%;
  flex-grow: 20;
}




a {
  color: #f5f5f5;
}

/* a:visited {
  color: #f5f5f5;
} */

a:hover{
  text-decoration: underline;
  text-shadow: #2b2b2c 0.2em 0.2em 10px;
  /* color: #d8d8d8 */
}

a:active {
  text-decoration: underline;
  text-shadow: #2b2b2c 0.2em 0.2em 10px;
  /* color: #d8d8d8 */

}

ul li a span {
  color: #e4a518;
}


.main {
  text-align: justify;
}

@media (min-width: 845px) {
  .header_out li {
    float: left;
  }
  .header_out li a {
    padding: 20px 25px;
  }
  .header_out .menu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header_out .menu-icon {
    display: none;
  }

}

@media (max-width: 900px) {
.logokopf img {
  width: 60%;
}
}

nav {
  background-color: #f3f3f3;
  mix-blend-mode: multiply;
  margin: 0 auto;
  scroll-snap-align: start;
  /* margin-top: -50; */
  position: sticky;
  top: 0;
}


nav a {
  color: #5a5958;
  padding: 0.25em 0;
  text-decoration: none;
  transition: all 0.5s;
}

.verschw {
  background-color: #5a5958;
  position: relative;
  scroll-snap-align: start;
  height: 100vh;
}

.verschw a {
  color: #f3f3f3;
}