/*
######################################
GLOBAL RULES
######################################
*/

/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* roboto-500 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/roboto-v30-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/roboto-v30-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/roboto-v30-latin-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/roboto-v30-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/roboto-v30-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* montserrat-regular - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v25-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/montserrat-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/montserrat-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/montserrat-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/montserrat-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/montserrat-v25-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* montserrat-700 - latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/montserrat-v25-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/montserrat-v25-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/montserrat-v25-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/montserrat-v25-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/montserrat-v25-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/montserrat-v25-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
}


body {
    font-family: 'Roboto', sans-serif;
    font-size: 100%;
    line-height: 150%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    line-height: 150%;
}

h1 {
    text-align: center;
    font-size: 2.75em;
    font-weight: 700;
    margin: 70px 0;
}

a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

@media (max-width: 500px) {

    h1 {
        margin: 30px 0;
    }

}


/*
######################################
1. NAVIGATION
######################################
*/

#nav_container {
    width: 100%;
    overflow-x: hidden;
    margin-top: 30px;
}

#nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

#nav img {
    float: left;
    /*background-color: #fff;*/
}

#logoright {
    width: 100%;
    width: calc(100% - 300px);
    margin-left: 300px;
    padding-top: 30px;
}

#navbar {
    background-color: #c30c0e;
    height: 40px;
    width: 600%;
}

#navbar ul {
    display: block;
}

#navbar ul > li {
    display: inline-block;
}

#navbar ul > li a {
    padding: 0 50px;
}

#navbar a:hover {
    background-color: #9a0a0c;
}

#navbar a:active {
    background-color: #740a0b;
}

#navbar a {
    color: #fff;
    line-height: 40px;
    height: 40px;
    display: block;
}

#navbar > a {
    padding-right: 30px;
    position: absolute;
    top: 60px;
    right: 30px;
    display: none;
    padding-right: 12px;
}
#navbar > a:after {
    content: "Menü";
}

#navbar > a:before {
    content: "";
    float: left;
    width: 40px;
    height: 40px;
    background-size: 20px 20px;
    background-position: center;
    background-repeat: no-repeat;
}

.icon-burger:before {
    background-image: url('../img/burger.svg');
}
.icon-close:before {
    background-image: url('../img/close.svg');
}

#mobilenav {
    display: none;

    width: 100%;
    background-color: #f0f0f0;
    padding: 2em 0;
    margin: 1em 0;

    text-align: center;
    font-size: 1.5em;

    overflow:hidden;
}

#mobilenav li a {
    display:block;
    line-height: 200%;
    color: #fff;
    margin-bottom: 10px;
    width: 100%;
    background-color: #c30c0e;
}

#mobilenav li a:hover {
    color: #f0f0f0;
    background-color: #950c0d;
}

#mobilenav li a:active {
    background-color: #740a0b;
}

@media (max-width: 920px) {

    #navbar a {
        display: block;
    }

    #navbar ul {
        display: none;
    }

}

@media (max-width: 500px) {

    #navbar > a {
        padding: 0 8px;
        left: 320px;
        right: auto;
    }
    #navbar > a:after {
        content: "";
    }

}


/*
######################################
2. BANNER
######################################
*/

#banner {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    background: #fff2f2; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffffff 0%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffffff 0%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffffff 0%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
    margin-bottom: -55px;
}

#banner_container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 8em 0 10em 0;
    background-color: #aaa;

    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

#banner h1 {
    font-size: 2em;
    line-height: 1.5;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    background-color: rgba(0,0,0,0.0);
    text-shadow: 0px 2px 4px #000;
    padding: 50px 1em;
}

@media (max-width: 920px) {

    #banner {
        /*margin-bottom: 15px;*/
        font-size: 80%;
    }

    #banner_container {
        padding: 6em 1em 10em 1em;
    }

}

@media (max-width: 670px) {

    #banner {
        margin-bottom: 15px;
    }

    #banner_container {
        padding: 3em 1em;
    }

}

/*
######################################
3. INTRO
######################################
*/

#intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.introbox {
    width: 31%;
    background-color: #fff;
    border: 1px solid #b4b4b4;
    text-align: center;
    display:flex;
    overflow: hidden;
    padding-bottom: 0.9em;
}

