/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* Ende des Style-Resets */

/* Allgemeine Styles */
body {
    font-family: ZonaPro-Light;
}

#wrapper {
    margin: 35px auto;
    position: relative;
}
header {
    float: left;
}

nav {
    z-index: 10;
}

nav a {
    font-family: ZonaPro-Regular;
}

h2 {
    font-family: ZonaPro-Light;
    color: #bd965c;
    letter-spacing: 0.8px;
}
h2:hover {
    color: black;
}

/* Mobile Styles */

/* Desktop Styles */

body {
    padding: 0 1em;
}

section .infotext {
    font-family: ZonaPro-Light;
    line-height: 120%;
}

h1 a {
    display: block;
    color: transparent ! important;  
}

h2, img {
    margin-bottom: 5px;
}

h2:hover {
    cursor: pointer;
}

p {
    margin-bottom: 1em;
}

nav {
    text-align: right;
}

#topnav li {
    display: inline-block;
    line-height: 42px;
}

#topnav li#top_leidenschaft {
    width: 42px;
    height: 42px;
}

#topnav li a#topnav_leidenschaft,
#mobnav li a#mobnav_leidenschaft {
    color: transparent ! important;
    letter-spacing:-20px;
    background-image: url('leidenschaft.png');
    display: block;
    width: 100%;
    height: 100%;
    margin-right: 0;
}

#mobnav li#mob_leidenschaft {
    height: 42px;
}
#mobnav li a#mobnav_leidenschaft {
    background-repeat: no-repeat;
    background-position: right top;
    
}

#topnav li a#topnav_leidenschaft:hover {
    background-position: 0 42px;
}

#mobnav li a#mobnav_leidenschaft:hover {
    background-position: right bottom;
}

#navbutton {
    color: #bd965c;   
    font-weight: 300;
    font-size: 30px;
}
#navbutton:hover {
    cursor: pointer;
}

#mobnav {
    display: none;
}
#topnav li a,
#mobnav li a {
    font-family: ZonaPro-Light;
    color: #bd965c;
    text-decoration: none;
}

#topnav li a:hover,
#mobnav li a:hover {
    color: black;
}

footer {
    margin-top: 1em;
}

#lightboxOverlay {
    background-color: #fff;
}



.overlay {
    display: none;
    position: absolute;
    right: 0;
    min-height: 150vh;
    background-color: #bd965a;
    padding: 2em;
    color: #163553;
    font-family: ZonaPro-Light;  
    line-height: 120%;
    z-index: 120;
}

.overlay h2 {
    padding: 0 0 0.5em;
    line-height: 120%;
}
.overlay .right h3,
.overlay .right h4 {
    font-size: 18px;
    color: #163553;
    padding: 0 0 0.25em;
    text-transform: uppercase;
}
.overlay h3 {
    margin-bottom: 1em;
    font-family: ZonaPro-Regular;
}

.overlay a {
    color: white;
    text-decoration: none;     
}
.overlay a:hover {
    text-decoration: underline;
}

.overlay img {
    width: 100%;
}

.overlay .inner {
    position: relative;
}

.overlay .inner .intro {
    margin-bottom: 1em;
}
.overlay .inner h2 {
    color: #163553 ! important;
}

.overlay .inner div {
    display: inline-block;
    vertical-align: top;
}

.desktop_gallery {
    display: none;
}


@media screen and (min-width: 320px) {
    #wrapper {
        width: 100%;
        margin-top: 1em;
    }

    h1 a {
        width: 175px;
        height: 156px;
        background-image: url('logo-kunz_mobil.jpg');   
    }
    main {
        clear: both;
    }

    .overlay {
        top: 300px;
        width: 94%;
        padding: 2em 3%;
    }


    #navbutton {
        display: inline-block;
    }
    #topnav {
        display: none;
    }
    #mobnav {
        display: none;    
        margin: -1.5em 2.5em 3em 0;  
    }
    #mobnav li a {
        font-size: 16px;
        letter-spacing: 0.4px;
        line-height: 24px;
    }
    section {
        margin-top: 1em;
    }
    section .infotext {
       display: block;
    }

    section ul li {
        display: inline-block;
    }

    .lSSlideOuter ul li img {
        width: 100%;
    }

}

