/* =============================================================================
   BASE & TYPOGRAPHY
   ============================================================================= */

body {
    font: 16px/21px "Open Sans", sans-serif;
    background: #fff;
    color: #4f4f4f;
}

h1,
h2,
h3 {
    margin: 20px 0 20px;
    font-weight: 600;
    line-height: 1.3em;
}

h3 {
    line-height: 32px;
    font-size: 21px;
}

a,
a:visited {
    text-decoration: none;
    transition: color ease .3s, background-color ease .3s, border-color ease .3s;
    color: #c62828;
}

sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.5em;
}

.clear {
    clear: both;
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
}


/* =============================================================================
   RESPONSIVE - Sichtbarkeits-Klassen
   ============================================================================= */

.non-mobile {
    display: inline-block;
}

.mobile {
    display: none;
}


/* =============================================================================
   LAYOUT & WRAPPER
   ============================================================================= */

#container {
    width: 1320px;
    margin: 0 auto;
}

.links #container {
    width: 1020px;
    margin: 0 auto;
}

.home #container {
    width: 1320px;
}

#header .inside,
#footer .inside,
#headline .inside {
    width: 1320px;
    margin: 0 auto;
}

#sortiment .inside {
    width: 1320px;
    margin: 0 auto;
}


/* =============================================================================
   HEADER
   ============================================================================= */

#header {
    clear: both;
    background: #fff;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    box-shadow: #777 0 0 4px;
}

#header-contact {
    padding-top: 14px;
    padding-bottom: 10px;
    text-align: right;
    font-size: 15px;
}

#logo {
    float: left;
    margin-top: 15px;
}


/* =============================================================================
   HEADLINE
   ============================================================================= */

#headline {
    padding-top: 30px;
    padding-bottom: 30px;
}

#headline h2,
#headline h3 {
    text-align: center;
}

#slider h1,
#headline h2 {
    font-size: 30px;
    color: #7f7f7f;
    font-weight: 800;
}


/* =============================================================================
   SLIDER
   ============================================================================= */

.home #slider {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

#slider .content-image {
    float: right;
}

#slider .content-text {
    top: 50%;
    position: absolute;
    margin-top: -100px;
}

.mod_rocksolid_slider {
    overflow: visible;
}

.rsts-view {
    width: 1320px;
    margin: 0 auto;
}

.rsts-skin-default .rsts-nav {
    text-align: center;
    right: 0;
    left: 0;
}

.rsts-crop,
.rsts-thumbs-crop {
    margin: 0 auto;
    width: 1320px;
}

.rsts-next {
    position: absolute !important;
    right: -150px !important;
    margin-top: -25px;
    top: 50%;
    width: 50px !important;
    height: 50px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.rsts-prev {
    position: absolute !important;
    left: -150px !important;
    top: 50%;
    margin-top: -25px;
    width: 50px !important;
    height: 50px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.rsts-next:after {
    border-left: 5px solid #7f7f7f;
    border-top: 5px solid #7f7f7f;
    width: 25px;
    content: '';
    height: 25px;
    transform: rotate(-225deg);
    margin-top: 10px;
    margin-right: 26.5%;
    float: right;
}

.rsts-prev:after {
    border-left: 5px solid #7f7f7f;
    border-top: 5px solid #7f7f7f;
    width: 25px;
    content: '';
    height: 25px;
    transform: rotate(-45deg);
    margin-top: 10px;
    margin-right: 26.5%;
    float: right;
}

.rsts-slide a {
    padding: 5px 20px;
    background-color: #c62828;
    border-radius: 20px;
    color: #fff;
}

.rsts-slide p {
    font-weight: bold;
    color: #c62828;
}

.rsts-slide .ce_player {
    height: 500px;
    margin: 50px auto;
    text-align: center;
}

.rsts-slide .mejs__video {
    margin: 0 auto;
}


/* =============================================================================
   SORTIMENT
   ============================================================================= */

#sortiment .top {
    padding: 30px 0;
    background-color: #f1f1f1;
}

#sortiment-titel {
    float: none;
    display: inline-block;
}

#suche {
    width: 50%;
    height: 40px;
    float: right;
    margin-top: 28px;
}

