/* ===== Personio-Einfuehrung, Prefix: pe- =====
   Nur auf /personio-einfuehrung geladen.
   ================================================================== */


.pe-package-num, .pe-process-num {
    font-family: var(--font-display);
}

.hk-hero.hk-hero--light .pe-hero-h1 { color: var(--text); }

.hk-hero.hk-hero--light .pe-hero-sub { color: var(--body); }

.hk-hero.hk-hero--light .pe-trust-item { color: var(--subtle); }
.pe-hero-visual { display: flex; align-items: center; justify-content: center; }
.pe-hero-svg { width: 100%; max-width: 380px; }
.pe-hero-h1 { color: var(--text); }
.pe-hero-sub { color: var(--body); }
.pe-problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pe-problem-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; }
.pe-problem-icon { color: #92400e; display: flex; margin-bottom: 1rem; }
.pe-problem-icon svg { width: 22px; height: 22px; }
.pe-problem-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.pe-problem-card p { font-size: 0.87rem; color: var(--body); line-height: 1.6; margin: 0; }
.pe-packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pe-package-card { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem; transition: border-color 0.2s; }
.pe-package-card:hover { border-color: var(--primary); }
.pe-package-num { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 0.75rem; }
.pe-package-card h3 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.pe-package-card p { font-size: 0.85rem; color: var(--body); line-height: 1.6; margin-bottom: 1rem; }
.pe-package-list { list-style: none; padding: 0; margin: 0; }
.pe-package-list li { font-size: 0.82rem; color: var(--body); padding: 0.3rem 0; padding-left: 1.25rem; position: relative; }
.pe-package-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pe-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pe-process-step { background: var(--white); border: 1px solid var(--border); border-radius: 3px; padding: 1.75rem 1.5rem; }
.pe-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; }
.pe-process-step h3 { font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.pe-process-step p { font-size: 0.85rem; color: var(--body); line-height: 1.6; margin: 0; }
.pe-process-step .pe-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; }
.pe-scope-table-wrap { overflow-x: auto; border-radius: 3px; }
.pe-scope-table { width: 100%; border-collapse: collapse; background: var(--white); }
.pe-scope-table th { padding: 1rem 1.25rem; background: var(--text); color: var(--white); text-align: left; font-size: 0.88rem; font-weight: 700; border-bottom: 1px solid var(--border); }
.pe-scope-table th.pe-col-us { background: var(--primary); }
.pe-scope-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.93rem; color: var(--body); }
.pe-scope-table tbody tr:last-child td { border-bottom: none; }
.pe-scope-table tbody tr:nth-child(even) td { background: var(--bg-light); }
.pe-scope-table td.pe-col-us { background: var(--bg-teal) !important; font-weight: 600; color: var(--primary-dark); }
.pe-check { color: var(--primary); font-weight: 700; font-size: 1rem; }
.pe-neutral { color: var(--muted); font-weight: 700; }
@media (max-width: 900px) {
    .pe-packages-grid { grid-template-columns: repeat(2, 1fr); }
    .pe-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .pe-problems-grid { grid-template-columns: 1fr; }
    .pe-packages-grid { grid-template-columns: 1fr; }
    .pe-process { grid-template-columns: 1fr; }
}
.pe-fig { margin-left: auto; }

.pe-stufen {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.7rem;
}

.pe-stufe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 34px;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    margin-left: calc(var(--i) * 16px);
    transform: scaleX(0);
    transform-origin: left center;
    animation: hk-figure-wach 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(0.3s + var(--i) * 0.13s);
}
.pe-stufe + .pe-stufe::before {
    content: '';
    position: absolute;
    left: -3px;
    top: -6px;
    width: 3px;
    height: 6px;
    background: #c4dcd2;
}

.pe-stufe--basis {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    border-left-color: var(--primary-dark);
    min-height: 40px;
}

.pe-stufe-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #2e322f;
    white-space: nowrap;
}
.pe-stufe--basis .pe-stufe-name { color: var(--white); }

.pe-stufe-marke {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-light);
    white-space: nowrap;
}
.pe-stufe--basis::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    box-shadow: 0 0 0 0 rgba(11, 110, 100, 0.45);
    animation: pe-stufe-puls 3.6s ease-out 2.2s infinite;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .pe-stufe          { animation: none; transform: scaleX(1); }
    .pe-stufe--basis::after { animation: none; box-shadow: none; }
}
@media (max-width: 640px) {
    .pe-stufe      { margin-left: calc(var(--i) * 11px); }
    .pe-stufe-name { font-size: 0.72rem; }
    .pe-stufe-marke { display: none; }
}
