/* ============================================================
   1. RESET & BASIS
   ============================================================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    list-style: none !important; 
    text-decoration: none !important; 
}

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    background-color: #929397; 
    min-height: 100vh; 
    overflow-x: hidden; 
}

/* ============================================================
   2. HEADER & NAVIGATION (POSITION & CONTAINER)
   ============================================================ */
header { 
    position: fixed; 
    top: 30px; 
    right: 40px !important; 
    z-index: 10000; 
    display: flex;
    justify-content: flex-end;
}

.main-menu { 
    display: flex !important; 
    align-items: center !important; 
    justify-content: flex-end !important; 
    gap: 0 !important; 
}

.main-menu li { 
    width: 180px !important; 
    position: relative; 
    display: flex; 
    justify-content: center; 
    margin-right: -1px !important; /* DEIN GOLD-WERT */
}

/* --- DER UNSICHTBARE PILLEN-SCHILD (4,7 CM / 180PX) --- */
.main-menu li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 180px;
    height: 80px;
    z-index: 50; 
    cursor: pointer;
    background: transparent;
}

/* SPEZIAL-EBENE FÜR SPRACHE (Z-INDEX VORFAHRT) */
.nav-lang-container {
    z-index: 100 !important;
}

.main-menu li:last-child { 
    margin-right: 0 !important; 
}

/* ============================================================
   3. ADOBE RVE 2.0 BUTTONS (OPTIK OHNE FUNKTION)
   ============================================================ */
.nav-home, 
.nav-chat, 
.nav-lang {
    display: block !important; 
    width: 320px !important; 
    height: 80px !important;
    background-size: contain !important; 
    background-repeat: no-repeat !important; 
    background-position: center !important;
    font-size: 0 !important; 
    color: transparent !important; 
    border: none !important;
    background-color: transparent !important; 
    transition: transform 0.2s ease-in-out !important; 
    flex-shrink: 0 !important;
    pointer-events: none !important; /* Ignoriert die Maus */
}

.nav-home { background-image: url('../img/btn_home_rve.webp') !important; }
.nav-chat { background-image: url('../img/btn_chat_rve.webp') !important; }
.nav-lang { background-image: url('../img/btn_langu_rve.webp') !important; }

/* KOPPLUNG: Hover auf Schild skaliert das Bild */
.main-menu li:hover .nav-home,
.main-menu li:hover .nav-chat,
.main-menu li:hover .nav-lang { 
    transform: scale(1.05) !important; 
}

/* ============================================================
   4. USER-CONTAINER (DER 1,4 CM / 54PX SCHILD)
   ============================================================ */
.user-container {
    width: 80px !important; 
    height: 80px !important; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: center !important;
    flex-shrink: 0 !important; 
    margin-left: -61px !important; /* DEIN GOLD-WERT */
    z-index: 10 !important; /* Niedriger als Sprache */
}

/* PRÄZISIONS-SCHILD FÜR USER (RECHTSBÜNDIG & SCHMAL) */
.user-container::before {
    left: auto !important;
    right: 0 !important;
    width: 54px !important; /* DEINE 1,4 CM MESSUNG */
    height: 80px;
}

.user-circle {
    display: block !important; 
    width: 52px !important; 
    height: 52px !important;
    background-image: url('../img/btn_user_icon_20260309_0657.webp') !important;
    background-size: contain !important; 
    background-repeat: no-repeat !important; 
    background-position: center !important;
    background-color: transparent !important; 
    border: none !important; 
    transition: transform 0.2s ease-in-out !important; 
    pointer-events: none !important;
}

.user-container:hover .user-circle {
    transform: scale(1.05) !important;
}

/* ============================================================
   5. DROPDOWNS (STABILITÄT & LINKSBÜNDIG)
   ============================================================ */
.has-dropdown { 
    position: relative; 
}

.dropdown-menu {
    display: none; 
    position: absolute; 
    top: 80px; 
    background: rgba(255, 255, 255, 0.1) !important; 
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 15px; 
    padding: 10px 0; 
    z-index: 11000;
    width: 180px !important; 
    flex-direction: column !important; 
    align-items: flex-start !important;
    pointer-events: auto !important; /* Menü muss anklickbar sein */
}

.dropdown-menu li { 
    width: 100% !important; 
    margin: 0 !important; 
}

/* Reset für Dropdown-li (brauchen keinen Schild-Effekt) */
.dropdown-menu li::before {
    display: none !important;
}

.user-container .dropdown-menu { 
    right: 0 !important; 
    width: 150px !important; 
}

.nav-lang-container .dropdown-menu { 
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.has-dropdown:hover > .dropdown-menu { 
    display: flex !important; 
}

.sub-submenu { 
    display: flex !important; 
    flex-direction: column !important;
    width: 100% !important; 
}

.dropdown-menu li a { 
    display: block !important; 
    padding: 10px 20px !important; 
    color: #ffffff !important; 
    font-size: 0.85em; 
    text-align: left !important; 
    transition: 0.3s; 
    pointer-events: auto !important;
}

.dropdown-menu li a:hover { 
    background: rgba(255, 255, 255, 0.15); 
    padding-left: 25px !important; 
}

.sub-submenu li a { 
    padding-left: 35px !important; 
    font-style: italic; 
    opacity: 0.8; 
    font-size: 0.8em !important; 
}

/* ============================================================
   6. MAIN-CONTENT (LEGACY TYPOGRAFIE)
   ============================================================ */
main { 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: center; 
    height: 100vh; 
    padding-top: 25vh; 
    text-align: center; 
    color: #fff; 
}

main h1 { 
    font-family: "Centaur MT Std", "Centaur", serif; 
    font-size: clamp(2rem, 8vw, 5rem); 
    font-weight: normal; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.4); 
    margin: 0 auto; 
}

.bio-container { 
    max-width: 750px; 
    width: 90%; 
    margin: 50px auto 0 auto; 
    text-align: left; 
}

.bio-container p { 
    font-family: 'Segoe UI', Arial, sans-serif !important; 
    font-size: 1.2em !important; 
    color: #dddddd !important; 
    margin-top: 10px !important; 
    line-height: 1.9 !important; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2) !important; 
}

/* ============================================================
   7. FOOTER
   ============================================================ */
footer { 
    position: fixed; 
    bottom: 30px; 
    width: 100%; 
    text-align: center; 
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.85em; 
}

footer a { 
    color: rgba(255, 255, 255, 0.6) !important; 
    text-decoration: underline; 
    transition: color 0.3s ease; 
}

footer a:hover { 
    color: #fff !important; 
}