/* V.I.S. Website (Vorschau) – Grundlage Entwurf 2 „Passung“: Bauplan auf Weiß, Tusche-Blau, Millimeterraster, Signal nur für „passt“. Ab Zeile „Unterseiten“ folgen die Bauteile der weiteren Seiten. */
:root {
  --weiss: #ffffff;
  --papier: #F2F4F7;
  --tusche: #041B3C;        /* 12,8:1 auf Weiß */
  --linie: #3A5A8C;         /* 7,2:1 auf Weiß */
  --linie-hell: #B8C6DB;
  --text: #041B3C;
  --leise: #4B5768;         /* 7,1:1 auf Weiß */
  --signal: #C8A96A;        /* nur Markierungen, 4:1 */
  --signal-text: #7D5F26;   /* Signal als Schrift, 5,4:1 */
  --blaupause: #12386E;
  --auf-blau: #D3DCE8;      /* 6,8:1 auf Blaupause */
  --signal-auf-blau: #D9C08E;
  --raster-fein: rgba(42, 68, 112, 0.055);
  --raster-grob: rgba(42, 68, 112, 0.12);
  --sans: "Mona Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --max: 1280px;
  --rand: clamp(16px, 4vw, 56px);
  --abstand: clamp(80px, 10vw, 152px);
  --schnell: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums proportional-nums;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--tusche); text-wrap: balance; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
::selection { background: #D7DFEA; color: var(--tusche); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
html { scrollbar-color: var(--linie-hell) var(--papier); }

.nur-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--tusche); color: #fff; padding: 10px 16px; font-weight: 600; }
.sprung:focus { top: 12px; }

.rahmen { max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--abstand); }
.abschnitt h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  font-stretch: 118%;
  line-height: 1.06;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}

/* Millimeterpapier */
.raster {
  background-color: var(--weiss);
  background-image:
    linear-gradient(var(--raster-grob) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster-grob) 1px, transparent 1px),
    linear-gradient(var(--raster-fein) 1px, transparent 1px),
    linear-gradient(90deg, var(--raster-fein) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: -1px -1px;
}

/* Offene Angaben: deutlich, aber leise */
.offen {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11.5px;
  font-stretch: 87.5%;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--leise);
  border: 1px dashed currentColor;
  padding: 1px 7px;
  vertical-align: 0.15em;
  white-space: nowrap;
}

/* Knöpfe und Links */
.knopf {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 14px 22px;
  background: var(--tusche); color: #fff;
  font-family: var(--sans); font-size: 16px; font-weight: 600; font-stretch: 108%;
  line-height: 1.2; text-decoration: none;
  border: 0; cursor: pointer;
  position: relative;
  transition: background-color 0.25s var(--schnell);
}
.knopf::before, .knopf::after {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
  border: 1.5px solid var(--signal); opacity: 0; transition: opacity 0.2s, transform 0.35s var(--schnell);
}
.knopf::before { left: -6px; top: -6px; border-right: 0; border-bottom: 0; transform: translate(4px, 4px); }
.knopf::after { right: -6px; bottom: -6px; border-left: 0; border-top: 0; transform: translate(-4px, -4px); }
.knopf:hover { background: var(--linie); }
.knopf:hover::before, .knopf:hover::after { opacity: 1; transform: none; }
.pfeil { width: 20px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform 0.3s var(--schnell); }
.knopf:hover .pfeil { transform: translateX(4px); }
.knopf-hell { background: #fff; color: var(--tusche); }
.knopf-hell:hover { background: var(--papier); }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-stretch: 108%; color: var(--tusche);
  text-decoration: none; padding-block: 12px;
  background: linear-gradient(var(--tusche), var(--tusche)) left calc(100% - 8px) / 100% 1.5px no-repeat;
  transition: background-size 0.35s var(--schnell);
}
.text-link::after {
  content: ""; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); margin-left: 2px; transition: transform 0.3s var(--schnell);
}
.text-link:hover { background-size: 0% 1.5px; background-position: right calc(100% - 8px); }
.text-link:hover::after { transform: translateX(3px) rotate(45deg); }
.text-link-klein { font-size: 15px; padding-block: 4px; background-position: left calc(100% - 1px); margin-left: 6px; }
.text-link-klein:hover { background-position: right calc(100% - 1px); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #E3E8EF;
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
}
.kopf-innen {
  max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 12px var(--rand);
  display: flex; align-items: center; gap: 28px; min-height: 72px;
}
.marke { display: grid; text-decoration: none; color: var(--tusche); line-height: 1.1; margin-right: auto; }
.marke-name { font-size: 26px; font-weight: 800; font-stretch: 125%; letter-spacing: 0.01em; }
.marke-zeile { font-size: 12.5px; color: var(--leise); font-weight: 500; margin-top: 2px; }
.menue { display: flex; align-items: center; gap: 28px; }
.menue ul { list-style: none; display: flex; gap: 22px; }
.menue ul a { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--text); padding: 8px 0; position: relative; }
.menue ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--tusche); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--schnell); }
.menue ul a:hover::after, .menue ul a[aria-current="page"]::after { transform: scaleX(1); }
.menue ul a[aria-current="page"] { color: var(--tusche); }
.knopf-kopf { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.menue-knopf { display: none; }

/* 1 Einstieg */
.einstieg { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(56px, 6vw, 88px); }
.einstieg-raster {
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4fr);
  grid-template-areas: "titel seite" "aktion seite" "bild bild";
  column-gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.einstieg h1 {
  grid-area: titel;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-stretch: 116%;
  font-weight: 720;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.einstieg-seite { grid-area: seite; padding-top: 10px; }
.einstieg-lead { font-size: 17.5px; line-height: 1.6; color: var(--text); }
.punkte { list-style: none; margin-top: 22px; border-top: 1px solid #D3DCE8; }
.punkte li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #D3DCE8;
  font-weight: 600; font-stretch: 105%; color: var(--tusche); font-size: 16px;
}
.punkte li::before { content: ""; flex: none; width: 8px; height: 8px; border: 1.5px solid var(--tusche); transform: translateY(-1px); }
.einstieg-aktion { grid-area: aktion; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.einstieg-ziel { margin-top: 14px; font-size: 15.5px; line-height: 1.5; font-weight: 600; font-stretch: 105%; color: var(--tusche); }
.einstieg-zusatz { flex: 1 0 100%; max-width: 54ch; margin-top: -2px; font-size: 14.5px; line-height: 1.5; color: var(--leise); }
/* Runde 3: Trägerzeile direkt über dem ersten Knopf */
.einstieg-traeger { flex: 1 0 100%; max-width: 72ch; margin-bottom: 2px; font-size: 14.5px; line-height: 1.5; font-weight: 600; font-stretch: 105%; color: var(--tusche); }

.passung { grid-area: bild; margin: clamp(40px, 4.5vw, 64px) 0 0; }
.passung-fenster { overflow: hidden; padding-top: 6px; }
.passung-buehne { position: relative; }
.passung-svg { display: block; width: 100%; height: auto; overflow: visible; }
.schraffur-linie { stroke: var(--linie-hell); stroke-width: 1.1; }
.teil .flaeche { stroke: none; }
.teil .kante { fill: none; stroke: var(--tusche); stroke-width: 2.4; stroke-linejoin: miter; }
.teil .bruch { fill: none; stroke: var(--tusche); stroke-width: 1.1; }
.teil .verdeckt { fill: none; stroke: var(--linie); stroke-width: 1; stroke-dasharray: 7 4; opacity: 0.8; }
.mittellinie { stroke: var(--linie); stroke-width: 1; stroke-dasharray: 26 5 3 5; }
.teil-text {
  font-family: var(--sans); font-size: 19px; font-weight: 650; font-stretch: 112%; fill: var(--tusche);
  paint-order: stroke; stroke: #fff; stroke-width: 9px; stroke-linejoin: round;
}
.merkmal { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linejoin: miter; opacity: 0; }
.hilfslinien path { stroke: var(--tusche); stroke-width: 1; fill: none; }
.scan { opacity: 0; }
.scan line { stroke: var(--signal); stroke-width: 1.5; }
.scan path { fill: var(--signal); }

/* Maßkette unter der Zeichnung: 4 gleiche Felder zwischen 12,5 % und 87,5 % */
.kette {
  list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-left: 12.5%; width: 75%;
}
.kette-teil {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 6px 4px 9px; border-bottom: 1.5px solid var(--tusche);
  font-family: var(--mono); font-size: 13px; font-stretch: 87.5%; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--tusche);
  transition: color 0.3s, border-color 0.3s, transform 0.45s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.kette-teil::before, .kette-teil:last-child::after {
  content: ""; position: absolute; bottom: -8px; width: 1px; height: 30px; background: var(--tusche);
}
.kette-teil::before { left: 0; }
.kette-teil:last-child::after { right: 0; }
.kette-name { white-space: nowrap; }
.kette-status {
  display: inline-grid; place-items: center; width: 17px; height: 17px; flex: none;
  background: var(--signal); transition: transform 0.4s cubic-bezier(0.34, 1.45, 0.64, 1), opacity 0.2s;
}
.kette-status svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 14; stroke-dashoffset: 0; transition: stroke-dashoffset 0.35s 0.1s ease-out; }
/* Schrägstriche an den Maßgrenzen (Bauzeichnung) */
.kette-teil > .kette-name::after { content: none; }
.kette .kette-teil { background:
  linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) left -6px bottom -6px / 12px 12px no-repeat; }
.kette .kette-teil:last-child { background:
  linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) left -6px bottom -6px / 12px 12px no-repeat,
  linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) right -6px bottom -6px / 12px 12px no-repeat; }

