        :root {
            color-scheme: dark;
            --text: #f5f7fb;
            --muted: #a7afc2;
            --accent: #4c78ff;
            --accent-soft: #84d4ff;
            --green: #39d36d;
            --line: rgba(255, 255, 255, 0.1);
            --line-strong: rgba(255, 255, 255, 0.16);
            --panel: rgba(14, 18, 27, 0.72);
            --panel-solid: rgba(10, 14, 22, 0.92);
            --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
            --radius-lg: 28px;
            --radius-md: 18px;
            --content-width: 1200px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            min-height: 100vh;
            overflow-x: hidden;
            background:
                linear-gradient(180deg, rgba(56, 90, 176, 0.16) 0%, rgba(5, 7, 11, 0) 24%),
                linear-gradient(180deg, #07090d 0%, #040507 100%);
            color: var(--text);
            font-family: "Manrope", "Segoe UI", sans-serif;
        }

        body::before {
            content: "";
            position: fixed;
            inset: 0;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
            background-size: 44px 44px;
            mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.45), transparent 88%);
            opacity: 0.32;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        a.button {
            font: inherit;
        }

        .page-background {
            position: fixed;
            inset: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at top center, rgba(78, 118, 255, 0.18), transparent 28%),
                radial-gradient(circle at 18% 18%, rgba(126, 200, 255, 0.08), transparent 18%),
                radial-gradient(circle at 82% 20%, rgba(57, 211, 109, 0.08), transparent 16%);
        }

        .site-shell {
            position: relative;
            z-index: 1;
            width: 100%;
        }

        .page-width {
            width: min(var(--content-width), calc(100% - 32px));
            margin: 0 auto;
        }

        .glass-panel {
            background: linear-gradient(180deg, rgba(16, 21, 31, 0.8), rgba(12, 16, 24, 0.62));
            border: 1px solid var(--line);
            box-shadow: var(--shadow);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
        }

        .topbar {
            position: sticky;
            top: 0;
            z-index: 20;
            width: 100%;
            border-top: 0;
            border-left: 0;
            border-right: 0;
            border-radius: 0 0 24px 24px;
            background: linear-gradient(180deg, rgba(12, 17, 27, 0.97), rgba(10, 14, 22, 0.9));
            box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
        }

        .topbar-inner {
            width: min(var(--content-width), calc(100% - 32px));
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 16px 0;
        }

/* 1. Sorgt dafür, dass Logo und Text perfekt nebeneinander auf einer Linie sitzen */
.brand {
    display: flex !important;
    align-items: center !important; /* Zentriert Logo und Text vertikal perfekt */
    gap: 12px;                      /* Abstand zwischen Logo und dem Text daneben */
    text-decoration: none;
}

/* 2. Macht das Logo 30% größer und entfernt den alten Kasten */
img.brand-mark {
    /* Althelasten vom "Z" komplett löschen */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;

    /* Hier stellst du die neue, 30% größere Höhe ein */
    /* Falls es noch zu klein/groß ist, ändere die 55px einfach ab */
    height: 55px; 
    width: auto; /* Behält das originale Seitenverhältnis des PNGs bei */
    
    /* Sicherheitsnetz: Verhindert, dass das Bild jemals die Topbar sprengt */
    max-height: 100%; 
    object-fit: contain; 
}

