/* === print.css ===========================================================
 * Druckansicht. Wird per media="print" eingebunden und ist damit die
 * einzige Stelle, die sich um Papier kümmert.
 *
 * Es gibt keinen Drucken-Knopf mehr, aber Strg+P soll trotzdem etwas
 * Brauchbares liefern statt einer schwarzen Seite.
 * ======================================================================= */

@page {
  size: A4 landscape;
  margin: 12mm;
}

/* Papier ist ein zweites Theme: die Rollen werden neu belegt, alle
   Komponenten folgen automatisch. */
:root {
  --flaeche:         #fff;
  --flaeche-2:       #fff;
  --flaeche-3:       #fff;
  --flaeche-fest:    #fff;
  --flaeche-eingabe: #fff;
  --flaeche-akzent:  #fff;

  --text:         #000;
  --text-koerper: #000;
  --text-schwach: #333;
  --text-zart:    #555;
  --text-akzent:  #000;

  --linie:       #999;
  --linie-zart:  #bbb;
  --linie-stark: #666;

  --schatten-s: none;
  --schatten-m: none;
  --schatten-l: none;
  --glanz-akzent: none;
  --glas-blur: 0px;
}

body {
  background: #fff;
  font-size: 8pt;
}

/* Hintergrundfoto und Verlauf weg – kosten nur Toner. */
body::before,
body::after { display: none; }

/* Bedienelemente und Linksammlung gehören nicht aufs Blatt. */
.filter,
.angebote,
.skip-link,
.spalte-aktionen,
.zelle-aktionen,
.chip button,
.fusszeile-rechts { display: none; }

.seite {
  max-width: none;
  padding: 0;
}

.hero {
  max-width: none;
  padding: 0 0 4mm;
  margin-bottom: 4mm;
  border-bottom: .5pt solid #000;
}
.hero-marke { margin-bottom: 2mm; }
.hero-logo { height: 12mm; filter: none; }
.hero h1 { font-size: 14pt; }
.hero-eyebrow {
  border: 0;
  padding: 0;
  background: none;
}
.hero-lead,
.hero-kennzahlen { display: none; }

.ergebnis { margin: 0 0 3mm; }

.tabelle-huelle {
  border: 0;
  border-radius: 0;
  overflow: visible;
}

table { font-size: 8pt; }

thead th {
  background: #e8e8e8;
  border-bottom: .5pt solid #000;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.sortknopf { padding: 1.5mm; }
.sortknopf svg { display: none; }

tbody tr {
  animation: none;
  page-break-inside: avoid;
}
tbody td { padding: 1.5mm; }

/* Auf Papier hilft kein Icon – der Hinweis, dass es die Datei gibt, schon. */
.dok svg { display: none; }
.dok::after {
  content: "Angabe";
  font-size: 7pt;
}
.dok-loesung::after { content: "Lösung"; }
.dok {
  width: auto;
  height: auto;
}

mark {
  background: none;
  font-weight: 700;
}

.fusszeile {
  margin-top: 4mm;
  padding-top: 2mm;
}

thead { display: table-header-group; }

/* Textseiten (Impressum/Datenschutz) sollen normal lesbar drucken. */
.textseite { max-width: none; }
.textseite .panel { padding: 0; }
.textseite,
.textseite p,
.textseite dd { font-size: 9pt; }
