/* ==========================================================================
   LoiNetwork – Startseite (baut auf style.css auf: Farben, Kopf- & Fußzeile)
   ========================================================================== */

/* ---------- Kopfzeile: Anmelden-Knopf bzw. Profil-Pille ---------- */
.page-start .site-header { background: color-mix(in srgb, var(--header-bg) 80%, transparent); }
.main-nav a.st-nav-login {
    color: #fff; background: linear-gradient(135deg, #3b54ff, var(--brand)); border-radius: 999px; padding: 8px 16px; margin-left: 4px;
    box-shadow: 0 8px 20px -10px rgba(4, 0, 180, .8);
}
.main-nav a.st-nav-login:hover { color: #fff; background: linear-gradient(135deg, #5068ff, #0806c8); }
.page-start .main-nav > a.st-nav-login { display: inline-flex; } /* style.css blendet am Handy den ersten Link aus – der Anmelden-Knopf muss bleiben */
/* Profil-Pille – 1:1 wie auf den Minecraft-Seiten (minecraftneu/assets/hub.css) */
.member-chip { display: inline-flex; align-items: center; gap: 2px; padding: 3px 3px 3px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }
.member-name { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink-2); border-radius: 999px; transition: color .15s, background .15s; }
.site-header .main-nav a.member-name { position: relative; padding: 4px 8px; border-radius: 999px; }
.member-name:hover { color: var(--brand-text); background: var(--brand-soft); }
.member-name .ln-head { width: 20px; height: 20px; flex-shrink: 0; border-radius: 6px; image-rendering: pixelated; }
.member-logout { width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.site-header .main-nav a.member-logout { display: grid; padding: 0; border-radius: 50%; color: var(--muted); }
.site-header .main-nav a.member-logout:hover { background: var(--bad-soft); color: var(--bad); }
@media (max-width: 560px) { .member-chip { padding-left: 8px; } }
.ln-badge {
    position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center; font-size: .68rem; font-weight: 800; line-height: 1; color: #fff;
    background: var(--bad); box-shadow: 0 0 0 2px var(--card);
}

/* ---------- Hero: Nachthimmel mit Lichtwolken und Raster-Boden ---------- */
.sx-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 84px 0 190px; }
.sx-hero.is-in { padding: 64px 0 170px; }
.sx-sky {
    position: absolute; inset: 0; z-index: -1; overflow: hidden;
    background:
        radial-gradient(1200px 520px at 75% -10%, rgba(76, 106, 255, .55), transparent 60%),
        linear-gradient(180deg, #020130 0%, #05038a 48%, #0b10c8 100%);
}
.sx-sky::after { /* weicher Übergang in den Seitenhintergrund */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
    background: linear-gradient(180deg, transparent, var(--bg));
}
.sx-sky i { position: absolute; border-radius: 50%; filter: blur(70px); }
.sx-sky i:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -60px; background: #3d5bff; opacity: .55; animation: sx-drift 18s ease-in-out infinite; }
.sx-sky i:nth-child(2) { width: 420px; height: 420px; right: -80px; top: 40px; background: #a855f7; opacity: .35; animation: sx-drift 22s ease-in-out -7s infinite reverse; }
.sx-sky i:nth-child(3) { width: 380px; height: 380px; left: 40%; bottom: -120px; background: #12c2ff; opacity: .3; animation: sx-drift 20s ease-in-out -3s infinite; }
@keyframes sx-drift { 33% { transform: translate(60px, 30px) scale(1.1); } 66% { transform: translate(-30px, 50px) scale(.95); } }
.sx-floor {
    position: absolute; left: -25%; right: -25%; bottom: -10px; height: 62%;
    background-image: linear-gradient(rgba(140, 170, 255, .22) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 170, 255, .22) 1px, transparent 1px);
    background-size: 64px 64px; transform: perspective(520px) rotateX(62deg); transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 45%, transparent 100%);
    animation: sx-floor 14s linear infinite;
}
@keyframes sx-floor { to { background-position: 0 64px; } }
.sx-stars {
    position: absolute; inset: 0; opacity: .55;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 64%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 46% 14%, #fff, transparent), radial-gradient(1px 1px at 63% 42%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 82% 18%, #fff, transparent), radial-gradient(1px 1px at 91% 58%, #fff, transparent),
        radial-gradient(1px 1px at 7% 76%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 80%, #fff, transparent),
        radial-gradient(1px 1px at 37% 36%, #fff, transparent), radial-gradient(1px 1px at 74% 72%, #fff, transparent);
    animation: sx-twinkle 6s ease-in-out infinite alternate;
}
@keyframes sx-twinkle { to { opacity: .25; } }

.sx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.sx-badge {
    display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 11px; border-radius: 999px;
    font-size: .85rem; font-weight: 650; letter-spacing: .01em;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sx-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 4px rgba(62, 224, 138, .2); animation: pulse 2s infinite; }
.sx-hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 850; line-height: 1.02; letter-spacing: -.04em; margin: 20px 0 18px; }
.sx-hero.is-in h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 14px 0 10px; }
.sx-word {
    background: linear-gradient(100deg, #ffffff 0%, #a9d8ff 30%, #c4b5ff 55%, #ffffff 80%);
    background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sx-shimmer 8s ease-in-out infinite;
}
@keyframes sx-shimmer { 50% { background-position: 100% 0; } }
.sx-lead { margin: 0; max-width: 540px; font-size: 1.14rem; line-height: 1.6; color: rgba(255, 255, 255, .8); }

/* Knöpfe */
.sx-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 24px; border-radius: 999px;
    font: 700 1rem var(--font); text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.sx-btn:active { transform: scale(.98); }
.sx-btn-white { color: var(--brand); background: #fff; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .65), inset 0 -2px 0 rgba(4, 0, 180, .08); }
.sx-btn-white:hover { color: var(--brand); box-shadow: 0 20px 40px -14px rgba(60, 90, 255, .8), inset 0 -2px 0 rgba(4, 0, 180, .08); }
.sx-btn-arrow { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: -10px; border-radius: 50%; color: #fff; background: var(--brand); transition: transform .2s ease; }
.sx-btn:hover .sx-btn-arrow { transform: translateX(3px); }
.sx-btn-glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sx-btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.sx-note { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.sx-note a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.sx-note a:hover { color: #fff; text-decoration-color: #fff; }

/* Gesperrtes Fenster (Deko) */
.sx-vault-wrap { position: relative; height: 420px; display: grid; place-items: center; perspective: 1400px; }
.sx-vault {
    position: relative; width: min(100%, 390px); border-radius: 26px; overflow: hidden;
    background: linear-gradient(160deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 40, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    transform: rotateY(-14deg) rotateX(7deg); animation: sx-vault 9s ease-in-out infinite;
}
@keyframes sx-vault { 50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-10px); } }
.sx-vault-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); }
.sx-vault-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .3); }
.sx-vault-bar i:nth-child(1) { background: #ff6b78; } .sx-vault-bar i:nth-child(2) { background: #ffcc4d; } .sx-vault-bar i:nth-child(3) { background: #3ee08a; }
.sx-vault-bar span {
    margin-left: 12px; flex: 1; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
    font-size: .74rem; font-weight: 600; color: rgba(255, 255, 255, .75); background: rgba(0, 0, 40, .25);
}
.sx-vault-body { position: relative; padding: 18px; }
.sx-vault-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; filter: blur(4px); opacity: .8; }
.sx-vault-tiles i { position: relative; height: 78px; border-radius: 16px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sx-vault-tiles i::before { content: ""; position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 9px; background: var(--g, #6f86ff); }
.sx-vault-tiles i::after { content: ""; position: absolute; left: 12px; right: 18px; bottom: 14px; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .35); }
.sx-vault-tiles i:nth-child(2) { --g: #6fd27c; } .sx-vault-tiles i:nth-child(3) { --g: #ffa36b; }
.sx-vault-tiles i:nth-child(4) { --g: #c4b5ff; } .sx-vault-tiles i:nth-child(5) { --g: #5fd3ff; } .sx-vault-tiles i:nth-child(6) { --g: #ff8fb3; }
.sx-lock { position: absolute; inset: 0; display: grid; place-items: center; }
.sx-orbit {
    position: absolute; width: 150px; height: 150px; border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, .35); animation: sx-spin 18s linear infinite;
}
.sx-orbit b { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #a9d8ff; box-shadow: 0 0 14px 3px rgba(169, 216, 255, .8); }
.sx-orbit b:nth-child(1) { top: -5px; left: calc(50% - 5px); }
.sx-orbit b:nth-child(2) { bottom: 18px; left: 6px; background: #c4b5ff; box-shadow: 0 0 14px 3px rgba(196, 181, 255, .8); }
.sx-orbit b:nth-child(3) { bottom: 18px; right: 6px; background: #6ff0b5; box-shadow: 0 0 14px 3px rgba(111, 240, 181, .7); }
@keyframes sx-spin { to { transform: rotate(360deg); } }
.sx-lock-core {
    position: relative; width: 78px; height: 78px; border-radius: 24px; display: grid; place-items: center; color: var(--brand);
    background: linear-gradient(180deg, #fff, #e7ebff);
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7), 0 0 0 10px rgba(255, 255, 255, .1), 0 0 60px rgba(120, 150, 255, .6);
    animation: sx-glow 3s ease-in-out infinite;
}
@keyframes sx-glow { 50% { box-shadow: 0 20px 40px -14px rgba(0, 0, 0, .7), 0 0 0 16px rgba(255, 255, 255, .06), 0 0 90px rgba(140, 170, 255, .85); } }
.sx-vault-cap { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 18px 22px; text-align: center; }
.sx-vault-cap b { font-size: 1.12rem; font-weight: 800; }
.sx-vault-cap span { font-size: .86rem; color: rgba(255, 255, 255, .7); }
.sx-chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
    font-size: .84rem; font-weight: 700; white-space: nowrap; color: #fff;
    background: rgba(20, 24, 90, .45); border: 1px solid rgba(255, 255, 255, .24);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 30px -16px rgba(0, 0, 30, .8);
    animation: sx-bob 7s ease-in-out infinite;
}
.sx-chip svg { color: #a9d8ff; }
.sx-chip-1 { left: -4px; top: 46px; animation-delay: -1.5s; }
.sx-chip-2 { right: -14px; top: 168px; animation-delay: -3.5s; }
.sx-chip-3 { left: 18px; bottom: 30px; animation-delay: -5s; }
.sx-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; animation: pulse 2s infinite; }
@keyframes sx-bob { 50% { transform: translateY(-10px); } }

/* ---------- Abschnitte & Karten ---------- */
.sx-section { padding-bottom: 72px; }
.sx-lift { margin-top: -120px; position: relative; z-index: 1; }
.sx-head { text-align: center; margin: 0 0 34px; }
.sx-kicker {
    display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--brand-text); background: var(--brand-soft);
}
.sx-head h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 850; letter-spacing: -.03em; }

.sx-card {
    --c: #4f6bff;
    position: relative; isolation: isolate; overflow: hidden; min-width: 0; padding: 28px; border-radius: 26px;
    background:
        radial-gradient(420px 220px at 100% 0%, color-mix(in srgb, var(--c) 13%, transparent), transparent 70%),
        var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(10, 14, 60, .05), 0 20px 50px -28px rgba(10, 14, 60, .35);
}
/* Lichtschein & leuchtender Rand, der der Maus folgt (start.js setzt --mx/--my) */
.sx-card::before, .sx-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.sx-card::before {
    padding: 1.5px;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 85%, #fff), transparent 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.sx-card::after { z-index: -1; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c) 11%, transparent), transparent 50%); }
.sx-card:hover::before, .sx-card:hover::after { opacity: 1; }
.sx-card h2 { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; margin: 16px 0 6px; }
.sx-card p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.sx-icon {
    width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: #fff; flex-shrink: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c));
    box-shadow: 0 12px 24px -12px var(--c), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.sx-icon.is-big { width: 54px; height: 54px; border-radius: 17px; }

/* Bento-Raster (abgemeldet) */
.sx-bento {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
    grid-template-areas: "a a b" "c d d";
}
.sx-b-a { grid-area: a; display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: center; }
.sx-b-a .sx-art-key { order: 2; }
.sx-b-b { grid-area: b; }
.sx-b-c { grid-area: c; }
.sx-b-d { grid-area: d; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 24px; align-items: center; }

.sx-art-key { position: relative; height: 180px; display: grid; place-items: center; }
.sx-art-key span {
    position: absolute; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c) 30%, transparent);
    width: 90px; height: 90px; animation: sx-ring 3.6s ease-out infinite;
}
.sx-art-key span:nth-child(2) { animation-delay: -1.2s; }
.sx-art-key span:nth-child(3) { animation-delay: -2.4s; }
@keyframes sx-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.sx-art-key i {
    position: relative; width: 84px; height: 84px; border-radius: 26px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--c) 55%, #fff), var(--c)); transform: rotate(-8deg);
    box-shadow: 0 22px 40px -18px var(--c), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.sx-art-switches { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.sx-art-switches span { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.sx-art-switches em { flex: 1; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--muted) 25%, transparent); }
.sx-art-switches span:nth-child(2) em { flex: .7; }
.sx-art-switches span:nth-child(3) em { flex: .85; }
.sx-art-switches i { order: 2; position: relative; width: 36px; height: 20px; border-radius: 999px; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.sx-art-switches i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .3s; }
.sx-art-switches .on i { background: var(--c); }
.sx-art-switches .on i::after { transform: translateX(16px); }

.sx-checks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.sx-checks li { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .95rem; }
.sx-checks svg { flex-shrink: 0; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--c); }

.sx-art-wave { width: 100%; height: 120px; color: var(--c); overflow: visible; }
.sx-wave-line { stroke-dasharray: 420; stroke-dashoffset: 0; }
.sx-wave-dot { animation: sx-dot 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sx-dot { 50% { transform: scale(1.5); opacity: .6; } }

/* Schritte als Zeitleiste */
.sx-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sx-steps::before {
    content: ""; position: absolute; top: 26px; left: calc(100% / 6); right: calc(100% / 6); height: 2px;
    background: linear-gradient(90deg, #4f6bff, #8b5cf6, #12c2ff); opacity: .45;
}
.sx-steps li { position: relative; text-align: center; padding: 0 10px; }
.sx-step-dot {
    position: relative; z-index: 1; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.2rem; font-weight: 850; color: #fff; background: linear-gradient(135deg, #5a74ff, #2310d8);
    box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line), 0 14px 30px -12px rgba(44, 75, 255, .8);
}
.sx-steps li:nth-child(2) .sx-step-dot { background: linear-gradient(135deg, #a07bff, #6d28d9); }
.sx-steps li:nth-child(3) .sx-step-dot { background: linear-gradient(135deg, #3fd0ff, #0a84c8); }
.sx-step-icon { display: none; }
.sx-steps h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.sx-steps p { margin: 0 auto; max-width: 300px; color: var(--ink-2); font-size: .95rem; line-height: 1.6; }

/* Abschluss-Band */
.sx-band {
    position: relative; isolation: isolate; overflow: hidden; margin-top: 56px; padding: 40px 44px; border-radius: 30px; color: #fff;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    background: linear-gradient(120deg, #03024a, #0a0ab8 60%, #3b2bd6);
    box-shadow: 0 30px 60px -30px rgba(4, 0, 180, .7);
}
.sx-band-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sx-band-glow::before, .sx-band-glow::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); }
.sx-band-glow::before { width: 340px; height: 340px; right: -60px; top: -160px; background: #12c2ff; opacity: .45; animation: sx-drift 16s ease-in-out infinite; }
.sx-band-glow::after { width: 300px; height: 300px; left: 20%; bottom: -200px; background: #a855f7; opacity: .45; animation: sx-drift 20s ease-in-out -5s infinite reverse; }
.sx-band h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 850; letter-spacing: -.02em; }
.sx-band p { margin: 6px 0 0; color: rgba(255, 255, 255, .78); font-size: 1.04rem; }

/* ---------- Angemeldet ---------- */
.sx-welcome { display: flex; align-items: center; gap: 26px; }
.sx-avatar { position: relative; flex-shrink: 0; width: 96px; height: 96px; border-radius: 30px; padding: 4px; display: grid; }
.sx-avatar::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
    background: conic-gradient(from var(--sx-a, 0deg), #4f6bff, #a855f7, #12c2ff, #3ee08a, #4f6bff); animation: sx-avatar 6s linear infinite;
}
@property --sx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes sx-avatar { to { --sx-a: 360deg; } }
.sx-avatar img, .sx-avatar b {
    position: relative; z-index: 1; width: 100%; height: 100%; border-radius: 26px; image-rendering: pixelated;
    background: #0b0f5c; box-shadow: inset 0 0 0 3px #0b0f5c;
}
.sx-avatar b { display: grid; place-items: center; font-size: 2.4rem; font-weight: 850; color: #fff; background: linear-gradient(135deg, #3b54ff, #1a0fb0); box-shadow: none; }
.sx-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.sx-stat {
    display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 18px; min-width: 170px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.sx-stat-icon { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #cfe0ff; }
.sx-stat > span:last-child { display: flex; flex-direction: column; line-height: 1.15; }
.sx-stat b { font-size: 1.45rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.sx-stat small { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }

.sx-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sx-services.sx-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sx-services.sx-count-1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.sx-service { display: flex; flex-direction: column; gap: 18px; }
.sx-service-head { display: flex; align-items: center; gap: 16px; }
.sx-service-head h2 { margin: 0 0 2px; }
.sx-service-head p { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.sx-open {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-radius: 16px;
    font-weight: 750; color: color-mix(in srgb, var(--c) 75%, var(--ink)); background: color-mix(in srgb, var(--c) 10%, var(--card));
    border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); transition: background-color .2s, color .2s, box-shadow .2s;
}
.sx-open svg { transition: transform .2s; }
.sx-open:hover { color: #fff; background: var(--c); box-shadow: 0 14px 28px -14px var(--c); }
.sx-open:hover svg { transform: translateX(4px); }
.sx-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 26px 16px;
    border-radius: 18px; border: 2px dashed color-mix(in srgb, var(--c) 40%, var(--line)); background: color-mix(in srgb, var(--c) 5%, var(--card));
    color: var(--ink); transition: border-color .2s, background-color .2s;
}
.sx-drop:hover { color: var(--ink); border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--card)); }
.sx-drop-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, var(--card)); margin-bottom: 4px; animation: sx-bob 3.5s ease-in-out infinite; }
.sx-drop b { font-size: .96rem; }
.sx-drop small { font-size: .82rem; color: var(--muted); }

/* Listen (Live-Status) */
.st-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.st-list li {
    display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 13px; border-radius: 14px;
    background: var(--bg); border: 1px solid var(--line); font-size: .92rem; transition: border-color .2s;
}
.st-list li:hover { border-color: var(--line-strong); }
.st-list b { font-weight: 650; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.st-list a { min-width: 0; display: flex; }
.st-list a:hover b { color: var(--brand-text); }
.st-list em { margin-left: auto; flex-shrink: 0; font-style: normal; font-size: .8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-heads { display: flex; flex-shrink: 0; }
.st-heads img { width: 20px; height: 20px; border-radius: 6px; margin-left: -5px; border: 2px solid var(--bg); image-rendering: pixelated; }
.st-heads img:first-child { margin-left: 0; }
.st-heads:not(:empty) { margin-left: auto; }
.st-heads:not(:empty) + em { margin-left: 0; }
.st-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--unk); opacity: .6; }
.st-dot.is-on { background: var(--ok); opacity: 1; box-shadow: 0 0 0 4px var(--ok-soft); animation: sx-on 2.4s ease-in-out infinite; }
.st-dot.is-off { background: var(--bad); opacity: .85; }
@keyframes sx-on { 50% { box-shadow: 0 0 0 6px transparent; } }
.st-more { margin: -8px 0 0; font-size: .84rem; color: var(--muted); }
.st-empty { margin: 0; color: var(--muted); font-size: .94rem; }

/* Panels: Dein Minecraft & Dein Konto */
.sx-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sx-split.is-single { grid-template-columns: minmax(0, 1fr); }
.sx-panel-title { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.sx-panel-title svg { color: var(--c); }
.sx-card .sx-panel-lead { margin: 0 0 12px; }
.sx-quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.sx-quick a {
    display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 12px 14px;
    border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); transition: border-color .2s, background-color .2s, transform .2s;
}
.sx-quick a:hover { color: var(--ink); border-color: color-mix(in srgb, var(--brand-text) 50%, var(--line)); background: var(--brand-soft); transform: translateY(-2px); }
.sx-quick span { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--brand-text); background: var(--brand-soft); }
.sx-quick b { font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-quick small { font-size: .77rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sx-quick a.is-logout:hover { border-color: var(--bad-border); background: var(--bad-soft); }
.sx-quick a.is-logout span { color: var(--bad); background: var(--bad-soft); }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
    .sx-hero-text > *, .sx-welcome, .sx-stats { animation: sx-rise .8s cubic-bezier(.2, .85, .25, 1) both; }
    .sx-hero-text > :nth-child(2) { animation-delay: .07s; }
    .sx-hero-text > :nth-child(3) { animation-delay: .14s; }
    .sx-hero-text > :nth-child(4) { animation-delay: .21s; }
    .sx-hero-text > :nth-child(5) { animation-delay: .28s; }
    .sx-stats { animation-delay: .15s; }
    .sx-vault-wrap { animation: sx-rise 1s .2s cubic-bezier(.2, .85, .25, 1) both; }
    /* Einblenden beim Scrollen (nur mit JavaScript – ohne ist alles sofort sichtbar) */
    .sx-js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .85, .25, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .85, .25, 1) var(--d, 0ms); }
    .sx-js [data-reveal].is-visible { opacity: 1; transform: none; }
    .sx-js .sx-b-d .sx-wave-line { stroke-dashoffset: 420; transition: stroke-dashoffset 1.8s .3s ease; }
    .sx-js .sx-b-d.is-visible .sx-wave-line { stroke-dashoffset: 0; }
}
@keyframes sx-rise { from { opacity: 0; transform: translateY(22px); } }
@media (prefers-reduced-motion: reduce) {
    .sx-sky i, .sx-floor, .sx-stars, .sx-word, .sx-vault, .sx-orbit, .sx-lock-core, .sx-chip, .sx-art-key span, .sx-avatar::before,
    .sx-band-glow::before, .sx-band-glow::after, .sx-drop-icon, .st-dot.is-on, .sx-wave-dot { animation: none; }
}

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1100px) {
    .sx-hero-grid { grid-template-columns: 1fr; }
    .sx-vault-wrap { display: none; }
}
@media (max-width: 980px) {
    .sx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "a a" "b c" "d d"; }
    .sx-services, .sx-services.sx-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sx-services > :last-child:nth-child(odd) { grid-column: 1 / -1; }
    .sx-split { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .main-nav a.hide-sm { display: none; }
    /* Handy: nur das Profilbild als Link zu „Mein Konto“ (Abmelden liegt dort) – wie auf den anderen Seiten */
    .member-chip { padding: 2px; gap: 0; }
    .member-label, .member-logout, .site-header .main-nav a.member-logout { display: none; }
    .site-header .main-nav a.member-name { width: 30px; height: 30px; padding: 0; justify-content: center; }
    .main-nav a.st-nav-login { padding: 8px 14px; }
    .sx-hero { padding: 52px 0 150px; }
    .sx-hero.is-in { padding: 40px 0 150px; }
    .sx-cta .sx-btn { flex: 1 1 220px; }
    .sx-bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d"; }
    .sx-b-a, .sx-b-d { grid-template-columns: 1fr; }
    .sx-b-a .sx-art-key { display: none; }
    .sx-art-wave { height: 90px; }
    .sx-services, .sx-services.sx-count-2 { grid-template-columns: 1fr; }
    .sx-card { padding: 22px; border-radius: 22px; }
    .sx-steps { grid-template-columns: 1fr; gap: 28px; }
    .sx-steps::before { top: 26px; bottom: 60px; left: 26px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, #4f6bff, #8b5cf6, #12c2ff); }
    .sx-steps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 16px; text-align: left; padding: 0; }
    .sx-step-dot { grid-row: 1 / 3; margin: 0; }
    .sx-steps p { margin: 0; }
    .sx-band { padding: 30px 24px; margin-top: 40px; }
    .sx-band .sx-btn { flex: 1 1 100%; }
    .sx-welcome { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sx-avatar { width: 76px; height: 76px; border-radius: 24px; }
    .sx-avatar img, .sx-avatar b { border-radius: 20px; }
    .sx-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sx-stat { min-width: 0; padding: 9px 12px 9px 9px; }
    .sx-stat-icon { width: 34px; height: 34px; border-radius: 11px; }
    .sx-stat b { font-size: 1.25rem; }
    .sx-stat small { font-size: .66rem; }
}
@media (max-width: 420px) {
    .main-nav a.hide-xs { display: none; }
}
