/*
  quickcheck.css
  Interim Quick Check — RW Consulting
  Version 1.1 · April 2026 — angepasst an ralf-woik.de

  Naming convention: alle Klassen tragen das Prefix "qc-"
  um Konflikte mit bestehenden Website-CSS-Regeln zu vermeiden.

  ANPASSUNGSHINWEIS FÜR DEN MEDIENINFORMATIKER:
  ---
  Dieses File enthält zwei Blöcke:

  1. CSS Custom Properties (Zeile ~40):
     Hier werden alle Farben, Abstände und Schriften zentral definiert.
     Für die Integration in die Website oder eine HubSpot-Landingpage
     reicht es aus, diesen Block an das bestehende Design anzupassen.
     Der Rest des Files muss nicht angefasst werden.

  2. Komponenten-CSS (ab Zeile ~80):
     Strukturelles Layout und Zustands-Klassen.
     Nur ändern, wenn strukturelle Anpassungen gewünscht sind.

  Schriften: "Arimo" und "Intern" werden über den bestehenden
  Google Fonts Import der Website geladen (@import in main.css).
  Kein separater Font-Import nötig.
*/

/* =============================================================
   1. CSS CUSTOM PROPERTIES — hier anpassen für Website-Integration
   ============================================================= */

.qc-root {
  /* FARBEN — abgestimmt auf ralf-woik.de */
  --qc-bg:            rgb(23, 26, 32);      /* Seitenhintergrund (identisch mit html-bg der Website) */
  --qc-surface:       rgb(30, 34, 42);      /* Karten / Optionsfelder */
  --qc-surface-hover: rgb(38, 43, 53);      /* Hover-State */
  --qc-border:        rgba(202, 57, 69, 0.22); /* Rahmen mit leichtem Rot-Unterton */
  --qc-accent:        rgb(202, 57, 69);     /* Akzentfarbe (Website-Rot) */
  --qc-accent-light:  rgb(222, 80, 92);     /* Helles Rot für Hover */
  --qc-text:          hsl(0, 0%, 86%);      /* Haupttext (identisch mit body-color der Website) */
  --qc-text-muted:    rgba(219, 219, 219, 0.55); /* Sekundärtext */
  --qc-text-dim:      rgba(219, 219, 219, 0.28); /* Tertiärtext / Disclaimer */

  /* ERGEBNISFARBEN */
  --qc-green:  #4caf82;
  --qc-yellow: #e8c94a;
  --qc-orange: #e8924a;
  --qc-red:    rgb(202, 57, 69);            /* Rot-Ergebnis = Website-Akzentfarbe */

  /* TYPOGRAFIE */
  --qc-font-serif:  'Intern', sans-serif; /* Display-Font der Website (Headlines) */
  --qc-font-sans:   'Arimo', sans-serif;    /* Body-Font der Website */

  /* ABSTÄNDE */
  --qc-max-width:  680px;
  --qc-padding-x:  16px;
  --qc-radius-sm:  4px;   /* Bulma-Standard der Website */
  --qc-radius-md:  4px;
  --qc-radius-lg:  6px;
}

/* =============================================================
   2. RESET & BASIS
   ============================================================= */

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

.qc-root button {
  font-family: var(--qc-font-sans);
  cursor: pointer;
  border: none;
  background: none;
}

.qc-root a {
  color: var(--qc-accent);
  text-decoration: none;
}

.qc-root a:hover {
  color: var(--qc-accent-light);
  text-decoration: underline;
}

/* =============================================================
   3. LAYOUT
   ============================================================= */

.qc-root {
  min-height: 100vh;
  background: var(--qc-bg);
  color: var(--qc-text);
  font-family: var(--qc-font-serif);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--qc-padding-x) 40px;
}

.qc-header {
  width: 100%;
  max-width: var(--qc-max-width);
  padding: 20px 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.qc-brand {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--qc-accent);
  text-transform: uppercase;
  font-family: var(--qc-font-sans);
}

