.headerlogo-div1{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 25px;
  
}


 nav .logo img{
  max-width: 160px;

 }

nav {
  position: relative;
  top: 0;
  left: 0;

  width: 100%;
  height: var(--navbar-height);

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: var(--background-color);

  z-index: 9999;
}
.site-index{
 
  display: flex;
  justify-content: center;
  align-items: center;
}





/*NAVIGATION*/
nav ul{
  display: flex;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items:flex-end;
  list-style: none; /*entfernt alle Stichpunkte*/
 margin-right: 70px;
}


nav li{
  height: 100%;
  width: 150px;
  text-align: center;
  position: relative;/*damit wird das dropdown relativ zu seinem li positioniert*/
 
}
nav li a{
   color: #1c1c1ce1;
   font-weight: bold;
   
 /* Farbe li a*/
}
nav li label{ /*Farbe labels*/
  color: #1c1c1ce1;
  font-weight: bold;

}
nav li label:hover{
   color:#fcb141;
  font-weight: bold;
}
nav li:hover{
  background-color: #f12121;
  
}
nav li a:hover{
  color:#fcb141;
  font-weight: bold;
}
nav ul a{ /*damit wird der Link schon an der Kante anklickbar*/
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none; /*entfernt Unterstreichung*/
}
.dropdown{
  height: min-content;/* richtet sich daran wieviele links das dropdown menue hat*/
  width: 200px;
/* background: var(--background-color);
*/

  background-color:#f19e21;
  
  display:  none; /* entscheidet auch über das ein und ausschalten none oder flex  (beim hover)*/
  flex-direction: column;
  position: absolute;
  left: 0;
  top: var(--navbar-height);/*ist die Höhe der nav*/
}

.dropdown li{
  height: 70px;
  width: 100%;
}
.dropdown li a{
  justify-content: flex-start;
  padding-left: 30px;
  width: calc(100% - 30px); /* damit der link nicht ausserhalb des li schon erscheint*/
  color: #1c1c1cb4;
  font-weight: 600;
}
nav li:hover .dropdown{
  display: flex;
}
nav input[type="checkbox"]/* spricht alle checkboxes in der nav an*/{
  display: none; /* checkboxkästchen wird verborgen*/
}
.expandable_li{
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  
}
.expandable_li p{
  color: #1c1c1ce1;

}
/*Hamburger Menue*/
.toggle_button {
  position: absolute;
  top: 25px;
  right: 25px;

  width: 30px;
  height: 23px;

  display: none;
  flex-direction: column;
  justify-content: space-between;

  z-index: 10000;
  cursor: pointer;
}
.bar{
  margin-left: 10px;
  height: 4px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 100px;
}
@media(max-width: 1100px){
  .toggle_button{
    display: flex;
  }
  
  nav ul{
    height: min-content;
    width: 100%;
    background: var(--background-color);
    display: none;
    position: absolute;
    top: var(--navbar-height);
  }
  nav li{
    height: min-content;
    width: 100%;
  }
  nav ul a{
    padding: 30px 0;
  }
  .expandable_li{
    display: block;
  }
  .expandable_li label{
    padding: 30px 0;
    cursor: pointer;
    display: block;
  }
  /*handyvariante  Ansicht vo dropdown menue*/
  .expandable_li:hover .dropdown{
    display: none;
  }
  .expandable_li input[type="checkbox"]:checked ~ .dropdown{
    display: block;
  }



  .dropdown{
    position: static;
    width: 100%;
  }
  .dropdown li{
    padding: 0;
    display: block;
    position: static;
    background-color:#b9792b;
  }
  .dropdown li a{
    width: 100%;
    padding: 0;
    justify-content: center;
  }
  #toggle_button:checked ~ ul{
    display: block;
  }
}



.seiten-anzeiger{
 display: flex;
 justify-content: center;
 align-items: center;
  font-size: 26px;
  font-weight: 600;
  font-style: italic;
  margin-left: 10px;
  height: 80px;
 
}

@media (max-width: 1100px) {
  .site-index {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .seiten-anzeiger {
    margin: 0;
    height: auto;
    white-space: nowrap;
  }
}



@media  (max-width: 840px){
 .seiten-anzeiger{
    left: 250px;
    font-size: 25px;
    margin-left: 70px;
    
  }
 
}
@media  (max-width: 400px){
 .seiten-anzeiger{
    left: 250px;
    font-size: 25px;
    margin-left: 15px;
    
  }
  nav .logo img{
  max-width: 110px;
  
 }

 
}
@media  (max-width: 430px){

  nav .logo img{
  max-width: 110px;
  
 }

 
}
nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 999999 !important;
}

.toggle_button {
  display: none;
}

@media (max-width: 1100px) {
  .toggle_button {
    display: flex !important;
    position: absolute !important;
    top: 25px !important;
    right: 25px !important;
    z-index: 1000000 !important;
  }
}

#main-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 999999;

    transition: transform 0.45s ease;
}


#main-header.header-hidden {
    transform: translateY(-100%);
}