/* JGR Theme – Layout
   Überschreibt ClanSphere's .container komplett auf full-width.
   Definiert alle JGR-Layout-Strukturen. */

/* ═══════════════════════════════════════════════════════════════
   CONTAINER – ClanSphere-Override: full-width, kein fixer Rahmen
═══════════════════════════════════════════════════════════════ */
.container {
    width: 100%;
    max-width: none;
    border: none;
    background: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    margin: 0;
    padding: 0;
    position: relative;
}

/* ── PAGE-LINES (Vignette außerhalb 1340px) ─────────────────── */
#page-lines {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 2;
}
#page-lines::before {
    content: ''; position: absolute; top: 0; bottom: 0;
    left: 0; width: calc(50% - 670px);
    background: linear-gradient(to right,
        rgba(0,4,22,0.80) 0%, rgba(0,4,22,0.55) 55%, rgba(0,4,22,0.15) 100%);
    border-right: 1px solid rgba(90,200,255,0.20);
    box-shadow: inset -10px 0 20px rgba(0,4,22,0.5), 5px 0 20px rgba(0,4,22,0.6);
}
#page-lines::after {
    content: ''; position: absolute; top: 0; bottom: 0;
    right: 0; width: calc(50% - 670px);
    background: linear-gradient(to left,
        rgba(0,4,22,0.80) 0%, rgba(0,4,22,0.55) 55%, rgba(0,4,22,0.15) 100%);
    border-left: 1px solid rgba(90,200,255,0.20);
    box-shadow: inset 10px 0 20px rgba(0,4,22,0.5), -5px 0 20px rgba(0,4,22,0.6);
}

/* ── TOPBAR ─────────────────────────────────────────────────── */
#topbar {
    background: rgba(0,6,45,0.82);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 4px 0;
    position: relative; z-index: 10;
}
.topbar-inner {
    max-width: 1340px; margin: 0 auto;
    padding: 0 16px; display: flex;
    justify-content: flex-end; align-items: center; gap: 14px;
}
.topbar-inner a {
    font-family: var(--fh); font-size: 10px;
    letter-spacing: .1em; color: var(--tx3);
    text-transform: uppercase; transition: color .15s;
}
.topbar-inner a:hover { color: var(--tx1); }

/* ── HEADER – ClanSphere #header → JGR nav + hero ──────────── */
/* Wir setzen height und background des ClanSphere #header zurück */
#header {
    background: none;
    height: auto;
    padding: 0;
    margin: 0;
}
#header > div {
    float: none;
    height: auto;
    text-shadow: none;
}
/* Verstecke ClanSphere Standard-Elemente die wir nicht brauchen */
#header h1 { display: none; }
#header .clansphere { display: none; }
#header .topmatch { display: none; }
/* Login-Bereich wird stattdessen im Seiteninhalt gezeigt */
#header .login { display: none; }

/* ── NAV ────────────────────────────────────────────────────── */
#nav {
    background: rgba(0,10,60,0.82);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid rgba(41,182,246,0.50);
    box-shadow: 0 4px 28px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.10);
    position: sticky; top: 0; z-index: 100;
}
.nav-wrap {
    max-width: 1340px; margin: 0 auto;
    display: flex; align-items: center;
    padding: 0 16px; height: 52px;
}
.nav-logo {
    font-family: var(--fh); font-size: 13px; font-weight: 700;
    letter-spacing: .1em; color: rgba(255,255,255,0.45);
    flex-shrink: 0; margin-right: 24px;
    border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
    padding: 4px 12px; background: rgba(255,255,255,0.05);
}
.nav-logo img {
    max-height: 36px; width: auto;
    vertical-align: middle; border: none;
}
.nav-links { display: flex; gap: 0; flex: 1; }
.nav-link {
    font-family: var(--fi); font-size: 11px; font-weight: 700;
    letter-spacing: .10em; text-transform: uppercase;
    color: var(--tx2); padding: 0 16px; height: 52px;
    display: flex; align-items: center;
    position: relative; transition: color .18s;
}
/* Trennlinie: kürzer als Nav-Höhe, zentriert, Verlauf */
.nav-link + .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%; transform: translateY(-50%);
    height: 18px; width: 1px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0.32) 50%,
        rgba(255,255,255,0.18) 70%,
        transparent 100%
    );
    pointer-events: none;
}
.nav-link::after {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%; height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, #FFF176 50%, var(--gold) 80%, transparent 100%);
    clip-path: polygon(8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%, 0% 50%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .28s cubic-bezier(.34,1.3,.64,1);
    filter: drop-shadow(0 0 4px rgba(255,210,0,0.85)) drop-shadow(0 0 8px rgba(255,170,0,0.45));
}
.nav-link:hover { color: #fff; text-shadow: 0 0 14px rgba(150,225,255,0.60); }
.nav-link.aktiv, .nav-link.nav-active { color: var(--gold); text-shadow: 0 0 10px rgba(255,204,0,0.35); }
.nav-link.aktiv::after, .nav-link.nav-active::after, .nav-link:hover::after {
    transform: scaleX(1);
    animation: navGlow 2s ease-in-out infinite;
}
@keyframes navGlow {
    0%, 100% { filter: drop-shadow(0 0 3px rgba(255,210,0,0.80)) drop-shadow(0 0 8px rgba(255,170,0,0.38)); }
    50%       { filter: drop-shadow(0 0 6px rgba(255,230,0,1.00)) drop-shadow(0 0 16px rgba(255,160,0,0.65)); }
}

.nav-suche { margin-left: auto; display: flex; gap: 6px; }
.nav-suche input {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 4px;
    padding: 5px 12px; color: var(--tx1);
    font-family: var(--fi); font-size: 11px; width: 160px;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.nav-suche input::placeholder { color: var(--tx3); }
.nav-suche input:focus {
    outline: none; border-color: var(--sky);
    box-shadow: 0 0 0 2px rgba(41,182,246,0.18);
    background: rgba(255,255,255,0.12);
}
.nav-suche button {
    background: linear-gradient(180deg, #FFD700 0%, #FF8C00 48%, #CC2800 100%);
    color: #fff; border: 1px solid rgba(255,220,80,0.45); border-radius: 4px;
    padding: 5px 14px; font-family: var(--fh); font-size: 10px;
    font-weight: 700; letter-spacing: .12em; cursor: pointer;
    text-shadow: 0 1px 2px rgba(0,0,0,0.45);
    box-shadow: 0 2px 10px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.35),
                0 0 12px rgba(255,180,0,0.20);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.nav-suche button:hover {
    background: linear-gradient(180deg, #FFE040 0%, #FFA020 48%, #DD3000 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.40),
                0 0 18px rgba(255,180,0,0.30);
}

/* ── HERO BAND ──────────────────────────────────────────────── */
#header-band-wrap {
    background: transparent; position: relative; z-index: 10;
}
#header-band {
    max-width: 1340px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 300px;
    min-height: 300px;
}

/* Hero (links) */
#hero {
    position: relative; overflow: hidden;
    background: #000820;
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-1 {
    width: 380px; height: 380px; top: -100px; left: -60px;
    background: radial-gradient(circle, rgba(120,215,255,0.38) 0%, transparent 68%);
    animation: orbFloat 7s ease-in-out infinite;
}
.hero-orb-2 {
    width: 220px; height: 220px; top: 30px; right: 40px;
    background: radial-gradient(circle, rgba(200,240,255,0.28) 0%, transparent 68%);
    animation: orbFloat 9s ease-in-out infinite; animation-delay: -3s;
}
.hero-orb-3 {
    width: 160px; height: 160px; bottom: -30px; left: 38%;
    background: radial-gradient(circle, rgba(41,182,246,0.40) 0%, transparent 68%);
    animation: orbFloat 6s ease-in-out infinite; animation-delay: -1.5s;
}
@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-16px) scale(1.06); }
}
.hero-shine {
    position: absolute; inset: 0;
    background: linear-gradient(108deg, transparent 28%, rgba(255,255,255,0.06) 50%, transparent 72%);
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-fade {
    position: absolute; inset: 0;
    background: linear-gradient(to right,
        rgba(0,20,100,0.55) 0%, rgba(0,20,100,0.12) 65%, transparent 100%);
}
.hero-content {
    position: relative; z-index: 3;
    padding: 48px 48px 40px; max-width: 600px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--skybright);
    border: 1px solid rgba(129,212,250,0.40);
    background: rgba(41,182,246,0.13);
    padding: 4px 14px; margin-bottom: 18px; border-radius: 20px;
    box-shadow: 0 0 16px rgba(41,182,246,0.20), inset 0 1px 0 rgba(255,255,255,0.18);
}
.hero-badge::before { content: '◆'; font-size: 6px; color: var(--sky); }
.hero-title {
    font-family: var(--fh); font-size: 42px; font-weight: 700;
    line-height: 1.08; margin-bottom: 12px; color: #fff;
    text-shadow: 0 2px 24px rgba(0,100,255,0.45), 0 0 60px rgba(100,200,255,0.25);
}
.hero-sub {
    font-family: var(--fi); font-size: 13px; color: var(--tx2);
    margin-bottom: 30px; line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.hero-btn {
    background: linear-gradient(180deg, #FFD700 0%, #FF8C00 48%, #CC2800 100%);
    color: #fff; font-family: var(--fh); font-size: 12px;
    font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    padding: 13px 32px; border-radius: 4px; display: inline-block; cursor: pointer;
    border: 1px solid rgba(255,220,80,0.50);
    box-shadow: 0 4px 20px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.40),
                0 0 20px rgba(255,160,0,0.22);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s; text-shadow: 0 1px 3px rgba(0,0,0,0.40);
}
.hero-btn:hover {
    background: linear-gradient(180deg, #FFE040 0%, #FFA020 48%, #DD3000 100%);
    box-shadow: 0 6px 26px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.50),
                0 0 30px rgba(255,160,0,0.35);
    transform: translateY(-2px); color: #fff;
}
.hero-deko {
    position: absolute; right: -20px; top: 20px;
    width: 300px; height: 240px;
    border: 1px solid rgba(100,210,255,0.14);
    border-radius: 14px; transform: rotate(6deg);
    background: rgba(255,255,255,0.02); backdrop-filter: blur(4px);
}

/* Logo Panel (rechts) */
#logo-panel {
    position: relative; overflow: hidden;
    width: 300px; height: 300px;
    flex-shrink: 0; align-self: start;
    background: linear-gradient(160deg,
        rgba(255,255,255,0.17) 0%, rgba(120,210,255,0.08) 50%, rgba(0,80,200,0.12) 100%);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.26);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}