/* Zustand vor dem Einrasten (nur mit JS, solange die Animation läuft) */
.js:not(.fertig) .passung .kette-teil:not(.passt) { color: #8A96A8; border-bottom-style: dashed; border-bottom-color: #9AABC6; transform: translateY(7px); }
.js:not(.fertig) .passung .kette-teil:not(.passt) .kette-status { transform: scale(0); opacity: 0; }
.js:not(.fertig) .passung .kette-teil:not(.passt) .kette-status svg { stroke-dashoffset: 14; }
.js:not(.fertig) .passung .gesamt:not(.da) { opacity: 0; }
.js:not(.fertig) .passung .gesamt:not(.da)::before { transform: scaleX(0); }
.js:not(.fertig) .passung-svg .teil { opacity: 0; animation: einblenden 0.01s 2.6s forwards; }
@keyframes einblenden { to { opacity: 1; } }

.gesamt {
  position: relative; margin: 18px 0 0 12.5%; width: 75%; height: 34px;
  display: flex; justify-content: center; align-items: flex-start;
  transition: opacity 0.4s;
}
.gesamt::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--signal);
  transform-origin: center; transition: transform 0.7s var(--schnell);
}
.gesamt::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 14px;
  border-left: 2px solid var(--signal); border-right: 2px solid var(--signal);
}
.gesamt-name {
  font-family: var(--mono); font-size: 13px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--signal-text); background: transparent; padding: 0 10px;
}

/* 2 Warum */
.warum-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.warum h2 { margin-bottom: 0; max-width: 17ch; font-size: clamp(2rem, 4.1vw, 3.6rem); }
.bemasst {
  color: var(--tusche);
  background: linear-gradient(var(--signal), var(--signal)) left bottom / var(--mass, 100%) 3px no-repeat;
  padding-bottom: 4px;
  transition: background-size 1.1s var(--schnell);
}
.js:not(.fertig) .bemasst:not(.gezeichnet) { --mass: 0%; }
.warum-text { display: grid; gap: 20px; color: var(--text); max-width: 60ch; }
.warum-text p:first-child { font-size: 19px; line-height: 1.55; color: var(--tusche); font-weight: 500; }

