/* ═══════════════════════════════════════════════════════════════════════
   lofter.works — Seitenbausteine

   Baut auf css/marke.css auf und ergänzt, was nur die Seite braucht:
   Navigation, Hero, Symptom-Einstieg, Vorführung, Fuß.

   Getrennt gehalten, damit marke.css das Markensystem bleibt und für sich
   verwendbar ist. Farben kommen ausschließlich aus den Rollen dort —
   in dieser Datei steht kein einziger Hexwert für Text oder Fläche.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Das Material in der Vorführung (Export, Notizen, Mitschrift) braucht
     eine ruhige, leicht kühle Fläche, die sich vom Papier abhebt, ohne
     dunkel zu werden. */
  --flaeche-auszug: #eef1f5;
  --nav-hoehe: 4.6rem;
}

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-hoehe);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-inline: clamp(1.1rem, 4vw, 2.4rem);
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--grund) 92%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--linie);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-leise);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
/* Die Seite, auf der man gerade ist */
.nav-links a[aria-current="page"] { color: var(--text); }

.nav-rechts { display: flex; align-items: center; gap: 0.7rem; }

.nav-lang {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--text-leise);
  border: 1px solid var(--linie-stark);
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius);
  text-decoration: none;
}
.nav-lang:hover { color: var(--text); border-color: var(--text-leise); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--grund);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  /* Eigene Stapelebene: Das Netz liegt mit z-index -1 hinter dem Inhalt,
     aber vor dem Seitenhintergrund. */
  isolation: isolate;
  padding-block: calc(var(--nav-hoehe) + clamp(3rem, 9vw, 7rem)) clamp(3rem, 8vw, 6rem);
}

/* Das Netz aus js/konstellation.js. Es nimmt keine Klicks an. Ohne
   JavaScript bleibt die Fläche leer, und der Hero sieht aus wie vorher. */
.hero__netz {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__inner { max-width: 54rem; }

.hero__ueber {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--text-struktur);
  margin-bottom: 1.6rem;
  /* Ohne Begrenzung bricht die Zeile mit einem einzelnen Wort um. */
  max-width: 52ch;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--text-leise);
  max-width: 44ch;
  margin-bottom: 2.2rem;
}

.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.hero__gratis {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.76rem;
  color: var(--text-leise);
  margin-top: 0.9rem;
}

/* ── Symptom-Einstieg ───────────────────────────────────── */
.symptome { border-top: 1px solid var(--linie-stark); }
.symptom { border-bottom: 1px solid var(--linie-stark); }

.symptom summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.6rem;
  cursor: pointer;
  list-style: none;
}
.symptom summary::-webkit-details-marker { display: none; }

.symptom__satz {
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-leise);
  transition: color 0.2s ease;
  text-wrap: balance;
}
.symptom__satz::before { content: "\201E"; }
.symptom__satz::after  { content: "\201C"; }

.symptom summary:hover .symptom__satz,
.symptom[open] .symptom__satz { color: var(--text); }

/* Das Zeichen: ein Plus, das sich beim Öffnen zum Kreuz dreht */
.symptom__zeichen {
  position: relative;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.symptom__zeichen::before,
.symptom__zeichen::after {
  content: "";
  position: absolute;
  background: var(--text-struktur);
}
.symptom__zeichen::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.symptom__zeichen::after  { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.symptom[open] .symptom__zeichen { transform: rotate(135deg); }

.symptom__inhalt { padding-bottom: 2rem; }
.symptom__spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 1.6rem 3rem;
}
.symptom__inhalt h3 {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-bottom: 0.6rem;
}
.symptom__inhalt p { font-size: 0.98rem; color: var(--text-leise); max-width: 42rem; }

.symptom__nichts { margin-top: 2.2rem; font-size: 0.95rem; color: var(--text-leise); }

/* Weiches Auf- und Zuklappen, wo der Browser es kann. Ohne
   Unterstützung klappt es sofort auf — die Funktion hängt nicht daran. */
@supports (interpolate-size: allow-keywords) {
  .symptome { interpolate-size: allow-keywords; }
  .symptom::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                content-visibility 0.4s allow-discrete;
  }
  .symptom[open]::details-content { block-size: auto; }
}

