/*---------------------------------------
 | Desktop | General Style rules
---------------------------------------*/

* {
    margin: 0;
    padding: 0;
}

html {scroll-behavior: smooth;}

body {
    font-size: 16px;
    padding: 0;
    margin: 0 auto;
    position: relative;
    background: #eee;
    overflow-x: hidden;
}

#wrapper {
    padding: 0;
    margin: 0 auto;
    position: relative;
}

div.section,
section {
    margin: 0;
    padding: 0;
}

section {
    background-image: url("../images/icons/topographic-article.svg");
    background-size: cover;
    background-color: #ffffff;
}

a {cursor: pointer;}

a.btn {
    font-size: 14px;
    padding: 5px 20px;
    background-color: #feb911;
    color: #ffffff;
    border-radius: 4px;
}

.col-6 {
    width: 50%;
    padding: 10px 40px;
}

div.bg-y {
    background-color: #feb911;
    background-image: url("../images/icons/topographic-gelb.svg");
    background-size: cover;
    color: #ffffff;
}

div.bg-x {
    background-color: #fff;
}

/*---------------------------------------
 | Desktop | Text
---------------------------------------*/

h1 {
    font-size: 53px;
    font-family: "Audiowide";
    position: relative;
    color: #feb911;
    line-height: 40px;
    text-transform: uppercase;
}

p.sub-heading {
    font-size: 21px !important;
    font-family: "Audiowide" !important;
    line-height: 35px;
    position: relative;
    color: #0b4ea2;
    text-transform: uppercase;
}

h2 {
    font-size: 35px;
    font-family: "Audiowide";
    line-height: 25px;
    position: relative;
    color: #0b4ea2;
    text-align: center;
    margin: 30px 0;
    text-transform: uppercase;
}

h2 img.icon {
    position: absolute;
    height: 20px;
    bottom: -8px;
}

h3 {
    font-size: 24px;
    font-family: "Audiowide";
    color: #0b4ea2;
    margin: 20px 0;
}

p {
    font-size: 15px;
    font-family: "Open Sans" !important;
    color: #585858;
}

p.bold {
    font-size: 0.94rem;
    font-family: "Open Sans";
    line-height: 1.2rem;
    color: #0b4ea2;
    font-weight: 600;
}

p.bold.white {

    font-size: 0.94rem;
    font-family: "Open Sans";
    color: #ffffff;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: #0b4ea2;
}

a:hover {
    color: #feb911;
}


li {
    font-size: 14px;
    font-family: "Open Sans" !important;
    color: #585858;
    list-style: inside
}


/*---------------------------------------
 | Desktop |  Header , Nav
---------------------------------------*/

header {
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
}

header.scrolled {
    background-color: #f5f5f5;
}

nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    list-style: none;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    padding: 10px;
    font-family: Audiowide;
    font-size: 16px;
    text-transform: uppercase;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    background-color: #0b4ea2;
}

.subnav {position: fixed; bottom: 0; right: 0; color: #fff; z-index: 999; transition: 0.5s; text-align: right; background-color: #0b4ea2; padding: 8px 15px;}
.subnav a {color: #fff; font-size: 12px; margin: 0 10px;}
.subnav a:hover {color: #dfdfdf;}



/*---------------------------------------
 | Desktop | Section hero
---------------------------------------*/

div.section#hero {
    background-image: url("../images/header-fahrradladen-loeningen.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    height: 100vh;
    min-height: 635px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

div.section#hero .icons a {
    background-color: #feb911;
    display: block;
    margin: 10px;
    padding: 5px 5px 0 5px;
    border-radius: 4px;
}


section#intro {
    position: absolute;
    top: 100px;
    right: 0;
    text-align: right;
    padding: 50px;
    background-color: unset;
    flex-direction: column;
    display: flex;
    align-items: end;
    background-image: unset !important;
}


section#intro p.desc {
    max-width: 435px;
    font-size: 20px;
    hyphens: auto;
    font-family: "Open Sans";

}

section#intro a.btn {
    font-family: Audiowide;
    margin-top: 30px;
    font-size: 14px;
    display: block;
    width: fit-content;
    float: right;
}

