/* ==========================================================================
   WeAI-Reifegrad-Check — Sensational Corporate Design
   ========================================================================== */

@font-face {
  font-family: "Urbane";
  src: url("assets/fonts/urbane-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbane";
  src: url("assets/fonts/urbane-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --taupe: #856e5a;
  --waldgruen: #4f5440;
  --sand: #dbd1be;
  --hellgrau: #efefef;
  --ink: #2e2e26;
  --muted: #6e6a5c;
  --green-ink: #33372b;
  --creme: #f4f0e8;
  --weiss: #ffffff;

  --font-body: "Urbane", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Urbane", Georgia, serif;

  --radius: 14px;
  --shadow: 0 12px 32px rgba(46, 46, 38, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--creme);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Sticky Kopfzeile — Logo + Fortschritt, auf jedem Schritt sichtbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: var(--weiss);
  border-bottom: 1px solid var(--sand);
}
.site-header__brand { flex-shrink: 0; line-height: 0; }
/* hauptlogo.svg ist ein Wortmarken-Logo (breites Seitenverhältnis) — Höhe fixieren,
   Breite automatisch mitskalieren, statt es in ein Quadrat zu pressen. */
.site-header__logo { height: 28px; width: auto; display: block; }
.site-header__progress { flex: 1; min-width: 0; }
.site-header__progress .progress { margin-bottom: 0; }

/* Fixer Footer — Impressum & Datenschutz, auf jedem Schritt sichtbar */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  color: var(--muted);
  background: var(--creme);
  border-top: 1px solid var(--sand);
}
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}
.site-footer a:hover { color: var(--waldgruen); text-decoration: underline; }
.site-footer__sep { margin: 0 8px; color: var(--sand); }

.app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 108px 20px 72px;
}

.card {
  width: 100%;
  max-width: 640px;
  background: var(--weiss);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
  border: 1px solid var(--sand);
}

.card--intro { text-align: center; }

.intro__logo {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.intro__logo--klein { width: 36px; height: 36px; margin: 0 auto 12px; display: block; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--waldgruen);
  margin: 0 0 12px;
}

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 16px;
  color: var(--ink);
}

h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  margin: 0 0 28px;
  color: var(--ink);
}

.intro__text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 28px;
}

.intro__facts {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--green-ink);
}
.intro__facts li::before {
  content: "— ";
  color: var(--taupe);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--waldgruen);
  color: var(--weiss);
}
.btn--primary:hover { background: var(--green-ink); }

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--sand);
}
.btn--ghost:hover { border-color: var(--taupe); color: var(--ink); }

/* Progress */
.progress { margin-bottom: 28px; }
.progress__track {
  height: 6px;
  border-radius: 999px;
  background: var(--hellgrau);
  overflow: hidden;
}
.progress__fill {
  height: 100%;
  background: var(--taupe);
  border-radius: 999px;
  transition: width 0.3s ease;
}
.progress__label {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Options */
.optionen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.option {
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--creme);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  line-height: 1.4;
}
.option:hover { border-color: var(--sand); }
.option--selected {
  border-color: var(--waldgruen);
  background: #eef0e9;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Lead form */
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-ink);
}
.lead-form input {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--sand);
  background: var(--creme);
  color: var(--ink);
}
.lead-form input:focus {
  outline: none;
  border-color: var(--waldgruen);
}
.lead-form__consent {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.lead-form__consent a { color: var(--waldgruen); }

/* Ergebnis */
.card--ergebnis { max-width: 820px; }
.ergebnis__kopf { text-align: center; margin-bottom: 4px; }
.ergebnis__stufe {
  text-align: center;
  font-size: 34px;
}
.ergebnis__kurz {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 32px;
}

.ergebnis__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}
@media (max-width: 640px) {
  .ergebnis__grid { grid-template-columns: 1fr; }
}

.ergebnis__chart { display: flex; justify-content: center; }
.radar-svg { width: 100%; max-width: 380px; }
.radar-grid { fill: none; stroke: var(--hellgrau); stroke-width: 1; }
.radar-axis { stroke: var(--sand); stroke-width: 1; }
.radar-data { fill: rgba(79, 84, 64, 0.22); stroke: var(--waldgruen); stroke-width: 2; }
.radar-dot { fill: var(--waldgruen); }
.radar-label { fill: var(--green-ink); font-size: 10px; font-family: var(--font-body); font-weight: 700; }

.ergebnis__score {
  font-size: 20px;
  font-weight: 700;
  color: var(--waldgruen);
  margin: 0 0 16px;
}
.ergebnis__dimensionen {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ergebnis__dimensionen li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  border-bottom: 1px solid var(--hellgrau);
  padding-bottom: 8px;
}
.ergebnis__fundament { color: var(--taupe); }

.ergebnis__lang {
  font-size: 15px;
  line-height: 1.65;
  color: var(--green-ink);
  border-top: 1px solid var(--hellgrau);
  padding-top: 24px;
  margin: 0 0 32px;
}

.ergebnis__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

/* Zweiter, schlanker CTA direkt unter der Kurzeinschätzung — garantiert
   above the fold sichtbar, bevor Diagramm und Langtext folgen. */
.ergebnis__cta--top {
  margin: 4px 0 32px;
}

/* Vertrauenselemente (Siegel/Partnerlogos) — wiederverwendbarer Baustein,
   eingesetzt sowohl auf der Startseite (vor dem CTA) als auch kurz vor dem
   finalen CTA der Ergebnisseite. */
.trust-badges {
  text-align: center;
  margin: 28px 0 0;
}
.card--ergebnis .trust-badges { margin: 0 0 28px; }
.trust-badges__label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 14px;
}
.trust-badges__siegel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-badges__siegel img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  filter: grayscale(35%);
  transition: opacity 0.15s ease, filter 0.15s ease;
}
.trust-badges__siegel:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

.ergebnis__footer {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Druck / PDF-Export (window.print())
   -------------------------------------------------------------------------- */
@media print {
  body { background: var(--weiss); }
  .app { padding: 0; min-height: auto; }
  .card { box-shadow: none; border: none; max-width: 100%; padding: 24px; }
  .no-print { display: none !important; }
  .radar-svg { max-width: 260px; }
}

/* Schmalere Kopf-/Fußzeile auf kleinen Bildschirmen */
@media (max-width: 480px) {
  .site-header { padding: 12px 16px; gap: 14px; }
  .site-header__logo { height: 22px; width: auto; }
  .site-footer { font-size: 11px; padding: 8px 16px; }
  .app { padding-top: 96px; padding-bottom: 64px; }
}
