/* Extracted from payroll-outsourcing.php. Edit here, not in PHP. */

/* ============================================================
   PAYROLL OUTSOURCING, Page-spezifisches CSS (Prefix: po-)
   Design: "Monatslauf & Verlässlichkeit", Light Blue Hero
   ============================================================ */

/* --- Hero -------------------------------------------------- */
.po-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #dbeafe 100%);
    padding: 7rem 0 4rem;
    overflow: hidden;
    position: relative;
}
.po-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.po-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.po-hero-content {
}
.po-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.po-hero-content h1 .po-highlight {
    color: #2563eb;
}
.po-hero-subtitle {
    font-size: 1.15rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 540px;
}
.po-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.po-trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1.5px solid #bfdbfe;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e40af;
    white-space: nowrap;
}
.po-trust-chip .po-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}
.po-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.po-btn-primary {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    border: none;
    cursor: pointer;
}
.po-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}
.po-btn-outline {
    display: inline-block;
    background: transparent;
    color: #2563eb;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 1.9rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid #2563eb;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}
.po-btn-outline:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

/* --- SVG Hero Visual -------------------------------------- */
.po-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.po-calendar-svg {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 20px 40px rgba(37,99,235,0.13));
}

/* --- Trust Bar -------------------------------------------- */
.po-trust-bar {
    background: #1e3a5f;
    padding: 2rem 0;
}
.po-trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.po-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}
.po-stat-label {
    font-size: 0.82rem;
    color: #93c5fd;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* --- Section Wrapper -------------------------------------- */
.po-section {
    padding: 5rem 0;
}
.po-section-light {
    background: #f8fafc;
}
.po-section-white {
    background: #fff;
}
.po-section-navy {
    background: #1e3a5f;
}
.po-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.po-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.po-section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.po-section-title-white {
    color: #fff;
}
.po-section-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}
.po-section-subtitle-light {
    color: #93c5fd;
}

/* --- Payroll Stack (8 Leistungen) ------------------------- */
.po-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.po-stack-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    position: relative;
}
.po-stack-card:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 30px rgba(37,99,235,0.1);
    transform: translateY(-3px);
}
.po-stack-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.po-stack-icon svg {
    width: 24px;
    height: 24px;
    color: #2563eb;
}
.po-stack-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.po-stack-card p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}
.po-stack-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: #2563eb;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 0 14px 0 10px;
    letter-spacing: 0.03em;
}

