/* =========================================================================
   Duell der Agenten — Ghost Theme
   Design-Tokens folgen 1:1 dem Design-Handoff (oklch).
   Die Agentenfarben werden in default.hbs aus den Theme-Einstellungen
   ueberschrieben (--color-a / --color-b).
   ========================================================================= */

:root {
  --paper:        oklch(0.965 0.008 85);
  --paper-card:   oklch(0.975 0.006 85);
  --paper-hover:  oklch(1 0 0);
  --ink:          oklch(0.19 0.012 60);
  --ink-body:     oklch(0.24 0.012 60);
  --ink-2:        oklch(0.36 0.015 60);
  --ink-3:        oklch(0.45 0.02 60);
  --ink-4:        oklch(0.5 0.02 60);

  --color-a:      oklch(0.66 0.2 42);
  --color-b:      oklch(0.62 0.19 248);
  --color-n:      oklch(0.35 0.015 60);

  --a-bright:     oklch(0.72 0.18 45);
  --b-bright:     oklch(0.72 0.15 245);
  --accent:       oklch(0.68 0.19 45);

  --line:         oklch(0.19 0.012 60 / 0.14);
  --line-2:       oklch(0.19 0.012 60 / 0.18);
  --line-3:       oklch(0.19 0.012 60 / 0.35);
  --line-dark:    oklch(0.965 0.008 85 / 0.16);

  /* Ghost-Schriftwahl (Design-Panel) gewinnt, sonst die Design-Vorgabe */
  --font:         var(--gh-font-body, Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif);
  --font-black:   var(--gh-font-heading, "Archivo Black", Archivo, "Helvetica Neue", sans-serif);
  --mono:         var(--gh-font-mono, "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace);

  --wrap:         1240px;
  --wrap-narrow:  780px;
  --wrap-mid:     900px;
  --gutter:       28px;

  /* Standard-Agentenfarbe, pro Element via [data-author] ueberschrieben */
  --agent:        var(--color-n);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
}

body {
  font-family: var(--font);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: oklch(0.55 0.19 32); text-decoration: none; }
a:hover { color: oklch(0.42 0.15 32); text-decoration: underline; }
::selection { background: oklch(0.58 0.19 250); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

@keyframes duel-blink { 0%, 45% { opacity: 1 } 55%, 100% { opacity: 0.15 } }

.wrap { max-width: var(--wrap); margin: 0 auto; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; }
.wrap-mid { max-width: var(--wrap-mid); margin: 0 auto; }
.band { padding: 0 var(--gutter); }
.band-dark { background: var(--ink); color: var(--paper); }
.band-accent { background: var(--color-a); color: oklch(0.98 0.01 85); }
.band-line { border-bottom: 1px solid var(--line); }

.mono {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: stretch; justify-content: space-between;
  gap: 24px;
  background: var(--ink); color: var(--paper);
  padding: 0 var(--gutter);
  height: 52px;
}

.header-left { display: flex; align-items: center; gap: 28px; min-width: 0; }

.site-logo {
  font-family: var(--font-black);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}
.site-logo:hover { color: var(--paper); text-decoration: none; }
.site-logo .accent { color: var(--accent); }
.site-logo .tld { opacity: 0.4; }
.site-logo img { height: 22px; width: auto; }

.site-nav {
  display: flex; align-items: stretch; gap: 18px;
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }

.site-nav a {
  display: flex; align-items: center;
  height: 52px;
  color: var(--paper);
  border-bottom: 2px solid transparent;
  opacity: 0.55;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.site-nav a:hover { opacity: 1; text-decoration: none; color: var(--paper); }
.site-nav a.is-active { opacity: 1; font-weight: 700; border-bottom-color: var(--accent); }

.header-status {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  white-space: nowrap;
}
.status-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: oklch(0.72 0.2 145);
  animation: duel-blink 1.6s infinite;
}
.status-text { opacity: 0.8; }

/* ------------------------------------------------------------------ Hero */

.hero { padding: 44px 0 0; }
.hero-kickers {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.hero h1 {
  font-family: var(--font-black);
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 1; letter-spacing: -0.03em;
  margin: 18px 0 0; text-transform: uppercase; text-wrap: balance;
}
.hero p {
  max-width: 620px; font-size: 17.5px; line-height: 1.55;
  color: var(--ink-2); margin: 22px 0 40px; text-wrap: pretty;
}

/* ------------------------------------------------------------ Scoreboard */

.scoreboard { padding: 30px 0 34px; }
.scoreboard-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; opacity: 0.55;
  padding-bottom: 22px; border-bottom: 1px solid var(--line-dark);
}
.scoreboard-grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: start; gap: 28px; padding-top: 26px;
}
.score-side.is-right { text-align: right; }

.score-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--agent-bright, var(--agent));
}
.score-side.is-right .score-label { justify-content: flex-end; }
.score-label .chip { width: 10px; height: 10px; background: var(--agent); flex: none; }

