/* MT2FOREVER Website – Newschool-Look (UI-Overhaul B2, Runde 9, Abnahme 13.11.2026).
   Farben = Tokens aus tools/ui_overhaul/nskit.py (C), Schrift Inter (OFL), Logo B "Klinge", Gemaelde E1–E5.
   Kein JavaScript: Menue (Checkbox) und Sprachwahl (details) laufen nur mit CSS. */

@font-face { font-family: "Inter"; src: url("fonts/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; src: url("fonts/NotoSansArabic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #0c0c0f; --bg2: #101014;
  --win-top: #18191e; --win-bot: #0f1014; --inset: #090a0d; --inset-line: #2c2822;
  --bronze: #7a5c36; --bronze-dim: #463724;
  --gold: #e6c88c; --gold-hi: #f6dea8;
  --lacquer: #6e1a16; --lacquer-dk: #3a0d0b; --lacquer-hi: #8e2620;
  --text: #e8e4dc; --dim: #a39d90; --off: #646058;
  --good: #8fe08f; --bad: #e87870; --warn: #e0b060; --info: #78b4ff;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 3px;
  --corner: 12px;
}
* { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 400 16px/1.6 var(--font); letter-spacing: .005em; min-height: 100vh;
  display: flex; flex-direction: column; overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(110, 26, 22, .16), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.012) 0 2px, transparent 2px 7px),
    var(--bg); }
html[lang="ar"] body { font-family: "Noto Sans Arabic", var(--font); letter-spacing: 0; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--gold-hi); font-weight: 650; letter-spacing: .005em; line-height: 1.25; margin: 0 0 .55em; }
h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); } h2 { font-size: 1.35rem; } h3 { font-size: 1.05rem; }
p { margin: 0 0 .9em; }
code { background: var(--inset); border: 1px solid var(--inset-line); padding: 1px 6px; border-radius: var(--r);
  font: .86em/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--gold); word-break: break-all; }
.small { font-size: .875rem; color: var(--dim); }
.lead { color: var(--dim); font-size: 1.06rem; max-width: 60ch; }
.center { text-align: center; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- Kopfleiste */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  height: 64px; padding-inline: 32px; border-bottom: 1px solid var(--bronze-dim);
  background: linear-gradient(180deg, rgba(24, 20, 20, .97), rgba(14, 13, 15, .97)); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 140px; height: auto; display: block; }
.bar { display: flex; align-items: center; flex: 1; gap: 24px; min-width: 0; }
nav.main { display: flex; gap: 6px; margin-inline-start: 56px; }
nav.main a { position: relative; color: var(--dim); font-weight: 500; font-size: .95rem; padding: 20px 14px; }
nav.main a:hover { color: var(--text); text-decoration: none; }
nav.main a.on { color: var(--gold-hi); font-weight: 600; }
nav.main a.on::after { content: ""; position: absolute; inset-inline: 14px; bottom: 0; height: 3px; background: var(--gold); }
.right { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.menu-t, .menu-b { display: none; }

/* Sprachwahl ohne JavaScript */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; color: var(--dim);
  font-size: .9rem; padding: 6px 10px; border: 1px solid transparent; border-radius: var(--r); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); border-color: var(--bronze-dim); background: rgba(255,255,255,.03); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 30; width: 420px; max-width: calc(100vw - 32px);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; padding: 10px;
  background: linear-gradient(180deg, var(--win-top), var(--win-bot)); border: 1px solid var(--bronze);
  box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.lang-list a { color: var(--dim); padding: 7px 10px; border-radius: var(--r); font-size: .9rem; }
.lang-list a:hover { background: rgba(230, 200, 140, .08); color: var(--text); text-decoration: none; }
.lang-list a.on { color: var(--gold-hi); background: rgba(230, 200, 140, .1); }

