@font-face {
    font-family: "ElegantIcons";
    src: url("../fonts/ElegantIcons.eot");
    src: url("../fonts/ElegantIcons.eot?#iefix") format("embedded-opentype"),
        url("../fonts/ElegantIcons.woff") format("woff"),
        url("../fonts/ElegantIcons.ttf") format("truetype"),
        url("../fonts/ElegantIcons.svg#ElegantIcons") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "FontAwesome";
    src: url("../fonts/fa-brands-400.woff2") format("woff2"), url("../fonts/fa-brands-400.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.woff2") format("woff2"), url("../fonts/Poppins-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: bold;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 369px) {
    section#pictures img {
        margin-right: 20px;
        width: calc(100% - 55px);
        height: 100px;
    }
}

@media (max-width: 569px) and (min-width: 370px) {
    section#pictures img {
        margin-right: 20px;
        width: calc(50% - 55px);
        height: 100px;
    }

    section#pictures a:nth-child(2n) img {
        margin-right: 0px;
    }
}

@media (max-width: 767px) and (min-width: 570px) {
    section#pictures img {
        margin-right: 20px;
        width: calc(33% - 60px);
        height: 100px;
    }

    section#pictures a:nth-child(3n) img {
        margin-right: 0px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    section#pictures img {
        margin-right: 20px;
        width: calc(33% - 60px);
        height: 150px;
    }

    section#pictures a:nth-child(3n) img {
        margin-right: 0px;
    }
}

@media (max-width: 1199px) and (min-width: 768px) {
    section#pictures img {
        margin-right: 20px;
        width: calc(33% - 60px);
        height: 150px;
    }

    section#pictures a:nth-child(3n) img {
        margin-right: 0px;
    }
}

@media (min-width: 1200px) {
    section#pictures img {
        margin-right: 20px;
        width: calc(25% - 60px);
        height: 150px;
    }

    section#pictures a:nth-child(4n) img {
        margin-right: 0px;
    }
}


#wrapper header #container #checkbox {
    display: none;
}

/* #wrapper header #container nav #mobilemenu~label {
    display: none;
} */

@media (max-width: 570px) {
    header #container {
        max-width: 415px;
    }

    main {
        width: calc(100% - 40px);
        margin: 0px auto;
        padding: 20px;
        padding-bottom: 280px !important;
    }

    footer {
        background-color: #181818;
        width: 100%;
        height: 260px !important;
        margin-top: -260px !important;
        color: #cccbcb;
        font-size: 0.75em;
        text-align: center !important;
    }

    footer #container #logo {
        margin: 20px auto !important;
        margin-top: 20px !important;
        float: none !important;
        display: inline-block !important;
        break-after: always !important;
    }

    footer #container .link {
        float: none !important;
        margin: 20px auto !important;
        display: inline-block !important;
        width: 100%;
    }

    footer #container #copyright {
        float: none !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        display: inline-block !important;
    }

    header #container nav ul li#book button {
        background-color: #ffffff !important;
        max-width: 210px !important;
        color: #000000 !important;
    }

}