#logo-panel::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.65), transparent);
}
#logo-panel::after {
    content: ''; position: absolute;
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(100,200,255,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.logo-ph { text-align: center; position: relative; z-index: 1; }
.logo-ph img {
    max-width: 252px; max-height: 252px;
    width: 100%; height: auto;
    filter: drop-shadow(0 0 12px rgba(100,210,255,0.5));
}
.logo-ph-text {
    font-family: var(--fh); font-size: 11px; letter-spacing: .18em;
    text-transform: uppercase; color: rgba(255,255,255,0.60);
}
.logo-ph-size { font-size: 10px; color: rgba(255,255,255,0.28); margin-top: 5px; }

/* ── TICKER ─────────────────────────────────────────────────── */
#ticker-wrap { overflow: hidden; position: relative; z-index: 10; }
.ticker-inner {
    max-width: 1340px; margin: 0 auto;
    display: flex; height: 29px;
}
.ticker-band {
    flex: 1; display: flex; align-items: center;
    height: 29px; overflow: hidden;
    background: radial-gradient(ellipse 60% 120% at 50% 50%,
        rgba(41,182,246,0.35) 0%, rgba(0,15,90,0.75) 70%, rgba(0,8,50,0.85) 100%);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: none;
    border-top:    1px solid transparent;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.28) 18%, rgba(255,255,255,0.28) 82%, transparent 100%) 1;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 -1px 0 rgba(0,0,0,0.15);
}
.ticker-spur {
    overflow: hidden; flex: 1; height: 29px; position: relative;
    mask-image: linear-gradient(to right,
        transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
        transparent 0%, black 8%, black 92%, transparent 100%);
}
.ticker-inhalt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex; align-items: center;
    white-space: nowrap;
    gap: 4rem;
    line-height: 1;
}
/* ClanSphere {news:navlist} gibt <li><a>...</a></li> aus */
.ticker-inhalt li,
.ticker-item {
    display: inline-flex; align-items: center;
    gap: 8px;
    white-space: nowrap; flex-shrink: 0;
    list-style: none; line-height: 1;
    padding: 0 32px 0 0;
}
/* Datum im Ticker */
.tk-date {
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    color: var(--sky); white-space: nowrap;
}
/* Trennzeichen */
.tk-sep {
    font-size: 6px; color: rgba(41,182,246,0.50);
    flex-shrink: 0;
}
/* Anklickbare Headline */
.tk-link {
    font-family: var(--fi); font-size: 10px;
    color: var(--tx2); white-space: nowrap;
    transition: color .15s;
}
.tk-link:hover { color: var(--gold); text-shadow: 0 0 10px rgba(255,204,0,0.5); }
/* ::before entfernt – .tk-sep übernimmt */
/* hover via .tk-link:hover */
.ticker-date {
    color: var(--sky);
    font-size: 9px;
    font-family: var(--fh);
    font-weight: 700;
    margin-right: 6px;
    white-space: nowrap;
    vertical-align: middle;
    line-height: 1;
}
/* Widget Aktuell – navlist Styles */
.widget-news-date {
    color: var(--sky);
    font-family: var(--fh);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}
.widget-news-sep {
    color: rgba(255,255,255,0.25);
    font-size: 10px;
    margin: 0 4px;
}
#col-right .news-panel li,
.news-panel li {
    display: flex;
    align-items: baseline;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    list-style: none;
    font-size: 11px;
    flex-wrap: nowrap;
    gap: 0;
}
.news-panel li:last-child { border-bottom: none; }
.news-panel li a {
    color: var(--tx2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.news-panel li a:hover { color: var(--gold); }

/* ── BANNER STREIFEN ────────────────────────────────────────── */
#banner-streifen { position: relative; z-index: 10; }
.banner-inner {
    max-width: 1340px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 1px; background: rgba(255,255,255,0.05);
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    overflow: hidden;
}
.bs-slot {
    background: rgba(255,255,255,0.03); padding: 8px 16px;
    font-family: var(--fh); font-size: 9px; letter-spacing: .15em;
    color: rgba(255,255,255,0.18); text-transform: uppercase;
    text-align: center; display: flex; align-items: center;
    justify-content: center; transition: .2s;
    height: 88px !important;
    overflow: hidden;
}
.bs-slot:hover {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.35);
}
.bs-slot img { width: 100%; height: 88px !important; max-height: 88px !important; object-fit: cover; display: block; }

/* ── MAIN DREI-SPALTEN LAYOUT ───────────────────────────────── */
/* Überschreibt ClanSphere float-layout (#content, #sidebar) */
#content, #sidebar { float: none; width: auto; padding: 0; margin: 0; background: none; }

#main-layout {
    max-width: 1340px; margin: 0 auto;
    padding: 20px 16px;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 18px;
    align-items: start;
}

