@import url('https://fonts.verwaltungsportal.de/import/?family=Lato:300,400,500,600,700,300i,400i,500i,600i,700i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Architects+Daughter:400");
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #ffffff;
    font-size: 1rem;  /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 768px) {
    body {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    body {
        font-size: 1.25rem;
    }
}

a {
    color: #3e675b;
}

a:hover {
    color: #3e675b;
}

b, strong {
    font-weight: 600;
}

/* ----------------------------------------------- logo ----------------------------------------------- */

#logoMobil img {
    max-width: 230px;
    max-height: 50px;
    width: auto;
}

.logo {
    display: inline-block;
}

.logo img {
    display: block;
}

/* ----------------------------------------- styler - mail - phone --------------------------------------- */

.contactRow {
    font-size: 1rem;
    padding: 10px 0 10px 0;
}

@media (min-width: 991px) {
    .contactRow {
        padding: 28px 0;
    }
}

#c2a {
    margin: 0 0 12px 0;
    color: #595858;
    width: 100%;
    flex-shrink: 0;
}

#style, .mail, .phone {
    background-color: #3e675b;
    color: #ffffff;
    padding: 4px 15px;
    border-radius: 20px;
    display: inline-block;
    font-weight: 500;
    margin-top: 15px;
}

@media (min-width: 992px) {
    #style, .mail, .phone {
        margin-top: 0;
    }
    .mail, .phone {
        margin-left: 15px;
    }
}

@media (min-width: 1200px) {
    .mail, .phone {
        margin-left: 30px;
    }
}

#style button {
    border: none;
    background: none;
    padding: 0;
}

#style button, .mail a, .phone a {
    color: #ffffff;
    font-weight: 500;
}

.mail, .phone {
    position: relative;
    padding-left: 40px;
}

.mail::before, .phone::before {
    content: "";
    position: absolute;
    display: block;
    width: 30px;
    left: 0;
    top: 0;
    bottom: 0;
}

.mail::before {
    background: url('../img/icon-mail.png') center right no-repeat;
}

.phone::before {
    background: url('../img/icon-telefon.png') center right no-repeat;
}

#style button+button {
    margin-left: 10px;
}

#style button:hover, .mail a:hover, .phone a:hover {
    color:#ffffff;
}

/* ------------------------------------------- navigation ------------------------------------------- */

nav {
    position: relative;
    z-index: 60;
    background-color: #ffffff;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav {
        margin-top: 70px;
    }
    #burgerButton {
        font-size: 0;
        position: absolute;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
        right: 12px;
        top: 50%;
        margin-top: -20px;
    }
    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #3e675b;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
        opacity: 0;
    }
    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }
    #burgerButtonInner {
        top: 11px;
    }
    #burgerButtonInner2 {
        top: 19px;
    }
    #burgerButton:after {
        top: 27px;
        content: "";
        display: block;
    }
    .navbar-nav {
        margin: 20px 0;
    }
    .navbar-collapse {
        top: 70px;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }
    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }
    .navbar-header {
        height: 70px;
        line-height: 1;
        border-radius: 2px;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 101;
        -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }
    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        -webkit-transition: width 300ms linear, opacity 300ms linear;
        -moz-transition: width 300ms linear, opacity 300ms linear;
        -ms-transition: width 300ms linear, opacity 300ms linear;
        -o-transition: width 300ms linear, opacity 300ms linear;
        transition: width 300ms linear, opacity 300ms linear;
    }
    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }
    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        border-top: 3px solid #f3f3f3;
    }
    nav.horizontally .navbar-nav {
        margin-top: -3px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
    .navbar-default .navbar-nav>li {
        flex-grow: 1;
    }
    nav.horizontally .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        position: absolute;
        left: 100%;
        top: 0;
    }
    nav.horizontally .navbar-nav>li, nav.horizontally .navbar-nav>li>.dropdown-menu>li {
        position: relative;
    }
    .navbar-default .navbar-nav > li > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }
    .open > .dropdown-menu,
    .navbar-default .navbar-nav > li:hover > ul,
    .navbar-default .navbar-nav > li > .dropdown-menu > li:hover > .dropdown-menu,
    .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
    }
    .nav .open > .dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav>li>a {
    color: #252525;
    font-weight: 400;
    text-align: center;
    padding: 10px 5px;
    position: relative;
    z-index: 1;
    font-size: 1.125rem;
    -webkit-transition: background-color 300ms linear, color 300ms linear, text-shadow 300ms linear;
    -moz-transition: background-color 300ms linear, color 300ms linear, text-shadow 300ms linear;
    -ms-transition: background-color 300ms linear, color 300ms linear, text-shadow 300ms linear;
    -o-transition: background-color 300ms linear, color 300ms linear, text-shadow 300ms linear;
    transition: background-color 300ms linear, color 300ms linear, text-shadow 300ms linear;
}

