@import url("reset.css");

/*-----------FONTS-----------*/

/* raleway-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/raleway-v37-latin-200.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/raleway-v37-latin-200.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v37-latin-200.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/raleway-v37-latin-200.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/raleway-v37-latin-200.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/raleway-v37-latin-200.svg#Raleway') format('svg');
    /* Legacy iOS */
}

/* raleway-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/raleway-v37-latin-300.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/raleway-v37-latin-300.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v37-latin-300.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/raleway-v37-latin-300.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/raleway-v37-latin-300.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/raleway-v37-latin-300.svg#Raleway') format('svg');
    /* Legacy iOS */
}

/* raleway-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v37-latin-regular.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/raleway-v37-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v37-latin-regular.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/raleway-v37-latin-regular.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/raleway-v37-latin-regular.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/raleway-v37-latin-regular.svg#Raleway') format('svg');
    /* Legacy iOS */
}

/* raleway-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/raleway-v37-latin-500.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/raleway-v37-latin-500.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v37-latin-500.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/raleway-v37-latin-500.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/raleway-v37-latin-500.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/raleway-v37-latin-500.svg#Raleway') format('svg');
    /* Legacy iOS */
}

/* raleway-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/raleway-v37-latin-600.eot');
    /* IE9 Compat Modes */
    src: url('../fonts/raleway-v37-latin-600.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/raleway-v37-latin-600.woff2') format('woff2'),
        /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        url('../fonts/raleway-v37-latin-600.woff') format('woff'),
        /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
        url('../fonts/raleway-v37-latin-600.ttf') format('truetype'),
        /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
        url('../fonts/raleway-v37-latin-600.svg#Raleway') format('svg');
    /* Legacy iOS */
}



:root {
    --blau: #09B0B8;
    --orange: #FEBB6C;
    --lila: #7A79D3;
    --grau: #393939;
}

.blau {
    background: var(--blau);
}

.orange {
    background: var(--orange);
}

.lila {
    background: var(--lila);
}


/*-----------FONTGESTALTUNG-----------*/

body {
    font-family: 'Raleway';
}

p,
li {
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    margin-bottom: 15px;
}

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

h1 {
    font-size: 35px;
    line-height: 45px;
    margin-bottom: 10px;
}

h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-transform: uppercase;
    line-height: 35px;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 28px;
}

h4 {
    font-size: 16px;
}

main li {
    list-style: disc;
    margin-left: 15px;
}

strong {
    font-weight: 500;
    font-size: 16px;
    font-weight: 600;
}

.line {
    background-color: #000;
    width: 50px;
    height: 3px;
    margin-bottom: 25px;
}


/*-----------NAVI-----------*/

.logo {
    position: relative;
    width: 500px;
    height: auto;
    margin-bottom: 20px;
}

nav {
    position: fixed;
    width: 100%;
    z-index: 101;
    top: 0;
    text-align: right;
    padding: 22px 0;
    z-index: 100;
}

nav ul {
    margin-right: 5%;
    text-align: center;

}

nav ul li {
    display: inline-block;
    margin: 0 0.5%;
    color: #fff;
    text-transform: uppercase;

}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

nav ul li strong {
    color: #fff;
    font-weight: 600;
}

nav ul li a:hover {
    border-bottom: 2px solid #fff;
}

.navi {
    display: none;
}

.burger-nav {
    position: fixed;
    right: 0;
    top: -6px;
    color: #fff;
    z-index: 9999;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-size: 40px;
    cursor: pointer;
    transition: all .4s ease-in-out;
    background-color: var(--grau);
    padding: 16px 21px 21px 19px;
}

.burger-nav b {
    transition: all .4s ease-in-out;
    float: left;
    margin-left: 0;
    font-family: 'Raleway';
    font-style: normal;
}

.burger-nav-anim {
    top: -5px;
    color: #fff;
}

.burger-nav-anim b:first-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger-nav-anim b:nth-of-type(2) {
    opacity: 0;
}

.burger-nav-anim b:last-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-left: -80%;
}

.full-screen-nav {
    position: fixed;
    z-index: 9998;
    width: 100%;
    height: 100vh;
    background: var(--grau);
    display: table;
    visibility: hidden;
    transition: all .4s ease-in-out;
    opacity: 0;
}