@media (max-width: 1200px) {
    header #container nav {
        margin-right: 50px;
        float: right !important;
        width: 35px !important;
        margin-top: 52.5px;
    }

    #wrapper header #container nav #checkbox:not(:checked)~#links ul {
        display: none;
    }

    #wrapper header #container nav #checkbox:not(:checked)~#links {
        background-color: unset !important;
        overflow: hidden;
        opacity: 0;
        animation: fade-out .5s;
    }

    #wrapper header #container nav ul li {
        float: none !important;
        margin-top: 0px !important;
        margin-bottom: 10px !important;
    }

    #wrapper header #container nav label {
        height: 35px;
        width: 35px;
        cursor: pointer;
        text-align: left;
        display: block;
        position: relative;
        z-index: 3;
        background-color: #66b5dd;
        padding: 10px;
        border-radius: 50px;
    }

    #wrapper header #container nav #checkbox:checked~label {
        background-color: #ffffff;
        position: fixed;
    }

    #wrapper header #container nav #checkbox:checked~#links {
        animation: fade-in .2s;
        background-color: #66b5dd;
        width: 100%;
        min-height: 100vh;
        position: fixed;
        opacity: 2;
        margin-left: 0px !important;
        float: none !important;
        top: 0px;
        text-align: center;
        display: block;
        left: 0px;
        z-index: 1;
    }

    #wrapper header #container nav #checkbox:checked~#links ul {
        margin-top: 168.8px;
        background-color: unset !important;
    }

    #wrapper header #container nav #checkbox:checked~#links ul li a {
        color: #ffffff;
    }

    #wrapper header #container nav #checkbox~label #burger,
    #wrapper header #container nav #checkbox~label #burger:before,
    #wrapper header #container nav #checkbox~label #burger:after {
        content: '';
        height: 3px;
        width: 35px;
        background: #ffffff;
        transition: all .2s ease;
        border-radius: 50px;
        position: absolute;
    }

    #wrapper header #container nav #checkbox:checked~label #burger,
    #wrapper header #container nav #checkbox:checked~label #burger:before,
    #wrapper header #container nav #checkbox:checked~label #burger:after {
        background: #000000;
    }

    #wrapper header #container nav #checkbox~label #burger {
        margin-top: 15px;
    }

    #wrapper header #container nav #checkbox~label #burger:before {
        top: -0.55em
    }

    #wrapper header #container nav #checkbox~label #burger:after {
        top: 0.55em
    }

    #wrapper header #container nav #checkbox:checked~label #burger {
        background: transparent;
        transform: rotate(-135deg)
    }

    #wrapper header #container nav #checkbox:checked~label #burger:before,
    #wrapper header #container nav #checkbox:checked~label #burger:after {
        top: 0
    }

    #wrapper header #container nav #checkbox:checked~label #burger:before {
        transform: rotate(90deg)
    }

    header #container nav ul li#book button {
        background-color: #ffffff !important;
        max-width: 210px !important;
        color: #000000 !important;
    }

    header #container nav ul li#book button:hover {
        background-color: #66b5dd !important;
        color: #ffffff !important;
    }
}

@media (min-width: 570px) {
    header #container {
        max-width: 540px
    }

    main {
        width: 500px;
        margin: 0px auto;
        padding: 20px;
        padding-bottom: 168px;
    }

    footer #container {
        max-width: 500px;
        margin: 0px auto;
    }

}

@media (max-width: 565px) {
    #wrapper main section#map #cookieBanner::before {
        margin-top: 15.5px !important;
    }
}

@media (max-width: 340px) {

    #wrapper main .cars {
        width: 240px !important;
    }
}

@media (max-width: 800px) {

    #wrapper main .cars {
        float: unset !important;
        margin-right: unset !important;
        margin: auto !important;
    }

}

@media (max-width: 600px) {
    header #container nav ul li#book button {
        white-space: nowrap;
        overflow: hidden;
        max-width: 150px;
        text-overflow: ellipsis;
    }
}

@media (min-width: 768px) {
    header #container {
        max-width: 720px
    }

    main {
        width: 680px;
        margin: 0px auto;
        padding: 20px;
        padding-bottom: 148px;
    }

    footer #container {
        max-width: 568px;
        margin: 0px auto;
    }
}

@media (min-width: 992px) {
    header #container {
        max-width: 960px
    }
}

@media (min-width: 1200px) {
    header #container {
        max-width: 1140px;
    }

    footer #container {
        max-width: 900px;
        margin: 0px auto;
    }

    main {
        width: 1100px;
        margin: 0px auto;
        padding: 20px;
        padding-bottom: 148px;
    }
}

.icon_phone:before {
    content: "\e090";
    font-family: eleganticons;
    color: #2688ba;
    font-size: 1.5em;
    font-weight: 400;
    padding: 10px;
    border: 1px solid #E1E1E1;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.clear {
    clear: both;
}

.icon_phone {
    float: right;
}

body {
    margin: 0;
}

html,
body {
    height: 100%;
    font-family: Helvetica;
    scroll-behavior: smooth;
}

#wrapper {
    height: auto;
    min-height: 100%;
}

#wrapper main {
    display: block;
}

#wrapper main a {
    color: #000000;
}

#wrapper main section#map {
    height: 300px;
    width: 100vw;
    overflow: hidden;
    position: relative;
    border-top: 10px solid #66b5dd;
    border-bottom: 10px solid #66b5dd;
    margin-left: -50vw;
    left: 50%;
}

#wrapper main section#map #cookieBanner {
    text-align: center;
}