.img_container {
    width: 100%;
    height: 9em;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.introbox h3 {
    font-size: 1em;
    font-weight: 500;
    padding: 0.8em;
    padding-bottom: 0;
}

.introbox h3:after {
    content: "";
    display: block;
    width: 86px;
    height: 1px;
    margin: 10px auto 0 auto;
    background-color: #000;
}

.introbox p {
    padding: 0 0.9em;
    line-height: 1.4;
    margin-bottom: 0.4em;
}


@media (max-width: 920px) {

    .img_container {
        height: 5em;
    }

    .introbox_inner {
        font-size:85%;
    }

}

@media (max-width: 670px) {

    .img_container {
        height: 5em;
    }

    .introbox_inner {
        font-size:85%;
    }

    #intro {
        flex-wrap: wrap;
        justify-content: center;
    }

    .introbox {
        width: 98%;
        background-color: #fff;
        border: 1px solid #b4b4b4;
        text-align: center;
        display:block;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .img_container {
        width: 100%;
    }

}

/*
######################################
3. LEISTUNGEN
######################################
*/

#ls_content_hidden {
    display: none;
}


#ls_container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;

    display:flex;
    justify-content: space-between;
    align-content: flex-start;
}

#ls_content_active {
    width: 66.7%;
    display:flex;
    transform: translateY(9px);
}

#ls_content_container {
    border: 1px solid #b7b7b7;
    width: 100%;
}

#ls_selector {
    width: 33.3%;
    min-width: 265px;
}

#ls_selector li a {
    display: block;
    width: 95%;
    background-color: #f0f0f0;
    line-height: 67px;
    height: 67px;
    color: #000;
}

#ls_selector li a:hover {
    background-color: #d7d7d7;
}

#ls_selector li a:active {
    background-color: #b7b7b7;
}

#ls_selector li a img {
    width: 49px;
    height: 49px;
    padding: 9px;
    float: left;
    margin: 0 15px;
}

#ls_selector li.active a {
    background-color: #c30c0e;
    color: #fff;
}

#ls_selector li.active a img {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

#ls_selector li.active a:hover {
    background-color: #9a0a0c;
}

#ls_selector li:after {
    content: '';
    display: block;
    float:right;
    height: 67px;
    width: 5%;
    background-color: #d7d7d7;

    transform-origin: 0 0;
    transform: skew(0deg, 30deg);/*translateY(-67px)*/
    margin-top: -67px;
}
#ls_selector li.active:after {
    background-color: #9a0a0c;
}

#ls_selector li:hover:after, #ls_selector li a:hover {
    background-color: #b7b7b7;
}

#ls_selector li.active:hover:after {
    background-color: #740a0b;
}
#ls_selector li.active a:hover {
    background-color: #9a0a0c;
}

#ls_selector li:active:after {
    background-color: #520808;
}
#ls_selector li a:active {
    background-color: #740a0b;
}

#ls_selector li:hover:after {
    background-color: #b7b7b7;
}
#ls_selector li a:hover {
    background-color: #d7d7d7;
}

@media (max-width: 670px) {

    #ls_container {
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        font-size: 90%;
        margin-left:auto;
        margin-right:auto;
    }

    #ls_selector span {
        display:none;
    }

    #ls_selector {
        width: 95%;
        min-width: 265px;
    }

    #ls_selector li a {
        display: block;
        width: calc(100% / 8);
        float:left;
        padding: 0;
        text-align: center;
        line-height: 47px;
        height: 47px;
    }

    #ls_selector li a img {
        float: initial;
        margin:0;
        width: 29px;
        height: 29px;
        padding: 9px;
    }

    #ls_content_active {
        width: 95%;
    }

    #ls_content_header {
        height: 8em;
    }

    #ls_selector li:after {
        display:none;
        transform: none;
    }

}





#ls_content_header {
    height: 15em;
    overflow: hidden;

    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#ls_content_active_segment {
    padding: 1.5em;
}

#ls_content_active_segment b {
    font-weight: 500;
}

#ls_content_active_segment a {
    font-weight: 500;
    text-decoration: underline;
    text-transform: none;
    font-family: 'Roboto', sans-serif;
    color: #000;
}

#ls_content_active_segment a:hover {
    background-color: #eee;
}

#ls_content_active_segment a:active {
    background-color: #ccc;
}

