.pill-nav-container-825efe94 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px 6px 20px;
    background: transparent;
    border-radius: 50px;
    position: relative;
    z-index: 100;
    gap: clamp(14px, calc(-8.86px + 2.232vw), 34px);
}

.pill-nav-left-825efe94, .pill-nav-right-825efe94 {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.header-logo-icon {
    height: clamp(56px, calc(42.29px + 1.339vw), 68px) !important;
    width: auto !important;
    display: block;
}

.header-logo-text {
    font-size: clamp(48px, calc(29.71px + 1.831vw), 64px);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    color: var(--e-global-color-primary, #000);
    white-space: nowrap;
}

.pill-nav-center-825efe94 {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

/* Wrapper holds: nav-de OR nav-en (whichever language is active) + the flag,
   all on one flex row, vertically centered against each other. */
.pill-nav-menu-wrapper-825efe94 {
    display: flex;
    align-items: center;
    gap: clamp(14px, calc(-8.86px + 2.232vw), 34px);
}

.nav-de, .nav-en {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(14px, calc(-8.86px + 2.232vw), 34px);
}

.pill-nav-menu-item-825efe94 {
    text-decoration: none;
    color: var(--e-global-color-primary, #000);
    font-weight: 500;
    font-size: clamp(19px, calc(8.43px + 1.165vw), 26px);
    line-height: 1;
    display: inline-block;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.pill-nav-text-825efe94 {
    display: block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.pill-nav-text-825efe94::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    transform: translateY(0);
    width: 100%;
}

.pill-nav-menu-item-825efe94:hover .pill-nav-text-825efe94 {
    transform: translateY(-100%);
}

.pill-nav-menu-item-825efe94:hover,
.pill-nav-menu-item-825efe94:hover .pill-nav-text-825efe94 {
    color: var(--e-global-color-primary, #000) !important;
}

.flag-icon-link-825efe94 {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.flag-icon-825efe94 {
    color: var(--e-global-color-primary, #000);
    font-size: clamp(19px, calc(8.43px + 1.165vw), 26px);
}

.pill-nav-cta-825efe94 {
    background: #fff;
    color: var(--e-global-color-primary, #000);
    font-size: clamp(14px, calc(6.36px + 0.831vw), 21px);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--e-global-color-primary, #000);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.pill-nav-cta-825efe94:hover {
    background: var(--e-global-color-primary, #000) !important;
    color: #fff !important;
}

/* ===== Narrow: nav links wrap into 2 rows of 2.
   Header pill itself is untouched in shape — but logo shrinks and
   nav hugs left instead of floating centered, to reclaim space. */

@media (max-width: 1200px) {
    .header-logo-link {
        gap: 0;
    }
    .header-logo-text {
        font-size: 41px;
    }
    .header-logo-icon {
        height: 41px !important;
    }
    .pill-nav-center-825efe94 {
        justify-content: center;
    }
    .nav-de, .nav-en {
        display: grid;
        grid-template-columns: repeat(2, auto);
        row-gap: 4px;
        column-gap: clamp(14px, calc(-8.86px + 2.232vw), 34px);
        justify-content: center;
    }
}


/* ===== Mobile: no hamburger — logo text hides, everything else floors at its clamp minimum ===== */

@media (max-width: 768px) {
    .header-logo-text {
        display: none;
    }

    .pill-nav-container-825efe94 {
        padding: 8px 0 8px 14px;
        gap: 10px;
    }

    .nav-de, .nav-en {
        row-gap: 4px;
        column-gap: 14px;
    }
}