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

/* ================================================
   DATEV PAGE, dv- prefix, Präzision & System
   ================================================ */

/* --- Hero --- */
.dv-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2140 60%, #162d4a 100%);
    padding: 5rem 0 4rem;
    overflow: hidden;
    position: relative;
}
.dv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.18) 0%, transparent 65%),
                radial-gradient(ellipse at 10% 80%, rgba(16,185,129,0.10) 0%, transparent 55%);
    pointer-events: none;
}
.dv-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.dv-hero-content {
}
.dv-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 1.4rem;
}
.dv-hero-content h1 .dv-highlight {
    color: #10b981;
}
.dv-hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 520px;
}
.dv-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.dv-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50px;
    padding: 0.38rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.01em;
}
.dv-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}
.dv-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}
.dv-btn-primary {
    display: inline-block;
    background: #10b981;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.dv-btn-primary:hover {
    background: #059669;
    transform: translateY(-2px);
}
.dv-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.4);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.dv-btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.07);
}

/* --- SVG Hero Visual --- */
.dv-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.dv-flow-svg {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}

/* --- Trust Bar --- */
.dv-trust-bar {
    background: #1e3a5f;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.6rem 0;
}
.dv-trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}
.dv-trust-stat {
    text-align: center;
}
.dv-trust-stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #10b981;
}
.dv-trust-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.2rem;
    letter-spacing: 0.02em;
}

/* --- Section Utility --- */
.dv-section {
    padding: 5rem 0;
}
.dv-section-light {
    background: #f8fafc;
}
.dv-section-white {
    background: #fff;
}
.dv-section-navy {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2140 100%);
    color: #fff;
}
.dv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.dv-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.dv-section-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 0.8rem;
}
.dv-section-title-white {
    color: #fff;
}
.dv-section-subtitle {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}
.dv-section-subtitle-white {
    color: rgba(255,255,255,0.78);
}

/* --- DATEV Erklärt --- */
.dv-explainer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.dv-explainer-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.8rem;
}
.dv-explainer-text p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.dv-module-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}
.dv-module-pill {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
}
.dv-stat-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}
.dv-stat-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.dv-stat-box-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}
.dv-stat-box-label {
    font-size: 0.83rem;
    color: #6b7280;
    margin-top: 0.4rem;
    line-height: 1.4;
}

/* --- Leistungen Grid --- */
.dv-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.dv-service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}
.dv-service-card:hover {
    box-shadow: 0 8px 28px rgba(37,99,235,0.12);
    transform: translateY(-3px);
}
.dv-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.dv-service-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.6rem;
}
.dv-service-card p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.65;
}

/* --- StB Schnittstellen-Sektion (Navy) --- */
.dv-stb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.dv-stb-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
}
.dv-stb-text p {
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    margin-bottom: 1rem;
}
.dv-stb-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}
.dv-stb-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}
.dv-stb-list li::before {
    content: '';
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}
.dv-stb-visual {
    display: flex;
    justify-content: center;
}
.dv-stb-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 18px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
}
.dv-stb-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.82rem;
}
.dv-flow-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}
.dv-flow-node {
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    color: #fff;
    font-weight: 600;
    flex: 1;
    text-align: center;
}
.dv-flow-arrow {
    color: #10b981;
    font-size: 1.1rem;
    font-weight: 700;
}
.dv-flow-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.75);
    margin-top: 1rem;
    line-height: 1.5;
}

/* --- DATEV Module --- */
.dv-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.dv-module-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #2563eb;
    transition: box-shadow 0.2s;
}
.dv-module-card:hover {
    box-shadow: 0 6px 24px rgba(37,99,235,0.10);
}
.dv-module-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}
.dv-module-badge {
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.2rem 0.7rem;
    border-radius: 50px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.dv-module-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.dv-module-card p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.65;
}

/* --- Alternativen / Integration --- */
.dv-integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.dv-integration-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.6rem;
    text-align: center;
}
.dv-integration-logo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.dv-integration-logo img {
    max-height: 38px;
    max-width: 120px;
    object-fit: contain;
}
.dv-integration-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.dv-integration-card p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
}

/* --- Prozess --- */
.dv-process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}
.dv-process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #10b981);
    z-index: 0;
}
.dv-process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}
.dv-step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 16px rgba(37,99,235,0.30);
}
.dv-process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}
.dv-process-step p {
    font-size: 0.87rem;
    color: #4b5563;
    line-height: 1.6;
}

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

/* --- CTA Banner --- */
.dv-cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1d4ed8 100%);
    padding: 5rem 0;
    text-align: center;
}
.dv-cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.dv-cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.82);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}
.dv-cta-section .dv-btn-primary {
    font-size: 1.05rem;
    padding: 1rem 2.4rem;
}
.dv-cta-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.dv-cta-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.15s;
}
.dv-cta-links a:hover {
    color: #fff;
}

/* --- Lohnart-Bibliothek Feature --- */
.dv-library-section {
    background: #fff;
    padding: 5rem 0;
}
.dv-library-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.dv-library-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
}
.dv-library-content p {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.dv-lohnart-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1.2rem;
}
.dv-lohnart-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #374151;
}
.dv-lohnart-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    flex-shrink: 0;
}
.dv-library-visual {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.dv-library-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e5e7eb;
}
.dv-library-header-icon {
    width: 36px;
    height: 36px;
    background: #2563eb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dv-library-header-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
}
.dv-library-header-sub {
    font-size: 0.75rem;
    color: #6b7280;
}
.dv-lohnart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.85rem;
}
.dv-lohnart-row:last-child {
    border-bottom: none;
}
.dv-lohnart-code {
    background: #eff6ff;
    color: #1e40af;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
}
.dv-lohnart-name {
    color: #374151;
    flex: 1;
    padding: 0 0.8rem;
}
.dv-lohnart-tag {
    font-size: 0.72rem;
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .dv-hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .dv-explainer-grid,
    .dv-stb-grid,
    .dv-library-grid {
        grid-template-columns: 1fr;
    }
    .dv-hero-visual .dv-flow-svg { max-width: 340px; }
    .dv-process-steps { grid-template-columns: 1fr 1fr; }
    .dv-process-steps::before { display: none; }
    .dv-modules-grid { grid-template-columns: 1fr; }
    .dv-integration-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .dv-section { padding: 3.5rem 0; }
    .dv-stat-box-grid { grid-template-columns: 1fr 1fr; }
    .dv-services-grid { grid-template-columns: 1fr; }
    .dv-process-steps { grid-template-columns: 1fr; }
    .dv-integration-grid { grid-template-columns: 1fr; }
    .dv-lohnart-list { grid-template-columns: 1fr; }
    .dv-trust-bar-inner { gap: 1.5rem; }
}
