
:root {
  --bg: #f4f7f4;
  --card: #ffffff;
  --text: #14211a;
  --muted: #657168;
  --line: #dfe7e0;
  --accent: #1d6b4a;
  --accent-light: #e8f3ed;
  --danger: #a33a3a;
  --shadow: 0 18px 60px rgba(24,54,38,.10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29,107,74,.07), transparent 32%),
    var(--bg);
}

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-small {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.card {
  min-height: 680px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(29,107,74,.08);
  box-shadow: var(--shadow);
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.progress-wrap { margin-bottom: 34px; }

.progress-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.progress-track {
  height: 8px;
  background: #edf1ed;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
}

.question {
  width: min(900px, 100%);
  margin: 4px auto 0;
  flex: 1;
}

.question-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 10px 0 10px;
}

h2 { margin: 0; }

.question-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 24px;
}

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: white;
  cursor: pointer;
  transition: .15s ease;
}

.option:hover {
  border-color: #a8c8b6;
  transform: translateY(-1px);
}

.option.selected {
  border-color: var(--accent);
  background: var(--accent-light);
}

.option input {
  margin-top: 3px;
  accent-color: var(--accent);
}

.option strong { display: block; font-size: 16px; }

.option span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  margin-top: 4px;
}

.subcard {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcfb;
  padding: 18px;
}

.subcard-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label,
.field-label {
  font-size: 14px;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 14px 15px;
  background: white;
  color: var(--text);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(29,107,74,.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.btn,
.primary-btn,
.secondary-btn {
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.btn-primary,
.primary-btn {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-primary:hover,
.primary-btn:hover {
  filter: brightness(.96);
}

.btn-secondary,
.secondary-btn {
  background: white;
  color: var(--text);
  border-color: var(--line);
}

.primary-btn.large { padding: 16px 24px; }

.hidden { display: none !important; }

/* Startseite */
.hero {
  width: min(940px, 100%);
  margin: 12px auto 0;
  text-align: center;
}

.hero-brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-subbrand {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(36px, 5vw, 58px);
}

.hero-lead {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.hero-banner {
  width: 100%;
  height: 285px;
  margin: 30px auto 26px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #eef4f0;
  box-shadow: 0 14px 40px rgba(24,54,38,.08);
}

.hero-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 63%;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 28px;
}

.info-box {
  background: #f8faf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.info-box strong,
.info-box span { display: block; }

.info-box span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  padding-top: 14px;
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 18px, 1120px);
    padding-top: 10px;
  }

  .card {
    min-height: 0;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .options,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-banner { height: 220px; }

  .nav {
    position: sticky;
    bottom: 0;
    background: white;
    padding-bottom: 4px;
  }
}

button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
[hidden] { display: none !important; }

.app-version { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: #eef7f1; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; white-space: nowrap; }
