/* V.I.S. – Für Ingenieurbüros: eigener Aufbau (20.11.2026).
   Leitzeichnung „Träger mit Lastplan“. Wird nur auf dieser Seite eingebunden.
   Farben, Schriften, Strichstärken und Raster kommen aus stil.css. */

/* ---------- Bausteine dieser Seite ---------- */
.ib-blatt {
  display: block; margin-bottom: 14px;
  font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise);
}
.ib-blatt::before {
  content: ""; display: inline-block; width: 18px; height: 1.5px; margin-right: 10px;
  background: var(--signal); vertical-align: middle; transform: translateY(-2px);
}

/* ---------- Navy-Fläche (Kopf + Lastplan) ---------- */
.ib-nacht {
  --nl: rgba(255, 255, 255, 0.07);
  --nf: rgba(255, 255, 255, 0.028);
  background-color: var(--tusche); color: #fff;
  background-image:
    linear-gradient(var(--nl) 1px, transparent 1px),
    linear-gradient(90deg, var(--nl) 1px, transparent 1px),
    linear-gradient(var(--nf) 1px, transparent 1px),
    linear-gradient(90deg, var(--nf) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px;
  background-position: -1px -1px;
}
.ib-nacht h1, .ib-nacht h2, .ib-nacht h3 { color: #fff; }
.ib-nacht .ib-blatt { color: var(--auf-blau); }
.ib-nacht .ib-blatt::before { background: var(--signal-auf-blau); }
.ib-nacht .brotkrumen, .ib-nacht .brotkrumen a { color: var(--auf-blau); }
.ib-nacht .brotkrumen [aria-current] { color: #fff; }
.ib-nacht .brotkrumen li + li::before { color: rgba(255, 255, 255, 0.35); }
.ib-nacht :focus-visible { outline-color: var(--signal-auf-blau); }
.ib-nacht .zg { color: #fff; }
.ib-nacht .zg .tl { fill: var(--auf-blau); }

/* Kopf */
.ib-kopf { padding: clamp(28px, 4vw, 56px) 0 clamp(26px, 3vw, 44px); }
.ib-kopf h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.9rem); font-stretch: 118%; font-weight: 740;
  line-height: 1; letter-spacing: -0.032em; max-width: 21ch;
}
.ib-h1-mass { color: var(--signal-auf-blau); }
.ib-kopf-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 56px; margin-top: clamp(24px, 3vw, 40px); }
.ib-kopf-lead { max-width: 62ch; font-size: 18px; line-height: 1.6; color: var(--auf-blau); }
.ib-kopf-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.ib-link-hell { color: #fff; background-image: linear-gradient(#fff, #fff); }

/* Zwei Wege kurz: kleine Übersicht direkt nach dem Kopf (Runde 3) */
.ib-wk { padding-bottom: clamp(44px, 5vw, 72px); }
.ib-wk-rahmen { padding-top: clamp(22px, 2.6vw, 34px); border-top: 1px solid rgba(255, 255, 255, 0.22); }
.ib-wk h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-stretch: 118%; line-height: 1.08; letter-spacing: -0.02em; max-width: 30ch; margin-bottom: clamp(20px, 2.4vw, 32px); }
.ib-wk-tabelle { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ib-wk-tabelle th, .ib-wk-tabelle td { text-align: left; vertical-align: top; }
.ib-wk-ecke { width: 190px; }
.ib-wk-tabelle thead th { padding: 0 24px 16px; font-size: clamp(1.2rem, 1.8vw, 1.6rem); font-weight: 720; font-stretch: 116%; letter-spacing: -0.01em; line-height: 1.15; color: #fff; border-bottom: 2px solid var(--signal-auf-blau); }
.ib-wk-kenn { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 12px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--auf-blau); }
.ib-wk-tabelle tbody tr { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.ib-wk-tabelle tbody th { padding: 19px 24px 17px 0; font-family: var(--mono); font-size: 12px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; line-height: 1.5; color: var(--auf-blau); }
.ib-wk-tabelle tbody td { padding: 15px 24px 16px; font-size: 17px; line-height: 1.5; color: #fff; }
.ib-wk-tabelle .ib-wk-b { background: rgba(255, 255, 255, 0.06); }
.ib-wk-mehr { margin-top: 14px; }

/* Lastplan: sechs Lasten auf dem Träger „Inhaber“ */
.ib-lastplan { padding-bottom: clamp(72px, 9vw, 136px); }
.ib-plan-hinweis {
  display: flex; justify-content: space-between; gap: 16px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--mono); font-size: 11.5px; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--auf-blau);
}
.ib-lastknoepfe { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: 18px; }
.ib-lastknopf {
  appearance: none; margin: 0; padding: 6px 10px 12px; border: 0; background: none; color: #fff; font: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 9px; min-height: 92px; text-align: center; cursor: default;
}
.ib-lastknoepfe.bereit .ib-lastknopf { cursor: pointer; }
.ib-lk-pos {
  font-family: var(--mono); font-size: 12px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.04em;
  padding: 3px 8px; border: 1.5px solid rgba(255, 255, 255, 0.7); color: #fff;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.ib-lk-titel { font-size: 15px; line-height: 1.25; font-weight: 600; font-stretch: 106%; color: var(--auf-blau); max-width: 17ch; text-wrap: balance; transition: color 0.25s; }
.ib-lastknoepfe.bereit .ib-lastknopf:hover .ib-lk-titel,
.ib-lastknopf[aria-selected="true"] .ib-lk-titel { color: #fff; }
.ib-lastknopf[aria-selected="true"] .ib-lk-pos { background: var(--signal-auf-blau); border-color: var(--signal-auf-blau); color: var(--tusche); }
.ib-lastknopf:focus-visible { outline: 2px solid var(--signal-auf-blau); outline-offset: -2px; }

.ib-traeger-bild { margin: 0; }
.ib-traeger { overflow: visible; }
.ib-traeger .ib-treffer { fill: transparent; stroke: none; pointer-events: none; }
.ib-traeger.bereit .ib-treffer { pointer-events: all; cursor: pointer; }
.ib-traeger .ib-last-schaft { stroke: #fff; stroke-width: 2.2; }
.ib-traeger .ib-last-spitze { fill: #fff; stroke: none; }
.ib-traeger .ib-last { transition: opacity 0.45s var(--schnell), transform 0.6s var(--schnell); }
.ib-traeger .ib-last.aktiv .ib-last-schaft { stroke: var(--signal-auf-blau); stroke-width: 3.6; }
.ib-traeger .ib-last.aktiv .ib-last-spitze { fill: var(--signal-auf-blau); }
.ib-traeger.ib-anim .ib-last:not(.da) { opacity: 0; transform: translateY(-30px); }
.ib-traeger .tg { font-size: 26px; }
.ib-traeger .ib-mf-linie { stroke: rgba(255, 255, 255, 0.26); stroke-width: 1; }
.ib-traeger .ib-m-flaeche { stroke: none; }
.ib-traeger .ib-grenze { stroke: var(--signal-auf-blau); stroke-width: 1.4; stroke-dasharray: 7 5; }
.ib-traeger .ib-grenze-text { fill: var(--signal-auf-blau); }
.ib-traeger .ib-m-max { fill: #fff; transition: opacity 0.3s; }
.ib-traeger .ib-mschnitt { opacity: 0; transition: opacity 0.3s, transform 0.5s var(--schnell); }
.ib-traeger .ib-mschnitt.da { opacity: 1; }
.ib-traeger .ib-mschnitt-linie { stroke: var(--signal-auf-blau); stroke-width: 1.4; stroke-dasharray: 3 4; }
.ib-traeger .ib-mschnitt-punkt { fill: var(--signal-auf-blau); stroke: none; }
.ib-traeger-bild figcaption { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--auf-blau); max-width: 86ch; }
.ib-traeger-bild figcaption b { color: #fff; font-weight: 650; }

.ib-lastplan-unten {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 88px); align-items: start;
  margin-top: clamp(36px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.ib-lastplan-titel h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); font-stretch: 118%; line-height: 1.06; letter-spacing: -0.02em; max-width: 15ch; margin-bottom: 18px; }
.ib-lastplan-titel p { font-size: 17px; line-height: 1.6; color: var(--auf-blau); max-width: 46ch; }
.ib-lastfeld { border-top: 2px solid var(--signal-auf-blau); padding-top: 18px; }
.ib-lastfeld + .ib-lastfeld { margin-top: 30px; }
.ib-lf-pos { font-family: var(--mono); font-size: 12px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal-auf-blau); }
.ib-lastfeld h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-stretch: 116%; letter-spacing: -0.015em; line-height: 1.1; margin: 8px 0 12px; }
.ib-lastfeld p { font-size: 18px; line-height: 1.6; color: var(--auf-blau); max-width: 56ch; }
.ib-lager-senkrecht { display: none; }
@media (min-width: 901px) {
  .ib-lastfelder.bereit { min-height: 230px; }
  .ib-lastfelder.bereit .ib-lastfeld[hidden] { display: none; }
  .ib-lastfelder.bereit .ib-lastfeld + .ib-lastfeld { margin-top: 0; }
  .ib-lastfelder.bereit .ib-lastfeld { animation: ib-feld 0.45s var(--schnell); }
}
@keyframes ib-feld { from { transform: translateY(6px); } }

/* ---------- Marktbild als Lastannahmen: geteilter Bildschirm ---------- */
.ib-teilung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ib-teil-bild {
  margin: 0; background: var(--papier); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(56px, 7vw, 112px) clamp(28px, 4vw, 64px) clamp(56px, 7vw, 112px) max(var(--rand), calc((100vw - var(--max)) / 2));
}
.ib-teil-text { padding: clamp(56px, 7vw, 112px) max(var(--rand), calc((100vw - var(--max)) / 2)) clamp(56px, 7vw, 112px) clamp(28px, 5vw, 80px); }
.ib-markt-svg { max-width: 620px; }
.ib-markt-svg .fp.k { stroke-width: 1.5; }
.ib-schichten { margin-top: 20px; max-width: 620px; border-top: 1.5px solid var(--tusche); }
.ib-schichten > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #C5D0E0; }
.ib-schichten dt { width: 28px; height: 28px; display: grid; place-items: center; border: 1.5px solid var(--tusche); background: #fff; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--tusche); }
.ib-schichten dd { font-size: 15.5px; line-height: 1.5; }
.ib-schichten dd b { display: block; color: var(--tusche); font-weight: 650; font-size: 16.5px; }
.ib-teil-text h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); font-stretch: 118%; line-height: 1.04; letter-spacing: -0.022em; max-width: 14ch; margin-bottom: 26px; }
.ib-markt-lead { font-size: 19px; line-height: 1.55; font-weight: 500; color: var(--tusche); margin-bottom: 16px; max-width: 54ch; }
.ib-teil-text p { max-width: 58ch; }
.ib-folgen { list-style: none; margin-top: 22px; border-top: 1.5px solid var(--tusche); counter-reset: ib-f; max-width: 58ch; }
.ib-folgen li { counter-increment: ib-f; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px solid #D3DCE8; font-size: 16.5px; line-height: 1.5; }
.ib-folgen li::before { content: "F" counter(ib-f); font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--leise); padding-top: 3px; }

/* ---------- Standardwege als Matrix ---------- */
.ib-standard { padding-bottom: calc(var(--abstand) * 0.65); }
.ib-standard h2 { max-width: 24ch; }
.ib-matrix { width: 100%; border-collapse: collapse; table-layout: fixed; border-top: 2px solid var(--tusche); border-bottom: 2px solid var(--tusche); }
.ib-matrix thead th { text-align: left; vertical-align: bottom; padding: 14px 16px 12px; border-bottom: 1.5px solid var(--tusche); font-weight: 500; }
.ib-matrix thead th:first-child { width: 21%; padding-left: 0; }
.ib-matrix thead .ib-befund-kopf { width: 22%; padding-left: 18px; }
.ib-sp { font-family: var(--mono); font-size: 11.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tusche); }
.ib-sp-nr { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border: 1px solid var(--linie); font-family: var(--mono); font-size: 10.5px; color: var(--leise); vertical-align: 1px; }
.ib-matrix tbody tr { border-bottom: 1px solid #D3DCE8; }
.ib-matrix tbody tr:last-child { border-bottom: 0; }
.ib-matrix tbody th { text-align: left; vertical-align: top; padding: 20px 20px 22px 0; font-size: 1.12rem; font-weight: 680; font-stretch: 112%; line-height: 1.25; color: var(--tusche); }
.ib-w-nr { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; color: var(--leise); }
.ib-matrix td { vertical-align: top; padding: 20px 18px 22px 16px; border-left: 1px solid #E3E8EF; font-size: 15.5px; line-height: 1.5; transition: background-color 0.2s; }
.ib-matrix td.ib-befund { background: var(--papier); border-left: 2px solid var(--signal); color: var(--tusche); font-weight: 600; padding-left: 18px; }
@media (hover: hover) and (pointer: fine) {
  .ib-matrix tbody tr:hover td:not(.ib-befund) { background: #F8F9FB; }
}

/* ---------- Zwei Wege: Nut und Feder, großes Gegenüber ---------- */
.ib-wege { padding-top: calc(var(--abstand) * 0.65); }
.ib-wege h2 { margin-bottom: clamp(24px, 3vw, 40px); }
.ib-wege-lead { max-width: 62ch; margin: calc(clamp(24px, 3vw, 40px) * -0.5) 0 clamp(24px, 3vw, 40px); font-size: 17.5px; line-height: 1.6; color: var(--text); }
.ib-nf { margin: 0; }
.ib-nf-svg { width: 100%; height: auto; overflow: visible; }
.ib-nf-svg text { font-size: 15px; }
.ib-nf-a, .ib-nf-b { transition: transform 1.1s var(--schnell); }
.ib-nf.bewegt:not(.eingerastet) .ib-nf-a { transform: translateX(-34px); }
.ib-nf.bewegt:not(.eingerastet) .ib-nf-b { transform: translateX(64px); }
.ib-nf-svg .ib-nf-feder { stroke: var(--signal); stroke-width: 3.4; transition: opacity 0.4s 0.8s; }
.ib-nf.bewegt:not(.eingerastet) .ib-nf-feder { opacity: 0; transition-delay: 0s; }

.ib-gegen { width: 100%; border-collapse: collapse; table-layout: fixed; }
.ib-gegen th, .ib-gegen td { vertical-align: top; }
.ib-gegen .ib-g-fuge {
  width: 168px; padding: 18px 6px; text-align: center; font-weight: 500;
  background: repeating-linear-gradient(to bottom, var(--linie) 0 26px, transparent 26px 31px, var(--linie) 31px 34px, transparent 34px 39px) center top / 1px 100% no-repeat;
}
.ib-g-fuge > span {
  display: inline-block; padding: 4px 10px; background: #fff; border: 1px solid var(--tusche);
  font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tusche);
}
.ib-gegen .ib-g-a { padding: 18px 28px 18px 0; text-align: right; }
.ib-gegen .ib-g-b { padding: 18px 0 18px 28px; text-align: left; background: var(--papier); }
.ib-gegen tbody tr { border-top: 1px solid #D3DCE8; }
.ib-gegen tbody td { font-size: 17px; line-height: 1.5; }
.ib-gegen tbody .ib-g-b { padding-right: 24px; }
.ib-gegen thead .ib-g-a, .ib-gegen thead .ib-g-b { padding-top: 26px; padding-bottom: 30px; font-weight: 500; }
.ib-gegen thead .ib-g-b { padding-left: 28px; }
.ib-g-kenn, .ib-g-unter { display: block; font-family: var(--mono); font-size: 12px; font-stretch: 87.5%; letter-spacing: 0.07em; text-transform: uppercase; color: var(--leise); }
.ib-g-name { display: block; margin-top: 6px; font-size: clamp(1.7rem, 2.8vw, 2.6rem); font-weight: 740; font-stretch: 120%; letter-spacing: -0.02em; line-height: 1.05; color: var(--tusche); }
.ib-g-zahl { display: block; margin-top: 18px; font-size: clamp(3rem, 7vw, 6.4rem); font-weight: 780; font-stretch: 122%; letter-spacing: -0.04em; line-height: 0.92; color: var(--tusche); }
.ib-g-unter { margin-top: 12px; }
.ib-g-a .ib-g-unter::after, .ib-g-b .ib-g-unter::before { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--signal); vertical-align: middle; }
.ib-g-a .ib-g-unter::after { margin-left: 10px; }
.ib-g-b .ib-g-unter::before { margin-right: 10px; }
.ib-gegen .text-link-klein { margin-left: 0; }
.ib-g-schema .zg { max-width: 460px; margin: 6px 0 0; }
.ib-g-schema .ib-g-a .zg { margin-left: auto; }
.ib-g-bz { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--leise); }
.ib-g-bz b { color: var(--tusche); font-weight: 650; }

/* ---------- Ablauf: feiner Bauzeitenplan ---------- */
.ib-ablauf h2 { max-width: 20ch; margin-bottom: 18px; }
.ib-einleitung { font-size: 18px; line-height: 1.6; max-width: 60ch; margin-bottom: clamp(32px, 4vw, 52px); }
.ib-gantt { --stich: 3.5; position: relative; background: #fff; border: 1.5px solid var(--tusche); }
.ib-gt-kopf, .ib-gt-mass, .ib-gt-zeile { display: grid; grid-template-columns: 64px minmax(0, 4.4fr) minmax(0, 7fr); }
.ib-gt-kopf { background: var(--papier); border-bottom: 1.5px solid var(--tusche); }
.ib-gt-kopf > span { font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); padding: 12px 14px 10px; }
.ib-gt-k1, .ib-gt-leer, .ib-gt-nr { border-right: 1px solid #C5D0E0; }
.ib-gt-k2, .ib-gt-leer2, .ib-gt-vorgang { border-right: 1.5px solid var(--tusche); }
.ib-gt-achse { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 !important; }
.ib-gt-achse span { padding: 12px 8px 10px; border-left: 1px solid #C5D0E0; overflow-wrap: anywhere; }
.ib-gt-achse span:first-child { border-left: 0; }
.ib-gt-mass { border-bottom: 1px solid #C5D0E0; }
.ib-gt-leer2 { border-right: 0; }
.ib-gt-massfeld { position: relative; height: 66px; border-left: 1.5px solid var(--tusche); }
.ib-gt-masslinie { position: absolute; left: 0; bottom: 16px; width: calc(var(--stich) / 5 * 100%); height: 1.5px; background: var(--tusche); }
.ib-gt-masslinie::before, .ib-gt-masslinie::after { content: ""; position: absolute; bottom: -8px; width: 1px; height: 17px; background: var(--tusche); }
.ib-gt-masslinie::before { left: 0; }
.ib-gt-masslinie::after { right: 0; }
.ib-gt-masstext { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; font-family: var(--mono); font-size: 12.5px; font-weight: 600; font-stretch: 87.5%; letter-spacing: 0.03em; color: var(--tusche); }
.ib-gt-stichmarke { position: absolute; top: 9px; left: calc(var(--stich) / 5 * 100% + 10px); right: 6px; font-family: var(--mono); font-size: 11px; font-weight: 600; font-stretch: 87.5%; line-height: 1.35; color: var(--signal-text); }
.ib-gt-liste { list-style: none; }
.ib-gt-zeile { border-bottom: 1px solid #D3DCE8; transition: background-color 0.2s; }
.ib-gt-zeile:last-child { border-bottom: 0; }
.ib-gt-nr { padding: 20px 0 0; display: flex; justify-content: center; }
.ib-gt-nr span { display: grid; place-items: center; width: 34px; height: 34px; background: var(--tusche); color: #fff; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.ib-gt-vorgang { padding: 18px 22px 20px; }
.ib-gt-vorgang h3 { font-size: 1.2rem; font-stretch: 114%; letter-spacing: -0.01em; margin-bottom: 6px; }
.ib-gt-vorgang p { font-size: 15.5px; line-height: 1.55; max-width: 52ch; }
.ib-gt-zusatz { margin-top: 6px; color: var(--leise); }
.ib-gt-zeit {
  position: relative; min-height: 72px;
  background-image:
    repeating-linear-gradient(90deg, #C5D0E0 0 1px, transparent 1px calc(100% / 5)),
    repeating-linear-gradient(90deg, #EEF1F5 0 1px, transparent 1px calc(100% / 20));
}
.ib-gt-balken {
  position: absolute; top: 50%; height: 14px; margin-top: -7px;
  left: calc(var(--von) / 5 * 100% + 10px); width: calc((var(--bis) - var(--von)) / 5 * 100% - 20px);
  background: var(--tusche); transform-origin: left center; transition: transform 0.9s var(--schnell) calc(var(--i, 0) * 0.16s);
}
.ib-gt-balken::before, .ib-gt-balken::after { content: ""; position: absolute; top: -6px; bottom: -6px; width: 1.5px; background: var(--tusche); }
.ib-gt-balken::before { left: 0; }
.ib-gt-balken::after { right: 0; }
.ib-gt-laufend { width: calc((var(--bis) - var(--von)) / 5 * 100% - 34px); background: repeating-linear-gradient(135deg, var(--tusche) 0 2px, #fff 2px 6px); border: 1.5px solid var(--tusche); }
.ib-gt-laufend::before { left: -1.5px; }
.ib-gt-laufend::after { right: -14px; top: 50%; bottom: auto; width: 0; height: 0; margin-top: -7px; background: none; border-left: 11px solid var(--tusche); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ib-gt-ms { position: absolute; top: 50%; left: calc(var(--bei) / 5 * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px; background: var(--tusche); transform: rotate(45deg); transition: transform 0.5s var(--schnell) calc(var(--i, 0) * 0.16s + 0.3s), opacity 0.4s calc(var(--i, 0) * 0.16s + 0.3s); }
.ib-gt-ms-gold { background: var(--signal); box-shadow: 0 0 0 1.5px var(--tusche); }
.ib-gt-ms-text { position: absolute; top: 50%; left: calc(var(--bei) / 5 * 100% + 18px); transform: translateY(-50%); font-family: var(--mono); font-size: 11px; font-weight: 500; font-stretch: 87.5%; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); background: #fff; padding: 1px 4px; white-space: nowrap; }
.ib-gt-ms-text-gold { color: var(--signal-text); font-weight: 600; }
.ib-gt-stich { position: absolute; top: 0; bottom: -1px; left: calc(var(--stich) / 5 * 100%); width: 2px; margin-left: -1px; background: var(--signal); }
.ib-gt-pfeile { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ib-gt-pfeile path { fill: none; stroke: var(--linie); stroke-width: 1.3; }
.ib-gt-pfeile .spitze { fill: var(--linie); stroke: none; }
.ib-gt-pfeile { transition: opacity 0.6s 1.2s; }
.ib-gantt.ib-gt-bereit:not(.gezeichnet) .ib-gt-balken { transform: scaleX(0); }
.ib-gantt.ib-gt-bereit:not(.gezeichnet) .ib-gt-ms { transform: rotate(45deg) scale(0); opacity: 0; }
.ib-gantt.ib-gt-bereit:not(.gezeichnet) .ib-gt-pfeile { opacity: 0; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .ib-gt-zeile:hover { background: #FAFBFC; }
}
.ib-gt-legende { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; font-size: 14px; color: var(--leise); }
.ib-gt-legende span { display: inline-flex; align-items: center; gap: 10px; }
.ib-gt-legende i { display: inline-block; width: 28px; height: 10px; background: var(--tusche); }
.ib-gt-legende i.ib-lg-laufend { background: repeating-linear-gradient(135deg, var(--tusche) 0 2px, #fff 2px 6px); border: 1.5px solid var(--tusche); }
.ib-gt-legende i.ib-lg-ms { width: 11px; height: 11px; transform: rotate(45deg); }
.ib-gt-legende i.ib-lg-gold { background: var(--signal); box-shadow: 0 0 0 1.5px var(--tusche); }
.ib-gt-legende i.ib-lg-stich { width: 2px; height: 18px; background: var(--signal); }
.ib-gt-legende i.ib-lg-folge { width: 26px; height: 1.5px; background: var(--linie); position: relative; }
.ib-gt-legende i.ib-lg-folge::after { content: ""; position: absolute; right: -2px; top: -4px; border-left: 7px solid var(--linie); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }
.ib-ablauf .bildzeile { margin-top: 12px; }

/* ---------- Fachbereiche: Reihe von Querschnitten zum Aufklappen ---------- */
.ib-fach { background: var(--papier); }
.ib-fach h2 { margin-bottom: clamp(28px, 3.5vw, 48px); }
.ib-schnitte { list-style: none; display: flex; background: #fff; border-top: 2px solid var(--tusche); border-bottom: 1.5px solid var(--tusche); }
.ib-schnitt { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; border-left: 1px solid #C5D0E0; transition: flex-grow 0.6s var(--schnell), background-color 0.3s; }
.ib-schnitt:first-child { border-left: 0; }
.ib-schnitte.bereit .ib-schnitt.ist-offen { flex-grow: 2.7; }
.ib-sn-kopf { margin: 0; }
.ib-sn-knopf {
  appearance: none; width: 100%; margin: 0; padding: 16px 16px 14px; border: 0; background: none; color: var(--tusche); font: inherit; text-align: left;
  display: grid; grid-template-columns: minmax(0, 1fr) 22px; gap: 4px 12px; align-items: start; cursor: default;
}
.ib-schnitte.bereit .ib-sn-knopf { cursor: pointer; }
.ib-sn-marke { grid-column: 1; font-family: var(--mono); font-size: 10.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
.ib-sn-name { grid-column: 1; font-size: 1.08rem; font-weight: 680; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; hyphens: manual; }
.ib-sn-zeichen { display: none; grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; border: 1.5px solid var(--tusche); position: relative; }
.ib-schnitte.bereit .ib-sn-zeichen { display: block; }
.ib-sn-zeichen::before, .ib-sn-zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--tusche); transition: transform 0.3s var(--schnell); }
.ib-sn-zeichen::before { width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; }
.ib-sn-zeichen::after { width: 1.5px; height: 10px; margin: -5px 0 0 -0.75px; }
.ib-sn-knopf[aria-expanded="true"] .ib-sn-zeichen::after { transform: scaleY(0); }
.ib-schnitte.bereit .ib-sn-knopf:hover .ib-sn-name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.ib-sn-knopf:focus-visible { outline-offset: -3px; }
.ib-sn-koerper { flex: 1; display: flex; align-items: flex-start; gap: 22px; padding: 2px 16px 22px; }
.ib-sn-bild { flex: 0 1 200px; width: 100%; max-width: 200px; min-width: 0; height: auto; }
.ib-sn-bild .ib-sn-t { font-size: 15px; }
.ib-sn-inhalt { flex: 1 1 0; min-width: 0; padding-top: 4px; }
.ib-sn-inhalt[hidden] { display: none; }
/* Sechs Schnitte (Runde 5): Name über die ganze Spaltenbreite, Zeichen oben rechts neben der Marke */
.ib-sn-name { grid-column: 1 / -1; }
.ib-sn-zeichen { grid-row: 1; align-self: start; }
.ib-sn-marke { hyphens: manual; }
.ib-schnitte.bereit .ib-schnitt.ist-offen .ib-sn-inhalt { animation: ib-feld 0.5s var(--schnell) 0.15s both; }
.ib-sn-l { font-family: var(--mono); font-size: 10.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); margin-bottom: 4px; }
.ib-sn-w { font-size: 16.5px; line-height: 1.45; font-weight: 600; color: var(--tusche); }
.ib-sn-bz { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #B8C6DB; font-size: 14px; line-height: 1.45; color: var(--leise); }
.ib-schnitte.bereit .ib-schnitt.ist-offen { background: #FCFCFD; }
.ib-fach-mehr { margin-top: 22px; }

/* ---------- Grundsätze: ein Strang, vier Bauteile ---------- */
.ib-grund h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.ib-strang { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ib-strang::before { content: ""; position: absolute; left: 0; right: 12px; top: 39px; height: 2.4px; background: var(--tusche); }
.ib-strang::after { content: ""; position: absolute; right: 0; top: 33px; border-left: 14px solid var(--tusche); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ib-bauteil { position: relative; padding-right: clamp(16px, 2.6vw, 44px); }
.ib-bt-bild { display: block; position: relative; z-index: 1; width: 120px; height: 80px; }
.ib-bt-symbol { width: 120px; height: 80px; overflow: visible; }
.ib-grund .zg .ib-bt-fw { fill: #fff; }
.ib-grund .zg text { font-family: var(--sans); font-size: 19px; font-weight: 700; }
.ib-bt-name { display: block; margin-top: 12px; font-family: var(--mono); font-size: 10.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
.ib-bauteil h3 { margin: 8px 0 12px; font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 760; font-stretch: 120%; letter-spacing: -0.025em; line-height: 1; }
.ib-bauteil p { font-size: 16.5px; line-height: 1.55; max-width: 28ch; }

/* ---------- Häufige Fragen: Register ---------- */
.ib-fragen { background: var(--papier); }
.ib-fragen h2 { margin-bottom: clamp(28px, 3.5vw, 48px); }
.ib-register { border-top: 2px solid var(--tusche); }
.ib-reg-feld { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 10px 48px; padding: 22px 0; border-bottom: 1px solid #C5D0E0; }
.ib-reg-frage { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.3; }
.ib-reg-antwort { font-size: 16.5px; line-height: 1.6; max-width: 66ch; }
@media (min-width: 901px) {
  .ib-register.bereit { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); border-top: 0; }
  .ib-reg-leiste { display: flex; flex-direction: column; border-top: 2px solid var(--tusche); }
  .ib-reg-knopf {
    appearance: none; margin: 0; border: 0; border-bottom: 1px solid #C5D0E0; border-right: 1.5px solid var(--tusche); background: none; color: var(--tusche);
    font: 600 16.5px/1.35 var(--sans); font-stretch: 106%; text-align: left; cursor: pointer;
    display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: baseline; gap: 6px; padding: 17px 22px 17px 0; position: relative;
    transition: background-color 0.2s;
  }
  .ib-reg-knopf .ib-reg-nr { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.05em; color: var(--leise); padding-left: 2px; }
  .ib-reg-knopf:hover { background: rgba(255, 255, 255, 0.6); }
  .ib-reg-knopf[aria-selected="true"] { background: #fff; border-right-color: #fff; }
  .ib-reg-knopf[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 4px; background: var(--signal); }
  .ib-reg-knopf[aria-selected="true"] .ib-reg-nr { color: var(--signal-text); }
  .ib-reg-knopf:focus-visible { outline-offset: -3px; }
  .ib-register.bereit .ib-reg-feld { display: block; padding: clamp(28px, 3.4vw, 48px); background: #fff; border: 1.5px solid var(--tusche); border-left: 0; border-top: 2px solid var(--tusche); align-self: start; min-height: 100%; }
  .ib-register.bereit .ib-reg-feld[hidden] { display: none; }
  .ib-register.bereit .ib-reg-frage { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-stretch: 116%; letter-spacing: -0.015em; line-height: 1.12; margin-bottom: 18px; }
  .ib-register.bereit .ib-reg-antwort { font-size: 18.5px; line-height: 1.62; }
  .ib-register.bereit .ib-reg-feld { animation: ib-feld 0.4s var(--schnell); }
}

/* ---------- Schluss: zweites Auflager, mit „Auf einen Blick“ ---------- */
.ib-schluss { margin-bottom: clamp(40px, 5vw, 64px); }
.ib-schluss-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(36px, 5vw, 88px); align-items: start; }
.ib-zweifeld { margin: 0 0 clamp(30px, 3.5vw, 48px); padding: clamp(14px, 2vw, 26px); background: rgba(255, 255, 255, 0.92); border: 1.5px solid var(--tusche); }
.ib-zweifeld figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--leise); max-width: 70ch; }
.ib-zweifeld figcaption b { color: var(--tusche); font-weight: 650; }
.ib-schluss .ib-schluss-haupt h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); max-width: 19ch; margin-bottom: 20px; }
.ib-schluss-text { font-size: 18px; line-height: 1.6; max-width: 54ch; }
.ib-schluss-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.ib-blick { position: sticky; top: 100px; background: #fff; border: 1.5px solid var(--tusche); padding: 22px 24px 10px; }
.ib-schluss .ib-blick h2 { font-size: 1.35rem; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; max-width: none; margin: 0 0 14px; }
.ib-blick-liste > div { padding: 12px 0; border-top: 1px solid #D3DCE8; }
.ib-blick-liste dt { margin-bottom: 4px; font-family: var(--mono); font-size: 11px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tusche); }
.ib-blick-liste dd { font-size: 15px; line-height: 1.5; }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .ib-lk-titel { font-size: 14px; }
  .ib-matrix tbody th { font-size: 1.02rem; }
  .ib-matrix td { font-size: 15px; padding-left: 12px; padding-right: 12px; }
  .ib-strang { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .ib-strang::before, .ib-strang::after { display: none; }
  .ib-bauteil::before { content: ""; position: absolute; left: 0; right: 0; top: 39px; height: 2.4px; background: var(--tusche); }
}

/* ---------- Handy und schmale Fenster ---------- */
@media (max-width: 900px) {
  /* Lastplan: senkrechte Fassung, Träger links, Lasten von rechts */
  .ib-lastknoepfe, .ib-traeger-bild, .ib-nur-gross { display: none; }
  .ib-lastplan-unten { grid-template-columns: minmax(0, 1fr); margin-top: 10px; padding-top: 18px; border-top: 0; }
  .ib-lastfelder { position: relative; padding: 52px 0 60px 72px; }
  .ib-lastfelder::before { content: ""; position: absolute; left: 22px; top: 38px; bottom: 46px; width: 5px; background: #fff; }
  .ib-lager-senkrecht { display: block; position: absolute; left: 2.5px; width: 60px; height: auto; fill: none; stroke: #fff; stroke-width: 1.6; }
  .ib-lager-oben { top: 0; }
  .ib-lager-unten { bottom: 0; }
  .ib-lastfeld { position: relative; border-top: 0; padding-top: 0; }
  .ib-lastfeld + .ib-lastfeld { margin-top: 30px; }
  .ib-lastfeld::before { content: ""; position: absolute; left: -45px; top: 8px; width: 37px; height: 2px; background: var(--signal-auf-blau); }
  .ib-lastfeld::after { content: ""; position: absolute; left: -45px; top: 3px; border-right: 11px solid var(--signal-auf-blau); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
  .ib-lastfeld h3 { font-size: 1.35rem; margin: 6px 0 8px; }
  .ib-lastfeld p { font-size: 16px; }

  .ib-teilung { grid-template-columns: minmax(0, 1fr); }
  .ib-teil-text { order: -1; padding: var(--abstand) var(--rand) 36px; }
  .ib-teil-bild { padding: 36px var(--rand) var(--abstand); }

  .ib-gegen .ib-g-fuge { width: 120px; }

  .ib-gt-kopf, .ib-gt-mass, .ib-gt-zeile { grid-template-columns: 48px minmax(0, 1fr); }
  .ib-gt-k2, .ib-gt-leer2 { display: none; }
  .ib-gt-massfeld { border-left: 0; }
  .ib-gt-vorgang { border-right: 0; padding: 16px 14px 10px; }
  .ib-gt-zeit { grid-column: 2; min-height: 54px; margin: 0 0 14px; border-top: 1px dashed #D3DCE8; }
  .ib-gt-nr { grid-row: span 2; padding-top: 16px; }
  .ib-gt-nr span { width: 30px; height: 30px; }

  .ib-schnitte { flex-direction: column; }
  .ib-schnitt { border-left: 0; border-top: 1px solid #C5D0E0; display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; padding: 14px 14px 16px; }
  .ib-schnitt:first-child { border-top: 0; }
  .ib-sn-koerper { display: contents; }
  .ib-sn-kopf { grid-column: 2; grid-row: 1; }
  .ib-sn-knopf { padding: 2px 0 6px; }
  .ib-sn-bild { grid-column: 1; grid-row: 1 / span 2; max-width: 112px; }
  .ib-sn-inhalt { grid-column: 2; grid-row: 2; padding-top: 2px; }
  .ib-sn-w { font-size: 15.5px; }

  .ib-reg-feld { grid-template-columns: minmax(0, 1fr); }

  .ib-schluss-raster { grid-template-columns: minmax(0, 1fr); }
  .ib-blick { position: static; }
}
/* Sechs Schnitte nebeneinander brauchen Platz: bis 1300 px als Liste wie am Handy */
@media (min-width: 901px) and (max-width: 1300px) {
  .ib-schnitte { flex-direction: column; }
  .ib-schnitt { border-left: 0; border-top: 1px solid #C5D0E0; display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 24px; padding: 16px 18px 18px; }
  .ib-schnitt:first-child { border-top: 0; }
  .ib-sn-koerper { display: contents; }
  .ib-sn-kopf { grid-column: 2; grid-row: 1; }
  .ib-sn-knopf { padding: 2px 0 6px; }
  .ib-sn-bild { grid-column: 1; grid-row: 1 / span 2; max-width: 150px; }
  .ib-sn-inhalt { grid-column: 2; grid-row: 2; padding-top: 2px; max-width: 70ch; }
}
@media (max-width: 900px) {
  .ib-sn-name { grid-column: 1; }
  .ib-sn-zeichen { grid-row: 1 / span 2; align-self: center; }
}
@media (max-width: 760px) {
  .ib-kopf-lead { font-size: 16.5px; }
  .ib-kopf h1 { font-size: clamp(2.05rem, 9vw, 2.6rem); font-stretch: 110%; letter-spacing: -0.026em; }

  /* Zwei Wege kurz: je Weg eine Karte, Merkmal als Beschriftung im Feld */
  .ib-wk-tabelle { display: grid; grid-template-columns: minmax(0, 1fr); }
  .ib-wk-tabelle thead, .ib-wk-tabelle tbody, .ib-wk-tabelle tr { display: contents; }
  .ib-wk-tabelle th, .ib-wk-tabelle td { display: block; }
  .ib-wk-ecke { display: none; }
  .ib-wk-tabelle tbody th { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .ib-wk-tabelle thead .ib-wk-a { order: 1; }
  .ib-wk-tabelle tbody .ib-wk-a { order: 2; }
  .ib-wk-tabelle thead .ib-wk-b { order: 3; margin-top: 22px; }
  .ib-wk-tabelle tbody .ib-wk-b { order: 4; }
  .ib-wk-tabelle thead th { padding: 16px 16px 12px; font-size: 1.3rem; border-top: 2px solid var(--signal-auf-blau); border-bottom: 0; }
  .ib-wk-tabelle tbody td { padding: 11px 16px 12px; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .ib-wk-tabelle .ib-wk-a { background: rgba(255, 255, 255, 0.035); }
  .ib-wk-tabelle tbody td::before {
    content: attr(data-merkmal); content: attr(data-merkmal) / "";
    display: block; margin-bottom: 3px; font-family: var(--mono); font-size: 10.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--auf-blau);
  }
  .ib-wk-mehr { margin-top: 10px; }

  /* Matrix: je Weg ein Block mit beschrifteten Feldern */
  .ib-matrix, .ib-matrix tbody, .ib-matrix tr, .ib-matrix th, .ib-matrix td { display: block; width: auto; }
  .ib-matrix thead { display: none; }
  .ib-matrix { border-bottom: 0; }
  .ib-matrix tbody tr { padding: 18px 0 20px; border-bottom: 1.5px solid var(--tusche); }
  .ib-matrix tbody tr:last-child { border-bottom: 1.5px solid var(--tusche); }
  .ib-matrix tbody th { padding: 0 0 8px; font-size: 1.15rem; }
  .ib-matrix td { border-left: 0; padding: 8px 0; font-size: 15.5px; }
  .ib-matrix td::before { content: attr(data-spalte); display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10.5px; font-stretch: 87.5%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
  .ib-matrix td.ib-befund { margin-top: 6px; padding: 10px 12px; }

  /* Gegenüber: Merkmal oben, beide Wege nebeneinander */
  .ib-gegen, .ib-gegen thead, .ib-gegen tbody { display: block; }
  .ib-gegen tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ib-gegen th, .ib-gegen td { display: block; width: auto !important; }
  .ib-gegen thead .ib-g-fuge { display: none; }
  .ib-gegen .ib-g-fuge { grid-column: 1 / -1; grid-row: 1; text-align: left; padding: 14px 0 8px; background: none; }
  .ib-gegen thead .ib-g-a, .ib-gegen thead .ib-g-b { text-align: left; padding: 16px 12px 20px; }
  .ib-gegen thead .ib-g-a { padding-left: 0; }
  .ib-gegen tbody .ib-g-a { text-align: left; padding: 10px 12px 14px 0; }
  .ib-gegen tbody .ib-g-b { padding: 10px 12px 14px; }
  .ib-gegen tbody td { font-size: 15px; }
  .ib-g-zahl { font-size: clamp(2.2rem, 11vw, 3rem); margin-top: 12px; }
  .ib-g-name { font-size: 1.45rem; }
  .ib-g-a .ib-g-unter::after { display: none; }
  .ib-g-b .ib-g-unter::before { display: none; }
  .ib-g-schema { grid-template-columns: minmax(0, 1fr) !important; }
  .ib-g-schema .ib-g-a { border-bottom: 1px solid #D3DCE8; }
  .ib-g-schema .ib-g-a .zg { margin-left: 0; }
  .ib-nf { overflow: hidden; }
  .ib-nf-svg { width: 250%; margin-left: -75%; }
  .ib-nf-achse { display: none; }

  /* Grundsätze: senkrechter Strang */
  .ib-strang { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .ib-strang::before { display: block; left: 39px; right: auto; top: 0; bottom: 14px; width: 2.4px; height: auto; }
  .ib-strang::after { display: block; left: 33px; right: auto; top: auto; bottom: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 14px solid var(--tusche); border-bottom: 0; }
  .ib-bauteil { display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 18px; padding: 0 0 34px; }
  .ib-bauteil::before { display: none; }
  .ib-bt-bild { grid-row: 1 / span 3; width: 80px; height: 120px; }
  .ib-bt-symbol { position: absolute; left: -20px; top: 20px; transform: rotate(90deg); }
  .ib-bt-symbol .ib-bt-r { transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
  .ib-bt-name { margin-top: 14px; }
  .ib-bauteil h3 { font-size: 1.8rem; margin: 6px 0 8px; }
}
@media (max-width: 640px) {
  .ib-markt-svg text { font-size: 19px; }
  .ib-gt-achse span { padding: 10px 3px 8px; font-size: 9px; letter-spacing: 0; }
  .ib-gt-masstext { font-size: 11px; text-align: left; padding-left: 12px; }
  .ib-gt-stichmarke { display: none; }
  .ib-gt-massfeld { height: 52px; }
  .ib-gt-ms-text { font-size: 9.5px; }
  .ib-sn-bild .ib-sn-t { font-size: 17px; }
  .ib-schnitt { grid-template-columns: 96px minmax(0, 1fr); }
  .ib-sn-bild { max-width: 96px; }
  .ib-zweifeld .zg text { font-size: 22px; }
  .ib-zweifeld .zg .tg { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .ib-traeger .ib-last, .ib-traeger .ib-mschnitt, .ib-nf-a, .ib-nf-b, .ib-gt-balken, .ib-gt-ms { transition: none !important; }
}

/* Fragen am Handy: zum Aufklappen (nur mit JS) */
.ib-reg-klapp { appearance: none; width: 100%; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 16px; align-items: center; }
.ib-reg-klapp-zeichen { width: 24px; height: 24px; border: 1.5px solid var(--tusche); position: relative; }
.ib-reg-klapp-zeichen::before, .ib-reg-klapp-zeichen::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--tusche); transition: transform 0.3s var(--schnell); }
.ib-reg-klapp-zeichen::before { width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; }
.ib-reg-klapp-zeichen::after { width: 1.5px; height: 11px; margin: -5.5px 0 0 -0.75px; }
.ib-reg-klapp[aria-expanded="true"] .ib-reg-klapp-zeichen::after { transform: scaleY(0); }
.ib-reg-feld .ib-reg-antwort[hidden] { display: none; }
