/* Schmelz Schweisserbetrieb. Design-Sprache «Die Leitungszeichnung»:
   die Seite ist ein technisches Blatt. Dunkler Zeichenkopf mit Rohrschema und
   Schriftfeld, darunter Betonhellgrau mit Stueckliste. Ein Akzent: Schweissglut. */
:root {
  --nacht: #15191B;       /* Zeichenkopf */
  --nacht-2: #1E2427;
  --strich: #8E9BA3;      /* Linien auf dunkel */
  --strich-leise: #2B3337;
  --beton: #E3E6E5;       /* Grund */
  --blatt: #F3F4F3;       /* helle Flaechen */
  --tinte: #121618;
  --leise: #4C575E;       /* Nebentext auf hell, 7:1 */
  --linie: #B9C0C3;
  --glut: #E8590C;        /* Grafik, gross */
  --knopf: #C2410C;       /* Knopf, weiss darauf 5.2:1 */
  --knopf-hover: #A3360A;
  --glut-text: #A8380A;   /* Akzent als Text auf hell */
  --hell: #EEF1F2;        /* Text auf dunkel */
  --hell-leise: #AEB9BF;
  --punkt: #4C575E;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --titel: 'Oswald', 'Arial Narrow', sans-serif;
  --text: 'Public Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--beton); color: var(--tinte); font: 400 1.0625rem/1.6 var(--text); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2 { font-family: var(--titel); font-weight: 600; text-transform: uppercase; letter-spacing: .01em; line-height: 1.02; margin: 0; }
p { margin: 0 0 1rem; }
.nummer { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.huelle { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.huelle--breit { width: min(1320px, 100% - 2.5rem); }
.huelle--schmal { width: min(760px, 100% - 2.5rem); }
.nurlesend { position: absolute; left: 1rem; top: -100px; background: var(--glut); color: #fff; padding: .6rem 1rem; z-index: 100; }
.nurlesend:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--glut); outline-offset: 2px; }

/* ---------- Vorschau-Hinweis ---------- */
.vorschau { margin: 0; background: #0D1011; color: var(--hell-leise); font-size: .875rem; text-align: center; padding: .5rem 1rem; line-height: 1.4; }
.vorschau a { color: var(--hell); }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--nacht); color: var(--hell); border-bottom: 1px solid var(--strich-leise); transition: box-shadow .2s; }
.kopf--gerollt { box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.marke { display: flex; align-items: center; gap: .6rem; text-decoration: none; min-height: 44px; }
.marke__zeichen { width: 28px; height: 28px; color: var(--hell); flex: none; }
.marke__name { font-family: var(--titel); font-weight: 600; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .04em; }
.marke__zusatz { font-family: var(--mono); font-size: .75rem; color: var(--hell-leise); padding-left: .6rem; border-left: 1px solid var(--strich-leise); }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav__link { color: var(--hell); text-decoration: none; font-size: .95rem; padding: .7rem 0; }
@media (hover: hover) { .nav__link:hover { text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Knoepfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.4rem; background: var(--knopf); color: #fff; border: 2px solid var(--knopf); font: 600 1rem/1.2 var(--text); text-decoration: none; cursor: pointer; border-radius: 0; transition: background .18s, transform .18s; }
.knopf:active { transform: translateY(1px); }
@media (hover: hover) { .knopf:hover { background: var(--knopf-hover); border-color: var(--knopf-hover); } }
.knopf:disabled { opacity: .65; cursor: wait; }
.knopf--klein { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.knopf--gross { min-height: 56px; padding: 1rem 1.8rem; font-size: 1.1rem; }
.knopf--rand { background: transparent; color: var(--tinte); border-color: var(--tinte); }
@media (hover: hover) { .knopf--rand:hover { background: var(--tinte); color: #fff; border-color: var(--tinte); } }

/* ---------- Held: das Zeichenblatt ---------- */
.held { background: var(--nacht); color: var(--hell); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); overflow: hidden; }
.held__text { max-width: 46rem; }
.held__titel { font-size: clamp(2.6rem, 7.4vw, 5.6rem); }
.held__einstieg { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--hell-leise); max-width: 38rem; margin: 1.25rem 0 1.75rem; }
.held__aktion { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.held__tel { color: var(--hell); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: .4rem; }
.held__tel .nummer { font-size: 1.1rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--glut); }

.blatt { position: relative; margin: clamp(2rem, 4vw, 3rem) 0 0; border: 1px solid var(--strich-leise); background: var(--nacht-2); }
.zeichnung { width: 100%; height: auto; aspect-ratio: 1200 / 390; }
.raster path { stroke: var(--strich-leise); stroke-width: 1; fill: none; }
.boden { stroke: var(--strich); stroke-width: 2; fill: none; }
.graben { stroke: var(--strich); stroke-width: 1.5; stroke-dasharray: 8 6; fill: none; }
.rohr__wand { fill: none; stroke: #C9D2D6; stroke-width: 16; stroke-linecap: butt; stroke-linejoin: round; }
.rohr__innen { fill: none; stroke: var(--nacht-2); stroke-width: 10; stroke-linejoin: round; }
.leitung--rueck .rohr__wand { stroke: #8E9BA3; }
.naht__punkt { fill: var(--glut); }
.naht__glut { fill: url(#glut); }
.naht__linie { stroke: var(--hell-leise); stroke-width: 1.2; fill: none; }
.naht text, .mass text, .beschrift text { font-family: var(--mono); font-size: 15px; fill: var(--hell-leise); }
.naht text { fill: var(--hell); font-weight: 600; }
.mass path { stroke: var(--strich); stroke-width: 1.2; fill: none; }

/* Der eine Moment: die Leitung zieht sich, dann gluehen die Naehte nacheinander auf. */
@media (prefers-reduced-motion: no-preference) {
  .leitung path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ziehen 1.4s .15s cubic-bezier(.55,.1,.25,1) forwards; }
  .leitung--rueck path { animation-delay: .35s; }
  .naht { opacity: 0; animation: naht .4s ease forwards; animation-delay: calc(1.45s + var(--n) * .22s); }
  .naht__glut { transform-box: fill-box; transform-origin: center; animation: glut 1.1s ease-out forwards; animation-delay: calc(1.45s + var(--n) * .22s); }
}
@keyframes ziehen { to { stroke-dashoffset: 0; } }
@keyframes naht { to { opacity: 1; } }
@keyframes glut { 0% { transform: scale(.3); opacity: 1; } 60% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: .55; } }

/* Schriftfeld: der Titelblock einer technischen Zeichnung, als Leiste unter dem Blatt */
.blatt { overflow: hidden; }
.schriftfeld { border-top: 1px solid var(--strich); background: var(--nacht); font-family: var(--mono); font-size: .85rem; }
.schriftfeld dl { margin: 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
.schriftfeld dl > div { padding: .7rem 1rem; border-left: 1px solid var(--strich-leise); min-width: 0; }
.schriftfeld dl > div:first-child { border-left: 0; }
.schriftfeld dt { color: var(--hell-leise); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.schriftfeld dd { margin: .15rem 0 0; color: var(--hell); }
.schriftfeld__gross dd { font-family: var(--titel); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.2; }
.schriftfeld a { color: var(--hell); }
.schriftfeld .punkte { --punkt: var(--hell-leise); margin-top: .2rem; }
@media (max-width: 900px) {
  .schriftfeld dl { grid-template-columns: 1fr 1fr; }
  .schriftfeld__gross { grid-column: 1 / -1; }
  .schriftfeld dl > div { border-left: 0; border-top: 1px solid var(--strich-leise); }
  .schriftfeld dl > div:first-child { border-top: 0; }
  .schriftfeld dl > div:nth-child(odd):not(:first-child) { border-left: 1px solid var(--strich-leise); }
}

/* ---------- Gepunktete Leerzeile (noch offene Angabe) ---------- */
.punkte { display: block; height: 1.1em; min-width: 3rem; background-image: radial-gradient(circle, var(--punkt) 1.1px, transparent 1.4px); background-size: 7px 7px; background-repeat: repeat-x; background-position: left bottom; }

/* ---------- Stueckliste ---------- */
.liste { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.liste__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.liste__kopf h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.liste__kopf p { margin: 0; color: var(--leise); max-width: 36rem; }
.stueckliste { border-top: 3px solid var(--tinte); }
.stueckliste__kopf, .posten { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) 9rem 8rem; gap: 1rem; align-items: center; }
.stueckliste__kopf { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); padding: .6rem 0; border-bottom: 1px solid var(--tinte); }
.posten { text-decoration: none; padding: 1.25rem 0; border-bottom: 1px solid var(--linie); position: relative; transition: background .18s; }
.posten__nr { font-family: var(--mono); font-size: 1.05rem; color: var(--glut-text); font-weight: 600; padding-left: .25rem; }
.posten__arbeit strong { display: block; font-family: var(--titel); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.75rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; }
.posten__arbeit span { display: block; color: var(--leise); margin-top: .2rem; }
.posten__stoff { font-family: var(--mono); font-size: .9rem; }
.posten__los { font-weight: 600; color: var(--glut-text); text-align: right; padding-right: .25rem; }
.posten__los span { display: inline-block; transition: transform .18s; }
@media (hover: hover) {
  .posten:hover { background: var(--blatt); }
  .posten:hover .posten__los span { transform: translateX(4px); }
}

/* ---------- Fuer wen ---------- */
.fuerwen { background: var(--blatt); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: clamp(3rem, 7vw, 5rem) 0; }
.fuerwen__raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 2.5rem 4rem; }
.fuerwen h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); margin-bottom: 1.1rem; }
.fuerwen p { color: var(--leise); max-width: 34rem; }
.angaben { border: 1px solid var(--tinte); background: #fff; }
.fuerwen .angaben__titel { margin: 0; max-width: none; padding: .7rem 1rem; background: var(--tinte); color: #fff; font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.angaben ol { list-style: none; margin: 0; padding: 0; }
.angaben li { display: flex; gap: 1rem; align-items: baseline; padding: .8rem 1rem; border-bottom: 1px solid var(--linie); }
.angaben li .nummer { color: var(--glut-text); width: 1.2rem; flex: none; }
.fuerwen .angaben__fuss { max-width: none; margin: 0 !important; padding: .8rem 1rem; font-size: .95rem; }

/* ---------- Anfrage ---------- */
.anfrage-teil { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.anfrage { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 2.5rem 4rem; align-items: start; }
.anfrage__seite h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.anfrage__seite > p { color: var(--leise); }
.karte-inhaber { margin: 1.5rem 0 .75rem; border-top: 1px solid var(--tinte); }
.karte-inhaber > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); align-items: baseline; }
.karte-inhaber dt { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); }
.karte-inhaber dd { margin: 0; }
.karte-inhaber a { color: var(--glut-text); font-size: 1.05rem; }
.anfrage__notiz { font-size: .9rem; color: var(--leise); }

.formularkasten, .erfolg { background: #fff; border: 1px solid var(--tinte); border-top: 6px solid var(--glut); padding: clamp(1.25rem, 3vw, 2.25rem); }
.fortschritt-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
html:not(.formular-an) .fortschritt-zeile { display: none; }
.fortschritt { display: flex; gap: .4rem; flex: 1; max-width: 14rem; }
.fortschritt__punkt { flex: 1; height: 6px; background: var(--linie); transition: background .25s; }
.fortschritt__punkt.erledigt { background: var(--glut); }
.fortschritt__stand { margin: 0; font-family: var(--mono); font-size: .8rem; color: var(--leise); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--titel); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2rem); text-transform: uppercase; padding: 0; margin-bottom: 1rem; outline: none; }
.formular-an .schritt { display: none; }
.formular-an .schritt.aktiv { display: block; animation: auf .25s ease; }
.schritt + .schritt { margin-top: 2.25rem; }
html:not(.formular-an) [data-weiter], html:not(.formular-an) [data-zurueck] { display: none; }
@keyframes auf { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .formular-an .schritt.aktiv { animation: none; } }
.wahl { display: grid; gap: .5rem; }
.wahl__option { display: flex; align-items: center; gap: .85rem; min-height: 56px; padding: .75rem 1rem; border: 1px solid var(--linie); cursor: pointer; transition: border-color .15s, background .15s; }
.wahl__option input { width: 1.2rem; height: 1.2rem; accent-color: var(--knopf); margin: 0; flex: none; }
.wahl__titel { font-weight: 600; }
.wahl__option:has(input:checked) { border-color: var(--glut); background: #FFF4EC; box-shadow: inset 4px 0 0 var(--glut); }
.wahl__option:has(input:focus-visible) { outline: 3px solid var(--glut); outline-offset: 2px; }
@media (hover: hover) { .wahl__option:hover { border-color: var(--tinte); } }
.feld { display: block; margin-bottom: 1rem; min-width: 0; }
.feld__name { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.optional { font-weight: 400; color: var(--leise); }
input[type="text"], input[type="tel"], input[type="email"], textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75rem .85rem; min-height: 48px; border: 1px solid #8E9BA3; border-radius: 0; background: var(--blatt); color: var(--tinte); transition: border-color .15s, box-shadow .15s; }
textarea { resize: vertical; min-height: 7rem; }
input:focus, textarea:focus { outline: none; border-color: var(--glut); box-shadow: 0 0 0 3px rgba(232,89,12,.25); background: #fff; }
[aria-invalid="true"] { border-color: #B42318 !important; }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.schritt__hilfe { color: var(--leise); margin-top: -.4rem; }
.schritt-weiter { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.zurueck { background: none; border: 0; font: inherit; color: var(--leise); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; padding: 0 .5rem; }
.formular-hinweis { font-size: .85rem; color: var(--leise); margin-top: .5rem; }
.meldung { background: #FDECEA; border-left: 4px solid #B42318; color: #7A1A12; padding: .75rem 1rem; margin: 0 0 1rem; font-weight: 500; }
.meldung a { color: inherit; }
#formular { position: relative; }
input.honig { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.erfolg__titel { font-family: var(--titel); font-size: 2rem; text-transform: uppercase; margin-bottom: .75rem; }
.erfolg a { color: var(--glut-text); }

/* ---------- Rechtsseiten und Meldeseiten ---------- */
.recht { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.recht h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; }
.recht a { color: var(--glut-text); }
.recht .knopf { color: #fff; }
.recht .knopf--rand { color: var(--tinte); }
.hinweis-kasten { background: var(--blatt); border-left: 4px solid var(--glut); padding: .9rem 1.1rem; margin-bottom: 1.5rem; }
.hinweis-kasten p { margin: 0; }
.offene-angaben { margin: 0 0 1rem; max-width: 28rem; }
.offene-angaben > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--linie); align-items: end; }
.offene-angaben dd { margin: 0; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
code { font-family: var(--mono); font-size: .9em; }

/* ---------- Fuss ---------- */
.fuss { background: var(--nacht); color: var(--hell-leise); padding: 3rem 0 1.5rem; font-size: .95rem; }
.fuss p { margin: 0 0 .3rem; }
.fuss a { color: var(--hell); }
.fuss__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.fuss__name { font-family: var(--titel); font-size: 1.3rem; text-transform: uppercase; color: var(--hell); }
.fuss__titel { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hell-leise); }
.fuss__offen { display: flex; gap: .75rem; align-items: end; max-width: 16rem; }
.fuss .punkte { --punkt: var(--hell-leise); flex: 1; }
.fuss__leiste { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--strich-leise); font-size: .875rem; }
.fuss__recht { display: flex; gap: 1.25rem; }
.fuss__recht a { display: inline-flex; align-items: center; min-height: 44px; }


/* ---------- Pruefzeile im Held ---------- */
.held__pruef { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; min-height: 44px; font-family: var(--mono); font-size: .85rem; color: var(--hell); text-decoration: none; border-bottom: 1px solid var(--strich-leise); }
.held__pruef-punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--glut); box-shadow: 0 0 0 4px rgba(232,89,12,.22); flex: none; }
@media (hover: hover) { .held__pruef:hover { border-bottom-color: var(--glut); } }

/* ---------- Pruefungen: Pruefprotokolle auf dunklem Blatt ---------- */
.pruef { background: var(--nacht); color: var(--hell); padding: clamp(3.5rem, 8vw, 6rem) 0; position: relative; overflow: hidden; }
.pruef::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--strich-leise) 1px, transparent 1px), linear-gradient(90deg, var(--strich-leise) 1px, transparent 1px); background-size: 40px 40px; opacity: .35; pointer-events: none; }
.pruef .huelle { position: relative; }
.pruef__kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 1.5rem 3rem; align-items: end; }
.pruef__kopf h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.pruef__zitat { margin: 0; border-left: 4px solid var(--glut); padding: .2rem 0 .2rem 1.25rem; }
.pruef__zitat p { margin: 0; font-family: var(--titel); font-weight: 600; text-transform: uppercase; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.05; color: #fff; }
.pruef__zitat footer { margin-top: .5rem; font-family: var(--mono); font-size: .85rem; color: var(--hell-leise); }
.pruef__einleitung { color: var(--hell-leise); max-width: 40rem; margin: 2rem 0 2.25rem; }
.pruef__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.protokoll { background: var(--nacht-2); border: 1px solid var(--strich-leise); border-top: 3px solid var(--glut); display: flex; flex-direction: column; }
.protokoll__titel { margin: 0; padding: 1rem 1.1rem; display: flex; align-items: baseline; gap: .75rem; font-family: var(--titel); font-weight: 500; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; border-bottom: 1px solid var(--strich-leise); }
.protokoll__prozess { font-family: var(--mono); font-size: .8rem; font-weight: 600; color: var(--nacht); background: var(--glut); padding: .15rem .45rem; letter-spacing: .04em; }
.protokoll dl { margin: 0; flex: 1; display: flex; flex-direction: column; }
.protokoll dl > div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; padding: .6rem 1.1rem; border-bottom: 1px solid var(--strich-leise); }
.protokoll dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hell-leise); padding-top: .2rem; }
.protokoll dd { margin: 0; font-size: .95rem; line-height: 1.45; }
.protokoll .protokoll__gueltig { margin-top: auto; border-bottom: 0; background: rgba(232,89,12,.08); }
.protokoll__gueltig dd { font-family: var(--mono); font-weight: 600; color: #fff; }
.pruef__versichert { margin: 1.25rem 0 0; padding: 1rem 1.1rem; display: flex; align-items: baseline; gap: .75rem; background: var(--nacht-2); border: 1px solid var(--strich-leise); border-left: 3px solid var(--glut); font-size: .95rem; line-height: 1.45; }
.pruef__versichert .protokoll__prozess { flex: none; text-transform: uppercase; }
@media (max-width: 1000px) { .pruef__raster { grid-template-columns: minmax(0, 1fr); } .pruef__kopf { grid-template-columns: minmax(0, 1fr); } }

.umbruch { overflow-wrap: anywhere; }

/* ---------- Verweis auf den Erbauer ---------- */
.kg-verweis { margin: .75rem 0 0; font-size: .8em; }
.kg-verweis a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.fuss .kg-verweis a { color: var(--hell-leise); }

/* ---------- Schmal ---------- */
@media (max-width: 900px) {
  .liste__kopf, .fuerwen__raster, .anfrage { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .huelle, .huelle--breit { width: calc(100% - 2rem); }
  .marke__zusatz { display: none; }
  .nav__link { display: none; }
  .zeichnung { aspect-ratio: 600 / 390; }
  .naht--rand text, .naht--rand .naht__linie { display: none; }
  .stueckliste__kopf { display: none; }
  .posten { grid-template-columns: 2.75rem minmax(0, 1fr); gap: .35rem .75rem; }
  .posten__stoff { grid-column: 2; font-size: .85rem; color: var(--leise); }
  .posten__los { grid-column: 2; text-align: left; }
  .paar { grid-template-columns: minmax(0, 1fr); }
  .fuss__raster { grid-template-columns: minmax(0, 1fr); }
  .held__aktion .knopf { width: 100%; }
}
