/* headroom – Landingpage
   Farben & Schrift laut Brand Board */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --mint: #4fd1a5;
  --tanne: #0f3d33;
  --coral: #ff7a66;
  --mint-hell: #e6faf2;
  --weiss: #ffffff;

  --flaeche: #f5faf8;
  --text-weich: #3d5c54;
  --linie: #d5efe5;

  --status-1: #4fd1a5;
  --status-2: #b5e18c;
  --status-3: #ffc48a;
  --status-4: #ff7a66;

  --radius-l: 28px;
  --radius-m: 20px;
  --radius-s: 14px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tanne);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.025em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-weich);
}

.punkt { color: var(--coral); }

/* ---------- Umfrage-Banner ---------- */
.banner {
  display: none;
  background: var(--tanne);
  color: var(--weiss);
  font-size: 15px;
  text-align: center;
  padding: 11px var(--gutter);
}
.banner strong { color: var(--mint); font-weight: 700; }
.ist-umfrage .banner { display: block; }

/* ---------- Header ---------- */
.kopf { padding: 22px 0; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.logo svg { height: 30px; width: auto; }
.logo span { font-weight: 800; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.kopf-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--mint-hell);
  transition: background 0.2s;
}
.kopf-link:hover { background: #d3f5e8; }

/* ---------- Hero ---------- */
.hero { padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.pille {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  background: var(--mint-hell);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero .unterzeile {
  margin-top: 22px;
  font-size: clamp(18px, 1.6vw, 20px);
  color: var(--text-weich);
  max-width: 34em;
}

/* ---------- Formular ---------- */
.anmeldung { margin-top: 32px; max-width: 520px; }
.feldreihe {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: var(--weiss);
  border: 2px solid var(--tanne);
  border-radius: 999px;
  transition: box-shadow 0.2s;
}
.feldreihe:focus-within { box-shadow: 0 0 0 5px rgba(79, 209, 165, 0.35); }
.feldreihe input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  color: var(--tanne);
  padding: 12px 8px 12px 18px;
  outline: none;
}
.feldreihe input::placeholder { color: #7f978f; }
.knopf {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: var(--tanne);
  background: var(--mint);
  border-radius: 999px;
  padding: 13px 22px;
  white-space: nowrap;
  transition: transform 0.15s, background 0.2s;
}
.knopf:hover { background: #3fc597; }
.knopf:active { transform: scale(0.97); }
.knopf[disabled] { opacity: 0.6; cursor: wait; }
.kleingedruckt { margin-top: 12px; font-size: 14px; color: var(--text-weich); padding-left: 20px; }
.kleingedruckt a { text-underline-offset: 2px; }
.fehler { display: none; margin-top: 10px; padding-left: 20px; font-size: 14px; font-weight: 600; color: #c4422f; }
.fehler.sichtbar { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- App-Screen ---------- */
.handy {
  justify-self: center;
  width: min(100%, 340px);
  background: var(--flaeche);
  border: 10px solid var(--tanne);
  border-radius: 46px;
  padding: 30px 20px 22px;
  box-shadow: 0 40px 80px -30px rgba(15, 61, 51, 0.45);
  transform: rotate(2deg);
}
.handy-kopf { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.handy-kopf small { display: block; font-size: 13px; color: var(--text-weich); font-weight: 600; }
.handy-kopf b { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.handy-kopf svg { height: 28px; width: auto; }
.karte-luft {
  background: var(--weiss);
  border-radius: var(--radius-m);
  padding: 18px;
  box-shadow: 0 12px 30px -18px rgba(15, 61, 51, 0.25);
}
.status-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--mint-hell);
  border-radius: 999px;
  padding: 5px 11px;
}
.karte-luft .was { margin-top: 12px; font-size: 13px; color: var(--text-weich); font-weight: 600; }
.karte-luft .betrag { font-size: 52px; font-weight: 800; letter-spacing: -0.045em; line-height: 1.05; }
.balken { margin-top: 14px; height: 12px; background: var(--mint-hell); border-radius: 999px; overflow: hidden; }
.balken i { display: block; height: 100%; width: 72%; background: var(--mint); border-radius: 999px; transform-origin: left; animation: fuellen 1.4s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes fuellen { from { transform: scaleX(0); } }
.balken-zeile { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--text-weich); }
.handy .label { font-size: 11px; margin: 20px 0 10px; }
.job {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--weiss);
  border-radius: var(--radius-s);
  padding: 12px;
  margin-bottom: 8px;
}
.job .icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--mint-hell); flex-shrink: 0; }
.job .icon.coral { background: #ffe9e5; }
.job .icon svg { width: 18px; height: 18px; }
.job div { flex: 1; line-height: 1.25; }
.job b { display: block; font-size: 15px; }
.job small { font-size: 12px; color: var(--text-weich); }
.job strong { font-size: 16px; font-weight: 800; }
.handy-knopf {
  margin-top: 14px;
  background: var(--tanne);
  color: var(--weiss);
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 13px;
}
.handy-knopf span { color: var(--mint); margin-right: 6px; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(64px, 9vw, 120px) 0; }
.abschnitt-kopf { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.abschnitt-kopf .label { display: block; margin-bottom: 14px; }
.abschnitt h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; text-wrap: balance; }
.abschnitt-kopf p { margin-top: 18px; font-size: 19px; color: var(--text-weich); }

/* Problem */
.problem { background: var(--flaeche); }
.raster-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.karte {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  padding: 28px;
}
.karte h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.karte p { color: var(--text-weich); font-size: 16px; }
.karte .nr {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 18px;
}
.problem .karte .nr { background: var(--mint-hell); }

/* So funktioniert's */
.status-skala {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 999px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
}
.status-skala span { padding: 14px 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status-skala span:nth-child(1) { background: var(--status-1); }
.status-skala span:nth-child(2) { background: var(--status-2); }
.status-skala span:nth-child(3) { background: var(--status-3); }
.status-skala span:nth-child(4) { background: var(--status-4); }
.skala-text { margin-top: 12px; font-size: 15px; color: var(--text-weich); }

.erklaert {
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--mint-hell);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px);
}
.erklaert .zahl { font-size: clamp(48px, 7vw, 80px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.erklaert h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.erklaert p { color: var(--text-weich); }
.erklaert p + p { margin-top: 8px; }

/* Grenzen */
.grenzen { background: var(--flaeche); }
.raster-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grenze {
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius-l);
  padding: 26px;
}
.grenze-name {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  background: var(--mint-hell);
  border-radius: 999px;
  padding: 6px 12px;
}
.grenze-zahl {
  margin: 22px 0 12px;
  font-size: clamp(34px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}
.grenze-zahl small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text-weich); margin-left: 3px; }
.grenze > p:last-child { color: var(--text-weich); font-size: 15px; }
.fussnote { margin-top: 20px; font-size: 14px; color: var(--text-weich); }

/* App-Screen: zweite Grenze */
.karte-mini { margin-top: 10px; background: var(--weiss); border-radius: var(--radius-s); padding: 12px 14px; }
.mini-zeile { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-weich); }
.mini-zeile b { color: var(--tanne); font-weight: 800; }
.balken-duenn { height: 6px; margin-top: 8px; }

/* Team */
.team .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.team-symbol { width: clamp(72px, 10vw, 120px); }
.team blockquote { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.25; text-wrap: balance; }
.team .label { display: block; margin-top: 18px; }

/* FAQ */
.faq { background: var(--flaeche); }
.faq-liste { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-hell);
  font-size: 20px;
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--text-weich); }

