
/* Selbst gehostete Montage-Videos (build/eigene-videos.mjs). Seitenverhaeltnis
   aus width/height des <video>, die Videos sind nicht alle 16:9. */
.eigenes-video { margin: 8px 0 20px; max-width: 860px; }
.eigenes-video video { display: block; width: 100%; height: auto; background: var(--ink); border-radius: var(--radius); }
.eigenes-video figcaption { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.video-schritte { margin: 0 0 8px; padding-left: 22px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); max-width: 860px; }
.video-schritte li::marker { color: var(--bronze-deep); font-weight: 600; }
.glas-raster > .produkt-karte { grid-area: auto; }
.stufen-bestellweg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 28px; padding: 0; list-style: none; }
.stufen-bestellweg li { display: flex; align-items: start; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.stufen-bestellweg li > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--bronze-deep); color: var(--white); font-weight: 700; }
.stufen-bestellweg strong { display: block; font-size: 16px; line-height: 32px; }
.stufen-bestellweg a { display: inline-flex; align-items: center; min-height: 44px; margin-top: -6px; color: var(--bronze-deep); text-decoration: underline; text-underline-offset: 4px; }
.stufen-bestellweg p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.stufen-masshilfe { margin: 18px 0 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--cream); }
.stufen-masshilfe h4 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; }
.stufen-masshilfe p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.stufen-masshilfe svg { display: block; width: 100%; height: auto; margin: 4px 0 12px; }
.mass-umriss { stroke: var(--ink-soft); stroke-width: 1.5; }
.mass-wand { stroke: var(--ink); stroke-width: 8; }
.mass-teilung { stroke: var(--ink-soft); stroke-width: 1.5; stroke-dasharray: 6 4; }
.mass-beschriftung { fill: var(--ink); font-family: var(--body); font-size: 21px; }
.mass-treffer { fill: transparent; }
.mass-marke { fill: var(--white); stroke: var(--bronze-deep); stroke-width: 2; }
.mass-buchstabe { fill: var(--bronze-deep); font-family: var(--body); font-size: 22px; font-weight: 700; pointer-events: none; }
.stufen-masshilfe svg [data-mass-feld] { cursor: pointer; }
.mass-marke.mass-aktiv { fill: var(--bronze-deep); }
.mass-buchstabe.mass-aktiv { fill: var(--white); }
.mass-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mass-felder a { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--white); color: var(--ink); font-size: 14px; line-height: 1.35; }
.mass-felder a:hover, .mass-felder a.mass-aktiv { border-color: var(--bronze-deep); }
.mass-felder a:focus-visible { outline: 2px solid var(--bronze-deep); outline-offset: 2px; }
.mass-felder small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 13px; font-variant-numeric: tabular-nums; }
.mass-zeichen { display: inline-grid; place-items: center; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--bronze-deep); color: var(--white); font-size: 13px; font-weight: 700; vertical-align: middle; }
.pf-label .mass-zeichen { flex-basis: 20px; width: 20px; height: 20px; font-size: 11px; line-height: 1; }
.stufen-masshilfe .mass-hinweis { margin-top: 12px; font-size: 13px; }
@media (max-width: 720px) { .stufen-bestellweg { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 14px 0 20px; } .stufen-bestellweg li { padding: 10px 0; } .stufen-masshilfe { padding: 12px; } }
.stufen-buehne { padding-top: 16px; }
.stufen-kopf { margin-bottom: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-deep); }
.stufen-buehne .stufen-reiter { margin-top: -16px; }
.stufen-zeichnung { max-height: 470px; }
/* Kappe oder Punkthalter direkt unter der Ansicht (AN 27.09.2026). Knoepfe wie
   im Formular (.pf-wahl, 44 px). Mit hidden ohne Skript und beim Podest. */
.stufen-glaswahl { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--cream); min-width: 0; }
.stufen-glaswahl[hidden] { display: none; }
.stufen-glaswahl legend { float: left; width: 100%; margin: 0 0 6px; padding: 0; font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-deep); }
.stufen-glaswahl .pf-wahl { clear: both; }
/* Die drei Knoepfe teilen sich eine Zeile (AN 27.09.2026: kompakter, Seite
   kuerzer), ab 360 px gemessen. Kein Knopf wird schmaler als sein laengstes
   Wort (min-width auto); nur auf noch schmaleren Handys rutscht einer in die
   zweite Zeile, statt dass "Abdeckkappe" ueber den Rand laeuft (KI-Pruefung #198). */
.stufen-glaswahl .pf-wahl label { flex: 1 1 0; justify-content: center; text-align: center; padding: 6px 8px; }
.stufen-glaswahl-hinweis { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
/* Zeilen, die nur die Zeichnung erklaeren (Massstab, gestrichelte Teile),
   entfallen in der 3D-Ansicht; dort steht die Zeile mit den Massen darueber. */
.stufen-buehne[data-ansicht="3d"] [data-stufen-legende] .nur-zeichnung { display: none; }
/* Richtpreis im Formular ueber "In den Anfragekorb" (stufen-preis.js). Rahmen
   und Hintergrund nur auf der Seite - auf dem Druckblatt gilt .druck-preis. */
.produkt-karte .stufen-preis { margin: 18px 0 0; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--cream); }
/* Dunkel wie der Richtpreis beim Glas (AN 27.09.2026: das Dunkle und das Braun
   der Seite). Nur auf dem Bildschirm; das Druckblatt setzt .druck-preis. */
