:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --ink: #1f2933;
  --muted: #616e7c;
  --line: #e4e7eb;
  --accent: #2b6cb0;
  --accent-dark: #235a92;
  --err: #c53030;
  --ok: #2f855a;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 32px 28px;
}

.card.center { text-align: center; }

.brandline {
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: var(--accent);
  margin-bottom: 18px;
}

h1 { font-size: 1.7rem; margin: 0 0 4px; letter-spacing: -0.01em; }
.subtitle { color: var(--muted); font-size: 1.05rem; margin: 0 0 18px; }
.intro { color: var(--muted); margin: 0 0 24px; }

/* Felder */
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; }
.field em { color: var(--err); font-style: normal; }
.field .opt { color: var(--muted); font-weight: 400; }

input[type="text"], input[type="email"], textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.15);
}
textarea { resize: vertical; min-height: 84px; }

/* Buttons */
.btn {
  font: inherit;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { background: #eef1f4; color: var(--ink); }
.btn.ghost:hover { background: #e2e6ea; }
.btn:disabled { opacity: 0.45; cursor: default; }

/* Fortschritt */
.progress { height: 8px; background: var(--line); border-radius: 5px; overflow: hidden; margin-bottom: 12px; }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width 0.25s ease; }
.stepinfo { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: var(--muted); margin: 0 0 20px; }
.saved { color: var(--ok); font-size: 0.82rem; opacity: 0; transition: opacity 0.3s; }
.saved.show { opacity: 1; }

/* Prozessblock */
.process h2 { font-size: 1.3rem; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.qblock { margin-bottom: 22px; }
.qblock label { display: block; font-size: 0.95rem; font-weight: 600; margin-bottom: 7px; }

.nav { display: flex; gap: 12px; margin-top: 8px; }
.nav .btn.primary { margin-left: auto; }

.err { color: var(--err); font-size: 0.9rem; margin: 14px 0 0; }

.check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ok); color: #fff; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 6px auto 18px;
}

.foot { text-align: center; color: var(--muted); font-size: 0.82rem; margin-top: 22px; }

@media (max-width: 560px) {
  .card { padding: 24px 20px; }
  .wrap { padding: 18px 12px 36px; }
  h1 { font-size: 1.45rem; }
}
