/* VisHire – Seite „Für wen“: Leitzeichnung Planregister.
   Oben drei Punkte zur Selbstprüfung, dann fünf hängende Planblätter A–E als Reiter, darunter das Register
   (C mit eigenem Bahn-Block, jedes Feld mit Fachrichtungen als LV-Positionen). Danach Klapp-Liste neben
   klickbarer Zeichnung (sechs Lasten auf einem Träger), geteilter Bildschirm in drei Teilen mit Maßkette
   (Bürogrößen), Treppe im Schnitt (Nachfolge), Lageplan mit Planleiste (DACH) und Positionsplan auf Navy (Schluss).
   Der Goldfaden ist hier der Reiter-Unterstrich: Er liegt unter dem gewählten Blatt und fällt ins Register. */

.seite-fuer-wen main { padding-bottom: 0; }

/* ---------- 1 Kopf: Planregister ---------- */
.pr { position: relative; z-index: 1; padding: clamp(24px, 3.6vw, 48px) 0 var(--abstand); }
.pr-titel { display: grid; gap: 18px; max-width: 1060px; }
.pr-titel h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.75rem); font-weight: 620; line-height: 1.02; letter-spacing: -0.032em;
  max-width: 20ch; hyphens: manual;
}
.pr-lead { margin-top: 6px; font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.6; max-width: 64ch; }

/* Drei Punkte zur Selbstprüfung: Prüfleiste mit Haken */
.pr-pruef { margin-top: clamp(26px, 3vw, 40px); max-width: 1100px; }
.pr-pruef-titel { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); margin-bottom: 10px; }
.pr-pruef-liste { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--navy); background: #fff; }
.pr-pruef-liste::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--linie-3); pointer-events: none; }
.pr-pruef-liste li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; row-gap: 3px; align-items: start; padding: 15px clamp(14px, 1.6vw, 22px) 17px; }
.pr-pruef-liste li + li { border-left: 1px solid var(--linie); }
.pr-haken { grid-row: span 2; width: 22px; height: 22px; margin-top: 3px; overflow: visible; }
.pr-haken-k { fill: #fff; stroke: var(--navy); stroke-width: 1.5; }
.pr-haken-h { fill: none; stroke: var(--gold-text); stroke-width: 2.4; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 22; stroke-dashoffset: 0; }
.pr-pruef-art { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); }
.pr-pruef-text { font-size: clamp(16px, 1.3vw, 18.5px); font-weight: 620; line-height: 1.32; letter-spacing: -0.01em; }
@media (prefers-reduced-motion: no-preference) {
  .js .pr-haken-h { stroke-dashoffset: 22; animation: pr-haken 0.55s var(--aus) forwards; }
  .js .pr-pruef-liste li:nth-child(1) .pr-haken-h { animation-delay: 0.35s; }
  .js .pr-pruef-liste li:nth-child(2) .pr-haken-h { animation-delay: 0.55s; }
  .js .pr-pruef-liste li:nth-child(3) .pr-haken-h { animation-delay: 0.75s; }
}
@keyframes pr-haken { to { stroke-dashoffset: 0; } }

.pr-haenge { margin-top: clamp(32px, 3.6vw, 52px); }
.pr-hinweis { display: flex; justify-content: space-between; gap: 16px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); margin-bottom: 14px; }
.pr-hinweis-js { display: none; }
.pr-an .pr-hinweis-js { display: inline; color: var(--gold-text); }