/* Abschluss-CTA */
.schluss { background: var(--tanne); color: var(--weiss); }
.schluss .wrap { text-align: center; }
.schluss h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
.schluss p.unter { margin: 18px auto 0; max-width: 32em; color: #b9d6cd; font-size: 19px; }
.schluss .anmeldung { margin: 36px auto 0; text-align: left; }
.schluss .feldreihe { border-color: var(--mint); background: rgba(255, 255, 255, 0.04); }
.schluss .feldreihe input { color: var(--weiss); }
.schluss .feldreihe input::placeholder { color: #8fb3a8; }
.schluss .kleingedruckt { color: #b9d6cd; }
.schluss .fehler { color: #ffb3a6; }

/* Footer */
.fuss { background: var(--tanne); color: #b9d6cd; border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 28px 0; font-size: 14px; }
.fuss .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fuss .logo span { font-size: 20px; color: var(--weiss); }
.fuss .logo svg { height: 22px; }
.fuss nav { display: flex; gap: 20px; }
.fuss nav a { text-decoration: none; }
.fuss nav a:hover { color: var(--weiss); }

/* ---------- Unterseiten (Danke, Impressum, Datenschutz) ---------- */
.seite { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 9vw, 120px); }
.seite .wrap { max-width: 760px; }
.seite h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 20px; }
.seite h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; letter-spacing: -0.02em; }
.seite p, .seite li { color: var(--text-weich); }
.seite p + p { margin-top: 12px; }
.platzhalter { background: #fff1d6; color: var(--tanne); padding: 0 4px; border-radius: 4px; font-weight: 600; }

.danke { text-align: center; }
.danke .symbol-gross { width: 88px; margin: 0 auto 28px; }
.danke .gross { font-size: 19px; max-width: 30em; margin: 0 auto; }
.teilen-box {
  margin-top: 48px;
  background: var(--mint-hell);
  border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px);
}
.teilen-box h2 { margin-top: 0; font-size: 26px; font-weight: 800; }
.teilen-knoepfe { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.knopf-dunkel { background: var(--tanne); color: var(--weiss); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.knopf-dunkel:hover { background: #164f43; }
.knopf-hell { background: var(--weiss); border: 2px solid var(--tanne); }
.knopf-hell:hover { background: var(--weiss); }
.zurueck { display: inline-block; margin-top: 36px; font-weight: 700; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .handy { transform: none; }
  .raster-3 { grid-template-columns: 1fr; }
  .raster-4 { grid-template-columns: 1fr 1fr; }
  .status-skala { grid-template-columns: 1fr 1fr; border-radius: var(--radius-m); }
}
@media (max-width: 560px) {
  .feldreihe { flex-direction: column; border-radius: var(--radius-m); }
  .feldreihe input { padding: 12px; }
  .knopf { width: 100%; }
  .kleingedruckt, .fehler { padding-left: 4px; }
  .raster-4 { grid-template-columns: 1fr; }
  .team .wrap { grid-template-columns: 1fr; }
  .kopf-link { display: none; }
  .faq details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .balken i { animation: none; }
  * { transition: none !important; }
}
