@font-face {
    font-family: "Winter Poppins";
    src: url("../assets/fonts/WinterPoppins-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Winter Poppins";
    src: url("../assets/fonts/WinterPoppins-Medium.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Winter Poppins";
    src: url("../assets/fonts/WinterPoppins-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

/* ==========================================
   Variablen
========================================== */

:root {

    --green-dark: #2E7D32;
    --green-mid: #66BB6A;
    --green-light: #A5D6A7;

    --background: #F3F5EF;
    --surface: #FAFBF8;

    --text: #2D3436;
    --border: #D8DED3;

    --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);

    --radius: 18px;

    --font-heading: "Winter Poppins", sans-serif;
    --font-body: "Source Sans Pro", sans-serif;
}

/* ==========================================
   Reset
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    background: linear-gradient(
        180deg,
        #f6f7f2 0%,
        #eef4ec 100%
    );

    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* ==========================================
   Layout
========================================== */

.container {

    width: min(1200px, 92%);
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

/* ==========================================
   Header
========================================== */

.header {

    position: sticky;
    top: 0;

    background: rgba(243, 245, 239, .96);

    backdrop-filter: blur(8px);

    border-bottom: 1px solid var(--border);

    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);

    z-index: 999;

    transition: all .3s ease;
}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 110px;

    gap: 2rem;

    padding: .75rem 0;
}

.logo {

    height: 90px;

    width: auto;

    display: block;

    transition: transform .3s ease;
}

.logo:hover {
    transform: scale(1.04);
}

.header.scrolled {

    padding: 0;

    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.header.scrolled .nav-links {

    display: none;
}

.header.scrolled .logo {

    height: 55px;
}

.header.scrolled .nav-container {

    min-height: 65px;

    padding: .25rem 0;
}

/* ==========================================
   Navigation
========================================== */

.nav-links {

    display: flex;

    align-items: center;

    gap: 2rem;

    list-style: none;
}

.nav-links a {

    text-decoration: none;

    color: var(--text);

    font-weight: 600;

    transition: .3s;
}

.nav-links a:hover {

    color: var(--green-dark);
}

.nav-links a.current {

    color: var(--green-dark);

    border-bottom: 2px solid var(--green-dark);
}

/* ==========================================
   Sprache
========================================== */

.language-switcher {

    display: flex;

    align-items: center;

    gap: .5rem;
}

.language-switcher a {

    text-decoration: none;

    color: var(--text);

    padding: .4rem .75rem;

    border-radius: 999px;

    font-size: .85rem;

    font-weight: 600;

    transition: .3s;
}

.language-switcher a:hover {

    background: var(--green-light);
}

.language-switcher a.active {

    background: var(--green-dark);

    color: white;
}

/* ==========================================
   Hero
========================================== */

.hero {

    padding: 5rem 0;
}

.hero-content {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 4rem;

    align-items: center;
}

.hero-text h1 {

    font-family: var(--font-heading);

    color: var(--green-dark);

    font-size: 4.5rem;

    line-height: 1.1;

    margin-bottom: 1rem;
}

.hero-text p {

    font-size: 1.35rem;

    max-width: 650px;

    margin-bottom: 2rem;
}

.hero-image img {

    width: 100%;

    max-width: 650px;

    display: block;

    margin: auto;
}

/* ==========================================
   Hero Badges
========================================== */

.hero-badges {

    display: flex;

    flex-wrap: wrap;

    gap: .75rem;

    margin-bottom: 2rem;
}

.hero-badges span {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 999px;

    padding: .65rem 1rem;

    font-size: .9rem;

    font-weight: 600;

    box-shadow: 0 2px 6px rgba(0,0,0,.03);
}

/* ==========================================
   Buttons
========================================== */

.btn {

    display: inline-block;

    padding: 1rem 2rem;

    border-radius: 12px;

    background: var(--green-dark);

    color: white;

    text-decoration: none;

    font-weight: 700;

    transition: .3s;
}

.btn:hover {

    background: var(--green-mid);

    transform: translateY(-2px);
}

/* ==========================================
   Trust Area
========================================== */

.trust {
    padding-bottom: 4rem;
}

.trust-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 1rem;
}

.trust-item {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 1.25rem;

    text-align: center;

    font-weight: 600;
}

/* ==========================================
   Headings
========================================== */

h2 {

    font-family: var(--font-heading);

    color: var(--green-dark);

    font-size: 2.8rem;

    margin-bottom: 3rem;
}

/* ==========================================
   Cards
========================================== */

.card-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;
}

.card {

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 2rem;

    min-height: 280px;

    display: flex;

    flex-direction: column;

    gap: 1rem;

    box-shadow: var(--shadow);

    transition: .3s;

    justify-content: flex-start;
}

.card:hover {

    transform: translateY(-8px);
}

.card h3 {

    min-height: 60px;

    line-height: 1.3;

    color: var(--green-dark);
}

.card-header {

    display: flex;

    align-items: flex-start;

    gap: 1rem;

    margin-bottom: 1.5rem;
}

.topic-icon {

    width: 90px;

    height: 90px;

    object-fit: contain;

    flex-shrink: 0;

    margin-top: -4px;
}

.card-header h3 {

    margin: 0;

    color: var(--green-dark);

    font-size: 1.4rem;

    line-height: 1.25;

    padding-top: 12px;
}


/* ==========================================
   Formular
========================================== */

.contact-form {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    background: var(--surface);

    padding: 2rem;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form select,
.contact-form textarea {

    width: 100%;

    padding: 1rem;

    border: 1px solid var(--border);

    border-radius: 12px;

    font-size: 1rem;
}

.contact-form textarea {

    min-height: 180px;

    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {

    outline: none;

    border-color: var(--green-dark);

    box-shadow:
        0 0 0 3px rgba(46, 125, 50, .15);
}

.contact-form button {

    border: none;

    background: var(--green-dark);

    color: white;

    padding: 1rem;

    border-radius: 12px;

    cursor: pointer;

    font-weight: 700;
}

.contact-form button:hover {

    background: var(--green-mid);

    transform: translateY(-2px);

    transition: all .3s ease;
}

.contact-form label {

    display: flex;

    align-items: center;

    gap: 0.75rem;

    cursor: pointer;

    font-size: 1rem;
}

.contact-form input[type="checkbox"] {

    width: 20px;

    height: 20px;

    cursor: pointer;

    flex-shrink: 0;
}

/* ==========================================
   Footer
========================================== */

footer {

    position: relative;

    margin-top: 4rem;

    background: var(--green-dark);

    color: white;

    text-align: center;

    padding: 2rem;
}

.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 2rem;
}

.footer-left {

    text-align: left;
}

.footer-read-aloud {

    display: flex;

    align-items: center;

    gap: .5rem;

    background: transparent;

    border: none;

    color: #F3F5EF;

    cursor: pointer;
}

.footer-read-aloud img {

    width: 28px;

    height: 28px;

    object-fit: contain;
}

.footer-read-aloud span {

    color: #F3F5EF;

    font-size: .95rem;

    font-weight: 600;
}

footer a {

    color: white;

    text-decoration: none;
}

footer a:hover {

    text-decoration: underline;
}

@media (max-width: 900px) {

    .footer-content {

        flex-direction: column;

        align-items: flex-start;

        gap: 1rem;
    }

    .footer-left {

        text-align: left;
    }

    .footer-read-aloud {

        align-self: flex-start;
    }

}

/* ==========================================
   Mobile
========================================== */

@media (max-width: 900px) {

    .nav-container {

        display: flex;

        flex-direction: row;

        flex-wrap: wrap;

        justify-content: center;

        gap: 1rem;

        min-height: auto;

        padding: .5rem 0;
    }

    .hero-content,
    .card-grid,
    .trust-grid {

        grid-template-columns: 1fr;
    }

    .hero-text h1 {

        font-size: 2.8rem;
    }

    .logo {

        height: 75px;
    }

    .language-switcher {

        justify-content: center;
    }

    .hero-badges {

        justify-content: center;
    }

    h2 {

        font-size: 2rem;
    }

    .nav-links li:last-child {
        display: none;
    }

    .nav-links {

        gap: 1rem;

        font-size: .95rem;

        justify-content: center;

        width: 100%;
    }

}

.info-box {

    background: rgba(102, 187, 106, 0.1);

    border-left: 4px solid var(--green-dark);

    padding: 1rem 1.25rem;

    border-radius: 12px;

    margin-bottom: 1.5rem;
}

/* ==========================================
   Timeline
========================================== */

.timeline {

display: flex;

flex-direction: column;

gap: 16px;

max-width: 900px;

margin-bottom: 2rem;
}

.timeline-step {

    display: flex;
    align-items: center;

    gap: 1rem;

    background: var(--surface);

    border-left: 5px solid var(--green-dark);

    border-radius: var(--radius);

    padding: 1rem 1.25rem;

    box-shadow: 0 2px 8px rgba(0,0,0,.04);

    margin-bottom: 12px;
}

.timeline-number {

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--green-dark);

    color: white;

    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-text {

    font-size: 1rem;
    font-weight: 500;
}
.project-note {

    background: rgba(46, 125, 50, 0.08);

    border-left: 5px solid var(--green-dark);

    border-radius: 12px;

    padding: 1.5rem;

    margin: 4rem auto 2rem auto;

    max-width: 1100px;

    width: 100%;

    box-sizing: border-box;
}
.project-note p {

    margin-bottom: 0.75rem;
}

.project-note p:last-child {

    margin-bottom: 0;
}
.project-note strong {

    display: block;

    color: var(--green-dark);

    margin-bottom: .75rem;
}