/* ════════════════════════════════════════════════════════════
   Grün.Support — Stylesheet v2
   Selbst gehostet, keine externen Quellen (CSP-kompatibel).
   ════════════════════════════════════════════════════════════ */

/* ── Design-Tokens ─────────────────────────────────────────── */
:root {
  color-scheme: light;
  --bg:            #f7f6f1;
  --bg-raise:      #fdfdfa;
  --bg-tint:       #edf2ec;
  --border:        #e3e2d8;
  --border-strong: #c9c8bc;
  --ink:           #191b16;
  --muted:         #62655a;
  --accent:        #2d6a4f;
  --accent-deep:   #1b4332;
  --accent-ink:    #ffffff;
  --tag-urgent-bg: #f6e8dd;
  --tag-urgent-fg: #96501f;
  --tag-soon-bg:   #dcebe0;
  --tag-soon-fg:   #24573f;
  --tag-later-bg:  #eaeae2;
  --tag-later-fg:  #6b6e62;
  --nav-bg:        rgba(247, 246, 241, 0.9);
  --shadow-card:   0 1px 2px rgba(25, 27, 22, 0.05), 0 8px 24px rgba(25, 27, 22, 0.06);
  --radius:        8px;
  --radius-sm:     5px;
  --font:          'Inter', system-ui, sans-serif;
  --t:             0.2s ease;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg:            #101210;
  --bg-raise:      #181b18;
  --bg-tint:       #16211b;
  --border:        #272b26;
  --border-strong: #3c413b;
  --ink:           #edefe8;
  --muted:         #93988c;
  --accent:        #4ade80;
  --accent-deep:   #86efac;
  --accent-ink:    #0c130e;
  --tag-urgent-bg: #33220f;
  --tag-urgent-fg: #e0a26a;
  --tag-soon-bg:   #14301f;
  --tag-soon-fg:   #7dd8a2;
  --tag-later-bg:  #22251f;
  --tag-later-fg:  #9ba095;
  --nav-bg:        rgba(16, 18, 16, 0.9);
  --shadow-card:   0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* ── Reset & Basis ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  transition: background var(--t), color var(--t);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--accent-ink); }

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

/* ── Sprunglink zum Inhalt (Tastatur, Screenreader) ────────── */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: -100vw;
  z-index: 200;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  font-weight: 650;
  font-size: 0.9rem;
}

.skip-link:focus { left: 0.6rem; }

/* Ziel des Sprunglinks: fokussierbar, aber ohne sichtbaren Rahmen */
main:focus { outline: none; }

/* ── Layout-Container ──────────────────────────────────────── */
.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.shell-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6.5rem 0; }

section + section { border-top: 1px solid var(--border); }

/* Mehrere Textblöcke in einem Abschnitt (englischer One-Pager):
   ohne Trennlinie, aber mit klarem Abstand. */
.shell-narrow + .shell-narrow { margin-top: 3.5rem; }

.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 24ch;
  overflow-wrap: break-word;
}

.section-intro {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 3rem;
}

.section-intro strong { color: var(--ink); font-weight: 600; }

.section-intro + .section-intro { margin-top: -1.6rem; }

/* ── Navigation ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 2rem;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}

#navbar.scrolled { box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08); }

.wordmark {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.wordmark .dot { color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 1.4rem; }

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--t);
}

.nav-link:hover { color: var(--ink); }

/* Dropdown „Leistungen" */
.nav-item { position: relative; }

.nav-drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0.6rem 0;
  cursor: pointer;
  font-family: var(--font);
}

.nav-drop-trigger .caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t);
}

.nav-item.open .nav-drop-trigger .caret,
.nav-item:hover .nav-drop-trigger .caret {
  transform: rotate(225deg) translateY(-1px);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -1.25rem;
  min-width: 300px;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 110;
}

.nav-item.open .dropdown,
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background var(--t);
}

.dropdown a:hover { background: var(--bg-tint); }

.dropdown a strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 620;
  color: var(--ink);
}

