@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');

/* Allgemeine Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", serif;
}

/* Hintergrundfarbe auf hell ändern */
body {
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    line-height: 1.6;
}

/* Sticky Header */
header {
    font-family: "Roboto", serif;
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 15px 0;
    border-top: 3px solid red;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #c91e1e;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #c91e1e;
}

/* Hero-Bereich */
.hero {
    padding: 80px 20px;
    background: linear-gradient(to right, #fff0f0, #fbbbbb);
    color: #333;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 22px;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    background: #c91e1e;
    color: white;
    padding: 15px 35px;
    font-size: 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #c91e1e;
    transform: scale(1.05);
}

/* Sektionen */
.about, .services, .contact {
    padding: 60px 20px;
    background: #ffffff;
    margin: 20px auto;
    border-radius: 10px;
    width: 95%;
}

.about h2, .services h2, .contact h2 {
    font-family: "Roboto", serif;
    font-size: 34px;
    margin-bottom: 20px;
    /*color: #c91e1e;*/
}

/* Services */
.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.service {
    background: #f1f1f1;
    padding: 30px;
    width: 320px;
    border-left: 3px solid red;
    border-radius: 5px;
    transition: transform 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.service:hover {
    transform: scale(1.05);
}

/* Kontakt */
.contact {
    background: #fde3e3;
}

/* Footer */
footer {
    padding: 20px;
    background: #c91e1e;
    color: white;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-list {
        flex-direction: column;
        align-items: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 20px;
    }

    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 10px;
    }
}