/* ClanSphere setzt #content und #sidebar – wir mappen sie */
#sidebar { /* = col-left in JGR */ }
#content { /* = col-center in JGR */ }
#col-right { /* neue rechte Spalte – im Template manuell eingefügt */ }

/* ── GLASS CARD ─────────────────────────────────────────────── */
.card {
    will-change: transform;
    transform: translateZ(0);
    background: var(--glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--card-shadow);
    transition: box-shadow .2s;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
.card:hover {
    box-shadow: 0 6px 30px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.20);
}
.card-head {
    display: flex; align-items: center; gap: 7px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.07);
}
.card-head h2 {
    font-family: var(--fh); font-size: 12px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--tx2);
    margin: 0;
}
.cdot {
    font-family: var(--fh); font-size: 12px;
    font-weight: 700; color: var(--gold);
}
.card-body { padding: 12px; }

/* ClanSphere #sidebar > div → glass card */
#sidebar > div {
    background: var(--glass);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--card-shadow);
    text-shadow: none;
    -webkit-box-shadow: var(--card-shadow);
    -moz-box-shadow: var(--card-shadow);
}
#sidebar > div:not(.card) h2 {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.09);
    background-image: none; /* ClanSphere bg-image entfernen */
    color: var(--tx2);
    font-family: var(--fh); font-size: 12px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    padding: 8px 12px; margin-bottom: 0; line-height: 1.4;
}
#sidebar > div:not(.card) h2::before {
    content: '»'; color: var(--gold);
    font-size: 14px; margin-right: 8px;
}
#sidebar > div:not(.card) ul { margin-bottom: 0; padding: 8px 0; }
#sidebar > div:not(.card) ul li {
    background: none; background-image: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: var(--tx2); font-weight: normal;
    line-height: 1.5; padding: 5px 12px;
    font-family: var(--fi); font-size: 11px;
}
#sidebar > div:not(.card) ul li:last-child { border-bottom: none; }
#sidebar > div:not(.card) ul li a { color: var(--tx2); display: block; }
#sidebar > div:not(.card) ul li a:hover { color: var(--gold); }

/* ── USER PANEL (ClanSphere {users:navlogin} Output) ────────── */
/* Der Wrapper für das Login-Block-Ausgabe */
.jgr-userpanel { padding: 14px 12px; }

/* Login-Form State (nicht eingeloggt) */
.jgr-userpanel input[type="text"],
.jgr-userpanel input[type="password"] {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px; padding: 7px 10px;
    color: var(--tx1); font-family: var(--fi);
    font-size: 11px; margin: 4px 0;
    transition: border-color .2s;
}
.jgr-userpanel input[type="text"]:focus,
.jgr-userpanel input[type="password"]:focus {
    outline: none; border-color: var(--sky);
    box-shadow: 0 0 0 2px rgba(41,182,246,0.18);
    background: rgba(255,255,255,0.12);
}
.jgr-userpanel input[type="submit"],
.jgr-userpanel input[type="button"] {
    background: linear-gradient(180deg, #FFD700 0%, #FF8C00 48%, #CC2800 100%);
    color: #fff; border: 1px solid rgba(255,220,80,0.45); border-radius: 4px;
    padding: 7px 16px; font-family: var(--fh); font-size: 10px;
    font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    cursor: pointer; width: 100%; margin-top: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s; text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.jgr-userpanel input[type="submit"]:hover {
    background: linear-gradient(180deg, #FFE040 0%, #FFA020 48%, #DD3000 100%);
}
.jgr-userpanel label {
    font-family: var(--fi); font-size: 10px; color: var(--tx3);
    display: block; margin-top: 6px; margin-bottom: 2px;
}
/* Eingeloggt: Links-Liste */
.jgr-userpanel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 14px; }
.jgr-userpanel ul li {
    background: none; border: none;
    padding: 3px 0; font-family: var(--fi); font-size: 11px;
    list-style: none; color: var(--tx2);
}
.jgr-userpanel ul li a { color: var(--tx2); }
.jgr-userpanel ul li a:hover { color: var(--gold); }

/* Avatar-Zeile */
.jgr-userpanel .user-avatar-row {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.jgr-userpanel .user-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, rgba(41,182,246,0.35), rgba(2,119,189,0.35));
    border: 2px solid rgba(41,182,246,0.45);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
    box-shadow: 0 0 14px rgba(41,182,246,0.30);
    overflow: hidden;
}
.jgr-userpanel .user-avatar img { width: 42px; height: 42px; object-fit: cover; }
.jgr-userpanel .user-name { font-family: var(--fh); font-size: 13px; font-weight: 700; color: var(--gold); }
.jgr-userpanel .user-role { font-family: var(--fi); font-size: 10px; color: var(--tx3); }

/* Logout-Button */
.jgr-userpanel .logout-btn,
.jgr-userpanel a.logout {
    display: block; text-align: center;
    background: linear-gradient(180deg, rgba(229,57,53,0.22) 0%, rgba(180,20,20,0.18) 100%);
    border: 1px solid rgba(229,57,53,0.40); border-radius: 4px;
    padding: 7px; font-family: var(--fh); font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: #FF6B6B; margin-top: 12px; cursor: pointer;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s; box-shadow: inset 0 1px 0 rgba(255,100,100,0.15);
}
.jgr-userpanel .logout-btn:hover,
.jgr-userpanel a.logout:hover {
    background: linear-gradient(180deg, rgba(229,57,53,0.35) 0%, rgba(180,20,20,0.30) 100%);
    box-shadow: 0 0 14px rgba(229,57,53,0.25), inset 0 1px 0 rgba(255,100,100,0.20);
    color: #FF6B6B;
}

/* ── JETZT ONLINE ({users:navonline} Output) ────────────────── */
/* ClanSphere gibt hier eine ul>li-Liste aus mit Avatar, Name, Flag */
.card .uonline-list,
#sidebar .card ul.online-list { padding: 4px 0; list-style: none; }

/* Generischer li-Output von {users:navonline} */
#sidebar .card > ul li,
.online-list li {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--fi); font-size: 11px; color: var(--tx2);
    list-style: none; background: none;
}
#sidebar .card > ul li:last-child,
.online-list li:last-child { border-bottom: none; }
#sidebar .card > ul li a { color: var(--gold); font-family: var(--fh); font-weight: 700; }
#sidebar .card > ul li img { width: 16px; height: auto; border: none; }

