/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    --color-primary-blue: #26374C;
    --color-bg-grey: #F0F3F4;
    --color-events-bg: #D7E5B4;
    --color-accent-peach: #E9B379;
    --color-accent-peach: #d8a065;
    --color-btn-green: #B1CB6F;
    --color-secondary-hover: #9fb862;
    --color-white: #F0F3F4;
    --color-primary-blue: #26374C;
    --color-white: #ffffff;
    --color-error: #e74c3c;
    --color-success: #2ecc71;

    --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
    --border-radius: 30px;
    --border-radius-pill: 38px;
    --border-radius-sm: 15px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Typography & Component Basics erben nun von style.css
   ========================================================================== */

.highlight-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-peach);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
}



/* ==========================================================================
   Layout Sections
   ========================================================================== */
.site-header {
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.logo {
    height: 40px;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.hero-bg-element {
    position: absolute;
    bottom: -2%;
    right: -2%;
    width: 45%;
    max-width: 700px;
    z-index: 0;
    pointer-events: none;
}

.header-image {
    width: 100%;
    max-width: 1350px;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin: 0 auto 2.5rem;
    box-shadow: var(--shadow);
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    align-items: center;
}

.event-details {
    text-align: left;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-form-container {
    width: 100%;
    max-width: 600px;
}

.event-details {
    list-style: none;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-details li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.event-details li:last-child {
    margin-bottom: 0;
}



/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    text-align: center;
}

.benefits-intro {
    font-size: 1.5rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: var(--color-primary-blue);
}

.benefits-content h2 {
    margin-bottom: 3rem;
}

.benefits-content .dark-text {
    color: var(--color-primary-blue);
}

.benefits-content .light-text {
    color: var(--color-white); /* Assuming the light gray in Figma */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.benefit-card {
    background-color: var(--color-bg-grey);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.benefit-icon {
    width: 76px;
    height: 59px;
    background-color: var(--color-accent-peach); /* Orange */
    margin-bottom: 2rem;
}

.benefit-card h3 {
    color: var(--color-primary-blue);
    font-size: 1.5rem;
    line-height: 1.3;
}

.benefits-outro {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-blue);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

.faq-section h2 {
    color: var(--color-white);
    text-align: center;
    font-size: 4rem;
    margin-bottom: 3rem;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 2rem;
    position: relative;
    padding-left: 2rem;
}

.faq-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 15px;
    height: 10px;
    border-left: 4px solid var(--color-white);
    border-bottom: 4px solid var(--color-white);
    transform: rotate(-45deg);
}

.faq-item p {
    color: rgba(240, 243, 244, 0.8);
    font-size: 1.1rem;
    padding-left: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-btn-green);
    text-align: center;
    padding: 3rem 1.5rem;
    color: white;
}

.footer-links {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 14px;
    color: white;
    opacity: 0.8;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {

    .hero-grid,
    .expert-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-section {
        padding-top: 6rem;
    }

    .hero-content {
        text-align: center;
    }

    .event-details {
        text-align: left;
    }

    .expert-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .expert-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }

    .hero-section {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .expert-section,
    .benefits-section,
    .cta-section,
    .faq-section {
        padding: 3rem 0;
    }
}