/* =================================================================
   Cheat Sheet — Meine Arbeitsweise
   Brand: Dark Green / Gold / Cream — Editorial Brutalist
   ================================================================= */

:root {
  --green: #1A472A;
  --green-deep: #133520;
  --green-darker: #0E2818;
  --gold: #D4AF37;
  --gold-soft: #F4E4A6;
  --gold-bright: #E8C552;
  --paper: #FFFFFF;
  --ink: #1B1B1B;
  --muted: #6B6B6B;
  --line: #E6E1D5;
  --line-strong: #C9C2B0;
  --bg: #F7F4EC;
  --cream: #FBF9F2;
  --danger: #B43A2E;
  --warm-red: #C8562F;

  --font-display: "Epilogue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;

  --shadow-card: 0 18px 40px rgba(0,0,0,0.22);
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.10);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --nav-height: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--green);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-top: var(--nav-height);
  padding-bottom: 80px;
  line-height: 1.5;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }

/* =================================================================
   Layout
   ================================================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 22px;
}

.container--narrow { max-width: 880px; }

.section { margin-bottom: 56px; }
.section:last-child { margin-bottom: 0; }

/* =================================================================
   Top Navigation
   ================================================================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--green-deep);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.15s ease;
  position: relative;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav-item.active {
  color: var(--green-deep);
  background: var(--gold);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font: inherit;
}

.dropdown-trigger:hover { color: #fff; }

.dropdown-trigger::after {
  content: "▾";
  font-size: 9px;
  opacity: 0.7;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--green-darker);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 10px;
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu .nav-item {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}

.dropdown-menu .nav-item.active {
  background: var(--gold);
  color: var(--green-deep);
}

/* Lang Toggle */
.lang-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 2px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.lang-toggle button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.lang-toggle button.active {
  background: var(--gold);
  color: var(--green-deep);
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  width: 40px;
  height: 40px;
  position: relative;
}

.burger span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--gold);
  transition: all 0.2s ease;
}

.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }

.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--green-darker);
  border-bottom: 1px solid rgba(212,175,55,0.2);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 99;
}

.mobile-menu.open { max-height: 80vh; overflow-y: auto; }

.mobile-menu-inner { padding: 14px 22px 22px; }

.mobile-menu .nav-item {
  display: block;
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.mobile-menu .mobile-section-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 14px 16px 8px;
}

/* =================================================================
   Hero
   ================================================================= */

.hero {
  padding: 24px 0 48px;
  color: #fff;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.eyebrow.center { justify-content: center; }

.stage-number {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 140px);
  font-weight: 900;
  color: var(--gold);
  line-height: 0.85;
  letter-spacing: -4px;
  margin-bottom: 12px;
}

h1.title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 14px;
}

h1.title .accent {
  background: linear-gradient(180deg, transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%);
  padding: 0 4px;
}

.subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 28px;
  line-height: 1.5;
  max-width: 680px;
}

/* Gold Strip */
.gold-strip {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%);
  margin: 32px 0;
  border-radius: 2px;
}

.gold-strip--short {
  width: 80px;
  margin: 18px 0 24px;
}

/* =================================================================
   Cards
   ================================================================= */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 30px;
}

.card-cream {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 30px;
}

.card-green {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 28px 30px;
  border-left: 4px solid var(--gold);
}

.card h2, .card h3,
.card-cream h2, .card-cream h3 {
  font-family: var(--font-display);
  color: var(--green-deep);
  margin-bottom: 12px;
  line-height: 1.2;
}

.card-cream h3 { font-size: 19px; font-weight: 700; }
.card-cream p, .card p { font-size: 15px; line-height: 1.6; color: var(--ink); }

/* Vision Card (prominent) */
.vision-card {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 32px 36px;
  margin: 32px 0;
}

.vision-card .vision-text {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--green-deep);
}

/* Mental Model Grid */
.mental-model {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}

.mm-col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  position: relative;
}

.mm-col-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.mm-col h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 18px;
  line-height: 1.2;
}

.mm-col ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.mm-col ul li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}

.mm-col ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
}

.mm-col ul li.emphasis {
  font-weight: 700;
  color: var(--green-deep);
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

/* Quick-Reference Cards */
.quick-ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.quick-ref-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

.quick-ref-card .cmd {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--green-deep);
  background: var(--paper);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid var(--line);
}

.quick-ref-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
}

/* =================================================================
   Steps (numbered)
   ================================================================= */

.steps {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.step {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 26px 22px 72px;
  position: relative;
}

.step-number {
  position: absolute;
  left: 22px;
  top: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}

.step p:last-child { margin-bottom: 0; }

/* Code block */
.code-block {
  font-family: var(--font-mono);
  font-size: 13.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--green-deep);
  margin: 12px 0;
  overflow-x: auto;
  line-height: 1.5;
}

.code-block.dark {
  background: var(--green-darker);
  color: var(--gold-soft);
  border-color: rgba(212,175,55,0.3);
}

.code-inline {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--paper);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--green-deep);
}