.pr-blaetter { list-style: none; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); padding-top: 10px; }
/* Planschiene, an der die Blätter hängen */
.pr-blaetter::before {
  content: ""; position: absolute; left: calc(-1 * min(var(--rand), 40px)); right: calc(-1 * min(var(--rand), 40px)); top: 0; height: 6px;
  border-top: 1.5px solid var(--navy); border-bottom: 1px solid var(--linie-2);
}
.pr-li { position: relative; display: flex; }
.pr-blatt {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; width: 100%;
  text-decoration: none; color: var(--navy); background: #fff;
  border: 1px solid var(--linie); outline-offset: 4px;
  transition: border-color 0.3s, box-shadow 0.4s var(--aus), transform 0.4s var(--aus);
}
.pr-blatt::before { /* Innenrahmen wie auf einem Planblatt */
  content: ""; position: absolute; inset: 5px; border: 1px solid var(--linie-3); pointer-events: none;
}
.pr-klemme { /* Klemmleiste oben */
  position: relative; display: block; height: 16px; margin: -10px 18% 0; background: var(--navy);
}
.pr-klemme::before, .pr-klemme::after { content: ""; position: absolute; top: 5px; width: 6px; height: 6px; background: #fff; }
.pr-klemme::before { left: 10px; }
.pr-klemme::after { right: 10px; }
.pr-zeichnung { display: block; padding: 18px 18px 8px; border-bottom: 1px solid var(--linie-3); }
.pr-zeichnung svg { display: block; width: 100%; height: auto; overflow: visible; }
.pr-sf { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; border-top: 1px solid var(--linie); }
.pr-sf-buchst { display: grid; place-items: center; min-width: 50px; border-right: 1px solid var(--linie); font-family: var(--mono); font-size: 22px; font-weight: 500; color: var(--navy); transition: background 0.3s, color 0.3s; }
.pr-sf-text { display: grid; gap: 3px; align-content: start; padding: 12px 13px 14px; }
.pr-sf-titel { font-size: clamp(1rem, 1.2vw, 1.15rem); font-weight: 640; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: break-word; hyphens: auto; }
.pr-sf-unter { font-family: var(--mono); font-size: 10px; letter-spacing: 0.01em; line-height: 1.5; color: var(--leise); overflow-wrap: break-word; hyphens: auto; }
/* Bei fünf Blättern ist kein Platz für die senkrechte Blattnummer; der Buchstabe steht links im Schriftfeld */
.pr-sf-blatt { display: none; }

.pr-blatt:hover { border-color: var(--navy); }
.pr-blatt:hover .pr-sf-buchst { background: rgba(200, 169, 106, 0.16); }

/* Gewähltes Blatt: Navy-Rahmen, goldener Reiter-Unterstrich, der ins Register fällt */
.pr-blatt::after {
  content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 4px; background: var(--gold);
  transform: scaleX(0); transform-origin: 50% 50%; transition: transform 0.5s var(--aus);
}
.pr-li::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 2px; height: clamp(34px, 3.4vw, 46px); margin-left: -1px;
  background: var(--gold-text); transform: scaleY(0); transform-origin: 50% 0; transition: transform 0.45s var(--aus) 0.15s;
}
.pr-li::before { /* Passmarke am Register */
  content: ""; position: absolute; left: 50%; top: calc(100% + clamp(34px, 3.4vw, 46px) - 6px); width: 12px; height: 12px; margin-left: -6px;
  background: var(--gold); border: 1px solid var(--gold-text); z-index: 2; opacity: 0; transition: opacity 0.3s 0.5s;
}
.pr-blatt[aria-selected="true"] { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.pr-blatt[aria-selected="true"]::after { transform: scaleX(1); }
.pr-blatt[aria-selected="true"] .pr-sf-buchst { background: var(--navy); color: #fff; }
.pr-li.an::after { transform: scaleY(1); }
.pr-li.an::before { opacity: 1; }
.pr-an .pr-blatt[aria-selected="false"] .pr-zeichnung svg { opacity: 0.5; transition: opacity 0.3s; }
.pr-an .pr-blatt[aria-selected="false"]:hover .pr-zeichnung svg { opacity: 0.85; }

/* Register */
.pr-register { position: relative; margin-top: clamp(34px, 3.4vw, 46px); border: 1.5px solid var(--navy); background: #fff; }
.pr-feld { padding: clamp(20px, 3vw, 40px) clamp(16px, 3vw, 40px) clamp(24px, 3.4vw, 44px); }
.pr-feld + .pr-feld { border-top: 1.5px solid var(--navy); }
.js .pr-register .pr-feld[hidden] { display: none; }
.pr-feld:focus-visible { outline-offset: -6px; }
.pr-feld-kopf { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 2vw, 24px); align-items: start; padding-bottom: clamp(18px, 2.4vw, 28px); border-bottom: 1px solid var(--linie-2); }
.pr-buchst { display: grid; place-items: center; width: 56px; height: 56px; background: var(--navy); color: #fff; font-family: var(--mono); font-size: 22px; font-weight: 500; }
.pr-feld-kopf h2 { font-size: clamp(1.45rem, 2.35vw, 2.15rem); font-weight: 620; line-height: 1.12; letter-spacing: -0.02em; max-width: 34ch; }
.pr-feld-kopf p { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; line-height: 1.6; color: var(--leise); }
.pr-feld-kopf .pr-reg { margin: 0 0 6px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-text); }
.pr-feld-kopf .offen { vertical-align: 0.05em; }
.pr-feld-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(22px, 2.8vw, 34px); }
.pr-feld-zeichnung { position: sticky; top: 104px; padding: 14px; border: 1px solid var(--linie-2); background: #fff; }
.pr-feld-zeichnung svg { display: block; width: 100%; height: auto; overflow: visible; }

.pr-karte { border-top: 1.5px solid var(--navy); }
.pr-zeile { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 18px; padding: 16px 0 18px; border-bottom: 1px solid var(--linie-2); }
.pr-zeile dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); padding-top: 4px; line-height: 1.5; }
.pr-rollen { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.pr-rollen li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border: 1px solid var(--linie-2); background: #fff; font-size: 14.5px; line-height: 1.3; }
.pr-rollen li::before { content: ""; width: 6px; height: 6px; background: var(--navy); flex: none; }
.pr-probleme { list-style: none; counter-reset: pp; display: grid; gap: 10px; }
.pr-probleme li { counter-increment: pp; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; font-size: 16px; line-height: 1.5; }
.pr-probleme .offen { justify-self: start; white-space: normal; }
.pr-probleme li::before { content: "0" counter(pp); font-family: var(--mono); font-size: 11px; color: var(--gold-text); font-weight: 600; padding-top: 3px; }
.pr-zeile-loesung { border-bottom: 0; }

/* Fachrichtungen: wie Positionen eines Leistungsverzeichnisses, A.01, A.02 … in zwei Spalten, wenn Platz ist */
.pr-fach { list-style: none; counter-reset: fach; columns: 15em 2; column-gap: clamp(18px, 2.4vw, 32px); border-top: 1px solid var(--linie-2); font-size: 15px; }
.pr-fach li {
  counter-increment: fach; break-inside: avoid; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 8px; align-items: baseline;
  padding: 7px 0 8px; border-bottom: 1px solid var(--linie-3); line-height: 1.4; hyphens: auto; overflow-wrap: break-word;
}
.pr-fach li::before { content: var(--reg, "") "." counter(fach, decimal-leading-zero); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.01em; color: var(--gold-text); }
.pr-fach-verweis a { font-weight: 560; text-decoration-color: var(--gold-text); text-underline-offset: 3px; }
.pr-zeile-loesung dd p { padding-left: 16px; border-left: 3px solid var(--gold); font-size: clamp(16.5px, 1.3vw, 18px); font-weight: 540; line-height: 1.55; }

/* Register D: Rollen in zwei Gruppen, Wandaufbau mit Schichtentabelle */
.pr-rollen-gruppe { font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 8px; }
.pr-rollen + .pr-rollen-gruppe { margin-top: 16px; }
.wa-tab { width: 100%; margin-top: 12px; border-collapse: collapse; font-family: var(--mono); font-size: 11.5px; line-height: 1.45; color: var(--navy); }
.wa-tab caption { caption-side: top; text-align: left; padding-bottom: 6px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
.wa-tab th { font-weight: 500; font-size: 10px; letter-spacing: 0.04em; text-align: left; color: var(--leise); padding: 6px 8px; border-top: 1.5px solid var(--navy); border-bottom: 1px solid var(--navy); }
.wa-tab td { padding: 5px 8px; border-bottom: 1px solid var(--linie-2); }
.wa-tab th:nth-child(n + 3), .wa-tab td:nth-child(n + 3) { text-align: right; }
.wa-tab tbody td:first-child { width: 34px; }
.wa-tab tfoot td { padding-top: 8px; border-bottom: 1.5px solid var(--navy); color: var(--leise); }
.wa-tab tfoot td:last-child { color: var(--gold-text); font-weight: 600; font-size: 12.5px; }
.zeichnen .wa-putz { fill: rgba(4, 27, 60, 0.13); stroke: none; }
.zeichnen .wa-daemm { fill: rgba(4, 27, 60, 0.025); stroke: none; }

/* Blatt D: Brandabschnitte */
.zeichnen .bs-wand { stroke: var(--navy); stroke-width: 5; stroke-linecap: square; }
.zeichnen .bs-wand-innen { stroke: var(--navy); stroke-width: 3; }
.zeichnen .bs-f90 { fill: var(--gold-flaeche); stroke: var(--gold-text); stroke-width: 1.2; }
.zeichnen .bs-schraffur { fill: none; stroke: var(--gold-text); stroke-width: 1; }
.zeichnen .bs-weg { stroke-width: 2; }

/* Blatt E: Rammsondierung (Raster) und Baugrube (Verbauwand, Verpressanker) */
.zeichnen .geo-raster { fill: none; stroke: rgba(4, 27, 60, 0.13); stroke-width: 1; }
.zeichnen .geo-wand { fill: rgba(4, 27, 60, 0.22); stroke: none; }
.zeichnen .geo-anker { fill: none; stroke: rgba(200, 169, 106, 0.6); stroke-width: 7; }

/* Register C: Bahn als eigener Block */
.pr-bahn { position: relative; margin-top: clamp(28px, 3.4vw, 44px); border: 1.5px solid var(--navy); background: #fff; }
.pr-bahn::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--linie-3); pointer-events: none; }
.pr-bahn-kopf { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(14px, 2vw, 22px); align-items: center; padding: clamp(14px, 1.8vw, 20px) clamp(14px, 2vw, 24px); border-bottom: 1px solid var(--navy); }
.pr-bahn-marke { display: flex; align-items: stretch; border: 1.5px solid var(--navy); font-family: var(--mono); margin: 0; }
.pr-bahn-c { display: grid; place-items: center; width: 40px; min-height: 40px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 500; }
.pr-bahn-teil { display: grid; place-items: center; padding: 6px 10px; font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.pr-bahn-kopf h3 { font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 620; line-height: 1.12; letter-spacing: -0.018em; }
.pr-bahn-kopf div > p { margin-top: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; line-height: 1.6; color: var(--leise); }
.pr-bahn-zeichnung { position: relative; padding: clamp(16px, 2.2vw, 28px) clamp(14px, 2.4vw, 32px) clamp(10px, 1.4vw, 16px); border-bottom: 1px solid var(--linie-2); }
.pr-bahn-zeichnung svg { display: block; width: 100%; height: auto; overflow: visible; }
.bahn-schmal { display: none !important; }
.zeichnen .bahn-gleis { stroke-width: 2.6; }
.zeichnen .bahn-weiche { stroke-width: 2.6; }
.pr-bahn-karte { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); }
.pr-bahn-spalte { padding: 16px clamp(14px, 2vw, 24px) 22px; }
.pr-bahn-spalte + .pr-bahn-spalte { border-left: 1px solid var(--linie-2); }
.pr-bahn-spalte dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); margin-bottom: 12px; line-height: 1.5; }
.pr-bahn-karte .pr-probleme li { font-size: 15.5px; }
.pr-bahn-karte .pr-zeile-loesung dd p { font-size: 16px; }