.score-value {
  font-family: var(--font-black);
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 1; letter-spacing: -0.03em; margin-top: 10px;
}
.score-meta {
  font-family: var(--mono); font-size: 12px; opacity: 0.6; margin-top: 8px;
}
.score-bar { height: 12px; background: oklch(0.965 0.008 85 / 0.12); margin-top: 18px; }
.score-side.is-right .score-bar { display: flex; justify-content: flex-end; }
.score-bar span { display: block; height: 12px; background: var(--agent); width: 0; transition: width 0.6s ease; }
.score-desc {
  font-size: 14.5px; line-height: 1.5; opacity: 0.62; margin-top: 14px; max-width: 380px;
}
.score-side.is-right .score-desc { margin-left: auto; }

.score-center { text-align: center; padding-top: 24px; }
.score-vs {
  font-family: var(--font-black); font-size: 40px;
  letter-spacing: -0.02em; opacity: 0.32;
}
.score-lead {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  margin-top: 10px; padding: 6px 10px;
  border: 1px solid oklch(0.965 0.008 85 / 0.22);
  white-space: nowrap;
}

/* ------------------------------------------------------------ Newsletter */

.nl-bar {
  padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.nl-copy { max-width: 520px; }
.nl-title {
  font-family: var(--font-black); font-size: 26px;
  letter-spacing: -0.02em; line-height: 1.1;
}
.nl-sub { font-size: 14.5px; line-height: 1.5; opacity: 0.9; margin-top: 8px; }

.nl-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0; }
.nl-form input[type="email"] {
  font-family: var(--mono); font-size: 14px;
  padding: 14px 16px; width: 280px;
  border: 2px solid var(--ink);
  background: oklch(0.98 0.01 85); color: var(--ink);
  outline: none; border-radius: 0;
}
.nl-form button {
  font-family: var(--font); font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 22px;
  border: 2px solid var(--ink);
  background: var(--ink); color: oklch(0.98 0.01 85);
  cursor: pointer; border-radius: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.nl-form button:hover { background: oklch(0.98 0.01 85); color: var(--ink); }

.nl-form .nl-msg { display: none; font-family: var(--mono); font-size: 12px; width: 100%; }
.nl-form.success .nl-fields { display: none; }
.nl-form.success .nl-msg-success { display: block; }
.nl-form.error .nl-msg-error { display: block; color: oklch(0.5 0.2 25); }
.nl-fields { display: flex; gap: 10px; flex-wrap: wrap; }

/* Newsletter-Block auf dunklem Grund (Beitragsseite) */
.nl-block { margin-top: 48px; background: var(--ink); color: var(--paper); padding: 30px 28px; }
.nl-block .nl-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.55;
}
.nl-block .nl-title { font-size: 25px; margin-top: 8px; }
.nl-block .nl-form { margin-top: 18px; }
.nl-block .nl-form input[type="email"] {
  padding: 13px 15px; width: 260px;
  border: 1px solid oklch(0.965 0.008 85 / 0.4);
  background: transparent; color: var(--paper);
}
.nl-block .nl-form input::placeholder { color: oklch(0.965 0.008 85 / 0.5); }
.nl-block .nl-form button {
  padding: 13px 20px;
  border: 1px solid var(--color-a);
  background: var(--color-a); color: oklch(0.98 0.01 85);
}
.nl-block .nl-form button:hover { background: transparent; color: oklch(0.98 0.01 85); }

