/* =================================================================
   DARK CTA SECTION BLOCK
   Dark background section for trust signals and CTAs
   ================================================================= */

.dark-cta-section {
    position: relative;
    width: 100%;
    background-color: var(--primär-navy, #000233);
    color: var(--vit, #FFFFFF);
    padding: 100px 0;
    overflow: hidden;
    font-family: var(--font-lato, 'Lato', sans-serif);
}

/* =================================================================
   BACKGROUND PATTERN
   ================================================================= */
.dark-cta-section__pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    pointer-events: none;
    z-index: 1;
}

.dark-cta-section__pattern-svg {
    position: absolute;
    top: 50%;
    right: -30%;
    width: 800px;
    height: auto;
    transform: translateY(-50%) rotate(-10deg);
    opacity: 0.6;
}

/* =================================================================
   CONTAINER AND CONTENT
   ================================================================= */
.dark-cta-section__content {
    position: relative;
    text-align: center;
    margin: 0 auto;
    display: grid;
    gap: 80px;
    align-items: flex-start;
    grid-template-columns: 4fr 5fr;
}

.dark-cta-section__title-column {
    flex: 1;
    text-align: left;
}

.dark-cta-section__text-column {
    flex: 1;
    text-align: left;
}

.dark-cta-section__title {
    font-family: var(--font-montserrat, 'Montserrat', sans-serif);
    font-size: var(--font-size-44, 44px);
    font-weight: bold;
    line-height: var(--line-height-54, 54px);
    color: var(--vit, #FFFFFF);
    margin: 0;
    letter-spacing: 0;
}

.dark-cta-section__text p {
    font-family: var(--font-lato, 'Lato', sans-serif);
    font-size: var(--font-size-18, 18px);
    font-weight: normal;
    line-height: var(--line-height-22, 22px);
    color: var(--vit, #FFFFFF);
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.dark-cta-section__text p {
    margin: 0 0 16px 0;
}

.dark-cta-section__text p:last-child {
    margin-bottom: 0;
}

.dark-cta-section__button {
    margin-top: 40px;
}

/* Button container styling only - button appearance handled by global design system */

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Large desktop */
@media (min-width: 1400px) {
    .dark-cta-section {
        padding: 120px 0;
    }

    .dark-cta-section__title {
        font-size: 48px;
    }

    .dark-cta-section__text {
        font-size: 20px;
    }

    .dark-cta-section__pattern-svg {
        width: 900px;
        right: -25%;
    }
}

/* Desktop adjustments */
@media (max-width: 1200px) {
    .dark-cta-section__title {
        font-size: 36px;
    }

    .dark-cta-section__text {
        font-size: 17px;
    }

    .dark-cta-section__pattern-svg {
        width: 700px;
        right: -35%;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .dark-cta-section {
        padding: 80px 0;
    }

    .dark-cta-section__content {
        flex-direction: column;
        gap: 24px;
        display: flex;
    }

    .dark-cta-section__title {
        font-size: 32px;
        line-height: 1.4;
    }

    .dark-cta-section__text {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .dark-cta-section__button {
        margin-top: 32px;
    }

    .dark-cta-section__pattern-svg {
        width: 500px;
        right: -40%;
        opacity: 0.4;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .dark-cta-section {
        padding: 60px 0;
    }

    .dark-cta-section__title {
        font-size: 28px;
        line-height: 1.4;
    }

    .dark-cta-section__text {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .dark-cta-section__button {
        margin-top: 28px;
    }

    .dark-cta-section__pattern {
        opacity: 0.04;
    }

    .dark-cta-section__pattern-svg {
        width: 400px;
        right: -50%;
    }

    /* Mobile button styling handled by global design system */
}

/* =================================================================
   ACCESSIBILITY ENHANCEMENTS
   ================================================================= */

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dark-cta-section__title {
        color: #FFFFFF;
    }

    .dark-cta-section__text {
        color: #FFFFFF;
    }

    .dark-cta-section__pattern {
        display: none;
    }

    /* High contrast button styling handled by global design system */
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .dark-cta-section__pattern-svg {
        transform: translateY(-50%);
    }

    /* Reduced motion button styling handled by global design system */
}

/* =================================================================
   PRINT STYLES
   ================================================================= */

@media print {
    .dark-cta-section {
        background: white !important;
        color: black !important;
        border: 2px solid black;
        padding: 40px 0;
        page-break-inside: avoid;
    }

    .dark-cta-section__title {
        color: black !important;
        font-size: 28px;
    }

    .dark-cta-section__text {
        color: #333333 !important;
        font-size: 14px;
    }

    .dark-cta-section__pattern {
        display: none;
    }

    .dark-cta-section__button {
        display: none;
    }
}