/* Callout */
.callout {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 24px;
  margin: 24px 0;
}

.callout-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.callout p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}

.callout--caution {
  border-left-color: var(--warm-red);
}

.callout--caution .callout-label {
  color: var(--warm-red);
}

.callout--info {
  border-left-color: var(--green);
}

.callout--info .callout-label {
  color: var(--green);
}

/* Mega-Callout: für kritische Regeln */
.callout-mega {
  background: var(--cream);
  border: 3px solid var(--gold);
  border-radius: 16px;
  padding: 42px 44px 36px;
  margin: 40px 0;
  position: relative;
  box-shadow: 0 0 0 6px rgba(212,175,55,0.20), 0 24px 60px rgba(0,0,0,0.25);
}

.callout-mega-badge {
  position: absolute;
  top: -18px;
  left: 30px;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.callout-mega-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.callout-mega-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: var(--green-deep);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.4px;
}

.callout-mega-title .accent {
  background: linear-gradient(180deg, transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%);
  padding: 0 4px;
}

.callout-mega-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}

.callout-mega-body em {
  font-style: normal;
  font-weight: 700;
  color: var(--green-deep);
  background: rgba(212,175,55,0.22);
  padding: 1px 6px;
  border-radius: 3px;
}

.callout-mega-body strong {
  color: var(--green-deep);
  font-weight: 700;
}

@media (max-width: 560px) {
  .callout-mega { padding: 32px 22px 24px; }
  .callout-mega-badge { left: 18px; }
}

/* =================================================================
   Flowchart (SVG)
   ================================================================= */

.flowchart-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  margin: 32px 0;
}

.flowchart-wrap h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 6px;
}

.flowchart-wrap .subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.flowchart svg {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.flow-box {
  fill: var(--paper);
  stroke: var(--green);
  stroke-width: 2;
  transition: all 0.2s ease;
  cursor: pointer;
}

.flow-box-link:hover .flow-box {
  fill: var(--gold);
  stroke: var(--gold);
}

.flow-box-link:hover .flow-label {
  fill: var(--green-deep);
}

.flow-box--start, .flow-box--stop {
  fill: var(--green-deep);
  stroke: var(--gold);
}

.flow-box-link:hover .flow-box--start,
.flow-box-link:hover .flow-box--stop {
  fill: var(--gold);
  stroke: var(--gold);
}

.flow-label {
  fill: var(--green-deep);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.flow-label--light {
  fill: #fff;
}

.flow-sub {
  fill: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.flow-sub--light {
  fill: rgba(255,255,255,0.7);
}

.flow-line {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}

.flow-arrow {
  fill: var(--gold);
}

.flow-group-label {
  fill: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-anchor: middle;
}

/* =================================================================
   Decision Tree
   ================================================================= */

.decision-tree {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

.dt-root {
  background: var(--green-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold);
  display: inline-block;
  margin-bottom: 24px;
}

.dt-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dt-branch {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  border-top: 3px solid var(--gold);
}

.dt-q {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 14px;
  line-height: 1.35;
}

.dt-arrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.dt-leaf {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.dt-leaf strong {
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 700;
}

.dt-leaf .cmd-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  background: var(--green-darker);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
}

/* =================================================================
   Setup Photo (Annotated)
   ================================================================= */

.setup-photo {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}

.setup-photo-frame {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--green-darker) 0%, var(--green-deep) 100%);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.setup-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.setup-annotation {
  position: absolute;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.setup-photo-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* =================================================================
   Video Embed
   ================================================================= */

.video-wrap {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* =================================================================
   Comparison Table
   ================================================================= */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}

.compare-col {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.compare-col-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.compare-col h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 12px;
}

.compare-col p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 10px;
}

.compare-col.preferred {
  border-left: 4px solid var(--gold);
  background: var(--paper);
}

.preferred-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

/* =================================================================
   Prev/Next Nav
   ================================================================= */

.prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.pn-link {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  color: #fff;
  transition: all 0.15s ease;
  display: block;
}

.pn-link:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
}

.pn-link.next { text-align: right; }

.pn-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pn-link.next .pn-label { justify-content: flex-end; }

.pn-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

/* =================================================================
   Footer
   ================================================================= */

.footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 22px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer a { color: var(--gold); }

/* =================================================================
   Utility
   ================================================================= */

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.4px;
}

h2.section-title .accent {
  background: linear-gradient(180deg, transparent 62%, var(--gold) 62%, var(--gold) 92%, transparent 92%);
  padding: 0 4px;
}

h3.block-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--gold);
}