/* 3 Zwei Wege */
.wege { padding-top: 0; }
.plaene { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 36px); }
.plan { border: 1.5px solid var(--tusche); padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; position: relative; }
.plan-kopf { display: flex; gap: 20px; align-items: flex-start; }
.plan-blatt {
  flex: none; width: 64px; height: 64px; display: grid; place-items: center;
  border: 1.5px solid currentColor; font-size: 34px; font-weight: 800; font-stretch: 125%; line-height: 1;
}
.plan h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-stretch: 120%; line-height: 1.05; letter-spacing: -0.015em; }
.plan-fuer { margin-top: 6px; font-size: 17px; }
.plan-skizze { width: 100%; height: auto; margin: 28px 0 8px; overflow: visible; }
.plan-skizze path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: miter; }
.plan-skizze .kraeftig { stroke-width: 2.4; }
.plan-skizze .duenn path { stroke-width: 1.2; opacity: 0.55; }
.plan-skizze .signal { stroke: var(--signal); stroke-width: 2.6; }
.mass-text { font-family: var(--mono); font-size: 15px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.04em; fill: currentColor; }
.stueckliste { list-style: none; margin-top: 12px; border-top: 1px solid; border-color: inherit; }
.stueckliste li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 13px 0 13px 24px; border-bottom: 1px solid; border-color: inherit; position: relative; font-size: 16.5px; line-height: 1.5; }
.stueckliste li::before { content: ""; position: absolute; left: 0; top: 21px; width: 8px; height: 8px; border: 1.5px solid currentColor; }
.plan-a { color: var(--text); border-color: var(--tusche); }
.plan-a .plan-blatt, .plan-a h3 { color: var(--tusche); }
.plan-a .plan-skizze { color: var(--tusche); }
.plan-a .stueckliste { border-color: #D3DCE8; }
.plan-a .plan-fuer { color: var(--leise); }
.plan-b {
  background-color: var(--blaupause); color: #fff; border-color: var(--blaupause);
  background-image:
    linear-gradient(rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}
.plan-b h3 { color: #fff; }
.plan-b .plan-fuer { color: var(--auf-blau); }
.plan-b .stueckliste { border-color: rgba(255,255,255,0.28); }
.plan-b .text-link { color: #fff; background-image: linear-gradient(#fff, #fff); }
.plan-b .offen { color: var(--auf-blau); }
.plan-b .plan-skizze .signal { stroke: var(--signal-auf-blau); }
.wege-mehr { margin-top: 28px; }

/* 4 Ablauf */
.ablauf { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; --fortschritt: 1; }
.ablauf::before {
  content: ""; position: absolute; left: 21px; right: 0; top: 21px; height: 1.5px; background: var(--tusche);
  transform: scaleX(var(--fortschritt)); transform-origin: left;
}
.schritt { position: relative; padding-right: clamp(16px, 2vw, 32px); }
.schritt::after {
  content: ""; position: absolute; left: 21px; top: 44px; height: 150px; width: 1px;
  background: repeating-linear-gradient(to bottom, var(--linie) 0 16px, transparent 16px 20px, var(--linie) 20px 22px, transparent 22px 26px);
  opacity: 0.6;
}
.achse-nr {
  position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--tusche); background: var(--tusche); color: #fff;
  font-family: var(--mono); font-size: 15px; font-weight: 600;
  transition: background-color 0.35s, color 0.35s;
}
.js:not(.fertig) .schritt:not(.erreicht) .achse-nr { background: #fff; color: var(--tusche); }
.skizze { display: block; width: 100%; max-width: 230px; height: auto; margin: 18px 0 22px 30px; overflow: visible; }
.skizze path { fill: none; stroke: var(--tusche); stroke-width: 1.3; stroke-linejoin: miter; stroke-linecap: square; }
.skizze .kraeftig { stroke-width: 2.4; }
.skizze .signal { stroke: var(--signal); stroke-width: 2.4; }
.schritt h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-stretch: 115%; letter-spacing: -0.01em; margin-bottom: 8px; }
.schritt p { font-size: 16px; line-height: 1.55; color: var(--text); max-width: 30ch; }
/* Zeichnen beim Scrollen: Linien bekommen per JS --d */
.js:not(.fertig) .z { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js:not(.fertig) .gezeichnet .z, .js:not(.fertig) .z.da { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--schnell); }
.js:not(.fertig) .ablauf .z { transition: none; }

/* 5 Fachbereiche */
.fach-abschnitt { padding-bottom: calc(var(--abstand) * 0.8); }
.fach { width: 100%; border-collapse: collapse; }
.fach thead th {
  text-align: left; font-family: var(--mono); font-size: 12px; font-weight: 500; font-stretch: 87.5%;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise);
  padding: 0 16px 12px 0; border-bottom: 1.5px solid var(--tusche);
}
.fach tbody tr { border-bottom: 1px solid #D3DCE8; transition: background-color 0.3s; }
.fach tbody th {
  text-align: left; vertical-align: middle; width: 36%;
  font-size: clamp(1.15rem, 1.9vw, 1.65rem); font-weight: 680; font-stretch: 118%; letter-spacing: -0.015em; line-height: 1.15;
  color: var(--tusche); padding: 22px 24px 22px 0;
}
.fach tbody td { vertical-align: middle; padding: 22px 24px 22px 0; font-size: 16.5px; color: var(--text); }
.fach-skizze { width: 250px; padding-right: 0 !important; }
.fach-skizze svg { display: block; width: 220px; height: 100px; overflow: visible; }
.fach-skizze path, .fach-skizze circle { fill: none; stroke-linejoin: miter; }
.fach-skizze .basis { stroke: var(--linie-hell); stroke-width: 1.3; }
.fach-skizze .detail .z { stroke: var(--tusche); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (hover: hover) and (pointer: fine) {
  .fach tbody tr .detail .z { stroke-dashoffset: 1; transition: stroke-dashoffset 0.25s ease-in; }
  .fach tbody tr.aktiv .detail .z, .fach tbody tr:hover .detail .z { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s var(--schnell); }
  .fach tbody tr.aktiv .basis, .fach tbody tr:hover .basis { stroke: var(--linie); }
  .fach tbody tr:hover, .fach tbody tr.aktiv { background: linear-gradient(90deg, var(--papier), rgba(242, 244, 247,0)); }
}

/* 6 Grundsätze */
.grundsaetze { background: var(--papier); overflow: hidden; }
.grund-liste { position: relative; padding-left: 28px; border-left: 1.5px solid var(--tusche); }
.grund-liste::before {
  content: ""; position: absolute; left: -9px; top: -2px; width: 0; height: 0;
  border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 13px solid var(--tusche);
}
.grund {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(14px, 2vw, 26px) 0; border-bottom: 1px solid #D3DCE8; position: relative;
}
.grund::before {
  content: ""; position: absolute; left: -29px; top: 50%; width: 22px; height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--schnell);
}
.grund.eingerastet::before { transform: scaleX(1); }
.grund-wort {
  font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 780; font-stretch: 125%;
  line-height: 0.95; letter-spacing: -0.035em; color: var(--tusche);
  will-change: transform;
}
.grund dd { font-size: 18px; line-height: 1.5; max-width: 34ch; color: var(--text); }

/* 7 Für Ingenieure */
.blaupause {
  background-color: var(--blaupause); color: #fff;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
}
.blaupause h2 { color: #fff; }
.ing-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ing-text p { color: var(--auf-blau); font-size: 18px; max-width: 52ch; margin-bottom: 32px; }
.ing-text h2 { margin-bottom: 24px; }
.ing-skizze { width: 100%; height: auto; overflow: visible; color: #fff; }
.ing-skizze path { fill: none; stroke: #fff; stroke-width: 1.2; }
.ing-skizze .kraeftig { stroke-width: 2.6; }
.phantom { fill: none; stroke: var(--auf-blau); stroke-width: 1.3; stroke-dasharray: 22 5 3 5 3 5; }
.skizze-text { font-family: var(--sans); font-size: 18px; font-weight: 650; font-stretch: 112%; fill: #fff; }
.skizze-text-leise { fill: var(--auf-blau); font-weight: 500; }

/* 8 Ansprechpartner */
.partner-raster { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "titel titel" "bild liste"; gap: 0 clamp(28px, 4vw, 64px); align-items: start; }
.partner h2 { grid-area: titel; }
.partner-bild { grid-area: bild; margin: 0; }
.bild-rahmen { position: relative; }
.bild-rahmen img { width: 100%; filter: saturate(0.82) contrast(1.03); }
.bild-rahmen::before, .bild-rahmen::after {
  content: ""; position: absolute; width: 22px; height: 22px; pointer-events: none; border: 1.5px solid var(--tusche);
}
.bild-rahmen::before { left: -12px; top: -12px; border-right: 0; border-bottom: 0; }
.bild-rahmen::after { right: -12px; bottom: -12px; border-left: 0; border-top: 0; }
.ballon {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1.5px solid var(--tusche);
  display: grid; place-items: center; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--tusche);
}
.ballon::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: calc(var(--l) * 7.4); background: #fff; box-shadow: 0 0 0 0.5px var(--tusche); }
.partner-liste { grid-area: liste; list-style: none; border-top: 1.5px solid var(--tusche); }
.partner-liste li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 20px 0; border-bottom: 1px solid #D3DCE8; }
.ballon-klein { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--tusche); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--tusche); }
.partner-name { font-size: 1.45rem; font-weight: 700; font-stretch: 115%; color: var(--tusche); line-height: 1.2; }
.partner-rolle { color: var(--leise); font-size: 16px; }

/* 9 Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.kontakt h2 { font-size: clamp(2.1rem, 4.4vw, 4rem); max-width: 18ch; margin-bottom: 24px; }
.kontakt-text p { font-size: 18px; max-width: 52ch; }
.kontakt-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 32px; }
.pruefung { background: rgba(255,255,255,0.86); border: 1.5px solid var(--tusche); padding: clamp(18px, 2.4vw, 32px); }
.pruef-skizze { width: 100%; height: auto; display: block; overflow: visible; }
.pruef-skizze path { fill: none; stroke: var(--tusche); stroke-width: 1.3; }
.pruef-skizze .kraeftig { stroke-width: 2.4; }
.pruef-skizze .phantom { stroke: var(--linie); }
.pruef-skizze .skizze-text { fill: var(--tusche); }
.kette-offen { margin: 14px 0 0 5%; width: 90%; }
.kette-offen .kette-teil { color: var(--leise); border-bottom: 1.5px dashed var(--linie); font-size: 11.5px; padding-inline: 2px; }

/* Auf einen Blick */
.blick { padding-top: calc(var(--abstand) * 0.75); }
.datenblatt { border-top: 1.5px solid var(--tusche); }
.datenblatt > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 8px 32px; padding: 16px 0; border-bottom: 1px solid #D3DCE8; }
.datenblatt dt { font-family: var(--mono); font-size: 12.5px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tusche); padding-top: 4px; }
.datenblatt dd { max-width: 72ch; font-size: 16.5px; }

/* Fuß als Schriftfeld */
.fuss { padding: 0 0 28px; }
.schriftfeld {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr) minmax(0, 2.4fr) minmax(0, 2fr) minmax(0, 2fr);
  border: 1.5px solid var(--tusche);
}
.schriftfeld > div { padding: 16px 18px; border-right: 1px solid var(--tusche); display: flex; flex-direction: column; justify-content: center; gap: 6px; font-size: 14.5px; }
.schriftfeld > div:last-child { border-right: 0; }
.sf-marke { font-size: 30px !important; font-weight: 800; font-stretch: 125%; color: var(--tusche); }
.sf-zeile { color: var(--text); }
.sf-links { flex-direction: row !important; flex-wrap: wrap; gap: 4px 18px !important; justify-content: flex-start !important; align-items: center; }
.sf-links a { color: var(--tusche); font-weight: 600; padding: 6px 0; }
.sf-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); font-stretch: 87.5%; }
.sf-feld .offen { align-self: flex-start; }
.alle-entwuerfe { margin-top: 14px; font-size: 13px; text-align: right; }
.alle-entwuerfe a { color: var(--leise); padding: 6px 0; display: inline-block; }

