/* monzogaming.com – Marke „Clean": Papier #F5F5F0, Tinte #111111, Lime #A6F000, Bebas Neue */
@font-face { font-family: "Bebas Neue"; src: url("/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --lime: #A6F000;
  --lime-deep: #8BCB00;
  --paper: #F5F5F0;
  --ink: #111111;

  /* dunkel ist Standard (Gaming) */
  --bg: #0D0D0C;
  --bg-raised: #171715;
  --bg-sunken: #090908;
  --line: #262623;
  --grid: rgba(245, 245, 240, 0.035);
  --text: #F5F5F0;
  --text-muted: #B3B3AA;
  --text-faint: #8A8A82;
  --accent-text: var(--lime);      /* Lime als Schrift nur auf dunklem Grund */
  --on-accent: #111111;
  --focus: var(--lime);
  --shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 40px -24px rgba(0,0,0,0.9);

  --font-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.94rem);
  --step-0: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-1: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
  --step-2: clamp(1.8rem, 1.5rem + 1.3vw, 2.6rem);
  --step-3: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem);
  --step-4: clamp(3.4rem, 2rem + 6.5vw, 7.5rem);

  --radius: 10px;
  --max: 1180px;
  --read: 70ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #F5F5F0; --bg-raised: #FFFFFF; --bg-sunken: #ECECE5; --line: #DCDCD3;
  --grid: rgba(17, 17, 17, 0.045); --text: #111111; --text-muted: #45453F; --text-faint: #66665E;
  --accent-text: #3D5A00; --shadow: 0 18px 40px -28px rgba(17,17,17,0.35);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F5F0; --bg-raised: #FFFFFF; --bg-sunken: #ECECE5; --line: #DCDCD3;
    --grid: rgba(17, 17, 17, 0.045); --text: #111111; --text-muted: #45453F; --text-faint: #66665E;
    --accent-text: #3D5A00; --shadow: 0 18px 40px -28px rgba(17,17,17,0.35);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; background-color: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px; background-attachment: fixed;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--ink); }

