/* Kifferzeitung Gaming - Dark Neon Design-System */
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }
:root {
  --bg: #0c0813; --bg2: #120c1d; --flaeche: #170f26; --flaeche2: #1e1430; --kante: #2c2140;
  --papier: #f0ecf7; --grau: #9c92b3; --grau-d: #6f6688;
  --neon: #c026d3; --neon-h: #e34ef0; --neon-d: #8b1a96;
  --lila: #7c3aed; --cyan: #22d3ee;
  --rust: #f97c3d; --mc: #7ec850; --ts: #38bdf8;
  --mono: ui-monospace, 'Cascadia Mono', Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--papier);
  font-family: 'Poppins', system-ui, sans-serif; line-height: 1.6; overflow-x: hidden;
  background-image: radial-gradient(1200px 600px at 78% -10%, rgba(124,58,237,0.16), transparent 60%),
                    radial-gradient(1000px 500px at 10% 5%, rgba(192,38,211,0.12), transparent 55%);
  background-attachment: fixed;
}
a { color: var(--neon-h); text-decoration: none; }
::selection { background: var(--neon); color: #fff; }

.ticker { background: #08050d; border-bottom: 1px solid var(--kante); overflow: hidden; white-space: nowrap; font-family: var(--mono); font-size: 12px; color: var(--grau); position: relative; z-index: 5; }
.ticker-track { display: inline-block; padding: 7px 0; animation: tick 40s linear infinite; }
.ticker b { color: var(--neon-h); font-weight: 400; }
.ticker .o { color: var(--cyan); }
@keyframes tick { to { transform: translateX(-50%); } }

header.top { position: sticky; top: 0; z-index: 30; background: rgba(12,8,19,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--kante); }
.nav { max-width: 1180px; margin: 0 auto; padding: 15px 24px; display: flex; align-items: center; gap: 24px; }
.brand { font-weight: 900; font-size: 16px; letter-spacing: 0.4px; color: var(--papier); text-transform: uppercase; line-height: 1.12; }
.brand span { color: var(--neon-h); text-shadow: 0 0 18px rgba(227,78,240,0.55); }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: 9px; letter-spacing: 3px; color: var(--grau); text-transform: uppercase; }
.nav a.item { color: var(--grau); font-size: 13.5px; font-weight: 600; position: relative; white-space: nowrap; }
.nav a.item::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px; background: var(--neon); box-shadow: 0 0 10px var(--neon); transition: width 0.22s; }
.nav a.item:hover { color: var(--papier); }
.nav a.item:hover::after, .nav a.item.aktiv::after { width: 100%; }
.nav a.item.aktiv { color: var(--papier); }
.nav .ext { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--grau); white-space: nowrap; }
.nav .ext:hover { color: var(--neon-h); }
@media (max-width: 780px) { .nav { flex-wrap: wrap; gap: 14px; padding: 12px 18px; } .nav .ext { display: none; } .nav a.item { font-size: 12.5px; } }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; position: relative; }

