/***********************************************************************************************************************
* Variablen
***********************************************************************************************************************/

:root {
    --hz-green: #69bfab;
    --hz-green-hover-dark: #1a9578;
    --hz-gray-border: #d6d6d6;

}

/***********************************************************************************************************************
* Basic
***********************************************************************************************************************/
html {
    font-family: Source Sans Pro,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;
}
img {
    max-width: 100%;
}

/***********************************************************************************************************************
* Layout
***********************************************************************************************************************/
/*****************************************************************
* Every Layout
*****************************************************************/
main, nav {
    box-sizing: content-box;
    margin-inline: auto;
    max-inline-size: 1140px;
    padding-inline: 10px;
}
main {
    padding-top: 90px;
}
/***********************************************************************************************************************
* Text
***********************************************************************************************************************/
h1 {
    font-size: 24px;
    margin-bottom: 13px;
    margin-top: 20px;
}
h2 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 12px;
    margin-bottom: 5px;
}

.tags {
    color: #d6d6d6;
    font-size: 12px;
    text-transform: uppercase;
    padding-top: 15px;
}
.tags a {
    color: #d6d6d6 !important;
}
.intro {
    font-size: 18px !important;
    margin-block: 50px;
    font-weight: 700;
}
.content p {
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 30px;
}
.img-sub {
    font-size: 14px;
    color: #4c4c4c;

}

.content a {
    color: var(--hz-green) !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}
.content .card a {
    color: #294d44;
}

.text-dark {
    color: #343a40!important;
}
.float-right {
    float: right;
}
.legal-text {
    font-style: italic;
}

.side-teaser h2 {
    font-size: 16px;
}
.side-teaser p {
    font-size: 14px;
}

/***********************************************************************************************************************
* Seitenbereiche
***********************************************************************************************************************/
/*****************************************************************
* Header, Nav
*****************************************************************/
header {
    border-bottom: 3px solid #69bfab;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 999999;
}
nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 90px;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 34px;
    align-items: center;
    justify-content: flex-start;
    padding-inline-start: 0;
}
nav ul a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: 500;
}
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-container svg {
    width: 283px;
    height: 50px;
}

.brand-container {
    display: flex;
    justify-content: right;
    align-items: center;
}
.brand-container > svg {
    width: 156px;
    height: 11px;
}
.brand-container > svg path {
    fill: #696969!important;
}


@media only screen and (max-width: 905px) {
    nav {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 20px 1fr;
        padding-inline: 0;
    }
    nav ul {
        grid-row-start: 2;
        padding-left: 20px;
    }
    .logo-container {
        grid-row-start: 2;
        justify-content: right;
        padding-right: 20px;
    }
    .logo-container svg {
        width: 111px;
        height: 36px;
    }
    .brand-container {
        grid-row-start: 1;
        grid-column-start: 1;
        grid-column-end: span 2;
        justify-content: center;
        background-color: #d6d6d6;
    }
    .brand-container > svg path {
        fill: white!important;
    }
}
@media only screen and (max-width: 550px) {
    nav {
        display: grid;
        grid-template-rows: 20px 1fr;
        padding-inline: 0;
    }
    nav ul {
        display:none;
    }
    .logo-container {
        grid-row-start: 2;
    }
    .logo-container svg {
        width: 111px;
        height: 36px;
    }
    .brand-container {
        grid-row-start: 1;
        justify-content: center;
        background-color: #d6d6d6;
    }
    .brand-container > svg path {
        fill: white!important;
    }
}

/*****************************************************************
* Grid - Teaser
*****************************************************************/
.overview {
    display: grid;
    grid-gap: 15px;
    margin-top: 40px;
}
@supports (width: min(250px, 100%)) {
    .overview {
        grid-template-columns: repeat(auto-fit, minmax(min(450px, 100%), 1fr));
    }
}

.overview a {
    text-decoration: none;
    color: black;
    padding-bottom: 20px;
}


/*****************************************************************
* Artikel (mit Sidebar)
*****************************************************************/
.article-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.article-container > :last-child {
    flex-basis: 30%;
    flex-grow: 1;
}
.article-container > :first-child {
    flex-basis: 0;
    flex-grow: 999;
    min-inline-size: 69%;
}
.article-container aside a {
    display: block;
    text-decoration: none;
    color: black;
    margin-bottom: 40px;

}

@media only screen and (min-width: 1019px) {
    .article-container aside {
        padding-top: 103px;
    }
}

/*****************************************************************
* Footer
*****************************************************************/

footer ul {
    list-style: none;
    display: flex;
    gap: 34px;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 10px;
    border-top: 1px solid #d6d6d6;
    margin: 0;
}
footer ul a {
    text-decoration: none;
    color: #3b3b3b;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}
.disclaimer {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-block: 1px solid #d6d6d6;
}
.footer-logo {
    max-width: 105px;
}

@media only screen and (max-width: 550px) {
    footer ul {
        flex-wrap: wrap;
        gap: 15px;
        height: auto;
    }
    footer ul a {
        font-size: 12px;
    }
}


/***********************************************************************************************************************
* Embeds
***********************************************************************************************************************/
.embed-responsive {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}
.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
}

/***********************************************************************************************************************
* Cards
***********************************************************************************************************************/
.card {
    position: relative;
    padding: 10px;
    background-color: #b1c9c4;
    margin-bottom: 20px;
}
.card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    background-color: rgba(240, 240, 240, .9);
}

/*****************************************************************
* Übersicht > Brandstory-Teaser
*****************************************************************/

.overview a[href="/zunehmende-vergesslichkeit-im-alter"]:before {
    content: "Anzeige";
    position: absolute;
    background-color: rgba(255,255,255,0.5);
    padding: 5px;
}


/***********************************************************************************************************************
* Ads
***********************************************************************************************************************/
.mr1-container {
    padding-block: 20px;
}
#superbanner-container {
    margin: 7px 0;
}

#menu1,
#menu2 {
    display: none;
}

/* Show ad placements only when enough space is available */
@media (min-width: 1580px) {
    #menu1,
    #menu2 {
        display: inline-block;
        width: 300px;
        height: 90px;
        position: absolute;
        top: 0px;
    }
    #menu1 {
        left:50px;
    }
    #menu2 {
        left: 1600px;
    }
    #menu1 img,
    #menu2 img {
        max-width: none;
    }
}
