/* =====================================================================
   ALPHA CENTAURI SYSTEMS // universal-nothingness.com
   EIN Stil für alle Seiten (Start, Spiele, Trailer, News, Update-Seiten, 404)
   Kopf, Reiter und Fuß baut assets/site.js – die Seiten enthalten nur ihren Inhalt.
   ===================================================================== */
:root {
    --red: #a51d1d; --red-bright: #e52b2b; --red-dark: #501010;
    --bg: #030303; --panel: #080808; --panel2: #0c0c0c;
    --text: #b5b5b5; --white: #d7d7d7; --muted: #666; --line: #282828; --amber: #e8a33a;
    --mono: "Courier New", Courier, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; }
body { min-height: 100vh; color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; overflow-x: hidden;
       background: radial-gradient(circle at 50% -20%, rgba(120, 15, 15, .16), transparent 45%), var(--bg); }
a { color: inherit; }
img, video { max-width: 100%; }

/* ---------- Hintergrund ---------- */
.fx-grid { position: fixed; left: -50%; right: -50%; bottom: -30vh; height: 90vh; z-index: -6; pointer-events: none;
    background-image: linear-gradient(rgba(165, 29, 29, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(165, 29, 29, .2) 1px, transparent 1px);
    background-size: 60px 60px; transform: perspective(600px) rotateX(55deg); transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, #000, transparent 85%); mask-image: linear-gradient(to top, #000, transparent 85%); animation: fxGrid 6s linear infinite; }
@keyframes fxGrid { to { background-position: 0 60px, 0 0; } }
.fx-glow { position: fixed; left: 50%; top: 18%; width: 70vmax; height: 70vmax; margin-left: -35vmax; z-index: -5; pointer-events: none;
    background: radial-gradient(circle, rgba(170, 20, 20, .14), transparent 60%); filter: blur(40px); animation: fxPulse 7s ease-in-out infinite; }
@keyframes fxPulse { 50% { opacity: .55; transform: scale(1.08); } }
.fx-scan { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .65)); }
.fx-topline { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, transparent, var(--red), var(--red-bright), var(--red), transparent);
    background-size: 200% 100%; animation: fxTop 4s linear infinite; }
@keyframes fxTop { to { background-position: -200% 0; } }
.fx-bar { position: fixed; left: 0; right: 0; height: 120px; top: -120px; z-index: 40; pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(229, 43, 43, .05), transparent); animation: fxBar 9s linear infinite; }
@keyframes fxBar { to { top: 110vh; } }
.fx-particles { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -4; pointer-events: none; overflow: hidden; }
.fx-particles i { position: absolute; width: 2px; height: 2px; background: var(--red-bright); border-radius: 50%;
    box-shadow: 0 0 6px var(--red-bright), 0 0 12px var(--red); opacity: 0; animation: fxRise linear infinite; }
@keyframes fxRise { 10% { opacity: .9; } 90% { opacity: .6; } to { transform: translateY(-120vh); opacity: 0; } }
.fx-cursor { position: fixed; width: 520px; height: 520px; margin: -260px 0 0 -260px; left: 0; top: 0; z-index: -3; pointer-events: none;
    background: radial-gradient(circle, rgba(200, 30, 30, .08), transparent 60%); }
.fx-ripple { position: fixed; width: 10px; height: 10px; margin: -5px 0 0 -5px; border: 1px solid var(--red-bright); border-radius: 50%; pointer-events: none; z-index: 70; animation: fxRipple .7s ease-out forwards; }
@keyframes fxRipple { to { transform: scale(9); opacity: 0; } }

/* ---------- Gerüst ---------- */
.wrap { width: auto; max-width: 1180px; margin-left: 16px; margin-right: 16px; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 60px; position: relative; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-bright); }
.label.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 13px; }
.ident { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 12px 20px; }
.ident a { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.ident img { height: 42px; width: auto; mix-blend-mode: lighten; display: block; }
.ident .company { font-family: var(--mono); font-size: 12px; letter-spacing: 4px; color: var(--white); font-weight: bold; line-height: 1.35; }
.ident .company span { color: var(--red-bright); }
.ident .node { font-family: var(--mono); font-size: 9px; letter-spacing: 3px; text-align: right; color: var(--muted); line-height: 1.7; }
.ident .node b { color: var(--red-bright); font-weight: normal; }
.ident::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; pointer-events: none;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .045), transparent); animation: fxSweep 7s ease-in-out infinite; }
@keyframes fxSweep { 60%, 100% { left: 130%; } }