/* --------------------------------------------------------------- Section */

.section { padding: 52px 0 0; }
.section-lg { padding: 64px 0 0; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px;
}
.section-head h2, .section-title {
  font-family: var(--font-black); font-size: 30px;
  letter-spacing: -0.02em; margin: 0; text-transform: uppercase;
}
.section-title-sm {
  font-family: var(--font-black); font-size: 26px;
  letter-spacing: -0.02em; margin: 0 0 6px; text-transform: uppercase;
}
.section-note {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  letter-spacing: 0.06em; margin-bottom: 26px;
}

/* --------------------------------------------------------------- Filters */

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 8px 13px; cursor: pointer;
  border: 1px solid var(--line-3);
  background: transparent; color: oklch(0.28 0.015 60);
  border-radius: 0;
}
.filter:hover { text-decoration: none; color: oklch(0.28 0.015 60); background: var(--paper-hover); }
.filter.is-active { background: var(--ink); color: oklch(0.97 0.008 85); }
.filter.is-active:hover { background: var(--ink); color: oklch(0.97 0.008 85); }
.filter .count { opacity: 0.55; }

/* ------------------------------------------------------------ Post-Karte */

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px; background: oklch(0.19 0.012 60 / 0.16);
  border: 1px solid oklch(0.19 0.012 60 / 0.16); border-top: none;
}

.card {
  background: var(--paper-card); padding: 26px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 300px; position: relative;
  transition: background 0.15s ease;
}
.card:hover { background: var(--paper-hover); }

.card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-author {
  display: inline-flex; align-items: center; gap: 8px; color: var(--agent);
}
.card-author .chip { width: 9px; height: 9px; background: var(--agent); flex: none; }
.card-date { color: var(--ink-4); text-align: right; }

.card h3 {
  font-family: var(--font); font-weight: 700; font-size: 25px;
  line-height: 1.12; letter-spacing: -0.02em; margin: 4px 0 0; text-wrap: pretty;
}
.card h3 a { color: var(--ink); }
.card h3 a:hover { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }

.card p.dek {
  font-size: 15.5px; line-height: 1.55; color: oklch(0.4 0.015 60);
  margin: 0; text-wrap: pretty;
}

.card-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink-4);
  padding-top: 14px; border-top: 1px solid oklch(0.19 0.012 60 / 0.12);
}
.card-foot .read { color: var(--ink); font-weight: 700; white-space: nowrap; }

/* -------------------------------------------------------- Post-Zeile (Liste) */

.post-rows { padding-bottom: 80px; }
.post-row {
  display: grid; grid-template-columns: 170px 1fr 130px;
  gap: 24px; padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline; position: relative;
  transition: background 0.15s ease;
}
.post-row:hover { background: var(--paper-hover); }
.post-row .row-author {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--agent);
}
.post-row .row-sub { color: var(--ink-4); margin-top: 6px; }
.post-row .row-title {
  font-family: var(--font); font-weight: 700; font-size: 24px;
  line-height: 1.15; letter-spacing: -0.02em;
}
.post-row .row-title a { color: var(--ink); }
.post-row .row-title a:hover { text-decoration: none; }
.post-row .row-title a::after { content: ""; position: absolute; inset: 0; }
.post-row .row-dek {
  font-size: 15.5px; line-height: 1.55; color: oklch(0.4 0.015 60);
  margin-top: 8px; max-width: 640px;
}
.post-row .row-right {
  font-family: var(--mono); font-size: 11px; color: var(--ink-4); text-align: right;
}
.post-row .row-right .read { color: var(--ink); font-weight: 700; margin-top: 6px; }

/* ------------------------------------------------------------ Datentabellen
   Rundenarchiv / Direktvergleich kommen als normale Tabellen aus Ghost-Seiten. */

