/* Halbjahresplan: ein A4-Blatt (Webseite und Leiterbereich). Schrift wird per plan.js verkleinert, bis alles auf eine Seite passt. */
.hjp-wrap{overflow:hidden;margin:0 auto}
.hjp{--hjp-fs:10.5pt;--hjp-brand:var(--brand-base,var(--brand,#1B3A24));--hjp-sun:var(--sun,#E8A33D);
  width:210mm;min-height:297mm;box-sizing:border-box;padding:13mm 15mm 12mm;background:#fff;color:#1F2722;
  font:400 var(--hjp-fs)/1.32 "Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;transform-origin:top left;
  display:flex;flex-direction:column;box-shadow:0 1px 3px rgba(0,0,0,.08),0 8px 30px rgba(0,0,0,.08);color-scheme:light}
.hjp *{box-sizing:border-box}
.hjp-head{display:flex;align-items:center;gap:4.5mm;padding-bottom:3mm;border-bottom:.7mm solid var(--hjp-brand);margin-bottom:3mm}
.hjp-logo{height:15mm;width:auto;max-width:30mm;object-fit:contain;flex:none}
.hjp-titles{flex:1;min-width:0}
.hjp-glogo{height:20mm;width:auto;max-width:34mm;object-fit:contain;flex:none}
.hjp,.hjp-leader img,.hjp-ini,.hjp-note{-webkit-print-color-adjust:exact;print-color-adjust:exact}
.hjp-schar{margin:0;font-weight:800;font-size:.9em;color:#5E6862}
.hjp h1{margin:0;font:650 2.05em/1.1 "Fraunces",Georgia,serif;color:var(--hjp-brand);letter-spacing:-.01em}
.hjp-sub{margin:.5mm 0 0;font-weight:800;color:var(--hjp-brand)}
.hjp-intro{margin:0 0 2mm}.hjp-intro p{margin:0 0 1.2mm}
.hjp-info{margin:0 0 2.5mm;font-weight:700}
.hjp-table{width:100%;border-collapse:collapse;margin:0}
.hjp-table col.c-d{width:22mm}.hjp-table col.c-t{width:26mm}.hjp-table col.c-w{width:42mm}
.hjp-table th,.hjp-table td{text-align:left;padding:.9mm 1.6mm;border-bottom:.2mm solid #E3DED3;vertical-align:top}
.hjp-table thead th{font-size:.78em;text-transform:uppercase;letter-spacing:.06em;color:#5E6862;font-weight:800;border-bottom:.35mm solid #CFC8B8}
.hjp-table .hjp-month th{padding-top:2.2mm;padding-bottom:.6mm;font:700 1.05em "Fraunces",Georgia,serif;color:var(--hjp-brand);border-bottom:.35mm solid var(--hjp-brand)}
.hjp-table td.d{font-weight:800;white-space:nowrap}
.hjp-table td.t{white-space:nowrap;color:#3D4741}
.hjp-table tr.k-schar td{background:#FBF1DE;font-weight:700}
.hjp-table tr.k-extra td{color:#5E6862;font-style:italic}
.hjp-table tr{break-inside:avoid}
.hjp-empty{color:#5E6862;margin:6mm 0}
.hjp-foot{margin-top:7mm;color:#3D4741}
.hjp-lh{margin:0 0 2.5mm;font:650 1.15em/1.2 "Fraunces",Georgia,serif;color:var(--hjp-brand)}
.hjp-leaders{display:grid;grid-template-columns:repeat(4,1fr);gap:3mm 4mm}
.hjp-leader{display:flex;align-items:center;gap:2.5mm;min-width:0}
.hjp-leader img,.hjp-ini{width:11mm;height:11mm;border-radius:50%;object-fit:cover;flex:none;border:.5mm solid var(--hjp-brand)}
.hjp-ini{display:flex;align-items:center;justify-content:center;background:#E7EFE6;color:var(--hjp-brand);font-weight:900;font-size:1.1em}
.hjp-leader div{display:flex;flex-direction:column;line-height:1.2;font-size:.9em}
.hjp-leader b{font-size:1.08em;color:#1F2722}
.hjp-leader span{color:#5E6862}
.hjp-note{margin:5mm 0 0;padding:2.2mm 3.5mm;border-radius:2mm;background:#F3F1EB;font-size:.88em;color:#3D4741}
.hjp,.hjp tr.k-schar td{-webkit-print-color-adjust:exact;print-color-adjust:exact}
@media print{
  @page{size:A4;margin:0}
  html,body{background:#fff!important;margin:0!important;padding:0!important}
  .no-print{display:none!important}
  .hjp-wrap{overflow:visible!important;height:auto!important;width:auto!important;margin:0!important}
  .hjp-page{padding:0!important}
  body > div[style*="sticky"]{display:none!important}
  .hjp{transform:none!important;box-shadow:none!important;height:296mm;min-height:0;overflow:hidden}
}
.hjp .hjp-month th{text-transform:none;letter-spacing:0}

/* Zwei Spalten: viele Termine auf einer Seite */
.hjp-cols{display:grid;grid-template-columns:1fr 1fr;gap:6mm;align-items:start}
.hjp-cols .hjp-table col.c-d{width:14mm}.hjp-cols .hjp-table col.c-t{width:21mm}
