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

/* ===== ARBEITSVERTRAEGE PAGE STYLES ===== */

/* Hero */
.av-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    padding: 100px 0 80px;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.av-hero::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.3) 0%, transparent 70%);
    pointer-events: none;
}

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

.av-hero-badge {
    display: inline-block;
    background: rgba(147,197,253,0.2);
    border: 1px solid rgba(147,197,253,0.4);
    color: #93c5fd;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.av-hero h1 {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 20px;
    color: #fff;
}

.av-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
    margin: 0 0 30px;
}

.av-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.av-trust-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
}

.av-hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}

.av-hero-cta:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16,185,129,0.4);
}

/* Document SVG Visual */
.av-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.av-hero-visual svg {
    width: 100%;
    max-width: 380px;
    filter: drop-shadow(0 12px 40px rgba(0,0,0,0.3));
}

/* Stats Bar */
.av-stats-bar {
    background: #1e3a5f;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

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

.av-stat {
    padding: 16px;
}

.av-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #6ee7b7;
    line-height: 1;
    margin-bottom: 6px;
}

.av-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

/* Contract Types Section */
.av-types {
    background: #fff;
    padding: 80px 0;
}

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

.av-types h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 14px;
}

.av-types-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 1.05rem;
    margin: 0 0 52px;
}

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

.av-types-grid .av-type-card:nth-child(4),
.av-types-grid .av-type-card:nth-child(5) {
    grid-column: span 1;
}

.av-types-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.av-type-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-top: 4px solid #10b981;
    padding: 32px 28px;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s, border-top-color 0.2s;
}

.av-type-card:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.12);
    transform: translateY(-3px);
    border-top-color: #059669;
}

.av-type-doc-icon {
    width: 44px;
    height: 52px;
    margin-bottom: 18px;
}

.av-type-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.av-type-card p {
    color: #4b5563;
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0 0 14px;
}

.av-type-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.av-type-tag {
    background: #f0fdf4;
    color: #059669;
    border: 1px solid #6ee7b7;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Services Section */
.av-services {
    background: #f8fafc;
    padding: 80px 0;
}

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

.av-services h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 14px;
}

.av-services-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 1.05rem;
    margin: 0 0 52px;
}

.av-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.av-services-grid .av-service-card:last-child:nth-child(3n+1) {
    grid-column: 2;
}

.av-service-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 36px 30px;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.av-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #2563eb);
}

.av-service-card:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.1);
    transform: translateY(-3px);
}

.av-service-icon {
    width: 52px;
    height: 52px;
    background: #f0fdf4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.av-service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.av-service-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.av-service-bullets {
    padding-left: 18px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.9;
    margin: 0;
}

.av-service-bullets li::marker {
    color: #10b981;
}

/* Why Review Matters */
.av-why-review {
    background: #fff;
    padding: 80px 0;
}

.av-why-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.av-why-review h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 14px;
}

.av-why-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 1.05rem;
    margin: 0 0 44px;
}

.av-warning-box {
    background: #f0fdf4;
    border: 1px solid #6ee7b7;
    border-left: 4px solid #10b981;
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.av-warning-box-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.av-warning-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.av-warning-box-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #064e3b;
    margin: 0;
}

.av-warning-box p {
    color: #065f46;
    font-size: 0.97rem;
    line-height: 1.7;
    margin: 0 0 16px;
}

.av-warning-box p:last-child {
    margin-bottom: 0;
}

.av-changes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.av-change-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px 20px;
    text-align: center;
}

.av-change-card .av-change-year {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 6px;
}

.av-change-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.av-change-card p {
    font-size: 0.87rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

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

.av-faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.av-faq h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 14px;
}

.av-faq-subtitle {
    text-align: center;
    color: #4b5563;
    font-size: 1.05rem;
    margin: 0 0 48px;
}

.av-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.av-faq-list details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.av-faq-list details[open] {
    box-shadow: 0 4px 20px rgba(37,99,235,0.1);
    border-color: #2563eb;
}

.av-faq-list summary {
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}

.av-faq-list summary::-webkit-details-marker {
    display: none;
}

.av-faq-list summary::after {
    content: '+';
    font-size: 1.4rem;
    color: #2563eb;
    font-weight: 400;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.av-faq-list details[open] summary::after {
    transform: rotate(45deg);
}

.av-faq-answer {
    padding: 0 24px 20px;
    color: #4b5563;
    font-size: 0.97rem;
    line-height: 1.72;
}

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

.av-cta-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.av-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
}

.av-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0 0 36px;
}

.av-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.av-cta-btn:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a5f);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .av-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .av-trust-badges {
        justify-content: center;
    }

    .av-hero-visual svg {
        max-width: 300px;
    }

    .av-types-grid {
        grid-template-columns: 1fr 1fr;
    }

    .av-changes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .av-hero {
        padding: 72px 0 60px;
    }

    .av-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .av-types-grid {
        grid-template-columns: 1fr;
    }

    .av-types-row-2 {
        grid-template-columns: 1fr;
    }

    .av-services-grid {
        grid-template-columns: 1fr;
    }
}
