/* === Workspace — Schüler-App === */
:root {
  --bg: #fafaf7;
  --bg-card: #ffffff;
  --bg-soft: #f1f0ea;
  --bg-soft-2: #eae8de;
  --ink: #0a0a0a;
  --ink-2: #2a2a2a;
  --ink-3: #6b6b66;
  --ink-4: #9a9a92;
  --line: #e6e4dc;
  --line-2: #d8d6cc;
  --accent: oklch(0.64 0.18 38);
  --accent-soft: oklch(0.93 0.06 60);
  --green: oklch(0.6 0.13 150);
  --green-soft: oklch(0.95 0.07 150 / 0.5);
  --red: oklch(0.55 0.18 25);
  --red-soft: oklch(0.95 0.08 30 / 0.5);
  --blue: oklch(0.55 0.13 240);
  --blue-soft: oklch(0.94 0.06 240);
  --violet: oklch(0.55 0.18 290);
  --yellow: oklch(0.92 0.13 90);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 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);
  --sidebar-w: 280px;
}
* { 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: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.display { font-family: 'Inter Tight','Inter',sans-serif; font-weight: 600; letter-spacing: -0.025em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
button { font: inherit; }

/* === App layout === */
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100vh;
}

/* === Sidebar === */
.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.sb-head {
  padding: 22px 22px 14px;
  border-bottom: 1px solid var(--line);
}
.sb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.sb-logo .dot {
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 5px;
  position: relative;
}
.sb-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-card);
}
.sb-team {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}
.sb-team .name { color: var(--ink); font-family: 'Inter Tight'; font-weight: 500; font-size: 14px; }

.sb-nav {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.sb-section {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 14px 12px 6px;
}
.sb-item {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.12s;
}
.sb-item:hover { background: var(--bg-soft); }
.sb-item.active {
  background: var(--ink);
  color: var(--bg);
}
.sb-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: inherit;
  opacity: 0.6;
}
.sb-item.active .sb-num { opacity: 0.7; }
.sb-item .check {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}
.sb-item.done .check {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.sb-item.done .check::before { content: '✓'; font-size: 10px; }
.sb-item.active .check { border-color: rgba(255,255,255,0.4); }
.sb-item.active.done .check { background: var(--accent); border-color: var(--accent); }

.sb-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sb-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.sb-progress .bar {
  flex: 1;
  height: 3px;
  background: var(--bg-soft);
  margin: 0 8px;
  border-radius: 2px;
  overflow: hidden;
}
.sb-progress .bar > div {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s;
}
.sb-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.sb-actions button {
  font-size: 11px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 6px;
  color: var(--ink-2);
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
}
.sb-actions button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* === Main content === */
.main {
  min-width: 0;
  padding: 0;
}
.main-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 48px 120px;
}
.step-head {
  margin-bottom: 36px;
}
.step-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.step-label::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.step-week {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: none;
}
.learn-block {
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 8%, transparent), color-mix(in oklch, var(--accent) 3%, transparent));
  border: 1px solid color-mix(in oklch, var(--accent) 25%, var(--line));
  border-radius: 16px;
  padding: 22px 24px 24px;
  margin-bottom: 32px;
}
.learn-head {
  margin-bottom: 16px;
}
.learn-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.learn-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.learn-block .info-art {
  background: var(--bg);
}
.learn-block .info-art + .info-art {
  margin-top: 10px;
}
.step-head h1 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.step-head .lead {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 60ch;
}

/* === Cards / Inputs === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}
.card.inset {
  background: var(--bg-soft);
  border: 1px dashed var(--line-2);
}
.card h3 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.card .card-desc {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.card-h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 10px;
  font-weight: 500;
}

label.field {
  display: block;
  margin-bottom: 18px;
}
label.field > span {
  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;
}
input[type="text"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--bg);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
input:focus, textarea:focus, select:focus {
  outline: 0;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px oklch(0.64 0.18 38 / 0.15);
}
.hint {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
  line-height: 1.45;
}
.hint.example {
  font-style: italic;
  color: var(--ink-3);
}

/* === Buttons === */
.btn {
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  font-size: 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.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.sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: 0.4; cursor: not-allowed; }