/* --- Vergleichstabelle (Navy BG) -------------------------- */
.po-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
}
.po-compare-table thead th {
    padding: 1.1rem 1.5rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.po-compare-table thead th:nth-child(2) {
    background: rgba(239,68,68,0.12);
    color: #fca5a5;
}
.po-compare-table thead th:nth-child(3) {
    background: rgba(16,185,129,0.12);
    color: #6ee7b7;
}
.po-compare-table tbody tr:nth-child(even) td {
    background: rgba(255,255,255,0.03);
}
.po-compare-table tbody td {
    padding: 1.05rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: middle;
}
.po-compare-table tbody td:first-child {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 0.95rem;
}
.po-compare-table tbody td:nth-child(2) {
    color: #fca5a5;
    font-size: 0.9rem;
}
.po-compare-table tbody td:nth-child(3) {
    color: #6ee7b7;
    font-size: 0.9rem;
    font-weight: 600;
}
.po-compare-table tbody tr:last-child td {
    border-bottom: none;
}
.po-col-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.po-col-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* --- Target Groups Cards ---------------------------------- */
.po-target-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.po-target-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1.5px solid #e5e7eb;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}
.po-target-card:hover {
    box-shadow: 0 12px 40px rgba(37,99,235,0.12);
    transform: translateY(-4px);
}
.po-target-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    align-self: flex-start;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.po-target-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
}
.po-target-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}
.po-target-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.po-target-list li {
    font-size: 0.88rem;
    color: #374151;
    padding: 0.35rem 0;
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.5;
}
.po-target-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* --- Risiko-Ampel Section --------------------------------- */
.po-risk-section {
    background: #fff;
}
.po-risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
.po-risk-card {
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.po-risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}
.po-risk-red {
    background: #fff5f5;
    border-color: #fee2e2;
}
.po-risk-red::before { background: #ef4444; }
.po-risk-yellow {
    background: #fffbeb;
    border-color: #fef3c7;
}
.po-risk-yellow::before { background: #f59e0b; }
.po-risk-green {
    background: #f0fdf4;
    border-color: #dcfce7;
}
.po-risk-green::before { background: #10b981; }
.po-risk-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}
.po-risk-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}
.po-risk-dot-red { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.2); }
.po-risk-dot-yellow { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,0.2); }
.po-risk-dot-green { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.po-risk-status {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.po-risk-status-red { color: #dc2626; }
.po-risk-status-yellow { color: #92400e; }
.po-risk-status-green { color: #059669; }
.po-risk-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.75rem;
}
.po-risk-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* --- Prozess (Transition Steps) --------------------------- */
.po-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.po-process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 1px);
    right: calc(12.5% + 1px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
    z-index: 0;
}
.po-process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}
.po-process-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.po-process-step:last-child .po-process-num {
    background: #10b981;
    box-shadow: 0 4px 16px rgba(16,185,129,0.3);
}
.po-process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.po-process-step p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
}

/* --- Preis Section ---------------------------------------- */
.po-pricing-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.po-pricing-intro h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}
.po-pricing-intro p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}
.po-price-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #bfdbfe;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}
.po-price-from {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
}
.po-price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1;
}
.po-price-unit {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.25rem;
}
.po-included-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.po-included-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    line-height: 1.5;
}
.po-included-list li:last-child { border-bottom: none; }
.po-check {
    color: #10b981;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.po-pricing-card {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
}
.po-pricing-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e3a5f;
    margin-bottom: 1.25rem;
}
.po-extras-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
.po-extras-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}
.po-extras-list li:last-child { border-bottom: none; }
.po-extras-icon {
    color: #9ca3af;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* --- FAQ -------------------------------------------------- */
.po-faq-grid {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.po-faq-item {
    border-bottom: 1px solid #e5e7eb;
}
.po-faq-item:first-child {
    border-top: 1px solid #e5e7eb;
}
.po-faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    cursor: pointer;
    text-align: left;
    gap: 1rem;
    line-height: 1.4;
}
.po-faq-question:hover { color: #2563eb; }
.po-faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: #2563eb;
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}
.po-faq-item.po-open .po-faq-icon {
    transform: rotate(45deg);
}
.po-faq-answer {
    display: none;
    padding: 0 0 1.5rem;
    font-size: 0.97rem;
    color: #4b5563;
    line-height: 1.8;
}
.po-faq-item.po-open .po-faq-answer {
    display: block;
}

/* --- CTA Final -------------------------------------------- */
.po-cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1d4ed8 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.po-cta-section::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.po-cta-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(16,185,129,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.po-cta-inner {
    position: relative;
    z-index: 1;
}
.po-cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.po-cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}
.po-btn-cta-white {
    display: inline-block;
    background: #fff;
    color: #1e40af;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.po-btn-cta-white:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.po-cta-meta {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

/* --- Interne Links Section -------------------------------- */
.po-related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}
.po-related-link {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.po-related-link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* --- Partners -------------------------------------------- */
.po-partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.po-partner-item {
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.po-partner-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37,99,235,0.1);
}
.po-partner-item img {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.2s;
}
.po-partner-item:hover img {
    filter: grayscale(0%);
}

/* --- Testimonials ---------------------------------------- */
.po-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
.po-testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border: 1.5px solid #e5e7eb;
}
.po-testimonial-stars {
    color: #b45309;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.po-testimonial-text {
    font-size: 0.97rem;
    color: #374151;
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 1.25rem;
}
.po-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.po-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.po-author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2937;
}
.po-author-role {
    font-size: 0.82rem;
    color: #6b7280;
}

/* --- Responsive ------------------------------------------ */
@media (max-width: 1024px) {
    .po-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .po-process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .po-process-steps::before { display: none; }
}
@media (max-width: 768px) {
    .po-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .po-trust-chips { justify-content: center; }
    .po-hero-buttons { justify-content: center; }
    .po-trust-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .po-target-grid { grid-template-columns: 1fr; }
    .po-risk-grid { grid-template-columns: 1fr; }
    .po-pricing-wrapper { grid-template-columns: 1fr; }
    .po-testimonials-grid { grid-template-columns: 1fr; }
    .po-process-steps { grid-template-columns: 1fr; }
    .po-stack-grid { grid-template-columns: 1fr; }
    .po-compare-table { display: block; overflow-x: auto; }
}
