
/* u-werte-print.css — Druck & PDF (JFR ImmoEnergy CI) */

.uw-print-report {
  display: none;
}

.uw-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed color-mix(in srgb, var(--fg) 15%, transparent);
}

.uw-export-actions .uw-btn {
  min-height: 40px;
}

@media (max-width: 900px) {
  .uw-export-actions {
    flex-direction: column;
  }
  .uw-export-actions .uw-btn {
    width: 100%;
    min-height: 48px;
  }
}

.uw-print-report {
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 10pt;
  color: #1a1a1a;
  line-height: 1.35;
}

.uw-pr-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1b5e20;
  margin-bottom: 12px;
}
.uw-pr-logo strong {
  display: block;
  font-size: 13pt;
  color: #1b5e20;
}
.uw-pr-logo span {
  font-size: 8.5pt;
  color: #555;
}
.uw-pr-meta {
  text-align: right;
  font-size: 8.5pt;
  color: #444;
}

.uw-pr-title {
  margin: 0 0 4px;
  font-size: 12pt;
  font-weight: 700;
  color: #1b5e20;
}
.uw-pr-sub {
  margin: 0 0 12px;
  font-size: 9pt;
  color: #555;
}

.uw-pr-infobox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  padding: 10px 12px;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  margin-bottom: 14px;
  font-size: 9pt;
}
.uw-pr-infobox dt {
  font-weight: 700;
  color: #1b5e20;
  margin: 0;
}
.uw-pr-infobox dd {
  margin: 0 0 6px;
}

.uw-pr-section-title {
  margin: 14px 0 6px;
  padding: 4px 8px;
  background: #1b5e20;
  color: #fff;
  font-size: 8.5pt;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.uw-pr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9pt;
  margin-bottom: 12px;
}
.uw-pr-table th,
.uw-pr-table td {
  border: 1px solid #81c784;
  padding: 5px 8px;
  vertical-align: middle;
}
.uw-pr-table thead th {
  background: #c8e6c9;
  font-weight: 700;
  text-align: left;
  color: #1b5e20;
}
.uw-pr-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.uw-pr-table tbody tr:nth-child(even) td {
  background: #f1f8e9;
}
.uw-pr-table tfoot td {
  font-weight: 700;
  background: #e8f5e9;
}
.uw-pr-table .row-surface td {
  font-style: italic;
  color: #444;
  background: #fafdf9;
}
.uw-pr-table .row-sum td {
  background: #c8e6c9 !important;
  font-size: 10pt;
  color: #1b5e20;
}

.uw-pr-result-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px;
  border: 2px solid #2e7d32;
  margin: 14px 0;
  background: #fff;
}
.uw-pr-u-label {
  font-size: 8pt;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #555;
}
.uw-pr-u-value {
  font-size: 22pt;
  font-weight: 800;
  color: #1b5e20;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.uw-pr-u-unit {
  font-size: 9pt;
  color: #666;
}
.uw-pr-verdict {
  flex: 1;
  font-size: 9pt;
  padding-left: 16px;
  border-left: 1px solid #a5d6a7;
}

.uw-pr-cross {
  margin: 12px 0;
  text-align: center;
}
.uw-pr-cross img {
  max-width: 100%;
  height: auto;
  border: 1px solid #81c784;
  background: #fff;
}

.uw-pr-footer {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid #ccc;
  font-size: 7.5pt;
  color: #666;
  line-height: 1.45;
}
.uw-pr-footer strong {
  color: #333;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 14mm;
  }

  body.print-uw-report header,
  body.print-uw-report footer,
  body.print-uw-report .kontaktbar,
  body.print-uw-report .page-hero,
  body.print-uw-report .erklaer-grid,
  body.print-uw-report .twocol,
  body.print-uw-report .u-compare-section,
  body.print-uw-report #so-gehts,
  body.print-uw-report .faq,
  body.print-uw-report .uw-workbench,
  body.print-uw-report .cta-section-big,
  body.print-uw-report h2#rechner {
    display: none !important;
  }

  body.print-uw-report main,
  body.print-uw-report .container,
  body.print-uw-report .section {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }

  body.print-uw-report .uw-print-report {
    display: block !important;
  }

  .uw-pr-table thead th,
  .uw-pr-table tbody tr:nth-child(even) td,
  .uw-pr-table tfoot td,
  .uw-pr-table .row-sum td,
  .uw-pr-infobox,
  .uw-pr-section-title {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
