/*------ RESET ------*/
@import url('https://fonts.googleapis.com/css?family=Roboto:300,300i,700,700i');

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

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

a {
    text-decoration: none;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
}

a:hover {
    text-decoration: none;
}

nav,
.impressum {
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}



/*----- BOX LAYOUT MODEL -----*/

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

 /*------ CLEAR -----*/

 .wrapper:after,
 section:after,
 footer:after {
    content: "";
    display: table;
    clear: both;
}

.clear {
    clear: both;
}

/*------ LAYOUT ------*/

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 0.01rem;
    line-height: 1.4;
    background: #fff;
    overflow-x: hidden;
    padding-top: 95px;
    position: relative;
}

body.serif {
    font-family: 'Noto Serif SC', serif;
}

body, html{
    overflow-x: hidden;
}

.wrapper {
    width: 100%;
    max-width: 1400px;
    padding: 95px 2rem 0;
    margin: 0 auto;
    -moz-transition: all .3s ease;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    position: relative;
}

section{
    display: block;
}

#rotate {
    display: none;
}

p {
    margin-bottom: 2rem;
}

p:last-child,
p:last-of-type {
    margin-bottom: 0;
}

i, em {
    font-style: italic;
}

a {
    text-decoration: none;
}

section a {
    text-decoration: underline;
}

a:hover {
    opacity: 0.7;
}

strong, b {
    font-weight: 700;
}

.btn {
    font-size: 1.2rem;
    padding: 0.8rem 2.2rem;
    display: inline-block;
    text-decoration: none;
}

section ul {
    list-style: outside;
    padding: 0 0 10px 20px;
}

section ul li {
    margin-top: 0.2rem;
}


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

#logo {
    text-transform: uppercase;
    font-weight: 700;
}

.imglogo #logo {
    display: inline-block;
}

.imglogo #logo span {
    display: none;
}

.imglogo #logo img {
    height: 60px;
    width: auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.4rem 4rem;
    line-height: 1;
    position: relative;
}

.imglogo.header-wrapper {
    padding: 1rem 4rem;
}

nav {
    font-weight: 300;
    float: right;
    margin-bottom: 1.4rem;
}

.imglogo nav {
    padding: 20px 0;
}

nav ul {
    float: right;
}

nav li {
    float: left;
    margin-left: 1rem;
}

nav a {
    margin-left: 1rem;
}

/*------ HERO ------*/

section.hero {
    display: flex;
    max-width: 100%;
    padding: 0;
}

.slide {
    background-size: cover!important;
    width: 100%;
    min-height: calc(100vh - 95px);
}

.slider,
.hero-text {
    width: 50%!important;
    flex-wrap: wrap;
    min-height: calc(100vh - 95px);
}

.slider {
    position: relative;
}

