/* === Wirtschaft 10 — Projekt Unternehmensgründung === */

:root {
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --bg-soft: #f1f0ea;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --ink-3: #6b6b66;
  --line: #e6e4dc;
  --line-2: #d8d6cc;
  --accent: oklch(0.64 0.18 38);
  --accent-2: oklch(0.92 0.05 80);
  --accent-soft: oklch(0.96 0.03 60);
  --green: oklch(0.6 0.13 150);
  --blue: oklch(0.55 0.13 240);
  --violet: oklch(0.55 0.18 290);
  --yellow: oklch(0.85 0.13 90);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04), 0 0 0 1px var(--line);
  --shadow-md: 0 4px 14px rgba(10, 10, 10, 0.06), 0 0 0 1px var(--line);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.display {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-feature-settings: 'tnum';
}

a { color: inherit; }

/* === Top progress bar === */
.progressbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 100;
  pointer-events: none;
}
.progressbar > div {
  height: 100%;
  background: var(--accent);
  width: 0;
  transition: width 0.1s linear;
}

/* === Header / Nav === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(250, 250, 247, 0.85);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-family: 'Inter Tight';
  letter-spacing: -0.02em;
}
.nav-logo .dot {
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 5px;
  position: relative;
}
.nav-logo .dot::after {
  content: '';
  position: absolute;
  right: -3px; bottom: -3px;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 3px;
  border: 2px solid var(--bg);
}
.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-meta {
  font-size: 12px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}

/* === Container === */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
section:last-of-type { border-bottom: none; }

/* === Hero === */
.hero {
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.hero-tag .pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.64 0.18 38 / 0.5); }
  70% { box-shadow: 0 0 0 8px oklch(0.64 0.18 38 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.64 0.18 38 / 0); }
}
.hero h1 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
  max-width: 14ch;
}
.hero h1 .accent {
  background: linear-gradient(180deg, transparent 60%, var(--accent-2) 60%);
  padding: 0 0.1em;
}
.hero-lead {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 36px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 48px;
}
.hero-stat {
  background: var(--bg);
  padding: 22px 22px;
}
.hero-stat .num {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
}

/* === Section header === */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-head .label::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
}
.section-head h2 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 12px 0 0;
  max-width: 22ch;
}
.section-head .desc {
  max-width: 42ch;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
}

/* === Timeline === */
.timeline {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 40px;
}
.tl-cell {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 14px 16px;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
  text-align: left;
  font: inherit;
  color: inherit;
}
.tl-cell:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.tl-cell.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tl-cell .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  opacity: 0.6;
}
.tl-cell .h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.5;
}
.tl-cell .t {
  font-family: 'Inter Tight';
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 12px;
  letter-spacing: -0.01em;
}
.tl-cell .bar {
  height: 3px;
  background: var(--accent);
  margin-top: 12px;
  width: 0;
  transition: width 0.3s;
}
.tl-cell.active .bar { width: 100%; background: var(--accent); }

/* === Accordion === */
.acc {
  display: grid;
  gap: 8px;
}
.acc-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.acc-item.open {
  box-shadow: var(--shadow-md);
}
.acc-trigger {
  width: 100%;
  background: none;
  border: 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 60px 1fr auto auto;
  gap: 24px;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.acc-trigger:hover .acc-title { color: var(--accent); }
.acc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
}
.acc-title {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  transition: color 0.15s;
}
.acc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}
.acc-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.acc-icon::before {
  content: '+';
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
}
.acc-item.open .acc-icon {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.acc-body {
  display: none;
  padding: 0 28px 28px 112px;
}
.acc-item.open .acc-body { display: block; }
.acc-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.acc-grid h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 12px;
  font-weight: 500;
}
.acc-grid p {
  margin: 0 0 12px;
  color: var(--ink-2);
  line-height: 1.6;
}
.acc-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-2);
}
.acc-grid ul li { margin-bottom: 6px; line-height: 1.5; }
.acc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 9px;
  background: var(--bg-soft);
  border-radius: 4px;
  color: var(--ink-2);
}
.tag.method { background: oklch(0.92 0.06 240 / 0.4); color: oklch(0.4 0.15 240); }
.tag.material { background: oklch(0.92 0.06 90 / 0.5); color: oklch(0.4 0.13 60); }
.tag.outcome { background: oklch(0.92 0.07 150 / 0.4); color: oklch(0.35 0.13 150); }

/* === Tabs === */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 100px;
  width: fit-content;
  border: 1px solid var(--line);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 20px;
  border: 0;
  background: transparent;
  border-radius: 100px;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.18s;
}
.tab:hover { color: var(--ink); }
.tab.active {
  background: var(--ink);
  color: var(--bg);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.theme-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.theme-card h3 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}