#ls_content_active_segment h2 {
    font-size: 1.5em;
}

#ls_content_active_segment h2:after {
    content: "";
    display: block;
    width: 86px;
    height: 1px;
    margin-top: 15px;
    background-color: #000;
}

#ls_content_active_segment p {
    padding: 1em 0;
}

#ls_content_active_segment ul {
    padding-left: 2em;
}

#ls_content_active_segment ul li {
    display: list-item;
    list-style: circle;
}

@media (max-width: 670px) {
    #ls_content_header {
        height: 9em;
    }
}

/*
######################################
4. KONTAKT
######################################
*/




#k_container {
    background-color: #c30c0e;
    color: #fff;
    width: 100%;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif;
}

#k_container_inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 2em 1em;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: stretch;
    flex-grow: 1;
}

#double_container > div.double {
    width: 285px;
    position: relative;
}

#double_container > div.double:after {
    content: "";
    position:absolute;
    top:0;
    right: 0;
    background-color: #740a0b;
    width: 70px;
    height: 100%;
    transform-origin: 100% 0;
    transform: skew(0, -45deg);
    display:block;
    z-index: -100;
    padding: 0;
}
#double_container > div.double:before {
    content: "";
    position:absolute;
    top:0;
    right: 0;
    background-color: #950c0d;
    width: 10000px;
    height: 100%;
    transform-origin: 100% 0;
    transform:translateY(70px) translateX(-70px);
    display:block;
    z-index: -100;
    padding: 0;
}

#double_container > div.double > div {
    display:block;
    width: 100%;
}

#double_container > div.double img {
    position: absolute;
    top:-10%;
    right:0;
    height: 120%;
    width: auto;
    margin-right: -40%;
}






#k_container_inner > div, #double_container > div {
    margin-bottom: 2em;
    padding: 2em;
    width: 42%;
}

#k_container_inner > div:first-child {
    width: 90%;
}

#double_container > div.double {
    background-color: #000;
}

#k_container_inner > div:not(#double_container) {
    z-index: 100;
}

#double_container {
    z-index: 90;
    transform: translateY(-32%) translateX(-70px);
}

#k_container_inner > div:nth-child(4), #k_container_inner > div:nth-child(5) {
    margin-top: -5em;
}







#k_container_inner h2{
    font-size: 1.25em;
}

#k_container_inner h2:after {
    content: "";
    display:block;
    width: 86px;
    height: 1px;
    background-color: #fff;
    margin: 1em 0;
}

#k_container_inner td {
    padding-right: 2em;
}

#k_container a {
    color: #fff;
    padding: 3px 7px;
    margin-left: -7px;
    text-transform: none;
}

#k_container a:hover {
    color: #f0f0f0;
    background-color: #950c0d;
}

#k_container a:active {
    background-color: #740a0b;
}



@media (max-width: 920px) {
    #k_container {
        font-size: 90%;
    }
    #double_container > div.double:after, #double_container > div.double:before {
        display:none;
    }
    #k_container_inner > div, #double_container > div {
        margin: 0;
        padding: 0;
    }
    #k_container_inner > div:not(#double_container) {
        margin:0;
        padding:1em;
    }
    #k_container_inner > div#double_container {
        width: 100%;
    }
    #double_container {
        transform: none;
        margin: -2em;
        padding:0;
        width: 100%;
    }
    #double_container > div.double {
        width: 100%;
        margin:4em 0;
    }
    #double_container > div.double > div {
        padding: 2em;
    }
    #double_container > div.double div {
        width: 100%;
    }
    #k_container_inner > div:nth-child(4), #k_container_inner > div:nth-child(5) {
        margin-top: 0;
    }
    #double_container > div.double img {
        top:-5%;
        right:0%;
        height: 110%;
        width: auto;
        margin-right: -5%;
    }
    #k_container_inner > div:first-child {
        width: 40%;
    }
} 

@media (max-width: 760px) {

    #k_container_inner > div:not(#double_container), #double_container > div > div {
        margin:0;
        padding:1em;
    }

    #k_container_inner > div {
        margin: 2em 0;
    }
    #double_container {
        margin: 0;
    }
    #double_container > div.double > div {
        padding: 2em 0;
    }
    #double_container > div.double {
        width: auto;
        padding:0;
        margin:0;
    }
    
    #double_container > div.double img {
        display:none;
    }
    #k_container_inner > div, #k_container_inner > div:first-child {
        width: 100%;
        text-align: center;
    }

    table, #k_container_inner h2:after {
        margin-left: auto;
        margin-right: auto;
    }
} 



