/*
 Theme Name:   Hecker Gebäudereinigung
 Description:  Theme Hecker Gebäudereinigung
*/

/* roboto-300 - latin-ext_latin */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
	font-display: swap;	
    font-weight: 300;
    src: local('Roboto Light'), local('Roboto-Light'), 
    url('fonts/roboto-v20-latin-ext_latin-300.woff2') format('woff2');
}

/* roboto-regular - latin-ext_latin */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
	font-display: swap;	
    font-weight: 400;
    src: local('Roboto'), local('Roboto-Regular'), 
    url('fonts/roboto-v20-latin-ext_latin-regular.woff2') format('woff2');
}

/* roboto-italic - latin-ext_latin */

@font-face {
    font-family: 'Roboto';
    font-style: italic;
	font-display: swap;	
    font-weight: 400;
    src: local('Roboto Italic'), local('Roboto-Italic'), 
    url('fonts/roboto-v20-latin-ext_latin-italic.woff2') format('woff2'); 
}

/* roboto-700 - latin-ext_latin */

@font-face {
    font-family: 'Roboto';
    font-style: normal;
	font-display: swap;	
    font-weight: 700;
    src: local('Roboto Bold'), local('Roboto-Bold'), 
    url('fonts/roboto-v20-latin-ext_latin-700.woff2') format('woff2');
}

/* roboto-700italic - latin-ext_latin */

@font-face {
    font-family: 'Roboto';
    font-style: italic;
	font-display: swap;	
    font-weight: 700;
    src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'), 
    url('fonts/roboto-v20-latin-ext_latin-700italic.woff2') format('woff2');
}

/* open-sans-condensed-300 - latin-ext_latin */

@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
	font-display: swap;	
    font-weight: 300;
    src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'), 
    url('fonts/open-sans-condensed-v14-latin-ext_latin-300.woff2') format('woff2');
}

/* open-sans-condensed-300italic - latin-ext_latin */

@font-face {
    font-family: 'Open Sans Condensed';
    font-style: italic;
	font-display: swap;		
    font-weight: 300;
    src: local('Open Sans Condensed Light Italic'), local('OpenSansCondensed-LightItalic'), 
    url('fonts/open-sans-condensed-v14-latin-ext_latin-300italic.woff2') format('woff2');
}

/* open-sans-condensed-700 - latin-ext_latin */

@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
	font-display: swap;	
    font-weight: 700;
    src: local('Open Sans Condensed Bold'), local('OpenSansCondensed-Bold'), 
    url('fonts/open-sans-condensed-v14-latin-ext_latin-700.woff2') format('woff2');
}


/* economica-regular - latin-ext_latin */

@font-face {
    font-family: 'Economica';
    font-style: normal;
	font-display: swap;	
    font-weight: 400;
    src: local('Economica'), local('Economica-Regular'), 
    url('fonts/economica-v7-latin-ext_latin-regular.woff2') format('woff2');
}

/* economica-italic - latin-ext_latin */

@font-face {
    font-family: 'Economica';
    font-style: italic;
	font-display: swap;	
    font-weight: 400;
    src: local('Economica Italic'), local('Economica-Italic'), 
    url('fonts/economica-v7-latin-ext_latin-italic.woff2') format('woff2');
}

/* economica-700 - latin-ext_latin */

@font-face {
    font-family: 'Economica';
    font-style: normal;
	font-display: swap;	
    font-weight: 700;
    src: local('Economica Bold'), local('Economica-Bold'), 
    url('fonts/economica-v7-latin-ext_latin-700.woff2') format('woff2');
}

/* economica-700italic - latin-ext_latin */

@font-face {
    font-family: 'Economica';
    font-style: italic;
	font-display: swap;	
    font-weight: 700;
    src: local('Economica Bold Italic'), local('Economica-BoldItalic'), 
    url('fonts/economica-v7-latin-ext_latin-700italic.woff2') format('woff2');
}

/* Allgemein */

