/* ─────────────────────────────────────────────────────────────────────
   ANTHROPIC ACADEMY INSPIRED · TILED LAYOUT
   Warm cream background, deep ink text, clay-orange accent.
   Fraunces (display) for character, Noto Serif for readable body.
   ─────────────────────────────────────────────────────────────────── */

:root {
  /* Anthropic palette */
  --cream: #F5F1EB;
  --cream-light: #FAF7F2;
  --cream-warm: #EDE4D3;
  --paper: #FFFFFF;

  --ink: #141413;        /* Anthropic's deep near-black */
  --ink-body: #2E2A24;
  --ink-soft: #5C544A;
  --ink-muted: #8B7F70;

  --clay: #C96442;       /* Claude orange */
  --clay-deep: #A04E32;
  --clay-soft: #F0E0D2;
  --clay-glow: #E8B69A;
  --clay-bg: #FAEEE3;

  --moss: #6B7F5F;       /* secondary accent */
  --moss-soft: #DDE4D2;

  --line: #DDD4C2;
  --line-soft: #EDE6D8;

  --code-bg: #2B2622;
  --code-text: #E8DFD0;

  --font-display: "Fraunces", "Charter", Georgia, serif;
  --font-body: "Noto Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;

  --shadow-1: 0 1px 2px rgba(20, 20, 19, 0.04);
  --shadow-2: 0 4px 12px rgba(20, 20, 19, 0.06);
  --shadow-3: 0 12px 32px rgba(20, 20, 19, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-body);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(201, 100, 66, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(107, 127, 95, 0.04) 0%, transparent 35%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* ─── Layout primitives ──────────────────────────────────────────── */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.row {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}
.row.cols-2 { grid-template-columns: 1fr 1fr; }
.row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.row.cols-2-1 { grid-template-columns: 2fr 1fr; }
.row.cols-1-2 { grid-template-columns: 1fr 2fr; }

@media (max-width: 900px) {
  .row.cols-2, .row.cols-3, .row.cols-2-1, .row.cols-1-2 { grid-template-columns: 1fr; }
}

/* ─── Header / Hero ─────────────────────────────────────────────── */

header.hero {
  padding: 80px 0 56px;
  position: relative;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  background: var(--clay-soft);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 100, 66, 0.18);
  margin-bottom: 28px;
}
.tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clay);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 900px;
  font-variation-settings: "opsz" 100;
}

.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144;
  color: var(--clay);
}

.hero .lede {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 720px;
  margin-top: 28px;
}

.meta-strip {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 13px;
}
.meta-strip .item { display: flex; flex-direction: column; gap: 4px; }
.meta-strip .label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.meta-strip .value { color: var(--ink); font-weight: 500; }

/* ─── Section heading ───────────────────────────────────────────── */

.section-head {
  margin: 56px 0 24px;
}
.section-head .eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 10px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 760px;
}
.section-head h2 em {
  font-style: italic;
  color: var(--clay);
}

/* ─── Cards (the tiled grid) ────────────────────────────────────── */

.card {
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--clay-soft);
}

.card.feature {
  background: var(--paper);
  border-color: var(--line);
}

.card.accent {
  background: var(--clay-bg);
  border-color: rgba(201, 100, 66, 0.2);
}

.card.dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.card.dark h3, .card.dark .card-eyebrow { color: var(--cream); }
.card.dark p { color: rgba(245, 241, 235, 0.78); }
.card.dark .card-eyebrow { color: var(--clay-glow); }

.card.moss {
  background: var(--moss-soft);
  border-color: rgba(107, 127, 95, 0.2);
}
.card.moss .card-eyebrow { color: var(--moss); }

.card-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-eyebrow .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--clay);
  color: var(--paper);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.card.dark .card-eyebrow .num { background: var(--clay); color: var(--paper); }
.card.moss .card-eyebrow .num { background: var(--moss); color: var(--paper); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
}
.card h3 em {
  font-style: italic;
  color: var(--clay);
}

.card p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.card p:last-child { margin-bottom: 0; }

.card strong { color: var(--ink); font-weight: 600; }

