@import url("reset.css");

.clear {
    clear: both;
}

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

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

/* roboto-condensed-600 - 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: 'Roboto Condensed';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/roboto-condensed-v27-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


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

body b {
    font-weight: 600;
}

body a {
    text-decoration: none;
}

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

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

:root {
    --grau: #212121;
    --blau: #539BD9;
}

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

header {
    width: 100%;
    height: 950px;
    background: url(../images/hg-grau.webp) no-repeat bottom center;
    background-size: 100% 100px;
}

.headerbild {
    background: url(../images/Mercedes_s63AMG_Coupe.webp) no-repeat center center /cover;
    width: 50%;
    height: 920px;
    z-index: 1;
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 0 0 0 50px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.navigation {
    width: 100%;
    padding: 20px 10%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
}

.navigation ul li {
    display: inline-block;
    margin-left: 20px;
}

.navigation ul {
    display: flex;
    align-items: center;
}

.button {
    color: white;
    background: var(--blau);
    padding: 7px 25px;
    text-align: center;
    display: inline-block;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
}

.button:hover {
    opacity: 0.8;
}

.slogan {
    position: absolute;
    left: 10%;
    top: 400px;
    z-index: 2;
}

h1 {
    background: var(--grau);
    color: white;
    font-size: 65px;
    font-weight: 700;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
    display: inline;
}

h1 span {
    color: var(--blau);
}

.navigation.scrolled {
    background-color: rgba(255, 255, 255, 0.808) !important;
    transition: background-color 200ms linear;
}

/*-+-+-+--+- INTRO +-+-+-++-*/

#intro {
    background: var(--grau);
    color: white;
}

#intro .wrap {
    align-items: flex-start;
}

.wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 120px 10%;
}

.col {
    width: 48%;
}

/*-+-+-+--+- Luxus +-+-+-++-*/

.bild {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 9px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

h2 {
    font-family: 'Roboto Condensed';
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 700;
}

.line {
    height: 10px;
    width: 100px;
    background: var(--blau);
    margin: 20px 0 25px 0;
}

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

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

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

.leistung {
    position: relative;
    background: #656565;
    color: white;
    padding: 50px 30px 30px 30px;
    text-align: center;
    width: 250px;
    margin: 22px;
    width: 355px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 9px;
}

.leistung a {
    color: white;
    text-transform: uppercase;
    font-family: 'Roboto Condensed';
    font-size: 25px;
}

.leitung a:hover {
    opacity: 0.8;
}

.leistung span {
    position: absolute;
    padding: 12px;
    color: white;
    background: var(--blau);
    border-radius: 100%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    top: -32px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    display: inline-table;
    font-weight: 700;
    font-size: 30px;
}

#leistungen .button {
    display: inline;
    margin: 0 auto;
}

h3 {
    color: var(--blau);
    font-family: 'Roboto Condensed';
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
}

/*-+-+-+--+- KONTAKT +-+-+-++-*/

#kontakt .col {
    width: 50%;
    padding: 100px 10%;
}

#kontakt .col:last-of-type a {
    color: var(--blau);
}

#kontakt .wrap {
    padding: 0;
    align-items: stretch;
}

#kontakt .col:first-of-type {
    background: var(--grau);
}

.siegel{
    width: 190px;
    height: auto;
}

.dsa-secure-plugin {
    width: 100% !important;
}

#kontakt .col:last-of-type {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

footer {
    width: 100%;
    background: var(--grau);
    padding: 30px 10%;
}

#dse {
    position: fixed;
    bottom: 0;
    right: 10%;
    z-index: 99;
}

#dse li {
    display: inline-block;
    margin-left: 10px;
    background: var(--grau);
    color: white;
    padding: 8px;
    border-radius: 8px 8px 0 0;
}

#dse a {
    color: white;
}

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

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    right: 0;
    background-color: rgba(59, 60, 58, 0.95);
    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 .nav-line {
    margin: 0 auto
}

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

.small {
    font-size: 15px !important;
}

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

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

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

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

#popup1 a {
    text-decoration: underline;
    font-style: italic;
    color: var(--blau);
}

#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: 60%;
    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(--white);
}

.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
}



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

@media screen and (max-width: 900px) {
    #logo {
        width: 140px;
        height: auto;
    }

    .headerbild {
        width: 100%;
        height: 700px;
        border-radius: 0 0 40px 40px;
    }

    header {
        height: 700px;
    }

    h1 {
        font-size: 40px;
    }

    #intro .col {
        width: 100%;
        margin-bottom: 30px;
    }

    #luxus .col, #sport .col {
        width: 100%;
        margin-bottom: 30px;
    }

    #luxus .wrap {
        flex-direction: column-reverse;
        padding-bottom: 0;
    }

    .leistung {
        width: 100%;
    }

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

    #kontakt .col {
        width: 100%;
    }


}

@media screen and (max-width: 580px) {
    .navigation .button {
        display: none;
    }

    #intro>div>div:nth-child(2)>img {
        max-width: 100%;
    }

    body p {
        hyphens: auto;
    }
}

@media screen and (max-width: 630px) {
    h1 {
        font-size: 30px;
        background: none;
    }

    .slogan{
        background: var(--grau);
        padding: 20px;
        left: 10%;
        right: 10%;
    }

    .leistung a{
        font-size: 20px;
    }
}