/*Allgemein*/
html {
    overflow: auto;
}

.degel-blau {
    background-color: #0094ff;
}

.degel-blau2 {
    color: #0094ff;
    line-height: 15px;
}

.bg {
    height: 100%;
    width: 300%;
    position: fixed;
    z-index: -1;
    background-color: #0094ff;
}

.top-space {
    margin-top: 6.4em;
}

/*Background Change*/
.bg-1 {
    transform: rotate(170deg);
    margin: 12em -28em;
    transition: ease all 1.5s;
}

.bg-2 {
    transform: rotate(163deg);
    margin: 2em -28em;
    transition: ease all 1.5s;
}

.bg-3 {
    transform: rotate(169deg);
    margin: 18em -28em;
    transition: ease all 1.5s;
}

.bg-4 {
    transform: rotate(156deg);
    margin: -19em -28em;
    transition: ease all 1.5s;
}

.bg-5 {
    transform: rotate(195deg);
    margin: 55em -3em;
    transition: ease all 1.5s;
}

/*Navigation*/
nav .brand-logo {
    background-image: url(../img/degel-logo.png);
    background-repeat: no-repeat;
    margin-top: 35px;
    background-size: 100%;
    height: 100%;
    width: 250px;
}

nav {
    height: 100px;
    box-shadow: none;
}

nav ul a {
    font-size: 1.5rem;
    color: #000;
    display: block;
    padding: 40px 30px 0 30px;
    cursor: pointer;
}

nav ul a:hover,
nav ul li.active {
    font-weight: bold;
    background-color: transparent;
}

nav .button-collapse {
    margin: 40px 0px 0px 0px;
}
nav ul#nav-mobile li.active{
    border-right: solid 5px #0094ff;
}
nav ul#nav-mobile li.active a::before{
    content: '➤ ';
    color: #0094ff;
    padding-right: 0.5em;
}

/*Startseite*/
.mittel-container {
    margin-left: 20%;
}

/*Header*/
.header {
    font-size: 1.4em;
    padding-bottom: 0px !important;
    line-height: 1.1em;
}

/*Buttons*/
.btn {
    background-color: #0094ff;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    margin-top: 8em;
}

.btn-kontakt {
    background-color: transparent;
    border: 2px solid #0094ff;
    color: #0094ff;
    font-weight: 600;
    margin-top: 1em;
}

.btn-start,
.btn-leistungen,
.btn-ueber,
.btn-back {
    position: absolute;
    top: 67%;
    right: 15.1%;
}

.btn:hover {
    background-color: #0094ff;
}


/*Corner*/
.corner {
    background-color: #0094ff;
    height: 2.3em;
    width: 2.3em;
    -webkit-clip-path: polygon(0 0, 0% 100%, 100% 0);
    clip-path: polygon(0 0, 0% 100%, 100% 0);
}

.nr {
    padding: 2px;
    font-size: 14px;
    padding: 0px 0px 0px 6px;
}


/*Cards*/
.card-title {
    font-weight: 500 !important;
    font-size: 20px !important;
    padding-top: 10px;
}

.tiles {
    margin: 1.8em 0em;
}

.t1 {
    width: 60%;
    cursor: pointer;
    transition: ease all 0.5s;
}

.t2 {
    width: 60%;
    margin: 1.5em auto !important;
    cursor: pointer;
    transition: ease all 0.5s;
}

.t3 {
    width: 60%;
    cursor: pointer;
    transition: ease all 0.5s;
}

.t1:hover,
.t2:hover,
.t3:hover {
    transform: scale(0.95);
}

.leistung1 {
    background-image: url(../img/1.png);
    background-size: contain;
    height: 6em;
    width: 6em;
    margin: auto;
}

.leistung2 {
    background-image: url(../img/2.png);
    background-size: contain;
    height: 6em;
    width: 6em;
    margin: auto;
}

.leistung3 {
    background-image: url(../img/3.png);
    background-size: contain;
    height: 6em;
    width: 6em;
    margin: auto;
}

.leistung1-1 {
    background-image: url(../img/1.png);
    background-size: contain;
    height: 6em;
    width: 6em;
    margin: -0.5em 1em;
}

.leistung2-1 {
    background-image: url(../img/2.png);
    background-size: contain;
    height: 6em;
    width: 6em;
    margin: -0.5em 1em;
}

.leistung3-1 {
    background-image: url(../img/3.png);
    background-size: contain;
    height: 6em;
    width: 6em;
    margin: -0.5em 1em;
}


/*Über*/
.ueber-img {
    background-image: url(../img/Degel_06.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 76%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 76%, 0 100%);
    width: 100%;
    height: 500px;
}

.img-pad {
    margin-left: 2em;
}