/* ── Vorführung ─────────────────────────────────────────── */
.vf {
  container-type: inline-size;
  border: 1px solid var(--linie-stark);
  background: var(--flaeche);
  padding: 1.3rem;
}

.vf__chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.3rem; }

.vf-chip {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--text-leise);
  background: transparent;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  padding: 0.5rem 0.95rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.vf-chip:hover { color: var(--text); border-color: var(--text-leise); }
.vf-chip[aria-pressed="true"] {
  color: var(--knopf-text);
  background: var(--knopf-grund);
  border-color: var(--knopf-grund);
}

.vf__raster {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
}
@container (max-width: 860px) {
  .vf__raster { grid-template-columns: 1fr; }
}

.vf__feld {
  background: var(--flaeche);
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vf__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--linie);
  padding-bottom: 0.65rem;
  margin-bottom: 0.9rem;
}
.vf__titel {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.vf-replay {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  color: var(--text-leise);
  background: transparent;
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  padding: 0.28rem 0.65rem;
  cursor: pointer;
}
.vf-replay:hover { color: var(--text-struktur); border-color: var(--text-struktur); }

.vf__auftrag {
  font-size: 0.96rem;
  color: var(--text);
  border-left: 2px solid var(--text-struktur);
  padding-left: 0.85rem;
  margin-bottom: 1rem;
  min-height: 3rem;
  max-width: none;
}

/* ── Material: was man der KI mitgibt ── */
.vf__material {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vf__datei {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: none;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--text-leise);
}
/* Ein angedeutetes Dateisymbol */
.vf__datei::before {
  content: "";
  flex-shrink: 0;
  width: 0.6rem;
  height: 0.78rem;
  border: 1px solid var(--linie-akzent);
  border-radius: 1px;
}

.vf__auszug {
  flex: 1;
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--flaeche-auszug);
  border: 1px solid var(--linie);
  padding: 0.9rem 1rem;
  margin: 0;
  max-height: 22rem;
  overflow: auto;
  white-space: pre;
  tab-size: 2;
}
/* Notizen und Mitschriften brechen um, Tabellen-Exporte nicht */
.vf__auszug--text { white-space: pre-wrap; }

/* Anzeigenmotive, bewusst nur in Blau und Koralle: Alle vier Markenfarben
   zugleich trägt allein der Bogen. Die Formen sind Andeutungen, keine
   Bilder. Person, Produkt und Textmenge sind die Merkmale, um die es in
   der Auswertung geht. */
.vf-motive {
  flex: 1;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-content: start;
  gap: 0.7rem 0.6rem;
  padding: 0.9rem;
  background: var(--flaeche-auszug);
  border: 1px solid var(--linie);
}
.vf-motiv {
  display: grid;
  gap: 0.3rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.vf-motiv svg { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.vf-motiv__grund { fill: var(--flaeche-1); }
.vf-motiv--warm .vf-motiv__grund { fill: var(--flaeche-4); }
.vf-motiv__form { fill: var(--flaeche); }
.vf-motiv--mehr {
  align-self: start;
  aspect-ratio: 4 / 5;
  place-content: center;
  text-align: center;
  padding: 0.15rem;
  font-size: 0.6rem;
  line-height: 1.35;
  border: 1px dashed var(--linie-stark);
  border-radius: var(--radius);
  color: var(--text-leise);
}

/* ── Ergebnis ── */
.vf__buehne {
  flex: 1;
  min-height: 21rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--linie);
}
/* Solange die KI arbeitet, ist der Rahmen gestrichelt */
.vf.is-laeuft .vf__buehne { border-style: dashed; border-color: var(--linie-stark); }

.vf-erg {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}
.vf-erg p { max-width: none; }
.vf-erg p + p { margin-top: 0; }

.vf-erg__kopf {
  padding-bottom: 0.55rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--linie);
}
.vf-erg__titel { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.vf-erg__quelle {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--text-leise);
}
.vf-erg__etikett {
  margin-top: 0.4rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-struktur);
}
.vf-erg__vorbehalt {
  margin-top: 0.3rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--linie);
  font-size: 0.8rem;
  color: var(--text-leise);
}

