.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
}

.logo img {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.hamburger-knop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.hamburger-knop span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: #a8a8a8;
    border-radius: 2px;
    transition: background 0.2s ease, width 0.2s ease;
}

.hamburger-knop:hover span {
    background: #1a1a1a;
}

.hamburger-knop span:nth-child(2) {
    width: 75%;
}

.mobiel-menu-achtergrond {
    position: fixed;
    inset: 0;
    background: #00000033;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 40;
}

.mobiel-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 340px;
    background: #FFFFFF;
    box-sizing: border-box;
    padding: 28px 28px 36px 28px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 50;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
}

body.menu-open .mobiel-menu-achtergrond {
    opacity: 1;
    pointer-events: auto;
}

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

body.menu-open {
    overflow: hidden;
}

.mobiel-menu-sluit {
    align-self: flex-end;
    background: none;
    border: none;
    padding: 8px;
    margin: 0 -8px 16px 0;
    cursor: pointer;
    color: #1a1a1a;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobiel-menu-sluit:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.mobiel-menu-sluit svg {
    width: 24px;
    height: 24px;
    display: block;
}

.mobiel-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px; 
}

.mobiel-menu-link {
    position: relative;
    font-size: 26px;
    font-weight: 500;
    color: #9a9a9a;
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s ease, transform 0.2s ease;
}

.mobiel-menu-link:hover {
    color: #1a1a1a;
    transform: translateX(4px);
}

.mobiel-menu-link.actief {
    color: #1a1a1a;
    font-weight: 700;
}

.mobiel-menu-link.actief::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1a1a1a;
}

.mobiel-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 32px; /* Afstand tussen de links en de onderkant-knoppen */
}

.menu-onderkant {
    margin-top: 10px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
}

.taal-opties {
    display: flex;
    gap: 18px;
}

.taal-knop {
    font-family: inherit;
    font-size: 15px; /* Verhoogd van 13px naar 15px */
    font-weight: 700;
    color: #9a9a9a;
    background: none;
    border: none;
    padding: 4px 2px;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.15s ease;
}

.taal-knop:hover {
    color: #1a1a1a;
    transform: translateY(-1px);
}

.taal-knop.actief {
    color: #1a1a1a;
}

.darkmode-toggle {
    position: relative;
    width: 52px;  /* Verhoogd van 46px naar 52px */
    height: 30px; /* Verhoogd van 26px naar 30px */
    border-radius: 999px;
    background: #1a1a1a;
    border: none;
    padding: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.darkmode-toggle-knop {
    width: 24px;  /* Verhoogd van 20px naar 24px */
    height: 24px; /* Verhoogd van 20px naar 24px */
    border-radius: 50%;
    background: #FFFFFF;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.darkmode-toggle[aria-checked="true"] .darkmode-toggle-knop {
    transform: translateX(22px); /* Aangepast op de nieuwe breedte */
}

.darkmode-toggle svg {
    width: 14px;  /* Verhoogd van 12px naar 14px */
    height: 14px;
    color: #1a1a1a;
    transition: opacity 0.2s ease;
}

.darkmode-toggle .icoon-zon {
    display: block;
}
.darkmode-toggle .icoon-maan {
    display: none;
}

.darkmode-toggle[aria-checked="true"] .icoon-zon {
    display: none;
}
.darkmode-toggle[aria-checked="true"] .icoon-maan {
    display: block;
}

.menu-desktop {
    display: none;
}

@media (min-width: 900px) {
    .menu-mobiel {
        display: none;
    }

    .menu-desktop {
        display: flex;
        align-items: center;
        gap: 32px;
    }
}