@import url("reset.css");

.clear {
    clear: both;
}

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

/* open-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: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/open-sans-v40-latin-600.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;
}

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: #2a2a2a;
    --gruen: #46b837;
    --grau: #d1d1d1;
}


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

header {
    height: 950px;
    background: url(../images/frau-macht-fuehrerschein.webp) no-repeat center center /cover;
    background-attachment: fixed;
    position: relative;
}

.header-text{
    position: absolute;
    left: 10%;
    top: 650px;
}

.header-text p{
    font-size: 50px;
    color: white;
    background: var(--gruen);
    padding: 5px;
    display: inline-block;
}

.header-text b{
    background: white;
    color: var(--gruen);
    font-size: 50px;
    padding: 5px;
    display: inline-block;
}

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

.leistung {
    width: 33.3%;
    padding: 50px;
    background: var(--gruen);
    text-align: center;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px;
}

.leistung:hover {
    opacity: 0.8;
    transition: 0.5s;
}

.leistung img {
    margin-bottom: 10px;
}

.leistung:nth-of-type(2) {
    background: var(--grau);
}

.leistung:nth-of-type(3) {
    background: var(--schrift);
}

#direktnav {
    position: fixed;
    right: 15px;
    bottom: 350px;
    z-index: 999;
}

#direktnav li {
    background: var(--gruen);
    padding: 7px;
    margin-bottom: 15px;
}

#direktnav li:hover {
    opacity: 0.8;
    transition: 0.5s;
}

/*-+-+-+--+- NAV +-+-+-++-*/


.navigation {
    position: relative;
    position: fixed;
    width: 100%;
    padding: 25px 10%;
    background: white;
    z-index: 99;
    -webkit-box-shadow: 0px 6px 13px -7px rgba(0, 0, 0, 0.6);
    -moz-box-shadow: 0px 6px 13px -7px rgba(0, 0, 0, 0.6);
    box-shadow: 0px 6px 13px -7px rgba(0, 0, 0, 0.6);
}

nav {
    background: url(../images/navi.webp) var(--gruen) no-repeat right center;
    background-size: auto 100%;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: -20px;
    padding: 25px;
    padding-right: 10%;
}


.topnav {
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    text-align: center;
    text-decoration: none;
    color: white;
    margin-right: 20px;
}


/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn {
    border: none;
    outline: none;
    background-color: inherit;
    font-family: 'Open Sans';
    margin: 0;
    font-size: 16px;
    line-height: normal;
    color: white;
    padding: 0;
    margin-right: 20px;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.7);
    color: var(--schrift);

}

.nav-line {
    background: var(--gruen);
    width: 150px;
    height: 2px;
    margin: 0 16px;

}

.line{
    background: var(--gruen);
    width: 150px;
    height: 2px; 
    margin: 15px 0;
}

/* Style the links inside the dropdown */
.dropdown-content a {
    float: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    color: var(--schrift);
}


.topnav a:hover, .dropdown:hover .dropbtn {
    color: white;
}

.dropdown-content a:hover {
    color: var(--gruen);
}


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




/*-+-+-+--+- UEBER +-+-+-++-*/

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

.col {
    width: 49%;
}

h1, h2 {
    font-size: 30px;
    color: var(--gruen);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 25px;
    display: inline-block;
}

h1:before, h2:before {
    content: '';
    background: url(../images/headline.webp) no-repeat center center /contain;
    width: 34px;
    height: 35px;
    padding-left: 40px;
}

h3{
    text-transform: uppercase;
    color: var(--gruen);
    margin-bottom: 20px;
    font-weight: 600;
}

#ueber>div>div:nth-child(2) {
    text-align: center;
}

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

/*-+-+-+--+- FAHRLEHRER +-+-+-++-*/

#fahrlehrer {
    background: url(../images/hg-grau.webp) no-repeat center center /cover;
}



#fahrlehrer .col {
    width: 100%;
}

.lehrer {
    background: #2a2a2acb;
    position: relative;
    height: 300px;
    margin: 0 20px 40px 20px;
}

.eins{
    background:  url(../images/team/peter-gruenberg.webp) no-repeat center center /cover!important
}

.zwei{
    background:  url(../images/team/sven-gruenberg.webp) no-repeat center center /cover!important

}

.vier{
    background:  url(../images/team/ole-cassebaum.webp) no-repeat center center /cover!important
}

.fuenf{
    background:  url(../images/team/bernd-adam.webp) no-repeat center center /cover!important
}

.sechs{
    background:  url(../images/team/olli-hoelzilein.webp) no-repeat center center /cover!important
}

.sieben{
    background:  url(../images/team/martin-schawara.webp) no-repeat center center /cover!important

}

.neun{
    background:  url(../images/team/martin-kalabis-lex.webp) no-repeat center center /cover!important

}


.zehn{
    background:  url(../images/team/alexandra-feldmann.webp) no-repeat center center /cover!important

}

.slick-list{
    overflow-y: visible!important;
}

.lehrer-text {
    background: var(--gruen);
    color: white;
    padding: 15px;
    position: absolute;
    bottom: -20px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    width: 90%;
}

