/* ===== Brand / Logo ===== */

.brandlink{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
    background:transparent;
    border:none;
    box-shadow:none;
}

.brandlink:hover {
    color: var(--text);
    text-decoration: none;
}

.brandlink img{
    border:0;
    outline:0;
}

.nav-logo {
    width: 154px;
    height: 98px;
    object-fit: contain;

    margin-top: -13px;
    margin-bottom: -13px;

    flex: 0 0 46px;
}

.brand-title {
    color: var(--text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 800;
}

.brand-subtitle {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}

/* ===========================
   Navigation
   =========================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

/* ===== Brand ===== */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: .2px;
}

.logo {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0, #ffffff 35%, #e2e8f0 100%);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    font-size: 12px;
    color: var(--muted);
}

/* ===== Desktop Menü ===== */

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.menu a {
    text-decoration: none;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.menu a:hover {
    background: #f1f5f9;
    color: var(--text);
}

.menu a.active {
    background: var(--brand);
    color: #000000;
    box-shadow: 0 8px 18px rgba(15,107,47,.18);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    background: transparent;
    transition:
        background-color .25s ease,
        color .25s ease,
        box-shadow .25s ease;
}

.nav-link:hover {
    background:#f1f5f9;
    color:var(--text);
}

.nav-link.active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(15,107,47,.18);
}

/* ===== Dropdown ===== */

.nav-dropdown {
    position: relative;
}

.nav-trigger {
    background: none;
    border: 0;
    font: inherit;
    color: var(--muted);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-trigger:hover {
    background:#f1f5f9;
    color:var(--text);
}

.nav-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;

    min-width: 220px;

    background:#fff;
    border:1px solid var(--line);
    border-radius:14px;

    box-shadow:0 20px 40px rgba(2,6,23,.12);

    padding:8px;

    display:none;
    z-index:100;
}

.nav-panel::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:-10px;
    height:10px;
}

.nav-panel a{
    display:block;
    padding:10px 12px;
    border-radius:10px;
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    font-size:14px;
}

.nav-panel a:hover{
    background:#f1f5f9;
}

.nav-panel a.active{
    background: rgba(237, 185, 33, .42);
    border: 1px solid rgba(201, 149, 20, .55);
    color: #1a1a1a;
    font-weight: 800;
}

@media (min-width:961px){

    .nav-dropdown:hover .nav-panel{
        display:block;
    }

}

/* ===== Burger ===== */

.nav-right{
    display:flex;
    align-items:center;
    gap:10px;
}

.burger{
    display:none;

    width:42px;
    height:42px;

    border-radius:12px;

    border:1px solid var(--line);
    background:#fff;

    cursor:pointer;
    place-items:center;
}

.burger span{
    display:block;
    width:20px;
    height:2px;
    background:var(--text);
    position:relative;
}

.burger span::before,
.burger span::after{
    content:"";
    position:absolute;
    left:0;
    width:20px;
    height:2px;
    background:var(--text);
}

.burger span::before{
    top:-6px;
}

.burger span::after{
    top:6px;
}

/* ===== Mobile Menü ===== */

.mobile-menu{
    display:none;

    position:absolute;

    right:20px;
    top:70px;

    background:#fff;

    border:1px solid var(--line);
    border-radius:16px;

    box-shadow:var(--shadow);

    padding:10px;

    min-width:220px;
}

.mobile-menu.show{
    display:block;
}

.mobile-menu a{
    display:block;
    padding:10px 12px;
    border-radius:12px;
    color:var(--muted);
    text-decoration:none;
    font-weight:700;
}

.mobile-menu a:hover{
    background:#f1f5f9;
    color:var(--text);
}

.mobile-menu a.active{
    background:var(--brand);
    color:#fff;
}

/* ===== Mobile Untermenü ===== */

.mobile-subnav{
    display:block;
}

.mobile-subtrigger{

    width:100%;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:10px 12px;

    border-radius:12px;

    border:0;
    background:transparent;

    color:var(--muted);

    font-weight:800;
    font-size:14px;

    cursor:pointer;
}

.mobile-subtrigger:hover{
    background:#f1f5f9;
    color:var(--text);
}

.mobile-subtrigger.active{
    background:var(--brand);
    color:#000000;
}

.mobile-subtrigger .chev{
    transition:transform .18s ease;
}

.mobile-subpanel{
    display:none;
    padding:6px 0 2px;
}

.mobile-subpanel a{
    display:block;

    padding:10px 12px;

    margin-left:6px;

    border-radius:12px;

    text-decoration:none;

    color:var(--muted);

    font-weight:800;
    font-size:14px;
}

.mobile-subpanel a:hover{
    background:#f1f5f9;
    color:var(--text);
}

.mobile-subpanel a.active{
    background: rgba(237, 185, 33, .42);
    border: 1px solid rgba(201, 149, 20, .55);
    color: #1a1a1a;
    font-weight: 800;
}

.mobile-subnav.open .mobile-subpanel{
    display:block;
}

.mobile-subnav.open .mobile-subtrigger .chev{
    transform:rotate(180deg);
}

/* ===== Responsive ===== */

@media (max-width:960px){

    .menu{
        display:none;
    }

    .burger{
        display:grid;
    }

    .mobile-menu.show{
        display:block;
    }

}