.online-item {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.online-item:last-child { border-bottom: none; }
.online-flag   { font-size: 14px; }
.online-name   { font-family: var(--fh); font-size: 11px; color: var(--gold); }
.online-icon   { font-size: 10px; color: var(--tx3); margin-left: auto; }

/* ── SERVER WIDGET ──────────────────────────────────────────── */
.srv-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.srv-item:last-child { border-bottom: none; }
.srv-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.srv-dot.on  { background: #4CAF50; box-shadow: 0 0 6px rgba(76,175,80,.75); }
.srv-dot.off { background: #555; }
.srv-info { flex: 1; min-width: 0; }
.srv-name  { font-family: var(--fi); font-size: 10px; color: var(--tx1); line-height: 1.3; }
.srv-game  { font-family: var(--fi); font-size: 9px; color: var(--sky); font-style: italic; }
.srv-count { font-family: var(--fh); font-size: 10px; font-weight: 700; color: var(--tx3); flex-shrink: 0; }
.srv-connect {
    background: linear-gradient(180deg, rgba(41,182,246,0.22) 0%, rgba(2,119,189,0.22) 100%);
    border: 1px solid rgba(41,182,246,0.40); border-radius: 3px;
    padding: 2px 8px; font-family: var(--fh); font-size: 8px;
    font-weight: 700; letter-spacing: .1em; color: var(--sky);
    cursor: pointer; white-space: nowrap; flex-shrink: 0;
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s; box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
    text-decoration: none;
}
.srv-connect:hover {
    background: linear-gradient(180deg, rgba(41,182,246,0.38) 0%, rgba(2,119,189,0.38) 100%);
    box-shadow: 0 0 10px rgba(41,182,246,0.22), inset 0 1px 0 rgba(255,255,255,0.15);
    color: var(--sky);
}

/* ── ONLINE WIDGET ──────────────────────────────────────────── */
.online-item {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.online-item:last-child { border-bottom: none; }
.online-flag { font-size: 14px; }
.online-name { font-family: var(--fh); font-size: 11px; color: var(--gold); }

/* ── NEWS ────────────────────────────────────────────────────── */
.news-artikel {
    padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.news-artikel:last-child { border-bottom: none; }
.news-meta { font-family: var(--fi); font-size: 10px; color: var(--tx3); margin-bottom: 7px; }
.news-hl { font-family: var(--fh); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.news-hl a { color: #fff; transition: color .15s; }
.news-hl a:hover { color: var(--gold); }
.news-text { font-family: var(--fi); font-size: 12.5px; color: var(--tx2); line-height: 1.8; }
.news-footer {
    font-family: var(--fi); font-size: 10px; color: var(--tx3);
    margin-top: 10px; display: flex; gap: 14px;
}
.news-footer a { color: var(--tx3); }
.news-footer a:hover { color: var(--gold); }

.scroll-up-bar {
    display: flex; justify-content: flex-end;
    padding: 8px 14px; border-top: 1px solid rgba(255,255,255,0.07);
}
.scroll-up-btn {
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: var(--tx3);
    display: flex; align-items: center; gap: 5px; cursor: pointer;
    transition: color .15s;
}
.scroll-up-btn:hover { color: var(--tx1); }

/* ── AKTUELL / NEWS TABS (rechte Spalte) ────────────────────── */
.news-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0;
}
.news-tab {
    font-family: var(--fh); font-size: 10px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--tx3);
    padding: 9px 0; border-bottom: 2px solid transparent;
    cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s, opacity .15s;
    text-align: center; white-space: nowrap;
    margin: 0 6px;
}
.news-tab.aktiv {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    text-shadow: 0 0 8px rgba(255,204,0,0.45);
}
.news-tab:hover { color: var(--tx1); }
.news-panel { display: none; padding: 10px 12px; }
.news-panel.aktiv { display: block; }

.np-item { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.np-item:last-child { border-bottom: none; }
.np-meta { font-family: var(--fi); font-size: 10px; color: var(--tx3); margin-bottom: 2px; }
.np-link {
    font-family: var(--fi); font-size: 11px; color: var(--tx2);
    display: block; word-break: break-word; line-height: 1.4;
    transition: color .15s;
}
.np-link:hover { color: var(--gold); }

/* ClanSphere navlist output in rechter Spalte */
#col-right .card ul li {
    padding: 6px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--fi); font-size: 11px; color: var(--tx2);
    list-style: none; background: none; background-image: none;
}
#col-right .card ul li:last-child { border-bottom: none; }
#col-right .card ul li a { color: var(--tx2); }
#col-right .card ul li a:hover { color: var(--gold); }

/* ── KALENDER ────────────────────────────────────────────────── */
.kal-head {
    display: flex; align-items: center;
    justify-content: space-between; padding: 8px 12px;
}
.kal-nav {
    background: rgba(41,182,246,0.07);
    border: 1px solid rgba(41,182,246,0.35);
    border-radius: 4px;
    color: var(--sky);
    cursor: pointer;
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s, opacity .18s;
    line-height: 1;
    font-size: 15px;
    font-family: Georgia, serif;
}
.kal-nav:hover {
    background: rgba(41,182,246,0.18);
    border-color: rgba(41,182,246,0.6);
    color: #fff;
}
.kal-monat {
    font-family: var(--fh); font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--tx2);
}
.kal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 2px; padding: 0 10px 10px;
}
.kal-wt {
    font-family: var(--fh); font-size: 8px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--tx3); text-align: center; padding: 3px 0;
}
.kt {
    font-family: var(--fi); font-size: 10px;
    color: rgba(255,255,255,0.38); text-align: center;
    padding: 4px 2px; border-radius: 50%;
    cursor: default; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s, opacity .15s;
}
.kt.leer   { opacity: 0; }
.kt.we     { color: rgba(255,255,255,0.22); }
.kt.termin { color: var(--gold); font-weight: 700; text-shadow: 0 0 8px rgba(255,204,0,0.4); }
.kt.heute  {
    background: linear-gradient(135deg, #4FC3F7, #0277BD);
    color: #fff; font-weight: 700;
    box-shadow: 0 0 10px rgba(41,182,246,0.55);
}

/* ── LETZTE MATCHES ({wars:navlist} Output) ─────────────────── */
.match-item {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.match-item:last-child { border-bottom: none; }
.match-team {
    font-family: var(--fh); font-size: 11px; font-weight: 700;
    color: var(--tx2); flex: 1; min-width: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.match-game {
    font-family: var(--fi); font-size: 8.5px; color: var(--sky);
    font-style: italic; margin-top: 1px;
}
.match-score {
    font-family: var(--fh); font-size: 12px; font-weight: 700;
    padding: 2px 9px; border-radius: 4px; flex-shrink: 0;
    letter-spacing: .04em; background: rgba(255,255,255,0.07);
    color: var(--tx1);
}
.match-score.win   { color: #4CAF50; background: rgba(76,175,80,0.12);  border: 1px solid rgba(76,175,80,0.25); }
.match-score.draw  { color: var(--gold); background: rgba(255,204,0,0.10); border: 1px solid rgba(255,204,0,0.22); }
.match-score.loss  { color: var(--crimson); background: rgba(229,57,53,0.12); border: 1px solid rgba(229,57,53,0.25); }
.match-date {
    font-family: var(--fi); font-size: 9px; color: var(--tx3);
    text-align: right; flex-shrink: 0; min-width: 48px;
}

/* ClanSphere {wars:navlist} gibt eigene Klassen aus –
   Fallback-Styling damit es immer lesbar bleibt */
.card-body .warlist, #col-right .card ul {
    list-style: none; padding: 6px 0; margin: 0;
}
.card-body .warlist li, #col-right .card > ul > li {
    padding: 6px 12px; border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--fi); font-size: 11px; color: var(--tx2);
    background: none;
}
.card-body .warlist li:last-child, #col-right .card > ul > li:last-child { border-bottom: none; }
.card-body .warlist li a, #col-right .card > ul > li a { color: var(--tx2); }
.card-body .warlist li a:hover, #col-right .card > ul > li a:hover { color: var(--gold); }

/* ── SPONSOR GRID ────────────────────────────────────────────── */
.sponsor-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 6px; padding: 10px 12px;
}
.sponsor-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px; padding: 8px; text-align: center;
    font-family: var(--fh); font-size: 9px; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,0.22);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.sponsor-item:hover {
    background: rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.42);
    border-color: rgba(255,255,255,0.18);
}

/* ── STATS WIDGET ────────────────────────────────────────────── */
.stat-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 5px 12px; border-bottom: 1px solid rgba(255,255,255,.06);
    font-family: var(--fi); font-size: 11px; gap: 8px;
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: var(--tx3); flex: 1; min-width: 0; }
.stat-value { color: var(--tx1); font-weight: 600; flex-shrink: 0; text-align: right; }
/* Gesamt-Zeile als Link */
.stat-row-link a {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; gap: 8px; color: inherit;
}
.stat-row-link a:hover .stat-label,
.stat-row-link a:hover .stat-value { color: var(--gold); }