/* On dark hero context */
.on-dark { color: #fff; }
.on-dark p, .on-dark li { color: rgba(255,255,255,0.85); }

/* =================================================================
   Responsive
   ================================================================= */

@media (max-width: 900px) {
  .nav-items.desktop { display: none; }
  .nav-skills-pill { display: none; }
  .burger { display: block; }

  .mental-model,
  .compare,
  .dt-branches { grid-template-columns: 1fr; }

  .quick-ref-grid { grid-template-columns: 1fr; }

  .container { padding: 40px 18px; }

  .step { padding-left: 60px; }
  .step-number { left: 18px; }

  .prev-next-nav { grid-template-columns: 1fr; }
  .pn-link.next { text-align: left; }
  .pn-link.next .pn-label { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .card, .card-cream, .card-green,
  .vision-card,
  .mm-col, .quick-ref-card,
  .flowchart-wrap, .decision-tree,
  .video-wrap, .setup-photo {
    padding: 22px 20px;
  }

  .step { padding: 18px 18px 18px 56px; }
  .step-number { left: 16px; font-size: 19px; }

  h1.title { font-size: 32px; }
  .stage-number { font-size: 80px; }

  .lang-toggle { display: none; }
  .mobile-menu .lang-toggle { display: inline-flex; margin: 12px 16px; }
}

/* =================================================================
   Skills — Prompt Block (dark terminal style)
   ================================================================= */

.prompt-block {
  background: var(--green-darker);
  border: 1px solid rgba(212,175,55,0.28);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 22px 20px;
  margin: 16px 0 6px;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.prompt-block-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-block-label::before {
  content: "›";
  font-size: 14px;
}

.prompt-block pre {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gold-soft);
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: auto;
}

.prompt-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-top: 10px;
  font-style: italic;
}

/* =================================================================
   Nav — Skills Pill (visuell vom Workflow-Flow abgesetzt)
   ================================================================= */

.nav-skills-pill {
  position: relative;
  margin: 0 14px 0 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(212,175,55,0.28);
  list-style: none;
  display: inline-flex;
  align-items: center;
}

.nav-skills-pill .dropdown-trigger {
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.15s ease;
}

.nav-skills-pill .dropdown-trigger::after { content: "▾"; margin-left: 4px; }

.nav-skills-pill .dropdown-trigger:hover,
.nav-skills-pill.open .dropdown-trigger,
.nav-skills-pill .dropdown-trigger.active {
  background: var(--gold);
  color: var(--green-deep);
}

.nav-skills-pill .dropdown-menu {
  right: 0;
  left: auto;
  min-width: 240px;
}

/* Mobile: Skills section am Ende abgesetzt */
.mobile-menu .mobile-skills-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(212,175,55,0.20);
}

.mobile-menu .mobile-skills-section .mobile-section-label {
  margin-top: 0;
}

/* =================================================================
   Skills — Step Cards Grid (Index Page)
   ================================================================= */

.step-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.step-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 24px 22px;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  display: block;
  color: var(--ink);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold);
}

.step-card .step-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 8px;
  line-height: 1.25;
}

.step-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 768px) {
  .step-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .step-cards { grid-template-columns: 1fr; }
}

/* =================================================================
   Skills — Decision Tree (Skill vs. Project)
   ================================================================= */

.skill-tree {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  overflow-x: auto;
}

.skill-tree svg {
  width: 100%;
  height: auto;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

.st-root {
  fill: var(--green-deep);
  stroke: var(--gold);
  stroke-width: 2;
}

.st-box {
  fill: var(--cream);
  stroke: var(--gold);
  stroke-width: 2;
  transition: fill 0.15s ease;
}

.st-box-group:hover .st-box { fill: var(--gold-soft); }

.st-line {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}

.st-label {
  fill: var(--green-deep);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
}

.st-label--light { fill: #fff; }

.st-sub {
  fill: var(--ink);
  font-family: var(--font-body);
  font-size: 12px;
  text-anchor: middle;
}

.st-branch-label {
  fill: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  letter-spacing: 0.5px;
}

/* =================================================================
   Skills — Compare Table (Skill vs. Project)
   ================================================================= */

.compare-table {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 4px;
  margin: 24px 0;
  overflow-x: auto;
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  font-size: 14.5px;
  line-height: 1.5;
}

.compare-table thead th {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

.compare-table thead th:first-child {
  color: var(--green-deep);
}

.compare-table tbody td:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--green-deep);
  width: 22%;
  white-space: nowrap;
}

.compare-table tbody tr + tr td {
  border-top: 1px solid var(--line);
}

/* =================================================================
   Skills — Step Header (Page-Hero variant)
   ================================================================= */

.step-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* =================================================================
   Skills — Checklist Page (printable)
   ================================================================= */

.print-hint {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 24px;
  padding: 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
}

.checklist-block {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 16px;
}

.checklist-block h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.checklist-block ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.checklist-block ul li {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  padding-left: 28px;
  position: relative;
}

.checklist-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 3px;
  background: var(--paper);
}

@media print {
  .nav, .mobile-menu, .prev-next-nav, .print-hint, .footer { display: none !important; }
  body { background: #fff; padding-top: 0; }
  .container { padding: 20px; max-width: 100%; }
  .hero { color: var(--ink); padding: 8px 0 16px; }
  h1.title { color: var(--green-deep); font-size: 28px; }
  h1.title .accent { background: none; color: var(--gold); }
  .subtitle { color: var(--muted); }
  .checklist-block { break-inside: avoid; }
}

