body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    background-color: #3a2319;
    color: white;
}

.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

.sidebar {
    width: 40%;
    padding: 3.5%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #3a2319;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

h1 {
    font-weight: bold;
    font-size: 1.8em;
    margin: 0;
}

h2 {
    font-weight: bold;
	font-size: 1.3em;
    margin: 0;
}

p {
    line-height: 1.6;
    margin: 0;
}

.leistungen {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
}

.leistungen li {
    font-weight: bold;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.leistungen li span {
    width: 30px;
    display: inline-block;
}

.kontakt a.mail-link {
    color: white;
    text-decoration: none;
}

.kontakt a.mail-link:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 3.5%;
    font-size: 0.9em;
    width: 100%;
}

.footer-links a {
    color: white;
    text-decoration: none;
    white-space: nowrap;
}

.footer-links a:hover {
    text-decoration: underline;
}

.main-content {
    width: 60%;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
}

.main-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: 0% center;
}
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        padding: 3.5%;
    }

    .main-content {
        position: relative;
        width: 100%;
        height: auto;
    }

    .main-content img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: 20% center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 3.5%;
    }

    .footer-links a {
        font-size: 1em;
    }

    .leistungen li {
        font-size: 1.1em;
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.3em;
    }

    p {
        font-size: 1em;
    }
}


h2 {
    margin-top: 3.5vh; /* Abstand zwischen Einleitungstext und Leistungen */
}

@media (max-width: 900px) {
    .container {
        flex-direction: column; /* Bild oben, Text unten */
    }

    .main-content {
        order: -1; /* Bild nach oben verschieben */
        position: relative;
        width: 100%;
        height: auto;
    }

    .main-content img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: 20% center;
    }
}


h1 {
    font-size: 2.2em; /* größere Überschrift */
    margin-bottom: 2vh; /* mehr Abstand unter der Überschrift */
}


a {
    color: white; /* Links immer weiß */
}

a:hover {
    color: #ccc; /* Hellgrau beim Hover für besseren Kontrast */
}
