/* This file contains all CSS styling that is uniform across all non-blog pages (all normal wordpress pages). */

.tg-page-style:not(.tg-style-no-ci) h1:not(.tg-style-no-ci),
h1.tg-page-style:not(.tg-style-no-ci) {
    font-family: "Badhouse-lokal", Arial, Helvetica, sans-serif !important;
}

.tg-page-style:not(.tg-style-no-ci) h2:not(.tg-style-no-ci),
h2.tg-page-style:not(.tg-style-no-ci) {
    font-family: "Badhouse-lokal", Arial, Helvetica, sans-serif !important;
}

.tg-page-style:not(.tg-style-no-ci) h3:not(.tg-style-no-ci),
h3.tg-page-style:not(.tg-style-no-ci) {
    font-family: "Badhouse-lokal", Arial, Helvetica, sans-serif !important;
}

.tg-page-style:not(.tg-style-no-ci) h4:not(.tg-style-no-ci),
h4.tg-page-style:not(.tg-style-no-ci) {
    font-family: "Lato-lokal", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

.tg-page-style:not(.tg-style-no-ci) h5:not(.tg-style-no-ci),
h5.tg-page-style:not(.tg-style-no-ci) {
    font-family: "Lato-lokal", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

.tg-page-style:not(.tg-style-no-ci) h6:not(.tg-style-no-ci),
h6.tg-page-style:not(.tg-style-no-ci) {
    font-family: "Lato-lokal", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

.tg-page-style:not(.tg-style-no-ci) .title-subtitle:not(.tg-style-no-ci),
.tg-page-style.title-subtitle:not(.tg-style-no-ci) {
    font-family: "Lato-lokal", Arial, Helvetica, sans-serif !important;
}


@media (min-width: 768px) {
    /*css for tablet and desktop */

    .tg-page-style:not(.tg-style-no-ci) h1:not(.tg-style-no-ci),
    h1.tg-page-style:not(.tg-style-no-ci) {
        font-size: 65px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h2:not(.tg-style-no-ci),
    h2.tg-page-style:not(.tg-style-no-ci) {
        font-size: 36px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h3:not(.tg-style-no-ci),
    h3.tg-page-style:not(.tg-style-no-ci) {
        font-size: 26px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h4:not(.tg-style-no-ci),
    h4.tg-page-style:not(.tg-style-no-ci) {
        font-size: 20px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h5:not(.tg-style-no-ci),
    h5.tg-page-style:not(.tg-style-no-ci) {
        font-size: 18px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h6:not(.tg-style-no-ci),
    h6.tg-page-style:not(.tg-style-no-ci) {
        font-size: 16px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) .title-subtitle:not(.tg-style-no-ci),
    .tg-page-style.title-subtitle:not(.tg-style-no-ci) {
        font-size: 17px !important;
    }
}


@media (max-width: 767px) {
    /*css for mobile */

    .tg-page-style:not(.tg-style-no-ci) h1:not(.tg-style-no-ci),
    h1.tg-page-style:not(.tg-style-no-ci) {
        font-size: 36px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h2:not(.tg-style-no-ci),
    h2.tg-page-style:not(.tg-style-no-ci) {
        font-size: 28px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h3:not(.tg-style-no-ci),
    h3.tg-page-style:not(.tg-style-no-ci) {
        font-size: 22px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h4:not(.tg-style-no-ci),
    h4.tg-page-style:not(.tg-style-no-ci) {
        font-size: 18px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h5:not(.tg-style-no-ci),
    h5.tg-page-style:not(.tg-style-no-ci) {
        font-size: 17px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) h6:not(.tg-style-no-ci),
    h6.tg-page-style:not(.tg-style-no-ci) {
        font-size: 16px !important;
    }

    .tg-page-style:not(.tg-style-no-ci) .title-subtitle:not(.tg-style-no-ci),
    .tg-page-style.title-subtitle:not(.tg-style-no-ci) {
        font-size: 15px !important;
    }
}



/* CSS for hero sections of landing pages  */

.tegards-hero-row {
    position: relative;
}

.tegards-hero-title {
    font-size: clamp(34px, 4.6vw, 65px) !important;
    line-height: 1.2;
    color: #fff !important;
    margin-bottom: 0 !important;
    word-wrap: break-word;
}

.tegards-hero-title span, 
.tegards-hero-title .tegards-highlight {
    font-size: inherit !important;
    font-family: inherit !important;
    line-height: inherit !important;
    color: #83b734 !important;
}

.tegards-hero-content {
    text-align: right; 
    background-color: rgba(0, 0, 0, 0.6) !important;
}

/* paddding is dependent on how many bulltet points are placed within the hero content (see Markus' hero content examples) */

.tegards-hero-content-padding-top-bottom-100 {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

.tegards-hero-content-padding-top-bottom-150 {
    padding-top: 150px !important;
    padding-bottom: 150px !important;
}

.tegards-hero-content .woodmart-button-wrapper {
    text-align: right;
}

.tegards-hero-title-wrapper {
    margin-bottom: 20px !important;
}

.tegards-hero-btn {
    min-height: unset;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
}

@media only screen and (max-width: 767px) {
    
    .tegards-hero-row {
        display: flex !important;
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .tegards-hero-spacer {
        display: none !important;
    }

    .tegards-hero-content {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important; 
        text-align: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
    }

    .tegards-hero-title {
        font-size: clamp(22px, 10vw, 40px) !important;
        
        /* Sollte das Wort auf winzigen Geräten (iPhone 5/SE) trotzdem zu lang sein,
           erzwingen wir hier einen Umbruch, damit der graue Kasten nicht platzt */
        overflow-wrap: break-word;
        hyphens: auto; 
    }

    .tegards-hero-content .woodmart-button-wrapper {
        text-align: center;
        margin-top: 15px !important;
    }
    
    .tegards-hero-content .tegards-hero-btn {
        width: 100%;
    }

    .tegards-hero-title-wrapper {
        margin-bottom: 5px !important;
    }

    .tegards-hero-btn {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    .tegards-hero-title > br {
        display: none;
    }
}
