/* Visually hidden for screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
  border: 0;
}
.header-logo{
 object-fit: contain;
 width: 50px;
 height: 50px;
 align-self: center;
 
}
.logo-link{
  align-self: center;
}

.logo-title-container{

}
.menu-toggle[aria-expanded = "false"]{
    border-radius: 360%;
    padding: 15px;
   
  }
.active-site{
  color: var(--yellow);
}

.site-header{
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #70355D;
    
    display: flex;
    justify-content:space-between;
    font-size: 16px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
@media (max-width: 1400px){
  .site-header{
    
  }
}
#primary-menu .menu{
  display: flex ;
  flex-direction: row;
}
.site-title >a{
  color: white;
  text-decoration: none;
  padding: 1rem;
  text-align: center;
}
.site-title{
  align-self: center;
  font-weight: bold;
  font-size: 16px;
  flex: 1;
  text-align: left;
  
  margin: 0;
}



.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  align-items: center;
}
.footer-links >.menu-item{
  padding: 1rem;
  
  
}

.menu-item-has-children > .sub-menu{
  display: none;
}

.hamburger { display:inline-block; width:22px; height:16px; position:relative; }
.hamburger span { display:block; position:absolute; left:0; right:0; height:2px; background:currentColor; transition: transform .2s ease, opacity .2s ease; }
.hamburger span:nth-child(1){ top:0; }
.hamburger span:nth-child(2){ top:50%; transform:translateY(-50%); }
.hamburger span:nth-child(3){ bottom:0; }

/* MOBILE BEHAVIOR */
@media (max-width: 1023px) {
  .sub-menu > a{
    box-sizing: border-box;
  }

  .menu-item-has-children > .sub-menu{  visibility: hidden; pointer-events: none;}
  .menu-item-has-children:hover > .sub-menu{ visibility: hidden; }
  .menu-item-has-children > .sub-menu.show-submenu{ 
    display:block; 
    pointer-events: all;
    height: 100%;
    width: 60dvw; 
    visibility: visible;
  }
  
  #primary-menu-toggle{ 
    order: 1;
  }

  .logo-link{
    order: 3;
  }
  .site-title{
    order: 2;
  }

  body.site-nav.open{
    overflow: hidden;
    touch-action: none;
  }
  .menu-item-has-children > a{
    display: flex;
    align-items: center;
    
  }

  .menu-item-has-children > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg) translateY(-20px);
    display: block;
    margin-left: auto;
  }

  #primary-menu .menu{
  flex-direction: column;
  background-color: #70355D;/*#70355D,#502642*/
  position: relative;
  top: 100%;
  }
  
  #menu-inhalt{
    width: 80dvw;
    height: 100dvh;
  }

  #menu-inhalt .menu-item:last-child{
    border-bottom: 1px solid white;
  }
  #menu-inhalt .menu-item:first-child{
    border-top: 1px solid white;
  }

  .site-header{
    justify-content: space-between;
    max-width: 100vw;
    padding: 0rem 2rem 0rem 2rem !important;
  }

  .menu-toggle{ 
  display: inline-flex;
  color: white;
  z-index: 50;
  }

  .menu-toggle[aria-expanded = "true"]{
    border-radius: 360%;
    padding: 15px;
  }
  
  /*BURGER MENU*/
  .site-nav {
    position: absolute;
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    will-change: transform;
  }
 
  .back-btn{
    padding: 16px;
    border-bottom: 1px rgba(255, 255, 255, 0.297) solid;
  }

  .sub-menu{
    top: 0% !important;
    position: absolute;
    width: 80dvw !important;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }

  .show-submenu{
    display: block;
    z-index: 1000;
    height: 200px;
    width: 200px;
    transform: translateX(0px);
    position: absolute;
  }
  
 .site-title{
  flex: none;
  text-align: center;
}

  .site-nav.open {
    pointer-events: all;
    transform: translateX(0%);
    display: block; 
  }

  .site-nav .menu,
  .site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 0;
  }
  .site-nav .menu li,
  .site-nav ul li {
    margin: 0 0;
  }
}
@media(max-width: 420px){
  .site-title{
    font-size: 12px;
  }
}

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-item > a{
  color: white;
  text-decoration: none;
}
#menu-inhalt{
  color: white;
  list-style: none;
  margin: 0;
}
#menu-inhalt:hover{
  cursor: pointer;
}

#primary-menu-toggle{
  color: white;
}




