/* Mithelfer – Startseite. Schrift: Sofia Sans (SIL Open Font License), selbst gehostet. */

@font-face { font-family: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url("../fonts/sofia-sans-latin-wght-normal.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: "Sofia Sans"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url("../fonts/sofia-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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; }
@font-face { font-family: "Sofia Sans Condensed"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url("../fonts/sofia-sans-condensed-latin-wght-normal.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: "Sofia Sans Condensed"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url("../fonts/sofia-sans-condensed-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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; }
@font-face { font-family: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url("../fonts/sofia-sans-extra-condensed-latin-wght-normal.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: "Sofia Sans Extra Condensed"; font-style: normal; font-weight: 1 1000; font-display: swap;
  src: url("../fonts/sofia-sans-extra-condensed-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,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; }

:root {
  --papier: #ffffff;
  --licht: #eceeeb;        /* Lichtgrau, Büroschrank */
  --kante: #cdd1cc;
  --anthrazit: #1b1f24;    /* aus dem Logo */
  --graphit: #555b62;
  --rot: #e3342f;          /* aus dem Logo: der rote Faden */
  --rot-dunkel: #c42a26;

  --schrift: "Sofia Sans", "Segoe UI", Arial, sans-serif;
  --schmal: "Sofia Sans Condensed", "Arial Narrow", Arial, sans-serif;
  --plakat: "Sofia Sans Extra Condensed", "Arial Narrow", Arial, sans-serif;

  --rand: clamp(18px, 4.5vw, 56px);
  --rail: clamp(34px, 6vw, 88px);
  --h1: clamp(3.2rem, 11vw, 7.25rem);
  --h2: clamp(2.5rem, 6.2vw, 4.25rem);
  --ecke: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--anthrazit);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1em; }
p, dd, li { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: 24px; }

.unsichtbar {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.sprung {
  position: absolute; left: 12px; top: -80px; z-index: 10;
  padding: 10px 16px; background: var(--anthrazit); color: #fff; border-radius: var(--ecke);
}
.sprung:focus { top: 12px; }

.inhalt { position: relative; max-width: 1240px; margin-inline: auto; padding-inline: var(--rand); }
.spur { padding-left: var(--rail); }

/* Kopf */
.kopf-leiste { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.kopf-logo { display: block; flex: none; }
.kopf-logo img { width: auto; height: 38px; }
.kopf-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.kopf-nav a { font: 600 1.2rem/1 var(--schmal); text-decoration: none; padding-block: 8px; }
.kopf-nav a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kopf-rechts { display: flex; align-items: center; gap: 12px; }
.menue { display: none; position: relative; }
.menue summary {
  list-style: none; cursor: pointer; font: 600 1.15rem/1 var(--schmal);
  min-height: 44px; display: flex; align-items: center; padding-inline: 12px;
  border: 1.5px solid var(--anthrazit); border-radius: var(--ecke);
}
.menue summary::-webkit-details-marker { display: none; }
.menue-liste {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 220px;
  margin: 0; padding: 8px 0; list-style: none;
  background: var(--papier); border: 1.5px solid var(--anthrazit); border-radius: var(--ecke);
}
.menue-liste a { display: block; padding: 12px 18px; font: 600 1.25rem/1.1 var(--schmal); text-decoration: none; }

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  font: 700 1.25rem/1 var(--schmal); letter-spacing: 0.01em;
  color: #fff; background: var(--anthrazit);
  border: 0; border-radius: var(--ecke); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s;
}
.knopf:hover { background: var(--rot-dunkel); }
.knopf--klein { min-height: 44px; padding: 0 18px; font-size: 1.15rem; white-space: nowrap; }
.nur-schmal { display: none; }
.textlink {
  font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.textlink:hover { text-decoration-thickness: 3px; }

/* Der rote Faden */
main { position: relative; }
.fadenbahn { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fadenbahn .inhalt { height: 100%; }
.faden {
  position: absolute; left: calc(var(--rand) + 10px); width: 2px;
  top: var(--f-oben, 0px); height: var(--f-hoch, 100%);
  background: var(--kante);
}
.faden-rot {
  position: absolute; inset: 0; background: var(--rot);
  transform-origin: top; transform: scaleY(var(--f, 1));
}
.knoten {
  position: absolute; z-index: 2; left: var(--rand); top: calc((var(--h2) - 22px) / 2);
  width: 22px; height: 22px;
  background: var(--papier); border: 4px solid var(--anthrazit); border-radius: 7px;
  transition: border-color 0.25s, background-color 0.25s;
}
.knoten--start { top: calc((var(--h1) * 0.9 - 22px) / 2); }
.knoten--ziel {
  left: calc(var(--rand) - 3px); top: calc((var(--h2) - 28px) / 2);
  width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M7.6 14.6l4.7 4.4 8.3-9.4' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat;
}
.js .knoten:not(.erreicht) { border-color: var(--kante); }
.js .knoten--ziel:not(.erreicht) { background-color: var(--kante); }

/* Abschnitte */
.abschnitt { position: relative; padding-block: clamp(68px, 9vw, 116px); }
.band { background: var(--licht); }
.band .knoten { background: var(--licht); }
.band .knoten--ziel { background-color: var(--rot); }
.titel {
  margin: 0 0 0.55em; max-width: 18ch;
  font: 700 var(--h2) / 1 var(--schmal); letter-spacing: -0.005em; text-wrap: balance;
}
.zwischentitel { margin: 0 0 0.45em; font: 700 clamp(1.9rem, 3.8vw, 2.6rem) / 1.05 var(--schmal); }
.einleitung { max-width: 56ch; font-size: 1.3rem; line-height: 1.45; }
.klein { font-size: 1rem; color: var(--graphit); }

/* Auftakt */
.auftakt { padding-block: clamp(32px, 4.5vw, 64px) clamp(64px, 9vw, 120px); }
.auftakt h1 {
  margin: 0 0 0.38em;
  font: 800 var(--h1) / 0.9 var(--plakat); letter-spacing: -0.005em; text-wrap: balance;
}
.auftakt-raster { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.vorspann { font-size: clamp(1.25rem, 1.9vw, 1.45rem); line-height: 1.45; margin-bottom: 1.5em; }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin: 0; }
.bild { margin: 0; }
.bild img { width: 100%; border-radius: var(--ecke); background: var(--licht); }

/* Beispiele */
.reiter { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 3vw, 40px); margin: 28px 0 30px; border-bottom: 1px solid var(--kante); }
.reiter button {
  margin: 0 0 -1px; padding: 14px 0 12px;
  font: 700 1.45rem/1 var(--schmal); color: var(--graphit);
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
}
.reiter button:hover { color: var(--anthrazit); }
.reiter button[aria-selected="true"] { color: var(--anthrazit); border-bottom-color: var(--rot); }
.js .tafel-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tafel + .tafel { margin-top: 48px; }
.js .tafel + .tafel { margin-top: 0; }
.bisher { max-width: 60ch; margin: 0; color: var(--graphit); }
.bisher strong { color: var(--anthrazit); }
.stationen {
  --luecke: clamp(20px, 2.6vw, 36px);
  list-style: none; margin: 40px 0 0; padding: 0; counter-reset: station;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px var(--luecke);
}
.stationen li { position: relative; padding-top: 54px; counter-increment: station; }
.stationen li::before {
  content: counter(station); position: absolute; z-index: 1; top: 0; left: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  font: 700 1.2rem/1 var(--schmal);
  background: var(--papier); border: 3px solid var(--anthrazit); border-radius: 11px;
}
.stationen li::after {
  content: ""; position: absolute; top: 17px; left: 36px; height: 2px;
  width: calc(100% - 36px + var(--luecke)); background: var(--anthrazit);
}
.stationen li:last-child::after { display: none; }
.stationen li:last-child::before {
  content: ""; border-color: var(--rot);
  background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M7.6 14.6l4.7 4.4 8.3-9.4' fill='none' stroke='%23fff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.stationen h4 { margin: 0 0 6px; font: 700 1.4rem/1.15 var(--schmal); }
.stationen p { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.zettel {
  display: inline-block; margin-top: 2px; padding: 5px 9px;
  font-size: 0.95rem; line-height: 1.35; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; hyphens: none;
  background: var(--papier); border: 1px solid var(--kante); border-radius: 3px;
}
.fussnote { margin: 18px 0 0; max-width: 62ch; }
.zwischenruf {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--kante);
}
.zwischenruf p { margin: 0; font: 700 1.6rem/1.2 var(--schmal); }
.zweispaltig { display: grid; grid-template-columns: 4fr 7fr; gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.seitenkopf { position: sticky; top: 32px; }
.seitenkopf .titel { margin-bottom: 0.4em; }
.seitenkopf p { max-width: 34ch; }
.seitenkopf .aktionen { margin-top: 26px; }
.zweispaltig .schritte, .zweispaltig .fragen { max-width: none; }

/* Leistungen */
.leistung {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.6vw, 36px); row-gap: 28px;
  padding-block: clamp(40px, 6vw, 76px); align-items: start;
}
.leistung--erste { padding-top: 12px; }
.leistung + .leistung { border-top: 1px solid var(--kante); }
.l-links { grid-column: 1 / span 5; }
.l-fest { position: sticky; top: 32px; }
.l-rechts { grid-column: 7 / -1; }
.leistung--schulung .l-links { grid-column: 1 / span 6; }
.leistung--schulung .l-rechts { grid-column: 8 / -1; }
.leistung p { max-width: 54ch; }
.verzeichnis { margin: 0; }
.verzeichnis > div {
  display: grid; grid-template-columns: 10.5rem 1fr; gap: 4px 24px;
  padding: 15px 0; border-top: 1px solid var(--kante);
}
.verzeichnis > div:last-child { border-bottom: 1px solid var(--kante); }
.verzeichnis dt { font: 700 1.3rem/1.25 var(--schmal); }
.verzeichnis dd { margin: 0; }
.l-text .verzeichnis { margin-top: 26px; }
.l-text .klein { margin: 20px 0 0; }
.selbst { margin: 0; padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--kante); }
.selbst .textlink { white-space: nowrap; }

/* Zusammenarbeit */
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; max-width: 900px; }
.schritte li {
  counter-increment: schritt;
  display: grid; grid-template-columns: clamp(52px, 9vw, 116px) 1fr; column-gap: 12px;
  padding: 22px 0 20px; border-top: 1px solid var(--kante);
}
.schritte li:last-child { border-bottom: 1px solid var(--kante); }
.schritte li::before {
  content: counter(schritt);
  font: 800 clamp(3.2rem, 7.5vw, 5.75rem) / 0.82 var(--plakat);
}
.schritte h3 { margin: 0 0 6px; font: 700 1.7rem/1.1 var(--schmal); }
.schritte p { margin: 0; max-width: 58ch; }
.schritte p + p { margin-top: 0.6em; }

/* Zusagen */
.zusagen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px clamp(32px, 5vw, 72px); max-width: 1000px; margin-top: 8px; }
.zusagen h3 { margin: 0 0 6px; font: 700 1.6rem/1.15 var(--schmal); }
.zusagen p { margin: 0; max-width: 44ch; }

/* Fragen */
.fragen { max-width: 860px; border-bottom: 1px solid var(--kante); }
.fragen details { border-top: 1px solid var(--kante); }
.fragen summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 48px 19px 0; font: 700 1.5rem/1.2 var(--schmal);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::before, .fragen summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 2.5px; margin-top: -1px;
  background: currentColor; transition: transform 0.2s;
}
.fragen summary::before { transform: rotate(90deg); }
.fragen details[open] summary::before { transform: rotate(0deg); }
.antwort { padding: 0 0 22px; max-width: 64ch; }
.antwort p:last-child { margin-bottom: 0; }

/* Anfrage */
.anfrage-raster { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(20px, 2.6vw, 36px); row-gap: 36px; }
.anfrage-text { grid-column: 1 / span 5; }
.anfrage-form { grid-column: 7 / -1; }
.adresse { font-style: normal; margin-top: 28px; }
.adresse a { font: 700 1.6rem/1.2 var(--schmal); overflow-wrap: anywhere; }
.feld { margin-bottom: 20px; }
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.feld label { display: block; margin-bottom: 6px; font: 700 1.2rem/1.2 var(--schmal); }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; color: inherit; background: var(--papier);
  border: 1.5px solid var(--anthrazit); border-radius: var(--ecke);
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld select { appearance: none; padding-right: 44px;
  background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5l6.5 6.5 6.5-6.5' fill='none' stroke='%231b1f24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 15px center / 14px no-repeat; }
.hinweis { margin: 16px 0 0; }
.meldung { margin-top: 24px; padding: 20px 22px; background: var(--licht); border-radius: var(--ecke); }
.meldung h3 { margin: 0 0 8px; font: 700 1.5rem/1.2 var(--schmal); }
.meldung pre {
  margin: 14px 0 0; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere;
  font: inherit; font-size: 1rem; background: var(--papier); border: 1px solid var(--kante); border-radius: 3px;
}
.meldung .aktionen { margin-top: 16px; }

/* Fuß */
.fuss { background: var(--anthrazit); color: #fff; padding-block: clamp(48px, 7vw, 80px) 36px; }
.fuss-raster { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 36px clamp(24px, 4vw, 64px); }
.fuss-logo img { width: auto; height: 38px; }
.fuss p { max-width: 38ch; color: #d5d9dc; text-wrap: balance; }
.fuss h2 { margin: 0 0 12px; font: 700 1.3rem/1.2 var(--schmal); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.fuss-ende { margin-top: 44px; padding-top: 20px; border-top: 1px solid #3a4047; font-size: 0.95rem; color: #b9bfc4; }
.fuss-ende p { max-width: none; margin: 0 0 4px; color: inherit; }

/* Schmale Bildschirme */
/* Vorstellungsvideo */
.film .seitenkopf { position: static; }
.filmrahmen { margin: 0; min-width: 0; }
.filmrahmen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #f4f5f3; border: 1px solid var(--kante); border-radius: var(--ecke); }
.filmtext { margin-top: 16px; }
.filmtext summary { cursor: pointer; font: 600 1.2rem/1.2 var(--schmal); }
.filmtext p { margin: 12px 0 0; max-width: 62ch; color: var(--graphit); }
/* Anfrage: Spamfalle und Rückmeldungen */
.nur-maschine { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formfehler { margin: 14px 0 0; padding: 10px 14px; border-left: 3px solid var(--rot); background: var(--licht); font-weight: 600; }
.knopf[disabled] { opacity: 0.6; cursor: progress; }

@media (max-width: 979px) {
  .l-fest { position: static; }
  .zweispaltig { grid-template-columns: 1fr; }
  .seitenkopf { position: static; }
  .stationen { grid-template-columns: 1fr; gap: 26px; max-width: 34rem; }
  .stationen li { padding-top: 0; padding-left: 54px; min-height: 36px; }
  .stationen li::after { display: none; }
  .l-links, .l-rechts,
  .leistung--schulung .l-links, .leistung--schulung .l-rechts,
  .anfrage-text, .anfrage-form { grid-column: 1 / -1; }
  .leistung .bild { max-width: 30rem; order: 2; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-raster > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 859px) {
  .kopf-nav { display: none; }
  .menue { display: block; }
  .auftakt-raster { grid-template-columns: 1fr; }
}
@media (max-width: 619px) {
  body { font-size: 1.0625rem; }
  p, dd, li { hyphens: auto; hyphenate-limit-chars: 14 6 6; }
  .vorspann, .einleitung, .bisher, .zettel { hyphens: manual; }
  .nur-breit { display: none; }
  .nur-schmal { display: inline; }
  .knopf--klein { padding: 0 14px; }
  .kopf-logo img { height: 28px; }
  .verzeichnis > div { grid-template-columns: 1fr; }
  .zusagen { grid-template-columns: 1fr; }
  .feldpaar { grid-template-columns: 1fr; }
  .reiter button { font-size: 1.3rem; }
  .fragen summary { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knoten, .knopf, .fragen summary::before { transition: none; }
}
@media print {
  .fadenbahn, .knoten, .kopf-rechts, .anfrage-form { display: none; }
}

/* Testfassung: Ablaufbild statt Faden */
.auftakt { padding-bottom: clamp(36px, 5vw, 56px); }
.auftakt { padding-top: clamp(24px, 3.5vw, 48px); }
.auftakt h1 { font-size: clamp(2.9rem, 6.6vw, 5.6rem); max-width: 19ch; margin-bottom: 0.32em; }
.auftakt-raster { display: block; }
.auftakt-raster > div { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 56px; }
.auftakt .vorspann { margin-bottom: 0; max-width: 56ch; }
.auftakt .aktionen { flex: none; flex-wrap: nowrap; }
.ablaufbild {
  background-color: #f4f5f3;
  background-image: radial-gradient(#d3d7d2 1px, transparent 1.2px);
  background-size: 18px 18px;
  border-block: 1px solid var(--kante);
}
.ablaufbild-rahmen { overflow-x: auto; overscroll-behavior-x: contain; }
.ablaufbild .baum { display: block; width: 100%; min-width: 980px; max-width: 1640px; height: auto; margin-inline: auto; }
.ablaufbild-text { margin: 0; padding: 14px 0 18px; }
@media (max-width: 859px) {
  .auftakt-raster > div { flex-direction: column; align-items: flex-start; }
  .auftakt .aktionen { flex-wrap: wrap; }
}
/* ein einziger Moment: der Weg zeichnet sich einmal durch den Ablauf */
@media (prefers-reduced-motion: no-preference) {
  .js .b-weg path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .js .ablaufbild.sichtbar .b-weg path { animation: weg 0.16s linear forwards; animation-delay: calc(0.3s + var(--i) * 0.16s); }
  .js .b-hinweis { opacity: 0; }
  .js .ablaufbild.sichtbar .b-hinweis { animation: hinweis 0.35s ease-out forwards; animation-delay: calc(0.3s + var(--i) * 0.16s); }
}
@keyframes weg { to { stroke-dashoffset: 0; } }
@keyframes hinweis { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Fassung 5: dunkler Kopf, Miniatur-Fabrik als Bühne, Ablaufbaum weiter unten */
.auftakt {
  position: relative; isolation: isolate; overflow: hidden;
  background: #1b1f24; color: #fff;
  padding-block: clamp(40px, 5vw, 72px) calc(100vw / 2.357 * 0.6);
}
.auftakt > .inhalt { position: relative; z-index: 2; }
.auftakt h1 { color: #fff; }
.auftakt .vorspann { color: rgba(255,255,255,.84); }
.auftakt .knopf { background: #e3342f; border-color: #e3342f; color: #fff; }
.auftakt .knopf:hover { background: #c92a25; border-color: #c92a25; }
.auftakt .textlink { color: #fff; }
.auftakt-bild { position: absolute; left: 0; right: 0; bottom: 0; z-index: 0; margin: 0; }
.auftakt-bild img { display: block; width: 100%; height: auto; }
.auftakt-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #1b1f24 0%, rgba(27,31,36,0) 30%); }
.ablaufbild { border-block: 1px solid var(--kante); }
@media (max-width: 859px) {
  .auftakt { padding-bottom: 0; }
  .auftakt-bild { position: relative; inset: auto; margin-top: 8px; height: 280px; }
  .auftakt-bild img { height: 100%; object-fit: cover; object-position: 38% bottom; }
  .auftakt-bild::after { background: linear-gradient(180deg, #1b1f24 0%, rgba(27,31,36,0) 40%); }
}

.ablaufbild .baum text { font-kerning: normal; }