section#intro a.btn:hover {
    background-color: #0b4ea2;
    color: #fff;
}

/*---------------------------------------
 | Desktop | Section über Uns
---------------------------------------*/

section#ueber-uns {
    display: flex;
    flex-direction: column;
    background-image: url("../images/icons/topographic-article.svg");
    background-size: cover;
    background-color: #f5f5f5;
    padding: 100px 0;
}

section#ueber-uns h2 {
    margin: 32px 0;
}

section#ueber-uns h3 {
    color: #feb911;
}

section#ueber-uns div.row img {
    width: 100%;
    margin: 16px 0;
}

section#ueber-uns div.row p {
    margin: 16px 0;
    line-height: 24px;
}

section#ueber-uns div.row {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
    margin-left: 50px;
    margin-right: 50px;
}

section#ueber-uns .col-6:nth-of-type(2) {
    margin-top: 103px;
}

section#ueber-uns .markenlogo {width: 100px!important; height: auto;}

/*-- EBIKES NEU --*/

.parallax1 {
    width: 100%;
    background-image: url("../images/fahrradladen-kette.jpg");
    height: 700px;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

#ebikes {
    background: #fff;
}

#ebikes h3 {
    color: #fff;
}

#ebikes .flex {
    display: flex;
}

.left {
    width: 40%;
    height: auto;
    text-align: center;
    padding: 5%;
}

.ebike {
    width: 90% !important;
    height: auto;
    margin-left: 5%;
    margin-bottom: 20px;
}

.left .btn {
    background: #0b4ea2;
    font-family: Audiowide;
    font-size: 18px;
}

.right {
    width: 40%;
    height: auto;
    background-color: #feb911;
    background-image: url("../images/icons/topographic-gelb.svg");
    background-size: cover;
    color: #ffffff;
    padding: 5%;
}

table {
    margin-top: 20px;
    font-family: "Open Sans" !important;
}

table td,
table li {
    font-size: 16px;
    padding: 5px 10px 0 0;
    height: fit-content;
    vertical-align: top;
    color: #fff;
}


/* Slideshow container */
.slideshow-container {
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 400px;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    background-color: #0b4ea2;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 50%;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

/*---------------------------------------
 | Desktop | Section E-Bike
---------------------------------------*/
section#e-bike {
    display: flex;
    flex-direction: column;
}

section#e-bike h2 {
    margin: 30px 0;
}

section#e-bike h3 {
    font-size: 26px;
}


section#ebikes div.paralax {
    
}

section#e-bike div.row {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}

section#e-bike div.row .col-6.bg-y {
    background-color: #feb911;
    color: #ffffff;
    padding: 50px 75px;
}

section#e-bike h3 {
    color: #ffffff;
}

table {
    margin-top: 20px;
    font-family: "Open Sans" !important;
}

table td {
    font-size: 16px;
    padding: 5px 10px 0 0;
    height: fit-content;
    vertical-align: top;
}


/* SLIDER */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.slide p {
    text-align: center;
    margin: 20px 0;
}

.slide p a.btn {
    background: #0b4ea2;
    font-family: Audiowide;
    font-size: 18px;
}

.slides-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    list-style: none;
    margin: 0;
    padding: 0;
}

.slide-arrow {
    position: absolute;
    display: flex;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    background-color: white;
    border: none;
    width: fit-content;
    background-color: #0b4ea2;
    font-size: 2rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
}

.slide-arrow:hover,
.slide-arrow:focus {
    opacity: 1;
}

#slide-arrow-prev {
    left: 0;
    padding: 0px 10px;
    color: #ffffff;
}

#slide-arrow-next {
    right: 0;
    padding: 0px 10px;
    color: #ffffff;
}

.slide {
    width: 100%;
    height: 100%;
    flex: 1 0 100%;
}



