@import url("reset.css");

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

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

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

/* open-sans-condensed-300 - latin */
@font-face {
    font-family: 'Open Sans Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/open-sans-condensed-v15-latin-300.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('../fonts/open-sans-condensed-v15-latin-300.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/open-sans-condensed-v15-latin-300.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/open-sans-condensed-v15-latin-300.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/open-sans-condensed-v15-latin-300.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/open-sans-condensed-v15-latin-300.svg#OpenSansCondensed') format('svg');
    /* Legacy iOS */
}

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

.clear {
    clear: both;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Titillium Web';
    font-size: 15px;
    line-height: 22px;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

nav {
    background: #4C4C4C;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

nav .logo {
    width: 250px;
    position: absolute;
    margin-left: 5%;
    top: 0;
    margin-top: 5px;

}

nav .logo img {
    width: 100%;
}

nav ul {
    position: absolute;
    right: 0;
    top: 0;
    width: 725px;
    margin-top: 26px;
    margin-right: 10%;
}

nav ul li {
    float: left;
    margin-left: 25px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
}
.accordion {
  background-color: #3D3D3D;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
    margin-top: 20px;
}

.active, .accordion:hover {
  background-color: #0E1E78; 
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}

.dropdown {
    display: none;
}

header {
    background: url(../images/familie-zuhause-gluecklich.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 500px;
    padding-bottom: 150px;
}

b{
    font-weight: 700;
}

h1 {
    background: rgba(76, 76, 76, 0.63);
    color: #fff;
    width: 40%;
    padding: 3%;
    font-size: 20px;
    line-height: 28px;
    text-align: right;
    margin-left: 50%;
}

a:hover{
    opacity: 0.6;
    transition: 0.4s;
}

.bild{
    background: none!important;
    padding: 0px!important;
    height: auto!important;
    text-align: left!important
}

.bild img{
    width: 200px;
    text-align: left
}

nav a:hover{
    color: #d6d6d6
}

.landingpage{
    background: #0E1E78;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5%;
    text-align: center;
    padding-right: 5%,
}

.landingpage a{
    text-align: center;
    color: #fff;
    text-decoration: none;
}

#ueber-uns {
    padding-top: 100px;
    padding-bottom: 100px;
}

#ueber-uns .col1 {
    padding-right: 2%;
    width: 50%;
    float: left;
    height: 400px;
    display: table;
}

#ueber-uns .col1 .text {
    display: table-cell;
    vertical-align: middle;
}

#ueber-uns .col2 {
    padding-left: 2%;
    padding-right: 10%;
    width: 50%;
    float: left;
    height: 500px;
    display: table;
}

#ueber-uns .col2 img {
    width: 100%;
    border-right: 15px solid;
    border-bottom: 15px solid;
    border-color: #0E1E78;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    object-fit: cover;
}

h2 {
    font-size: 30px;
    line-height: 38px;
    font-family: 'Open Sans Condensed';
    font-weight: 700;
    padding-bottom: 20px;
    display: inline-block;
}

#ueber-uns h2 {
    color: #3D3D3D;
    border-bottom: 15px solid;
    border-color: #1D3CF7;
    padding-left: 15%;
    width: 50%;
}

#ueber-uns .col1 p {
    padding-left: 15%;
    padding-top: 50px;
}

#ueber-uns .line {
    width: 49%;
    background: #0E1E78;
    height: 5px;
}

.parallax {
    background: url(../images/treppenstufen-led-beleuchtung.jpg);
    height: 400px;
    width: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

#leistungen {
    padding-top: 100px;
}

#leistungen .row1 .col1 {
    width: 50%;
    padding-left: 10%;
    padding-right: 2%;
    float: left;
}

#leistungen img {
    width: 100%;
}

#leistungen .row1 img {
    border-bottom: 10px solid;
    border-left: 10px solid;
    border-color: #0E1E78;
    height: 600px;
    object-fit: cover;
    object-position: left;
}

#leistungen .row1 .col2 {
    padding-left: 2%;
    width: 50%;
    float: left;
    height: 550px;
    display: table;
}

#leistungen .row1 .col2 .text {
    display: table-cell;
    vertical-align: middle;
}

