/*
Theme Name:   Tom Metallbau Theme
Theme URI:    https://envision.at/tech-lab
Description:  Tom Metallbau Theme
Author:       Envision Tech Lab
Author URI:   https://envision.at/tech-lab
Template:     twentytwentythree
Version:      0.1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  tom_metallbau_child
*/

/* Fonts */

@font-face{font-family:'Roboto';font-style:normal;font-weight:400;font-stretch:100%;font-display:fallback;src:url(font/Roboto-Regular.ttf) format('truetype')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:700;font-stretch:100%;font-display:fallback;src:url(font/Roboto-Bold.ttf) format('truetype')}
@font-face{font-family:'Roboto';font-style:normal;font-weight:900;font-stretch:100%;font-display:fallback;src:url(font/Roboto-Black.ttf) format('truetype')}



/* Allgemein */

body {
    font-family: "Roboto", serif;
}

h1 {
    margin-bottom: 0;
    font-weight: 900;
}

h2 {
  margin-top: 0;
    font-weight: 900;
}

html, body {
    scroll-behavior: smooth;
}

.wp-site-blocks {
  padding: 0;
}

.volle_breite {
    max-width: 100%;
}

main {
    margin-top: 150px !important;
}

.wp-block-group.headerbild {
    position: relative;
    z-index: 1;
}

figure.header_bild {
    position: relative;

}

.nach_headbild {
    position: relative;
    z-index: 2;
  }

.nach_headbild:after {
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 0% 40%);
    clip-path: polygon(100% 0%, 100% 100%, 0% 100%, 0% 40%);
    background-image: url("/wp-content/themes/tommetallbau/datein/platzhalter/light-metall-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    content: "";
    width: 100%;
    height: calc(100% + 370px);
    position: absolute;
    bottom: 0;
    left: 0;
}

.nach_headbild figure {
    position: relative;
    bottom: 100px;
}