.dropdown a span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.dropdown .dropdown-all {
  margin-top: 0.35rem;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.dropdown .dropdown-all:hover { background: var(--bg-tint); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: background var(--t);
  white-space: nowrap;
}

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

.toggle-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.42rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--t), border-color var(--t);
}

.toggle-btn:hover { color: var(--ink); border-color: var(--border-strong); }

/* Sprach-Umschalter (echter Link zur anderen Sprachfassung) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 650;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.lang-toggle .globe {
  width: 14px;
  height: 14px;
  flex: none;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10.2'/%3E%3Cellipse cx='12' cy='12' rx='5.6' ry='10.2'/%3E%3Cellipse cx='12' cy='12' rx='10.2' ry='5.6'/%3E%3Cline x1='12' y1='1.8' x2='12' y2='22.2'/%3E%3Cline x1='1.8' y1='12' x2='22.2' y2='12'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='10.2'/%3E%3Cellipse cx='12' cy='12' rx='5.6' ry='10.2'/%3E%3Cellipse cx='12' cy='12' rx='10.2' ry='5.6'/%3E%3Cline x1='12' y1='1.8' x2='12' y2='22.2'/%3E%3Cline x1='1.8' y1='12' x2='22.2' y2='12'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  height: 34px;
}

.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  border-radius: 1px;
  transition: transform var(--t), opacity var(--t), background var(--t);
}

.burger-btn:hover span { background: var(--ink); }
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  z-index: 99;
  flex-direction: column;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-top: 1px solid var(--border);
  transition: color var(--t), background var(--t);
}

.mobile-nav a:hover { color: var(--ink); background: var(--bg-tint); }

.mobile-nav-label {
  padding: 0.95rem 2rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border-top: 1px solid var(--border);
}

.mobile-nav a.sub {
  padding: 0.7rem 2rem 0.7rem 2.9rem;
  border-top: none;
  font-size: 0.9rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

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

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

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

.text-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--t);
}

.text-link:hover { color: var(--accent-deep); }

.text-link::after { content: ' \2192'; }

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  padding: 10.5rem 0 6.5rem;
  border-top: none;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 4.5rem;
  align-items: center;
}

.hero-copy .eyebrow { margin-bottom: 1.4rem; }

.hero-copy h1 {
  font-size: clamp(2.35rem, 4.6vw, 3.7rem);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 1.5rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}

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

.hero-ctas { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.4rem; }

.hero-note { font-size: 0.82rem; color: var(--muted); }

/* Signatur-Element: die Maßnahmenliste als Artefakt */
.artifact-stage { position: relative; }

.artifact-stage::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  z-index: 0;
}

.artifact {
  position: relative;
  z-index: 1;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.artifact-head {
  padding: 1.1rem 1.4rem 1rem;
  border-bottom: 1px solid var(--border);
}

.artifact-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.artifact-meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.task-list { list-style: none; }

.task-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid var(--border);
  animation: task-in 0.5s ease both;
}

.task-item:nth-child(1) { animation-delay: 0.15s; }
.task-item:nth-child(2) { animation-delay: 0.3s; }
.task-item:nth-child(3) { animation-delay: 0.45s; }
.task-item:nth-child(4) { animation-delay: 0.6s; }
.task-item:nth-child(5) { animation-delay: 0.75s; }

@keyframes task-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.task-check {
  flex: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  line-height: 1;
  color: var(--accent-ink);
}

.task-item.done .task-check {
  background: var(--accent);
  border-color: var(--accent);
}

.task-item.done .task-check::before { content: '\2713'; }

.task-text { font-size: 0.88rem; font-weight: 500; flex: 1; min-width: 0; }

.task-item.done .task-text { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--border-strong); }

.tag {
  flex: none;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 99px;
}

.tag-urgent { background: var(--tag-urgent-bg); color: var(--tag-urgent-fg); }
.tag-soon   { background: var(--tag-soon-bg);   color: var(--tag-soon-fg); }
.tag-later  { background: var(--tag-later-bg);  color: var(--tag-later-fg); }