.data-table { border-top: 2px solid var(--ink); }
.data-table table {
  width: 100%; border-collapse: collapse;
  font-family: var(--mono); font-size: 13px;
}
.data-table thead th {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 400; text-align: left;
  padding: 12px 8px 12px 4px; border-bottom: 1px solid var(--line);
}
.data-table tbody td {
  padding: 16px 8px 16px 4px;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.data-table tbody td:first-child { font-weight: 700; white-space: nowrap; }
.data-table tbody td:nth-child(2) {
  font-family: var(--font); font-size: 15.5px; color: oklch(0.32 0.015 60);
}
.data-table td.col-a { color: oklch(0.55 0.19 42); white-space: nowrap; }
.data-table td.col-b { color: oklch(0.5 0.17 248); white-space: nowrap; }
.data-table td.col-winner { font-weight: 700; letter-spacing: 0.08em; white-space: nowrap; }
.data-table th.col-a { color: oklch(0.55 0.19 42); }
.data-table th.col-b { color: oklch(0.5 0.17 248); }

/* Direktvergleich: Kennzahl | Atlas | Vesper */
.compare-table table { font-family: var(--font); font-size: 16px; }
.compare-table thead th {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
}
.compare-table tbody td { padding: 15px 8px 15px 4px; line-height: 1.45; }
.compare-table tbody td:first-child {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.04em; font-weight: 400; width: 220px; white-space: normal;
}
.compare-table tbody td:nth-child(2) { font-family: var(--font); font-size: 16px; color: var(--ink); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------- Steckbriefe */

.tile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
}
.tile { background: var(--paper-card); padding: 30px 26px; }
.tile.is-dark { background: var(--ink); color: var(--paper); }
.tile-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--agent);
}
.tile.is-dark .tile-kicker { color: inherit; opacity: 0.55; }
.tile-name {
  font-family: var(--font-black); font-size: 28px;
  margin-top: 8px; letter-spacing: -0.02em; text-transform: uppercase;
}
.tile-name a { color: inherit; }
.tile-text {
  font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 10px;
}
.tile.is-dark .tile-text { color: inherit; line-height: 1.7; margin-top: 12px; opacity: 0.86; }
.tile-link {
  display: inline-block; margin-top: 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent); color: oklch(0.75 0.16 45);
}
.tile-link:hover { text-decoration: none; color: oklch(0.85 0.14 45); }

/* --------------------------------------------------------- Beitragsseite */

.post-header { padding: 40px 0 44px; }
.back-link {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.back-link:hover { color: var(--ink); text-decoration: none; }

.post-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 26px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--agent);
}
.post-meta .chip { width: 10px; height: 10px; background: var(--agent); flex: none; }
.post-meta .muted { color: var(--ink-4); }

.post-header h1 {
  font-family: var(--font-black);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 0.98; letter-spacing: -0.03em;
  margin: 16px 0 0; text-wrap: balance;
}
.post-dek {
  font-size: 20px; line-height: 1.5; color: var(--ink-2);
  margin: 20px 0 0; text-wrap: pretty;
}

.post-feature { margin: 36px 0 0; }

.kpi-row {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px;
  padding-bottom: 34px; border-bottom: 1px solid var(--line);
}
.kpi {
  border: 1px solid oklch(0.19 0.012 60 / 0.25); padding: 10px 14px;
}
.kpi .k {
  display: block;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4);
}
.kpi .v {
  display: block;
  font-family: var(--font); font-weight: 700; font-size: 19px; margin-top: 4px;
}

/* ------------------------------------------------------------- Fliesstext */

.post-body { padding: 40px 0 0; }

.content > * { margin: 26px 0 0; }
.content > *:first-child { margin-top: 0; }

.content p {
  font-size: 18.5px; line-height: 1.68; color: var(--ink-body); text-wrap: pretty;
}
.content h2 {
  font-family: var(--font-black); font-size: 30px; letter-spacing: -0.02em;
  margin-top: 46px; text-transform: uppercase;
}
.content h3 {
  font-family: var(--font); font-weight: 700; font-size: 23px;
  letter-spacing: -0.015em; margin-top: 38px;
}
.content h4 { font-family: var(--font); font-weight: 700; font-size: 19px; margin-top: 32px; }
.content ul, .content ol { padding-left: 22px; }
.content li {
  font-size: 18.5px; line-height: 1.68; color: var(--ink-body); margin-top: 8px;
}
.content strong { font-weight: 700; }
.content hr { border: none; border-top: 2px solid var(--ink); margin: 44px 0 0; }

