/* Extracted from nettolohnoptimierung.php. Edit here, not in PHP. */

/* ============================================
   NLO2, Nettolohnoptimierung (CI-konform)
   Prefix: nlo2-
   ============================================ */

/* ---- Reset & Base ---- */
.nlo2-hero,
.nlo2-stats-bar,
.nlo2-table-section,
.nlo2-warum,
.nlo2-cta-section {
    box-sizing: border-box;
}

/* ==============================
   1. HERO
   ============================== */
.nlo2-hero {
    background: #f0fdf4;
    color: #064e3b;
    padding: 6rem 2rem 5rem;
}
.nlo2-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.nlo2-hero-content {
}
.nlo2-badge {
    display: inline-block;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #064e3b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.nlo2-hero h1 {
    font-size: clamp(1.9rem, 3.8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1.25rem 0;
    color: #064e3b;
}
.nlo2-hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1.75rem;
    max-width: 560px;
}
.nlo2-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.nlo2-chip {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}
.nlo2-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}
.nlo2-hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 2.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
}
.nlo2-hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

/* Calculator Visual (rechts im Hero) */
.nlo2-calc-box {
    background: #ffffff;
    border: 1px solid #d1fae5;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 30px rgba(16, 185, 129, 0.12);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.nlo2-calc-header {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #10b981;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nlo2-calc-header::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}
.nlo2-calc-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}
.nlo2-calc-col {
    text-align: center;
}
.nlo2-calc-col-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.4rem;
}
.nlo2-calc-col-amount {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}
.nlo2-calc-col.nlo2-highlighted .nlo2-calc-col-amount {
    color: #10b981;
}
.nlo2-calc-delta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
    margin-top: 0.3rem;
}
.nlo2-calc-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    font-size: 1.1rem;
    margin-top: 0.9rem;
}
.nlo2-calc-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0 0 1.25rem 0;
}
.nlo2-calc-bausteine-label {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.nlo2-terminal-row {
    font-size: 0.78rem;
    color: #1f2937;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nlo2-terminal-row:last-child {
    border-bottom: none;
}
.nlo2-terminal-check {
    color: #10b981;
    margin-right: 0.5rem;
}
.nlo2-terminal-name {
    flex: 1;
}
.nlo2-terminal-amount {
    color: #10b981;
    font-weight: 600;
    font-size: 0.8rem;
}
.nlo2-terminal-tag {
    font-size: 0.6rem;
    color: #6b7280;
    margin-left: 0.5rem;
}

/* ==============================
   2. STATS-LEISTE
   ============================== */
.nlo2-stats-bar {
    background: #064e3b;
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}
.nlo2-stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.nlo2-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-variant-numeric: tabular-nums;
}
.nlo2-stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* ==============================
   3. WAS IST NLO (hell)
   ============================== */
.nlo2-was {
    background: #ffffff;
    padding: 5.5rem 2rem;
}
.nlo2-was-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start;
}
.nlo2-was h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1.25rem 0;
}
.nlo2-was p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.1rem;
    font-size: 0.97rem;
}
.nlo2-was p:last-child {
    margin-bottom: 0;
}
.nlo2-mini-grid-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1rem;
}
.nlo2-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.nlo2-mini-card {
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 10px;
    padding: 0.9rem 1rem;
}
.nlo2-mini-card-icon {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}
.nlo2-mini-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.2rem;
}
.nlo2-mini-card-desc {
    font-size: 0.72rem;
    color: #6b7280;
    line-height: 1.45;
}

/* ==============================
   4. BAUSTEINE-TABELLE (Light Mode)
   ============================== */
.nlo2-table-section {
    background: #1f2937;
    padding: 5.5rem 2rem;
}
.nlo2-table-header {
    max-width: 1000px;
    margin: 0 auto 2.5rem;
    text-align: center;
}
.nlo2-table-header h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.6rem 0;
}
.nlo2-table-header p {
    color: #d1d5db;
    font-size: 0.97rem;
    line-height: 1.6;
}
.nlo2-table-wrap {
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}
.nlo2-table-cols {
    display: grid;
    grid-template-columns: 2fr 1.3fr 1.5fr 1fr;
}
.nlo2-table-head {
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
}
.nlo2-table-head .nlo2-table-cols {
    padding: 0;
}
.nlo2-th {
    padding: 1rem 1.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
}
.nlo2-table-body .nlo2-table-cols:nth-child(odd) {
    background: #ffffff;
}
.nlo2-table-body .nlo2-table-cols:nth-child(even) {
    background: #f9fafb;
}
.nlo2-table-body .nlo2-table-cols {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s ease;
}
.nlo2-table-body .nlo2-table-cols:last-child {
    border-bottom: none;
}
.nlo2-table-body .nlo2-table-cols:hover {
    background: #f0fdf4;
}
.nlo2-td {
    padding: 1.1rem 1.25rem;
    font-size: 0.88rem;
    color: #1f2937;
    display: flex;
    align-items: center;
    line-height: 1.4;
}
.nlo2-td-baustein {
    font-weight: 600;
    color: #1f2937;
    gap: 0.6rem;
}
.nlo2-td-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.nlo2-td-betrag {
    color: #10b981;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.nlo2-td-para {
    color: #6b7280;
    font-size: 0.8rem;
}
.nlo2-td-sv {
    color: #6b7280;
    font-size: 0.82rem;
}
.nlo2-table-note {
    max-width: 1000px;
    margin: 1.25rem auto 0;
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* ==============================
   5. PROZESS
   ============================== */
.nlo2-prozess {
    background: #f8fafc;
    padding: 5.5rem 2rem;
}
.nlo2-prozess-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.nlo2-prozess-header {
    text-align: center;
    margin-bottom: 3rem;
}
.nlo2-prozess-header h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.6rem 0;
}
.nlo2-prozess-header p {
    color: #6b7280;
    font-size: 0.97rem;
}
.nlo2-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.nlo2-step {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
}
.nlo2-step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50%;
    margin-bottom: 1.1rem;
    font-family: inherit;
}
.nlo2-step-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.nlo2-step-desc {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.65;
}

