/* ══════════════════════════════════════════════════════════════════
   theme.css — Handwerkskontor Design-System (v3 „Werkstatt“, 2026-07)
   Identität: Orange / Schwarz / Papier-Beige, plakatige Condensed-
   Headlines — handwerklich, nicht Corporate. Technisch bleiben alle
   Best-Practice-Fixes erhalten: AA-Kontraste, sichtbare Fokusringe,
   8px-Raster, No-JS-Sichtbarkeit (html.js), reduzierte Motion.
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Werkstatt-Palette (aus dem Original-Design übernommen) */
  --bg: #edebe4;            /* Papier / Bone */
  --bg-card: #faf8f2;       /* Creme für Karten */
  --bg-deep: #e4e2da;       /* etwas tieferes Papier */
  --ink: #1c1b18;           /* fast Schwarz, warm */
  --text: #3a3833;
  --muted: #676359;         /* ≥4.5:1 auf Papier */
  --line: #d8d4c8;
  --line-strong: #8b8577;   /* ≥3:1 auf Papier — interaktive Grenzen (WCAG 1.4.11) */
  --accent: #d96e1f;        /* Werkstatt-Orange: Headlines, Grafik, große Zahlen */
  --accent-2: #e98935;      /* helleres Orange auf dunklem Grund */
  --accent-btn: #b4581a;    /* Buttons: Weiß darauf ≥4.5:1 */
  --accent-btn-hover: #9c4b15;
  --accent-text: #a04e14;   /* Orange für Fließtext-Links, ≥4.5:1 auf Papier */
  --accent-tint: #f4e3d2;
  --coal: #1c1b18;          /* dunkle Flächen: Nav, ROI, CTA */
  --coal-2: #26241f;
  --on-coal: #ede9e0;
  --on-coal-muted: #a9a399;
  --error: #b3261e;

  /* Typo */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  /* Geometrie */
  --radius-s: 6px;
  --radius: 10px;
  --radius-l: 14px;
  --shadow: 0 1px 2px rgba(28, 27, 24, 0.07);
  --shadow-lift: 0 8px 24px rgba(28, 27, 24, 0.1);
  --maxw: 1140px;
}

/* ── Basis ─────────────────────────────────────────────────────── */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); }
a { color: var(--accent-text); }

:focus-visible {
  outline: 2px solid var(--accent-btn);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--accent-tint); }

section, .section { scroll-margin-top: 84px; }

/* ── Typografie ────────────────────────────────────────────────── */

.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.display-lg { font-size: clamp(38px, 5.4vw, 60px); }
.display-xl { font-size: clamp(44px, 6vw, 70px); }

/* Orange Akzente in Headlines — Teil der Werkstatt-Identität */
.hero-headline em, .display em, .gr-title em, .step-title em,
.notfor-title em, .einwand-title em, .about-title em,
.manifesto-title em, .qform h3 em {
  font-style: normal;
  color: var(--accent);
}

.cta-title em { font-style: normal; color: var(--accent-2); }

.sec-head { margin-bottom: 20px; }

.sec-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.sec-label.light { color: var(--accent-2); }

.mono-s {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ── Layout ────────────────────────────────────────────────────── */

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 24px;
}

.section + .section { border-top: 1px solid var(--line); }
.section.cta { border-top: 0; }

/* ── Navigation (dunkel, wie im Original) ──────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--coal);
  border-bottom: 2px solid var(--accent);
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .nav {
    background: rgba(28, 27, 24, 0.94);
    backdrop-filter: blur(8px);
  }
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--on-coal);
}

.brand-mark { color: var(--accent-2); display: inline-flex; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: #cfcabf;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 2px;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  white-space: nowrap;
  text-decoration: none;
  background: var(--accent-btn);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-s);
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--accent-btn-hover); }

.nav-inner > .nav-cta { margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }

/* Footer-Brand bleibt dunkel auf Papier */
.footer .brand { color: var(--ink); }
.footer .brand-mark { color: var(--accent-text); }

