/* Extracted from minijob-abrechnung.php. Edit here, not in PHP. */

/* ===================================================
   MINIJOB-ABRECHNUNG PAGE, Prefix: mj-
   =================================================== */

/* --- Hero --- */
.mj-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.mj-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 50%;
    pointer-events: none;
}
.mj-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.mj-hero-eyebrow {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}
.mj-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}
.mj-hero h1 span {
    color: #2563eb;
}
.mj-hero-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 2rem;
}
.mj-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.mj-chip {
    background: #ffffff;
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    white-space: nowrap;
}
.mj-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}
.mj-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.mj-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.mj-btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    border: 2px solid #d1d5db;
    transition: border-color 0.2s, color 0.2s;
}
.mj-btn-phone:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* --- Hero SVG Visual --- */
.mj-hero-content {
}
.mj-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.mj-hero-svg {
    width: 100%;
    max-width: 430px;
    height: auto;
    filter: drop-shadow(0 8px 30px rgba(37, 99, 235, 0.12));
}

/* --- Stats Bar --- */
.mj-stats-bar {
    background: #1e3a5f;
    padding: 2.5rem 0;
}
.mj-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.mj-stat-item {}
.mj-stat-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #93c5fd;
    display: block;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}
.mj-stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.4;
}

/* --- Section: Complexity --- */
.mj-complexity {
    padding: 5rem 0;
    background: #ffffff;
}
.mj-complexity-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-section-eyebrow {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.mj-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.mj-section-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 3rem;
}
.mj-complexity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.mj-complexity-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}
.mj-complexity-text p:last-child {
    margin-bottom: 0;
}
.mj-error-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mj-error-card {
    background: #fff5f5;
    border-left: 4px solid #ef4444;
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
}
.mj-error-card-title {
    font-weight: 700;
    color: #7f1d1d;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mj-error-card-title::before {
    content: '✕';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.mj-error-card-desc {
    color: #92400e;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* --- Comparison Table (Navy BG) --- */
.mj-compare {
    background: #1e3a5f;
    padding: 5rem 0;
}
.mj-compare-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-compare .mj-section-eyebrow {
    background: rgba(255,255,255,0.15);
    color: #93c5fd;
}
.mj-compare .mj-section-title {
    color: #ffffff;
}
.mj-compare .mj-section-subtitle {
    color: #93c5fd;
}
.mj-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.mj-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    min-width: 700px;
}
.mj-table thead th {
    padding: 1.1rem 1.4rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 800;
    color: #1f2937;
    background: #eff6ff;
    border-bottom: 2px solid #dbeafe;
}
.mj-table thead th:first-child {
    background: #f8fafc;
    color: #6b7280;
    font-weight: 600;
}
.mj-table thead th.mj-th-highlight {
    background: #2563eb;
    color: #ffffff;
}
.mj-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}
.mj-table tbody tr:last-child {
    border-bottom: none;
}
.mj-table tbody tr:hover {
    background: #f8fafc;
}
.mj-table td {
    padding: 1rem 1.4rem;
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.5;
}
.mj-table td:first-child {
    font-weight: 700;
    color: #1f2937;
    background: #f8fafc;
    font-size: 0.88rem;
}
.mj-badge-yes {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}
.mj-badge-no {
    display: inline-block;
    background: #fee2e2;
    color: #7f1d1d;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}
.mj-badge-partial {
    display: inline-block;
    background: #fef3c7;
    color: #78350f;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* --- Services Section --- */
.mj-services {
    padding: 5rem 0;
    background: #f0f9ff;
}
.mj-services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.mj-service-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.07);
    border: 1.5px solid #dbeafe;
    transition: transform 0.2s, box-shadow 0.2s;
}
.mj-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.13);
}
.mj-service-icon {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.mj-service-icon svg {
    width: 24px;
    height: 24px;
    color: #2563eb;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mj-service-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.mj-service-card p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
}

/* --- Process Section --- */
.mj-process {
    padding: 5rem 0;
    background: #ffffff;
}
.mj-process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}
.mj-process-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5% + 28px);
    right: calc(12.5% + 28px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #1e40af);
    z-index: 0;
}
.mj-process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.mj-process-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.mj-process-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.mj-process-step p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
}

/* --- Sonderfall Info Box --- */
.mj-sonderfall {
    padding: 4rem 0;
    background: #1e3a5f;
}
.mj-sonderfall-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.mj-sonderfall h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
}
.mj-sonderfall-content {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    text-align: left;
}
.mj-sonderfall-content p {
    color: #93c5fd;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.mj-sonderfall-content p:last-child {
    margin-bottom: 0;
}
.mj-sonderfall-highlight {
    display: inline-block;
    background: rgba(37, 99, 235, 0.3);
    color: #93c5fd;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 6px;
}

/* --- FAQ Section --- */
.mj-faq {
    padding: 5rem 0;
    background: #f8fafc;
}
.mj-faq-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2.5rem;
}
.mj-faq-item {
    background: #ffffff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mj-faq-item.active {
    border-color: #2563eb;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.1);
}
.mj-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem 1.5rem;
    cursor: pointer;
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.4;
    user-select: none;
}
.mj-faq-question:hover {
    color: #2563eb;
}
.mj-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
}
.mj-faq-item.active .mj-faq-icon {
    background: #2563eb;
    color: #ffffff;
    transform: rotate(45deg);
}
.mj-faq-answer {
    display: none;
    padding: 0 1.5rem 1.4rem;
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.97rem;
}
.mj-faq-answer p {
    margin: 0;
}

/* --- CTA Section --- */
.mj-cta {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 5rem 0;
    text-align: center;
}
.mj-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.mj-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.mj-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.mj-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #059669;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.mj-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.mj-btn-outline-white {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.mj-btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

/* --- Internal Links --- */
.mj-internal-links {
    padding: 3.5rem 0;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}
.mj-internal-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.mj-internal-links h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.2rem;
}
.mj-link-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.mj-link-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    border: 1.5px solid #dbeafe;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.mj-link-card:hover {
    background: #eff6ff;
    transform: translateY(-1px);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .mj-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .mj-hero-content {
        text-align: center;
    }
    .mj-hero-svg {
        max-width: 360px;
    }
    .mj-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .mj-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mj-process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .mj-process-steps::before {
        display: none;
    }
}
@media (max-width: 768px) {
    .mj-hero {
        padding: 3.5rem 0 3rem;
    }
    .mj-complexity-grid {
        grid-template-columns: 1fr;
    }
    .mj-services-grid {
        grid-template-columns: 1fr;
    }
    .mj-stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .mj-hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .mj-hero-ctas a {
        text-align: center;
    }
    .mj-stats-container {
        grid-template-columns: 1fr;
    }
    .mj-process-steps {
        grid-template-columns: 1fr;
    }
    .mj-cta-btns {
        flex-direction: column;
        align-items: center;
    }
}