.navbar-default .navbar-nav>li>a::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    z-index: -1;
    background: #55a48d;
    -webkit-transition: height 200ms linear, background-color 200ms linear;
    -moz-transition: height 200ms linear, background-color 200ms linear;
    -ms-transition: height 200ms linear, background-color 200ms linear;
    -o-transition: height 200ms linear, background-color 200ms linear;
    transition: height 200ms linear, background-color 200ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 22px 10px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-default #menu .navbar-nav>li:hover>a,
.navbar-default #menu .navbar-nav>li>a:hover,
.navbar-default #menu .navbar-nav>li>a:focus,
.navbar-default #menu .navbar-nav>li.open>a,
.navbar-default #menu .navbar-nav>li.open>a:hover,
.navbar-default #menu .navbar-nav>li.open>a:focus,
.navbar-default #menu .navbar-nav>li[class*="_over"]>a,
.navbar-default #menu .navbar-nav>li[class*="_over"]>a:hover,
.navbar-default #menu .navbar-nav>li[class*="_over"]>a:focus {
    color: #252525;
    background-color: transparent;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.navbar-default #menu .navbar-nav>li:hover>a::before,
.navbar-default #menu .navbar-nav>li>a:hover::before,
.navbar-default #menu .navbar-nav>li>a:focus::before,
.navbar-default #menu .navbar-nav>li.open>a::before,
.navbar-default #menu .navbar-nav>li.open>a:hover::before,
.navbar-default #menu .navbar-nav>li.open>a:focus::before,
.navbar-default #menu .navbar-nav>li[class*="_over"]>a::before,
.navbar-default #menu .navbar-nav>li[class*="_over"]>a:hover::before,
.navbar-default #menu .navbar-nav>li[class*="_over"]>a:focus::before {
    height: 100%;
    background-color: #a7dbcc;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 15px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        background-color: #fff8f2;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
        left: 0;
        right: 0;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        margin-top: -10px;
        margin-left: 12px;
    }
    .navbar-default .navbar-nav > li > .dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 12px;
        top: 0;
        bottom: 0;
        left: -12px;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #252525;
    font-weight: 500;
    text-align: center;
    padding: 8px 25px;
    font-size: 1.125rem;
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
    background: transparent;
    color: #48700d;
}

.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(4n+1) > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
    color: #48700d;
}

.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(4n+3) > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
    color: #48700d;
}

/* --------------------------------------------- banner -------------------------------------------- */

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #slider {
        max-height: 600px;
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }
    #headerpic .nivo-directionNav a {
        top: auto;
        bottom: 40px;
    }

    #headerpic .nivo-controlNav {
        pointer-events: none;
    }

    #headerpic .nivo-controlNav a {
        pointer-events: auto;
    }
}

@media (min-width: 1200px) {
    body.index #slider {
        max-height: 600px;
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.slider-mask {
    display: none;
}

#slogan {
    background: rgba(255, 255, 255, 0.95);
    background-size: cover;
    color: #252525;
    font-weight: 300;
    padding-top: 30px;
    padding-bottom: 10px;
    position: relative;
    font-size: 1.0625rem;
    pointer-events: auto;
}

@media (max-width: 767px) {
    body:not(.index) #slogan {
        display: none;
    }
}