/* ── Hero (linksbündig, Plakat-Charakter, Papier + Körnung) ────── */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

.hero-grain {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(28, 27, 24, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.hero-inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) 24px clamp(56px, 8vw, 96px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 28px;
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 14ch;
}

.hl-line { display: block; }

.hero-sub {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-sub em { font-style: normal; font-weight: 600; color: var(--ink); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  max-width: 640px;
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }

.meta-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--ink);
}

.meta-lbl {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-sep { width: 1px; height: 40px; background: var(--line-strong); }

/* ── Buttons ───────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius-s);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent-btn);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-btn-hover); }

.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: transparent;
}

.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ── Gründe (Problem-Karten) ───────────────────────────────────── */

.gruende-lede, .rechnung-lede, .manifesto-lede, .notfor-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 40px;
}

.gruende-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gr-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.gr-card:hover { box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

/* dritte Karte als Akzent — wie im Original die orange Karte */
.gr-card-final {
  background: var(--accent-btn);
  border-color: var(--accent-btn);
}

.gr-card-final .gr-title, .gr-card-final .gr-title em { color: #fff; }
.gr-card-final .gr-body { color: #f6dfcc; }
.gr-card-final .gr-num { background: rgba(255, 255, 255, 0.16); color: #fff; }

.gr-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-tint);
  border-radius: 4px;
  padding: 2px 9px;
  margin-bottom: 16px;
}

.gr-title {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
  margin: 0 0 10px;
}

.gr-body { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ── ROI-Rechner (dunkles Panel wie im Original) ───────────────── */

.roi {
  background: var(--coal);
  color: var(--on-coal);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  padding: clamp(24px, 4vw, 40px);
}

.roi-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px 0;
}

.roi-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-coal);
}

.roi-input-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.roi-slider {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--fill, 50%), #45423b var(--fill, 50%));
  outline-offset: 4px;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: pointer;
}

.roi-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  cursor: pointer;
}

.roi-readout {
  min-width: 74px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.roi-readout-unit { color: var(--on-coal-muted); font-weight: 500; margin-left: 3px; font-size: 15px; }

.roi-result {
  margin-top: 24px;
  border-top: 1px solid #3a3831;
  padding-top: 28px;
}

.roi-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.roi-item { text-align: center; flex: 1; min-width: 130px; }

.roi-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 44px);
  color: var(--on-coal);
  font-variant-numeric: tabular-nums;
}

.roi-item-final .roi-num { color: var(--accent-2); }

.roi-suffix {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-coal-muted);
  margin-top: 2px;
}

.roi-arrow { color: #57534a; flex: 0 0 auto; }

.roi-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.roi-hint { font-size: 14px; color: var(--on-coal-muted); }

.roi-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}

.roi-link:hover { border-bottom-color: var(--accent-2); }

/* ── Manifesto / Prinzip ───────────────────────────────────────── */

.m-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--accent-text);
  text-decoration: none;
}

.m-cta:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── 5 Schritte ────────────────────────────────────────────────── */

.steps-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.step-n {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title { font-size: 20px; font-weight: 650; margin: 8px 0 10px; }

.step-body { font-size: 15.5px; color: var(--text); margin: 0 0 16px; max-width: 68ch; }

.step-examples {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 16px 20px;
}

.step-examples ul { margin: 0; padding-left: 18px; }
.step-examples li { font-size: 14.5px; color: var(--text); margin: 4px 0; }

.step-out {
  align-self: start;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-tint);
  border-radius: 4px;
  padding: 6px 12px;
  margin-top: 8px;
}