.no-margin {
    margin-top: 0px;
}


/*Kontakt*/

.icon-phone {
    background-image: url(../img/phone.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 1.6em;
    width: 1.6em;
    float: left;
    margin-right: 1em;
    margin-top: 0.7em;
}

.icon-mail {
    background-image: url(../img/email-fill.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 1.6em;
    width: 1.6em;
    float: left;
    margin-right: 1em;
    margin-top: 0.2em;
}

.kontakt-img {
    background-image: linear-gradient(to right, black 0%, white 100%), url(../img/munich.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: saturation;
    width: 100%;
    height: 550px;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 43%, 0 89%);
    clip-path: polygon(0 0, 100% 0, 100% 43%, 0 89%);
}


/*Impressum*/

.icon-close {
    background-image: url(../img/close.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 1.6em;
    width: 1.6em;
    position: absolute;
    top: 63%;
    right: 15.1%;
    cursor: pointer;
}

.imp-pos1,
.imp-pos2 {
    margin-top: 10em;
}

.imp-pos2 {
    margin-top: 25.5em;
}


/*Footer*/
footer.page-footer {
    padding: 0px;
    width: 100%;
    position: fixed;
    bottom: 0px;
    background-color: #0094ff;
}

.page-footer .footer-copyright {
    height: 30px;
    font-size: 12px;
}
a img {
	border:0;
	cursor:pointer;
}
a img:hover {
	opacity:0.7;
	transition: 0.4s ease all;
}

/*Media Queries*/
@media screen and (max-width: 1880px) {
    .bg-5 {
        transform: rotate(195deg);
        margin: 47em -3em;
    }
}
@media screen and (max-width: 1730px) {
    .bg-4 {
        transform: rotate(165deg);
        margin: 10em -22em;
    }
}

@media screen and (max-width: 1665px) {
    .card-title {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 1635px) {
    .bg-3 {
        transform: rotate(170deg);
        margin: 26em -28em;
    }
}

@media screen and (max-width: 1550px) {
    .bg-1 {
        transform: rotate(175deg);
        margin: 24em -28em;
    }
}

@media screen and (max-width: 1425px) {
    .bg-3 {
        transform: rotate(175deg);
        margin: 37em -28em;
    }
}

@media screen and (max-width: 1420px) {
    .bg-5 {
        transform: rotate(190deg);
        margin: 35em -3em;
    }
    .imp-pos1{
        margin-top: 5em;
    }
    .imp-pos2{
        margin-top: 17.6em;
    }
    .icon-close {
    top: 56%;
}
}

@media screen and (max-width: 1350px) {
    .btn-start,
    .btn-leistungen,
    .btn-ueber,
    .btn-back {
        position: inherit;
        margin-top: 1em;
        margin-bottom: 2em;
    }
    .bg-5 {
        transform: rotate(180deg);
        margin: 10em -3em;
    }
    .icon-close {
    top: 35%;
    }
}

@media screen and (max-width: 1295px) {
    .bg-4 {
        transform: rotate(165deg);
        margin: 18em -22em;
    }
}

@media screen and (max-width: 1245px) {
    .bg-3 {
        transform: rotate(175deg);
        margin: 38.5em -28em;
    }
}

@media screen and (max-width: 1100px) {
    .card-title {
        font-size: 14px !important;
    }
}

@media screen and (max-width: 1065px) {
    .imp-pos2{
        margin-top: 13.2em;
    }
    .icon-close {
    top: 35%;
    }
}

@media screen and (max-width: 890px) {
    .bg-4 {
        transform: rotate(156deg);
        margin: 18em -22em;
    }
}

@media screen and (max-width: 825px) {
    .card-title {
        font-size: 12px !important;
    }
}

@media screen and (max-width: 735px) {
    .bg {
        display: none;
    }
    .btn-start,
    .btn-leistungen,
    .btn-ueber,
    .btn-back {
        background-color: transparent;
        border: 2px solid #0094ff;
        color: #0094ff;
    }
    .imp-pos1,
    .imp-pos2 {
        color: #000 !important;
        width: 100% !important;
        margin: 0px;
    }
    .icon-close {
        background-image: url(../img/close2.png);
        top: 25.4%;
    }
}

@media screen and (max-width: 600px) {
    .kontakt-img {
        display: none;
    }
    .img-pad {
        margin-left: 0em;
    }
    .t1,
    .t2,
    .t3 {
        float: none !important;
        margin-left: 20%;
    }
    .card-title {
        font-size: 20px !important;
    }
    .leistung1-1,
    .leistung2-1,
    .leistung3-1 {
        display: none;
    }
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .kontakt-img{
        display:none;
    }
    .corner{
        background-color: #fff;
    }
    .nr{
        color: #000;
    }
}