/*---------------------------------------
 | Desktop | Section Aktuelles
---------------------------------------*/
section#aktuelles {
    display: flex;
    flex-direction: column;
    background-image: none;
}

section#aktuelles h3 {
    font-size: 18px;
}

section#aktuelles div.paralax {
    width: 100%;
    background-image: url("../images/e-bike-loeningen.jpg");
    height: 700px;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

section#aktuelles div.vw {
    padding: 100px 0;
    background-image: url("../images/icons/topographic-article.svg");
    background-size: cover;
    background-color: #f5f5f5;
}

section#aktuelles div.vw .col-6 {
    padding: 10px 75px;
}


section#aktuelles div.vw h2 {
    margin-bottom: 32px;
}

section#aktuelles div.row {
    flex-direction: row;
    display: flex;
    justify-content: space-between;
}

section#aktuelles div.row h3 {
    margin: 16px 0;
}




/*---------------------------------------
 | Desktop | Section Aktuelles
---------------------------------------*/
section#contact {
    display: flex;
    flex-direction: row;
}

section#contact .col-6 {
    padding: 75px;
}

section#contact form > * {
    width: 100%;
    margin: 8px 0;
    min-height: 30px;

}

section#contact form input:focus-visible {
    border: unset;
}

section#contact p {
    margin: 16px 0;
}

section#contact p.bold {
    font-family: Audiowide !important;
    font-size: 18px;
}

section#contact h3 {
    font-size: 25px;
    margin: 10px 0;
    color: #ffffff;
}

section#contact form button {
    background-color: #0b4ea2;
    font-family: Audiowide;
    color: #ffffff;
    padding: 5px 0;
}

section#contact div.dsgvo table {
    width: 100%;
    border-spacing: 0;
    /* Removes the cell spacing via CSS */
    border-collapse: collapse;
}

section#contact div.dsgvo table td {
    font-size: 8px;
    width: 50%;
    padding: 5px;
}

section#contact div.dsgvo table tr:nth-child(1) {
    background-color: #4a901e;
}

section#contact div.dsgvo table tr:nth-child(2) {
    background-color: #dedede;
    color: #000;
}


section#contact div.dsgvo table a {
    color: #000;
}

.kontaktformular {
    width: 100%;
    height: 700px;
    border: none;
}



/*---------------------------------------
 | Desktop | Section Maps
---------------------------------------*/
div.section#maps {
    width: 100%;
    background-image: url("../images/maps.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*---------------------------------------
 | Desktop | Section Impressum
---------------------------------------*/
section#impressum {
    display: flex;
    flex-direction: row;
    background: #0b4ea2;
    background-image: url("../images/icons/topographic-blau.svg");
    background-size: cover;
    color: #ffffff;
    padding: 100px 0;
}

section#impressum .col-6 {
    padding: 50px 75px;
}

section#impressum h2 {
    color: #ffffff;
    text-align: left;
}

section#impressum p.bold {
    font-family: Audiowide !important;
    font-size: 20px;
}

section#impressum p {
    margin: 16px 0;
    color: #ffffff;
}

section#impressum a {
    color: #ffffff;
    text-decoration: underline;
}


/*---------------------------------------
 | Desktop | modal
---------------------------------------*/
/* The Modal (background) */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 10px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
}

.modal-content p {
    margin: 0;
}

.modal-content .pyt-method {
    display: block;
    margin: 0 auto;
    width: fit-content;
}


.modal-content .pyt-method > div {
    float: left;
    margin: 5px;
    width: fit-content;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal .slider {
    position: relative;
}

.modal .slider input[type="range"] {
    -webkit-appearance: none !important;
    height: 3px;
    background: #5e6090;
    border: none;
    outline: none;
    position: absolute;
    top: 50%;
    margin-left: 10px;
}

.modal .slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 10px;
    height: 10px;
    background: #333333;
    border: 2px solid #5e6090;
    border-radius: 50%;
    cursor: pointer;
}


.berge {
    width: 100%;

    position: absolute;
    bottom: -33px;
    color: #f5f5f5;
}


