/* ============================================================
   Spremberg AI-Consulting — Layout & Typografie
   Gemeinsames Stylesheet für alle Seiten.
   Einbinden NACH color-scheme.css (nutzt dessen Tokens).

   Tragende Entscheidung: durchgehende Label-Spalte links
   (Sektionsnummer · Kurzlabel · vertikale Linie), rechts der
   Inhalt — ein Raster für alle Sektionen.
   ============================================================ */

/* ── Schrift ────────────────────────────────────────────────
   Geist, lokal ausgeliefert aus fonts/ — NICHT über Google Fonts
   einbinden: das überträgt bei jedem Aufruf die IP des Besuchers
   an Google und ist der Standardanlass für DSGVO-Abmahnungen.
   Lizenz: SIL OFL 1.1 (fonts/OFL.txt), Self-Hosting ausdrücklich
   erlaubt. Variable Font — eine Datei je Subset deckt 100–900 ab.

   Geist steht als Aptos-Ersatz: gleicher schmaler Swiss-Grotesk-
   Charakter, aber frei lizenziert. Aptos selbst ist an die
   Microsoft-/Office-Lizenz gebunden und als Webfont nicht gedeckt.
   ─────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── Schrift-Tokens ─────────────────────────────────────── */
:root {
  /* Eine Familie, Hierarchie nur über Größe und Gewicht. */
  --font-sans: "Geist", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-sans);
}

/* ── Reset / Basis ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent-ink); text-decoration: none; }
a:hover { color: var(--accent-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ── Layout-Raster ──────────────────────────────────────── */
.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 32px;
}

.section { background: var(--bg); }
.section--alt { background: var(--bg-alt); }

.grid {
  display: grid;
  grid-template-columns: 200px 1fr;
}

/* Label-Spalte: die Konstante (Nummer · Label · Linie) */
.label {
  border-right: 1px solid var(--line);
  padding: 80px 32px 80px 0;
}
.label-sticky {
  position: sticky;
  top: 96px;
}
.sec-num {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--accent-ink);
  letter-spacing: 0.04em;
}
.sec-label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.body { padding: 80px 0 80px 48px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo span {
  color: var(--ink-faint);
  font-weight: 400;
}
.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }

/* ── Nav-Dropdowns ──────────────────────────────────────────
   Die Nav trägt die Seitenstruktur, damit die Startseite kurz
   bleiben kann. Zwei Menüs: Leistungen und Über uns.
   ─────────────────────────────────────────────────────────── */
.nav-item { position: relative; display: flex; align-items: center; }

.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
}
.nav-sub-toggle:hover,
.nav-item.is-open .nav-sub-toggle,
.nav-sub-toggle.is-active { color: var(--ink); }

/* Chevron — dreht sich beim Öffnen */
.nav-sub-toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.nav-item.is-open .nav-sub-toggle::after {
  transform: translateY(1px) rotate(-135deg);
}

.nav-sub {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 20, 19, 0.10);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
/* Unsichtbare Brücke: sonst schließt das Menü, wenn die Maus
   den Spalt zwischen Button und Panel überquert. */
.nav-sub::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-sub a {
  padding: 8px 12px;
  border-radius: 7px;
  white-space: nowrap;
  color: var(--ink-soft);
}
.nav-sub a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.nav-sub a.is-active { color: var(--accent-ink); }

/* CTA-Button — überall identisch */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--on-accent) !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}
.cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.cta--lg { padding: 14px 26px; font-size: 16px; }

.nav-toggle { display: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { background: var(--bg); }
.hero .body { padding-block: 104px; }
.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--accent-ink); }
.hero .subline {
  margin-top: 28px;
  max-width: 30em;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
/* Hero-Liste — die drei Kernsätze (statt Fließtext-Subline) */
.hero-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 40em;
}
.hero-list li {
  position: relative;
  padding: 9px 0 9px 26px;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 9px;
  height: 1px;
  background: var(--accent-ink);
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.text-link {
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.text-link:hover { border-bottom-color: currentColor; }

/* ── Typo-Bausteine ─────────────────────────────────────── */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}
.h-section {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 400;
  max-width: 18em;
}
/* Untergeordnete Überschrift innerhalb einer Sektion: gleiche Anmutung wie
   .h-section, aber kleiner — für Blöcke, die einem Hauptthema nachgeordnet
   sind und keine eigene Sektionsnummer bekommen sollen. */
.h-sub {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 400;
  max-width: 22em;
  margin-bottom: 18px;
}
.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 18px;
}
.prose { max-width: 42em; }
.prose p { color: var(--ink-soft); }

