* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 100%;
    font-family: sans-serif;
}

div, section, span, ul, li, a, header {
    box-sizing: border-box;
}

/* CSS Reset */

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    align-items: center;
    position: fixed;
    z-index: 999;
    background-color: #31304d;
}

#menu li {
    list-style: none;
    display: inline-block;
    margin: 20px;
}

#menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 28px;
}

section {
    width: 100%;
    float: left;
    height: 100vh;
    position: relative;
}

#home {
    background-color: #f4f4f4;
    display: flex; /* Füge diese Regel hinzu oder passe sie an */
}

#kontakt {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #fff;
}

hl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #31304d;
}

h2 {
    color: #31304d;
}

.contact-info,
.contact-form {
    width: 45%;
    text-align: left; /* Links ausrichten */
    color: #31304d;
}

.contact-info h2,
.contact-form h2 {
    margin-bottom: 15px;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

button {
    background-color: #4caf50;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.centered-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.impressum {
    width: 100%;
    text-align: left; /* Links ausrichten */
    padding: 50px;
    color: #31304d;
}

.impressum h2 {
    margin-bottom: 15px;
}
footer {
    background-color: #31304d;
    color: #f4f4f4;
    padding: 20px 0;
    text-align: center;
}

.dschutz {
    width: 100%;
    text-align: left; /* Links ausrichten */
    padding: 50px;
    color: #31304d;
}

.dschutz h2 {
    margin-bottom: 15px;
}

@media only screen and (max-width: 600px) {
    header {
        padding: 10px 20px;
    }

    #menu li {
        margin: 10px;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    input,
    textarea {
        width: 100%;
        margin-bottom: 10px;
    }

    .centered-content img {
        max-width: 100%;
        height: auto;
    }
}
