/* Extracted from interim-hr-kosten.php. Edit here, not in PHP. */

/* ===== INTERIM HR KOSTEN (ihk-) ===== */
.ihk-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    padding: 80px 0 60px;
}
.ihk-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.ihk-breadcrumb {
    margin-bottom: 1.25rem;
}
.ihk-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--subtle);
}
.ihk-breadcrumb-inner a { color: var(--subtle); }
.ihk-breadcrumb-inner a:hover { color: var(--primary); }
.ihk-eyebrow {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.ihk-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.ihk-hero-sub {
    font-size: 1.1rem;
    color: var(--body);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.ihk-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.ihk-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.ihk-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--subtle);
}
.ihk-trust-item strong { color: var(--text); }

/* Number cards in hero */
.ihk-num-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.ihk-num-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.ihk-num-card--accent {
    border-top: 3px solid var(--primary);
}
.ihk-num-val {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.ihk-num-lbl {
    font-size: 0.82rem;
    color: var(--subtle);
    line-height: 1.4;
}
.ihk-num-card:last-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
}
.ihk-num-card:last-child .ihk-num-val { font-size: 1.4rem; flex-shrink: 0; }

/* Cost factors table */
.ihk-factors-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.ihk-factors-table th {
    background: var(--dark);
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
}
.ihk-factors-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--body);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.ihk-factors-table tr:last-child td { border-bottom: none; }
.ihk-factors-table tr:nth-child(even) td { background: #f8fafc; }
.ihk-factors-table td:first-child {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.ihk-factors-table td strong {
    color: var(--primary-dark);
}

/* Comparison table */
.ihk-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.ihk-compare-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: white;
}
.ihk-compare-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}
.ihk-compare-table th:first-child { background: #f8fafc; }
.ihk-compare-table th:nth-child(2) { background: #f0fdfa; color: var(--primary-dark); }
.ihk-compare-table th:nth-child(3) { background: #eff6ff; color: #1d4ed8; }
.ihk-compare-table td {
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
    color: var(--body);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}
.ihk-compare-table tr:last-child td { border-bottom: none; }
.ihk-compare-table td:first-child { font-weight: 600; color: var(--text); background: #f8fafc; }
.ihk-compare-table .ihk-pro { color: #059669; font-weight: 600; }
.ihk-compare-table .ihk-con { color: #dc2626; font-weight: 600; }

/* Includes section */
.ihk-includes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.ihk-include-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    position: relative;
}
.ihk-include-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-teal);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.ihk-include-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
}
.ihk-include-card p {
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.6;
}

/* Example calc box */
.ihk-calc-box {
    background: linear-gradient(135deg, #0f172a, #0d4a3a);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}
.ihk-calc-box h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}
.ihk-calc-box p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}
.ihk-calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.ihk-calc-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ihk-calc-col:nth-child(1) h4 { color: #5eead4; }
.ihk-calc-col:nth-child(2) h4 { color: #93c5fd; }
.ihk-calc-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
}
.ihk-calc-item:last-child { border-bottom: none; }
.ihk-calc-item span:first-child { color: #94a3b8; }
.ihk-calc-item span:last-child { font-weight: 600; color: #e2e8f0; }
.ihk-calc-total {
    margin-top: 1rem;
    padding-top: 0.875rem;
    border-top: 2px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1rem;
}
.ihk-calc-col:nth-child(1) .ihk-calc-total span:last-child { color: #5eead4; }
.ihk-calc-col:nth-child(2) .ihk-calc-total span:last-child { color: #93c5fd; }

/* CTA Band */
.ihk-cta-band {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    padding: 70px 0;
    text-align: center;
}
.ihk-cta-band h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
}
.ihk-cta-band p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.ihk-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
    .ihk-hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .ihk-includes-grid { grid-template-columns: 1fr; }
    .ihk-calc-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .ihk-num-cards { grid-template-columns: 1fr 1fr; }
    .ihk-num-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    .ihk-num-cards { grid-template-columns: 1fr; }
    .ihk-num-card:last-child { grid-column: auto; flex-direction: column; text-align: center; }
}
