@import url("reset.css");

.clear {
    clear: both;
}

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

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

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

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


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

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 {
    --schrift: #3A2369;
    --blau: #0094D0;
    --gelb: #FFDE65;
    --hellblau: #AED9F1;
}

/*-+-+-+--+- HEADER +-+-+-++-*/
#dsa-check-all.dsa-cookie-button {
    background-color: #0094D0 !important;
}

.dsa-cookie-notice-form input[type="checkbox"]:checked+label::before, .dsa-cookie-notice-form input[type="checkbox"]:disabled+label::before {
    box-shadow: inset 0 0 0 3px #fff;
    background-color: #0094D0 !important;
}

header {
    height: 1100px;
    width: 100%;
    background: url(../images/fahrservice-martina-hagl.webp) no-repeat center center /cover;
    background-attachment: fixed;
    position: relative;
}

.welle {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    width: 100%;
    height: 150px;
}


.welle-zwei {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    width: 100%;
    height: 150px;
}

#direktnav {
    position: fixed;
    right: 0;
    top: 200px;
    z-index: 99;
}

#direktnav li:hover {
    opacity: 0.7;
}

.slogan {
    left: 0;
    padding: 40px 40px 50px 10%;
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 200px;
    border-radius: 0 20px 20px 0;
}

.slogan p:first-of-type {
    font-family: 'Merriweather';
    font-size: 40px;
    font-weight: 600;
}

.slogan p:last-of-type {
    font-family: 'Merriweather';
    font-style: italic;
    font-weight: 600;
    color: var(--blau);
    font-size: 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 10%;
    z-index: 999;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-top: 10px solid var(--schrift);

}

nav ul li {
    display: inline-block;
    margin-left: 15px;
    margin-bottom: 8px;
}

nav ul li a {
    color: var(--schrift);
}

nav ul li a:hover {
    color: var(--hellblau);
}

.button {
    background: var(--gelb);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    color: var(--schrift);
}

.button:hover {
    opacity: 0.7;
    color: var(--schrift);
}



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

#ueber .button:first-of-type {
    background: var(--hellblau);
}

#ueber .button:last-of-type {
    background: var(--blau);
    color: white;
}

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

.col {
    width: 48%;
}


h1, h2 {
    font-family: 'Merriweather';
    font-size: 30px;
    color: var(--schrift);
    font-weight: 600;
    margin-bottom: 15px;
}

h3 {
    font-weight: 600;
    font-size: 20px;
    color: var(--blau);
    font-style: italic;
    font-family: 'Merriweather';
}

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

.bild {
    width: 100%;
}

#krankenfahrten {
    background: #F2F9FD;
}

.liste {
    column-count: 2;
    font-family: 'Merriweather';
    font-weight: 600;
    font-style: italic;
    color: var(--blau);
    margin-top: 30px;
}

.liste li {
    list-style-type: disc;
    margin-bottom: 10px;
}

.logos {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../images/kreuz.webp) no-repeat center center;
    background-size: 100%;
    flex-wrap: wrap;
}


.logos img {
    margin: 40px;
    width: 200px;
}

.logos img:hover {
    transform: scale(0.95);
}

.parallax {
    background: url(../images/mh-reisen-bus.webp) no-repeat center center /cover;
    background-attachment: fixed;
    height: 600px;
    position: relative;
}

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

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    background-color: #0065b8e1;
    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(--gruen)
}

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

#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;
}

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

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

.daten {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
}

.daten img {
    margin-right: 10px;
}

.daten a {
    color: var(--schrift);
    font-weight: 600;
}

.daten a:hover {
    opacity: 0.7;
}

#formular {
    width: 100%;
    height: 900px;
}

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

footer {
    width: 100%;
    background: var(--schrift);
    padding: 10px 10%;
    text-align: center;
}

#dse {
    position: fixed;
    right: 0;
    bottom: 0;
    background: var(--schrift);
    padding: 5px;
    border-radius: 7px 0 0 0;
    z-index: 99;
}

#dse li {
    display: inline-block;
    margin: 0 5px;
    font-size: 13px;
}

#dse a {
    color: white;
}

#dse a:hover {
    opacity: 0.7;
}

/* ================ 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: 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(--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: 1458px) {
    /* .logos{
    background: none
} */

    .logos img {
        margin: 25px;
    }
}

@media screen and (max-width: 1301px) {
    .logos {
        background: none;
    }
}

@media screen and (max-width: 900px) {
    #start>nav>ul {
        display: none;
    }

    #resp-nav {
        display: block;
    }

    .wrap {
        flex-wrap: wrap;
    }

    .col {
        width: 100%;
    }

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

    #ueber>div>div:nth-child(1), #krankenfahrten>div>div:nth-child(2), #kurierfahrten>div>div:nth-child(1) {
        margin-top: 30px;
    }
}

@media screen and (max-width: 765px) {
    header {
        background-position: center right -300px;
    }

    .slogan p:first-of-type {
        font-size: 30px;
    }

    .slogan p:last-of-type {
        font-size: 16px;
    }

    #formular #main {
        padding: 0;
    }

    .slogan {
        bottom: 300px;
        border-radius: 0;
        width: 100%;
    }

    .button {
        display: inline-block;
        text-align: center;
    }

    .welle, .welle-zwei {
        height: 70px;
    }

    .parallax {
        height: 365px;
        background-attachment: scroll;
    }

    .wrap {
        padding: 110px 10%;
    }

    .liste {
        column-count: 1;
    }

    .logos img{
        margin: 10px;
    }

}

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

    #start>nav>a>img {
        width: 190px;
    }

    header {
        height: 890px;
    }

    .slogan {
        bottom: 160px;
    }
}