
.img-fluid {
    width: 100%;
    height: auto;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: black;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto';
    font-weight: 300;
}

h2 {
    text-transform: uppercase;
    font-size: calc(30px * 0.8);
}
/*
h3 {
    font-size:22px;
}

h4 {
    font-size: calc(18px * 0.8);
}

h5 {
    font-size: calc(12px * 0.8);

}

h6 {
    font-size: calc(8px * 0.8);

}
*/
p {
    font-weight: 300;
    color: #444444;
}

li {
    margin-bottom: 0.8em;
    font-weight: 300;
    color: #444444;
}

.text-center {
    text-align: center;
}

.menu {
    height: calc(75px * 0.8);
    width: 100%;
    text-transform: uppercase;
    z-index: 99;
    background-color: white;
    text-align: center;
    /* box-shadow: calc(0 1px * 0.8) 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); */
    border-bottom: calc(1px * 0.8) #ececec solid;
}

.menu.free {
    position: absolute;
    bottom: 0;
}

.menu.attached {
    position: fixed;
    top: 0;
}

.menu h4 {
    margin: 0;
    line-height: calc(75px * 0.8);
    font-family: 'Futura PT';
}

.menu a {
    color: #212121;
    text-decoration: none;
    display: block;
}

.menu a.ueber_uns.selected {
    color: #126b93;
}

.menu a.leistungen.selected {
    color: #126b93;
}

.menu a.projekte.selected {
    color: #126b93;
}

.menu a.geschaeftsleitung.selected {
    color: #126b93;
}

.menu a.kontakt.selected {
    color: #126b93;
}


.menu .col-2:hover {
    background-color: #f0f0f0;
}

.menu svg {
    position: absolute;
    width: calc(45px * 0.8);
    height: calc(45px * 0.8);
    top: calc(12.5px * 0.8);
    left: calc(12.5px * 0.8);
}

.menu svg path {
    transition: fill 150ms ease-in-out;
}

.menu.startseite svg path {
    fill: #212121;
}

.menu.startseite p {
    color: #212121;
}

.menu.ueber_uns svg path {
    fill: #126b93;
}

.menu.ueber_uns p {
    color: #126b93;
}

.menu.leistungen svg path {
    fill: #126b93;
}
.menu.leistungen p {
    color: #126b93;
}

.menu.projekte svg path {
    fill: #126b93;
}
.menu.projekte p {
    color: #126b93;
}

.menu.geschaeftsleitung svg path {
    fill: #126b93;
}
.menu.geschaeftsleitung p {
    color: #126b93;
}

.menu.kontakt svg path {
    fill: #616161;
}
.menu.kontakt p {
    color: #616161;
}


article {
    min-height: 100vh;
    position: relative;
    background-color: #f5f8fa !important;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

article .container {
    position: relative;
    padding: 3%;
    /* box-shadow: calc(0 1px * 0.8) 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); */
    /* border-radius: calc(15px * 0.8); */
    border: calc(1px * 0.8) solid rgba(0,0,0,0.1);
    background-color: white;
    z-index: 1;
}

.center {
    position: absolute;
    top: 45%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50%);
}

hr {
    width: 100%;
    /* border-radius: calc(1px * 0.8); */
    margin: calc(30px * 0.8) 0 !important;
    /* background-color: black; */
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: 1px #ececec solid !important;
    color: transparent !important;
}

#startseite {
    padding: 0;
    height: 100vh;
    color: #fafafa;
}

#startseite .notification {
    position: absolute;
    height: 60px;
    background-color: #fafafa;
    border-radius: 10px;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    text-decoration: none;
    transition: opacity 500ms ease-in, top 500ms ease-out;
    opacity: 0;
    max-width: 95%;
    overflow: hidden;
}

#startseite .notification:hover {
    text-decoration: underline;
}

#startseite .notification.active {
    opacity: 1;
    top: 85%;
}

@media (max-width: 400px) {
    #startseite .notification.active {
        opacity: 1;
        top: 80% !important;
    } 
}

