/*
 * Koch365 – print.css
 * Chargé uniquement à l'impression (media="print").
 * Objectif : plan + liste de courses propres sur A4, sans formulaire ni boutons.
 */
@page { size: A4; margin: 12mm; }

body {
  background: #fff !important;
  color: #000 !important;
  font-size: 10.5pt;
  line-height: 1.35;
}

/* Éléments inutiles sur papier */
.kopf nav, .hero, #planer, #so-gehts, .aktionen, .tag-karte__aktionen,
#knopf-zuruecksetzen, .skip-link, .zurueck, .portionen button, .fuss nav, .meldung {
  display: none !important;
}

.kopf, .fuss { border: 0 !important; background: none !important; }
.kopf__innen { min-height: 0 !important; }
.logo { font-size: 14pt !important; }
.fuss { margin-top: 6mm !important; font-size: 8pt; }

.container { max-width: none !important; padding: 0 !important; }
.abschnitt { padding: 0 !important; }
.karte, .tag-karte, .schritte li, .rezept__fakten div {
  box-shadow: none !important;
  border: 1px solid #999 !important;
  border-radius: 4px !important;
  background: #fff !important;
}
.karte { padding: 4mm !important; }

h1 { font-size: 18pt !important; }
h2 { font-size: 14pt !important; margin-bottom: 2mm !important; }
a { color: #000 !important; text-decoration: none !important; }

/* Plan : grille compacte de 4 colonnes */
.tage { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 3mm !important; }
.tag-karte { padding: 3mm !important; border-top: 2pt solid #000 !important; break-inside: avoid; }
.tag-karte__name { font-size: 11pt !important; }
.tag-karte__meta { font-size: 8.5pt !important; color: #333 !important; }
.tags { display: none !important; }
.info { background: none !important; color: #000 !important; padding: 0 !important; font-size: 9pt; }

/* Liste de courses : nouvelle page, 3 colonnes, cases vides à cocher au stylo */
#einkauf { break-before: page; }
.einkauf { columns: 3 !important; column-gap: 6mm !important; }
.einkauf__gruppe { break-inside: avoid; margin-bottom: 4mm !important; }
.einkauf__gruppe h3 { color: #000 !important; font-size: 9pt !important; }
.einkauf label { min-height: 0 !important; padding: .6mm 0 !important; }
.einkauf input[type="checkbox"] { width: 11pt !important; height: 11pt !important; }
.einkauf input:checked + label { opacity: 1 !important; }

/* Page recette */
.rezept__raster { display: grid !important; grid-template-columns: 1fr 1.5fr !important; gap: 5mm !important; }
.zubereitung li::before { background: none !important; border: 1px solid #000; color: #000 !important; }