@media screen {
  .produkt-karte .stufen-preis { background: var(--ink); border-color: var(--ink); color: var(--cream); }
  .produkt-karte .stufen-preis .stufen-preis-titel { color: var(--bronze-glow); }
  .produkt-karte .stufen-preis .stufen-preis-betrag { color: var(--white); }
  .produkt-karte .stufen-preis .stufen-preis-unter, .produkt-karte .stufen-preis .stufen-preis-fuss { color: var(--cream-deep); }
  .produkt-karte .stufen-preis .stufen-preis-hinweis, .produkt-karte .stufen-preis .stufen-preis-satz, .produkt-karte .stufen-preis .stufen-preis-teile { color: var(--cream); }
  .produkt-karte .stufen-preis .stufen-preis-teile { border-top-color: rgba(255, 252, 246, 0.16); }
  .produkt-karte .stufen-preis a { color: var(--bronze-glow); }
}
.stufen-preis-titel { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-deep); }
.stufen-preis-betrag { margin-top: 2px; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.stufen-preis-betrag.klein { font-size: 19px; }
.stufen-preis-unter { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.stufen-preis-teile { display: grid; gap: 4px; margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--line); }
.stufen-preis-teile div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.stufen-preis-teile dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stufen-preis-hinweis, .stufen-preis-satz { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.stufen-preis-fuss { margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }
.s-flaeche { stroke: #3B352D; stroke-width: 1.2; }
.s-maserung { fill: none; stroke: #3B352D; stroke-opacity: 0.22; stroke-width: 1; }
.s-led { stroke: #E0A83A; stroke-width: 3; stroke-dasharray: 8 4; }
.s-fuge { stroke: #3B352D; stroke-width: 1.2; }
.s-glas { fill-opacity: 0.75; stroke-width: 1; }
.s-halter { stroke: #3B352D; stroke-width: 0.8; }
.s-wand { fill: #ECE7DF; stroke: none; }
.s-wandlinie { stroke: #A89E90; stroke-width: 1; }
.s-konsole { fill: #8E949B; fill-opacity: 0.18; stroke: #5E646B; stroke-width: 1; stroke-dasharray: 4 3; }
/* Halteraussparung der Eichenstufen (Zeichnung AN-2026-0925-01 Rev. 01): in der
   Draufsicht gestrichelt, in der Ansicht der offenen Seite abgestuft dunkler als
   die Flaeche, darin der Hohlraum - halbdurchsichtig, damit jede Oberflaeche passt. */
/* Gestrichelt: die Halteraussparung der Stufe, die Blende unter der Platte des Podests. */
.s-aussparung, .s-verdeckt { fill: none; stroke: #3B352D; stroke-width: 1; stroke-dasharray: 4 3; }
.s-aussparung-flaeche { fill: #3B2A18; fill-opacity: 0.16; stroke: #3B352D; stroke-width: 1; }
.s-hohl { fill: #2A1E12; fill-opacity: 0.42; stroke: #3B352D; stroke-width: 0.8; stroke-dasharray: 4 3; }
/* Glasbefestigung (AN 12.11.2026): Rampamuffen im Abschluss, Ansicht freies Ende */
.s-muffe { fill: #C4C8CC; stroke: #5E646B; stroke-width: 1; }
/* Keramik auf Gehrung: die Fuge in der Ecke des Schnitts, der Ausschnitt der LED-Nut */
.s-gehrung { stroke: #8A4B1E; stroke-width: 1.8; }
.s-stoss { stroke: #8A4B1E; stroke-width: 1.8; }
.s-nut { fill: var(--white); stroke: #3B352D; stroke-width: 1; }
.s-schnittlinie { stroke: #6F6456; stroke-width: 1; stroke-dasharray: 10 3 2 3; }
.s-profil { fill: #C9CED3; stroke: #7C838A; stroke-width: 0.8; }
/* Zeichnung der Stahlkonsole (seiten/produkte/konsolen.mjs) */
.s-stahl { fill: #C9CED3; stroke: #3B352D; stroke-width: 1.2; }
.s-bohrung { fill: var(--white); stroke: #3B352D; stroke-width: 1; }
.s-opal { fill: #F7F3E8; stroke: #E0A83A; stroke-width: 0.8; }
.s-mass { fill: none; stroke: var(--bronze-deep); stroke-width: 1; }
.s-masstext { fill: var(--bronze-deep); font-family: var(--body); font-size: 12px; font-weight: 600; }
.s-titel { fill: #6F6456; font-family: var(--body); font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; }
.s-hinweis { fill: #6F6456; font-family: var(--body); font-size: 11px; }
.stufen-mehr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.stufen-mehr p { max-width: 62ch; margin-bottom: 14px; font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
@media (max-width: 900px) { .stufen-mehr { grid-template-columns: minmax(0, 1fr); } }

.kragarm-zeichnung { max-height: 520px; }
.kragarm-zeichnung * { vector-effect: non-scaling-stroke; }
.kragarm-ansicht + .kragarm-ansicht { margin-top: 14px; }
.k-beton { fill: #C9C4BC; stroke: #8C857B; stroke-width: 1; }
.k-aufbau { fill: #E6DCC8; stroke: #B9AC9B; stroke-width: 0.8; }
.k-ffb { stroke: #3B352D; stroke-width: 1.4; }
.k-rohboden { stroke: #8C857B; stroke-width: 1; stroke-dasharray: 6 4; }
.k-stufe-eiche { fill: #C18D49; }
.k-stufe-keramik { fill: #D8D2C6; }
.k-glas { fill: #A9D8CF; fill-opacity: 0.45; stroke: #4E8B81; stroke-width: 1.2; }
.k-galerie { fill-opacity: 0.28; }
.k-glas-oben { fill-opacity: 0.9; }
.k-profil { fill: #5E5850; stroke: #3B352D; stroke-width: 0.8; }
.k-bohrung { fill: var(--white); stroke: #3B352D; stroke-width: 1; }
.k-laser { stroke: #C62828; stroke-width: 1.2; stroke-dasharray: 10 4; }
.k-lasertext { fill: #A31F1F; }
.k-kopf { stroke: var(--bronze-deep); stroke-width: 1.2; stroke-dasharray: 3 3; }
.k-decke { fill: #E3DED6; stroke: #8C857B; stroke-width: 1; }
.k-oeffnung { fill: var(--white); stroke: #3B352D; stroke-width: 1.2; stroke-dasharray: 8 4; }
.k-wandschnitt { fill: #8C857B; stroke: #3B352D; stroke-width: 1; }
.k-wandflaeche { fill: #ECE7DF; stroke: #B9AC9B; stroke-width: 1; }
.k-glaslinie { stroke: #4E8B81; stroke-width: 3; }
.k-kante-aus { stroke: #8C857B; stroke-width: 1; stroke-dasharray: 4 4; }
.k-lauf { stroke: #3B352D; stroke-width: 1; }
.kragarm-masshilfe svg { max-height: 300px; }
.kfg-panel .kfg-mehr.stufen-masshilfe { margin: 0 0 8px; padding: 2px 10px 6px; }
.kragarm-masshilfe p { margin: 4px 0 6px; font-size: 12.5px; }
.kragarm-schritt { container: formular / inline-size; }
.kragarm-vorschlag { margin: 2px 0 6px; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.kfg-steigungen button { min-width: 40px; padding: 4px 0; font-variant-numeric: tabular-nums; }
.kfg-steigungen button:first-child { padding: 4px 10px; }
.kragarm-live { margin-top: 8px; }
.kragarm-live .kragarm-pruefkopf { font-size: 13px; padding: 6px 10px; }
.kragarm-live .kragarm-pruefungen { font-size: 12.5px; }
.kfg-panel .kragarm-liste { font-size: 12.5px; line-height: 1.5; }
.kragarm-liste { margin: 8px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.kragarm-klein { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.kragarm-galerie { margin-top: 14px; }
.kragarm-kanten { border: 0; margin: 8px 0 0; padding: 0 0 0 4px; min-width: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.kragarm-kanten legend { padding: 0; margin-bottom: 4px; }
.kragarm-kanten .pf-hinweis { flex-basis: 100%; }
.kragarm-weiter { margin: 20px 0 0; }
.kragarm-weiter .btn-secondary { min-height: var(--shop-haupt-h); }
.kragarm-meldung { margin-top: 10px; padding: 10px 12px; border-left: 3px solid #C62828; background: var(--cream); font-size: 14px; color: var(--ink); }
.kragarm-druck:empty { display: none; }
.kragarm-konfig .glas-inner { max-width: 1320px; }
.kragarm-buehne .glas-preiszeile { margin-top: 10px; }
.kragarm-3d-marken span.rot { color: #A31F1F; border-color: #C62828; }
.kragarm-3d-marken span.kfg-mass { font-size: 12.5px; color: var(--bronze-deep); background: rgba(255, 252, 246, 0.95); border: 1.5px solid var(--bronze-deep); }
.kragarm-3d-mass { position: absolute; left: 0; top: 0; z-index: 3; display: grid; gap: 1px; padding: 6px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--ink); background: rgba(255, 252, 246, 0.96); border: 1px solid var(--bronze); border-radius: var(--radius-klein); box-shadow: 0 4px 14px rgba(34, 28, 22, 0.16); pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kragarm-3d-mass .gruen::before, .kragarm-3d-mass .rot::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #2E7D32; }
.kragarm-3d-mass .rot { color: #A31F1F; }
.kragarm-3d-mass .rot::before { background: #C62828; }
.kragarm-3d-mass .grenze { color: #2E7D32; font-weight: 500; }
.ansicht-3d-flaeche.zieht canvas { cursor: grabbing; }
.kragarm-3d-kopf { font-weight: 700; }
.kragarm-3d-kopf.gruen { color: #2E7D32; }
.kragarm-3d-kopf.rot { color: #A31F1F; }
.kragarm-griffe { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 8px; }
.kragarm-griffe-titel { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.kragarm-griff { display: inline-flex; align-items: center; gap: 4px; }
.kragarm-griff .glas-knopf { margin-top: 0; min-width: var(--shop-knopf-h); padding: 0 8px; }
.kragarm-griff-regler { display: inline-flex; align-items: center; gap: 4px; min-height: var(--shop-knopf-h); padding: 0 8px; font-size: 13.5px; color: var(--ink-soft); border: 1px solid var(--rand-bedien); border-radius: var(--radius-klein); background: var(--white); font-variant-numeric: tabular-nums; cursor: default; }
.kragarm-griff-regler b { color: var(--ink); }
.kragarm-griff-regler:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.kragarm-griff.rot .kragarm-griff-regler { border-color: #C62828; }
.kragarm-druck-huelle { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.kragarm-druck-huelle summary { cursor: pointer; min-height: var(--shop-knopf-h); display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }
.kragarm-druck { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.kragarm-druck .btn-secondary { min-height: var(--shop-knopf-h); padding: 6px 12px; font-size: 13.5px; }
/* Griff Treppenbeginn im Grundriss: schlanke Pfeile, waagerecht ziehen (senkrecht scrollt die Seite weiter). */
svg[data-kragarm-ansicht="grundriss"] { touch-action: pan-y; }
.k-griff { cursor: ew-resize; outline: none; }
.k-griff-treffer { fill: transparent; }
.k-griff-pfeil { fill: none; stroke: var(--bronze-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.k-griff:hover .k-griff-pfeil, .k-griff:focus-visible .k-griff-pfeil { stroke: var(--ink); stroke-width: 3; }
.k-griff:focus-visible .k-griff-treffer { fill: rgba(138, 75, 30, 0.12); }
/* Pruefungen: die Ampel ist ein Punkt, der Text bleibt dunkel (Kontrast). */
.kragarm-pruefkopf { margin: 0 0 6px; padding: 8px 12px; border-left: 4px solid; border-radius: var(--radius-klein); background: var(--cream); font-size: 14.5px; font-weight: 700; color: var(--ink); }
.kragarm-pruefkopf.gruen { border-color: #2E7D32; }
.kragarm-pruefkopf.gelb { border-color: #B7791F; }
.kragarm-pruefkopf.rot { border-color: #C62828; }
.kragarm-pruefungen { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.kragarm-pruefungen li { display: flex; gap: 8px; align-items: baseline; }
.kragarm-pruefungen b { color: var(--ink); }
.kragarm-ampel { flex: none; width: 10px; height: 10px; border-radius: 50%; transform: translateY(1px); }
.kragarm-pruefungen .gruen .kragarm-ampel { background: #2E7D32; }
.kragarm-pruefungen .gelb .kragarm-ampel { background: #B7791F; }
.kragarm-pruefungen .rot .kragarm-ampel { background: #C62828; }
/* Schritt 5: Ergebnis */
.kragarm-ergebnis h3 { margin: 22px 0 10px; font-size: 18px; color: var(--ink); }
.kragarm-ergebnis h4 { margin: 14px 0 6px; font-size: 15.5px; color: var(--ink); }
.kragarm-ergebnis .section-eyebrow .glas-nr { margin-right: 8px; }
.kragarm-ergebnis-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 40px; align-items: start; }
.kragarm-kennwerte { display: grid; gap: 0; margin: 0; }
.kragarm-kennwerte div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kragarm-kennwerte dt { color: var(--ink-soft); }
.kragarm-kennwerte dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.kragarm-tabelle-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kragarm-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.kragarm-tabelle caption { caption-side: top; text-align: left; padding-bottom: 6px; font-size: 13px; color: var(--ink-mute); }
.kragarm-tabelle th, .kragarm-tabelle td { padding: 7px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.kragarm-tabelle thead th { font-size: 12.5px; color: var(--ink-mute); font-weight: 600; }
.kragarm-tabelle tbody th { font-weight: 600; color: var(--ink); }
.kragarm-tabelle .ausser-summe th, .kragarm-tabelle .ausser-summe td { color: var(--ink-soft); }
.kragarm-zahlen td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.kragarm-menge { white-space: nowrap; }
.kragarm-betrag { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kragarm-betrag strong, .kragarm-betrag span, .kragarm-betrag em { display: block; }
.kragarm-betrag span { font-size: 12px; color: var(--ink-mute); }
.kragarm-betrag em { font-style: normal; color: var(--ink-soft); white-space: normal; }
.kragarm-angerechnet { white-space: normal; }
/* Bilder der Stueckliste und "Das bekommen Sie" (Auftrag AN 14.11.2026): Knopf zum Vergroessern, am Finger 44 px. */
.kragarm-pos { display: flex; gap: 10px; align-items: flex-start; }
.kragarm-pos > span:last-child { min-width: 0; }
.kragarm-bild { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 60px; height: 46px; padding: 2px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--white); cursor: zoom-in; font: inherit; }
.kragarm-bild.leer { border-color: transparent; background: none; cursor: default; }
.kragarm-bild svg { display: block; width: 100%; height: 100%; max-height: none; }
.kragarm-bild:hover { border-color: var(--ink-mute); }
.kragarm-bild:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.kragarm-unterlagen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; margin: 0 0 10px; padding: 0; list-style: none; }
.kragarm-unterlagen li { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kragarm-bild.gross { width: 100%; height: 150px; padding: 6px; }
.kragarm-unterlagen p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.kragarm-unterlagen b { display: block; font-size: 15px; color: var(--ink); }
.kragarm-bild-dialog { width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 16px; border: 0; border-radius: var(--radius-klein); background: var(--white); color: var(--ink); }
.kragarm-bild-dialog::backdrop { background: rgba(26, 22, 18, 0.6); }
.kragarm-bild-gross svg { display: block; width: 100%; height: auto; max-height: 70vh; }
.kragarm-bild-dialog .btn-secondary { min-height: 44px; font-family: inherit; cursor: pointer; }
.kragarm-summe { margin-top: 14px; padding: 14px 16px 16px; border-radius: var(--radius-klein); background: var(--ink); color: var(--cream); }
.kragarm-korb { margin-top: 16px; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--white); }
.kragarm-korb-titel { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.kragarm-korb label.korb-haken { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: 14px; line-height: 1.55; color: var(--ink); cursor: pointer; }
.kragarm-korb .btn-primary { font-family: inherit; border: 0; cursor: pointer; min-height: 44px; }
.kragarm-korb-weiter { margin-top: 10px; }
.kragarm-summe-titel { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-glow); }
.kragarm-summe-betrag { margin-top: 2px; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--white); font-variant-numeric: tabular-nums; }
.kragarm-summe-betrag.klein { font-size: 19px; }
.kragarm-summe-unter { font-size: 13px; color: var(--cream-deep); }
.kragarm-summe-fuss { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--cream-deep); }
.kragarm-laser { margin: 0 0 10px; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.kragarm-glas-hinweis { margin-top: 12px; padding: 10px 12px; border-left: 3px solid var(--bronze); background: var(--cream); font-size: 13.5px; line-height: 1.55; color: var(--ink); }
.kragarm-bestaetigt { margin-bottom: 18px; padding: 10px 12px; border: 1px solid var(--bronze); border-radius: var(--radius-klein); background: var(--cream); }
.kragarm-entscheide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 0; padding: 0; list-style: none; }
.kragarm-entscheide li { padding: 12px 14px; border-left: 3px solid var(--bronze); background: var(--white); font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.kragarm-entscheide strong { color: var(--ink); }
@media (max-width: 900px) {
  .kragarm-ergebnis-raster, .kragarm-entscheide { grid-template-columns: minmax(0, 1fr); }
  .kragarm-unterlagen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Am Handy fehlt der Platz fuer vier Spalten: Einzelpreis aus, die Summe bleibt sichtbar. */
@media (max-width: 620px) {
  .kragarm-stueckliste th:nth-child(3), .kragarm-stueckliste td:nth-child(3) { display: none; }
  .kragarm-tabelle th, .kragarm-tabelle td { padding: 6px 5px; }
  /* Bild ueber dem Text: neben ihm bliebe der Position zu wenig Breite, die Summe liefe ueber. */
  .kragarm-pos { flex-direction: column; gap: 6px; }
  .kragarm-bild { width: 60px; height: 44px; }
  .kragarm-bild.gross { height: 120px; }
}

.rg-bilder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin: 20px 0 28px; }
.rg-bild { margin: 0; padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.rg-bild.breit { grid-column: 1 / -1; }
.rg-bild svg { display: block; width: 100%; height: auto; max-height: 440px; }
.rg-bild img { display: block; width: 100%; height: auto; }
.rg-bild figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }
.rg-tabelle-rahmen { overflow-x: auto; margin: 8px 0 28px; }
.rg-tabelle { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rg-tabelle caption { caption-side: top; text-align: left; font-size: 12.5px; color: var(--ink-mute); padding-bottom: 8px; }
.rg-tabelle th, .rg-tabelle td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rg-tabelle thead th { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-deep); }
.rg-tabelle tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.glas-inner { max-width: 1180px; margin: 0 auto; }
.glas-konfig { background: var(--cream-light); padding: 64px 24px 72px; border-bottom: 1px solid var(--line); }
.glas-konfig .section-title, .glas-auswahl .section-title { margin-bottom: 28px; }
.glas-raster { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 32px 44px; align-items: start; }
/* Die Zeichnung bleibt am Rechner stehen, waehrend rechts die Schritte laufen. */
.glas-buehne { position: sticky; top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px 16px; box-shadow: var(--shadow-soft); overflow: hidden; }
.glas-reiter { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 0 -18px 12px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; }
.glas-reiter button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-mute); background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 10px 6px; min-height: var(--shop-knopf-h); cursor: pointer; white-space: nowrap; }
.glas-reiter button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--bronze); }
.glas-reiter button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.glas-zeichnung { display: block; width: 100%; height: auto; max-height: 420px; }
.glas-legende { list-style: none; display: grid; gap: 3px; margin: 10px 0 0; padding: 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.glas-legende[hidden], .glas-notiz[hidden] { display: none; }
.glas-legende li { position: relative; padding-left: 14px; }
.glas-legende li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 7px; height: 1px; background: var(--bronze); }
.glas-legende li.stark { color: var(--ink); font-weight: 700; }
.glas-notiz { font-size: 12px; color: var(--ink-mute); margin-top: 8px; }
.glas-fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 4px; }
.glas-fotos[hidden] { display: none; }
.glas-fotos figure { margin: 0; }
.glas-fotos img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-klein); }
.glas-fotos figcaption { font-size: 12px; line-height: 1.45; color: var(--ink-mute); padding-top: 6px; }
.glas-preiszeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin: 14px -18px -16px; padding: 14px 18px; border-top: 1px solid var(--line); background: var(--cream); }
.glas-preiszeile strong { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.glas-preiszeile a { font-size: 14px; color: var(--bronze-deep); border-bottom: 1px solid var(--line); }
.glas-hinweis { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); background: var(--white); border-left: 3px solid var(--bronze); border-radius: var(--radius-klein); padding: 10px 12px; margin-top: 12px; }
.glas-hinweis[hidden] { display: none; }
/* Schritte */
.glas-schritt { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.glas-schritt[hidden] { display: none; }
.glas-schritt > legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 8px; font-size: 17px; font-weight: 700; color: var(--ink); }
.glas-nr { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--bronze-deep); border-radius: 50%; background: var(--bronze-deep); font-size: 13px; font-weight: 700; color: var(--white); }
.glas-konfig input[type="number"], .glas-konfig input[type="text"], .glas-konfig select { min-height: var(--shop-feld-h); border: 1px solid var(--rand-bedien); border-radius: var(--radius-klein); background-color: var(--white); font-family: inherit; font-size: 16px; color: var(--ink); padding: 3px 10px; }
.glas-konfig select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.6 6 6.4l5-4.8' fill='none' stroke='%23A98457' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px; }
.glas-konfig input:focus-visible, .glas-konfig select:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.glas-konfig .pf-zahl { max-width: 180px; }
#glas-plz { max-width: 160px; }
.glas-glas { margin-top: 14px; }
.glas-konfig .pf-hinweis a { color: var(--bronze-deep); border-bottom: 1px solid var(--line); }
.glas-konfig .pf-hinweis a:hover { color: var(--ink); }
.glas-unterwahl { margin-top: 16px; }
.glas-unterwahl[hidden] { display: none; }
/* Gesperrte Oberflaechen (z. B. eine Farbe, die das System nicht hat):
   Eine gesperrte Oberflaeche ist dann kein Wechselgrund mehr, sondern Ballast.
   Der Satz darunter nennt weiter, was es fuer diese Schiene nicht gibt. */
.glas-unterwahl .pf-wahl input:disabled + label { display: none; }
.glas-schiene-satz { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.glas-schiene-satz strong { color: var(--ink); }
.glas-herkunft-satz { margin: 4px 0 0; }
.glas-abschnitte { list-style: none; display: grid; gap: 6px; margin: 10px 0 0; padding: 0; }
.glas-abschnitt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-klein); padding: 4px 10px; }
.glas-abschnitt-name { font-size: 14px; font-weight: 700; color: var(--ink); min-width: 84px; }
.glas-zahl { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-mute); }
.glas-zahl input { width: 96px; }
.glas-zahl.klein input { width: 78px; }
.glas-klein { display: inline-flex; align-items: center; gap: 8px; min-height: var(--shop-wahl-h); font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.glas-klein input { width: 18px; height: 18px; accent-color: var(--ink); }
.glas-weg { margin-left: auto; min-height: var(--shop-wahl-h); font: inherit; font-size: 13px; color: var(--ink-soft); background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.glas-ecke { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0 12px 0 28px; font-size: 13.5px; color: var(--ink-soft); }
.glas-ecke::before { content: ''; position: absolute; left: 14px; top: -8px; bottom: -8px; border-left: 1px dashed var(--bronze); }
.glas-ecke label { font-weight: 700; color: var(--ink); }
.glas-eckloesung fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: 0 16px; margin: 0; padding: 4px 12px; border: 0; }
.glas-eckloesung legend { float: left; padding: 0; margin-right: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.glas-knopf { margin-top: 10px; min-height: var(--shop-knopf-h); padding: 6px 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: var(--radius-klein); cursor: pointer; }
.glas-knopf:hover { background: var(--ink); color: var(--cream); }
.glas-knopf[hidden] { display: none; }
/* Karten zum Anklicken: Montageart, Schiene, Leistung */
.wahl-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.wahl-karten.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Die zwei Karten mit Piktogramm standen 279 px hoch (AN 28.09.2026: zu lang). */
.wahl-karten.zwei .wahl-bild { aspect-ratio: 2 / 1; }
.wahl-karten.liste { grid-template-columns: minmax(0, 1fr); }
.wahl-karten > input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wahl-karte { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 10px 10px 12px; background: var(--white); border: 1px solid var(--rand-bedien); border-radius: var(--radius); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
@media (hover: hover) and (pointer: fine) { .wahl-karte:hover { border-color: var(--bronze); } }
.wahl-karten > input:checked + .wahl-karte { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), inset 0 -3px 0 var(--bronze); }
.wahl-karten > input:focus-visible + .wahl-karte { outline: 2px solid var(--ink); outline-offset: 2px; }
.wahl-karten > input:disabled + .wahl-karte { cursor: not-allowed; background: var(--cream-light); }
.wahl-karten > input:disabled + .wahl-karte .wahl-bild { opacity: 0.45; }
.wahl-karten > input:disabled + .wahl-karte .wahl-titel { color: var(--ink-mute); }
.wahl-bild { display: block; aspect-ratio: 4/3; margin-bottom: 6px; background: var(--white); }
.wahl-bild picture { display: block; width: 100%; height: 100%; }
.wahl-bild img { display: block; width: 100%; height: 100%; object-fit: contain; }
.wahl-titel { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.wahl-unter { font-size: 12.5px; line-height: 1.45; color: var(--ink-mute); }
.wahl-sperre { font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--bronze-deep); }
.wahl-marke { align-self: flex-start; margin-top: 2px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--bronze-deep); }
.wahl-karten.liste .wahl-karte { display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.wahl-karten.liste .wahl-bild { grid-row: 1 / 3; aspect-ratio: 124/70; margin: 0; background: var(--cream-light); border-radius: var(--radius-klein); }
.wahl-piktogramm { display: block; width: 100%; height: 100%; }
.p-decke { fill: var(--cream-deep); stroke: var(--ink-soft); stroke-width: 1; }
.p-aufbau { fill: var(--white); stroke: var(--ink-mute); stroke-width: 0.6; }
.p-schiene { fill: #C9BFAF; stroke: var(--ink); stroke-width: 1; }
.p-blende { fill: #9C9488; }
.p-halter { fill: var(--ink); }
.p-glas { fill: #7FB2C4; fill-opacity: 0.35; stroke: #7FB2C4; stroke-width: 1; }
.p-ffb { stroke: var(--bronze-deep); stroke-width: 1; stroke-dasharray: 4 3; }
/* Zeichnung (glas-zeichnung.js) */
.z-linie { stroke: #3B352D; fill: none; stroke-width: 1.6; }
.z-glas { fill: #7FB2C4; fill-opacity: 0.26; stroke: #7FB2C4; stroke-width: 1.2; }
.z-profil { fill: #C9BFAF; stroke: #3B352D; stroke-width: 1.2; }
.z-blende { fill: #9C9488; stroke: #3B352D; stroke-width: 0.8; }
.z-halter { fill: #2B2B2B; stroke: #111; stroke-width: 0.6; }
.z-langloch { fill: var(--white); stroke: #111; stroke-width: 0.6; }
.z-schraube { fill: var(--bronze); stroke: #3B352D; stroke-width: 0.6; }
.z-pfeil { stroke: var(--bronze-deep); stroke-width: 1.2; fill: none; }
.z-mass { stroke: var(--bronze-deep); stroke-width: 1; fill: none; }
.z-masstext { fill: var(--bronze-deep); font-family: var(--body); font-size: 11px; font-weight: 600; }
.z-schraffur { stroke: #C9BFAF; stroke-width: 1; }
.z-decke { fill: #C9BFAF; fill-opacity: 0.32; }
.z-daemmung { fill: #F1E3B8; stroke: #C9BFAF; stroke-width: 0.6; }
.z-estrich { fill: #D8D0C2; stroke: #C9BFAF; stroke-width: 0.6; }
.z-belag { fill: #C4A27A; stroke: #3B352D; stroke-width: 0.6; }
.z-ffb { stroke: var(--bronze-deep); stroke-width: 1.2; stroke-dasharray: 6 4; }
.z-anker { stroke: #3B352D; stroke-width: 2.2; }
.z-bruch-grund { stroke: var(--white); stroke-width: 7; fill: none; }
.z-bruch { stroke: #3B352D; stroke-width: 1.2; fill: none; }
.z-raum { fill: #6F6456; font-family: var(--body); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; }
.z-schiene { stroke: #3B352D; stroke-width: 2.4; fill: none; stroke-linejoin: round; }
.z-schiene-breit { stroke: #3B352D; stroke-width: 10; stroke-opacity: 0.2; fill: none; stroke-linejoin: round; }
.z-endkappe { fill: var(--white); stroke: #3B352D; stroke-width: 1.4; }
.z-ecke { fill: none; stroke: #3B352D; stroke-width: 1.2; stroke-dasharray: 3 2; }
.z-boden { stroke: #3B352D; stroke-width: 1.6; }
/* Stueckliste und Preiskasten */
.glas-auswahl { background: var(--white); padding: 64px 24px 72px; border-bottom: 1px solid var(--line); }
.glas-auswahl-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 32px 40px; align-items: start; }
.glas-katalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.glas-katalog > .glas-hinweis { grid-column: 1 / -1; margin: 0; }
.glas-artikel { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.glas-artikel-bild { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: var(--white); border-bottom: 1px solid var(--line-soft); }
.glas-artikel-bild picture { display: block; width: 100%; height: 100%; }
.glas-artikel-bild img { display: block; width: 100%; height: 100%; object-fit: contain; }
.glas-artikel-leer { width: 44%; height: 68%; border: 1px solid #7FB2C4; border-radius: 2px; background: linear-gradient(135deg, rgba(127, 178, 196, 0.3), rgba(127, 178, 196, 0.06)); }
.glas-artikel-text { display: grid; gap: 3px; padding: 12px 14px 14px; }
.glas-rolle { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze-deep); }
.glas-artikel h3 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.glas-herkunft { font-size: 12.5px; line-height: 1.45; color: var(--ink-mute); overflow-wrap: anywhere; }
.glas-nb { white-space: nowrap; }
.glas-menge { margin-top: 4px; font-size: 16px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.glas-satz { font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.glas-artikel.leistung { background: var(--cream-light); border-left: 3px solid var(--bronze); }
.glas-zuschnitt { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.glas-zuschnitt > summary { cursor: pointer; padding: 10px 14px; font-weight: 600; font-size: 14.5px; min-height: 24px; }
.glas-zuschnitt > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.glas-zuschnitt-rahmen { overflow-x: auto; padding: 0 14px; }
.glas-zuschnitt-tabelle { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.glas-zuschnitt-tabelle th, .glas-zuschnitt-tabelle td { text-align: left; vertical-align: top; padding: 6px 8px; border-bottom: 1px solid var(--line-soft); }
.glas-zuschnitt-tabelle th { font-size: 12.5px; color: var(--ink-mute); font-weight: 600; }
.glas-zuschnitt-tabelle small { color: var(--ink-mute); }
.glas-stangen { margin: 10px 14px 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.glas-zuschnitt > .glas-hinweis { margin: 8px 14px 14px; }
@media (max-width: 600px) {
  .glas-zuschnitt-rahmen { overflow-x: visible; }
  .glas-zuschnitt-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .glas-zuschnitt-tabelle, .glas-zuschnitt-tabelle tbody, .glas-zuschnitt-tabelle tr, .glas-zuschnitt-tabelle td { display: block; width: 100%; }
  .glas-zuschnitt-tabelle tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  .glas-zuschnitt-tabelle td { display: grid; grid-template-columns: 9.5em 1fr; gap: 8px; padding: 3px 0; border: 0; }
  .glas-zuschnitt-tabelle td::before { content: attr(data-label); color: var(--ink-mute); font-size: 12.5px; }
}
.glas-quelle { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }
.glas-preis { position: sticky; top: 92px; background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: 22px 22px 24px; box-shadow: var(--shadow-strong); }
.glas-preis-titel { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze-glow); }
.glas-preis-betrag { margin-top: 4px; font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: var(--white); font-variant-numeric: tabular-nums; }
.glas-preis-betrag.klein { font-size: 22px; }
.glas-preis-unter { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--cream-deep); }
.glas-preis-teile { display: grid; gap: 6px; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.glas-preis-teile div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.glas-preis-teile dt { color: var(--cream-deep); }
.glas-preis-teile dd { font-weight: 600; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.glas-preis-hinweis, .glas-preis-satz { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--cream); }
.glas-preis .glas-gruende { display: grid; gap: 4px; margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--cream); }
.glas-preis-fuss { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 12px; line-height: 1.55; color: var(--cream-deep); }
/* Farbe wie die uebrigen Anfrageknoepfe (.btn-primary.anfrage-knopf, Cognac); vorher hell auf dem dunklen Kasten. */
.glas-preis .btn-primary { display: block; margin-top: 16px; text-align: center; border-radius: var(--radius-klein); }
.glas-preis .glas-knopf { background: transparent; color: var(--cream); border-color: var(--cream-deep); }
.glas-preis .glas-knopf:hover { background: var(--cream); color: var(--ink); }
/* Warum bei uns */
.glas-warum { background: var(--cream-light); padding: 72px 24px; border-bottom: 1px solid var(--line); }
.glas-warum-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.glas-schritte { list-style: none; counter-reset: schritt; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.glas-schritte li { counter-increment: schritt; position: relative; padding: 2px 0 2px 44px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
.glas-schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream-light); font-family: var(--display); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; }
#eigenmontage .glas-warum-raster { align-items: start; }
.glas-warum-text .section-title { margin-bottom: 20px; }
.glas-warum-text p { max-width: 62ch; margin-bottom: 14px; font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
.glas-warum-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.glas-warum-bilder figure { margin: 0; }
.glas-warum-bilder img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.glas-warum-bilder figcaption { padding-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--ink-mute); }
/* Anfrage */
.glas-anfrage { background: var(--white); padding: 72px 24px; border-bottom: 1px solid var(--line); }
.glas-anfrage-inner { max-width: 860px; }
.glas-anfrage-satz { margin: -12px 0 22px; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.glas-anfrage-satz strong { color: var(--ink); }
.glas-anfrage-satz a { color: var(--bronze-deep); border-bottom: 1px solid var(--line); }
.glas-formular.formular { max-width: none; }

/* Weitere Teile bitte anbieten (Schritt 8): Bild, Name, Merkmale, Haken. */
.glas-zusatz { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.glas-zusatz-teil { display: grid; grid-template-columns: auto 56px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 12px 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--white); cursor: pointer; }
.glas-zusatz-teil input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.glas-zusatz-bild img { display: block; width: 56px; height: 56px; object-fit: contain; }
.glas-zusatz-text strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.glas-zusatz-text small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-mute); }
.glas-zusatz-teil:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.glas-kantenteile:not(:empty) { margin-top: 14px; }
.glas-kantenteile .pf-label { margin-bottom: 8px; }
/* Link kopieren, teilen, drucken (unter der Zeichnung). Ohne JavaScript verborgen. */
.glas-werkzeuge { display: flex; flex-wrap: wrap; gap: 0 10px; align-items: center; margin-top: 18px; }
.glas-werkzeuge .glas-knopf { margin-top: 8px; }
.glas-link-feld { flex: 1 1 100%; margin-top: 10px; min-height: var(--shop-feld-h); padding: 6px 10px; font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: var(--radius-klein); background: var(--cream-light); color: var(--ink); }
.glas-werkzeug-meldung { flex: 1 1 100%; margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.glas-werkzeug-meldung:empty { display: none; }
/* Preisleiste am Handy: klebt unter der Kopfleiste, solange die Schritte im
   Bild sind (nur innerhalb von .glas-bedienung). Am Rechner steht der Preis
   ohnehin neben den Schritten. */
.glas-preisleiste { display: none; }
@media (max-width: 960px) {
  .glas-raster, .glas-auswahl-raster, .glas-warum-raster { grid-template-columns: minmax(0, 1fr); }
  .glas-buehne, .glas-preis { position: static; }
  /* Felder der Bedienspalte: Beim Tabben verdecken Kopfleiste und Preisleiste
     oben und die Kontaktleiste unten kein Feld. Ersetzt fuer diese Felder die
     allgemeine Regel [id] { scroll-margin-top: 96px } (nur Kopfleiste). */
  .glas-bedienung [id], .glas-bedienung input, .glas-bedienung select { scroll-margin-top: calc(var(--kopf-hoehe, 64px) + 64px); scroll-margin-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .glas-preisleiste { display: flex; justify-content: space-between; align-items: center; gap: 12px; position: sticky; top: var(--kopf-hoehe, 64px); z-index: 30; margin: 0 0 16px; padding: 10px 14px; background: var(--ink); color: var(--white); border-radius: var(--radius-klein); box-shadow: 0 6px 18px rgba(34, 28, 22, 0.18); font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .glas-preisleiste a { flex: none; color: var(--white); font-size: 13.5px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.5); }
}
@media (max-width: 620px) {
  .glas-konfig, .glas-auswahl, .glas-warum, .glas-anfrage { padding: 48px 16px 56px; }
  .glas-buehne { padding: 0 12px 14px; }
  .glas-reiter { margin: 0 -12px 10px; padding: 0 2px; }
  .glas-reiter button { padding: 12px 8px 10px; font-size: 13.5px; }
  .glas-preiszeile { margin: 12px -12px -14px; padding: 12px; }
  .wahl-karten, .wahl-karten.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .wahl-karte { padding: 10px 10px 12px; }
  .wahl-karten.zwei .wahl-bild { aspect-ratio: 16/10; margin-bottom: 4px; }
  .wahl-titel { font-size: 14px; }
  .wahl-unter { font-size: 12px; }
  .wahl-karten.liste .wahl-karte { grid-template-columns: 92px minmax(0, 1fr); }
  .glas-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glas-katalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .glas-artikel-text { padding: 10px 10px 12px; }
  .glas-abschnitt-name { min-width: 0; width: 100%; }
}

