/* ==========================================================
   NOCTIVARIS COMMUNITY – INFORMATION PAGES
   Eigenständiges vollständiges Dark Design
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #09090e;
}

body {
    min-height: 100vh;
    margin: 0;
    color: #dedbe3;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(112, 20, 38, .20), transparent 48%),
        radial-gradient(ellipse at 0% 60%, rgba(65, 15, 30, .10), transparent 45%),
        #09090e;
    font-family: Arial, Helvetica, sans-serif;
}

/* KOPFBEREICH */

body > header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 76px;
    padding: 0 max(5%, calc((100% - 1200px) / 2));
    background: rgba(13, 13, 19, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 5px 25px rgba(0,0,0,.3);
}

body > header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 5%;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240,68,89,.65), transparent);
}

body > header .logo {
    color: #f4f1f4;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 3px;
}

body > header .logo span {
    color: #f04459;
    text-shadow: 0 0 12px rgba(240,68,89,.65);
}

body > header .status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #85818e;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
}

body > header .status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #f04459;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(240,68,89,.8);
}

/* SEITENBEREICH */

.nv-legal-page {
    position: relative;
    width: min(1200px, calc(100% - 40px));
    min-height: 480px;
    margin: 0 auto 65px;
    padding: 48px 60px 55px;
    overflow: hidden;
    color: #dedbe3;
    background: linear-gradient(145deg, #191820 0%, #121219 55%, #101016 100%);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    box-shadow:
        0 25px 70px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.nv-legal-page::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #a91f38, #ff536a, #a91f38, transparent);
    box-shadow: 0 0 20px rgba(240,68,89,.4);
}

.nv-legal-page h1 {
    margin: 0 0 13px;
    color: #f6f3f6;
    font-size: clamp(30px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -.8px;
}

.nv-legal-page .lead {
    margin: 0 0 36px;
    color: #9995a3;
    font-size: 14px;
    line-height: 1.8;
}

.nv-legal-page h2 {
    margin: 32px 0 13px;
    padding-left: 13px;
    color: #f16a7b;
    font-size: 15px;
    font-weight: 700;
    border-left: 2px solid #f04459;
}

.nv-legal-page p {
    margin: 10px 0;
    color: #c7c3ce;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.nv-legal-page strong {
    color: #f0edf2;
}

.nv-legal-page a {
    color: #f08090;
    text-decoration: none;
    transition: color .2s ease;
}

.nv-legal-page a:hover {
    color: #ff5268;
}

.nv-legal-page ul {
    padding-left: 22px;
    color: #c7c3ce;
    font-size: 13px;
    line-height: 2;
}

.nv-legal-page li::marker {
    color: #f04459;
}

/* HINWEISE UND PLATZHALTER */

.nv-legal-page .nv-placeholder {
    color: #ffad83;
    font-weight: 600;
}

.nv-legal-page .nv-note {
    margin-top: 35px;
    padding: 17px 20px;
    color: #d4b4a8;
    background: rgba(255,145,90,.055);
    border: 1px solid rgba(255,145,90,.22);
    border-left: 3px solid #e78b66;
    border-radius: 6px;
}

/* BUTTONS */

.nv-legal-page .nv-legal-button {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 19px;
    color: #f5dfe3;
    background: rgba(240,68,89,.09);
    border: 1px solid rgba(240,68,89,.42);
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all .2s ease;
}

.nv-legal-page .nv-legal-button:hover {
    color: #fff;
    background: rgba(240,68,89,.20);
    border-color: #f04459;
    box-shadow: 0 0 20px rgba(240,68,89,.15);
}

/* FOOTER */

.nv-community-footer {
    width: 100%;
    margin-top: 30px;
    padding: 20px 20px;
    text-align: center;
    background: transparent;
    border-top: none;
}

.nv-footer-brand {
    margin-bottom: 17px;
    color: #e9e5eb;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.nv-footer-brand span {
    color: #f04459;
}

.nv-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin: 15px auto;
}

.nv-footer-links a {
    display: inline-block;
    padding: 8px 14px;
    color: #96939d;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 6px;
    font-size: 11px;
    text-decoration: none;
    transition: .2s ease;
}

.nv-footer-links a:hover {
    color: #f04459;
    background: rgba(240,68,89,.09);
    border-color: rgba(240,68,89,.45);
}

.nv-footer-copy {
    margin-top: 18px;
    color: #696672;
    font-size: 10px;
    letter-spacing: .5px;
}

/* MOBILE */

@media (max-width: 650px) {
    body > header {
        min-height: 65px;
        padding: 0 18px;
    }

    body > header .logo {
        font-size: 18px;
        letter-spacing: 2px;
    }

    body > header .status {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .nv-legal-page {
        width: calc(100% - 22px);
        min-height: 400px;
        margin: 27px auto 35px;
        padding: 30px 22px 38px;
    }

    .nv-legal-page h1 {
        font-size: 30px;
    }

    .nv-legal-page h2 {
        margin-top: 26px;
    }

    .nv-footer-links {
        gap: 8px;
    }
}


/* Gemeinsame Community-Navigation auf öffentlichen Informationsseiten */
.nv-public-nav {
    width: min(1100px, calc(100% - 36px));
    margin: 22px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}
.nv-public-nav-label {
    width: 100%;
    text-align: center;
    color: #a7a0a5;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 3px;
}
.nv-public-nav > a,
.nv-public-nav-actions > a {
    display: inline-block;
    padding: 9px 14px;
    color: #e9e5e7;
    text-decoration: none;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 6px;
    font-size: 13px;
    transition: .2s ease;
}
.nv-public-nav > a:hover,
.nv-public-nav-actions > a:hover {
    color: #fff;
    border-color: #c51d35;
    background: rgba(197,29,53,.16);
}
.nv-public-guest {
    width: 100%;
    padding: 17px 20px;
    text-align: center;
    color: #d8d2d5;
    background: rgba(197,29,53,.08);
    border: 1px solid rgba(197,29,53,.28);
    border-radius: 8px;
}
.nv-public-guest strong,
.nv-public-guest span {
    display: block;
}
.nv-public-guest strong {
    color: #f0e9ec;
    margin-bottom: 6px;
}
.nv-public-guest span {
    color: #aaa2a7;
    font-size: 13px;
    line-height: 1.6;
}
.nv-public-nav-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 13px;
}
.nv-public-nav-actions a:last-child {
    border-color: rgba(197,29,53,.55);
    background: rgba(197,29,53,.16);
}


/* NOCTIVARIS LEGAL PREMIUM BOX LAYOUT */
.nv-legal-page {
    width: min(1200px, calc(100% - 40px));
    min-height: 0;
    margin: 0 auto 65px;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.nv-legal-page::before { content: none; }
.nv-legal-heading {
    margin: 0 0 20px;
    text-align: left;
}
.nv-legal-heading h1 { margin: 8px 0 10px; }
.nv-legal-content-box {
    position: relative;
    padding: 30px 34px 36px;
    color: #dedbe3;
    background: linear-gradient(145deg, #191820 0%, #121219 55%, #101016 100%);
    border: 1px solid rgba(240,68,89,.22);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.025);
}
.nv-legal-content-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240,68,89,.65), transparent);
}
@media (max-width: 650px) {
    .nv-legal-page {
        width: calc(100% - 22px);
        margin: 27px auto 35px;
    }
    .nv-legal-content-box { padding: 22px 20px 28px; }
}

