:root {
    --primary-text: black;
    --primary-color: teal;
    --white: #ffffff;
    --primary-font: Overlock, Helvetica, Arial, sans-serif;
    --secondary-font: Verdana, Helvetica, Arial, sans-serif;

    --padding-l: 24px;
    --padding-m: 4px;
    --padding-s: 8px;
}


body {
    color: black;
    font-size: large;
    font-family: verdana;
    background-color: var(--white);
    text-decoration: none;
    background-image: url('../images/eheberatung-graz.webp');
    margin: 0px;
}


p {
    font-size: large;
    line-height: 1.3;
}

td {
    font-size: large;
}

.background {
    height: 250px;
    background-position: bottom right;
}

.me {
    background-image: url('../images/beziehungscoach-graz.webp');
}

/* Startseite: dunkle Holzwand technisch aufhellen (weisser Halbton-Overlay).
   Wert 0.30 = ca. 30% Aufhellung – bei Bedarf zwischen 0.20 und 0.45 anpassen. */
.home {
    background-image:
        linear-gradient(rgba(255, 252, 248, 0.30), rgba(255, 252, 248, 0.30)),
        url('../images/beziehungscoach-graz.webp');
}

.snails {
    background-image: url('../images/schnecken.webp');
}

.stones {
    background-image: url('../images/steinherzen.webp');
}

.faces {
    background-image: url('../images/gesichter-aus-kreide.webp');
}


.header {
    margin: 0px 24px 24px 30px;
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
    height: 100%;
}

h1 {
    font-size: 50px;
    font-family: var(--primary-font);
    font-weight: normal;
    color: var(--white);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
    overflow-wrap: break-word;
    hyphens: auto;
}

h2 {
    font-size: xx-large;
    font-family: var(--primary-font);
    font-weight: normal;
    color: var(--white);
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    margin-bottom: 16px;
}

h3 {
    font-size: xx-large;
    font-family: var(--secondary-font);
    font-weight: normal;
    margin-top: 0;
    margin-bottom: 16px;
}

h4 {
    font-size: x-large;
    font-family: var(--secondary-font);
    font-weight: normal;
    margin-top: 16;
    margin-bottom: 16px;
}

ul {
    padding-left: 24px;
    padding-bottom: 16px;
    list-style-type: disc;
    list-style-position: outside;
}

ul p {
    margin: 0;
    display: list-item;
}

td {
    padding: 8px
}

.bold {
    font-weight: bold;
}

.card {
    background-color: white;
    max-width: 997px;
    margin-left: auto;
    margin-right: auto;
}

hr {
    height: 1px;
    border-width: 0;
    color: var(--primary-text);
    background-color: var(--primary-text);
    margin-left: 24px;
    margin-right: 24px;
}

.nav a {
    font-size: x-large;
}

a:link {
    color: teal;
    text-decoration: none;
}

a:visited {
    color: teal;
    text-decoration: none;
}

a:hover {
    color: #800000;
}

.selected {
    text-decoration: underline!important;
}


.nav {
    padding: 24px 32px 40px 32px;
    justify-content: space-between;
    display: flex;
}

.article {
    margin: 0px auto 40px auto;
    width: 800px;
    text-align: left;
}

.quote {
    margin: 40px auto 80px auto;
    width: 900px;
    padding-left: var(--padding-m);
    padding-right: var(--padding-m);
    text-align: center;
}

.thoughts {
    margin: 40px auto 80px auto;
    width: 900px;
    padding-left: var(--padding-m);
    padding-right: var(--padding-m);
    text-align: center;
}

.cartoon {
    width: 100%;
    padding-top: var(--padding-l);
}

.contact {
    justify-content: left;
    display: flex;
    margin: 24px;
}

.contact-details {
    padding-left: 40px;
    width: 50%;
}

.contact-details a {
    text-decoration: underline;
}

.impressum {
    padding: 16px 24px 24px 24px;
    font-size: medium;
    text-align: center;
    width: 100% - 2*var(--padding-m);
    display: flex;
    justify-content: center;
}


.map {
    width: 100%;
    height: 450px;
}

.legal-links {
    text-align: center;
    padding: 0 24px 24px 24px;
    font-size: medium;
}

.legal-links a {
    text-decoration: underline;
}

.cta {
    margin: 32px 0 8px 0;
    padding: 16px 24px;
    background-color: #f0f0f0;
    text-align: center;
}

.cta a {
    text-decoration: underline;
    font-weight: bold;
}

.faq {
    margin-top: 8px;
}

.faq p.frage {
    font-weight: bold;
    margin-bottom: 4px;
}

.related ul {
    list-style-type: disc;
}

.related a {
    text-decoration: underline;
}

.article h2 {
    font-size: x-large;
    font-family: var(--secondary-font);
    font-weight: bold;
    color: var(--primary-text);
    text-shadow: none;
    margin-top: 28px;
    margin-bottom: 8px;
}

table {
    max-width: 100%;
}

.impressum a,
.legal-links a,
.article a {
    overflow-wrap: break-word;
}


@media only screen and (max-width: 970px) {

    body {
        background-color: var(--white);
        background-image: none;
    }

    .header {
        margin-left: var(--padding-l);
    }



    h1 {
        font-size: 34px;
        margin-bottom: 8px;
    }

    h2 {
        font-size: x-large;
        margin-bottom: 8px;
    }

    h3 {
        font-size: x-large;
    }

    h4 {
        font-size: larger;
    }


    .nav {
        display: flex;
        flex-wrap: wrap;
        padding: var(--padding-m);
        background-color: #f0f0f0;
    }

    .nav a {
        box-sizing: border-box;
        width: 33%;
        padding: var(--padding-m) var(--padding-s);
        font-size: larger;
    }

    .article {
        width: auto;
        padding-top: var(--padding-m);
        padding-left: var(--padding-l);
        padding-right: var(--padding-l);
    }


    .quote {
        width: auto;
        padding-left: var(--padding-l);
        padding-right: var(--padding-l);
    }

    .thoughts {
        width: auto;
        padding-left: var(--padding-l);
        padding-right: var(--padding-l);
        text-align: left;
    }

    .contact {
        display: flex;
        flex-direction: column-reverse;
    }

    .contact-details {
        padding-left: 0px;
        padding-bottom: 24px;
        width: 100%;
    }

    .impressum {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }


}

@media only screen and (max-width: 550px) {

    .background {
        background-position: bottom right -120px;
        padding-bottom: 8px;
    }

    .faces {
        background-position: bottom right -70px;
    }


    .nav a {
        width: 50%;
    }

    h1 {
        margin-bottom: 0px;
    }

    table {
        width: 100%;
    }

    td {
        padding: 4px;
        font-size: medium;
    }

}