/*csslint box-model:false, unqualified-attributes:false, outline-none:false, box-sizing:false, order-alphabetical:false, overqualified-elements:false, universal-selector:false, ids:false, unique-headings:false, duplicate-background-images:false, display-property-grouping: false, qualified-headings:false, adjoining-classes:false, compatible-vendor-prefixes:false, bulletproof-font-face:true, duplicate-properties:true, important:false, star-property-hack:false, regex-selectors:false, bulletproof-font-face: false */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body,
html {
    background: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: subpixel-antialiased;
    font-family: myriad-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    color: #000;
}

#slideshowContents {
    display: none !important
}

strong,
b {
    font-family: myriad-pro, sans-serif;
    font-weight: 700;
    font-style: normal;
}

p,
a,
a:link,
a:visited,
a:hover {
    font-family: myriad-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin: 0 0 8px 0;
    text-decoration: none;
}

a:focus,
img,
input,
textarea,
button,
select {
    outline: none;
}

.white {
    color: #fff !important;
}

.red {
    color: #d60c13;
}

.redBg {
    background: #d60c13;
}

.grey {
    color: #ccc4c1;
}

.greyBg {
    background: #ccc4c1
}

/*
.wrapper {
   
    margin: 0;
    display: table;
    min-height: 100vh;
    height: 100vh;

   
}

.size {
    min-width: 1280px;
    max-width: 1920px;
    width: 100%;
}
 */


#header {
    display: block;
    height: 210px;
    width: 100%;
}

.headerLeft {
    width: 70px;
    position: absolute;
}

.floatLeft {
    float: left;
}

.r1 {
    height: 70px;
}

.r2 {
    height: 140px;
}

a#logo,
a#logo:visited,
a#logo:hover,
a#logo:link {
    background: url(logo.svg) 0 bottom no-repeat;
    background-size: 100% auto;
    color: #ffffff;
    color: rgba(255, 255, 255, 0);
    font-size: 0;
    text-decoration: none;
    outline: none;
    width: 132px;
    height: 70px;
    display: block;
    float: left;
    margin: 0 0 0 100px;
    cursor: pointer;
}

#headline {
    max-width: 1025px;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    /* border: 1px solid #00fffc; */
}

h1 {
    margin: 0 auto;
    font-family: myriad-pro, sans-serif;
    font-size: 35px;
    font-weight: 400;
    /* color: #ccc4c1; */
    color: #867f7d;
    line-height: 35px;
    display: block;
    letter-spacing: 3.25px;
    padding: 115px 0 0 0;
    text-transform: uppercase;
}

body.page2 h1 {
    letter-spacing: 2.5px;
}

h2 {
    font-family: myriad-pro, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 100%;
    letter-spacing: 1.5px;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

h3 {
    font-family: myriad-pro, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 20px;
    letter-spacing: 0.6px;
    margin: 0;
    text-transform: uppercase;
}

.textGrid p,
.textGrid ul {
    font-family: myriad-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin: 0 0 20px 0;
}

.textGrid ul {
    padding: 0 0 0 16px;
    list-style: none;
}

.textGrid ul li:before {
    content: "–";
    padding-right: 8px;
    /* position: absolute;*/
    margin: 0 0 0 -16px;
}

.grid {
    max-width: 1162px;
    width: calc(60% + 80px);
    margin: 20px auto 0 auto;
    min-width: 1025px;
    /* border: 1px solid #00fffc; */
    line-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 200ms linear;
}

.gridItem {
    width: 270px;
    height: 270px;
    margin: 0 10px 20px 10px;
    /* border: 1px solid #00fffc; */
    transition: all 200ms linear;
}

.mo {
    cursor: pointer;
    transform: none;
    transition: all 100ms ease-in;
}

.mo:hover,
.imgstatic:hover {
    transform: scale(1.05, 1.05);
}

.imgstart,
.imgstatic {
    position: absolute;
    width: 270px;
    height: 270px;
    transition: opacity 400ms ease-in-out;
}

.imgstart:hover {
    opacity: 0;
}

.imgstart.touch {
    opacity: 0 !important;
}

.imgmouseover {
    display: none;
    width: 270px;
    height: 270px;
    transition: opacity 400ms ease-in-out;
}

.dummy,
.break971 {
    opacity: 0 !important;
    height: 0 !important;
    width: 270px;
}

#footer {
    width: 100%;
    height: 210px;
    display: table;
}