/* ── Rechtstexte (Impressum, Datenschutz) ───────────────── */
.legal { max-width: 42em; }
.legal h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 40px 0 12px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 24px 0 8px;
}
.legal p { color: var(--ink-soft); }
.legal ul { margin: 0 0 1.1em; padding-left: 1.3em; color: var(--ink-soft); }
.legal li { margin-bottom: 7px; }
.legal address { font-style: normal; color: var(--ink-soft); }
.legal .updated {
  color: var(--ink-faint);
  font-size: 14px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ── Platzhalter-Markierung (Kerngedanke) ───────────────── */
.note {
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 0 0 28px;
  max-width: 44em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.note-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.note strong { color: var(--ink); font-weight: 600; }

/* ── Die 3 Prinzipien ───────────────────────────────────── */
.principles {
  margin-top: 40px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.principle {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  align-items: baseline;
}
.principle .p-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-ink);
}
.principle h3 {
  font-size: 1.45rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.principle p { color: var(--ink-soft); margin: 0; max-width: 40em; }

/* ── Engagement-Modell (4 Schritte) ─────────────────────── */
.steps {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.step {
  background: var(--card);
  padding: 30px 28px;
}
.step .s-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--accent-ink);
  line-height: 1;
}
.step h3 {
  font-size: 1.3rem;
  margin: 14px 0 10px;
}
.step p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ── Ablauf-Kette (Prozesscheck) ────────────────────────────
   Prozess-Darstellung als durchlaufende Linie mit Stationen statt
   Kachelraster — .steps ist für 4 Elemente gebaut (2×2) und wirkt
   mit einer anderen Anzahl unausgewogen. */
.flow {
  position: relative;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 20px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.flow-step { position: relative; }
.flow-num {
  position: relative;
  z-index: 1;
  display: inline-block;
  background: var(--bg);
  padding-right: 14px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent-ink);
  line-height: 1;
}
.flow-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 16px 0 8px;
  line-height: 1.3;
}
.flow-step p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Leistungs-/Inhaltskarten ───────────────────────────── */
.cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* Merkmalsliste innerhalb einer Leistung/Sektion */
.card-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  max-width: 40em;
  border-top: 1px solid var(--line);
}
.card-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15.5px;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2em;
  width: 9px;
  height: 1px;
  background: var(--accent-ink);
}

/* Teaser-Liste (Home → Leistungen) */
.teaser-list {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.teaser h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: 4px; }
.teaser p { color: var(--ink-soft); margin: 0; font-size: 15.5px; max-width: 40em; }
.teaser .arrow { color: var(--accent-ink); font-size: 1.2rem; transition: transform .18s ease; }
/* Verlinkte Teaser — noch nicht alle Artikel sind umgezogen, deshalb gibt es
   den Teaser weiterhin auch als <div> ohne Ziel. */
a.teaser { color: inherit; text-decoration: none; }
a.teaser:hover h3 { color: var(--accent-ink); }
a.teaser:hover .arrow { transform: translateX(4px); }

/* Aufklappbarer Teaser (Insights → 25 KI-Use-Cases) */
.teaser-expand { display: block; padding: 0; }
.teaser-expand summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.teaser-expand summary::-webkit-details-marker { display: none; }
.teaser-expand:hover summary h3 { color: var(--accent-ink); }
.teaser-expand[open] .arrow { transform: rotate(90deg); }
.teaser-expand .teaser-panel { padding: 0 0 26px; }
.teaser-expand .teaser-panel h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin: 20px 0 8px;
}
.teaser-expand .teaser-panel h4:first-child { margin-top: 0; }
.teaser-expand .teaser-panel ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15px;
}
.teaser-expand .teaser-panel li { padding: 3px 0; }

/* Nummerierte Gruppenlisten (z. B. Use-Case-Kataloge auf Fachimpuls-Seiten) */
.list-groups { margin-top: 34px; }
.list-groups h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 10px;
}
.list-groups h4:first-child { margin-top: 0; }
.list-groups ol {
  margin: 0;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15.5px;
}
.list-groups li { padding: 4px 0; }

/* ── Profil / Über uns ──────────────────────────────────── */
/* Personenblock: Text links, Porträt rechts in einer festen Spalte. Die
   Trennlinie setzt die Blöcke voneinander ab, ohne dass jede Person eine
   eigene Sektionsnummer braucht. */
.person {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 44px;
  align-items: start;
  margin-top: 44px;
}
.person + .person {
  margin-top: 52px;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}
/* 3:4 statt 4:5 — die Porträts liegen als 2:3 vor, ein hochformatigerer
   Rahmen schneidet weniger oben und unten weg. */