/* ---------- Tablet / Handy ---------- */
@media (max-width: 1080px) {
  .menue ul { gap: 16px; }
  .menue ul a { font-size: 14px; }
  .marke-zeile { display: none; }
}
@media (max-width: 900px) {
  .menue-knopf {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
    background: #fff; border: 1.5px solid var(--tusche); color: var(--tusche);
    font: 600 15px var(--sans); cursor: pointer;
  }
  .menue-striche { width: 18px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; position: relative; }
  .marke-zeile { display: block; font-size: 11.5px; max-width: 190px; }
  .menue { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1.5px solid var(--tusche);
    flex-direction: column; align-items: stretch; gap: 16px; padding: 8px var(--rand) 22px; }
  .menue.offen-menue { display: flex; }
  .menue ul { flex-direction: column; gap: 0; }
  .menue ul a { display: block; padding: 13px 0; font-size: 17px; border-bottom: 1px solid #E3E8EF; }
  .menue ul a::after { display: none; }
  html:not(.js) .menue { display: flex; position: static; border: 0; padding: 8px 0 0; }
  html:not(.js) .kopf-innen { flex-wrap: wrap; }
  .knopf-kopf { justify-content: center; }

  .einstieg-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "titel" "seite" "aktion" "bild"; }
  .einstieg h1 { max-width: 16ch; }
  .einstieg-seite { padding-top: 20px; }
  .einstieg-aktion { margin-top: 26px; }
  .warum-raster, .ing-raster, .kontakt-raster { grid-template-columns: minmax(0, 1fr); }
  .plaene { grid-template-columns: minmax(0, 1fr); }
  .ablauf { grid-template-columns: minmax(0, 1fr); }
  .ablauf::before { left: 21px; right: auto; top: 22px; bottom: 40px; width: 1.5px; height: auto; transform: scaleY(var(--fortschritt)); transform-origin: top; }
  .schritt { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 0 0 36px; }
  .schritt::after { display: none; }
  .achse-nr { grid-row: span 3; }
  .skizze { grid-column: 2; margin: 0 0 12px; max-width: 200px; }
  .schritt h3, .schritt p { grid-column: 2; }
  .partner-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "titel" "bild" "liste"; }
  .partner-liste { margin-top: 36px; }
  .schriftfeld { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .schriftfeld > div { border-right: 0; border-bottom: 1px solid var(--tusche); }
  .schriftfeld .sf-marke, .schriftfeld .sf-zeile { grid-column: span 2; }
  .schriftfeld .sf-links { grid-column: span 2; }
  .schriftfeld .sf-feld:first-of-type { border-right: 1px solid var(--tusche); }
  .schriftfeld > div:last-child, .schriftfeld .sf-feld { border-bottom: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .einstieg h1 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); font-stretch: 110%; letter-spacing: -0.025em; }
  .einstieg-lead { font-size: 16.5px; }
  /* Einzeiler direkt unter dem Knopf, der Textlink rutscht darunter */
  .einstieg-aktion .text-link { order: 1; }
  /* Zeichnung: Bruchenden abschneiden, damit die Fuge groß bleibt */
  .passung-buehne { width: 133.34%; margin-left: -16.67%; }
  .passung { margin-top: 36px; }
  .teil-text { font-size: 34px; stroke-width: 12px; }
  .teil-oben .teil-text { transform: translate(-10px, 6px); }
  .kette-teil { font-size: 11px; font-stretch: 75%; letter-spacing: 0; flex-direction: column; gap: 4px; padding-bottom: 7px; }
  .kette-status { width: 15px; height: 15px; }
  .gesamt-name { font-size: 12px; }
  .abschnitt h2 { font-size: clamp(1.75rem, 7.6vw, 2.2rem); font-stretch: 110%; }
  .plan-blatt { width: 48px; height: 48px; font-size: 26px; }
  .fach thead { display: none; }
  .fach, .fach tbody, .fach tr, .fach th, .fach td { display: block; width: auto; }
  .fach tbody tr { padding: 18px 0; display: grid; grid-template-columns: minmax(0, 1fr) 96px; column-gap: 12px; }
  .fach tbody th { padding: 0 0 6px; font-size: 1.2rem; grid-column: 1; width: auto; }
  .fach tbody td { width: auto; }
  .fach tbody td { padding: 0; font-size: 15.5px; grid-column: 1; }
  .fach tbody td.fach-skizze { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 96px; }
  .fach-skizze svg { width: 96px; height: 44px; }
  .grund { grid-template-columns: minmax(0, 1fr); }
  .grund-liste { padding-left: 18px; }
  .grund::before { left: -19px; width: 14px; top: 34px; }
  .datenblatt > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ballon { width: 30px; height: 30px; font-size: 12px; }
  .bild-rahmen::before { left: -6px; top: -6px; } .bild-rahmen::after { right: -6px; bottom: -6px; }
  .kette-offen .kette-teil { font-size: 11px; font-stretch: 75%; letter-spacing: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}

/* =====================================================================
   Unterseiten und neue Planungs-Elemente (Website, 19.11.2026)
   ===================================================================== */

/* ---------- Zeichnungen allgemein (Inline-SVG, dünne Tuschelinien) ---------- */
.zg { display: block; width: 100%; height: auto; overflow: visible; color: var(--tusche); }
.zg :where(path, line, circle, rect, polyline, polygon, ellipse) { stroke: currentColor; stroke-width: 1.3; stroke-linejoin: miter; stroke-linecap: butt; }
.zg :where(path, line, circle, rect, polyline, polygon, ellipse):not([fill]) { fill: none; }
.zg [fill^="url"] { stroke: none; }
.zg .k { stroke-width: 2.4; }
.zg .kk { stroke-width: 4; }
.zg .d { stroke-width: 1; }
.zg .h { stroke: var(--linie-hell); }
.zg .l { stroke: var(--linie); }
.zg .m { stroke: var(--linie); stroke-width: 1; stroke-dasharray: 26 5 3 5; }
.zg .v { stroke-dasharray: 8 5; }
.zg .s { stroke: var(--signal); stroke-width: 2.6; }
.zg .f { fill: currentColor; stroke: none; }
.zg .fw { fill: #fff; }
.zg .fs { fill: var(--signal); stroke: none; }
.zg .fp { fill: var(--papier); }
.zg .sch { stroke: var(--linie-hell); stroke-width: 1.1; }
.zg text { font-family: var(--mono); font-size: 15px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.02em; fill: currentColor; stroke: none; }
.zg .tg { font-family: var(--sans); font-size: 19px; font-weight: 650; font-stretch: 112%; letter-spacing: 0; }
.zg .tl { fill: var(--leise); }
.zg .ts { fill: var(--signal-text); font-weight: 600; }
.zg .tf { paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.blaupause .zg, .plan-b .zg { color: #fff; }
.blaupause .zg .tl, .plan-b .zg .tl { fill: var(--auf-blau); }
.blaupause .zg .s, .plan-b .zg .s { stroke: var(--signal-auf-blau); }
.blaupause .zg .fs, .plan-b .zg .fs { fill: var(--signal-auf-blau); }
.blaupause .zg .h, .plan-b .zg .h { stroke: rgba(255,255,255,0.35); }
.blaupause .zg .tf, .plan-b .zg .tf { stroke: var(--blaupause); }
/* Einblenden von Texten, Flächen und Strichlinien, wenn die Zeichnung ins Bild kommt */
.js:not(.fertig) .zeichnen .e { opacity: 0; transition: opacity 0.8s 0.5s ease; }
.js:not(.fertig) .zeichnen.gezeichnet .e { opacity: 1; }
.js:not(.fertig) .zeichnen.gezeichnet .e2 { transition-delay: 1.1s; }

.abbildung { margin: 0; }
.abbildung figcaption, .bildzeile {
  margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--leise); max-width: 62ch;
}
.bildzeile b, .abbildung figcaption b { color: var(--tusche); font-weight: 650; }
.marke-klein { font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
.blaupause .marke-klein { color: var(--auf-blau); }

/* Legende (Planlegende) */
.legende { list-style: none; border-top: 1.5px solid var(--tusche); }
.legende li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid #D3DCE8; font-size: 15px; line-height: 1.4; }
.legende svg { width: 58px; height: 30px; display: block; overflow: visible; }
.legende-titel { font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tusche); margin-bottom: 8px; }

/* ---------- Start: Warum mit Strangschema ---------- */
.warum-bild { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7.6fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.warum-bild .bildzeile { margin-top: 18px; }

/* ---------- Start: Grundsätze mit Legenden-Symbol ---------- */
.grund { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) 168px; }
.grund-symbol { display: grid; justify-items: start; gap: 6px; padding: 10px 12px; border: 1px solid #C5D0E0; background: rgba(255,255,255,0.7); }
.grund-symbol svg { width: 64px; height: 30px; display: block; overflow: visible; }
.grund-symbol span { font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); line-height: 1.35; }

/* ---------- Kleine Links unter Abschnitten ---------- */
.abschnitt-mehr { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 4px 32px; }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf { padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(56px, 6vw, 96px); }
.seitenkopf-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.brotkrumen { font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin-bottom: 22px; }
.brotkrumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.brotkrumen li + li::before { content: "/"; margin-right: 10px; color: var(--linie-hell); }
.brotkrumen a { color: var(--leise); padding: 6px 0; }
.brotkrumen [aria-current] { color: var(--tusche); }
.seitenkopf h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem); font-stretch: 116%; font-weight: 720;
  line-height: 1.02; letter-spacing: -0.03em; max-width: 17ch;
}
.seitenkopf-lead { margin-top: 24px; font-size: 18px; line-height: 1.6; max-width: 54ch; }
.seitenkopf-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.seitenkopf-bild { grid-column: 1 / -1; margin-top: clamp(40px, 5vw, 72px); }