.footerLeft {
    width: 70px;
    position: absolute;
}

.address {
    position: absolute;
    margin: 20px 0 0 100px;
    /* border: 1px solid #00fffc; */
}

.footerGrid {
    max-width: 1160px;
    width: calc(60% + 80px);
    margin: 0 auto;
    min-width: 1025px;
    /* border: 1px solid #00fffc; */
    line-height: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footerGrid .gridItem {
    width: 270px;
    height: 190px;
    margin: 20px 10px 0 10px;
    /* border: 1px solid #00fffc; */
    padding: 0;
}

.footerGrid h3,
.address h3 {
    font-family: myriad-pro, sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 9px 0;
    letter-spacing: 1.5px;
}

.footerGrid p,
.address p {
    font-family: myriad-pro, sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1.5px;
}

.footerGrid a,
.footerGrid a:link,
.footerGrid a:visited,
.footerGrid a:hover {
    font-family: myriad-pro, sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-weight: 400;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.footerGrid a.menuLink,
.footerGrid a.menuLink:link,
.footerGrid a.menuLink:visited,
.footerGrid a.menuLink:hover {
    font-family: myriad-pro, sans-serif;
    font-size: 16px;
    line-height: 19px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.footerGrid a:hover {
    color: #d60c13;
}

.footerGrid .gridItem.g3 a.menuLink {
    padding: 30px 0 0 0;
}

.textGrid {
    max-width: 1160px;
    width: calc(60% + 80px);
    margin: 0 auto;
    min-width: 1025px;
    /* border: 1px solid #00fffc; */
    display: block;
}

.textGrid .impressum {
    column-count: 2;
    column-gap: 20px;
    margin: 0 0 80px 0;
    margin: 0 10px 80px 10px;
}

.textGrid .datenschutz {
    column-count: 2;
    column-gap: 20px;
    margin: 0 10px 80px 10px;
}

.spacer {
    width: 100%;
    float: none;
    clear: both;
    height: 0;
}

#slideshowBackground {
    position: absolute;
    display: none;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 100;
    background: #222;
    background: rgba(0, 0, 0, 0.75);
}

#slideshowCanvas {
    position: absolute;
    display: none;
    max-width: 1280px;
    min-width: 240px;
    width: 80%;
    height: 85vh;
    top: 10%;
    left: 10%;
    z-index: 101;
    /* border: 1px solid #00fffc; */
    /* overflow: hidden; */
}

#slideshowCanvas .bg {
    background: #fff;
    display: table;
    padding: 0;
    width: 100%;
    /* border: 1px solid #00fffc; */
}

#slideshowClose {
    width: 22px;
    height: 22px;
    background: url(slideshowclose.svg) 0 0 no-repeat;
    background-size: 100% 100%;
    position: absolute;
    cursor: pointer;
    margin: 12px 0 0 12px;
}

#zoom {
    margin: 0 auto;
    display: block;
}

#slideshowNavigation {
    text-align: center;
    height: 40px;
    line-height: 40px;
    position: relative;
    margin-top: -40px;
    /* border: 1px solid #00fffc; */
}

#slideshowNavigation .nr {
    display: inline-block;
    height: 18px;
    cursor: pointer;
    width: 18px;
    border-radius: 50%;
    background: #b5b3b3;
    margin: 11px 4px 0 4px;
}

#slideshowNavigation .nr.active {
    background: #000 !important;
}

#slideshowDescription {
    /* border: 1px solid #00fffc; */
    display: table;
	width: 100%;
}

#slideshowDescription p {
    color: #fff;
    margin: 20px 0 0 0;
}

#slideshowDescription .column.c1 {
    width: calc(50% - 10px);
    margin: 0 10px 0 0;
    float: left;
}

#slideshowDescription .column.c2 {
    width: calc(50% - 10px);
    margin: 0 0 0 10px;
    float: left;
}