/* ---------------------------------------------------------------- Knoepfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 8px 22px;
  border: 1px solid var(--bronze-dim); border-radius: var(--r); color: var(--text); font: 600 .95rem/1.2 var(--font);
  background: linear-gradient(180deg, #25252b, #16161a); cursor: pointer; text-align: center;
  transition: border-color .15s, box-shadow .15s, filter .15s; }
.btn:hover { text-decoration: none; color: #fff; border-color: var(--bronze); box-shadow: 0 0 0 1px rgba(230,200,140,.12), 0 6px 18px rgba(0,0,0,.35); }
.btn.primary { color: var(--gold-hi); border-color: var(--gold); background: linear-gradient(180deg, var(--lacquer-hi), var(--lacquer) 55%, var(--lacquer-dk));
  box-shadow: inset 0 1px 0 rgba(255, 220, 170, .18); }
.btn.primary:hover { filter: brightness(1.15); box-shadow: inset 0 1px 0 rgba(255,220,170,.25), 0 0 22px rgba(142, 38, 32, .45); }
.btn.sm { min-height: 34px; padding: 6px 16px; font-size: .88rem; }
.btn.lg { min-height: 50px; padding: 12px 30px; font-size: 1.02rem; }
.btn.block { display: flex; width: 100%; }
.btn.disabled { opacity: .55; cursor: not-allowed; }
.btn svg { flex: none; }

/* ---------------------------------------------------------------- Rahmen mit Gold-Ecken (Dialog-Familie) */
.card { position: relative; padding: 26px 28px; border: 1px solid var(--bronze-dim);
  background:
    linear-gradient(var(--gold), var(--gold)) top left / var(--corner) 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 2px var(--corner) no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / var(--corner) 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 2px var(--corner) no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / var(--corner) 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 2px var(--corner) no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / var(--corner) 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 2px var(--corner) no-repeat,
    linear-gradient(180deg, rgba(24, 25, 30, .96), rgba(15, 16, 20, .97));
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin: 1.6em 0 .7em; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--bronze-dim); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.pill { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--gold-hi); padding: 3px 11px;
  border: 1px solid var(--bronze); border-radius: 999px; background: rgba(9, 10, 13, .65); }
.badge { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--good);
  border: 1px solid rgba(143, 224, 143, .45); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

/* ---------------------------------------------------------------- Startseite */
.hero { position: relative; min-height: clamp(560px, calc(100svh - 64px), 900px); display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,12,15,.88) 0%, rgba(12,12,15,.55) 38%, rgba(12,12,15,0) 68%),
              linear-gradient(0deg, var(--bg) 0%, rgba(12,12,15,0) 30%); }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(12,12,15,.88) 0%, rgba(12,12,15,.55) 38%, rgba(12,12,15,0) 68%),
              linear-gradient(0deg, var(--bg) 0%, rgba(12,12,15,0) 30%); }
.hero-in { width: 100%; max-width: 1200px; margin-inline: auto; padding: 56px 24px 110px; }
.hero-logo { margin: 0 0 14px; line-height: 0; }
.hero-logo img { width: min(480px, 80vw); filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.tag { font-size: clamp(1.1rem, 2.1vw, 1.4rem); font-weight: 500; color: var(--text); max-width: 40ch; margin-bottom: 26px;
  text-shadow: 0 2px 12px rgba(0,0,0,.8); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.ico { width: 30px; height: 30px; flex: none; fill: var(--gold); padding: 5px; border: 1px solid var(--bronze);
  border-radius: var(--r); background: radial-gradient(circle at 50% 30%, rgba(142,38,32,.6), var(--inset)); }

.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--inset-line); border-radius: var(--r);
  background: rgba(9, 10, 13, .55); }
.steps3 b { display: block; color: var(--text); margin-bottom: 2px; }
.steps3 p { color: var(--dim); font-size: .92rem; margin: 0 0 6px; }
.steps3 a { font-size: .9rem; font-weight: 600; }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  color: var(--gold-hi); border: 1px solid var(--gold); background: radial-gradient(circle at 50% 35%, var(--lacquer-hi), var(--lacquer-dk)); }

