@import url("reset.css");

.clear {
    clear: both;
}

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

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

body {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4em;
}

body a {
    text-decoration: none;
    color: black;
}

body b {
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
}

/*+-+-++-+-+-+-+-+-+--+ header +-++--++-+--++*/

header {
    height: 100vh;
    background: url(../images/header.jpg) no-repeat center center /cover;
    background-attachment: fixed;
    position: relative;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4efe9;
    z-index: 999;
    position: fixed;
    width: 100%;
    padding: 5px 7%;
    -webkit-box-shadow: 0px 10px 19px -12px rgba(96, 150, 140, 0.44);
    -moz-box-shadow: 0px 10px 19px -12px rgba(96, 150, 140, 0.44);
    box-shadow: 0px 10px 19px -12px rgba(96, 150, 140, 0.44);
    box-sizing: border-box
}

.navigation ul li {
    display: inline;
    margin-right: 20px;
    transition: 0.3s;
}

.navigation a:hover {
    color: #61998f;
    transition: 0.3s;
}

.button {
    border: 3px solid white;
    padding: 10px 17px;
    color: white;
    font-size: 20px;
    transition: 0.3s;
}

.button:hover {
    background: rgba(255, 255, 255, 0.8);
    color: black;
    transition: 0.3s;
}

#logo {
    position: absolute;
    bottom: 300px;
    left: 50%;
    margin-left: -258.5px;
}

header .button {
    position: absolute;
    bottom: 250px;
    left: 50%;
    margin-left: -84.95px;
}

#imphead {
    height: 0vh;
}

#direktnav {
    display: flex;
    align-content: center;
}

#datenschutz-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
}

#datenschutz-nav li {
    background: #62988F;
    color: white;
    display: inline-block;
    margin-right: 10px;
    padding: 5px;
    text-align: center;
    border-radius: 3px;
    transition: 0.3s;
}

#datenschutz-nav li:hover {
    background: #477069;
    transition: 0.3s;
}

#datenschutz-nav li a {
    color: white;
}

/*+-+-++-+-+-+-+-+-+--+ uber uns +-++--++-+--++*/

section {
    padding: 80px 7%;

}

#ueber-mich {
    background: url(../images/holz-textur.jpg) no-repeat center center /cover;
    background-attachment: fixed;
}

.wrapper {
    width: 100%;
    padding: 80px 7%;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    -webkit-box-shadow: 0px 10px 20px -2px rgba(48, 48, 48, 0.41);
    -moz-box-shadow: 0px 10px 20px -2px rgba(48, 48, 48, 0.41);
    box-shadow: 0px 10px 20px -2px rgba(48, 48, 48, 0.41);
    box-sizing: border-box
}

.wrapper a {
    color: #62988F;
}

#ueber-mich .wrapper {
    background: #f4efe9;
}

.col {
    width: 47%;
}

h1,
h2 {
    border: 3px solid black;
    padding: 10px 17px!important;
    color: black;
    font-size: 20px;
    text-align: center;
    width: 180px;
    margin-bottom: 30px;
    text-transform: uppercase;
    box-sizing: border-box
}

.fact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.fact p {
    text-transform: uppercase;
}

.fact img {
    margin-right: 20px;
}

/*-+-+-+--+-+-+-+-+-+-+ Leistungen +-+--+++-+-+-+-+-+-++-*/

#leistungen {
    background: #f4efe9 url(../images/hg-stadt.png) no-repeat center bottom;
    background-size: 100% auto;
}

#leistungen .wrapper {
    box-shadow: none;
}

/*-+-+-+--+-+-+-+-+-+-+ Refernezen +-+--+++-+-+-+-+-+-++-*/

#referenzen {
    background: url(../images/marmor-textur.jpg) no-repeat center center /cover;
    background-attachment: fixed;
    color: white;
}

#referenzen h2 {
    color: white;
    border-color: white
}

#referenzen .wrapper {
    flex-wrap: wrap;
    box-shadow: none;
}

#margin {
    margin-bottom: 30px;
}

#gallery {
    width: 100%;
}

.slider div img {
    width: 90%;
    border: 3px solid white;
    margin: 0 auto;
}

.bx-wrapper .bx-prev {
    left: -40px;
    background: url(../images/zurueck.png) no-repeat center center;
}

.bx-wrapper .bx-pager {
    display: none;
}

