/* RyvenMC – Stylesheet. Alles selbst gehostet (Schrift: Inter, Icons: Lucide unter /vendor). Themes: html[data-theme=hell|dunkel]. */
@font-face {
  font-family: "Inter";
  src: url("/vendor/inter/inter-latin-wght-normal-5.1.1.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f7f6fb; --bg2: #efedf7; --card: #ffffff; --card2: #faf9fe;
  --text: #16131f; --muted: #57536b; --line: #e3e0ee; --line2: #d4d0e3;
  --brand: #7c3aed; --brand2: #a855f7; --brand-ink: #6d28d9; --brand-soft: #f1eafe; --on-brand: #fff;
  --ok: #15803d; --ok-soft: #dcfce7; --warn: #b45309;
  --gold: #e5a50a; --silver: #94a3b8; --bronze: #c2703d;
  --shadow: 0 1px 2px rgb(20 10 40 / .05), 0 8px 24px -12px rgb(40 20 80 / .14);
  --shadow-lg: 0 2px 6px rgb(20 10 40 / .06), 0 24px 48px -20px rgb(60 20 120 / .28);
  --r: 16px; --r-sm: 10px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --top: 64px;
  color-scheme: light;
}
[data-theme="dunkel"] {
  --bg: #0c0a13; --bg2: #121020; --card: #18152a; --card2: #1d1a31;
  --text: #edeaf6; --muted: #aaa5c0; --line: #2a2640; --line2: #38324f;
  --brand: #7c3aed; --brand2: #a855f7; --brand-ink: #c4b5fd; --brand-soft: #251c43; --on-brand: #fff;
  --ok: #4ade80; --ok-soft: #12301f; --warn: #fbbf24;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -12px rgb(0 0 0 / .6);
  --shadow-lg: 0 2px 6px rgb(0 0 0 / .3), 0 24px 48px -20px rgb(0 0 0 / .75);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
main, .seite { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-weight: 800; } h2 { font-weight: 750; } h3 { font-weight: 650; font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font: 500 .88em var(--mono); background: var(--brand-soft); color: var(--brand-ink); padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.lc { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
:focus-visible { outline: 3px solid var(--brand2); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center; font: 600 15px/1 var(--font); cursor: pointer;
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--text); text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; min-height: 44px;
}
.btn:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: linear-gradient(135deg, var(--brand), #6d28d9); border-color: transparent; color: var(--on-brand); box-shadow: 0 6px 20px -8px rgb(124 58 237 / .7); }
.btn.primary:hover { box-shadow: 0 10px 28px -8px rgb(124 58 237 / .8); }
.btn.weiss { background: #fff; color: #3b0f8c; border-color: #fff; }
.btn.klein { padding: 8px 12px; min-height: 36px; font-size: 14px; }
.iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s;
}
.iconbtn:hover { border-color: var(--brand); color: var(--brand-ink); }

/* ───────── Kopfzeile ───────── */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--top);
  background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 100%; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; display: block; }
.menu { display: flex; gap: 2px; margin-right: auto; }
.menu a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--muted);
  font-weight: 550; font-size: 15px; text-decoration: none; transition: color .15s, background .15s;
}
.menu a:hover { color: var(--text); background: var(--bg2); }
.menu a.on { color: var(--brand-ink); background: var(--brand-soft); }
.right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.onl {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; height: 40px; border-radius: 11px; border: 1px solid var(--line);
  background: var(--card); color: var(--text); font-weight: 650; font-size: 14px; text-decoration: none; font-variant-numeric: tabular-nums;
}
.onl small { font-weight: 500; color: var(--muted); }
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgb(34 197 94 / .6); animation: puls 2s infinite; flex: none; }
.punkt.aus { background: var(--muted); animation: none; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgb(34 197 94 / .55); } 70% { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); } 100% { box-shadow: 0 0 0 0 rgb(34 197 94 / 0); } }
.burger { display: none; }
.thm .mond { display: none; } [data-theme="dunkel"] .thm .sonne { display: none; } [data-theme="dunkel"] .thm .mond { display: inline; }

@media (max-width: 1080px) {
  .burger { display: inline-grid; }
  .menu {
    position: fixed; inset: var(--top) 0 auto 0; flex-direction: column; gap: 4px; padding: 12px 16px 18px; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
  }
  .menu.open { transform: none; opacity: 1; visibility: visible; }
  .menu a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 420px) { .onl small, .dc { display: none !important; } .topbar .wrap { gap: 10px; } .brand img { height: 34px; } }