/* 3. Falls die Topbar (der Header) zu schmal für das größere Logo ist */
.topbar-inner {
    display: flex;
    align-items: center;
    /* Falls das Logo oben/unten anstößt, gibt das hier der Leiste etwas mehr Luft: */
    padding-top: 10px;
    padding-bottom: 10px;
}




        .brand-block {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .brand-name {
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 2rem;
            font-weight: 700;
            line-height: 1;
        }

        .brand-name span {
            color: #5f8cff;
        }

        .brand-ip,
        .footer-ip {
            color: var(--muted);
            font-size: 0.92rem;
            text-transform: lowercase;
        }

        .nav {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .nav a {
            display: inline-flex;
            align-items: center;
            min-height: 46px;
            padding: 0 18px;
            border-radius: 999px;
            color: var(--muted);
            border: 1px solid transparent;
            transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
        }

        .nav a:hover,
        .nav a.is-active {
            color: var(--text);
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.08);
        }

        .content {
            padding-top: 48px;
        }

        .page {
            display: none;
            min-height: calc(100vh - 232px);
        }

        .page.is-active {
            display: block;
            animation: page-fade 220ms ease;
        }

        @keyframes page-fade {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .hero {
            padding: 80px 24px 62px;
            text-align: center;
        }

        .hero-kicker,
        .section-kicker,
        .modal-kicker {
            margin: 0 0 14px;
            color: #7ea7ff;
            font-size: 0.92rem;
            font-weight: 700;
            letter-spacing: 0.24rem;
            text-transform: uppercase;
        }

        .hero h1,
        .section-header h1 {
            margin: 0;
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 6.2rem;
            font-weight: 700;
            line-height: 0.98;
        }

        .hero h1 span,
        .section-header h1 span {
            color: #6f91ff;
        }

        .hero-copy,
        .section-header p {
            width: min(760px, 100%);
            margin: 22px auto 0;
            color: var(--muted);
            font-size: 1.28rem;
            line-height: 1.7;
        }

        .hero-copy strong,
        .section-header strong,
        .ip-highlight {
            color: var(--accent-soft);
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 18px;
            width: min(760px, 100%);
            margin: 40px auto 0;
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            min-height: 62px;
            padding: 0 26px;
            border-radius: 18px;
            border: 1px solid var(--line);
            color: var(--text);
            font-size: 1.02rem;
            font-weight: 700;
            transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
        }

        .button:hover,
        .button:focus-visible {
            transform: translateY(-2px);
            box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
        }

        .button-icon {
            display: inline-grid;
            place-items: center;
            width: 20px;
            height: 20px;
        }

        .button-icon svg {
            width: 20px;
            height: 20px;
        }

        .button-icon-vote {
            color: #f1bf42;
        }

        .button-icon-discord {
            color: #6a74ff;
        }

        .button-icon-discord svg {
            width: 22px;
            height: 18px;
        }

        .button-icon-join {
            color: #ffffff;
        }

        .button-icon-join svg {
            width: 22px;
            height: 22px;
        }

        .button-secondary {
            flex: 1 1 220px;
            background: rgba(255, 255, 255, 0.04);
        }

        .button-primary {
            background: linear-gradient(145deg, #4f79ff, #3f63d8);
            border-color: rgba(132, 160, 255, 0.42);
        }

        .button-join {
            flex: 1 1 100%;
            max-width: 360px;
            min-height: 76px;
            font-size: 1.28rem;
            text-transform: uppercase;
        }

        .feature-strip {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
            padding-bottom: 46px;
        }

        .feature-card {
            min-height: 260px;
            padding: 30px;
            border-radius: var(--radius-lg);
        }

        .feature-icon {
            display: inline-grid;
            place-items: center;
            width: 62px;
            height: 62px;
            border-radius: 18px;
            margin-bottom: 24px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
        }

        .feature-icon svg {
            width: 26px;
            height: 26px;
        }

        .feature-icon-blue {
            background: rgba(77, 116, 255, 0.13);
            color: #6290ff;
        }

        .feature-icon-cyan {
            background: rgba(79, 184, 104, 0.14);
            color: #63d472;
        }

        .feature-icon-green {
            background: rgba(162, 94, 255, 0.14);
            color: #b076ff;
        }

        .feature-card h2 {
            margin: 0 0 12px;
            font-size: 1.55rem;
        }

        .feature-card p {
            margin: 0;
            color: var(--muted);
            line-height: 1.75;
        }

        .section-header {
            padding: 72px 24px 40px;
            text-align: center;
        }

        .section-header-rules {
            padding-bottom: 32px;
        }

        #page-join .section-header {
            padding: 42px 24px 24px;
        }

        #page-join .section-header h1 {
            font-size: clamp(3rem, 6vw, 4.8rem);
        }

        #page-join .section-header p {
            max-width: 620px;
            margin-top: 16px;
            font-size: 1.08rem;
        }

        .join-panel {
            max-width: 1040px;
            margin: 0 auto;
            border-radius: 34px;
            overflow: hidden;
        }

        .platform-tabs {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0;
            border-bottom: 1px solid var(--line);
        }

        .platform-tab {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 14px;
            min-height: 126px;
            padding: 18px 24px;
            background: rgba(255, 255, 255, 0.02);
            border: 0;
            border-bottom: 4px solid transparent;
            color: var(--muted);
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 1.15rem;
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
            transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
        }

        .platform-tab.is-active {
            color: var(--text);
            background: rgba(255, 255, 255, 0.04);
            border-bottom-color: var(--accent);
        }

        .platform-tab[data-platform-target="bedrock"].is-active {
            border-bottom-color: var(--green);
        }

        .platform-icon {
            width: 42px;
            height: 42px;
            color: #f3f5fa;
        }

        .platform-icon svg {
            width: 42px;
            height: 42px;
        }

        .join-body {
            padding: 24px;
        }

        .platform-panel {
            display: none;
            grid-template-columns: minmax(0, 1.45fr) minmax(250px, 300px);
            gap: 22px;
            align-items: start;
        }

        .platform-panel.is-active {
            display: grid;
        }

        .guide-label {
            margin: 0 0 14px;
            font-size: 0.95rem;
            font-weight: 800;
            letter-spacing: 0.18rem;
        }

        .guide-label-java {
            color: #7ea7ff;
        }

        .guide-label-bedrock {
            color: #77e48c;
        }

        .guide-copy h2 {
            margin: 0 0 20px;
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 2.15rem;
            line-height: 1.08;
        }

        .step-list {
            display: grid;
            gap: 14px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .step-item {
            display: grid;
            grid-template-columns: 58px minmax(0, 1fr);
            gap: 14px;
            align-items: center;
            padding: 16px 18px;
            border-radius: 22px;
            background: rgba(255, 255, 255, 0.035);
            border: 1px solid rgba(126, 167, 255, 0.14);
        }

        .step-item-bedrock {
            border-color: rgba(108, 226, 154, 0.18);
        }

        .step-number {
            display: inline-grid;
            place-items: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(145deg, #75b4ff, #4c8fe9);
            color: #ffffff;
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 1.18rem;
            font-weight: 700;
        }

        .step-item-bedrock .step-number {
            background: linear-gradient(145deg, #5de069, #27c64d);
        }

        .step-item p {
            margin: 0;
            color: #e8ebf3;
            font-size: 1rem;
            line-height: 1.55;
        }

        .server-box {
            display: grid;
            gap: 14px;
            padding: 22px;
            border-radius: 24px;
            min-height: 100%;
            align-content: start;
            background: rgba(0, 0, 0, 0.22);
            border: 1px solid var(--line-strong);
        }

        .server-box-java {
            box-shadow: inset 0 1px 0 rgba(126, 167, 255, 0.12);
        }

        .server-box-bedrock {
            box-shadow: inset 0 1px 0 rgba(108, 226, 154, 0.12);
        }

        .server-box-label {
            margin: 0;
            color: var(--muted);
            font-size: 0.92rem;
            text-transform: uppercase;
            letter-spacing: 0.16rem;
        }

        .server-box strong {
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 1.72rem;
            word-break: break-word;
        }

        .copy-button {
            width: 100%;
        }

        .rules-layout {
            display: grid;
            gap: 22px;
            padding-bottom: 34px;
        }

        .rule-card {
            padding: 30px;
            border-radius: var(--radius-lg);
        }

        .rule-card h2 {
            margin: 0;
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 2rem;
        }

        .rule-subsection {
            margin-top: 28px;
            padding-top: 28px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .rule-subsection h3 {
            margin: 0 0 16px;
            font-size: 1.3rem;
        }

        .rule-list {
            display: grid;
            gap: 14px;
            margin: 20px 0 0;
            padding: 0;
            list-style: none;
        }

        .rule-list li {
            padding: 16px 18px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.03);
            color: #dee3ef;
            line-height: 1.75;
        }

        .rule-list strong {
            color: #ffffff;
        }

        .rule-date {
            margin: 24px 0 0;
            color: var(--muted);
            font-weight: 700;
        }

        .footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 22px 24px;
            margin: 28px 0;
            border-radius: 22px;
        }

        .footer-copy p {
            margin: 6px 0 0;
            color: var(--muted);
        }

        .footer-link,
        .modal-close {
            border: 1px solid var(--line);
            background: rgba(255, 255, 255, 0.04);
            color: var(--text);
            cursor: pointer;
        }

        .footer-link {
            min-height: 50px;
            padding: 0 22px;
            border-radius: 999px;
            font-weight: 700;
        }

        .modal {
            position: fixed;
            inset: 0;
            z-index: 30;
        }

        .modal[hidden] {
            display: none;
        }

        .modal-backdrop {
            position: absolute;
            inset: 0;
            background: rgba(2, 4, 8, 0.72);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        .modal-dialog {
            position: relative;
            width: min(840px, calc(100% - 28px));
            margin: 60px auto;
            padding: 32px;
            border-radius: 28px;
        }

        .modal-close {
            position: absolute;
            top: 18px;
            right: 18px;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            font-size: 1.6rem;
            line-height: 1;
        }

        .modal-dialog h2 {
            margin: 0 0 26px;
            font-family: "Space Grotesk", "Segoe UI", sans-serif;
            font-size: 2.2rem;
        }

        .impressum-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .impressum-grid h3 {
            margin: 0 0 8px;
            color: #8eb4ff;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.08rem;
        }

        .impressum-grid p,
        .impressum-note {
            margin: 0;
            color: #dee3ef;
            line-height: 1.75;
        }

        .impressum-grid a {
            color: var(--accent-soft);
        }

        .impressum-note {
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        @media (max-width: 1080px) {
            .hero h1,
            .section-header h1 {
                font-size: 4.7rem;
            }

            .platform-panel,
            .feature-strip {
                grid-template-columns: 1fr;
            }

            .server-box {
                min-height: auto;
            }
        }

        @media (max-width: 960px) {
            .join-panel {
                max-width: none;
            }

            .platform-panel {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 820px) {
            .page-width,
            .topbar-inner {
                width: min(var(--content-width), calc(100% - 20px));
            }

            .topbar-inner,
            .footer {
                flex-direction: column;
                align-items: flex-start;
            }

            .nav {
                width: 100%;
                justify-content: flex-start;
            }

            .hero {
                padding-top: 68px;
            }

            .hero h1,
            .section-header h1 {
                font-size: 3.35rem;
            }

            .hero-copy,
            .section-header p {
                font-size: 1.08rem;
            }

            #page-join .section-header {
                padding: 34px 18px 18px;
            }

            .platform-tab {
                min-height: 92px;
                padding: 14px 12px;
                gap: 10px;
                font-size: 0.95rem;
            }

            .join-body,
            .rule-card,
            .modal-dialog {
                padding: 22px;
            }

            .guide-copy h2 {
                font-size: 2.15rem;
            }

            .step-item {
                grid-template-columns: 58px minmax(0, 1fr);
                padding: 18px;
            }

            .step-number {
                width: 46px;
                height: 46px;
                font-size: 1.35rem;
            }

            .step-item p {
                font-size: 1.03rem;
            }

            .impressum-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 560px) {
            .brand-name {
                font-size: 1.5rem;
            }

            .brand-mark {
                width: 50px;
                height: 50px;
                font-size: 1.6rem;
            }

            .hero h1,
            .section-header h1 {
                font-size: 2.65rem;
            }

            #page-join .section-header h1 {
                font-size: 2.5rem;
            }

            #page-join .section-header p {
                font-size: 1rem;
            }

            .platform-tab {
                min-height: 86px;
                font-size: 0.84rem;
            }

            .button-secondary,
            .button-join {
                flex-basis: 100%;
                max-width: none;
            }

            .guide-copy h2,
            .rule-card h2,
            .modal-dialog h2 {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 420px) {
            .platform-icon {
                width: 34px;
                height: 34px;
            }

            .platform-icon svg {
                width: 34px;
                height: 34px;
            }
        }