#leistungen .row1 h2 {
    color: #3D3D3D;
    border-bottom: 15px solid;
    border-color: #1D3CF7;
    padding-right: 10%;
    width: 100%;
}

.row1 .line {
    width: 47.5%;
    background: #0E1E78;
    height: 3px;
    right: 0;
    position: absolute;
}

#leistungen .row1 .col2 p {
    padding-right: 10%;
}

#leistungen .row1 h3 {
    padding-right: 10%;
    padding-top: 30px;
    padding-bottom: 10px;
    font-size: 20px;
}

#leistungen .row2 h3 {
    padding-top: 30px;
    padding-bottom: 10px;
    font-size: 20px;
}


#leistungen .row2 .col1 {
    width: 50%;
    padding-right: 2%;
    padding-left: 10%;
    padding-top: 50px;
    float: left;

    height: 500px;
    display: table;
}

#leistungen .row2 .col2 {
    width: 50%;
    padding-left: 2%;
    padding-right: 10%;
    padding-top: 50px;
    float: left;
}

#leistungen .row2 .col1 .text {
    display: table-cell;
    vertical-align: middle;
}

#leistungen .row2 img {
    border-right: 10px solid;
    border-bottom: 10px solid;
    border-color: #0E1E78;
    height: 550px;
    object-fit: cover;
}

#vorteile {
    padding-bottom: 100px;
    padding-top: 100px;
}

#vorteile h2 {
    color: #3D3D3D;
    border-bottom: 15px solid;
    border-color: #1D3CF7;
    padding-left: 10%;
    width: 30%;
}

#vorteile .line {
    width: 29%;
    background: #0E1E78;
    height: 3px;
    left: 0;
    position: absolute;
}

#vorteile .boxes {
    padding-left: 8%;
    padding-right: 8%;
}

#vorteile .box {
    margin-left: 2%;
    margin-right: 2%;
    float: left;
    width: 29.3%;
    margin-top: 100px;
    padding: 30px;
    background: #3D3D3D;
    color: #fff;
    text-align: center;
    height: 380px;
    display: table;
}

#vorteile .text {
    display: table-cell;
    vertical-align: middle;
}

#vorteile h3 {
    font-size: 22px;
    line-height: 28px;
    padding-bottom: 20px;
}

#weitere-leistungen {
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 100px;
    padding-bottom: 100px;
}

#weitere-leistungen h2 {
    color: #3D3D3D
}

#weitere-leistungen h3 {
    font-size: 22px;
    padding-bottom: 10px;
}

#weitere-leistungen .col1 a {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(61, 61, 61, 0.72);
    padding-top: 150px;
    height: 300px;
    font-size: 20px;
    text-decoration: none;
}

#weitere-leistungen .col1 {
    background: url(../images/frau-sitzt-am-fenster.jpg);
    width: 50%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
}

#weitere-leistungen .col2 a {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(14, 30, 120, 0.85);
    padding-top: 150px;
    height: 300px;
    font-size: 20px;
    text-decoration: none;
}

#weitere-leistungen .col2 {
    background: url(../images/haustuer.jpg);
    width: 50%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
}

#weitere-leistungen .col3 a {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(14, 30, 120, 0.85);
    padding-top: 150px;
    height: 300px;
    font-size: 20px;
    text-decoration: none;
}

#weitere-leistungen .col3 {
    background: url(../images/zimmertuer.jpeg);
    width: 50%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
}

#weitere-leistungen .col4 a {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(61, 61, 61, 0.72);
    padding-top: 150px;
    height: 300px;
    font-size: 20px;
    text-decoration: none;
}

#weitere-leistungen .col4 {
    background: url(../images/markise.jpg);
    width: 50%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
}

#weitere-leistungen .col5 a {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(61, 61, 61, 0.72);
    padding-top: 150px;
    height: 300px;
    font-size: 20px;
    text-decoration: none;
}

#weitere-leistungen .col6 {
    background: url(../images/referenzen.jpg);
    width: 50%;
    float: left;
    background-size: cover;
    background-repeat: no-repeat;
    height: 300px;
}

#weitere-leistungen .col6 a {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: rgba(14, 30, 120, 0.85);
    padding-top: 150px;
    height: 300px;
    font-size: 20px;
    text-decoration: none;
}