.person .portrait { aspect-ratio: 3 / 4; }
.portrait {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
img.portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── CTA-Band (zarte Akzentfläche) ──────────────────────────
   Dieselbe Abstufung wie die .note: --accent-soft als Fläche,
   volles Clay bleibt dem Button vorbehalten. --accent-soft kippt
   mit dem Modus (heller Clay-Hauch / warmes Braun), deshalb tragen
   alle Elemente die normalen Ink-/Line-Tokens und erben sie —
   die früheren hartkodierten Slate-Overlays entfallen.
   ─────────────────────────────────────────────────────────── */
.cta-band { background: var(--accent-soft); }
.cta-band .cta { margin-top: 30px; }

/* Offer-Box: „Was Sie aus dem Erstgespräch mitnehmen" */
.offer {
  margin-top: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
  max-width: 40em;
}
.offer h3 {
  color: var(--ink);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.offer ul { margin: 0; padding: 0; list-style: none; }
.offer li {
  position: relative;
  padding: 9px 0 9px 30px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.offer li:first-child { border-top: 0; }
.offer li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-ink);
}

/* ── Kontakt ────────────────────────────────────────────── */
.contact-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 7px;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-ink);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
/* Hinweis unter dem Absende-Button und Status danach. Beide sind Fließtext,
   deshalb --ink-soft und nicht --ink-faint (das erreicht nur 3.5:1). Der
   Status trägt role="status" und wird von Screenreadern vorgelesen, sobald
   er aus hidden auftaucht. */
.form-hint,
.form-status {
  max-width: 44ch;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.form-status {
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--accent-soft);
}

.contact-meta dt {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.contact-meta dd { margin: 0 0 22px; font-size: 1.05rem; }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer-inner {
  max-width: 1180px;
  margin-inline: auto;
  padding: 40px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.footer .logo { font-size: 16px; }
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 22px;
}
.footer-links a { color: var(--ink-soft); font-size: 14.5px; }
.footer-links a:hover { color: var(--ink); }
.footer .copy { color: var(--ink-faint); font-size: 13.5px; flex-basis: 100%; }

/* ── Scroll-Fade (Motion) ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Ablauf-Kette: Zwischenschritt für 5 schmale Spalten ───
   Eigener Breakpoint nur für .flow — bei 5 Stationen wird die Spalte
   zwischen 860–1080px zu schmal für den Fließtext. */
@media (max-width: 1080px) and (min-width: 861px) {
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .flow::before { display: none; }
  .flow-step::before {
    content: "";
    position: absolute;
    top: 19px; left: -10px;
    width: 1px; height: calc(100% + 36px);
    background: var(--line);
  }
  .flow-step:nth-child(-n+3)::before { display: none; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 22px; }

  /* Vertikale Rhythmik wandert auf den Grid-Container,
     die Spalten klappen einspaltig untereinander. */
  .grid {
    grid-template-columns: 1fr;
    padding-block: 56px;
  }
  .label {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 14px;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .label-sticky { position: static; }
  .sec-label { margin-top: 0; }
  .body { padding: 26px 0 0; }

  .hero .grid { padding-block: 72px; }
  .hero .body { padding-block: 26px 0; }

  .steps, .cards, .contact-grid { grid-template-columns: 1fr; }

  .flow { grid-template-columns: 1fr; row-gap: 28px; }
  .flow::before { display: none; }
  .flow-step { padding-left: 26px; }
  .flow-num { padding-right: 0; background: none; }
  .flow-step::before {
    content: "";
    position: absolute;
    top: 6px; left: 0;
    width: 1px; height: calc(100% + 28px - 6px);
    background: var(--line);
  }
  .flow-step:last-child::before { display: none; }

  /* Einspaltig wandert das Porträt über den Text — sonst steht es nach vier
     Absätzen so weit unten, dass der Bezug zur Person verloren geht. */
  .person { grid-template-columns: 1fr; gap: 22px; }
  .person .portrait { max-width: 200px; order: -1; }

  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 22px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.is-open a { padding: 8px 0; }
  .nav-links.is-open .cta { padding: 10px 18px; margin-top: 8px; }

  /* Dropdowns klappen mobil eingerückt auf, statt zu schweben —
     kein zweites Bedienmuster. */
  .nav-item { display: block; width: 100%; }
  .nav-sub-toggle { padding: 8px 0; }
  .nav-sub {
    position: static;
    min-width: 0;
    display: none;
    padding: 2px 0 6px 14px;
    margin: 0;
    background: none;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-item.is-open .nav-sub { display: flex; }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 7px 0 7px 10px; }
  .nav-sub a:hover { background: none; }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
  }
}
