/* ============================================================
   hilfe.css
   ------------------------------------------------------------
   Zusatz-Styles fuer das unternio Hilfe-Center (/hilfe/).
   Basis ist ../ratgeber/ratgeber.css (Tokens, Nav, Footer,
   .prose, .hub-*, .faq, .note). Hier stehen NUR die Bausteine,
   die es im Ratgeber nicht gibt: Schritt-Anleitungen, Meta-
   Badges (Plan/Rolle), Tastenkuerzel, Bereichs-Navigation.

   ACHTUNG: Diese Datei wird von Hand gepflegt, die HTML-Seiten
   erzeugt tools/hilfe-generator.js. Niemals Artikel-HTML von
   Hand aendern, es wird beim naechsten Lauf ueberschrieben.
   ============================================================ */

/* ---------- Kopf des Hilfe-Centers ---------- */
.hilfe-hero{padding:120px 0 10px;text-align:center;}
.hilfe-hero h1{font-size:clamp(32px,4.6vw,52px);margin-bottom:14px;}
.hilfe-hero p.sub{color:var(--muted);font-size:18px;max-width:640px;margin:0 auto;}
.hilfe-hero .hero-tag{display:inline-block;background:rgba(37,99,235,.1);color:var(--accent);
  border:1px solid rgba(37,99,235,.2);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700;margin-bottom:18px;}

/* Sprungmarken zu den Bereichen */
.hilfe-jump{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:26px 0 8px;}
.hilfe-jump a{background:var(--surface);border:1px solid var(--border);border-radius:999px;
  padding:8px 16px;font-size:14px;font-weight:600;color:var(--muted);transition:.18s;}
.hilfe-jump a:hover{border-color:var(--accent);color:var(--accent);transform:translateY(-1px);}

/* ---------- Meta-Zeile im Artikel (Plan, Rolle, Modul) ---------- */
.hilfe-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 22px;}
.hilfe-meta span{display:inline-flex;align-items:center;gap:6px;background:var(--surface-2);
  border:1px solid var(--border);border-radius:999px;padding:5px 12px;font-size:13px;color:var(--muted);font-weight:600;}
.hilfe-meta span b{color:var(--text);font-weight:700;}

/* ---------- Nummerierte Klick-Anleitung ---------- */
.hilfe-steps{counter-reset:hs;margin:26px 0 8px;padding:0;list-style:none;}
.hilfe-steps > li{counter-increment:hs;position:relative;padding:0 0 26px 58px;}
.hilfe-steps > li::before{content:counter(hs);position:absolute;left:0;top:-2px;width:38px;height:38px;
  border-radius:12px;background:var(--accent-grad);color:#fff;font-weight:800;font-size:16px;
  display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-glow);}
.hilfe-steps > li::after{content:"";position:absolute;left:19px;top:44px;bottom:4px;width:2px;background:var(--border);}
.hilfe-steps > li:last-child{padding-bottom:4px;}
.hilfe-steps > li:last-child::after{display:none;}
.hilfe-steps h3{font-size:18px;margin-bottom:6px;}
.hilfe-steps p{color:var(--muted);}
.hilfe-steps p + p{margin-top:8px;}
.hilfe-steps ul{margin:8px 0 0 18px;color:var(--muted);}
.hilfe-steps li ul li{margin-bottom:4px;}

/* Beschriftungen aus der Oberflaeche */
.ui{display:inline-block;background:var(--surface-2);border:1px solid var(--border);border-radius:7px;
  padding:1px 7px;font-size:.94em;font-weight:600;color:var(--text);white-space:nowrap;}
kbd{display:inline-block;background:var(--surface);border:1px solid var(--border);border-bottom-width:2px;
  border-radius:6px;padding:1px 7px;font-family:inherit;font-size:.9em;font-weight:700;color:var(--text);}

/* ---------- Karten im Hub ---------- */
.hub-card .plan-tag{display:inline-block;margin-top:10px;font-size:12px;font-weight:700;
  color:var(--muted);background:var(--surface-2);border-radius:999px;padding:3px 10px;}

/* ---------- Nicht gefunden / Support-Block ---------- */
.hilfe-support{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);
  padding:30px;text-align:center;margin:44px 0 10px;box-shadow:var(--shadow);}
.hilfe-support h2{font-size:24px;margin-bottom:8px;}
.hilfe-support p{color:var(--muted);max-width:560px;margin:0 auto 18px;}
.hilfe-support .btn{margin:0 5px;}

/* ---------- Bereichs-Navigation im Artikelfuss ---------- */
.hilfe-nachbarn{display:flex;flex-wrap:wrap;gap:12px;margin:34px 0 0;}
.hilfe-nachbarn a{flex:1 1 260px;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--radius);padding:16px 18px;transition:.18s;}
.hilfe-nachbarn a:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow);}
.hilfe-nachbarn span{display:block;font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em;}
.hilfe-nachbarn b{display:block;margin-top:4px;font-size:16px;}

@media(max-width:640px){
  .hilfe-hero{padding:104px 0 6px;}
  .hilfe-steps > li{padding-left:48px;}
  .hilfe-steps > li::before{width:32px;height:32px;font-size:14px;}
  .hilfe-steps > li::after{left:16px;top:38px;}
  .hilfe-support{padding:22px;}
}

/* ============================================================
   TIEFE ABSCHNITTE (Jan 2026-08-04: "Warum, Wofuer, Wie genau,
   sonst check das niemand"). Drei neue Bausteine, die der
   Generator aus den Feldern wofuer / beispiel / klemmt baut.
   ============================================================ */

/* Wofuer: konkrete Situationen aus dem Betriebsalltag. Der Fall steht
   fett voran, die Erklaerung schliesst in derselben Zeile an. */
.hilfe-faelle{list-style:none;margin:14px 0 26px;padding:0;display:grid;gap:10px;}
.hilfe-faelle > li{position:relative;padding:12px 16px 12px 42px;
  background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);}
.hilfe-faelle > li::before{content:"";position:absolute;left:16px;top:19px;
  width:8px;height:8px;border-radius:50%;background:var(--accent);}
.hilfe-faelle > li b{display:block;margin-bottom:2px;}

/* Beispiel: ein durchgerechneter Fall. Abgesetzter Block, damit man ihn
   beim Ueberfliegen findet. */
.hilfe-beispiel{margin:14px 0 26px;padding:18px 20px;border-radius:var(--radius);
  background:var(--surface-2, #F1F5F9);border-left:4px solid var(--accent);}
.hilfe-beispiel > p{margin:0 0 10px;}
.hilfe-beispiel > p:last-child{margin-bottom:0;}

/* Wenn es klemmt: Problem/Loesung als Definitionsliste. */
.hilfe-klemmt{margin:14px 0 26px;display:grid;gap:0;}
.hilfe-klemmt dt{font-weight:700;padding:14px 0 4px;border-top:1px solid var(--border);}
.hilfe-klemmt dt:first-child{border-top:0;padding-top:0;}
.hilfe-klemmt dd{margin:0 0 4px;padding-left:0;color:var(--muted);}

@media(max-width:640px){
  .hilfe-faelle > li{padding:11px 13px 11px 34px;}
  .hilfe-faelle > li::before{left:13px;top:18px;}
  .hilfe-beispiel{padding:15px 16px;}
}