.vf-liste { display: grid; gap: 0.3rem; padding-left: 1.2rem; }
.vf-liste li::marker {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--text-struktur);
}
/* Die Nummer erscheint erst, wenn ihr Punkt an der Reihe ist */
.vf.is-laeuft .vf-liste li.vf-tippen:not(.is-aktiv)::marker { color: transparent; }

/* Kennzahlen */
.vf-kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.6rem;
}
.vf-kennzahl {
  display: grid;
  padding: 0.6rem 0.75rem;
  background: var(--grund);
  border: 1px solid var(--linie);
}
.vf-kennzahl__wert {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.vf-kennzahl__name { font-size: 0.8rem; color: var(--text-leise); }
.vf-kennzahl__trend {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--text-struktur);
}

/* Balken. Die Längen stehen als SVG-Attribut im Markup, nicht als
   Inline-Style. Koralle zeigt auf den Ausreißer. */
.vf-balken { display: grid; gap: 0.3rem; }
.vf-balken__zeile {
  display: grid;
  grid-template-columns: 4.6rem 1fr 4.6rem;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-leise);
}
.vf-balken__zeile span:last-child { text-align: right; color: var(--text); }
.vf-balken svg { display: block; width: 100%; height: 0.55rem; }
.vf-balken rect {
  fill: var(--flaeche-1);
  transform-box: fill-box;
  transform-origin: left center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.vf-balken__zeile--auffaellig rect { fill: var(--flaeche-4); }
.vf-balken__zeile--auffaellig span:last-child { color: var(--text-signal); font-weight: 600; }
.vf.is-laeuft .vf-balken__zeile:not(.is-da) rect { transform: scaleX(0); }

/* Tabelle */
.vf-tabelle {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}
.vf-tabelle th,
.vf-tabelle td {
  padding: 0.38rem 0 0.38rem 0.6rem;
  border-bottom: 1px solid var(--linie);
  text-align: right;
  white-space: nowrap;
}
.vf-tabelle th:first-child { padding-left: 0; text-align: left; white-space: normal; }
.vf-tabelle thead th {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.vf-tabelle tbody th { font-weight: 400; color: var(--text); }
.vf-tabelle td { color: var(--text-leise); }
.vf-tabelle strong { font-weight: 700; color: var(--text); }

/* Persona und Gespräch */
.vf-persona {
  display: grid;
  gap: 0.1rem;
  padding: 0.8rem 0.9rem;
  background: var(--grund);
  border: 1px solid var(--linie);
  border-left: 3px solid var(--linie-akzent);
}
.vf-persona .vf-erg__etikett { margin-top: 0; }
.vf-persona__name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; }
.vf-persona__rolle { color: var(--text-leise); }
.vf-persona__merkmale { display: grid; gap: 0.15rem; margin-top: 0.4rem; font-size: 0.82rem; }
.vf-persona__merkmale div { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.5rem; }
.vf-persona__merkmale dt {
  padding-top: 0.12rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  color: var(--text-struktur);
}

.vf-zug {
  display: grid;
  gap: 0.1rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--linie-stark);
}
.vf-zug--frage { margin-top: 0.3rem; border-left-color: var(--linie-akzent); }
.vf-zug--frage p { color: var(--text-leise); }
.vf-zug__wer {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-zweitrang);
}
.vf-zug--frage .vf-zug__wer { color: var(--text-struktur); }
.vf-zug__quelle {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  color: var(--text-leise);
}

/* Formate beim Content-Recycling */
.vf-format {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem 0.8rem;
  background: var(--grund);
  border: 1px solid var(--linie);
}
.vf-format .vf-erg__etikett { margin-top: 0; }

/* ── Abspielen ──
   Getippter Text liegt deckungsgleich über dem unsichtbaren fertigen Text,
   der seinen Platz hält. padding: inherit sorgt dafür, dass beide an
   derselben Kante beginnen, auch beim eingerückten Auftrag. */
.vf-tippen { position: relative; }
.vf-tippen__platz { visibility: hidden; }
.vf-tippen__schrift { position: absolute; inset: 0; padding: inherit; }

/* Schreibmarke, solange getippt wird */
.vf-tippen.is-aktiv .vf-tippen__schrift::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 1em;
  vertical-align: -0.15em;
  margin-left: 1px;
  background: var(--text-struktur);
  animation: vf-blinzeln 1s steps(2, start) infinite;
}
@keyframes vf-blinzeln { 50% { opacity: 0; } }

