/* Inter Variable – lokal vom eigenen Webserver ausgeliefert.
   Installation: scripts/install-inter.sh auf dem Server ausführen. */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

/* ==========================================
   NexurionWeb 1.0
   Globales Stylesheet
   ========================================== */

/* --- Farbpalette und Variablen --- */
:root {
    --bg-primary: #0b0914;
    --bg-secondary: #110d1e;
    --bg-card: #171224;
    --bg-card-hover: #21192f;

    --purple-primary: #9d4edd;
    --purple-light: #c77dff;
    --purple-dark: #6826a6;

    --text-primary: #f5f1ff;
    --text-secondary: #a79dbb;
    --text-muted: #756b88;

    --border-color: rgba(199, 125, 255, 0.16);
    --glass-bg: rgba(17, 13, 30, 0.85);

    --status-online: #45d69a;
    --status-offline: #ff657c;

    --shadow-glow: 0 0 28px rgba(157, 78, 221, 0.2);

    --container-width: 1200px;
    --header-height: 76px;
    --radius: 14px;
}

/* --- Grundformatierung --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

.section {
    padding: 85px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
}

.section-subtitle {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 15px;
}

/* --- Texteffekte --- */
.text-purple {
    color: var(--purple-light);
}

.text-gradient {
    background: linear-gradient(
        110deg,
        #ffffff,
        #c77dff,
        #9d4edd
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navigation --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-logo img {
    max-height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--purple-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-button {
    display: none;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: white;
    border-radius: 8px;
    padding: 8px 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--purple-primary),
        var(--purple-dark)
    );
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(157, 78, 221, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--purple-light);
    border-color: var(--purple-primary);
}

.btn-outline:hover {
    background: rgba(157, 78, 221, 0.12);
}

/* --- Hero / Startbereich --- */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background-color: var(--bg-primary);

    background-image:
        linear-gradient(
            90deg,
            #0b0914 0%,
            rgba(11, 9, 20, 0.98) 18%,
            rgba(11, 9, 20, 0.88) 35%,
            rgba(11, 9, 20, 0.45) 60%,
            rgba(11, 9, 20, 0.05) 100%
        ),
        linear-gradient(
            0deg,
            #0b0914 0%,
            transparent 35%
        ),
        url('/assets/images/hero-autumn.png');

    background-position:
        center,
        center,
        center 47%;

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

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(199, 125, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(199, 125, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
    mask-image: linear-gradient(
        to bottom,
        black,
        transparent
    );
}

.hero-content {
    position: relative;
    z-index: 1;

    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;

    padding: 95px 0 125px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 100px;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid var(--border-color);
    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    max-width: 780px;
    margin-top: 25px;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -2px;
}

.hero-description {
    max-width: 570px;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

/* --- Serverstatus --- */
.server-status {
    position: relative;
    z-index: 2;
    margin-top: -35px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.status-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.14);
}

.status-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value {
    display: block;
    margin-top: 7px;
    font-size: 22px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.status-indicator {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-indicator.online {
    background: var(--status-online);
    box-shadow: 0 0 12px var(--status-online);
}

.status-indicator.offline {
    background: var(--status-offline);
}

/* --- BlueMap --- */
.map-container {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow-glow);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: 0;
}

.map-placeholder {
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(157, 78, 221, 0.17),
            transparent 70%
        ),
        var(--bg-card);
}

.map-placeholder h3 {
    font-size: 24px;
}

.map-placeholder p {
    color: var(--text-secondary);
    max-width: 450px;
}

/* --- Karten / Features / News --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.card {
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(199, 125, 255, 0.45);
    box-shadow: var(--shadow-glow);
}

.card-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-category {
    color: var(--purple-light);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    margin-top: 8px;
}

.card-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 10px;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--purple-light);
    font-weight: 700;
    font-size: 13px;
}

/* --- Regelwerk-Teaser Startseite --- */
.rules-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(199, 125, 255, 0.28);
    background: linear-gradient(135deg, rgba(22, 16, 36, 0.98), rgba(31, 21, 49, 0.96));
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28), 0 0 32px rgba(157, 78, 221, 0.10);
}