/* ── GATE MODAL ──────────────────────────────────────────────── */
#jgr-gate {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh; z-index: 9000;
    background: rgba(0,8,60,0.88);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    display: flex; align-items: center; justify-content: center;
}
.gate-box {
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
    border: 1px solid rgba(255,255,255,0.22); border-radius: 16px;
    padding: 40px 48px; max-width: 560px; width: 90%;
    box-shadow: 0 10px 50px rgba(0,0,0,0.40), inset 0 1px 0 rgba(255,255,255,0.26);
    position: relative; overflow: hidden;
}
.gate-box::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
}
.gate-box::after {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(41,182,246,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.gate-btns { display: flex; gap: 12px; }
.gate-enter {
    background: linear-gradient(180deg, #FFD700 0%, #FF8C00 48%, #CC2800 100%);
    color: #fff; border: 1px solid rgba(255,220,80,0.45); border-radius: 4px;
    padding: 13px 32px; font-family: var(--fh); font-size: 12px;
    font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    cursor: pointer; text-shadow: 0 1px 3px rgba(0,0,0,0.45);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.38),
                0 0 20px rgba(255,160,0,0.20);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.gate-enter:hover {
    background: linear-gradient(180deg, #FFE040 0%, #FFA020 48%, #DD3000 100%);
    transform: translateY(-2px); color: #fff;
}
.gate-bye {
    background: rgba(255,255,255,0.05); color: rgba(255,255,255,.38);
    border: 1px solid rgba(255,255,255,.14); border-radius: 4px;
    padding: 13px 32px; font-family: var(--fh); font-size: 12px;
    font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
    cursor: pointer; display: flex; align-items: center; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.gate-bye:hover {
    color: rgba(255,255,255,.68);
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,0.09);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
#footer {
    margin-top: 32px;
    position: relative; z-index: 10;
    background: rgba(0,6,45,0.82);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
    color: var(--tx1);
    font-size: 1em;
    font-weight: normal;
    line-height: 1.5;
    padding: 0;
    text-align: left;
    text-shadow: none;
    clear: both;
}
.footer-glow {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(41,182,246,0.55), transparent);
}
.footer-inner {
    max-width: 1340px; margin: 0 auto; padding: 28px 16px 20px;
}
.footer-top {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 32px;
    flex-wrap: wrap; margin-bottom: 24px;
}
.footer-brand-name {
    font-family: var(--fh); font-size: 18px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase; color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 0 20px rgba(41,182,246,0.4);
}
.footer-brand-sub {
    font-family: var(--fi); font-size: 11px;
    color: var(--tx3); line-height: 1.7; max-width: 320px;
}
.footer-nav-group { }
.footer-nav-label {
    font-family: var(--fh); font-size: 10px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--sky); margin-bottom: 10px;
}
.footer-nav-links {
    display: flex; flex-direction: column; gap: 6px;
}
.footer-nav-links a {
    font-family: var(--fi); font-size: 11px; color: var(--tx3);
    transition: color .15s;
}
.footer-nav-links a:hover { color: #fff; }
.footer-divider {
    height: 1px; background: rgba(255,255,255,0.08); margin-bottom: 16px;
}
.footer-bottom {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
    font-family: var(--fi); font-size: 10px;
    color: rgba(255,255,255,0.28); line-height: 1.6;
}
.footer-copy span { color: rgba(255,255,255,0.45); font-weight: 500; }
.footer-status { display: flex; align-items: center; gap: 6px; }
.footer-status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #4CAF50; box-shadow: 0 0 7px rgba(76,175,80,0.8);
}
.footer-status-text {
    font-family: var(--fh); font-size: 9px; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,0.32);
}
/* ClanSphere #footer span override */
#footer span { float: none; }
#footer a { color: var(--sky); }
#footer a:hover { color: #fff; }


/* ═══════════════════════════════════════════════════════════════
   NEUE WIDGETS: TS3 · WERBUNG · MANNSCHAFT
═══════════════════════════════════════════════════════════════ */

/* ── TeamSpeak Widget ──────────────────────────────────────── */
.ts3-body { padding: 12px; }
.ts3-server {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 4px;
}
.ts3-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
    background: #4CAF50; box-shadow: 0 0 8px rgba(76,175,80,.80);
    animation: tsPulse 2.5s ease-in-out infinite;
}
.ts3-dot.off { background: #666; box-shadow: none; animation: none; }
@keyframes tsPulse {
    0%,100% { box-shadow: 0 0 6px rgba(76,175,80,.80); }
    50%      { box-shadow: 0 0 12px rgba(76,175,80,1), 0 0 20px rgba(76,175,80,.40); }
}
.ts3-host {
    font-family: var(--fh); font-size: 11px; font-weight: 700;
    color: var(--tx1); letter-spacing: .04em;
}
.ts3-port {
    font-family: var(--fi); font-size: 10px; color: var(--tx3);
    margin-bottom: 10px; padding-left: 16px;
}
.ts3-btn {
    display: block; text-align: center;
    background: linear-gradient(180deg, rgba(76,175,80,.28) 0%, rgba(56,142,60,.28) 100%);
    border: 1px solid rgba(76,175,80,.45); border-radius: 4px;
    color: #A5D6A7; font-family: var(--fh); font-size: 10px;
    font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    padding: 8px; margin-bottom: 6px; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}
.ts3-btn:hover {
    background: linear-gradient(180deg, rgba(76,175,80,.45) 0%, rgba(56,142,60,.45) 100%);
    box-shadow: 0 0 14px rgba(76,175,80,.28), inset 0 1px 0 rgba(255,255,255,.12);
    color: #C8E6C9;
}
.ts3-dl {
    display: block; text-align: center; font-family: var(--fi); font-size: 9px;
    color: var(--tx3); padding: 4px 0; transition: color .15s;
}
.ts3-dl:hover { color: var(--tx2); }
.ts3-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 10px 0; }

/* ── Werbung / Banners Widget ──────────────────────────────── */
.ad-slot { padding: 10px 12px; }
.ad-slot img { width: 100%; height: auto; border-radius: 4px; margin-bottom: 6px; }
.ad-slot a {
    display: block; text-align: center;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10);
    border-radius: 4px; padding: 8px; margin-bottom: 6px;
    font-family: var(--fh); font-size: 9px; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.28);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.ad-slot a:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.50); }
/* Fallback wenn keine Banner gesetzt */
.ad-slot:empty::after {
    content: 'Keine Werbung eingestellt';
    display: block; text-align: center; padding: 12px;
    font-family: var(--fh); font-size: 9px; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255,255,255,.18);
}

/* ── Mannschaft Widget ─────────────────────────────────────── */
.squad-stats {
    display: grid; grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.squad-stat {
    padding: 10px 12px; text-align: center;
    border-right: 1px solid rgba(255,255,255,.08);
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 3px;
}
.squad-stat:last-child { border-right: none; }
.squad-stat-val {
    display: block; font-family: var(--fh); font-size: 18px;
    font-weight: 700; color: var(--gold); line-height: 1.2;
}
.squad-stat-link {
    font-size: 12px; color: var(--sky);
    text-decoration: none; transition: color .15s;
}
.squad-stat-link:hover { color: var(--gold); }
.squad-stat-lbl {
    font-family: var(--fi); font-size: 9px; color: var(--tx3);
    letter-spacing: .06em; text-transform: uppercase;
}
.squad-member { padding: 8px 12px; min-height: 60px; }
/* ClanSphere {members:navrand} output styling */
.squad-member table { width: 100%; }
.squad-member .leftb, .squad-member .leftc {
    padding: 4px 6px; font-size: 11px;
}
.squad-footer {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 8px 12px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-family: var(--fi); font-size: 10px;
}
.squad-footer a { color: var(--tx3); transition: color .15s; }
.squad-footer a:hover { color: var(--gold); }
.squad-sep { color: rgba(255,255,255,.20); }


/* ═══════════════════════════════════════════════════════════════
   MOBILE NAV HAMBURGER
═══════════════════════════════════════════════════════════════ */
.nav-burger {
    display: none; /* Desktop: versteckt */
    flex-direction: column; justify-content: center;
    align-items: center; gap: 5px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 4px; cursor: pointer;
    flex-shrink: 0; padding: 0;
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    z-index: 200; transition: background .2s;
}
.nav-burger:hover { background: rgba(41,182,246,.18); }
.nav-burger span {
    display: block; width: 18px; height: 2px;
    background: var(--tx2); border-radius: 2px;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    transform-origin: center;
}
.nav-burger.aktiv span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.aktiv span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.aktiv span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE / MOBILE
═══════════════════════════════════════════════════════════════ */

/* ── Tablet: 2-Spalten (sidebar + content, rechte Spalte unter content) ── */
@media (max-width: 1100px) {
    #main-layout {
        grid-template-columns: 230px 1fr;
        grid-template-rows: auto auto;
    }
    #col-right {
        grid-column: 1 / -1; /* volle Breite */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
        align-items: start;
    }
    #col-right .card { margin-bottom: 0; }
    #header-band { grid-template-columns: 1fr 240px; }
    .hero-title { font-size: 34px; }
}