/* Einblenden. Hier ist opacity erlaubt, weil sie nur der Übergang ist:
   Der Endzustand ist immer 1, gelesen wird nie ein halb durchsichtiger
   Text. Ohne JavaScript fehlt .is-laeuft, und alles steht sofort da. */
.vf.is-laeuft [data-schritt="zeigen"]:not(.is-da) { opacity: 0; transform: translateY(0.3rem); }
/* Der Übergang hängt nur am Einblenden. Hinge er am Element selbst, würde
   beim Wechsel des Beispiels das neue Material erst sichtbar ausblenden. */
.vf [data-schritt="zeigen"].is-da { transition: opacity 0.35s ease, transform 0.35s ease; }

.vf__stand {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-leise);
  margin-top: 0.8rem;
  min-height: 1.2em;
}

.vf__notiz {
  font-size: 0.9rem;
  color: var(--text-leise);
  margin-top: 1.2rem;
  padding-left: 0.85rem;
  border-left: 1px solid var(--linie-stark);
  min-height: 2.6em;
  max-width: 60rem;
}
.vf__handgriff {
  display: block;
  margin-bottom: 0.2rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-struktur);
}
.vf__offenlegung { font-size: 0.8rem; color: var(--text-leise); margin-top: 0.8rem; max-width: 56rem; }

/* ── Was ich mache ──────────────────────────────────────── */
/* Drei gleich gebaute Karten. Der Nutzen steht in jeder unten und damit
   auf derselben Höhe, auch wenn eine Beschreibung eine Zeile länger ist. */
.leistung { display: flex; flex-direction: column; }
.leistung > p { margin-bottom: 1.2rem; }
.leistung__nutzen {
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--linie);
}
.leistung__nutzen .t-etikett { display: block; margin-bottom: 0.35rem; }
.leistung__nutzen p { color: var(--text); }

/* ── Wer ich bin ────────────────────────────────────────── */
.person { max-width: 46rem; }
.person p { font-size: 1.02rem; color: var(--text-leise); }
.person p:first-of-type { color: var(--text); }
.person__nachsatz {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--text-leise);
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--linie);
}

/* ── Versprechen ────────────────────────────────────────── */
.versprechen {
  margin-top: 2rem;
  padding: 1.6rem 1.7rem;
  background: var(--flaeche-ziel);
  border: 1px solid var(--linie);
  border-left: 4px solid var(--flaeche-4);
}
.versprechen p {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 34ch;
}

/* ── Schluss ────────────────────────────────────────────── */
.schluss { max-width: 40rem; }
.schluss h2 { margin-bottom: 0.9rem; }
.schluss p { color: var(--text-leise); margin-bottom: 1.6rem; }

/* ═══ UNTERSEITEN ════════════════════════════════════════════════════════
   Kontakt, Impressum, Datenschutz. Sie teilen sich Navigation, Fuß und
   Typografie mit der Startseite und haben kein Netz im Kopf: Der gehört
   dem Hero.
   ═══════════════════════════════════════════════════════════════════ */

.seitenkopf { padding-block: calc(var(--nav-hoehe) + clamp(2.5rem, 7vw, 5rem)) 0; }
.seitenkopf .t-etikett { display: block; margin-bottom: 0.6rem; }
.seitenkopf h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: 1rem; }
.seitenkopf .t-lead { max-width: 50ch; }

/* ── Kontakt ────────────────────────────────────────────── */
.kontakt {
  display: grid;
  grid-template-columns: minmax(0, 19rem) minmax(0, 1fr);
  gap: 1px;
  background: var(--linie);
  border: 1px solid var(--linie);
}
@media (max-width: 860px) {
  .kontakt { grid-template-columns: 1fr; }
}
.kontakt__spalte { background: var(--flaeche); padding: 1.5rem 1.4rem; }

.kontakt__block + .kontakt__block {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--linie);
}
.kontakt__block .t-etikett { display: block; margin-bottom: 0.45rem; }
.kontakt__block p { font-size: 0.94rem; color: var(--text-leise); max-width: none; }
.kontakt__block ul { list-style: none; font-size: 0.94rem; color: var(--text-leise); }
.kontakt__block li + li { margin-top: 0.25rem; }