.bx-wrapper {
    box-shadow: none;
    border: none;
    background: none;
    text-align: center;
    display: flex;
    justify-content: center;
}

.bx-wrapper .bx-next {
    right: -40px;
    background: url(../images/weiter.png) no-repeat center center;
}

.bx-wrapper .bx-controls-direction a {
    width: 28px;
    height: 28px;
}

/* Accordion styles */

input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tabs {
    overflow: hidden;
}

.tab {
    width: 100%;
    color: white;
    overflow: hidden;
}

.tab-label {
    display: flex;
    justify-content: space-between;
    border: 3px solid black;
    padding: 10px 17px;
    color: black;
    font-size: 20px;
    transition: 0.3s;
    margin-bottom: 20px;
}

.tab-label:hover {
    background: #62988f;
    color: white;
}

.tab-label::after {
    content: "";
    background: url(../images/plus.png) no-repeat;
    width: 22px;
    height: 22px;
    transition: all 0.35s;
}

.tab-content {
    max-height: 0;
    transition: all 0.3s;
    color: black;
}

.tab-close {
    display: flex;
    justify-content: flex-end;
    padding: 1em;
    font-size: 0.75em;
    background: #2c3e50;
    cursor: pointer;
}

.tab-close:hover {
    background: #62988f;
    color: white;
    transition: 0.3s;
}

input:checked + .tab-label {
    background: #62988f;
    color: white;
}

input:checked + .tab-label::after {
    content: "";
    background: url(../images/minus.png) no-repeat;
    width: 22px;
    height: 22px;
    transition: all 0.35s;
}

input:checked ~ .tab-content {
    max-height: 100vh;
}

/*-+-+-+--+-+-+-+-+-+-+ Kontakt +-+--+++-+-+-+-+-+-++-*/

#kontakt, #impressum {
    background: url(../images/sandstein-textur.jpg) no-repeat center center /cover;
    background-attachment: fixed;
}

#kontakt .wrapper, #impressum .wrapper {
    background: #f4efe9;
}

#impressum .wrapper{
    height: 600px;
    align-items: center;
}

.middle {
    display: flex;
    align-items: center;
}

.middle img {
    margin-right: 10px;
}

 table tr td:nth-of-type(2) {
    padding-left: 20px;
}

table tr td {
    padding-bottom: 7px;
}

#frame{
    width: 100%;
    height: 900px
}

#kontakt a:hover{
    text-decoration: underline
}


/*-+-+-+--+-+-+-+-+-+-+ SIDENAV +-+--+++-+-+-+-+-+-++-*/

.sidenav {
    height: 220px;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    background-color: #F4EFE9;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align: left;
    -webkit-box-shadow: 0px 10px 20px -2px rgba(48, 48, 48, 0.41);
    -moz-box-shadow: 0px 10px 20px -2px rgba(48, 48, 48, 0.41);
    box-shadow: 0px 10px 20px -2px rgba(48, 48, 48, 0.41);
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 20px;
    color: black;
    display: block;
    transition: 0.3s;

}

.sidenav a:hover {
    color: #62988F;
}

#resp-nav {
    display: none;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

@media screen and (max-width: 800px) {
    .wrapper {
        flex-wrap: wrap;
    }

    #ueber-mich,
    #referenzen,
    #kontakt {
        background-attachment: scroll;
    }

    .col {
        width: 100%;
    }

}

@media screen and (max-width: 660px) {
    #hauptnav {
        display: none
    }

    #resp-nav {
        display: inline-block;
    }

    header {
        height: 70vh;
        background-attachment: scroll;
    }

    #logo {
        bottom: 100px;
        width: 95%;
        margin: 0;
        left: 0;
    }

    #architekt {
        display: none;
    }

    section {
        padding: 0;
        overflow: hidden;
    }

    #ueber-mich .wrapper {
        background: url(../images/holz-textur.jpg) no-repeat center center /cover;
    }

    #ueber-mich .wrapper .col {
        background: #f4efe9;
        padding: 30px;
        border-radius: 10px;
    }

    .wrapper {
        border-radius: 0;
        overflow: hidden;
    }

    #nomargin {
        padding-bottom: 0 !important;
        ;
    }

    .bx-wrapper .bx-next {
        right: -20px;
    }

    .bx-wrapper .bx-prev {
        left: -20px;
    }

    #nomargin {
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

    #nomargintop {
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
}
