/* fountainpen.de — Print stylesheet
   Activated automatically by browsers and PDF export tools when printing.
   Goal: clean, paper-friendly layout with model content + breadcrumb only.
*/
@media print {
  /* Hide chrome elements */
  #fp-topbar, #fp-nav, .lang-btn, .topbar, nav, .fp-toplinks,
  .fp-breadcrumb a, .fp-related, footer, .footer,
  .nav-row, .hero-search, .heir-promo, .faq-promo,
  .skip-link, button, video, audio, iframe,
  [aria-hidden="true"], .no-print {
    display: none !important;
  }

  /* Reset background + colors for ink-friendly printing */
  html, body {
    background: #fff !important;
    color: #111 !important;
    font-size: 11pt;
    line-height: 1.5;
    font-family: Georgia, 'Times New Roman', serif;
  }

  /* Wrapper resets */
  #fp-wrapper, #fp-content-outer {
    max-width: 100% !important;
    box-shadow: none !important;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Logo + header */
  #fp-header {
    border-bottom: 1pt solid #888 !important;
    padding: 0 0 6pt !important;
    margin-bottom: 12pt !important;
    background: #fff !important;
  }
  #fp-header img { max-height: 36pt !important; width: auto !important; }
  #fp-tagline { font-size: 9pt !important; color: #555 !important; }

  /* Headings */
  h1, h2, h3 { color: #111 !important; page-break-after: avoid; }
  h1 { font-size: 16pt; margin-top: 14pt; }
  h2 { font-size: 13pt; margin-top: 12pt; }
  h3 { font-size: 11pt; margin-top: 10pt; }

  /* Tables */
  table { border-collapse: collapse !important; width: auto !important; max-width: 100% !important; }
  td, th { background: transparent !important; color: #111 !important; padding: 4pt 6pt !important; }

  /* Links: show URL in print */
  a, a:link, a:visited {
    color: #111 !important;
    background: transparent !important;
    text-decoration: underline;
  }
  a[href^="http"]:after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }
  a[href^="#"]:after, a[href^="mailto:"]:after, a[href^="tel:"]:after { content: ""; }

  /* Images */
  img { max-width: 100% !important; height: auto !important; page-break-inside: avoid; }
  picture { display: inline-block; }

  /* Page breaks */
  .page-break { page-break-before: always; }
  article, section { page-break-inside: avoid; }

  /* Print-only footer with source URL + date */
  body:after {
    content: "Quelle: fountainpen.de — Stand: " attr(data-print-date);
    display: block;
    border-top: 1pt solid #ccc;
    margin-top: 18pt;
    padding-top: 6pt;
    font-size: 8pt;
    color: #666;
  }

  /* Don't print background colors */
  * {
    background-color: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Margins per page */
  @page {
    margin: 18mm 15mm 22mm;
    size: A4;
  }
}
