@import url("reset.css");

.clear {
    clear: both;
}

/* anton-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: 'Anton';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/anton-v26-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-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: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* open-sans-700 - 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: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v43-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--blau);
}

body b {
    font-weight: 700;
}

body a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    box-sizing: border-box;
    transition: 0.5s;
}

:root {
    --blau: #1E3A78;
    --orange: #F4910F;
}

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

header {
    height: 900px;
    background: url(../images/auto-lackieren.webp) no-repeat center center /cover;
    border-radius: 0 0 25px 25px;
    width: 100%;
    position: relative;
    box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
}

.top-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: url(../images/rainbow-hg.webp) no-repeat center center /cover;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px 10% 10px 10%;
    z-index: 999;
    box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
}


.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: var(--blau);
    background-color: inherit;
    font-family: inherit;
    font-weight: 700;
    z-index: 1;
    cursor: pointer;
}


.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}



.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.navbar a {
    /* display: inline-block; */
    margin-left: 0;
    color: var(--blau);
    position: relative;
    font-weight: 700;
    float: left;
    text-decoration: none;
}


.navbar a:hover {
    opacity: 0.8;
}

.dropdown-content a {
    float: none;
    color: var(--blau);
    padding: 12px 16px;
    text-decoration: none;
    display: block !important;
    text-align: left;
    float: none;
}

.header-text {
    position: absolute;
    left: 0;
    bottom: -30px;
    background: url(../images/hg-blau.webp) no-repeat center center;
    background-size: 100%;
    color: white;
    padding: 50px 10% 30px 10%;
    line-height: 40px;
}

h1 {
    font-family: 'Anton';
    font-size: 70px;
}

h1 span {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Open Sans';
}

.button {
    background: var(--orange);
    color: white;
    padding: 10px 25px;
    font-family: 'Anton';
    display: inline-block;
    text-align: center;
}

.button:hover {
    opacity: 0.8;
}

.deko:nth-of-type(1):after {
    content: '//';
    font-weight: bold;
    padding-right: 15px;
    padding-left: 15px;
    color: #FCC604;
}

.deko-orange::after {
    content: '//';
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    color: var(--orange);
}

.deko-rot:after {
    content: '//';
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    color: #E3192D
}

.deko-lila::after {
    content: '//';
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    color: #6A508C
}

.deko-blau::after {
    content: '//';
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    color: var(--blau)
}

.deko-gruen::after {
    content: '//';
    font-weight: bold;
    padding-left: 15px;
    padding-right: 15px;
    color: #0A744C
}

.direktnav {
    position: fixed;
    top: 105px;
    right: 0;
    background: url(../images/hg-blau-small.webp) no-repeat center center;
    background-size: 100% 60px;
    z-index: 99999;
    padding: 0 30px;
}

.direktnav li {
    display: inline-block;
    margin: 5px;
}

.direktnav img {
    padding: 30px 5px;
}


/*-+-+-+--+- UBER +-+-+-++-*/

.wrap {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 180px 10%;
}

.col {
    width: 48%;
}


h2 {
    font-family: 'Anton';
    font-size: 40px;
}

h3 {
    font-weight: 700;
    font-size: 20px;
}

.line {
    display: block;
    margin: 30px 0;
}

.bild {
    width: 100%;
    height: 450px;
    background: url(../images/schleifen.webp) no-repeat center center /cover;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
}

.bild img {
    position: absolute;
    bottom: -70px;
    right: -70px;
    width: 240px;
    height: auto;
}

#ueber .bild {
    width: 90%;
}

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

#leistungen {
    background: url(../images/hg-grau.webp) no-repeat center bottom;
    background-size: 100% 80%;
}

#leistungen .wrap {
    padding-top: 0;
}

#leistungen .col {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

#ueber ul li {
    list-style-type: disc;
    margin-bottom: 3px;
}

.leistung {
    width: 46%;
    padding: 130px 30px 50px 30px;
    border-radius: 15px;
    box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
    margin: 15px;
    color: white;
}

