/* WECKTECH – einheitliches Bild aller Konfigurator-Seiten (Inhaber 2026-10-10):
     „Die Kopfzeile soll immer die dunkle sein wie auf der Index-Seite und auf allen anderen Seiten gleich aussehen.“
     „… alle Abschlüsse ‚in den Warenkorb legen‘ gleich …“ – „Überarbeite alle Seiten, dass das Konfigurator-Bild einheitlich ist.“

   EIN Stylesheet für Schubladeneinsatz (css/app.css), Boxen (Inline-Stil in boxen/index.html), Kiste, Gitter, Tisch, Adapter
   (kiste/css/kiste.css, tisch/css/tisch.css …), Fahrzeug-Seiten und Werkstatt-Seiten. Reihenfolge der Einbindung:
     fonts.css → farben.css (Farbschema, auch für den Shop) → Seiten-Stil(e) → einheit.css → werkstatt-stil.css (Werkstatt-Orange, zuletzt)
   Vorbild: Kopf der Shop-Startseite (privat/lib/seite.php .kopfzeile, static/shop/css/shop.css) und die Karten der Kiste.
   Nur Gestaltung – Aufbau, IDs und Bedienung der Seiten bleiben, wie sie sind. Alle Farben über farben.css. */

/* ======================================================================================================================
   Farben der Seiten-Stile auf das gemeinsame Schema (farben.css) legen. html.wt-entwurf (Schubladeneinsatz, Boxen) steht
   zusätzlich da, weil css/shop-modus.css dort Farben mit dieser Klasse setzt.
   ====================================================================================================================== */
:root, html.wt-entwurf {
  --wt-titel: "Montserrat", "Open Sans", system-ui, sans-serif;
  --wt-schrift: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wt-kopf-h: 78px;
  /* Marke und Akzent */
  --petrol: var(--wt-akzent); --petrol-d: var(--wt-akzent-d); --petrol-l: var(--wt-akzent-l);
  --holz: var(--wt-holz); --holz-d: var(--wt-holz-d); --holz-l: var(--wt-holz-l); --amber: var(--wt-amber);
  /* Flächen: --bg = Karten (Papier), --bg-2 = Seite (Sand), --bg-3 = vertiefte Flächen */
  --papier: var(--wt-karte); --sand: var(--wt-sand);
  --bg: var(--wt-karte); --bg-2: var(--wt-grund); --bg-3: var(--wt-grund-2);
  /* Schrift und Linien */
  --ink: var(--wt-text); --ink-2: var(--wt-text-2); --muted: var(--wt-text-3);
  --line: var(--wt-linie); --line-2: var(--wt-linie-2);
  /* Hinweise */
  --warn: var(--wt-warn); --warn-bg: var(--wt-warn-bg); --bad: var(--wt-fehler); --bad-bg: var(--wt-fehler-bg); --good: var(--wt-gut);
  /* Form */
  --radius: 22px;
  --shadow: var(--wt-schatten);
  /* Namen der Boxen-Seite */
  --surface: var(--papier); --surface-2: var(--bg-3); --ink-soft: var(--muted);
  --accent: var(--petrol); --accent-strong: var(--petrol-d); --accent-light: var(--petrol-l);
  --bed: var(--papier); --bed-line: var(--line); --bed-ink: var(--ink); --bed-ink-soft: var(--muted);
  --danger: var(--bad); --focus: var(--petrol);
}

html, body { background: var(--bg-2); color: var(--ink); }

/* ======================================================================================================================
   Kopf: dunkel wie der Shop – Hintergrund, helles Logo, Höhe 78 px (Handy 66 px), Schrift und Knöpfe wie .kopfzeile/.korb
   ====================================================================================================================== */