.rules-teaser-media {
    position: relative;
    min-height: 420px;
    background: #110d1e;
}

.rules-teaser-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 9, 20, 0.06) 0%, rgba(11, 9, 20, 0.00) 52%, rgba(17, 13, 30, 0.65) 100%);
    pointer-events: none;
}

.rules-teaser-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rules-teaser-content {
    padding: 38px 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rules-teaser-title {
    margin-top: 16px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
}

.rules-teaser-description {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 520px;
}

.rules-teaser-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
}

.rules-teaser-highlight {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(199, 125, 255, 0.18);
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.10), rgba(17, 13, 30, 0.88));
}

.rules-teaser-highlight strong {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.rules-teaser-highlight span {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.rules-teaser-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 28px;
}

.rules-teaser-note {
    color: var(--text-muted);
    font-size: 13px;
}

/* --- Community-Teaser Startseite --- */
.community-teaser {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(199, 125, 255, 0.28);
    background: linear-gradient(135deg, rgba(22, 16, 36, 0.98), rgba(31, 21, 49, 0.96));
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28), 0 0 32px rgba(157, 78, 221, 0.10);
}

.community-teaser-media {
    position: relative;
    min-height: 420px;
    background: #110d1e;
}

.community-teaser-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 9, 20, 0.04) 0%, rgba(11, 9, 20, 0.00) 50%, rgba(17, 13, 30, 0.68) 100%);
    pointer-events: none;
}

.community-teaser-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-teaser-content {
    padding: 38px 38px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.community-teaser-title {
    margin-top: 16px;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
}

.community-teaser-description {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 520px;
}

.community-teaser-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
}

.community-teaser-highlight {
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(199, 125, 255, 0.18);
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.10), rgba(17, 13, 30, 0.88));
}

.community-teaser-highlight strong {
    display: block;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}

.community-teaser-highlight span {
    display: block;
    margin-top: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.55;
}

.community-teaser-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-top: 28px;
}

.community-teaser-note {
    color: var(--text-muted);
    font-size: 13px;
}

/* --- Footer --- */
.site-footer {
    padding: 55px 0 25px;
    background: #080610;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-brand {
    font-size: 24px;
    font-weight: 900;
    color: var(--purple-light);
}

.footer-description {
    max-width: 350px;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-title {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    margin-top: 45px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

/* --- Fokus / Barrierefreiheit --- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--purple-light);
    outline-offset: 4px;
}


/* ==========================================
   Nexurion BlueMap Integration
   ========================================== */
.bluemap-wrapper {
    overflow: hidden;
    border-radius: 18px;

    background: var(--bg-card);
    border: 1px solid rgba(199, 125, 255, 0.25);

    box-shadow:
        0 0 40px rgba(157, 78, 221, 0.10),
        0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Kopfbereich */
.bluemap-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    padding: 18px 24px;

    background: #171224;
    border-bottom: 1px solid var(--border-color);
}

.bluemap-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bluemap-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    font-size: 25px;

    border-radius: 12px;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid var(--border-color);
}

.bluemap-heading strong {
    display: block;
    color: var(--text-primary);
    font-size: 17px;
}

.bluemap-heading small {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
}

/* Kartenbereich */
.bluemap-content {
    position: relative;
    height: 530px;

    background: #0b0914;
}

.bluemap-content iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

/* Platzhalter */
.bluemap-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    padding: 35px;
    text-align: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(157, 78, 221, 0.22),
            transparent 65%
        ),
        linear-gradient(
            135deg,
            #120d21,
            #090710
        );
}

.bluemap-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 95px;
    height: 95px;

    border-radius: 24px;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid rgba(199, 125, 255, 0.3);

    font-size: 48px;
    margin-bottom: 25px;

    box-shadow: var(--shadow-glow);
}

