:root {
    --gelb: #fee134;
    --schwarz: #2b2a2a;
    --weiß: #ffffff;
}

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

a {
    text-decoration: none
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--weiß);
    color: var(--schwarz);
    line-height: 1.6;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    background-color: var(--gelb);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    gap: 2rem;
    max-width: 900px;
    width: 100%;
}

.hero-top {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    flex-wrap: wrap;

}

.logo {
    animation: textwelle 1s;
}

@keyframes textwelle {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    70% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero h1 {
    font-size: 2.5rem;
}


.hero h1 span {
    background-color: var(--schwarz);
    color: var(--weiß);
    padding: 0.2rem 0.5rem;

}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
}


.btn-dark {
    background-color: var(--schwarz);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    color: var(--weiß);
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
}

.btn-dark:hover {
    background-color: #ffffff;
    color: black;
}


.leistungen {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: auto;
}

.leistungen h2 {
    text-align: center;
    color: var(--schwarz);
    margin-bottom: 2rem;
}

.leistung h3 {
    margin-bottom: 1rem;
}

.leistungen-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.leistung {
    border: 2px solid var(--gelb);
    padding: 2rem;
    background-color: var(--weiß);
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
}

.leistung:hover {
    transform: translatey(-10px);
}

.ueberuns {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: auto;
}

.ueberuns h2 {
    text-align: center;
    color: var(--schwarz);
    margin-bottom: 2rem;
}

.ueberuns-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.ueberuns-item {
    padding: 2rem;
    flex: 1 1 300px;
    text-align: left;
}

.teamwork {
    width: 100%;
    height: auto;
}

.projekte {
    padding: 1rem 1rem 6rem 1rem;
    max-width: 1100px;
    margin: auto;
}

.projekte h2 {
    text-align: center;
    color: var(--schwarz);
}

.projekte h1 {
    font-weight: 700;
    font-style: normal;
    font-size: 2.5rem;
    text-align: left;
}

.projekte-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.projekte-item {
    max-width: 500px;
    flex-wrap: nowrap;
    flex-direction: row;
    display: flex;
}

.counter-box {
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.projekte-zahlen {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-direction: column;
    justify-content: space-around;
}

.kontakt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: var(--gelb);
    text-align: center;
    padding: 4rem 2rem;
}

.kontakt h2 {
    margin-bottom: 1rem;
}

.btn-contact {
    background-color: var(--schwarz);
    color: var(--weiß);
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    margin-top: 1rem;
}


footer {
    background-color: var(--schwarz);
    color: var(--weiß);
    text-align: center;
    padding: 2rem 1rem;
}


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

    .hero p {
        font-size: 1rem;
    }

    .leistungen-grid {
        flex-direction: column;
        align-items: center;
    }

    .leistung {
        max-width: 100%;
        width: 100%;
    }

    .ueberuns-grid {
        flex-direction: column;
        align-items: center;
    }

    .ueberuns-item {
        max-width: 100%;
        width: 100%;
    }

    .projekte-item {
        max-width: 100%;
        width: 100%;
    }
}

/* Blog-Sektion */
.blog {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: auto;
}

.blog h2 {
    text-align: center;
    color: var(--schwarz);
    margin-bottom: 2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.blog-item {
    border: 2px solid var(--gelb);
    padding: 2rem;
    background-color: var(--weiß);
    text-align: left;
    transition: transform 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.blog-item p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.5;
}

/* Button-Variante hell für Blog-Links */
.btn-light {
    background-color: var(--gelb);
    color: var(--schwarz);
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    border-radius: 15px;
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-light:hover {
    background-color: var(--schwarz);
    color: var(--weiß);
}
