/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-900 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/roboto-v30-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/roboto-v30-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/roboto-v30-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/roboto-v30-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/roboto-v30-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/roboto-v30-latin-900.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* +++++++++++++++++ Typselektoren +++++++++++++++++ */
html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* overflow-x: hidden !important; */
}

body {
    background-color: #fff;
    font-size: 16px;
    line-height: 120%;
    color: #363636;
    font-family: 'Roboto', sans-serif;
    padding: 0px;
    margin: 0px;
}

a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Roboto', sans-serif;
    color: #fff;
    margin: 0px;
}

h1 {
    font-size: 60px;
    line-height: 120%;
    text-transform: uppercase;
    padding: 80px 40px 10px;
}

/* +++++++++++++++++ Layout +++++++++++++++++ */

.wrapper {
    background-color: #fff;
    max-width: 1280px;
    margin: auto;
    padding: 0px 10px;
}

.bold {
    font-weight: bold;
}

/* +++++++++++++++++ Weiche +++++++++++++++++ */
.logo {
    width: 100%;
    max-width: 170px;
    margin: 20px 0px;
}

section.weiche {
    position: relative;
    background-image: url(../images/bg-weiche.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    text-align: center;
}

p.aufmacher {
    color: #fff;
    font-size: 18px;
    line-height: 140%;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 1);
    padding: 0px 40px 40px;
}

.kontakt {
    float: right;
}

.kontakt a:hover .phone,
.kontakt a:hover .mail {
    background-color: #ccc;
    transition: .5s;
}

.phone,
.mail {
    background-color: #eee;
    padding: 5px 20px;
    color: #363636;
    font-weight: 900;
    float: left;
    margin-left: 3px;
}

.phone-circle,
.mail-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #606060;
    border-radius: 50px;
    padding: 4px;
    float: left;
}

.mail-circle {
    width: 17px;
    height: 17px;
    padding: 6px 5px 4px;
}

.kontakt-label {
    float: right;
    padding-top: 5px;
    padding-left: 10px
}

/* +++++++++++++++++ Auswahl +++++++++++++++++ */

.auswahl {
    margin: 10px;
}

.auswahl img {
    display: block;
}

.elektrotechnik,
.systemhaus {
    background-color: #fff;
    width: 40%;
    display: inline-block;
    margin: 20px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, .7);
}

.elektrotechnik .logo,
.systemhaus .logo {
    width: 100%;
    height: 51px;
    max-width: 233px;
    padding: 15px;
    margin: auto;
}

.elektrotechnik img,
.systemhaus img {
    width: 100%;
}

.elektrotechnik-text {
    line-height:160%;
    background-color: #e30613;
    padding: 40px
}

.auswahl p {
    color: #fff;
    margin: 20px 0px 0px;
}

.auswahl h2 {
    text-transform: uppercase;
}

.auswahl a {
    font-weight: 900;
    display: inline-block;
    text-transform: uppercase;
    padding: 10px 60px 10px 40px;
    border-radius: 50px;
    margin: 30px 0px 0px;
    transition: .5s;
    background-image:url(../images/enter-arrow.svg);
    background-size: 20px;
    background-position:top 13px right 30px;
    background-repeat: no-repeat;
}

.auswahl a:hover {
    padding: 10px 65px 10px 45px;
    background-position:top 13px right 35px;
    transition: .5s;
}

.auswahl .systemhaus a {
    background-color: #3c98ff;
}

.auswahl .elektrotechnik a {
    background-color: #ff7474;
}

.systemhaus-text {
    line-height:160%;
    background-color: #054b78;
    padding: 40px
}

@media(max-width:840px) {
    .weiche {
        padding-top:40px;
    }
    .weiche h1, .weiche p, .weiche h2 {
        display:none;
}
    .auswahl a {
        margin-top:0px;
    }

    .elektrotechnik,
    .systemhaus {
        width: 100%;
        max-width: 530px;
        display: block;
        margin: 0px auto 20px;
    }
}

@media (max-width:590px) {
    .kontakt-label {
        display: none;
    }

    .phone,
    .mail {
        background-color: #fff;
        margin-top: 10px;
        padding: 5px 10px 0px 0px;
    }

    .kontakt a:hover .phone,
    .kontakt a:hover .mail {
        background-color: #fff;
        opacity: .7;
        transition: .5s;
    }
}

@media(max-width:520px) {
    h1 {
        font-size: 12vw;
        padding: 40px 10px 0px;
    }
    .weiche {
       padding-top:0px;
    }
    .wrapper {
        padding: 0px;
    }

    .auswahl {
        margin: 0px;
    }

    .elektrotechnik,
    .systemhaus {
        margin: 0px auto;
        box-shadow: none;
    }

    .logo {
        margin-left: 10px;
    }
}

/* +++++++++++++++++ Footer +++++++++++++++++ */

footer {
    background-color: #363636;
    color: #d7d7d7;
    margin-top: 40px;
}

footer .wrapper {
    background-color: #363636;
    padding: 40px 20px;

}

footer .wrapper .footer-grid {
    display: grid;
    -ms-display: grid;
    -ms-grid-template-columns: auto auto auto auto;
    -ms-column-gap: 44px;
    grid-template-columns: auto auto auto auto;
    column-gap: 44px;
    width: calc(80% + 40px);
    margin: auto;
}

footer img {
    max-width: 200px;
    margin-bottom: 20px;
}

footer .wrapper p {
    margin: 0px;
    line-height: 140%;
}

footer .wrapper p a {
    color: #d7d7d7;
}

footer .wrapper p a:hover {
    color: #706e6e;
}

footer .wrapper div {
    align-self: start;
}

footer .wrapper div:nth-child(even) {
    align-self: end;
}

.footernavi {
    padding-top: 40px;
    text-align: center;
}

.footernavi a {
    color: #d7d7d7;
    padding: 0px 10px;
}

.footernavi a:hover {
    color: #706e6e;
}

.footernavi hr {
    margin: 20px auto;
    width: calc(80% + 26px);
    background: #706e6e;
    height: 1px;
    border: none;
}

@media(max-width:1010px) {
    footer .wrapper .footer-grid {
        grid-template-columns: auto auto;
        grid-template-areas:
            "elektro01 it01"
            "elektro02 it02";
        column-gap: 40px;
        background-color: #363636;
        width: calc(80% + 40px);
        padding: 0px 0px;
    }


    .verlaat-kontakt01 {
        grid-area: elektro01;
    }

    .verlaat-kontakt02 {
        grid-area: elektro02;
        margin-top: 40px;
    }

    .verlaat-kontakt03 {
        grid-area: it01;
    }

    .verlaat-kontakt04 {
        grid-area: it02;
        margin-top: 40px;
    }
}

@media(max-width:840px) {
    footer .wrapper .footer-grid {
        grid-template-columns: auto;
        grid-template-areas: "elektro01""elektro02"
            "it01""it02";
        text-align: center;
    }

    .verlaat-kontakt01 {
        grid-area: elektro01;
    }

    .verlaat-kontakt02 {
        grid-area: elektro02;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .verlaat-kontakt03 img {
        border-top: 1px solid #706e6e;
        padding-top: 40px;
    }

    .verlaat-kontakt03 {
        grid-area: it01;
    }

    .verlaat-kontakt04 {
        grid-area: it02;
        margin-top: 40px;
        margin-bottom: 0px;
    }
}

@media(max-width:520px) {
    footer {
        margin-top: 0px;
    }
}