.card ul {
  list-style: none;
  margin: 8px 0;
}
.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  background: var(--clay);
  border-radius: 50%;
  transform: translateY(-50%);
}
.card.dark ul li { color: rgba(245, 241, 235, 0.78); }
.card.dark ul li::before { background: var(--clay-glow); }
.card.moss ul li::before { background: var(--moss); }

.card .big-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--clay);
  margin-bottom: 8px;
  font-variation-settings: "opsz" 144;
}
.card.dark .big-number { color: var(--clay-glow); }

.card .stat-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}
.card.dark .stat-label { color: rgba(245, 241, 235, 0.7); }

/* Decorative SVG corner */
.card .corner-mark {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  opacity: 0.3;
}

/* ─── Model spec card ───────────────────────────────────────────── */

.model-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.model-card .role {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.model-card .model-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.model-card .spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.model-card .spec-row:last-of-type { border-bottom: none; }
.model-card .spec-row .key {
  font-family: var(--font-display);
  color: var(--ink-muted);
  font-weight: 500;
}
.model-card .spec-row .val {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 13px;
}
.model-card .why {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  font-style: italic;
}

/* ─── Pipeline diagram ──────────────────────────────────────────── */

.pipeline {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px;
  margin-bottom: 20px;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  align-items: center;
}
@media (max-width: 900px) {
  .pipeline-grid { grid-template-columns: 1fr; }
  .pipeline-grid .arrow { transform: rotate(90deg); justify-self: center; }
}
.pipeline-step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}
.pipeline-step.highlight {
  background: var(--clay-bg);
  border-color: var(--clay);
}
.pipeline-step .step-icon {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--clay);
  font-weight: 600;
}
.pipeline-step .step-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.pipeline-step .step-sub {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.35;
  font-family: var(--font-display);
}
.pipeline-grid .arrow {
  text-align: center;
  color: var(--ink-muted);
  font-size: 22px;
  font-family: var(--font-display);
}

/* ─── Decision banner ───────────────────────────────────────────── */

.decision-banner {
  background: var(--ink);
  color: var(--cream);
  border-radius: 20px;
  padding: 40px 36px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.decision-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 100, 66, 0.18) 0%, transparent 60%);
  pointer-events: none;
}
.decision-banner .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-glow);
  margin-bottom: 16px;
  font-weight: 600;
}
.decision-banner .badge::before {
  content: '✓';
  color: var(--clay-glow);
  font-weight: 700;
}
.decision-banner h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 700px;
  margin-bottom: 12px;
  color: var(--cream);
}
.decision-banner h3 em {
  font-style: italic;
  color: var(--clay-glow);
}
.decision-banner p {
  color: rgba(245, 241, 235, 0.78);
  max-width: 680px;
  font-size: 16px;
  line-height: 1.6;
}

/* ─── Comparison table ──────────────────────────────────────────── */

.compare-table {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
}
.compare-table .row-c {
  display: grid;
  grid-template-columns: 1fr 110px 2fr;
  gap: 0;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.compare-table .row-c:last-child { border-bottom: none; }
.compare-table .row-c.head {
  background: var(--cream-warm);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}
.compare-table .row-c .key {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
}
.compare-table .row-c .status {
  font-family: var(--font-display);
  font-size: 13px;
}
.compare-table .row-c .status.bad { color: #B85530; font-weight: 600; }
.compare-table .row-c .status.good { color: var(--moss); font-weight: 600; }
.compare-table .row-c .desc {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .compare-table .row-c { grid-template-columns: 1fr; gap: 6px; }
}

/* ─── Quote block ────────────────────────────────────────────── */

.quote {
  background: var(--clay-bg);
  border-left: 4px solid var(--clay);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 20px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 400;
}
.quote .attribution {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-style: normal;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}

/* ─── Code block ────────────────────────────────────────────── */

pre {
  background: var(--code-bg);
  color: var(--code-text);
  padding: 24px 28px;
  border-radius: 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  margin: 20px 0;
  position: relative;
}
pre::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--clay);
  border-radius: 16px 0 0 16px;
}
code {
  font-family: var(--font-mono);
  background: var(--cream-warm);
  color: var(--ink);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.85em;
}
pre code { background: transparent; padding: 0; color: inherit; }

