/* KaisenPlay – Website (Design auf Basis der Fly-Demo, eigenständig, nicht Teil des KernHosting-Builds) */

:root {
  color-scheme: light;
  --accent: #5b3df5;
  --accent-h: #4a2fd9;
  --warm: #ff6b4a;
  --warm-t: #c93a22;
  --sun: #ffd166;
  --ink: #1e1a3d;
  --edge: #1e1a3d;
  --bg: #fbfaf7;
  --tint: #f2effe;
  --card: #ffffff;
  --text: #2c2848;
  --muted: #5f5a7d;
  --line: #e4e1ef;
  --sky-a: #e9e4ff;
  --sky-b: #fbfaf7;
  --cloud: #ffffff;
  --term: #17132e;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --accent: #a594ff;
  --accent-h: #c0b4ff;
  --warm-t: #ff8a6b;
  --ink: #ece9fb;
  --edge: #3a3366;
  --bg: #0d0b1c;
  --tint: #151230;
  --card: #1a1638;
  --text: #d6d2ea;
  --muted: #9e98bd;
  --line: #2a2550;
  --sky-a: #120e2e;
  --sky-b: #0d0b1c;
  --cloud: #221d47;
  --term: #08061a;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
a { color: var(--accent); text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.015em; line-height: 1.1; }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 300; }
.skip:focus { left: 8px; }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
.muted { color: var(--muted); }
.center { justify-content: center; }