/* ── Mobile: 1 Spalte ── */
@media (max-width: 720px) {

    /* NAV: Hamburger aktivieren */
    #nav { position: sticky; top: 0; z-index: 100; }
    .nav-wrap { position: relative; height: 52px; padding-right: 60px; }
    .nav-burger { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 52px; left: 0; right: 0;
        background: rgba(0,10,60,.97);
        backdrop-filter: blur(20px);
        border-bottom: 2px solid rgba(41,182,246,.50);
        flex-direction: column; gap: 0; z-index: 99;
        box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    .nav-links.open { display: flex; }
    .nav-link {
        height: auto; padding: 13px 20px;
        border-bottom: 1px solid rgba(255,255,255,.07);
        border-left: none;
        font-size: 12px;
    }
    .nav-link + .nav-link::before { display: none; }
    .nav-link::after { display: none; }
    .nav-suche { display: none; }

    /* HERO: vereinfacht */
    #header-band {
        grid-template-columns: 1fr;
        min-height: 220px;
    }
    #logo-panel { display: none; }
    .hero-content { padding: 28px 20px 50px; }
    .hero-title { font-size: 26px; }
    .hero-sub { font-size: 12px; margin-bottom: 14px; }
    .hero-btn { padding: 10px 22px; font-size: 11px; }
    .hero-dots { bottom: 10px; }
    .hero-deko-imgs { display: none; }

    /* TICKER: kleinere Schrift */
    .ticker-item { font-size: 9px; }

    /* BANNER STREIFEN: 1 Spalte */
    .banner-inner { grid-template-columns: 1fr; height: auto; }
    .bs-slot { height: 60px; }

    /* MAIN LAYOUT: 1 Spalte, Sidebar unter Content */
    #main-layout {
        grid-template-columns: 1fr;
        padding: 12px 10px;
        gap: 12px;
    }
    #sidebar {
        order: 2; /* Sidebar nach unten */
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
        align-items: start;
    }
    #sidebar .card { margin-bottom: 0; }
    #content { order: 1; }
    #col-right {
        order: 3;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* CONTENT: kein horizontaler Overflow */
    #content { min-width: 0; overflow-x: hidden; }
    .forum { font-size: 11px; }
    .forum td, .forum th { padding: 5px 6px; }

    /* FOOTER */
    .footer-top { flex-direction: column; gap: 20px; }
    .footer-navs { gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── Sehr kleiner Viewport ── */
@media (max-width: 420px) {
    .hero-title { font-size: 22px; }
    #main-layout { padding: 8px; }
    #sidebar { grid-template-columns: 1fr; }
    #col-right { grid-template-columns: 1fr; }
    .news-tabs { flex-wrap: wrap; }
    .news-tab { font-size: 8px; padding: 5px 7px; }
}


/* ═══════════════════════════════════════════════════════════════
   CONTENT STABILITÄT – keine Layout-Shifts
═══════════════════════════════════════════════════════════════ */
#content {
    transform: translateZ(0);
    min-width: 0;
    contain: layout;
    overflow-x: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}
#main-layout {
    align-items: start;    /* Spalten dehnen sich nicht gegenseitig aus */
}
/* Bilder laden ohne Shift */
#content img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* Verhindert dass lange Wörter den Content sprengen */
#content, .card-body, .news-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
}


/* ═══════════════════════════════════════════════════════════════
   USER PANEL – JGR Login / eingeloggter Bereich
═══════════════════════════════════════════════════════════════ */


/* Login-Formular */
.jgr-userpanel form { padding: 12px 12px 4px; }
.jgr-userpanel input[type="text"],
.jgr-userpanel input[type="password"] {
    width: 100%; display: block; margin: 5px 0;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
    border-radius: 4px; padding: 7px 10px;
    color: var(--tx1); font-family: var(--fi); font-size: 11px;
    transition: border-color .2s;
    box-sizing: border-box;
}
.jgr-userpanel input[type="text"]:focus,
.jgr-userpanel input[type="password"]:focus {
    outline: none; border-color: var(--sky);
    box-shadow: 0 0 0 2px rgba(41,182,246,.18);
    background: rgba(255,255,255,.12);
}
.jgr-up-cookie {
    display: flex; align-items: center; gap: 6px;
    font-family: var(--fi); font-size: 10px; color: var(--tx3);
    margin: 6px 0;
}
.jgr-up-submit {
    width: 100%; display: block; margin-top: 8px;
    background: linear-gradient(180deg,#FFD700 0%,#FF8C00 48%,#CC2800 100%);
    color: #fff; border: 1px solid rgba(255,220,80,.45); border-radius: 4px;
    padding: 8px; font-family: var(--fh); font-size: 10px;
    font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    cursor: pointer; text-shadow: 0 1px 2px rgba(0,0,0,.4);
    box-shadow: 0 2px 10px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.35);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s; box-sizing: border-box;
}
.jgr-up-submit:hover {
    background: linear-gradient(180deg,#FFE040 0%,#FFA020 48%,#DD3000 100%);
    transform: translateY(-1px);
}
.jgr-up-extra {
    display: flex; justify-content: center; gap: 14px;
    padding: 6px 12px 10px;
}
.jgr-up-extra a { font-family: var(--fi); font-size: 10px; color: var(--tx3); }
.jgr-up-extra a:hover { color: var(--tx2); }

/* Eingeloggter Bereich – Avatar + Name + Rang */
.jgr-up-logged {
    display: flex; align-items: center; gap: 10px;
    padding: 0 12px 6px;
}
.jgr-up-avatar {
    width: 42px; height: 42px; border-radius: 50%; overflow: hidden;
    border: 2px solid rgba(41,182,246,.50); flex-shrink: 0;
    box-shadow: 0 0 14px rgba(41,182,246,.28);
    background: linear-gradient(135deg,rgba(41,182,246,.25),rgba(2,119,189,.25));
    display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.jgr-up-avatar img {
    width: 42px; height: 42px; object-fit: cover;
    border-radius: 50%; display: block;
}
.jgr-up-name { font-family: var(--fh); font-size: 13px; font-weight: 700; }
.jgr-up-name a { color: var(--gold); }
.jgr-up-name a:hover { color: var(--goldlight); }
.jgr-up-rank {
    font-family: var(--fi); font-size: 10px; color: var(--tx3);
    margin-top: 2px; letter-spacing: .04em;
}
.jgr-up-links {
    display: flex; flex-direction: column;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 0;
}
.jgr-up-links a {
    display: flex; align-items: center;
    padding: 6px 14px;
    font-family: var(--fh); font-size: 11px; font-weight: 700;
    letter-spacing: .03em;
    color: var(--tx2);
    border-bottom: 1px solid rgba(255,255,255,.04);
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s, opacity .15s;
}
.jgr-up-links a::before {
    content: '›';
    color: rgba(41,182,246,.40);
    font-size: 14px; margin-right: 8px; flex-shrink: 0;
    transition: color .15s;
}
.jgr-up-links a:hover {
    color: var(--gold);
    background: rgba(255,204,0,.05);
    padding-left: 16px;
}
.jgr-up-links a:hover::before { color: var(--gold); }
.jgr-up-links a:last-child { border-bottom: none; }
/* Badge: rechtsbündig durch margin-left: auto */
.jgr-up-links .jgr-up-badge { margin-left: auto; }
.jgr-up-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--crimson); color: #fff;
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    border-radius: 10px; padding: 2px 6px; min-width: 18px;
    vertical-align: middle; margin-left: 4px; line-height: 1;
    box-shadow: 0 0 6px rgba(229,57,53,.50);
}
.jgr-up-logout {
    display: block;
    text-align: center;
    margin: 8px 10px 10px;
    padding: 7px 14px;
    background: rgba(229,57,53,0.12);
    border: 1px solid rgba(229,57,53,0.45);
    border-radius: 5px;
    color: #EF9A9A !important;
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none;
    transition: background .22s, border-color .22s, color .22s, box-shadow .22s, transform .22s, opacity .22s;
}
.jgr-up-logout:hover {
    background: rgba(229,57,53,0.24) !important;
    border-color: rgba(229,57,53,0.70) !important;
    color: #fff !important;
    box-shadow: 0 0 16px rgba(229,57,53,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: translateY(-1px);
}


/* ── Gruppe-Widget (members navrand) ────────────────────────── */
.jgr-member {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px;
}
.jgr-member-pic { flex-shrink: 0; }
.jgr-member-pic img {
    width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(41,182,246,.35);
    box-shadow: 0 0 10px rgba(41,182,246,.20);
    display: block;
}
.jgr-member-nick {
    font-family: var(--fh); font-size: 12px; font-weight: 700;
    color: var(--gold); display: flex; align-items: center; gap: 4px;
}
.jgr-member-nick img { width: 16px; height: auto; border: none; }
.jgr-member-name { font-family: var(--fi); font-size: 10px; color: var(--tx2); margin-top: 1px; }
.jgr-member-task {
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--sky); margin-top: 3px;
}
.jgr-member-since { font-family: var(--fi); font-size: 9px; color: var(--tx3); margin-top: 1px; }

