/* =========================================================
   [JAC] Central – Stylesheet
   Alles lokal: keine externen Schriften, keine CDNs.
   Farben zentral hier oben anpassen.
   ========================================================= */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Big Shoulders"; src: url("../fonts/BigShoulders-Bold.woff") format("woff"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url("../fonts/BigShoulders-Regular.woff") format("woff"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

/* ---------- Farben & Grundwerte ---------- */
:root {
  --bg: #0c0c0e;          /* Seitenhintergrund */
  --panel: #131316;       /* Kästen */
  --panel-2: #18181c;
  --line: #26262c;        /* dünne Rahmen */
  --line-strong: #34343c;
  --text: #ece7de;        /* "Knochenweiß" */
  --dim: #9b968d;
  --faint: #6a665f;
  --accent: #e2620f;      /* JAC-Orange (aus deinen Bannern) */
  --accent-2: #e8a54c;    /* Bernstein (Verlauf im Banner) */
  --ok: #4fc36d;          /* online */
  --bad: #e0453a;         /* offline / roter Discord-Balken */
  --sky: #8d9bff;         /* Akzent Astro-Bereich */

  --f-display: "Big Shoulders", Impact, "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* feines Filmkorn über allem (lokal erzeugtes SVG, kein Download) */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent); color: #0c0c0e; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- Sprachumschaltung ---------- */
html[data-lang="de"] body [lang="en"],
html[data-lang="en"] body [lang="de"] { display: none !important; }

/* ---------- Layout-Helfer ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section + .section { padding-top: 0; }

.eyebrow {
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim); margin: 0 0 14px;
}
.eyebrow .dot { color: var(--accent); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .01em; margin: 0; }
h1 { font-size: clamp(56px, 12vw, 150px); }
h2 { font-size: clamp(38px, 6vw, 68px); margin-bottom: 18px; }
h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: #cfc9be; max-width: 60ch; }
.quote { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); text-transform: none; color: var(--accent-2); margin: 14px 0 18px; letter-spacing: .01em; }
.muted { color: var(--dim); }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 14, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 50%; filter: grayscale(1) contrast(1.05); }
.brand span { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.brand b { color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 22px; }
.nav a { font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); border-color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  border: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 12px; color: var(--dim); white-space: nowrap;
}
.pill strong { color: var(--text); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.led.on { background: var(--ok); box-shadow: 0 0 0 3px rgba(79, 195, 109, .18); }
.led.off { background: var(--bad); box-shadow: 0 0 0 3px rgba(224, 69, 58, .18); }

.lang { display: inline-flex; border: 1px solid var(--line-strong); height: 34px; }
.lang button {
  all: unset; cursor: pointer; padding: 0 10px; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--faint);
}
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.lang button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .topbar .pill.hide-sm { display: none; }
  .brand span { font-size: 21px; }
}

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px;
  font-family: var(--f-mono); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--line-strong); background: rgba(19, 19, 22, .7); color: var(--text);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { border-color: var(--text); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.discord:hover { background: #6d78f5; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Landingpage ---------- */
.landing { min-height: calc(100svh - 65px); display: flex; flex-direction: column; }
.landing-head { padding: clamp(40px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); }
.landing-head h1 { font-size: clamp(64px, 13vw, 168px); }
.landing-head h1 .br { color: var(--accent); }
.landing-head .lead { margin-top: 30px; }

.realms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; padding-bottom: clamp(40px, 6vw, 72px); }
.realm {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(380px, 52vh, 560px); padding: clamp(22px, 3vw, 34px);
  text-decoration: none; overflow: hidden; border: 1px solid var(--line); isolation: isolate;
}
.realm::before { /* Bild */
  content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover no-repeat;
  transform: scale(1.02); transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .6s;
  filter: saturate(.9) brightness(.8);
}
.realm::after { /* Abdunklung unten */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,12,14,0) 30%, rgba(12,12,14,.55) 60%, rgba(12,12,14,.96) 100%);
}
.realm:hover::before { transform: scale(1.07); filter: saturate(1.05) brightness(.95); }
.realm:hover { border-color: var(--line-strong); }
.realm .num { position: absolute; top: clamp(18px, 2.5vw, 28px); left: clamp(22px, 3vw, 34px); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: rgba(236,231,222,.85); }
.realm .tag { position: absolute; top: clamp(14px, 2.2vw, 24px); right: clamp(18px, 2.6vw, 30px); }
.realm h2 { font-size: clamp(40px, 4.6vw, 68px); overflow-wrap: anywhere; margin: 6px 0 10px; }
.realm p { margin: 0; color: #d6d0c5; max-width: 42ch; }
.realm .go { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.realm .go span.arr { display: inline-block; transition: transform .25s; }
.realm:hover .go span.arr { transform: translateX(5px); }
.realm.ark { --img: url("../img/tile-ark.webp"); }
.realm.ark .go { color: var(--accent-2); }
.realm.astro { --img: url("../img/tile-astro.webp"); }
.realm.astro .go { color: var(--sky); }
.realm.astro h2 { text-shadow: 0 0 40px rgba(141,155,255,.35); }

.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(12,12,14,.75); border: 1px solid var(--line-strong); color: var(--text);
}
.badge.warn { color: var(--accent-2); border-color: rgba(232,165,76,.4); }

/* ---------- ARK: Hero ---------- */
.hero { position: relative; isolation: isolate; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/ark-hero.webp") 65% 40% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,12,14,.97) 0%, rgba(12,12,14,.88) 45%, rgba(12,12,14,.3) 78%, rgba(12,12,14,.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(12,12,14,0) 30%);
}
@media (max-width: 760px) {
  .hero::before { background-image: url("../img/ark-hero-1200.webp"); background-position: 70% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(12,12,14,.55) 0%, rgba(12,12,14,.88) 55%, var(--bg) 100%); }
}
.hero .wrap { padding: clamp(70px, 12vw, 150px) 0 clamp(60px, 9vw, 110px); }
.hero h1 { max-width: 9ch; }