.full-screen-nav ul {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.full-screen-nav ul li a {
    padding: 20px;
    display: block;
    font-size: 30px;
    color: #fff;
    transition: all .4s ease-in-out;
    text-decoration: none;
}

.fadeIn {
    opacity: 1 !important;
    visibility: visible !important;
}

.fadeUp {
    opacity: 1 !important;
    margin-top: 0 !important;
}


/*-----------ASIDE-----------*/

aside img {
    position: fixed;
    width: 35px;
    padding: 10px;
    z-index: 999;
    left: 0;
    transition: 0.5s;
}

aside img:hover {
    background-color: var(--grau);
}

.uhr {
    top: 150px;
}

.phone {
    top: 220px;
}

.mail {
    top: 290px;
}

/*-----------HEADER-----------*/

header {
    height: 100vh;
    min-height: 500px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: right center;
    position: relative;
}

#header1 {
    background: url("../images/header.webp") no-repeat;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

#header2 {
    background: url("../images/header2.webp") no-repeat;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

#header3 {
    background: url("../images/header3.webp") no-repeat;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

#stoerer1 {
    position: absolute;
    top: 30vh;
    left: 60px;
    z-index: 99;
    text-align: center;
}


#stoerer1 .btn:hover {
    background-color: var(--grau);
}

#stoerer2 {
    position: absolute;
    left: 0%;
    width: 90%;
    bottom: 0vh;
    padding: 40px 5%;
    text-align: center;
    color: #fff;
}


#stoerer3 {
    background-image: url("../images/ingenieurbuero-niesmann-planung.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 45dvh;
}

#stoerer4 {
    background-image: url("../images/ingenieurbuero-niesmann-konstruktion.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 45dvh;
}

#stoerer5 {
    background-image: url("../images/ingenieurbuero-niesmann-planung-am-pc.webp");
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    height: 45dvh;
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    width: 80%;
    left: 10%;
    transform: translate(-0%, -50%);
    text-align: center;
}

#stoerer3 h2 {
    color: #fff;
}

/*-----------AUFBAU-----------*/

html {
    scroll-behavior: smooth;
}

.content {
    display: flex;
    width: 100%;
}

.content2 {
    display: flex;
    width: 100%;
}

.col {
    margin: 0 auto;
    text-align: center;
}

.col-text {
    margin: 0 auto;
    position: relative;
}

.col-bild {
    width: 50%;
    margin: 0 auto;
    display: flex;
}

.col-text img {
    width: 50%;
    height: auto
}

.col-bild img {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 900px;
}

.col-text {
    width: 30%;
    margin: 100px 10% 100px 8%;
    padding-left: 2%;
}

#uebermich .col-text {
    border-left: 3px solid var(--blau);
}

#leistungen .col-text {
    border-left: 3px solid var(--orange);
}

#infos .col-text {
    border-left: 3px solid var(--lila);
}

.icon {
    position: absolute;
    z-index: -1;
    right: 2%;
    bottom: 2%;
}

.line {
    position: absolute;
    width: 5px !important;
    height: auto !important;
    left: 10%;
}

.col-text img {
    width: 300px;
}



.btn {
    color: #fff;
    padding: 5px 30px;
    transition: 0.5s;
}

.btn:hover {
    background-color: #6d6d6d
}

.btn2 {
    background-color: #fff;
    padding: 5px 30px;
    transition: 0.5s;
}

.btn2:hover {
    background-color: #6d6d6d;
    color: #fff;
}

::-moz-selection {
    background: #356769;
    color: #fff;
}

::selection {
    background: #356769;
    color: #fff;
}


/*-----------ÜBER MICH-----------*/

#uebermich .col:nth-of-type(2) {
    margin-top: 55px;
}


/*-----------LEISTUNGEN-----------*/

#leistungen, #impressum {
    background-color: var(--grau);
    color: #fff;
}


#impressum {background-color: var(--grau)}
#impressum a {color: #fff; text-decoration: underline;}

/*-----------FOOTER-----------*/

footer {
    padding: 120px 0;
    background-color: var(--grau)
}

footer p,
footer h2,
footer h3,
footer a {
    color: #fff;
    text-align: left;
}

footer a {
    text-decoration: underline;
}

.landingpages{
    background-color: #09B0B8;
    padding: 30px 5%;
}

.landingpages ul {
    display: flex;
    flex-wrap: wrap;
    color: #fff;    
    text-align: left;
}

.landingpages a {
    color: #fff;
    font-weight: 600;
}
.landingpages ul li {
    padding-right: 20px;
}