.qc-content {
  width: 100%;
  max-width: var(--qc-max-width);
  margin-top: 24px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qc-content--animating {
  opacity: 0;
  transform: translateY(8px);
}

/* =============================================================
   4. FORTSCHRITTSANZEIGE
   ============================================================= */

.qc-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qc-progress__track {
  width: 120px;
  height: 3px;
  background: var(--qc-border);
  border-radius: 2px;
  overflow: hidden;
}

.qc-progress__bar {
  height: 100%;
  background: var(--qc-accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.qc-progress__label {
  font-size: 12px;
  color: var(--qc-text-muted);
  font-family: var(--qc-font-sans);
}

/* =============================================================
   5. INTRO-SCREEN
   ============================================================= */

.qc-intro__badge {
  display: inline-block;
  background: rgba(202, 57, 69, 0.15);
  border: 1px solid rgba(202, 57, 69, 0.5);
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: rgb(202, 57, 69);
  text-transform: uppercase;
  font-family: 'Arimo', sans-serif;
  font-weight: 700;
  margin-bottom: 24px;
}

.qc-intro__headline {
  font-size: clamp(36px, 7vw, 58px); /* Six Caps ist schmal, braucht mehr Größe */
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--qc-text);
  letter-spacing: 0.02em;
}

.qc-intro__headline span {
  color: var(--qc-accent);
}

.qc-intro__text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--qc-text-muted);
  margin: 0 0 20px;
  font-family: var(--qc-font-sans);
}

.qc-intro__meta {
  font-size: 13px;
  color: var(--qc-text-dim);
  margin: 0 0 32px;
  font-family: var(--qc-font-sans);
}

.qc-intro__features {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-md);
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.qc-feature__title {
  font-size: 30px;  /* Six Caps ist schmal — braucht mehr Größe */
  color: var(--qc-accent);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.qc-feature__sub {
  font-size: 13px;
  color: var(--qc-text-muted);
  font-family: var(--qc-font-sans);
}

/* =============================================================
   6. FRAGEN
   ============================================================= */

.qc-block-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--qc-accent);
  text-transform: uppercase;
  font-family: var(--qc-font-sans);
  margin-bottom: 12px;
}

.qc-question__headline {
  font-size: clamp(28px, 5vw, 40px); /* Six Caps: größer als serif für gleiche Lesbarkeit */
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

.qc-question__sub {
  font-size: 14px;
  color: var(--qc-text-muted);
  margin: 0 0 20px;
  font-family: var(--qc-font-sans);
}

/* T-Shirt — vertikale Liste */
.qc-options--tshirt {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.qc-option--tshirt {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-md);
  padding: 11px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  color: var(--qc-text);
  width: 100%;
}

.qc-option--tshirt:hover {
  background: var(--qc-surface-hover);
  border-color: rgba(202, 57, 69, 0.5);
}

.qc-option--tshirt.qc-selected {
  background: rgba(202, 57, 69, 0.12);
  border-color: rgb(202, 57, 69);
  border-left-width: 3px;
  padding-left: 14px;
}

.qc-option__tshirt-label {
  font-size: 18px;
  font-weight: 700;
  color: hsl(0, 0%, 45%);
  font-family: var(--qc-font-sans);
  min-width: 28px;
  flex-shrink: 0;
}

.qc-selected .qc-option__tshirt-label {
  color: rgb(202, 57, 69);
}

.qc-option__tshirt-desc {
  font-size: 14px;
  color: hsl(0, 0%, 72%);
  line-height: 1.4;
  font-family: var(--qc-font-sans);
  text-align: left;
}

/* Single / Multi List */
.qc-options--list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.qc-option--list {
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-md);
  padding: 11px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--qc-text);
  width: 100%;
}

.qc-option--list:hover {
  background: var(--qc-surface-hover);
  border-color: color-mix(in srgb, var(--qc-accent) 50%, transparent);
}

.qc-option--list.qc-selected {
  background: rgba(202, 57, 69, 0.12);
  border-color: rgb(202, 57, 69);
  border-left-width: 3px;
  padding-left: 14px; /* compensate for wider left border */
}

.qc-option__icon {
  font-size: 16px;
  color: var(--qc-text-dim);
  margin-top: 2px;
  min-width: 16px;
}

.qc-selected .qc-option__icon {
  color: var(--qc-accent);
}

.qc-option__label {
  font-size: 16px;
  font-family: var(--qc-font-sans);
  font-weight: 400;
}

.qc-selected .qc-option__label {
  color: hsl(0, 0%, 95%);
  font-weight: 500;
}

.qc-option__desc {
  font-size: 14px;
  color: var(--qc-text-muted);
  font-family: var(--qc-font-sans);
  line-height: 1.4;
  margin-top: 3px;
}

/* Navigation */
.qc-nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  align-items: center;
}

