/* ==========================================================================
   BANGERCITY RP – Startseite (Relaunch-Layout nach Vorlage)
   Eigenständiges Stylesheet. Keine Abhängigkeit zu site.css.
   ========================================================================== */

:root {
    --bg:        #07060f;
    --bg-2:      #0b0a17;
    --panel:     #110f20;
    --panel-2:   #15132a;
    --line:      rgba(255, 255, 255, .07);
    --line-2:    rgba(255, 255, 255, .12);

    --text:      #ebe9f7;
    --muted:     #9a93b8;
    --dim:       #6f6890;

    --purple:    #8b5cf6;
    --purple-2:  #6d4dff;
    --cyan:      #22d3ee;
    --pink:      #f05bd0;
    --green:     #2ee59d;
    --red:       #ff3d6e;
    --yellow:    #f5c451;

    --grad:      linear-gradient(135deg, #6d4dff 0%, #8b5cf6 50%, #c05bf0 100%);
    --grad-text: linear-gradient(100deg, #35d6f5 0%, #8b5cf6 55%, #f05bd0 100%);

    --r-sm: 10px;
    --r:    14px;
    --r-lg: 20px;
    --wrap: 1180px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 108px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Grundrauschen / Farbnebel im Hintergrund */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(900px 520px at 12% -5%,  rgba(109, 77, 255, .18), transparent 70%),
        radial-gradient(780px 460px at 92% 8%,   rgba(240, 91, 208, .12), transparent 70%),
        radial-gradient(900px 600px at 50% 110%, rgba(34, 211, 238, .08), transparent 70%);
}

main, header, footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.12;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    border: 1px solid var(--line-2);
    border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font: 600 13.5px/1 'Inter', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .18s, background .18s, border-color .18s, box-shadow .18s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .08); border-color: var(--line-2); }
.btn i { font-size: 14px; }

.btn.primary {
    background: var(--grad);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(109, 77, 255, .38);
}
.btn.primary:hover { box-shadow: 0 16px 40px rgba(109, 77, 255, .5); }

.btn.discord { background: rgba(88, 101, 242, .16); border-color: rgba(88, 101, 242, .42); }
.btn.discord:hover { background: rgba(88, 101, 242, .28); }

.btn.lg { padding: 16px 28px; font-size: 14px; }
.btn.sm { padding: 9px 16px; font-size: 12px; }

.btn.locked { opacity: .62; cursor: not-allowed; }
.btn.locked:hover { transform: none; }

/* Pfeil-Knopf unten rechts in Karten */
.go {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    transition: .2s;
}

/* ---------------------------------------------------------------- Leuchtpunkt */
.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dim);
    display: inline-block;
    flex: none;
}
.led.on  { background: var(--green); box-shadow: 0 0 0 4px rgba(46, 229, 157, .16); animation: pulse 2.4s infinite; }
.led.off { background: var(--red);   box-shadow: 0 0 0 4px rgba(255, 61, 110, .16); }
@keyframes pulse { 0%, 100% { opacity: 1 } 50% { opacity: .45 } }

/* ================================================================ Kopfzeile */
.nav {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(7, 6, 15, .72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.nav.scrolled { background: rgba(7, 6, 15, .93); }

.bar {
    display: flex;
    align-items: center;
    gap: 22px;
    height: 72px;
}

.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.logo b {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    display: block;
    line-height: 1.1;
}
.logo small { display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }

.links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
    transition: .18s;
}
.links a i { font-size: 12.5px; opacity: .8; }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.links a.on { color: #fff; background: var(--grad); box-shadow: 0 8px 22px -10px rgba(109, 77, 255, .9); }
.links a.on i { opacity: 1; }

.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }

.online-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(46, 229, 157, .26);
    background: rgba(46, 229, 157, .08);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    color: #b6f3da;
}

.icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
    font-size: 15px;
    transition: .18s;
}
.icon-btn:hover { color: #fff; background: rgba(88, 101, 242, .22); border-color: rgba(88, 101, 242, .42); }

.burger {
    display: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0 18px;
    border-top: 1px solid var(--line);
}
.mobile-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; color: var(--muted); font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.mobile-menu a i { width: 18px; text-align: center; font-size: 13px; color: var(--purple); }
.mobile-menu.open { display: flex; }

/* ---------------------------------------------------------------- Countdown-Band */
.cd-bar {
    border-bottom: 1px solid var(--line);
    background: linear-gradient(90deg, rgba(109, 77, 255, .2), rgba(240, 91, 208, .14) 55%, rgba(34, 211, 238, .12));
}
.cd-in {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 11px 0;
    font-size: 13px;
}
.cd-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(240, 91, 208, .18);
    border: 1px solid rgba(240, 91, 208, .36);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #ffc8f0;
}
.cd-txt { color: #e4ddff; }
.cd-txt b { font-variant-numeric: tabular-nums; }
.cd-sep { color: var(--dim); }
.cd-more {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    font-weight: 600;
    transition: .18s;
}
.cd-more:hover { background: rgba(255, 255, 255, .13); }

/* ==================================================================== Hero */
.hero {
    position: relative;
    padding: 64px 0 40px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% 78%;   /* unterhalb des Schriftzugs, Figuren nach rechts */
    opacity: .52;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--bg) 4%, rgba(7, 6, 15, .72) 42%, rgba(7, 6, 15, .5) 100%),
        linear-gradient(0deg, var(--bg) 2%, transparent 45%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    gap: 48px;
    align-items: start;
}

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: rgba(255, 255, 255, .05);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted);
}
.badge.green { border-color: rgba(46, 229, 157, .3); background: rgba(46, 229, 157, .1); color: #a9efd3; }

.hero h1 {
    font-size: clamp(38px, 5.4vw, 64px);
    font-weight: 800;
    margin-bottom: 20px;
}
.hero .lead {
    max-width: 520px;
    color: var(--muted);
    font-size: 16px;
    margin-bottom: 28px;
}
.ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------- Live-Status */
.live {
    border: 1px solid var(--line-2);
    border-radius: var(--r-lg);
    background: linear-gradient(170deg, rgba(27, 23, 51, .92), rgba(13, 11, 27, .94));
    box-shadow: var(--shadow);
    padding: 22px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.live-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 14px;
}
.live-head .state { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }

.players { font-family: 'Outfit', sans-serif; font-size: 54px; font-weight: 800; line-height: 1; }
.players small { font-size: 22px; font-weight: 600; color: var(--dim); }
.live .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

.pbar { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin: 16px 0; }
.pbar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width .7s; }

.connect {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(245, 196, 81, .26);
    background: rgba(245, 196, 81, .08);
    font-size: 12.5px;
    color: #f3e3bc;
    line-height: 1.5;
}
.connect i { color: var(--yellow); margin-top: 3px; }
.connect.ok { border-color: var(--line-2); background: rgba(255, 255, 255, .05); color: var(--text); align-items: center; }
.connect code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; color: var(--cyan); }
.connect .btn { margin-left: auto; }

.live .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.live .meta > div {
    padding: 11px 13px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
}
.live .meta span { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.live .meta b { font-size: 13px; font-weight: 600; }

/* ---------------------------------------------------------------- USP-Zeile */
.usps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 44px;
}
.usp { display: flex; align-items: center; gap: 13px; }
.usp .ic {
    width: 40px;
    height: 40px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(139, 92, 246, .16);
    border: 1px solid rgba(139, 92, 246, .3);
    color: #c9b4ff;
    font-size: 15px;
}
.usp b { display: block; font-size: 14px; font-weight: 600; }
.usp span { font-size: 12.5px; color: var(--muted); }

/* ================================================================== Zahlen */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.5fr);
    gap: 14px;
    margin: 34px 0 10px;
}
.stat {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 18px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
}
.stat .ic {
    width: 38px;
    height: 38px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(34, 211, 238, .12);
    border: 1px solid rgba(34, 211, 238, .24);
    color: var(--cyan);
    font-size: 14px;
}
.stat b { display: block; font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 12.5px; color: var(--muted); }