#suchfeld {
    width: 93%;
    float: right;
    padding-right: 20px;
    padding-left: 10px;
    border: 2px solid #c62828;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    font-size: 15px;
    line-height: 40px;
    box-sizing: border-box;
}

#suchbutton {
    width: 20px;
    height: 44px;
    float: right;
    padding-right: 14px;
    padding-left: 10px;
    background-color: #c62828;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    line-height: 44px;
    color: #fff;
}

#suchbutton .icon-lupe {
    margin-top: 10px;
}


/* =============================================================================
   FOOTER
   ============================================================================= */

#footer {
    clear: both;
    margin-top: 30px;
    background-color: #f1f1f1;
    padding: 20px 0 40px;
    color: #151515;
    border-top: 5px solid #c62828;
    box-sizing: border-box;
}

.footer-elem {
    width: 25%;
    float: left;
    padding: 0 40px 10px 0;
    box-sizing: border-box;
}

#footer a {
    color: #151515;
}

#footer a:hover {
    color: #c62828;
}

#footerBottom {
    margin-top: 40px;
    padding-bottom: 1px;
    font-size: 13px;
    text-align: center;
}

/* =============================================================================
   KACHELN
   ============================================================================= */

.kacheln {
    width: 1350px;
    margin: 50px auto 50px auto;
}

.kacheln .box {
    float: none;
    display: inline-block;
    background: none;
}

.kacheln .kachel:nth-child(4n+2) {
    clear: left;
}


/* =============================================================================
   TEAM
   ============================================================================= */

.persons {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 35px 15px;
}

.persons .body {
    width: 24%;
    display: flex;
    flex-direction: column;
}

.persons .body .function {
    min-height: 42px;
}

.persons figure {
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.persons figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;


}

/* =============================================================================
   NEWS
   ============================================================================= */
.layout_latest .news-cotent {
    display: flex;
    margin-bottom: 60px;
}

.layout_latest .news-cotent .inhalt {
    flex-direction: column;
    margin-left: 40px;
}

.layout_latest .news-cotent figure {
    aspect-ratio: 1/1;
    min-height: 300px;
}

.layout_full .content-image figure {
    margin-bottom: 60px;
    margin-right: 40px;
}

/* =============================================================================
   CONTENT ELEMENTS
   ============================================================================= */

.ce_player {
    margin-top: 20px;
}

video {
    width: 100%;
}

.ce_player .mejs__poster.mejs__layer {
    height: auto !important;
    width: auto !important;
    max-height: 100%;
    max-width: 100%;
}

.mitte p {
    text-align: center;
}

.mitte div {
    margin: auto;
}

.grau {
    padding: 30px;
    background-color: rgba(0, 0, 0, .05);
}


/* =============================================================================
   FORM ELEMENTS
   ============================================================================= */

form .widget {
    clear: both;
    margin-bottom: 10px;
    line-height: 40px;
}

form .widget label,
form .widget .value-div {
    width: 60%;
}

form .widget input,
form .widget select,
form .widget textarea {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #dedede;
    line-height: 40px;
    box-sizing: border-box;
}

form .widget input:focus,
form .widget select:focus,
form .widget textarea:focus {
    border-color: #222;
}

form .widget .value-div {
    float: right;
    line-height: 40px;
    box-sizing: border-box;
}

form .widget textarea {
    width: 60%;
    float: right;
    padding: 10px;
    line-height: 21px;
    box-sizing: border-box;
}

form .widget select {
    width: 60%;
    height: 40px;
    float: left;
    line-height: 40px;
    box-sizing: border-box;
}

form .submit {
    float: right;
    clear: both;
    margin: 10px 0 0;
    padding: 10px;
    background-color: #505050;
    border: 0;
    color: #fff;
}

form .widget-checkbox {
    width: 60%;
    float: right;
}

form .widget-checkbox input {
    width: 10px;
    margin-right: 20px;
}


/* =============================================================================
   COOKIEBAR
   ============================================================================= */

.cookiebar__button {
    background-color: #c62828;
    color: #fff;
    font-size: 16px;
}

.cookiebar__button:hover {
    background-color: #a22;
}

.cookiebar__text {
    font-size: 16px;
    max-width: 1160px;
    text-align: left;
}

.aspect-ratio-maps {
    aspect-ratio: 2.6/1
}