.owl-dots {
    position: absolute;
    width: 100%;
    bottom: 10px;
    left: 0;
    text-align: center;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel button.owl-dot {
    width: 10px;
    height: 10px;
    margin: 5px;
}

.owl-dot span {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    background: #fff;
}

button:focus {
    outline:0;
}

.hero-text {
    font-size: 1.4rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
}

.hero-text-wrapp {
    width: 100%;
    max-width: 700px;
    padding: 4rem;
}

section {
    width: 100%;
}

.section-wrapp {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 6rem 2rem 6.1rem;
}

.hero .btn {
    margin-top: 2rem;
}


/*------ TEXT ------*/

.spalten-2 .infotext-links {
    padding-left: 6rem;
    display: inline-block;
    float: left;
}

.spalten-2 .infotext-rechts {
    padding-right: 6rem;
    display: inline-block;
    float: left;
}

.section-titel {
    text-align: center;
    font-weight: 700;
    font-size: 1.7rem;
    margin-bottom: 2rem;
    margin-top: -0.1rem;
}

.infotext {
    width: 50%;
    padding: 0 2rem;
}

.spalten-1 .infotext {
    margin: 0 auto;
    width: 70%;
    float: none;
}

/*------ TEAM ------*/

.team .section-wrapp {
    padding-bottom: 0;
}

.team .section-titel {
    width: 100%;
}

.mitglieder {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 2rem;
}

.mitglied {
    width: 33%;
    float: left;
    padding: 2rem 3rem;
    text-align: center;
    position: relative;
}

.mitglied.no-photo .mitglied-info,
.mitglied.m-photo .mitglied-info {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translate(0,-50%);
    width: 100%;
}

.mitglied-info span{
    margin-top: 0.5rem;
    display: block;
}

.mitglied-info {
    opacity: 1;
    transition: opacity .4s ease;
}

.avatar {
    width: 100%;
    padding-top: 100%;
    border-radius: 50%;
    margin-bottom: 2rem;
    position: relative;
    opacity: 0.4;
    transition: opacity .4s ease;
}

.mitglied:hover .avatar {
    opacity: 1;
}

.mitglied.m-photo:hover .mitglied-wrapp {
    background: none!important;
}

.mitglied.m-photo:hover .mitglied-info {
    opacity: 0;
}

.mitglied-wrapp {
    border-radius: 50%;
    width: 100%;
    position: relative;
}

/*------ COLORS DEFAULTS------*/

#logo,
section:nth-child(even) .section-titel {
    color: #84754d;
}

.mitglied-wrapp,
.active.owl-dot span {
    background: #84754d;
}

.hero .btn,
.impressum,
footer,
section:nth-of-type(4n+3),
section:nth-of-type(4n+1) .btn {
    background: #000;
}

nav a,
.hero .btn,
.text,
.team,
footer,
.impressum,
.impressum a,
section:nth-of-type(4n+3) a,
section:nth-of-type(4n+1) .btn {
    color: #84754d;
}

.close-svg {
    fill: #84754d;
}

.mitglied:nth-child(3) .mitglied-wrapp,
.mitglied:nth-child(3n) .mitglied-wrapp,
section:nth-of-type(4n+1),
#mob-nav span {
    background: #84754d;
}

section:nth-of-type(4n+1),
section:nth-of-type(4n+1) a,
.mitglied.no-photo .mitglied-info,
.mitglied.m-photo .mitglied-info {
    color: #fff;
}

section:nth-of-type(even),
section:nth-of-type(4n+3) .btn {
    background: #fff;
}

/*------ CS2 -------*/

.cs2 #logo,
.cs2 section:nth-child(even) .section-titel {
    color: #abae77;
}

.cs2 .mitglied:nth-child(1) .mitglied-wrapp,
.cs2 .mitglied:nth-child(3n+1) .mitglied-wrapp,
.active.owl-dot span {
    background: #abae77;
}

.cs2 .mitglied:nth-child(2) .mitglied-wrapp,
.cs2 .mitglied:nth-child(3n+2) .mitglied-wrapp,
.cs2 .hero .btn,
.cs2 .impressum,
.cs2 footer,
.cs2 section:nth-of-type(4n+3),
.cs2 section:nth-of-type(4n+1) .btn {
    background: #efddd1;
}

.cs2 nav a,
.cs2 .hero .btn,
.cs2 .text,
.cs2 .team,
.cs2 footer,
.cs2 .impressum,
.cs2 .impressum a,
.cs2 section:nth-of-type(4n+3) a,
.cs2 section:nth-of-type(4n+1) .btn {
    color: #ad9b8d;
}

.cs2 .close-svg {
    fill: #ad9b8d;
}

.cs2 .mitglied:nth-child(3) .mitglied-wrapp,
.cs2 .mitglied:nth-child(3n) .mitglied-wrapp,
.cs2 section:nth-of-type(4n+1) {
    background: #ad9b8d;
}

.cs2 section:nth-of-type(4n+1),
.cs2 section:nth-of-type(4n+1) a,
.cs2 .mitglied.no-photo .mitglied-info,
.cs2 .mitglied.m-photo .mitglied-info {
    color: #fff;
}

.cs2 section:nth-of-type(even),
.cs2 section:nth-of-type(4n+3) .btn {
    background: #fff;
}

/*------ CS3 -------*/

.cs3 #logo,
.cs3 section:nth-child(even) .section-titel {
    color: #EFC898;
}

.cs3 .mitglied:nth-child(1) .mitglied-wrapp,
.cs3 .mitglied:nth-child(3n+1) .mitglied-wrapp,
.active.owl-dot span {
    background: #EFC898;
}

