.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 36px;
    color: white;
    z-index: 999;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.75);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar .svg-icon {
    fill: #89CDD3;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 1));
}

.navbar .logo img {
    width: 110px;
    z-index: 2001;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 1));
}

.burger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    transition: opacity 0.3s ease;
}

.menu-overlay.hidden {
    display: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: #031b23;
    z-index: 2000;
    padding: 0 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu ul {
    list-style: none;
    padding: 0 0 50px;
    margin: 50px 0 0;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
}

.mobile-menu ul li {
    margin-bottom: 24px;
}

.mobile-menu ul li img {
    width: 110px;
}

.mobile-menu ul li a {
    color: #89CDD3;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1.25;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    color: #fff;
}

.mobile-menu .menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-top: 16px;
    cursor: pointer;
}

.mobile-menu.open {
    transform: translateX(0);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.mobile-menu ul li img.imia-arrow {
    width: 34px;
}

.mobile-menu ul li.menu-legal-links {
    margin-top: auto;
    margin-bottom: 20px;
    font-size: 0.875rem;
    line-height: 1.3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    row-gap: 4px;
}

.mobile-menu ul li.menu-legal-links a {
    font-size: inherit;
    line-height: inherit;
    font-weight: normal;
    color: #89CDD3;
    opacity: 0.8;
}

.mobile-menu ul li.menu-legal-links a:hover,
.mobile-menu ul li.menu-legal-links a.active {
    color: #fff;
    opacity: 1;
}

.mobile-menu ul li.menu-legal-links .sep {
    display: inline-block;
    margin: 0 8px;
    opacity: 0.35;
    color: #fff;
}

.mobile-menu ul li.language-switch {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: 0;
    border-top: 0;
}

.mobile-menu ul li.language-switch.with-meta {
    margin-top: 0;
}

.mobile-menu ul li.language-switch a {
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    opacity: 0.75;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.mobile-menu ul li.language-switch a.active {
    opacity: 1;
    text-decoration: none;
    color: #fff;
}

.mobile-menu ul li.language-switch .sep {
    display: inline-block;
    margin: 0 10px;
    opacity: 0.35;
    color: #fff;
    font-weight: normal;
}

@media (max-width: 700px) {
    .mobile-menu ul li.menu-legal-links {
        font-size: 1.16667rem !important; /* 0.875rem / 0.75 -> gleiche visuelle Groesse */
    }

    .mobile-menu ul li.menu-legal-links a {
        font-size: inherit !important;
    }
}