.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform 0.15s, box-shadow 0.2s, filter 0.15s; cursor: pointer; border: 0; font-family: inherit; }
.btn:active { transform: scale(0.97); }
.btn.p { background: linear-gradient(135deg, var(--neon) 0%, var(--lila) 100%); color: #fff; box-shadow: 0 8px 30px rgba(192,38,211,0.4); }
.btn.p:hover { box-shadow: 0 10px 40px rgba(192,38,211,0.6); filter: brightness(1.08); }
.btn.s { background: rgba(255,255,255,0.04); border: 1px solid var(--kante); color: var(--papier); }
.btn.s:hover { border-color: var(--neon); box-shadow: 0 0 24px rgba(192,38,211,0.25); }

/* Zentrierter Neon-Hero (YouPlay-Stil) */
.hero { position: relative; overflow: hidden; }
.hero-art { position: relative; min-height: 640px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: linear-gradient(180deg, rgba(12,8,19,0.35) 0%, rgba(12,8,19,0.5) 55%, var(--bg) 100%), url('/img/hero.webp') center 28%/cover no-repeat; }
@media (max-width: 820px) { .hero-art { min-height: 520px; } }
.hero-art .hero-inner { position: relative; z-index: 2; padding: 120px 24px 70px; max-width: 860px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 5px; color: var(--neon-h); text-transform: uppercase; text-shadow: 0 0 20px rgba(227,78,240,0.6); }
.eyebrow i { font-style: normal; color: var(--papier); }
h1.mast { font-weight: 900; text-transform: uppercase; letter-spacing: -1px; font-size: clamp(40px, 7vw, 88px); line-height: 0.96; margin: 18px 0 22px; text-shadow: 0 4px 40px rgba(0,0,0,0.6); }
h1.mast .z2 { background: linear-gradient(120deg, var(--neon-h), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #d8d0e8; font-size: 17px; max-width: 620px; margin: 0 auto; text-shadow: 0 2px 20px rgba(0,0,0,0.7); }
.lead b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* Unterseiten-Hero mit Artwork */
.page-hero { position: relative; overflow: hidden; padding: 0; background-position: center 32%; background-size: cover; background-repeat: no-repeat; }
.page-hero .wrap { min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
.page-hero h1 { font-weight: 900; text-transform: uppercase; letter-spacing: -1px; font-size: clamp(32px, 5.5vw, 60px); line-height: 1; margin: 14px 0 16px; text-shadow: 0 3px 30px rgba(0,0,0,0.8); }
.page-hero h1 em { font-style: normal; color: var(--neon-h); text-shadow: 0 0 30px rgba(227,78,240,0.6); }
.page-hero .lead, .page-hero .eyebrow { text-shadow: 0 2px 22px rgba(0,0,0,0.85); position: relative; }
.page-hero.ph-rust { background-image: linear-gradient(180deg, rgba(12,8,19,0.25), rgba(12,8,19,0.62) 55%, var(--bg)), url('/img/rust.webp'); }
.page-hero.ph-rust h1 em { color: var(--rust); text-shadow: 0 0 30px rgba(249,124,61,0.5); }
.page-hero.ph-mc { background-image: linear-gradient(180deg, rgba(12,8,19,0.25), rgba(12,8,19,0.62) 55%, var(--bg)), url('/img/mc.webp'); }
.page-hero.ph-mc h1 em { color: var(--mc); text-shadow: 0 0 30px rgba(126,200,80,0.5); }
.page-hero.ph-ts { background-image: linear-gradient(180deg, rgba(12,8,19,0.28), rgba(12,8,19,0.66) 55%, var(--bg)), url('/img/ts.webp'); }
.page-hero.ph-ts h1 em { color: var(--ts); text-shadow: 0 0 30px rgba(56,189,248,0.5); }
.page-hero.ph-regeln { background-image: linear-gradient(180deg, rgba(12,8,19,0.4), rgba(12,8,19,0.72) 55%, var(--bg)), url('/img/hero.webp'); }
@media (max-width: 820px) { .page-hero .wrap { min-height: 280px; } }

/* Feature-Tiles im YouPlay-Stil (zentriert, Icon oben) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 3; }
@media (max-width: 820px) { .tiles { grid-template-columns: 1fr; margin-top: 20px; } }
.tile { background: linear-gradient(180deg, var(--flaeche) 0%, var(--bg2) 100%); border: 1px solid var(--kante); border-radius: 16px; padding: 30px 26px; text-align: center; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.tile:hover { transform: translateY(-5px); border-color: var(--neon-d); box-shadow: 0 18px 50px rgba(124,58,237,0.22); }
.tile .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: rgba(192,38,211,0.12); border: 1px solid var(--neon-d); box-shadow: inset 0 0 20px rgba(192,38,211,0.15); }
.tile .ic svg { width: 26px; height: 26px; stroke: var(--neon-h); fill: none; stroke-width: 1.8; }
.tile h4 { font-size: 17px; font-weight: 800; }
.tile p { color: var(--grau); font-size: 13.5px; margin-top: 8px; }
.tile p b { color: var(--papier); font-weight: 600; }

.section-title { text-align: center; margin: 74px 0 30px; }
.section-title .k { font-family: var(--mono); font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--neon-h); }
.section-title h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; margin-top: 6px; }
.section-title.left { text-align: left; }

/* Screenshot/Server-Karten */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .shots { grid-template-columns: 1fr; } }
.card { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--kante); color: var(--papier); min-height: 300px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; }
.card:hover { border-color: var(--neon-d); box-shadow: 0 18px 50px rgba(124,58,237,0.25); transform: translateY(-4px); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover img { transform: scale(1.06); }
.card .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,19,0.05) 20%, rgba(12,8,19,0.6) 62%, rgba(9,6,14,0.96) 100%); }
.card .tag { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; color: #fff; backdrop-filter: blur(4px); }
.card.c-rust .tag { background: rgba(249,124,61,0.85); }
.card.c-ts .tag { background: rgba(56,189,248,0.85); }
.card.c-mc .tag { background: rgba(126,200,80,0.85); }
.card .stat { position: absolute; top: 16px; right: 16px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; padding: 6px 11px; border-radius: 999px; background: rgba(12,8,19,0.7); border: 1px solid rgba(126,231,159,0.5); color: #7ee79f; backdrop-filter: blur(4px); }
.card .stat.bald { border-color: rgba(240,195,60,0.5); color: #f0c33c; }
.card .txt { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.card .txt h3 { font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,0.9); line-height: 1.16; font-size: 19px; }
.card .txt p { color: rgba(240,236,247,0.82); font-size: 12.5px; margin-top: 6px; text-shadow: 0 1px 10px rgba(0,0,0,0.9); }
.card .meta { display: flex; align-items: center; gap: 14px; margin-top: 13px; font-family: var(--mono); font-size: 11px; color: var(--grau); border-top: 1px solid rgba(255,255,255,0.12); padding-top: 12px; }
.card .meta .go { margin-left: auto; color: var(--neon-h); }
.card.big { min-height: 420px; }
.card.big .txt h3 { font-size: 24px; }

/* Panels / Boxen (glasig statt flach) */
.panel { background: linear-gradient(180deg, rgba(30,20,48,0.6), rgba(18,12,29,0.6)); border: 1px solid var(--kante); border-radius: 16px; overflow: hidden; backdrop-filter: blur(6px); }
.panel-head { display: flex; align-items: center; gap: 11px; padding: 15px 20px; border-bottom: 1px solid var(--kante); font-weight: 800; font-size: 14px; letter-spacing: 0.3px; }
.panel-head::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon); }
.panel-head.h-rust::before { background: var(--rust); box-shadow: 0 0 12px var(--rust); }
.panel-head.h-ts::before { background: var(--ts); box-shadow: 0 0 12px var(--ts); }
.panel-body { padding: 22px; }

.layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.layout .col { display: grid; gap: 22px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }

.count { display: flex; gap: 12px; justify-content: center; }
.count .cell { flex: 1; max-width: 96px; background: rgba(12,8,19,0.7); border: 1px solid var(--kante); border-radius: 14px; padding: 14px 6px 10px; text-align: center; }
.count .cell b { display: block; font-family: var(--mono); font-weight: 400; font-size: 32px; line-height: 1; color: var(--neon-h); text-shadow: 0 0 22px rgba(227,78,240,0.55); }
.count .cell span { display: block; margin-top: 7px; font-family: var(--mono); font-size: 9.5px; letter-spacing: 2px; color: var(--grau); text-transform: uppercase; }

.event { border: 1px solid var(--kante); border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, rgba(30,20,48,0.6), rgba(18,12,29,0.6)); backdrop-filter: blur(6px); }
.event .top { position: relative; height: 130px; }
.event .top img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.event .top .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,19,0.2), var(--flaeche)); }
.event .top .label { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--papier); text-shadow: 0 2px 12px rgba(0,0,0,0.8); }
.event .body { padding: 6px 20px 22px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feat { background: rgba(12,8,19,0.4); border: 1px solid var(--kante); border-left: 3px solid var(--neon); border-radius: 12px; padding: 22px 24px; }
.feat.f-rust { border-left-color: var(--rust); }
.feat h4 { font-size: 16px; font-weight: 800; }
.feat .mono-tag { font-family: var(--mono); font-size: 11.5px; color: var(--grau); letter-spacing: 1px; }
.feat p { color: var(--grau); font-size: 13.5px; margin-top: 8px; }
.feat p b { color: var(--papier); font-weight: 600; }

.duo { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; }
.duo.gleich { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .duo, .duo.gleich { grid-template-columns: 1fr; } }
.pane { background: linear-gradient(180deg, rgba(30,20,48,0.5), rgba(18,12,29,0.5)); border: 1px solid var(--kante); border-radius: 16px; padding: 30px; position: relative; overflow: hidden; backdrop-filter: blur(6px); }
.pane h3 { font-size: 19px; font-weight: 800; margin-bottom: 4px; }
.pane .sub { color: var(--grau); font-size: 13.5px; }
.pane ul { list-style: none; margin: 18px 0 20px; }
.pane li { padding: 6px 0 6px 26px; position: relative; font-size: 14.5px; }
.pane li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 8px var(--neon); }
.pane.a-rust li::before { background: var(--rust); box-shadow: 0 0 8px var(--rust); }
.pane.a-ts li::before { background: var(--ts); box-shadow: 0 0 8px var(--ts); }
.addr { display: flex; gap: 8px; flex-wrap: wrap; }
.addr code { flex: 1; min-width: 200px; background: rgba(12,8,19,0.8); border: 1px solid var(--kante); border-radius: 10px; padding: 12px 15px; font-family: var(--mono); font-size: 13px; color: var(--neon-h); overflow-x: auto; white-space: nowrap; }
.addr button { background: rgba(255,255,255,0.05); border: 1px solid var(--kante); color: var(--papier); border-radius: 10px; padding: 0 18px; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color 0.15s; }
.addr button:hover { border-color: var(--neon); }
.hint { color: var(--grau); font-size: 13px; margin-top: 12px; }
.steps { counter-reset: s; margin-top: 6px; }
.steps > div { padding: 12px 0 12px 46px; position: relative; font-size: 14.5px; border-top: 1px solid var(--kante); }
.steps > div:first-child { border-top: 0; }
.steps > div::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 12px; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--neon-h); }
.steps.a-rust > div::before { color: var(--rust); }
.steps.a-ts > div::before { color: var(--ts); }