.cols { display: grid; grid-template-columns: 3fr 2fr; gap: 22px; margin-top: 44px; margin-bottom: 56px; align-items: start; }
.news { padding: 14px 0; border-bottom: 1px solid var(--inset-line); }
.news:last-child { border-bottom: 0; padding-bottom: 0; }
.news time { color: var(--gold); font-size: .8rem; font-weight: 600; }
.news h3 { color: var(--text); margin: .15em 0 .25em; font-size: 1.05rem; }
.news p { color: var(--dim); font-size: .92rem; margin: 0; }
ol.mini { list-style: none; margin: 0; padding: 0; }
ol.mini li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--inset-line); }
ol.mini li:last-child { border-bottom: 0; }
ol.mini .r { width: 22px; color: var(--gold); font-weight: 700; }
ol.mini .n { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
ol.mini .n small { display: block; color: var(--off); font-weight: 500; font-size: .76rem; }
ol.mini .l { color: var(--gold); font-weight: 700; font-size: .88rem; white-space: nowrap; }
ol.mini.g .n { font-weight: 500; color: var(--dim); }
.more { text-align: end; margin: 14px 0 0; font-weight: 600; }
.empty { color: var(--off); }

/* ---------------------------------------------------------------- Unterseiten */
.banner { position: relative; height: 300px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.banner.short { height: 170px; }
.banner picture, .banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--bg) 4%, rgba(12,12,15,.55) 55%, rgba(12,12,15,.25)); }
.banner-in { padding-bottom: 26px; }
.banner-in h1 { font-size: clamp(2rem, 4vw, 2.8rem); text-shadow: 0 2px 14px rgba(0,0,0,.8); }
.banner-in .lead { color: var(--text); text-shadow: 0 1px 8px rgba(0,0,0,.9); margin-bottom: 14px; }
.page { width: 100%; max-width: 1080px; margin: -90px auto 56px; padding-inline: 24px; position: relative; z-index: 2; }
.page.narrow { max-width: 620px; }
.page.wide { max-width: 1200px; }

/* Download */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 10px; align-items: start; }
.dl-grid.mac-first #mac { order: -1; }
.dl-os { display: flex; flex-direction: column; }
.dl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.dl-head h2 { margin: 0; font-size: 1.5rem; }
.dl-head p { margin: 0; }
.dl-head .badge { margin-inline-start: auto; display: none; }
.dl-os.rec .badge { display: inline-block; }
.dl-os.rec { border-color: var(--bronze); }
.os { width: 44px; height: 44px; fill: var(--gold-hi); flex: none; padding: 8px; border: 1px solid var(--bronze); border-radius: var(--r);
  background: var(--inset); }
.dl-btn { min-height: 64px; }
.dl-btn span { display: flex; flex-direction: column; align-items: flex-start; text-align: start; }
.dl-btn small { font-weight: 500; font-size: .78rem; color: rgba(246, 222, 168, .75); }
.sha { margin-top: 8px; }
.sha summary { cursor: pointer; width: max-content; }
.sha code { display: block; margin-top: 6px; }
.alt { margin: 8px 0 0; }
ol.steps { list-style: none; counter-reset: s; margin: 22px 0 0; padding: 0; }
ol.steps li { counter-increment: s; position: relative; padding-inline-start: 50px; min-height: 36px; margin-bottom: 14px; }
ol.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: var(--gold-hi); border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 35%, var(--lacquer-hi), var(--lacquer-dk)); }
ol.steps b { display: block; color: var(--text); }
ol.steps span { color: var(--dim); font-size: .92rem; }
.note { margin-top: 6px; padding: 16px 18px; border: 1px solid var(--inset-line); border-inline-start: 3px solid var(--info);
  border-radius: var(--r); background: rgba(9, 10, 13, .7); }
.note h4 { color: var(--text); font-size: .95rem; margin: 0 0 .3em; }
.note p { color: var(--dim); font-size: .9rem; }
.note p:last-child { margin: 0; }
.tablewrap { overflow-x: auto; }
table.req { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.req th { color: var(--gold); text-align: start; font-weight: 600; padding: 6px 10px; }
table.req td { padding: 8px 10px; border-top: 1px solid var(--inset-line); }
table.req td:first-child { color: var(--dim); }
.how { margin-top: 22px; margin-bottom: 56px; }
ul.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
ul.ticks li { position: relative; padding-inline-start: 28px; margin-bottom: 10px; color: var(--dim); }
ul.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--good); font-weight: 700; }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 18px 0 0; color: var(--dim); }