@media (min-width: 768px) {
    #slogan {
        padding: 30px 15px 20px 15px;
    }
}

@media (min-width: 992px) {
    #slogan {
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0);
    }
}

@media (min-width: 1200px) {
    #slogan {
        padding: 50px 25px;
    }
}

.sloganHeadline {
    color: #3e675b;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    font-size: 2rem;
}

.sloganSubHeadline {
    color: #3e675b;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
    font-size: 2rem;
}

@media (min-width: 768px) {
    .sloganHeadline {
        font-size: 2.4rem;
    }
    .sloganSubHeadline{
        font-size: 2.4rem;
    }
}

@media (min-width: 992px) {
    .sloganHeadline {
        font-size: 2.8125rem;
    }
    .sloganSubHeadline{
        font-size: 2.8125rem;
    }
}

.sloganSubHeadline::after {
    content: "";
    display: block;
    margin: 6px 0 12px 0;
    height: 2px;
    width: 180px;
    background: #3e675b;
}

@media (max-width: 991px) {
    .sloganSubHeadline::after {
        margin-left: auto;
        margin-right: auto;
    }
}

.sloganContent {
    line-height: 1.4;
}

@media (min-width: 992px) {
    #bannerOverlay {
        position: absolute;
        right: 0;
        bottom: 0px;
        left: 0;
        z-index: 53;
        pointer-events: none;
    }
}

.slider-wrapper, #slider {
    height: 100%;
}

.bannerslogan {
    color: #fff;
font-size: 1.875rem;
font-family: 'Architects Daughter', cursive;
text-shadow: 1px 1px 10px #000;
text-align: center;
margin-bottom: 0px;
}

@media (min-width: 992px) {
.bannerslogan {
    color: #fff;
font-size: 3.125rem;
font-family: 'Architects Daughter', cursive;
text-shadow: 1px 1px 10px #000;
text-align: center;
}
}
/* ----------------------------------------------- newsletter ----------------------------------------------- */

#newsletter label {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

#newsletter {
    padding: 58px 0 20px 0;
}

#newsletterInputs {
    height: 33px;
    background-color: #cde2dc;
    display: inline-block;
    position: relative;
}

#newsletter_email {
    color: #252525;
    font-size: 18px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 35px;
    padding-left: 50px;
    padding-right: 10px;
    height: 33px;
    width: 100%;
}

#newsletter_submit {
    width: 34px;
    background: url('../img/icon-newsletter.png') center no-repeat;
    background-size: contain;
    padding: 0;
    cursor: pointer;
    line-height: 35px;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    font-size: 0;
    -webkit-transition: background-color 300ms linear;
    -moz-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    -o-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#newsletter_input::-ms-input-placeholder {
    color: #bdcdcd !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: #bdcdcd !important;
}

#newsletter_input::-moz-placeholder {
    opacity: 1;
}

#newsletter_input:-moz-placeholder {
    opacity: 1;
}

/* ----------------------------------------------- scroll bottom ----------------------------------------------- */

#scrollBottom a {
    font-size: 0;
    border-radius: 4px;
    display: block;
    width: 50px;
    height: 30px;
    margin: 0px auto 0 auto;
    text-align: center;
    background-color: #a7dbcc;
    pointer-events: auto;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
    border-radius: 0 0 200px 200px;
}


#scrollBottom a::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin-top: 3px;
    display: inline-block;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: border 300ms linear;
    -moz-transition: border 300ms linear;
    -ms-transition: border 300ms linear;
    -o-transition: border 300ms linear;
    transition: border 300ms linear;
}

@keyframes bounceAni {
    0%, 100%, 20%, 50%, 80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

/* ----------------------------------------------- content ----------------------------------------------- */

#content {
    text-align: left;
    padding-bottom: 30px;
    padding-top: 30px;
}

@media (min-width: 992px) {
    #content {
        padding-bottom: 90px;
        padding-top: 60px;
    }
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
    color: #3e675b;
    font-weight: 700;
    line-height: 1.2;
}

h1, #content .legacy_h1, .legacy_h1 {
    font-size: 1.8rem;
}