/* ── Über mich ─────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.portrait-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lift);
}

.portrait-img { display: block; width: 100%; height: auto; }

.about-facts {
  list-style: none;
  margin: 24px 0 32px;
  padding: 0;
}

.about-facts li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.about-facts li::before {
  content: '✓';
  position: absolute;
  left: 2px;
  color: var(--accent-text);
  font-weight: 700;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  background: var(--accent-btn);
  color: #fff;
  border-radius: var(--radius);
  padding: 16px 24px;
  transition: background 0.15s ease;
}

.about-cta:hover { background: var(--accent-btn-hover); }

.ac-text { display: flex; flex-direction: column; gap: 2px; }
.ac-text strong { font-size: 16px; font-weight: 650; }
.ac-text span { font-size: 13.5px; opacity: 0.85; }

/* ── Nicht für jeden ───────────────────────────────────────────── */

.notfor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.notfor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notfor-list li {
  display: flex;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15.5px;
  color: var(--text);
}

.notfor-list strong { color: var(--ink); }

.nf-x {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── Einwände ──────────────────────────────────────────────────── */

.einwand-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.ew-item {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
}

.ew-q {
  font-weight: 650;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
}

.ew-mark { color: var(--accent); }

.ew-a { font-size: 15.5px; color: var(--text); }

/* ── FAQ ───────────────────────────────────────────────────────── */

.faq { margin-top: 56px; }
.faq .sec-head { margin-bottom: 16px; }

.faq-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg); }

.faq-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent-text);
  transition: transform 0.2s ease;
}

.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }

.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

.faq-a {
  padding: 0 22px 20px;
  font-size: 15.5px;
  color: var(--text);
  max-width: 75ch;
}

/* ── CTA + Formular (Kohle-Sektion) ────────────────────────────── */

.section.cta {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  background: var(--coal);
  border-top: 2px solid var(--accent);
}

.cta-frame {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.cta-left { color: var(--on-coal); }

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--on-coal);
  border: 1px solid #45423b;
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0 12px 20px 0;
}

.cta-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}

.cta-title { color: #fff; margin-top: 16px; }

.cta-sub { font-size: 17px; max-width: 44ch; color: var(--on-coal); }

.cta-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
}

.cta-list .dash {
  width: 18px;
  height: 2px;
  background: var(--accent-2);
  flex: 0 0 auto;
}

.cta-right {
  background: var(--bg-card);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-lift);
  padding: clamp(20px, 3vw, 32px);
}

/* ── Footer (Papier) ───────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.foot-col { display: flex; flex-direction: column; gap: 10px; }

.foot-col a {
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  padding: 8px 0;
  margin: -4px 0;
}

.foot-col a:hover { color: var(--accent-text); }

.foot-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.brand-big .brand-name { font-size: 22px; }

.foot-tag { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.foot-muted { color: var(--muted); font-size: 14px; }

.foot-base {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}

/* ── Fragebogen (React) ────────────────────────────────────────── */

.qform { display: flex; flex-direction: column; }

.qform-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.qform-step { font-size: 14px; color: var(--muted); }
.qform-step strong { color: var(--ink); }
.qform-total { font-size: 13px; color: var(--muted); }

.qprogress {
  height: 5px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}

.qprogress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.qstep h3 {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.3;
  margin: 0 0 6px;
}

.qstep-sub { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }

.qoptions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.qopt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  background: var(--bg-card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.qopt:hover { border-color: var(--accent-btn); }

.qopt.active {
  border-color: var(--accent-btn);
  background: var(--accent-tint);
}

.qopt-mark {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.qopt.active .qopt-mark {
  border-color: var(--accent-btn);
  box-shadow: inset 0 0 0 4px var(--bg-card), inset 0 0 0 10px var(--accent-btn);
  background: var(--accent-btn);
}

.qopt-label { flex: 1; }

.qopt-hint { font-size: 12.5px; color: var(--muted); }

.qrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qfield { display: flex; flex-direction: column; gap: 6px; }

.qfield label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.qinput, .qtextarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  transition: border-color 0.15s ease;
}

.qinput:focus, .qtextarea:focus {
  outline: none;
  border-color: var(--accent-btn);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.qtextarea { min-height: 84px; resize: vertical; }

.qerr {
  display: block;
  font-size: 13px;
  color: var(--error);
}

.qnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}

.qnext, .qback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: var(--radius-s);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.qnext {
  background: var(--accent-btn);
  color: #fff;
  border: 0;
  padding: 12px 22px;
}

.qnext:hover:not(:disabled) { background: var(--accent-btn-hover); }

.qnext:disabled {
  background: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.qback {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 12px 14px;
}

.qback:hover:not(:disabled) { color: var(--ink); }
.qback:disabled { opacity: 0.4; cursor: not-allowed; }

/* Start-Screen */
.qstart-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 12px;
}

.qstart h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.qstart p { font-size: 15px; color: var(--text); margin: 0 0 20px; }

.qstart-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qstart-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
}

