# /opt/webapps/schubees/static/pages/css/layout.css
# Version: 1.4.4 - MENU + LINKS GELB FINAL

/* =========================================================
   0. GLOBAL
   ========================================================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #020b17 url("../img/astronom.jpg") no-repeat center top fixed;
    background-size: cover;
    color: #e6f1ff;
}

/* =========================================================
   1. HEADER
   ========================================================= */
.site-header {
    background: rgba(5, 25, 55, 0.95);
    border-bottom: 1px solid rgba(120,180,255,0.3);
    width: 100%;
    position: relative;
    z-index: 10000;
}

.header-inner {
    max-width: 1300px;
    margin: auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
}

footer {
    text-align: center;
}

/* =========================================================
   2. NAVIGATION – STABIL & REKURSIV
   ========================================================= */

/* Reset */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Ebene 1 horizontal */
.main-nav > ul {
    display: flex;
    gap: 1.5rem;
}

/* LI Referenz */
.main-nav li {
    position: relative;
}

/* Links */
.main-nav a {
    display: block;
    padding: 0.6rem 0.9rem;
    color: #cfe6ff;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}

.main-nav a:hover {
    color: #ffffff;
}

/* Submenüs (alle Ebenen) */
.main-nav li > ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    min-width: 220px;
    background: rgba(5, 25, 55, 0.98);
    border: 1px solid rgba(120,180,255,0.25);
    z-index: 9999;
}

/* Hover öffnen */
.main-nav li:hover > ul {
    display: block;
}

/* Ab Ebene 2 nach rechts */
.main-nav li ul li > ul {
    top: 0;
    left: 100%;
    margin-left: -20px;
}

/* Dreiecke Ebene 1 (▼) */
.main-nav > ul > li.has-children > a::after {
    content: "";
    margin-left: 6px;
    display: inline-block;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #ffd700;
}

/* Dreiecke ab Ebene 2 (▶) */
.main-nav li ul li.has-children > a::after {
    content: "";
    margin-left: 6px;
    display: inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #ffd700;
}

/* =========================================================
   3. LINKS & INHALTSBEREICH
   ========================================================= */

/* Standard-Links im Content */
a {
    color: #2bbec3;
    text-decoration: underline;
}

/* ================================
   LINKS-SEITE – FARBLOGIK
   ================================ */

/* HAUPTÜBERSCHRIFTEN (türkis) */
.site-main h1,
.site-main h2 {
    color: #2bbec3;
}

/* KATEGORIE-ÜBERSCHRIFTEN (gelb) */
.site-main h3,
.site-main h4 {
    color: #ffd700;
    font-weight: 600;
}

/* EINZELNE LINKS */
.site-main a {
    color: #2bbec3;
}

/* =========================================================
   5. CONTENT CONTAINER
   ========================================================= */
.site-main {
    max-width: 1000px;
    margin: 40px auto;
    padding: 30px 40px;
    background: rgba(3, 15, 35, 0.8);
    border-radius: 10px;
}

/* =========================================================
   6. USER BOX
   ========================================================= */
.user-box {
    margin-left: auto;
}

.user-box a {
    color: #ffd84d;
    text-decoration: none;
}

/* =========================================================
   7. SICHERHEITSABSCHALTUNG (KEINE MOBIL-TOGGLES)
   ========================================================= */
#menu-toggle,
.menu-icon,
input[type="checkbox"],
label[for="menu-toggle"] {
    display: none !important;
}