.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--ink); padding: .6rem 1rem; z-index: 99; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.kopf .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: .9; font-family: var(--font-display); padding-block: .4rem; }
.logo-klein { font-size: .78rem; letter-spacing: .32em; color: var(--text-muted); }
.logo-gross { font-size: 1.9rem; letter-spacing: .04em; position: relative; }
.logo-gross::after { content: ""; display: block; height: 4px; width: 62%; background: var(--lime); margin-top: 2px; }
.nav { margin-left: auto; display: flex; gap: .25rem; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: .55rem .8rem; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; color: var(--text-muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--text); background: var(--bg-raised); }
.nav a[aria-current="page"], .nav a.aktiv { color: var(--text); box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
.nav-knopf { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; min-width: 44px; min-height: 44px; font: inherit; font-weight: 600; cursor: pointer; }
.theme-knopf { background: none; border: 1px solid var(--line); color: var(--text-muted); border-radius: 8px; min-width: 44px; min-height: 44px; cursor: pointer; display: grid; place-items: center; }
.theme-knopf:hover { color: var(--text); }
@media (max-width: 760px) {
  .nav-knopf { display: inline-grid; place-items: center; padding-inline: .8rem; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; }
  .nav.offen { display: flex; }
  .nav a { padding: .85rem .5rem; font-size: 1.1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--lime); padding-left: .9rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; top: -20%; bottom: -20%; right: clamp(-14rem, -8vw, -4rem); width: clamp(9rem, 22vw, 20rem); background: var(--lime); transform: skewX(-12deg); opacity: .95; }
.hero::after { content: ""; position: absolute; top: -20%; bottom: -20%; right: clamp(3rem, 14vw, 18rem); width: 14px; background: var(--text); transform: skewX(-12deg); opacity: .9; }
.hero .wrap { position: relative; z-index: 1; }
.kicker { font-family: var(--font-display); letter-spacing: .28em; font-size: clamp(.95rem, .8rem + .5vw, 1.25rem); color: var(--accent-text); margin: 0 0 .6rem; }
.hero h1 .kicker { display: block; font-size: clamp(.95rem, .8rem + .5vw, 1.25rem); line-height: 1.2; margin-bottom: .6rem; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-4); line-height: .98; letter-spacing: .01em; margin: 0; max-width: 11ch; }
.hero h1 .markiert { background: var(--lime); color: var(--ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-text { max-width: 38rem; font-size: var(--step-1); line-height: 1.4; color: var(--text-muted); margin: 1.4rem 0 0; }
.countdown { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; align-items: stretch; }
.countdown .feld { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: .65rem 1rem .5rem; min-width: 5.2rem; box-shadow: var(--shadow); }
.countdown .zahl { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.countdown .einheit { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); font-weight: 600; }
.countdown .feld.datum { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.countdown .feld.datum .einheit { color: #2c3a00; }

/* ---------- Suche ---------- */
.suche { margin-top: 2.2rem; max-width: 36rem; position: relative; }
.suche label { display: block; font-weight: 600; margin-bottom: .45rem; font-size: .95rem; color: var(--text-muted); }
.suche input { width: 100%; font: inherit; font-size: 1.05rem; padding: .85rem 1rem .85rem 2.8rem; min-height: 52px; border-radius: var(--radius); border: 1px solid var(--text-faint); background: var(--bg-raised); color: var(--text); }
.suche input::placeholder { color: var(--text-faint); }
.suche svg { position: absolute; left: .95rem; bottom: 16px; width: 20px; height: 20px; color: var(--text-faint); pointer-events: none; }
.treffer { list-style: none; margin: .5rem 0 0; padding: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-raised); box-shadow: var(--shadow); }
.treffer:empty { display: none; }
.treffer a { display: block; padding: .8rem 1rem; text-decoration: none; border-top: 1px solid var(--line); }
.treffer li:first-child a { border-top: 0; }
.treffer a:hover, .treffer a:focus-visible { background: var(--bg-sunken); }
.treffer small { display: block; color: var(--text-faint); font-size: .85rem; }

/* ---------- Abschnitte / Karten ---------- */
.abschnitt { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.abschnitt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.abschnitt h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: .95; margin: 0; }
.abschnitt h2 .balken { display: inline-block; width: .5em; height: .5em; background: var(--lime); transform: skewX(-12deg); margin-right: .25em; vertical-align: .08em; }
.mehr-link { font-weight: 700; text-decoration: none; white-space: nowrap; }
.mehr-link::after { content: " →"; }

.raster { display: grid; gap: 1rem; grid-template-columns: repeat(12, 1fr); }
.karte { grid-column: span 4; position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.3rem 1.3rem 1.2rem; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .35s var(--ease), border-color .2s; }
.karte:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--lime) 55%, var(--line)); }
.karte:active { transform: translateY(0); }
.karte .rubrik { font-family: var(--font-display); letter-spacing: .2em; font-size: .9rem; color: var(--accent-text); }
.karte h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1; margin: 0; }
.karte p { margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.5; }
.karte .pfeil { margin-top: auto; padding-top: .6rem; font-weight: 700; font-size: .95rem; }
.karte.gross { grid-column: span 8; grid-row: span 2; background: var(--lime); color: var(--ink); border-color: var(--lime); justify-content: flex-end; min-height: 18rem; overflow: hidden; }
.karte.gross::before { content: ""; position: absolute; right: -2.5rem; top: -2rem; width: 9rem; height: 140%; background: var(--ink); transform: skewX(-12deg); opacity: .08; }
.karte.gross .rubrik { color: #2c3a00; }
.karte.gross h3 { font-size: var(--step-3); max-width: 14ch; }
.karte.gross p { color: #26300a; font-size: 1.1rem; max-width: 44ch; }
@media (max-width: 960px) { .karte { grid-column: span 6; } .karte.gross { grid-column: span 12; grid-row: auto; min-height: 14rem; } }
@media (max-width: 620px) { .karte { grid-column: span 12; } }

.kanal-band { background: var(--ink); color: var(--paper); border-block: 1px solid var(--line); }
:root[data-theme="light"] .kanal-band { background: var(--ink); }
.kanal-band .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.kanal-band h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: .95; margin: 0 0 .8rem; }
.kanal-band p { color: #C9C9C0; margin: 0; max-width: 46ch; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; }
.knopf { display: inline-flex; align-items: center; gap: .6rem; min-height: 50px; padding: .7rem 1.25rem; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .25s var(--ease), background-color .2s; }
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0); }
.knopf.primaer { background: var(--lime); color: var(--ink); }
.knopf.sekundaer { border-color: #3a3a35; color: var(--paper); }
.knopf.sekundaer:hover { border-color: var(--paper); }
.knopf svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .kanal-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Artikel ---------- */
.brotkrumen { font-size: .92rem; color: var(--text-faint); padding-top: 1.4rem; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.brotkrumen li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.brotkrumen a { text-decoration: none; color: var(--text-muted); }
.brotkrumen a:hover { color: var(--text); }

.artikel-kopf { padding: 1.2rem 0 1.6rem; max-width: 52rem; }
.artikel-kopf h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: .95; margin: .3rem 0 .9rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; color: var(--text-faint); font-size: .92rem; }
.meta .stand { display: inline-flex; align-items: center; gap: .4rem; }
.meta .stand::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-bottom: 4rem; }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } }

.kurzantwort { position: relative; background: var(--bg-raised); border: 1px solid var(--line); border-left: 6px solid var(--lime); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin: 0 0 2rem; box-shadow: var(--shadow); }
.kurzantwort .label { font-family: var(--font-display); letter-spacing: .22em; font-size: .95rem; color: var(--accent-text); display: block; margin-bottom: .3rem; }
.kurzantwort p { margin: 0; font-size: var(--step-1); line-height: 1.4; }
.kurzantwort p + p { margin-top: .6rem; font-size: var(--step-0); color: var(--text-muted); }