#startseite .notification .img {
    position: absolute;
    height: 40px;
    width: 40px;
    margin: 10px;
    border-radius: 5px;
    background-size: cover;
    background-position: center;
}

#startseite .notification h4 {
    color: #212121;
    line-height: 40px;
    font-size: 20px;
    margin: 10px;
    margin-left: 60px;
    margin-right: 20px;
    font-weight: 400;
}

#startseite .notification .dots {
    position: absolute;
    top: 0;
    right: -5px;
}

#startseite .background {
    background-color: #0978a9;
	background-image: url(../images/back.jpg);
/*	background: #0978a9 url(../images/01-Mindermann-Fassade-West_sw-1500x1000.jpg) no-repeat fixed center center;*/
}

#startseite .background .square {
    background-color: #126b93;
}

#ueber_uns .background {
    background-color: #eeeeee;
}

#ueber_uns .background .square {
    background-color: #dddddd;
}

#leistungen .background {
    background-color: #0978a9;
}

#leistungen .background .square {
    background-color: rgb(60, 74, 82);
}

#projekte .background {
    background-color: #eeeeee;
}

#projekte .background .square {
    background-color: #fdfdfd;
}

#geschaeftsleitung .background {
    background-color: #0978a9;
}

#geschaeftsleitung .background .square {
    background-color: #126b93;
}


.background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.background .square {
    position: relative;
    display: inline-block;
    width: calc(4vw + 4vh);
    height: calc(4vw + 4vh);
    border-radius: calc(0.5vw + 0.5vh);
    margin: calc(10px * 0.8);
    /* box-shadow: calc(0 1px * 0.8) 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); */
    /* border: calc(2px * 0.8) solid #fafafa; */
    opacity: 0;
}
 .background .square.visible {
    animation: colorchange 5s ease-in-out 1s infinite;
}

 .background .square p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: calc(90px * 0.8);
    font-weight: 900;
}

.background .square.green {
   background-color: fafafa;
}

@keyframes colorchange
{
    0% {
        /* background-color: #0978a9; */
        opacity: 0;
    }
    50% {
        /* background-color: #126b93; */
        opacity: 0.75;
    }
    100% {
        /* background-color: #0978a9; */
        opacity: 0;
    }

}

.perspective {
    position: absolute;
    transform: rotateX(60deg) rotateY(0deg) rotateZ(-45deg);
    top: calc(-50vw);
    left: calc(-50vh);
    width: calc(100vh + 100vw);
    height: calc(100vh + 100vw);
}

.perspective:nth-child(2) {
    top: 25%;
}

.perspective:nth-child(3) {
    top: 50%;
}

.perspective:nth-child(4) {
    top: 75%;
}

#startseite h1 {
    margin-bottom: 0;
    font-family: 'Roboto';
    font-weight: 900;
    font-size: calc(4.5vh + 4.5vw);
}

#startseite h2 {
    font-size: calc(1.5vh + 1.5vw);
    font-family: 'Futura PT';
    font-family: 'Roboto';
}

#leistungen h2 {
    color: #126b93;
}

#leistungen img {
    border-radius: calc(0.5vh + 0.5vw);
}


#geschaeftsleitung h2 {
    color: #126b93;
}

#projekte h2 {
    color: #126b93;
}

#ueber_uns h2 {
    color: #126b93
}

#ueber_uns a {
    color: #212121;
    text-decoration: none;
}

#kontakt {
    background-color: #616161 !important;
    min-height: 70vh;
}

#kontakt p, #kontakt h2, #kontakt h3, #kontakt h4 {
    color: #fafafa !important;
}

#kontakt .container {
    background-color: transparent;
    border: none;
}

#kontakt hr {
    border-color: #fafafa;
}

#leistungen {
    background-color: #E65100;
}

#geschaeftsleitung  {
    background-color: #126b93;
}

#kontakt a {
    color: #fafafa;
}

#kontakt .container {
    box-shadow: none;
}


#projekte {
    background-color: #236a2b;
}

#projekte img {
    border-radius: 15px;
    width: 100%;
}