/* Plankopf / Schriftfeld als Kurzüberblick */
.plankopf { border: 1.5px solid var(--tusche); background: rgba(255,255,255,0.94); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); font-size: 14.5px; line-height: 1.4; }
.pk { padding: 10px 14px 12px; border-right: 1px solid var(--tusche); border-bottom: 1px solid var(--tusche); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pk-b6 { grid-column: span 6; } .pk-b4 { grid-column: span 4; } .pk-b3 { grid-column: span 3; } .pk-b2 { grid-column: span 2; }
.pk-rechts { border-right: 0; }
.pk-unten { border-bottom: 0; }
.pk-l { font-family: var(--mono); font-size: 10.5px; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); }
.pk-w { color: var(--tusche); font-weight: 600; font-stretch: 105%; overflow-wrap: anywhere; }
.pk-w .offen { align-self: flex-start; }
.pk-gross { font-size: 22px; font-weight: 750; font-stretch: 120%; letter-spacing: -0.01em; line-height: 1.1; }
.pk-null { font-size: 26px; font-weight: 780; font-stretch: 122%; line-height: 1; }
.pk-inhalt ol { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; counter-reset: blatt; }
.pk-inhalt li { counter-increment: blatt; }
.pk-inhalt a { display: flex; gap: 8px; padding: 5px 0; text-decoration: none; color: var(--tusche); font-weight: 550; font-size: 14px; }
.pk-inhalt a::before { content: counter(blatt, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--leise); padding-top: 2px; }
.pk-inhalt a:hover { text-decoration: underline; }

/* Abschnitts-Nummer wie Blattnummer */
.blatt-nr { display: block; font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); margin-bottom: 14px; }
.blaupause .blatt-nr { color: var(--auf-blau); }
.abschnitt-einleitung { font-size: 18px; line-height: 1.6; max-width: 60ch; margin: calc(clamp(36px, 4.5vw, 64px) * -0.55) 0 clamp(32px, 4vw, 56px); }
.blaupause .abschnitt-einleitung { color: var(--auf-blau); }

/* ---------- Marktbild ---------- */
.markt-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.markt-text p + p { margin-top: 18px; }
.markt-text p:first-child { font-size: 19px; line-height: 1.55; color: var(--tusche); font-weight: 500; }
.folgen-titel { margin-top: 30px; }
.folgen { list-style: none; margin-top: 8px; border-top: 1.5px solid var(--tusche); counter-reset: folge; }
.folgen li { counter-increment: folge; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid #D3DCE8; font-size: 16.5px; }
.folgen li::before { content: "F" counter(folge); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--leise); padding-top: 3px; }
.schichten { margin-top: 18px; border-top: 1.5px solid var(--tusche); }
.schichten > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #D3DCE8; }
.schichten dt { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--tusche); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--tusche); }
.schichten dd { font-size: 15.5px; line-height: 1.5; }
.schichten dd b { display: block; color: var(--tusche); font-weight: 650; font-size: 16.5px; }

