/* TRGS 746 Wissensseite, Strandmöllen TECH */
:root {
  --navy: #0e2a47;
  --navy-2: #143a5e;
  --petrol: #1f7a8c;
  --petrol-soft: #e3f1f4;
  --amber: #e09f3e;
  --amber-soft: #fbeedb;
  --ice: #bfdbf7;
  --red: #9e2a2b;
  --red-soft: #f6e4e4;
  --slate: #5b6b7c;
  --ink: #1b2430;
  --bg: #ffffff;
  --bg-2: #eef3f8;
  --line: #d8e1ea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(14, 42, 71, .06), 0 6px 18px rgba(14, 42, 71, .07);
  --font: "Inter", "Segoe UI", Calibri, Arial, sans-serif;
  --side: 290px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--petrol); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .25em 0; }

/* Kopfzeile */
.topbar {
  position: sticky; top: 0; z-index: 20; height: 64px;
  display: flex; align-items: center; gap: 16px; padding: 0 24px;
  background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.brand { display: flex; align-items: baseline; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand b { font-size: 1.15rem; letter-spacing: .02em; white-space: nowrap; }
.brand span { color: var(--ice); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.search { position: relative; }
.search input {
  width: 240px; height: 38px; border-radius: 19px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1); color: #fff; padding: 0 14px 0 36px; font: inherit; font-size: .9rem;
}
.search input::placeholder { color: rgba(255,255,255,.65); }
.search input:focus { outline: 2px solid var(--amber); background: rgba(255,255,255,.18); }
.search .i { position: absolute; left: 13px; top: 11px; color: var(--ice); font-size: 15px; line-height: 0; }
.results {
  position: absolute; right: 0; top: 46px; width: min(420px, 92vw); max-height: 60vh; overflow: auto;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); display: none;
}
.results.open { display: block; }
.results a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--bg-2); }
.results a:hover, .results a:focus { background: var(--petrol-soft); outline: none; }
.results small { display: block; color: var(--slate); }
.results .none { padding: 12px 14px; color: var(--slate); }
.menu-btn { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; padding: 6px; }