.lehrer h3{
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
}

.lehrer a{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: white;
    font-size: 20px;
    margin-top: 15px;
}

.lehrer a img{
    width: 20px;
    margin-right: 5px;
}

/*-+-+-+--+- CTA +-+-+-++-*/

#cta {
    background: url(../images/mann-faehrt-entspannt.webp) no-repeat center center /cover;
    background-attachment: fixed;
}

#cta .col {
    background: rgba(255, 255, 255, 0.8);
    padding: 50px;
}

.button {
    text-transform: uppercase;
    font-weight: 600;
    background: var(--gruen);
    padding: 10px 15px;
    color: white;
    margin-bottom: 5px;
    text-align: center;
}

.button:hover {
    opacity: 0.8;
    transition: 0.5s;
}

/*-+-+-+--+- Fuhrpark +-+-+-++-*/

#fuhrpark .col:first-of-type{
    padding: 30px;
}

.fahrzeug{
    margin: 0 20px 40px 25px;
    background: var(--schrift);
    height: 350px;  
    width: 80%;  
    object-fit: cover;
}

.fahrzeug:after{
    content: '';
    width: 100%;
    margin: 0 20px;
    height: 150px;
    background: var(--gruen);
    position: absolute;
    bottom: -10px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    z-index: -1;
}

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

#kontakt {
    background: url(../images/hg-schwarz.webp) no-repeat center center /cover;
    color: white;
}

#kontakt a{
    color: white;
}

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

#kontakt .col {
    width: 24%;
}

#kontakt .col:first-of-type {
    width: 100%;
    margin-bottom: 50px;
}

#kontakt .col b {
    text-transform: uppercase;
    font-size: 20px;
}


#kontakt h2:before {
    content: '';
    background: url(../images/headline-footer.webp) no-repeat center center /contain;
    width: 34px;
    height: 35px;
    padding-left: 40px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.button img {
    margin-right: 7px;
}

#dse {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--gruen);
    color: white;
    padding: 3px 10%;
    text-align: right;
    font-size: 13px;
}

#dse li {
    display: inline-block;
    margin-left: 10px;
}

#dse a {
    color: white;
}


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

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999999999;
    top: 0;
    left: 0;
    background-color: rgba(59, 60, 58, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align: center;
}

.sidenav a, .sidenav p {
    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;
    }
}

/* ================ 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(--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(--gruen);
    color: white;
    border-radius: 5px;
    transition: 0.5s;
    font-size: 20px
}


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

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


.klassen tr:nth-of-type(odd){
    background: var(--grau);
}

.klassen tr td{
    padding: 10px;
}

.klassen tr td:first-of-type{
 
    font-weight: 600;
}

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

.themen-table tr td{
    padding: 5px;
}

.themen-table tr:nth-of-type(odd){
    background: var(--grau);
}

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

@media screen and (max-width: 890px) {
    .leistung{
        font-size: 16px;
        padding: 15px;
    }

    .leistung img{
        height: 30px;
    }

    #ueber .wrap, #fuhrpark .wrap{
        flex-wrap: wrap;
    }

    #ueber .col,  #fuhrpark .col{
        width: 100%;
        margin: 30px 0;
    }

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

    #cta .col{
        width: 100%;      
    }

    #kontakt .col{
        width: 45%;
        margin-bottom: 30px;
        margin-right: 20px;
    }

    nav{
        bottom: -50px;
    }

    .header-text{
        position: absolute;
        left: 10%;
        top: 650px;
    }
    
    .header-text p{
        font-size: 30px;
        color: white;
        background: var(--gruen);
        padding: 5px;
        display: inline-block;
    }
    
    .header-text b{
        background: white;
        color: var(--gruen);
        font-size: 30px;
        padding: 5px;
        display: inline-block;
    }

    .popup-style{
        width: 90%;
    }


}

@media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
        display: none;
    }

    #resp-nav{
        display: block;
    }

    #resp-nav > img{
        width: 25px;
    }

    nav{
        bottom: 23px;
    }

    #logo{
        width: 180px;
    }

    .klassen tr td{
        padding: 10px;
        display: block;
    }

    .klassen tr{
        padding-bottom: 20px;
    }

    .lehrer h3{
        font-size: 16px;
    }

    .lehrer a img{
        display: none;
    }

    .lehrer-text{
        padding: 8px;
    }


}

@media screen and (max-width: 580px) {
    .leistungen-uebersicht{
        flex-wrap: wrap;
    }

    .leistung{
        width: 100%;
    }

    .leistung img{       
        height: 15px;
    }

    #direktnav{
        bottom: 50px;
        
    }

    header{
        background-position: top -97px left -463px;
        height: 750px;
    }

    #kontakt .col{
        width: 100%;       
    }

    h1,h2{
        font-size: 22px;
        hyphens: auto;
    }

    .wrap{
        padding: 100px 10%;
    }

    .header-text{
        position: absolute;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        top: 550px;
        max-width: 100%;
        text-align: center;
    }
    
  

}