/* --------------------------------------------------
   Nexus
   Grunddesign
   -------------------------------------------------- */


/* ---------- Grundeinstellungen ---------- */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #11151c;
    color: #e8ecf1;
}

a {
    color: inherit;
}


/* ---------- Gesamtes Seitenlayout ---------- */

.site-wrapper {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}



/* ---------- Header / Nexus-Banner ---------- */

.site-header {
    width: 100%;
    height: 250px;

    overflow: hidden;

    background: #0b1018;
    border-bottom: 1px solid #2a313d;
}

.site-banner {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}


/* ---------- Hauptlayout ---------- */

.site-layout {
    flex: 1;

    display: flex;
}


/* ---------- Navigation ---------- */

.sidebar {
    width: 230px;
    flex-shrink: 0;

    padding: 26px 16px;

    background: #151a22;
    border-right: 1px solid #2a313d;
}

.sidebar-section {
    margin-bottom: 28px;
}

.sidebar-heading {
    display: block;

    margin: 0 10px 10px;

    color: #778294;

    font-size: 12px;
    font-weight: bold;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    display: block;

    margin-bottom: 4px;
    padding: 11px 12px;

    border-radius: 7px;

    color: #cbd3df;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-link:hover {
    background: #202733;
    color: #ffffff;
}

.nav-link.active {
    background: #27334d;
    color: #ffffff;
}


/* ---------- Hauptinhalt ---------- */

.main-content {
    position: relative;

    width: 100%;
    min-height: 720px;

    padding: 50px;

    overflow: hidden;

    background-color: #11151c;
    background-image:
        linear-gradient(
            90deg,
            rgba(17, 21, 28, 0.20) 0%,
            rgba(17, 21, 28, 0.10) 55%,
            rgba(17, 21, 28, 0.05) 100%
        ),
        url("/assets/images/nexus-content-background.webp");

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* ---------- Nexus Branding im Hintergrund ---------- */

.content-branding {
    position: absolute;

    right: 34px;
    bottom: 30px;

    z-index: 0;

    color: rgba(130, 165, 220, 0.55);

    text-align: left;

    pointer-events: none;
    user-select: none;
}

.content-branding-words {
    display: flex;
    flex-direction: column;

    margin-bottom: 18px;

    font-size: 17px;
    font-style: italic;
    line-height: 1.35;
}

.content-branding-line {
    width: 46px;
    height: 2px;

    margin-bottom: 18px;

    background: #4c78ff;
}

.content-branding-name {
    color: rgba(130, 150, 185, 0.50);

    font-size: 11px;
    line-height: 1.7;

    letter-spacing: 4px;
}


/* Inhalt über dem Hintergrund halten */

.welcome,
.feature-section,
.development-note {
    position: relative;
    z-index: 1;
}


/* ---------- Willkommen ---------- */

.welcome {
    max-width: 900px;

    margin-bottom: 55px;
}

.welcome-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #7f9cff;

    font-size: 14px;
    font-weight: bold;
}

.welcome h2 {
    max-width: 800px;

    margin: 0 0 18px;

    font-size: 42px;
    line-height: 1.15;
}

.welcome-intro {
    max-width: 760px;

    margin: 0;

    color: #aeb8c6;

    font-size: 18px;
    line-height: 1.7;
}


/* ---------- Buttons ---------- */

.welcome-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}

.button {
    display: inline-block;

    padding: 12px 18px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: bold;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: #4c78ff;
    color: #ffffff;
}

.button-primary:hover {
    background: #5d86ff;
}

.button-secondary {
    background: #242b36;
    color: #dce2eb;
}

.button-secondary:hover {
    background: #303846;
}


/* ---------- Funktionen ---------- */

.feature-section {
    max-width: 1050px;
}

.feature-section h3 {
    margin: 0 0 22px;

    font-size: 24px;
}

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.feature-card {
    padding: 24px;

    border: 1px solid #2a313d;
    border-radius: 12px;

    background: #171c25;
}

.feature-card h4 {
    margin: 0 0 10px;

    font-size: 18px;
}

.feature-card p {
    margin: 0;

    color: #9da8b7;

    line-height: 1.6;
}


/* ---------- Entwicklungs-Hinweis ---------- */

.development-note {
    max-width: 1050px;

    margin-top: 30px;
    padding: 20px 22px;

    border: 1px solid #35405a;
    border-radius: 10px;

    background: #1a2130;
}

.development-note strong {
    display: block;

    margin-bottom: 7px;
}

.development-note p {
    margin: 0;

    color: #aeb8c6;
}


/* ---------- Footer ---------- */

.site-footer {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 32px;

    background: #12171e;
    border-top: 1px solid #2a313d;

    color: #788393;

    font-size: 13px;
}

.site-footer p {
    margin: 0;
}


/* ---------- Responsive ---------- */

@media (max-width: 800px) {

    .site-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;

        border-right: 0;
        border-bottom: 1px solid #2a313d;
    }

    .main-content {
        padding: 32px 22px;
    }

    .welcome h2 {
        font-size: 34px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 500px) {

    .site-header {
        padding: 16px 20px;
    }

    .site-logo {
        width: 46px;
        height: 46px;
    }

    .main-content {
        padding: 28px 18px;
    }

    .welcome h2 {
        font-size: 29px;
    }

    .welcome-intro {
        font-size: 16px;
    }

    .site-footer {
        flex-direction: column;

        padding: 18px 20px;
    }

}