/* ───────── Hero ───────── */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0 84px; color: #fff; }
.hero .bg { position: absolute; inset: 0; z-index: -2; background: #1b0d3a url("/img/banner.webp") center/cover no-repeat; transform: scale(1.04); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(1200px 500px at 15% 0%, rgb(124 58 237 / .55), transparent 60%), linear-gradient(180deg, rgb(12 6 28 / .5), rgb(12 6 28 / .78) 75%, rgb(12 6 28 / .9) 100%);
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .logo { width: min(420px, 80%); filter: drop-shadow(0 10px 30px rgb(0 0 0 / .45)); margin-bottom: 8px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0 0 12px; text-shadow: 0 2px 20px rgb(0 0 0 / .35); }
.hero h1 span { background: linear-gradient(90deg, #c4b5fd, #f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #fff; max-width: 34em; margin-bottom: 26px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .2); color: #f3efff; margin-bottom: 18px; backdrop-filter: blur(6px);
}
.ipcard {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 14px 14px 20px; border-radius: 18px; max-width: 560px;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ipcard .ipl { display: flex; flex-direction: column; margin-right: auto; min-width: 0; }
.ipcard .ipl small { color: #d8d0ef; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ipcard .ip { font: 700 1.35rem/1.3 var(--mono); color: #fff; letter-spacing: -.01em; overflow-wrap: anywhere; }
.ipcard .live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.hinweis { color: #d8d0ef; font-size: 14px; margin-top: 12px; }
.hinweis b { color: #fff; } .hinweis a { color: #fff; text-decoration: underline; }
.hero .hinweis code { background: rgb(255 255 255 / .14); color: #fff; }
.modi-bild { display: grid; gap: 14px; }
.modi-bild a {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; color: #fff; text-decoration: none;
  background: rgb(18 10 40 / .55); border: 1px solid rgb(255 255 255 / .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .2s, border-color .2s, background .2s;
}
.modi-bild a:hover { transform: translateY(-3px); border-color: rgb(196 181 253 / .7); background: rgb(40 20 80 / .6); }
.modi-bild .gi { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand2)); flex: none; }
.modi-bild .gi .lc { width: 26px; height: 26px; }
.modi-bild b { display: block; font-size: 1.15rem; }
.modi-bild .o { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: #ddd6fe; }
.modi-bild .pf { margin-left: auto; opacity: .8; }
@media (max-width: 860px) { .hero { padding: 48px 0 60px; } .hero .wrap { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 480px) { .ipcard { padding: 14px; } .ipcard .btn { width: 100%; } .ipcard .ip { font-size: 1.2rem; } }

/* ───────── Abschnitte ───────── */
.sec { padding: 72px 0; }
.sec.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.titel { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 8px; }
.titel em { font-style: normal; color: var(--brand-ink); }
.kopf { max-width: 640px; margin-bottom: 32px; }
.kopf.mitte { margin-inline: auto; text-align: center; }
.kopf p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.seitenkopf { position: relative; padding: 56px 0 44px; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg2); }
.seitenkopf::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 260px at 10% 0%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%), radial-gradient(500px 220px at 95% 100%, color-mix(in srgb, var(--brand2) 16%, transparent), transparent 70%); pointer-events: none; }
.seitenkopf .wrap { position: relative; }
.seitenkopf h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.seitenkopf h1 .hi { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--brand), var(--brand2)); color: #fff; flex: none; }
.seitenkopf h1 .hi .lc { width: 26px; height: 26px; }
.seitenkopf p { color: var(--muted); font-size: 1.08rem; max-width: 46em; margin: 0; }
@media (max-width: 600px) { .sec { padding: 52px 0; } .seitenkopf { padding: 40px 0 32px; } .seitenkopf h1 .hi { width: 44px; height: 44px; } }

/* ───────── Karten / Grids ───────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.drei, .lbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
@media (max-width: 760px) { .zwei { grid-template-columns: 1fr; } }

.ic-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-ink); flex: none; }
.ic-box .lc { width: 22px; height: 22px; }
.fcard { display: flex; flex-direction: column; gap: 10px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow-lg); }
.fcard h3 { margin: 4px 0 0; }
.fcard p { color: var(--muted); margin: 0; flex: 1; font-size: 15px; }
.fcard code { align-self: flex-start; white-space: normal; }

.modus { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 0; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.modus:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.modus .bild { height: 140px; background: linear-gradient(135deg, #4c1d95, #7c3aed 55%, #c026d3); position: relative; display: grid; place-items: center; color: #fff; }
.modus.cb .bild { background: linear-gradient(135deg, #1e1b4b, #4338ca 50%, #7c3aed); }
.modus .bild .lc { width: 64px; height: 64px; opacity: .95; stroke-width: 1.5; }
.modus .bild::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .05) 0 16px, transparent 16px 32px), repeating-linear-gradient(0deg, rgb(255 255 255 / .05) 0 16px, transparent 16px 32px); }
.modus .inn { padding: 4px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.modus h3 { font-size: 1.4rem; margin: 0; }
.modus p { margin: 0; color: var(--muted); }
.modus ul { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 8px; }
.modus li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.modus li .lc { color: var(--ok); margin-top: 3px; }
.modus .mehr { margin-top: auto; font-weight: 650; color: var(--brand-ink); display: inline-flex; align-items: center; gap: 6px; }
.status { position: absolute; top: 14px; right: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 650; background: rgb(0 0 0 / .4); color: #fff; backdrop-filter: blur(6px); }

.kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.kachel { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text); text-decoration: none; padding: 22px 12px; transition: transform .2s, border-color .2s; }
.kachel:hover { transform: translateY(-3px); border-color: var(--brand); }
.kachel small { color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.linkkarte { display: flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s; }
.linkkarte:hover { transform: translateY(-2px); border-color: var(--brand); }
.linkkarte b { display: flex; flex-direction: column; font-size: 1.08rem; min-width: 0; }
.linkkarte small { color: var(--muted); font-weight: 400; font-size: 14px; overflow-wrap: anywhere; }
.linkkarte .pf { margin-left: auto; color: var(--muted); }

/* Einstieg Java/Bedrock */
.umschalter { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 22px; }
.umschalter button { display: flex; align-items: center; gap: 10px; text-align: left; font: 650 15px/1.2 var(--font); border: 0; background: none; color: var(--muted); padding: 10px 16px; border-radius: 10px; cursor: pointer; }
.umschalter button small { display: block; font-weight: 450; font-size: 12px; }
.umschalter button.on { background: var(--brand); color: #fff; }
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.schritt { position: relative; }
.schritt .nr { position: absolute; top: 16px; right: 18px; font: 800 2.4rem/1 var(--font); color: var(--line2); }
.schritt h3 { margin: 14px 0 6px; }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } .umschalter { display: flex; } .umschalter button { flex: 1; } }

/* Banner / Discord */
.banner, .discord {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: 22px; color: #fff;
  background: radial-gradient(600px 240px at 0% 0%, rgb(255 255 255 / .18), transparent 60%), linear-gradient(120deg, #5b21b6, #7c3aed 50%, #a21caf);
  box-shadow: var(--shadow-lg);
}
.discord { background: radial-gradient(600px 240px at 100% 0%, rgb(255 255 255 / .16), transparent 60%), linear-gradient(120deg, #3730a3, #5865f2 55%, #7c3aed); }
.banner h2, .discord h2 { margin: 0 0 8px; font-size: 1.6rem; }
.banner > div, .discord .txt { flex: 1 1 280px; }
.discord p { margin: 0; color: #fff; }
.maskottchen { width: 110px; height: 110px; filter: drop-shadow(0 10px 20px rgb(0 0 0 / .35)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .24); font-size: 14px; font-weight: 550; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; margin-bottom: 44px; }
.kpi { display: flex; align-items: center; gap: 14px; padding: 18px; }
.kpi b { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.kpi span { color: var(--muted); font-size: 14px; }

/* Tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a, .tabs button {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card);
  color: var(--muted); font: 600 14px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: border-color .15s, color .15s;
}
.tabs a:hover, .tabs button:hover { color: var(--text); border-color: var(--line2); }
.tabs .on { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.feld, .wnav input { --brd: #8a85a0;
  width: 100%; font: 500 15px var(--font); padding: 12px 14px 12px 42px; border-radius: 12px; border: 1px solid var(--brd);
  background: var(--card) no-repeat 14px 50%; color: var(--text); min-height: 46px;
}
.suchfeld { position: relative; max-width: 420px; margin-bottom: 18px; }
.suchfeld .lc { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.feld:focus, .wnav input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); }

/* ───────── Bestenlisten ───────── */
.lb { padding: 20px; display: flex; flex-direction: column; }
.lb h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.05rem; }
.lb h3 .ic-box { width: 34px; height: 34px; border-radius: 10px; }
.lb h3 .ic-box .lc { width: 18px; height: 18px; }
.lb ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lb li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; min-width: 0; }
.lb li:nth-child(odd) { background: var(--card2); }
.lb li.mark { outline: 2px solid var(--brand); background: var(--brand-soft); }
.rank { width: 28px; text-align: center; font-weight: 750; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.p1 .rank, .p2 .rank, .p3 .rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 13px; }
.p1 .rank { background: var(--gold); } .p2 .rank { background: var(--silver); } .p3 .rank { background: var(--bronze); }
.av {
  position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; flex: none; overflow: hidden;
  color: #fff; font-weight: 700; font-size: 15px; image-rendering: pixelated;
}
.av img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.lb .n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.lb .v { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 14px; }
.tag { font-weight: 700; font-size: 13px; }
.alle { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; text-decoration: none; font-size: 14px; }
.alle:hover { text-decoration: underline; }
.stand { color: var(--muted); font-size: 13px; margin-top: 16px; display: flex; align-items: center; gap: 6px; }

.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: end; gap: 8px; margin: 4px 0 14px; }
.podium .pl { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; gap: 6px; }
.podium .av { width: 48px; height: 48px; border-radius: 12px; font-size: 20px; box-shadow: 0 6px 16px -6px rgb(0 0 0 / .35); }
.podium .pl1 .av { width: 60px; height: 60px; }
.podium .nm { font-weight: 650; font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podium .vl { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.podium .sockel { width: 100%; border-radius: 10px 10px 4px 4px; display: grid; place-items: center; font: 800 1.2rem/1 var(--font); color: #fff; }
.podium .pl1 .sockel { height: 64px; background: linear-gradient(180deg, #f6c343, var(--gold)); }
.podium .pl2 .sockel { height: 46px; background: linear-gradient(180deg, #cbd5e1, var(--silver)); }
.podium .pl3 .sockel { height: 34px; background: linear-gradient(180deg, #e0975f, var(--bronze)); }
.podium .krone { color: var(--gold); }

/* ───────── Wiki ───────── */
.wiki { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.wnav { position: sticky; top: calc(var(--top) + 16px); padding: 14px; }
.wnav .suchfeld { margin-bottom: 10px; max-width: none; }
.wnav .kat { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 14px 10px 6px; }
.wnav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 520; font-size: 15px; }
.wnav a .lc { color: var(--muted); }
.wnav a:hover { background: var(--bg2); }
.wnav a.on { background: var(--brand-soft); color: var(--brand-ink); font-weight: 650; }
.wnav a.on .lc { color: var(--brand-ink); }
.inhalt h2 { display: flex; align-items: center; gap: 10px; font-size: 1.7rem; }
.inhalt h3 { margin-top: 22px; }
.inhalt .card + .card { margin-top: 14px; }
@media (max-width: 860px) {
  .wiki { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .wnav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .wnav .suchfeld { flex-basis: 100%; }
  .wnav .kat { display: none; }
  .wnav a { border: 1px solid var(--line); padding: 7px 11px; font-size: 14px; }
}
.t { width: 100%; border-collapse: collapse; font-size: 15px; }
.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 8px; }
.t td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: middle; }
.t .cmd { width: 1%; white-space: nowrap; }
.t .r { text-align: right; white-space: nowrap; }
.t tr.mark td { background: var(--brand-soft); }
@media (max-width: 560px) { .t .cmd { white-space: normal; } .t .cmd code { white-space: normal; } .t td { padding: 9px 5px; } }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--brand-soft); color: var(--brand-ink); white-space: nowrap; }
.badge.grau { background: var(--bg2); color: var(--muted); border: 1px solid var(--line); }
.bar { display: inline-block; width: 70px; height: 7px; border-radius: 9px; background: var(--bg2); margin-right: 10px; vertical-align: middle; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--brand), var(--brand2)); }
@media (max-width: 560px) { .bar { display: none; } }
.legende { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.selten { color: var(--warn); font-weight: 700; }
.treffer { padding: 6px; }
.treffer a { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.treffer a + a { border-top: 1px solid var(--line); }
.treffer a:hover { background: var(--bg2); }
.treffer span { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 650; position: relative; border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border: solid var(--muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* Rechtstexte */
.doc { max-width: 900px; margin-inline: auto; padding: clamp(20px, 4vw, 44px); overflow-wrap: break-word; }
.doc h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 0; }
.doc h2 { font-size: 1.3rem; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.doc h3 { margin-top: 22px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; margin: 0 0 1em; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg2); font-weight: 650; }
.doc ul, .doc ol { padding-left: 1.3em; } .doc li { margin-bottom: 4px; }
.seite > .wrap { padding-top: 36px; padding-bottom: 56px; }

/* ───────── Fußzeile ───────── */
.fuss { margin-top: auto; border-top: 1px solid var(--line); background: var(--bg2); padding: 48px 0 28px; font-size: 14px; color: var(--muted); }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 32px; margin-bottom: 32px; }
.fuss img { height: 40px; width: auto; margin-bottom: 10px; }
.fuss h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin: 4px 0 12px; }
.fuss nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.fuss a { color: var(--muted); text-decoration: none; }
.fuss a:hover { color: var(--brand-ink); text-decoration: underline; }
.fuss .unten { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 700px) { .fuss .spalten { grid-template-columns: 1fr 1fr; } .fuss .spalten > :first-child { grid-column: 1 / -1; } }

/* Einblenden beim Scrollen (nur wenn Bewegung erlaubt) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].in { opacity: 1; transform: none; }
.view-in { animation: viewIn .35s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.skel { height: 260px; border-radius: var(--r); background: linear-gradient(90deg, var(--card) 0%, var(--bg2) 50%, var(--card) 100%) 0 0 / 200% 100%; border: 1px solid var(--line); animation: skel 1.4s infinite linear; }
@keyframes skel { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero .bg { transform: none; }
}
@media print { .topbar, .fuss, .burger { display: none; } body { background: #fff; color: #000; } .card { box-shadow: none; } }
h1[tabindex="-1"]:focus { outline: none; }
.banner .ipcard .btn.primary { background: #fff; color: #3b0f8c; box-shadow: none; }
.banner .hinweis code { background: rgb(255 255 255 / .16); color: #fff; }
.lbs.einzeln { grid-template-columns: minmax(0, 620px); }
.doc h1, .seitenkopf h1 { hyphens: auto; -webkit-hyphens: auto; }
@media (max-width: 560px) { .t .typ { display: none; } }
.hero-cta { margin: 18px 0 0; }
.btn.glas { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .3); color: #fff; backdrop-filter: blur(8px); }
.btn.glas:hover { background: rgb(255 255 255 / .18); border-color: #fff; }
.modi-bild .kurz { display: block; font-size: 14px; color: #fff; }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px !important; }

/* Fix-Runde 1: Kontrast, zweite Adresse, Umbruch, gleiche Kartenhöhe */
[data-theme="dunkel"] .feld, [data-theme="dunkel"] .wnav input { --brd: #6b6585; }
.tabs a, .tabs button { white-space: nowrap; }
.ipcard + .ip2 { margin-top: 10px; }
.ip2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #fff; font-size: 14px; }
.ip2 b { font-family: var(--mono); }
.ip2 code { background: rgb(255 255 255 / .14); color: #fff; }
.lbs { align-items: stretch; }
.lbs > .card { height: 100%; }

.lb .leer { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 12px; background: var(--card2); }
.lb .leer .lc { width: 28px; height: 28px; color: var(--brand); }
.lb .leer p { margin: 0; font-size: 14.5px; }

/* Public system status */
.status-page { max-width: 1080px; }
.status-summary { display: flex; align-items: center; gap: 16px; border-left: 4px solid var(--line2); margin-bottom: 16px; }
.status-summary strong { display: block; font-size: 1.15rem; }
.status-summary p { color: var(--muted); margin: 3px 0 0; }
.status-pulse, .status-dot { display: inline-block; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--muted); }
.status-pulse { width: 16px; height: 16px; }
.up .status-dot, .status-pulse.up { background: var(--ok); }
.warning .status-dot, .status-pulse.warning { background: var(--warn); }
.maintenance .status-dot { background: var(--brand2); }
.unknown .status-dot, .status-pulse.unknown { background: var(--muted); }
.status-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.status-toolbar .btn { flex: none; }
.status-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; }
.status-tabs button { flex: none; }
.status-panel[hidden] { display: none; }
.status-panel:focus { outline: none; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.status-card { min-width: 0; }
.status-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.status-card-top h3 { display: flex; align-items: center; gap: 9px; margin: 0; min-width: 0; }
.status-card-top h3 .lc { color: var(--brand-ink); }
.status-card p { color: var(--muted); margin: 0 0 10px; }
.status-card small { display: block; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 4px 9px; border-radius: 999px; background: var(--bg2); color: var(--muted); font-size: 12px; font-weight: 650; }
.status-badge.up { background: var(--ok-soft); color: var(--ok); }
.status-badge.warning { background: color-mix(in srgb, var(--warn) 14%, var(--card)); color: var(--warn); }
.status-badge.maintenance { background: var(--brand-soft); color: var(--brand-ink); }
.status-badge .status-dot { width: 7px; height: 7px; }
.status-footnote { margin: 16px 2px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) {
  .status-summary { padding: 18px; }
  .status-card { padding: 18px; }
  .status-card-top { flex-wrap: wrap; }
  .status-toolbar { align-items: flex-start; }
}