#totop {
    width: 32px;
    height: 32px;
    position: fixed;
    z-index: 500;
    bottom: 40px;
    right: 5%;
    transition: top .5s linear;
    display: none;
    background: url(totop.png) 0 0 no-repeat;
    padding: 0;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    cursor: pointer;
}

/* media queries > specials */

.smartphone,
.tablet,
br.tablet,
br.smartphone {
    display: none;
}

br.desktop {
    display: inline-block;
}

.desktop {
    display: block;
}

@media screen and (max-width: 1805px) {
    .footerGrid .dummy {
        display: none;
    }
}

@media screen and (max-width: 1525px) {
    .address {
        display: none;
    }

    .footerGrid .gridItem.g1 {
        display: block
    }

    .footerGrid .gridItem.g4 {
        display: none;
    }

    .footerGrid .gridItem.g3 a.menuLink {
        display: inline-block;
    }

}

@media screen and (max-width: 1035px) {
    .footerGrid .gridItem {
        padding-left: 20px;
    }
}

@media screen and (min-width: 1526px) {
    .address {
        display: block;
    }

    .footerGrid .gridItem.g1 {
        display: none;
    }

    .footerGrid .gridItem.g3 a.menuLink {
        display: none;
    }
}

@media screen and (max-width: 1055px) {
    .break1055 {
        display: inline-block;
    }
}

@media screen and (min-width: 1056px) {
    .break1055 {
        display: none;
    }
}

@media screen and (max-width: 490px) {
    .break490 {
        display: inline-block;
    }
}

@media screen and (min-width: 489px) {
    .break490 {
        display: none;
    }
}

@media screen and (max-width: 971px) {
    .footerGrid .gridItem.break971 {
        display: block;
    }

    .footerGrid .gridItem {
        padding: 0;
        height: auto;
    }

    .footerGrid .gridItem.g3 {
        margin-bottom: 70px;
    }

}

@media screen and (min-width: 972px) {
    .footerGrid .gridItem.break971 {
        display: none;
    }

    .footerGrid .gridItem.g3 {
        margin-bottom: 0;
    }
}

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

    body.page2 h1 {
        letter-spacing: 0;
    }
}

/* Tablets */

@media screen and (min-width: 767px) and (max-width: 1024px) {

    body {
        overflow: auto !important;
    }

    .size {
        min-width: 767px;
        max-width: 1024px;
        width: 100%;
    }

    br.tablet {
        display: inline-block;
    }

    .tablet {
        display: block;
    }

    .desktop,
    .smartphone,
    br.desktop,
    br.smartphone {
        display: none;
    }

    #header,
    #footer {
        max-width: 1024px;
    }

    #headline {
        width: 100%;
        max-width: 100%;
    }

    .grid {
        max-width: 1024px;
        width: calc(100% - 140px + 40px);
        margin: 20px auto 0 auto;
        min-width: 767px;
    }

    .footerGrid {
        max-width: 1024px;
        width: calc(100% - 140px + 40px);
        min-width: 767px;
    }

    .textGrid {
        max-width: 1024px;
        width: calc(100% - 140px + 40px);
        margin: 20px auto 0 auto;
        min-width: 767px;
    }

    .textGrid .impressum {
        column-count: 2;
        column-gap: 20px;
        margin: 0 40px 60px 40px;
    }

    .textGrid .datenschutz {
        column-count: 2;
        column-gap: 20px;
        margin: 0 40px 60px 40px;
    }

}