.step-nav {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* === Idea generator === */
.prompts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.prompt-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  font: inherit;
  color: inherit;
}
.prompt-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.prompt-card .pc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.prompt-card .pc-q {
  font-family: 'Inter Tight';
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.dice-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dice {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
}
.dice .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.dice .val {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dice .val.empty { color: var(--ink-4); font-weight: 400; font-family: inherit; font-size: 13px; }

/* === Canvas (Lean Canvas) === */
.lean-canvas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 6px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 6px;
}
.lc-cell {
  background: var(--bg-card);
  padding: 14px;
  display: flex;
  flex-direction: column;
  min-height: 130px;
  border-radius: 8px;
}
.lc-cell h5 {
  margin: 0 0 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lc-cell .lc-hint {
  font-size: 11px;
  color: var(--ink-4);
  margin-bottom: 8px;
  line-height: 1.4;
}
.lc-cell textarea {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  resize: none;
  min-height: 60px;
  color: var(--ink);
}
.lc-cell textarea:focus { box-shadow: none; }

.lc-c1 { grid-column: 1; grid-row: 1 / span 2; }
.lc-c2 { grid-column: 2; grid-row: 1; }
.lc-c3 { grid-column: 3; grid-row: 1 / span 2; }
.lc-c4 { grid-column: 4; grid-row: 1; }
.lc-c5 { grid-column: 5; grid-row: 1 / span 2; }
.lc-c6 { grid-column: 2; grid-row: 2; }
.lc-c7 { grid-column: 4; grid-row: 2; }
.lc-c8 { grid-column: 1 / span 2; grid-row: 3; background: var(--bg-soft); }
.lc-c9 { grid-column: 3 / span 3; grid-row: 3; background: var(--bg-soft); }

/* === Wizard (Rechtsform) === */
.wizard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wiz-q { font-family: 'Inter Tight'; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; margin-bottom: 12px; }
.wiz-options { display: grid; gap: 8px; }
.wiz-opt {
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: all 0.15s;
}
.wiz-opt:hover { border-color: var(--ink); background: var(--bg-soft); }
.wiz-opt.selected { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.wiz-result {
  margin-top: 12px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.wiz-result .rec {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
}
.wiz-result .rec-sub { color: var(--ink-3); font-size: 14px; margin-bottom: 14px; }

/* === Standort table === */
.standort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.standort-table th, .standort-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.standort-table th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  background: var(--bg-soft);
}
.standort-table input[type=number] {
  padding: 6px 8px;
  width: 60px;
  text-align: center;
}
.standort-table .total {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}
.standort-winner td {
  background: oklch(0.95 0.07 90 / 0.5);
}

/* === Finanzierung balance === */
.fin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fin-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 500;
}
.fin-row {
  display: grid;
  grid-template-columns: 1fr 110px 28px;
  gap: 6px;
  margin-bottom: 6px;
}
.fin-row input { padding: 8px 10px; font-size: 14px; }
.fin-row button {
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-3);
}
.fin-row button:hover { background: var(--red-soft); color: var(--red); border-color: var(--red); }
.fin-add {
  background: transparent;
  border: 1px dashed var(--line-2);
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  color: var(--ink-3);
  cursor: pointer;
  margin-top: 4px;
  font-size: 13px;
}
.fin-add:hover { border-color: var(--ink); color: var(--ink); }
.fin-sum {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 4px;
  margin-top: 8px;
  border-top: 2px solid var(--ink);
  font-weight: 600;
  font-family: 'Inter Tight';
}
.fin-balance {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.fin-balance.ok { background: var(--green-soft); }
.fin-balance.bad { background: var(--red-soft); }

/* === Bilanz === */
.bil-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.bil-table thead th {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.bil-table th.bil-num,
.bil-table td.bil-num { text-align: right; font-family: 'JetBrains Mono', monospace; white-space: nowrap; }
.bil-table tbody td {
  padding: 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 14px;
}
.bil-table tbody tr:last-child td { border-bottom: 0; }
.bil-pick {
  display: inline-flex;
  gap: 4px;
  padding: 2px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.bil-pick button {
  border: 0;
  background: transparent;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.bil-pick button:hover { color: var(--ink); }
.bil-pick button.on {
  background: var(--ink);
  color: var(--bg);
}

.bil-balance {
  margin: 14px 0;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.bil-balance.ok { background: var(--green-soft); }
.bil-balance.bad { background: var(--red-soft); }
.bil-balance.wait { background: var(--bg-soft); color: var(--ink-3); }

/* T-Bilanz (zwei Spalten, klassisch) */
.bil-tdoc { background: var(--bg-card); }
.bil-t {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 12px;
}
.bil-t-side {
  padding: 18px 20px;
  background: var(--bg);
}
.bil-t-side + .bil-t-side {
  border-left: 1px solid var(--ink);
}
.bil-t-h {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
}
.bil-t-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  margin-top: 10px;
  padding-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}
.bil-t-sub {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  padding: 4px 0 4px 16px;
}
.bil-t-sub .mono,
.bil-t-line .mono { font-family: 'JetBrains Mono', monospace; }
.bil-t-sum {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
  font-weight: 600;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
}
.bil-eq {
  margin-top: 14px;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--ink-2);
}
.bil-eq strong { color: var(--ink); }

/* Übung: Bilanzveränderungen */
.bil-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 4px 0 18px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.bil-leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bil-leg em { color: var(--ink-3); font-style: italic; }
.bil-leg-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--ink);
  color: var(--bg);
  padding: 2px 7px;
  border-radius: 100px;
}
.bil-q-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bil-q {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  background: var(--bg);
  transition: border-color 0.2s;
}
.bil-q.right { border-color: var(--green); background: var(--green-soft); }
.bil-q.wrong { border-color: var(--red); background: var(--red-soft); }
.bil-q-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.45;
}
.bil-q-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bil-q-opts button {
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 7px 12px;
  border-radius: 100px;
  font-size: 12.5px;
  font-family: 'Inter', sans-serif;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.bil-q-opts button:hover { background: var(--bg-soft); color: var(--ink); }
.bil-q-opts button.picked-right {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.bil-q-opts button.picked-wrong {
  background: var(--red, #d14);
  color: white;
  border-color: var(--red, #d14);
}
.bil-q-feedback {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.bil-q-feedback.right { background: rgba(255,255,255,0.6); color: var(--ink); }
.bil-q-feedback.wrong { background: rgba(255,255,255,0.6); color: var(--ink); }
.bil-q-feedback strong { font-weight: 600; }
.bil-q-score {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.bil-q-score.all {
  background: var(--green-soft);
  border-color: var(--green);
}
.btn.sm { padding: 6px 12px; font-size: 13px; }

/* === Deadline-Banner (in Pitch-, Businessplan-, Abgabe-Step) === */
.deadline-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  flex-wrap: wrap;
}
.deadline-banner.accent {
  background: var(--ink);
  border-color: var(--ink);
  border-left-color: var(--accent);
}
.deadline-banner-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.deadline-banner-date {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.deadline-banner-hint {
  font-size: 13px;
  color: var(--ink-3);
  flex: 1;
  text-align: right;
  min-width: 200px;
}
.deadline-banner.accent .deadline-banner-label { color: oklch(0.93 0.06 60); }
.deadline-banner.accent .deadline-banner-date { color: var(--bg); }
.deadline-banner.accent .deadline-banner-hint { color: oklch(0.85 0.02 60); }

.deadline-banner-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.deadline-banner-row .deadline-banner {
  margin-bottom: 0;
}

/* === Marketing (4P) === */
.fourp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fourp .card {
  margin-bottom: 0;
  padding: 22px;
}
.fourp .badge {
  font-family: 'Inter Tight';
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--ink);
  color: var(--bg);
  margin-bottom: 8px;
}
.nutzen-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.nutzen-chip {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  background: var(--bg);
  font: inherit;
  transition: all 0.15s;
}
.nutzen-chip:hover { border-color: var(--ink); }
.nutzen-chip.selected {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.preis-calc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.preis-calc .row {
  display: grid;
  grid-template-columns: 1fr auto 100px;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.preis-calc input { padding: 6px 10px; text-align: right; font-family: inherit; }
.preis-calc .total {
  font-weight: 700;
  font-family: 'Inter Tight';
  border-bottom: 0;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-size: 16px;
}

/* === Pitch === */
.pitch-fields { display: grid; gap: 16px; }
.pitch-q-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.pitch-q-card .q-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.pitch-q-card .q-q {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.pitch-q-card .q-h { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.pitch-q-card textarea { min-height: 70px; }

.timer-card {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}
.timer-card .t-display {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timer-card .t-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.7 0 0);
}
.timer-card.warning .t-display { color: var(--yellow); }
.timer-card.over .t-display { color: oklch(0.75 0.18 30); }
.timer-controls { display: flex; gap: 8px; }
.timer-controls button {
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid oklch(1 0 0 / 0.25);
  background: transparent;
  color: var(--bg);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.timer-controls button:hover { background: var(--accent); border-color: var(--accent); }

/* === Businessplan output === */
.bp-doc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px;
  font-family: 'Inter', sans-serif;
}
.bp-doc h2 { font-family: 'Inter Tight'; font-weight: 600; font-size: 36px; letter-spacing: -0.025em; margin: 0 0 4px; }
.bp-doc h3 { font-family: 'Inter Tight'; font-weight: 600; font-size: 20px; letter-spacing: -0.015em; margin: 36px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.bp-doc h3:first-of-type { border-top: 0; padding-top: 0; }
.bp-doc h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 16px 0 4px; }
.bp-doc p { white-space: pre-wrap; margin: 0 0 8px; line-height: 1.55; }
.bp-doc .bp-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 32px;
}
.bp-doc .bp-empty { color: var(--ink-4); font-style: italic; }

@media print {
  .sidebar, .step-nav, .step-actions, .no-print { display: none !important; }
  .app { display: block; }
  .main-inner { max-width: 100%; padding: 0; }
  .bp-doc { border: 0; padding: 0; }
  body { background: white; }
}

/* === Toasts === */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* === Hero (Workspace-Startseite) === */
.ws-hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 88% -10%, oklch(0.93 0.06 60 / 0.55), transparent 60%),
    radial-gradient(900px 360px at -10% 110%, oklch(0.93 0.06 60 / 0.35), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ws-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}
.ws-hero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 48px 60px;
}
.ws-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.ws-hero-pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--accent);
  animation: ws-hero-pulse 2s infinite;
}
@keyframes ws-hero-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); }
}
.ws-hero h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 22px 0 20px;
  max-width: 16ch;
}
.ws-hero-accent {
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  padding: 0 0.08em;
}
.ws-hero-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 22px;
}
.ws-hero-deadlines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}
.ws-deadline {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 180px;
}
.ws-deadline-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ws-deadline-date {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.ws-deadline.accent {
  background: var(--ink);
  border-color: var(--ink);
}
.ws-deadline.accent .ws-deadline-label { color: oklch(0.93 0.06 60); }
.ws-deadline.accent .ws-deadline-date { color: var(--bg); }
.ws-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.ws-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  color: var(--ink-2);
  padding: 10px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.ws-hero-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
  transform: translateY(-1px);
}
.ws-hero-link.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.ws-hero-link.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Mobile */
@media (max-width: 880px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; max-height: none; }
  .main-inner { padding: 32px 20px 80px; }
  .step-head h1 { font-size: 32px; }
  .ws-hero-inner { padding: 48px 20px 40px; }
  .ws-hero h1 { font-size: 38px; }
  .ws-hero-lead { font-size: 16px; }
  .ws-deadline { min-width: 0; flex: 1 1 calc(50% - 5px); }
  .bil-t { grid-template-columns: 1fr; }
  .bil-t-side + .bil-t-side { border-left: 0; border-top: 1px solid var(--ink); }
  .bil-table thead { display: none; }
  .bil-table tr { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bil-table td { border: 0 !important; padding: 2px 0 !important; }
  .deadline-banner-row { grid-template-columns: 1fr; }
  .deadline-banner-hint { text-align: left; min-width: 0; }
  .lean-canvas { grid-template-columns: 1fr; grid-auto-flow: row; }
  .lc-c1, .lc-c2, .lc-c3, .lc-c4, .lc-c5, .lc-c6, .lc-c7, .lc-c8, .lc-c9 {
    grid-column: 1; grid-row: auto;
  }
  .fourp { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr; }
}

