/* Extracted from lohnabrechnung-mittelstand.php. Edit here, not in PHP. */

/* ============================================================
   LOHNABRECHNUNG-MITTELSTAND.PHP, Seiten-spezifische Styles (Prefix: lms-)
   Design-Konzept: Navy Hero (flat #1e3a5f), Akzent #2563eb Blau,
   Org-Chart SVG, 4-Schritt-Prozess, komplexe Vergütungsstrukturen
   ============================================================ */

/* ---------- Hero ---------- */
.lms-hero {
    background: #1e3a5f;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.lms-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.lms-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(16,185,129,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.lms-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.lms-hero-badge {
    display: inline-block;
    background: rgba(37,99,235,0.18);
    border: 1px solid rgba(37,99,235,0.38);
    color: #93c5fd;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.lms-hero-content h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 22px;
}

.lms-highlight {
    color: #93c5fd;
}

.lms-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin: 0 0 30px;
    max-width: 520px;
}

.lms-hero-trust {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 34px;
}

.lms-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.9);
    font-size: 0.96rem;
}

.lms-trust-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(37,99,235,0.2);
    border: 1px solid rgba(93,168,252,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 700;
}

.lms-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.lms-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #1e3a5f;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lms-btn-white:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.lms-btn-outline {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.55);
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lms-btn-outline:hover {
    border-color: rgba(255,255,255,0.9);
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

/* Org-Chart SVG Visual */
.lms-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lms-svg-wrap {
    width: 100%;
    max-width: 440px;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.25));
}

/* ---------- Trust Bar ---------- */
.lms-trust-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 28px 0;
}

.lms-trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: space-around;
    align-items: center;
}

.lms-trust-stat {
    text-align: center;
    padding: 8px 24px;
}

.lms-trust-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1;
    margin-bottom: 4px;
}

.lms-trust-stat span {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.lms-trust-divider {
    width: 1px;
    height: 44px;
    background: #e5e7eb;
    flex-shrink: 0;
}

/* ---------- Problem Block ---------- */
.lms-problem {
    background: #f8fafc;
    padding: 80px 0;
}

.lms-problem-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}


.lms-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.lms-problem-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 28px;
}

.lms-problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.lms-problem-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}

.lms-problem-card p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.lms-cost-highlight {
    margin-top: 40px;
    background: #1e3a5f;
    border-radius: 16px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.lms-cost-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(37,99,235,0.25);
    border: 1px solid rgba(93,168,252,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.lms-cost-text strong {
    display: block;
    color: #93c5fd;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.lms-cost-text p {
    color: rgba(255,255,255,0.82);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Services Block ---------- */
.lms-services {
    background: #ffffff;
    padding: 80px 0;
}

.lms-services-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lms-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.lms-section-header h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 14px;
}

.lms-section-header p {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.lms-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lms-service-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 26px;
    transition: all 0.2s ease;
}

.lms-service-card:hover {
    border-color: #2563eb;
    background: #f0f9ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.08);
}

.lms-service-card.lms-featured {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    border-color: transparent;
    color: #ffffff;
    grid-column: span 2;
}

.lms-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.lms-service-card.lms-featured .lms-service-icon {
    background: rgba(255,255,255,0.15);
}

.lms-service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}

.lms-service-card.lms-featured h3 {
    color: #ffffff;
    font-size: 1.15rem;
}

.lms-service-card p {
    font-size: 0.93rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.lms-service-card.lms-featured p {
    color: rgba(255,255,255,0.82);
}

.lms-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.lms-service-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ---------- Process Block ---------- */
.lms-process {
    background: #f0f9ff;
    padding: 80px 0;
}

.lms-process-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lms-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 52px;
    position: relative;
}

.lms-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
    z-index: 0;
}

.lms-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.lms-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.lms-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.lms-step p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ---------- Mid-CTA ---------- */
.lms-mid-cta {
    background: #1e3a5f;
    padding: 56px 0;
}

.lms-mid-cta-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.lms-mid-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
}

.lms-mid-cta p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 0 28px;
}

.lms-mid-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- FAQ ---------- */
.lms-faq {
    background: #f8fafc;
    padding: 80px 0;
}

.lms-faq-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.lms-faq-list {
    margin-top: 44px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lms-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.lms-faq-item.lms-open {
    border-color: #2563eb;
}

.lms-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}

.lms-faq-question span {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.45;
}

.lms-faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2563eb;
    font-size: 1.1rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.lms-faq-item.lms-open .lms-faq-icon {
    transform: rotate(45deg);
    background: #2563eb;
    color: #ffffff;
}

.lms-faq-answer {
    display: none;
    padding: 0 26px 22px;
    font-size: 0.97rem;
    color: #4b5563;
    line-height: 1.75;
}

.lms-faq-item.lms-open .lms-faq-answer {
    display: block;
}

/* ---------- Final CTA ---------- */
.lms-cta-final {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    padding: 80px 0;
}

.lms-cta-final-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.lms-cta-final h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
}

.lms-cta-final p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin: 0 0 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.lms-cta-final-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.lms-cta-final-meta {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .lms-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lms-service-card.lms-featured {
        grid-column: span 2;
    }
    .lms-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .lms-steps::before {
        display: none;
    }
    .lms-problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lms-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .lms-hero-visual {
        display: block;
    }
    .lms-hero {
        padding: 70px 0 60px;
    }
    .lms-trust-bar-inner {
        gap: 16px;
    }
    .lms-trust-divider {
        display: none;
    }
    .lms-trust-stat {
        padding: 6px 14px;
    }
    .lms-problem-grid {
        grid-template-columns: 1fr;
    }
    .lms-services-grid {
        grid-template-columns: 1fr;
    }
    .lms-service-card.lms-featured {
        grid-column: span 1;
    }
    .lms-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .lms-cost-highlight {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
    }
}
