/* VARIABLES */
:root {
    --primary: #f13c37;
    --secondary: #e6dbd6;
    --text: #000;
}

*, html, body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: var(--text);
}

body {
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

h1, h2 {
    color: var(--primary);
}

h1 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h2, h2 > * {
    font-size: 1.75rem;
    line-height: 2rem;
}

h3, .h3 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: .5rem;
}
h4 {
    margin-bottom: 0;
}
h3, h4, h5, h6 {
    color: #000;
}

p {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    max-width: 950px;
    margin: 0 auto;
}

/* HEADER */
header {
    margin-bottom: 4rem;
}
.banner-wrapper {
    position: relative
}
.logo-tierecke img {
    position: absolute;
    bottom: -2rem;
    max-width: 250px;
    width: 100%;
    right: 1rem;
}
.banner-wrapper .headline {
    position: absolute;
    left: 4rem;
    bottom: 4rem;
}
.banner-wrapper .headline h1 {
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    font-size: 5rem;
    line-height: 5.5rem;
    text-align: center;
}

/* FEATURED */
.featured {
    clear: both;
    margin: 2rem 0 4rem;
    padding: 0 1rem;
}
.featured-content {
    display: flex;
}
.featured-text {
    flex: 1;
    padding: 0 2rem;
    position: relative;
}
.featured-decoration {
    position: absolute;
    right: 2rem;
    bottom: 0;
    width: 70px;
    transform: rotate(15deg);
}
.featured-text h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* CONTENT */
.content {
    padding: 0 1rem;
}
main {
    width: 100%;
}
main > div,  main > nav {
    float: left;
}
main .main-content {
    max-width: 595px;
    width: 100%;
    margin-bottom: 2.5rem;
}
main .main-content a {
    text-decoration: underline;
}
main .main-content > :not(.contact-info, .contact-location) a {
    color: var(--primary);
}
main .main-content a:hover {
    text-decoration: none;
}
img.paw {
    width: 70px;
    transform: rotate(15deg);
}
.after-content {
    clear: both;
}

/* SIDE CONTENT */
.side-content-wrapper {
    max-width: 290px;
    width: 100%;
    margin: 0 .5rem;
}
.side-content {
    background-color: var(--secondary);
    padding: 1rem;
    margin-bottom: 1rem;
}
.side-content-wrapper .side-content h3,
.side-content-wrapper .side-content h2.h3 {
    color: #000;
}
.side-content .image {
    text-align: center;
}
.side-content .image img {
    width: 100px;
}
.side-content.maggie {
    position: relative;
    text-align: center;
    margin-top: 8rem;
    padding-top: 6rem;
}
.side-content.maggie p {
    margin: 0;
}
.side-content.maggie img {
    max-width: 200px;
    width: 100%;
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
}
.after-content {
    padding: 5rem 1rem;
}
.side-content img {
    margin-bottom: .35rem;
}
.schmal {
    max-width: 600px;
    margin: 0 auto;
}

/* NAVIGATION */
.navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
}
.navigation ul li {
    margin-bottom: .5rem;
}
.navigation .nav-link {
    display: block;
    background-color: var(--primary);
    color: #fff;
    padding: .35rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5rem;
    text-decoration: none;
}

/* CARDS */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.card {
    width: 100%;
    max-width: 32%;
    margin-top: 3rem;
}
.card .h3 {
    margin: 0;
    background-color: var(--primary);
    color: #fff;
    padding: .35rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5rem;
}
.card img {
    max-width: 100%;
    margin-bottom: .5rem;
}
.card p, .about-us .side-content p {
    margin: 0;
    font-weight: normal;
    line-height: 22px;
}
.card p.copy, .side-content p.copy {
    color: #777272;
    font-size: .75rem;
    margin-bottom: 0;
}
.side-content p.copy {
    margin-top: -1rem;
}

/* IMPRESSUM */
.imprint h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
}
.imprint main .main-content a {
    color: #000;
}

/* FOOTER */
footer {
    clear: both;
    background-color: var(--secondary);
    padding: 3rem 1rem;
}
footer p {
    margin: 0;
}
footer a {
    color: var(--text);
}
.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.footer-logo img {
    max-width: 150px;
    width: 100%;
}
footer .contact {
    padding: 0 5rem;
}
footer .socials {
    text-align: center;
    margin-bottom: 1.5rem;
}
footer .socials a:not(:last-child) {
    margin-right: .75rem;
}
footer .socials img {
    width: 40px;
}

/* KONTAKT SEITE */
.contact-location,
.contact-info {
    margin-bottom: 2.5rem;
}
.contact-location .intro-line {
    color: var(--primary);
    font-weight: bold;
    margin: 0;
}

/* SPENDENGUETESIEGEL SEITE */
.title-img {
    display: flex;
    margin-bottom: 1rem;
}
.title-img img {
    width: 175px;
}

/* UEBER UNS SEITE */
.about-intro {
    font-weight: bold;
}
.about-us h1 {
    margin-bottom: 0;
}
.about-us h2 {
    color: #000;
    font-size: 1.5rem;
}
.about-us h3,
main.about-us .main-content a {
    color: var(--primary);
}
.about-us .featured {
    padding: 0;
    padding-top: 60px;
}

.kein-abstand {
    margin-bottom: 0;
}
.current-menu-item a.nav-link {
    text-decoration: underline;
}

/* MEDIA QUERIES */
@media screen and (min-width: 993px){
    .spacer {
        margin-bottom: 20rem !important;
    }
    .spacer-sm {
        margin-bottom: 10rem !important;
    }
    .spacer-xs {
        margin-bottom: 5rem !important;
    }
    main .main-content {
        padding-right: 1rem;
    }
}

@media screen and (min-width: 769px){
    .featured-break {
        display: none;
    }
    .side-content.maggie {
        display: none;
    }
}

@media screen and (max-width: 992px){
    main > div,  main > nav {
        float: none;
    }
    main .main-content {
        max-width: 100%;
    }
    .side-content-wrapper {
        margin: 0 auto;
    }
    .card {
        max-width: 100%;
    }
    footer .contact {
        padding: 0 2.5rem;
    }
}

@media screen and (max-width: 768px){
    .banner-wrapper .headline {
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
    .featured-text {
        text-align: center;
    }
    .featured-image {
        display: none;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    footer .contact {
        margin: 1rem 0;
        text-align: center;
        padding: 0;
    }
    footer .socials {
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 576px){
    .featured-text {
        padding: 0;
    }
    .featured-decoration {
        right: -.5rem;
        width: 45px;
    }
    .logo-tierecke img {
        max-width: 150px;
    }
    .title-img {
        display: block;
    }
} 

@media screen and (max-width: 545px){
    .banner-wrapper .headline h1 {
        font-size: 3rem;
        line-height: 3.5rem;
    }
} 

@media screen and (max-width: 345px){
    .signature {
        width: 200px;
    }
    .banner-wrapper .headline h1 {
        font-size: 2.5rem;
        line-height: 2.7rem;
    }
} 