@media screen and (min-width: 720px) and (max-width: 1019px) {
    .overlay .inner {
        max-width: 96%;
        margin: 0 2%;
    }  
    .overlay .inner .intro {
        width: 50%;
        padding-left: 50%;
    } 
    .overlay .inner div.left {
        width: 49%;       
    }
    .overlay .inner div.right {
        width: 49%;
    }
    .overlay img {
        width: 320px;
    }
}

@media screen and (max-width: 1019px) {
    main {
        padding-top: 1em;
    }
    .infotext h3 {
        font-size: 16px;
        font-weight: bold;
        margin: 0.75em 0em;
    }
}


@media screen and (min-width: 1020px) {
    #wrapper {
        width: 1000px;
    } 
    h2 {
        font-size: 16px;
    }  
    section {
       display: block; 
    }
    section h3 {
        font-size: 15px;
    }  
    section .infotext {
        font-size: 14px;
        display: none;
    } 
    h1 a {
        width: 826px;
        height: 160px;
        background-image: url('logo-kunz.jpg');   
    }  
    #navbutton {
        display: none;
        color: #bd965c;   
        font-weight: 300;
        font-size: 30px;
    }
    #topnav {
    display: inline-block;
        margin-top: 2em;
    }
    #topnav li a {
        font-size: 20px;
        letter-spacing: 0.8px;
    }
    #topnav li a {
        margin-right: 2.5em;
    }
    .overlay img {
        width: 320px;
    }

    /*Flexbox gives us the flexiness we need. The top just stays put as there is no scrolling on the body due to the page never exceeding viewport height*/
    header, nav {

    }
    /*This is our main wrapping element, it's made 100vh high to ensure it is always the correct size and then moved into place and padded with negative margin and padding*/
    main {
        display: flex;
        height: 150vh;
        width: 100%;
    }

    /*All the scrollable sections should overflow and be whatever height they need to be. As they are flex-items (due to being inside a flex container) they could be made to stretch full height at all times if needed.
    WebKit inertia scrolling is being added here for any present/future devices that are able to make use of it.
    */
    section {
        overflow: auto;
        height: auto;
        padding: 0;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    /*Entirely optional – just wanted to remove the scrollbar on WebKit browsers as I find them ugly*/
    section::-webkit-scrollbar {
        -webkit-appearance: none;
        display: none;
    }

    section h2 {
        position: absolute;
        background-color: white;
        margin-top: -1.2em;
    }

    section h3 {
        line-height: 120%;
        margin: 0.5em 0;
    }

    .overlay {
        top: 130px;
        width: 50%;
    }  
    .overlay h2 {
        font-size: 20px;
    }

    .mobile_gallery {
        display: none;
    }
    .desktop_gallery {
        display: block;
    }

    #tueren {
        width: 192px;
        margin-right: 8px;
        margin-top: 181px;
    }
    #kochen {
        width: 336px;
        margin-right: 8px;
        margin-top: 130px;
    }
    #baden {
        width: 244px;
        margin-right: 8px;
        margin-top: 165px;
    }
    #verstauen {
        width: 276px;
        margin-right: 8px;
        margin-top: 273px;
    }
    #individuell {
        width: 192px;
        margin-right: 8px;
        margin-top: 273px;
    }
    #gross {
        width: 192px;
    }
}

@media screen and (min-width: 1200px) {
    #wrapper {
        width: 1180px;
    }    
    h2 {
        font-size: 20px;
    }  
    section h3 {
        font-size: 20px;
    }  
    section .infotext {
        font-size: 15px;
    }   
    .overlay .inner {
        max-width: 600px;
    }  
    .overlay .inner .intro {
        width: 250px;
        padding-left: 350px;
    } 
    .overlay .inner div.left {
        width: 346px;       
    }
    .overlay .inner div.right {
        width: 250px;
    }     
}

@media screen and (min-width: 1500px) {
    #wrapper {
        width: 1472px;
    }     
    .overlay .inner {
        max-width: 720px;
    }  
    .overlay .inner .intro {
        width: 351px;
        padding-left: 369px;
    } 
    .overlay .inner div.left {
        width: 369px;       
    }
    .overlay .inner div.right {
        width: 347px;
    }   
}