/* Scoped to .qc-root to override Bulma with higher specificity */
.qc-root .qc-btn--primary,
.qc-root .qc-btn--secondary {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.qc-root .qc-btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(202, 57, 69);
  color: #c5b599;
  border: 1px solid rgb(202, 57, 69);
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'Arimo', sans-serif;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  height: auto;
  line-height: 1.4;
  text-decoration: none;
  vertical-align: top;
}

.qc-root .qc-btn--primary:hover {
  background-color: rgb(222, 80, 92);
  border-color: rgb(222, 80, 92);
  color: #c5b599;
}

.qc-root .qc-btn--primary:disabled,
.qc-root .qc-btn--primary.qc-disabled {
  background-color: rgba(202, 57, 69, 0.25);
  border-color: rgba(202, 57, 69, 0.25);
  color: #666;
  cursor: not-allowed;
}

.qc-root .qc-btn--secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: hsl(0, 0%, 60%);
  border: 1px solid rgba(202, 57, 69, 0.3);
  border-radius: 4px;
  padding: 11px 20px;
  font-size: 14px;
  font-family: 'Arimo', sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  height: auto;
  line-height: 1.4;
  vertical-align: top;
}

.qc-root .qc-btn--secondary:hover {
  border-color: rgb(202, 57, 69);
  color: hsl(0, 0%, 86%);
}

/* =============================================================
   7. ERGEBNIS-SCREEN
   ============================================================= */

.qc-result__eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--qc-accent);
  text-transform: uppercase;
  font-family: var(--qc-font-sans);
  margin-bottom: 24px;
}

/* Ergebnis-Karte */
.qc-result__card {
  background: var(--qc-surface);
  border-radius: var(--qc-radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.qc-result__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  pointer-events: none;
  /* Wird inline per JS mit der Ergebnisfarbe gesetzt */
}

.qc-result__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.qc-result__icon {
  font-size: 22px;
}

.qc-result__rec-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--qc-font-sans);
  margin-bottom: 2px;
}

.qc-result__title {
  font-size: 30px; /* Six Caps braucht mehr Raum */
  font-weight: 400;
  letter-spacing: 0.02em;
}

.qc-result__tagline {
  font-size: 13px;
  font-family: var(--qc-font-sans);
  margin: 0 0 20px;
  font-style: italic;
}

.qc-result__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--qc-text);
  margin: 0 0 20px;
  font-family: var(--qc-font-sans);
}

.qc-result__hint {
  border-top: 1px solid var(--qc-border);
  padding-top: 16px;
  font-size: 13px;
  color: var(--qc-text-muted);
  font-family: var(--qc-font-sans);
  line-height: 1.5;
}

.qc-result__hint-label {
  color: var(--qc-text-dim);
}

/* ── ROIM Calculator ──────────────────────────────────────────── */
.qc-roim {
  border: 1px solid rgba(202, 57, 69, 0.25);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 24px;
  background: rgb(30, 34, 42);
}

.qc-roim__headline {
  font-size: 15px;
  font-weight: 600;
  color: hsl(0, 0%, 86%);
  font-family: 'Arimo', sans-serif;
  margin: 0 0 6px;
}

.qc-roim__sub {
  font-size: 13px;
  color: hsl(0, 0%, 55%);
  font-family: 'Arimo', sans-serif;
  margin: 0 0 16px;
  line-height: 1.5;
}

.qc-roim__ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.qc-root .qc-roim__range-btn {
  padding: 7px 14px;
  font-size: 13px;
  font-family: 'Arimo', sans-serif;
  background-color: rgb(23, 26, 32);
  border: 1px solid rgba(202, 57, 69, 0.25);
  border-radius: 4px;
  color: hsl(0, 0%, 65%);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
  height: auto;
  line-height: 1.4;
}

.qc-root .qc-roim__range-btn:hover {
  border-color: rgb(202, 57, 69);
  color: hsl(0, 0%, 86%);
}

.qc-root .qc-roim__range-btn.active {
  background-color: rgba(202, 57, 69, 0.15);
  border-color: rgb(202, 57, 69);
  color: hsl(0, 0%, 92%);
  font-weight: 600;
}

.qc-roim__output {
  min-height: 0;
}