/* Reiter */
.tabs { display: flex; margin: 14px 0 0; border: 1px solid var(--line); border-left: 3px solid var(--red); background: linear-gradient(180deg, #0c0c0c, #080808); overflow-x: auto; }
.tabs a { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 14px 26px; text-decoration: none; font-family: var(--mono);
    font-size: 14px; letter-spacing: 3px; text-transform: uppercase; color: #8a8a8a; border-right: 1px solid #1c1c1c; white-space: nowrap; transition: color .2s, background .2s; }
.tabs a small { font-size: 10px; color: #555; letter-spacing: 2px; }
.tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.tabs a:hover { color: var(--white); background: rgba(165, 29, 29, .12); }
.tabs a:hover::after { transform: scaleX(.6); }
.tabs a.on { color: #fff; background: linear-gradient(180deg, rgba(165, 29, 29, .05), rgba(165, 29, 29, .35)); }
.tabs a.on small { color: var(--red-bright); }
.tabs a.on::after { transform: scaleX(1); box-shadow: 0 0 12px var(--red-bright); }
.neu { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--amber); border: 1px solid #6a4a1a; padding: 1px 5px; margin-left: 4px; }

/* Überschriften */
h1 { font-size: 6vw; font-size: clamp(34px, 6vw, 68px); color: var(--white); letter-spacing: -1px; line-height: 1.05; margin: 34px 0 6px; font-style: italic; font-weight: 900; }
h1 span { color: var(--red-bright); }
h2 { color: var(--white); font-size: 28px; font-style: italic; font-weight: 900; line-height: 1.15; }
.lead { font-family: var(--mono); color: var(--muted); letter-spacing: 1px; margin-bottom: 22px; }

/* Panels */
.panel { background: linear-gradient(180deg, rgba(14, 14, 14, .94), rgba(7, 7, 7, .94)); border: 1px solid var(--line); position: relative; margin: 18px 0;
    transition: border-color .25s, box-shadow .25s; }
.panel::before { content: ""; position: absolute; left: -1px; top: -1px; width: 22px; height: 22px; border-top: 2px solid var(--red-bright); border-left: 2px solid var(--red-bright); }
.panel:hover { border-color: #5a1a1a; box-shadow: 0 10px 40px rgba(0, 0, 0, .6), 0 0 24px rgba(165, 29, 29, .1); }
.panel .head { display: flex; justify-content: space-between; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: rgba(0, 0, 0, .3); }
.panel .body { padding: 18px; }
.cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.cols > .panel { margin: 0; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Knöpfe */
.btn { display: inline-block; font-family: var(--mono); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; padding: 11px 18px;
    border: 1px solid var(--red-bright); background: var(--red-dark); color: #fff; text-decoration: none; margin: 10px 8px 0 0; transition: background .2s, box-shadow .2s; }
.btn:hover { background: var(--red); box-shadow: 0 0 18px rgba(229, 43, 43, .35); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--red-bright); color: #fff; }
.linkbtn { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; padding: 13px 16px 13px 20px;
    background: linear-gradient(180deg, #141414, #0a0a0a); border: 1px solid #3b3b3b; border-left: 3px solid var(--red);
    font-family: var(--mono); font-weight: bold; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--red-bright); transition: transform .2s, border-color .2s, color .2s; }
.linkbtn span { color: var(--muted); font-weight: normal; }
.linkbtn:hover { border-color: var(--red-bright); color: #ff5c5c; transform: translateX(6px); }
.links { display: flex; flex-direction: column; gap: 16px; }
.links h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--white); text-transform: uppercase; font-weight: normal; margin-bottom: 7px; }

/* Startseite */
.hero { margin-top: 18px; position: relative; overflow: hidden; padding: 60px 48px 52px;
    background: radial-gradient(circle at 75% 40%, rgba(120, 15, 15, .22), transparent 55%), linear-gradient(180deg, var(--panel2), var(--panel));
    border: 1px solid var(--line); border-top: 2px solid var(--red); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; }
.hero .label.tl { position: absolute; top: 14px; left: 18px; }
.hero h1 { margin: 0; font-size: 7vw; font-size: clamp(40px, 7vw, 104px); line-height: .88; letter-spacing: -.045em; text-transform: uppercase; color: #a8a8a8; font-style: normal; max-width: 14ch; }
.hero h1 .nb { white-space: nowrap; }
.hero.glitch h1 { animation: fxGlitch .35s steps(2) 1; }
@keyframes fxGlitch { 0% { text-shadow: 2px 0 var(--red-bright), -2px 0 #3af; } 50% { transform: translate(-3px, 1px); } }
.hero .sub { margin-top: 22px; font-family: var(--mono); font-size: 13px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.hero img { width: 30vw; max-width: 340px; width: min(30vw, 340px); mix-blend-mode: lighten; filter: drop-shadow(0 0 30px rgba(200, 30, 30, .25)); }
.mail { display: inline-block; margin: 12px 16px 0 0; font-family: var(--mono); font-size: 13px; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--red-dark); }
.mail:hover { color: var(--red-bright); border-color: var(--red-bright); }
.mail.big { font-size: 17px; font-weight: bold; color: var(--red-bright); border: 1px solid var(--red); border-left: 3px solid var(--red-bright); padding: 12px 16px; margin-top: 6px; letter-spacing: 1px; background: linear-gradient(160deg, #160c0c, #0a0505); transition: background .18s, box-shadow .18s, transform .18s; }
.mail.big:hover { background: var(--red-dark); box-shadow: 0 0 22px rgba(229,43,43,.4); transform: translateX(4px); }

/* Spiele / Medien */
.game { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 22px; }
.game > img, .cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border: 1px solid var(--line); background: #0a0505; display: block; }
.meta { font-family: var(--mono); font-size: 13px; color: var(--muted); margin: 6px 0 12px; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--red-bright); text-transform: uppercase; }
.video, .trailer { width: 100%; aspect-ratio: 16/9; background: #000; border: 1px solid var(--line); display: block; }
.ph { width: 100%; aspect-ratio: 16/9; border: 1px dashed #3a1a1a; display: grid; place-items: center; text-align: center;
    background: repeating-linear-gradient(135deg, #0a0606 0 12px, #070404 12px 24px); font-family: var(--mono); letter-spacing: 3px; color: var(--muted); font-size: 12px; }
.ph b { display: block; color: var(--red-bright); font-size: 16px; margin-bottom: 6px; font-weight: normal; }

/* News */
.feed { list-style: none; }
.feed li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid #161616; }
.feed li:last-child { border-bottom: 0; }
.feed .d { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.feed .d .tag { display: block; margin-top: 4px; font-size: 10px; }
.feed h3 { color: var(--white); font-size: 19px; font-style: italic; font-weight: 900; }
.feed h3 a { text-decoration: none; }
.feed h3 a:hover { color: var(--red-bright); }
.feed p { margin-top: 4px; }
.feed .media { margin-top: 12px; max-width: 640px; }
.feed.small li { grid-template-columns: 92px 1fr; padding: 10px 0; }
.feed.small h3 { font-size: 15px; }
.feed.small p { font-size: 13px; color: #8a8a8a; }
ul.news li { list-style: none; border-left: 2px solid var(--red-dark); padding: 6px 12px; margin: 8px 0; }
ul.news b { color: var(--white); font-family: var(--mono); }

/* Übertragung (Startseite) */
.signal { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.sig-img { position: relative; min-height: 220px; border: 1px solid #1d1d1d; background: #000 center / cover no-repeat; overflow: hidden; }
.sig-img::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .35) 0 2px, transparent 2px 4px), linear-gradient(to top, rgba(0, 0, 0, .85), transparent 60%); }
.sig-img .stamp { position: absolute; left: 14px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--red-bright); }
.sig-img .stamp b { display: block; color: var(--white); font-size: 15px; letter-spacing: 4px; font-weight: normal; }
.sig-card { border: 1px solid var(--line); background: rgba(0, 0, 0, .35); padding: 18px; }
.sig-card img { width: 64px; height: 64px; display: block; margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(200, 30, 30, .35)); }
.sig-card h4 { font-family: var(--mono); font-size: 13px; letter-spacing: 3px; color: var(--white); font-weight: normal; }
.sig-card p { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.sig-card .line { margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--red-bright); }

.teaser { text-align: center; padding: 46px 20px; }
.teaser .big { font-size: 4vw; font-size: clamp(24px, 4vw, 40px); color: var(--white); font-style: italic; font-weight: 900; }
.blink { animation: fxBlink 1.2s steps(2) infinite; } @keyframes fxBlink { 50% { opacity: 0; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on { opacity: 1; transform: none; }

/* Fuß */
.foot { margin-top: 44px; padding: 24px 0 8px; position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.foot::before { content: ""; position: absolute; top: -1px; left: 0; width: 120px; height: 1px; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); animation: fxFoot 6s linear infinite; }
@keyframes fxFoot { to { left: calc(100% - 120px); } }
.foot img { height: 48px; width: auto; opacity: .85; mix-blend-mode: lighten; }
.foot .sign { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--muted); text-align: right; }
.foot .sign b { color: var(--white); font-weight: normal; }

@media (max-width: 900px) {
    .cols, .signal, .cols3 { grid-template-columns: 1fr; }
    .hero { grid-template-columns: 1fr; padding: 52px 24px 40px; }
    .hero img { width: 220px; }
    .ident .node { display: none; }
}
@media (max-width: 760px) { .game { grid-template-columns: 1fr; } .feed li { grid-template-columns: 1fr; gap: 4px; } }
@media (max-width: 600px) {
    .tabs a { padding: 12px 14px; font-size: 12px; letter-spacing: 2px; }
    .foot { flex-direction: column; align-items: flex-start; } .foot .sign { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
    .fx-particles, .fx-cursor, .fx-bar { display: none; }
}

/* =====================================================================
   Große Knöpfe im ACS-Stil (ruhig: keine Blink-/Puls-Effekte), Cookie-Banner, Pop-ups
   ===================================================================== */
.cta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.cta { position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none; overflow: hidden;
    padding: 20px 22px 18px; min-height: 168px; border: 1px solid var(--line); border-left: 3px solid var(--red);
    background: linear-gradient(180deg, rgba(14,14,14,.96), rgba(7,7,7,.96)); transition: border-color .18s, background .18s, transform .18s; }
.cta::before { content: ""; position: absolute; left: -1px; top: -1px; width: 18px; height: 18px; border-top: 2px solid var(--red-bright); border-left: 2px solid var(--red-bright); }
.cta::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 18px; height: 18px; border-bottom: 2px solid var(--red); border-right: 2px solid var(--red); opacity: .6; }
.cta .code { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; color: var(--red-bright); text-transform: uppercase; }
.cta .no { position: absolute; right: 16px; bottom: 10px; font-family: var(--mono); font-weight: bold; font-size: 28px; line-height: 1; color: rgba(229,43,43,.10); letter-spacing: -2px; pointer-events: none; }
.cta .t { font-family: var(--mono); font-weight: bold; font-size: 20px; letter-spacing: 1px; color: var(--white); text-transform: uppercase; line-height: 1.15; }
.cta .d { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .5px; line-height: 1.55; flex: 1; }
.cta .go { align-self: flex-start; font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--text); text-transform: uppercase;
    border-top: 1px solid var(--line); padding-top: 10px; width: 100%; transition: color .18s; }
.cta .go b { color: var(--red-bright); font-weight: normal; }
.cta:hover { border-color: #3b3b3b; border-left-color: var(--red-bright); background: linear-gradient(180deg, rgba(24,12,12,.96), rgba(9,6,6,.96)); transform: translateX(3px); }
.cta:hover .go { color: #fff; }
.cta.primary { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; column-gap: 28px; row-gap: 8px;
    align-items: center; min-height: 0; padding: 24px 26px; border-left-width: 4px;
    background: radial-gradient(circle at 90% 0%, rgba(165,29,29,.22), transparent 55%), linear-gradient(180deg, rgba(18,10,10,.97), rgba(8,5,5,.97)); }
.cta.primary .code, .cta.primary .t, .cta.primary .d { grid-column: 1; }
.cta.primary .t { color: #fff; font-size: 3.2vw; font-size: clamp(22px, 3.2vw, 32px); }
.cta.primary .go { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: auto; border: 1px solid var(--red-bright); background: var(--red-dark);
    color: #fff; padding: 14px 22px; font-weight: bold; font-size: 13px; white-space: nowrap; transition: background .18s; }
.cta.primary:hover .go { background: var(--red); }
.cta.primary .no { display: none; }
@media (max-width: 640px) { .cta.primary { grid-template-columns: 1fr; } .cta.primary .go { grid-column: 1; grid-row: auto; justify-self: start; } }

/* Download-Pop-up (ARGUS Launcher) */
.dlpop .box { width: 640px; max-width: 100%; width: min(640px, 100%); }
.dlpop .ttl { font-family: var(--mono); font-weight: bold; font-size: 3vw; font-size: clamp(20px, 3vw, 26px); letter-spacing: 1px; color: #fff; text-transform: uppercase; }
.dlpop .ttl span { color: var(--red-bright); }
.dlpop .sub { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.dlpop .bar { height: 3px; background: var(--line); margin: 16px 0 6px; position: relative; overflow: hidden; }
.dlpop .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--red-bright); box-shadow: 0 0 10px var(--red-bright); transition: width 1.6s cubic-bezier(.2,.8,.2,1); }
.dlpop.on .bar i { width: 100%; }
.dlpop ol { list-style: none; margin: 18px 0 4px; counter-reset: s; }
.dlpop ol li { counter-increment: s; position: relative; padding: 10px 0 10px 52px; border-top: 1px solid var(--line); font-size: 13.5px; }
.dlpop ol li::before { content: "0" counter(s); position: absolute; left: 0; top: 9px; font-family: var(--mono); font-weight: bold; font-size: 18px; color: var(--red-bright); }
.dlpop ol li b { color: var(--white); }
.dlpop .hint { margin-top: 14px; border-left: 2px solid var(--amber); padding: 8px 12px; background: rgba(232,163,58,.05); font-size: 12.5px; color: var(--text); }
.dlpop .hint b { color: var(--amber); font-weight: normal; font-family: var(--mono); letter-spacing: 1px; }
.dlpop .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.dlpop .row a, .dlpop .row button, .modal .mbody .row a { font-family: var(--mono); font-weight: bold; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; text-decoration: none;
    padding: 10px 16px; border: 1px solid var(--red-bright); background: var(--red-dark); color: #fff; transition: background .18s; }
.modal.dlpop .mbody .row a { color: #fff; }
.dlpop .row a:hover, .dlpop .row button:hover { background: var(--red); }
.dlpop .row .sec { background: transparent; border-color: var(--line); color: var(--text); }
.dlpop .row .sec:hover { border-color: var(--red-bright); color: #fff; background: transparent; }
.dlpop .retry { margin-top: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 1px; color: var(--muted); }
.dlpop .retry a { color: var(--red-bright); }

/* Cookie-Banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 85; width: min(780px, calc(100% - 32px)); margin: 0 auto;
    border: 1px solid var(--line); border-left: 3px solid var(--red); background: linear-gradient(180deg, #101010, #070707);
    box-shadow: 0 12px 50px rgba(0,0,0,.75); padding: 16px 20px; transform: translateY(170%); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.cookie.on { transform: none; }
.cookie .ttl { font-family: var(--mono); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--red-bright); }
.cookie p { font-family: var(--mono); font-size: 12.5px; color: var(--text); margin-top: 8px; line-height: 1.6; }
.cookie p a { color: var(--red-bright); text-decoration: underline; }
.cookie .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.cookie button { font-family: var(--mono); font-weight: bold; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
    padding: 10px 16px; border: 1px solid var(--red-bright); background: var(--red-dark); color: #fff; transition: background .18s, box-shadow .18s; }
.cookie button:hover { background: var(--red); box-shadow: 0 0 16px rgba(229,43,43,.5); }
.cookie button.sec { background: transparent; border-color: var(--line); color: var(--text); }
.cookie button.sec:hover { border-color: var(--red-bright); color: #fff; box-shadow: none; }

/* Pop-up (Datenschutz / Impressum) */
.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px;
    background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.modal.on { display: flex; }
.modal .box { width: 720px; max-width: 100%; width: min(720px, 100%); max-height: 84vh; overflow: auto; border: 1px solid var(--line); border-top: 2px solid var(--red);
    background: linear-gradient(180deg, var(--panel2), var(--panel)); position: relative; }
.modal .box::before { content: ""; position: absolute; left: -1px; top: -1px; width: 22px; height: 22px; border-top: 2px solid var(--red-bright); border-left: 2px solid var(--red-bright); }
.modal .mhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); position: -webkit-sticky; position: sticky; top: 0; background: #0a0a0a; }
.modal .mhead .label { font-size: 12px; }
.modal .x { cursor: pointer; font-family: var(--mono); color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; background: none; font-size: 14px; }
.modal .x:hover { color: #fff; border-color: var(--red-bright); }
.modal .mbody { padding: 22px; }
.modal .mbody h3 { font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--red-bright); text-transform: uppercase; margin: 18px 0 6px; }
.modal .mbody h3:first-child { margin-top: 0; }
.modal .mbody p, .modal .mbody li { font-size: 13.5px; color: var(--text); line-height: 1.65; }
.modal .mbody ul { margin: 6px 0 6px 20px; }
.modal .mbody a { color: var(--red-bright); }
.foot .legal { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.foot .legal a { cursor: pointer; } .foot .legal a:hover { color: var(--red-bright); }

/* Download-Zähler */
.dlstat { margin-top: 18px; text-align: center; font-family: var(--mono); font-size: 13px; letter-spacing: 2px; color: var(--muted); }
.dlstat b { color: var(--red-bright); font-size: 20px; letter-spacing: 1px; }
.dlstat span { color: var(--muted); }

/* =====================================================================
   BAUSTELLE // Kommentare (giscus) – Bauzaun, Absperrband, Leitkegel, Leuchte, Schild „Unsauber aber da“
   ===================================================================== */
.bst { position: relative; overflow: hidden; padding: 0 0 4px; }
.bst-band { position: relative; z-index: 3; margin: 0 -40px; height: 34px; display: flex; align-items: center; overflow: hidden; white-space: nowrap;
    background: #f2c40c; border-top: 3px solid #111; border-bottom: 3px solid #111; box-shadow: 0 6px 18px rgba(0,0,0,.55);
    font-family: Impact, "Arial Narrow Bold", "Arial Black", sans-serif; font-size: 17px; letter-spacing: 3px; color: #111; }
.bst-band::before, .bst-band::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(45deg, #111 0 10px, #f2c40c 10px 20px); }
.bst-band::before { top: 0; } .bst-band::after { bottom: 0; }
.bst-band span { display: inline-block; padding-left: 20px; }
.bst-band.b1 { transform: rotate(-2.2deg); margin-top: 6px; }
.bst-band.b2 { transform: rotate(1.6deg); margin-top: -8px; background: #e8e8e8; }
.bst-band.b2 { background: repeating-linear-gradient(135deg, #d82020 0 40px, #f1f1f1 40px 80px); color: #111; text-shadow: 0 0 3px #fff, 0 0 6px #fff; }
.bst-band.b2::before, .bst-band.b2::after { display: none; }
.bst-kopf { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; padding: 22px 22px 0; }
.bst-kopf .bst-l, .bst-kopf .bst-r { display: flex; align-items: flex-end; gap: 6px; }
.bst-schild { justify-self: center; text-align: center; }
.bst-schild svg { width: 420px; max-width: 100%; width: min(420px, 100%); height: auto; display: block; filter: drop-shadow(0 10px 18px rgba(0,0,0,.6)); }
.bst-kegel { width: 46px; height: 66px; } .bst-kegel.k2 { width: 36px; height: 52px; }
.bst-dreieck { width: 70px; height: 92px; }
.bst-schranke { width: 150px; height: 74px; }
.bst-leuchte { width: 34px; height: 60px; }
.bst-leuchte .glas { fill: #f2a20c; }
.bst-leuchte .schein { fill: rgba(255,190,40,.0); }
@media (prefers-reduced-motion: no-preference) {
    .bst-leuchte .glas { animation: bstBlink 1.6s steps(1) infinite; }
    .bst-leuchte .schein { animation: bstSchein 1.6s steps(1) infinite; }
    .bst-leuchte.l2 .glas, .bst-leuchte.l2 .schein { animation-delay: .8s; }
}
@keyframes bstBlink { 50% { fill: #ffd84a; } }
@keyframes bstSchein { 50% { fill: rgba(255,200,60,.35); } }
.bst-feld { position: relative; z-index: 2; margin: 18px 22px 0; border: 1px dashed #5a4a10; border-left: 3px solid #f2c40c; background: rgba(10,9,4,.85); padding: 18px 18px 10px; min-height: 120px; }
.bst-feld .giscus, .bst-feld .giscus-frame { width: 100%; }
.bst-leer { font-family: var(--mono); font-size: 13px; color: var(--text); line-height: 1.7; padding-bottom: 8px; }
.bst-leer b { color: #f2c40c; font-weight: normal; letter-spacing: 2px; }
.bst-zaun { position: relative; z-index: 1; margin-top: -10px; height: 130px; }
.bst-zaun svg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; display: block; }
.bst-plane { position: absolute; z-index: 2; left: 50%; top: 34px; transform: translateX(-50%) rotate(-1deg); background: #0b0b0b; border: 2px solid #f2c40c; padding: 6px 16px;
    font-family: var(--mono); font-weight: bold; font-size: 12px; letter-spacing: 3px; color: #f2c40c; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.6); }
.bst-plane b { color: var(--red-bright); }
@media (max-width: 720px) {
    .bst-kopf { grid-template-columns: 1fr; justify-items: center; }
    .bst-kopf .bst-l, .bst-kopf .bst-r { order: 2; justify-content: center; } .bst-dreieck { width: 54px; height: 72px; }
    .bst-schranke { display: none; }
    .bst-band { font-size: 14px; }
    .bst-plane { font-size: 9px; letter-spacing: 1px; top: 30px; }
}

/* =====================================================================
   MITGLIEDER-KONTO (Knopf im Kopf + Fenster)
   ===================================================================== */
.konto-knopf { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--text); background: transparent; cursor: pointer;
    border: 1px solid var(--line); padding: 7px 12px; transition: border-color .18s, color .18s; position: relative; z-index: 2; }
.konto-knopf:hover { border-color: var(--red-bright); color: var(--white); }
.konto-knopf.an { color: var(--red-bright); border-color: var(--red-dark); }
.konto-knopf small { color: var(--muted); font-size: 10px; }
.ident .node { order: 1; } .ident .konto-knopf { order: 2; margin-left: 12px; }
.konto .box { width: 560px; max-width: 100%; width: min(560px, 100%); }
.konto .kt { display: flex; border: 1px solid var(--line); margin-bottom: 16px; }
.konto .kt button, .konto .seg button { flex: 1; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; cursor: pointer; padding: 10px 8px;
    background: transparent; color: var(--muted); border: 0; border-right: 1px solid var(--line); }
.konto .kt button:last-child, .konto .seg button:last-child { border-right: 0; }
.konto .kt button.on, .konto .seg button.on { background: var(--red-dark); color: #fff; }
.konto .kform label, .konto .kdel label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 12px; }
.konto input { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; font-size: 15px; font-family: var(--mono); color: var(--white);
    background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--red); outline: none; -webkit-appearance: none; border-radius: 0; }
.konto input:focus { border-color: var(--red-bright); }
.konto .kbtn { font-family: var(--mono); font-weight: bold; font-size: 12px; letter-spacing: 2px; cursor: pointer; padding: 11px 16px;
    border: 1px solid var(--red-bright); background: var(--red-dark); color: #fff; }
.konto .kbtn:hover { background: var(--red); }
.konto .kbtn.sec { background: transparent; border-color: var(--line); color: var(--text); }
.konto .kbtn.sec:hover { border-color: var(--red-bright); color: var(--white); }
.konto .kfehler { min-height: 18px; font-family: var(--mono); font-size: 12px; color: var(--amber); margin-bottom: 8px; }
.konto .kvorteile { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 4px; }
.konto .kvorteile li b, .konto .klog b { color: var(--white); }
.konto .kvorteile p { margin-top: 10px; color: var(--muted); font-size: 12.5px; }
.konto .kkopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.konto .kkopf b { display: block; font-family: var(--mono); font-size: 20px; color: var(--white); }
.konto .kkopf span { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--red-bright); }
.konto .kextras > div { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.konto .kextras > div > span { width: 110px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.konto .seg { flex: 1; display: flex; border: 1px solid var(--line); }
.konto .klog p { margin: 8px 0; font-size: 13px; }
.konto .kstand { font-family: var(--mono); font-size: 10px; letter-spacing: 2px; color: var(--muted); }
.konto .kweg { margin-top: 18px; font-size: 12px; color: var(--muted); }
.konto .kweg summary { cursor: pointer; font-family: var(--mono); letter-spacing: 1px; }
.konto .kweg form { margin-top: 12px; }
@media (max-width: 600px) { .konto .kextras > div { flex-direction: column; align-items: stretch; gap: 4px; } .konto .kextras > div > span { width: auto; } }

/* =====================================================================
   EXTRAS: Akzentfarbe, ruhiger Modus, HELLES DESIGN
   ===================================================================== */
html[data-akzent="bernstein"] { --red: #a8741c; --red-bright: #e8a33a; --red-dark: #4a3410; }
html[data-akzent="eis"] { --red: #2a6a9a; --red-bright: #4aa8e8; --red-dark: #123a5a; }
html[data-ruhig] .fx-grid, html[data-ruhig] .fx-glow, html[data-ruhig] .fx-particles, html[data-ruhig] .fx-cursor, html[data-ruhig] .fx-bar, html[data-ruhig] .fx-scan { display: none !important; }
html[data-ruhig] *, html[data-ruhig] *::before, html[data-ruhig] *::after { animation: none !important; transition: none !important; }

html[data-theme="hell"] { --bg: #ecebe7; --panel: #f6f5f2; --panel2: #ffffff; --text: #2b2b2b; --white: #111111; --muted: #6e6e6e; --line: #cdc9c1;
    --red: #b31b1b; --red-bright: #cf2020; --red-dark: #b31b1b; }
html[data-theme="hell"][data-akzent="bernstein"] { --red: #9a6510; --red-bright: #b97a12; --red-dark: #9a6510; }
html[data-theme="hell"][data-akzent="eis"] { --red: #1f5f90; --red-bright: #2678b8; --red-dark: #1f5f90; }
html[data-theme="hell"], html[data-theme="hell"] body { background: var(--bg); }
html[data-theme="hell"] body { background: radial-gradient(circle at 50% -20%, rgba(180, 30, 30, .08), transparent 45%), var(--bg); }
html[data-theme="hell"] .fx-scan, html[data-theme="hell"] .fx-bar, html[data-theme="hell"] .fx-cursor { display: none; }
html[data-theme="hell"] .fx-grid { opacity: .35; }
html[data-theme="hell"] .fx-glow { opacity: .25; }
html[data-theme="hell"] .panel, html[data-theme="hell"] .cta, html[data-theme="hell"] .tabs, html[data-theme="hell"] .ident, html[data-theme="hell"] .hero,
html[data-theme="hell"] .modal .box, html[data-theme="hell"] .cookie { background: linear-gradient(180deg, #ffffff, #f4f3ef); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
html[data-theme="hell"] .panel .head, html[data-theme="hell"] .modal .mhead { background: #f0eee9; }
html[data-theme="hell"] .cta.primary { background: radial-gradient(circle at 90% 0%, rgba(200,40,40,.12), transparent 55%), linear-gradient(180deg, #ffffff, #f6efef); }
html[data-theme="hell"] .cta:hover { background: linear-gradient(180deg, #ffffff, #f8eded); }
html[data-theme="hell"] .tabs a { color: #555; } html[data-theme="hell"] .tabs a small { color: #999; }
html[data-theme="hell"] .tabs a.on { color: #111; background: linear-gradient(180deg, rgba(180, 30, 30, .02), rgba(180, 30, 30, .12)); }
html[data-theme="hell"] .tabs a:hover { background: rgba(180, 30, 30, .06); }
html[data-theme="hell"] .hero h1 { color: #3a3a3a; }
html[data-theme="hell"] .btn.ghost, html[data-theme="hell"] .cta .go { color: var(--text); }
html[data-theme="hell"] .btn.ghost:hover, html[data-theme="hell"] .cta:hover .go { color: #111; }
html[data-theme="hell"] .cta.primary .go { color: #fff; }
html[data-theme="hell"] .linkbtn { background: linear-gradient(180deg, #ffffff, #f2f0eb); border-color: var(--line); }
html[data-theme="hell"] .sig-card, html[data-theme="hell"] .feed li { background: transparent; border-color: var(--line); }
html[data-theme="hell"] .sig-img .stamp b { color: #fff; }
html[data-theme="hell"] .ident img, html[data-theme="hell"] .foot img, html[data-theme="hell"] .hero > img, html[data-theme="hell"] .sig-card img {
    mix-blend-mode: normal; background: #141414; padding: 6px 8px; }
html[data-theme="hell"] .modal { background: rgba(40,40,40,.45); }
html[data-theme="hell"] .konto input { background: #fff; }
html[data-theme="hell"] .feed.small p { color: #666; }
html[data-theme="hell"] .bst-feld { background: rgba(255,250,230,.9); }
html[data-theme="hell"] .bst-leer { color: #333; }
html[data-theme="hell"] .bst-leer b { color: #8a6a00; }
html[data-theme="hell"] .arch .dl { color: var(--text); }
html[data-theme="hell"] .cta.primary .t { color: #111; }
/* Archiv: versteckter kleiner Knopf unten in der Ecke der Spiele-Seite */
.archiv-ecke { display: block; width: max-content; margin: 26px 0 -20px auto; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: #3a3a3a;
    text-decoration: none; border: 1px solid #1c1c1c; padding: 4px 8px; transition: color .2s, border-color .2s; }
.archiv-ecke:hover { color: var(--red-bright); border-color: var(--red-dark); }
html[data-theme="hell"] .archiv-ecke { color: #aaa; border-color: #ddd; }

/* =====================================================================
   ALTE GERÄTE (iPad 3 / iOS 9, kein CSS-Grid) + HANDY-FIXES
   ===================================================================== */
@supports not (display: grid) {
    .cols, .cols3, .signal, .game, .cta-grid, .hero, .bst-kopf { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
    .cols > *, .cols3 > *, .signal > * { -webkit-flex: 1 1 280px; flex: 1 1 280px; margin: 0 9px 18px; }
    .game > :first-child { -webkit-flex: 0 0 380px; flex: 0 0 380px; max-width: 100%; margin-right: 22px; }
    .game > :last-child { -webkit-flex: 1 1 300px; flex: 1 1 300px; }
    .cta-grid > .cta { -webkit-flex: 1 1 240px; flex: 1 1 240px; margin: 0 8px 16px; }
    .cta-grid > .cta.primary { -webkit-flex-basis: 100%; flex-basis: 100%; display: block; }
    .cta.primary .go { display: inline-block; margin-top: 12px; }
    .hero > :first-child { -webkit-flex: 1 1 400px; flex: 1 1 400px; }
    .feed li, .arch .ver { display: block; }
    .feed li > :first-child, .arch .ver > :first-child { margin-bottom: 6px; }
    .ident > *, .tabs a, .row > *, .kt > * { margin-right: 10px; }
    .btn { margin-right: 8px; }
}
/* schwaches Gerät: keine teuren Schatten/Filter/Unschärfe */
html[data-schwach] .modal { -webkit-backdrop-filter: none; backdrop-filter: none; }
html[data-schwach] .hero img, html[data-schwach] .sig-card img, html[data-schwach] .bst-schild svg { filter: none; }
html[data-schwach] .ident::after, html[data-schwach] .cta::after, html[data-schwach] .foot::before { animation: none; }
/* Handy: lange E-Mail-Adresse bricht um statt die Seite zu verbreitern */
.mail { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
@media (max-width: 600px) {
    .mail.big { font-size: 14px; word-break: break-all; }
    /* Reiter: alle sichtbar (umbrechen) statt seitlich wischen */
    .tabs { flex-wrap: wrap; overflow-x: visible; }
    .tabs a { flex: 1 1 45%; padding: 11px 12px; font-size: 13px; justify-content: center; }
    .tabs a small { display: none; }
    .ident { padding: 10px 12px; }
    .ident .node { display: none; }
}

/* Sprachknopf DE | EN im Kopf */
.sprach-knopf { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--muted); background: transparent; cursor: pointer;
    border: 1px solid var(--line); padding: 7px 10px; position: relative; z-index: 2; order: 2; }
.sprach-knopf b { font-weight: normal; } .sprach-knopf b.on { color: var(--red-bright); }
.sprach-knopf:hover { border-color: var(--red-bright); color: var(--white); }
.ident .konto-knopf { order: 3; margin-left: 8px; }
@media (max-width: 600px) { .sprach-knopf { margin-left: auto; } }