/* ---------- 2 Sechs Lasten auf einem Träger: Klapp-Liste neben klickbarer Zeichnung ----------
   Eigene Kopie der früheren Startseiten-Grafik (Stand 2, #kernprobleme) mit eigenen Klassen lt-…,
   damit stil.css und seite.js hier nichts mehr mitsteuern. */
.lt { position: relative; z-index: 1; padding-bottom: var(--abstand); }
.lt-raster {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "kopf figur" "liste figur";
  column-gap: clamp(32px, 5vw, 72px); row-gap: clamp(22px, 2.6vw, 32px); align-items: start;
}
.lt-kopf { grid-area: kopf; }
.lt-marke { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.lt-kopf h2 { font-size: clamp(1.85rem, 3.1vw, 2.9rem); font-weight: 600; font-stretch: 104%; line-height: 1.08; letter-spacing: -0.022em; max-width: 14ch; }
.lt-lead { margin-top: 16px; font-size: 17px; line-height: 1.6; max-width: 50ch; }
.lt-liste { grid-area: liste; }
.lt-figur { grid-area: figur; align-self: center; position: relative; padding: clamp(16px, 2.2vw, 28px) clamp(14px, 2vw, 26px) clamp(12px, 1.6vw, 20px); border: 1px solid var(--linie-2); background: #fff; }
.lt-figur svg { display: block; width: 100%; height: auto; overflow: visible; }

.lt-klapp { border-top: 1px solid var(--linie-2); }
.lt-klapp:last-child { border-bottom: 1px solid var(--linie-2); }
.lt-klapp > summary { list-style: none; display: grid; grid-template-columns: 24px minmax(0, 1fr) 22px; gap: 14px; align-items: start; padding: 14px 0; cursor: pointer; }
.lt-klapp > summary::-webkit-details-marker { display: none; }
.lt-klapp h3 { font-size: clamp(1.02rem, 1.3vw, 1.14rem); font-weight: 620; line-height: 1.35; letter-spacing: -0.005em; }
.lt-num { width: 22px; height: 22px; display: grid; place-items: center; margin-top: 1px; border: 1px solid var(--linie); background: #fff; font-family: var(--mono); font-size: 10.5px; transition: background 0.25s, border-color 0.25s; }
.lt-klapp.lt-hervor .lt-num, .lt-klapp[open] .lt-num { background: var(--gold); border-color: var(--gold-text); }
.lt-auf { position: relative; width: 22px; height: 22px; margin-top: 2px; border: 1px solid var(--linie); transition: background 0.25s, border-color 0.25s; }
.lt-auf::before, .lt-auf::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--navy); transform: translate(-50%, -50%); transition: transform 0.3s var(--aus); }
.lt-auf::after { transform: translate(-50%, -50%) rotate(90deg); }
.lt-klapp[open] > summary .lt-auf { border-color: var(--gold-text); }
.lt-klapp[open] > summary .lt-auf::after { transform: translate(-50%, -50%) rotate(0deg); }
.lt-klapp > summary:hover .lt-auf { background: rgba(200, 169, 106, 0.18); }
.lt-inhalt { padding: 0 36px 16px 38px; font-size: 15.5px; line-height: 1.55; }
.lt-inhalt p + p { margin-top: 10px; padding-left: 12px; border-left: 2px solid var(--gold); }

/* Zeichnung: Lasten, Nummern, Momentenlinie; hervorgehoben in Gold */
.lt-moment { transform-box: fill-box; transform-origin: 50% 0; }
.lt-nr rect { fill: #fff; stroke: rgba(4, 27, 60, 0.7); stroke-width: 1; transition: fill 0.25s, stroke 0.25s; }
.lt-nr text { font-family: var(--mono); font-size: 11px; font-weight: 500; fill: var(--navy); text-anchor: middle; }
.lt-nr.lt-hervor rect { fill: var(--gold); stroke: var(--gold-text); }
.zeichnen .lt-last .z { transition: stroke 0.25s, stroke-width 0.25s; }
.zeichnen .lt-last .spitze { transition: fill 0.25s; }
.zeichnen .lt-last.lt-hervor .z { stroke: var(--gold-text); stroke-width: 2.4; }
.zeichnen .lt-last.lt-hervor .spitze { fill: var(--gold-text); }
.lt-treffer rect { fill: transparent; stroke: none; pointer-events: none; }
.lt-an .lt-treffer rect { pointer-events: all; cursor: pointer; }

/* ---------- 3 Bürogrößen: geteilter Bildschirm in drei Teilen ---------- */
.gr { position: relative; z-index: 1; overflow-x: clip; }
.gr-kopf { padding-bottom: clamp(28px, 3.4vw, 44px); }
.gr-kopf h2 { font-size: clamp(1.85rem, 3.1vw, 2.9rem); font-weight: 600; font-stretch: 104%; line-height: 1.08; letter-spacing: -0.022em; max-width: 24ch; }
.gr-kopf p { margin-top: 18px; font-size: 17px; line-height: 1.6; max-width: 64ch; }

/* Maßkette über den drei Grundrissen: 5 · 15 · 40 · 80+ */
.gr-mass-rahmen { padding-bottom: 18px; }
.gr-mass { list-style: none; position: relative; height: 36px; border-bottom: 1.5px solid var(--navy); }
.gr-mass::after { /* offenes Ende: Pfeil */
  content: ""; position: absolute; right: -14px; bottom: -6.75px; border-left: 12px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
.gr-mass li { position: absolute; bottom: 0; left: calc(var(--p) * 100% / 3); transform: translateX(-50%); padding-bottom: 12px; font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.gr-mass li::after { /* Schrägstrich als Maßbegrenzung */
  content: ""; position: absolute; left: calc(50% - 0.75px); bottom: -8px; width: 1.5px; height: 16px; background: var(--navy); transform: rotate(45deg);
}
.gr-mass li:last-child { color: var(--gold-text); }
.gr-mass-einheit { margin-top: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); text-align: center; }

.gr-split {
  display: grid; grid-template-columns: minmax(var(--rand), 1fr) repeat(3, minmax(0, calc(var(--max) / 3))) minmax(var(--rand), 1fr);
  border-top: 1.5px solid var(--navy); border-bottom: 1.5px solid var(--navy);
}
.gr-teil { position: relative; grid-row: 1; }
.gr-hell { grid-column: 2; }
.gr-mitte { grid-column: 3; background: var(--grau); border-left: 1px solid var(--linie-2); }
.gr-navy { grid-column: 4; background: var(--navy); color: #fff; }
.gr-navy::after { /* Navy läuft bis an den rechten Rand */
  content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 50vw; background: var(--navy); pointer-events: none;
}
.gr-innen { padding-block: clamp(32px, 4vw, 56px) clamp(40px, 4.6vw, 64px); }
.gr-hell .gr-innen { padding-inline: 0 clamp(18px, 2.2vw, 32px); }
.gr-mitte .gr-innen { padding-inline: clamp(18px, 2.2vw, 32px); }
.gr-navy .gr-innen { padding-inline: clamp(18px, 2.2vw, 32px) 0; }
.gr-teil > .gr-innen > .gr-marke { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-text); }
.gr-navy > .gr-innen > .gr-marke { color: var(--gold-hell); }
.gr-teil h3 { margin-top: 8px; font-size: clamp(1.2rem, 1.65vw, 1.5rem); font-weight: 620; line-height: 1.2; letter-spacing: -0.015em; max-width: 22ch; }
.gr-navy h3 { color: #fff; }
.gr-plan { margin: clamp(18px, 2.2vw, 28px) 0 clamp(16px, 2vw, 24px); }
.gr-plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.gr-teil > .gr-innen > p { font-size: 16px; line-height: 1.6; max-width: 56ch; }
.gr-navy .gr-innen > p { color: rgba(255, 255, 255, 0.88); }
.gr-gruende { list-style: none; margin-top: 14px; border-top: 1px solid var(--linie-2); max-width: 56ch; }
.gr-gruende li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--linie-2); font-size: 15.5px; line-height: 1.45; }
.gr-gruende .offen { white-space: normal; justify-self: start; }
.gr-mitte .mass-wort text, .gr-mitte text.mass-wort { stroke: var(--grau); }
.gr-navy .zeichnen .strich { stroke: rgba(255, 255, 255, 0.55); }
.gr-navy .offen { color: rgba(255, 255, 255, 0.82); }
.gr-gruende li::before { content: ""; width: 12px; height: 1.5px; background: var(--gold-text); transform: translateY(-4px); }
.gr-navy .gr-gruende, .gr-navy .gr-gruende li { border-color: rgba(255, 255, 255, 0.18); }
.gr-navy .gr-gruende li { color: rgba(255, 255, 255, 0.92); }
.gr-navy .gr-gruende li::before { background: var(--gold); }

.gr-plan .gr-wand { stroke: var(--navy); stroke-width: 6; stroke-linecap: square; }
.gr-plan .gr-wand-innen { stroke: var(--navy); stroke-width: 3; }
.gr-moebel rect { fill: rgba(4, 27, 60, 0.035); stroke: rgba(4, 27, 60, 0.45); stroke-width: 1; }
.gr-moebel .stuhl { fill: none; }
.gr-nord circle { fill: none; stroke: rgba(4, 27, 60, 0.5); stroke-width: 1; }
.gr-nord path { fill: var(--navy); }
.gr-nord text { font-family: var(--mono); font-size: 11px; fill: var(--leise); text-anchor: middle; }
.zeichnen .gr-gold-linie { stroke: var(--gold-text); stroke-width: 1.4; }

/* Zeichnung auf Navy */
.gr-navy .zeichnen .z { stroke: rgba(255, 255, 255, 0.78); }
.gr-navy .zeichnen .duenn { stroke: rgba(255, 255, 255, 0.5); }
.gr-navy .gr-plan .gr-wand, .gr-navy .gr-plan .gr-wand-innen { stroke: #fff; }
.gr-navy .zeichnen .achs-strich { stroke: rgba(255, 255, 255, 0.24); }
.gr-navy .zeichnen .hell { fill: var(--navy); stroke: rgba(255, 255, 255, 0.55); }
.gr-navy .zeichnen .mass-wort, .gr-navy .zeichnen .mass-wort text, .gr-navy .zeichnen .t-titel { fill: rgba(255, 255, 255, 0.84); stroke: var(--navy); }
.gr-navy .zeichnen .t-gold { fill: var(--gold-hell); }
.gr-navy .gr-moebel rect { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.45); }
.gr-navy .gr-moebel .stuhl { fill: none; }
.gr-navy .platz-tisch { fill: rgba(200, 169, 106, 0.42); stroke: var(--gold); }
.gr-navy .zeichnen .gr-gold-linie { stroke: var(--gold); }

/* ---------- 4 Nachfolge: Band mit Treppe im Schnitt ---------- */
.nf {
  position: relative; z-index: 1; margin-top: clamp(40px, 5vw, 72px); padding-block: clamp(48px, 6vw, 88px);
  border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  background: linear-gradient(rgba(200, 169, 106, 0.1), rgba(200, 169, 106, 0.1));
}
.nf::before, .nf::after { /* Bandkante: zweite, feine Linie */
  content: ""; position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--linie-2);
}
.nf::before { top: 6px; }
.nf::after { bottom: 6px; }
.nf-kopf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.nf-kopf h2 { font-size: clamp(1.85rem, 3.1vw, 2.9rem); font-weight: 600; font-stretch: 104%; line-height: 1.08; letter-spacing: -0.022em; max-width: 14ch; }
.nf-text p { font-size: 17px; line-height: 1.65; max-width: 60ch; }
.nf-text .nf-satz { font-size: clamp(1.12rem, 1.55vw, 1.32rem); font-weight: 520; line-height: 1.45; letter-spacing: -0.01em; }
.nf-text p + p { margin-top: 14px; }
.nf-treppe-figur { --stufe: clamp(32px, 3.6vw, 50px); position: relative; margin-top: clamp(40px, 5vw, 64px); padding-right: 64px; }
.nf-titel { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); margin-bottom: 18px; }
.nf-treppe { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1.5px solid var(--navy); }
.nf-treppe li { display: flex; flex-direction: column; justify-content: flex-end; }
.nf-index { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 0 10px 14px; border: 1.5px solid var(--navy); background: #fff; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--navy); }
.nf-wort { display: block; padding: 0 clamp(10px, 1.6vw, 24px) 14px 14px; font-size: clamp(15.5px, 1.25vw, 17.5px); font-weight: 560; line-height: 1.38; letter-spacing: -0.005em; max-width: 24ch; }
.nf-lauf {
  position: relative; display: block; height: calc(var(--i) * var(--stufe) + 28px);
  border-top: 3px solid var(--navy);
  background: repeating-linear-gradient(-45deg, rgba(4, 27, 60, 0.3) 0 1px, transparent 1px 8px);
}
.nf-treppe li + li .nf-lauf::before { /* Setzstufe */
  content: ""; position: absolute; left: 0; top: -3px; height: calc(var(--stufe) + 3px); border-left: 1.5px solid var(--navy);
}
.nf-treppe li:last-child .nf-lauf { border-top-color: var(--gold-text); }
.nf-treppe li:last-child .nf-index { background: var(--gold); border-color: var(--gold-text); }
.nf-mass { position: absolute; right: 0; bottom: 0; top: 40px; width: 40px; margin: 0; }
.nf-mass::before { /* Maßlinie mit Pfeil nach oben */
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 0; border-left: 1.5px solid var(--gold-text);
}
.nf-mass::after { content: ""; position: absolute; left: calc(50% - 6px); top: 0; border: 6px solid transparent; border-bottom: 10px solid var(--gold-text); border-top: 0; }
.nf-mass span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); padding: 2px 8px; background: #faf6ee; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; }
.nf-schnitt { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--leise); }

