/* Extracted from elternzeitvertretung-hr.php. Edit here, not in PHP. */

/* ============================================================
   ELTERNZEITVERTRETUNG-HR.PHP, Seiten-spezifische Styles
   CSS-Prefix: ezv-
   Design: Navy Hero (#1e3a5f), Emerald Akzente (#10b981 / #34d399)
   ============================================================ */

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

.ezv-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(52,211,153,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.ezv-hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 70%);
    pointer-events: none;
}

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

.ezv-hero-badge {
    display: inline-block;
    background: rgba(52,211,153,0.15);
    border: 1px solid rgba(52,211,153,0.35);
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.ezv-hero-content h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 24px;
}

.ezv-highlight {
    color: #34d399;
}

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

.ezv-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}

.ezv-urgency-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    animation: ezv-pulse 1.6s ease-in-out infinite;
}

@keyframes ezv-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

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

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

.ezv-hero-trust-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(52,211,153,0.18);
    border: 1px solid rgba(52,211,153,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #34d399;
    font-size: 0.82rem;
    font-weight: 800;
}

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

.ezv-hero-content {
}
.ezv-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ---------- Trust / Stats Bar ---------- */
.ezv-stats {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 32px 0;
    box-shadow: 0 2px 8px rgba(30,58,95,0.06);
}

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

.ezv-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1e3a5f;
    line-height: 1;
    margin-bottom: 6px;
}

.ezv-stat-label {
    font-size: 0.82rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* ---------- Problem Section ---------- */
.ezv-problem {
    background: #f0f9ff;
    padding: 80px 0;
    border-top: 1px solid #e0f2fe;
    border-bottom: 1px solid #e0f2fe;
}

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

.ezv-problem-header {
    text-align: center;
    margin-bottom: 52px;
}

.ezv-problem-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 12px;
}

.ezv-problem-header p {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.ezv-problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.ezv-risk-col,
.ezv-solution-col {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px 32px;
}

.ezv-risk-col {
    border: 2px solid #fee2e2;
}

.ezv-solution-col {
    border: 2px solid #d1fae5;
}

.ezv-col-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ezv-risk-col .ezv-col-label {
    color: #dc2626;
}

.ezv-solution-col .ezv-col-label {
    color: #059669;
}

.ezv-risk-list,
.ezv-solution-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ezv-risk-list li,
.ezv-solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.96rem;
    line-height: 1.6;
    color: #374151;
}

.ezv-risk-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.ezv-ok-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d1fae5;
    color: #059669;
    font-size: 0.78rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ---------- Leistungen Section ---------- */
.ezv-leistungen {
    background: #ffffff;
    padding: 80px 0;
}

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

.ezv-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.ezv-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 12px;
}

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

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

.ezv-leistung-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 26px;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    position: relative;
    overflow: hidden;
}

.ezv-leistung-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #2563eb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}

.ezv-leistung-card:hover {
    box-shadow: 0 10px 36px rgba(30,58,95,0.10);
    transform: translateY(-3px);
    border-color: #bfdbfe;
}

.ezv-leistung-card:hover::before {
    transform: scaleX(1);
}

.ezv-leistung-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.ezv-leistung-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #34d399;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ezv-leistung-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}

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

/* ---------- Fristen / Mutterschutz Section ---------- */
.ezv-fristen {
    background: #f0fdf4;
    padding: 80px 0;
    border-top: 1px solid #d1fae5;
    border-bottom: 1px solid #d1fae5;
}

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

.ezv-fristen-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 28px;
}

.ezv-fristen-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95rem;
}

.ezv-fristen-table thead {
    background: #1e3a5f;
    color: #ffffff;
}

.ezv-fristen-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ezv-fristen-table tbody tr {
    border-bottom: 1px solid #f0fdf4;
}

.ezv-fristen-table tbody tr:last-child {
    border-bottom: none;
}

.ezv-fristen-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.ezv-fristen-table td {
    padding: 16px 20px;
    color: #374151;
    line-height: 1.55;
    vertical-align: top;
}

.ezv-fristen-table td:first-child {
    font-weight: 700;
    color: #1e3a5f;
    white-space: nowrap;
}

.ezv-fristen-hint {
    background: #ffffff;
    border-left: 4px solid #10b981;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.65;
}

.ezv-fristen-hint a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.ezv-fristen-hint a:hover {
    text-decoration: underline;
}

/* ---------- Prozess Section ---------- */
.ezv-prozess {
    background: #f0f9ff;
    padding: 80px 0;
    border-top: 1px solid #e0f2fe;
}

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

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

.ezv-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(10% + 28px);
    right: calc(10% + 28px);
    height: 2px;
    background: linear-gradient(90deg, #10b981, #2563eb);
    z-index: 0;
}

.ezv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.ezv-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(16,185,129,0.35);
}

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

.ezv-step p {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ---------- Related / Interne Verlinkung ---------- */
.ezv-related {
    background: #f8fafc;
    padding: 70px 0;
    border-top: 1px solid #e5e7eb;
}

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

.ezv-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.ezv-related-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ezv-related-card:hover {
    box-shadow: 0 8px 28px rgba(30,58,95,0.10);
    transform: translateY(-2px);
    border-color: #bfdbfe;
    text-decoration: none;
    color: inherit;
}

.ezv-related-tag {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #2563eb;
    background: #eff6ff;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    width: fit-content;
}

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

.ezv-related-card p {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.ezv-related-arrow {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: auto;
}

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

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

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

.ezv-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ezv-faq-item.ezv-faq-open {
    border-color: #bfdbfe;
}

.ezv-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    line-height: 1.45;
    transition: background 0.15s;
}

.ezv-faq-question:hover {
    background: #f8fafc;
}

.ezv-faq-chevron {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s, background 0.15s;
}

.ezv-faq-open .ezv-faq-chevron {
    transform: rotate(180deg);
    background: #2563eb;
    color: #ffffff;
}

.ezv-faq-answer {
    display: none;
    padding: 0 24px 22px;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.75;
    border-top: 1px solid #f3f4f6;
}

.ezv-faq-open .ezv-faq-answer {
    display: block;
}

/* ---------- CTA Section ---------- */
.ezv-cta {
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.ezv-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52,211,153,0.10) 0%, transparent 70%);
    pointer-events: none;
}

.ezv-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ezv-cta h2 {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px;
    line-height: 1.25;
}

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

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .ezv-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .ezv-steps::before {
        display: none;
    }
}

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

    .ezv-hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ezv-hero-content {
        text-align: center;
    }

    .ezv-hero-visual svg {
        max-width: 280px;
        height: auto;
    }

    .ezv-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ezv-problem-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ezv-leistung-grid {
        grid-template-columns: 1fr;
    }

    .ezv-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ezv-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 0;
        gap: 16px;
    }

    .ezv-step-number {
        margin-bottom: 0;
    }

    .ezv-step-body {
        flex: 1;
    }

    .ezv-related-grid {
        grid-template-columns: 1fr;
    }

    .ezv-fristen-table {
        font-size: 0.87rem;
    }

    .ezv-fristen-table thead th,
    .ezv-fristen-table td {
        padding: 12px 14px;
    }
}
