/*
Theme Name: Treeforce Technik
Author: Treeforce Technik
Description: Modernes, helles WordPress-Block-Theme für Treeforce Technik.
Version: 1.0
Text Domain: treeforce-technik
*/


/*
 * ========================================
 * Grundlegende Styles
 * ========================================
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');


:root {
    --sc-color-primary-500: rgba(7, 20, 24);
    --headerpic-height: 70vh;
    --header-height: 100px;
    --background-color: #f5f7fA;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-size: 32px;
    line-height: 1.2;
}

h2 {
    font-size: 26px;
    line-height: 1.25;
}

h3 {
    font-size: 22px;
    line-height: 1.3;
}

h4 {
    font-size: 19px;
    line-height: 1.35;
}

h5 {
    font-size: 17px;
    line-height: 1.4;
}

h6 {
    font-size: 16px;
    line-height: 1.4;
}

main p,
main li, 
footer p,
footer li{
    font-size: 16px;
    line-height: 1.6;
}


body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding-top: 15px;
}

html,
body,
.wp-site-blocks {
    background-color: var(--background-color);
}
/*
 * ========================================
 * Schrift
 * ========================================
 */

h2 {
    letter-spacing: 0.1px;
}


/*
 * ========================================
 * Buttons
 * ========================================
 */

.wp-block-button__link {
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
}

.tf-contact-button {
    background-color: var(--sc-color-primary-500) !important;
    color: #fff;
    border: none;
}

.tf-contact-button:hover {
    background-color: var(--sc-color-primary-500)!important;
    color: #fff;
}


/*
 * ========================================
 * Seitenstruktur
 * ========================================
 */
 main{
    position: relative;
    max-width: 1200px;
    padding-left: 4vw!important;
    padding-right: 4vw!important;
    padding-bottom:4vw!important;
 }

/* Checkout-Inhalt begrenzen und zentrieren */
sc-columns.wp-block-surecart-columns {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #031011 !important;
}

 .centerdiv{
    padding-top: 4vw!important;
    padding-left: 4vw!important;
    padding-right: 4vw!important;
    max-width: 1200px;
    margin: auto;
 }

.wp-site-blocks {
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
    display: flex;
    flex-direction: column;
}

.wp-site-blocks > main {
    flex: 1;
}

.wp-site-blocks > footer {
    position: static !important;
}

/*
 * ========================================
 * SureCart
 * ========================================
 */

.wp-block-surecart-product-list-related{
    padding-right: 4vw;
    padding-left:4vw;
}

.wp-block-surecart-product-description li p {
    margin-top: 0;
    margin-bottom: 4px;
}

/*
 * ========================================
 * Header
 * ========================================
 */

 header{
    height:var(--header-height);
 }

.tf-header {
    height: var(--header-height);
    position:fixed;
    width: 100%;
    top:0;
    background-color: rgba(3, 16, 17)!important;
}

.tf-header-navigation a {
    color: #F1F6F4!important;
}

.tf-header-navigation a:hover {
    color: #78D6A8!important;
}

header nav {
    z-index: 99;
}
header figure{
    z-index:99;
}

.tf-home-headerblock {
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    box-sizing: border-box;
    z-index: 1;

    background: rgba(7, 20, 24, 0.98);
    border-bottom: 1px solid rgba(63, 81, 72, 0.35);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.tf-home-headerblock.show {
    opacity: 1;
    visibility: visible;
    background: rgba(7, 20, 24, 0.98);
}

.tf-header-navigation{
    position:fixed;
    font-family: 'Plus Jakarta Sans', sans-serif;
    right: 30px!important;
    height:var(--header-height);
    top:0;
}


.tf-header-navigation ul {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap !important;
    gap: 30px;
    padding-right: 20px;
    margin: 0;
}

.tf-header-logo {
    position: fixed;
    top: 25px;
    left: 0px;
}

.tf-header-logo img {
    height: calc(var(--header-height) - 1.5rem);
    margin-top:-10px;
    width: auto;
    padding-left: 1vw;
    transition: filter 0.3s ease;
}

.tf-header-logo img:hover {
    filter: drop-shadow(0 0 4px rgba(120, 240, 188, 0.45));
}

/*
 * ========================================
 * Home Header
 * ========================================
 */

.tf-home-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(var(--headerpic-height) - 39px) !important
}

body.admin-bar .tf-home-header {
    height: calc(var(--headerpic-height) - 71px) !important;
}

.call-wrapper{
    position: absolute;
    margin: auto;
    margin-top:-240px;
    padding-left: 4vw !important;
    padding-right: 4vw !important;
    width: 100%;
}


.call-to-action {
    width: 40%;
    min-width: 300px;
    max-width: 500px;
    padding: 24px max(2vw, 20px);
    box-sizing: border-box;
    float: left;

    background: rgba(244, 245, 241, 0.8);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.20);
}

.call-to-action p {
    margin-top: 0;
    margin-bottom: 18px;
    color: #26312C;
    font-weight: 500;
}

.wp-block-button__link {
    background: rgba(7, 20, 24, 0.98);
    color: #F4F4F1;

    border: none;
    border-radius: 8px;

    transition: all 0.25s ease;
}