/* ---------- 5 DACH: Lageplan mit Planleiste ---------- */
.lp { position: relative; z-index: 1; padding-block: var(--abstand); }
.lp-blatt { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: 1.5px solid var(--navy); background: #fff; }
.lp-blatt::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--linie-3); pointer-events: none; }
.lp-karte { padding: clamp(16px, 2.4vw, 32px); }
.lp-karte svg { display: block; width: 100%; height: auto; max-height: 860px; overflow: visible; }
.lp-kreuze path { fill: none; stroke: rgba(4, 27, 60, 0.32); stroke-width: 1; }
.lp-flaeche { stroke: none; }
.lp-de { fill: rgba(4, 27, 60, 0.03); }
.lp-at { fill: rgba(4, 27, 60, 0.07); }
.lp-ch { fill: rgba(4, 27, 60, 0.11); }
.zeichnen .lp-grenze { stroke: var(--navy); stroke-width: 1.5; stroke-linejoin: round; }
.lp-buchst text { font-family: var(--sans); font-size: 34px; font-weight: 640; fill: var(--navy); text-anchor: middle; letter-spacing: 0.02em; }
.lp-radius { fill: rgba(200, 169, 106, 0.14); stroke: var(--gold-text); stroke-width: 1.3; stroke-dasharray: 6 4; }
.lp-punkte rect { fill: var(--navy); }
.lp-heim { fill: #fff; stroke: var(--navy); stroke-width: 1.4; }
.lp-pfeil { fill: none; stroke: var(--gold-text); stroke-width: 1.4; stroke-dasharray: 5 4; }
.lp-nord circle { fill: none; stroke: rgba(4, 27, 60, 0.55); stroke-width: 1; }
.lp-nord path { fill: var(--navy); }
.lp-nord text { font-family: var(--mono); font-size: 12px; fill: var(--navy); text-anchor: middle; }

.lp-leiste { display: flex; flex-direction: column; border-left: 1.5px solid var(--navy); position: relative; z-index: 1; }
.lp-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leise); margin-bottom: 10px; }
.lp-legende { padding: 18px 22px 20px; border-bottom: 1px solid var(--linie); }
.lp-legende ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.lp-legende li { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; }
.lg { flex: none; display: inline-block; width: 18px; height: 18px; position: relative; }
.lg-buero { width: 14px; height: 14px; margin: 2px; background: var(--gold-flaeche); border: 1.5px solid var(--gold-text); }
.lg-radius { border: 1.3px dashed var(--gold-text); border-radius: 50%; background: rgba(200, 169, 106, 0.14); }
.lg-ing { width: 8px; height: 8px; margin: 5px; background: var(--navy); }
.lg-heim { width: 10px; height: 10px; margin: 4px; border: 1.4px solid var(--navy); background: #fff; }
.lp-erlaeuterung { padding: 20px 22px 24px; }
.lp-erlaeuterung h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 620; line-height: 1.12; letter-spacing: -0.02em; max-width: 18ch; }
.lp-erlaeuterung p:not(.lp-label) { margin-top: 14px; font-size: 16px; line-height: 1.6; }
.lp-schriftfeld { margin-top: auto; border-top: 1.5px solid var(--navy); }
.lp-sf-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--navy); }
.lp-sf-kopf h2 { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.005em; max-width: none; }
.lp-sf-felder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-sf-felder > div { padding: 10px 16px 13px; border-bottom: 1px solid var(--linie); }
.lp-sf-felder > div:nth-child(odd) { border-right: 1px solid var(--linie); }
.lp-sf-felder > div:nth-last-child(-n + 2) { border-bottom: 0; }
.lp-sf-felder dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--leise); margin-bottom: 4px; }
.lp-sf-felder dd { font-size: 13.5px; line-height: 1.5; }