/* ─── Phases timeline ────────────────────────────────────────── */

.phases {
  display: grid;
  gap: 14px;
}
.phase {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  align-items: center;
  transition: border-color 0.2s ease;
}
.phase:hover { border-color: var(--clay-soft); }
.phase .num-big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  color: var(--clay);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.phase .info h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.phase .info p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.phase .duration {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--cream-warm);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .phase { grid-template-columns: 60px 1fr; }
  .phase .duration { grid-column: 1 / -1; justify-self: start; }
}

/* ─── Slot grid ────────────────────────────────────────────── */

.slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .slots { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .slots { grid-template-columns: 1fr; } }

.slot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
}
.slot .slot-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.slot .slot-flow {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.slot .slot-flow .arrow { color: var(--clay); margin: 0 4px; }
.slot .slot-use {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ─── Footer ────────────────────────────────────────────────── */

footer {
  margin-top: 80px;
  padding: 48px 0 80px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 14px;
  font-family: var(--font-display);
}
footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
footer h5 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
  font-weight: 600;
}
footer a {
  color: var(--ink-soft);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.15s ease;
}
footer a:hover { color: var(--clay); }
footer .copy {
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-muted);
  font-size: 13px;
}

/* ─── Misc ────────────────────────────────────────────────── */

.text-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 36px;
}
.text-block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}
.text-block p {
  color: var(--ink-body);
  margin-bottom: 14px;
}
.text-block p:last-child { margin-bottom: 0; }
.text-block strong { color: var(--ink); }

.label-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  background: var(--cream-warm);
  border-radius: 999px;
  color: var(--ink-body);
  border: 1px solid var(--line);
}
.pill.accent {
  background: var(--clay-soft);
  border-color: rgba(201, 100, 66, 0.2);
  color: var(--clay-deep);
}
.pill.moss {
  background: var(--moss-soft);
  border-color: rgba(107, 127, 95, 0.2);
  color: var(--moss);
}

::selection { background: var(--clay-glow); color: var(--ink); }

/* ─── Ergänzungen agentic.gasperl.at ─────────────────────────── */

.topnav {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
}
.topnav .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topnav .brand { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.topnav .brand em { color: var(--clay); font-style: italic; }
.topnav .back { color: var(--ink-soft); text-decoration: none; font-size: 14px; }
.topnav .back:hover { color: var(--clay); }

a.card { display: block; text-decoration: none; color: inherit; }
a.card .more {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--clay);
}
a.card.dark .more { color: var(--clay-glow); }
.card.soon { opacity: 0.62; }
.card.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }

.card p a, .text-block a { color: var(--clay-deep); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  font-size: 14.5px;
  margin-bottom: 20px;
}
.data-table th {
  background: var(--cream-warm);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink);
  padding: 14px 20px;
}
.data-table td { padding: 14px 20px; border-top: 1px solid var(--line-soft); color: var(--ink-soft); vertical-align: top; }
.data-table td:first-child { color: var(--ink); font-weight: 600; font-family: var(--font-display); }
.table-wrap { overflow-x: auto; }

.warn-list .card { padding: 22px 24px; }
.warn-list .card p { font-size: 15px; }

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  header.hero { padding: 48px 0 36px; }
  .card { padding: 24px; }
  .decision-banner { padding: 30px 24px; }
  .decision-banner h3 { font-size: 26px; }
  footer .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Grafiken ───────────────────────────────────────────────── */

