/* Haupt-Container des Headers */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.15); /* 15% Deckkraft */
    backdrop-filter: blur(10px); /* Glas-Effekt */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-85px); /* Startposition: fast versteckt */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover-Logik für Desktop */
.main-header:hover {
    transform: translateY(0);
}

/* Flex-Layout für den Inhalt */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 85px; /* Korrespondierend zum translateY */
}

/* Die drei Sektionen */
.header-section {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-section.center { justify-content: center; }
.header-section.right { justify-content: flex-end; }

/* Styling für Texte und Links */
.logo-text {
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    color: white;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-list a:hover { opacity: 1; }

/* Der sichtbare weiße Streifen (Handle) */
.header-handle {
    height: 12px;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    cursor: pointer;
}