.cs3 .mitglied:nth-child(2) .mitglied-wrapp,
.cs3 .mitglied:nth-child(3n+2) .mitglied-wrapp,
.cs3 .hero .btn,
.cs3 .impressum,
.cs3 footer,
.cs3 section:nth-of-type(4n+3),
.cs3 section:nth-of-type(4n+1) .btn {
    background: #BBCBD2;
}

.cs3 nav a,
.cs3 .hero .btn,
.cs3 .text,
.cs3 .team,
.cs3 footer,
.cs3 .impressum,
.cs3 .impressum a,
.cs3 section:nth-of-type(4n+3) a,
.cs3 section:nth-of-type(4n+1) .btn {
    color: #495F77;
}

.cs3 .close-svg {
    fill: #495F77;
}

.cs3 .mitglied:nth-child(3) .mitglied-wrapp,
.cs3 .mitglied:nth-child(3n) .mitglied-wrapp,
.cs3 section:nth-of-type(4n+1) {
    background: #495F77;
}

.cs3 section:nth-of-type(4n+1),
.cs3 section:nth-of-type(4n+1) a,
.cs3 .mitglied.no-photo .mitglied-info,
.cs3 .mitglied.m-photo .mitglied-info {
    color: #fff;
}

.cs3 section:nth-of-type(even),
.cs3 section:nth-of-type(4n+3) .btn {
    background: #fff;
}

/*------ CS4 -------*/

.cs4 #logo,
.cs4 section:nth-child(even) .section-titel {
    color: #8BCBC8;
}

.cs4 .mitglied:nth-child(1) .mitglied-wrapp,
.cs4 .mitglied:nth-child(3n+1) .mitglied-wrapp,
.active.owl-dot span {
    background: #8BCBC8;
}

.cs4 .mitglied:nth-child(2) .mitglied-wrapp,
.cs4 .mitglied:nth-child(3n+2) .mitglied-wrapp,
.cs4 .hero .btn,
.cs4 .impressum,
.cs4 footer,
.cs4 section:nth-of-type(4n+3),
.cs4 section:nth-of-type(4n+1) .btn {
    background: #FDAE84;
}

.cs4 nav a,
.cs4 .hero .btn,
.cs4 .text,
.cs4 .team,
.cs4 footer,
.cs4 .impressum,
.cs4 .impressum a,
.cs4 section:nth-of-type(4n+3) a,
.cs4 section:nth-of-type(4n+1) .btn {
    color: #3C2C3D;
}

.cs4 .close-svg {
    fill: #3C2C3D;
}

.cs4 .mitglied:nth-child(3) .mitglied-wrapp,
.cs4 .mitglied:nth-child(3n) .mitglied-wrapp,
.cs4 section:nth-of-type(4n+1) {
    background: #3C2C3D;
}

.cs4 section:nth-of-type(4n+1),
.cs4 section:nth-of-type(4n+1) a,
.cs4 .mitglied.no-photo .mitglied-info,
.cs4 .mitglied.m-photo .mitglied-info {
    color: #fff;
}

.cs4 section:nth-of-type(even),
.cs4 section:nth-of-type(4n+3) .btn {
    background: #fff;
}


/*------ FOOTER ------*/

footer {
    padding: 2.4rem 0;
}

.footer-wrapper {
    padding: 0 4rem;
    max-width: 1400px;
    margin: 0 auto;
    line-height: 1;
}

.copy {
    float: left;
}

.imprs {
    float: right;
    cursor: pointer;
}

.imprs:hover {
    opacity: 0.7;
}

.navi {
    text-align: center;
    padding: 4rem 20%;
}

.impressum {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 1000;
    top: 0;
    bottom: 0;
    left: -100%;
    overflow-y: auto;
    transition: all .4s ease;
    display: flex;
    align-items: center;
}

nav.is-active,
.impressum.is-active {
    left: 0;
}

nav svg,
.impressum svg {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 30px;
    right: 70px;
    cursor: pointer;
}

.sr,
.hero,
header {
  visibility: hidden;
}

/*------- MOB NAV ------*/

#mob-nav {
    display: none;
}