.spacing-vert-1 {
    height: calc(1vh + 1vw);
}

.spacing-vert-2 {
    height: calc(2vh + 2vw);
}

.spacing-vert-3 {
    height: calc(3vh + 3vw);
}

.spacing-vert-4 {
    height: calc(4vh + 4vw);
}

.spacing-vert-5 {
    height: calc(5vh + 5vw);
}

.spacing-vert-6 {
    height: calc(6vh + 6vw);
}

.spacing-vert-7 {
    height: calc(7vh + 7vw);
}

.spacing-vert-8 {
    height: calc(8vh + 8vw);
}

#ueber_uns {
    min-height: 0;
    background-color: #fafafa;
}

#ueber_uns .container {
    /* box-shadow: none; */
}

#ueber_uns svg {
    width: 60%;
    margin-left: 20%;
    margin-top: 5%;
}

#ueber_uns svg path {   
    fill: none;
    stroke: #0978a9;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    /* animation: dash 5s ease-in-out forwards; */
    stroke-width: 2;
}

@keyframes dash {
    80% {
        stroke-dashoffset: 170;
        fill: transparent;
    }
    100% {
        stroke-dashoffset: 0;
        fill: #0978a9;
    }
  }

#geschaeftsleitung img {
    width: 100%;
    border-radius: calc(15px * 0.8);
    /* filter: grayscale(1); */
    transition: filter 150ms ease-in;
    max-width: 40vw;
}

#geschaeftsleitung img.active {
    filter: grayscale(0);
}

#geschaeftsleitung .text.active {
    display: flex;
}

#geschaeftsleitung .text {
    top: 0;
    display: none;
}

#geschaeftsleitung .wrapper {
    position: relative;
}

.left-bar {
    position: absolute;
    width: 1%;
    height: 100%;
    max-width: calc(5px * 0.8);
    /* border-top-right-radius: calc(5px * 0.8);
    border-bottom-right-radius: calc(5px * 0.8); */
}

#ueber_uns .left-bar {
    background-color: #0978a9;
}

#leistungen .left-bar {
    background-color: #0978a9;
}

#projekte .left-bar {
    background-color: #0978a9;
}

#geschaeftsleitung .left-bar {
    background-color: #0978a9;
}

.menu p {
    display: none;
}

@media (max-width: 889.6px) {
    
    .menu .col-2 {
        display: block !important;
        flex: none;
        max-width: 100%;
    }

    .menu p {
        position: absolute;
        font-size: calc(50px * 0.8);
        top: calc(2.5px * 0.8);
        margin: 0;
        right: calc(12.5px * 0.8);
        cursor: pointer;
        display: block;
    }

    .menu {
        max-height: calc(1000px * 0.8);
        height: auto !important;
        overflow: hidden;
        transition: max-height 300ms ease-in;
    }

    .menu .row {
        margin-top: calc(75px * 0.8);
    }
}

@media (min-width: 960px) {
    .menu .container {
      max-width: calc(1140px * 0.8);
    }
}

@media (max-width: 700px) {
    .perspective {
        display: none;
    }

    #startseite .perspective {
        display: block;
    }
}

#projekte .col-lg-4 {
    padding-right: 30px;
    padding-left: 30px;
}

@media (max-width: 1000px) {
    #projekte .col-lg-4 {
        padding-right: 15px;
        padding-left: 15px;
    }
}

#projekte .text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1000ms ease-in-out;
}

#projekte .active .text{
    max-height: 4000px;
}

.projekte-entry {
    position: relative;
}

.hidden-projekt {
    display: none;
}

.perspective {
    display: none;
}

.background-startseite .startseite .perspective {
    display: block;
}

.background-ueber_uns .ueber .perspective {
    display: block;
}

.background-leistungen .leistungen .perspective {
    display: block;
}

.background-projekte .projekte .perspective {
    display: block;
}

.background-geschaeftsleitung .geschaeftsleitung .perspective {
    display: block;
}

.background-kontakt .kontakt .perspective {
    display: block;
}