/* ===== HR-Audit, Prefix: ha- =====
   Intro mit Kennzahlen, zehn Pruefbereiche, Ablauf, Ergebnis.
   ================================================================== */


.ha-audit-num, .ha-intro-stat-val, .ha-process-num {
    font-family: var(--font-display);
}
.ha-intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.ha-intro-text h2 { font-size: 1.85rem; font-weight: 800; color: var(--text); line-height: 1.25; margin-bottom: 1rem; }
.ha-intro-text p { font-size: 0.97rem; color: var(--body); line-height: 1.6; margin-bottom: 1rem; }
.ha-intro-stats { display: flex; flex-direction: column; gap: 1.25rem; }
.ha-intro-stat { background: var(--dark); border-radius: 3px; padding: 1.5rem 2rem; display: flex; align-items: center; gap: 1.5rem; }
.ha-intro-stat-val { font-size: 2.25rem; font-weight: 800; color: var(--primary-glow); line-height: 1; flex-shrink: 0; }
.ha-intro-stat-lbl { font-size: 0.88rem; color: var(--on-dark); line-height: 1.45; }
.ha-audit-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.ha-audit-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.25rem; transition: border-color 0.2s; overflow-wrap: break-word; hyphens: auto; hyphenate-limit-chars: 14 6 5; }
.ha-audit-card:hover { border-color: var(--primary); }
.ha-audit-num { font-size: 1.75rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.5rem; }
.ha-audit-card h3 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.ha-audit-card p { font-size: 0.8rem; color: var(--body); line-height: 1.6; margin: 0; }
.ha-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ha-process-step { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem 1.5rem; }
.ha-process-num { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-dark); color: var(--white); font-size: 1.1rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.ha-process-step h3 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.ha-process-step p { font-size: 0.85rem; color: var(--body); line-height: 1.6; margin: 0; }
.ha-process-step .ha-duration { display: inline-block; margin-top: 0.75rem; font-size: 0.78rem; font-weight: 600; color: var(--primary); background: var(--bg-teal); padding: 0.2rem 0.6rem; border-radius: 3px; }
.ha-result-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ha-result-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; text-align: center; }
.ha-result-icon { color: var(--primary); display: flex; justify-content: center; margin: 0 auto 1rem; }
.ha-result-icon svg { width: 28px; height: 28px; }
.ha-result-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.ha-result-card p { font-size: 0.87rem; color: var(--body); line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
    .ha-audit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ha-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ha-intro-grid { grid-template-columns: 1fr; }
    .ha-audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ha-process { grid-template-columns: 1fr; }
    .ha-result-grid { grid-template-columns: 1fr; }
}

/* ===== Hero hell und flach =====
   style.css gibt .hk-hero--light einen Verlauf, die umgebauten Seiten liegen
   flach auf Papier. Kontraste auf --bg-light (#f2efe7): Eyebrow
   --primary-dark 6,56:1, Unterzeile --body 9,61:1, H1 --text 15,94:1,
   Akzent und Breadcrumb-Links --primary 5,33:1, Breadcrumb --subtle 7,34:1. */
.hk-hero.hk-hero--light.ha-hero { background: var(--bg-light); }
.hk-hero.hk-hero--light.ha-hero .hk-hero-sub { margin-bottom: 1.75rem; }

/* ===== Hero-Figur, Prefix haf-: die zehn Pruefbereiche =====
   Nummern und Namen wie in #pruefbereiche, zwei Spalten zu fuenf, Haarlinien
   statt Karten. Kontraste auf Weiss: Nummer --accent 5,53:1, Name --text
   18,31:1. Keine Dauer in der Figur, die Seite nennt zwei verschiedene. */
.haf-fig { margin-left: auto; }
.haf-liste {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: 1.25rem;
}
.haf-liste li {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
    overflow-wrap: break-word;
    hyphens: auto;
    opacity: 0;
    animation: hk-figure-ein 0.4s ease-out forwards;
    animation-delay: calc(0.3s + var(--i) * 0.08s);
}
.haf-nr {
    flex-shrink: 0;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
    .haf-liste li { animation: none; opacity: 1; }
}
@media (max-width: 560px) {
    .haf-liste { column-gap: 0.85rem; }
    .haf-liste li { font-size: 0.72rem; padding: 0.42rem 0; }
}
