/* Öffentliche Umfrageseite – Fahrrad-XXL-Farben, ohne externe Schriften */
:root {
  --red: #d90128;
  --red-hover: #ed012c;
  --red-active: #c50124;
  --ink: #2b2b2b;
  --ink-2: #5c5c5c;
  --line: #d4d4d4;
  --line-strong: #949494;
  --surface: #ffffff;
  --page: #f7f7f7;
  --focus: #1c5cab;
  --radius: 8px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--page);
  color: var(--ink);
  font: 16px/1.5 Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px 24px;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--surface);
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  padding: 28px 24px 32px;
}

.brand { display: flex; justify-content: center; margin-bottom: 24px; }
.brand img { height: 38px; width: auto; }

.survey { margin: 0; }

.nps { border: 0; margin: 0; padding: 0; min-width: 0; }

.question {
  display: block;
  width: 100%;
  font-size: 1.375rem;
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  margin: 0 0 20px;
  padding: 0;
  text-wrap: balance;
}

.question--small { font-size: 1.125rem; text-align: left; margin-bottom: 10px; }

.scale {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 6px;
}

.scale__item { position: relative; display: block; cursor: pointer; }

.scale__item input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.scale__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.scale__item:hover span { border-color: var(--ink); }

.scale__item input:checked + span {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.scale__item input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.scale__labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.step { margin-top: 28px; }
.step[hidden] { display: none; }

.intro { margin: 0 0 6px; color: var(--ink-2); }

textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  font: inherit;
  color: inherit;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  resize: vertical;
}

textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--ink); }

.actions { margin-top: 16px; display: flex; justify-content: flex-end; }

.btn {
  appearance: none;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 12px 28px;
  cursor: pointer;
}

.btn:hover { background: var(--red-hover); }
.btn:active { background: var(--red-active); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.step--done { text-align: center; }
.done__title { font-size: 1.5rem; margin: 0 0 8px; }
.step--done p { margin: 0; color: var(--ink-2); }
.back { margin-top: 20px !important; }
.back a { color: var(--red); font-weight: 600; }

/* Startseite: Zugang für das Team */
.staff {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.btn--wide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  font-size: 1.0625rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 6px 16px rgb(217 1 40 / 0.18);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
.btn--wide svg { transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1); }
.btn--wide:hover svg { transform: translateX(3px); }
.staff .staff__hint { font-size: 0.875rem; color: var(--ink-2); }

.foot {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--ink-2);
  display: flex;
  gap: 8px;
}

.foot a { color: inherit; }

@media (max-width: 420px) {
  .card { padding: 20px 14px 24px; }
  .question { font-size: 1.2rem; }
  .scale { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .scale__labels { font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scale__item span, .btn--wide, .btn--wide svg { transition: none; }
}