/* ---------- 6 Schluss: Positionsplan auf Navy ---------- */
.pp { position: relative; z-index: 1; padding-bottom: var(--abstand); }
.pp-blatt { position: relative; background: var(--navy); color: #fff; padding: clamp(32px, 4.5vw, 64px) clamp(20px, 4vw, 56px) clamp(28px, 3.6vw, 48px); }
.pp-blatt::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 255, 255, 0.16); pointer-events: none; }
.pp-kopf { position: relative; display: grid; gap: 16px; max-width: 900px; }
.pp-kopf h2 { color: #fff; font-size: clamp(2.05rem, 4.3vw, 3.85rem); font-weight: 620; line-height: 1.03; letter-spacing: -0.03em; max-width: 17ch; }
.pp-kopf p { font-size: clamp(16.5px, 1.3vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.86); max-width: 52ch; }
.pp-plan { position: relative; margin: clamp(24px, 3.4vw, 44px) 0 clamp(20px, 3vw, 36px); }
.pp-plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.pp-schmal { display: none !important; }
.pp-plan .zeichnen .z { stroke: rgba(255, 255, 255, 0.72); }
.pp-plan .zeichnen .duenn { stroke: rgba(255, 255, 255, 0.4); }
.pp-plan .zeichnen .gold { stroke: var(--gold); }
.pp-plan .zeichnen .achs-strich { stroke: rgba(255, 255, 255, 0.24); }
.pp-plan .zeichnen .hell { fill: var(--navy); stroke: rgba(255, 255, 255, 0.55); }
.pp-plan .zeichnen .spitze { fill: rgba(255, 255, 255, 0.6); }
.pp-plan .zeichnen .mass-wort, .pp-plan .zeichnen .mass-wort text, .pp-plan .zeichnen .t-titel { fill: rgba(255, 255, 255, 0.8); stroke: var(--navy); }
.pp-uz { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.2; stroke-dasharray: 9 5; }
.pp-stuetzen rect { fill: rgba(255, 255, 255, 0.88); }
.pp-gold-flaeche { fill: rgba(200, 169, 106, 0.5); }
.pos-nr rect { fill: #fff; stroke: rgba(4, 27, 60, 0.6); stroke-width: 1; }
.pos-nr text { font-family: var(--mono); font-size: 11px; fill: var(--navy); text-anchor: middle; }
.pp-plan .pos-nr rect { fill: var(--navy); stroke: rgba(255, 255, 255, 0.5); }
.pp-plan .pos-nr text { fill: rgba(255, 255, 255, 0.86); font-size: 12px; }
.pp-plan .pos-gold rect { fill: rgba(200, 169, 106, 0.22); stroke: var(--gold); stroke-width: 1.5; }
.pp-plan .pos-gold text { fill: var(--gold-hell); font-weight: 600; font-size: 13px; }
.pp-fuss { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(24px, 4vw, 56px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.pp-knopf { background: #fff; color: var(--navy); }
.pp-knopf:hover { background: var(--gold-hell); }
.pp-knopf::before, .pp-knopf::after { border-color: var(--gold); }
.pp-blatt :focus-visible { outline-color: var(--gold-hell); }
.pp-wege { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pp-wege li { display: flex; align-items: baseline; gap: 10px; font-size: 15.5px; }
.pp-wege .kw-art { color: rgba(255, 255, 255, 0.7); }
.pp-wege a { color: #fff; }
.pp-wege .offen { color: rgba(255, 255, 255, 0.82); }
/* Runde 6 (24.11.2026): Knopf und Satz stehen jetzt im Kasten .mc-kasten (mini, Gestaltung in stil.css) zwischen Plan und Fuß.
   Der Fuß trägt nur noch die Kontaktwege; die Runde-5-Regeln für Knopf und Satz im Fuß entfallen. Hier nur der Abstand. */
.mc-kasten + .pp-fuss { margin-top: clamp(22px, 2.6vw, 32px); }

/* Fünf Blätter in einer Reihe: Zeichnung und Schriftfeld auf gleicher Höhe, Beschriftung etwas größer,
   damit sie bei der schmaleren Blattbreite lesbar bleibt */
@media (min-width: 1200px) {
  .pr-blaetter { grid-template-rows: auto auto auto; }
  .pr-li { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .pr-blatt { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .pr-zeichnung { padding: 16px 14px 6px; }
  .pr-zeichnung .zeichnen .mass-wort, .pr-zeichnung .zeichnen .t { font-size: 17px; }
  .pr-zeichnung .zeichnen .t-titel { font-size: 15px; }
  .pr-zeichnung .zeichnen .pos-nr text { font-size: 13px; }
}
@media (min-width: 960px) {
  .gr-plan .zeichnen .mass-wort { font-size: 13px; }
  .gr-plan .zeichnen .t-titel { font-size: 12px; }
}

/* ---------- Tablet ---------- */
/* Blätter in Reihen zu drei (bzw. zwei); die letzte, kürzere Reihe steht mittig unter der vollen */
@media (min-width: 761px) and (max-width: 1199px) {
  .pr-blaetter { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 30px; }
  .pr-li { grid-column: span 2; }
  .pr-li:nth-child(4) { grid-column: 2 / span 2; }
  .pr-li:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 761px) and (max-width: 959px) {
  .pr-blaetter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pr-li:nth-child(4) { grid-column: span 2; }
  .pr-li:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 1199px) {
  .pr-li::after, .pr-li::before { display: none; }
  .pr-register { margin-top: 28px; }
}
@media (max-width: 959px) {
  .lt-raster { grid-template-columns: minmax(0, 1fr); grid-template-areas: "kopf" "figur" "liste"; }
  .lt-kopf h2 { max-width: 18ch; }
  .lt-figur { align-self: stretch; }
  .pr-feld-raster { grid-template-columns: minmax(0, 1fr); }
  .pr-feld-zeichnung { position: static; }
  .pr-bahn-karte { grid-template-columns: minmax(0, 1fr); }
  .pr-bahn-spalte + .pr-bahn-spalte { border-left: 0; border-top: 1px solid var(--linie-2); }
  .gr-mass-rahmen { display: none; }
  .gr-split { grid-template-columns: minmax(0, 1fr); }
  .gr-teil { grid-column: 1; grid-row: auto; }
  .gr-mitte { border-left: 0; border-top: 1px solid var(--linie-2); }
  .gr-navy::after { display: none; }
  .gr-hell .gr-innen, .gr-mitte .gr-innen, .gr-navy .gr-innen { padding-inline: var(--rand); max-width: calc(680px + 2 * var(--rand)); margin-inline: auto; }
  .nf-kopf { grid-template-columns: minmax(0, 1fr); }
  .lp-blatt { grid-template-columns: minmax(0, 1fr); }
  .lp-leiste { border-left: 0; border-top: 1.5px solid var(--navy); }
  .lp-karte svg { max-height: none; max-width: 640px; margin: 0 auto; }
}

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .pr-pruef-liste { grid-template-columns: minmax(0, 1fr); }
  .pr-pruef-liste li { padding: 13px 14px 14px; }
  .pr-pruef-liste li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .pr-bahn-kopf { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pr-bahn-marke { justify-self: start; }
  .pr-bahn-zeichnung { padding: 14px 10px 10px; }
  .bahn-breit { display: none !important; }
  .bahn-schmal { display: block !important; max-width: 440px; margin: 0 auto; }
  .pr-bahn-spalte { padding: 16px 14px 20px; }
  .wa-tab { font-size: 11px; }
  .wa-tab th, .wa-tab td { padding-inline: 5px; }
  .pr-blaetter { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 0; }
  .pr-blaetter::before { display: none; }
  .pr-blatt { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); grid-template-rows: auto; }
  .pr-klemme { display: none; }
  .pr-zeichnung { padding: 10px; border-bottom: 0; border-right: 1px solid var(--linie-3); display: grid; align-items: center; }
  .pr-zeichnung text { display: none; }
  .pr-sf { border-top: 0; grid-template-columns: auto minmax(0, 1fr); }
  .pr-sf-buchst { min-width: 44px; font-size: 18px; }
  .pr-sf-text { padding: 10px 12px 12px; align-content: center; }
  .pr-sf-titel { font-size: 1.05rem; }
  .pr-li::after, .pr-li::before { display: none; }
  .pr-register { margin-top: 18px; }
  .pr-feld { padding: 20px 16px 24px; }
  .pr-buchst { width: 44px; height: 44px; font-size: 18px; }
  .pr-zeile { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .pr-feld-zeichnung { padding: 10px; }
  .pr-fach { columns: 1; font-size: 15.5px; }

  .lt-figur { padding: 14px 10px 10px; }
  .lt-inhalt { padding-left: 38px; padding-right: 0; }

  .nf-treppe-figur { padding-right: 0; }
  .nf-treppe { grid-template-columns: minmax(0, 1fr); border-bottom: 0; }
  .nf-treppe li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; margin-left: calc(var(--i) * 14px); padding: 12px 0 14px 12px; border-top: 3px solid var(--navy); border-left: 1.5px solid var(--navy); background: repeating-linear-gradient(-45deg, rgba(4, 27, 60, 0.16) 0 1px, transparent 1px 8px) left top / 8px 100% no-repeat; }
  .nf-treppe li:last-child { border-top-color: var(--gold-text); }
  .nf-index { margin: 0; }
  .nf-wort { padding: 2px 0 0; max-width: none; }
  .nf-lauf { display: none; }
  .nf-mass { display: none; }

  .lp-legende ul { grid-template-columns: minmax(0, 1fr); }
  .lp-sf-felder { grid-template-columns: minmax(0, 1fr); }
  .lp-sf-felder > div { border-right: 0 !important; border-bottom: 1px solid var(--linie) !important; }
  .lp-sf-felder > div:last-child { border-bottom: 0 !important; }
  .lp-buchst text { font-size: 40px; }

  .pp-breit { display: none !important; }
  .pp-schmal { display: block !important; max-width: 420px; }
  .pp-knopf { width: 100%; justify-content: space-between; }
  .pp-wege { display: grid; gap: 8px; }
}
@media (max-width: 600px) {
  .pr-sf-unter { font-size: 10px; }
  .lt-nr rect { x: -14px; y: -14px; width: 28px; height: 28px; }
  .lt-nr text { font-size: 16px; }
  .pp-plan .pos-nr text { font-size: 15px; }
  .pp-plan .pos-gold text { font-size: 16px; }
  .gr-plan .zeichen-klein { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pr-blatt::after, .pr-li::after, .pr-li::before { transition: none; }
  .lt-num, .lt-auf, .lt-auf::before, .lt-auf::after, .lt-nr rect, .zeichnen .lt-last .z, .zeichnen .lt-last .spitze { transition: none; }
}

/* Drucken: alle Fachbereiche, alle Linien, alle Lasten */
@media print {
  .kopf, .fuss, .pr-hinweis { display: none !important; }
  .pr-register .pr-feld[hidden] { display: block !important; }
  .pr-feld + .pr-feld { break-before: page; }
  .zeichnen .z { stroke-dasharray: none !important; stroke-dashoffset: 0 !important; }
  .zeichnen .hinweis, .zeichnen .platz { opacity: 1 !important; }
  .lt-last, .lt-nr { opacity: 1 !important; transform: none !important; }
  .lt-moment { transform: none !important; }
  .pr-an .pr-blatt .pr-zeichnung svg { opacity: 1 !important; }
  .pr-li::after, .pr-li::before { display: none; }
  .gr-navy, .pp-blatt { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