.tablewrap { overflow-x: auto; background: linear-gradient(180deg, rgba(30,20,48,0.5), rgba(18,12,29,0.5)); border: 1px solid var(--kante); border-radius: 16px; backdrop-filter: blur(6px); }
table.cmds { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.cmds th { text-align: left; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--grau); padding: 12px 16px; border-bottom: 1px solid var(--kante); }
table.cmds td { padding: 12px 16px; border-bottom: 1px solid var(--kante); vertical-align: top; }
table.cmds td:first-child { font-family: var(--mono); color: var(--neon-h); white-space: nowrap; }
table.cmds tr:hover td { background: rgba(124,58,237,0.08); }

.section-wrap { padding: 20px 0 40px; }
.blk { position: relative; padding: 20px 0 60px; }
.sec-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.sec-head .nr { font-family: var(--mono); font-size: 13px; color: var(--neon-h); }
.sec-head h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; text-transform: uppercase; letter-spacing: -0.5px; }
.sec-head h2 em { font-style: normal; }
.sec-head h2 em.c-rust { color: var(--rust); }
.sec-head h2 em.c-mc { color: var(--mc); }
.sec-head h2 em.c-ts { color: var(--ts); }

.uhr { font-family: var(--mono); font-size: clamp(56px, 9vw, 104px); line-height: 1; color: var(--neon-h); text-shadow: 0 0 40px rgba(227,78,240,0.5); letter-spacing: -2px; text-align: center; }
.uhr small { font-size: 0.3em; color: var(--grau); letter-spacing: 2px; }

