#desktop-navbar{
    display: none;
}
#mobile-logo{
    text-transform: uppercase;
}
#mobile-logo strong{
    font-weight: 900;
}
body.page-template-biography-page #mobile-navbar {
    background-color: #0a3c54;
}
body.page-template-page-contact #mobile-navbar {
    background-color: #0a3c54;
}
body.page-template-datenschutz-page #mobile-navbar {
    background-color: #0a3c54;
}
#mobile-navbar{
    position: fixed;
    z-index: 5;
    top:0;
    left: 0;
    width: 100%;
}
#mobile-outer-wrapper{
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    padding: 1rem;
}
#mobile-outer-wrapper.is-active{
    background-color: #0a3c54;
}
#mobile-navbar a{
    font-size: 2rem;
    font-weight: 300;
}
.mobile-menu-toggler{
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-toggler .toggle{
  display: block;
  height: 3px;
  width: 30px;
  background-color: white;
  border-radius: 3px;
  transition: transform 0.4s ease, opacity 0.3s ease;
  transform-origin: center;
}
.toggle.toggled:nth-child(1){
  transform: rotate(45deg) translate(0, 8px);
}
.toggle.toggled:nth-child(2){
  display: none !important;
}
.toggle.toggled:nth-child(3){
  transform: rotate(-45deg) translate(0, -8px); 
}
#mobile-nav-menu{
    background-color: #0a3c54;
    display: none;
    position: absolute;
    top:100%;
    width: 100vw;
    left: 0;
    height: 110vh;
}
#mobile-nav-menu.is-active{
    display: flex;
    padding-top: 0.5rem;
}
#mobile-nav-menu ul{
    list-style: none;
    padding: 1rem;
    margin: 0;
    line-height: 2;
}
#mobile-nav-menu li a{
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 500;
}

.menu .current-menu-item > a,
.menu .current_page_item > a,
.menu .current-menu-ancestor > a {
  text-decoration: underline;
  text-underline-offset: 4px;   /* moves underline a bit lower */
  text-decoration-thickness: 2px; /* thicker line */
}


 /** Desktops styles start here*/
@media (min-width: 1024px) {
    #desktop-navbar{
        display: block;
        position: fixed;
        z-index: 5;
        top:0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    body.page-template-biography-page #desktop-navbar {
        background-color: #0a3c54;
    }
    body.page-template-page-contact #desktop-navbar {
        background-color: #0a3c54;
    }
    body.page-template-datenschutz-page #desktop-navbar {
        background-color: #0a3c54;
    }
    #desktop-navbar > div{
        padding: 4rem;
    }
    #desktop-logo{
        font-size: 4.5rem;
        text-transform: uppercase;
        font-weight: 100;
    }
    #desktop-logo strong{
        font-weight: 900;
    }
    #mobile-navbar{
        display: none;
    }
    .menu-desktop-menu-container ul{
        list-style: none;
        display: flex;
        flex-direction: row;
        background-color: #0a3c545b;
        padding: 0;
    }
    /* hide submenus by default */
    .menu-desktop-menu-container .sub-menu {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: #0a3c54;
        padding: .5rem 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.15);
        z-index: 20;
    }

      /* show on hover or keyboard focus */
    .menu-desktop-menu-container li:hover > .sub-menu,
    .menu-desktop-menu-container li:focus-within > .sub-menu {
        display: block; /* if you keep the old rule with !important, add !important here too */
    }
    .menu-desktop-menu-container ul li{
        padding: 1rem 1rem;
        position: relative;
    }
    .menu-desktop-menu-container ul li a{
        font-size: 1.2rem;
        text-transform: uppercase;
        padding: 1rem 0;
    }



      /* "+" by default on parents */
  .menu-desktop-menu-container li.menu-item-has-children > a::after{
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    line-height: 1;
  }

  /* when submenu is visible (hover or keyboard focus) → "−" */
  .menu-desktop-menu-container li.menu-item-has-children:hover > a::after,
  .menu-desktop-menu-container li.menu-item-has-children:focus-within > a::after{
    content: "−"; /* U+2212 nice minus */
  }
} 