/* ---------- Engpass: Träger „Inhaber“ ---------- */
.engpass-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.engpass-bild { position: sticky; top: 104px; background: #fff; }
.traeger-svg .last { transition: opacity 0.45s var(--schnell), transform 0.6s var(--schnell); }
.js:not(.fertig) .traeger-svg .last:not(.an) { opacity: 0; transform: translateY(-26px); }
.traeger-svg .last.hervor path { stroke: var(--linie); }
.traeger-svg .last.hervor circle { fill: var(--tusche); }
.traeger-svg .last.hervor text { fill: #fff; }
.traeger-svg .m-flaeche { stroke: none; }
.traeger-svg .grenze { stroke: var(--linie); stroke-width: 1.2; stroke-dasharray: 3 4; }
.positionen { list-style: none; counter-reset: pos; }
.position { counter-increment: pos; padding: 18px 0 20px; border-bottom: 1px solid #D3DCE8; display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 14px; }
.position:first-child { border-top: 1.5px solid var(--tusche); }
.position::before {
  content: counter(pos); grid-row: span 3; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--tusche);
  display: grid; place-items: center; font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--tusche); background: #fff;
  transition: background-color 0.3s, color 0.3s;
}
.position.an::before, .position:hover::before { background: var(--tusche); color: #fff; }
.position h3 { font-size: 1.2rem; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 6px; }
.position p { font-size: 15.5px; line-height: 1.55; }
.pos-tag { font-family: var(--mono); font-size: 11px; color: var(--leise); letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 2px; }

/* ---------- Reiter (Plan-Register) ---------- */
.reiter-leiste { display: flex; flex-wrap: wrap; border-bottom: 1.5px solid var(--tusche); margin-bottom: clamp(24px, 3vw, 40px); padding-left: 1.5px; }
.reiter-knopf {
  appearance: none; border: 1.5px solid var(--tusche); border-bottom: 0; margin: 0 0 0 -1.5px; background: #fff; color: var(--tusche);
  font: 600 15px/1.25 var(--sans); font-stretch: 108%; padding: 12px 18px 11px; cursor: pointer; display: inline-flex; align-items: baseline; gap: 10px;
  min-height: 46px; position: relative; text-align: left;
}
.reiter-knopf .rk-nr { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--leise); }
.reiter-knopf:hover { background: var(--papier); }
.reiter-knopf[aria-selected="true"] { background: var(--tusche); color: #fff; }
.reiter-knopf[aria-selected="true"] .rk-nr { color: var(--auf-blau); }
.reiter-feld[hidden] { display: none !important; }
.reiter:not(.bereit) .reiter-feld + .reiter-feld { margin-top: 40px; padding-top: 32px; border-top: 1.5px solid var(--tusche); }
.reiter-feld > h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-stretch: 118%; letter-spacing: -0.015em; line-height: 1.1; margin-bottom: 18px; }
.befund-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.punkt-liste { list-style: none; border-top: 1px solid #D3DCE8; }
.punkt-liste li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid #D3DCE8; font-size: 16.5px; line-height: 1.5; }
.punkt-liste li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border: 1.5px solid currentColor; }
.befund { border: 1.5px solid var(--tusche); padding: 18px 20px; background: #fff; }
.befund .pk-l { display: block; margin-bottom: 8px; }
.befund p { font-size: 17px; line-height: 1.5; color: var(--tusche); font-weight: 550; }
.befund .zg { margin-top: 16px; }

/* ---------- Zwei Wege, ausführlich ---------- */
.plan .bildzeile { margin: 0 0 6px; font-size: 14.5px; }
.plan-b .bildzeile { color: var(--auf-blau); }
.plan-b .bildzeile b { color: #fff; }
.plan .zg { margin: 26px 0 10px; }
.plan-hinweis { margin-top: 18px; font-size: 15px; line-height: 1.5; }
.plan-b .plan-hinweis { color: var(--auf-blau); }

/* ---------- Bauzeitenplan (Gantt) ---------- */
.gantt { --spalten: 5; border-top: 1.5px solid var(--tusche); }
.gantt-kopf, .gantt-zeile { display: grid; grid-template-columns: 52px minmax(0, 5fr) minmax(0, 6.5fr); column-gap: 18px; }
.gantt-kopf { border-bottom: 1.5px solid var(--tusche); align-items: end; }
.gantt-kopf > span { font-family: var(--mono); font-size: 11.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); padding: 12px 0 10px; }
.gantt-achse { display: grid; grid-template-columns: repeat(var(--spalten), minmax(0, 1fr)); padding: 0 !important; }
.gantt-achse span { padding: 12px 6px 10px; border-left: 1px solid #C5D0E0; overflow-wrap: anywhere; }
.gantt-mass { grid-column: 3; position: relative; height: 50px; }
.gantt-mass-linie { position: absolute; left: 0; width: calc(var(--bis) / var(--spalten) * 100%); bottom: 12px; height: 1.5px; background: var(--tusche); }
.gantt-mass-linie::before, .gantt-mass-linie::after { content: ""; position: absolute; bottom: -8px; width: 1px; height: 17px; background: var(--tusche); }
.gantt-mass-linie::before { left: 0; } .gantt-mass-linie::after { right: 0; }
.gantt-mass-linie i { position: absolute; bottom: -5px; width: 12px; height: 12px; background: linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)); }
.gantt-mass-linie i:first-child { left: -6px; } .gantt-mass-linie i:last-child { right: -6px; }
.gantt-mass-text { position: absolute; left: 0; width: calc(var(--bis) / var(--spalten) * 100%); bottom: 19px; text-align: center; font-family: var(--mono); font-size: 13px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.03em; color: var(--tusche); }
.gantt-zeile { border-bottom: 1px solid #D3DCE8; }
.gantt-nr { padding-top: 20px; }
.gantt-nr span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--tusche); background: var(--tusche); color: #fff; font-family: var(--mono); font-size: 14px; font-weight: 600; }
.gantt-vorgang { padding: 20px 0 22px; }
.gantt-vorgang h3 { font-size: 1.25rem; font-stretch: 114%; letter-spacing: -0.01em; margin-bottom: 6px; }
.gantt-vorgang p { font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.gantt-vorgang p + p { margin-top: 8px; color: var(--leise); }
.gantt-zeit {
  position: relative; min-height: 64px;
  background-image: repeating-linear-gradient(90deg, #C5D0E0 0 1px, transparent 1px calc(100% / var(--spalten)));
}
.gantt-balken {
  position: absolute; top: 50%; height: 16px; margin-top: -8px;
  left: calc(var(--von) / var(--spalten) * 100% + 6px); width: calc((var(--bis) - var(--von)) / var(--spalten) * 100% - 12px);
  background: var(--tusche); transform-origin: left; transition: transform 0.9s var(--schnell); transition-delay: calc(var(--i, 0) * 0.18s);
}
.gantt-balken.dauer { background: repeating-linear-gradient(135deg, var(--tusche) 0 2px, #fff 2px 6px); border: 1.5px solid var(--tusche); }
.js:not(.fertig) .gantt:not(.gezeichnet) .gantt-balken { transform: scaleX(0); }
.gantt-meilenstein {
  position: absolute; top: 50%; left: calc(var(--bei) / var(--spalten) * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px;
  background: var(--tusche); transform: rotate(45deg); transition: transform 0.5s var(--schnell), opacity 0.4s; transition-delay: calc(var(--i, 0) * 0.18s + 0.3s);
}
.gantt-meilenstein.signal { background: var(--signal); }
.js:not(.fertig) .gantt:not(.gezeichnet) .gantt-meilenstein { transform: rotate(45deg) scale(0); opacity: 0; }
.gantt-stichtag { position: absolute; top: 0; bottom: -1px; left: calc(var(--bei) / var(--spalten) * 100%); width: 2px; margin-left: -1px; background: var(--signal); }
.gantt-notiz { position: absolute; top: 50%; transform: translateY(-50%); left: calc(var(--bei) / var(--spalten) * 100% + 18px); font-family: var(--mono); font-size: 11.5px; font-weight: 600; font-stretch: 87.5%; color: var(--signal-text); background: #fff; padding: 2px 4px; white-space: nowrap; }
.gantt-legende { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; font-size: 14px; color: var(--leise); }
.gantt-legende span { display: inline-flex; align-items: center; gap: 10px; }
.gantt-legende i { display: inline-block; width: 28px; height: 10px; background: var(--tusche); }
.gantt-legende i.dauer { background: repeating-linear-gradient(135deg, var(--tusche) 0 2px, #fff 2px 6px); border: 1.5px solid var(--tusche); }
.gantt-legende i.ms { width: 12px; height: 12px; transform: rotate(45deg); }
.gantt-legende i.ms.signal { background: var(--signal); }
.gantt-legende i.stich { width: 2px; height: 18px; background: var(--signal); }

/* ---------- Fragen (Aufklappen) ---------- */
.fragen-liste { border-top: 1.5px solid var(--tusche); max-width: 920px; }
.frage { border-bottom: 1px solid #D3DCE8; }
.frage summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 28px; gap: 18px; align-items: center; padding: 20px 0; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.3; }
.frage-zeichen { width: 26px; height: 26px; border: 1.5px solid var(--tusche); position: relative; }
.frage-zeichen::before, .frage-zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--tusche); transition: transform 0.3s var(--schnell); }
.frage-zeichen::before { width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; }
.frage-zeichen::after { width: 1.5px; height: 12px; margin: -6px 0 0 -0.75px; }
.frage[open] .frage-zeichen::after { transform: scaleY(0); }
.frage summary:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.frage-antwort { padding: 0 48px 22px 0; font-size: 16.5px; line-height: 1.6; max-width: 72ch; }

/* ---------- Für Ingenieure ---------- */
.stueck-tabelle { width: 100%; border-collapse: collapse; }
.stueck-tabelle thead th { text-align: left; font-family: var(--mono); font-size: 11.5px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); padding: 0 16px 10px 0; border-bottom: 1.5px solid var(--tusche); }
.stueck-tabelle tbody tr { border-bottom: 1px solid #D3DCE8; }
.stueck-tabelle td, .stueck-tabelle tbody th { padding: 18px 18px 18px 0; vertical-align: top; text-align: left; font-size: 16.5px; line-height: 1.55; }
.stueck-tabelle tbody th { font-size: 1.15rem; font-weight: 680; font-stretch: 114%; color: var(--tusche); width: 30%; line-height: 1.3; }
.stueck-tabelle .st-pos { width: 64px; }
.st-ballon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--tusche); font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--tusche); }

.achsraster { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; row-gap: 48px; }
.achse { position: relative; padding: 0 clamp(16px, 2vw, 32px) 0 0; }
.achse::before { content: ""; position: absolute; left: 21px; top: 21px; right: 0; height: 1.5px; background: var(--tusche); }
.achse:nth-child(3n)::before { display: none; }
.achse::after {
  content: ""; position: absolute; left: 21px; top: 44px; bottom: -48px; width: 1px;
  background: repeating-linear-gradient(to bottom, var(--linie) 0 16px, transparent 16px 20px, var(--linie) 20px 22px, transparent 22px 26px);
  opacity: 0.6;
}
.achse:nth-last-child(-n+3)::after { bottom: 0; }
.achskreis { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--tusche); background: #fff; color: var(--tusche); font-family: var(--mono); font-size: 16px; font-weight: 600; }
.achse-inhalt { padding: 18px 0 0 40px; }
.achse h3 { font-size: 1.25rem; font-stretch: 114%; letter-spacing: -0.01em; margin-bottom: 8px; }
.achse p { font-size: 15.5px; line-height: 1.55; }
.achse .achse-sicht { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #B8C6DB; color: var(--leise); font-size: 14.5px; }
.achsraster-satz { margin-top: clamp(36px, 4vw, 56px); padding: 18px 22px; border: 1.5px solid var(--tusche); display: flex; gap: 14px; align-items: flex-start; max-width: 860px; background: #fff; }
.achsraster-satz span.haken { width: 22px; height: 22px; flex: none; margin-top: 2px; display: grid; place-items: center; background: var(--signal); }
.achsraster-satz span.haken svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }
.achsraster-satz p { font-size: 17px; line-height: 1.5; color: var(--tusche); font-weight: 550; }

.fragen-kette { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 8px; }
.fk { position: relative; padding-right: 18px; }
.fk-mass {
  display: block; position: relative; padding: 6px 4px 9px; border-bottom: 1.5px solid var(--tusche);
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tusche); text-align: center;
  margin-right: -18px;
  background: linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) left -6px bottom -6px / 12px 12px no-repeat;
}
.fk-mass::before { content: ""; position: absolute; left: 0; bottom: -8px; width: 1px; height: 30px; background: var(--tusche); }
.fk:last-child .fk-mass { margin-right: 0; background:
  linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) left -6px bottom -6px / 12px 12px no-repeat,
  linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) right -6px bottom -6px / 12px 12px no-repeat; }
.fk:last-child .fk-mass::after { content: ""; position: absolute; right: 0; bottom: -8px; width: 1px; height: 30px; background: var(--tusche); }
.fk p { padding: 22px 0 0; font-size: 15.5px; line-height: 1.5; }

.fach-reiter .reiter-feld { display: grid; grid-template-columns: minmax(0, 6.4fr) minmax(0, 5fr); gap: 24px clamp(28px, 4vw, 64px); align-items: start; }
.fach-reiter .reiter-feld > h3 { grid-column: 1 / -1; margin-bottom: 0; }
.fach-bild { border: 1px solid #C5D0E0; padding: clamp(14px, 2vw, 28px); background: #fff; margin: 0; }
.fach-info h4 { font-family: var(--mono); font-size: 12px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin: 0 0 8px; }
.fach-info h4 + p { font-size: 17px; color: var(--tusche); font-weight: 550; margin-bottom: 24px; }
.rollen { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.rollen li { border: 1px solid var(--tusche); padding: 6px 10px; font-size: 14.5px; line-height: 1.3; color: var(--tusche); background: #fff; }

.schacht-schritte { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); margin-top: 18px; }
.schacht-schritte li { border-top: 1.5px solid var(--tusche); padding-top: 14px; }
.schacht-schritte .marke-klein { display: block; margin-bottom: 6px; }
.schacht-schritte h3 { font-size: 1.2rem; font-stretch: 114%; letter-spacing: -0.01em; margin-bottom: 6px; }
.schacht-schritte p { font-size: 15.5px; line-height: 1.55; }
.schacht-schritte li.signal-schritt { border-top: 2.5px solid var(--signal); }

/* ---------- Formulare ---------- */
.formular { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld-breit { grid-column: 1 / -1; }
.feld label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tusche); }
.feld input, .feld select, .feld textarea {
  font: 400 16.5px/1.4 var(--sans); color: var(--text); background: #fff;
  border: 0; border-bottom: 1.5px solid var(--tusche); border-radius: 0; padding: 10px 2px 9px; width: 100%; min-height: 46px;
}
.feld textarea { min-height: 112px; resize: vertical; border: 1.5px solid var(--tusche); padding: 10px 12px; }
.feld select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tusche) 50%), linear-gradient(135deg, var(--tusche) 50%, transparent 50%); background-position: right 12px center, right 6px center; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--signal); outline-offset: 2px; }
.feld-hilfe { font-size: 13.5px; color: var(--leise); }
.formular-fuss { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.formular-fuss .feld-hilfe { flex-basis: 100%; }
.formular-status { grid-column: 1 / -1; font-size: 15.5px; line-height: 1.5; color: var(--tusche); border: 1.5px dashed var(--linie); padding: 14px 16px; background: var(--papier); }
.formular-status:empty { display: none; }
.ohne-js { display: none; }
html:not(.js) .ohne-js { display: block; }
.formular-rahmen { border: 1.5px solid var(--tusche); padding: clamp(20px, 3vw, 40px); background: rgba(255,255,255,0.95); }
.formular-titel { font-size: clamp(1.35rem, 2vw, 1.8rem); font-stretch: 118%; letter-spacing: -0.015em; margin-bottom: 8px; }
.formular-rahmen .formular-intro { margin-bottom: 26px; font-size: 16px; max-width: 60ch; }

/* ---------- Über V.I.S. ---------- */
.personen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.person { margin: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.person .bild-rahmen img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.person-name { display: flex; gap: 12px; align-items: center; font-size: 1.45rem; font-weight: 700; font-stretch: 115%; color: var(--tusche); line-height: 1.2; }
.person-rolle { margin-top: 6px; color: var(--leise); font-size: 16px; }
.person blockquote { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid #D3DCE8; font-size: 16.5px; line-height: 1.55; color: var(--tusche); }
.person .quelle { margin-top: 10px; display: block; }
.traeger-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.aufbau-liste { border-top: 1.5px solid var(--tusche); }
.aufbau-liste > div { display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 8fr); gap: 6px 22px; padding: 14px 0; border-bottom: 1px solid #D3DCE8; }
.aufbau-liste dt { font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); padding-top: 3px; }
.aufbau-liste dd { font-size: 16.5px; line-height: 1.5; }
.aufbau-liste dd b { color: var(--tusche); }
.grund-legende { width: 100%; border-collapse: collapse; }
.grund-legende th, .grund-legende td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid #D3DCE8; vertical-align: middle; }
.grund-legende thead th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); border-bottom: 1.5px solid var(--tusche); padding-top: 0; padding-bottom: 10px; }
.grund-legende tbody th { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 760; font-stretch: 122%; letter-spacing: -0.025em; color: var(--tusche); line-height: 1; width: 30%; }
.grund-legende td { font-size: 16.5px; line-height: 1.5; }
.grund-legende .gl-sym { width: 200px; }
.grund-legende .gl-sym svg { width: 64px; height: 30px; display: block; overflow: visible; margin-bottom: 6px; }
.grund-legende .gl-sym span { font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); }