.theme-card .theme-lead {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 24px;
}
.theme-card h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 24px 0 10px;
}
.theme-card ol, .theme-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}
.theme-card ol li, .theme-card ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}
.theme-key {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 16px;
  font-size: 14px;
  border-left: 3px solid var(--accent);
}
.theme-key strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
  font-weight: 500;
}

/* === Checklist === */
.checklist {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.check-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  user-select: none;
}
.check-item:last-child { border-bottom: 0; }
.check-box {
  width: 22px; height: 22px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-item.done .check-box {
  background: var(--ink);
  border-color: var(--ink);
}
.check-item.done .check-box::after {
  content: '✓';
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
}
.check-item.done .check-q {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--ink-3);
}
.check-q {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.check-h {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.4;
}
.check-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.check-progress .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
}
.check-progress .count {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.check-progress .count span { color: var(--ink-3); font-weight: 400; }

/* === Quiz === */
.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.quiz-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.quiz-progress .pbar {
  flex: 1;
  height: 3px;
  background: var(--bg-soft);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-progress .pbar > div {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s;
}
.quiz-q {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 28px;
}
.quiz-options {
  display: grid;
  gap: 10px;
}
.quiz-opt {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.quiz-opt:hover { border-color: var(--ink); background: var(--bg-soft); }
.quiz-opt .key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.quiz-opt.correct {
  background: oklch(0.95 0.07 150 / 0.5);
  border-color: var(--green);
}
.quiz-opt.wrong {
  background: oklch(0.95 0.07 30 / 0.5);
  border-color: oklch(0.55 0.18 30);
}
.quiz-opt[disabled] { cursor: default; }
.quiz-feedback {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 14px;
  border-left: 3px solid var(--accent);
  display: none;
}
.quiz-feedback.show { display: block; }
.quiz-actions {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.btn {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.quiz-result {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.quiz-result.show { display: block; }
.quiz-result .score {
  font-family: 'Inter Tight';
  font-size: 80px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.quiz-result .score span { color: var(--ink-3); font-size: 36px; }

/* === Downloads === */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.dl-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: all 0.15s;
}
.dl-item:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.dl-icon {
  width: 44px; height: 44px;
  background: var(--bg-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-2);
}
.dl-icon.docx { background: oklch(0.94 0.04 240); color: oklch(0.4 0.15 240); }
.dl-icon.pdf { background: oklch(0.94 0.06 30); color: oklch(0.5 0.18 30); }
.dl-icon.xlsx { background: oklch(0.94 0.06 150); color: oklch(0.4 0.15 150); }
.dl-name {
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 3px;
}
.dl-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.3;
}
.dl-arrow {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.15s;
}
.dl-item:hover .dl-arrow {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(-45deg);
}

/* === Pitch panel === */
.pitch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.pitch-info {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 36px;
}
.pitch-info h3 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin: 16px 0 12px;
}
.pitch-info p {
  color: oklch(0.85 0 0);
  font-size: 16px;
  line-height: 1.55;
}
.pitch-info .badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  background: oklch(1 0 0 / 0.1);
  border-radius: 100px;
  color: var(--bg);
  display: inline-block;
}
.pitch-info .timer {
  font-family: 'Inter Tight';
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 28px;
}
.pitch-info .timer-label {
  color: oklch(0.7 0 0);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-top: 4px;
}

/* === Examples === */
.ex-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ex-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.ex-card .ex-name {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.ex-card .ex-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ex-card .ex-quote {
  font-style: italic;
  color: var(--ink-2);
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 14px;
  margin: 16px 0;
  font-size: 15px;
  line-height: 1.5;
}
.ex-card dl {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 14px;
}
.ex-card dt {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: center;
}
.ex-card dd { margin: 0; color: var(--ink-2); }

/* === Footer === */
footer {
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
footer .foot-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
}
footer h3 {
  font-family: 'Inter Tight';
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  max-width: 16ch;
}

/* === Responsive === */
@media (max-width: 880px) {
  section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .acc-trigger { grid-template-columns: 40px 1fr auto; padding: 18px 20px; gap: 12px; }
  .acc-meta { display: none; }
  .acc-body { padding: 0 20px 20px 20px; }
  .acc-grid { grid-template-columns: 1fr; gap: 20px; }
  .theme-card { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .pitch-grid { grid-template-columns: 1fr; }
  .ex-grid { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .quiz-card { padding: 24px; }
  .quiz-q { font-size: 22px; }
}