/* ==============================
   6. WARUM LOHNKLAR
   ============================== */
.nlo2-warum {
    background: #f0fdf4;
    padding: 5.5rem 2rem;
}
.nlo2-warum-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.nlo2-warum-header {
    text-align: center;
    margin-bottom: 3rem;
}
.nlo2-warum-header h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.6rem 0;
}
.nlo2-warum-header p {
    color: #6b7280;
    font-size: 0.97rem;
}
.nlo2-warum-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.nlo2-warum-card {
    background: #ffffff;
    border-left: 4px solid #10b981;
    border-radius: 0 10px 10px 0;
    padding: 1.75rem 1.75rem 1.75rem 2rem;
}
.nlo2-warum-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}
.nlo2-warum-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}
.nlo2-warum-links {
    margin-top: 3rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.nlo2-warum-link {
    color: #10b981;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.15s ease;
}
.nlo2-warum-link:hover {
    border-color: #10b981;
}

/* ==============================
   7. FAQ (hell, grüne Plus-Zeichen)
   ============================== */
.nlo2-faq {
    background: #ffffff;
    padding: 5.5rem 2rem;
}
.nlo2-faq-inner {
    max-width: 820px;
    margin: 0 auto;
}
.nlo2-faq-inner h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 2.5rem 0;
}
.nlo2-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.nlo2-faq-item.open {
    border-color: #10b981;
}
.nlo2-faq-question {
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: background 0.15s ease;
}
.nlo2-faq-question:hover {
    background: #fafafa;
}
.nlo2-faq-plus {
    font-size: 1.4rem;
    color: #10b981;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s ease;
    line-height: 1;
}
.nlo2-faq-item.open .nlo2-faq-plus {
    transform: rotate(45deg);
}
.nlo2-faq-answer {
    display: none;
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.75;
}
.nlo2-faq-item.open .nlo2-faq-answer {
    display: block;
}

/* ==============================
   8. CTA-SEKTION
   ============================== */
.nlo2-cta-section {
    background: linear-gradient(135deg, #064e3b, #065f46);
    padding: 5.5rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
}
.nlo2-cta-section h2 {
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.85rem 0;
}
.nlo2-cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin: 0 0 2.25rem 0;
}
.nlo2-cta-btn-green {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.nlo2-cta-btn-green:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}
.nlo2-cta-sub {
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
    .nlo2-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .nlo2-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nlo2-table-cols {
        grid-template-columns: 2fr 1fr 1.5fr 1fr;
    }
}

@media (max-width: 768px) {
    .nlo2-hero {
        padding: 4rem 1.5rem 3.5rem;
    }
    .nlo2-hero-inner {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
    .nlo2-hero-content {
        text-align: center;
    }
    .nlo2-was-inner {
        grid-template-columns: 1fr;
        gap: 2.75rem;
    }
    .nlo2-mini-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nlo2-warum-cards {
        grid-template-columns: 1fr;
    }
    .nlo2-steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nlo2-trust {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nlo2-table-cols {
        grid-template-columns: 1fr 1fr;
    }
    .nlo2-th:nth-child(3),
    .nlo2-th:nth-child(4),
    .nlo2-td:nth-child(3),
    .nlo2-td:nth-child(4) {
        display: none;
    }
    .nlo2-calc-cols {
        grid-template-columns: 1fr auto 1fr;
    }
}

@media (max-width: 480px) {
    .nlo2-mini-grid {
        grid-template-columns: 1fr;
    }
    .nlo2-stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    .nlo2-steps-grid {
        grid-template-columns: 1fr;
    }
    .nlo2-stat-number {
        font-size: 1.6rem;
    }
}
