/* Extracted from hr-agentur.php. */

/* ===== HR-AGENTUR KMU (hag-) ===== */
.hag-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 80px 0 60px;
}
.hag-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hag-breadcrumb { margin-bottom: 1.25rem; }
.hag-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--subtle);
}
.hag-breadcrumb-inner a { color: var(--subtle); }
.hag-breadcrumb-inner a:hover { color: var(--primary); }
.hag-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;
}
.hag-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hag-hero-sub {
    font-size: 1.1rem;
    color: var(--body);
    line-height: 1.8;
    margin-bottom: 2rem;
}
.hag-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hag-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);
}
.hag-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--subtle);
}
.hag-trust-item strong { color: var(--text); }

/* Hero visual */
.hag-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Differenzierung */
.hag-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.hag-diff-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    border-top: 3px solid var(--primary);
}
.hag-diff-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.6rem;
}
.hag-diff-card p {
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.7;
}

/* Wann extern Sinn ergibt */
.hag-when-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.hag-when-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.hag-when-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-teal);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hag-when-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.hag-when-card p {
    font-size: 0.875rem;
    color: var(--body);
    line-height: 1.6;
}

/* Leistungsübersicht */
.hag-services-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.hag-services-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: white;
}
.hag-services-table th {
    background: var(--dark);
    color: white;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
}
.hag-services-table td {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    color: var(--body);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}
.hag-services-table tr:last-child td { border-bottom: none; }
.hag-services-table tr:nth-child(even) td { background: #f8fafc; }
.hag-services-table td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; }
.hag-services-table td strong { color: var(--primary-dark); }

/* Vergleich */
.hag-compare-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.hag-compare-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    background: white;
}
.hag-compare-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}
.hag-compare-table th:first-child { background: #f8fafc; }
.hag-compare-table th:nth-child(2) { background: #f0fdfa; color: var(--primary-dark); }
.hag-compare-table th:nth-child(3) { background: #eff6ff; color: #1d4ed8; }
.hag-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;
}
.hag-compare-table tr:last-child td { border-bottom: none; }
.hag-compare-table td:first-child { font-weight: 600; color: var(--text); background: #f8fafc; }
.hag-pro { color: #059669; font-weight: 600; }
.hag-con { color: #dc2626; font-weight: 600; }

/* Preisrahmen */
.hag-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.hag-price-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    text-align: center;
}
.hag-price-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.hag-price-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.hag-price-desc {
    font-size: 0.82rem;
    color: var(--subtle);
    line-height: 1.5;
}

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

@media (max-width: 900px) {
    .hag-hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hag-hero-visual { display: none; }
    .hag-diff-grid { grid-template-columns: 1fr; }
    .hag-when-grid { grid-template-columns: 1fr; }
    .hag-price-grid { grid-template-columns: 1fr; }
}
