body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, #8DC540, #D3D3D3);
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.header {
    background-color: #272530;
    color: #FFF;
    padding: 20px;
    font-size: 42px;
    font-weight: bold;
    text-align: center;
    position: absolute;
    top: 50px;
    width: 100%;
    left: 0;
    box-sizing: border-box;
}

.logo {
    margin-right: 15px;
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.company-name {
    font-family: 'Roboto Slab', serif;
    text-transform: uppercase;
}

.company-name a {
    color: #FFF; /* Standard-Linkfarbe für die Company-Name */
    text-decoration: none; /* Keine Unterstreichung des Links */
}

.history {
    font-family: 'Roboto Slab', serif;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20vh auto 30px;
    width: 80%; /* 80% der Breite */
    color: #000;
    white-space: nowrap; /* Verhindert Zeilenumbrüche innerhalb des Textes */
}

.history p {
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word; /* Erlaubt Zeilenumbrüche innerhalb des Containers */
}

.info {
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 250px auto 0;
    max-width: 600px;
    background-color: #8DC540;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    width: 80%; /* 80% der Breite des Bildschirms */
}

.info p {
    margin: 10px 0;
}

.info a {
    color: #272530;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.info a:hover {
    color: #FFF;
    text-decoration: underline;
}

.services {
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-align: center;
    margin: 50px auto;
    max-width: 100%;
    box-sizing: border-box;
    width: 80%; /* 80% der Breite des Bildschirms */
}

.services-title {
    font-family: 'Roboto Slab', serif;
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #272530;
}

.services ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.services li {
    margin: 10px 0;
    font-size: 28px;
}

.services i {
    margin-right: 10px;
    color: #272530;
    font-size: 24px;
}

.footer {
    background-color: #272530;
    color: #FFF;
    padding: 10px;
    font-size: 12px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    margin-right: auto;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-right span {
    margin-right: 5px;
}

.scroll-to-top {
    color: #FFF;
    font-size: 16px;
    text-decoration: none;
}

.scroll-to-top:hover {
    text-decoration: underline;
}

/* Media Query für mobile Geräte */
@media (max-width: 768px) {
    .history {
        margin: 30vh auto 10px; /* Abstand von 30% vom oberen Rand + 10px Abstand zum nächsten Container */
        width: 80%; /* 80% der Breite des Bildschirms */
        word-wrap: break-word; /* Erlaubt Zeilenumbrüche innerhalb des Containers */
    }

    .info {
        width: 80%; /* 80% der Breite des Bildschirms */
        margin: 0 auto; /* Zentriert die Container horizontal */
    }

    .services {
        width: 80%; /* 80% der Breite des Bildschirms */
        margin: 0 auto 30%; /* Abstand von 30% zum Footer */
    }

    .history p {
        white-space: normal; /* Erlaubt Zeilenumbrüche */
    }
}