#wrapper main section#map #cookieBanner::before {
    background-image: url("../images/maps.png");
    width: 155px;
    height: 155px;
    display: block;
    content: " ";
    border-radius: 100px;
    margin: auto;
    margin-bottom: 10px;
    margin-top: 24.5px;
}

#wrapper main #vw-t-roc::before {
    background-image: url("../images/vw-t-roc.jpg");
    background-size: cover;
    width: 200px;
    height: 200px;
    display: block;
    content: " ";
    border-radius: 200px;
    margin: auto;
    margin-bottom: 20px;

}

#wrapper main #anhaenger::before {
    background-image: url("../images/anhaenger.jpg");
    background-size: cover;
    width: 200px;
    height: 200px;
    display: block;
    content: " ";
    border-radius: 200px;
    margin: auto;
    margin-bottom: 20px;

}

#wrapper main section.license-class {
    margin-bottom: 40px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 10px;
    transition: height 1s ease;
}

#wrapper main section.license-class summary {
    list-style: none;

    &::-webkit-details-marker {
        display: none;
    }

    cursor: pointer;
    font-weight: bold;
}

#wrapper main section.license-class summary .abbreviation {
    color: #ffffff;
    float: left;
    background-color: #66b5dd;
    margin-right: 10px;
    border-radius: 200px;
    padding: 5px 10px;
    margin-top: -5px;
}

#wrapper main section.license-class .content {
    box-sizing: border-box;
    transition: max-height 400ms ease-out, border 0ms 400ms linear;
    max-height: 0px;
    overflow: hidden;
    width: 100%;
    padding-top: 20px;
}

#wrapper main section.license-class details:not([open]) summary:after {
    content: "+";
    font-weight: bold;
    float: right;
    color: #66b5dd;
    transition: all .2s ease;
    font-size: 30px;
    margin-top: -11px;
}

#wrapper main section.license-class details[open] summary:after {
    content: "+";
    font-weight: bold;
    float: right;
    color: #66b5dd;
    transform: rotate(45deg);
    transition: all .2s ease;
    margin-top: -11px;
    font-size: 30px;
}


#wrapper main section.license-class details[open]+.content {
    max-height: 800px;
    border-color: #888;
    transition: max-height 400ms ease-out, border 0ms linear;
}


#wrapper main #vw-golf-8::before {
    background-image: url("../images/vw-golf-8.jpg");
    background-size: cover;
    width: 200px;
    height: 200px;
    display: block;
    content: " ";
    border-radius: 200px;
    margin: auto;
    margin-bottom: 20px;

}

#wrapper main .cars {
    width: 300px;
    text-align: center;
    float: left;
    margin-right: 20px;
    height: 490px;
    margin-bottom: 30px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
    padding: 10px;
    padding-top: 20px;
    background-color: #fafafa;
}

#wrapper main .cars h2 {
    text-transform: uppercase;
    font-size: 20px;
}

#wrapper main .cars h3 {
    color: #66b5dd;
    font-weight: 700;
}

#wrapper main .cars .class {
    background-color: #66b5dd;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 100px;
    margin-right: 10px;
    display: inline-block;
    margin-top: 10px;

}

#wrapper main section#map #cookieBanner button {
    background-color: #66b5dd;
    border-radius: 20px;
    border: none;
    display: inline-block;
    color: #000;
    padding: 8px 16px;
    padding-top: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25em;
    line-height: 20px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    margin-top: 10px;
}


#wrapper main section#map #cookieBanner button:hover {
    background-color: #bad5e3;
}

#wrapper main section#map iframe {
    height: 300px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

header {
    background-color: #ffffff;
}

header #container {
    margin: 0px auto;
}

header #container nav {
    margin-left: 20px;
    float: left;
    width: calc(100% - 190px);
}

header #container nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
}

header #container nav li {
    float: left;
    margin-top: calc(84.4px - 0.625em - 16px);
}

header #container nav ul li#book {
    float: right;
}

header #container nav ul li#book button {
    background-color: #66b5dd;
    border-radius: 20px;
    border: none;
    display: inline-block;
    color: #ffffff;
    padding: 8px 16px;
    padding-top: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25em;
    line-height: 20px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    margin-top: -4.5px;
}


header #container nav ul li#book button:hover {
    background-color: #bad5e3;
}