/*
######################################
5. ANFAHRT
######################################
*/

.map-container {
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
    text-align:center;
    overflow: hidden;
}

.map-container a {
    display: block;
    position: relative;
}

.map-container img {
    width: 100%;
    transition: filter 50ms ease;
}

.map-container p {
    text-align: center;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 7px 14px;
    background-color: #b91212;
    color: #fff;
    border-radius: 5px;

    transition: opacity 150ms ease;
    opacity: 0;
}

.map-container a:hover p {
    opacity: 1;
}

.map-container a:hover img {
    filter: blur(2px);
}


@media (max-width: 500px) {
    .map-container p {
        opacity: 1;
    }
    .map-container a:hover img {
        filter: none;
    }
}

/*
######################################
6. FOOTER
######################################
*/

#footer {
    margin-top:80px;
    background-color: #f0f0f0;
    color: #aaa;
    text-align: center;
    padding: 25px 10px;
}

#footer h4 {
    font-size: 1em;
    font-weight: 700;
    margin-bottom: 7px;
}

#footer a {
    text-decoration: none;
    text-transform: uppercase;
    padding: 3px 7px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    margin: 5px;
}

#footer a:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
}
#footer a:active {
    color: #ccc;
    background-color: rgba(0, 0, 0, 0.8);

}

#footer ul {
    font-size: 0.8em;
    line-height: 100%;
    margin-bottom: 7px;
}

#footer ul li {
    display: inline;
}
#footer ul li:after {
    content: " | ";
}
#footer ul li:last-child:after {
    content: "";
}

@media (max-width: 670px) {
    #footer {
        font-size: 80%;
    }
    #footer ul li {
        display: block;
    }
    #footer ul li:after {
        content: "";
    }
}

.cc-link {
    text-transform: none;
}

.cc-grower {
    position: relative; z-index: 20000;
}

/*
######################################
HUGO MODERNIZATION - TRANSITIONS
######################################
*/

/* Mobile nav slide animation */
#mobilenav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobilenav.open {
    max-height: 500px;
}

/* Tab content fade animations */
#ls_content_active_segment,
#ls_content_header {
    transition: opacity 0.25s ease;
}

#ls_content_active_segment.fading,
#ls_content_header.fading {
    opacity: 0;
}

/*
######################################
7. LEGAL PAGES (IMPRESSUM/DATENSCHUTZ)
######################################
*/

.single-page {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 30px;
    line-height: 1.6;
}

.single-page .back-button {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 16px;
    background-color: #c30c0e;
    color: #fff;
    text-decoration: none;
    text-transform: none;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95em;
    transition: background-color 0.2s ease;
}

.single-page .back-button:hover {
    background-color: #9a0a0c;
}

.single-page .back-button:active {
    background-color: #740a0b;
}

.single-page h1 {
    font-size: 2.5em;
    margin: 30px 0 40px 0;
    text-align: left;
}

.single-page h2 {
    font-size: 2em;
    margin: 40px 0 20px 0;
}

.single-page h3 {
    font-size: 1.5em;
    margin: 30px 0 15px 0;
}

.single-page p {
    margin-bottom: 1.2em;
    line-height: 1.6;
}

.single-page ul {
    list-style: disc;
    margin-left: 2em;
    margin-bottom: 1.2em;
}

.single-page li {
    margin-bottom: 0.6em;
    line-height: 1.6;
}

.single-page strong {
    font-weight: 700;
}

.single-page em {
    font-style: italic;
}

.single-page a {
    color: #c30c0e;
    text-decoration: underline;
    text-transform: none;
    font-family: 'Roboto', sans-serif;
    padding: 0;
}

.single-page a:hover {
    background-color: #f0f0f0;
}

.single-page a:active {
    background-color: #e0e0e0;
}

@media (max-width: 670px) {
    .single-page {
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .single-page h1 {
        font-size: 2em;
        margin: 20px 0 30px 0;
    }
    
    .single-page h2 {
        font-size: 1.6em;
    }
    
    .single-page h3 {
        font-size: 1.3em;
    }
}
