:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --ink: #1c2430;
  --ink-soft: #566275;
  --line: #e2e7ee;
  --accent: #437d9f;        /* GEOPHORA favicon-blau */
  --accent-ink: #2f6d93;
  --accent-soft: #e7eff5;
  --teal: #15a3a3;
  --err: #b23b3b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(28, 36, 48, 0.04), 0 8px 24px rgba(28, 36, 48, 0.06);
  --maxw: 660px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.page { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px 96px; }

/* --- Intro --- */
.intro { margin-bottom: 28px; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem;
  font-weight: 700; color: var(--accent); margin: 0 0 8px;
}
.intro h1 { font-size: clamp(1.55rem, 4vw, 2.05rem); line-height: 1.22; margin: 0 0 14px; letter-spacing: -0.01em; }
.lead { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.intro-note {
  margin-top: 16px; background: var(--accent-soft); border: 1px solid #cfe0ec;
  border-left: 4px solid var(--accent); border-radius: 10px; padding: 12px 15px;
  font-size: 0.95rem; color: var(--ink);
}
.intro-note strong { color: var(--accent-ink); }
.intro-note a { color: var(--accent-ink); font-weight: 600; text-decoration: underline; }

/* --- Fortschritt --- */
.progress { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 0.35s ease; }
.progress__label { font-size: 0.85rem; color: var(--ink-soft); margin: 8px 0 24px; }

/* --- Sektionen --- */
.section { margin-bottom: 8px; }
.section__title {
  font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent-ink); margin: 34px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.section__intro { color: var(--ink-soft); font-size: 0.95rem; margin: 0 0 14px; }

/* --- Frage-Karte --- */
.question {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 20px 16px; margin-bottom: 14px; transition: border-color 0.2s ease;
}
.question.is-answered { border-color: #cfe0ec; }
.question.has-error { border-color: var(--err); box-shadow: 0 0 0 3px rgba(178, 59, 59, 0.08); }
.question__text { display: block; font-size: 1.04rem; font-weight: 500; margin-bottom: 16px; }
.question__num { color: var(--accent); font-weight: 700; margin-right: 8px; font-size: 0.85em; }
.req { color: var(--err); font-weight: 700; }
.q-note { font-size: 0.8rem; color: var(--ink-soft); margin: 8px 0 0; }

/* --- Likert-Skala --- */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale__option { position: relative; }
.scale__option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.scale__box {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 12px 6px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; height: 100%;
  transition: all 0.15s ease; background: #fff;
}
.scale__symbol { font-size: 1.5rem; line-height: 1; color: var(--ink-soft); transition: color 0.15s ease; }
.scale__label { font-size: 0.72rem; color: var(--ink-soft); line-height: 1.25; }
.scale__option input:hover + .scale__box { border-color: var(--accent); }
.scale__option input:focus-visible + .scale__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.scale__option input:checked + .scale__box { border-color: var(--accent); background: var(--accent-soft); }
.scale__option input:checked + .scale__box .scale__symbol { color: var(--accent-ink); }
.scale__option input:checked + .scale__box .scale__label { color: var(--accent-ink); font-weight: 600; }
.scale__na { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); cursor: pointer; }
.scale__na input { accent-color: var(--accent); }

/* --- Choice (single / multi) --- */
.choice { display: grid; gap: 8px; }
.choice__row {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice__row:hover { border-color: var(--accent); }
.choice__row input { margin-top: 3px; accent-color: var(--accent); }
.choice__row:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice__row input:disabled { opacity: 0.4; }
.other-input {
  margin-top: 2px; width: 100%; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit;
}

/* --- NPS 0..10 --- */
.nps { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; }
.nps__opt { position: relative; }
.nps__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.nps__opt span {
  display: flex; align-items: center; justify-content: center; padding: 10px 0;
  border: 1px solid var(--line); border-radius: 8px; font-size: 0.9rem; font-weight: 600;
  color: var(--ink-soft); cursor: pointer; transition: all 0.15s ease;
}
.nps__opt input:hover + span { border-color: var(--accent); }
.nps__opt input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }

/* --- Text / Textarea / Consent --- */
.textfield, .textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: #fff; resize: vertical;
}
.textfield:focus, .textarea:focus, .other-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.consent { display: flex; align-items: flex-start; gap: 11px; font-size: 0.95rem; color: var(--ink); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* --- Honeypot (unsichtbar) --- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Absenden --- */
.privacy { font-size: 0.8rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; margin: 26px 0 0; }
.submit-btn {
  display: block; width: 100%; margin-top: 20px; padding: 16px; font-size: 1.05rem; font-weight: 600;
  color: #fff; background: var(--accent); border: none; border-radius: var(--radius); cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease;
}
.submit-btn:hover { background: var(--accent-ink); }
.submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: 0.6; cursor: default; }
.submit-hint { text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin: 10px 0 0; }
.form-error { color: var(--err); font-size: 0.92rem; margin: 16px 0 0; text-align: center; }

/* --- Inline-Danke (Fallback) --- */
.thanks {
  margin-top: 32px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px;
}

@media (max-width: 480px) {
  .scale__label { display: none; }
  .scale__box { padding: 14px 6px; }
  .scale__symbol { font-size: 1.7rem; }
  .nps { grid-template-columns: repeat(11, 1fr); gap: 3px; }
  .nps__opt span { padding: 8px 0; font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