.qstart-list .n {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qstart-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.qstart-foot > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* Danke-Screen */
.qthanks { text-align: center; padding: 12px 4px; }

.qthanks-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qthanks h3 { font-size: 23px; font-weight: 700; line-height: 1.3; margin: 0 0 14px; }
.qthanks h3 em { font-style: normal; color: var(--accent-text); }
.qthanks p { font-size: 15px; color: var(--text); max-width: 42ch; margin: 0 auto 14px; }

.qthanks-signoff { color: var(--muted); font-style: italic; font-size: 15px; }

.qthanks-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 20px;
}

.qthanks-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--muted);
}

.qthanks-meta strong {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

/* Fehlerzustand beim Senden */
.qsubmit-err {
  margin-top: 16px;
  background: #f9ebe8;
  border: 1px solid #e5bdb6;
  border-radius: var(--radius-s);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--error);
}

.qsubmit-err a { color: var(--error); font-weight: 600; }

/* ── Rechtsseiten (Impressum / Datenschutz / AGB) ──────────────── */

.legal {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) 24px;
}

.legal h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 46px);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 8px;
}

.legal-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 22px;
  font-weight: 650;
  margin: 44px 0 12px;
}

.legal h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 28px 0 8px;
}

.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--text); }
.legal ol, .legal ul { padding-left: 22px; }
.legal address { font-style: normal; line-height: 1.7; }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  margin-bottom: 28px;
}

.legal-back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ── Reveal / Motion ───────────────────────────────────────────── */

/* Nur ausblenden, wenn JS bestätigt läuft (html.js setzt app.js) —
   ohne JS, im Druck und für Crawler ist alles sofort sichtbar. */
html.js .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js .reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .qprogress-bar, .btn, .nav-cta, .qopt, .faq-icon::before, .faq-icon::after { transition: none; }
}

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .gruende-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 320px; }
  .notfor-grid { grid-template-columns: 1fr; }
  .cta-frame { grid-template-columns: 1fr; }
  .ew-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  /* display:none-Sibling matcht weiterhin — CTA wieder nach rechts */
  .nav-links + .nav-cta { margin-left: auto; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step-out { justify-self: start; margin-top: 0; }
  .roi-row { grid-template-columns: 1fr; gap: 10px; }
  .roi-flow { flex-direction: column; align-items: stretch; }
  .roi-arrow { display: none; }
  .roi-item { text-align: left; }
  .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .meta-sep { display: none; }
  .qoptions { grid-template-columns: 1fr; }
  .qrow { grid-template-columns: 1fr; }
  .qthanks-meta { grid-template-columns: 1fr 1fr 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  /* Hero-Button bleibt der einzige gefüllte Primär-CTA im Viewport */
  .nav-cta { background: transparent; color: var(--accent-2); border: 1.5px solid #57534a; }
  .nav-cta:hover { background: var(--coal-2); }
  .qstart-foot { flex-direction: column-reverse; align-items: stretch; }
  .qstart-foot .qnext { justify-content: center; }
}

@media (max-width: 520px) {
  .nav-inner { gap: 12px; }
  .nav .brand-name { font-size: 17px; }
  .nav-cta { padding: 12px 16px; font-size: 14px; }
}
