/* ========================================
   Call-to-Action Section
   Grüner Full-Width Bereich nach Adobe XD Design
   ======================================== */

/* CTA Section - Grüner Hintergrund */
.cta-section-green {
    background-color: #28a745;
    background: linear-gradient(135deg, #28a745 0%, #20873a 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Responsive Padding */
@media (min-width: 768px) {
    .cta-section-green {
        padding: 5rem 0;
    }
}

@media (min-width: 992px) {
    .cta-section-green {
        padding: 6rem 0;
    }
}

/* Headline Styling */
.cta-section-green .cta-headline {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

/* Text / Subtext Styling */
.cta-section-green .cta-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 0.95;
}

.cta-section-green .cta-text p {
    margin-bottom: 0.75rem;
}

.cta-section-green .cta-text p:last-child {
    margin-bottom: 0;
}

/* Button Styling - White Outline */
.cta-section-green .cta-button {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    border-radius: 0.375rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.02em;
}

.cta-section-green .cta-button:hover,
.cta-section-green .cta-button:focus {
    background-color: #ffffff;
    color: #28a745;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-section-green .cta-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Bootstrap 5 btn-outline-light Override für grüne Section */
.cta-section-green .btn-outline-light {
    border-width: 2px;
    border-color: #ffffff;
    color: #ffffff;
    background-color: transparent;
    font-weight: 600;
}

.cta-section-green .btn-outline-light:hover,
.cta-section-green .btn-outline-light:focus {
    background-color: #ffffff;
    color: #28a745;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-section-green .btn-outline-light:active {
    background-color: #f8f9fa !important;
    color: #28a745 !important;
    border-color: #ffffff !important;
}

/* Large Button Size */
.cta-section-green .btn-lg {
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
}

/* Responsive Button */
@media (max-width: 767px) {
    .cta-section-green .cta-button,
    .cta-section-green .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Text Center Alignment */
.cta-section-green .text-center {
    text-align: center;
}

/* Optional: Subtle Background Pattern (falls gewünscht) */
.cta-section-green::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.cta-section-green > .container {
    position: relative;
    z-index: 1;
}

/* Accessibility: Focus States */
.cta-section-green .cta-button:focus-visible,
.cta-section-green .btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .cta-section-green {
        background-color: #28a745 !important;
        color: #000000 !important;
    }

    .cta-section-green .cta-button {
        border: 2px solid #000000 !important;
        color: #000000 !important;
    }
}