body {
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

html,
body {
    height: 100%;
    margin: 0;
}


/* Abstand von oben fuer den Ankerlink */

:target::before {
    content: "";
    display: block;
    /* fixed header height*/
    height: 160px;
    margin: -160px 0 0;
}


/* Header */

.header {
    background: rgba(255, 255, 255, 0.8);
    position: fixed;
    width: 100%;
    z-index: 99;
}

.header-container {
    display: grid;
    grid-template-areas: "a b""a c";
    grid-template-columns: 250px auto;
    grid-column-gap: 30px;
    width: 1200px;
    margin: 0 auto;
}

.header-container li {
    list-style-type: none;
}

.header-container li a {
    text-decoration: none;
    transform: none;
}


/* Logo */

ul.header-logo {
	margin: 0; 0; 0; 0;
	padding: 0; 0; 0; 0;
}

.header-logo {
    grid-area: a;
    align-self: center;
    transition: .3s;
}


/* SOBALD LOGO VORHANDEN IST */

.header-logo a {
    text-decoration: none;
    line-height: 17px;
}

.header-logo .hecker {
    font-size: 40px;
    font-weight: bold;
}

.header-logo .gr {
    font-weight: light;
    font-size: 12px;
    text-transform: uppercase;
}


/* Telefonnummer */

ul.header-kontakt {
	margin: 0; 0; 0; 0;
	padding: 10; 0; 0; 0;
}

.header-kontakt {
    grid-area: b;
    padding-top: 10px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-container .header-kontakt li a {
    color: #0094ca;
    font-weight: bold;
    font-size: 30px;
}

.header-kontakt img {
    height: 22px;
    margin-right: 15px;
    animation: tel-ring 2s infinite;
}


/* Telefon animieren */

@-webkit-keyframes tel-ring {
    20% {
        transform: rotate(5deg);
    }
    40% {
        transform: rotate(-5deg);
    }
    60% {
        transform: rotate(5deg);
    }
    80% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(5deg);
    }
}


/* Header menue */

.header-menu {
    grid-area: c;
}

.header-menu ul#menu-hauptmenu {
    text-align: right;
    margin: 5px 0;
}

.header-menu ul#menu-hauptmenu li {
    display: inline-block;
    margin-right: 5px;
/*    font-size: 18px; +sponsoring */
	font-size: 16px;
    padding: 5px 17px;
}

.header-menu ul#menu-hauptmenu li:last-of-type {
    margin-right: 0;
}

.header-menu ul#menu-hauptmenu li a {
    color: #3d3d3d;
}

.header-menu ul#menu-hauptmenu>li.current_page_item,
.header-menu ul#menu-hauptmenu li:hover {
    background-color: #0094ca;
}

.header-menu ul#menu-hauptmenu>li.current_page_item,
.header-menu ul#menu-hauptmenu>li:hover {
    padding: 5px 17px;
    transform: skewX(-15deg);
    display: inline-block;
}

.header-menu ul#menu-hauptmenu>li.current_page_item a,
.header-menu ul#menu-hauptmenu li:hover a {
    color: white;
    transform: skewX(15deg);
    display: inline-block;
}

.header-menu .sub-menu {
    display: none;
}

.header-menu ul#menu-hauptmenu li:hover .sub-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: #fff;
    transform: skewX(15deg);
    padding: 0;
    left: 35px;
}

.header-menu ul#menu-hauptmenu li:hover .sub-menu>li {
    transform: skewX(-15deg);
    text-align: left;
}

.header-menu ul#menu-hauptmenu li:hover .sub-menu a {
    color: #3d3d3d;
    transform: skewX(15deg);
}

.header-menu ul#menu-hauptmenu li .sub-menu a:hover {
    color: #fff;
}


/* Mobile menue, see css/slicknav.css */

.slicknav_menu {
    display: none;
}


/* Site content */

.site-content {
    width: 1200px;
    margin: 0 auto;
}

.page-wrapper {
    padding-top: 130px;
    padding-bottom: 60px;
}

.page-wrapper>.container {
    overflow-x: hidden;
}


/* Ueberschriften */

h1.elementor-heading-title.elementor-size-default,
h2.elementor-heading-title.elementor-size-default,
h3.elementor-heading-title.elementor-size-default,
h2.page-title {
    color: #0094ca;
    font-family: 'Economica', sans-serif;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: -1px;
}

h1.elementor-heading-title.elementor-size-default::before,
h2.elementor-heading-title.elementor-size-default::before,
h2.page-title::before {
    content: '//';
    font-family: 'Open Sans Condensed', sans-serif;
    font-weight: 700;
    margin-right: 16px;
}


