@import url('https://fonts.verwaltungsportal.de/css/?family=Source+Sans+Pro:400,600,700,400i,600i,700i');

body {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    color: #404040;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
}

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

a {
    color: #cc1928;
}

#content a {
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #cc1928;
    text-decoration: underline;
}

a:focus, input:focus {
    outline: 3px solid #bebebe;
}

b, strong {
    font-weight: 600;
}

/* ----------------------------------------------- topbar ----------------------------------------------- */

#topbar {
    padding-top: 10px;
    padding-bottom: 10px;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
    #style {
        display: inline-block;
        height: 36px;
        padding-left: 50px;
        background: url('../img/schriftgroesse-icon.png') center left no-repeat;
    }

    #style button {
        font-size: 1rem;
        padding: 0 0 2px 0;
        border: none;
        color: #385623;
        display: inline-block;
        width: 36px;
        height: 36px;
        font-weight: 700;
        text-align: center;
        background: #ffffff;
        position: relative;
        line-height: 1;
        -webkit-box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

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

    #style button:hover,
    #style button:focus {
        color: #ffffff;
        background: #385623;
    }

    #style+* {
        margin-left: 40px;
    }
}

/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
    height: 36px;
    background: #ffffff;
    display: inline-block;
    position: relative;
    margin-top: 15px;
    -webkit-box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
    form[id^="search"] {
        margin-right: 30px;
        max-width: 270px;
        margin: 0;
        width: 100%;
    }
}

form [id^="search_input"] {
    color: #666666;
    font-size: 16px;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    line-height: 36px;
    padding-left: 14px;
    padding-right: 60px;
    height: 36px;
    width: 100%;
}

form [id^="search_submit"] {
    width: 50px;
    background: url('../img/lupe-icon.png') center top 2px no-repeat;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: -4px;
    bottom: 0;
    right: 0;
    font-size: 0;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
    background-color: transparent;
}

[id^="search_input"]::-ms-input-placeholder {
    color: #666666 !important;
    font-style: italic;
}

[id^="search_input"]::-webkit-input-placeholder {
    color: #666666 !important;
    font-style: italic;
}

[id^="search_input"]::-moz-placeholder {
    opacity: 1;
    font-style: italic;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        -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);
    }

    #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
        background-color: #385623;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        -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: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #385623;
        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 {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        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;
    }

    .dropdown-toggle-button-wrapper {
        top: 8px;
    }
}

@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 {
        background-color: #385623;
        -webkit-transition: all 300ms linear;
        -moz-transition: all 300ms linear;
        -ms-transition: all 300ms linear;
        -o-transition: all 300ms linear;
        transition: all 300ms linear;
    }

    nav.horizontally .navbar-nav {
        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;
    }

    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[class*="toplevel"]:hover>ul,
    .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
        z-index: 1003;
    }
}

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

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 12px 15px;
    text-transform: uppercase;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    }

    nav.horizontally .navbar-nav>li>a.dropdown-toggle {
        padding-right: 35px;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li+li {
        margin-left: 15px;
    }

    .navbar-default .navbar-nav>li>a {
        padding: 20px 0 19px 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: 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;
    }
}

.navbar-default .navbar-nav>li>a::before {
    content: "";
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    background-color: #ffffff;
    opacity: 0;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    -webkit-transition: opacity 300ms linear, width 300ms linear;
    -moz-transition: opacity 300ms linear, width 300ms linear;
    -ms-transition: opacity 300ms linear, width 300ms linear;
    -o-transition: opacity 300ms linear, width 300ms linear;
    transition: opacity 300ms linear, width 300ms linear;
}

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

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

.navbar-nav>li:focus-within>a {
    color: #ffffff;
    background-color: transparent;
}

.navbar-nav>li:hover>a::before,
.navbar-nav>li>a:hover::before,
.navbar-nav>li>a:focus::before,
.navbar-nav>li.open>a::before,
.navbar-nav>li.open>a:hover::before,
.navbar-nav>li.open>a:focus::before,
.navbar-nav>li[class$="_over"]>a::before,
.navbar-nav>li[class$="_over"]>a:hover::before,
.navbar-nav>li[class$="_over"]>a:focus::before {
    opacity: 1;
    width: 100%;
}

.navbar-nav>li:focus-within>a::before {
    opacity: 1;
    width: 100%;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu {
        padding: 10px 0;
    }
}