header.topbar, header.topbar.dunkel {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: calc(var(--wt-kopf-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 20px 0;
  background: var(--wt-kopf-glas); color: var(--wt-kopf-text);
  border: 0; box-shadow: none;
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
}
header.topbar :focus-visible { outline: 2px solid var(--wt-kopf-aktiv); outline-offset: 2px; }
header.topbar .brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; min-width: 0; color: #fff; text-decoration: none; border-radius: 10px; }
header.topbar .brand .mark { display: block; width: auto; height: 38px; flex: 0 0 auto; border-radius: 0; background: none; box-shadow: none; }
header.topbar .brand-txt { display: flex; flex-direction: column; justify-content: center; min-width: 0; line-height: 1.15; }
header.topbar .brand-txt b { display: block; color: #fff; font: 800 15px/1.15 var(--wt-titel); letter-spacing: .12em; }
header.topbar .brand-txt picture, header.topbar .brand-txt img { display: block; }
header.topbar .brand-txt img { width: auto; height: 22px; }
/* „Konfigurator“ unter dem Logo entfällt (Logo wie im Shop); die Werkstatt-Seiten behalten ihre Unterzeile */
header.topbar .brand-txt small { display: none; }
body.ws-seite header.topbar .brand-txt small { display: block; margin-top: 3px; color: var(--wt-kopf-text-2); font: 400 12px/1.2 var(--wt-schrift); letter-spacing: .01em; }

header.topbar .top-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
/* Knöpfe im Kopf wie „Warenkorb“ im Shop-Kopf */
header.topbar :is(.zum-shop, .wk-chip, .icon-btn, .kopf-link, .btn, .sg-kopf) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto;
  width: auto; height: 44px; min-height: 0; margin: 0; padding: 0 14px 0 12px;
  border: 1.5px solid var(--wt-kopf-linie); border-radius: 12px; background: var(--wt-kopf-flaeche); color: #fff;
  font: 700 14px/1 var(--wt-titel); letter-spacing: 0; text-decoration: none; white-space: nowrap;
  box-shadow: none; transform: none; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
header.topbar :is(.zum-shop, .wk-chip, .icon-btn, .kopf-link, .btn, .sg-kopf):hover:not(:disabled) { border-color: var(--wt-kopf-aktiv); background: var(--wt-kopf-flaeche-2); color: #fff; }
header.topbar :is(.zum-shop, .wk-chip, .icon-btn, .kopf-link, .btn, .sg-kopf):active { background: var(--wt-kopf-flaeche-2); }
/* Werkstatt-Seite (css/app.css .topbar.dunkel …): dieselben Kopf-Knöpfe */
header.topbar.dunkel :is(.btn, .btn.ghost) { background: var(--wt-kopf-flaeche); border-color: var(--wt-kopf-linie); color: #fff; }
header.topbar.dunkel :is(.btn, .btn.ghost):hover { background: var(--wt-kopf-flaeche-2); border-color: var(--wt-kopf-aktiv); color: #fff; }
header.topbar .icon-btn { width: 44px; padding: 0; }
header.topbar .icon-btn:disabled { opacity: .38; cursor: default; background: var(--wt-kopf-flaeche); }
header.topbar .zum-shop svg { width: 18px; height: 18px; flex: 0 0 auto; }
header.topbar .wk-chip { gap: 6px; }
header.topbar .wk-chip b { font-weight: 800; }
header.topbar .preis-chip {
  display: inline-flex; align-items: center; flex: 0 0 auto; height: 44px; padding: 0 16px; border: 0; border-radius: 12px;
  background: var(--wt-akzent); color: #fff; font: 700 15px/1 var(--wt-titel); font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------- Kopf: Warenkorb des Shops · Preis dieser Konfiguration · Preisangaben (js/kopf-preis.js, 2026-10-13) ----------
   Inhaber: „das müssen wir noch kennzeichnen … vorher den gesamt Warenkorb-Preis anzeigen lassen, etwas kleiner. und hinten bitte
   den Hinweis“. Reihenfolge: [Zum Shop] [Warenkorb 96,40 €] [Diese Konfiguration / 48,11 €] [inkl. MwSt., zzgl. Versand] */
/* Preis-Chip: kleine Zeile darüber (data-titel setzt js/kopf-preis.js – der Preis selbst bleibt reiner Text der Seite) */
header.topbar #preisChip[data-titel] { flex-direction: column; justify-content: center; gap: 4px; padding: 0 14px; }
header.topbar #preisChip[data-titel]::before {
  content: attr(data-titel); display: block; font: 600 10.5px/1 var(--wt-schrift); letter-spacing: .01em; color: rgba(255, 255, 255, .85);
}
/* Warenkorb des Shops: etwas kleiner und ruhiger als die Knöpfe, Tasche wie „Warenkorb“ im Shop-Kopf */
header.topbar .kopf-korb {
  display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; height: 36px; margin: 0; padding: 0 11px 0 10px;
  border: 1.5px solid var(--wt-kopf-linie); border-radius: 10px; background: none; color: var(--wt-kopf-text);
  font: 600 13px/1 var(--wt-titel); text-decoration: none; white-space: nowrap; transition: border-color .15s, background-color .15s, color .15s;
}
header.topbar .kopf-korb[hidden] { display: none; }
header.topbar .kopf-korb:hover { border-color: var(--wt-kopf-aktiv); background: var(--wt-kopf-flaeche-2); color: #fff; }
header.topbar .kopf-korb svg { display: block; flex: 0 0 auto; width: 18px; height: 18px; }
/* Anzahl als Tupfen wie .korb-zahl im Shop-Kopf, nur kleiner */
header.topbar .kopf-korb-zahl {
  min-width: 18px; height: 18px; margin-left: -2px; padding: 0 5px; border-radius: 999px;
  background: var(--wt-akzent); color: #fff; font: 700 10.5px/18px var(--wt-titel); text-align: center;
}
header.topbar .kopf-korb-betrag { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
header.topbar .kopf-korb.ohne-betrag .kopf-korb-betrag { display: none; }
/* Preisangaben hinter dem Chip, zweizeilig und klein */
header.topbar .kopf-hinweis {
  display: flex; flex-direction: column; justify-content: center; gap: 2px; flex: 0 0 auto; margin-left: -2px;
  font: 400 11px/1.25 var(--wt-schrift); color: var(--wt-kopf-text-2); white-space: nowrap;
}
header.topbar .kopf-hinweis[hidden] { display: none; }
header.topbar .kopf-hinweis a { color: var(--wt-kopf-text); text-decoration: underline; text-underline-offset: 2px; }
header.topbar .kopf-hinweis a:hover { color: #fff; }

/* Produktwahl im Kopf wie das Menü im Shop-Kopf: breit mit Symbolen, mittel mit kurzen Namen, schmal als eigene Zeile */
header.topbar .pwahl-kopf { display: flex; justify-content: center; flex: 1 1 auto; min-width: 0; }
header.topbar .produktwahl { display: inline-flex; align-items: center; gap: 2px; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: none; }
header.topbar .pwahl-opt {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 40px; padding: 0 12px;
  border-radius: 10px; background: none; box-shadow: none; color: var(--wt-kopf-text); font: 600 14px/1 var(--wt-titel);
  text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s;
}
header.topbar .pwahl-opt:hover { background: var(--wt-kopf-flaeche-2); color: #fff; }
header.topbar .pwahl-opt[aria-current="page"] { background: rgba(255, 255, 255, .06); color: var(--wt-kopf-aktiv); box-shadow: none; }
header.topbar .pwahl-opt svg { display: block; flex: 0 0 auto; }
/* Piktogramme der Produkte (Inhaber 2026-10-11: „die neuen Piktogramme sollen auch da oben rein“ – Satz A „Linie“ aus dem
   Logo-PDF, unverändert mit heller Kachel, dieselben wie im Warenkorb; /static/shop/img/piktogramm/), in allen Breiten */
.pw-ikon { display: block; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 6px; }
.pwahl-opt[aria-current="page"] .pw-ikon { box-shadow: 0 0 0 2px var(--wt-kopf-aktiv, #9fc3d6); }
.pw-kurz { display: none; }
/* Grenzen seit 2026-10-13 („Diese Konfiguration“, Preisangaben und – wenn etwas drin liegt – der Warenkorb brauchen rechts bis
   ca. 710 px): im Kopf ab 1750 px mit langen Namen, mit Warenkorb (header.mit-korb, js/kopf-preis.js) bis 1979 px mit kurzen;
   darunter eigene Zeile (vorher 1600/1240 – bei 1300 px waren die Namen schon abgeschnitten).
   2026-10-25: sieben Konfiguratoren (Warmluft-Ausströmer) und der Knopf „So geht’s“ – im Kopf erst ab 2000 px (mit Warenkorb kurz bis 2299 px),
   bei 1760 px waren schon sechs lange Namen abgeschnitten */
@media (max-width: 1999px) {
  header.topbar .pwahl-opt { padding: 0 10px; }
  header.topbar .pwahl-opt svg, header.topbar .pw-lang { display: none; }
  header.topbar .pw-kurz { display: inline; }
}
@media (max-width: 2299px) {
  header.topbar.mit-korb .pwahl-opt { padding: 0 10px; }
  header.topbar.mit-korb .pw-lang { display: none; }
  header.topbar.mit-korb .pw-kurz { display: inline; }
}
nav.pwahl-zeile { display: none; }
@media (max-width: 1999px) {
  header.topbar .pwahl-kopf { display: none; }
  nav.pwahl-zeile { display: block; padding: 0 16px 10px; background: var(--wt-kopf); border: 0; }
  nav.pwahl-zeile .produktwahl {
    display: flex; max-width: 680px; margin: 0 auto; gap: 2px; padding: 3px;   /* 680 statt 560 (2026-10-25): sieben Konfiguratoren ohne abgeschnittene Namen */
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(255, 255, 255, .05);
  }
  nav.pwahl-zeile .pwahl-opt {
    display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; min-width: 0; height: 34px; padding: 0 3px;
    border-radius: 9px; background: none; box-shadow: none; color: var(--wt-kopf-text); font: 600 12.5px/1 var(--wt-titel); text-decoration: none; white-space: nowrap;
  }
  nav.pwahl-zeile .pwahl-opt { gap: 6px; }
  nav.pwahl-zeile .pw-ikon { width: 24px; height: 24px; border-radius: 5px; }
  nav.pwahl-zeile .pwahl-opt:hover { background: var(--wt-kopf-flaeche-2); color: #fff; }
  nav.pwahl-zeile .pwahl-opt[aria-current="page"] { background: rgba(255, 255, 255, .12); color: var(--wt-kopf-aktiv); }
  nav.pwahl-zeile :focus-visible { outline: 2px solid var(--wt-kopf-aktiv); outline-offset: 1px; }
}

/* Werkstatt-Seiten: mehrere Knöpfe rechts, am Handy umbrechen statt überlaufen */
body.ws-seite header.topbar { flex-wrap: wrap; row-gap: 8px; padding-top: calc(env(safe-area-inset-top) + 8px); padding-bottom: 8px; }
body.ws-seite header.topbar .top-actions { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 900px) {
  :root, html.wt-entwurf { --wt-kopf-h: 66px; }
  header.topbar { gap: 12px; padding-left: 16px; padding-right: 16px; }
  header.topbar .brand .mark { height: 30px; }
  header.topbar .brand-txt img { height: 18px; }
}
/* niedriges Desktop-Fenster (Full HD mit Windows-Skalierung 150 % = 1280 × 595, Laptop 1366 × 657, 2026-10-14): Kopf 66 statt 78 px
   wie am Tablet – die Knöpfe behalten ihre 44 px, der Platz geht an die Ansicht */
@media (min-width: 901px) and (max-height: 700px) {
  :root, html.wt-entwurf { --wt-kopf-h: 66px; }
  header.topbar .brand .mark { height: 32px; }
  header.topbar .brand-txt img { height: 19px; }
}
@media (max-width: 640px) {
  /* Konfiguratoren: nur das Zeichen (wie bisher), Platz für Preis und Knöpfe; „Zum Shop“ nur als Symbol */
  header.topbar .brand-txt { display: none; }
  body.ws-seite header.topbar .brand-txt { display: flex; }
  header.topbar .zum-shop { width: 44px; padding: 0; }
  header.topbar .zum-shop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body.ws-seite header.topbar .top-actions :is(.btn, .kopf-link) { height: 36px; padding: 0 11px; font-size: 13px; border-radius: 10px; }
  body.ws-seite header.topbar .top-actions { justify-content: flex-start; }
}
@media (max-width: 420px) {
  header.topbar { gap: 8px; padding-left: 12px; padding-right: 12px; }
  header.topbar .brand .mark { height: 24px; }
  header.topbar .top-actions { gap: 5px; }
  header.topbar :is(.zum-shop, .wk-chip, .icon-btn, .kopf-link, .btn, .sg-kopf) { height: 38px; border-radius: 11px; }
  header.topbar :is(.zum-shop, .icon-btn) { width: 38px; }
  header.topbar .wk-chip { padding: 0 9px; }
  header.topbar .preis-chip { height: 38px; padding: 0 11px; border-radius: 11px; font-size: 14px; }
  body.ws-seite header.topbar .top-actions :is(.btn, .kopf-link) { height: 34px; padding: 0 9px; font-size: 12px; }
}

/* Kopf mit Warenkorb und Preisangaben (js/kopf-preis.js, 2026-10-13) auf schmaleren Bildschirmen: nichts darf überlaufen.
   header.mit-korb = Warenkorb sichtbar, header.voll = dazu #wkChip (Konfigurator-Positionen, Besteckeinsatz/Krambord) */
@media (max-width: 1100px) {
  header.topbar .kopf-korb-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 960px) {
  header.topbar.mit-korb .zum-shop { width: 44px; padding: 0; }
  header.topbar.mit-korb .zum-shop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 900px) {
  header.topbar.mit-korb .brand-txt { display: none; }
}
@media (max-width: 820px) {
  header.topbar.mit-preis .brand-txt { display: none; }
}
@media (max-width: 760px) {
  /* Handy (bis 760 px, wie js/handy.js): Warenkorb nur als Tasche mit Zahl, der Chip mit kurzer Zeile („Konfiguration“ / „Je Stück“) */
  header.topbar .kopf-korb { position: relative; width: 44px; height: 44px; gap: 0; padding: 0; justify-content: center; border-radius: 12px; background: var(--wt-kopf-flaeche); }
  header.topbar .kopf-korb-betrag { display: none; }
  header.topbar .kopf-korb-zahl { position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; margin: 0; padding: 0 4px; font-size: 10px; line-height: 16px; }
  header.topbar #preisChip[data-titel] { gap: 3px; padding: 0 11px; font-size: 14px; }
  header.topbar #preisChip[data-titel]::before { content: attr(data-titel-kurz); font-size: 9.5px; }
}
@media (max-width: 560px) {
  /* Preisangaben: stehen im Abschluss und im aria-label/title des Chips – im Kopf ist dafür kein Platz */
  header.topbar .kopf-hinweis { display: none; }
  /* schmal und alles da (Warenkorb + Konfigurator-Positionen): das Zeichen links weicht, „Zum Shop“ führt auch dorthin */
  header.topbar.voll .brand { display: none; }
}
@media (max-width: 420px) {
  header.topbar .kopf-korb, header.topbar.mit-korb .zum-shop { width: 38px; height: 38px; border-radius: 11px; }
  header.topbar #preisChip[data-titel] { padding: 0 9px; font-size: 13px; }
}
@media (max-width: 350px) {
  header.topbar.mit-korb .brand { display: none; }
  header.topbar.mit-korb .top-actions { gap: 4px; }
  header.topbar.mit-korb #preisChip[data-titel] { padding: 0 7px; }
}

/* ---------- „So geht’s“ – Erklärvideos mit Bruno & Martin (js/so-gehts.js, Inhaber 2026-10-14) ----------
   Nur auf Seiten mit Video: Knopf ganz links in .top-actions (header.mit-hilfe), Hinweiskarte oben im Werkzeugbereich, Fenster.
   Der Knopf zeigt „? So geht’s“, wo Platz ist, sonst nur das „?“ (Name steht im aria-label). Grenzen gemessen mit
   werkzeuge/so-gehts-browser-test.js (alles da: Warenkorb mit Betrag, Preis, Preisangaben – nichts darf überlaufen): mit Text passt er
   ohne Warenkorb ab ca. 950 px, mit Warenkorb (Besteckeinsatz auch mit Positionen) ab ca. 1200 px – Grenzen mit etwas Luft. */
header.topbar .sg-kopf { gap: 7px; padding: 0 14px 0 11px; }
header.topbar .sg-kopf[hidden] { display: none; }
header.topbar .sg-kopf svg { display: block; flex: 0 0 auto; width: 20px; height: 20px; }
@media (max-width: 999px) {
  header.topbar .sg-kopf { width: 44px; padding: 0; }
  header.topbar .sg-kopf-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1259px) {
  header.topbar.mit-hilfe.mit-korb .sg-kopf { width: 44px; padding: 0; }
  header.topbar.mit-hilfe.mit-korb .sg-kopf-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1060px) {
  /* mit Warenkorb: „Zum Shop“ nur als Symbol (sonst bis 960 px) */
  header.topbar.mit-hilfe.mit-korb .zum-shop { width: 44px; padding: 0; }
  header.topbar.mit-hilfe.mit-korb .zum-shop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 700px) {
  /* mit Warenkorb im Kopf: das Zeichen links weicht (wie header.voll bis 560 px), „Zum Shop“ führt auch dorthin */
  header.topbar.mit-hilfe.mit-korb .brand { display: none; }
}
@media (max-width: 480px) {
  /* die kompakten Handy-Maße (sonst erst bis 420 px) schon bis 480 px; Zeichen etwas kleiner – Platz für das „?“, auch mit „999,99 €“ */
  header.topbar.mit-hilfe { gap: 8px; padding-left: 12px; padding-right: 12px; }
  header.topbar.mit-hilfe .top-actions { gap: 4px; }
  header.topbar.mit-hilfe :is(.zum-shop, .wk-chip, .icon-btn, .sg-kopf, .kopf-korb) { height: 38px; border-radius: 11px; }
  header.topbar.mit-hilfe :is(.zum-shop, .icon-btn, .kopf-korb), header.topbar.mit-hilfe.mit-korb .zum-shop, header.topbar #sgKopf { width: 38px; }
  header.topbar.mit-hilfe .wk-chip { padding: 0 9px; }
  header.topbar.mit-hilfe .preis-chip { height: 38px; border-radius: 11px; }
  header.topbar.mit-hilfe #preisChip[data-titel] { padding: 0 9px; font-size: 13px; }
  header.topbar.mit-hilfe .brand .mark { height: 20px; }
}
@media (max-width: 480px) {
  /* mit Konfigurator-Positionen (#wkChip, Besteckeinsatz/Krambord) auch ohne Shop-Warenkorb: das Zeichen weicht (2026-10-14,
     werkzeuge/kopie-browser-test.js – Krambord 375 px mit Knopf, Positionen und Preis ragte der Kopf 13 px aus dem Fenster) */
  header.topbar.mit-hilfe:has(#wkChip:not([hidden])) .brand { display: none; }
}
@media (max-width: 350px) {
  header.topbar.mit-hilfe .brand { display: none; }
}

/* Hinweiskarte beim ersten Besuch: eine Zeile, verdeckt nichts */
.sg-hinweis { display: flex; align-items: stretch; gap: 2px; margin: 0; padding: 3px; box-sizing: border-box; min-width: 0;
  border: 1px solid var(--wt-linie); border-left: 4px solid var(--wt-holz); border-radius: 14px; background: var(--wt-karte); box-shadow: var(--wt-schatten-s); }
.sg-hinweis[hidden] { display: none; }
#main > .sg-hinweis { margin: 0 0 14px; }
.sg-hinweis-los { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; padding: 5px 10px 5px 8px;
  border: 0; border-radius: 10px; background: none; color: var(--wt-text); font: 400 14.5px/1.35 var(--wt-schrift); text-align: left; cursor: pointer; }
.sg-hinweis-los:hover { background: var(--wt-akzent-xl); }
.sg-hinweis-los b { font: 700 14.5px/1.35 var(--wt-titel); color: var(--wt-text); }
.sg-hinweis-play { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--wt-holz); color: #fff; }
.sg-hinweis-play svg { display: block; width: 16px; height: 16px; margin-left: 2px; }
.sg-hinweis-txt { min-width: 0; }
@media (max-width: 560px) { .sg-hinweis-los b { display: block; } }   /* schmal zweizeilig: „Neu hier?“ / „So geht’s in 83 Sekunden“ */
/* Handy (14.10.): Karte knapper, damit die erste Einstellung im ersten Bildschirm bleibt; quer (wenig Höhe) nur der „?“-Knopf im Kopf */
@media (max-width: 560px) { .sg-hinweis { padding: 2px; } .sg-hinweis-los { min-height: 40px; gap: 8px; padding: 3px 8px 3px 6px; font-size: 14px; line-height: 1.25; }
  .sg-hinweis-los b { font-size: 14px; line-height: 1.25; } .sg-hinweis-play { width: 28px; height: 28px; } .sg-hinweis-zu { width: 40px; min-height: 40px; } }
@media (max-height: 500px) and (orientation: landscape) { .sg-hinweis { display: none !important; } }
.sg-hinweis-zu { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin: 0; padding: 0;
  border: 0; border-radius: 10px; background: none; color: var(--wt-text-3); cursor: pointer; }
.sg-hinweis-zu:hover { background: var(--wt-grund); color: var(--wt-text); }
.sg-hinweis :focus-visible { outline: 2px solid var(--wt-akzent); outline-offset: 1px; }
/* PDF-Anleitung neben dem Video-Knopf und im Video-Fenster (2026-10-16, js/so-gehts.js v5) */
.sg-hinweis-pdf { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px;
  font: 600 13.5px/1.25 var(--wt-schrift); color: var(--wt-akzent); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.sg-hinweis-pdf:hover { background: var(--wt-akzent-xl); }
@media (max-width: 560px) { .sg-hinweis-pdf { min-height: 40px; padding: 0 9px; font-size: 13px; } }
.sg-fenster-pdf { color: var(--wt-akzent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Fenster mit dem Video (wie das Video-Fenster im Shop): 16:9 am PC, 9:16 am Handy im Hochformat */
html.sg-offen, html.sg-offen body { overflow: hidden; }
.sg-fenster { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 2147482000; display: flex; padding: 16px; box-sizing: border-box; overflow: auto;
  background: rgba(20, 30, 33, .78); }
.sg-fenster[hidden] { display: none; }
.sg-karte { display: flex; flex-direction: column; gap: 12px; width: min-content; max-width: 100%; margin: auto; padding: 12px 12px 14px; box-sizing: border-box;
  border-radius: 16px; background: var(--wt-karte); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.sg-karte-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sg-karte-titel { min-width: 0; padding: 3px 2px 0; }
.sg-karte-titel b { display: block; font: 700 17px/1.3 var(--wt-titel); color: var(--wt-text); }
.sg-karte-titel small { display: block; margin-top: 2px; font: 400 13px/1.35 var(--wt-schrift); color: var(--wt-text-3); }
.sg-zu { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; padding: 0;
  border: 1px solid var(--wt-linie-2); border-radius: 10px; background: var(--wt-karte); color: var(--wt-text); cursor: pointer; }
.sg-zu:hover { border-color: var(--wt-akzent); background: var(--wt-akzent-xl); }
.sg-zu:focus-visible { outline: 2px solid var(--wt-akzent); outline-offset: 2px; }
.sg-rahmen { position: relative; overflow: hidden; border-radius: 12px; background: #232a31; }
.sg-rahmen video { display: block; width: 100%; height: 100%; background: #232a31; }
.sg-quer { width: min(1100px, calc(100vw - 56px), calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; }
.sg-hoch { height: min(calc(100vh - 130px), calc((100vw - 56px) * 16 / 9)); aspect-ratio: 9 / 16; }
@supports (height: 100dvh) {
  .sg-quer { width: min(1100px, calc(100vw - 56px), calc((100dvh - 140px) * 16 / 9)); }
  .sg-hoch { height: min(calc(100dvh - 130px), calc((100vw - 56px) * 16 / 9)); }
}
@media (max-width: 560px) {
  .sg-fenster { padding: 10px; }
  .sg-karte { padding: 10px 10px 12px; gap: 10px; }
  .sg-karte-titel b { font-size: 15.5px; }
  .sg-karte-titel small { font-size: 12px; }
  .sg-quer { width: min(calc(100vw - 40px), calc((100vh - 120px) * 16 / 9)); }
  .sg-hoch { height: min(calc(100vh - 110px), calc((100vw - 40px) * 16 / 9)); }
  @supports (height: 100dvh) {
    .sg-quer { width: min(calc(100vw - 40px), calc((100dvh - 120px) * 16 / 9)); }
    .sg-hoch { height: min(calc(100dvh - 110px), calc((100vw - 40px) * 16 / 9)); }
  }
}
@media print { .sg-hinweis, .sg-fenster, header.topbar .sg-kopf { display: none !important; } }

/* ======================================================================================================================
   Seitenkopf (Titel, Einleitung, Schritt-Marke)
   ====================================================================================================================== */
.lead h1 { font: 700 24px/1.2 var(--wt-titel); color: var(--ink); letter-spacing: -.01em; }
@media (min-width: 620px) { .lead h1 { font-size: 26px; } }
.lead p { color: var(--ink-2); font-size: 15px; line-height: 1.55; max-width: 72ch; }
.schritt { background: var(--holz-l); color: var(--holz-d); }

/* ---------- Titelzeile über der Ansicht (Inhaber 2026-10-14: „Die Einleitung oben so kurz wie möglich oder unter die
   Konfiguration – oben soll der ganze verfügbare Platz der Ansicht gehören“) ----------
   .lead.wt-titelzeile in allen sechs Konfiguratoren: eine Zeile mit Schritt-Marke, Überschrift, ggf. kurzem Hilfetext
   (Besteckeinsatz Einteilung/3D) und „Zurück“/„Alle Produkte“ rechts. Der Einleitungstext steht unten in .wt-ueber („Über …“).
   Am Rechner bleiben so ≈ 50 px über der Ansicht; js/ansicht-start.js gibt den gewonnenen Platz der Ansicht. Am Handy baut
   js/handy.js die Zeile wie bisher ([Produkt ▾] Überschrift [mehr] – „mehr“ nur, wo noch ein Hilfetext in der Zeile steht). */
html:not(.hy) .lead.wt-titelzeile { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0 0 12px; }
html:not(.hy) .lead.wt-titelzeile > h1 { margin: 0; font-size: 22px; line-height: 1.25; }
html:not(.hy) .lead.wt-titelzeile > .lead-top { display: contents; }
html:not(.hy) .lead.wt-titelzeile .schritt { order: -1; margin: 0; }
html:not(.hy) .lead.wt-titelzeile .zurueck { order: 9; margin: 0 0 0 auto; padding: 4px 2px; }
html:not(.hy) .lead.wt-titelzeile > p { flex: 0 1 auto; margin: 0; max-width: none; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
html:not(.hy) .lead.wt-titelzeile > .seiten-hinweise { order: 10; flex: 1 1 100%; }
@media (min-width: 620px) {
  html:not(.hy) .wrap:has(> .wt-titelzeile), html:not(.hy) #main:has(.wt-titelzeile) { padding-top: 14px; }
  html:not(.hy) .wt-titelzeile + .stage { margin-top: 0; }
}
/* Besteckeinsatz am Rechner: die Hinweiskarte „So geht’s“ (#main > .sg-hinweis, sonst volle Breite über allem) sitzt rechts in
   der Titelzeile; die Zeile hält ihr den Platz frei. Tablet und Handy wie bisher (Handy: einheit.css v9). */
@media (min-width: 1100px) {
  html:not(.hy) #main:has(.wt-titelzeile) { position: relative; }
  html:not(.hy) #main > .sg-hinweis { position: absolute; top: 10px; right: 28px; z-index: 5; width: 360px; margin: 0; padding: 2px; }
  html:not(.hy) #main > .sg-hinweis .sg-hinweis-los { min-height: 38px; gap: 8px; padding: 3px 8px 3px 6px; font-size: 14px; }
  html:not(.hy) #main > .sg-hinweis .sg-hinweis-play { width: 28px; height: 28px; }
  html:not(.hy) #main > .sg-hinweis .sg-hinweis-zu { width: 38px; min-height: 38px; }
  html:not(.hy) #main > .sg-hinweis:not([hidden]) ~ .panel > .wt-titelzeile { min-height: 46px; padding-right: 376px; }
}

/* ---------- „Über …“: der Einleitungstext unter der Konfiguration, vor dem Fuß (2026-10-14) ---------- */
.wt-ueber { max-width: 780px; margin: 40px 0 8px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.wt-ueber h2 { margin: 0 0 6px; font: 700 17px/1.3 var(--wt-titel); color: var(--ink); letter-spacing: 0; text-transform: none; }
.wt-ueber p { margin: 0; max-width: 72ch; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
html.hy .wt-ueber { margin: 28px 0 8px; padding-top: 16px; }
html.hy.hy-quer .wrap > .wt-ueber { grid-column: 1 / -1; }

/* ---------- „Das sagen Kunden“: Bewertungen dieses Konfigurators (js/bewertungen-konfig.js, 2026-10-25) ----------
   Inhaber: „achte darauf, dass alles schön übersichtlich bleibt“ – eine Karte wie die übrigen, hinter „Über …“: Schnitt, höchstens drei
   kurze Bewertungen (Text auf vier Zeilen gekürzt), der Rest hinter „Alle … anzeigen“; Pflichthinweis UWG § 5b Abs. 3. Im Kopf nur
   „★ 4,9 (12)“ klein hinter dem Preis. Sterne anteilig gefüllt (--bw-wert setzt das Skript), Farben wie die Sterne im Shop. */
.wt-stimmen { max-width: 780px; margin: 18px 0 8px; padding: 18px 20px; box-sizing: border-box; }
html.hy.hy-quer .wrap > .wt-stimmen { grid-column: 1 / -1; }
.wt-stimmen-kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.wt-stimmen-kopf .card-h { margin: 0; }
.wt-stimmen-kopf .card-h:focus { outline: none; }
.wt-stimmen-schnitt { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.wt-stimmen-schnitt b { font: 800 17px/1 var(--wt-titel); color: var(--ink); }
.wt-sterne { position: relative; display: inline-block; flex: none; font-size: 15px; line-height: 1; letter-spacing: 1px; white-space: nowrap; color: #cfd6db; }
.wt-sterne::before { content: '★★★★★'; position: absolute; left: 0; top: 0; width: var(--bw-wert, 0%); overflow: hidden; color: #d18a2e; }
.wt-stimmen-schnitt .wt-sterne { font-size: 17px; }
.wt-stimmen-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.wt-stimme { display: grid; gap: 6px; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--holz); border-radius: 14px; background: var(--bg-2); }
.wt-stimme:nth-child(even) { border-left-color: var(--petrol); }
.wt-stimme-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.wt-stimme-geprueft { display: inline-flex; align-items: center; gap: 4px; font: 600 12px/1.2 var(--wt-titel); color: var(--good); }
.wt-stimme-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); overflow-wrap: anywhere; }
.wt-stimme-text p { margin: 0; }
.wt-stimme-text p + p { margin-top: 6px; }
.wt-stimmen-liste:not(.ganz) .wt-stimme-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }
.wt-stimme-wer { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0; font-size: 12.5px; color: var(--muted); }
.wt-stimme-wer b { font: 700 13.5px/1.3 var(--wt-titel); color: var(--ink); overflow-wrap: anywhere; }
.wt-stimme-antwort { padding: 8px 11px; border-left: 3px solid var(--petrol); border-radius: 0 10px 10px 0; background: var(--wt-akzent-xl, #eef2f5); font-size: 13.5px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.wt-stimme-antwort b { display: block; margin-bottom: 2px; font: 700 12.5px/1.3 var(--wt-titel); color: var(--petrol-d); }
.wt-stimme-antwort p { margin: 0; }
.wt-stimme-antwort p + p { margin-top: 5px; }
.wt-stimmen-liste:not(.ganz) .wt-stimme-antwort { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.wt-stimmen-alle { margin-top: 12px; }
.wt-stimmen-mehr { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.wt-stimmen-mehr[hidden] { display: none; }
.wt-stimmen-fuss { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 18px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.wt-stimmen-hinweis { display: flex; align-items: flex-start; gap: 7px; flex: 1 1 320px; min-width: 0; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.wt-stimmen-hinweis svg { flex: none; margin-top: 2px; color: var(--petrol); }
.wt-stimmen-hinweis a, .wt-stimmen-schreiben, .wt-stimmen-leer a { color: var(--petrol-d); font-weight: 600; }
.wt-stimmen-schreiben { flex: none; font: 600 13px/1.5 var(--wt-titel); }
.wt-ueber p.wt-stimmen-leer { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
html.hy .wt-stimmen { margin: 14px 0 8px; padding: 14px 14px 12px; }
@media (max-width: 480px) {
  .wt-stimmen { padding: 14px 14px 12px; }
  .wt-stimme { padding: 10px 12px; }
  .wt-stimmen-alle { width: 100%; }
}
@media print { .wt-stimmen, header.topbar .kopf-sterne { display: none !important; } }
/* Kopf: „★ 4,9 (12)“ hinter dem Preis – klein, ohne Rahmen; am Handy nur „★ 4,9“ (die Anzahl steht im aria-label und in der Karte) */
header.topbar .kopf-sterne {
  display: inline-flex; align-items: center; flex: 0 0 auto; margin-left: -2px; padding: 4px 2px; border-radius: 6px;
  color: var(--wt-kopf-text); font: 600 12.5px/1 var(--wt-titel); font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
}
header.topbar .kopf-sterne:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
header.topbar .kopf-sterne:focus-visible { outline: 2px solid var(--wt-kopf-aktiv); outline-offset: 1px; }
header.topbar .kopf-sterne-stern { color: #e8a948; }
header.topbar .kopf-sterne-zahl { color: var(--wt-kopf-text-2); font-weight: 400; }
@media (max-width: 760px) { header.topbar .kopf-sterne-zahl { display: none; } }

/* ======================================================================================================================
   Karten: wie die Kiste – Papier, warme Linie, große Rundung, Überschrift Montserrat 16 px mit Nummern-Kreis
   ====================================================================================================================== */
.card, .panel-section, .ansicht-karte, .viewport-card { background: var(--papier); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h, .panel-section > h2 {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
  font: 700 16px/1.3 var(--wt-titel); text-transform: none; letter-spacing: 0; color: var(--ink);
}
.card-h .u { font: 400 12.5px/1.3 var(--wt-schrift); color: var(--muted); text-transform: none; letter-spacing: 0; }
.card-h.sub { font-size: 14px; }
.card-h .nr, .nr[data-nr], .panel-section > h2 .num {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--holz-l); color: var(--holz-d); font: 700 13px/1 var(--wt-titel); letter-spacing: 0;
}
.panel-section > h2 { margin-bottom: 10px; }
.card-sub, .hint { color: var(--muted); font-size: 13px; }

/* ======================================================================================================================
   Knöpfe: Pillenform, Montserrat; Hauptknopf Petrol, Nebenknopf Papier mit Linie (wie Kiste)
   ====================================================================================================================== */
.btn { height: auto; min-height: 42px; max-width: 100%; padding: 8px 18px; border-radius: 999px; font: 600 14px/1.2 var(--wt-titel); letter-spacing: 0; text-align: center; }
.btn.klein, .btn.small, .btn-small { min-height: 34px; padding: 6px 13px; font-size: 13px; }
.btn.big { min-height: 48px; padding: 10px 22px; font-size: 15px; }
.btn.primaer, .btn.primary, .btn-primary { background: var(--petrol); border: 1px solid var(--petrol); color: #fff; }
.btn.primaer:hover, .btn.primary:hover, .btn-primary:hover { background: var(--petrol-d); border-color: var(--petrol-d); color: #fff; }
.btn.ghost, .btn-secondary { background: var(--papier); border: 1px solid var(--line-2); color: var(--ink); }
.btn.ghost:hover, .btn-secondary:hover { background: var(--papier); border-color: var(--petrol); color: var(--petrol-d); }
.view-btn { border-radius: 999px; border-color: var(--line-2); background: var(--papier); color: var(--ink-2); font-family: var(--wt-titel); }
.view-btn:hover { background: var(--papier); border-color: var(--petrol); color: var(--petrol-d); }
.add-box-btn { border-radius: 999px; }
.icon-btn { border-radius: 12px; }

/* ======================================================================================================================
   Auswahl: Farb-Chips (Pillen mit Farbtupfen wie Kiste), Segmente, Formkacheln
   ====================================================================================================================== */
.farben { display: flex; flex-wrap: wrap; gap: 8px; }
.farben .farbe {
  display: inline-flex; flex-direction: row; align-items: center; gap: 8px; width: auto; margin: 0; padding: 6px 12px 6px 6px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--papier); color: var(--ink);
  font: 400 13px/1.2 var(--wt-schrift); text-align: left; cursor: pointer;
}
.farben .farbe:hover { border-color: var(--petrol); }
.farben .farbe .tupfen, .farben .farbe > i {
  display: block; width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .14);
}
.farben .farbe.on, .farben .farbe[aria-pressed="true"] { border-color: var(--petrol); background: var(--papier); color: var(--ink); box-shadow: inset 0 0 0 1px var(--petrol); }
.farben .farbe.on .tupfen { border-color: rgba(0, 0, 0, .15); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .14); }
.chips button, .seg button, .segment button { border-color: var(--line-2); }
.chips button:not([aria-pressed="true"]) { background: var(--papier); }
.chips button[aria-pressed="true"] { background: var(--petrol-l); border-color: var(--petrol); color: var(--petrol-d); }
.seg { background: var(--bg-3); }
.seg button.on { background: var(--papier); color: var(--petrol-d); }
.formwahl button { background: var(--papier); }

/* ======================================================================================================================
   Eingabefelder (Zahlenfeld und Schieber wie Kiste)
   ====================================================================================================================== */
input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"],
input[type="url"], input:not([type]), select, textarea {
  background-color: var(--papier); border-color: var(--line-2); color: var(--ink);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--petrol); }
input[type="range"], input[type="checkbox"], input[type="radio"] { accent-color: var(--petrol); }

/* ======================================================================================================================
   Ansichten (3D, Draufsicht): warmes Papier
   ====================================================================================================================== */
.ansicht, .canvas-wrap, .plan { background: linear-gradient(180deg, var(--wt-karte) 0%, var(--wt-grund-2) 100%); }
.ansicht-tabs, .ansicht-leiste, .kennzahlen, .viewport-top, .specsheet, .spec { border-color: var(--line); }
/* Reiter über der Ansicht (3D / 2D mit Maßen): überall gleich, der gewählte gefüllt */
.ansicht-tabs { gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.ansicht-tabs [role="tab"] { height: 32px; padding: 0 13px; border: 1px solid transparent; border-radius: 999px; background: none; color: var(--ink-2); font: 600 13px/1 var(--wt-titel); cursor: pointer; }
.ansicht-tabs [role="tab"]:hover { color: var(--petrol-d); }
.ansicht-tabs [role="tab"][aria-selected="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
/* Leiste unter der Ansicht: „Maße zeigen“ links, Blick-Knöpfe als kleine Pillen (Kiste .btn.klein = Boxen .view-btn) */
.ansicht-leiste .schalter, .masse-schalter { font: 400 14px/1.3 var(--wt-schrift); color: var(--ink); }
.view-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 13px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--papier); color: var(--ink); font: 600 13px/1.2 var(--wt-titel);
}
.view-btn:hover:not(:disabled) { border-color: var(--petrol); background: var(--papier); color: var(--petrol-d); }
.view-btn.active { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.view-btn svg { flex: 0 0 auto; }
/* Kennzahlen unter der Ansicht als eine Zeile wie bei der Kiste (Boxen: .specsheet) */
.specsheet { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.specsheet .spec { display: inline-flex; align-items: baseline; gap: 5px; padding: 0; border: 0; background: none; }
.specsheet .spec .k { display: inline; margin: 0; font: 400 13px/1.4 var(--wt-schrift); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
.specsheet .spec .v { font: 600 13px/1.4 var(--wt-schrift); color: var(--ink); }
.specsheet .spec .v small { margin-left: 1px; font-size: 12px; font-weight: 400; color: var(--muted); }
.specsheet .spec.preis { background: none; }
.specsheet .spec.preis .k { color: var(--ink-2); }
.specsheet .spec.preis .v { font: 700 13px/1.4 var(--wt-schrift); color: var(--petrol-d); }
.specsheet span.spec.ws-nur:not([hidden]) { padding: 0 8px; border-radius: 999px; }
/* Großansicht-Knopf: Schubladeneinsatz (.zoom-btn) wie die anderen (../js/grossansicht.js .wt-zoom-btn) */
.zoom-btn, .wt-zoom-btn { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255, 253, 249, .94); color: var(--ink-2); }
.zoom-btn:hover, .wt-zoom-btn:hover { background: var(--papier); border-color: var(--petrol); color: var(--petrol-d); }
/* Schubladeneinsatz, Reiter 3D: warmer Grund wie die anderen Ansichten (js/preview3d.js zeichnet seit 2026-10-10 durchsichtig),
   Knöpfe auf der Ansicht als Pillen wie die Blick-Knöpfe */
.canvas-wrap.view3d { background: linear-gradient(180deg, var(--wt-karte) 0%, var(--wt-grund-2) 100%); }
.float-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 13px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 253, 249, .94); color: var(--ink); font: 600 13px/1.2 var(--wt-titel); }
.float-btn:hover { border-color: var(--petrol); color: var(--petrol-d); }
.float-btn.muster-schalter { padding: 6px 13px 6px 10px; font-weight: 600; }
.schrift-knoepfe button { border-radius: 999px; border-color: var(--line-2); background: rgba(255, 253, 249, .94); font-family: var(--wt-titel); }
/* klebende Ansichten unter dem höheren Kopf */
@media (min-width: 980px) { .stage > .ansicht-karte { top: calc(var(--wt-kopf-h) + 12px); } }
/* Klebende Ansicht passt ganz ins Fenster (Inhaber 2026-10-14: „Ich hatte das Gefühl, dass bei den Konfiguratoren unten die
   wichtige Zeile ausgeblendet war, wo die Menüs stehen“): Kistel, Gitter, Tisch und Adapter setzten nur die Zeichenfläche auf
   clamp(560px, 100vh − 170px, 1000px) – mit Reitern, Blick-Leiste, Kennzahlen (Adapter: + Markenhinweis) war die Karte um 69–134 px
   höher als das Fenster unter dem Kopf, auf JEDER Bildschirmhöhe (Full HD 1920 × 947 ebenso wie 1536 × 730). „Maße zeigen“, „Von
   vorn/oben/Schräg“, AR und die Kennzahlen lagen beim Arbeiten unter dem Fensterrand. Jetzt ist die Karte höchstens so hoch wie das
   Fenster unter dem Kopf; die Zeichenfläche gibt nach (flex-shrink), Leisten und Kennzahlen behalten ihre Höhe – auch wenn die
   Blick-Leiste zweizeilig wird (Tisch „Klappbar“). Gemessen mit werkzeuge/format-browser-test.js. Großansicht (.wt-gross) und
   Handy-Ansicht (html.hy) bleiben unberührt. */
@media (min-width: 980px) {
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) { display: flex; flex-direction: column; max-height: calc(100vh - var(--wt-kopf-h) - 24px); }
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) > * { flex: 0 0 auto; }
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) > :is(.ansicht, .plan) { flex: 0 1 auto; min-height: 240px; }
}
@supports (height: 100dvh) {
  @media (min-width: 980px) { html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) { max-height: calc(100dvh - var(--wt-kopf-h) - 24px); } }
}
/* niedrige Desktop-Fenster (Laptop, Windows-Skalierung 125/150 %: 1536 × 730, 1366 × 657, 1280 × 595): Reiter, Blick-Leiste und
   Kennzahlen etwas knapper – der Platz geht an die Zeichenfläche */
@media (min-width: 980px) and (max-height: 800px) {
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) > .ansicht-tabs { padding-top: 5px; padding-bottom: 5px; }
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) > .ansicht-leiste { padding-top: 6px; padding-bottom: 6px; }
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) > .kennzahlen { padding-top: 6px; padding-bottom: 7px; }
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) > .marken-hinweis { padding-top: 5px !important; padding-bottom: 7px !important; }
}
/* Ab Full-HD-Höhe (Fenster ab 860 px hoch: 1920 × 937/947/1032/1080, WQHD) ist die ganze Karte schon beim Öffnen zu sehen (Inhaber
   2026-10-14): höchstens bis 12 px über dem Fensterrand, gemessen ab ihrem Platz ohne Scrollen (--wt-ansicht-start aus
   js/ansicht-start.js; fehlt das Skript, gilt die Regel darüber). Die Zeichenfläche gibt nach, Leisten und Kennzahlen bleiben.
   Darunter bleibt die Ansicht groß – einmal scrollen, dann klebt sie ganz im Fenster. */
@media (min-width: 980px) and (min-height: 860px) {
  html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) {
    max-height: min(calc(100vh - var(--wt-kopf-h) - 24px), calc(100vh - var(--wt-ansicht-start, 0px) - 12px));
  }
}
@supports (height: 100dvh) {
  @media (min-width: 980px) and (min-height: 860px) {
    html:not(.hy) .stage > .ansicht-karte:not(.wt-gross) {
      max-height: min(calc(100dvh - var(--wt-kopf-h) - 24px), calc(100dvh - var(--wt-ansicht-start, 0px) - 12px));
    }
  }
}

/* ======================================================================================================================
   Hinweise und Preise
   ====================================================================================================================== */
.hinweise { background: var(--warn-bg); color: var(--warn); }
.hinweise.sperre { background: var(--bad-bg); color: var(--bad); }
.preis-gross b { color: var(--petrol-d); }

/* ======================================================================================================================
   Abschluss „In den Warenkorb“ – in allen sechs Konfiguratoren gleich aufgebaut (Karte .wt-abschluss):
   Preis · Lieferampel · (Stückzahl) · Klausel Sonderanfertigung (js/abschluss.js) · großer Knopf „In den Warenkorb“ ·
   Nebenknöpfe (Link zum Weitermachen, Auf dem Handy weitermachen, PDFs) · Status · Code-Feld
   ====================================================================================================================== */
.wt-abschluss .wt-haupt { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wt-abschluss .wt-haupt > * { flex: 1 1 100%; }
.wt-abschluss .wt-haupt .btn { width: 100%; min-height: 50px; padding: 10px 22px; font-size: 16px; font-weight: 700; }
.wt-abschluss .wt-haupt .btn-secondary { min-height: 42px; font-size: 14px; font-weight: 600; }
.wt-abschluss .wt-haupt .form-error:empty { display: none; }
.wt-abschluss .wt-neben { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wt-abschluss .wt-neben .btn { flex: 1 1 auto; }
/* Preis wie die Kiste: Text links, große Zahl rechts */
.preis-gross.wt-preis, .wt-preis { display: grid; gap: 4px; margin: 4px 0 6px; padding: 0; background: none; color: var(--ink-2); box-shadow: none; border-radius: 0; text-align: left; }
.wt-preis .preis-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font-size: 13.5px; opacity: 1; color: var(--ink-2); }
.wt-preis .preis-zeile > span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.wt-preis .preis-summe { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.wt-preis .preis-zeile + .preis-summe { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.wt-preis .preis-summe > span { font-size: 14px; color: var(--ink-2); }
.wt-preis .preis-summe small { color: var(--muted); font-size: 12px; }
.wt-preis .preis-summe b { font: 700 28px/1.1 var(--wt-titel); color: var(--petrol-d); white-space: nowrap; font-variant-numeric: tabular-nums; }
.wt-preis .preis-hinweis { font-size: 12px; color: var(--muted); }

/* ---------- Klausel Sonderanfertigung (gemeinsamer Baustein js/abschluss.js) ---------- */
.wt-klausel { display: grid; gap: 10px; margin-top: 14px; }
.wt-klausel .gwl-label { margin: 0; }
.wt-klausel label.wt-klausel-chk {
  display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 12px 14px;
  border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--bg-2);
  font: 400 14px/1.5 var(--wt-schrift); color: var(--ink); text-transform: none; letter-spacing: 0; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.wt-klausel label.wt-klausel-chk input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--petrol); cursor: pointer; }
.wt-klausel label.wt-klausel-chk > span { flex: 1 1 auto; min-width: 0; }
.wt-klausel label.wt-klausel-chk b { font-weight: 700; }
.wt-klausel label.wt-klausel-chk a { color: var(--petrol-d); font-weight: 600; }
.wt-klausel label.wt-klausel-chk:hover { border-color: var(--petrol); }
.wt-klausel label.wt-klausel-chk:has(input:checked) { border-color: var(--petrol); background: var(--petrol-l); }
.wt-klausel.fehlt label.wt-klausel-chk { border-color: var(--bad); background: var(--bad-bg); }
.wt-klausel-mehr { font-size: 13.5px; color: var(--ink-2); }
.wt-klausel-mehr > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 600 13.5px/1.4 var(--wt-titel); color: var(--petrol-d); list-style: none; }
.wt-klausel-mehr > summary::-webkit-details-marker { display: none; }
.wt-klausel-mehr > summary::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--petrol-l); color: var(--petrol-d); font: 700 14px/1 var(--wt-titel); }
.wt-klausel-mehr[open] > summary::before { content: '–'; }
.wt-klausel-mehr p { margin: 8px 0 0; line-height: 1.55; }

/* Gewährleistungs-Schild (EU-Pflichtlabel ab 27.09.2026 – feste EU-Farben, nicht Teil des Farbschemas) */
.gwl-label { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #003399; color: #fff; text-decoration: none; }
.gwl-label:hover { opacity: .92; }
.gwl-sterne { flex: none; color: #ffed00; font-size: 20px; line-height: 1; }
.gwl-label b { display: block; font: 700 13.5px/1.3 var(--wt-titel); color: #fff; }
.gwl-label small { display: block; margin-top: 2px; color: #ffed00; font-size: 11.5px; }

/* ======================================================================================================================
   Schubladeneinsatz (css/app.css): Schritt 3 „Abschluss“, untere Reiterleiste
   ====================================================================================================================== */
#shopKasseKarte.wt-abschluss { border: 1px solid var(--line); }
#shopKasseKarte.wt-abschluss .card-h { color: var(--ink); }
#shopKasseKarte .wt-preis { margin-top: 8px; }
#shopKasseKarte .wt-la { margin: 10px 0 0; }
.zarge-karte .card-h, .raster-karte .card-h { color: var(--ink); }
.zarge-karte .card-h .nr ~ .zarge-ico { display: none; }
.tabbar { background: rgba(255, 253, 249, .97); border-top-color: var(--line); }
.tab.active { color: var(--petrol-d); }

/* ======================================================================================================================
   Boxen (Inline-Stil der Seite): Abschnitte als Karten wie die Kiste, Preis wie die Kiste
   ====================================================================================================================== */
.panel-section { padding: 16px; }
#priceEstimate.price-estimate { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 6px 0 2px; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink-2); font: 400 14px/1.4 var(--wt-schrift); }
#priceEstimate.price-estimate small { color: var(--muted); font-size: 12px; }
#priceEstimate.price-estimate strong { font: 700 28px/1.1 var(--wt-titel); color: var(--petrol-d); letter-spacing: 0; }
#railPriceRow { background: var(--petrol-l); border-color: var(--petrol-l); }
.spec.preis { background: var(--petrol-l); }

/* ======================================================================================================================
   Fuß: dunkel wie der Shop-Fuß, rechtliche Links (mit „Vertrag widerrufen“, § 356a BGB) – auf allen Kunden-Seiten gleich
   ====================================================================================================================== */
.wt-fuss { background: var(--wt-fuss); color: var(--wt-fuss-text); font: 400 14.5px/1.6 var(--wt-schrift); }
.wt-fuss-innen {
  max-width: 1200px; margin: 0 auto; padding: 34px 20px 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px;
}
.wt-fuss-logo { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; text-decoration: none; border-radius: 8px; }
.wt-fuss-logo > img { display: block; width: auto; height: 30px; }
.wt-fuss-logo picture, .wt-fuss-logo picture img { display: block; }
.wt-fuss-logo picture img { width: auto; height: 18px; }
/* „Made im Erzgebirge“ (eigenes Zeichen, Variante B, 2026-10-11) neben dem Logo */
.wt-fuss-erz { display: block; flex: 0 0 auto; width: auto; height: 40px; }
.wt-fuss-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.wt-fuss-links a { color: var(--wt-fuss-link); text-decoration: none; }
.wt-fuss-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.wt-fuss :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wt-fuss-unten { max-width: 1200px; margin: 0 auto; padding: 14px 20px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
/* Widerrufsfunktion (§ 356a BGB, 2026-10-12): farbig hervorgehoben wie im Shop-Fuß */
.wt-fuss-widerruf { display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px 9px 13px; border: 2px solid #e3a06c; border-radius: 999px;
  background: rgba(227, 160, 108, .16); color: #fff; font: 700 14.5px/1.2 var(--wt-schrift); text-decoration: none; }
.wt-fuss-widerruf:hover, .wt-fuss-widerruf:focus-visible { background: #e3a06c; color: #1d2327; }
/* Zahlungs-Icons wie im Shop-Fuß (2026-10-13; activemerchant/payment_icons, MIT – siehe /lizenzen) */
.wt-fuss-zahlarten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wt-fuss-zahlarten li { display: flex; }
.wt-fuss-zahlarten img { display: block; width: 38px; height: 24px; }
.wt-fuss-zahlarten .wt-fuss-zahlart-text { height: 24px; padding: 0 8px; align-items: center; border-radius: 3px; background: #fff; color: #1d2327;
  font: 700 11px/1 var(--wt-schrift); letter-spacing: .02em; }
@media (max-width: 640px) {
  .wt-fuss-innen { padding: 28px 16px 16px; flex-direction: column; align-items: flex-start; }
  .wt-fuss-links { gap: 8px 16px; }
  .wt-fuss-unten { padding-left: 16px; padding-right: 16px; }
}
@media print { .wt-fuss { display: none; } }
/* Schubladeneinsatz: unter dem Fuß liegt die feste Reiterleiste – ihr Platz gehört zum Fuß statt als heller Streifen darunter */
body:has(> nav.tabbar) { padding-bottom: 0; }
body:has(> nav.tabbar) .wt-fuss-unten { padding-bottom: calc(20px + var(--tabh, 62px) + env(safe-area-inset-bottom)); }

/* ======================================================================================================================
   Martin auf der Seite (2026-10-22, Teil B – js/martin.js, Werkstatt-Schalter wie auf der Website, privat/lib/martin.php):
   „Frag Martin“ unten rechts (öffnet WhatsApp, E-Mail, Sonderanfrage wie auf der Website; am Handy nur der runde Kopf) und Martins Kopf in
   der Karte „Neu hier? So geht’s …“ (js/so-gehts.js). Ohne die Schalter erzeugt das Skript nichts davon – die Seiten bleiben wie bisher.
   ====================================================================================================================== */
.martin-kopf { display: inline-block; flex: 0 0 auto; line-height: 0; }
.martin-kopf img { display: block; border-radius: 50%; }
.wt-frag { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
body:has(> nav.tabbar) .wt-frag { bottom: calc(var(--tabh, 62px) + env(safe-area-inset-bottom) + 12px); }   /* Besteckeinsatz: über der Reiterleiste */
html.hy body .wt-frag { right: 12px; bottom: calc(var(--hy-leiste-h, 0px) + env(safe-area-inset-bottom) + 12px); }
html.sg-offen .wt-frag, html.hy.hy-tastatur .wt-frag, body.gross-an .wt-frag, body.wt-gross-an .wt-frag { display: none; }
.wt-frag-knopf { display: flex; align-items: center; gap: 10px; margin: 0; padding: 5px 18px 5px 5px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--wt-akzent); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); font: 700 15px/1.2 var(--wt-titel); }
.wt-frag-knopf:hover, .wt-frag-knopf[aria-expanded="true"] { background: var(--wt-akzent-d); }
.wt-frag-knopf:focus-visible, .wt-frag-weg:focus-visible { outline: 3px solid var(--wt-kopf-aktiv, #ffc46b); outline-offset: 2px; }
.wt-frag-knopf .martin-kopf img { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
html.hy .wt-frag-knopf { padding: 4px; }
html.hy .wt-frag-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wt-frag-menue { width: min(300px, calc(100vw - 32px)); padding: 14px; border-radius: 18px; background: var(--wt-karte); border: 1px solid var(--wt-linie);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2); display: grid; gap: 8px; box-sizing: border-box; }
.wt-frag-menue[hidden] { display: none; }
.wt-frag-titel { margin: 0 2px 2px; font: 700 15px/1.3 var(--wt-titel); color: var(--wt-text); }
.wt-frag-weg { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--wt-linie);
  background: var(--wt-karte); color: var(--wt-text); text-decoration: none; font: 700 14.5px/1.25 var(--wt-titel); }
.wt-frag-weg:hover { border-color: var(--wt-akzent); background: var(--wt-akzent-xl); }
.wt-frag-weg svg { flex: 0 0 auto; width: 24px; height: 24px; color: var(--wt-akzent-d); }
.wt-frag-wa svg { color: #1f7a4d; }
.wt-frag-weg small { display: block; margin-top: 2px; font: 400 12.5px/1.35 var(--wt-schrift); color: var(--wt-text-3); }
@media print { .wt-frag { display: none; } }
/* Karte „Neu hier? So geht’s …“ mit Martins Kopf, der Abspiel-Kreis klein unten rechts daran */
.sg-hinweis-martin { position: relative; flex: 0 0 auto; width: 36px; height: 36px; }
.sg-hinweis-martin .martin-kopf img { width: 36px; height: 36px; box-shadow: 0 0 0 1px var(--wt-linie); }
.sg-hinweis-martin .sg-hinweis-play { position: absolute; right: -6px; bottom: -4px; width: 18px; height: 18px; border: 2px solid var(--wt-karte); box-sizing: content-box; }
.sg-hinweis-martin .sg-hinweis-play svg { width: 9px; height: 9px; margin-left: 1px; }
@media (max-width: 560px) {
  .sg-hinweis-martin, .sg-hinweis-martin .martin-kopf img { width: 32px; height: 32px; }
  .sg-hinweis-martin .sg-hinweis-play { width: 16px; height: 16px; }
}

/* ======================================================================================================================
   Abschluss einheitlich (2026-10-22, „Ein Abschluss für alle“ – Inhaber: „dass die ganzen Abschlüsse der Konfiguratoren gleich aussehen“;
   Vorschlag und Muster shop-daten/abschluss-einheitlich/muster.html). Karte .wt-abschluss.wa, feste Reihenfolge:
   Kopf · Zusammenfassung (.wa-zus; Besteckeinsatz: Positionen) · Preis (.wa-preis) · Produkt-Hinweis (.wa-info) · Lieferampel ·
   Stückzahl (.wa-menge) · Notizen + Klausel (js/abschluss.js) · In den Warenkorb (.wt-haupt) · Status (.wa-status) · Kasse-Zeile (.wa-kasse)
   · Bewertungen (.wa-bew) · Lieber selbst drucken? (js/druckdatei.js) · Für deine Unterlagen (.wa-unterlagen) · Code einfügen ·
   Weiteres konfigurieren (js/weitere-konfiguratoren.js). Helfer für Status (mit Martin), „Bestellen per Mail“, offene Positionen und
   Bewertungen: js/abschluss.js v7. Kistel folgt (bis dahin gilt dort der Abschnitt „Abschluss“ oben).
   ====================================================================================================================== */
.wa .wa-zus { margin: 6px 0 0; font: 400 13.5px/1.45 var(--wt-schrift); color: var(--ink-2); overflow-wrap: anywhere; }
.wa .wa-zus:empty { display: none; }
.wa > .wa-preis-block { margin-top: 10px; }
.wa .wa-preis { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.wa .wa-preis-text { min-width: 0; font: 400 14px/1.35 var(--wt-schrift); color: var(--ink-2); }
.wa .wa-preis-text small, .wa .wt-preis .preis-summe > span > small { display: block; margin-top: 1px; font-size: 12px; color: var(--muted); }
.wa .wa-preis-text small a, .wa .wt-preis .preis-summe small a { color: inherit; text-decoration: underline; }
.wa .wa-preis-zahl, .wa .wt-preis .preis-summe b { flex: none; font: 700 28px/1.1 var(--wt-titel); color: var(--petrol-d); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.wa .wa-preis .ml { margin-left: auto; }
.wa .wa-info { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.wa .wa-info:empty { display: none; }
.wa .wa-info b, .wa .versand-zeile b { color: var(--ink-2); }
.wa .versand-zeile { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.wa .wa-menge { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.wa .wa-menge > span:first-child { font-size: 14px; color: var(--ink-2); }
.wa .wa-menge .z { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; background: var(--papier); }
.wa .wa-menge .z button { width: 36px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--petrol-d); }
.wa .wa-menge .z button:disabled { color: var(--line-2); cursor: default; }
.wa .wa-menge .z output { min-width: 34px; text-align: center; font-weight: 700; }
.wa .wt-haupt .btn[aria-busy="true"] { cursor: progress; opacity: .85; }
/* Status direkt unter dem Knopf – eine Stelle für „Haken fehlt“, „lädt“ (mit Martin), Fehler und Hinweise */
.wa .wa-status { margin: 10px 0 0; padding: 10px 12px; border: 0; border-radius: 12px; background: none; font: 400 14px/1.45 var(--wt-schrift); color: var(--ink-2); }
.wa .wa-status:empty { display: none; }
.wa .wa-status.info, .wa .wa-status.ok { background: var(--petrol-l); color: var(--petrol-d); }
.wa .wa-status.warn { background: var(--warn-bg); color: var(--warn); }
.wa .wa-status.fehler, .wa #korbFehler:not(:empty) { background: var(--bad-bg); color: var(--bad); }
.wa .wa-status.laedt { display: flex; align-items: center; gap: 10px; }
.wa .wa-status ul { margin: 6px 0 0; padding-left: 20px; }
.wa .wa-status .ml { color: inherit; }
.wa .wa-kasse { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
/* Werkstattwerte fehlen: „Bestellen geht gerade nur per Mail“ (js/abschluss.js preiseFehlen, Krambord #rueckfallBlock) */
.wa .wa-rueckfall { margin: 10px 0 0; padding: 12px 14px; border: 1px solid #f0d3a2; border-radius: 14px; background: var(--warn-bg); color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.wa .wa-rueckfall[hidden] { display: none; }
.wa .wa-rueckfall p { margin: 0; }
.wa .wa-rueckfall .wa-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.wa .wa-rueckfall .btn { flex: 1 1 150px; }
.wa .wa-rueckfall .wa-rf-meldung:empty, .wa .wa-rueckfall .toast:empty { display: none; }
.wa .wa-rueckfall .wa-rf-meldung, .wa .wa-rueckfall .toast { margin-top: 6px; font-size: 12.5px; color: var(--petrol-d); }
/* noch offene Besteckeinsätze/Krambord in den Positionen (js/abschluss.js offeneZeigen) – auch schon im Kistel (Karte noch ohne .wa) */
.wt-abschluss .wa-offen { margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--petrol); border-radius: 12px; background: var(--petrol-l); color: var(--wt-akzent-dd, #34495a); font-size: 13.5px; line-height: 1.45; }
.wt-abschluss .wa-offen a { color: var(--petrol-d); font-weight: 700; white-space: nowrap; }
/* Bewertungen – nur wenn es freigegebene gibt */
.wa .wa-bew { display: block; margin: 10px 0 0; padding: 9px 12px; border: 1px solid #f3e2b8; border-radius: 12px; background: #fff8e8; color: var(--ink); font-size: 13px; line-height: 1.45; text-decoration: none; }
.wa .wa-bew[hidden] { display: none; }
.wa .wa-bew:hover { border-color: #f5a623; }
.wa .wa-bew .bw-sterne { color: #e59400; letter-spacing: 1px; }
.wa .wa-bew .bw-link { color: var(--petrol-d); font-weight: 700; margin-left: 4px; white-space: nowrap; }
/* Für deine Unterlagen: Liste wie beim Besteckeinsatz statt Knopf-Stapel */
.wa .wa-unterlagen { margin-top: 18px; }
.wa .wa-unterlagen[hidden] { display: none; }
.wa .wa-unterlagen > h3 { margin: 0; font: 700 14px/1.35 var(--wt-titel); color: var(--ink); }
.wa .wa-unterlagen > p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.wa .wa-dl-liste { display: grid; gap: 6px; margin-top: 8px; }
.wa .wa-dl-liste:empty { display: none; }
.wa .wa-dl, .wa .dl { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 8px 12px; box-sizing: border-box;
  border: 1px solid var(--line); border-radius: 12px; background: var(--papier); color: var(--ink); font: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.wa .wa-dl[hidden], .wa .dl[hidden] { display: none; }
.wa .wa-dl:hover, .wa .dl:hover { border-color: var(--petrol); background: var(--petrol-l); }
.wa .wa-dl:focus-visible, .wa .dl:focus-visible { outline: 2px solid var(--petrol); outline-offset: 1px; }
.wa .wa-dl .ico, .wa .dl .ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--petrol-l); color: var(--petrol-d); font: 700 10px/1 var(--wt-titel); }
.wa .wa-dl .ico svg { width: 18px; height: 18px; }
.wa .wa-dl .txt, .wa .dl .txt { flex: 1 1 auto; min-width: 0; }
.wa .wa-dl .txt b, .wa .dl .txt b { display: block; font: 600 13.5px/1.3 var(--wt-titel); color: var(--ink); }
.wa .wa-dl .txt small, .wa .dl .txt small { display: block; font-size: 12px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.wa .wa-dl .pfeil, .wa .dl .arrow { flex: none; color: var(--muted); }
.wa .wa-dl[aria-busy="true"], .wa .dl[aria-busy="true"] { cursor: progress; opacity: .7; }
.wa .wa-dl-option { display: flex; align-items: center; gap: 8px; margin: 0 0 2px 46px; font-size: 12.5px; color: var(--ink-2); text-transform: none; letter-spacing: 0; }
.wa .wa-dl-option input { margin: 0; }
/* Code oder Referenz einfügen (js/code-weiche.js .wt-codefeld; Krambord eigenes Feld .wa-code-feld mit denselben Maßen) */
.wa .wt-codefeld, .wa .wa-code-feld { margin-top: 14px; }
.wa .wa-code-feld label { display: block; margin: 0 0 5px; font: 600 13px/1.35 var(--wt-schrift); color: var(--ink); text-transform: none; letter-spacing: 0; }
.wa .wa-code-feld .wa-code-zeile { display: flex; gap: 8px; flex-wrap: wrap; }
.wa .wa-code-feld input { flex: 1 1 180px; min-width: 0; height: 38px; margin: 0; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--papier); font-size: 14px; }
.wa .wa-code-feld .btn { flex: none; }
.wa .wa-code-feld .wa-code-hilfe { margin: 5px 0 0; font-size: 12px; color: var(--muted); }
.wa .wa-code-feld .form-error:empty, .wa .wa-code-feld .toast:empty { display: none; }
.wa .wa-code-feld .form-error, .wa .wa-code-feld .toast { margin-top: 6px; font-size: 13px; }
/* Weiteres konfigurieren am Ende der Karte (Besteckeinsatz: bei den Positionen oben) */
.wa > .wt-weitere { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
/* Besteckeinsatz: Positionen in der Karte, „Alle Angaben“ zum Aufklappen */
.wa .wa-positionen { margin-top: 8px; }
.wa .wa-positionen .wt-weitere { margin-top: 12px; }
.wa .wa-details { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.wa .wa-details[hidden] { display: none; }
.wa .wa-details > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font: 600 13.5px/1.4 var(--wt-titel); color: var(--petrol-d); }
.wa .wa-details > summary::-webkit-details-marker { display: none; }
.wa .wa-details > summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--petrol-l); color: var(--petrol-d); font: 700 14px/1 var(--wt-titel); }
.wa .wa-details[open] > summary::before { content: "–"; }
.wa .wa-details > div { margin-top: 6px; }
/* Statuszeilen mit Martins Ladesymbol außerhalb der Abschluss-Statuszeile (Druckdatei, Code einfügen) und Besteckeinsatz nach dem Einlegen */
.wt-dd-status.laedt, .wt-cf-status.laedt { display: flex; align-items: center; gap: 8px; }
.ansicht-laden > .ml, .weiche-warten > .ml { margin-right: 10px; }
.status.info > .ml:first-child { margin-right: 8px; }
.wa.wt-ist-gelegt #wkAnzahl { display: none; }
@media (max-width: 400px) {
  .wa .wa-preis-zahl, .wa .wt-preis .preis-summe b { font-size: 25px; }
}