.prosa { max-width: var(--read); }
.prosa h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1; margin: 2.6rem 0 .8rem; scroll-margin-top: 5rem; }
.prosa h3 { font-size: var(--step-1); line-height: 1.2; margin: 1.8rem 0 .5rem; font-weight: 700; }
.prosa p, .prosa ul, .prosa ol { margin: 0 0 1.1rem; }
.prosa li { margin-bottom: .45rem; }
.prosa li::marker { color: var(--accent-text); font-weight: 700; }
.prosa strong { font-weight: 700; }
.tabelle-huelle { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.prosa table { border-collapse: collapse; width: 100%; font-size: 1rem; min-width: 30rem; }
.prosa th, .prosa td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prosa th { font-weight: 700; background: var(--bg-sunken); }
.prosa tr:last-child td { border-bottom: 0; }
.prosa td.zahl { font-variant-numeric: tabular-nums; white-space: nowrap; }

.status { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 6px; vertical-align: .12em; white-space: nowrap; }
.status.offiziell { background: var(--lime); color: var(--ink); }
.status.offen { background: transparent; color: var(--text); border: 1px dashed var(--text-faint); }

.hinweis { border: 1px dashed var(--text-faint); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1.4rem; color: var(--text-muted); font-size: 1rem; }
.hinweis strong { color: var(--text); }

details.spoiler, details.faq-eintrag { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); margin: 0 0 .7rem; }
details > summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 700; position: relative; min-height: 44px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 1.6rem; color: var(--accent-text); transition: transform .3s var(--ease); }
details[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
details > div { padding: 0 1.2rem 1.1rem; color: var(--text-muted); }
details > div p:last-child { margin-bottom: 0; }

.quellen { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .95rem; color: var(--text-muted); }
.quellen h2 { font-size: var(--step-1); margin-top: 0; }
.quellen ul { padding-left: 1.1rem; }
.quellen a { word-break: break-word; }

.weiter { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.6rem; }
.weiter a { display: block; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--bg-raised); transition: border-color .2s; }
.weiter a:hover { border-color: var(--lime); }
.weiter small { display: block; color: var(--text-faint); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.weiter .naechste { text-align: right; grid-column: 2; }
@media (max-width: 620px) { .weiter { grid-template-columns: 1fr; } .weiter .naechste { grid-column: 1; text-align: left; } }

.seitenleiste { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
.box { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.box h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1; margin: 0 0 .7rem; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li { border-top: 1px solid var(--line); }
.box li:first-child { border-top: 0; }
.box li a { display: block; padding: .6rem 0; text-decoration: none; font-weight: 600; font-size: .98rem; }
.box li a:hover { color: var(--accent-text); }
.box.kanal { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.box.kanal p { margin: 0 0 .9rem; font-size: .98rem; color: #26300a; }
.box.kanal .knopf { background: var(--ink); color: var(--paper); width: 100%; justify-content: center; margin-top: .4rem; }
@media (max-width: 960px) { .seitenleiste { position: static; } }

/* ---------- Video (Zwei-Klick, keine Daten an YouTube vor dem Klick) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); border: 1px solid var(--line); margin: 0 0 2rem; }
.video.hoch { aspect-ratio: 9 / 16; max-width: 17rem; margin-inline: auto; }
.video button { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: .8rem; cursor: pointer; text-align: center; padding: 1.2rem; color: var(--paper); background: radial-gradient(circle at 30% 20%, #1d2a00, var(--ink) 65%); }
.video button:focus-visible { outline: 3px solid var(--lime); outline-offset: -6px; }
.video .play { width: 74px; height: 74px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; transition: transform .3s var(--ease); }
.video button:hover .play { transform: scale(1.07); }
.video .play svg { width: 28px; height: 28px; margin-left: 4px; color: var(--ink); }
.video .video-titel { font-family: var(--font-display); font-size: var(--step-1); letter-spacing: .02em; }
.video small { color: #A8A89F; font-size: .82rem; max-width: 34rem; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Fuss ---------- */
.fuss { border-top: 1px solid var(--line); background: var(--bg-sunken); padding: 3rem 0 2rem; font-size: .95rem; color: var(--text-muted); }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.fuss h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: .08em; color: var(--text); margin: 0 0 .6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.fuss li a:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--lime); }
.fuss .rechtlich { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--text-faint); }
@media (max-width: 760px) { .fuss .spalten { grid-template-columns: 1fr; } }

.leer { padding: 2rem; border: 1px dashed var(--text-faint); border-radius: var(--radius); color: var(--text-muted); }

@media (prefers-contrast: more) {
  :root { --line: #6E6E66; --text-muted: var(--text); --grid: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  body { background: #fff; color: #000; }
  .kopf, .fuss, .seitenleiste, .hero::before, .hero::after { display: none; }
}

/* Handy: Band schmal am Rand halten, damit es keinen Text überdeckt */
@media (max-width: 760px) {
  .hero::before { width: 3.2rem; right: -2.2rem; }
  .hero::after { width: 6px; right: 1.6rem; }
  .hero .wrap > * { max-width: calc(100% - 2.6rem); }
  .hero .suche { max-width: calc(100% - 2.6rem); }
}
