/* Druckansicht (Modellseite, Vergleich) */
@page { margin: 14mm 12mm; }
:root, :root[data-theme="dark"] {
  --papier: #fff; --flaeche: #fff; --flaeche-2: #fff; --tinte: #000; --tinte-2: #333; --tinte-3: #777; --linie: #bbb; --linie-stark: #888;
  --dcv-z-linie: #000; --dcv-z-flaeche: #fff; --dcv-z-flaeche-2: #eee; --raster-fein: rgb(0 0 0 / .05); --raster-grob: rgb(0 0 0 / .1);
}
html, body { background: #fff !important; color: #000; font-size: 10.5pt; }
.kopf__werkzeuge, .hauptnav, .lineal, .vergleichsleiste, .fuss__spalten, .fuss__zeile, .springen, .brotkrumen,
.filterleiste, .schnell, .ergebnis__kopf, .karte__fuss .kontrolle, .nicht-drucken, .modellkopf__werkzeuge, .vergleich__werkzeuge,
.vergleich__suche, .kurzhinweis, dialog { display: none !important; }
.kopf { position: static; backdrop-filter: none; border-bottom: 1.5px solid #000; }
.fuss { background: #fff; color: #000; margin-top: 8mm; border-top: 1px solid #000; }
.fuss__innen { padding: 4mm 0; display: block; }
.fuss__marke, .fuss__satz { display: none; }
.fuss__betreiber { color: #000; border: 0; padding: 0; }
a { text-decoration: none; }
.nur-druck { display: block !important; }
h1, h2, h3 { break-after: avoid; }
/* Tabellen dürfen über Seiten laufen (Kopf wiederholt sich), einzelne Zeilen und Zeichnungen nicht */
table { break-inside: auto; }
tr, .karte, .minikarte, figure, .zeichenblatt, .bewertung__zeile, .kennzahl, .seitenkasten, .gesamtwert { break-inside: avoid; }
thead { display: table-header-group; }
.wertegruppe__titel, .abschnitt__kopf, .vgl__gruppenkopf { break-after: avoid; }

/* Bedienelemente nicht drucken; gewählte Werte stehen als Text daneben (.nur-druck) */
button, select, .schalter, .vgl__entfernen, .vgl__frei, [data-geteilt], .textknopf, .zeichenblatt__leiste,
.ergebnis__werkzeuge, .pz-vergleich { display: none !important; }
.nur-druck-text { display: inline !important; }
.gesamtwert__kopf .feld { display: block; }

/* Vergleich: volle Breite, keine klebenden Zellen, kein Scrollbereich */
.vgl-rahmen { overflow: visible !important; border-top-width: 1px; }
.vgl { width: 100% !important; font-size: 9pt; }
.vgl thead th, .vgl tbody th[scope="row"], .vgl__ecke { position: static !important; }
.vgl th, .vgl td { padding: 5px 7px; }
.vgl__name { font-size: 12pt; }
.vgl__z { height: 200px; }
.vgl tr.ist-anders > td:not(.vgl__frei) { background: none; }

/* Druckfuß: Quelle (Adresse der Seite) und Datenstand */
.fuss__druck { display: block !important; margin-top: 2mm; font-size: 8.5pt; overflow-wrap: anywhere; }
.tabelle thead th { position: static; }
details > *:not(summary) { display: block !important; }
.tabelle-rahmen { max-height: none !important; overflow: visible !important; border: 0; }
.seitenkasten--melden { display: none !important; }