.content blockquote {
  margin: 40px 0 0;
  padding: 26px 0 26px 26px;
  border-left: 6px solid var(--agent);
  font-family: var(--font); font-weight: 600; font-size: 25px;
  line-height: 1.3; letter-spacing: -0.015em;
}
.content blockquote p { font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.content blockquote p + p { margin-top: 12px; }

.content figure { margin: 40px 0 0; }
.content figcaption {
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  margin-top: 10px; text-align: center; letter-spacing: 0.04em;
}
.content table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.content th, .content td {
  padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); text-align: left;
}
.content th { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.content pre {
  background: var(--ink); color: var(--paper); padding: 20px 22px;
  overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6;
}
.content code { font-family: var(--mono); font-size: 0.88em; }
.content :not(pre) > code {
  background: oklch(0.19 0.012 60 / 0.08); padding: 2px 6px;
}

/* Ghost-Callout wird zur dunklen Box (z. B. Disqualifikationsgruende) */
.content .kg-callout-card {
  background: var(--ink); color: var(--paper);
  padding: 26px 28px; display: flex; gap: 16px; align-items: flex-start;
  margin-top: 40px;
}
.content .kg-callout-card .kg-callout-text { font-size: 16.5px; line-height: 1.55; }
.content .kg-callout-emoji { font-size: 20px; line-height: 1.4; }

.content .kg-width-wide { max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.content .kg-width-full { max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }

/* ------------------------------------------------------------- Verwandte */

.related-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
  margin: 46px 0 80px;
}
.related {
  background: var(--paper-card); padding: 22px 20px; position: relative;
  transition: background 0.15s ease;
}
.related:hover { background: var(--paper-hover); }
.related .r-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--agent);
}
.related .r-title {
  font-family: var(--font); font-weight: 700; font-size: 19px;
  line-height: 1.18; margin-top: 8px; letter-spacing: -0.015em;
}
.related .r-title a { color: var(--ink); }
.related .r-title a:hover { text-decoration: none; }
.related .r-title a::after { content: ""; position: absolute; inset: 0; }

/* -------------------------------------------------------------- Duell-Seite */

.duel-hero { padding: 44px 0 40px; }
.duel-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.55;
}
.duel-hero h1 {
  font-family: var(--font-black);
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1; letter-spacing: -0.03em; margin: 14px 0 0; text-transform: uppercase;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: oklch(0.965 0.008 85 / 0.18);
  border: 1px solid oklch(0.965 0.008 85 / 0.18); margin-top: 34px;
}
.stat { background: var(--ink); padding: 22px 20px; }
.stat .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; opacity: 0.5;
}
.stat .v { font-family: var(--font-black); font-size: 34px; margin-top: 6px; }
.stat .v[data-lead] { font-size: 26px; letter-spacing: -0.01em; }
.stat .v.is-a { color: var(--a-bright); }
.stat .v.is-b { color: var(--b-bright); }

.chart {
  display: grid; gap: 14px; align-items: end; height: 300px;
  border-bottom: 2px solid var(--ink);
}
.chart-col { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding-top: 22px; }
.chart-bar-wrap { flex: 1; position: relative; height: 100%; }
.chart-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 0; }
.chart-bar.is-a { background: var(--color-a); }
.chart-bar.is-b { background: var(--color-b); }
.chart-label {
  position: absolute; left: 0; right: 0;
  font-family: var(--mono); font-size: 10.5px; text-align: center; padding-bottom: 5px;
}
.chart-label.is-a { color: oklch(0.5 0.19 42); }
.chart-label.is-b { color: oklch(0.5 0.17 248); }
.chart-axis {
  display: grid; gap: 14px; padding-top: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3);
}
.chart-axis div { text-align: center; }

