:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #2d2a26;
  --muted: #70675c;
  --line: #e2d8cb;
  --accent: #315f58;
  --accent-soft: #e6f2ef;
  --ok: #23624f;
  --warn: #806026;
  --bad: #8a4b3d;
  --ok-bg: #e8f5ee;
  --warn-bg: #fbf1d8;
  --bad-bg: #f6e5df;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31,41,51,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a { color: var(--accent); }
header, main, footer { max-width: 1120px; margin: 0 auto; padding: 24px; }
.hero {
  margin-top: 28px;
  padding: 32px;
  background: linear-gradient(135deg, #ffffff, #f7fbf9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero::before {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  margin-bottom: 18px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  color: var(--muted);
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; margin: 10px 0 12px; }
h2 { margin: 0 0 10px; font-size: 1.35rem; }
h3 { margin: 18px 0 10px; font-size: 1.05rem; }
p { margin: 0 0 12px; }
.lead { max-width: 78ch; font-size: 1.1rem; color: #334155; }
.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #e7d2b6;
  background: #fbf3e8;
  color: #514034;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.card, details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 24px; }
details { margin: 18px 0; overflow: hidden; }
summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 800;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: " öffnen";
  float: right;
  font-weight: 600;
  color: var(--muted);
  font-size: .9rem;
}
details[open] summary::after { content: " schließen"; }
.details-body { padding: 0 24px 24px; }
.section-hint { color: var(--muted); margin-bottom: 18px; max-width: 78ch; }
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
}
legend, label.field-label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}
.required-note {
  display: inline-block;
  margin-left: 6px;
  font-size: .76rem;
  color: #315f58;
  background: #e6f2ef;
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
}
.help {
  margin: -4px 0 10px;
  color: var(--muted);
  font-size: .93rem;
}
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
}
textarea { min-height: 112px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus {
  outline: 3px solid #bfdbfe;
  outline-offset: 2px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
@media (max-width: 680px) { .option-grid { grid-template-columns: 1fr; } }
.option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #d7dde6;
  border-radius: 13px;
  background: #ffffff;
}
.option input { margin-top: 4px; }
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 24px;
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
}
button.secondary, .button.secondary {
  background: #eef2f1;
  color: #2d2a26;
}
.assessment {
  position: sticky;
  top: 16px;
  margin: 18px 0;
  z-index: 2;
  background: #ffffff;
  color: var(--text);
  border: 1px solid #deccb6;
  border-left: 6px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 22px rgba(49,95,88,.10);
}
.assessment h2 { color: var(--text); }
.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 800;
  font-size: .86rem;
}
.badge.ok { color: var(--ok); background: var(--ok-bg); }
.badge.warn { color: var(--warn); background: var(--warn-bg); }
.badge.bad { color: var(--bad); background: var(--bad-bg); }
.badge.neutral { color: #0f172a; background: #e2e8f0; }
.summary-box {
  width: 100%;
  min-height: 260px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9rem;
  white-space: pre-wrap;
}
.small { font-size: .9rem; color: var(--muted); }
.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.nav a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 700;
}
footer { color: var(--muted); }
.hr { height: 1px; background: var(--line); margin: 24px 0; }
.hidden { display: none !important; }

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  margin-top: 24px;
}
@media (max-width: 820px) { .path-grid { grid-template-columns: 1fr; } }
.path-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
}
.path-card:hover { border-color: var(--accent); transform: translateY(-1px); transition: .16s ease; }
.path-kicker { font-weight: 900; color: var(--accent); letter-spacing: .03em; text-transform: uppercase; font-size: .8rem; }
.path-card h2 { margin-top: 0; font-size: 1.55rem; }
.path-card p { color: #4d463f; }
.path-card .button { align-self: flex-start; margin-top: auto; }
.friendly-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .96rem;
}
.draft-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #d8e3dc;
  background: #f3faf5;
  color: #203429;
  box-shadow: 0 8px 20px rgba(31,41,51,.05);
}
.draft-bar span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .9rem;
}
.small-button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: .9rem;
  white-space: nowrap;
}
.question-help,
.question-extra {
  margin: -14px 0 22px;
  border: 1px solid #e5e0d7;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}
.question-help summary,
.question-extra summary {
  padding: 10px 13px;
  font-weight: 750;
  color: #4b5563;
  font-size: .94rem;
}
.question-help summary::after,
.question-extra summary::after {
  content: "";
}
.question-help .details-body,
.question-extra .details-body {
  padding: 0 13px 13px;
}
.question-extra textarea {
  min-height: 82px;
}
.question-stack {
  margin-bottom: 6px;
}
@media (max-width: 680px) {
  .draft-bar {
    align-items: flex-start;
    flex-direction: column;
  }
}
.rationale-card {
  margin: 0 0 24px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.rationale-card h2 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}
.rationale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.rationale-grid > div {
  padding: 16px;
  border: 1px solid #d8e3dc;
  border-radius: 16px;
  background: #fbfefd;
}
.rationale-grid h3 {
  margin-top: 0;
  color: var(--accent);
}
@media (max-width: 820px) {
  .rationale-grid { grid-template-columns: 1fr; }
}