/* Einstieg in den Selbsttest – einzige Farbfläche der Karte */
.artifact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1.05rem 1.4rem;
  background: var(--bg-tint);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: background var(--t), color var(--t);
}

.artifact-cta::after {
  content: '\2192';
  flex: none;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform var(--t);
}

.artifact-cta:hover { background: var(--accent); color: var(--accent-ink); }
.artifact-cta:hover::after { transform: translateX(4px); }

.artifact-cta:focus-visible { outline-offset: -4px; }

/* ── Positionierung (Statement-Band) ───────────────────────── */
#positionierung { padding: 5.5rem 0; }

.statement {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.45;
  max-width: 44ch;
  text-wrap: balance;
}

.statement em {
  font-style: normal;
  color: var(--accent);
}

.statement-follow {
  color: var(--muted);
  max-width: 60ch;
  margin-top: 1.4rem;
}

/* ── Für wen ───────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.plain-list { list-style: none; }

.plain-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.plain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.7rem;
  height: 1.5px;
  background: var(--accent);
}

.side-note {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.side-note h3 {
  font-size: 0.95rem;
  font-weight: 650;
  margin-bottom: 1rem;
}

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }

.chip {
  font-size: 0.83rem;
  font-weight: 550;
  padding: 0.4rem 0.85rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: 99px;
}

a.chip {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

a.chip:hover,
a.chip:focus-visible { border-color: var(--accent); background: var(--bg); }

.side-note p { font-size: 0.86rem; color: var(--muted); }

/* ── Typische Probleme (Checkliste) ────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.problem {
  display: flex;
  gap: 0.9rem;
  padding: 1.5rem 1.6rem;
  background: var(--bg);
  transition: background var(--t);
}

.problem:hover { background: var(--bg-tint); }

.problem-box {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  line-height: 1;
  color: transparent;
  transition: background var(--t), border-color var(--t), color var(--t);
}

.problem-box::before { content: '\2713'; }

.problem:hover .problem-box {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.problem h3 { font-size: 0.95rem; font-weight: 620; margin-bottom: 0.25rem; }

.problem p { font-size: 0.88rem; color: var(--muted); }

.problem-outro {
  margin-top: 1.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ── Leistungen ────────────────────────────────────────────── */
.offer-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  padding: 2.4rem;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.offer-featured-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.3rem 0.65rem;
  border-radius: 99px;
  margin-bottom: 1.1rem;
}

.offer-featured h3 {
  font-size: 1.45rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}

.offer-featured p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; max-width: 52ch; }

.offer-deliverables {
  list-style: none;
  align-self: center;
}

.offer-deliverables li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.7rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.offer-deliverables li:last-child { border-bottom: none; }

.offer-deliverables li::before {
  content: '\2713';
  position: absolute;
  left: 0.15rem;
  color: var(--accent);
  font-weight: 700;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.offer-card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t);
}

.offer-card:hover { border-color: var(--border-strong); }

.offer-card h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 0.6rem; letter-spacing: -0.01em; }

.offer-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; flex: 1; }

/* ── Prinzip: lokal & Open Source first ────────────────────── */
.principle-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.principle-card {
  padding: 1.9rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.principle-card.is-standard {
  background: var(--bg-tint);
  border-color: var(--accent);
}

.principle-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border-strong);
  padding: 0.3rem 0.65rem;
  border-radius: 99px;
  margin-bottom: 1.1rem;
}

.is-standard .principle-label {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
}

.principle-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.principle-card p { font-size: 0.9rem; color: var(--muted); }

.principle-card .plain-list { margin-top: 1rem; }

.principle-card .plain-list li { font-size: 0.88rem; padding-top: 0.4rem; padding-bottom: 0.4rem; }

.principle-card .plain-list li::before { top: 0.9rem; }

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

/* Zwischenüberschrift im Prinzip-Abschnitt: kleiner als die Section-Überschrift */
.section-title.is-sub {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  max-width: 30ch;
}