.chart {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 20px;
}
.chart h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.chart .sub { color: var(--ink-muted); font-size: 14px; margin-top: 4px; }
.chart figcaption, .figure-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* Balken: eine Reihe, Werte direkt beschriftet */
.bars { display: grid; gap: 12px; margin-top: 24px; }
.bar-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr 64px;
  align-items: center;
  gap: 14px;
}
.bar-label { font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.bar-label small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-muted); }
.bar-track { height: 24px; background: var(--line-soft); border-radius: 0 4px 4px 0; }
.bar-fill { height: 100%; background: #B9AE9C; border-radius: 0 4px 4px 0; min-width: 4px; }
.bar-fill.hi { background: var(--clay); }
.bar-fill.good { background: var(--moss); }
.bar-value { font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-align: right; }
.bar-row:hover .bar-fill { filter: brightness(0.92); }
.bar-row:hover .bar-label { color: var(--clay-deep); }
@media (max-width: 600px) {
  .bar-row { grid-template-columns: 1fr 56px; row-gap: 6px; }
  .bar-label { grid-column: 1 / -1; }
}

/* Organigramm */
.org {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 32px 32px;
  margin-bottom: 20px;
}
.org-node {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  font-family: var(--font-display);
  background: var(--cream);
  position: relative;
}
.org-node .t { font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.org-node .m { font-family: var(--font-mono); font-size: 12px; color: var(--clay-deep); margin-top: 4px; }
.org-node .s { font-size: 12.5px; color: var(--ink-muted); margin-top: 6px; line-height: 1.4; }
.org-node.main { background: var(--ink); border-color: var(--ink); max-width: 360px; margin: 0 auto; }
.org-node.main .t { color: var(--cream); }
.org-node.main .m { color: var(--clay-glow); }
.org-node.main .s { color: rgba(245, 241, 235, 0.7); }
.org-node.main::after {
  content: ''; position: absolute; left: 50%; bottom: -21px; width: 2px; height: 20px; background: var(--line);
}
.org-node.ghost { background: transparent; border-style: dashed; }
.org-node.ghost .t { color: var(--ink-muted); }
.org-node.review { background: var(--clay-bg); border-color: rgba(201, 100, 66, 0.35); }
.org-level {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 20px;
  padding-top: 20px;
}
.org-level::before {
  content: ''; position: absolute; top: 0; left: calc(100% / 6); right: calc(100% / 6); height: 2px; background: var(--line);
}
.org-level > .org-node::before {
  content: ''; position: absolute; top: -21px; left: 50%; width: 2px; height: 20px; background: var(--line);
}
.org-level > .org-node.ghost::before { background: repeating-linear-gradient(to bottom, var(--line) 0 4px, transparent 4px 8px); }
.org-step {
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin: 26px 0 14px;
}
.org-step::before { content: '↓'; display: block; font-size: 20px; letter-spacing: 0; color: var(--clay); margin-bottom: 6px; }
.org-review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.org-ban {
  margin-top: 18px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--clay-deep);
}
@media (max-width: 760px) {
  .org-level { grid-template-columns: 1fr; gap: 26px; }
  .org-level::before { left: 50%; right: auto; width: 2px; height: 0; }
  .org-level > .org-node::before { top: -27px; height: 26px; }
  .org-review { grid-template-columns: 1fr; }
}

/* Ring */
.donut-wrap { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; }
.donut { width: 180px; height: 180px; }
.donut .track { stroke: var(--line-soft); }
.donut .val { stroke: var(--clay); }
.donut text { font-family: var(--font-display); fill: var(--ink); }
.legend { display: grid; gap: 10px; font-family: var(--font-display); font-size: 14px; color: var(--ink-soft); }
.legend .sw { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
@media (max-width: 600px) { .donut-wrap { grid-template-columns: 1fr; justify-items: center; } }

/* Dateien: wächst gegen überschrieben */
.files { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 760px) { .files { grid-template-columns: 1fr; } }
.file {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
}
.file .fname { font-family: var(--font-mono); font-size: 15px; color: var(--ink); }
.file .fverb { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin: 4px 0 18px; }
.file .fverb.grow { color: var(--moss); }
.file .fverb.over { color: var(--clay); }
.entries { display: grid; gap: 6px; }
.entry {
  border-radius: 8px;
  padding: 7px 12px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.entry.new { background: var(--moss-soft); border-color: rgba(107, 127, 95, 0.35); color: var(--ink); }
.entry.fixed { background: var(--clay-bg); border-color: rgba(201, 100, 66, 0.3); color: var(--clay-deep); }
.sheets { position: relative; height: 230px; margin-top: 8px; }
.sheet {
  position: absolute;
  inset: 18px 18px 0 0;
  background: var(--cream-light);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.sheet.old2 { transform: translate(18px, -18px); opacity: 0.35; }
.sheet.old1 { transform: translate(9px, -9px); opacity: 0.6; }
.sheet.cur { background: var(--paper); box-shadow: var(--shadow-2); }
.sheet .sl { padding: 4px 0; border-bottom: 1px dashed var(--line-soft); }
.sheet .sl:last-child { border-bottom: none; }
.sheet .sl b { color: var(--ink); font-weight: 500; }

/* SemVer-Anatomie */
.semver {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 32px 36px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 20px;
}
.semver .part { text-align: center; flex: 0 1 220px; }
.semver .digit {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(76px, 13vw, 150px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144;
  color: var(--ink);
}
.semver .minor .digit { color: var(--clay); }
.semver .patch .digit { color: var(--moss); }
.semver .dot {
  font-family: var(--font-display);
  font-size: clamp(76px, 13vw, 150px);
  line-height: 1;
  color: var(--line);
}
.semver .bar { height: 4px; border-radius: 4px; background: var(--ink); margin: 14px auto 12px; width: 60%; }
.semver .minor .bar { background: var(--clay); }
.semver .patch .bar { background: var(--moss); }
.semver .lbl { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--ink); }
.semver .desc { font-size: 14px; color: var(--ink-soft); margin-top: 4px; line-height: 1.4; }
@media (max-width: 600px) {
  .semver { padding: 32px 14px 26px; gap: 2px; }
  .semver .desc { font-size: 12.5px; }
}

/* Versionspfad */
.vpath { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vchip {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  min-width: 92px;
}
.vchip .v { font-family: var(--font-mono); font-size: 16px; color: var(--ink); font-weight: 500; }
.vchip .w { font-family: var(--font-display); font-size: 11.5px; color: var(--ink-muted); margin-top: 2px; }
.vchip.brk { background: var(--ink); border-color: var(--ink); }
.vchip.brk .v { color: var(--cream); }
.vchip.brk .w { color: var(--clay-glow); }
.vchip.new { background: var(--clay-bg); border-color: rgba(201, 100, 66, 0.3); }
.vchip.fix { background: var(--moss-soft); border-color: rgba(107, 127, 95, 0.3); }
.vchip.milestone { background: var(--paper); border: 2px solid var(--clay); }
.varrow { color: var(--ink-muted); font-family: var(--font-display); font-size: 18px; }
.vlegend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-family: var(--font-display); font-size: 13px; color: var(--ink-soft); }
.vlegend span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; border: 1px solid var(--line); }
.vlegend .l-brk::before { background: var(--ink); }
.vlegend .l-new::before { background: var(--clay-bg); }
.vlegend .l-fix::before { background: var(--moss-soft); }

/* Bereichsanzeige ^ */
.range-row { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.range-row:last-child { border-bottom: none; }
.range-row .op { font-family: var(--font-mono); font-size: 17px; color: var(--ink); }
.range-row .vs { display: flex; flex-wrap: wrap; gap: 8px; }
.rv { font-family: var(--font-mono); font-size: 13px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.rv.ok { background: var(--moss-soft); color: var(--ink); }
.rv.ok::before { content: '✓ '; color: var(--moss); font-weight: 700; }
.rv.no { background: transparent; color: var(--ink-muted); text-decoration: line-through; }
.rv.no::before { content: '✗ '; color: #B85530; text-decoration: none; display: inline-block; margin-right: 3px; }

.pipeline-grid.six { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .pipeline-grid.six { grid-template-columns: repeat(2, 1fr); } }

.card.dark strong, .decision-banner strong { color: var(--cream); }
.card.dark code { background: rgba(245, 241, 235, 0.14); color: var(--cream); }

@media (max-width: 600px) { .hero .lede { font-size: 18px; } .card h3 { font-size: 23px; } }