.nach_headbild figure img{
    z-index: 1;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

body.privacy-policy .nach_headbild figure img, body.page-id-546 .nach_headbild figure img {
    box-shadow: none;
}

.nach_headbild figure:after {
    content: "";
    height: 80%;
    position: absolute;
    background-color: var(--wp--preset--color--orange);
    width: 20px;
    left: -15px;
    display: block;
    top: 10%;
    z-index: 0;
}

.nach_headbild .wp-block-columns{
    position: relative;
    z-index: 5;
    bottom: 120px;
    padding-bottom: 100px;
}

figure.header_bild img {
    width: 100%;
    z-index: 1;
    position: relative;
}

figure {
    margin: 0;
}

.bg_cut {
position: relative;
}

.bg_cut .hintergrund_bild_box figure {
    -webkit-clip-path: polygon(101% 0%, 100% 100%, -35% 0%, 100% 0%);
    clip-path: polygon(101% 0%, 100% 100%, -35% 0%, 100% 0%);
    height: 100%;
}

.bg_cut .hintergrund_bild_box img {
    height: 438px;
    width: 604px;
    max-width: initial;
}

.bg_cut_text {
    position: absolute;
    bottom: 45px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.leistungen_bg_boxen {
    cursor: pointer;
}

.leistungen_bg_boxen .hintergrund_bild_box_img {
    height: 438px;
    width: 100%;
    background-size: cover;
}

.leistungen_bg_boxen .hintergrund_bild_box {
    -webkit-clip-path: polygon(100% 0%, 110% 107%, -35% -1%, 100% -1%);
    clip-path: polygon(100% 0%, 110% 107%, -35% -1%, 100% -1%);
    height: 100%;
}

.leistungen_bg_boxen p {
    margin: 0;
}

.leistungen_bg_boxen p strong{
   font-size: 30px;
}

.leistungen_bg_boxen .is-layout-constrained, .leistungen_bg_boxen .is-layout-constrained .wp-block-image {
    margin-left: 20px !important;
    margin-right: 35px !important;
}

.kontakt_4_spalten_grid {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    text-align: center;
    flex: 1;
}

.privacy-policy .kontakt_4_spalten_grid, .headerbild_links_group_bg .kontakt_4_spalten_grid, .fix_kont_links .kontakt_4_spalten_grid {
    flex-direction: row;
    align-items: start;
}

.kontaktdaten .kontakt_4_spalten_grid {
    text-align: left;
    justify-content: start;
    gap: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wp-block-columns.kontakt_4_spalten_grid_div {
    width: 100%;
}

.kontakt_4_spalten_grid p {
    margin: 0;
}

.kontakt_4_spalten_grid a {
    text-decoration: none;
    transition: 0.7s;
}

.kontakt_4_spalten_grid a:hover {
    color: var(--wp--preset--color--orange);
}

.kontakt_4_spalten_div {
    display: flex;
    flex-direction: column;
}

.wp-block-site-logo img {
    position: relative;
    z-index: 2;
}

.kontakt_headerbild_links .kontakt_4_spalten_grid{
    align-items: start;
}


.black, .black strong {
    font-weight: 900;
}


.spalten3_verleih p {
    margin: 0;
    line-height: 32px;
}
/* Kontakt & Impressum */


.page-id-83 .header_bild, .page-id-90 .header_bild{
    -webkit-clip-path: polygon(100% 0%, 100% 75%, 0% 100%, 0% 0%);
    clip-path: polygon(100% 0%, 100% 75%, 0% 100%, 0% 0%);

}


.page-id-83 .header_bild, .page-id-90 .header_bild {
z-index: 5;
 position: relative;
}

.kontakt_header_gruppe {
    position: relative;
    bottom: 200px;
    z-index: 2;
}

.kontakt_headerbild_links .wp-block-group.headerbild_links_group_bg {
    height: calc(100% + 200px);
    background-image: url("/wp-content/themes/tommetallbau/datein/platzhalter/light-metall-background.webp");
    background-repeat: no-repeat;
    background-size: cover;

    max-width: 100%;
}

.kontakt_headerbild_links .wp-block-group.headerbild_links_group_bg * {
    max-width: 350px;
}

.kontakt_headerbild_rechts {

}

.wp-block-button .wp-block-button__link {
    font-weight: 900;
    color: white;
    text-transform: uppercase;
}

.wp-block-button .wp-block-button__link:active, .wp-block-button .wp-block-button__link:focus {
    font-weight: 900;
    color: white;
    background-color: var(--wp--preset--color--dunkelgrau);
}

/* Anfrage Formular */

body.page-id-565 figure.header_bild img, body.page-id-565 figure.header_bild {
    height: 300px !important;
}

.miet_form{
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    flex-direction: column;
}

.miet_form h2 {
    color: var(--wp--preset--color--orange);
}

/* Datenschutz */

.page-id-3 .nach_headbild .wp-block-columns, .page-id-546 .nach_headbild .wp-block-columns{
    padding-bottom: 0;
    bottom: 0;
}

.page-id-3 .nach_headbild figure, .page-id-546 .nach_headbild figure {
width: auto;
    flex: unset;
    bottom: 0;
}

.page-id-3 .nach_headbild figure:after, .page-id-546 .nach_headbild figure:after {
    content: none;
}

.page-id-3 .nach_headbild .inline, .page-id-546 .nach_headbild .inline {
    align-items: center;
}

.page-id-3 .nach_headbild .inline p,.page-id-546 .nach_headbild .inline p {
    margin: 5px 0;
}


body.single .backend_show, body.page .backend_show {
    display: none;
}


/* Post */

body.single-post main {
    margin-top: 0px !important;
}


    /* Hintergrundbild Box */

.cut_section {
position: relative;
}

.hintergrund_bild_box_img {
    background-repeat: no-repeat;
}

.cut_bg_img {
    height: 550px;
    width: 100%;
}


.cut_bg_img .hintergrund_bild_box_img {
    width: 100%;
    height: 640px;
    position: absolute;
    left: 0;
    clip-path: polygon(100% 0%, 100% 100%, 0% 45%, 0% 0%);
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 45, 0% 0%);
    background-size: cover;
    opacity: 0.6;
}

.reihenfolge_nach {
    z-index: 0;
}

.reihenfolge_vor {
    z-index: 1;
}

.bottom_float {
    align-items: end;
    display: flex;
}

.bottom_float img {
    position: relative;
    right: -200px;
}

/* Navi */

header .wp-block-group {
    padding: 0;
}

.top_header {
    display: flex;
    height: 75px;
    position: relative;
    z-index: 5;
}

.top_header figure, .top_header p {
    margin: 0;
}

.top_header_row {
    max-width: 1366px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: end;
    gap: 25px;
}

.top_header_item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.top_header_item a {
    color: white;
    text-decoration: none;
}

.navi {
    height: 120px;

}

.navi .navi_row {
    max-width: 1366px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: end;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 5;
}

.navi .navi_row .wp-block-site-logo {
    position: absolute;
    top: 0;
    left: 0;
}

.navi nav .wp-block-navigation__container {
    display: flex;
    gap: 50px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

/* 3 elemente */


.elemente3  .wp-block-columns{
gap: 0;
  }

.elemente3  .wp-block-columns .wp-block-column {
    gap: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.elemente3 h2 {
    margin-bottom: 0;
}

.elemente3 p {
    margin: 0;
}

.nach_oben {
    position: relative;
    bottom: 120px;
}

/* Slider */

.flickity-slider .wp-block-image {
    width: 340px; /* full width */
    height: 300px; /* height of carousel */
    margin-right: 30px;
}


.slider.flickity-enabled.is-draggable .flickity-button-icon {
    display: none;
}

.slider.flickity-enabled.is-draggable .flickity-prev-next-button.previous {
    background: url("/wp-content/uploads/2024/07/icon-pfeil.webp") no-repeat center;
    background-size: cover;
    border-radius: 0;
    left: -60px;
}

.slider.flickity-enabled.is-draggable .flickity-prev-next-button.next {
    background: url("/wp-content/uploads/2024/07/icon-pfeil_r.webp") no-repeat center;
    background-size: cover;
    border-radius: 0;
    right: -60px;
}

/* Beitrag Filter */

.beitrag_titel h2 {
    color: var(--wp--preset--color--orange);
    text-transform: uppercase;
}

.beitrag_filter {
    max-width: 1366px;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 100px;
    display: flex;
    gap: 60px;
}

.beitrag_filter button {
    background: none;
    border: none;
    text-transform: uppercase;
    font-size: 25px;
    cursor: pointer;
    color: var(--wp--preset--color--dunkelgrau);
}

.beitrag_filter button.beitrag_filter_aktiv {
    border-bottom: 2px solid var(--wp--preset--color--orange);
}


.technischer_plan, .bilder_im_einsatz {
    display: none;
}


/* Table */

.wp-block-table table, .wp-block-table tr, .wp-block-table td {
    border: none;
}

.wp-block-table tr:nth-child(odd) {
    background-color: var(--wp--preset--color--hellgrau);
}


/* Post ähnliche  */

section.post_related_section {
    max-width: 1366px;
    margin: 75px auto 100px;
}

.post_related {

    display: flex;
    gap: 70px;
    color: var(--wp--preset--color--orange);
    font-size: 25px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 auto;
}

.post_related .item {
  flex: 1;
}

.post_related .item_bg {
 height: 367px;
 width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.post_related .item_link {
    display: flex;
    justify-content: end;
}

.post_related_ueberschrift {
    color: var(--wp--preset--color--orange);
    font-size: var(--wp--preset--font-size--large) !important;
    font-weight: 900;
    text-transform: uppercase;
}

/* Akkordeon */

.akkordeon {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.akkordeon_element .wp-block-group{
    height: 0;
    max-height: 0px;
    background-color: white;
    color: black;
    transition: max-height .5s ease-out;
    opacity: 0;
}

.akkordeon_element .wp-block-group {
    position: relative;
    z-index: -1;
}



.akkordeon_element.active .wp-block-group {
    height: 100%;
    max-height: 100%;
    transition: 1s;
    opacity: 1;
    z-index: 9;
    position: relative;
    margin-bottom: 100px;
    padding-left: 40px;
}

.akkordeon_element > p {
    padding: 20px 40px;
    color: white;
    cursor: pointer;
    z-index: 1;
    position: relative;
    transition: 0.45s;
}

.akkordeon_element {
    width: 100%;
    transition: 1s;
}

.akkordeon_element .wp-element-button:visited {
    color: white;
}


.akkordeon_element > p {
    background-color: var(--wp--preset--color--dunkelgrau);
}

.akkordeon_element.active > p {
    background-color: var(--wp--preset--color--orange);
}

.akkordeon_element > p:after {
    content: "";
    position: absolute;
    right: 25px;
    background: url("/wp-content/themes/tommetallbau/datein/dreieck_down.svg");
    height: 25px;
    width: 25px;
    transition: 0.7s;
}


.akkordeon_element.active > p:after {
    transform: rotate(180deg);
    background: url("/wp-content/themes/tommetallbau/datein/dreieck_up.svg");
}


    /* Extras */


.wp-block-columns {
    gap: 50px;
}


.wp-block-navigation a:where(:not(.wp-element-button)) {
    border-bottom: 3px solid white;
    transition: 0.7s;
}

.wp-block-navigation a:where(:not(.wp-element-button)):hover {
    border-bottom: 3px solid var(--wp--preset--color--orange);
    text-decoration: none;
}

footer a:hover {
    border-bottom: 3px solid var(--wp--preset--color--dunkelgrau);
    text-decoration: none;
}

.hidden {
display: none;
}

.auszeichnung {
    justify-content: end;
}

.grau_bg {
    background-image: url("/wp-content/themes/tommetallbau/datein/platzhalter/light-metall-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.dunkel_bg {
    background-image: url("/wp-content/themes/tommetallbau/datein/platzhalter/dark-metall-background.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.kran_bg {
    background-image: url("/wp-content/themes/tommetallbau/datein/platzhalter/Tom_Kran.webp");
    background-size: 700px;
    background-position: center right 15%;
    background-repeat: no-repeat;
}



.text_anarchie_rechts_OLD {
    position: relative;
    width: calc(100% + 200px);
}

.text_anarchie_links_OLD {
    position: relative;
    left: -200px;
}

.pfeil_orange, .pfeil_grau {
    position: relative;
}

.pfeil_orange:before {
    content: "";
    background-image: url("/wp-content/themes/tommetallbau/datein/Dreieck_orange.svg");
    height: 13px;
    width: 13px;
    position: absolute;
    left: 0;
    top: 8px;
}

.pfeil_grau:before {

}




ul {
    padding-left: 20px !important;
}

.has-orange-background-color ul li {
    list-style-image: url("/wp-content/themes/tommetallbau/datein/Dreieck_grau.svg");
}

.has-schwarz-background-color ul li {
    list-style-image: url("/wp-content/themes/tommetallbau/datein/Dreieck_orange.svg");
}

.has-dunkelgrau-background-color ul li {
    list-style-image: url("/wp-content/themes/tommetallbau/datein/Dreieck_orange.svg");
}

ul li::marker {
    font-size: 28px;
}



/* Kontakt Form */

input, textarea, select {
    padding: 20px 40px;
    width: 100%;
    border: 1px solid var(--wp--preset--color--orange);
    box-sizing: border-box;
    background: white;
    font-family: "Roboto", serif;
    font-size: 20px;
}

input::placeholder, textarea::placeholder {
    color: black;
}

.inline {
    display: flex;
}

.form_inline {
    display: flex;
    gap: 20px;
}

.form_inline p {

    flex: 1;
}

.form_inline input {
    box-sizing: border-box;
}

input.wpcf7-submit {
    width: auto;
    display: flex;
    margin: 0 auto;
    background: var(--wp--preset--color--orange);
    color: white;
    text-transform: uppercase;
    font-weight: 900;
    transition: 1s;
}

input.wpcf7-submit:hover {
    background-color: var(--wp--preset--color--dunkelgrau);
    color: white;
    border: var(--wp--preset--color--dunkelgrau);
}

.kontakt_form_gruppe {
 max-width: 850px;
}

/* Footer */

footer .wp-block-heading {
    font-weight: bold;
}

footer .footer_bottom > div {
    justify-content: space-between;
}

footer a {
    text-decoration: none;
}

footer .wp-block-image a:hover {
    text-decoration: none;
    border-bottom: none;
}


/* Responsive */

@media only screen and (max-width: 1420px) {

    .navi .navi_row {
        padding-right: var(--wp--style--root--padding-right) !important;
    }

    .top_header_row {
        padding-right: var(--wp--style--root--padding-right) !important;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
        justify-content: center;
        align-items: center;
        height: 100%;
        text-align: center;
    }

    .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container{
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 30px;
        gap: 35px;
    }


    .wp-block-navigation__responsive-close, .has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog  {
        height: 100%;
    }


    footer .footer_top {
        padding-right: var(--wp--style--root--padding-right) !important;
        padding-left: var(--wp--style--root--padding-left) !important;
        text-align: center;
    }

    body.page-id-83 form {
        padding-right: var(--wp--style--root--padding-right) !important;
    }

    footer .wp-block-columns.is-layout-flex {
       gap: 30px;
    }

    footer .footer_bottom p{
        text-align: center;
        margin-top: 30px;
    }

    .navi nav .wp-block-navigation__container {
    margin-right: 25px;
    }

    .nach_headbild .wp-block-columns {
        flex-direction: column;
        gap: 0;
    }

    .nach_headbild .wp-block-column:first-child{
        display: flex;
        justify-content: center;

    }

    .nach_headbild figure {
        display: flex;
        justify-content: center;
    }

    .nach_headbild:after {
        height: calc(100% + 500px);
        -webkit-clip-path: polygon(100% 20%, 100% 100%, 0% 100%, 0% 40%);
        clip-path: polygon(100% 20%, 100% 100%, 0% 100%, 0% 40%);
    }




    .beitrag_filter, .post_related, .post_related_ueberschrift {
        padding-right: var(--wp--style--root--padding-right) !important;
        padding-left: var(--wp--style--root--padding-left) !important;

    }

    .beitrag_filter button {
        font-size: 20px;
    }

    .beschreibung strong, .technischer_plan strong, .bilder_im_einsatz strong{
        font-size: 20px;
    }

    .kontakt_mobile_fix {
        flex-direction: column;
        align-items: start;
    }


}

/* Tablet */
@media only screen and (max-width: 1024px) {


    .slider.flickity-enabled.is-draggable .flickity-prev-next-button.previous {
        left: 0;
    }

    .slider.flickity-enabled.is-draggable .flickity-prev-next-button.next {
        right: 0;
    }


    .elemente3 .wp-block-columns {
        display: flex;
    }

    .elemente3 .wp-block-columns .wp-block-column {
        padding: 40px 20px !important;
        min-width: auto;
        gap: 3%;
    }

    figure.header_bild img, figure.header_bild {
        max-height: 750px !important;
        height: 750px !important;
    }

    .home .nach_headbild {
        padding-right: var(--wp--style--root--padding-right) !important;
        padding-left: var(--wp--style--root--padding-left) !important;
    }

    .kran_bg {
        background: none;
    }

    .kontakt_headerbild_links .wp-block-group.headerbild_links_group_bg .wp-block-heading {
        margin-top: 100px;
    }

    .kontakt_headerbild_links .wp-block-group.headerbild_links_group_bg {
        height: calc(100% + 150px);
    }


    .tablet_fix_text_anarchie {
        width: 100%;
    }


}


/* Handy */
@media (max-width: 768px) {

    .elemente3 .wp-block-columns {
        flex-direction: column;
    }

    form, form input, form input::placeholder, form textarea {
    font-size: clamp(15px, 0.938rem + ((1vw - 7.68px) * 0.601), 20px) !important;
    }

    .cut_bg_img .hintergrund_bild_box_img{
        height: 300px;
    }

    .cut_bg_img {
        height: 210px;
    }


    .kontaktdaten .wp-block-column{
        justify-content: center;
        align-items: center;
        text-align: center;
    }


    .cut_section > .wp-block-columns {
        gap: 0;
    }

    .cut_section > .wp-block-columns h1 {
        margin-top: 0;
    }

    .kontaktdaten .wp-block-column .wp-block-columns .wp-block-column{
        justify-content: start;
        align-items: center;
        margin: 0 auto;
        max-width: 225px;
        text-align: center;
    }

    .mobile_not {
        display: none;
    }

    .wp-block-columns.liste {
        gap: 0;
        margin: 25px 0;
    }

    .wp-block-columns.liste ul {
        margin: 0;
    }

    .wp-block-columns.liste .wp-block-button {
        margin-top: 20px;
    }


    .elemente3 h2, .elemente3 p{
        text-align: center;
    }



    .post_related {
        flex-direction: column;
    }

    .post_related .item_bg {
        background-size: cover;
    }

    .beitrag_filter {
        flex-direction: column;
        gap: 15px;
    }

    .beitrag_filter button.beitrag_filter_aktiv {
        width: fit-content;
        margin: 0 auto;
    }

    .wp-block-spacer {
        max-height: 150px !important;
    }

    .auszeichnung figure{
        margin-left: 0 !important;
    }

    .fuhrpark_mehr_laden {
       width: auto;
        padding: 20px 40px;
    }

    .form_inline {
        flex-direction: column;
        gap: 0;
    }

    .reihenfolge_vor {
        order: 1;
        bottom: 20px;
    }

    .bottom_float img {
        right: 0;
    }

    .kontakt_4_spalten_grid_div {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }



    .spalten3_verleih .is-layout-flex {
        gap: 75px;
    }

    .leistungen_bg_boxen {
        margin-top: 30px !important;
    }

    .nach_oben {
        bottom: 50px;
    }

    .text_anarchie_links_OLD {
        left: 0;
    }

    .text_anarchie_rechts_OLD {
        width: 100%;
    }

    .elemente3 .wp-block-columns .wp-block-column {
        flex-direction: column;
        box-sizing: border-box;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin: 0 !important;
        width: 100%;
        min-width: 100%;
    }

}




body .wp-block-navigation__responsive-container-open:not(.always-shown) {
    display: block !important;
}
body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
    display: none !important;
}

@media (min-width: 884px) {
    body .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: none !important;;
    }
    body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: block !important;
    }
}