.stack-group h3 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.stack-group .chips { margin-bottom: 0; }

.stack-lead { margin-bottom: 2rem; }

/* ── Arbeitsweise ──────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.75rem 2.5rem;
  counter-reset: step;
}

.step { counter-increment: step; }

.step-num {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.step-num::before {
  content: counter(step, decimal-leading-zero);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.step-num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.step h3 { font-size: 1rem; font-weight: 650; margin-bottom: 0.4rem; }

.step p { font-size: 0.88rem; color: var(--muted); }

/* ── Über mich / Warum ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.about-photo-caption {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  max-width: 60ch;
}

.about-copy p.lead {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.pull-quote {
  margin: 1.9rem 0 0;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1rem;
  line-height: 1.6;
}

.pull-quote footer {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.about-aside .pull-quote {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Zeitstrahl: der Werdegang als grüne Linie mit Stationen */
.milestones {
  list-style: none;
  margin-top: 2rem;
}

.milestone {
  position: relative;
  padding: 0 0 1.6rem 2.3rem;
}

.milestone:last-child { padding-bottom: 0; }

.milestone:nth-child(1) { --d: 0.15s; }
.milestone:nth-child(2) { --d: 0.45s; }
.milestone:nth-child(3) { --d: 0.75s; }
.milestone:nth-child(4) { --d: 1.05s; }
.milestone:nth-child(5) { --d: 1.35s; }

/* Liniensegment zur nächsten Station */
.milestone::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 13px;
  bottom: -13px;
  width: 2px;
  background: var(--accent);
  opacity: 0.35;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease calc(var(--d, 0s) + 0.2s);
}

.milestone:last-child::before { display: none; }

/* Station (Ring) */
.milestone::after {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--accent);
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s), box-shadow 0.2s ease;
}

.milestone:hover::after { box-shadow: 0 0 0 5px var(--tag-soon-bg); }

.about-copy.visible .milestone::before { transform: scaleY(1); }
.about-copy.visible .milestone::after  { transform: scale(1); }

/* Endstation „Heute": Sie sind hier */
.milestone-now::after {
  background: var(--accent);
  animation: station-pulse 2.6s ease-out infinite;
}

@keyframes station-pulse {
  0%        { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 35%, transparent); }
  70%, 100% { box-shadow: 0 0 0 10px transparent; }
}

.milestone-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.milestone-head h3 {
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.milestone-year {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  background: var(--tag-soon-bg);
  color: var(--tag-soon-fg);
}

.milestone-now .milestone-year {
  background: var(--accent);
  color: var(--accent-ink);
}

.milestone p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0.3rem 0 0;
  max-width: 52ch;
}

/* ── Referenzen ────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.testimonial {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.testimonial p {
  font-size: 0.92rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.testimonial p::before { content: '\201E'; color: var(--accent); font-weight: 700; }
.testimonial p::after  { content: '\201C'; color: var(--accent); font-weight: 700; }

/* Englische Fassung: englische statt deutsche Anführungszeichen. */
html[lang="en"] .testimonial p::before { content: '\201C'; }
html[lang="en"] .testimonial p::after  { content: '\201D'; }

.testimonial cite {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── Erste Schritte ────────────────────────────────────────── */
.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.path-card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t);
}

.path-card:hover { border-color: var(--border-strong); }

.path-card .eyebrow { margin-bottom: 0.8rem; }

.path-card h3 { font-size: 1.05rem; font-weight: 650; margin-bottom: 0.6rem; letter-spacing: -0.01em; }

.path-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.4rem; flex: 1; }