.leistung h4 {
    color: white;
    font-size: 35px;
    font-family: 'Anton';
    margin-bottom: 30px;
}

.leistung h4 span {
    font-size: 20px;
}

.leistung:nth-of-type(1) {
    background: url(../images/pkw-bunt.webp) no-repeat center center /cover;
}

.leistung:nth-of-type(2) {
    background: url(../images/lkw-bunt.webp) no-repeat center center /cover;
}

.leistung:nth-of-type(3) {
    background: url(../images/lackiercenter-bunt.webp) no-repeat center center /cover;
}

.leistung:nth-of-type(4) {
    background: url(../images/sandstrahlen-bunt.webp) no-repeat center center /cover;
}

.leistung:nth-of-type(1) .button, .leistung:nth-of-type(4) .button {
    background: var(--blau);
}

.leistungen-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 30px 0;
    text-align: center;
}

.leistungen-wrap h3 {
    width: 100%;
    text-align: left;
    margin-bottom: 30px;
}

.leistungen {
    margin: 10px;
    padding: 10px 20px;
    background: var(--orange);
    color: white;
    font-family: 'Anton';
    font-size: 20px;
    display: inline-block;
}

.leistungen:hover {
    opacity: 0.8;
}

.logo-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
}

.logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
    background: white;
    width: 100%;
    margin-bottom: 30px;
}

.logo img {
    width: 200px;
    height: auto;
    margin-right: 15px;
}

.galerie img{
    height: 250px;
    width: 300px;
    object-fit: cover;
    margin: 5px;
}

/*-+-+-+--+- PARALLAX +-+-+-++-*/

.parallax {
    background: url(../images/airbrush.webp) no-repeat center center /cover;
    background-attachment: fixed;
    text-align: center;
}

.parallax .col {
    width: 100%;
}

.parallax p {
    color: white;
    font-family: 'Anton';
    font-size: 45px;
}


/*-+-+-+--+- QUALITÄT +-+-+-++-*/

#qualitaet .wrap .col:last-of-type {
    text-align: center;
}

.logos {
    max-width: 400px;
    margin: 0 auto;
}

.logos img {
    height: auto;
    border-radius: 10px;
    /* box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);  */
}

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

footer {
    background: var(--blau);
    color: white;
    position: relative;
}

footer .wrap {
    display: flex;
    align-items: flex-start;
    padding: 80px 10%;
}

footer .col {
    width: auto;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer .buton {
    text-decoration: none !important;
}



.footer-bunt {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 35px;
    width: 100%;
    background: url(../images/rainbow-hg.webp) no-repeat center center /cover;
}

#dse {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.466);
    border-radius: 8px 0 0 0;
}

#dse li {
    display: inline-block;
    padding: 7px;
}

#dse a {
    text-decoration: none;
    color: var(--blau);
    font-weight: 700;
    font-size: 13px;
}

.kontakt-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.kontakt-wrap .col {
    width: 47% !important;
}

.kontakt-wrap .col a {
    text-decoration: underline;
    color: var(--blau)
}

.kontakt-wrap .dsa-buttons a{
	color: #fff;
}

.kontakt-wrap .col .button {
    text-decoration: none;
    color: white;
}

body > footer > div.wrap > div:nth-child(3) img{
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    border-radius: 15px;
}



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

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    background-color: #1e3b78e8;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align: center;
}

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

}


.sidenav a:hover {
    color: var(--gruen)
}


#resp-nav {
    text-align: center;
    width: auto;
    display: none;
    z-index: 999;
}

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


/* ================ Popups ================ */

#popup1 a {
    text-decoration: underline;
    font-style: italic;
    color: #915e36;
}

#popup1 .close-popup {
    color: white;
    text-decoration: none;
}