h2, #content .legacy_h2, .legacy_h2, .h2 {
    font-size: 1.7rem;
}

h3, #content .legacy_h3, .legacy_h3, .h3 {
    font-size: 1.6rem;
}

h4, #content .legacy_h4, .legacy_h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:visited {
    font-size: 1.5rem;
}

h5, #content .legacy_h5, .legacy_h5, .h5 {
    font-size: 1.4rem;
}

h6, #content .legacy_h6, .legacy_h6, .h6 {
    font-size: 1.3rem;
}

#newslinks, #newsmandate {
    border: 1px solid #f9a765;
}

/* ------------------------------------------------ tab ---------------------------------------------- */

#tab {
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #fbc294;
    font-weight: 600;
    color: #ffffff;
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
}

@media (min-width: 992px) {
    #tab {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

#tab h1, #tab h2, #tab h3, #tab h4, #tab h5, #tab h6 {
    font-weight: 600;
    color: #ffffff;
    text-transform: none;
}

#tab a {
    color: #ffffff;
    text-transform: uppercase;
}

#tab a::after {
    content: "\0203A";
    margin-left: 4px;
    position: relative;
    bottom: 2px;
}

/* ------------------------------------------------ breaker ---------------------------------------------- */

#breaker {
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: fixed;
}

#breaker::before {
    content: '';
    background: -moz-linear-gradient(top,  rgba(37,37,37,0.2) 0%, rgba(255,255,255,0) 37%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(37,37,37,0.2) 0%,rgba(255,255,255,0) 37%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(37,37,37,0.2) 0%,rgba(255,255,255,0) 37%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccececec', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
    height: 10px;
    width: 100%;
    top: 0px;
    left: 0;
    right: 0;
    position: absolute;
}

#breaker::after {
    content: '';
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 37%,  rgba(37,37,37,0.2) 0%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 37%, rgba(37,37,37,0.2) 0%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 37%,  rgba(37,37,37,0.2) 0%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccececec', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
    height: 5px;
    width: 100%;
    bottom: 0px;
    left: 0;
    right: 0;
    position: absolute;
}


/* ------------------------------------------------ footer - tabs ---------------------------------------------- */

#tabs {
    padding-top: 40px;
}

#tabs .contact,
#tabs .newsletter {
    background-color: #cde2dc;
    min-height: 280px;
}

@media (max-width: 992px) {
    #tabs .contact {
        margin-bottom: 30px;
    }
}

#tabs .contact .tabHeadline,
#tabs .newsletter .tabHeadline {
    padding: 20px 25px 15px 25px;
    border-bottom: 1px solid rgba(62, 103, 91, 0.2);
    color: #252525;
    font-weight: 700;
    font-size: 1.35rem;
}

#tabs .contact .tabHeadline{
    background: url(../img/bg-tab.png) right 23px center no-repeat;
}

#tabs .contact .tabContent,
#tabs .newsletter .tabContent {
    padding: 25px 25px 20px 25px;
    color: #252525;
    font-weight: 400;
    font-size: 1.15rem;
}

#tabs .contact .tabContent a,
#tabs .newsletter .tabContent a {
    color: #252525;
    font-weight: 400;
    font-size: 1.15rem;
}

/* ----------------------------------------------- footer ----------------------------------------------- */
footer {
    background-color: #ffffff;
}

#footer {
    padding-top: 26px;
    padding-bottom: 16px;
    color: #938e89;
}

#innerfooter a {
    color: #252525;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
}

#innerfooter a:hover {
    color: #3e675b;
}

#innerfooter a+a::before {
    content: "•";
    margin: 0 15px;
    color: #252525;
}

@media (min-width: 992px) {
    #innerfooter a+a::before {
        margin: 0 30px;
    }
    footer {
        background-image: url(../img/footer-muster.png);
        background-size: cover;
    }
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #252525;
    line-height: 1.3;
    margin: 0 auto 20px auto;
    font-weight: 400;
}

#vernetzt b {
    color: #3e675b;
    font-weight: 400;
}

#vernetzt span {
    color: #252525;
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 14px;
    height: 70px;
}