@media(min-width:992px) {
    .navbar-default .navbar-nav>li>.dropdown-menu, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
        padding: 18px 40px;
        min-width: 310px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 10px;
        left: 50%;
        -moz-transform: translate(-50%, 0);
        -webkit-transform: translate(-50%, 0);
        -o-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .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 {
        margin-top: -18px;
        margin-left: 50px;
    }

    .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu::before {
        content: "";
        position: absolute;
        display: block;
        width: 110px;
        top: 0;
        bottom: 0;
        left: -60px;
    }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    color: #404040;
    font-weight: 700;
    text-align: center;
    padding: 10px 15px;
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media(max-width:991px) {
    .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
        text-align: left;
    }

    nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
        padding-right: 35px;
    }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li:not(:nth-child(2)), .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li:not(:nth-child(2)) {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
    content: "\203A \203A";
    display: inline-block;
    position: relative;
    bottom: 2px;
    position: absolute;
    left: 0;
    top: 8px;
    opacity: 0;
    color: #385623;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

/* ------------------------------------------ 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 {
    color: #385623;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
    color: #385623;
}

.navbar-nav>li>.dropdown-menu>li:hover>a::before,
.navbar-nav>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
    opacity: 1;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::before {
    opacity: 1;
}

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

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

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

    body.index #slider {
        max-height: 600px;
    }

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

    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    .index #headerpic .nivo-controlNav {
        bottom: 115px;
    }
}

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

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

.slider-mask {
    display: none;
}

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

#tabs, #tabs2 {
    padding-top: 30px;
}

@media (min-width: 992px) {
    #tabs, #tabs2 {
        padding-top: 0;
        position: relative;
        z-index: 60;
        margin-top: -100px;
    }
}

@media (max-width: 991px) {
    #tabs>.row>*+* {
        margin-top: 30px;
    }

    #tabs>.row>*:nth-child(2) {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    #tabs>.row>*+* {
        margin-top: 30px;
    }
}


#tabs .tab {
    background: #ffffff;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 40px 15px 100px 15px;
    height: 100%;
    min-height: 100%;
}

#tabs2 .tab {
    background: #ffffff;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 40px 15px;
}

#tabs .tab::after, #tabs2 .tab:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 50px;
    right: 50px;
    bottom: 0;
    height: 15px;
    -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15);
}

#tabs .tab .tabHeadline, #tabs2 .tab .tabHeadline {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 20px;
}

#tabs .tab_link_title a,
#tabs .tab_link_mandat a {
    color: inherit;
}

#tabs .tab_link_title a {
    font-weight: 600;
}

#tabs .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#tabs .tab_spacer {
    height: 15px;
}

.tab.buttonStyle {
    position: relative;
}

.tab.buttonStyle>.tabContent>.template-page>.row>div,
.tab.buttonStyle>.tabContent>.template-page>.row,
.tab.buttonStyle>.tabContent>.template-page,
.tab.buttonStyle>.tabContent {
    position: static;
}

/* ---------------------------------------------- button style -------------------------------------------- */


.buttonStyle a:not(.has-image):not([rel]),
#tabs .tab_link_mehr a:not(.has-image):not([rel]),
#gallery a:not(.has-image):not([rel]) {
    font-size: 1.125rem;
    color: #404040;
    border-radius: 30px;
    border: 1px solid #cc1928;
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
}

#tabs .buttonStyle a:not(.has-image):not([rel]) {
    font-size: 1.125rem;
    color: #404040;
    border-radius: 30px;
    border: 1px solid #cc1928;
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
    position: absolute;
    bottom: 2vw;
    left: 2.6vw;
    right: 2.6vw;
}

#tabs .tab_link_mehr a:not(.has-image):not([rel]) {
    position: absolute;
    left: 50%;
    bottom: 40px;
    white-space: nowrap;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

#tabs .tab_link_mehr a:not(.has-image):not([rel])::after {
    content: " erfahren \203A \203A";
}

#tabs .buttonStyle a:not(.has-image):not([rel])::after {
    content: " \203A \203A";
}

#gallery a:not(.has-image):not([rel])::after {
    content: " \203A \203A";
}

#tabs .buttonStyle a:not(.has-image):not([rel]):hover,
#tabs .buttonStyle a:not(.has-image):not([rel]):focus,
.buttonStyle a:not(.has-image):not([rel]):hover,
.buttonStyle a:not(.has-image):not([rel]):focus,
#tabs .tab_link_mehr a:not(.has-image):not([rel]):hover,
#tabs .tab_link_mehr a:not(.has-image):not([rel]):focus,
#gallery a:not(.has-image):not([rel]):hover,
#gallery a:not(.has-image):not([rel]):focus {
    color: #ffffff;
    background: #476d2c;
    border-color: #476d2c;
}

#tabs2 .tab a:not(.has-image):not([rel]) {
    color: #404040;
    text-decoration: none;
}

#tabs2 .tab a:not(.has-image):not([rel]):hover,
#tabs2 .tab a:not(.has-image):not([rel]):focus {
    text-decoration: underline;
}

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