header #container nav ul li#book button::before {
    content: "\35";
    font-family: eleganticons;
    float: left;
    font-weight: lighter;
    margin-right: 10px;
    margin-bottom: 8px;
}

div#whatsapp:before {
    content: "\f232";
    font-family: FontAwesome;
    font-weight: lighter;
    background-color: #25D366;
    color: #ffffff;
    font-size: 2em;
    padding: 10px;
    float: right;
    border-radius: 50px;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

div#whatsapp:hover:before {
    background-color: #075E54;
}

div#instagram:before {
    content: "\f16d";
    font-family: FontAwesome;
    font-weight: lighter;
    background-color: #E1306C;
    color: #ffffff;
    font-size: 2em;
    padding: 10px;
    float: right;
    border-radius: 50px;
    position: fixed;
    bottom: 80px;
    left: 20px;
    z-index: 2;
}

div#instagram:hover:before {
    background-color: #C13584;
}

header #container nav ul li a {
    display: block;
    color: #000;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25em;
}

header #container #logo {
    margin: 20px 0px;
    width: 160px;
    height: 128.8px;
    background-image: url("../images/logo.png");
    background-size: contain;
    float: left;
}

section#header {
    background-color: #f7f7f7;
    display: block;
}

section#header #golf {
    background-image: url("images/4887_1.png");
    border-radius: 0px 300px 300px 0px;
    height: 350px;
    width: 350px;
    background-size: cover;
    border: 10px solid #bad5e3;
    border-left: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
}

section#events {
    margin-top: 10px;
    margin-bottom: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
    padding: 20px;
    background-color: #fafafa;
    max-width: 100%;
    height: 306px;
}

section#events #thumbnail {
    height: 268px;
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
}

section#events #thumbnail #trennstrich {
    height: 258px;
    width: 2px;
    background-color: #181818;
    display: inline-block;
    margin-right: 20px;
}

section#BF17 {
    margin-top: 10px;
}

section#events:before {
    content: "Termine";
    margin-bottom: 15px;
    width: 100%;
    display: block;
    font-weight: bold;
    font-size: 1.5em;
}

section#events #thumbnail a,
section#BF17 a {
    width: 300px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    color: #181818;
    margin-right: 20px;
    display: inline-block;
    height: 268px;
}

section#events #thumbnail a:hover,
section#BF17 a:hover {
    color: #bad5e3;
}

section#events #thumbnail a img,
section#BF17 a img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid #bad5e3;
}

section#pictures img {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 10px;
    padding: 20px;
    background-color: #fafafa;
    margin-bottom: 20px;
    object-fit: cover;
}

#fyler-erste-hilfe-kurs {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    width: calc(100% - 40px);
    border-radius: 10px;
    padding: 20px;
    background-color: #fafafa;
    margin-bottom: 20px;
}

section#banner {
    background-color: #66b5dd;
    width: 100%;
    height: 250px;
    color: #ffffff;
    font-family: "Poppins";
}

section#banner a {
    text-decoration: none;
    color: unset;
}

section#banner #erste-hilfe-kurs {
    text-align: center;
    padding: 28px;
    font-size: 22px;
}

section#banner #erste-hilfe-kurs #logo{
    font-size: 40px;
    border: 2px solid #ffffff;
    width: 60px;
    height: 60px;
    text-align: center;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-block;
}

section#pictures a {
    text-decoration: none;
}

section#BF17 a {
    height: 216px;
    max-width: 150px !important;
}

section#BF17 a img {
    margin-bottom: 0px !important;
}

footer {
    background-color: #181818;
    width: 100%;
    height: 148px;
    margin-top: -148px;
    color: #cccbcb;
    font-size: 0.75em;

}

footer #container #logo {
    margin: 49.5px 0px;
    width: 100px;
    height: 49px;
    background-image: url("../images/logo_black.png");
    background-size: contain;
    float: left;
}

footer #container #copyright:before {
    content: "\00A9 ";
    padding-right: 10px;
}

footer #container #copyright {
    float: right;
    margin-top: calc(74px - 0.75em)
}

footer #container .link {
    margin-top: calc(74px - 0.75em);
    color: #cccbcb;
    float: left;
    margin-left: 50px;
    text-decoration: none;
}

footer #container .link:hover {
    color: #ffffff;
}