#weitere-leistungen .col5 {
    background: url(../images/treppenbeleuchtung.jpg);
    width: 50%;
    float: left;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    height: 300px;
}

#referenzen {
    padding-top: 100px;
    padding-bottom: 100px;
}

#referenzen h2 {
    color: #3D3D3D;
    border-bottom: 15px solid;
    border-color: #1D3CF7;
    text-align: right;
    position: absolute;
    right: 0;
    padding-right: 45%;
}

#referenzen .line {
    width: 51.5%;
    background: #0E1E78;
    height: 3px;
    right: 0;
    position: absolute;
    margin-top: 73px;
}


/* Style the tab */
.tab {
    overflow: hidden;
    margin-top: 150px;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    text-align: center;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    width: 17.7%;
    background: #ddd;
    margin-left: 1%;
    margin-right: 1%;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #0E1E78;
    color: #fff;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #0E1E78;
    color: #fff;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border-top: none;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 40px;
}


#weitere-leistungen .modal-window {
    position: fixed;
    background-color: rgba(61, 61, 61, 0.72);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

#weitere-leistungen .modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

#weitere-leistungen .modal-window > div {
    width: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    background: white;
}

#weitere-leistungen .modal-window header {
    font-weight: bold;
}

#weitere-leistungen .modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
}

#weitere-leistungen .modal-close {
    line-height: 50px;
    font-size: 20px !important;
    position: absolute;
    right: 0;
    text-align: center !important;
    top: 0;
    width: 70px;
    text-decoration: none !important;
    padding: none !important;
    background: none !important;
    padding-top: 0px !important;
    color: #000 !important;
    height: auto !important;
}

#weitere-leistungen .modal-close:hover {
    color: black;
}

#weitere-leistungen .container {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#weitere-leistungen .modal-window > div {
    border-radius: 1rem;
}

#weitere-leistungen .modal-window div:not(:last-of-type) {
    margin-bottom: 15px;
}

#weitere-leistungen small {
    color: lightgray;
}

#weitere-leistungen .btn img {
    width: 33%;
    float: left;
    padding: 10px;
    height: 300px;
    object-fit: cover;
}

#kontakt {
    color: #fff;
    background: #3D3D3D;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 10%;
    padding-right: 10%;
}

#kontakt a {
    color: #fff;
    text-decoration: underline;
}

#kontakt .col1 {
    width: 50%;
    float: left;
}

#kontakt .col2 {
    width: 50%;
    float: left;
}
#kontakt .col2 img{
    width: 50%;
}
.dse {
    position: fixed;
    bottom: 0;
    right: 0;
    background: #eee;
    padding: 5px;
    padding-right: 20px;
}

.dse a {
    color: #000;
    padding-left: 20px;
    text-decoration: none;
}

#referenzen .modal-window {
    position: fixed;
    background-color: rgba(61, 61, 61, 0.72);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 9999999;
}

#referenzen .modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    z-index: 9999999;
}

#referenzen .modal-window > div {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2em;
    z-index: 9999999;
    text-align: center;
}

#referenzen .modal-window img {
    height: 70vh;
}

#referenzen .modal-window header {
    font-weight: bold;
}

#referenzen .modal-window h1 {
    font-size: 150%;
    margin: 0 0 15px;
}

#referenzen .modal-close {
    color: #fff;
    line-height: 50px;
    font-size: 30px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none;
}

#referenzen .modal-close:hover {
    color: black;
}

#referenzen .container {
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

#referenzen .modal-window > div {
    border-radius: 1rem;
}

#referenzen .modal-window div:not(:last-of-type) {
    margin-bottom: 15px;
}

#referenzen small {
    color: lightgray;
}

#referenzen .btn img {
    width: 33%;
    float: left;
    padding: 10px;
    height: 300px;
    object-fit: cover;
}

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

@media screen and (max-width: 1330px) {
    #vorteile .box {
        height: 450px;
    }

    header {
        padding-top: 400px;
        padding-bottom: 50px;
    }
    
    .tab button {
    width: 48%;
    margin-bottom: 10px;
}
}