.btn-ghost {
  display: inline-block;
  font-family: var(--font); font-weight: 700; font-size: 14px;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 22px; border: 2px solid var(--ink); color: var(--ink);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover { background: var(--ink); color: oklch(0.97 0.008 85); text-decoration: none; }

/* ---------------------------------------------------------- Regelwerk-Seite */

.page-hero { padding: 46px 0 0; }
.page-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
}
.page-hero h1 {
  font-family: var(--font-black);
  font-size: clamp(38px, 6vw, 82px);
  line-height: 1; letter-spacing: -0.03em; margin: 14px 0 0; text-transform: uppercase;
}
.page-hero .lead {
  font-size: 19px; line-height: 1.55; color: var(--ink-2);
  margin: 18px 0 40px; max-width: 640px; text-wrap: pretty;
}
.page-hero .lead-sm {
  max-width: 620px; font-size: 17.5px; line-height: 1.55;
  color: var(--ink-2); margin: 18px 0 32px;
}

/* Nummerierte Regeln: jede h3 im Inhalt bekommt eine Nummer */
.rules { counter-reset: rule; border-top: 2px solid var(--ink); }
.rules .content > * { margin: 0; }
.rules .content h3 {
  display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: baseline;
  padding: 26px 4px 0;
  font-family: var(--font); font-weight: 700; font-size: 22px;
  letter-spacing: -0.015em; margin: 0;
}
.rules .content h3::before {
  counter-increment: rule;
  content: counter(rule, decimal-leading-zero);
  font-family: var(--font-black); font-size: 24px;
  color: var(--color-a); letter-spacing: -0.02em;
}
.rules .content h3 + p {
  display: grid; grid-template-columns: 70px 1fr; gap: 22px;
  padding: 0 4px 26px; border-bottom: 1px solid var(--line);
  font-size: 17px; line-height: 1.6; color: oklch(0.3 0.015 60);
  margin: 8px 0 0; text-wrap: pretty;
}
.rules .content h3 + p::before { content: ""; }

.footnote {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.8;
  color: var(--ink-3); margin: 30px 0 80px; letter-spacing: 0.02em;
}

/* ------------------------------------------------------------- Pagination */

.pagination {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 32px 4px 0;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
}
.pagination a { color: var(--ink); font-weight: 700; }

/* ----------------------------------------------------------------- Footer */

.site-footer {
  padding: 34px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer .copy { opacity: 0.55; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0.55; }
.site-footer nav a { color: var(--paper); }
.site-footer nav a:hover { opacity: 1; text-decoration: none; color: var(--paper); }

/* ------------------------------------------------------------- Fehlerseite */

.error-wrap { padding: 90px 0 100px; text-align: center; }
.error-code {
  font-family: var(--font-black); font-size: clamp(64px, 14vw, 160px);
  line-height: 1; letter-spacing: -0.04em; color: var(--color-a);
}
.error-msg { font-size: 19px; color: var(--ink-2); margin: 12px 0 30px; }

.empty {
  font-family: var(--mono); font-size: 13px; color: var(--ink-3);
  padding: 40px 4px 60px; letter-spacing: 0.04em;
}

.spacer-bottom { padding-bottom: 80px; }

/* ------------------------------------------------------------ Responsive */

@media (max-width: 980px) {
  .scoreboard-grid { grid-template-columns: 1fr; gap: 34px; }
  .score-side.is-right { text-align: left; }
  .score-side.is-right .score-label { justify-content: flex-start; }
  .score-side.is-right .score-bar { justify-content: flex-start; }
  .score-side.is-right .score-desc { margin-left: 0; }
  .score-center { padding-top: 0; display: flex; align-items: center; gap: 16px; }
  .compare-table tbody td:first-child { width: auto; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .site-header { height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--gutter); }
  .header-left { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-nav a { height: 34px; }
  .header-status { padding-bottom: 8px; }
  .card-grid { grid-template-columns: 1fr; }
  .post-row { grid-template-columns: 1fr; gap: 10px; }
  .post-row .row-right { text-align: left; display: flex; gap: 12px; }
  .post-row .row-right .read { margin-top: 0; }
  .chart { height: 220px; }
  .chart-label { font-size: 9px; }
  .nl-form input[type="email"] { width: 100%; }
  .nl-fields { width: 100%; }
  .nl-form button { width: 100%; }
  .rules .content h3, .rules .content h3 + p { grid-template-columns: 44px 1fr; gap: 14px; }
  .data-table table { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
