/* Schnäppchen oder Scam – WayFinder-nahe Farben, mobil zuerst */
:root {
  --radius: 14px;
  --elev: 0 8px 24px rgba(0, 0, 0, 0.1);
  --elev-lg: 0 12px 32px rgba(0, 0, 0, 0.14);
  --brand-yellow: #ffc200;
  --brand-orange: #f28c28;
  --brand-blue: #247ba0;
  --text: #1f2937;
  --muted: #5c6570;
  --surface: #ffffff;
  --page-bg: linear-gradient(165deg, #fef9f3 0%, #e8f4fa 45%, #fff8ec 100%);
  --risk-green: #15803d;
  --risk-yellow: #b45309;
  --risk-red: #b91c1c;
  --safe-bottom: env(safe-area-inset-bottom, 0);
}

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

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

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  color: var(--text);
  min-height: 100dvh;
  background: var(--page-bg);
}

a {
  color: var(--brand-blue);
  font-weight: 700;
}

.vc-skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.vc-skip:focus {
  position: fixed;
  left: 0.5rem;
  top: 0.5rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--surface);
  z-index: 9999;
  border-radius: 8px;
  box-shadow: var(--elev-lg);
}

.vc-app {
  max-width: 440px;
  margin: 0 auto;
  padding: 1rem 1.15rem calc(1.5rem + var(--safe-bottom));
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.vc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

/* Wie .about-back-link auf der Landing Page */
.vc-back-link {
  display: inline-block;
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.vc-back-link:hover {
  text-decoration: underline;
}

.vc-brand {
  font-weight: 900;
  font-size: 1rem;
  color: var(--brand-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.vc-decision-inline {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.vc-decision-inline .vc-question {
  margin-top: 0;
}

.vc-screen {
  display: none;
  flex: 1;
  flex-direction: column;
  animation: vc-fade 0.35s ease;
}

.vc-screen.is-active {
  display: flex;
}

@keyframes vc-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vc-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--elev-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.vc-title {
  font-size: clamp(1.65rem, 6.5vw, 2rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.vc-lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.vc-progress-wrap {
  margin-bottom: 1rem;
}

.vc-progress-wrap[hidden] {
  display: none !important;
}

.vc-progress-text {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.vc-progress {
  height: 6px;
  background: rgba(36, 123, 160, 0.15);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0;
}

.vc-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-yellow));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.vc-contract-category {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
  margin: 0 0 0.25rem;
}

.vc-contract-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.vc-contract-desc {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.vc-stats {
  display: grid;
  gap: 0.85rem;
}

.vc-stat {
  background: linear-gradient(135deg, rgba(255, 194, 0, 0.12), rgba(36, 123, 160, 0.08));
  border-radius: 12px;
  padding: 0.95rem 1rem;
}

.vc-stat-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.vc-stat-value {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
}

.vc-stat-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.vc-extras {
  margin-top: 1rem;
}

.vc-extras h4 {
  margin: 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.vc-extras ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.vc-question {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 1.25rem;
  text-align: center;
}

.vc-btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vc-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--elev);
}

.vc-btn:active {
  transform: scale(0.98);
}

.vc-btn--primary {
  background: var(--brand-orange);
  color: #fff;
}

.vc-btn--primary:hover {
  box-shadow: 0 10px 28px rgba(242, 140, 40, 0.45);
}

.vc-btn--ok {
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #fff;
}

.vc-btn--risk {
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #fff;
}

.vc-btn--risk-hard {
  background: linear-gradient(180deg, #dc2626, #991b1b);
  color: #fff;
}

.vc-btn--risk-hard:hover {
  box-shadow: 0 10px 24px rgba(185, 28, 28, 0.35);
}

.vc-btn--unsure {
  background: #f3f4f6;
  color: var(--text);
  border: 2px solid #e5e7eb;
}

.vc-disclaimer {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.vc-result-total {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

/* Ampel: Muster-Einschätzung auf dem Ergebnis-Screen */
.vc-traffic-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.65rem;
}

.vc-traffic-dot {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  opacity: 0.28;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.vc-traffic-dot--g {
  background: var(--risk-green);
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.35);
}

.vc-traffic-dot--y {
  background: #eab308;
  box-shadow: 0 0 0 2px rgba(202, 138, 4, 0.35);
}

.vc-traffic-dot--r {
  background: var(--risk-red);
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.35);
}

.vc-traffic-dot.is-active {
  opacity: 1;
  transform: scale(1.12);
}

.vc-official-rating {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.vc-official-rating--green {
  background: rgba(21, 128, 61, 0.1);
  border-color: rgba(21, 128, 61, 0.25);
}

.vc-official-rating--yellow {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(180, 83, 9, 0.28);
}

.vc-official-rating--red {
  background: rgba(185, 28, 28, 0.09);
  border-color: rgba(185, 28, 28, 0.28);
}

.vc-official-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.vc-official-title {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

.vc-official-rating--green .vc-official-title {
  color: var(--risk-green);
}

.vc-official-rating--yellow .vc-official-title {
  color: var(--risk-yellow);
}

.vc-official-rating--red .vc-official-title {
  color: var(--risk-red);
}

.vc-official-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
  opacity: 0.92;
}

.vc-block-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 1rem 0 0.35rem;
}

.vc-block-title:first-child {
  margin-top: 0;
}

.vc-block-text {
  margin: 0;
  color: var(--text);
}

.vc-checks {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.vc-checks li {
  margin-bottom: 0.35rem;
}

.vc-footer-actions {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vc-muted-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.vc-done-badge {
  text-align: center;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

@media (min-width: 480px) {
  .vc-app {
    padding-top: 1.5rem;
  }
}