/* ── Formular ───────────────────────────────────────────── */
.formular { display: grid; gap: 1.1rem; }
.feld-paar { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1.1rem; }
.feld { display: grid; gap: 0.4rem; }
.feld label,
.feld__name {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-leise);
}
.feld .pflicht { color: var(--text-signal); }

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  font: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--grund);
  border: 1px solid var(--linie-stark);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
}
.feld textarea { min-height: 9rem; resize: vertical; }
.feld input::placeholder,
.feld textarea::placeholder { color: var(--text-leise); }
.feld :is(input, select, textarea):hover { border-color: var(--text-leise); }

/* Fehlerfarbe ist die textfähige Koralle, nicht die Fläche */
.feld :is(input, select, textarea).invalid { border-color: var(--text-signal); }
.field-error { font-size: 0.82rem; color: var(--text-signal); }

/* Die Rechenfrage gegen Formularroboter */
.rechenfrage {
  display: flex;
  align-items: center;
  min-height: 2.9rem;
  padding: 0.72rem 0.85rem;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--flaeche-auszug);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}

/* Honigtopf: steht im Markup, ist aber für niemanden sichtbar außer für
   Roboter, die alles ausfüllen. Ausgefüllt heißt: nicht abschicken. */
.honig {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular__notiz { font-size: 0.86rem; color: var(--text-leise); max-width: none; }
.formular__absenden { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-size: 0.9rem; color: var(--text-leise); }
.form-status.success { color: var(--text-struktur); }
.form-status.error { color: var(--text-signal); }

/* ── Rechtstexte ────────────────────────────────────────── */
.rechtstext { max-width: 44rem; }
.rechtstext h2 { font-size: clamp(1.05rem, 2vw, 1.2rem); margin-top: 2.2rem; margin-bottom: 0.5rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p,
.rechtstext address,
.rechtstext ul { font-size: 0.98rem; color: var(--text-leise); }
.rechtstext address { font-style: normal; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li + li { margin-top: 0.3rem; }
.rechtstext :is(p, address, ul) + :is(p, address, ul) { margin-top: 1rem; }
.rechtstext code {
  font-family: 'DM Mono', ui-monospace, Menlo, monospace;
  font-size: 0.92em;
  color: var(--text);
}
.rechtstext__stand {
  margin-top: 2.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--linie);
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.78rem;
}

/* ── Einwilligung ───────────────────────────────────────────
   Liegt als Leiste unten, über allem außer nichts. Beide Knöpfe sind gleich
   gestaltet und gleich groß: Ablehnen darf nicht schwerer fallen als
   Zustimmen. Gebaut wird die Leiste in js/einwilligung.js. */
.einwilligung {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 200;
  background: var(--flaeche);
  border-top: 1px solid var(--linie-stark);
}
.einwilligung__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding-block: 1rem;
}
.einwilligung__text {
  font-size: 0.9rem;
  color: var(--text-leise);
  max-width: 62ch;
}
.einwilligung__knoepfe { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.einwilligung__knoepfe .knopf { text-align: center; }

@media (max-width: 620px) {
  .einwilligung__knoepfe { width: 100%; }
  .einwilligung__knoepfe .knopf { flex: 1 1 10rem; }
}

/* Der Weg zurück im Fuß, sieht aus wie die Links daneben */
.fuss__einwilligung {
  font: inherit;
  color: var(--text-leise);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.fuss__einwilligung:hover { color: var(--text); }

/* ── Fuß ────────────────────────────────────────────────── */
.fuss {
  margin-top: clamp(3rem, 8vw, 5rem);
  border-top: 1px solid var(--linie-stark);
  padding-block: 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.74rem;
  color: var(--text-leise);
}
.fuss nav { display: flex; gap: 1.4rem; }
.fuss a { color: var(--text-leise); text-decoration: none; }
.fuss a:hover { color: var(--text); }

/* Luft zwischen dem Einleitungssatz eines Abschnitts und dem, was darauf
   folgt (Symptome, Vorführung, Karten, Bogen). Ohne sie klebt der Satz
   an der Linie darunter. */
.abschnitt .t-lead + * { margin-top: 1.6rem; }

/* Abstandshelfer statt Inline-Styles im Markup */
.abstand-oben { margin-top: 1.2rem; }
