.navbar{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    pointer-events: none;
    transition: top 0.3s ease, height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.nav-wrapper{
    width: min(1380px,90vw);
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    position: relative;
    z-index: 999999;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 1px solid transparent;
    pointer-events: auto;
    transition: padding 0.3s ease, background 0.3s ease, border-radius 0.3s ease,
                backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease,
                border-color 0.3s ease;
}
/* Scroll-Zustand: Navbar wird zur schwebenden Glas-Pille */
.navbar.is-scrolled{
    top: 10px;
    height: 64px;
}
.navbar.is-scrolled .nav-wrapper{
    padding: 10px 16px;
    border-radius: 100px;
    background: rgba(15, 25, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: rgba(255, 255, 255, 0.08);
}
/* Scroll-Zustand: Links werden weiß, Hover in Brand-Cyan */
.navbar.is-scrolled .nav-link{
    color: #FFFFFF;
}
.navbar.is-scrolled .nav-link:hover{
    color: #47CCF5;
}
/* Navbar versteckt sich wenn timeline/showcase im Top-Bereich sichtbar */
.navbar.is-hidden{
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}
.navbar.is-hidden .nav-wrapper{
    pointer-events: none;
    /* GPU-Last killen während Fade — kein Blur berechnen für unsichtbares Element */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.nav-logo-link{

}
.nav-logo{
    width: 175px;
}
.nav-link-box{
    display: flex;
    justify-content: center;
    justify-items: center;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 48px;
}
.nav-link{
    color: #B2B3B4;
    transition: var(--transition-speed-fast) all linear;
}
.nav-link:hover{
    cursor: pointer;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3), 0 0 30px rgba(34, 109, 251, 0.4);
}
.nav-dropdown-wrapper{
    position: relative;
}
.nav-dropdown::before{
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    width: 100%;
    height: 16px;
}
.nav-dropdown{
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    width: 347px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.nav-dropdown-wrapper:hover .nav-dropdown{
    opacity: 1;
    pointer-events: auto;
}
.nav-dropdown-wrapper:hover .nav-chevron{
    border-color: white;
}
.nav-dropdown-link{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.15s ease;
}
.nav-dropdown-link:hover{
    color: #47CCF5;
}
.nav-chevron{
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #B2B3B4;
    border-bottom: 1.5px solid #B2B3B4;
    transform: rotate(45deg);
    margin-left: 4px;
    margin-bottom: 3px;
    transition: border-color var(--transition-speed-fast) linear;
}
.nav-link:hover .nav-chevron{
    border-color: white;
}
/* ===== Mobile Navigation ===== */
.nav-burger{
    display: none;
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: 0;
    position: relative;
    cursor: pointer;
}
.nav-burger-bar{
    position: absolute;
    left: 4px;
    width: 16px;
    height: 1.5px;
    background: #FFFFFF;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-burger-bar:nth-child(1){ top: 6px; }
.nav-burger-bar:nth-child(2){ top: 11.25px; }
.nav-burger-bar:nth-child(3){ top: 16.5px; }
.nav-burger.is-open .nav-burger-bar:nth-child(1){ top: 11.25px; transform: rotate(45deg); }
.nav-burger.is-open .nav-burger-bar:nth-child(2){ opacity: 0; }
.nav-burger.is-open .nav-burger-bar:nth-child(3){ top: 11.25px; transform: rotate(-45deg); }

.nav-mobile-menu{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: auto;
    background: rgba(10, 33, 38, 0.94);
    box-shadow: 0px 6px 40px rgba(83, 92, 121, 0.12), 0px 12px 40px -2px #1E190E;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.2s ease;
    z-index: 999998;
    border-radius: 0 0 18px 18px;
}
.nav-mobile-menu[hidden]{
    display: none;
}
.nav-mobile-menu.is-open{
    max-height: 100vh;       /* Fallback */
    max-height: 100dvh;      /* Dynamic Viewport — In-App-Browser */
    opacity: 1;
}
.nav-mobile-menu-inner-wrap{
    padding: 113px 16px 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
}
.nav-mobile-menu-inner{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.nav-mobile-link{
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 160%;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    padding: 11px 16px;
    transition: color 0.15s ease;
}
.nav-mobile-link:hover,
.nav-mobile-link:focus{
    color: #47CCF5;
}
.nav-mobile-cta{
    align-self: stretch;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    font-size: 16px;
}

@media (max-width: 1000px){
    .nav-link-box{ display: none; }
    .nav-cta{ display: none; }
    .nav-burger{ display: block; }
}