/* Konto erstellen */
.form { display: grid; gap: 16px; margin-top: 18px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--text); }
.form input { font: inherit; font-weight: 400; color: var(--text); background: var(--inset); border: 1px solid var(--inset-line);
  border-radius: var(--r); padding: 11px 13px; width: 100%; }
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 200, 140, .15); }
.form input:user-invalid { border-color: var(--bad); }
.form small { font-weight: 400; color: var(--off); font-size: .8rem; }
.form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }   /* D-423: kein left:-9999px (in RTL waagrecht scrollbar) */
.errors { margin: 14px 0 0; padding: 12px 16px 12px 34px; border: 1px solid rgba(232, 120, 112, .5); border-radius: var(--r);
  background: rgba(110, 26, 22, .25); color: #ffd0cb; font-size: .92rem; }
[dir="rtl"] .errors { padding: 12px 34px 12px 16px; }

/* Rangliste */
.rank-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rank-head h1 { margin: 0; }
.tabs { display: flex; border: 1px solid var(--bronze-dim); border-radius: var(--r); overflow: hidden; }
.tabs a { padding: 8px 20px; color: var(--dim); font-weight: 600; font-size: .92rem; }
.tabs a.on { color: var(--gold-hi); background: linear-gradient(180deg, var(--lacquer), var(--lacquer-dk)); }
.tabs a:hover { text-decoration: none; color: var(--text); }
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 16px; }
.filter input, .filter select { font: inherit; font-size: .92rem; color: var(--text); background: var(--inset); border: 1px solid var(--inset-line);
  border-radius: var(--r); padding: 7px 11px; min-height: 36px; }
