.app {
  --brand: #20B39A;
  --brand-dark: #1f8f7a;
  --brand-light: #e8f8f5;
  --brand-mid: #B8EEE4;

  --dark: #1B252C;
  --dark-mid: #243340;
  --dark-light: #EAFBF7;

  --white: #ffffff;
  --bg: #EAFBF7;
  --border: #dde8e6;

  --text: #1B252C;
  --text-mid: #2e4050;
  --text-muted: #6b8480;

  --green: #15803d;
  --green-bg: #f0fdf4;
  --green-border: #86efac;

  --yellow: #a16207;
  --yellow-bg: #fefce8;
  --yellow-border: #fde047;

  --red: #b91c1c;
  --red-bg: #fef2f2;
  --red-border: #fca5a5;

  --radius: 10px;
  --shadow: 0 1px 3px rgba(27,37,44,0.08);
  --shadow-md: 0 4px 16px rgba(27,37,44,0.10);

  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: auto;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', sans-serif;
}

.app,
.app *,
.app *::before,
.app *::after {
  box-sizing: border-box;
}

.app * {
  margin: 0;
  padding: 0;
}
.app {
  position: relative;
  z-index: 0;
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
.app::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #F9F9F9;
  z-index: -1;
}

.progress-bar-wrap { height: 3px; background: var(--border); position: relative; z-index: 10; }
.progress-bar { height: 3px; background: var(--brand); transition: width 0.4s ease; }
main {
  width: 100% !important;
  max-width: 680px !important;
  margin: 0 auto !important;
  padding: 94px 24px 88px;
@media (max-width: 600px) {
  .app > main {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
}

.screen { display: none; } .screen.active { display: block; }
.loading-screen { display: none; flex-direction: column; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; }
.loading-screen.active { display: flex; }
.intro-eyebrow { display: inline-block; line-height: 1; font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; margin-top: 20px; background: var(--brand-light); padding: 10px 15px; border: 1px solid var(--brand-mid); border-radius: 20px; }
.intro-title { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: clamp(30px,5vw,44px); color: var(--dark); line-height: 1.15; margin-bottom: 20px; letter-spacing: 0.02em; }.intro-title em { font-style: normal; color: var(--brand); }
.intro-sub { font-size: 17px; color: var(--text-mid); line-height: 1.75; margin-bottom: 10px; max-width: 680px; font-weight: 400; }
.intro-meta { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
	font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;

  background: var(--brand-light);
  padding: 7px 10px;

  border: 1px solid var(--brand-mid);
  border-radius: 999px;

}
.areas-preview { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; box-shadow: var(--shadow); }
.areas-preview-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.areas-list { display: flex; flex-direction: column; gap: 10px; }
.area-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-mid); font-weight: 600; }
.area-num { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-light); color: var(--brand-dark); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn { padding: 12px 24px; border-radius: 8px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; border: none; transition: all 0.15s; }
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-large { padding: 16px 34px; font-size: 15px; }
.section-header { margin-bottom: 32px; }
.section-tag { display: inline-flex; line-height: 1; align-items: center; gap: 6px; background: var(--brand-light); color: var(--brand); font-size: 20px; font-weight: 700; padding: 10px 15px; border-radius: 20px; margin-bottom: 14px; margin-top: 20px; text-transform: uppercase; border: 1px solid var(--brand-mid);}
.section-title { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 26px; color: var(--dark); margin-bottom: 6px; letter-spacing: 0.02em; }
.section-sub { font-size: 17px; color: var(--text-mid); line-height: 1.6; font-weight: 400; }
.questions { display: flex; flex-direction: column; gap: 28px; }
.question-num { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; letter-spacing: 0.06em; font-weight: 700; text-transform: uppercase; }
.question-text { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.5; }
.options { display: flex; flex-direction: column; gap: 8px; }
.option { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--white); cursor: pointer; transition: all 0.15s; text-align: left; width: 100%; font-family: 'Nunito Sans', sans-serif; box-shadow: var(--shadow); }
.option:hover { border-color: var(--brand); background: var(--brand-light); }
.option.selected { border-color: var(--brand); background: var(--brand-light); }
.option.selected .option-radio { background: var(--brand); border-color: var(--brand); }
.option.selected .option-radio::after { display: block; }
.option-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); flex-shrink: 0; margin-top: 1px; position: relative; transition: all 0.15s; }
.option-radio::after { content: ''; display: none; width: 6px; height: 6px; border-radius: 50%; background: white; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.option-text { font-size: 14px; color: var(--text-mid); line-height: 1.45; font-weight: 600; }
.nav-row { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; gap: 12px; }
.step-dots { display: flex; gap: 5px; }
.step-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: all 0.2s; }
.step-dot.done { background: var(--brand-mid); }
.step-dot.current { background: var(--brand); width: 18px; border-radius: 4px; }
.spinner { width: 42px; height: 42px; border: 3px solid var(--border); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.8s linear infinite; margin-bottom: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-title { font-family: 'Nunito Sans', sans-serif; font-size: 24px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.loading-sub { font-size: 14px; color: var(--text-mid); font-weight: 600; }
.loading-steps { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.loading-step { font-size: 13px; color: var(--text-muted); opacity: 0; transition: opacity 0.4s; }
.loading-step.visible { opacity: 1; }
.result-header { background: var(--dark); border-radius: 14px; padding: 38px; margin-bottom: 28px; margin-top: 20px; color: white; }
.result-header-label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; color: var(--brand); margin-bottom: 12px; }
.result-header-title { font-family: 'Nunito Sans', sans-serif; font-weight: 800; font-size: 30px; margin-bottom: 12px; line-height: 1.2; letter-spacing: 0.02em; }.result-header-sub { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.7; font-weight: 400; }
.result-meta { display: flex; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.result-meta-item { font-size: 13px; color: rgba(255,255,255,0.45); font-weight: 600; }
.result-meta-item strong { color: rgba(255,255,255,0.8); font-weight: 700; }
.summary-badges { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.rbadge { display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.rbadge.green { background: rgba(134,239,172,0.15); color: #86efac; }
.rbadge.yellow { background: rgba(253,224,71,0.15); color: #fde047; }
.rbadge.red { background: rgba(252,165,165,0.15); color: #fca5a5; }
.result-section-label { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; margin-top: 36px; }
.bereich-cards { display: flex; flex-direction: column; gap: 10px; }
.bereich-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: box-shadow 0.15s; }
.bereich-card:hover { box-shadow: var(--shadow-md); }
.bereich-card.open { border-color: var(--brand-mid); }
.bereich-head { padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.ampel { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex-shrink: 0; }
.ampel.green { background: var(--green-bg); color: var(--green); border: 1.5px solid var(--green-border); }
.ampel.yellow { background: var(--yellow-bg); color: var(--yellow); border: 1.5px solid var(--yellow-border); }
.ampel.red { background: var(--red-bg); color: var(--red); border: 1.5px solid var(--red-border); }
.bereich-info { flex: 1; min-width: 0; }
.bereich-name { font-size: 14px; font-weight: 700; color: var(--text); }
.bereich-befund { font-size: 13px; color: var(--text-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.bereich-pill { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; flex-shrink: 0; }
.bereich-pill.green { background: var(--green-bg); color: var(--green); }
.bereich-pill.yellow { background: var(--yellow-bg); color: var(--yellow); }
.bereich-pill.red { background: var(--red-bg); color: var(--red); }
.chevron { color: var(--text-muted); font-size: 12px; transition: transform 0.2s; flex-shrink: 0; }
.bereich-card.open .chevron { transform: rotate(180deg); }
.bereich-body { display: none; border-top: 1px solid var(--bg); }
.bereich-card.open .bereich-body { display: block; }
.score-bar-wrap { padding: 14px 20px 4px; }
.score-bar-label { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; display: flex; justify-content: space-between; font-weight: 700; }
.score-bar-track { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.score-bar-fill { height: 6px; border-radius: 3px; transition: width 0.6s ease; }
.score-bar-fill.green { background: var(--green); }
.score-bar-fill.yellow { background: #eab308; }
.score-bar-fill.red { background: var(--red); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 20px 18px; }
.detail-cell { background: var(--bg); border-radius: 8px; padding: 12px 14px; }
.detail-cell-label { font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.detail-cell-text { font-size: 13px; color: var(--text-mid); line-height: 1.55; font-weight: 400; }
.empfehlung-list { display: flex; flex-direction: column; gap: 10px; }
.empfehlung { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 16px; box-shadow: var(--shadow); }
.emp-num { font-family: 'Nunito Sans', sans-serif; font-size: 30px; color: var(--brand-mid); flex-shrink: 0; line-height: 1; margin-top: 2px; }
.emp-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.emp-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 400; }
.cta-box { background: var(--dark); border-radius: 14px; padding: 38px; margin-top: 36px; border-left: 4px solid var(--brand); }
.cta-title { font-family: 'Nunito Sans', sans-serif; font-size: 26px; color: white; margin-bottom: 10px; font-weight: 800; }
.cta-text { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 26px; max-width: 500px; font-weight: 400; }
.cta-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-btn-primary { background: var(--brand); color: white; padding: 13px 24px; border-radius: 8px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 700; border: none; cursor: pointer; transition: background 0.15s; }
.cta-btn-primary:hover { background: var(--brand-dark); }
.cta-btn-secondary { background: transparent; color: rgba(255,255,255,0.6); padding: 13px 24px; border-radius: 8px; font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.15); cursor: pointer; transition: border-color 0.15s; }
.cta-btn-secondary:hover { border-color: rgba(255,255,255,0.4); }
.error-box { background: var(--red-bg); border: 1.5px solid var(--red-border); border-radius: var(--radius); padding: 20px 24px; color: var(--red); font-size: 14px; font-weight: 600; margin-top: 20px; }
.email-box {
  background: var(--white); border: 1.5px solid var(--brand-mid);
  border-radius: var(--radius); padding: 24px; margin-top: 16px;
  display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow);
}
.email-box-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.email-box-content { flex: 1; }
.email-box-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.email-box-sub { font-size: 13px; color: var(--text-mid); line-height: 1.6; font-weight: 400; margin-bottom: 14px; }
.email-row { display: flex; gap: 8px; flex-wrap: wrap; }
.email-input {
  flex: 1; min-width: 200px; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text); outline: none; transition: border-color 0.15s;
}
.email-input:focus { border-color: var(--brand); }
.email-btn {
  background: var(--brand); color: white; padding: 11px 20px; border-radius: 8px;
  font-family: 'Nunito Sans', sans-serif; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer; transition: background 0.15s; white-space: nowrap; 
}
.email-btn:hover { background: var(--brand-dark); }
.email-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.email-success { font-size: 13px; color: var(--green); font-weight: 700; padding: 8px 0; margin-top: 20px; }
.email-error { font-size: 13px; color: var(--red); font-weight: 600; padding: 8px 0; margin-top: 20px; }
.email-hint { font-size: 11px; color: var(--text-muted); margin-top: 15px; font-weight: 400; }
.consent-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}
.consent-label { font-size: 12px; color: var(--text-muted); line-height: 1.5; font-weight: 400; cursor: pointer; }
.consent-label a { color: var(--brand-dark); text-decoration: underline; }
@media (max-width: 600px) {
  main { padding: 32px 16px 60px; }
  .detail-grid { grid-template-columns: 1fr; }
  .result-header, .cta-box, .email-box { padding: 24px; }
  .cta-buttons { flex-direction: column; }

  .meta-chip {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
	.intro-sub {
		margin-bottom: 30px !important;
	}
}