/* =========================================================
   CIR — Combat Impact Rating
   Hauptdesign / Dark Tech Layout
   ========================================================= */

:root {
    --bg: #050811;
    --panel: #0b1020;
    --panel-light: #101831;
    --text: #f4f7ff;
    --muted: #9ca8c7;
    --accent: #4aa3ff;
    --accent-2: #ff9d2e;
    --border: rgba(255, 255, 255, 0.08);

    --sidebar-width: 280px;
}

/* Allgemeine Basis */
* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

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

    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;

    background:
        radial-gradient(circle at 20% 10%, rgba(74, 163, 255, 0.16), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(255, 157, 46, 0.08), transparent 28%),
        var(--bg);
}

/* =========================================================
   Linke Sidebar Navigation
   ========================================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;

    width: var(--sidebar-width);
    height: 100vh;

    padding: 28px 22px;

    display: flex;
    flex-direction: column;

    background: rgba(5, 8, 17, 0.94);
    border-right: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.sidebar-brand {
    padding-bottom: 28px;
    margin-bottom: 18px;

    border-bottom: 1px solid var(--border);
}

.sidebar-logo {
    display: block;

    color: var(--accent);
    font-size: 1.9rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.sidebar-subtitle {
    display: block;

    margin-top: 8px;

    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-nav a {
    display: block;

    padding: 12px 14px;

    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;

    border-radius: 10px;
    border: 1px solid transparent;

    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.sidebar-nav a:hover {
    color: var(--text);
    background: rgba(74, 163, 255, 0.08);
    border-color: rgba(74, 163, 255, 0.18);
}

.sidebar-nav a.active {
    color: var(--text);
    background: linear-gradient(
        135deg,
        rgba(74, 163, 255, 0.22),
        rgba(74, 163, 255, 0.06)
    );
    border-color: rgba(74, 163, 255, 0.35);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 18px;

    color: var(--accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;

    border-top: 1px solid var(--border);
}

/* =========================================================
   Seitenlayout neben Sidebar
   ========================================================= */

.hero,
.container,
footer {
    margin-left: var(--sidebar-width);
}

/* =========================================================
   Hero Bereich
   ========================================================= */

.hero {
    min-height: auto;

    padding: 46px 80px 18px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    width: calc(100% - var(--sidebar-width));
    max-width: none;
}

.badge {
    width: fit-content;

    padding: 8px 14px;
    margin-bottom: 18px;

    border: 1px solid rgba(74, 163, 255, 0.35);
    border-radius: 999px;

    color: var(--accent);
    background: rgba(74, 163, 255, 0.08);

    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1 {
    margin: 0;

    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-title-main {
    display: block;

    font-size: clamp(3rem, 7.2vw, 6.4rem);

    white-space: nowrap;
}

.hero-title-sub {
    display: block;

    margin-top: 0.12em;

    font-size: clamp(1.7rem, 3.6vw, 3.25rem);
    letter-spacing: -0.045em;

    color: var(--text);

    white-space: nowrap;
}

.hero p {
    max-width: 760px;

    margin: 22px 0 24px;

    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.5;
}

.btn {
    width: fit-content;

    padding: 13px 24px;

    border-radius: 8px;

    color: #06101e;
    background: linear-gradient(135deg, var(--accent), #8ed0ff);

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

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(74, 163, 255, 0.22);
}

/* =========================================================
   Content Bereich
   ========================================================= */

.container {
    padding: 8px 80px 34px;
}

.container h2 {
    text-align: center;

    font-size: 2.4rem;
    margin-bottom: 48px;
}

.intro-panel {
    width: 100%;
    max-width: none;
    margin: 0;

    padding: 28px 36px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background:
        linear-gradient(180deg, rgba(16, 24, 49, 0.88), rgba(11, 16, 32, 0.82));

    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.intro-kicker {
    margin-bottom: 10px;

    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.intro-panel h2 {
    margin: 0 0 14px;

    text-align: left;
    font-size: clamp(1.65rem, 2.6vw, 2.45rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.intro-panel p {
    max-width: 1180px;

    margin: 0 0 10px;

    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.intro-status {
    width: 100%;

    margin-top: 16px;
    padding: 12px 16px;

    border: 1px solid rgba(74, 163, 255, 0.22);
    border-radius: 14px;

    background: rgba(74, 163, 255, 0.07);
}

.intro-status span {
    display: block;

    margin-bottom: 5px;

    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.intro-status strong {
    color: var(--text);
    font-size: 0.96rem;
}

.intro-status span {
    display: block;

    margin-bottom: 6px;

    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.intro-status strong {
    color: var(--text);
    font-size: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 22px;
}

.card {
    min-height: 230px;

    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: linear-gradient(180deg, var(--panel-light), var(--panel));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.card h3 {
    margin-top: 0;

    color: var(--accent-2);
}

.card p {
    color: var(--muted);
    line-height: 1.6;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
    padding: 42px 80px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* =========================================================
   Sidebar Rechtliches
   ========================================================= */

.sidebar-status {
    display: block;

    margin-bottom: 14px;

    color: var(--accent);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.sidebar-legal {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-legal a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
}

.sidebar-legal a:hover,
.sidebar-legal a.active {
    color: var(--text);
}

/* =========================================================
   Rechtliche Unterseiten
   ========================================================= */

.legal-page {
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    padding: 70px 80px;

    color: var(--text);
}

.legal-panel {
    max-width: 980px;

    padding: 38px 42px;

    border: 1px solid var(--border);
    border-radius: 22px;

    background:
        linear-gradient(180deg, rgba(16, 24, 49, 0.88), rgba(11, 16, 32, 0.82));

    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.legal-panel h1 {
    margin: 0 0 24px;

    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.legal-placeholder {
    margin-bottom: 34px;

    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.legal-block {
    padding-top: 22px;
    margin-top: 22px;

    border-top: 1px solid var(--border);
}

.legal-block h2 {
    margin: 0 0 12px;

    color: var(--text);
    font-size: 1.25rem;
}

.legal-block p {
    margin: 0;

    color: var(--muted);
    line-height: 1.65;
}

/* =========================================================
   Responsive Anpassungen
   ========================================================= */

@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .legal-page {
    margin-left: 0;
    padding: 40px 24px;
}
}

@media (max-width: 900px) {
    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 20px;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-brand {
        padding-bottom: 18px;
        margin-bottom: 14px;
    }

    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .sidebar-footer {
        display: none;
    }

    .hero,
    .container,
    footer {
        margin-left: 0;
        width: 100%;
    }

    .hero {
        min-height: auto;
        padding: 80px 24px;
    }

    .container {
        padding: 70px 24px;
    }

    footer {
        padding: 36px 24px;
    }

    .hero-title-main,
    .hero-title-sub {
        white-space: normal;
    }
}

@media (max-width: 680px) {
    .hero-title-main {
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }

    .hero-title-sub {
        font-size: clamp(1.6rem, 7vw, 2.6rem);
    }

    .hero p {
        font-size: 1.05rem;
    }

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

    footer {
        flex-direction: column;
    }
}