section .berge {
    width: 100%;
    color: #f5f5f5;
}



@media screen and (max-width: 1100px) {
    .berge {
        width: 100%;
        bottom: -16px;
    }
}


/*---------------------------------------
                SEO
---------------------------------------*/

#landing-1 {
  display: flex;
  flex-direction: column;
  background-image: url("../images/icons/topographic-article.svg");
  background-size: cover;
  background-color: #f5f5f5;
    padding: 100px 0;}

#landing-1 div.row {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  margin-left: 50px;
  margin-right: 50px;
}

#landing-1 h2 {font-size: 24px; line-height: 30px; text-align: left; margin: 0 0 20px;}
#landing-1 p {margin-bottom: 10px;}

#landing-2 h3 {font-size: 20px; line-height: 26px; text-align: left; margin: 0 0 10px;}
#landing-2 ul {margin-bottom: 20px;}
#landing-2 li {color: #fff;}
#landing-2 p {color: #fff;}
#landing-2 a:hover {text-decoration: underline; color: #0b4ea2}


#landing-2 .flex {display: flex;}
#landing-2 .bild {background-image: url("../images/loeningen-fahrradladen.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center right; width: 50%; height: auto;}


@media screen and (max-width: 800px) {
    #landing-2 .flex {
        display: block;
    }
    #landing-2 .bild {background-image: url("../images/loeningen-fahrradladen.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center right; width: 100%; height: 400px;}
    
    #landing-1 div.row {display: block;}
    #landing-1 .col-6 {width: 100%; padding: 0;}
}


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

@media screen and (max-width: 1100px) {
    .berge {
        width: 100%;
        bottom: -16px;
    }
}


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

    /*CSS*/
    body {
        font-size: 15px;
    }

    p {
        line-height: 18px;
    }

    .hamburger {
        display: block !important;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    /*---------------------------------------
     | Desktop | Text
    ---------------------------------------*/

    h1 {
        font-size: 45px !important;
    }

    section p.sub-heading {
        font-size: 20px !important;
        line-height: 35px;
    }


    /*---------------------------------------
     | Section intro
    ---------------------------------------*/

    section#intro {
        background-color: rgba(255, 255, 255, 0.3) !important;
        top: 200px !important;

    }

    section#intro p.desc {
        font-size: 16px !important;
    }

    section#intro a.btn {
        font-size: 14px !important;
    }



    /*---------------------------------------
    | Section über Uns
    ---------------------------------------*/
    section#ueber-uns h3 {
        line-height: 25px;
        font-size: 20px !important;
    }

    section#ueber-uns .berge {
        width: 100%;
        position: relative;
        top: -50px;
    }

    section#ueber-uns div.col-6:nth-child(1) {
        padding: 25px 0px
    }

    section#ueber-uns div.col-6:nth-child(2) {
        padding: 25px 25px 25px 50px;
    }

    section#ueber-uns div.row p {
        margin: 10px 0;
        line-height: 25px;
    }

    section#ueber-uns div.row {
        display: block;
    }

    .col-6 {
        width: 100%;
    }

    section#ueber-uns div.col-6:nth-child(2) {
        padding: 0;
    }

    section#ueber-uns .col-6:nth-of-type(2) {
        margin-top: 0;
    }

    /*---------------------------------------
    | Section E-bike
    ---------------------------------------*/
    
    section#ebikes .flex {display: block;}
    .left, .right {width: 80%; padding: 50px 10%;}
    .ebike {width: 70%; margin-left: 0;}
    .next {right: 0;}
    .prev, .next {top: 350px;}
    
    .parallax1, .paralax {height: 500px;}

    /*---------------------------------------
    | Desktop | Section Aktuelles
    ---------------------------------------*/


    section#aktuelles div.vw div.col-6 {
        padding: 50px 23px 50px 49px;
    }

    section#aktuelles div.row {
        display: block;
    }

    section#aktuelles .col-6 {
        width: 90%;
    }

    section#aktuelles div.col-6:nth-child(2) {
        padding: 0;
    }


    /*---------------------------------------
    | Desktop | Section Contact
    ---------------------------------------*/
    section#contact {
        flex-direction: column-reverse !important;
    }

    section#contact .col-6 {
        width: unset;
        padding: 75px;
    }

    section#contact div.dsgvo table,
    section#contact form button {
        width: 50% !important;
    }

    /*---------------------------------------
    | Desktop | Section Impressum
    ---------------------------------------*/


    section#impressum div.col-6 {
        padding: 50px 23px 50px 49px;

    }

    section#impressum {
        display: block;
    }
}