/* Wetterwarnung / Live-Meldung */
.alert-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 44px 16px 18px;
    border-radius: var(--r);
    border: 1px solid rgba(255, 61, 110, .34);
    background: linear-gradient(130deg, rgba(255, 61, 110, .16), rgba(255, 61, 110, .05));
}
.alert-card .ic {
    width: 38px;
    height: 38px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 61, 110, .2);
    border: 1px solid rgba(255, 61, 110, .34);
    color: #ff8fab;
    font-size: 14px;
}
.alert-card b { display: block; font-size: 14.5px; font-weight: 700; }
.alert-card span { font-size: 12px; color: #e9b9c6; }
.alert-card .n {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 61, 110, .28);
    font-size: 12px;
    font-weight: 700;
    color: #ffd2dd;
}
.alert-card .go { background: rgba(255, 61, 110, .16); border-color: rgba(255, 61, 110, .3); color: #ff9db3; }
.alert-card.hidden { display: none; }

/* ================================================================ Sektionen */
.sec { padding: 84px 0; }
.sec.tight { padding-top: 24px; }

.sec-head { text-align: center; margin-bottom: 42px; }
.kicker {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.sec-head p { max-width: 640px; margin: 14px auto 0; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------- Möglichkeiten */
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--panel);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover .go { background: var(--grad); border-color: transparent; color: #fff; }

.card .shot {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #0d0b1a;
}
/* Das Key-Art wird je Kachel anders angeschnitten (--ox/--oy), damit immer ein
   anderer Bildteil unterhalb des Schriftzugs zu sehen ist. */
.card .shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(2.2);
    transform-origin: var(--ox, 50%) var(--oy, 75%);
    transition: transform .5s;
    filter: saturate(1.1) contrast(1.04);
}
.card:hover .shot img { transform: scale(2.4); }
/* Farbtönung je Kachel – macht die wiederverwendeten Motive unterscheidbar */
.card .shot::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 20%, rgba(17, 15, 32, .35) 65%, var(--panel) 100%),
        linear-gradient(145deg, var(--tint-a, rgba(109, 77, 255, .5)), var(--tint-b, rgba(240, 91, 208, .35)));
    mix-blend-mode: normal;
    opacity: .78;
}
.card .chip {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
}
.card .chip i {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(10, 8, 20, .62);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(6px);
    font-size: 12.5px;
    color: #fff;
}
.card .body { padding: 16px 48px 20px 16px; }
.card .body p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ------------------------------------------------- Launcher-Download (Einstieg) */
.dl-box {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 30px;
    padding: 22px 24px;
    border-radius: var(--r-lg);
    background: linear-gradient(120deg, rgba(34, 211, 238, .12), rgba(139, 92, 246, .14) 50%, rgba(240, 91, 208, .12)), var(--panel);
    border: 1px solid rgba(139, 92, 246, .45);
    box-shadow: var(--shadow);
}
.dl-box .ic {
    width: 58px; height: 58px; flex: none;
    border-radius: 16px;
    display: grid; place-items: center;
    font-size: 24px;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 26px rgba(109, 77, 255, .38);
}
.dl-box .tx { flex: 1; min-width: 0; }
.dl-box .meta {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--cyan);
}
.dl-box h3 { margin: 8px 0 5px; font-size: 20px; font-weight: 800; }
.dl-box p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.dl-box .btn { flex: none; }
@media (max-width: 860px) {
    .dl-box { flex-direction: column; text-align: center; }
    .dl-box .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- Einstieg */
.steps-sec { position: relative; padding: 84px 0; overflow: hidden; }
.steps-bg { position: absolute; inset: 0; z-index: -1; }
.steps-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 88%; opacity: .34; }
.steps-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg) 3%, rgba(7, 6, 15, .62) 50%, var(--bg) 99%);
}
.steps-sec .sec-head { text-align: left; margin-bottom: 34px; }
.steps-sec .sec-head p { margin-left: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step {
    position: relative;
    padding: 22px 48px 26px 22px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: linear-gradient(170deg, rgba(26, 22, 48, .86), rgba(12, 10, 26, .9));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-2); }