.bluemap-placeholder h3 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin-bottom: 12px;
}

.bluemap-placeholder p {
    max-width: 460px;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 25px;
}

/* Statusanzeige */
.bluemap-pending {
    padding: 8px 15px;

    border-radius: 8px;
    background: rgba(157, 78, 221, 0.12);
    border: 1px solid var(--border-color);

    color: var(--purple-light);
    font-size: 12px;
    font-weight: 700;
}

/* Fußbereich */
.bluemap-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 24px;

    border-top: 1px solid var(--border-color);
    background: #171224;

    color: var(--text-muted);
    font-size: 12px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {

    .bluemap-topbar {
        padding: 15px;
        gap: 12px;
    }

    .bluemap-heading strong {
        font-size: 14px;
    }

    .bluemap-heading small {
        font-size: 11px;
    }

    .bluemap-topbar .btn {
        padding: 10px 12px;
        font-size: 11px;
    }

    .bluemap-content {
        height: 380px;
    }

    .bluemap-placeholder {
        padding: 20px;
    }

    .bluemap-placeholder-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .bluemap-footer {
        padding: 12px 15px;
        font-size: 11px;
    }

}


/* ==========================================
   Hero Server-Widget (IP + Live-Status)
   ========================================== */
.hero-server-widget {
    width: min(100%, 455px);
    margin-top: 32px;
}
.hero-server-address {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    background: rgba(23, 18, 36, 0.94);
    border: 1px solid rgba(199, 125, 255, .33);
    border-radius: 11px;
    box-shadow: 0 0 25px rgba(157, 78, 221, .12), 0 12px 30px rgba(0,0,0,.25);
}
.hero-server-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(157, 78, 221, .2);
    color: var(--purple-light);
}
.hero-server-icon svg { width: 28px; height: 28px; }
.hero-server-details { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.hero-server-label { color: var(--text-secondary); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.hero-server-ip { color: #fff; font-size: clamp(15px, 2vw, 19px); overflow-wrap: anywhere; line-height: 1.4; }
.hero-copy-button {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 41px;
    height: 41px;
    color: #fff;
    background: #292037;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: background .2s ease, box-shadow .2s ease;
}
.hero-copy-button svg { width: 19px; height: 19px; }
.hero-copy-button:hover { background: var(--purple-primary); box-shadow: var(--shadow-glow); }
.hero-copy-button.is-copied { background: #22865c; }
.hero-server-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.hero-stat-card {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 12px 9px;
    background: rgba(23, 18, 36, .94);
    border: 1px solid var(--border-color);
    border-radius: 9px;
}
.hero-stat-card .status-indicator { flex-shrink: 0; margin-right: 0; }
.status-indicator.unknown { background: #a79dbb; }
.hero-stat-icon { width: 23px; height: 23px; flex-shrink: 0; color: var(--purple-light); }
.hero-stat-text { display: flex; flex-direction: column; min-width: 0; }
.hero-stat-text strong { font-size: 11px; line-height: 1.35; color: #fff; }
.hero-stat-text small { font-size: 10px; line-height: 1.4; color: var(--text-secondary); }
.hero-map-button { margin-top: 20px; }
.hero-copy-feedback { display: block; min-height: 20px; margin-top: 6px; font-size: 12px; color: var(--status-online); }
@media (max-width: 480px) {
    .hero-server-widget { width: 100%; }
    .hero-server-stats { gap: 6px; }
    .hero-stat-card { padding: 10px 6px; gap: 5px; }
    .hero-stat-text strong { font-size: 10px; }
    .hero-stat-text small { font-size: 9px; }
    .hero-stat-icon { width: 18px; height: 18px; }
}

/* --- Tablet --- */
@media (max-width: 992px) {
    .nav-links {
        gap: 16px;
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .rules-teaser-media {
        min-height: 330px;
    }

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

    .community-teaser-media {
        min-height: 330px;
    }
}

/* --- Smartphone --- */
@media (max-width: 768px) {
    :root {
        --header-height: 66px;
    }

    .container {
        width: min(100% - 30px, var(--container-width));
    }

    .section {
        padding: 60px 0;
    }

    .mobile-menu-button {
        display: block;
    }

    .navbar {
        flex-wrap: wrap;
    }
	
	.nav-logo img {
		max-height: 44px;
	}

    .nav-links {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        padding: 22px;

        background: #110d1e;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);

        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
		min-height: 570px;

		background-image:
			linear-gradient(
				180deg,
				rgba(11, 9, 20, 0.58) 0%,
				rgba(11, 9, 20, 0.82) 45%,
				#0b0914 100%
			),
			url('/assets/images/hero-autumn.png');

		background-position:
			center,
			56% center;

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

    .hero-content {
		width: min(100% - 30px, var(--container-width));
		margin-inline: auto;
		padding: 90px 0 110px;
	}

    .hero-title {
		font-size: clamp(38px, 9vw, 58px);
        letter-spacing: -1px;
    }

    .hero-description {
		max-width: 100%;
        font-size: 15px;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .status-card {
        padding: 18px;
    }

    .server-status {
        margin-top: -40px;
    }

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

    .map-container,
    .map-placeholder {
        min-height: 340px;
    }

    .map-container iframe {
        height: 380px;
    }

    .community-teaser-content {
        padding: 26px 22px 24px;
    }

    .community-teaser-media {
        min-height: 250px;
    }

    .community-teaser-title {
        font-size: clamp(27px, 8vw, 36px);
    }

    .community-teaser-description {
        font-size: 14px;
    }

    .community-teaser-highlight {
        padding: 14px 15px;
    }

    .community-teaser-actions {
        align-items: flex-start;
        gap: 12px;
    }

    .rules-teaser-content {
        padding: 26px 22px 24px;
    }

    .rules-teaser-media {
        min-height: 250px;
    }

    .rules-teaser-title {
        font-size: clamp(27px, 8vw, 36px);
    }

    .rules-teaser-description {
        font-size: 14px;
    }

    .rules-teaser-highlight {
        padding: 14px 15px;
    }

    .rules-teaser-actions {
        align-items: flex-start;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
/* News-Detailansicht */
.news-article {
    max-width: 850px;
    margin: 24px auto 0;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.news-article-title { margin-top: 18px; }
.news-article-body {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-primary);
    line-height: 1.9;
    overflow-wrap: anywhere;
}


/* ==========================================
   NexurionWeb 1.0.5 – Minecraft Feature Cards
   ========================================== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.feature-card {
    --feature-accent: #bd7aff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(199,125,255,.22);
    border-radius: 16px;
    background: #171224;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--feature-accent);
    box-shadow: 0 18px 44px rgba(0,0,0,.28);
}
.feature-card--homes { --feature-accent: #8ae3a4; }
.feature-card--teleport { --feature-accent: #69e0ce; }
.feature-card--map { --feature-accent: #c77dff; }
.feature-card--hide { --feature-accent: #a9a1fb; }
.feature-card--back { --feature-accent: #ffca77; }
.feature-card--messages { --feature-accent: #79b9ff; }
.feature-visual {
    height: 142px;
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse at 50% 95%, color-mix(in srgb, var(--feature-accent) 25%, transparent), transparent 65%),
        linear-gradient(140deg, #21172e, #100d1e);
    border-bottom: 1px solid rgba(199,125,255,.12);
}
.feature-visual-grid {
    position: absolute;
    inset: 0;
    opacity: .3;
    background-image: linear-gradient(#8e759c30 1px, transparent 1px), linear-gradient(90deg,#8e759c30 1px,transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg,transparent,#000);
    z-index: -1;
}
.feature-visual-icon {
    font-size: 58px;
    line-height: 1;
    filter: drop-shadow(0 10px 13px #0009);
    transform: translateY(4px);
}
.feature-visual-number {
    position: absolute;
    right: 13px;
    bottom: 9px;
    font-size: 9px;
    letter-spacing: 1px;
    color: #bbb0c9;
    font-weight: 800;
}
.feature-body {
    padding: 22px 23px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.feature-eyebrow {
    color: var(--feature-accent);
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 800;
    text-transform: uppercase;
}
.feature-body h3 { font-size: 23px; line-height: 1.25; margin-top: 7px; }
.feature-tagline { color: #e4dcec; font-weight: 650; font-size: 13px; margin-top: 5px; }
.feature-description { color: var(--text-secondary); font-size: 13px; margin-top: 13px; line-height: 1.7; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.feature-chip {
    padding: 4px 9px;
    border-radius: 6px;
    color: #eee4fa;
    background: rgba(10,8,20,.6);
    border: 1px solid rgba(199,125,255,.18);
    font: 600 11px/1.5 ui-monospace, 'Cascadia Code', Consolas, monospace;
}
@media (max-width: 992px) { .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; gap: 16px; } .feature-visual { height: 125px; } }

/* NexurionWeb 1.0.7 – Cinematic Feature-Banner */
.feature-visual { height: 190px; display: block; overflow: hidden; background: #110d1e; }
.feature-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(11,9,20,.78) 100%); }
.feature-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .4s ease; }
.feature-card:hover .feature-visual img { transform: scale(1.045); }
.feature-visual-number { z-index: 2; color: #fff; text-shadow: 0 1px 8px #000; }
@media (max-width: 620px) { .feature-visual { height: 185px; } }
@media (prefers-reduced-motion: reduce) { .feature-card:hover .feature-visual img { transform: none; } }

/* NexurionWeb 1.0.8 – strukturierte Patchnotes */
.news-article-body { line-height: 1.85; }
.news-article-body h2 { margin: 34px 0 12px; color: var(--purple-light); font-size: clamp(19px, 2.5vw, 25px); line-height: 1.3; }
.news-article-body p { margin: 0 0 18px; }
.news-article-body ul { margin: 8px 0 24px; padding-left: 23px; }
.news-article-body li { padding-left: 4px; margin-bottom: 9px; }
.news-article-body li::marker { color: var(--purple-light); }
.news-article-body hr { border: 0; border-top: 1px solid var(--border-color); margin: 32px 0; }
.news-article-body a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.news-command { display: inline-block; padding: 1px 7px; border-radius: 5px; border: 1px solid rgba(199,125,255,.3); background: rgba(157,78,221,.13); color: #e9ceff; font-size: .9em; }


/* ==========================================
   NexurionWeb 1.0.9 – Cinematic News
   ========================================== */
.news-card {
    display: flex;
    flex-direction: column;
}
.news-card-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #21192f;
    border-bottom: 1px solid var(--border-color);
}
.news-card-image-link::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgba(11,9,20,.42), transparent 55%);
}
.news-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.news-card:hover .news-card-image {
    transform: scale(1.045);
}
.news-card .card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}
.news-card .card-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 20px;
}
.news-card .card-description {
    margin-bottom: 16px;
}
.news-article-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 26px;
    border: 1px solid var(--border-color);
}
@media (prefers-reduced-motion: reduce) {
    .news-card-image { transition: none; }
}

/* === NexurionWeb 1.0.10 – Regelwerk === */
.rules-hero {
    position: relative;
    background: radial-gradient(ellipse at 85% 10%, rgba(157,78,221,.25), transparent 65%), linear-gradient(180deg,#171024,#0b0914);
    border-bottom: 1px solid var(--border-color);
}
.rules-hero-inner { text-align:center; padding: 85px 0 70px; }
.rules-hero h1 { margin-top: 18px; font-size: clamp(34px,5vw,54px); }
.rules-tagline { color: var(--purple-light); font-weight: 700; margin-top: 8px; }
.rules-intro { color: var(--text-secondary); max-width: 740px; margin: 18px auto 0; }
.rules-section { padding-top: 56px; }
.rules-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap: 20px; }
.rule-card { background:var(--bg-card); border:1px solid var(--border-color); border-radius:var(--radius); padding: 27px; transition: border-color .2s,transform .2s; }
.rule-card:hover { border-color:rgba(199,125,255,.48); transform:translateY(-3px); }
.rule-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.rule-icon { width:48px;height:48px;display:flex;align-items:center;justify-content:center; font-size:26px; background:rgba(157,78,221,.14); border:1px solid var(--border-color); border-radius:12px; }
.rule-number { color:var(--purple-light);font-size:12px;font-weight:800;letter-spacing:2px; }
.rule-card h2 { font-size:19px;line-height:1.4;margin-bottom:10px; }
.rule-card p { color:var(--text-secondary);font-size:14px; }
.rules-notice { margin-top:28px;display:flex;align-items:flex-start;gap:18px;padding:25px 28px;border:1px solid rgba(199,125,255,.3);border-radius:var(--radius);background:linear-gradient(110deg,#23172f,#171224); }
.rules-notice-icon { font-size:25px; }
.rules-notice strong { color:var(--purple-light);display:block;margin-bottom:5px; }
.rules-notice p { color:var(--text-secondary);font-size:14px; }
.rules-return { margin-top:32px;text-align:center; }
@media(max-width:768px) { .rules-hero-inner{padding:65px 0 50px;} .rules-grid{grid-template-columns:1fr;gap:14px;} .rule-card{padding:21px;} .rules-notice{padding:20px;} }

/* NexurionWeb 1.0.13 – Footer und CTA */
.footer-grid { grid-template-columns: minmax(0, 2fr) minmax(130px, 1fr) minmax(130px, 1fr); }
.footer-brand { display: inline-flex; align-items: center; max-width: 260px; }
.footer-brand img { display: block; max-width: 100%; max-height: 70px; width: auto; object-fit: contain; }
.footer-description { max-width: 500px; }
.js-copy-server.is-copied { background: #22865c; box-shadow: 0 0 20px rgba(69, 214, 154, .25); }
.legal-page { padding: 90px 0; min-height: 55vh; }
.legal-content { max-width: 850px; margin: 0 auto; }
.legal-content h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 18px; }
.legal-content h2 { margin-top: 30px; margin-bottom: 10px; font-size: 21px; }
.legal-content p { margin: 10px 0; color: var(--text-secondary); }
.legal-warning { padding: 20px; border: 1px solid rgba(255, 196, 105, .45); background: rgba(255, 196, 105, .08); border-radius: 12px; color: #ffdfac; }
.legal-warning strong { display: block; margin-bottom: 6px; }
.legal-placeholder { color: #ffdfac; font-weight: 700; }
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand img { max-height: 60px; }
  .legal-page { padding: 55px 0; }
}

/* NexurionWeb 1.0.14 – Rechtliche Seiten */
.legal-content a { color: var(--purple-light); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { margin: 10px 0 18px; padding-left: 24px; color: var(--text-secondary); }
.legal-content li { margin: 6px 0; }
.legal-content .legal-placeholder { color: #ffdfac; }

/* NexurionWeb 1.0.16: Serveradresse nach Navigation hervorheben */
#serverinfo { scroll-margin-top: calc(var(--header-height) + 24px); }
#serverinfo:target .hero-server-address {
    border-color: var(--purple-light);
    box-shadow: 0 0 0 2px rgba(199,125,255,.15), 0 0 30px rgba(157,78,221,.28);
}
.hero-server-ip { user-select: text; -webkit-user-select: text; cursor: text; }
.hero-server-ip:focus-visible { outline: 2px solid var(--purple-light); outline-offset: 3px; }
