/* ==========================================================================
   Nur für /ki-marketing/: Grafiken der Abschnitte (Präfix ka-).
   Nutzt ausschließlich die Tokens aus style.css, damit Hell und Dunkel passen.
   ========================================================================== */

/* ---------- Hero ---------- */
.ka-hero-grid { align-items: center; }
.ka-hero-copy .page-back { display: flex; width: fit-content; }
.ka-hero-visual { display: flex; justify-content: center; min-width: 0; }
.ka-path { list-style: none; margin: 0; padding: 1.6rem; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 0; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.ka-path-step { position: relative; display: flex; align-items: center; gap: 1rem; padding-bottom: 1.6rem; }
.ka-path-step::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 2px; width: 2px; background: var(--border-strong); }
.ka-path-end { padding-bottom: 0; }
.ka-path-end::before { display: none; }
.ka-ico { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); border: 1.5px solid var(--accent); }
.ka-path-end .ka-ico { background: var(--accent); color: var(--accent-ink); }
.ka-path-text { color: var(--text); font-size: 1.05rem; line-height: 1.3; min-width: 0; }
.ka-path-text b { font-family: var(--font-display); font-weight: 600; }
@media (max-width: 820px) {
  .ka-hero-grid { grid-template-columns: 1fr; }
  .ka-path { max-width: none; }
}

/* ---------- Aufgabenteilung ---------- */
.ka-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.ka-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.3rem, 3vw, 2rem); display: flex; flex-direction: column; min-width: 0; }
.ka-card h3 { font-size: 1.3rem; }
.ka-card p { color: var(--text-muted); margin-top: .7rem; }
.ka-chips { list-style: none; margin: auto 0 0; padding: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ka-chips li { font-size: .85rem; font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .35rem .8rem; }
.ka-card-human .ka-chips li { color: var(--accent-hover); border-color: var(--accent); background: var(--accent-soft); }
.ka-note { margin: 1.6rem auto 0; max-width: 62ch; text-align: center; color: var(--text-muted); font-size: 1.05rem; }
@media (max-width: 760px) { .ka-split { grid-template-columns: 1fr; } }

/* ---------- Pakete ---------- */
.ka-packs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.ka-pack { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .9rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 1.6rem 1rem 1.5rem; min-width: 0; }
.ka-pack-mid { border-color: var(--accent); box-shadow: var(--shadow); }
.ka-pack-name { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.ka-docs { display: flex; align-items: flex-end; justify-content: center; gap: .45rem; min-height: 56px; }
.ka-docs i { display: block; width: 36px; height: 46px; border-radius: 6px; background: var(--accent-soft); border: 2px solid var(--accent); position: relative; }
.ka-docs i::before, .ka-docs i::after { content: ""; position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 2px; background: var(--accent); }
.ka-docs i::before { top: 12px; }
.ka-docs i::after { top: 21px; right: 12px; }
.ka-pack-count { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--text); }
.ka-pack-price { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--accent); line-height: 1.1; }
.ka-pack-price small { font-family: var(--font-sans); font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.ka-link { margin: 1.4rem 0 0; text-align: center; }
@media (max-width: 760px) {
  .ka-packs { grid-template-columns: 1fr; }
  .ka-pack { display: grid; grid-template-columns: auto 1fr; text-align: left; align-items: center; column-gap: 1.2rem; row-gap: .3rem; padding: 1.2rem 1.3rem; }
  .ka-pack-name { grid-column: 1 / -1; }
  .ka-docs { grid-row: 2 / span 2; min-width: 92px; justify-content: flex-start; min-height: 0; }
  .ka-pack-count, .ka-pack-price { grid-column: 2; }
}

/* ---------- Qualitätssicherung: senkrechter Ablauf ---------- */
.ka-qa { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; }
.ka-qa-step { position: relative; display: flex; align-items: flex-start; gap: 1.2rem; padding-bottom: 1.8rem; }
.ka-qa-step::before { content: ""; position: absolute; left: 25px; top: 56px; bottom: 4px; width: 2px; background: var(--border-strong); }
.ka-qa-step:last-child { padding-bottom: 0; }
.ka-qa-step:last-child::before { display: none; }
.ka-qa-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; padding-top: .15rem; }
.ka-qa-text b { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--text); }
.ka-qa-text span { color: var(--text-muted); line-height: 1.55; }
.ka-qa-final .ka-ico { background: var(--accent); color: var(--accent-ink); }
.ka-qa-final .ka-qa-text b { color: var(--accent-hover); }
