@font-face { font-family: "Pixelify"; src: url("/fonts/pixelify-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pixelify"; src: url("/fonts/pixelify-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #15101f; --cream: #fff4d6; --night: #261a3d;
  --blue: #7fb2ff; --cyan: #4fe3d0; --yellow: #ffd23f; --green: #6fe05c; --pink: #f3a6e0;
  --orange: #ff9a2e; --red: #ff6652; --purple: #c98cf0; --dark: #261a3d;
  --line: 3px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--cream); color: var(--ink); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.px { font-family: "Pixelify", "Inter", sans-serif; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.ico { width: 1em; height: 1em; fill: currentColor; image-rendering: pixelated; }
.avatar { width: 32px; height: 32px; border: 2px solid var(--ink); image-rendering: pixelated; background: #ddd; flex: none; }

/* Navigation */
.nav { background: var(--blue); border-bottom: var(--line); position: sticky; top: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: "Pixelify", sans-serif; font-weight: 700; font-size: 24px; letter-spacing: .5px; }
.brand .logo { width: 38px; height: 38px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--purple); }
.brand .logo .ico { width: 26px; height: 26px; }
.tabs { display: flex; gap: 6px; }
.tab { font-family: "Pixelify", sans-serif; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 3px solid transparent; }
.tab:hover { border-color: var(--ink); background: #fff3; }
.tab[aria-current="page"] { background: var(--ink); color: #fff; }

/* Hero */
.hero { background: var(--blue); border-bottom: var(--line); padding: 72px 0 56px; }
.eyebrow { font-family: "Pixelify", sans-serif; letter-spacing: 2px; text-transform: uppercase; font-size: 15px; }
.hero h1 { font-family: "Pixelify", sans-serif; font-weight: 700; font-size: clamp(56px, 11vw, 112px); line-height: 1; margin: 10px 0 18px; text-transform: uppercase; letter-spacing: 2px; }
.hero p { max-width: 560px; font-size: 18px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-family: "Pixelify", sans-serif; font-size: 16px; }
.dot { width: 14px; height: 14px; border: 2px solid var(--ink); background: var(--green); }
.dot.off { background: var(--red); }

/* Kacheln */
.tiles-sec { background: var(--ink); padding: 56px 0; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.tile { padding: 26px 22px; border: var(--line); min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; }
.tile b { font-family: "Pixelify", sans-serif; font-size: clamp(34px, 5vw, 54px); line-height: 1; font-weight: 700; word-break: break-all; }
.tile span { font-family: "Pixelify", sans-serif; letter-spacing: 1px; text-transform: uppercase; font-size: 15px; margin-top: 18px; }
.t-green { background: var(--green); } .t-purple { background: var(--purple); } .t-cyan { background: var(--cyan); } .t-red { background: var(--red); } .t-yellow { background: var(--yellow); }

/* Wusstest du */
.fact-sec { background: var(--yellow); padding: 48px 0; border-bottom: var(--line); }
.fact { background: var(--cream); border: var(--line); box-shadow: var(--shadow); padding: 22px 26px; display: flex; align-items: center; gap: 22px; justify-content: space-between; flex-wrap: wrap; }
.fact .lbl { font-family: "Pixelify", sans-serif; letter-spacing: 2px; font-size: 15px; text-transform: uppercase; margin-bottom: 12px; }
.fact .txt { display: flex; align-items: center; gap: 12px; font-size: 18px; min-height: 36px; }
.btn { font-family: "Pixelify", sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 16px; background: var(--yellow); border: var(--line); box-shadow: 4px 4px 0 var(--ink); padding: 10px 18px; cursor: pointer; color: var(--ink); text-decoration: none; display: inline-block; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.pl { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Online */
.on-sec { background: var(--green); padding: 56px 0 64px; }
h2.sec { font-family: "Pixelify", sans-serif; font-weight: 700; font-size: clamp(30px, 5vw, 46px); text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
h2.sec .box { width: 22px; height: 22px; border: 3px solid var(--ink); background: #fff; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; background: #fff; border: var(--line); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; font-weight: 600; }
.chip:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.chip small { font-family: "Pixelify", sans-serif; font-size: 13px; background: var(--purple); border: 2px solid var(--ink); padding: 0 6px; }
.empty { font-family: "Pixelify", sans-serif; font-size: 18px; }

/* Ereignisse */
.ev-sec { background: var(--night); padding: 56px 0 64px; color: #fff; }
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.ev { background: var(--cream); color: var(--ink); border: var(--line); box-shadow: 4px 4px 0 #000; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.ev .av { position: relative; flex: none; }
.ev .av .avatar { width: 40px; height: 40px; }
.ev .when { font-size: 13px; color: #5d5470; }
.badge { display: inline-block; background: var(--green); border: 2px solid var(--ink); font-family: "Pixelify", sans-serif; font-size: 13px; padding: 0 6px; margin: 0 2px; }
.badge.ch { background: var(--purple); } .badge.go { background: var(--yellow); }

/* Bestenlisten */
.boards-sec { padding: 64px 0 90px; }
.boards-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.boards-head p { color: #5d5470; }
.boards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 34px; }
.board { border: var(--line); box-shadow: var(--shadow); padding: 18px 18px 8px; }
.board header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.board .bi { width: 44px; height: 44px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.board .bi .ico { width: 26px; height: 26px; }
.board h3 { font-family: "Pixelify", sans-serif; font-size: 24px; line-height: 1.1; }
.board header p { font-size: 13px; opacity: .75; }
.row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 2px solid #15101f26; font-weight: 600; font-size: 15px; }
.row:first-of-type { border-top: 0; }
.row .rk { width: 26px; height: 26px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: "Pixelify", sans-serif; font-size: 14px; flex: none; }
.row:nth-child(-n+4) .rk { background: var(--ink); }
.row.top .rk { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }
.row a { flex: 1; text-decoration: none; display: flex; align-items: center; gap: 10px; min-width: 0; }
.row a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row a:hover span { text-decoration: underline; text-decoration-thickness: 2px; }
.row .val { font-family: "Pixelify", sans-serif; font-size: 15px; white-space: nowrap; }
.c-blue { background: #8ccaff; } .c-cyan { background: var(--cyan); } .c-dark { background: var(--dark); color: #fff; } .c-dark .bi { background: #fff; color: var(--ink); } .c-dark .row { border-color: #fff3; }
.c-yellow { background: var(--yellow); } .c-green { background: var(--green); } .c-pink { background: var(--pink); } .c-orange { background: var(--orange); } .c-red { background: var(--red); } .c-purple { background: var(--purple); }
.c-dark .row .rk { background: #fff3; } .c-dark .row.top .rk { background: var(--yellow); }

.stripe { height: 18px; background: repeating-linear-gradient(90deg, var(--green) 0 18px, var(--night) 18px 36px); }
.foot { background: var(--ink); color: #fff; padding: 28px 0; font-size: 14px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-underline-offset: 3px; }

/* Profil */
.p-hero { background: var(--blue); border-bottom: var(--line); padding: 48px 0; }
.p-hero .wrap { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.p-hero .big { width: 128px; height: 128px; border: var(--line); box-shadow: var(--shadow); image-rendering: pixelated; background: #ddd; }
.p-hero h1 { font-family: "Pixelify", sans-serif; font-size: clamp(40px, 8vw, 72px); line-height: 1; text-transform: uppercase; }
.p-hero p { margin-top: 8px; font-family: "Pixelify", sans-serif; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-family: "Pixelify", sans-serif; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; font-size: 15px; }
.back .ico { width: 18px; height: 18px; }
.p-main { padding: 48px 0 80px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 48px; }
.panel { border: var(--line); box-shadow: var(--shadow); background: #fff; padding: 18px 20px; }
.panel h3 { font-family: "Pixelify", sans-serif; font-size: 22px; text-transform: uppercase; margin-bottom: 8px; }
.li { display: flex; justify-content: space-between; padding: 7px 0; border-top: 2px solid #15101f1f; font-weight: 600; }
.li:first-of-type { border-top: 0; }
.li b { font-family: "Pixelify", sans-serif; font-weight: 400; }
.rankgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 34px; }
.rank { border: var(--line); box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.rank .bi { width: 44px; height: 44px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.rank .bi .ico { width: 26px; height: 26px; }
.rank h4 { font-family: "Pixelify", sans-serif; font-size: 18px; line-height: 1.1; }
.rank .v { font-family: "Pixelify", sans-serif; font-size: 22px; }
.rank .pos { font-size: 13px; opacity: .8; }
.rank .bi.gold { background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); }

/* Orga */
.org-sec { padding: 56px 0 90px; }
.group { margin-bottom: 56px; }
.group h2 { margin-bottom: 8px; }
.group .desc { margin-bottom: 24px; color: #5d5470; max-width: 640px; }
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.member { border: var(--line); box-shadow: var(--shadow); padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.member .avatar { width: 64px; height: 64px; border-width: 3px; }
.member h3 { font-family: "Pixelify", sans-serif; font-size: 24px; line-height: 1.1; }
.member .role { display: inline-block; font-family: "Pixelify", sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; background: var(--ink); color: #fff; padding: 1px 8px; margin: 6px 0; }
.member p { font-size: 15px; }
.member a.pl { font-size: 14px; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 20px; }
  .boards, .members, .rankgrid { grid-template-columns: 1fr 1fr; }
  .events, .two { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { height: auto; padding: 10px 16px; flex-wrap: wrap; }
  .tab { padding: 8px 10px; font-size: 15px; }
  .tiles, .boards, .members, .rankgrid { grid-template-columns: 1fr; }
  .tiles { gap: 16px; }
  .hero { padding: 48px 0 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .chip { transition: none; } }

.flush { margin: 0 !important; }
.gap-top { margin-top: 34px; }
.empty.light { color: #fff; }
.c-dark .empty { color: #fff; }
.board .empty { padding: 8px 0 14px; }

.brand img { height: 56px; width: auto; filter: drop-shadow(2px 2px 0 var(--ink)); }
.nav .wrap { height: 76px; }
.nav { background: var(--ink); border-bottom: 3px solid var(--purple); }
.nav .wrap { height: 84px; }
.brand img { height: 64px; filter: none; }
.tab { color: #fff; }
.tab:hover { border-color: #fff; background: #fff1; }
.tab[aria-current="page"] { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
@media (max-width: 620px) { .nav .wrap { height: auto; } .brand img { height: 52px; } }