@media screen and (max-width: 1130px) {
    .parallax {
        height: 250px;
    }

    nav ul li a {
        font-size: 15px;
    }

    nav ul li {
        margin-left: 15px;
    }

    nav ul {
        width: 590px;
    }

    nav .logo img {
        width: 88%;
    }
            #referenzen .modal-window img {
    height: 70vh;
    width: 90%;
    object-fit: cover;
}
    
    #kontakt .col2 img {
    width: 100%;
}
}

@media screen and (max-width: 980px) {
    #referenzen .btn img {
        width: 50%;
    }

    .parallax {
        background-attachment: inherit;
    }

    #weitere-leistungen .modal-window > div {
        width: 70%;
    }

    #vorteile .box {
        height: auto;
        width: 95%;
        text-align: left;
        margin-top: 40px;
        background: rgba(61, 61, 61, 0.19);
        color: #1d1d1d;
    }

    header {
        padding-top: 300px;
        padding-bottom: 50px;
    }

    .dropbtn {
        background-color: #4C4C4C;
        color: white;
        padding: 16px;
        font-size: 24px;
        border: none;
        cursor: pointer;
        margin-right: 10px;
    }

    .dropdown {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9999;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: fixed;
        background-color: rgba(61, 61, 61, 0.94);
        min-width: 160px;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        padding-top: 10vh;
        overflow: auto;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;

    }

    .dropdown-content a {
        color: #fff;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: center
    }

    .dropdown a:hover {
        background-color: rgba(221, 221, 221, 0.06);
    }

    .show {
        display: block;
    }

    nav ul {
        display: none;
    }

    #ueber-uns .col1 {
        padding-right: 10%;
        width: 100%;
        height: auto;
    }

    #ueber-uns .col1 p {
        padding-left: 10%;
    }

    #ueber-uns h2 {
        padding-left: 10%;
    }

    #ueber-uns .col2 {
        display: none;
    }

    #leistungen .row1 .col1 {
        display: none;
    }

    #leistungen .row1 .col2 {
        padding-left: 10%;
        width: 100%;
        height: auto;
        padding-right: 0%;
    }

    #leistungen .row1 .col2 p {
        padding-right: 10%;
    }

    .row1 .line {
        width: 89%;
    }

    #leistungen .row2 .col1 {
        width: 100%;
        padding-right: 0;
        padding-left: 10%;
        height: auto;
        padding-top: 0px;
        padding-right: 10%
    }

    #leistungen .row2 .col2 {
        display: none;
    }

    h1 {
        width: 60%;
        margin-left: 30%;
    }

    #referenzen .line {
        width: 57.5%;
    }

}

@media screen and (max-width: 750px) {
    #referenzen .btn img {
        width: 100%;
    }
    
    #weitere-leistungen .col5{
        width: 100%;
    }
        #weitere-leistungen .col6{
        width: 100%;
    }


    #vorteile h2 {
        width: 50%;
    }

    #vorteile .line {
        width: 49%;
    }

    #weitere-leistungen .col1 {
        width: 100%;
    }

    #weitere-leistungen .col2 {
        width: 100%;
    }

    #weitere-leistungen .col3 {
        width: 100%;
    }

    #weitere-leistungen .col4 {
        width: 100%;
    }

    #weitere-leistungen .col3 a {
        background: rgba(61, 61, 61, 0.85)
    }

    #weitere-leistungen .col4 a {
        background: rgba(14, 30, 120, 0.83)
    }
}

@media screen and (max-width: 650px) {
    #kontakt .col1 {
        width: 100%;
        padding-bottom: 30px;
    }
    h1 {
    width: 90%;
    margin-left: 5%;
}

    #kontakt .col2 {
        width: 100%;
    }

    .tab button {
        width: 48%;
        margin-bottom: 10px;
    }

    .tabcontent {
        margin-top: 10px;
    }

    #referenzen .line {
        width: 64.5%;
    }

    #weitere-leistungen .modal-window > div {
        width: 88%;
    }
}

@media screen and (max-width: 450px) {
    .tab button {
        width: 100%;
    }

    #referenzen .line {
        width: 73.5%;
    }

    #vorteile h2 {
        width: 60%;
    }

    #vorteile .line {
        width: 59%;
    }
    .parallax {
    background-attachment: inherit;
    height: 180px;
}
    
    
}
