/* Extracted from lohnbuchhaltung-outsourcen.php. Edit here, not in PHP. */

/* ============================================================
   LBO, Lohnbuchhaltung Outsourcen, Page-spezifisches CSS
   Prefix: lbo-
   Design: "Entlasten & Fokussieren", Licht, Klarheit, Vertrauen
   ============================================================ */

/* Hero */
.lbo-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 60%, #dbeafe 100%);
    padding: 96px 0 80px;
    overflow: hidden;
    position: relative;
}

.lbo-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.lbo-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lbo-hero-content {
}

.lbo-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.lbo-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #1e3a5f;
    line-height: 1.15;
    margin-bottom: 22px;
}

.lbo-hero h1 .lbo-accent {
    color: #2563eb;
}

.lbo-hero-sub {
    font-size: 1.15rem;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
}

.lbo-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.lbo-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    box-shadow: 0 1px 3px rgba(37,99,235,0.08);
}

.lbo-hero-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.lbo-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.lbo-btn-primary {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.30);
}

.lbo-btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

.lbo-btn-outline {
    display: inline-block;
    background: transparent;
    color: #2563eb !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 50px;
    border: 2px solid #2563eb;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.lbo-btn-outline:hover {
    background: #2563eb;
    color: #ffffff !important;
}

.lbo-btn-green {
    display: inline-block;
    background: #10b981;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.30);
}

.lbo-btn-green:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.38);
}

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

.lbo-hero-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 8px 40px rgba(37,99,235,0.12));
}

/* Trust Bar */
.lbo-trust-bar {
    background: #1e3a5f;
    padding: 28px 0;
}

.lbo-trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.lbo-trust-stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.lbo-trust-stat-num span {
    color: #10b981;
}

.lbo-trust-stat-label {
    font-size: 0.82rem;
    color: #93c5fd;
    margin-top: 4px;
    font-weight: 500;
}

/* Sections */
.lbo-section {
    padding: 88px 0;
}

.lbo-section-alt {
    background: #f8fafc;
    padding: 88px 0;
}

.lbo-section-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 88px 0;
}

.lbo-section-dark {
    background: #1e3a5f;
    padding: 88px 0;
}

.lbo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.lbo-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.lbo-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.lbo-section-tag-green {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.lbo-section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 16px;
    line-height: 1.2;
}

.lbo-section-title-white {
    color: #ffffff;
}

.lbo-section-sub {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.lbo-section-sub-white {
    color: #bfdbfe;
}

/* 10 Gründe */
.lbo-reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lbo-reason-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 30px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lbo-reason-card:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.10);
    transform: translateY(-3px);
}

.lbo-reason-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lbo-reason-body h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

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

/* Leistungen beim Outsourcing */
.lbo-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.lbo-service-tile {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, transform 0.2s;
}

.lbo-service-tile:hover {
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
    transform: translateY(-4px);
}

.lbo-service-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.lbo-service-icon-wrap svg {
    width: 28px;
    height: 28px;
    color: #2563eb;
}

.lbo-service-tile h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.lbo-service-tile p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Situationen */
.lbo-situations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.lbo-situation-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 32px;
    border-left: 5px solid #2563eb;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.lbo-situation-card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.10);
}

.lbo-situation-card:nth-child(2) { border-left-color: #10b981; }
.lbo-situation-card:nth-child(3) { border-left-color: #f59e0b; }
.lbo-situation-card:nth-child(4) { border-left-color: #8b5cf6; }

.lbo-situation-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
}

.lbo-situation-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.lbo-situation-card p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Phasen / Prozess */
.lbo-phases {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.lbo-phases::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(12.5% + 22px);
    right: calc(12.5% + 22px);
    height: 3px;
    background: linear-gradient(to right, #2563eb, #10b981);
    z-index: 0;
}

.lbo-phase {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 16px;
}

.lbo-phase-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 1.3rem;
    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.30);
    border: 4px solid #f0f9ff;
}

.lbo-phase:nth-child(2) .lbo-phase-num { background: #1e40af; }
.lbo-phase:nth-child(3) .lbo-phase-num { background: #059669; }
.lbo-phase:nth-child(4) .lbo-phase-num { background: #10b981; }

.lbo-phase-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.lbo-phase-week {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37,99,235,0.08);
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.lbo-phase p {
    font-size: 0.87rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}

/* Risiken */
.lbo-risks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lbo-risk-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 30px 26px;
    text-align: center;
}

.lbo-risk-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(239, 68, 68, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.lbo-risk-icon svg {
    width: 28px;
    height: 28px;
    color: #fca5a5;
}

.lbo-risk-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.lbo-risk-card p {
    font-size: 0.88rem;
    color: #93c5fd;
    line-height: 1.65;
    margin: 0;
}

/* FAQ */
.lbo-faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lbo-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.lbo-faq-item:hover {
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

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

.lbo-faq-q-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

.lbo-faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.lbo-faq-icon svg {
    width: 16px;
    height: 16px;
    color: #2563eb;
    transition: transform 0.25s;
}

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

.lbo-faq-item.lbo-open .lbo-faq-icon svg {
    color: #ffffff;
}

.lbo-faq-a {
    display: none;
    padding: 0 26px 22px;
}

.lbo-faq-item.lbo-open .lbo-faq-a {
    display: block;
}

.lbo-faq-a p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
    padding-top: 0;
    border-top: 1px solid #f3f4f6;
    padding-top: 16px;
}

/* CTA Final */
.lbo-cta-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 80px 0;
    text-align: center;
}

.lbo-cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.lbo-cta-section p {
    font-size: 1.1rem;
    color: #bfdbfe;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.lbo-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.lbo-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #1e40af !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.lbo-btn-white:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

.lbo-btn-outline-white {
    display: inline-block;
    background: transparent;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.6);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.lbo-btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: #ffffff;
}

/* Interne Links */
.lbo-related {
    padding: 64px 0;
    background: #f8fafc;
}

.lbo-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.lbo-related-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px 20px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}

.lbo-related-card:hover {
    box-shadow: 0 6px 22px rgba(37,99,235,0.10);
    transform: translateY(-3px);
}

.lbo-related-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 8px;
}

.lbo-related-card h3 {
    font-size: 0.97rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
    .lbo-hero-container { grid-template-columns: 1fr; gap: 40px; }
    .lbo-hero-content { text-align: center; }
    .lbo-reasons-grid { grid-template-columns: 1fr; }
    .lbo-services-grid { grid-template-columns: repeat(2, 1fr); }
    .lbo-situations-grid { grid-template-columns: 1fr; }
    .lbo-phases { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .lbo-phases::before { display: none; }
    .lbo-risks-grid { grid-template-columns: 1fr; }
    .lbo-trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
    .lbo-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .lbo-services-grid { grid-template-columns: 1fr; }
    .lbo-phases { grid-template-columns: 1fr; }
    .lbo-trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .lbo-related-grid { grid-template-columns: 1fr; }
    .lbo-hero-ctas { flex-direction: column; align-items: flex-start; }
    .lbo-cta-btns { flex-direction: column; align-items: center; }
}