main {
    background: #f6f6f6;
}

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

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

    #content::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: -45px;
        left: 0;
        background-image: url('../img/baum-1.png');
        background-position: right 50px bottom;
        background-repeat: no-repeat;
        pointer-events: none;
    }

    .index #content::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: -45px;
        left: 0;
        background-image: url('../img/baum-1.png');
        background-position: left 50px bottom;
        background-repeat: no-repeat;
        z-index: 1;
        pointer-events: none;
    }
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, H6, H5, H4, H3, H2, H1 {
    color: #385623;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Source Sans Pro", sans-serif;
}

h1, .h1, .legacy_h1, #gallery h2 {
    font-size: 1.7rem;
}

@media (min-width: 768px) {
    h1, .h1, .legacy_h1, #gallery h2 {
        font-size: 40px;
    }
}

h1 i, .h1 i,
h1 em, .h1 em,
h2 i, .h2 i,
h2 em, .h2 em {
    font-style: normal;
    font-size: 1.25rem;
    display: block;
}

h2, .h2, .legacy_h2 {
    font-size: 1.6rem;
}

@media (min-width: 768px) {
    h2, .h2, .legacy_h2 {
        font-size: 2.25rem;
    }
}

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

@media (min-width: 768px) {
    h3, .h3, .legacy_h3 {
        font-size: 2rem;
    }
}

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

@media (min-width: 768px) {
    h4, .h4, .h4link a:link, .h4link a:hover, .h4link a:focus, .h4link a:visited, .legacy_h4 {
        font-size: 1.75rem;
    }
}

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

@media (min-width: 768px) {
    h5, .h5, .legacy_h5 {
        font-size: 1.5rem;
    }
}

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

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

/* ----------------------------------------------- gallery ----------------------------------------------- */

#gallery {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #ffffff;
    position: relative;
}

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

    #gallery::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: -45px;
        left: 0;
        background-image: url('../img/baum-2.png');
        background-position: right bottom;
        background-repeat: no-repeat;
    }
}

#gallery img {
    display: block;
    width: 100%;
}

#gallery .btgrid>.row {
    margin-left: -1px;
    margin-right: -1px;
}

#gallery .btgrid .row>div {
    padding-left: 1px;
    padding-right: 1px;
}

#gallery h1,
#gallery h2,
#gallery h3,
#gallery h4,
#gallery h5,
#gallery h6 {
    margin-bottom: 0 !important;
}

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

footer,
#footer {
    position: relative;
}

.index footer::before {
    content: "";
    display: block;
    height: 100px;
    background: #476d2c;
    margin: 0 15px;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

#footer::before,
#footer::after {
    content: "";
    display: block;
    width: 117px;
    height: 100px;
    position: absolute;
    top: -80px;
    pointer-events: none;
}

#footer::before {
    left: 0;
    background: #385623 linear-gradient(9deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 51%) bottom -14px right / 102px 50px no-repeat;
}

#footer::after {
    right: 0;
    background: #385623 linear-gradient(-9deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 51%) bottom -14px left / 102px 50px no-repeat;
}

@media (min-width: 992px) {
    footer::before {
        margin: 0 158px;
    }

    #footer::before,
    #footer::after {
        width: 260px;
    }
}

#footerlogo {
    position: absolute;
    z-index: 2;
    top: -140px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}

@media (max-width: 991px) {
    #footerlogo img {
        max-width: 100px;
    }
}

@media (min-width: 992px) {
    #footerlogo {
        top: -190px;
    }
}

#footer {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 1rem;
}

@media (max-width: 991px) {
    #footer>.row>*+* {
        margin-top: 30px;
    }
}

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

#footer a {
    text-decoration: underline;
}

#footer .footerHeadline {
    font-size: 1.0625rem;
    text-transform: uppercase;
    margin-bottom: 6px;
}

#footer .footerHeadline::before {
    content: "";
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f6f6f6;
    margin: 0 auto 15px auto;
    background-position: center;
    background-repeat: no-repeat;
}

#footer .tab1 .footerHeadline::before {
    background-image: url('../img/telefon-icon.png');
}

#footer .tab2 .footerHeadline::before {
    background-image: url('../img/ort-icon.png');
}

#footer .tab3 .footerHeadline::before {
    background-image: url('../img/mail-icon.png');
}

#footer .tab4 .footerHeadline::before {
    background-image: url('../img/hours-icon.png');
}

#innerfooter {
    background-color: #385623;
    padding-top: 26px;
    padding-bottom: 26px;
    font-size: 1rem;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
}

#innerfooter li+li {
    margin-left: 20px;
}

@media (min-width: 1200px) {
    #innerfooter li+li {
        margin-left: 40px;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #ffffff;
    line-height: 1.3;
    margin: 20px auto 0 auto;
    text-decoration: none;
}

@media (min-width: 768px) {
    #vernetzt {
        margin: 0;
    }
}

#vernetzt span span {
    display: block;
}

#vernetzt img {
    margin-left: 18px;
}