/* ==========================================================================
   KleinBuchhaltung – print.css
   Clean print styles for landing page output
   ========================================================================== */

@media print {
  /* Hide non-essential elements */
  .site-header,
  .nav,
  .hero__visual,
  .hero__actions,
  .hero__note,
  .cta-banner,
  .nav__burger,
  .pricing-card .btn,
  .pricing-card__note {
    display: none !important;
  }

  /* Reset backgrounds and shadows for print */
  *,
  *::before,
  *::after {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #000 !important;
  }

  body {
    font-size: 11pt;
    line-height: 1.5;
  }

  /* Ensure links are readable */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555 !important;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Hero: plain text on white */
  .hero {
    padding: 1cm 0;
    min-height: auto;
    background: transparent !important;
  }

  .hero__headline {
    font-size: 22pt;
    color: #000 !important;
  }

  .hero__eyebrow,
  .hero__sub {
    color: #333 !important;
  }

  /* Sections: no padding excess */
  .features,
  .how-it-works,
  .integrations,
  .pricing {
    padding: 0.75cm 0;
    border: none;
  }

  /* Feature grid: 2 columns in print */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5cm;
  }

  .feature-card {
    border: 1px solid #ccc;
    break-inside: avoid;
  }

  /* Integrations: inline */
  .integration-list {
    gap: 0.4cm;
  }

  .integration-item {
    border: 1px solid #ccc;
  }

  /* Pricing */
  .pricing-layout {
    flex-direction: column;
  }

  .pricing-card {
    border: 1px solid #ccc;
  }

  .pricing-card__badge {
    position: static;
    display: inline-block;
    background: #000 !important;
    color: #fff !important;
    margin-bottom: 0.3cm;
  }

  /* Page breaks */
  .features,
  .pricing {
    page-break-before: auto;
  }

  h2, h3 {
    page-break-after: avoid;
  }

  ul, ol, table {
    page-break-inside: avoid;
  }

  /* Footer */
  .site-footer {
    padding: 0.5cm 0;
    border-top: 1px solid #ccc;
    background: transparent !important;
  }

  .site-footer__nav-group a::after {
    content: "";
  }
}
