@import url('styles.css');

/* ===============================
   Grundlayout
================================ */
.content {
    padding-top: 100px;
    background: #f9f6f0;
}

/* ===============================
   AGB Container
   Stil identisch zu Datenschutz
================================ */
#agb {
    background-color: #EEF2F7; /* gleiche Hintergrundfarbe wie Datenschutz */
    padding: 80px 20px;
}

#agb .ueber-mich-container {
    max-width: 900px;
    margin: 0 auto;
}

#agb .ueber-mich-text {
    color: #3A3A3A; /* Textfarbe wie Datenschutz */
    font-family: "Open Sans", sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Hauptüberschrift */
#agb h1 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    color: #3A6EA5;
    margin-bottom: 30px;
    white-space: normal; /* behalten, sorgt für normalen Umbruch */
    word-break: normal;  /* <- überschreibt das alte break-word */
}

/* Abschnittsüberschriften */
#agb h2.custom-h2 {
    font-size: 1.6rem;
    color: #3A6EA5;
    margin-top: 60px;   /* Abstand zum vorherigen Abschnitt */
    margin-bottom: 20px; /* Abstand zum folgenden Text */
}

/* Absätze */
#agb p {
    margin-bottom: 25px;
}

/* Listen */
#agb ul {
    padding-left: 20px;
    margin-bottom: 25px; /* Abstand nach der Liste */
}

#agb li {
    margin-bottom: 8px;
}

/* ===============================
   Responsive Anpassungen
================================ */
@media (max-width:768px){
    #agb h1 {
        font-size: 2.3rem;
        line-height: 1.25;
        word-break: normal; /* sicherstellen, dass kein Bruch mitten im Wort passiert */
    }

    #agb h2.custom-h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 360px) {
    #agb h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
}