/* ---------- Kontakt ---------- */
.kontakt-seite-raster { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.kontakt-daten .plankopf { margin-bottom: 32px; }
.kontakt-daten h3 { font-size: 1.3rem; font-stretch: 114%; margin-bottom: 10px; }
.kontakt-daten p { font-size: 16px; }
.kontakt-daten .pruefung { margin-top: 24px; }

/* ---------- Recht (Impressum, Datenschutz) ---------- */
.recht { max-width: 860px; }
.recht h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-stretch: 112%; max-width: none; margin: 44px 0 12px; letter-spacing: -0.01em; line-height: 1.2; }
.recht h3 { font-size: 1.12rem; font-stretch: 110%; margin: 26px 0 8px; }
.recht p, .recht li { font-size: 16px; line-height: 1.65; }
.recht p + p { margin-top: 12px; }
.recht ul { margin: 10px 0 0 1.2em; list-style: square; }
.recht li + li { margin-top: 6px; }
.recht a { overflow-wrap: anywhere; }
.recht-hinweis { border: 1.5px dashed var(--linie); background: var(--papier); padding: 16px 18px; display: grid; gap: 8px; font-size: 15.5px; line-height: 1.5; }
.recht-hinweis .offen { justify-self: start; white-space: normal; }
.recht-feld { border: 1.5px solid var(--tusche); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); margin-top: 12px; }
.recht-feld > div { display: contents; }
.recht-feld dt, .recht-feld dd { padding: 10px 14px; border-bottom: 1px solid #C5D0E0; margin: 0; font-size: 15.5px; }
.recht-feld dt { font-family: var(--mono); font-size: 11.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); border-right: 1px solid #C5D0E0; padding-top: 13px; }
.recht-feld > div:last-child dt, .recht-feld > div:last-child dd { border-bottom: 0; }
.recht details { border-top: 1px solid #D3DCE8; margin-top: 18px; }
.recht summary { cursor: pointer; padding: 14px 0; font-weight: 650; color: var(--tusche); }

/* ---------- Unterseiten: Tablet / Handy ---------- */
@media (max-width: 1080px) {
  .grund { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 150px; }
}
@media (max-width: 900px) {
  .seitenkopf-raster, .markt-raster, .engpass-raster, .befund-raster, .traeger-raster, .kontakt-seite-raster, .warum-bild { grid-template-columns: minmax(0, 1fr); }
  .engpass-bild { top: 72px; z-index: 2; padding: 6px 0 8px; border-bottom: 1px solid #D3DCE8; }
  .personen { grid-template-columns: minmax(0, 1fr); }
  .achsraster { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .achse { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; padding: 0 0 30px; }
  .achse::before { display: none; }
  .achse::after, .achse:nth-last-child(-n+3)::after { top: 44px; bottom: 0; }
  .achse:last-child::after { display: none; }
  .achse-inhalt { padding: 8px 0 0; }
  .fragen-kette { grid-template-columns: minmax(0, 1fr); }
  .fk { padding: 0 0 14px; }
  .fk-mass { margin-right: 0; text-align: left; padding-left: 16px; background:
    linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) left -6px bottom -6px / 12px 12px no-repeat,
    linear-gradient(135deg, transparent calc(50% - 0.75px), var(--tusche) calc(50% - 0.75px), var(--tusche) calc(50% + 0.75px), transparent calc(50% + 0.75px)) right -6px bottom -6px / 12px 12px no-repeat; }
  .fk-mass::after { content: ""; position: absolute; right: 0; bottom: -8px; width: 1px; height: 30px; background: var(--tusche); }
  .fk p { padding-top: 16px; }
  .fach-reiter .reiter-feld { grid-template-columns: minmax(0, 1fr); }
  .schacht-schritte { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 18px; }
  .gantt-kopf, .gantt-zeile { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .gantt-kopf > span:nth-child(2) { display: none; }
  .gantt-mass { grid-column: 2; }
  .gantt-zeit { grid-column: 2; margin-bottom: 18px; min-height: 40px; }
  .gantt-vorgang { padding-bottom: 12px; }

}
@media (max-width: 640px) {
  .grund { grid-template-columns: minmax(0, 1fr); }
  .grund-symbol { grid-template-columns: 64px minmax(0, 1fr); align-items: center; justify-self: start; }
  .seitenkopf h1 { font-size: clamp(2rem, 9vw, 2.5rem); font-stretch: 110%; letter-spacing: -0.025em; }
  .seitenkopf-lead { font-size: 16.5px; }
  .plankopf { font-size: 13.5px; }
  .pk { padding: 8px 10px 10px; }
  .pk-gross { font-size: 18px; } .pk-null { font-size: 21px; }
  .pk-inhalt ol { grid-template-columns: minmax(0, 1fr); }
  .zg text { font-size: 19px; }
  .zg .tg { font-size: 23px; }
  .zg .nur-gross { display: none; }
  .reiter-knopf { flex: 1 1 auto; padding: 10px 12px 9px; font-size: 14px; min-height: 44px; }
  .reiter-knopf .rk-nr { display: none; }
  .stueck-tabelle thead { display: none; }
  .stueck-tabelle, .stueck-tabelle tbody, .stueck-tabelle tr, .stueck-tabelle td, .stueck-tabelle tbody th { display: block; width: auto; }
  .stueck-tabelle tbody tr { display: grid; grid-template-columns: 48px minmax(0, 1fr); padding: 16px 0; }
  .stueck-tabelle td, .stueck-tabelle tbody th { padding: 0; }
  .stueck-tabelle .st-pos { grid-row: span 2; width: auto; }
  .stueck-tabelle tbody th { margin-bottom: 4px; font-size: 1.1rem; width: auto; }
  .schacht-schritte { grid-template-columns: minmax(0, 1fr); }
  .formular { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .grund-legende thead { display: none; }
  .grund-legende, .grund-legende tbody, .grund-legende tr, .grund-legende th, .grund-legende td { display: block; width: auto !important; }
  .grund-legende tbody tr { padding: 16px 0; border-bottom: 1px solid #D3DCE8; }
  .grund-legende th, .grund-legende td { border: 0; padding: 0 0 8px; }
  .aufbau-liste > div { grid-template-columns: minmax(0, 1fr); }
  .recht-feld { grid-template-columns: minmax(0, 1fr); }
  .recht-feld dt { border-right: 0; border-bottom: 0; padding-bottom: 0; }
  .frage-antwort { padding-right: 0; }
  .gantt-notiz { font-size: 10px; left: auto; right: 2px; }
  .gantt-achse span { padding: 10px 3px 8px; font-size: 9.5px; letter-spacing: 0; }
  .gantt-mass-text { font-size: 11.5px; }
  .fach tbody tr { grid-template-columns: minmax(0, 1fr) 132px; }
  .fach tbody td.fach-skizze { width: 132px; }
  .fach-skizze svg { width: 132px; height: 60px; }
}

/* ---------- Nachträge: kleine Texte in Zeichnungen, Fuß ---------- */
.fach-skizze text { font-family: var(--mono); font-size: 10px; font-weight: 500; font-stretch: 87.5%; fill: var(--tusche); }
@media (hover: hover) and (pointer: fine) {
  .fach tbody tr .detail text { opacity: 0; transition: opacity 0.2s; }
  .fach tbody tr.aktiv .detail text, .fach tbody tr:hover .detail text { opacity: 1; transition: opacity 0.5s 0.4s; }
}
.zg .wk { stroke: #fff; stroke-width: 2; fill: none; }
.grund-symbol text { font-size: 9.5px; font-weight: 600; }
.sf-feld .offen { white-space: normal; }
.sf-feld a, .sf-zeile a { color: var(--tusche); font-weight: 600; }
.partner-liste-rahmen { grid-area: liste; }
.partner-liste-rahmen .partner-liste { grid-area: auto; }
.planblatt { margin: 0; border: 1.5px solid var(--tusche); background: #fff; }
.planblatt > .zg { padding: clamp(12px, 2vw, 24px); }
.planblatt .plankopf { border: 0; border-top: 1.5px solid var(--tusche); }
h3.marke-klein { margin-bottom: 18px; }
.person blockquote p { margin: 0; }
.kontakt-daten .bildzeile a, .fach-info a { color: var(--tusche); }
.reiter-feld:focus-visible { outline-offset: 8px; }
@media (max-width: 900px) {
  .gantt-leer { display: none; }
}
/* Grundsätze: Platz für das Legenden-Symbol */
.grund { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr) 156px; }
.grund-wort { font-size: clamp(2.6rem, 6.6vw, 5.4rem); }
/* Fachbereiche: alle Fachzeichnungen zeichnen sich beim Scrollen, Maus hebt nur hervor */
.fach .fach-skizze .detail .z { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--schnell); }
.fach .fach-skizze .detail text { opacity: 1; transition: opacity 0.6s 0.6s; }
.js:not(.fertig) .fach.zeichnen:not(.gezeichnet) .fach-skizze .detail .z { stroke-dashoffset: 1; }
.js:not(.fertig) .fach.zeichnen:not(.gezeichnet) .fach-skizze .detail text { opacity: 0; }
@media (max-width: 1080px) { .grund { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 146px; } }
@media (max-width: 640px) { .grund { grid-template-columns: minmax(0, 1fr); } }
.engpass-bild { border: 1px solid #C5D0E0; padding: clamp(14px, 2vw, 24px); }
@media (max-width: 900px) {
  .engpass-bild { padding: 8px 10px 6px; }
  .engpass-bild figcaption { display: none; }
}
@media (max-width: 640px) {
  .gantt-notiz { right: calc(30% + 14px); left: auto; }
}

.fach-bild figcaption { margin-top: 12px; font-size: 14.5px; line-height: 1.5; color: var(--leise); }
.zg-schmal { max-width: 420px; }
.zg-breit text { font-size: 11.5px; }
@media (max-width: 640px) { .zg-breit text { font-size: 19px; } }
/* Offene Angaben dürfen umbrechen, damit nichts über den Rand ragt */
.offen { white-space: normal; max-width: 100%; }
/* Porträts knapp zuschneiden (Wandschrift zurücknehmen) */
.bild-ausschnitt { overflow: hidden; aspect-ratio: 4 / 5; }
.person .bild-ausschnitt img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 22%; transform: scale(1.32); transform-origin: 50% 30%; filter: saturate(0.82) contrast(1.03); }
.rahmen.recht { max-width: calc(var(--max) + 2 * var(--rand)); }
.rahmen.recht > * { max-width: 860px; }
