/* YOU! Umfrage – Farben aus der YOU!-Palette */
:root {
  --bg: #F0EBE1;          /* Off White */
  --karte: #ffffff;
  --text: #17201E;        /* Grafit */
  --muted: #5b625f;
  --akzent: #3E5FA9;      /* Königsblau */
  --akzent-hell: #C8D7F0; /* Hellblau */
  --orange: #E9551A;
  --linie: #ddd5c7;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 16px 16px 40px; }
.kopf { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 8px 0 18px; }
.logo { width: 150px; height: auto; }
.fortschritt { width: 100%; height: 6px; background: var(--linie); border-radius: 99px; overflow: hidden; }
.balken { height: 100%; width: 0; background: var(--akzent); transition: width .3s; }

.schritt { background: var(--karte); border-radius: var(--radius); padding: 22px 18px 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 14px; }
.lead { font-size: 1.08rem; }
.nr { margin: 0 0 4px; color: var(--akzent); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.muted { color: var(--muted); }
.fakten { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 14px 0; }
.fakten li { background: var(--akzent-hell); color: var(--text); border-radius: 99px; padding: 4px 12px; font-size: .9rem; }
.hinweis { background: var(--bg); border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin: 14px 0; }

.frage { border: 0; padding: 0; margin: 0 0 22px; display: block; }
.frage legend, label.frage { font-weight: 600; margin-bottom: 10px; padding: 0; display: block; }
.optional { font-weight: 400; color: var(--muted); }
.optionen { display: flex; flex-wrap: wrap; gap: 8px; }
.optionen.spalte { flex-direction: column; }
.optionen button {
  font: inherit; font-size: .98rem; text-align: left; cursor: pointer;
  background: #fff; color: var(--text); border: 1.5px solid var(--linie); border-radius: 10px;
  padding: 10px 14px; min-height: 44px;
}
.optionen.punkte { justify-content: space-between; }
.optionen.punkte button { flex: 1; text-align: center; padding: 10px 0; }
.optionen button:hover { border-color: var(--akzent); }
.optionen button[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.pole { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: 4px; }

textarea { width: 100%; font: inherit; font-weight: 400; border: 1.5px solid var(--linie); border-radius: 10px; padding: 10px 12px; margin-top: 8px; resize: vertical; }
textarea:focus, .optionen button:focus-visible, .btn:focus-visible { outline: 3px solid var(--akzent-hell); outline-offset: 2px; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.video { background: #000; border-radius: 12px; overflow: hidden; margin: 10px 0 22px; display: flex; justify-content: center; }
.video video { width: 100%; max-height: 72vh; aspect-ratio: 9 / 16; background: #000; display: block; }

.btn {
  font: inherit; font-weight: 700; width: 100%; padding: 14px 18px; border: 0; border-radius: 12px;
  background: var(--orange); color: #fff; cursor: pointer; margin-top: 6px; min-height: 50px;
}
.btn:disabled { background: #cfc7ba; cursor: not-allowed; }
.fehler { color: #b3261e; font-weight: 600; }
.fuss { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 22px; }

/* Ergebnisseite */
.erg { max-width: 900px; }
.erg .schritt { margin-bottom: 16px; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kachel { background: var(--bg); border-radius: 10px; padding: 12px; }
.kachel .zahl { font-size: 1.7rem; font-weight: 700; }
.kachel .txt { font-size: .85rem; color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.bar { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.bar .lbl { width: 150px; flex: none; font-size: .92rem; }
.bar .spur { flex: 1; background: var(--bg); border-radius: 6px; height: 22px; overflow: hidden; }
.bar .fuell { height: 100%; background: var(--akzent); }
.bar .fuell.ki { background: var(--orange); }
.bar .wert { width: 90px; text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; }
.leiste { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.leiste a { color: var(--akzent); font-weight: 600; }
.zitat { border-left: 3px solid var(--akzent-hell); padding: 4px 10px; margin: 8px 0; }
.zitat .meta { font-size: .8rem; color: var(--muted); }
@media (max-width: 480px) { .bar .lbl { width: 110px; } .bar .wert { width: 70px; } }