/* ── Kontakt ───────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 4rem;
  align-items: start;
}

.contact-copy p { color: var(--muted); margin-bottom: 1.5rem; max-width: 46ch; }

.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.contact-photo {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.contact-copy .contact-person-line {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
  max-width: 34ch;
}

.contact-copy .contact-person-line strong { color: var(--ink); font-weight: 650; }

.contact-direct { display: flex; flex-direction: column; gap: 0.8rem; }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t), background var(--t);
}

.contact-card:hover { border-color: var(--accent); background: var(--bg-tint); }

.contact-card .label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-card .value { font-size: 0.98rem; font-weight: 550; }

/* Formular */
.contact-form {
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field .optional { color: var(--muted); font-weight: 500; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  transition: border-color var(--t);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 0.7; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.form-hint { font-size: 0.78rem; color: var(--muted); flex: 1; min-width: 200px; }

.form-confirm {
  display: none;
  margin-top: 1.1rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-tint);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
}

.form-confirm.show { display: block; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links a { color: var(--muted); transition: color var(--t); }

.footer-links a:hover { color: var(--ink); }

/* ── Unterseiten (Leistungsseiten) ─────────────────────────── */
.page-hero {
  padding: 10.5rem 0 4.5rem;
  border-top: none;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.3rem;
  max-width: 20ch;
  text-wrap: balance;
}

/* Kontaktseite: Titel mittig über der vollen Spaltenbreite.
   Selektor muss .page-hero h1 überbieten, sonst bleibt die 20ch-Breite
   stehen und der Text sitzt nur innerhalb dieses schmalen Blocks mittig. */
.page-hero h1.contact-page-title {
  max-width: none;
  text-align: center;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.page-hero .hero-sub { margin-bottom: 2rem; }

.subpage section { padding: 4.5rem 0; }

.subpage .section-title { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }

.check-list { list-style: none; }

.check-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 2rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0.2rem;
  top: 0.6rem;
  color: var(--accent);
  font-weight: 700;
}

.check-list li strong { color: var(--ink); font-weight: 620; }

.x-list li::before { content: '\2013'; color: var(--muted); font-weight: 600; }

.step-col { display: grid; gap: 1.6rem; counter-reset: step; max-width: 620px; }

.price-box {
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 620px;
}

.price-line {
  font-size: 1.6rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.price-line span { font-size: 0.85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.price-box p { font-size: 0.9rem; color: var(--muted); }

.cta-band {
  background: var(--bg-tint);
}

.cta-band .section-title { max-width: 30ch; }

.cta-band p { color: var(--muted); max-width: 58ch; margin-bottom: 2rem; }

.crosslink {
  margin-top: 1.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Rechtsseiten (Impressum / Datenschutz) ────────────────── */
.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 680;
  letter-spacing: -0.025em;
  margin: 0 0 2rem;
}

.legal-content h3 {
  font-size: 1rem;
  font-weight: 650;
  margin: 2rem 0 0.5rem;
}

.legal-content p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.legal-content p strong { color: var(--ink); }

.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

.legal-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.legal-content ul {
  margin: 0 0 1rem 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content ul li { margin-bottom: 0.25rem; }

.legal-lang-divider { margin: 3.5rem 0 2.5rem; }

/* ── Scroll-Reveal ─────────────────────────────────────────── */
/* Nur mit JavaScript ausblenden: theme.js setzt die Klasse `js` am
   <html>-Element. Ohne JavaScript gäbe es niemanden, der die Elemente
   wieder einblendet — der halbe Seiteninhalt bliebe unsichtbar. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.visible { opacity: 1; transform: none; }

/* ── Reduzierte Bewegung ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .task-item { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .milestone::before, .milestone::after { transform: none; transition: none; }
  .milestone-now::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  /* Karte rückt zwischen Text und Buttons – der Selbsttest darf nicht ans Seitenende rutschen */
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy h1 { order: 2; }
  .hero-sub { order: 3; }
  .artifact-stage { order: 4; max-width: 480px; margin-bottom: 2.6rem; }
  .hero-ctas { order: 5; }
  .hero-note { order: 6; }
  .offer-grid, .testimonial-grid, .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 2.5rem; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
}

@media (max-width: 720px) {
  .nav-link, .nav-cta { display: none; }
  .burger-btn { display: flex; }
  .nav-right { gap: 0.8rem; }

  section { padding: 4.5rem 0; }
  #hero { padding: 8.5rem 0 4.5rem; }

  .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .problem-grid { grid-template-columns: minmax(0, 1fr); }
  .offer-featured { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; padding: 1.75rem; }
  .offer-grid, .testimonial-grid, .path-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .principle-pair { grid-template-columns: minmax(0, 1fr); }
  .principle-card { padding: 1.6rem; }
  .stack-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about-photo { max-width: 240px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (max-width: 480px) {
  #navbar { padding: 0 1.1rem; }
  .shell, .shell-narrow, .footer-inner { padding: 0 1.1rem; }
  .hero-ctas .btn { width: 100%; }
  .artifact-stage::before { inset: 10px -8px -10px 10px; }
  .contact-form { padding: 1.4rem; }
}

/* ════════════════════════════════════════════════════════════
   Souveränitäts-Schnelltest (schnelltest.html)
   ════════════════════════════════════════════════════════════ */

/* ── Versprechen im Intro ──────────────────────────────────── */
.quiz-versprechen {
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 62ch;
}

.quiz-versprechen p { font-size: 0.9rem; color: var(--muted); }
.quiz-versprechen p strong { color: var(--ink); font-weight: 620; }
.quiz-versprechen-note { margin-top: 0.8rem; font-size: 0.82rem !important; font-style: italic; }

.quiz-noscript {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--tag-urgent-fg);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.quiz-noscript a { color: var(--accent); text-decoration: underline; }

/* ── Fortschritt ───────────────────────────────────────────── */
.quiz-fortschritt { margin-bottom: 2.5rem; }

.quiz-fortschritt p {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.quiz-balken {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.quiz-balken span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.35s ease;
}

/* ── Frage ─────────────────────────────────────────────────── */
#quiz-frage:focus { outline: none; }

.quiz-dimension {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

.quiz-frage-titel {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.7rem;
  max-width: 26ch;
}

.quiz-hinweis {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 58ch;
}

/* ── Branchenauswahl ───────────────────────────────────────── */
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

/* Ungerade Anzahl: die letzte Karte füllt die Zeile statt allein zu stehen. */
.branchen-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

.branche-karte {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
  padding: 1.3rem 1.4rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color var(--t), background var(--t), transform var(--t);
}

.branche-karte:hover {
  border-color: var(--accent);
  background: var(--bg-tint);
  transform: translateY(-2px);
}

.branche-karte strong { font-size: 1rem; font-weight: 620; }
.branche-karte span { font-size: 0.84rem; color: var(--muted); }

/* ── Antwortoptionen ───────────────────────────────────────── */
.optionen { display: flex; flex-direction: column; gap: 0.6rem; }

.option {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 1rem 1.2rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  color: inherit;
  transition: border-color var(--t), background var(--t);
}

.option:hover { border-color: var(--border-strong); background: var(--bg-tint); }

.option.aktiv { border-color: var(--accent); background: var(--bg-tint); }

.option-marke {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  line-height: 1;
  transition: background var(--t), border-color var(--t);
}

.option.aktiv .option-marke {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.option.aktiv .option-marke::before { content: '\2713'; }

/* Nur eine Antwort möglich: Kreis mit Punkt statt Kästchen mit
   Haken. Das Kästchen ist die Form, die „mehrere möglich"
   verspricht — bei Einzelauswahl führt sie in die Irre. */
.option.einzel .option-marke { border-radius: 50%; }

.option.einzel.aktiv .option-marke {
  background: transparent;
  border-color: var(--accent);
  border-width: 2px;
}

.option.einzel.aktiv .option-marke::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
}

.option-label { flex: 1; min-width: 0; }

/* ── Sofort-Befund ─────────────────────────────────────────── */
.befund-karte {
  margin: 0.5rem 0 0.4rem 1.2rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: var(--radius-sm);
  animation: befund-auf 0.28s ease;
}

@keyframes befund-auf {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.befund-karte.stufe-hoch    { border-left-color: var(--tag-urgent-fg); }
.befund-karte.stufe-mittel  { border-left-color: var(--border-strong); }
.befund-karte.stufe-gut     { border-left-color: var(--accent); }
.befund-karte.stufe-neutral { border-left-color: var(--border-strong); }

.befund-zeilen { margin-bottom: 0.9rem; }

.befund-zeilen > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.32rem 0;
  border-bottom: 1px solid var(--border);
}

.befund-zeilen > div:last-child { border-bottom: none; }

.befund-zeilen dt {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.befund-zeilen dd { font-size: 0.88rem; }

.befund-fazit { font-size: 0.89rem; color: var(--muted); line-height: 1.6; }

/* ── Navigation im Test ────────────────────────────────────── */
.quiz-nav {
  display: flex;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}

.quiz-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz-nav .btn:disabled:hover { background: var(--accent); border-color: var(--accent); }

.quiz-fusszeile {
  margin-top: 2rem;
  font-size: 0.76rem;
  color: var(--muted);
  max-width: 62ch;
}

/* ── Ergebnis ──────────────────────────────────────────────── */
.ergebnis-stufe {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 680;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.ergebnis-stufe.stufe-hoch   { color: var(--tag-urgent-fg); }
.ergebnis-stufe.stufe-mittel { color: var(--ink); }
.ergebnis-stufe.stufe-gut    { color: var(--accent); }

.ergebnis-ampel {
  margin: 2.5rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raise);
  overflow: hidden;
}

.ampel-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 130px;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.ampel-zeile:last-child { border-bottom: none; }

.ampel-titel strong { display: block; font-size: 0.98rem; font-weight: 620; }
.ampel-titel span { display: block; font-size: 0.84rem; color: var(--muted); }

.ampel-punkte { display: inline-flex; gap: 4px; }

.ampel-punkte i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
}

.ampel-punkte.stufe-gut i:nth-child(1)    { background: var(--accent); }
.ampel-punkte.stufe-mittel i:nth-child(-n+2) { background: var(--border-strong); }
.ampel-punkte.stufe-hoch i                { background: var(--tag-urgent-fg); }

.ampel-wert {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
}

.ergebnis-block { margin-top: 2.75rem; }

.ergebnis-untertitel {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.ergebnis-text p {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 1rem;
}

.ergebnis-text p:last-child { margin-bottom: 0; }
.ergebnis-text strong { color: var(--ink); font-weight: 620; }
.ergebnis-text a { color: var(--accent); }

#ergebnis-befunde { margin-top: 2.75rem; }

.anliegen-ergebnis {
  min-height: 320px !important;
  font-size: 0.85rem;
  line-height: 1.55;
  white-space: pre;
  overflow-wrap: normal;
  overflow-x: auto;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 720px) {
  .branchen-grid { grid-template-columns: minmax(0, 1fr); }
  .befund-karte { margin-left: 0; }
  .befund-zeilen > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .ampel-zeile { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.5rem; }
  .ampel-wert { grid-column: 1 / -1; text-align: left; }
  .quiz-nav .btn { flex: 1; }
}

/* ── Umfrage „Wo drückt's?" ──────────────────────────────────
   Ergänzt die Quiz-Bausteine oben um das, was nur die Umfrage
   braucht: Freitext hinter „Etwas anderes", Pflicht-Häkchen und
   eine sichtbare Fehlermeldung. Siehe wo-drueckts.js.
------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.option-frei { margin: 0.5rem 0 0 0; padding-left: 2.1rem; }

.option-frei input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
}

.option-frei input:focus {
  outline: none;
  border-color: var(--accent);
}

.umfrage-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
  cursor: pointer;
}

.umfrage-check input {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--accent);
}

.umfrage-check a { color: var(--accent); text-decoration: underline; }

.form-error {
  margin: 0.5rem 0 1.1rem;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--tag-urgent-fg);
  background: var(--bg-tint);
  border-left: 3px solid var(--tag-urgent-fg);
  border-radius: 6px;
}