/* Text */

.elementor-widget-text-editor p {
    line-height: 24px;
}

.elementor-widget-text-editor p,
.elementor-widget-text-editor ul li {
    color: #3d3d3d;
}


/* Buttons */

.page-wrapper-start .elementor-button-text {
    color: white;
}

.elementor-button-text {
    font-family: 'Economica', sans-serif;
    font-size: 26px;
}


/* Links */

.elementor a,
.page-wrapper a {
    color: #005f82;
}


/* Footer */

footer {
    background-color: #0094ca;
    margin-top: auto;
}

.footer-content {
    width: 1200px;
    margin: 0 auto;
    padding: 20px 0 40px 0;
}

footer li {
    list-style-type: none;
    display: inline-block;
    margin-right: 20px;
}

footer li:last-of-type {
    margin-right: 0;
}

footer li a {
    text-decoration: none;
    color: white;
}

.footer-icon {
    height: auto;
    width: 20px;
    margin-right: 7px;
    position: relative;
    top: 3px;
}

#menu-footer-menu {
    padding-left: 0;
}

#text-3 {
    display: block;
}

#text-3 p {
    color: #003070;
}

#text-3 img {
    width: 270px;
    height: auto;
    margin-right: 30px;
}

#text-3 h2.widgettitle {
    color: #003070;
    font-weight: normal;
    font-size: 16px;
}


/* Startseite */

.hero-image {
    height: 55vh;
    width: 100%;
    background-image: url('images/startseite.webp');
    background-size: cover;
    background-position: center center;
}

.home .site-content {
    padding: 40px 0;
}

.nummer p {
    margin: 0;
    padding: 0;
    color: #0094ca;
    font-family: 'Economica', sans-serif;
    font-size: 53px;
    line-height: 27px;
}


/* Beitragsseite */

.aktuelles-feed h2>a {
    text-decoration: none;
}

.aktuelles-post {
    margin-bottom: 70px;
}


/* Kontaktseite */

#kontakt p {
    margin: 0;
}

form>p:first-of-type {
    margin-top: 0;
}

form label {
    color: #3d3d3d;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 90%;
    display: block;
    margin-top: 10px;
    border-color: #ccc;
    border-width: 1px;
    border-radius: 4px;
    box-shadow: none;
    padding-left: 5px;
}

form input[type="text"],
form input[type="email"] {
    height: 30px;
}

form textarea {
    resize: none;
}

form span.wpcf7-list-item {
    margin: 0;
}

.wpcf7-form-control.wpcf7-submit {
    padding: 12px 44px;
    border: 1px solid #005f82;
    color: #005f82;
    font-family: 'Economica', sans-serif;
    font-size: 20px;
    transition: .3s;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #178383;
    color: white;
    cursor: pointer;
}


/*  Karte */

#g-m {
    background: url('images/map-placeholder.jpg');
}

#g-m {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10vw 30px;
    text-align: center;
}

#mapPlaceholder {
    padding: 30px;
    text-align: center;
}

#mapPlaceholder {
    color: black;
}

#s-m {
    text-align: center;
    background: #0094ca;
    color: #fff;
    padding: 5px 20px;
    font-size: 20px;
    display: inline-block;
    border-radius: 4px;
    box-shadow: 1px 1px 2px #331717;
}

#s-m:hover {
    cursor: pointer;
}

.resp-container {
    padding-top: 28.26%;
    position: relative;
    overflow: hidden;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* responsive design */

@media (max-width: 1200px) {
    .header-container,
    .site-content,
    .footer-content {
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .header-container {
        grid-template-areas: "a b""c c";
    }
    .header-logo {
        padding: 10px 0;
    }
    .hero-image {
        background-image: url('images/startseite.webp');
    }
}

@media (max-width: 768px) {
    .header-menu ul {
        display: none;
    }
    .slicknav_menu {
        display: block;
    }
    .header-container {
        grid-column-gap: 0;
        grid-template-columns: 150px auto;
    }
    .header-container .header-kontakt li a {
        font-size: 4vw;
        line-height: 10vw;
    }
    .hero-image {
        height: 35vh;
    }
    footer li {
        display: block;
        margin-bottom: 10px;
    }
}