/*
Theme Name: marketareo
Theme URI: https://www.marketaero.de
Author: internetgestalten.de
Author URI: https://internetgestalten.de
Version: 1.0.2
Description: Wordpress Theme - Marketareo Relaunch 2022
*/

/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local(''),
       url('css/fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/fonts/raleway-v28-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* raleway-700 - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: local(''),
       url('css/fonts/raleway-v28-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('css/fonts/raleway-v28-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


*, *::after, *::before {
    box-sizing: border-box;
}

:root {
  --blue: #009EE0;
  --white: #ffffff;
}

/* dev 
div { border: 1px solid yellow;}
div div { border: 1px solid pink;}
div div div { border: 1px solid green;}
*/

html, body {
    font-family: 'Raleway', sans-serif;
    color:#111;
    font-size:16px;
    line-height:1.4em;
    margin:0;
    padding:0;
}
body {
    background-color:#fff;
}

#site-header {
    background: var(--blue) url(images/marketaero-banner.jpg) no-repeat center;
    background-size: cover;
    height: 50vh;
}
#site-header > .container {
    position: relative;
}

#site-header h1 {
    position: absolute;
    top: 30vh;
    left: 0;
    color: #111;
    font-size: 1.7em;
    text-transform: uppercase;
}

#langmenu {
    position: absolute;
    top: 30px;
    right: 30px;
}

#langmenu a {
    color: #111;
}

a.de {
    font-weight: bold;
}
.english #langmenu a.en {
    font-weight: bold;
}
.english #langmenu a.de {
    font-weight: normal;
}



.container {
    width: 1400px;
    margin: 0 auto;
}
 
#logo { 
    position: absolute;
    top: 30px;
    left: 0;
    width: 200px;
}

figure img,
#logo img { 
    width: 100%;
    height: auto;
}

figure {
    margin: 0;
    padding: 0;
}

a { color: var(--blue); }

h1,h2,h3,h4,h5,h6 { 
    line-height: 1.4em; 
    margin-bottom: 1em;
}
h1 {font-size: 2.2em; }
h2 {font-size: 1.6em; color: var(--blue); text-transform: uppercase; }
h3 {font-size: 1.0em; }

.lc {
    text-transform: none;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2em;
}

#logos,
#highlights .flex,
.leistungen,
#aboutus .flex {
    gap: 1%;
}

.col-100 {
    width: 100%;
}
.col-66 {
    width: 66.66%;
}
.col-50 {
    width: 50%;
}
.col-33 {
    width: 32.5%;
}
.col-25 {
    width: 24%;
}
.col-16 {
    width: 16%;
}
.col-12 {
    width: 12.5%;
}

.col.right {
    margin-left: auto;
}

section {
    margin: 6em 0;
}

#logos figure {
    width: 15.8%;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
}
#logos figure img {
    max-width: 80%;

}

.intro .col {
    margin-top: 4em;
    margin-bottom: 4em;
}

.projekt {
    width: 24%;
    margin-bottom: 3em;
}

.projekt h3 {
    margin: .5em 0;
}

.angebot {
    margin-bottom: 3em;
}

.angebot figure {
    width: 27%;
    margin-bottom: 20px;
}
.angebot h3 {
    text-transform: uppercase;
    margin: 0;
}


#gotop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: block;
    opacity: 0;
    background: url(images/icon_gotop.svg) no-repeat center;
    width: 40px;
    height: 40px;
    background-size: 40px;
    z-index: 99;
    cursor: pointer;
    transition: .3s all ease;
}
.scrolled #gotop {
    opacity: 1;
}

#site-footer {
    background: var(--blue);
    padding: 3em 0;
}
#site-footer h2 {
    color: #000;
}
#menu-footer-en,
#menu-footer {
    list-style: none;
    text-align: right;
}
#menu-footer-en li,
#menu-footer li {
    display: block;
}
#menu-footer-en li a,
#menu-footer li a {
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
}

.qr {
    max-width: 180px;
}


/* media queries */
@media only screen and (max-width: 1460px) {
    
    .container {
        width: 94%;
        margin-left: 3%;
        margin-right: 3%;
    }
    
}


@media only screen and (max-width: 1040px) {

    .angebot {
        width: 49%;
        margin-bottom: 4em;
        padding-right: 1em;
    }
    .angebot img {
        max-width: 100px;
    }
    
    #kontakt .col-25 {
        width: 50%;
    }
    
}

@media only screen and (max-width: 980px) {
    
    #highlights .flex {
        justify-content: space-between;
        gap: auto;
    }
    
    .projekt {
        width: 48%;
    }
    
}

@media only screen and (max-width: 840px) {
    
    #site-footer .flex {
        flex-direction: column;
    }
    #site-footer .col {
        width: 100%;
    }
    #menu-footer-en,
    #menu-footer {
        padding-left: 0;
        text-align: left;
    }
}

@media only screen and (max-width: 780px) {

    #aboutus .col-33 {
        width: 100%;
        margin-bottom: 5em;
    }
    
    #kunden figure {
        width: 19%;
    }
    
} 

@media only screen and (max-width: 640px) {
    
    #site-header h1 {
        top: 22vh;
    }
    
    #site-header {
        background-position: right center;
    }
    
    .intro .col {
        width: 100%;
        margin: 2em 0;
    }
    
    #kontakt .flex {
        flex-direction: column;
    }
    #kontakt .col-25 {
        width: 100%;
        margin-bottom: 3em;
    }
    
    #kunden figure {
        width: 32%;
    }    

    section {
        margin: 3em 0;
    }
    
    .projekt,
    .angebot {
        width: 99%;
    }
    .angebot img {
        max-width: 60px;
    }
    
}