/* ==========================================================
   LEGAL PAGES – NOCTIVARIS PREMIUM DESIGN
   ========================================================== */

.nv-legal-page {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto 65px;
    padding: 0;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.nv-legal-page::before {
    display: none;
}

.nv-legal-page .nv-legal-heading {
    position: relative;
    overflow: hidden;
    margin: 0 0 24px;
    padding: 25px 28px;
    background: linear-gradient(145deg, #191923, #101117);
    border: 1px solid rgba(197,29,53,.30);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,.24),
                0 0 25px rgba(197,29,53,.05);
}

.nv-legal-page .nv-legal-heading::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff0f2, #ff405b, transparent);
    box-shadow: 0 0 14px 2px rgba(255,55,80,.55);
    animation: nvLegalWelcomeLight 4s ease-in-out infinite;
}

@keyframes nvLegalWelcomeLight {
    from { transform: translateX(-110%); }
    to   { transform: translateX(440%); }
}

.nv-legal-page .nv-legal-heading .nv-page-eyebrow {
    margin: 0 0 9px;
    color: #f04459;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nv-legal-page .nv-legal-heading h1 {
    margin: 0 0 9px;
    color: #f2f0f3;
    font-size: clamp(25px, 3vw, 35px);
    font-weight: 900;
    letter-spacing: 3px;
    line-height: 1.2;
}

.nv-legal-page .nv-legal-heading .nv-page-subtitle {
    margin: 0;
    color: #9999a7;
    font-size: 11px;
    letter-spacing: 1.5px;
    line-height: 1.6;
}

.nv-legal-page .nv-legal-content-box {
    position: relative;
    overflow: hidden;
    padding: 32px 36px 40px;
    background: linear-gradient(145deg, #171820, #101116);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0,0,0,.24),
                inset 0 1px 0 rgba(255,255,255,.025);
}

.nv-legal-page .nv-legal-content-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a91f38, #ff536a, #a91f38, transparent);
    box-shadow: 0 0 16px rgba(240,68,89,.25);
}

.nv-legal-page .nv-legal-content-box h2 {
    color: #f16a7b;
    border-left-color: #f04459;
}

@media (prefers-reduced-motion: reduce) {
    .nv-legal-page .nv-legal-heading::before {
        animation: none;
    }
}

@media (max-width: 650px) {
    .nv-legal-page {
        width: calc(100% - 22px);
        margin: 0 auto 35px;
    }

    .nv-legal-page .nv-legal-heading {
        padding: 20px 17px;
        margin-bottom: 18px;
    }

    .nv-legal-page .nv-legal-content-box {
        padding: 24px 20px 30px;
    }
}

/* Den hellen roten Verlaufsbalken am Header entfernen */
body > header::after {
    display: none !important;
    content: none !important;
}
