/* ---------- Landing (/, /articles/de/) ---------- */

:root {
  --paper: #ECECE6;
  --ink: #0E0E0C;
  --ink-2: #2B2B27;
  --ink-3: #6E6E66;
  --rule: rgba(14,14,12,0.18);
  --rule-strong: rgba(14,14,12,0.55);
  --grid: rgba(14,14,12,0.05);
  --grid-strong: rgba(14,14,12,0.10);
  --hi: #0E0E0C;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--mono);
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* corner crosses */
.corner-cross {
  position: fixed;
  width: 14px; height: 14px;
  pointer-events: none;
  z-index: 50;
}
.corner-cross::before, .corner-cross::after {
  content: ''; position: absolute; background: var(--ink);
}
.corner-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.corner-cross::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.cc-tl { top: 16px; left: 16px; }
.cc-tr { top: 16px; right: 16px; }
.cc-bl { bottom: 16px; left: 16px; }
.cc-br { bottom: 16px; right: 16px; }

/* header */
header {
  position: relative;
  border-bottom: 1px solid var(--ink);
  padding: 14px 56px 14px 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: var(--paper);
  z-index: 10;
}
.id-block {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.id-block .row { display: flex; gap: 18px; }
.id-block b { color: var(--ink); font-weight: 500; }

.header-mark {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
}
.header-mark svg { width: 18px; height: 20px; color: var(--ink); }
.header-mark .name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}

.header-right {
  display: flex; justify-content: flex-end; gap: 4px;
  font-size: 10px; letter-spacing: 0.12em;
}
.header-right .lang {
  border: 1px solid var(--ink);
  padding: 6px 10px;
  text-transform: uppercase;
  font-family: var(--mono);
  cursor: pointer;
  background: var(--paper);
  color: var(--ink);
}
.header-right .lang.active { background: var(--ink); color: var(--paper); }

/* hero — graph IS the page */
.hero {
  position: relative;
  height: 78vh;
  min-height: 620px;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.hero-graph {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero-overlay {
  position: absolute; inset: 0;
  padding: 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  pointer-events: none;
}
.hero-overlay > * { pointer-events: auto; }

.hero-meta {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}
.hero-meta .left { display: flex; gap: 28px; }
.hero-meta .right { display: flex; gap: 28px; }

.hero-headline {
  align-self: end;
  max-width: 760px;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 28px 32px;
  margin-top: auto;
}
.hero-headline .kicker {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.hero-headline .kicker::before {
  content: ''; width: 8px; height: 8px; background: var(--ink); display: inline-block;
}
.hero-headline h1 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.hero-headline h1 .em { font-style: normal; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.hero-headline p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
}

.hero-foot {
  display: flex; justify-content: space-between; align-items: end;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-2);
}

/* index — editorial cards */
.index {
  padding: 64px 56px 64px;
  border-bottom: 1px solid var(--ink);
}
.index-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 32px;
}
.index-head h2 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.index-head .meta {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}

.grid-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.article-card {
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  position: relative;
  min-height: 280px;
  background: var(--paper);
}
.article-card:hover { background: rgba(14,14,12,0.04); }
.article-card .head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.article-card .head .cat {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 2px 8px;
  color: var(--ink);
  letter-spacing: 0.18em;
}
.article-card .head .no { color: var(--ink-3); letter-spacing: 0.08em; align-self: center; }
.article-card .title {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.article-card .summary {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 50ch;
}
.article-card .foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.article-card .foot .who { color: var(--ink); }

/* featured spans 2 columns */
.article-card.feat {
  grid-column: span 2;
  background: var(--paper);
  min-height: 360px;
}
.article-card.feat::before {
  content: '◆ FEATURED — ';
  position: absolute;
  top: 28px; left: 28px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink);
}

html:lang(de) .article-card.feat::before {
  content: '◆ HERVORGEHOBEN — ';
}

.article-card.feat .head { padding-top: 18px; }
.article-card.feat .title {
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.article-card.feat .summary {
  max-width: 56ch;
  font-size: 13px;
}

/* footer */
footer {
  position: relative;
  padding: 64px 56px 32px;
  overflow: hidden;
  isolation: isolate;
}
.footer-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: block;
}
.footer-mark {
  width: 100%;
  height: auto;
  color: var(--ink);
  display: block;
  margin-bottom: 32px;
}
.footer-strip {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.footer-strip a { color: var(--ink-2); text-decoration: none; }
.footer-strip a:hover { color: var(--ink); }
.footer-strip .right { display: flex; gap: 24px; }

/* graph svg */
.hero-graph .grid-bg line { stroke: var(--grid-strong); stroke-width: 1; }
.hero-graph .axis line { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 2 4; }
.hero-graph .axis text {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em;
  fill: var(--ink-3); text-transform: uppercase;
}
.hero-graph .edge { stroke: var(--ink-2); stroke-width: 0.6; fill: none; }
.hero-graph .node circle.outer { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.hero-graph .node circle.inner { fill: var(--ink); }
.hero-graph .node text {
  font-family: var(--mono); font-size: 10px; fill: var(--ink);
  letter-spacing: 0.04em;
}
.hero-graph .node .coord {
  font-family: var(--mono); font-size: 8.5px; fill: var(--ink-3);
  letter-spacing: 0.06em;
}
.hero-graph .frame {
  fill: none; stroke: var(--ink); stroke-width: 1;
}
.hero-graph .crosshair line { stroke: var(--ink-3); stroke-width: 0.5; stroke-dasharray: 1 3; }

@media (max-width: 900px) {
  header { padding: 14px 24px; grid-template-columns: 1fr auto; gap: 12px; }
  header .id-block { display: none; }
  .hero { min-height: 0; height: 70vh; }
  .hero-overlay { padding: 24px; }
  .hero-meta { flex-direction: column; gap: 10px; }
  .hero-meta .left, .hero-meta .right { gap: 16px; flex-wrap: wrap; }
  .hero-headline { padding: 20px 22px; max-width: 100%; }
  .hero-headline h1 { font-size: 30px; }
  .index { padding: 40px 24px; }
  .grid-articles { grid-template-columns: 1fr; }
  .article-card { padding: 22px 20px 20px; }
  .article-card.feat { grid-column: span 1; min-height: 280px; }
  .article-card.feat .title { font-size: 26px; }
  footer { padding: 48px 24px 24px; }
  .footer-strip { flex-direction: column; gap: 12px; }
  .footer-strip .right { gap: 14px; flex-wrap: wrap; }
}

/* phones */
@media (max-width: 600px) {
  .corner-cross { width: 10px; height: 10px; }
  .cc-tl, .cc-bl { left: 10px; }
  .cc-tr, .cc-br { right: 10px; }
  .cc-tl, .cc-tr { top: 10px; }
  .cc-bl, .cc-br { bottom: 10px; }
  header { padding: 10px 14px; }
  .header-mark { padding: 6px 10px; gap: 8px; }
  .header-mark svg { width: 14px; height: 16px; }
  .header-mark .name { font-size: 9px; letter-spacing: 0.22em; }
  .header-right { gap: 3px; }
  .header-right .lang { padding: 5px 8px; font-size: 9px; }
  .hero { height: auto; min-height: 0; }
  .hero-graph { opacity: 0.55; }
  .hero-overlay { padding: 16px; position: relative; height: auto; min-height: 460px; }
  .hero-meta { font-size: 9px; letter-spacing: 0.12em; }
  .hero-meta .left, .hero-meta .right { gap: 10px; }
  .hero-headline { padding: 16px 18px; }
  .hero-headline .kicker { font-size: 9px; margin-bottom: 10px; }
  .hero-headline h1 { font-size: 24px; line-height: 1.1; }
  .hero-headline p { font-size: 12px; }
  .hero-foot { font-size: 9px; }
  .index { padding: 28px 16px; }
  .index-head { grid-template-columns: 1fr; gap: 8px; align-items: start; }
  .index-head h2 { font-size: 18px; }
  .article-card { padding: 18px 16px; min-height: 220px; gap: 10px; }
  .article-card .title { font-size: 16px; }
  .article-card.feat { padding-top: 36px; min-height: 240px; }
  .article-card.feat::before { top: 16px; left: 16px; font-size: 9px; }
  .article-card.feat .title { font-size: 22px; max-width: 100%; }
  .article-card.feat .summary { font-size: 12px; }
  footer { padding: 32px 16px 16px; }
  .footer-mark { margin-bottom: 18px; }
}