/* Rahmen */
.frame { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: calc(100vh - 64px); }
.side {
  position: sticky; top: 64px; height: calc(100vh - 64px); overflow: auto;
  background: var(--bg-2); border-right: 1px solid var(--line); padding: 22px 14px 40px;
}
.side .label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin: 4px 10px 10px; }
.chap { display: flex; gap: 10px; align-items: flex-start; padding: 9px 10px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.chap:hover { background: #fff; }
.chap .n {
  flex: 0 0 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: var(--petrol); color: #fff; font-weight: 700; font-size: .9rem;
}
.chap.planned { color: var(--slate); }
.chap.planned .n { background: #c9d3dd; }
.chap .t { font-weight: 600; line-height: 1.3; padding-top: 3px; }
.chap .t small { display: block; font-weight: 400; color: var(--slate); font-size: .8rem; }
.chap.active { background: #fff; box-shadow: var(--shadow); }
.chap.active .n { background: var(--navy); }
.sub { list-style: none; margin: 4px 0 12px 48px; padding: 0; border-left: 2px solid var(--line); }
.sub li { margin: 0; }
.sub a { display: block; padding: 4px 10px; font-size: .86rem; color: var(--slate); text-decoration: none; border-left: 2px solid transparent; margin-left: -2px; }
.sub a:hover, .sub a.on { color: var(--navy); border-left-color: var(--amber); }

main { min-width: 0; }
.content { max-width: 940px; padding: 40px 48px 64px; }

/* Startseite Held */
.hero { position: relative; color: #fff; background: var(--navy) url("img/titel.svg") center right / cover no-repeat; }
.hero-in { max-width: 940px; padding: 64px 48px 72px; }
.hero .kick { color: var(--amber); }
.hero h1 { color: #fff; max-width: 620px; }
.hero p { color: var(--ice); max-width: 560px; font-size: 1.08rem; }
.hero .meta { font-size: .85rem; color: var(--ice); opacity: .85; margin-top: 18px; }

.kick { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin-bottom: 8px; }
.lead { font-size: 1.1rem; color: #33414f; }

/* Kapitelkopf */
.chead { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 28px; align-items: center; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.chead .art { background: var(--petrol); border-radius: 50%; aspect-ratio: 1; padding: 6px; }

/* Absatz-Abschnitte */
.absatz { margin: 0 0 44px; }
.absatz > h2 { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }

/* Fundstellen-Badge */
.ref {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px;
  background: var(--ice); color: var(--navy); font-size: .76rem; font-weight: 700; white-space: nowrap;
  text-decoration: none; vertical-align: middle; letter-spacing: .01em;
}
a.ref:hover { background: var(--navy); color: #fff; }
.ref.dark { background: var(--petrol); color: #fff; }
.ref.own { background: var(--amber-soft); color: #7a4e14; }

/* Karten und Raster */
.grid { display: grid; gap: 16px; margin: 16px 0 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--bg-2); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.card.dark { background: var(--navy); color: #e8eef5; }
.card.dark h3, .card.dark h4 { color: #fff; }
.card.warn { background: var(--red-soft); }
.card h3, .card h4 { margin-bottom: .35em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.card .head h3, .card .head h4 { margin: 0; }
.ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--petrol); color: #fff; font-size: 19px;
}
.ic.navy { background: var(--navy); } .ic.red { background: var(--red); } .ic.amber { background: var(--amber); } .ic.slate { background: var(--slate); }
.ic svg { width: 1em; height: 1em; }

.def { border-left: 4px solid var(--petrol); background: #fff; padding: 12px 16px; border-radius: 0 10px 10px 0; box-shadow: var(--shadow); margin: 12px 0 16px; }
.note { font-size: .9rem; color: var(--slate); font-style: italic; }
.own-box { background: var(--amber-soft); border-radius: 10px; padding: 12px 16px; margin: 14px 0; }
.own-box b { color: #7a4e14; }

/* Abbildungen */
figure { margin: 18px 0 22px; }
figure.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
figure img { display: block; width: 100%; height: auto; }
figcaption { font-size: .85rem; color: var(--slate); margin-top: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }

/* Phasen */
.phases { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 10px; }
.phases li { margin: 0; background: var(--petrol); color: #fff; border-radius: 10px; padding: 14px 6px 10px; text-align: center; font-size: .82rem; font-weight: 700; box-shadow: var(--shadow); }
.phases li.s { background: var(--slate); } .phases li.d { background: var(--navy); } .phases li.hl { background: var(--amber); color: var(--navy); }
.phases li span { display: block; font-size: 22px; line-height: 1; margin-bottom: 8px; }
.phases li span svg { width: 1em; height: 1em; }

/* Dichteskala */
.scale { display: grid; grid-template-columns: 3.6fr 1.6fr 3.2fr; border-radius: 10px; overflow: hidden; margin: 14px 0 8px; color: #fff; text-align: center; font-size: .92rem; }
.scale div { padding: 12px 6px; }
.scale b { display: block; }
.dens { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.dens span { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .86rem; }
.dens span b { color: var(--navy); }
.dens .l { border-color: var(--petrol); } .dens .m { border-color: var(--slate); } .dens .h { border-color: var(--amber); }

/* Übersicht 23 Absätze */
.overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0 24px; }
.overview .col h4 { color: #fff; font-size: .84rem; padding: 9px 10px; border-radius: 8px; margin: 0 0 8px; text-align: center; }
.overview a { display: flex; gap: 8px; align-items: center; background: var(--bg-2); border-radius: 8px; padding: 7px 9px; margin-bottom: 6px; text-decoration: none; color: var(--ink); font-size: .84rem; line-height: 1.25; }
.overview a:hover { background: var(--petrol-soft); }
.overview a b { flex: 0 0 22px; font-size: 1rem; }
.overview a span, .overview a { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.overview .col { min-width: 0; }
.overview .col h4 { overflow-wrap: anywhere; hyphens: auto; }

/* Wandschnitte, GHS */
.walls { list-style: none; padding: 0; margin: 12px 0 0; }
.walls li { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
.walls img { width: 78px; flex: 0 0 78px; }
.ghs { display: flex; gap: 6px; margin-left: auto; }
.ghs img { width: 46px; height: 46px; }

/* Tabellen */
table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .94rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-2); color: var(--navy); font-size: .84rem; }

/* Blättern, Fuß */
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { flex: 1; max-width: 48%; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; text-decoration: none; color: var(--navy); }
.pager a:hover { border-color: var(--petrol); background: var(--petrol-soft); }
.pager small { display: block; color: var(--slate); }
.pager .next { text-align: right; margin-left: auto; }
.foot { padding: 22px 48px 40px; font-size: .82rem; color: var(--slate); border-top: 1px solid var(--line); max-width: 940px; }

/* Startseite Kapitelkarten */
.chapters a.card { display: block; text-decoration: none; color: var(--ink); transition: transform .12s ease; }
.chapters a.card:hover { transform: translateY(-2px); }
.chapters .num { font-size: 2rem; font-weight: 800; color: var(--petrol); line-height: 1; }
.chapters .planned { opacity: .6; box-shadow: none; border: 1px dashed #b7c3cf; background: #fff; }

/* Hervorhebung beim Anspringen */
:target > h2, :target > h3 { animation: flash 1.6s ease; }
@keyframes flash { 0% { background: var(--amber-soft); } 100% { background: transparent; } }

/* Mobil */
@media (max-width: 1000px) {
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .menu-btn { display: block; }
  .side { position: fixed; top: 64px; left: 0; width: min(320px, 88vw); z-index: 15; transform: translateX(-102%); transition: transform .2s ease; box-shadow: var(--shadow); }
  body.nav-open .side { transform: none; }
  .search input { width: 150px; }
  .brand span { display: none; }
  .content, .hero-in { padding: 28px 16px 48px; }
  .foot { padding: 20px 16px 36px; }
  .g2, .g3, .split { grid-template-columns: minmax(0, 1fr); }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .86rem; }
  .card, .def, .own-box { overflow-wrap: break-word; hyphens: auto; }
  .chead { grid-template-columns: minmax(0, 1fr) 64px; gap: 12px; }
  h1 { font-size: 1.7rem; hyphens: auto; overflow-wrap: break-word; }
  .absatz > h2 { font-size: 1.25rem; }
  .ghs img { width: 38px; height: 38px; }
  .phases { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { background-position: 70% center; }
  .hero-in { background: linear-gradient(90deg, rgba(14,42,71,.92), rgba(14,42,71,.6)); }
  .pager { flex-direction: column; } .pager a { max-width: none; }
  .topbar { padding: 0 12px; gap: 8px; }
}
@media print {
  .topbar, .side, .pager { display: none; }
  .frame { display: block; }
  .card, figure.panel { box-shadow: none; break-inside: avoid; }
}

/* Unterabschnitte in der Seitenleiste */
.chap .n { width: auto; min-width: 28px; padding: 0 5px; }
.chap.unter { margin-left: 22px; padding: 6px 10px; }
.chap.unter .n { height: 24px; min-width: 34px; font-size: .78rem; background: #5f98a5; }
.chap.unter.active .n { background: var(--navy); }
.chap.unter .t { font-size: .92rem; padding-top: 1px; }
.chap.unter .t small { display: none; }

/* Kopfbild */
.banner { margin: -40px -48px 28px; position: relative; }
.banner img { display: block; width: 100%; height: auto; aspect-ratio: 1600 / 678; object-fit: cover; max-height: 300px; }
.banner::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, #fff); }
.chead.nobild { grid-template-columns: minmax(0, 1fr); }

/* Produktbezug */
.betrifft { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 4px 0 12px; font-size: .84rem; color: var(--slate); }
.betrifft > b { color: var(--navy); margin-right: 2px; }
.gas { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 11px; font-size: .74rem; font-weight: 700; color: #fff; background: var(--slate); white-space: nowrap; }
.gas.inert { background: #2f6f9f; }
.gas.ox { background: #3d7f4f; }
.gas.co2 { background: #6b5b95; }
.gas.ent { background: var(--red); }
.gas.c2h2 { background: #b4532a; }
.gas.keins { background: #c9d3dd; color: var(--navy); }
.absatz.fremd { opacity: .82; }
.absatz.fremd > h2::after { content: "nicht für unsere Produkte"; font-size: .7rem; font-weight: 700; color: var(--slate); background: var(--bg-2); border: 1px dashed #b7c3cf; border-radius: 6px; padding: 2px 8px; }
.hinweis-uns { border-left: 4px solid var(--amber); background: var(--amber-soft); padding: 10px 14px; border-radius: 0 10px 10px 0; margin: 12px 0; }
.hinweis-uns b:first-child { color: #7a4e14; }

/* Matrix */
.matrix td, .matrix th { text-align: center; }
.matrix td:first-child, .matrix th:first-child { text-align: left; }
.matrix .j { color: #fff; background: var(--petrol); font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.matrix .t { color: var(--navy); background: var(--ice); font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.matrix .n { color: var(--slate); }

/* Zahlen hervorheben */
.big { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 18px; }
.big div { background: var(--bg-2); border-radius: 10px; padding: 12px 14px; }
.big b { display: block; font-size: 1.6rem; color: var(--petrol); line-height: 1.1; }
.big span { font-size: .84rem; color: var(--slate); }

/* Formeln und Rechner */
.formel { font-family: "Cambria Math", Cambria, "Times New Roman", serif; font-size: 1.15rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 12px 0; overflow-x: auto; text-align: center; color: var(--navy); }
.calc { background: var(--navy); color: #e8eef5; border-radius: var(--radius); padding: 18px 20px; margin: 16px 0 22px; box-shadow: var(--shadow); }
.calc h4 { color: #fff; margin-bottom: 10px; }
.calc .f { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 14px; }
.calc label { font-size: .8rem; color: var(--ice); display: block; }
.calc input, .calc select { width: 100%; height: 38px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; padding: 0 10px; font: inherit; margin-top: 4px; }
.calc select option { color: var(--ink); }
.calc .out { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); font-size: 1.05rem; }
.calc .out b { color: var(--amber); font-size: 1.3rem; }
.calc .note { color: var(--ice); }

@media (max-width: 820px) {
  .banner { margin: -28px -16px 20px; }
  .chap.unter { margin-left: 12px; }
}
.absatz > h2, .sub a, .card h3, .card h4 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 820px) { .absatz > h2 { overflow-wrap: anywhere; } }

/* Originaltext */
a.orig { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--slate); font-size: .72rem; font-weight: 600; text-decoration: none; vertical-align: middle; letter-spacing: 0; }
a.orig svg { width: 12px; height: 12px; }
a.orig:hover { border-color: var(--petrol); color: var(--petrol); }
.chap.orig .n { background: #fff; border: 1px solid var(--line); color: var(--slate); }
.orig-info { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-2); border-left: 4px solid var(--slate); border-radius: 8px; padding: 12px 16px; margin: 0 0 28px; font-size: .9rem; color: var(--slate); }
.orig-info > svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--slate); }
.otext { font-family: Georgia, "Times New Roman", serif; font-size: 1.02rem; line-height: 1.7; max-width: 46em; }
.otext h2, .otext h3, .otext h4, .otext h5, .otext h6 { font-family: var(--font); color: var(--navy); line-height: 1.3; margin: 2em 0 .6em; scroll-margin-top: 80px; overflow-wrap: break-word; hyphens: auto; }
.otext h2 { font-size: 1.35rem; padding-top: 1em; border-top: 2px solid var(--line); }
.otext h3 { font-size: 1.25rem; padding-top: .8em; border-top: 1px solid var(--line); }
.otext h4 { font-size: 1.08rem; }
.otext h5 { font-size: 1rem; }
.otext h6 { font-size: .95rem; font-style: italic; }
.otext p { margin: 0 0 .8em; }
.otext p.abs { scroll-margin-top: 80px; }
.otext p.abs:target, .otext h2:target, .otext h3:target, .otext h4:target, .otext h5:target, .otext h6:target { background: var(--amber-soft); border-radius: 6px; box-shadow: 0 0 0 6px var(--amber-soft); }
.otext .anr { font-family: var(--font); color: var(--navy); }
.otext ol, .otext ul { margin: 0 0 .9em; padding-left: 1.6em; }
.otext li { margin-bottom: .25em; }
.otext .ein1 { padding-left: 1.5em; }
.otext .ein2 { padding-left: 3em; }
.otext img.oabb { display: block; max-width: 100%; height: auto; margin: 14px 0 6px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.otext table.otab { font-family: var(--font); font-size: .88rem; display: block; overflow-x: auto; }
.otext .fn { font-size: .85rem; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 18px; overflow-wrap: anywhere; }
.otext .zus, .orig-info .zus { font-family: var(--font); display: inline-block; padding: 0 7px; margin: 0 2px; border-radius: 5px; background: var(--petrol-soft); color: var(--petrol); font-size: .7rem; font-weight: 600; text-decoration: none; vertical-align: 2px; line-height: 1.7; }
.otext a.zus:hover { background: var(--petrol); color: #fff; }
.otext a { overflow-wrap: anywhere; }
.oquelle { font-size: .82rem; color: var(--slate); margin-top: 30px; }
@media (max-width: 820px) { .otext { font-size: .98rem; } .otext h2, .otext h3 { overflow-wrap: anywhere; } }
.chap.orig.active .n { background: var(--navy); border-color: var(--navy); color: #fff; }
.zus-inline { display: inline-block; padding: 0 7px; border-radius: 5px; background: var(--petrol-soft); color: var(--petrol); font-size: .72rem; font-weight: 600; }

/* Ausgeblendete Absätze */
details.ausgeblendet { margin: 40px 0 10px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 12px 18px; background: var(--bg-2); color: var(--slate); font-size: .9rem; }
details.ausgeblendet summary { cursor: pointer; font-weight: 600; color: var(--navy); }
details.ausgeblendet ul { columns: 2 280px; padding-left: 1.1em; margin: 8px 0 4px; }
details.ausgeblendet li { margin: 0 0 4px; break-inside: avoid; }
details.ausgeblendet a { color: var(--slate); text-decoration: none; }
details.ausgeblendet a:hover b, details.ausgeblendet a:hover { color: var(--petrol); }
.chap.leer { opacity: .55; }
.chap.leer.active { opacity: 1; }
ol.steps { list-style: none; counter-reset: st; padding: 0; margin: 18px 0; }
ol.steps li { counter-increment: st; position: relative; padding: 10px 14px 10px 52px; margin-bottom: 8px; background: var(--bg-2); border-radius: 10px; line-height: 1.5; }
ol.steps li::before { content: counter(st); position: absolute; left: 12px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

/* Glossar */
abbr.gl { text-decoration: underline dotted var(--petrol); text-decoration-thickness: 1.5px; text-underline-offset: 3px; cursor: help; position: relative; outline: none; }
abbr.gl::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); width: max-content; max-width: min(300px, 78vw); padding: 9px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 400; line-height: 1.45; hyphens: manual; text-align: left; white-space: normal; box-shadow: var(--shadow); display: none; pointer-events: none; z-index: 30; font-style: normal; letter-spacing: 0; text-transform: none; }
abbr.gl:hover::after, abbr.gl:focus::after { display: block; }
@media (max-width: 820px) { abbr.gl { position: static; } abbr.gl::after { left: 16px; right: 16px; transform: none; width: auto; max-width: none; bottom: auto; margin-top: 6px; position: absolute; } .absatz, .card, li, p, td { position: relative; } }
dl.glossar { margin: 0; }
dl.glossar dt { font-weight: 700; color: var(--navy); margin-top: 14px; scroll-margin-top: 84px; }
dl.glossar dd { margin: 2px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
dl.glossar dt:target + dd, dl.glossar dt:target { background: var(--amber-soft); }

/* Checklisten */
.chap.check .n { background: var(--amber); color: var(--navy); font-size: .72rem; }
.chap.check.active .n { background: var(--navy); color: #fff; }
.clbar { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 28px; box-shadow: var(--shadow); font-size: .9rem; }
.clfort { flex: 1 1 140px; height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden; }
.clfort i { display: block; height: 100%; width: 0; background: var(--petrol); transition: width .2s; }
.clbar button { border: 1px solid var(--line); background: var(--bg-2); border-radius: 7px; padding: 5px 12px; font: inherit; font-size: .82rem; cursor: pointer; color: var(--navy); }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; background: #fff; }
ul.check li.ok { background: var(--petrol-soft); border-color: #b9dbe2; }
ul.check label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 1.5; }
ul.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--petrol); }
ul.check .refs { margin: 6px 0 0 32px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== Gase-Portal ===== */
.regelmarke { display: inline-block; font-style: normal; font-weight: 700; font-size: .72rem; letter-spacing: .04em; padding: 1px 7px; border-radius: 5px; background: var(--amber); color: var(--navy); vertical-align: 2px; }
.regelmarke.klein { font-size: .66rem; padding: 0 5px; margin-left: 4px; background: var(--bg-2); color: var(--slate); }
.regelmarke.gross { font-size: 1rem; padding: 4px 10px; border-radius: 8px; background: var(--navy); color: #fff; }
.brand .regelmarke { margin-right: 4px; }
.geb { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); background: #fff; margin: 0 2px 2px 0; }
.side .label.klein { font-size: .66rem; margin: 10px 10px 6px 40px; }
.chap.regel .n { background: var(--navy); color: #fff; font-size: .72rem; }
.chap.regel.offen { background: #fff; }
.chap.unterregel { padding: 6px 10px 6px 22px; font-size: .92rem; }
.chap.unterregel .n { min-width: 34px; height: 24px; font-size: .74rem; background: var(--petrol-soft); color: var(--petrol); }
.chap.unterregel.active .n { background: var(--navy); color: #fff; }
.chap.unterregel.unter { padding-left: 34px; }
.chap.unterregel .t { font-weight: 500; padding-top: 2px; }
.chap.unterregel.check .n svg, .chap .n svg { width: 15px; height: 15px; }

/* Fokus */
.fokus-btn { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; padding: 8px 12px; border-radius: 9px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .88rem; cursor: pointer; }
.fokus-btn.an { background: var(--amber); color: var(--navy); border-color: var(--amber); font-weight: 600; }
.fokus-panel { position: absolute; right: 16px; top: 60px; z-index: 40; width: min(560px, calc(100vw - 32px)); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(14,42,71,.25); padding: 16px 18px; font-size: .9rem; }
.fokus-zeile { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.fokus-zeile b { width: 70px; color: var(--navy); }
.fokus-panel button { font: inherit; font-size: .84rem; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--navy); cursor: pointer; }
.fokus-panel button.an { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.fokus-panel p { color: var(--slate); margin: 6px 0 10px; }
.fokus-panel .fokus-aus { border-radius: 8px; background: #fff; }
.fokus-banner { background: var(--amber-soft); border-left: 4px solid var(--amber); border-radius: 8px; padding: 10px 14px; margin: 0 0 24px; font-size: .9rem; }
.fokus-banner button { margin-left: 8px; font: inherit; font-size: .82rem; border: 1px solid var(--amber); background: #fff; border-radius: 7px; padding: 3px 10px; cursor: pointer; }
section.absatz.aus-fokus { opacity: .5; }
section.absatz.aus-fokus > :not(h2) { display: none; }
section.absatz.aus-fokus > h2 { cursor: pointer; font-size: 1.05rem; }
section.absatz.aus-fokus.offen { opacity: 1; }
section.absatz.aus-fokus.offen > :not(h2) { display: revert; }

/* Portalseiten */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); font-weight: 600; box-shadow: var(--shadow); }
.pill:hover { border-color: var(--petrol); }
.pill .ic svg { width: 16px; height: 16px; }
.pill .gas { margin: 0; }
.regelkarte p { margin: 4px 0; }
h2.zwisch { margin: 36px 0 14px; font-size: 1.3rem; }
.treffer-regel { margin: 0 0 28px; }
.treffer-regel > h2 { font-size: 1.15rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.anz { font-size: .78rem; font-weight: 600; color: var(--slate); background: var(--bg-2); border-radius: 999px; padding: 1px 9px; }
details.treffer-kap { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #fff; }
details.treffer-kap > summary { cursor: pointer; padding: 10px 14px; }
ul.treffer { list-style: none; margin: 0; padding: 0 8px 8px; }
ul.treffer li a { display: block; padding: 9px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
ul.treffer li a:hover { background: var(--petrol-soft); }
ul.treffer li a b { color: var(--navy); }
ul.treffer li a .ref { margin-left: 6px; }
ul.treffer li small { display: block; color: var(--slate); font-size: .84rem; margin-top: 2px; }
section.schritt ul.treffer { padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.snr { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--petrol); color: #fff; font-size: .95rem; margin-right: 10px; vertical-align: 2px; }
table.fakten { max-width: 760px; }
table.fakten th { width: 230px; text-align: left; vertical-align: top; }
@media (max-width: 820px) {
  .fokus-btn span { display: none; }
  .fokus-btn { margin-right: 6px; padding: 8px 9px; }
  .fokus-panel { right: 8px; left: 8px; width: auto; }
  table.fakten th { width: auto; }
}
.fokus-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.fokus-btn, .menu-btn { flex-shrink: 0; }
@media (max-width: 480px) {
  .brand b { font-size: 1rem; }
  .search input { width: 118px; padding-right: 8px; }
  .topbar { gap: 6px; padding: 0 10px; }
  .fokus-btn { margin-right: 0; }
}
