/* ---------- Grundeinstellungen ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'D-DIN', sans-serif;
    color: #2C2C2A;
    background-color: #F7F5EF;
    line-height: 1.5;
    font-size: 15px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* ---------- Globale Überschriften & Text ---------- */
h1 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

h2 {
    font-size: 19px;
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 16px;
}

h3 {
    font-size: 17px;
    font-weight: 500;
    margin-top: 18px;
    margin-bottom: 8px;
}

h4 {
    font-size: 15px;
    font-weight: 700;
    margin-top: 14px;
    margin-bottom: 6px;
}

p {
    font-size: 15px;
    margin-bottom: 12px;
}

li {
    font-size: 15px;
    margin-bottom: 6px;
}

.klein {
    font-size: 13px;
    color: #5F5E5A;
}

/* ---------- Layout: Blöcke ---------- */
.block {
    padding: 32px 20px;
    border-bottom: 1px solid #D3D1C7;
}

.block:last-child {
    border-bottom: none;
}

/* ---------- Buttons ---------- */
.button {
    display: inline-block;
    background-color: #3B6D11;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
}

.button-gruppe {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.button-sekundaer {
    background-color: transparent;
    color: #3B6D11;
    border: 1px solid #3B6D11;
}

/* ---------- Quellenangabe (Block 2) ---------- */
.quelle {
    font-size: 11px;
    color: #888780;
    margin-top: 8px;
}

/* ---------- Block 1: Hook ---------- */
.hook {
    text-align: center;
}

.logo {
    width: 400px;
    margin: 0 auto 32px;
}

.subline {
    color: #5F5E5A;
    font-size: 16px;
}

.hero-image {
    margin-top: 20px;
    border-radius: 8px;
}

/* ---------- Block 2: Zahlen ---------- */
.zahlen-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.zahl {
    background-color: #fff;
    border: 1px solid #D3D1C7;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.zahl-wert {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: #173404;
    margin-bottom: 4px;
}

.zahl-text {
    display: block;
    font-size: 13px;
    color: #5F5E5A;
}

/* ---------- Tag-Listen (Projekt, Geschäftsmodell) ---------- */
.tag-liste {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.tag-liste li {
    background-color: #EAF3DE;
    color: #27500A;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 16px;
    margin-bottom: 0;
}

/* ---------- Block 5: Zielgruppen ---------- */
.karte {
    background-color: #fff;
    border: 1px solid #D3D1C7;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.karte-primary {
    border-color: #3B6D11;
}

/* ---------- Block 7: Team ---------- */
.team-mitglied {
    text-align: center;
    margin-bottom: 24px;
}

.team-mitglied img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 5px;
}

.name {
    font-weight: 500;
    margin-bottom: 2px;
}

.rolle {
    font-size: 13px;
    color: #5F5E5A;
}

/* ---------- Block 8: Kontakt ---------- */
.kontakt {
    text-align: center;
    background-color: #2C2C2A;
    color: #F7F5EF;
}

.kontakt a {
    color: #F7F5EF;
}

/* ---------- Rechtstexte (Impressum, Datenschutz) ---------- */
.rechtstext {
    max-width: 700px;
}

.rechtstext a {
    text-decoration: underline;
}

.zurueck {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 13px;
    color: #5F5E5A;
    text-decoration: none;
}

.rechtslinks {
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 12px;
}

.rechtslinks a {
    text-decoration: underline;
}

/* ---------- Ab hier: größere Bildschirme (Desktop) ---------- */
@media (min-width: 768px) {

    .block {
        padding: 60px 40px;
        max-width: 900px;
        margin: 0 auto;
    }

    .zahlen-grid {
        flex-direction: row;
    }

    .zahl {
        flex: 1;
    }

    .team {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .team h2 {
        width: 100%;
    }

}