/* =========================================================================
   Glasklar · Hilfecenter (hilfe.nuvario.de)
   Baut auf glasklar.css und glasklar-recht.css auf und enthaelt nur die
   Regeln der Hilfe-Seiten: Kacheln der Startseite, Zwischentitel,
   Checklisten, Tabellen und den PDF-Verweis im Leitfaden.
   ========================================================================= */

/* ---------- Kopf ---------- */
.page-hilfe .nav-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.page-hilfe .nav-zusatz {
  padding-left: 12px; border-left: 1px solid rgba(var(--ink-rgb), .16);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2);
}

/* ---------- Startseite: Kacheln ---------- */
.hilfe-kacheln { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 380px)); gap: 24px; padding: 0; margin: 0; }
.hilfe-kachel {
  display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 30px; border-radius: 26px;
  color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hilfe-kachel:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.hilfe-kachel img { height: 30px; width: auto; align-self: flex-start; margin-bottom: 10px; }
.hilfe-kachel-titel { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.hilfe-kachel-text { color: var(--ink2); font-size: 16px; line-height: 1.55; }
.hilfe-kachel-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--brand); }
.hilfe-kachel-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.hilfe-kachel:hover .hilfe-kachel-link svg { transform: translateX(3px); }

/* ---------- Leitfaden ---------- */
/* Inhaltsverzeichnis mit 25 Eintraegen: engere Zeilen, damit moeglichst alle auf einen Blick passen.
   Reicht die Hoehe nicht, zeigt ein schmaler Balken, dass die Spalte weiterlaeuft. */
.page-hilfe .toc { scrollbar-width: thin; scrollbar-color: rgba(var(--brand-rgb), .35) transparent; -ms-overflow-style: auto; padding-right: 10px; }
.page-hilfe .toc::-webkit-scrollbar { width: 6px; height: 0; }
.page-hilfe .toc::-webkit-scrollbar-thumb { background: rgba(var(--brand-rgb), .35); border-radius: 999px; }
.page-hilfe .toc ol { gap: 0; }
.page-hilfe .toc a { min-height: 30px; padding: 4px 10px; font-size: 14px; line-height: 1.3; }
.prose .prose-zwischen {
  margin: 26px 0 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep);
}
.prose h2 + .prose-zwischen { margin-top: 18px; }
.prose .checkliste { list-style: none; padding-left: 0; }
.prose .checkliste li { display: flex; gap: 10px; align-items: baseline; padding-left: 0; }
.prose .checkliste .box { flex-shrink: 0; font-size: 18px; line-height: 1; color: var(--brand); }
.prose .table-wrap { border-radius: 16px; border: 1px solid rgba(var(--ink-rgb), .08); background: rgba(255, 255, 255, .5); }
.prose .table-wrap table { margin: 0; }
.prose .table-wrap th { background: rgba(var(--brand-rgb), .06); }
.prose .table-wrap tr:last-child td { border-bottom: 0; }
/* Spaltenkoepfe und die erste Spalte (Paketname, Schritt) nicht mitten im Wort trennen. */
.prose .table-wrap th, .prose .table-wrap td:first-child { -webkit-hyphens: none; hyphens: none; overflow-wrap: normal; }
.prose .prose-download { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 30px; }
.prose .prose-download .btn { color: #fff; text-decoration: none; }
.prose .prose-download .small { color: var(--ink3); }

@media (max-width: 600px) {
  .page-hilfe .nav-zusatz { display: none; }
  .hilfe-kacheln { grid-template-columns: 1fr; }
  .hilfe-kachel { padding: 24px 22px; }
  .prose .table-wrap table { font-size: 14.5px; }
  .prose .table-wrap th, .prose .table-wrap td { padding: 9px 10px; }
}

@media print {
  .prose-download { display: none !important; }
}