.qc-roim__rows {
  border: 1px solid rgba(202, 57, 69, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.qc-roim__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Arimo', sans-serif;
  border-bottom: 1px solid rgba(202, 57, 69, 0.1);
}

.qc-roim__row:last-child {
  border-bottom: none;
}

.qc-roim__row--mandate {
  background: rgba(202, 57, 69, 0.06);
}

.qc-roim__label {
  color: hsl(0, 0%, 60%);
}

.qc-roim__value {
  color: hsl(0, 0%, 86%);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.qc-roim__ratio {
  font-size: 14px;
  font-family: 'Arimo', sans-serif;
  color: rgb(202, 57, 69);
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.5;
}

.qc-roim__callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px;
  margin-bottom: 12px;
  background: rgba(202, 57, 69, 0.06);
  border-radius: 4px;
}

.qc-roim__callout-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.qc-roim__callout-num {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Arimo', sans-serif;
  color: hsl(0, 0%, 75%);
  line-height: 1;
}

.qc-roim__callout-num--highlight {
  font-size: 36px;
  color: rgb(202, 57, 69);
}

.qc-roim__callout-lbl {
  font-size: 11px;
  font-family: 'Arimo', sans-serif;
  color: hsl(0, 0%, 50%);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.3;
}

.qc-roim__callout-arrow {
  font-size: 22px;
  color: hsl(0, 0%, 35%);
  flex-shrink: 0;
}

.qc-roim__disclaimer {
  font-size: 12px;
  color: hsl(0, 0%, 38%);
  font-family: 'Arimo', sans-serif;
  margin: 0;
  line-height: 1.5;
}

/* ── First-timer box ──────────────────────────────────────────── */
.qc-firsttimer {
  border: 1px solid rgba(202, 57, 69, 0.25);
  border-left: 3px solid rgb(202, 57, 69);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  background: rgba(202, 57, 69, 0.05);
}

.qc-firsttimer__headline {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgb(202, 57, 69);
  font-family: 'Arimo', sans-serif;
  margin: 0 0 8px;
}

.qc-firsttimer__text {
  font-size: 14px;
  color: hsl(0, 0%, 75%);
  font-family: 'Arimo', sans-serif;
  line-height: 1.6;
  margin: 0;
}

/* Eingaben-Übersicht */
.qc-summary {
  background: var(--qc-surface);
  border: 1px solid var(--qc-border);
  border-radius: var(--qc-radius-lg);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.qc-summary__title {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--qc-text-muted);
  font-family: var(--qc-font-sans);
  margin-bottom: 16px;
}

.qc-summary__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qc-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 13px;
  font-family: var(--qc-font-sans);
  border-bottom: 1px solid var(--qc-border);
  padding-bottom: 8px;
}

.qc-summary__question {
  color: var(--qc-text-muted);
  flex: 1;
}

.qc-summary__answer {
  color: var(--qc-accent);
  text-align: right;
  min-width: 80px;
}

/* CTA-Box */
.qc-cta {
  border-radius: var(--qc-radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  background: color-mix(in srgb, var(--qc-accent) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--qc-accent) 20%, transparent);
}

.qc-cta__headline {
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 8px;
}

.qc-cta__text {
  font-size: 14px;
  color: var(--qc-text-muted);
  margin: 0 0 20px;
  font-family: var(--qc-font-sans);
  line-height: 1.5;
}

.qc-cta__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.qc-cta__contact {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--qc-bg);
  border-radius: var(--qc-radius-md);
  border: 1px solid var(--qc-border);
  font-family: var(--qc-font-sans);
}

.qc-cta__contact p {
  margin: 0 0 4px;
  font-size: 14px;
}

.qc-cta__contact p:last-child {
  margin: 0;
}

.qc-cta__contact-name {
  color: var(--qc-text-muted);
}

/* =============================================================
   8. FOOTER / DISCLAIMER
   ============================================================= */

.qc-disclaimer {
  font-size: 12px;
  color: var(--qc-text-dim);
  font-family: var(--qc-font-sans);
  text-align: center;
  line-height: 1.5;
  margin-top: 0;
}

.qc-footer-meta {
  font-size: 11px;
  color: var(--qc-text-dim);
  font-family: var(--qc-font-sans);
  text-align: center;
  margin-top: 16px;
  opacity: 0.6;
}

/* =============================================================
   9. RESPONSIVE
   ============================================================= */

@media (max-width: 480px) {
  .qc-options--tshirt {
    grid-template-columns: repeat(2, 1fr);
  }

  .qc-intro__features {
    flex-direction: column;
    gap: 16px;
  }

  .qc-cta__buttons {
    flex-direction: column;
  }

  .qc-btn--primary,
  .qc-btn--secondary {
    width: 100%;
    text-align: center;
  }
}