@media print {
  .ws-hero { display: none !important; }
}


/* === Info-Center === */
.info-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 4px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 100px;
  width: fit-content;
}
.info-tab {
  padding: 9px 18px;
  border: 0;
  background: transparent;
  border-radius: 100px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-2);
  transition: all 0.15s;
}
.info-tab:hover { color: var(--ink); }
.info-tab.active { background: var(--ink); color: var(--bg); }

.info-list { display: grid; gap: 10px; }
.info-art {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.18s;
}
.info-art[open] { box-shadow: var(--shadow-md); }
.info-art summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.info-art summary::-webkit-details-marker { display: none; }
.info-art-cat {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.info-art-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.018em;
  margin-bottom: 4px;
}
.info-art-sum {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.4;
}
.info-art-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.info-art-icon::before {
  content: '+';
  font-size: 18px;
  font-weight: 300;
}
.info-art[open] .info-art-icon {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.info-art-body {
  padding: 0 26px 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.info-art-body h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 18px 0 8px;
}
.info-art-body h4:first-child { margin-top: 0; }
.info-art-body p {
  margin: 0 0 10px;
  color: var(--ink-2);
  line-height: 1.6;
}
.info-art-body ul {
  margin: 6px 0 12px;
  padding-left: 18px;
  color: var(--ink-2);
}
.info-art-body ul li {
  margin-bottom: 6px;
  line-height: 1.55;
}

/* "Mehr erfahren" link in steps */
.info-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  margin-top: 8px;
}
.info-link:hover {
  background: var(--accent);
  color: white;
}
.info-link::before { content: '💡'; }