.tape { display: inline-block; background: repeating-linear-gradient(-45deg, var(--neon) 0 16px, #120c1d 16px 32px); color: #fff; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; padding: 10px 22px; transform: rotate(-1.6deg); border-radius: 3px; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.tape span { background: var(--neon); padding: 2px 10px; }
.mc-flex { display: flex; gap: 40px; align-items: center; }
@media (max-width: 820px) { .mc-flex { flex-direction: column; align-items: flex-start; } }
.mc-block { flex: none; width: 128px; height: 128px; position: relative; animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(1.2deg); } }
.mc-block .px { position: absolute; width: 16px; height: 16px; }

.rules-list { border: 1px solid var(--kante); border-radius: 16px; overflow: hidden; }
.rules-list > div { display: grid; grid-template-columns: 76px 1fr; background: linear-gradient(180deg, rgba(30,20,48,0.5), rgba(18,12,29,0.5)); border-top: 1px solid var(--kante); }
.rules-list > div:first-child { border-top: 0; }
.rules-list .p { font-family: var(--mono); font-size: 19px; color: var(--neon-h); display: flex; align-items: center; justify-content: center; background: rgba(12,8,19,0.5); border-right: 1px solid var(--kante); text-shadow: 0 0 16px rgba(227,78,240,0.4); }
.rules-list .t { padding: 17px 24px; }
.rules-list .t b { font-size: 15px; font-weight: 800; display: block; }
.rules-list .t p { color: var(--grau); font-size: 13.5px; margin-top: 3px; }
.rules-list .t ul { list-style: none; margin-top: 8px; }
.rules-list .t li { color: var(--grau); font-size: 13.5px; padding: 3px 0 3px 20px; position: relative; }
.rules-list .t li::before { content: "›"; position: absolute; left: 0; font-family: var(--mono); color: var(--neon-h); }
.eskalation { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-family: var(--mono); font-size: 12.5px; }
.eskalation span { background: rgba(30,20,48,0.6); border: 1px solid var(--kante); border-radius: 999px; padding: 9px 18px; }
.eskalation span.hart { border-color: #7f1d1d; color: #f87171; background: rgba(127,29,29,0.15); }
.eskalation i { color: var(--grau); font-style: normal; }

footer { border-top: 1px solid var(--kante); margin-top: 40px; padding: 34px 24px 48px; text-align: center; color: var(--grau); font-size: 13px; }
footer a { color: var(--grau); text-decoration: underline; }
footer a:hover { color: var(--papier); }
footer .slogan { display: block; margin-bottom: 10px; color: var(--neon-h); letter-spacing: 3px; text-transform: uppercase; font-size: 12px; font-weight: 700; text-shadow: 0 0 18px rgba(227,78,240,0.5); }

html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
html.js .rv.in { opacity: 1; transform: none; }
html.js .rv.d1 { transition-delay: 0.09s; }
html.js .rv.d2 { transition-delay: 0.18s; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; transition: none; }
  .ticker-track, .mc-block { animation: none !important; }
  html { scroll-behavior: auto; }
}
