/* Grundlegende Reset-Regeln */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    color: #5f6062;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Container für Inhalte */
.flex-container {
    width: 100%;
    max-width: 1000px; /* Optional: Maximalbreite des Containers */
    padding: 150px 50px 0; /* Abstand von oben und seitliche Polsterung */
    text-align: center;
}

/* Bild und Text-Stile */
img {
    max-width: 100%;
    height: auto;
    margin-bottom: 120px; /* Abstand unter dem Bild */
}

p {
    margin-bottom: 2rem; /* Abstand unter dem Absatz */
    font-size: 1.32rem;
    font-weight:100;
}

h1 {
    font-size: 3rem;
    padding-bottom: 3.5rem; /* Abstand unter der Überschrift */
}

/* Text Bereich*/
.flex-textcontainer {
    margin-top: 5rem;
    h2{
        font-size: 2rem;
        padding-bottom: 1rem;
    }
    h3{
        padding: 2rem 2rem 1rem 2rem;
    }
    p{
        font-size: 1.32rem;
    }
}


/* Kontakt Style */

.kontakt {
    h2 {
    font-size: 1.5rem;
    padding:1rem;   
    }
    p{
        font-size: 1.0rem;
    }
}

.Anschrift {
    font-size: 1.2rem;
    padding:0rem;
    margin-top:1rem;


}


/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem; /* Kleinere Schriftgröße für Smartphones und Tablets */
    }
    h2{font-size: 1.2rem;
    pading:0rem}

    p {
        font-size: 1rem; /* Kleinere Schriftgröße für Smartphones und Tablets */
    }
    .flex-textcontainer {
        margin-top: 4rem;
        h2{
            font-size: 1.2rem;
        }
        h3{
            padding: 2rem 2rem 1rem 2rem;
        }
        p{
            font-size: 1rem;
            font-weight: 100;
        }
    }
}