#mob-nav {
   width: 40px;
   height: 29px;
   float: right;
   /* margin-top: -5px; */
   -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
   -webkit-transition: .5s ease-in-out;
   -moz-transition: .5s ease-in-out;
   -o-transition: .5s ease-in-out;
   transition: .5s ease-in-out;
   cursor: pointer;
   display: none;
 }

 #mob-nav span {
   display: block;
   position: absolute;
   height: 5px;
   width: 100%;
   opacity: 1;
   left: 0;
   -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
   -webkit-transition: .25s ease-in-out;
   -moz-transition: .25s ease-in-out;
   -o-transition: .25s ease-in-out;
   transition: .25s ease-in-out;
 }

 #mob-nav span:nth-child(1) {
   top: 0px;
 }

 #mob-nav span:nth-child(2) {
   top: 12px;
 }

 #mob-nav span:nth-child(3) {
   top: 24px;
 }

 #mob-nav.open span:nth-child(1) {
   top: 10px;
   -webkit-transform: rotate(135deg);
   -moz-transform: rotate(135deg);
   -o-transform: rotate(135deg);
   transform: rotate(135deg);
 }

 #mob-nav.open span:nth-child(2) {
   opacity: 0;
   left: -60px;
 }

 #mob-nav.open span:nth-child(3) {
   top: 10px;
   -webkit-transform: rotate(-135deg);
   -moz-transform: rotate(-135deg);
   -o-transform: rotate(-135deg);
   transform: rotate(-135deg);
 }


/*------- RSP -------*/


/*------ disable iphone landscape ------*/

#rotate {
    width: 100%;
    height: 100vh;
    background: url(../images/rotate.svg) center center no-repeat #fff;
    background-size: 15% auto;
    display: none;
}

@media only screen and (max-device-width: 736px) and (orientation: landscape) {

    #rotate {
        display: block;
    }

    header,
    .wrapper,
    footer,
    section,
    section.hero {
        display: none!important;
    }

    body {
        overflow: hidden;
        padding: 0;
    }

}

/* up to iPad portrait */
@media screen and (max-width: 1024px) {

    body {
        font-size: 1.4rem;
    }

    #mob-nav {
       display: inline-block;
    }

    nav {
        width: 100%;
        display: none;
    }

    .imglogo nav {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    nav ul,
    nav li {
        float: left;
        width: 100%;
    }

    nav li {
        margin: 0 0 20px;
    }

    nav li a {
        margin: 0;
        font-weight: 700;
        font-size: 1.7rem;
    }

    .mitglied {
        width: 50%;
    }

    .slider, .hero-text {
        width: 100%!important;
        flex: 1;
        flex-wrap: wrap;
    }

    .slide,
    .slider {
        min-height: 400px;
    }

    .hero-text {
        min-height: auto;
        line-height: inherit;
    }

    body.mobile .infotext {
        width: 100%;
        padding: 0 2rem;
    }

    .infotext.infotext-rechts {
        padding-top: 2rem;
    }

    section.hero {
        display: block;
    }

    .header-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

}

/* iphone portrait */

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

    #logo {
        max-width: calc(100% - 65px);
        float: left;
    }

    .header-wrapper,
    .footer-wrapper {
        padding: 25px;
        float: left;
    }

    footer {
        padding: 0;
    }

    .hero-text-wrapp,
    .section-wrapp {
        padding: 25px;
    }

    p,
    .avatar {
        margin-bottom: 1em;
    }

    .hero .btn {
        margin-top: 0;
    }

    body.mobile .infotext {
        padding: 0;
    }

    .mitglied {
        width: 100%;
        padding: 1em;
    }

    .infotext p {
        text-align: left!important;
    }

    .copy {
        display: none;
    }

    .imprs {
        float: left;
    }

    .navi {
        padding: 25px;
        text-align: left;
    }

    nav svg, .impressum svg {
        right: 25px;
    }

    .section-titel {
        text-align: left;
    }

    .impressum {
        display: block;
    }
    .spalten-1 .infotext,
    .spalten-2 .infotext {
        width: 100%;
        padding: 0;
    }


    .imglogo.header-wrapper {
        padding: 1rem 25px;
        width: 100%;
    }

}