/* Fallback wenn kein Mitglied vorhanden */
.jgr-member:empty::after {
    content: 'Keine Mitglieder gefunden';
    font-family: var(--fi); font-size: 10px; color: var(--tx3);
    padding: 10px 12px; display: block;
}

/* ── TS3 Button – Gold wie Hero-Button ─────────────────────── */
.ts3-btn {
    display: block; text-align: center; margin-bottom: 6px; cursor: pointer;
    background: linear-gradient(180deg,#FFD700 0%,#FF8C00 48%,#CC2800 100%);
    color: #fff; border: 1px solid rgba(255,220,80,.45); border-radius: 4px;
    padding: 9px; font-family: var(--fh); font-size: 10px;
    font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,.40);
    box-shadow: 0 2px 10px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.35),
                0 0 14px rgba(255,160,0,.18);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
}
.ts3-btn:hover {
    background: linear-gradient(180deg,#FFE040 0%,#FFA020 48%,#DD3000 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.40),
                0 0 20px rgba(255,160,0,.28);
    color: #fff;
}
.ts3-pw { font-size: 10px; color: var(--sky); }
.ts3-pw:hover { color: var(--gold); }

/* ── Widget-Padding – Ränder-Fix für Online/Themen ─────────── */
.widget-pad { padding: 8px 12px; }
.widget-pad table { width: 100%; }

/* Jetzt Online: ClanSphere table output */
.widget-pad .forum,
.widget-pad table.forum {
    border-radius: 0; box-shadow: none; background: transparent;
}
.widget-pad .leftb,
.widget-pad .leftc { padding: 5px 8px; }

/* Neueste Themen: board navlist output */
.widget-pad a { color: var(--tx2); font-size: 11px; }
.widget-pad a:hover { color: var(--gold); }
.widget-pad span { font-size: 9px; color: var(--tx3); display: block; margin-bottom: 2px; }
.widget-pad hr { border: none; border-top: 1px solid rgba(255,255,255,.07); margin: 6px 0; }



/* ═══════════════════════════════════════════════════════════════
   FIXES: Rang-Badge · Hauptmenü · Werbung 1×1 · ? Avatar
═══════════════════════════════════════════════════════════════ */


/* ── ? Avatar-Fallback ─────────────────────────────────────── */
.jgr-up-noavatar {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    font-family: var(--fh); font-size: 22px; font-weight: 700;
    color: rgba(41,182,246,.60); line-height: 1;
}


/* ── User-Link-Grid: volle Breite für Logout außerhalb ─────── */
.jgr-up-links {
    padding-bottom: 0;
}

/* ── Hauptmenü – besseres visuelles Design ─────────────────── */
.sidebar-nav {
    padding: 6px 0;
}
.sidebar-nav a {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 14px;
    font-family: var(--fh); font-size: 12px; font-weight: 700; letter-spacing: .04em;
    color: var(--tx2);
    border-left: 2px solid transparent;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s, opacity .15s;
    position: relative;
}
.sidebar-nav a::before {
    content: '›';
    font-family: var(--fh); font-size: 14px; font-weight: 700;
    color: rgba(41,182,246,.40);
    transition: color .15s;
    flex-shrink: 0;
}
.sidebar-nav a:hover,
.sidebar-nav a.aktiv {
    color: var(--tx1);
    border-left-color: var(--gold);
    background: linear-gradient(to right,
        rgba(255,204,0,.08) 0%,
        rgba(255,204,0,.02) 80%,
        transparent 100%);
    padding-left: 16px;
}
.sidebar-nav a:hover::before,
.sidebar-nav a.aktiv::before {
    color: var(--gold);
}
.sidebar-nav a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,.04);
}

/* ── Werbung 1×1 Google Ads Container ─────────────────────── */
.ad-slot { padding: 10px 12px 12px; }
.ad-square {
    position: relative; width: 100%;
    aspect-ratio: 1 / 1;              /* echtes 1:1 Seitenverhältnis */
    background: rgba(255,255,255,.03);
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 6px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
/* Fallback-Text wenn kein Banner */
.ad-square:empty::after,
.ad-square > *:only-child:empty::after {
    content: 'Google AdSense';
    font-family: var(--fh); font-size: 9px; letter-spacing: .14em;
    text-transform: uppercase; color: rgba(255,255,255,.15);
}
/* AdSense iframe/ins füllt den Container */
.ad-square ins,
.ad-square iframe,
.ad-square img {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    object-fit: cover;
}


/* ── Server-Navlist Wrapper ────────────────────────────────── */
.srv-navlist { padding: 0; }
.srv-navlist .srv-item { padding: 8px 12px; }


/* ── Server offline-Label ──────────────────────────────────── */
.srv-offline {
    font-family: var(--fi); font-size: 9px; color: rgba(255,255,255,.28);
    font-style: italic; flex-shrink: 0;
}

/* ── Content card-head: » und h2 auf gleicher Linie ───────── */
/* Nur im #content Bereich – Sidebar-Widgets bleiben unberührt */
#content .card-head {
    align-items: baseline;
    padding-bottom: 5px;
}
#content .card-head .cdot {
    position: relative;
    top: 0px;
    font-size: 13px;
    line-height: 1.2;
}
#content .card-head h2 {
    line-height: 1.2;
}