.filter input { flex: 1 1 180px; }
table.rank { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.rank th { color: var(--gold); text-align: start; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 10px; border-bottom: 1px solid var(--bronze-dim); white-space: nowrap; }
table.rank td { padding: 9px 10px; border-bottom: 1px solid var(--inset-line); white-space: nowrap; }
table.rank tbody tr:hover td { background: rgba(230, 200, 140, .04); }
table.rank td.n { font-weight: 600; }
table.rank td.r span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; font-weight: 700; color: var(--dim); }
table.rank .t1 td.r span { color: #2a1d05; background: radial-gradient(circle at 40% 35%, #fff0b8, #d9a93c); }
table.rank .t2 td.r span { color: #1c1f24; background: radial-gradient(circle at 40% 35%, #f4f6f8, #a8b0ba); }
table.rank .t3 td.r span { color: #2a160a; background: radial-gradient(circle at 40% 35%, #f2c49a, #b06d3a); }
table.rank td.empty { text-align: center; padding: 30px; }
.emp { font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid; }
.emp.e1 { color: #ff9c8f; border-color: rgba(232, 120, 112, .5); background: rgba(110, 26, 22, .3); }
.emp.e2 { color: #f4d77e; border-color: rgba(224, 176, 96, .5); background: rgba(90, 64, 12, .3); }
.emp.e3 { color: #9cc8ff; border-color: rgba(120, 180, 255, .5); background: rgba(18, 46, 90, .3); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 18px; }
.pager a { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px; border: 1px solid var(--inset-line);
  border-radius: var(--r); color: var(--dim); }
.pager a.on { color: var(--gold-hi); border-color: var(--gold); background: rgba(110, 26, 22, .35); }
.upd { text-align: center; margin: 14px 0 0; }

/* Meldung (Fehler, Konto erstellt) */
.dialog { padding-block: 36px; }
.sigil { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
  font-weight: 700; color: var(--gold-hi); border: 1px solid var(--gold); background: radial-gradient(circle at 50% 35%, var(--lacquer-hi), var(--lacquer-dk)); }
.sigil.ok { color: #0d2410; border-color: var(--good); background: radial-gradient(circle at 50% 35%, #c8f5c8, #4caf50); }
.dialog p { color: var(--dim); }

/* ---------------------------------------------------------------- Fusszeile */
footer { margin-top: auto; text-align: center; padding: 30px 24px 26px; border-top: 1px solid var(--bronze-dim); background: #08080a; }
.foot-logo { width: 110px; opacity: .85; }
.foot-tag { color: var(--dim); font-size: .9rem; margin: 6px 0 10px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: .9rem; margin-bottom: 8px; }
.foot-links a { color: var(--dim); }
footer .small { color: var(--off); font-size: .78rem; margin: 0; }

/* ---------------------------------------------------------------- Tablet */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  nav.main { margin-inline-start: 16px; }
}
@media (max-width: 900px) {
  .dl-grid, .cols { grid-template-columns: 1fr; }
  .steps3 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Handy: Menue per Checkbox */
@media (max-width: 760px) {
  .top { height: 56px; padding-inline: 16px; gap: 12px; }
  .brand img { width: 118px; }
  .menu-b { display: flex; flex-direction: column; justify-content: center; gap: 5px; margin-inline-start: auto; width: 40px; height: 40px;
    padding: 9px; cursor: pointer; border: 1px solid transparent; border-radius: var(--r); }
  .menu-b span { display: block; height: 2px; background: var(--gold); border-radius: 1px; transition: transform .2s, opacity .2s; }
  .menu-t:checked + .menu-b { border-color: var(--bronze-dim); }
  .menu-t:checked + .menu-b span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-t:checked + .menu-b span:nth-child(2) { opacity: 0; }
  .menu-t:checked + .menu-b span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .bar { display: none; position: absolute; top: 56px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 16px 18px; background: rgba(12, 12, 15, .98); border-bottom: 1px solid var(--bronze-dim); box-shadow: 0 20px 40px rgba(0,0,0,.6); }
  .menu-t:checked ~ .bar { display: flex; }
  nav.main { flex-direction: column; margin: 0; gap: 0; }
  nav.main a { padding: 14px 4px; border-bottom: 1px solid var(--inset-line); font-size: 1.02rem; }
  nav.main a.on::after { inset-inline: auto 4px; inset-block: 50% auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .right { margin: 14px 0 0; flex-direction: column; align-items: stretch; gap: 12px; }
  .right .btn { min-height: 46px; }
  .lang-list { position: static; width: auto; margin-top: 8px; box-shadow: none; }
  .wrap { padding-inline: 16px; }
  .hero { min-height: auto; flex-direction: column; align-items: stretch; }
  .hero-art { position: relative; inset: auto; height: 96vw; max-height: 560px; z-index: -2; }
  .hero-art img { object-position: 50% 85%; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(12,12,15,.2) 45%, rgba(12,12,15,0) 70%); bottom: auto; height: 96vw; max-height: 560px; }
  [dir="rtl"] .hero::before { background: linear-gradient(0deg, var(--bg) 0%, rgba(12,12,15,.2) 45%, rgba(12,12,15,0) 70%); }
  .hero-in { margin-top: -110px; padding: 0 16px 24px; text-align: center; }
  .hero-logo img { width: min(300px, 78vw); }
  .tag { margin-inline: auto; font-size: 1.08rem; }
  .cta { flex-direction: column; }
  .cta .btn { width: 100%; }
  .pills { justify-content: center; }
  .features { grid-template-columns: 1fr; margin-top: 8px; gap: 12px; }
  .cols { margin-top: 28px; }
  .card { padding: 20px 18px; }
  .banner { height: 210px; }
  .banner.short { height: 110px; }
  .page { margin-top: -40px; padding-inline: 16px; }
  .dl-head { flex-wrap: wrap; }
  .hide-s { display: none; }
  table.rank { font-size: .84rem; }
  table.rank td, table.rank th { padding-inline: 4px; }
  table.rank th { font-size: .68rem; letter-spacing: .03em; }
  table.rank td.r span { min-width: 22px; height: 22px; }
  .emp { font-size: .68rem; padding: 1px 6px; }
  .rank-head { flex-direction: column; align-items: stretch; }
  .tabs a { flex: 1; text-align: center; }
  .filter > * { flex: 1 1 100%; }
}

/* D-423 Wiederherstellungs-Code, Konto-Bereich */
.codebox { margin: 18px 0 4px; padding: 18px; border: 1px solid var(--inset-line); border-radius: var(--r); background: var(--inset); text-align: start; }
.code-intro { margin: 0 0 10px; font-weight: 600; color: var(--text); }
.code-row { display: flex; gap: 8px; align-items: stretch; }
.code-row .code { flex: 1; min-width: 0; font: 600 1.15rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .08em;
  color: var(--gold); background: #08080b; border: 1px solid var(--gold); border-radius: var(--r); padding: 12px; text-align: center; }
.code-lead { margin: 12px 0; }
.code-saved { display: grid; gap: 12px; margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--text); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; }
.support { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--inset-line); }
.support h2, .card h2 { font-size: 1.05rem; margin: 22px 0 6px; }
.support h2 { margin-top: 0; }
.logout { margin-top: 22px; }
@media (max-width: 420px) { .code-row { flex-direction: column; } .code-row .code { font-size: 1.02rem; letter-spacing: .04em; } }

/* ---------------------------------------------------------------- D-428 Relaunch: Countdown, Features, Statements, Galerie, PvP */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 22px; }
.sec-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0 0 .35em; }
.sec-head p { color: var(--dim); margin: 0; }
.kicker { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
#features, #statements, #ingame, #pvp { scroll-margin-top: 80px; }

/* Countdown im Startbild */
.cd { display: inline-block; margin: 0 0 24px; padding: 14px 20px 12px; border: 1px solid var(--bronze); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(24, 20, 20, .82), rgba(9, 10, 13, .86)); box-shadow: 0 14px 40px rgba(0,0,0,.45); }
.cd .kicker { margin-bottom: 8px; }
.cd-n { display: flex; gap: 10px; direction: ltr; }
.cd-n span { min-width: 78px; text-align: center; padding: 8px 6px 6px; background: var(--inset); border: 1px solid var(--inset-line); border-radius: var(--r); }
.cd-n b { display: block; font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 750; line-height: 1; color: var(--gold-hi);
  font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(230, 200, 140, .35); }
.cd-n small { display: block; margin-top: 5px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.cd-date { margin: 10px 0 0; font-size: .9rem; color: var(--dim); }
.cd-live { margin: 0; font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 700; color: var(--gold-hi); }

/* Feature-Raster: nur Namen */
.fi { width: 22px; height: 22px; flex: none; fill: var(--gold); opacity: .9; }

/* Statements */
.st-band, .gal-band, .pvp-band, .news-band { margin-top: 48px; }
.st-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.st { padding: 20px 22px 16px; border: 1px solid var(--bronze-dim); border-radius: var(--r); border-top: 3px solid var(--gold);
  background: linear-gradient(180deg, var(--win-top), var(--win-bot)); }
.st h3 { font-size: 1.12rem; margin-bottom: .35em; }
.st p { color: var(--dim); font-size: .95rem; margin: 0; }

/* Galerie */
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gal .shot.wide { grid-column: 1 / -1; }
.gal > .shot { min-width: 0; }
.strip { overflow-x: auto; border: 1px solid var(--bronze); border-radius: var(--r); background: #16151a; box-shadow: 0 14px 34px rgba(0,0,0,.55);
  scrollbar-width: thin; scrollbar-color: var(--bronze) transparent; }
.strip img { display: block; width: 100%; border: 0; box-shadow: none; border-radius: 0; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; border: 1px solid var(--bronze); border-radius: var(--r); box-shadow: 0 14px 34px rgba(0,0,0,.55); background: var(--inset); }
.shot figcaption { color: var(--dim); font-size: .88rem; font-weight: 600; margin-top: 8px; text-align: center; }

/* PvP */
.pvp-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 28px; align-items: start; }
ul.pvp { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
ul.pvp.wide { grid-template-columns: repeat(3, 1fr); }
ul.pvp li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--inset-line); border-radius: var(--r);
  background: rgba(9, 10, 13, .55); }
ul.pvp li .fi { margin-top: 2px; }
ul.pvp b { display: block; color: var(--gold-hi); font-weight: 650; }
ul.pvp span { color: var(--dim); font-size: .9rem; }
.pvp-top h3 { margin-bottom: .5em; }

.banner.tall { height: auto; min-height: 300px; padding-top: 60px; }
.page.sys { margin-top: 18px; display: grid; gap: 34px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.jump a { font-size: .85rem; font-weight: 600; color: var(--gold-hi); padding: 5px 13px; border: 1px solid var(--bronze); border-radius: 999px;
  background: rgba(9, 10, 13, .7); }
.jump a:hover { text-decoration: none; border-color: var(--gold); background: rgba(110, 26, 22, .35); }
.final { text-align: center; padding-block: 34px; }
.card.final h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 0 0 .4em; }
.final .cta { justify-content: center; margin: 18px 0 0; }
.news-band { margin-bottom: 56px; }

@media (max-width: 1080px) {
    .st-grid { grid-template-columns: 1fr 1fr; }
  ul.pvp.wide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .pvp-cols { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
        .fi { width: 18px; height: 18px; }
  .st-grid, .gal, ul.pvp, ul.pvp.wide { grid-template-columns: 1fr; }
  .st-band, .gal-band, .pvp-band, .news-band { margin-top: 32px; }
  .cd { display: block; padding: 12px 12px 10px; }
  .cd-n { gap: 6px; }
  .cd-n span { min-width: 0; flex: 1; }
  .strip img { width: auto; height: 230px; max-width: none; }
  .banner.tall { min-height: 220px; padding-top: 70px; }
  .page.sys { margin-top: 8px; gap: 24px; }
  .jump a { font-size: .8rem; padding: 4px 11px; }
}
@media (max-width: 360px) {
  }

/* ---------------------------------------------------------------- D-428b Praesentation /systeme (Kapitel, Bild-Text-Wechsel) */
.ctrs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.ctr { text-align: center; padding: 16px 10px 12px; border: 1px solid var(--inset-line); border-radius: var(--r); background: var(--inset); }
.ctr b { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 750; line-height: 1; color: var(--gold-hi);
  text-shadow: 0 0 18px rgba(230, 200, 140, .3); font-variant-numeric: tabular-nums; }
.ctr span { display: block; margin-top: 6px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.ch-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ch-jump a { font-weight: 600; color: var(--text); padding: 7px 16px; border: 1px solid var(--bronze); border-radius: 999px; background: rgba(9, 10, 13, .7); }
.ch-jump a b { color: var(--gold); margin-inline-end: 4px; font-family: Georgia, "Times New Roman", serif; }
.ch-jump a:hover { text-decoration: none; border-color: var(--gold); background: rgba(110, 26, 22, .35); }
.chapter { scroll-margin-top: 80px; display: grid; gap: 20px; }
.ch-head { display: flex; align-items: center; gap: 22px; padding: 18px 0 14px; border-bottom: 1px solid var(--bronze-dim); }
.ch-no { flex: none; min-width: 96px; text-align: center; font: 700 clamp(3rem, 7vw, 4.6rem)/1 Georgia, "Times New Roman", serif; color: var(--gold);
  text-shadow: 0 0 26px rgba(142, 38, 32, .7), 0 2px 0 var(--lacquer-dk); }
.ch-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 .2em; }
.ch-head p { color: var(--dim); margin: 0; max-width: 62ch; }
.pres-sec { scroll-margin-top: 80px; display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; padding: 22px 24px;
  border: 1px solid var(--bronze-dim); border-radius: var(--r); background: linear-gradient(180deg, var(--win-top), var(--win-bot)); }
.pres-sec.has-media { grid-template-columns: 5fr 7fr; }
.chapter .pres-sec.has-media:nth-of-type(even) .pres-media { order: -1; }
.pres-sec.has-media:nth-of-type(even) { grid-template-columns: 7fr 5fr; }
.pres-no { display: block; font: 700 .8rem/1 Georgia, "Times New Roman", serif; letter-spacing: .12em; color: var(--gold); margin-bottom: 8px; }
.pres-txt h3 { font-size: 1.35rem; margin-bottom: .3em; }
.pres-txt > p { color: var(--dim); margin: 0 0 14px; }
.pres-media .gal { grid-template-columns: 1fr; gap: 14px; }
.pres-media .shot figcaption { display: none; }
.pres-media .shot:not(.wide) img { max-width: 480px; margin-inline: auto; }
ul.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
ul.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; font-size: .9rem; font-weight: 600;
  border: 1px solid var(--inset-line); border-inline-start: 2px solid var(--lacquer-hi); border-radius: var(--r); background: rgba(9, 10, 13, .6); }
ul.chips .fi { width: 16px; height: 16px; }
.pres-txt ul.pvp { margin-top: 14px; grid-template-columns: repeat(3, 1fr); }
.intro .st-grid { margin-top: 4px; }
@media (max-width: 900px) {
  .pres-sec.has-media, .pres-sec.has-media:nth-of-type(even) { grid-template-columns: 1fr; }
  .chapter .pres-sec.has-media:nth-of-type(even) .pres-media { order: 0; }
  .pres-txt ul.pvp { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .ctrs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ch-head { gap: 14px; }
  .ch-no { min-width: 64px; }
  .pres-sec { padding: 16px 14px; gap: 16px; }
  .pres-txt h3 { font-size: 1.15rem; }
  .pres-txt ul.pvp { grid-template-columns: 1fr; }
  ul.chips li { font-size: .85rem; padding: 5px 10px; }
}

/* ---------------------------------------------------------------- D-428c Startseite clean + Praesentation mit 28 Features */

.toc h2 { margin: 0 0 14px; font-size: 1.2rem; }
.toc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 26px; }
.toc-h { display: block; font-weight: 700; color: var(--gold-hi); padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px solid var(--bronze-dim); }
.toc-h b { color: var(--gold); font-family: Georgia, "Times New Roman", serif; margin-inline-end: 4px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc ol a { display: flex; gap: 10px; color: var(--text); font-size: .93rem; padding: 2px 0; }
.toc ol a span { color: var(--gold); font: 700 .8rem/1.9 Georgia, "Times New Roman", serif; min-width: 1.6em; }
.toc ol a:hover { color: var(--gold-hi); }

.fx { scroll-margin-top: 80px; display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: center; padding: 24px 26px;
  border: 1px solid var(--bronze-dim); border-radius: var(--r); background: linear-gradient(180deg, var(--win-top), var(--win-bot)); }
.chapter .fx:not(.wide):nth-of-type(even) { grid-template-columns: 7fr 5fr; }
.chapter .fx:not(.wide):nth-of-type(even) .fx-media { order: -1; }
.fx.wide { grid-template-columns: minmax(0, 1fr); }
.fx > *, .fx-media > * { min-width: 0; }
.page.sys, .chapter { grid-template-columns: minmax(0, 1fr); }
.fx.wide .fx-txt { max-width: 78ch; }
.fx-no { display: inline-block; font: 700 1.5rem/1 Georgia, "Times New Roman", serif; color: var(--gold); margin: 0 10px 8px 0;
  text-shadow: 0 0 18px rgba(142, 38, 32, .7); vertical-align: middle; }
.badge { display: inline-block; vertical-align: middle; margin-bottom: 8px; padding: 3px 10px; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; }
.badge.free { color: #0d1a0d; background: var(--good); }
.badge.prem { color: #1a1206; background: var(--gold); }
.fx-txt h3 { font-size: 1.45rem; margin-bottom: .35em; }
.fx-txt > p { color: var(--text); opacity: .9; margin: 0 0 14px; max-width: 70ch; }
.also { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.also > span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.fx-txt ul.pvp { margin-top: 14px; }
.fx-media { display: grid; gap: 14px; min-width: 0; }
.fx.wide .fx-media { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
.fx.wide .fx-media .shot.row { grid-column: 1 / -1; }
.fx-media .shot:not(.row) img { max-width: 100%; margin-inline: auto; }
.fx:not(.wide) .fx-media .shot:not(.row) img { width: auto; }
.emblem { display: grid; place-items: center; gap: 10px; padding: 34px 20px; text-align: center; border: 1px solid var(--bronze);
  border-radius: var(--r); background: radial-gradient(circle at 50% 40%, rgba(142, 38, 32, .35), transparent 70%), var(--inset); }
.emblem svg { width: 96px; height: 96px; fill: var(--gold); filter: drop-shadow(0 0 18px rgba(230, 200, 140, .35)); }
.emblem b { font-size: 1.2rem; color: var(--gold-hi); letter-spacing: .04em; }
#toc { scroll-margin-top: 80px; }

@media (max-width: 1080px) {
    .toc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .fx, .chapter .fx:not(.wide):nth-of-type(even) { grid-template-columns: minmax(0, 1fr); }
  .chapter .fx:not(.wide):nth-of-type(even) .fx-media { order: 0; }
}
@media (max-width: 760px) {
          .toc-grid { grid-template-columns: 1fr; gap: 14px; }
  .fx { padding: 16px 14px; gap: 16px; }
  .fx-txt h3 { font-size: 1.2rem; }
  .fx-no { font-size: 1.25rem; }
  .fx.wide .fx-media { grid-template-columns: minmax(0, 1fr); }
}

/* D-431d Landingpage (Stakeholder 20.11.: „landingpage einfach clean … mit unserem artwork“): Gemaelde fuellt den Bildschirm,
   drei Knoepfe, darunter nur News. Dritter Knopf "Praesentation" zurueckhaltend. */
.btn.ghost { background: rgba(9, 10, 13, .45); border-color: var(--bronze-dim); }
.btn.ghost:hover { border-color: var(--gold); }
.p-start .news-band { margin-top: 40px; }
