/* === Layout: Header === */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#Logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#Logo img {
    height: 5rem;
    max-width: 22rem;
    object-fit: contain;
}

@media (max-width: 48rem) {
    #Logo img {
        width: 80%;
        height: auto;
        max-width: 12rem;
    }
}

/* === Layout: Soziale Medien === */
.social-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.linkedin-logo {
    height: 6rem;
    width: 6rem;
    object-fit: contain;
    cursor: pointer;
}

.vertical-bar {
    width: 0.1rem;
    height: 3rem;
    background-color: #000;
}

@media (max-width: 48rem) {
    .vertical-bar,
    .social-wrapper .linkedin-logo {
        display: none;
    }
}

/* === 🌐 NEW LANGUAGE SWITCHER (DESKTOP) === */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.lang-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    border: 1px solid #0065E6;
    background: white;
    color: #0065E6;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.lang-pill:hover {
    background: #0065E6;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* === 📱 MOBILE ALTERNATIVE DESIGN === */
@media (max-width: 48rem) {

    .lang-switcher {
        display: flex;
        gap: 0.3rem;
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .lang-pill {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
        border-radius: 12px;
        border-width: 1.5px;
    }
}

/* === Menü-Button === */
#menu-button {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* === Navigation === */
nav#menu {
    display: flex;
    align-items: center;
    width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    width: 100%;
    text-align: center;
}

nav li {
    margin-bottom: 1rem;
}

.hidden {
    display: none !important;
}

@media (min-width: 48rem) {
    header {
        flex-wrap: nowrap;
    }

    #menu {
        display: flex !important;
        width: auto;
    }

    #menu-button {
        display: none;
    }

    nav ul {
        display: flex;
        gap: 2rem;
        margin: 2rem;
        justify-content: flex-end;
        align-items: center;
    }

    nav li {
        margin: 0;
    }
}

/* Navigation Links */
nav li a {
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    color: #000;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    z-index: 1;
}

@media (max-width: 48rem) {
    nav li a {
        font-size: 1.0rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 0.1rem;
    }
}

/* Underline hover effect */
nav li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #0065E6;
    transition: width 0.4s ease;
}

nav li a:hover::after {
    width: 100%;
}

/* Text shimmer */
nav li a:hover {
    background: linear-gradient(90deg, #000000 35%, #0065E6 80%, #000000 100%, #000000 200%);
    background-size: 200%;
    background-position: 0%;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: navTextShimmer 2s linear 1 forwards;
}

@keyframes navTextShimmer {
    0% { background-position: 200%; }
    100% { background-position: 0%; }
}

/* Footer */
footer {
    background-color: #f0f0f0;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 2;
}

.footer-left {
    width: 100%;
}

.footer-right {
    width: 100%;
    text-align: center;
}
