/*
 * Bewusst ohne externe Web-Font-Abhängigkeit (z. B. Google Fonts):
 * funktioniert damit auch hinter restriktiven Firewalls/Proxys und ganz
 * ohne Verbindung zu einem externen Anbieter - passend zur
 * Souveränitäts-Ausrichtung des Checks selbst.
 */
:root {
  --bg: #10161a;
  --surface: #1a2229;
  --surface-raised: #212b32;
  --border: #2b363e;
  --accent: #4fa8a8;
  --accent-warm: #c9a876;
  --text: #e8ecee;
  --text-muted: #8fa0a8;
  --good: #6fa287;
  --font-display: 'Avenir Next', 'Century Gothic', 'Segoe UI', sans-serif;
  --font-body: -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 28px 20px 100px;
  position: relative;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

h1 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 14px;
  font-weight: 600;
}

.lede { color: var(--text-muted); line-height: 1.5; margin-bottom: 28px; }
.fineprint { color: var(--text-muted); font-size: 13px; margin-top: 18px; line-height: 1.5; }
.version-tag { font-family: var(--font-mono); color: var(--text-muted); font-size: 11px; margin-top: 28px; opacity: 0.6; }

.screen--intro { padding-top: 20vh; }

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  width: 100%;
}
.btn--primary { background: var(--accent); color: #0c1417; }
.btn--primary:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }

.progress-wrap { margin-bottom: 26px; }
.progress { display: flex; gap: 5px; margin-bottom: 8px; }
.progress__step { flex: 1; height: 3px; border-radius: 2px; background: var(--border); }
.progress__step--done { background: var(--accent); }
.progress-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin: 0; }

.q-id { font-family: var(--font-mono); font-size: 12px; color: var(--accent-warm); margin: 0 0 6px; font-weight: 600; letter-spacing: 0.06em; }
.q-text { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.35; margin: 0 0 22px; }

.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.option {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 15px 16px; text-align: left; cursor: pointer; color: var(--text);
  font-family: var(--font-body); font-size: 15px;
}
.option:active { transform: scale(0.99); }
.option--selected { border-color: var(--accent); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--accent); }
.option__box { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--text-muted); flex-shrink: 0; }
.option--selected .option__box { background: var(--accent); border-color: var(--accent); }
.option__label { flex: 1; }

.nav-row { display: flex; gap: 10px; margin-top: 8px; }
.nav-row .btn { width: auto; flex: 1; }

.cards { display: flex; flex-direction: column; gap: 12px; margin: 22px 0; }
.card { border-radius: 14px; padding: 18px; border: 1px solid var(--border); background: var(--surface); }
.card--strength { border-left: 3px solid var(--good); }
.card--theme { border-left: 3px solid var(--accent); }
.card--project { border-left: 3px solid var(--accent-warm); }
.card__eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; margin-bottom: 8px; }
.card__text { margin: 0; line-height: 1.5; }

.prompt { color: var(--text-muted); font-size: 14px; margin: 6px 0 12px; }

.sub-h { font-family: var(--font-display); font-size: 17px; margin: 26px 0 12px; }
.gov-line { font-family: var(--font-mono); font-size: 13px; color: var(--accent-warm); }

.priority-list { display: flex; flex-direction: column; gap: 12px; }
.priority-card { border-radius: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--border); }
.priority-card--A { border-left: 4px solid var(--accent-warm); }
.priority-card--B { border-left: 4px solid var(--accent); }
.priority-card--C { border-left: 4px solid var(--good); }
.priority-card--D { border-left: 4px solid var(--text-muted); }
.priority-card__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.priority-card__rank { font-family: var(--font-mono); color: var(--text-muted); font-size: 13px; }
.priority-card__class { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.priority-card__label { font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.priority-card__details { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; font-size: 13px; margin: 0 0 10px; }
.priority-card__details dt { color: var(--text-muted); }
.priority-card__details dd { margin: 0; }
.priority-card__opener { font-style: italic; color: var(--text); font-size: 14px; margin: 0; border-top: 1px dashed var(--border); padding-top: 10px; }

.iku-list { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); padding-left: 18px; line-height: 1.8; }

.debug { margin: 20px 0; padding: 14px; border: 1px dashed var(--accent-warm); border-radius: 10px; font-family: var(--font-mono); font-size: 12px; }
.debug__title { color: var(--accent-warm); margin: 0 0 10px; }
.debug table { width: 100%; border-collapse: collapse; }
.debug th, .debug td { text-align: left; padding: 4px 6px; border-bottom: 1px solid var(--border); }

.debug-toggle {
  position: fixed; bottom: 14px; right: 14px;
  font-family: var(--font-mono); font-size: 11px;
  background: var(--surface-raised); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 20px; padding: 8px 12px; cursor: pointer;
}

@media (min-width: 640px) {
  #app { padding-top: 48px; }
}
