/* UmzugsfirmaFinden – Bloque 03: nur Ergänzungen für die neuen Seiten. Nutzt die Variablen aus site.css. */

/* Verlinkter "Nächster Schritt"-Block */
a.next { text-decoration: none; color: #fff; margin-top: var(--s6); }
a.next:hover h3 { text-decoration: underline; text-decoration-color: var(--teal); }
a.next svg { width: 28px; height: 28px; color: var(--teal); }

/* Kartonplaner */
.kp-table td { vertical-align: middle; }
.kp-table .input, .kp-table .select { min-width: 0; }
.kp-table td.r .input { max-width: 7rem; margin-left: auto; text-align: right; }
[data-kartonplaner] .btn-row { margin: var(--s3) 0 var(--s4); }

/* Checkliste: Werkzeugleiste und Filter */
.cl-tools { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: var(--pearl); margin-bottom: var(--s5); }
.cl-filter { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.cl-filter legend { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.cl-filter label { position: relative; }
.cl-filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cl-filter span { display: inline-block; padding: 5px 12px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: var(--fs-sm); font-weight: 600; color: var(--navy-900); cursor: pointer; }
.cl-filter input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.cl-filter input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.cl-phase { margin-top: var(--s6); }
.cl-phase:first-of-type { margin-top: 0; }
.cl-phase > .meta { margin: 4px 0 var(--s3); }
.cl-phase[hidden], li[data-cat][hidden] { display: none; }

/* Druck: nur die Checkliste, Kästchen bleiben zum Abhaken frei */
@media print {
  body.p-druck .site-header, body.p-druck .site-footer, body.p-druck .sidebar, body.p-druck .toc-mobile,
  body.p-druck .cl-tools, body.p-druck .skip, body.p-druck .author, body.p-druck .next, body.p-druck .byline,
  body.p-druck .lead, body.p-druck .checklist .progress, body.p-druck [data-count] { display: none !important; }
  body.p-druck .page-head { background: none; padding: 0 0 12px; }
  body.p-druck .layout { display: block; }
  body.p-druck .checklist { border: 0; }
  body.p-druck .checklist ul { padding: 0; }
  body.p-druck .checklist li { break-inside: avoid; }
  body.p-druck .checklist label { padding: 5px 0; }
  body.p-druck .checklist label:has(input:checked) .task-text { text-decoration: none; color: inherit; }
  body.p-druck .cl-phase { break-inside: auto; margin-top: 16px; }
  body.p-druck a { color: inherit; text-decoration: none; }
}
