/* Print-Styles für Psychosuche.de */

@media print {
  /* Allgemeine Druckstile */
  body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
  }
  
  /* Header und Footer ausblenden */
  header, footer {
    display: none !important;
  }
  
  /* Zurück-Button ausblenden */
  .back-link {
    display: none !important;
  }
  
  /* Navigationselemente ausblenden */
  .nav-button {
    display: none !important;
  }
  
  /* Seitenumbrüche vermeiden innerhalb von Elementen */
  .practice-card, .info-card {
    page-break-inside: avoid;
  }
  
  /* Schatten und Hintergrundfarben entfernen */
  .practice-card, .info-card, .contact-card, .hours-card, .treatments-card, .languages-card, .additional-card {
    box-shadow: none !important;
    border: 1px solid #ccc;
    background-color: #fff !important;
  }
  
  /* Links formatieren */
  a {
    text-decoration: none;
    color: #000;
  }
  
  /* URLs nach Links anzeigen */
  a[href^="http"]:after, a[href^="https"]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
  
  /* Telefonnummern und E-Mail-Adressen formatieren */
  a[href^="tel"]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
  
  a[href^="mailto"]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
  }
  
  /* Buttons für den Druck formatieren */
  .contact-button, .action-button {
    border: 1px solid #ccc;
    background-color: #fff !important;
    color: #000 !important;
  }
  
  /* Kontakt-Button Status ausblenden */
  .contact-button.contacted {
    background-color: #fff !important;
    color: #000 !important;
  }
  
  /* Praxisdetails optimieren */
  .practice-title {
    font-size: 18pt;
    margin-bottom: 1rem;
  }
  
  .practice-specialty {
    font-size: 14pt;
    margin-bottom: 1rem;
  }
  
  /* Karten-Layout für den Druck optimieren */
  .practice-content {
    display: block;
  }
  
  .info-grid {
    display: block;
  }
  
  /* Farben für bessere Lesbarkeit anpassen */
  .card-title {
    color: #000 !important;
  }
  
  /* Icons für den Druck optimieren */
  svg {
    fill: none !important;
    stroke: #000 !important;
  }
  
  /* Seitenumbruch vor jeder Praxis */
  .page-container {
    page-break-before: always;
  }
  
  /* Seitenränder anpassen */
  @page {
    margin: 2cm;
  }
}