.step:hover .go { background: var(--grad); border-color: transparent; color: #fff; }
.step .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.step .num {
    font-family: 'Outfit', sans-serif;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.step .ic { font-size: 19px; color: #b9a6ff; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); }
.step p a { color: var(--cyan); }

/* ---------------------------------------------------------------- Neuigkeiten */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.news-head .sec-head { text-align: left; margin: 0; }
.news-head .sec-head p { margin-left: 0; }
.all-news { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--cyan); white-space: nowrap; }
.all-news:hover { color: #7fe9ff; }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 20px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: var(--panel);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.post:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.post:hover .go { background: var(--grad); border-color: transparent; color: #fff; }
.post .meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post .cat {
    padding: 4px 11px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(240, 91, 208, .16);
    border: 1px solid rgba(240, 91, 208, .32);
    color: #ffb9ee;
}
.post .cat.c1 { background: rgba(34, 211, 238, .14); border-color: rgba(34, 211, 238, .3); color: #9fe9f7; }
.post .cat.c2 { background: rgba(139, 92, 246, .16); border-color: rgba(139, 92, 246, .32); color: #c9b4ff; }
.post .date { font-size: 12px; color: var(--dim); }
.post h3 { font-size: 18px; }
.post p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.post .more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; }

/* ---------------------------------------------------------------- Discord-Banner */
.cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px 30px;
    border-radius: var(--r-lg);
    border: 1px solid rgba(139, 92, 246, .32);
    background: linear-gradient(110deg, rgba(88, 101, 242, .32), rgba(139, 92, 246, .22) 48%, rgba(240, 91, 208, .14));
    overflow: hidden;
}
.cta .bg { position: absolute; inset: 0; z-index: 0; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 82%; opacity: .32; }
.cta .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #171036 12%, rgba(42, 25, 90, .75) 55%, rgba(42, 25, 90, .25)); }
.cta > * { position: relative; z-index: 1; }
.cta .ic {
    width: 58px;
    height: 58px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: rgba(88, 101, 242, .28);
    border: 1px solid rgba(88, 101, 242, .5);
    color: #c3cbff;
    font-size: 25px;
}
.cta h3 { font-size: 23px; margin-bottom: 7px; }
.cta p { font-size: 13.5px; color: #cfc6ef; }
.cta .btn { margin-left: auto; }

/* ================================================================== Fußzeile */
footer { border-top: 1px solid var(--line); background: #06050d; padding: 54px 0 26px; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot p { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 320px; }
.foot h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}
.foot .col a { display: block; font-size: 13.5px; color: var(--dim); padding: 4px 0; cursor: pointer; transition: .16s; }
.foot .col a:hover { color: var(--text); }

.foot-status { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--dim); }
.foot-status .row { display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; }
.foot-status .row.off { color: var(--red); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    transition: .18s;
}
.socials a:hover { color: #fff; background: var(--grad); border-color: transparent; }

.copy {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--dim);
    text-align: center;
}
.copy a { color: var(--muted); }

/* ================================================================== Modale */
.modal-bg {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(4, 3, 10, .78);
    backdrop-filter: blur(6px);
}
.modal-bg.show { display: flex; }
.modal {
    position: relative;
    width: min(100%, 720px);
    max-height: 84vh;
    overflow: auto;
    padding: 30px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line-2);
    background: var(--panel-2);
    box-shadow: var(--shadow);
}
.modal h2 { font-size: 24px; margin-bottom: 14px; }
.modal h3 { font-size: 16px; margin: 20px 0 8px; }
.modal p, .modal li { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.modal p + p { margin-top: 10px; }
.modal a { color: var(--cyan); }
.modal .x {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .05);
    color: var(--muted);
    cursor: pointer;
}

/* ================================================================ Cookie-Box */
.cookie {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 150;
    display: none;
    align-items: center;
    gap: 16px;
    max-width: 820px;
    margin-inline: auto;
    padding: 16px 20px;
    border-radius: var(--r);
    border: 1px solid var(--line-2);
    background: rgba(17, 15, 32, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}
.cookie.show { display: flex; }
.cookie-ic { font-size: 20px; color: var(--yellow); }
.cookie-txt b { display: block; font-size: 14px; margin-bottom: 3px; }
.cookie-txt span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cookie-txt a { color: var(--cyan); cursor: pointer; }
.cookie-btns { display: flex; gap: 10px; margin-left: auto; flex: none; }

.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    z-index: 300;
    transform: translate(-50%, 26px);
    opacity: 0;
    pointer-events: none;
    padding: 12px 20px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-2);
    background: rgba(17, 15, 32, .97);
    font-size: 13.5px;
    transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ================================================================ Einblendung */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ================================================================== Responsiv */
@media (max-width: 1080px) {
    .hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stats .alert-card { grid-column: span 2; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .news { grid-template-columns: 1fr; }
    .usps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .links { display: none; }
    .burger { display: grid; }
    .online-pill { display: none; }
    .cta { flex-direction: column; align-items: flex-start; }
    .cta .btn { margin-left: 0; }
    .news-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
    .wrap { width: calc(100% - 32px); }
    .logo small { display: none; }
    .nav-right .icon-btn { display: none; }
    .nav-right .btn.primary span { display: none; }   /* Bürgerportal nur als Symbol */
    .nav-right .btn.primary { padding: 10px 13px; }
    .cd-sep { display: none; }
    .cd-in { gap: 8px 12px; text-align: center; }
    .sec { padding: 56px 0; }
    .steps-sec { padding: 56px 0; }
    .cards, .steps, .usps, .stats { grid-template-columns: 1fr; }
    .stats .alert-card { grid-column: auto; }
    .foot { grid-template-columns: 1fr; gap: 26px; }
    .players { font-size: 44px; }
    .live .meta { grid-template-columns: 1fr; }
    .cookie { flex-direction: column; align-items: flex-start; }
    .cookie-btns { margin-left: 0; }
    .ctas .btn { flex: 1 1 100%; justify-content: center; }
}