.wp-block-button__link:hover {
    background: #52665C;
    color: #FFFFFF;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

.call-to-action .wp-block-buttons {
    justify-content: flex-end;
}

/*
/*
 * ========================================
 * Home Hero
 * ========================================
 */

/* ----------------------------------------
 * Hero Container
 * ---------------------------------------- */

.header-pic {
    position: absolute;
    inset: 0 0 auto 0;

    width: 100%;
    height: var(--headerpic-height) !important;

    overflow: hidden;
}


/* ----------------------------------------
 * Hero Image
 * ---------------------------------------- */

.header-pic img {
    position: absolute;
    top: -5%;
    left: 0;

    width: 100% !important;
    height: 110% !important;

    object-fit: cover;
    object-position: center;

    display: block;

    will-change: transform;
}


/* ----------------------------------------
 * Dark Gradient – Left
 * ---------------------------------------- */

.header-pic::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 60%;
    height: 60%;

    background: radial-gradient(
        ellipse at top left,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 20%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0) 65%
    );

    pointer-events: none;
    z-index: 2;
}


/* ----------------------------------------
 * Dark Gradient – Right
 * ---------------------------------------- */

.header-pic::after {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    width: 60%;
    height: 60%;

    background: radial-gradient(
        ellipse at top right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.8) 20%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0) 65%
    );

    pointer-events: none;
    z-index: 2;
}


/* SureCart Checkout über die gesamte Bildschirmbreite */
main.wp-block-group {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* SureCart Columns Full Width */
sc-columns.wp-block-surecart-columns {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Checkout selbst */
sc-checkout,
.wp-block-surecart-checkout-form {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

sc-columns.wp-block-surecart-columns {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.wp-block-post-title {
    text-align: left !important;
    margin-left: 0 !important;
}

/* Kein weisser Hintergrund im Checkout */
sc-column.wp-block-surecart-column {
    background-color: var(--background-color) !important;
}

/*
 * ========================================
 * Main
 * ========================================
 */
.dark-section {
    background-color: rgba(7, 20, 24, 0.93);
    color: white;
    text-align: center;
    padding: 0 0 calc(4vw + 20px);
    max-width: 100%;
    margin-block-start: 0;

    box-shadow:
        0 -10px 30px rgba(0, 0, 0, 0.18),
        0 10px 30px rgba(0, 0, 0, 0.25);

    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-section img {
    max-width:200px;
}

.dark-section p {
    font-size: 20px;
    margin-top: 0px;
}


/*
 * ========================================
 * Footer
 * ========================================
 */

.tf-footer {
    margin-top: 100px!important;
}

.tf-footer div{
    max-width: 1200px;
    margin: auto;
    margin-bottom: 0;
}



footer a, footer p{
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.treeforce-footer-links {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.tf-footer{
    padding-right: 2vw;
    padding-left: 2vw;
    padding-top: 2vw;
    padding-bottom: 2vw;
}

.tf-footer .wp-block-columns {
    align-items: stretch !important;
}

.tf-footer .wp-block-column:last-child {
    display: flex !important;
    flex-direction: column !important;
}

.tf-footer .copyright-column {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    text-align: right;
    margin-left: auto;
    margin-right: 0px !important;
}

.tf-footer a{
    text-decoration: none;
}

.tf-footer a:hover{
    color: #78D6A8!important;
}


.tf-header-navigation button{
    margin-top:-40px;
}

.wp-block-navigation__responsive-container-close{
    right:20px!important;
}





/*
 * ========================================
 * Shop
 * ========================================
 */

.shop-page,
.surecart-page {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}



.wp-block-surecart-product-page {
    margin-left: 4vw !important;
    margin-right: 4vw !important;
    width: auto !important;
    box-sizing: border-box;
}

.wp-block-surecart-product-page > .wp-block-columns {
    width: 100%;
    margin: 0;
}

.wp-block-surecart-product-page > .wp-block-columns > .wp-block-column {
    min-width: 0;
}

.wp-block-surecart-product-page > .wp-block-columns > .wp-block-column:first-child {
    flex-basis: 33% !important;
}

.wp-block-surecart-product-page > .wp-block-columns > .wp-block-column:nth-child(2) {
    flex-basis: 67% !important;
}

/*
 * ========================================
 * Hero
 * ========================================
 */

.tf-hero {
    position: relative;
    overflow: hidden;
}

.tf-hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    right: -180px;
    top: -180px;
    background: rgba(0, 127, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}



/*
 * ========================================
 * Mobile Navigation
 * ========================================
 */
@media (max-width: 600px) {
    .wp-block-navigation__responsive-container.is-menu-open {
        background-color: #000 !important;
        color: #fff !important;
    }

    .mobile-menu-logo {
        position:fixed;
        top:20px;
        left:20px;
        width: 80px;
        height: auto;
    }

    .mobile-menu-logo img{
        width: 80px;
        height: auto;
    }


    .wp-block-navigation__responsive-container-content {
        text-align: right;
        padding-top: 30px !important;
    }

    .wp-block-navigation__responsive-container-content {
        margin-top: 100px;
    }

    .tf-header-navigation ul{
        padding-top:120px;
    }




    .footer-navigation {
        align-items: flex-end;
        justify-content: flex-end;
        text-align: right;
    }

    .footer-navigation li,
    .footer-navigation li a {
        width: 100%;
        text-align: right;
    }

}
