@charset "UTF-8";
/* =====
 * Druckfassung der drei Flugpläne (Strg+P): blendet Kopf, Fuß und Knöpfe aus.
 * ===== */

.druckkopf { display: none; }

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

  html, body { background: #fff !important; }
  body, body * {
    color: #000 !important; background: transparent !important;
    box-shadow: none !important; text-shadow: none !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }

  .sky, .kopf, .sprung, .mobilleiste, .planwahl, .saisonwahl, .pickers, .plan__head, .cta, noscript,
  .aeg-suche__form, .aeg-tafel__filter, [data-detail] > .hint:only-child,
  details.aeg-klapp:not([open]) { display: none !important; }
  .aeg-plan__abschnitt:not(:has(details[open])) { display: none !important; }

  .plan { padding: 0 !important; }
  .druckkopf { display: block; margin: 0 0 12pt; padding-bottom: 6pt; border-bottom: 1px solid #000; }
  .druckkopf__titel { font-size: 15pt; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
  .druckkopf__stand { margin-top: 3pt; font-size: 9pt; }

  .weeksum { margin: 0 0 8pt; font-size: 13pt; font-weight: 700; }
  .weeknote { margin: 0 0 10pt; padding: 6pt 8pt; border: 1px solid #999; border-radius: 4px; max-width: none; font-size: 9pt; }
  .week__block { margin-bottom: 10pt; break-inside: avoid; }
  .week__dir { margin-bottom: 4pt; font-size: 9pt; }
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)) !important; gap: 4px; margin-bottom: 0; }
  .day { padding: 5px; gap: 3px; border: 1px solid #999 !important; border-radius: 4px; break-inside: avoid; }
  .day.is-open { border: 2px solid #000 !important; }
  .day:disabled { opacity: .6; }
  .day__times { gap: 3px; }
  .day__t { font-size: 9pt; }
  .day__wait, .day__hinweis, .day__termine { font-size: 7pt; line-height: 1.25; }
  .day__next { border: 1px solid #000; }

  #tagdetail { margin-top: 12pt; }
  .detail__day { margin-bottom: 6pt; font-size: 12pt; }
  .strip { margin-bottom: 10pt; break-inside: avoid; }
  .strip__foot, .strip__termin, .legline__meta, .stop__wait { font-size: 8.5pt; }
  .legline__track { height: 0; border-top: 1px dashed #666; }

  .fineprint { margin-top: 10pt !important; max-width: none; font-size: 8pt; }
  .foot { margin-top: 12pt; padding: 6pt 0 0; border-top: 1px solid #999; gap: 4px 16px; font-size: 8pt; }
  a { text-decoration: none; }

  .aeg-suche__ergebnis { grid-template-columns: 1fr 1fr; gap: 14pt; margin-top: 0; }
  .aeg-richtung__titel b { font-size: 12pt; }
  .aeg-tag { padding: 5pt 0; gap: 8px; grid-template-columns: 34px minmax(0, 1fr); border-top: 1px solid #bbb; break-inside: avoid; font-size: 9pt; }
  .aeg-tag__wt { font-size: 9.5pt; }
  .aeg-schenkel__strecke, .aeg-umstieg, .aeg-tag__info { font-size: 8pt; }
  .aeg-tag__info .aeg-direkt { padding: 0; }
  .aeg-richtung__leer { border-top: 1px solid #bbb; font-size: 9pt; }

  .aeg-plan__abschnitt { margin-top: 14pt; }
  .aeg-plan__abschnitt > h2 { font-size: 13pt; }
  .aeg-plan__abschnitt > p { font-size: 9pt; }
  details.aeg-klapp { margin-top: 10pt; border-top: 1px solid #999; }
  details.aeg-klapp > summary { padding: 6pt 0; }
  details.aeg-klapp > summary::after { display: none; }
  .aeg-klapp__t { font-size: 10.5pt; }
  .aeg-klapp__d { font-size: 8.5pt; }
  .aeg-tafel { margin: 0; border: 0; border-radius: 0; overflow: visible; }
  .aeg-tafel__rahmen { overflow: visible; }
  .aeg-tafel table { width: 100%; min-width: 0; font-size: 8.5pt; }
  .aeg-tafel thead { display: table-header-group; }
  .aeg-tafel tr { break-inside: avoid; }
  .aeg-tafel th { padding: 3pt 5pt; border-bottom: 1px solid #000; font-size: 7pt; }
  .aeg-tafel td { padding: 2.5pt 5pt; border-bottom: 1px solid #bbb; }
  .aeg-tafel caption { padding: 5pt 0 0; font-size: 7.5pt; }
}