/* ---------- ARK: Serverstatus ("Lagebericht") ---------- */
.board { border: 1px solid var(--line); background: var(--panel); }
.board-head {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.board-head strong { color: var(--text); letter-spacing: .2em; }
.board-head .live { display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: .02em; }
.grid-maps { display: grid; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-maps { grid-template-columns: repeat(2, 1fr); } }
.map {
  position: relative; padding: 18px 18px 20px; min-height: 104px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.map:nth-child(4n) { border-right: 0; }
@media (max-width: 900px) { .map:nth-child(4n) { border-right: 1px solid var(--line); } .map:nth-child(2n) { border-right: 0; } }
.map::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--faint); }
.map.on::after { background: var(--ok); }
.map.off { background: linear-gradient(180deg, rgba(224,69,58,.10), rgba(224,69,58,.03)); }
.map.off::after { background: var(--bad); }
.map .idx { font-family: var(--f-mono); font-size: 11px; color: var(--faint); letter-spacing: .1em; }
.map .name { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); text-transform: uppercase; line-height: 1; }
.map .state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--dim); }
.map.on .state { color: #a6e3b5; }
.map.off .state { color: #f2a19a; }
.board-foot { padding: 12px 18px; font-family: var(--f-mono); font-size: 12px; color: var(--faint); }

/* ---------- ARK: Fakten ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); margin-top: 14px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { padding: 22px 20px 24px; border-right: 1px solid var(--line); background: var(--panel); }
.fact:last-child { border-right: 0; }
@media (max-width: 900px) { .fact:nth-child(2) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
.fact .k { font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.fact .v { font-family: var(--f-display); font-weight: 800; font-size: clamp(44px, 5vw, 64px); line-height: 1; margin: 12px 0 6px; }
.fact .v small { font-size: .45em; color: var(--dim); }
.fact p { margin: 0; font-size: 15px; color: var(--dim); }

/* ---------- ARK: Anleitung ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: 38px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 24px; margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--dim); }
.kbd { font-family: var(--f-mono); font-size: .9em; padding: 2px 7px; border: 1px solid var(--line-strong); background: var(--panel-2); color: var(--text); white-space: nowrap; }

.copybox { display: flex; align-items: stretch; margin-top: 12px; border: 1px solid var(--line-strong); max-width: 420px; }
.copybox code { flex: 1; padding: 12px 14px; font-family: var(--f-mono); font-size: 18px; font-weight: 700; color: var(--accent-2); background: var(--panel-2); }
.copybox button {
  all: unset; cursor: pointer; padding: 0 16px; border-left: 1px solid var(--line-strong);
  font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.copybox button:hover { color: var(--text); background: var(--panel); }
.copybox button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -2px; }

.servername { margin-top: 26px; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--bad); background: var(--panel); }
.servername .eyebrow { margin-bottom: 8px; }
.servername code { font-family: var(--f-mono); font-size: clamp(13px, 1.5vw, 15px); color: var(--text); word-break: break-word; }

/* ---------- Discord-Band ---------- */
.band { position: relative; border: 1px solid var(--line); background: var(--panel); padding: clamp(28px, 5vw, 56px); overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); }
.band::after { content: ""; position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; z-index: -1; background: radial-gradient(closest-side, rgba(88,101,242,.16), transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.chips li { font-family: var(--f-mono); font-size: 13px; padding: 7px 11px; border: 1px solid var(--line-strong); color: var(--dim); }
.chips li b { color: var(--text); font-weight: 700; }

/* ---------- Link-Karten (Regeln etc.) ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.card { display: block; padding: 24px; border: 1px solid var(--line); background: var(--panel); text-decoration: none; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.card h3 { margin: 10px 0 8px; }
.card p { margin: 0; color: var(--dim); font-size: 15px; }
.card .more { display: inline-block; margin-top: 16px; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }

/* ---------- Regeln / Textseiten ---------- */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(52px, 9vw, 112px); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: clamp(40px, 6vw, 72px) 0; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 90px; align-self: start; }
@media (max-width: 900px) { .toc { position: static; } }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: t; }
.toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--dim); font-size: 15px; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--faint); padding-top: 3px; }
.toc a:hover { color: var(--text); }
.rules { counter-reset: r; }
.rule { padding: 0 0 clamp(36px, 5vw, 52px); margin-bottom: clamp(36px, 5vw, 52px); border-bottom: 1px solid var(--line); counter-increment: r; }
.rule:last-child { border-bottom: 0; }
.rule > .eyebrow::before { content: "§ " counter(r, decimal-leading-zero) "  ·  "; color: var(--accent); }
.rule h2 { font-size: clamp(34px, 4.6vw, 52px); }
.rule h3 { font-size: 22px; margin: 26px 0 8px; color: var(--text); }
.rule p { margin: 0 0 12px; color: #d3cdc2; max-width: 70ch; }
.rule ul { margin: 6px 0 14px; padding: 0; list-style: none; max-width: 70ch; }
.rule li { position: relative; padding: 7px 0 7px 26px; color: #d3cdc2; border-bottom: 1px dashed rgba(52,52,60,.6); }
.rule li:last-child { border-bottom: 0; }
.rule li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }
.note { margin: 16px 0; padding: 14px 16px; border-left: 3px solid var(--accent-2); background: rgba(232,165,76,.07); color: #e9dcc6; max-width: 70ch; }
.note.red { border-color: var(--bad); background: rgba(224,69,58,.08); color: #f0d3cf; }
.prose { padding: clamp(40px, 6vw, 72px) 0; max-width: 78ch; }
.prose h2 { font-size: clamp(30px, 4vw, 42px); margin: 40px 0 12px; }
.prose h3 { font-size: 22px; margin: 26px 0 8px; }
.prose p, .prose li { color: #d3cdc2; }
.draft { font-family: var(--f-mono); font-size: 13px; padding: 12px 14px; border: 1px dashed var(--accent-2); color: var(--accent-2); margin: 0 0 24px; }

/* ---------- Astro-Platzhalter ---------- */
.astro-page { background: radial-gradient(1100px 600px at 75% -10%, #1a2142 0%, transparent 60%), radial-gradient(900px 500px at 10% 20%, #131b3a 0%, transparent 55%), #0a0c16; }
.astro-hero { position: relative; min-height: calc(100svh - 65px); display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.astro-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/tile-astro.webp") center / cover; opacity: .55; mask-image: linear-gradient(180deg, #000 40%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%); }
.astro-hero h1 { text-shadow: 0 0 60px rgba(141,155,255,.35); }
.astro-hero .eyebrow .dot { color: var(--sky); }
.planned { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 36px; max-width: 820px; }
.planned div { padding: 18px; border: 1px solid rgba(141,155,255,.22); background: rgba(16,21,42,.6); backdrop-filter: blur(6px); }
.planned b { display: block; font-family: var(--f-display); font-size: 24px; text-transform: uppercase; }
.planned span { color: #aab2d6; font-size: 15px; }
.progress { margin-top: 28px; max-width: 420px; }
.progress .bar { height: 4px; background: rgba(141,155,255,.15); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 18%; background: var(--sky); animation: scan 2.4s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateX(0); } to { transform: translateX(450%); } }

/* ---------- Fußzeile ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 44px; font-size: 14px; color: var(--dim); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { text-decoration: none; color: var(--dim); font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer a:hover { color: var(--text); }

/* ---------- Einblenden beim Scrollen (dezent) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .realm::before, .progress .bar i { transition: none; animation: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Mod-Liste ---------- */
.mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1px; margin: 26px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.mods li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 16px; background: var(--panel); }
.mods .mname { font-weight: 700; color: var(--text); }
.mods .mid { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--faint); }