/*-----------POPUP-----------*/

.popup-style {
    margin: 0;
    width: 80%;
    min-height: 20px;
    padding: 80px 5%;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    transform: scale(1)
}

.popup-style a {
    color: #1B5D84
}

.popup-style a:hover {
    opacity: 0.8;
    text-decoration: none
}

.popup-style h4 {
    color: #000
}

.popup-style p {
    color: #000;
    text-align: left;
}

.popup-style h4 + p {
    padding-top: 1rem
}

button {
    margin: 0;
    padding: 0;
    background: none;
    border: none
}

.close-popup {
    transition: all 1s ease;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    position: fixed;
    top: 12px;
    right: 15px
}

.close-popup:hover i {
    color: #020D1A
}


/*Kontakt*/

.formstyle{
    width: 100%;
    height: 800px;
    border: none;
}


/*LANDINGPAGE*/

#landingpage {
    background-color: rgb(234, 237, 238);
}

#landingpage article *{
    box-sizing: border-box;
}

#landingpage article img {
    max-width: 100%;
    margin-bottom: 20px;
    margin-top: 10px;
}

#landingpage .container {
    margin: 0;
    width: 100%;
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    position: static;
    text-align: left;
}

#landingpage .wrapper{
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
    padding: clamp(20px, 5%, 60px);
    text-align: left;
}

#landingpage h1,
#landingpage h2,
#landingpage h3{
    hyphens: auto;
}

#landingpage h1 {
    color: #09b0b8;
    font-size: 30px;
    line-height: 120%;
    font-weight: 600;
}

#landingpage h2{
    color: #09b0b8;
    text-transform: none;
    line-height: 120%;
    margin-bottom: 20px;
    font-weight: 600;
}

#landingpage h3{
    color: #09b0b8;
    text-transform: none;
    margin-bottom: 15px;
    line-height: 120%;
    font-weight: 600;
}

#landingpage h4{
    color: #09b0b8;
    text-transform: none;
    margin-bottom: 10px;
    font-weight: 600;
}

#landingpage small{
    color: var(--grau);
    font-weight: 400;
    font-size: 70%;
    line-height: 140%;
    display: inline-block;
}

#landingpage b {
    font-weight: 600;
}

#landingpage .btn {
    display: inline-block;
    background-color: #09B0B8;
    padding: 10px 20px;
    margin-top: 10px;
}

/*-----------RESPONSIVE-----------*/

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

    .logo {
        position: relative;
        width: 300px;
        height: auto;
    }

    header,
    .puffer1,
    .puffer2 {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 25px;
        line-height: 30px;
    }

    h1 b {
        font-size: 25px;
    }

    #header1, #header2, #header3 {
        height: 75vh;
    }

    #stoerer1 {
        top: 20vh;
        background-color: rgba(255, 255, 255, 0.7);
        padding: 20px 25px
    }

    nav {
        background: none;
        box-shadow: 0 0 0;
    }

    nav ul {
        display: none;
    }

    .navi {
        display: block;
    }

    main {
        text-align: center;
    }
    
    main li {list-style-position: inside;}

    .col {
        width: 80%;
        margin-left: 10%;
    }

    .col:nth-of-type(2) {
        padding: 40px 0 0;
    }

    .col-bild {
        width: 100%;
        height: 400px;
    }

    .col-text {
        width: 80%;
        border: none;
    }

    #leistungen .col-text {
        border: none;
    }

    #uebermich .content:nth-of-type(1), #leistungen .content:nth-of-type(1), #infos .content:nth-of-type(1) {
        flex-direction: column-reverse;
    }

    .content {
        flex-direction: column;
    }
}

@media screen and (max-width: 720px) {
    h1 {
        font-size: 18px;
        line-height: 140%;
    }

    #header1 {
        background-position: -800px center;
        position: static;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    #header1 #stoerer1,
    #header1 #stoerer2{
        position: static;
    }

    #landingpage h1{
        font-size: 22px;
    }

    #landingpage h2{
        font-size: 20px;
    }

    #landingpage h3{
        font-size: 18px;
    }
}

@media screen and (max-width: 500px) {
    #header1 {
        height: 100vh;
    }
}

@media screen and (max-width: 600px) {
    .logo {
        width: 200px;
    }

    aside img {
        width: 20px;
    }
}

@media screen and (max-height: 500px){
    h1 {
        font-size: 20px;
        line-height: 140%;
    }
}