/* ---------- Buttons: kräftiger Rand, versetzter Schatten ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; padding: 10px 20px; border-radius: 12px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .15s; white-space: nowrap; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-accent { background: var(--sun); color: #1e1a3d; }
.btn-ink { background: var(--ink); color: var(--bg); box-shadow: none; }
.btn-ink:hover { box-shadow: 3px 3px 0 var(--warm); }
.btn-line { background: var(--card); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.more { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: "→"; transition: transform .15s; }
.more:hover::after { transform: translateX(4px); }
.kicker { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--warm-t); margin: 0 0 10px; font-weight: 700; }

/* ---------- Kopfzeile ---------- */
.hd { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--sky-a) 80%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .2s, box-shadow .2s; }
.hd.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); box-shadow: 0 1px 0 var(--line); }
.hd-row { display: flex; align-items: center; gap: 22px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu { display: flex; gap: 2px; }
.menu a { white-space: nowrap; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 9px; border-radius: 10px; }
.menu a:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.hd-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.login { white-space: nowrap; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 6px; }
.ic { background: none; border: 0; width: 40px; height: 40px; border-radius: 10px; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.ic:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.ic svg { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
.burger { display: none; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile { background: var(--bg); padding: 12px 24px 24px; border-top: 1px solid var(--line); }
.mobile a:not(.btn) { display: block; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 600; }
.mobile .btn { margin-top: 18px; display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-a) 0%, var(--sky-b) 100%); padding: 48px 0 80px; margin-top: -70px; padding-top: 118px; }
.sky { position: absolute; inset: 0; pointer-events: none; }
.cloud { position: absolute; fill: var(--cloud); stroke: none; opacity: .9; }
.c1 { width: 220px; top: 120px; left: -40px; animation: drift 46s linear infinite; }
.c2 { width: 160px; top: 60px; left: 55%; opacity: .7; animation: drift 60s linear infinite -20s; }
.c3 { width: 260px; bottom: 120px; left: 30%; opacity: .55; animation: drift 70s linear infinite -40s; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(110vw); } }
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0; }
:root[data-theme="dark"] .star { opacity: .8; animation: twinkle 3s ease-in-out infinite; }
.s1 { top: 18%; left: 12%; } .s2 { top: 30%; left: 40%; animation-delay: .6s; } .s3 { top: 14%; left: 70%; animation-delay: 1.2s; } .s4 { top: 42%; left: 88%; animation-delay: 1.8s; } .s5 { top: 55%; left: 6%; animation-delay: 2.4s; }
@keyframes twinkle { 50% { opacity: .2; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px; margin-bottom: 22px; }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #4cd08a; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.hero h1 em { font-style: italic; color: var(--accent); }
.lead { font-size: 1.18rem; margin: 22px 0 32px; max-width: 560px; }
.hero-art svg { width: 100%; max-width: 440px; display: block; margin-left: auto; overflow: visible; }
.hero-art svg, .end-ill { stroke: none; }
.hero-cloud { fill: var(--cloud); }
.float-a { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.packets > * { transform-box: fill-box; animation: bob 4s ease-in-out infinite; }
.packets > :nth-child(2) { animation-delay: -1.3s; }
.packets > :nth-child(3) { animation-delay: -2.6s; }
.leds circle { animation: blink 2.4s infinite; }
.leds circle:nth-child(2) { animation-delay: .4s; }
.leds circle:nth-child(3) { animation-delay: .8s; }
:root[data-theme="dark"] .hero-art [stroke="#1e1a3d"], :root[data-theme="dark"] .end-ill [stroke="#1e1a3d"] { stroke: #0b0920; }

/* Terminal */
.term { position: relative; margin-top: 56px; max-width: 760px; background: var(--term); border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); overflow: hidden; }
:root[data-theme="dark"] .term { border-color: #3a3366; box-shadow: 6px 6px 0 #3a3366; }
.term-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: rgba(255, 255, 255, .05); color: #9a92c0; font: 600 .8rem var(--mono); }
.term-top span { display: flex; gap: 6px; }
.term-top i { width: 11px; height: 11px; border-radius: 50%; background: #ff8a4c; }
.term-top i:nth-child(2) { background: #ffd166; }
.term-top i:nth-child(3) { background: #4cd08a; }
.term-body { margin: 0; padding: 18px 20px 22px; color: #e3def8; font: .9rem/1.75 var(--mono); overflow-x: auto; min-height: 220px; }
.term-body .pr { color: #a594ff; }
.term-body .dim { color: #8d85b3; }
.term-body .out { color: #bdb6dc; }
.cur { display: inline-block; width: 9px; height: 1.1em; background: #ffd166; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.js .term-body .tl { display: none; }
.js .term-body .tl.on { display: inline; }

/* ---------- Sektionen ---------- */
.sec { padding: 100px 0; }
.sec-tint { background: var(--tint); }
.sec-head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.sec-head h2, .tech h2, .near h2, .move h2, .stats h2, .end h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.sec-head > p:not(.kicker) { color: var(--muted); font-size: 1.12rem; margin: 14px 0 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 28px; box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
:root[data-theme="dark"] .card { border-color: #3a3366; box-shadow: 5px 5px 0 #3a3366; }
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--warm); }
.card-ill { height: 140px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; border: 2px solid var(--ink); }
:root[data-theme="dark"] .card-ill { border-color: #3a3366; }
.k1 .card-ill { background: #e9e4ff; }
.k2 .card-ill { background: #fff1d6; }
.k3 .card-ill { background: #ffe4d6; }
:root[data-theme="dark"] .k1 .card-ill { background: #2a2160; }
:root[data-theme="dark"] .k2 .card-ill { background: #3a2e14; }
:root[data-theme="dark"] .k3 .card-ill { background: #3a2216; }
.card-ill svg { width: 130px; stroke: #1e1a3d; stroke-width: 2.5; }
.card-ill .f1 { fill: #fff; } .card-ill .f2 { fill: #a594ff; } .card-ill .f3 { fill: #5b3df5; }
.card-ill .dot { fill: #ff8a4c; } .card-ill .ok { fill: #4cd08a; } .card-ill .ck { stroke: #fff; stroke-width: 3; }
.card h3 { font-size: 1.35rem; }
.new { font: 700 .7rem var(--mono); text-transform: uppercase; background: var(--warm); color: #1e1a3d; padding: 2px 8px; border-radius: 6px; vertical-align: 3px; margin-left: 6px; }
.card p { color: var(--muted); margin: 8px 0 18px; flex: 1; }

.tech { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tech .muted { margin: 14px 0 20px; font-size: 1.08rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { font: 600 .92rem var(--mono); color: var(--ink); background: var(--card); border: 2px solid var(--ink); border-radius: 12px; padding: 8px 14px; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
:root[data-theme="dark"] .chips li { border-color: #3a3366; box-shadow: 3px 3px 0 #3a3366; }
.chips li:nth-child(4n+1):hover { background: #e9e4ff; }
.chips li:nth-child(4n+2):hover { background: #fff1d6; }
.chips li:nth-child(4n+3):hover { background: #ffe4d6; }
.chips li:nth-child(4n):hover { background: #e3f6ec; }
.chips li:hover { transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 5px 5px 0 var(--ink); color: #1e1a3d; }

.near { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.near .muted { margin: 14px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--sun); color: #1e1a3d; font-size: .75rem; font-weight: 800; border: 2px solid var(--ink); flex-shrink: 0; }
.map { background: var(--card); border: 2px solid var(--ink); border-radius: 24px; box-shadow: 6px 6px 0 var(--ink); padding: 12px; }
:root[data-theme="dark"] .map { border-color: #3a3366; box-shadow: 6px 6px 0 #3a3366; }
.map svg { width: 100%; display: block; }
.grid circle { fill: var(--line); stroke: none; }
.grid circle.land { fill: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.arc { stroke: var(--warm); stroke-width: 3; stroke-dasharray: 6 7; fill: none; animation: dashm 1.4s linear infinite; }
@keyframes dashm { to { stroke-dashoffset: -26; } }
.pin circle { fill: var(--ink); stroke: var(--card); stroke-width: 3; }
.pin-main circle { fill: var(--accent); }
.pin .pulse { fill: var(--accent); stroke: none; opacity: .4; transform-box: fill-box; transform-origin: center; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.pin text { font: 700 13px var(--mono); fill: var(--ink); stroke: none; }

.stats { background: var(--ink); padding: 90px 0; }
.stats h2 { color: var(--bg); text-align: center; margin-bottom: 48px; }
.stats-grid { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-grid div { border: 2px dashed color-mix(in srgb, var(--bg) 30%, transparent); border-radius: 18px; padding: 26px 22px; text-align: center; }
.stats dt { font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--sun); }
.stats dd { margin: 6px 0 0; font: 700 clamp(1.4rem, 2.3vw, 2rem) var(--serif); color: var(--bg); }
:root[data-theme="dark"] .stats { background: #07051a; }
:root[data-theme="dark"] .stats h2, :root[data-theme="dark"] .stats dd { color: #ece9fb; }

.help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.help-card { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 26px; box-shadow: 4px 4px 0 var(--ink); color: var(--muted); transition: transform .15s, box-shadow .15s; }
:root[data-theme="dark"] .help-card { border-color: #3a3366; box-shadow: 4px 4px 0 #3a3366; }
.help-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--warm); }
.help-card b { color: var(--ink); font-size: 1.15rem; }
.hc-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sun); color: #1e1a3d; border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 12px; }
.hc-ic svg { width: 22px; height: 22px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps li { background: var(--card); border: 2px solid var(--ink); border-radius: 22px; padding: 30px 26px; box-shadow: 5px 5px 0 var(--ink); display: flex; flex-direction: column; align-items: flex-start; }
:root[data-theme="dark"] .steps li { border-color: #3a3366; box-shadow: 5px 5px 0 #3a3366; }
.no { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 1.2rem var(--serif); display: grid; place-items: center; border: 2px solid var(--ink); margin-bottom: 16px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 8px 0 18px; flex: 1; }
.snip { font: .88rem var(--mono); background: var(--term); color: #e3def8; padding: 10px 14px; border-radius: 10px; width: 100%; }
.snip .pr { color: #a594ff; }

.end { padding: 110px 0; text-align: center; background: radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--warm) 22%, transparent), transparent), linear-gradient(180deg, var(--bg), var(--sky-a)); }
.end-ill { width: 110px; margin: 0 auto 10px; display: block; overflow: visible; }
.end p { color: var(--muted); font-size: 1.15rem; margin: 12px 0 30px; }

.ft { border-top: 2px solid var(--ink); background: var(--tint); padding: 60px 0 28px; font-size: .94rem; }
:root[data-theme="dark"] .ft { border-color: #3a3366; }
.ft-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.ft-brand p { color: var(--muted); margin: 12px 0 0; font-family: var(--serif); font-style: italic; }
.ft h4 { font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--warm-t); margin-bottom: 12px; }
.ft-grid > div > a { display: block; color: var(--ink); padding: 3px 0; }
.ft-grid > div > a:hover { color: var(--accent); }
.ft-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); }
.ft-bottom nav { display: flex; gap: 20px; }
.ft-bottom a { color: var(--muted); }

/* Einblenden */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
.js .cards .rv:nth-child(2), .js .help .rv:nth-child(2), .js .steps .rv:nth-child(2), .js .stats-grid .rv:nth-child(2) { transition-delay: .1s; }
.js .cards .rv:nth-child(3), .js .help .rv:nth-child(3), .js .steps .rv:nth-child(3), .js .stats-grid .rv:nth-child(3) { transition-delay: .2s; }
.js .stats-grid .rv:nth-child(4) { transition-delay: .3s; }

/* ---------- KaisenPlay: Marke ---------- */
.brand { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; stroke: none; }
.brand-word { font: 700 1.38rem/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.brand-word b { color: var(--accent); }
.ft-brand .brand-word { font-size: 1.5rem; }
:root[data-theme="dark"] .no { color: #1e1a3d; }

/* Schwebende Insel (Hero) */
.isle-shadow { fill: var(--ink); opacity: .1; animation: shade 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes shade { 50% { transform: scaleX(.86); opacity: .06; } }
:root[data-theme="dark"] .isle-shadow { fill: #000; opacity: .35; }

.isle-glow { stroke: none; }
.float-b { animation: bob 7s ease-in-out infinite -2s; }
.float-c { animation: bob 5.5s ease-in-out infinite -1s; }
.sparkle { fill: #f2b31b; stroke: none; transform-box: fill-box; transform-origin: center; animation: sparkle 3s ease-in-out infinite; }
:root[data-theme="dark"] .sparkle { fill: var(--sun); }
@keyframes sparkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.fall { animation: fall 1.1s linear infinite; }
@keyframes fall { to { stroke-dashoffset: -44; } }
.glow-in { stop-color: #ffffff; stop-opacity: .75; }
.glow-out { stop-color: #ffffff; stop-opacity: 0; }
:root[data-theme="dark"] .glow-in { stop-color: #7357fa; stop-opacity: .38; }
:root[data-theme="dark"] .glow-out { stop-color: #7357fa; stop-opacity: 0; }

/* Spiele-Chips: Wunschspiel */
.chips li.wish { padding: 0; border-style: dashed; background: transparent; box-shadow: none; }
.chips li.wish a { display: block; padding: 8px 14px; color: var(--accent); }
.chips li.wish:hover { background: var(--sun); }
.chips li.wish:hover a { color: #1e1a3d; }
.chips li.live { background: var(--sun); color: #1e1a3d; }
.chips li.live::after { content: " · läuft"; font-weight: 500; }

/* Umzug von KernHosting */
.move { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.move .muted { margin: 14px 0 18px; }
.move .actions { margin-top: 28px; }
.move-ill { background: var(--card); border: 2px solid var(--edge); border-radius: 24px; box-shadow: 6px 6px 0 var(--edge); padding: 18px; }
.move-ill svg { width: 100%; display: block; stroke: none; overflow: visible; }
.move-ill text { font: 700 14px var(--mono); fill: var(--ink); }
.move-ill .sub { font-weight: 500; font-size: 12px; fill: var(--muted); }
.move-ill .box { fill: var(--tint); stroke: var(--edge); stroke-width: 2.5; }
.move-ill .box-kp { fill: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.move-ill .arc { stroke-width: 3; }
.move-ill .arrow { stroke: var(--warm); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.badge.prep i { background: var(--warm); }
.move-ill .ok-dot { fill: #4cd08a; stroke: var(--edge); stroke-width: 2; }

/* Interesse melden */
.join { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.join .steps { grid-template-columns: 1fr; gap: 18px; }
.join .steps li { flex-direction: row; gap: 18px; padding: 22px; }
.join .steps .no { flex-shrink: 0; margin: 0; }
.join .steps p { margin: 6px 0 0; }
.form-card { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; padding: 30px; box-shadow: 6px 6px 0 var(--edge); }
.form-card h3 { font: 700 1.5rem var(--serif); }
.form-card > p { color: var(--muted); margin: 6px 0 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--ink); font-size: .92rem; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: .98rem; color: var(--text); background: var(--bg); border: 2px solid var(--edge); border-radius: 12px; padding: 10px 12px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--warm); outline-offset: 1px; }
.form-card .btn { margin-top: 22px; width: 100%; cursor: pointer; font-family: inherit; }
.form-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.form-msg { margin: 12px 0 0; font-weight: 700; color: var(--accent); }
.form-msg:empty { display: none; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: var(--card); border: 2px solid var(--edge); border-radius: 18px; box-shadow: 4px 4px 0 var(--edge); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); font: 800 1rem var(--mono); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }
.faq-more { text-align: center; margin: 30px 0 0; color: var(--muted); }

/* Fußzeile: Marken-Hinweis */
.ft-brand small { display: block; margin-top: 10px; color: var(--muted); font-size: .85rem; }

/* ---------- Mehrseitig: Navigation, Unterseiten-Hero, Brotkrumen ---------- */
.menu a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.mobile a[aria-current="page"] { color: var(--accent); }
.hero-sub { padding-bottom: 72px; }
.hero > .wrap { position: relative; }
.hero-sub h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 .82rem var(--mono); color: var(--muted); margin: 0 0 18px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.hero-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.hero-facts li::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* Spiele-Karten */
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.game { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; box-shadow: 5px 5px 0 var(--edge); display: flex; flex-direction: column; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.game:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--warm); }
.game-art { border-bottom: 2px solid var(--edge); padding: 18px 24px 8px; display: grid; place-items: center; }
.game-art svg { width: 100%; max-width: 230px; stroke: none; overflow: visible; }
.g-mc { background: #dff5e3; } .g-rust { background: #ffe1d2; } .g-sf { background: #fff1d6; }
:root[data-theme="dark"] .g-mc { background: #15352a; }
:root[data-theme="dark"] .g-rust { background: #3a2016; }
:root[data-theme="dark"] .g-sf { background: #3a2e14; }
.game-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.game-body h3 { font-size: 1.4rem; }
.game-body > p { color: var(--muted); margin: 8px 0 16px; }
.game-body .ticks { margin-bottom: 22px; flex: 1; align-content: start; }
.game-body .ticks li { font-size: .93rem; }
.game-body .actions { gap: 10px; align-items: center; }
.tag { display: inline-block; font: 700 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--warm); color: #1e1a3d; padding: 2px 8px; border-radius: 6px; vertical-align: 4px; margin-left: 6px; border: 2px solid var(--edge); }
.gear { transform-box: fill-box; transform-origin: center; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flick 1.6s ease-in-out infinite; }
@keyframes flick { 50% { transform: scale(.92, 1.06); } }

/* Hero-Grafik der Spieleseiten */
.art-card { border: 2px solid var(--edge); border-radius: 26px; box-shadow: 8px 8px 0 var(--edge); padding: 30px 30px 14px; max-width: 460px; margin-left: auto; }
.art-card svg { width: 100%; display: block; stroke: none; overflow: visible; }

/* Ausstattung */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 26px; box-shadow: 4px 4px 0 var(--edge); }
.feat h3 { font-size: 1.12rem; margin-top: 2px; }
.feat p { color: var(--muted); margin: 6px 0 0; font-size: .97rem; }
.feat .hc-ic { margin-bottom: 14px; }

/* Text + Box */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.split .muted { margin: 14px 0 18px; font-size: 1.06rem; }
.split .ticks + .actions { margin-top: 26px; }
.panel-box { background: var(--card); border: 2px solid var(--edge); border-radius: 24px; box-shadow: 6px 6px 0 var(--edge); padding: 28px; }
.panel-box h3 { font-size: 1.2rem; margin-bottom: 12px; }
.panel-box .actions { margin-top: 22px; }
.spec { margin: 0; display: grid; gap: 0; }
.spec div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }

/* Über uns */
.prose { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 44px 0 14px; }
.people { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 10px 0 24px; }
.people li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 2px solid var(--edge); border-radius: 16px; padding: 10px 18px 10px 10px; box-shadow: 3px 3px 0 var(--edge); font-weight: 700; color: var(--ink); }
.people span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); font-family: var(--serif); }
.people small { display: block; font-weight: 500; color: var(--muted); }

/* Fußzeile: Markenhinweis */
.ft-legal { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }

/* ---------- Minecraft: Server-Software & Modpacks ---------- */
.logo-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.logo-strip > span { font: 700 .75rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.logo-strip ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.logo-strip .sw-logo { width: 44px; height: 44px; border-radius: 12px; padding: 5px; box-shadow: 2px 2px 0 var(--edge); }
.sw-logo { width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center; background: #fff; border: 2px solid var(--edge); border-radius: 16px; padding: 7px; overflow: hidden; }
.sw-logo img, .sw-logo svg { width: 100%; height: 100%; object-fit: contain; stroke: none; }
.sw-logo.pixel img { image-rendering: pixelated; }
.sw-group + .sw-group { margin-top: 44px; }
.sw-label { font: 700 .82rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--warm-t); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.sw-label::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.sw { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 24px; box-shadow: 4px 4px 0 var(--edge); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.sw:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--warm); }
.sw-top { display: flex; align-items: center; gap: 16px; }
.sw h3 { font-size: 1.3rem; }
.sw-tag { display: inline-block; margin-top: 4px; font: 700 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--tint); color: var(--accent); border: 1.5px solid color-mix(in srgb, var(--accent) 40%, transparent); border-radius: 6px; padding: 1px 7px; }
.sw p { color: var(--muted); margin: 16px 0 18px; flex: 1; font-size: .97rem; }
.sw-note { margin: 36px auto 0; max-width: 760px; text-align: center; font-size: .8rem; color: var(--muted); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare .kicker { margin-bottom: 4px; }
.compare h3 { font: 700 1.45rem var(--serif); margin-bottom: 16px; }
.compare .ticks li { align-items: flex-start; font-weight: 500; }
.compare .actions { margin-top: 24px; }
.mp-logos { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 12px; }
.mp-logos li { display: flex; align-items: center; gap: 10px; background: var(--card); border: 2px solid var(--edge); border-radius: 14px; padding: 8px 16px 8px 8px; box-shadow: 3px 3px 0 var(--edge); color: var(--ink); }
.mp-logos img { width: 34px; height: 34px; background: #fff; border-radius: 8px; padding: 3px; }
.mini-steps { list-style: none; counter-reset: m; padding: 0; margin: 0; display: grid; gap: 18px; }
.mini-steps li { counter-increment: m; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.mini-steps li::before { content: counter(m); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); font: 700 1rem var(--serif); }
.mini-steps b { color: var(--ink); }
.mini-steps span { color: var(--muted); font-size: .95rem; }
.field[hidden] { display: none; }

/* ---------- Game-Panel: Beispielansicht ---------- */
.pmock { background: var(--card); border: 2px solid var(--edge); border-radius: 18px; box-shadow: 8px 8px 0 var(--edge); overflow: hidden; font-size: .82rem; max-width: 560px; margin-left: auto; }
.pm-top { display: flex; align-items: center; gap: 12px; padding: 9px 14px; background: var(--term); color: #9a92c0; font: 600 .75rem var(--mono); }
.pm-top span { display: flex; gap: 6px; }
.pm-top i { width: 10px; height: 10px; border-radius: 50%; background: #ff8a4c; }
.pm-top i:nth-child(2) { background: #ffd166; } .pm-top i:nth-child(3) { background: #4cd08a; }
.pm-body { display: grid; grid-template-columns: 150px 1fr; min-height: 300px; }
.pm-side { background: var(--tint); border-right: 2px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; }
.pm-side small { font: 700 .65rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 8px 6px; }
.pm-side span { padding: 5px 8px; border-radius: 8px; color: var(--text); white-space: nowrap; }
.pm-side .on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-weight: 700; }
.pm-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pm-head b { display: block; color: var(--ink); font-size: 1.05rem; }
.pm-head small { color: var(--muted); }
.pm-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #1f9d5c; background: #dcf7e8; border: 1.5px solid #4cd08a; border-radius: 999px; padding: 2px 10px; }
:root[data-theme="dark"] .pm-status { background: #12352a; color: #6fe3a3; }
.pm-status i { width: 7px; height: 7px; border-radius: 50%; background: #4cd08a; animation: blink 2s infinite; }
.pm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pm-stats div { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pm-stats small, .pm-chart small { display: block; color: var(--muted); font-size: .7rem; }
.pm-stats b { color: var(--ink); font-size: 1rem; }
.pm-chart { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pm-chart svg { width: 100%; height: 70px; display: block; margin-top: 4px; }
.pm-area { fill: color-mix(in srgb, var(--accent) 18%, transparent); stroke: none; }
.pm-line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.pm-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-btns span { border: 1.5px solid var(--edge); border-radius: 9px; padding: 5px 12px; font-weight: 700; color: var(--ink); background: var(--card); }
.pm-btns .pm-acc { background: var(--sun); color: #1e1a3d; }
.hero-art .pmock { margin-left: auto; }
.mp-logos li span { display: flex; flex-direction: column; line-height: 1.25; }
.mp-logos li small { color: var(--muted); font-size: .78rem; }
.panel-box .mp-logos { margin-bottom: 18px; }

/* ========== Kopfzeile & Fußzeile (v2) ========== */
:root { --ft-bg: #1e1a3d; }
:root[data-theme="dark"] { --ft-bg: #07051a; }
.si { width: 18px; height: 18px; flex-shrink: 0; }

/* Servicezeile */
.topbar { background: var(--ft-bg); color: #cfc9ec; font-size: .8rem; position: relative; z-index: 101; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar a { color: #e9e4ff; }
.topbar a:hover { color: var(--sun); }
.topbar nav { display: flex; gap: 20px; }
.topbar nav a, .tb-fact { display: inline-flex; align-items: center; gap: 6px; }
.topbar .si { width: 14px; height: 14px; }
.tb-sep { opacity: .4; }

/* Hauptnavigation mit Spiele-Menü */
.menu { align-items: center; }
.dd { position: relative; }
.dd-btn { font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); background: none; border: 0; padding: 8px 8px 8px 11px; border-radius: 10px; display: inline-flex; align-items: center; gap: 3px; cursor: pointer; }
.dd-btn:hover, .dd-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.dd-btn.is-current { color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.dd-chev { width: 16px; height: 16px; transition: transform .2s; }
.dd-btn[aria-expanded="true"] .dd-chev { transform: rotate(180deg); }
.dd-panel { position: absolute; top: calc(100% + 14px); left: -24px; width: 660px; background: var(--card); border: 2px solid var(--edge); border-radius: 20px; box-shadow: 6px 6px 0 var(--edge); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 120; }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.dd.open .dd-panel { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1081px) { .dd:hover .dd-panel { opacity: 1; visibility: visible; transform: none; } }
.dd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.menu .dd-item { white-space: normal; font-size: 1rem; font-weight: 400; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 14px; color: var(--ink); border: 2px solid transparent; transition: background .15s, border-color .15s; }
.menu .dd-item:hover, .menu .dd-item[aria-current] { background: var(--tint); border-color: var(--line); }
.dd-art { display: grid; place-items: center; height: 96px; border-radius: 12px; border: 2px solid var(--edge); padding: 8px; }
.dd-art svg { width: auto; height: 76px; max-width: 100%; stroke: none; overflow: visible; }
.dr-item .dd-art svg { height: 38px; }
.dd-art * { animation: none !important; }
.dd-txt b { display: block; font-size: 1rem; color: var(--ink); }
.dd-txt small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 2px; }
.dd-txt .tag { font-size: .6rem; padding: 0 6px; vertical-align: 2px; }
.dd-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 8px 2px; border-top: 1px dashed var(--line); }
.menu .dd-foot a { color: var(--accent); padding: 4px 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; }
.dd-foot .si { width: 16px; height: 16px; }
.login { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; }
.login:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Handy-Menü (Schublade) */
.scrim { position: fixed; inset: 0; background: rgb(13 11 28 / .55); z-index: 190; opacity: 0; transition: opacity .25s; }
.scrim.open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); background: var(--bg); border-left: 2px solid var(--edge); z-index: 200; overflow-y: auto; padding: 12px 20px 28px; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s ease; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.drawer-label { font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--warm-t); margin: 18px 0 8px; }
.drawer-games { display: grid; gap: 8px; }
.dr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border: 2px solid var(--edge); border-radius: 14px; background: var(--card); color: var(--ink); box-shadow: 3px 3px 0 var(--edge); }
.dr-item .dd-art { width: 66px; height: 50px; flex-shrink: 0; padding: 4px; border-width: 1.5px; border-radius: 10px; }
.dr-item[aria-current] { border-color: var(--accent); }
.drawer-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px dashed var(--line); color: var(--ink); font-weight: 700; }
.drawer-links a[aria-current] { color: var(--accent); }
.mob-arr { width: 16px; height: 16px; opacity: .5; }
.drawer-cta { display: grid; gap: 10px; margin-top: 20px; }
.drawer-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; font-size: .88rem; }
.drawer-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.drawer-meta .si { width: 16px; height: 16px; }
body.no-scroll { overflow: hidden; }

/* Fußzeile */
.ft { position: relative; background: var(--ft-bg); color: #bdb6dc; border-top: 0; padding: 44px 0 28px; }
.ft-clouds { position: absolute; left: 0; top: -59px; width: 100%; height: 60px; fill: var(--ft-bg); stroke: none; display: block; pointer-events: none; }
.ft-grid { grid-template-columns: 1.7fr repeat(4, 1fr); gap: 36px; }
.ft .brand-word { color: #fff; }
.ft .brand-word b { color: #a594ff; }
.ft-brand p { color: #bdb6dc; font-family: var(--sans); font-style: normal; font-size: .95rem; margin: 16px 0 20px; max-width: 340px; }
.ft-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ft .btn { border-color: transparent; box-shadow: 3px 3px 0 rgb(0 0 0 / .45); }
.ft .ft-actions .btn { padding: 8px 14px; font-size: .9rem; }
.ft-grid > .ft-brand > a.brand { display: inline-flex; padding: 0; }
.ft-ghost { background: rgb(255 255 255 / .08); color: #fff; border: 2px solid rgb(255 255 255 / .25) !important; }
.ft-ghost:hover { background: rgb(255 255 255 / .14); }
.ft h4 { color: var(--sun); }
.ft-grid > div > a { color: #e3def8; padding: 4px 0; }
.ft-grid > div > a:hover { color: var(--sun); }
.ft-facts { list-style: none; padding: 0; margin: 44px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ft-facts li { font: 600 .76rem var(--mono); color: #e3def8; border: 1.5px dashed rgb(255 255 255 / .25); border-radius: 999px; padding: 5px 12px; }
.ft-legal { color: #8d85b3; font-size: .78rem; margin: 18px 0 0; }
.ft-bottom { border-top: 1px solid rgb(255 255 255 / .12); color: #9a92c0; margin-top: 22px; align-items: center; }
.ft-bottom a { color: #cfc9ec; }
.ft-bottom a:hover { color: var(--sun); }
.ft-top { display: inline-flex; align-items: center; gap: 6px; }
.ft-top .si { width: 15px; height: 15px; }

/* Offizielles Logo */
.logo-img { height: 42px; width: auto; display: block; }
.drawer-head .logo-img { height: 32px; }
.ft-brand .logo-img { height: 40px; }
.end-logo { width: 104px; height: auto; margin: 0 auto 14px; display: block; animation: bob 6s ease-in-out infinite; filter: drop-shadow(4px 6px 0 rgb(30 26 61 / .15)); }

/* ---------- Startseite (v2) ---------- */
.hero-home { padding-bottom: 64px; }
a.badge { text-decoration: none; transition: transform .15s; }
a.badge:hover { transform: translateY(-1px); }
.hero-games { margin: 22px 0 0; color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 4px; }
.hero-games a { font-weight: 700; color: var(--ink); padding: 2px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: color-mix(in srgb, var(--card) 70%, transparent); }
.hero-games a:hover { border-color: var(--accent); color: var(--accent); }
.hero-strip { list-style: none; padding: 0; margin: 48px 0 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 2px solid var(--edge); border-radius: 20px; box-shadow: 6px 6px 0 var(--edge); }
.hero-strip li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.hero-strip li + li { border-left: 1.5px dashed var(--line); }
.hero-strip .hc-ic { margin: 0; width: 44px; height: 44px; flex-shrink: 0; }
.hero-strip b { display: block; color: var(--ink); font-size: .98rem; }
.hero-strip small { display: block; color: var(--muted); font-size: .84rem; }

.wish-band, .note-band { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 22px; border: 2px dashed var(--edge); border-radius: 18px; color: var(--text); background: color-mix(in srgb, var(--card) 60%, transparent); transition: background .15s, border-color .15s; }
.wish-band:hover, .note-band:hover { border-style: solid; background: var(--card); }
.wish-band b, .note-band b { color: var(--ink); }
.wish-band > span:nth-child(2), .note-band > span:nth-child(2) { flex: 1; }
.wish-band .more, .note-band .more { white-space: nowrap; }
.wish-ic { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); font: 800 1.3rem var(--serif); }
.note-band { max-width: 820px; margin: 34px auto 0; }
.note-band .hc-ic { margin: 0; flex-shrink: 0; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, auto); gap: 22px; }
.b-tile { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; padding: 26px; box-shadow: 5px 5px 0 var(--edge); }
.b-tile h3 { font-size: 1.15rem; margin-top: 2px; }
.b-tile p { color: var(--muted); margin: 6px 0 0; font-size: .97rem; }
.b-tile .hc-ic { margin-bottom: 14px; }
.b-panel { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; background: linear-gradient(135deg, var(--card) 40%, color-mix(in srgb, var(--accent) 10%, var(--card))); }
.b-panel h3 { font: 700 1.6rem var(--serif); }
.b-panel p { margin: 10px 0 16px; }
.b-panel .more { white-space: nowrap; }
.b-panel .pmock { box-shadow: 5px 5px 0 var(--edge); font-size: .74rem; }
.b-panel .pm-body { grid-template-columns: 1fr; min-height: 0; }
.b-panel .pm-side { display: none; }
.b-panel .pm-stats b { white-space: nowrap; font-size: .92rem; }

.mc-logos { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.mc-logos li { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; font-size: .86rem; color: var(--ink); text-align: center; }
.mc-logos .sw-logo { width: 64px; height: 64px; box-shadow: 3px 3px 0 var(--edge); }

/* ---------- Einfach erklärt: Auswahlhilfe & Glossar ---------- */
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.choose-card { position: relative; display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 26px 24px 22px; box-shadow: 5px 5px 0 var(--edge); color: var(--muted); transition: transform .15s, box-shadow .15s; }
.choose-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--warm); }
.choose-card b { color: var(--ink); font-size: 1.15rem; }
.choose-card em { margin-top: auto; padding-top: 12px; font-style: normal; font-weight: 700; color: var(--accent); }
.choose-no { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); font: 700 1rem var(--serif); margin-bottom: 8px; }
.glossary { max-width: 820px; margin: 30px auto 0; background: var(--card); border: 2px dashed var(--edge); border-radius: 18px; }
.glossary summary { cursor: pointer; padding: 16px 22px; font-weight: 700; color: var(--ink); list-style: none; }
.glossary summary::-webkit-details-marker { display: none; }
.glossary summary::before { content: "?"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 10px; border-radius: 7px; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); font: 800 .8rem var(--mono); }
.glossary dl { margin: 0; padding: 0 22px 18px; display: grid; gap: 12px; }
.glossary dl div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.glossary dt { font-weight: 700; color: var(--ink); }
.glossary dd { margin: 0; color: var(--muted); }
.sw-all { text-align: center; font: 700 1.5rem var(--serif); margin: 64px 0 28px; }

/* ---------- Startseite (v3): Spielauswahl, Panel-Tour, Zielgruppen ---------- */
.picker { position: relative; margin-top: 52px; background: var(--card); border: 2px solid var(--edge); border-radius: 24px; box-shadow: 6px 6px 0 var(--edge); padding: 22px 22px 18px; }
.picker-q { margin: 0 0 14px 4px; font: 700 1.25rem var(--serif); color: var(--ink); }
.picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pick { display: flex; align-items: center; gap: 14px; padding: 10px; border: 2px solid var(--line); border-radius: 18px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.pick:hover { border-color: var(--edge); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--edge); }
.pick .dd-art { width: 92px; height: 70px; flex-shrink: 0; padding: 6px; border-radius: 14px; }
.pick .dd-art svg { height: 54px; }
.pick .dd-txt b { font-size: 1.12rem; }
.picker-wish { display: inline-block; margin: 14px 0 0 4px; font-weight: 700; font-size: .92rem; }

.tour { display: grid; gap: 56px; }
.tour-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tour-row:nth-child(even) .tour-text { order: 2; }
.tour-no { font: 700 .9rem var(--mono); color: var(--warm-t); }
.tour-text h3 { font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.15 var(--serif); margin: 6px 0 10px; }
.tour-text > p { color: var(--muted); font-size: 1.06rem; margin: 0 0 18px; }
.mmock { background: var(--card); border: 2px solid var(--edge); border-radius: 18px; box-shadow: 7px 7px 0 var(--edge); overflow: hidden; max-width: 470px; width: 100%; justify-self: center; font-size: .88rem; }
.mm-body { padding: 18px; display: grid; gap: 14px; }
.mm-head { display: flex; justify-content: space-between; align-items: center; }
.mm-head b { font-size: 1.1rem; color: var(--ink); }
.mm-addr { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mm-addr small { width: 100%; color: var(--muted); font-size: .75rem; }
.mm-addr code { flex: 1; font: 700 .95rem var(--mono); color: var(--ink); }
.mm-row3 { display: flex; flex-wrap: wrap; gap: 8px; }
.mm-btn { display: inline-block; border: 1.5px solid var(--edge); border-radius: 9px; padding: 5px 12px; font-weight: 700; font-size: .8rem; color: var(--ink); background: var(--card); white-space: nowrap; }
.mm-acc { background: var(--sun); color: #1e1a3d; }
.mm-note { color: var(--muted); font-size: .82rem; }
.mm-list { display: grid; gap: 8px; }
.mm-list > div { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 9px 12px; }
.mm-list > div > span:not(.mm-btn):not(.mm-av):not(.mm-pk):not(.mm-switch):not(.mm-file) { flex: 1; min-width: 0; }
.mm-list b { display: block; color: var(--ink); }
.mm-list small { color: var(--muted); font-size: .76rem; }
.mm-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: #1e1a3d; border: 1.5px solid var(--edge); font: 700 .9rem var(--serif); flex-shrink: 0; }
.mm-search { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--muted); }
.mm-pk { width: 34px; height: 34px; border-radius: 9px; border: 1.5px solid var(--edge); flex-shrink: 0; }
.mm-pk1 { background: linear-gradient(135deg, #6fd18a, #2fa36b); } .mm-pk2 { background: linear-gradient(135deg, #ffb347, #c0612f); } .mm-pk3 { background: linear-gradient(135deg, #a594ff, #5b3df5); }

.auds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; padding: 28px; box-shadow: 5px 5px 0 var(--edge); }
.aud h3 { font-size: 1.2rem; margin-top: 2px; }
.aud p { color: var(--muted); margin: 8px 0 0; }
.aud .hc-ic { margin-bottom: 16px; }

.care-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.care-grid li { border: 2px dashed color-mix(in srgb, var(--bg) 30%, transparent); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; color: #cfc9ec; }
:root[data-theme="dark"] .care-grid li { border-color: rgb(255 255 255 / .18); }
.care-grid .hc-ic { margin-bottom: 8px; }
.care-grid b { color: #fff; font-size: 1.08rem; }
.care-grid span:not(.hc-ic) { font-size: .95rem; }

/* ---------- Panel-Tour: ausgebaute Beispielansichten ---------- */
.tour-row { grid-template-columns: .85fr 1.15fr; }
.tour-row:nth-child(even) { grid-template-columns: 1.15fr .85fr; }
.mmock { max-width: 600px; font-size: .84rem; }
.mm-wrap { display: grid; grid-template-columns: 148px 1fr; min-height: 330px; }
.mm-side { background: var(--tint); border-right: 2px solid var(--line); padding: 14px 8px; display: flex; flex-direction: column; gap: 2px; }
.mm-side small { font: 700 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 8px 8px; }
.mm-side span { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--text); font-size: .78rem; white-space: nowrap; }
.mm-side svg { width: 14px; height: 14px; flex-shrink: 0; }
.mm-side .on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); font-weight: 700; }
.mm-body { padding: 16px; gap: 12px; align-content: start; min-width: 0; }
.mm-head small { display: block; color: var(--muted); font-size: .74rem; }
.mm-off { opacity: .4; }
.mm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-stats div { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.mm-stats small, .mm-chart small, .mm-online small, .mm-log small { display: block; color: var(--muted); font-size: .7rem; }
.mm-stats b { color: var(--ink); white-space: nowrap; }
.mm-chart { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mm-chart svg { width: 100%; height: 56px; display: block; margin-top: 4px; }
.mm-online { display: flex; align-items: center; gap: 6px; }
.mm-online small { margin-right: 6px; }
.mm-online .mm-av { width: 28px; height: 28px; font-size: .8rem; }
.mm-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: color-mix(in srgb, var(--accent) 6%, transparent); }
.mm-toggle b { display: block; color: var(--ink); }
.mm-toggle small { color: var(--muted); font-size: .74rem; }
.mm-switch { width: 38px; height: 22px; border-radius: 999px; background: var(--line); border: 1.5px solid var(--edge); position: relative; flex-shrink: 0; }
.mm-switch i { position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 1.5px solid var(--edge); }
.mm-switch.on { background: #4cd08a; }
.mm-switch.on i { left: auto; right: 2px; }
.mm-tag { font-style: normal; font-weight: 700; color: #1f9d5c; display: inline-block; white-space: nowrap; }
:root[data-theme="dark"] .mm-tag { color: #6fe3a3; }
.mm-perm { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.mm-perm > div { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); align-items: center; gap: 4px; padding: 8px 10px; }
.mm-perm > div + div { border-top: 1.5px solid var(--line); }
.mm-perm-h small { color: var(--muted); font-size: .66rem; text-align: center; }
.mm-perm > div > span:first-child { display: flex; align-items: center; gap: 8px; }
.mm-perm b { color: var(--ink); }
.mm-chk { justify-self: center; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: .75rem; border: 1.5px solid var(--line); color: var(--muted); }
.mm-chk.on { background: var(--sun); border-color: var(--edge); color: #1e1a3d; }
.mm-log { border-left: 3px solid var(--accent); padding: 2px 0 2px 12px; }
.mm-log p { margin: 4px 0 0; color: var(--text); font-size: .8rem; }
.mm-log b { color: var(--ink); }
.mm-search { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.mm-search svg { width: 16px; height: 16px; color: var(--muted); }
img.mm-pk { object-fit: cover; background: #fff; }
.mm-ph { color: var(--muted); font-weight: 500; }
.mm-sub { color: var(--muted); font: 700 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin-bottom: -6px; }
.mm-credit { margin: 0; color: var(--muted); font-size: .68rem; }
.mm-list > div.mm-sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.mm-install { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1.5px dashed var(--line); border-radius: 12px; padding: 10px 12px; }
.mm-install > span:first-child { margin-right: auto; }
.mm-install small { color: var(--muted); font-size: .74rem; }
.mm-install b { display: block; color: var(--ink); }
.mm-cbl { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: .78rem; }
.mm-cb { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; background: var(--sun); color: #1e1a3d; border: 1.5px solid var(--edge); font-size: .65rem; font-weight: 800; }
.mm-chat { background: #2b2d31; border-radius: 12px; padding: 12px; color: #dbdee1; display: grid; gap: 12px; }
.mm-chan { font-weight: 700; color: #949ba4; font-size: .8rem; border-bottom: 1px solid #3f4147; padding-bottom: 8px; }
.mm-msg { display: flex; gap: 10px; }
.mm-bot { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: #5b3df5 url("brand/zeichen-256.png") center / 70% no-repeat; }
.mm-msg b { color: #fff; font-size: .82rem; }
.mm-msg b em { font-style: normal; font-size: .6rem; background: #5865f2; color: #fff; border-radius: 3px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
.mm-msg small { color: #949ba4; font-size: .68rem; margin-left: 6px; }
.mm-msg p { margin: 3px 0 0; font-size: .8rem; border-left: 3px solid #a594ff; padding-left: 8px; }
.mm-msg p.mm-red { border-color: #f23f43; }

/* Fußzeile: Wolkenkante (zwei Ebenen) */
.ft .ft-clouds { top: -89px; left: 50%; width: 3840px; max-width: none; height: 90px; margin-left: -1920px; fill: none; }
.fc-front { fill: var(--ft-bg); }
.fc-back { fill: color-mix(in srgb, var(--ft-bg) 55%, #a594ff); opacity: .35; animation: fc-drift 18s ease-in-out infinite alternate; }
@keyframes fc-drift { to { transform: translateX(-24px); } }

/* ---------- Spieleseiten (v2) ---------- */
.mm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mm-chip { border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 10px; font-weight: 700; font-size: .78rem; color: var(--text); }
.mm-chip.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.mm-tabs { display: flex; gap: 4px; border-bottom: 1.5px solid var(--line); }
.mm-tabs span { padding: 6px 10px; font-weight: 700; font-size: .78rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1.5px; }
.mm-tabs .on { color: var(--accent); border-color: var(--accent); }
.mm-file { width: 28px; height: 34px; flex-shrink: 0; border: 1.5px solid var(--edge); border-radius: 4px 10px 4px 4px; background: linear-gradient(180deg, #ffb347 0 30%, var(--card) 30%); }
.mm-drop { border: 2px dashed color-mix(in srgb, var(--accent) 45%, var(--line)); border-radius: 12px; padding: 14px; text-align: center; color: var(--muted); font-size: .8rem; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.mm-path { font-family: var(--mono); }
.mm-list > div > .mm-switch { margin-left: auto; }
.xlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.xlist li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.xlist li::before { content: "✕"; display: grid; place-items: center; width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; background: color-mix(in srgb, var(--warm) 18%, var(--card)); color: var(--warm-t); font-size: .7rem; font-weight: 800; border: 2px solid var(--edge); }
.vs-bad { background: color-mix(in srgb, var(--card) 70%, var(--tint)); }
.vs-bad h3 { color: var(--muted); }
.shield-box { text-align: left; }
.shield-box .hc-ic { margin-bottom: 14px; }
.shield-box h3 { font: 700 1.4rem var(--serif); }
.picker-small { margin-top: 0; }
.picker-2 { grid-template-columns: repeat(2, 1fr); }
.sw-sources { margin: 44px auto 0; max-width: 820px; text-align: center; }
.sw-sources p { color: var(--muted); margin: 0 0 14px; }
.sw-sources .mp-logos { justify-content: center; margin: 0; }

/* Echte Spiele-Logos */
.game-logo { display: block; width: auto; max-width: 100%; }
.hero-logo { margin: 0 0 18px; }
.hero-logo .game-logo { height: 52px; filter: drop-shadow(0 2px 0 rgb(30 26 61 / .12)); }
.hero-logo img[src*="minecraft"] { height: 40px; }
.hero-logo img[src*="satisfactory"] { height: 46px; }
.pick-logo { display: flex !important; align-items: center; gap: 8px; min-height: 30px; }
.pick-logo .game-logo { height: 28px; }
.pick-logo img[src*="minecraft"] { height: 24px; }
.pick-logo img[src*="satisfactory"] { height: 24px; }

/* ---------- Über uns (spielerisch) ---------- */
.xp { margin-top: 30px; max-width: 460px; background: var(--card); border: 2px solid var(--edge); border-radius: 18px; padding: 14px 16px; box-shadow: 5px 5px 0 var(--edge); }
.xp-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); }
.xp-head b { color: var(--ink); }
.xp-lvl { background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); border-radius: 8px; padding: 1px 8px; font-weight: 800; font-size: .8rem; }
.xp-bar { height: 16px; margin: 10px 0 8px; border: 2px solid var(--edge); border-radius: 999px; background: var(--tint); overflow: hidden; }
.xp-bar i { display: block; height: 100%; width: 75%; border-radius: 999px; background: repeating-linear-gradient(-45deg, #7357fa 0 10px, #5b3df5 10px 20px); animation: xp-fill 1.6s ease-out both, xp-move 1.2s linear infinite; }
@keyframes xp-fill { from { width: 0; } }
@keyframes xp-move { to { background-position: 28px 0; } }
.xp-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.xp-foot a { font-weight: 700; }

.party { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1; margin-left: auto; }
.party::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
.party-cube { position: absolute; left: 50%; top: 50%; width: 38%; height: auto; translate: -50% -50%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(6px 8px 0 rgb(30 26 61 / .18)); }
.party-game { position: absolute; width: 27%; aspect-ratio: 1; border: 2px solid var(--edge); border-radius: 20px; box-shadow: 4px 4px 0 var(--edge); display: grid; place-items: center; padding: 8px; animation: bob 5s ease-in-out infinite; }
.party-game svg { width: 100%; height: auto; stroke: none; overflow: visible; }
.party-game * { animation: none; }
.pg1 { left: 2%; top: 6%; rotate: -6deg; }
.pg2 { right: 2%; top: 10%; rotate: 5deg; animation-delay: -1.5s; }
.pg3 { left: 6%; bottom: 6%; rotate: 4deg; animation-delay: -3s; }
.pg4 { right: 6%; bottom: 4%; rotate: -5deg; animation-delay: -2s; background: var(--card); border-style: dashed; font: 800 2.6rem var(--serif); color: var(--accent); }

.quests { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; position: relative; display: grid; gap: 22px; }
.quests::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; border-left: 3px dashed var(--line); }
.quest { position: relative; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.quest-dot { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 800 1.1rem var(--mono); border: 2px solid var(--edge); background: var(--sun); color: #1e1a3d; box-shadow: 3px 3px 0 var(--edge); }
.quest.next .quest-dot { background: var(--card); color: var(--accent); border-style: dashed; }
.quest-card { background: var(--card); border: 2px solid var(--edge); border-radius: 18px; padding: 18px 22px; box-shadow: 4px 4px 0 var(--edge); }
.quest.next .quest-card { border-style: dashed; box-shadow: none; background: color-mix(in srgb, var(--card) 60%, transparent); }
.quest-card small { font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--warm-t); }
.quest-card h3 { font: 700 1.35rem var(--serif); margin: 2px 0 6px; }
.quest-card p { color: var(--muted); margin: 0 0 12px; }
.quest-tag { display: inline-flex; align-items: center; gap: 6px; font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, #4cd08a 20%, transparent); color: #1f9d5c; border: 1.5px solid #4cd08a; }
.quest-tag svg { width: 13px; height: 13px; }
.quest.next .quest-tag { background: var(--tint); color: var(--muted); border-color: var(--line); }

:root[data-theme="dark"] .quest-tag { color: #6fe3a3; }

.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.pcard { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; padding: 22px; box-shadow: 5px 5px 0 var(--edge); text-align: center; transition: transform .2s; }
.pcard:hover { transform: translateY(-4px) rotate(-1deg); }
.pcard-top { position: relative; display: grid; place-items: center; height: 120px; border-radius: 16px; border: 2px solid var(--edge); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--card)), color-mix(in srgb, var(--sun) 30%, var(--card))); margin-bottom: 16px; }
.pcard-av { width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center; background: var(--sun); color: #1e1a3d; border: 2px solid var(--edge); box-shadow: 3px 3px 0 var(--edge); font: 700 2rem var(--serif); rotate: -4deg; }
.pcard-badge { position: absolute; top: 10px; right: 10px; font: 700 .66rem var(--mono); text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: var(--bg); border-radius: 6px; padding: 2px 7px; }
.pcard b { display: block; font: 700 1.4rem var(--serif); color: var(--ink); }
.pcard small { color: var(--muted); }

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.perk { background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 24px; box-shadow: 4px 4px 0 var(--edge); }
.perk h3 { font-size: 1.1rem; margin-top: 2px; }
.perk p { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.perk .hc-ic { margin-bottom: 14px; }

.guild { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 2px solid var(--edge); border-radius: 20px; padding: 24px; box-shadow: 4px 4px 0 var(--edge); color: var(--muted); transition: transform .15s, box-shadow .15s; }
a.gcard:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--warm); }
.gcard b { font: 700 1.4rem var(--serif); color: var(--ink); }
.gcard p { margin: 0 0 8px; flex: 1; }
.gcard .more { color: var(--accent); }
.gcard-k { font: 700 .72rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--warm-t); }
.gcard-me { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card)); }
.gcard-here { align-self: flex-start; font: 700 .72rem var(--mono); text-transform: uppercase; background: var(--accent); color: #fff; border-radius: 6px; padding: 3px 8px; }
:root[data-theme="dark"] .gcard-here { color: #1e1a3d; }

/* Marken-Hinweis Kaisen.group in der Servicezeile */
.topbar .tb-group { display: inline-flex; align-items: center; gap: 8px; color: #cfc9ec; }
.topbar .tb-group svg { width: 16px; height: auto; flex: none; stroke: none; }
.topbar .tb-group b { color: #fff; font-weight: 700; }
.topbar .tb-group:hover b { color: #e8453c; }

/* Marken-Hinweis Kaisen.group in der Fußzeile */
.ft-group { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); max-width: 340px; }
.ft-group-mark { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .16); transition: border-color .2s, background .2s; }
.ft-group-mark:hover { border-color: #e8453c; background: rgb(232 69 60 / .1); }
.ft-group-mark svg { width: 24px; height: auto; display: block; stroke: none; }
.ft-group-txt { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; font-size: .82rem; color: #9a92c0; white-space: nowrap; }
.ft-group-txt small { font: 700 .66rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9a92c0; }
.ft-group-txt a { color: #e3def8; text-decoration: none; transition: color .2s; }
.ft-group-txt a:hover { color: var(--sun); }
.ft-group-txt .ft-group-name { color: #fff; font: 700 1.05rem var(--serif); }

/* Responsive */
@media (max-width: 1080px) {
  .menu, .login { display: none; }
  .burger { display: flex; }
  .topbar .tb-fact, .topbar .tb-sep { display: none; }
  .ft-grid { grid-template-columns: repeat(4, 1fr); }
  .ft-brand { grid-column: 1 / -1; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip li:nth-child(3) { border-left: 0; }
  .hero-strip li:nth-child(n+3) { border-top: 1.5px dashed var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .picker-grid, .picker-2 { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .care-grid { grid-template-columns: 1fr 1fr; }
  .b-panel { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 900px) {
  .hero-grid, .tech, .near, .move, .join, .split { grid-template-columns: 1fr; gap: 40px; }
  .games, .feats, .sw-grid, .compare { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .bento { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pcards, .guild { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .tour-row, .tour-row:nth-child(even) { grid-template-columns: 1fr; gap: 28px; }
  .tour-row:nth-child(even) .tour-text { order: 0; }
  .auds { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .choose { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .glossary dl div { grid-template-columns: 1fr; gap: 2px; }
  .b-panel { grid-template-columns: 1fr; }
  .art-card { margin: 0 auto; max-width: 380px; }
  .pmock { margin: 0 auto; }
  .hero-art svg { max-width: 320px; margin: 0 auto; }
  .cards, .help, .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .ft-brand { grid-column: 1 / -1; }
  .dd-panel { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hd-right .btn-ink { display: none; }
  .party { max-width: 300px; margin: 0 auto; }
  .perks { grid-template-columns: 1fr; }
  .mm-wrap { grid-template-columns: 1fr; min-height: 0; }
  .mm-side { display: none; }
  .care-grid { grid-template-columns: 1fr; }
  .picker { padding: 16px; }
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip li + li { border-left: 0; border-top: 1.5px dashed var(--line); }
  .wish-band, .note-band { flex-wrap: wrap; }
  .mc-logos { grid-template-columns: repeat(3, 1fr); }
  .topbar { display: none; }
  .ft-bottom { flex-direction: column; align-items: flex-start; }
  .ft-bottom nav { flex-wrap: wrap; }
  .sec { padding: 72px 0; }
  .hero-art { display: none; }
  .hero-sub .hero-art { display: block; }
  .pm-body { grid-template-columns: 1fr; }
  .pm-side { display: none; }
  .art-card { padding: 20px 20px 8px; }
  .term-body { font-size: .78rem; }
  .fgrid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .hd .logo-img { height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .term-body .tl { display: inline; }
}

/* Sprachumschalter DE/EN */
.lang-switch { width: auto; min-width: 40px; padding: 0 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-decoration: none; }

/* Ratgeber */
.guide-meta { margin: 16px 0 0; font: 700 .82rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.prose h2[id] { scroll-margin-top: 110px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 1.4em; }
.prose li { margin: 0 0 8px; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose code, .faq code { font: 600 .9em var(--mono); background: var(--card); border: 1.5px solid var(--edge); border-radius: 6px; padding: 1px 6px; overflow-wrap: anywhere; }
.toc { background: var(--card); border: 2px solid var(--edge); border-radius: 18px; box-shadow: 4px 4px 0 var(--edge); padding: 18px 22px 10px; margin: 0 0 8px; }
.toc p { font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0 0 8px; }
.tip { background: color-mix(in srgb, var(--sun) 22%, var(--card)); border: 2px solid var(--edge); border-radius: 16px; padding: 16px 20px; margin: 0 0 22px; }
.tip p { margin: 0; }
.card h3 a { color: inherit; }
.card .more { margin-top: auto; }
.sec:not(.sec-tint) + .guide-teaser { padding-top: 0; }
@media (max-width: 900px) { .guide-cards { grid-template-columns: 1fr; } }
.guide-sec { padding-top: 24px; }

/* Leistungsrechner */
.calc-sec { padding-top: 24px; }
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px; align-items: start; }
.calc-form { padding: 28px; }
.cg[hidden], .cf[hidden] { display: none; }
.cf { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.cf:last-child { margin-bottom: 0; }
.cf legend, .cf-l { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.cf-l small { font-weight: 500; color: var(--muted); }
.cf-l output { font: 700 1.05rem var(--mono); color: var(--accent); }
.cf-hint { color: var(--muted); font-size: .85rem; margin: 8px 0 0; }
.cf-hint a, .calc-hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 2px solid var(--edge); border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .92rem; transition: background .15s, box-shadow .15s, transform .15s; }
.seg label:hover span { transform: translate(-1px, -1px); box-shadow: 2px 2px 0 var(--edge); }
.seg input:checked + span { background: var(--accent); color: #fff; border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
:root[data-theme="dark"] .seg input:checked + span { color: #1e1a3d; }
.seg input:focus-visible + span { outline: 3px solid var(--warm); outline-offset: 2px; }
.seg-game { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg-game label { min-width: 0; }
.seg-game span { width: 100%; min-height: 64px; background: var(--card); }
.seg-game input:checked + span { background: var(--sun); }
.seg-game .game-logo { height: 24px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; margin: 0 0 8px; border: 2px solid var(--edge); border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 600; font-size: .92rem; cursor: pointer; }
.chk input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); }
.calc-form input[type="range"] { width: 100%; height: 28px; accent-color: var(--accent); cursor: pointer; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: -10px; color: var(--muted); font-size: .85rem; }
.preset { font: inherit; font-weight: 600; color: var(--ink); background: transparent; border: 1.5px dashed var(--edge); border-radius: 999px; padding: 4px 12px; cursor: pointer; }
.preset:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.calc-res { position: sticky; top: 100px; background: var(--card); border: 2px solid var(--edge); border-radius: 22px; box-shadow: 6px 6px 0 var(--edge); padding: 28px; }
.cr-ram { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.cr-ram b { font: 700 clamp(3.2rem, 6vw, 4.4rem)/1 var(--serif); color: var(--ink); }
.cr-ram span { font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.cr-tier { margin-left: auto; align-self: center; font: 700 .72rem var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--ink); background: var(--sun); color: #1e1a3d; }
.cr-tier[data-tier="0"] { background: #4cd08a; }
.cr-tier[data-tier="2"] { background: #ff8a4c; }
.cr-tier[data-tier="3"] { background: #ff6b4a; }
.cr-min { min-height: 1.3em; margin: 6px 0 0; color: var(--muted); font-size: .9rem; }
.cr-specs { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cr-specs li { padding: 8px 12px; border: 2px solid var(--edge); border-radius: 12px; background: var(--bg); color: var(--ink); font-weight: 700; font-size: .92rem; }
.cr-h { font-size: 1rem; margin: 24px 0 10px; }
.cr-bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cr-bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: .88rem; }
.cb-l { color: var(--ink); }
.cb-v { font: 700 .82rem var(--mono); color: var(--muted); }
.cb-bar { grid-column: 1 / -1; height: 8px; border-radius: 99px; overflow: hidden; background: color-mix(in srgb, var(--muted) 18%, transparent); }
.cb-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); transition: width .3s; }
.cb-bar.is-res i { background: repeating-linear-gradient(45deg, var(--muted) 0 4px, transparent 4px 8px); }
.cr-tips ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); font-size: .9rem; }
.cr-tips b { color: var(--ink); }
.cr-tips[hidden] { display: none; }
.cr-cta { width: 100%; margin-top: 24px; justify-content: center; text-align: center; }
.cr-share { width: 100%; margin-top: 10px; justify-content: center; font-family: inherit; cursor: pointer; }
.cr-note { margin: 14px 0 0; color: var(--muted); font-size: .8rem; }
.calc-hint { margin: -12px 0 20px !important; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .cb-bar i, .seg span { transition: none; } }
@media (max-width: 980px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc-res { position: static; } }
@media (max-width: 600px) { .seg-game span { min-height: 52px; padding: 8px; } .seg-game .game-logo { height: auto; max-height: 16px; } .calc-form, .calc-res { padding: 20px; } }

/* Leistungsrechner: Ausbau (Datei-Analyse, Kapazität, Wachstumskurve) */
.fd-drop { display: flex; align-items: center; gap: 14px; position: relative; padding: 14px 16px; border: 2px dashed var(--edge); border-radius: 16px; background: color-mix(in srgb, var(--accent) 6%, var(--bg)); cursor: pointer; transition: background .15s, border-color .15s; }
.fd-drop:hover, .fd.is-drag .fd-drop { background: color-mix(in srgb, var(--accent) 14%, var(--bg)); border-color: var(--accent); }
.fd-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.fd-drop:focus-within { outline: 3px solid var(--warm); outline-offset: 2px; }
.fd-ic { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 2px solid var(--ink); background: var(--sun); color: #1e1a3d; font: 700 1.4rem/1 var(--mono); }
.fd-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fd-txt b { color: var(--ink); font-size: .95rem; }
.fd-txt small { color: var(--muted); font-size: .82rem; }
.fd-out { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.fd-out:empty, .fd:not(.is-ok):not(.is-err) .fd-out:has(.fd-msg:empty) { display: none; }
.fd.is-ok .fd-msg { color: var(--ink); font-weight: 700; }
.fd.is-ok .fd-msg::before { content: "✓ "; color: #2fa86a; }
.fd.is-err .fd-msg { color: var(--warm); font-weight: 600; }
.fd-reset { font: inherit; font-size: .82rem; font-weight: 700; color: var(--accent); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.calc-grow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; margin-top: 28px; }
.calc-grow > div { background: var(--card); border: 2px solid var(--edge); border-radius: 22px; box-shadow: 6px 6px 0 var(--edge); padding: 24px 28px; min-width: 0; }
.calc-grow .cr-h { margin-top: 0; }
.tier-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tier-card { border: 2px solid var(--edge); border-radius: 16px; padding: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tier-card .kicker { font-size: .66rem; margin: 0; color: var(--muted); }
.tier-card b { font: 700 1.6rem/1.1 var(--serif); color: var(--ink); }
.tier-card span { font-weight: 700; color: var(--ink); font-size: .88rem; }
.tier-card small { color: var(--muted); font-size: .78rem; line-height: 1.35; }
.tier-card.is-rec { background: var(--sun); border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.tier-card.is-rec .kicker, .tier-card.is-rec b, .tier-card.is-rec span, .tier-card.is-rec small { color: #1e1a3d; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch-grid { stroke: color-mix(in srgb, var(--muted) 25%, transparent); stroke-width: 1; }
.ch-ax { fill: var(--muted); stroke: none; font: 600 12px var(--mono); }
.ch-title { font-weight: 700; }
.ch-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; }
.ch-now { stroke: var(--warm); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ch-dot { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; }
.ch-lab { fill: var(--ink); font: 700 13px var(--mono); paint-order: stroke; stroke: var(--card); stroke-width: 4px; }
@media (max-width: 980px) { .calc-grow { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .calc-grow > div { padding: 20px; } .tier-row { grid-template-columns: minmax(0, 1fr); } }

/* Leistungsrechner: spielerisch (Maskottchen, Inventarleiste, Upgrade-Meldung, Spielergruppe) */
.calc { --game: #4cd08a; }
.calc[data-game="rust"] { --game: #ff8a4c; }
.calc[data-game="satisfactory"] { --game: #ffb238; }
.calc-res { overflow: hidden; }
.cr-top { display: flex; align-items: center; gap: 16px; }
.cr-main { min-width: 0; }
.cr-cube { width: 64px; height: auto; flex-shrink: 0; transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); filter: drop-shadow(0 6px 0 color-mix(in srgb, var(--game) 55%, transparent)); }
.cr-cube[data-tier="0"] { transform: scale(.72); }
.cr-cube[data-tier="1"] { transform: scale(.86); }
.cr-cube[data-tier="2"] { transform: scale(1); }
.cr-cube[data-tier="3"] { transform: scale(1.14); }
.cr-cube.is-pop { animation: cube-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes cube-pop { 0% { translate: 0 0; } 35% { translate: 0 -14px; rotate: -6deg; } 70% { translate: 0 0; rotate: 3deg; } 100% { rotate: 0deg; } }
.cr-rank { margin: 12px 0 0; }
.cr-rank .cr-tier { margin: 0; display: inline-block; }
.cr-tier { background: var(--game) !important; }
.cr-hotbar { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 3px; margin: 16px 0 0; padding: 4px; border: 2px solid var(--edge); border-radius: 10px; background: color-mix(in srgb, var(--muted) 14%, var(--bg)); }
.cr-hotbar i { aspect-ratio: 1; border-radius: 4px; background: color-mix(in srgb, var(--muted) 18%, var(--bg)); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .08); transition: background .25s; }
.cr-hotbar i.on { background: var(--game); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .18), inset 0 2px 0 rgb(255 255 255 / .35); }
.cr-hotbar i.res { background: repeating-linear-gradient(45deg, var(--game) 0 3px, color-mix(in srgb, var(--game) 30%, var(--bg)) 3px 6px); }
.cr-slot { margin: 6px 0 0; color: var(--muted); font: 600 .72rem var(--mono); text-align: right; }
.cr-toast { position: absolute; left: 50%; top: 14px; translate: -50% -140%; z-index: 2; white-space: nowrap; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 12px; background: var(--game); color: #1e1a3d; font: 700 .85rem var(--mono); box-shadow: 3px 3px 0 var(--ink); opacity: 0; transition: translate .35s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; pointer-events: none; }
.cr-toast.is-down { background: var(--card); color: var(--ink); }
.cr-toast.is-on { translate: -50% 0; opacity: 1; }
.calc-res { position: sticky; }
.crowd { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 0; min-height: 22px; }
.crowd-heads { display: flex; flex-wrap: wrap; gap: 3px; }
.crowd-heads i { width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--edge); background: #ffd166; animation: head-in .25s cubic-bezier(.34, 1.56, .64, 1); }
.crowd-heads i:nth-child(5n+2) { background: #a594ff; }
.crowd-heads i:nth-child(5n+3) { background: #4cd08a; }
.crowd-heads i:nth-child(5n+4) { background: #ff8a4c; }
.crowd-heads i:nth-child(5n+5) { background: #7cc7ff; }
@keyframes head-in { from { transform: scale(0); } to { transform: scale(1); } }
.crowd-name { flex-shrink: 0; font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); background: color-mix(in srgb, var(--game) 35%, var(--bg)); border: 1.5px solid var(--edge); border-radius: 999px; padding: 2px 10px; }
.seg-game label:hover span { transform: translate(-1px, -2px) rotate(-1deg); }
@media (prefers-reduced-motion: reduce) { .cr-cube, .cr-toast, .cr-hotbar i { transition: none; } .cr-cube.is-pop, .crowd-heads i { animation: none; } }
@media (max-width: 600px) { .cr-cube { width: 52px; } .cr-toast { font-size: .78rem; } }

/* Cookie-Hinweis: schräger Sticker mit angeknabbertem Keks, der beim Wegklicken aufgegessen wird */
.nb { position: fixed; left: 24px; bottom: 24px; z-index: 150; width: min(420px, calc(100vw - 48px)); padding: 22px 24px 20px; background: var(--card); color: var(--text); border: 2px solid var(--edge); border-radius: 22px; box-shadow: 6px 6px 0 var(--edge); transform: rotate(-1.5deg); transition: transform .25s cubic-bezier(.2, .8, .2, 1.3), box-shadow .25s; animation: nb-in .6s cubic-bezier(.2, .9, .25, 1.35) backwards; }
.nb:hover { transform: rotate(0) translate(-2px, -2px); box-shadow: 8px 8px 0 var(--warm); }
.nb[hidden] { display: none; }
.nb-cookie { position: absolute; top: -34px; right: -18px; width: 76px; height: 76px; color: #1e1a3d; filter: drop-shadow(3px 3px 0 var(--edge)); transform-origin: 50% 60%; animation: nb-wobble 3.2s ease-in-out .8s infinite; cursor: pointer; }
.nb-cookie:hover { animation: nb-jiggle .5s ease-in-out infinite; }
.nb-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 3px 10px; font: 600 .74rem var(--mono); color: var(--ink); background: var(--tint); border: 2px solid var(--edge); border-radius: 999px; }
.nb-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ec98b; }
.nb-h { margin: 0 56px 6px 0; font: 700 1.3rem/1.2 var(--serif); color: var(--ink); }
.nb-tx { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.nb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 16px; }
.nb-actions .btn { padding: 9px 20px; font-size: .92rem; }
.nb-actions a { color: var(--accent); font-weight: 700; font-size: .88rem; text-decoration: underline wavy; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.nb-actions a:hover { color: var(--accent-h); }
.nb-crumbs { position: absolute; top: 4px; right: 20px; pointer-events: none; }
.nb-crumbs i { position: absolute; width: 7px; height: 7px; border-radius: 2px; background: #e89c4f; border: 1.5px solid #1e1a3d; opacity: 0; }
/* Wegklicken: Keks wird gegessen, Krümel fliegen, Karte hüpft weg */
.nb.nb-bye { animation: nb-out .55s cubic-bezier(.5, -.4, .8, .6) .25s forwards; }
.nb.nb-bye .nb-cookie { animation: nb-eat .3s steps(3) forwards; }
.nb.nb-bye .nb-crumbs i { animation: nb-crumb .6s ease-out forwards; }
.nb.nb-bye .nb-crumbs i:nth-child(1) { --x: -38px; --y: -30px; }
.nb.nb-bye .nb-crumbs i:nth-child(2) { --x: 30px; --y: -40px; animation-delay: .05s; }
.nb.nb-bye .nb-crumbs i:nth-child(3) { --x: 46px; --y: 10px; animation-delay: .1s; }
.nb.nb-bye .nb-crumbs i:nth-child(4) { --x: -20px; --y: -52px; animation-delay: .08s; width: 5px; height: 5px; }
.nb.nb-bye .nb-crumbs i:nth-child(5) { --x: 12px; --y: -60px; animation-delay: .12s; width: 5px; height: 5px; }
.nb.nb-bye .nb-crumbs i:nth-child(6) { --x: -48px; --y: 4px; animation-delay: .03s; }
@keyframes nb-in { from { opacity: 0; transform: translateY(60px) rotate(6deg) scale(.9); } }
@keyframes nb-wobble { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-12deg); } 84% { transform: rotate(9deg); } 92% { transform: rotate(-4deg); } }
@keyframes nb-jiggle { 0%, 100% { transform: rotate(-8deg) scale(1.06); } 50% { transform: rotate(8deg) scale(1.06); } }
@keyframes nb-eat { 33% { transform: scale(.85) rotate(-10deg); clip-path: circle(42% at 40% 55%); } 66% { transform: scale(.7) rotate(8deg); clip-path: circle(28% at 35% 60%); } to { transform: scale(0); clip-path: circle(0 at 35% 60%); } }
@keyframes nb-crumb { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(200deg); } }
@keyframes nb-out { to { opacity: 0; transform: translateY(110%) rotate(-8deg); } }
@media (max-width: 560px) { .nb { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 16px; } .nb-cookie { width: 62px; height: 62px; top: -28px; right: -6px; } }
@media (prefers-reduced-motion: reduce) { .nb, .nb-cookie, .nb:hover { animation: none; transform: none; transition: none; } }
@media print { .nb { display: none !important; } }