#popup1,
#popup2,
#popup3,
#popup4,
#popup5,
#popup6,
#popup7,
#popup8,
#popup9,
#popup10,
#popup11,
#popup12,
#popup13,
    {
    transform: scale(0.8)
}

.popup_visible #popup1,
.popup_visible #popup2,
.popup_visible #popup3,
.popup_visible #popup4,
.popup_visible #popup5,
.popup_visible #popup6,
.popup_visible #popup6,
.popup_visible #popup7,
.popup_visible #popup8,
.popup_visible #popup9,
.popup_visible #popup10,
.popup_visible #popup11,
.popup_visible #popup12,
.popup_visible #popup13 {
    transform: scale(1)
}

.popup-style {
    margin: 2rem 0;
    width: 100%;
    max-width: 700px;
    min-height: 20px;
    padding: 50px;
    background-color: white;
    border-radius: 7px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
    color: var(--blau);
}

.popup-style h3 {
    margin-top: 0;
}

.popup-style p {
    margin: 0 0 20px 0;
}

.popup-style ul {
    margin: 0 0 20px 15px;
}

.popup-style ul li {
    list-style: disc;
}

.close-popup {
    position: absolute;
    right: 30px;
    bottom: -20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    background: var(--blau);
    color: white;
    border-radius: 5px;
    transition: 0.5s;
    font-size: 20px
}


.close-popup:hover {
    background: var(--blau);
    color: white;
    transition: 0.4s
}

.close-popup img {
    width: 10px;
    height: 10px;
    cursor: pointer;
    display: block;
    margin-left: 5px
}

.list {
    font-weight: 600;
}


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


@media screen and (max-width: 1540px) {
    .navbar {
        display: none;
    }

    #resp-nav {
        display: inline-block;
        margin-left: 10px;
    }

    #start>nav>div:nth-child(4) {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sidenav {
        text-align: center;
    }

    .navline {
        display: block;
        width: 100%;
        height: 2px;
        background: #F4910F;
        margin: 15px 0;
        margin: 0 auto;
    }

    .sidenav a {
        margin: 15px 0;
    }

    .small {
        font-size: 14px !important;
        margin: 7px 0 !important;
    }
}


@media screen and (max-width: 1140px) {
    h1 {
        font-size: 50px;
    }

    h1 span {
        font-size: 16px;
    }

}

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

    .wrap {
        flex-wrap: wrap;
    }

    .col {
        width: 100%;
    }

    #ueber .wrap {
        flex-direction: column-reverse;
    }

    #ueber .wrap .col:first-of-type {
        margin-top: 40px;
    }

    #qualitaet .wrap .col:last-of-type {
        margin-top: 40px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 16px;
    }

    .leistung {
        width: 100%;
        padding: 30px 30px 50px 30px;
    }

    footer .wrap {
        flex-wrap: wrap;
    }

    footer .col {
        margin-top: 30px;
    }
}

@media screen and (max-width: 890px) {
    .direktnav {
        padding: 0 10px;
        top: 115px;
    }

    .direktnav img {
        width: 35px;
        padding: 5px;
    }

    #start>nav>div:nth-child(2)>a:nth-child(1)>img,
    #start>nav>div:nth-child(2)>a:nth-child(2)>img {
        width: 150px;
        height: auto;
    }

    header {
        height: 700px;
    }

    .header-text {
        background: var(--blau);
        width: 100%;
        text-align: center;

    }

    h1 {
        font-size: 40px;
    }

    .parallax p {
        font-size: 30px;
    }

    .leistung {
        hyphens: auto;
    }

    .logo{
        flex-wrap: wrap;
    }

}

@media screen and (max-width: 570px) {
    #start > nav > div:nth-child(4) > a{
        display: none;
    }

    #start>nav>div:nth-child(2)>a:nth-child(1)>img, #start>nav>div:nth-child(2)>a:nth-child(2)>img{
        width: 99px;
        height: auto;
    }

    .direktnav{
        top: 92px;
    }

    .wrap{
        padding: 100px 10%;
    }
}