/* === Erklärvideo-Block === */
.video-block {
  margin: 18px 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px 20px;
}
.video-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.video-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.video-title { font-family: 'Inter Tight'; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.video-source { font-weight: 400; color: var(--ink-3); font-size: 13px; }
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-foot {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.video-foot a { color: var(--accent); text-decoration: none; font-weight: 500; }
.video-foot a:hover { text-decoration: underline; }
.video-hint { color: var(--ink-3); font-size: 12px; flex: 1; min-width: 200px; }

/* === Begründungs-Karte (warum?) === */
.why-card {
  background: linear-gradient(180deg, color-mix(in oklch, var(--accent) 5%, transparent), transparent);
  border: 1px solid color-mix(in oklch, var(--accent) 22%, var(--line));
  margin-top: 18px;
}
.why-card h3 { color: var(--ink); }
.why-card .card-desc {
  margin: 4px 0 12px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.why-prompts {
  margin: 10px 0 14px;
  padding-left: 18px;
  color: var(--ink-3);
  font-size: 13px;
}
.why-prompts li { margin-bottom: 4px; line-height: 1.5; }
.why-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg-card);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  min-height: 110px;
}
.why-card textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
.why-card .hint { margin-top: 8px; color: var(--ink-3); font-size: 12px; }

/* === Businessplan: Schreib-Vorlage === */
.bp-cover {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 8px 0 22px;
}
.bp-cover-row { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 22px; }
.bp-cover-row label { display: block; }
.bp-cover-row label > span {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.bp-cover-val { font-family: 'Inter Tight'; font-weight: 600; font-size: 18px; color: var(--ink); }
.bp-cover-val em { font-weight: 400; color: var(--ink-4); font-size: 14px; font-style: normal; }

.bp-write-grid { display: flex; flex-direction: column; gap: 28px; }
.bp-section {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 2fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 1100px) { .bp-section { grid-template-columns: 1fr; } }

.bp-reminder {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  position: sticky;
  top: 12px;
}
.bp-reminder-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.bp-reminder-fact { color: var(--ink-2); margin-bottom: 8px; }
.bp-reminder-why {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.5;
}
.bp-reminder-why strong { color: var(--ink-2); font-weight: 600; }

.bp-write {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.bp-write-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.bp-write-head h3 {
  font-family: 'Inter Tight';
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 0;
  flex: 1;
}
.bp-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
}
.bp-len {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  padding: 3px 8px;
  background: var(--bg-soft);
  border-radius: 999px;
}
.bp-len.ok { background: var(--green-soft); color: var(--green); }
.bp-hint {
  margin: 4px 0 12px;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.5;
}
.bp-write textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.6;
  resize: vertical;
  min-height: 140px;
}
.bp-write textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: var(--accent); }