@media screen and (max-width: 520px) {
    /*CSS*/

    div.section#hero {
        height: 300px !important;
    }

    /*---------------------------------------
     | Desktop | Text
    ---------------------------------------*/

    h1 {
        font-size: 30px !important;
        text-align: center;
    }

    h2 {
        font-size: 25px;
    }

    p.sub-heading {
        font-size: 20px !important;
        line-height: 35px;
    }

    /*---------------------------------------
     | Desktop | Section hero
    ---------------------------------------*/

    section#intro {
        position: relative !important;
        top: unset !important;
        right: unset !important;
        padding: 30px !important;
        align-items: center !important;
    }

    section#intro p.sub-heading {
        font-size: 1.3rem;
        line-height: 30px;
        margin-top: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    section#intro p {
        max-width: unset !important;
        margin-bottom: 25px;
        line-height: 21px;
    }

    section#intro a.btn {
        margin: 10px auto;
        font-size: 20px;
        padding: 10px 30px;
    }

    /*---------------------------------------
    | Section über Uns
    ---------------------------------------*/
    section#ueber-uns {
        padding: 40px;
        margin-top: unset !important;
    }

    section#ueber-uns div.row {
        flex-direction: column !important;
        margin: 0;
    }

    section#ueber-uns div.row .col-6 {
        width: 100%;
        padding: 0px;
    }

    section#ueber-uns h3 {
        font-size: 20px;
    }

    section#ueber-uns div.row p {
        margin: 10px 0;
    }

    /*---------------------------------------
    | Section E-Bike
    ---------------------------------------*/
    section#e-bike div.paralax {

        height: 400px !important;
    }

    section#e-bike div.row .col-6.bg-y {
        background-color: #feb911;
        color: #ffffff;
        padding: 40px !important;
    }

    section#e-bike div.row .col-6 h3 {
        text-align: center;
    }

    section#e-bike div.row .col-6 > * {
        width: unset !important;
    }

    section#e-bike div.row .col-6.bg-y table {
        overflow: scroll;
        width: 100% !important;
    }

    section#e-bike div.row .col-6.bg-y table td:nth-child(1) {
        color: #0b4ea2;
        font-weight: 600;
    }

    section#e-bike div.row .col-6.bg-y table td {
        display: block;
        width: 99.9%;
        clear: both
    }

    /*---------------------------------------
    | Section Aktuelles
    ---------------------------------------*/
    section#aktuelles {
        padding: 0px;
    }

    section#aktuelles div.paralax {

        height: 450px !important;
    }

    section#aktuelles div.vw {
        padding: 40px !important;
    }

    section#aktuelles div.row {
        flex-direction: column !important;
    }

    section#aktuelles div.vw div.col-6 {
        width: 100%;
        padding: 0px;
    }

    /*---------------------------------------
    | Section Impressum
    ---------------------------------------*/
    section#impressum {
        flex-direction: column !important;
        padding: 40px;
    }

    section#impressum div.col-6 {
        width: 100%;
        padding: 0px;
    }

    section#contact .col-6 {
        padding: 20px !important;
    }

    section#contact div.dsgvo table,
    section#contact form button {
        width: 100% !important;
    }


    .berge {
        bottom: -10px !important;
    }

    section#impressum p.bold {
        font-family: Audiowide !important;
        font-size: 16px !important;
    }


}
