body {
    --color-primary: #142A46;
    --color-secondary: #0070D0;
    --color-accent: #DAA520;
    --color-text: #404040;
    --border-radius: 16px;
}

* {
    font-family: 'Poppins';
}

body, html {
    margin: 0;
    padding: 0;
}


a {
    text-decoration: none;
    color: var(--color-text);
}

p {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text);
}

.subHeadline {
    font-size: 24px;
    font-weight: 600;
}

a:hover {
    color: var(--color-secondary);
}


h2 {
    font-size: 36px;
    font-weight: 600;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

header {
    padding-top: 1em;
    padding-bottom: 1em;
    border-bottom: 1px solid var(--color-secondary);

    .wp-block-group__inner-container {
        width: 100%;
    }
}

.wp-block-template-part > .wp-block-group {
    width: 1350px;
    margin: 0 auto;
    display: flex;
}

.wp-block-navigation-item__content {
    font-size: 18px;
    font-weight: 600;

    margin-inline-end: 12px;
    margin-inline-start: 12px;
}

.wp-block-navigation-item a {
    border-bottom: 2px solid transparent;
}

.wp-block-navigation-item a:hover, .current-menu-item a  {
    color: var(--color-secondary) !important;
    border-bottom: 2px solid var(--color-secondary);
}

.wp-block-site-title {
    background-image: url('../img/logo.webp');
    color: transparent;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    height: 100px;
    width: 40%;
}

.wp-block-site-title :where(a) {
    display: inline-block;
    height: 100%;
}

.wp-block-site-title a:hover {
    color: transparent;
}

.siteheader {
    padding-top: 5em;
    padding-bottom: 14em;
    text-align: center;
    color: white;
    background-color: var(--color-secondary);
    h1 {
        font-size: 46px;
        font-weight: 600;
        line-height: 1.3em;
    }
}


.wp-block-post-excerpt, .headerText {
    margin-top: -12em !important;
    margin-bottom: 4em !important;
}

.wp-block-post-excerpt p, .headerText p{
    color: white;
    width: 50%;
    margin: 0 auto;
    text-align: center;
}

.siteText {
    align-content: center;
}

.wp-block-post-content {
    width: 1350px;
    margin: 0 auto;
}

.wp-block-columns {
    padding-top: 50px;
    padding-bottom: 50px;
}

.header-image img, .image-round img, .img-round {
    border-radius: var(--border-radius);
}

.preFooter {
    background-color: var(--color-accent);
    border-radius: 16px;
    margin: 0 auto;
    width: 1350px;
    color: white;
}

.preFooter .container {
    padding: 64px 0;
    display: flex;
}

.preFooter .container div {
    width: 50%;
    padding: 0 4rem;
    box-sizing: border-box;

    p {
        color: white;
    }
}

.footer_logo {
    width: 100%;
    height: 100px;
    object-fit: contain;
    background-image: url('../img/logo.webp');
    background-repeat: no-repeat;
}

.footer {
    border-top: 1px solid var(--color-secondary);
    margin-top: 5rem;
    padding: 4rem 0;

    h2 {
        margin-top: 0;
        font-size: 26px;
        font-weight: 600;
    }

    ul li {
         margin-bottom: 10px;

        span {
            vertical-align: top;
        }

        span.icon {
            display: inline-block;
            width: 20px;
            height: 24px;
            background-image: url('../img/icon_phone.svg');
            background-repeat: no-repeat;
            background-position: left top;
            background-size: 18px;
            margin-right: 15px;
        }

        span.mail {
            background-image: url('../img/icon_mail.svg');
        }

        span.home {
            background-image: url('../img/icon_home.svg');
        }

        span.whatsapp {
            background-image: url('../img/icon_whatsapp.svg');
        }
    }
}

.footer .container {
    width: 1350px;
    margin: 0 auto;
    padding: 32px 0;

    display: flex;
    justify-content: space-between;
}

.footer .container div {
    width: 30%;
}

.legal {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 0;

    .container div:last-child {
        text-align: right;
    }

    a {
        color: white;
    }
}

a.button {
    border-radius: 32px;
    padding: 8px 20px;
    background-color: white;
    color: var(--color-accent);
}

a.button.yellow {
    color: white;
    background-color: var(--color-accent);
}

.container {
    width: 1350px;
    margin: 0 auto;
    display: flex;
}

.container div {
    width: 50%;
}

.container.grid-3 div {
    width: 33%;
}

.container div img {
    width: 100%;
    border-radius: var(--border-radius);
}

.frontheader h1 {
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 8px;
}

.frontheader h2 {
    margin-top: 0;
}


.frontheader ul {
    margin-bottom: 2rem;

    li {
        background-image: url('../img/check.svg');
        background-repeat: no-repeat;
        background-position: left center;
        background-size: 25px;
        padding-left: 40px;
        margin-bottom: 10px;
        font-size: 20px;

    }
}

.info {
    margin-top: 3rem;
    margin-bottom: 3rem;
    background-color: rgb(247, 247, 247);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.info .container div {
    text-align: center;
    padding: 1rem;
}

.info .container div h2 {
    font-size: 26px;
}

.info .container div img {
    width: 50px;
}

.alignright {
    text-align: right;
}

.angebot {
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;

    h1 {
        font-size: 42px;
        font-weight: 600;
    }

    ul {
        span.listIcon {
            display: inline-block;
            width: 20px;
            height: 24px;
            background-image: url('../img/check.svg');
            background-repeat: no-repeat;
            background-position: left bottom;
            background-size: 20px;
            margin-right: 15px;
        }

        span.listTxt {
            font-size: 18px;
            display: inline-block;
            vertical-align: top;
        }
    }
}

.container {
    .card {
        background-size: 100%;
        background-repeat: no-repeat;
        width: 33%;
        border: 1px solid var(--color-text);
        border-radius: var(--border-radius);
        margin: 0 1rem;
        margin-top: 2rem;


        .info {
            width: 90%;
            margin: 0;
            padding: 1rem;
            background-color: transparent;
            text-align: left;
            margin-top: 300px;

            h1 {
                font-size: 24px;
                font-weight: 600;
            }

            p {
                font-size: 18px;
            }

            ul {
                margin-bottom: 2rem;

                li {
                    background-image: url('../img/check.svg');
                    background-repeat: no-repeat;
                    background-position: left center;
                    background-size: 20px;
                    padding-left: 40px;
                    margin-bottom: 10px;
                    font-size: 18px;
                }
            }
        }

        .footer {
            margin-top: 0;
            padding-top: 2rem;
            padding-bottom: 2rem;
            width: 100%;
            text-align: center;
        }
    }

    .card.lerntraining {
        background-image: url('../img/header_lerntraining.webp');
    }

    .card.legasthenie {
        background-image: url('../img/header_legasthenie.webp');
    }

    .card.dyskalkulie {
        background-image: url('../img/header_dyskalkulie.jpg');
    }
}

section.faq {
    background-color: var(--color-secondary);
    padding: 3rem 0;

    .container {
        flex-direction: column;

        color: white;

        h1 {
            text-align: center;
            font-size: 42px;
            font-weight: 600;
            margin-bottom: 3rem;
        }
    }
}

details {
    border: 1px solid #FFFFFF66;
}

details { padding: 1rem; color: white; }
details p { color: white; font-size: 18px;}
summary::-webkit-details-marker { display: none; }
summary { list-style: none; font-size: 18px;}


.babsi {
    padding: 3rem 0;

    h1 {
        font-size: 42px;
        font-weight: 600;
    }
    article {
        box-shadow: 0px 10px 20px 0px rgba(63.75, 63.75, 63.75, 0.07);
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
        padding: 1rem 2rem;

        span.icon {
            background-image: url('../img/check.svg');
            height: 50px;
            width: 50px;
            display: inline-block;
        }

        span.text {
            vertical-align: top;
            margin-left: 1rem;
            display: inline-block;
            padding-top: 5px;
        }

        h2 {
            font-size: 24px;
            font-weight: 600;
        }
    }
}

.pL10 {
    padding-left: 25px;
}
.pR10 {
    padding-right: 25px;
}

form {

    border-radius: 20px;
    background-color: white;
    width: 800px;
    margin: 0 auto;
    border: 1px solid #E6E4E1;
    padding: 2rem;
    margin-bottom: 3rem;

    .row {
        display: flex;
        flex-direction: row;
        margin-bottom: 1rem;

        .col {
            width: 50%;

            input, textarea, select {
                width: 100%;
                padding: .75rem;
                border-radius: 5px;
                margin-top: 5px;
                border: 1px solid #69727d;
                box-sizing: border-box;
            }

            input[type="submit"] {
                background-color: var(--color-accent);
                color: white;
                width: 100%;
                border-color: var(--color-accent);
            }

            p {
                margin: 0;
            }
        }

        .col:first-child p {
            padding-right: 1rem;
        }

        .col.col-full {
            width: 100%;
        }

        .col.col-full p {
            padding-right: 0;
        }
    }
}

span.red {
    color: red;
}

section.kontakt {

    .kontaktText {
        text-align: center;
        flex-direction: column;
    }
    div.container div {
        display: flex;
        border-radius: var(--border-radius);
        border: 1px solid #E6E4E1;
        box-shadow: 0px 10px 20px 0px rgba(67, 67, 67, 0.08);
        padding: 2rem;
        margin: 4rem 1rem;

        span.iconBig {
            height: 60px;
            width: 60px;
            display: inline-block;
            background-repeat: no-repeat;
            background-position: center center;
            margin-right: 2rem;
        }

        h2 {
            font-size: 26px;
            font-weight: 600;
            margin: 0;
            line-height: 1;
        }
        p {
            margin: 0;
            padding-top: 5px;
        }
    }

    div.container div:first-child {
        margin-left: 0;
    }
    div.container div:last-child {
        margin-right: 0;
    }
}

.about {
    .container {
        border-radius: var(--border-radius);
        background-color: white;
        margin-top: -80px;
        margin-top: -160px;
        padding: 2rem;
    }

    .container div {
        width: 66%;
        padding: 1rem;
        box-sizing: border-box;
    }

    .container div:first-child {
        width: 33%;
    }

    div.list {
        width: 100%;
        padding: 0;
    }

    ul {
        box-shadow: 0px 10px 20px 0px rgba(67, 67, 67, 0.08);
        border-radius: var(--border-radius);
        border: 1px solid #E6E4E1;
        padding: 1rem;
        margin-top: 2rem;

        li {
            background-image: url('../img/check.svg');
            background-repeat: no-repeat;
            background-position: left center;
            background-size: 20px;
            padding-left: 40px;
            margin-bottom: 10px;
            font-size: 16px;
        }
    }
}

.img2-3 {
    max-width: 66%;
}

span.phone { background-image: url('../img/icon_phone.svg'); }
span.mail { background-image: url('../img/icon_mail.svg'); }
span.home { background-image: url('../img/icon_home.svg'); }
span.whatsapp { background-image: url('../img/icon_whatsapp.svg'); }