/* Smartphones */

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

    body {
        overflow: auto !important;
    }

    .size {
        min-width: 320px;
        max-width: 767px;
        width: 100%;
    }

    br.smartphone {
        display: inline-block;
    }

    .smartphone {
        display: block;
    }

    .desktop,
    .tablet,
    br.desktop,
    br.tablet {
        display: none;
    }

    #header,
    #footer {
        max-width: 767px;
    }

    #header {
        display: block;
        height: 210px;
        width: 100%;
    }

    .headerLeft {
        width: 40px;
        position: absolute;
    }

    .r1 {
        height: 40px;
    }

    .r2 {
        height: 80px;
    }

    a#logo,
    a#logo:visited,
    a#logo:hover,
    a#logo:link {
        width: 100px;
        height: 40px;
        margin: 0 auto;
        float: none;
    }

    #headline {
        max-width: 767px;
    }

    h1 {
        margin: 0 auto;
        width: calc(100% - 80px);
        font-family: myriad-pro, sans-serif;
        font-size: 15px;
        line-height: 19px;
        letter-spacing: 1.1px;
        padding: 24px 0 0 0;
    }

    .break1055 {
        display: none;
    }

    #header {
        height: 120px;
    }

    .grid {
        margin: 0 auto;
        max-width: 687px;
        min-width: 240px;
        width: calc(100% - 80px + 32px);
    }

    .gridItem {
        width: 112px;
        height: 112px;
        margin: 0 8px 16px 8px;
    }

    .dummy {
        margin-bottom: 0;
    }

    .imgstart,
    .imgmouseover,
    .imgstatic {
        width: 116px;
        height: 116px;
    }

    #footer {
        height: auto;
    }

    .footerLeft {
        width: 40px;
    }

    .footerGrid {
        max-width: 687px;
        min-width: calc(236px + 16px);
        width: calc(100% - 80px + 16px);
        margin: 76px auto 0 auto;
    }

    .footerGrid .gridItem {
        width: 100%;
        height: auto;
        margin: 0 8px 30px 8px;
    }

    .footerGrid .gridItem.break971 {
        display: none;
    }

    .footerGrid .gridItem.g3 {
        margin-bottom: 30px;
    }

    .textGrid {
        margin: 0 auto;
        max-width: 687px;
        min-width: 240px;
        width: calc(100% - 80px);
    }

    .textGrid .impressum {
        column-count: 1;
        column-gap: 0;
        margin: 0 0 40px;
    }

    .textGrid .datenschutz {
        column-count: 1;
        column-gap: 0;
        margin: 0 0 40px;
    }

    .textGrid .datenschutz h2 {
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    #slideshowBackground {
        position: absolute;
        display: none;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
        z-index: 100;
        background: #222;
        background: rgba(0, 0, 0, 0.75);
    }

    #slideshowCanvas {
        max-width: calc(766px - 10%);
        min-width: calc(320px - 10%);
        width: 90%;
        height: auto;
        top: 5%;
        left: 5%;
    }

    #slideshowCanvas .bg {
        padding: 0;
    }

    #zoom {
        margin: 0 auto;
        width: 100%;
        height: auto;
    }

    #slideshowDescription .column.c1,
    #slideshowDescription .column.c2 {
        width: 100%;
        margin: 0;
        float: none;
    }

}

@media screen and (min-width: 690px) and (max-width: 767px) {

    a#logo,
    a#logo:visited,
    a#logo:hover,
    a#logo:link {
        width: 120px;
        height: 60px;
        margin: 0 auto;
        float: none;
    }

    h1 {
        margin: 0 auto;
        width: calc(100% - 80px);
        font-family: myriad-pro, sans-serif;
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 1.1px;
        padding: 24px 0 0 0;
    }

    .grid {
        max-width: 767px;
        width: calc(100% - 140px + 40px);
        margin: 40px auto 0 auto;
        min-width: 690px;
    }

    .gridItem {
        width: 220px;
        height: 220px;
        margin: 0 10px 20px 10px;
    }

    .imgstart,
    .imgstatic,
    .imgmouseover {
        width: 220px;
        height: 220px;
    }
}

@media screen and (min-width: 462px) and (max-width: 689px) {
    .grid {
        max-width: 689px;
        width: calc(100% - 140px + 40px);
        margin: 20px auto 0 auto;
        min-width: 462px;
    }

    .gridItem {
        width: 180px;
        height: 180px;
        margin: 0 10px 20px 10px;
    }

    .imgstart,
    .imgstatic,
    .imgmouseover {
        width: 180px;
        height: 180px;
    }
}

@media screen and (min-width: 400px) and (max-width: 461px) {
    .grid {
        max-width: 461px;
        width: calc(100% - 140px + 40px);
        margin: 20px auto 0 auto;
        min-width: 400px;
    }

    .gridItem {
        width: 140px;
        height: 140px;
        margin: 0 10px 20px 10px;
    }

    .imgstart,
    .imgstatic,
    .imgmouseover {
        width: 140px;
        height: 140px;
    }
}
