@import url("reset.css");

/* 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-v44-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

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

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans';
    font-size: 16px;
    line-height: 26px;
    color: #505050;
    overflow-x: hidden;
}

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

header {
    background: url(../images/baasdam-gelaende.webp);
    background-size: cover;
    background-position: center;
    padding: 600px 0px 100px 0px;

}

.leistungen-header {
    background: url(../images/leistungen-header.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.gebrauchtwagen {
    background: url(../images/gebraucht-wagen-header.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.neuwagen-header {
    background: url(../images/neuwagen-head.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.wunschfahrzeug-header {
    background: url(../images/wunschauto-header.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#impressum{
    padding: 100px 10%;
}

#impressum a{
    color: #b22b26;
    text-decoration: none;
}

#impressum .flex{
    align-items: flex-start;
}

#iframe{
    padding: 100px 10%;
}

h1,
h2,
.claim span {
    font-family: 'Audiowide';
}

h1,
h2 {
    font-size: 30px;
    padding-bottom: 20px;
    color: #b22b26
}

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

.claim {
    background: rgba(255, 255, 255, 0.72);
    color: #b22b26;
    display: inline-block;
    padding: 50px 100px 50px 10%;
    font-size: 24px;
    line-height: 44px;
}

.claim span {
    font-size: 30px;
    line-height: 40px;
}

.wrap {
    padding: 100px 100px 100px 10%;
    width: 50%;
    background: #b22b26;
    color: #fff;
}

nav {
    position: fixed;
    display: flex;
    padding: 10px 10%;
    top: 0;
    width: 100%;
    z-index: 999;
    background: #b22b26;
    align-items: center;
    justify-content: space-between;
}

nav .columns, nav ul {
    display: flex;
}



nav ul li a {
    color: #fff;
    padding-left: 30px;
    text-decoration: none;
}

.logo {
    width: 320px;
}

#ueber-uns,
#verkauf {
    padding: 100px 10%;
}

#ueber-uns img,
#verkauf img {
    width: 100%;
    object-fit: cover;
    height: 600px;
}

.flex {
    display: flex;
    column-gap: 100px;
    align-items: center;
}

.col {
    width: 50%;
}

.button {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    background: #b22b26;
    padding: 10px;
    margin-top: 30px;
}

#team {
    padding: 100px 10%;
    text-align: center;
    background: #eee;
}

#parallax {

    background: url(../images/vertrag-unterzeichnen.webp);
    text-align: center;
    padding: 150px 25%;
    background-attachment: fixed;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

#parallax-1 {

    background: url(../images/paralax.webp);
    text-align: center;
    padding: 150px 25%;
    background-attachment: fixed;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

#parallax-2 {

    background: url(../images/paralax-3.webp);
    text-align: center;
    padding: 150px 25%;
    background-attachment: fixed;
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

#parallax h2,
#parallax-1 h2 {
    color: #fff;
}

#kontakt {
    background: #b22b26
}

.wrap .col {
    width: 100%;
}

#kontakt .flex {
    column-gap: 0px;
}

#kontakt h2 {
    color: #fff;
}

#kontakt a {
    color: #e8a3a0;
    text-decoration: none;
}

#lp{
    padding: 100px 10%;
    background: #eee;
}

#lp-2{
    padding: 100px 10%;
    background: rgba(238, 238, 238, 0.43);
}

#lp h3, #lp-2 h3{
    color: #b22b26;
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    padding-bottom: 10px;
    padding-top: 20px;
}

#lp ul, #lp-2 ul, #verkauf ul{
    padding: 15px 0px 15px 10px;
    list-style: disc;
}

.landingpages{
    padding-top: 40px;
}

.landingpages a:after{
    content: '|'
}

.multiple-items .box {
    background: #b22b26;
    text-align: center;
    margin: 20px;
    padding: 30px;
    color: #fff;
    min-height: 520px;
}

.multiple-items .box img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
}

.multiple-items h3 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    padding-top: 40px;
}

.multiple-items a {
    color: #fff;
    text-decoration: underline;
}

#kontakt img {
    width: 25px;
    margin-right: 15px;
}

#kontakt .col .flex {
    align-items: flex-start;
    margin-top: 20px;
}

.sidenav {
    position: fixed;
    z-index: 99;
    left: 0;
    top: 200px;
}

.sidenav a {
    display: block;
    margin-top: 10px;
    background: #fff;
    padding: 8px;
}

.sidenav a img {
    width: 25px;
    height: 25px;
    object-fit: contain;
    object-position: center;
}

a:hover {
    opacity: 0.7;
    transition: 0.2s;
}


.dropdown {
    position: relative;
    display: inline-block;
}


.dropbtn {
    font-size: 16px;
    border: none;
    padding-left: 30px;
    color: #fff;
    background: #b22b26
}

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


.dropdown-content a {

    color: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid;
    border-color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    display: block;
}

.dropdown-content a:last-child {
    border-bottom: none;
}


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

.dropdown:hover .dropbtn {
    background-color: #b22b26;
}

.dropdown-menu {
    display: none;
}

.dse {
    position: fixed;
    background: #b22b26;
    padding: 5px 10px;
    bottom: 0;
    right: 10px;
}

.dse a {
    text-decoration: none;
    color: #fff;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 14px;
}

#leistungsspektrum {
    background: #eee;
    padding: 100px 10%;
    text-align: center
}

.cta {
    text-align: center;
    text-decoration: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    background: #363636;
    font-size: 24px;
    padding: 10px;
}

.cta:hover {
    color: #191919
}

.modaloverlay h3 {
    font-size: 30px !important;
    padding-bottom: 20px;
    text-align: center;
    text-transform: inherit;
}

.modaloverlay {
    background: rgba(0, 0, 0, 0.8);
    bottom: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    text-align: left;
    z-index: 99999;
    display: none;
}

.modaloverlay:target {
    display: block;
    opacity: 1;
    pointer-events: auto;
    z-index: 9999;
}

.modaloverlay .modals {
    background-color: white;
    position: relative;
    padding: 3em;
    overflow-y: scroll;
    height: 45vh;
    margin-left: 5%;
    z-index: 9999;
    width: 40%;
    margin-top: 20vh;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.modals h3 {
    color: #b22b26;
    font-size: 30px;
    text-align: left;
}

.modals p {
    font-size: 16px;
    font-family: 'Roboto';
    line-height: 23px;
    color: #5f5f5f;
    text-align: left;
}

.modals ul {
    margin-top: 30px;
    list-style: disc;
    margin-left: 15px;
}

.modaloverlay a {
    color: #000;
    text-decoration: none;
}

.modaloverlay .close {
    background-color: #b22b26;
    color: white;
    font-size: 24px;
    padding: 8px 12px;
    position: absolute;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    z-index: 1;
}

#leistungsspektrum .box-1,
#leistungsspektrum .box-2,
#leistungsspektrum .box-3,
#leistungsspektrum .box-4,
#leistungsspektrum .box-5,
#leistungsspektrum .box-6,
#leistungsspektrum .box-7,
#leistungsspektrum .box-8,
#leistungsspektrum .box-9,
#leistungsspektrum .box-10,
#leistungsspektrum .box-11,
#leistungsspektrum .box-12 {
    width: 25%;
    padding: 20px;
    background: #b22b26;
    margin-top: 20px;
}

#leistungsspektrum .box-1 {
    background: url(../images/inspektion.webp);
}

#leistungsspektrum .box-2 {
    background: url(../images/oelwechsel.webp);
}

#leistungsspektrum .box-3 {
    background: url(../images/scheiben.webp);
}

#leistungsspektrum .box-4 {
    background: url(../images/hu-au.webp);
}

#leistungsspektrum .box-5 {
    background: url(../images/klima_1.webp) ;
}

#leistungsspektrum .box-6 {
    background: url(../images/diagnose.webp);
}

#leistungsspektrum .box-7 {
    background: url(../images/bremse.webp);
}

#leistungsspektrum .box-8 {
    background: url(../images/reifen.webp);
}

#leistungsspektrum .box-9 {
    background: url(../images/batterie-check.webp);
}

#leistungsspektrum .box-10 {
    background: url(../images/fahrwerk.webp);
}

#leistungsspektrum .box-11 {
    background: url(../images/auspuff.webp);
}

#leistungsspektrum .box-12 {
    background: url(../images/termin.webp);
}

#leistungsspektrum .flex {
    column-gap: 20px;
}

#leistungsspektrum .flex a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

#leistungsspektrum h2 {
    margin-bottom: 30px;
}

#leistungsspektrum img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

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

@media screen and (max-width: 1050px) {
    .flex {
        display: block;
    }

    .modaloverlay .modals {
        padding: 2em;
        height: 80vh;
        margin-left: 5%;
        width: 60%;
        margin-top: 10vh;
        margin-left: auto;
        margin-right: auto;
    }

    .col {
        width: 100%;
    }

    header {
        padding: 240px 0px 100px 0px;
    }

    #ueber-uns img,
    #verkauf img {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin-bottom: 50px;
        margin-top: 50px;
    }

    #kontakt .col .flex {
        margin-top: 30px;
        display: flex;
    }

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

    .sidenav a img {
        width: 20px;
        height: 20px;
    }

    .sidenav a {
        padding: 5px;
    }

    .logo {
        width: 220px;
    }

    .dropbtn-menu {
        background-color: transparent;
        color: white;
        padding: 0px;
        font-size: 40px;
        border: none;
        cursor: pointer;
    }

    .dropdown-menu {
        position: fixed;
        top: 0px;
        right: 5%;
        display: inline-block;
        z-index: 99999;
        margin-left: auto;
        margin-right: auto;
    }

    .dropdown-content-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        text-align: center;
        padding-top: 15vh;
        background-color: rgba(47, 47, 47, 0.9);
        min-width: 160px;
        overflow: auto;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

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

    .dropdown-menu a:hover {
        background-color: rgba(178, 43, 38, 0.7);
    }
    
    .dropdown{
        display: none;
    }

    .show {
        display: block;
    }

    nav ul {
        display: none
    }

    #leistungsspektrum .box-1,
    #leistungsspektrum .box-2,
    #leistungsspektrum .box-3,
    #leistungsspektrum .box-4,
    #leistungsspektrum .box-5,
    #leistungsspektrum .box-6,
    #leistungsspektrum .box-7,
    #leistungsspektrum .box-8,
    #leistungsspektrum .box-9,
    #leistungsspektrum .box-10,
    #leistungsspektrum .box-11,
    #leistungsspektrum .box-12 {
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    .modaloverlay .modals {
        width: 85%;
    }

    .modals h3 {
        font-size: 20px !important;
        font-weight: 700;
    }
}