/* User-Panel card-body: nur oben kein Padding */
#col-right .card:first-child .card-body {
    padding-top: 0;
}


/* ═══════════════════════════════════════════════════════════════
   SERVER WIDGET – Modern Card
═══════════════════════════════════════════════════════════════ */
.srv-card {
    border-radius: 8px; overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 8px; transition: border-color .2s;
}
.srv-card:hover { border-color: rgba(41,182,246,0.35); }
.srv-card:last-of-type { margin-bottom: 0; }

.srv-status-bar { height: 3px; width: 100%; }
.srv-status-bar.online  { background: linear-gradient(90deg,#4CAF50,#81C784); }
.srv-status-bar.offline { background: rgba(255,255,255,0.08); }

.srv-card-body { padding: 10px 12px; }

.srv-top { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }

.srv-icon-wrap { position: relative; flex-shrink: 0; }
.srv-game-icon {
    width: 24px !important; height: 24px !important;
    object-fit: contain; border-radius: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 2px; box-sizing: border-box; display: block;
}
.srv-icon-placeholder {
    width: 24px; height: 24px; border-radius: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}
.srv-dot-badge {
    position: absolute; bottom: -2px; right: -2px;
    width: 9px; height: 9px; border-radius: 50%;
    border: 2px solid rgba(0,8,32,0.95);
}
.srv-dot-badge.online  { background: #4CAF50; }
.srv-dot-badge.offline { background: #9e9e9e; }

.srv-info { flex: 1; min-width: 0; }
.srv-name {
    font-family: var(--fh);
    font-size: 10px;
    font-weight: 700; color: var(--tx1);
    word-break: break-word; line-height: 1.3;
    margin-bottom: 2px;
}
.srv-game-name {
    font-size: 9px; color: var(--sky);
    font-family: var(--fh); letter-spacing: .03em; margin-bottom: 3px;
}
.srv-ip-wrap { display: flex; align-items: center; gap: 5px; }
.srv-ip { font-family: monospace; font-size: 9px; color: var(--tx3); }
.srv-copy {
    background: none; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 3px; color: var(--tx3); font-size: 9px;
    padding: 1px 4px; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s, opacity .15s; line-height: 1;
}
.srv-copy:hover  { border-color: var(--sky); color: var(--sky); }
.srv-copy.copied { border-color: #4CAF50; color: #4CAF50; }

.srv-slots {
    display: flex; align-items: center; gap: 5px;
    margin-bottom: 6px; padding: 4px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.srv-slots-lbl   { font-size: 8px; color: var(--tx3); letter-spacing: .06em; text-transform: uppercase; }
.srv-slots-count { font-family: var(--fh); font-size: 11px; font-weight: 700; color: var(--gold); }

.srv-actions { display: flex; gap: 6px; }
.srv-btn {
    flex: 1; display: block; text-align: center;
    padding: 5px 8px; border-radius: 4px;
    font-family: var(--fh); font-size: 9px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    text-decoration: none; transition: background .18s, border-color .18s, color .18s, box-shadow .18s, transform .18s, opacity .18s;
}
.srv-btn-info {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.16); color: var(--tx2);
}
.srv-btn-info:hover { background: rgba(255,255,255,0.13); color: var(--tx1); }
.srv-btn-connect {
    background: rgba(76,175,80,0.20);
    border: 1px solid rgba(76,175,80,0.45); color: #A5D6A7;
}
.srv-btn-connect:hover {
    background: rgba(76,175,80,0.35);
    border-color: rgba(76,175,80,0.70); color: #fff;
    box-shadow: 0 0 10px rgba(76,175,80,0.18);
}
.srv-offline-msg {
    font-size: 10px; color: var(--tx3);
    text-align: center; padding: 4px 0;
    font-style: italic; border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 4px;
}

/* Newsticker Separator */
.tk-divider {
    font-family: var(--fh);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    color: rgba(41,182,246,0.45);
    list-style: none;
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* ── HERO SLIDER ──────────────────────────────────────────── */
.hero-slides {
    position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s cubic-bezier(0.4,0,0.2,1),
                transform 12s cubic-bezier(0.25,0.1,0.25,1);
    will-change: transform, opacity;
}
.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
}
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(120deg,
        rgba(0,8,32,0.65) 0%, rgba(0,30,100,0.45) 50%, rgba(0,8,32,0.60) 100%);
}
/* Slide-Dots */
.hero-dots {
    position: absolute; bottom: 12px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 7px; z-index: 10;
}
.hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.30);
    border: 1px solid rgba(255,255,255,0.40);
    cursor: pointer; transition: background .3s, border-color .3s, color .3s, box-shadow .3s, transform .3s, opacity .3s;
}
.hero-dot.active {
    background: var(--sky);
    border-color: var(--sky);
    box-shadow: 0 0 8px rgba(41,182,246,0.60);
    width: 20px; border-radius: 4px;
}

/* Hero Content Slides */
.hero-content-slide {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1) .4s,
                transform 1.2s cubic-bezier(0.4,0,0.2,1) .4s;
    pointer-events: none;
    position: absolute !important;
}
.hero-content-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative !important;
}
/* Blauer Button für Slide 2 */
.hero-btn-blue {
    background: linear-gradient(180deg, rgba(41,182,246,.35) 0%, rgba(2,119,189,.35) 100%);
    border: 1px solid rgba(41,182,246,.55);
    box-shadow: 0 0 16px rgba(41,182,246,.20), inset 0 1px 0 rgba(255,255,255,.20);
}
.hero-btn-blue:hover {
    background: linear-gradient(180deg, rgba(41,182,246,.55) 0%, rgba(2,119,189,.55) 100%);
    box-shadow: 0 0 24px rgba(41,182,246,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
/* Slide 2 Hero – tieferes Blau */
.hero-slide:nth-child(2) {
    background-color: #020e28;
}

/* ── Hero Deko-PNG: slide-in hinter Logobox ──────────────── */
.hero-deko-imgs {
    position: absolute !important;
    right: 80px !important;
    top: 50% !important;
    width: 436px !important;
    height: 300px !important;
    margin-top: -150px !important;
    z-index: 4 !important;
    pointer-events: none !important;
    display: block !important;
}
.hero-deko-img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 436px !important; height: 300px !important;
    object-fit: contain;
    opacity: 0;
    transform: translateX(10px) scale(1.02);
    transition: opacity 2.5s cubic-bezier(0.4,0,0.2,1),
                transform 14s cubic-bezier(0.25,0.1,0.25,1);
    filter: drop-shadow(0 0 18px rgba(41,182,246,0.18));
}
.hero-deko-img.active {
    opacity: 0.18;
    transform: translateX(0) scale(1.0);
}

/* ── BANNER STREIFEN: 3×rotation nebeneinander ─────────── */
.jgr-banner-row {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    max-width: 1340px;
    margin: 0 auto;
    box-sizing: border-box;
}
.jgr-banner-slot {
    flex: 1;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
}
.jgr-banner-slot img {
    width: 100% !important;
    height: 88px !important;
    object-fit: cover;
    display: block;
}
.jgr-banner-slot a {
    display: block;
    width: 100%;
    height: 88px;
}
.jgr-banner-row {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
}
.jgr-banner-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s, opacity .2s;
    height: 74px;
}
.jgr-banner-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}
.jgr-banner-item img {
    width: 100% !important;
    height: 74px !important;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

/* ── Firefox Performance Fix ─────────────────────────────── */
@-moz-document url-prefix() {
    .card, .card-body, .card-head,
    #jgr-header, #jgr-nav, .gate-box,
    .jgr-userpanel, .kal-grid {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}
