/*

Dahmen Schleifmittel

Farben:
Blau          rgba(0,92,169,1)    #005ca9
Schwarz       rgba(14,14,16,1)    #0e0e10


*/


*::selection {
    background-color: #005ca9;
    color: #fff;
}


@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/source-sans-pro-v13-latin-regular.eot');
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
         url('../fonts/source-sans-pro-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/source-sans-pro-v13-latin-regular.woff2') format('woff2'),
         url('../fonts/source-sans-pro-v13-latin-regular.woff') format('woff'),
         url('../fonts/source-sans-pro-v13-latin-regular.ttf') format('truetype'),
         url('../fonts/source-sans-pro-v13-latin-regular.svg#SourceSansPro') format('svg');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/source-sans-pro-v13-latin-600.eot');
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
         url('../fonts/source-sans-pro-v13-latin-600.eot?#iefix') format('embedded-opentype'),
         url('../fonts/source-sans-pro-v13-latin-600.woff2') format('woff2'),
         url('../fonts/source-sans-pro-v13-latin-600.woff') format('woff'),
         url('../fonts/source-sans-pro-v13-latin-600.ttf') format('truetype'),
         url('../fonts/source-sans-pro-v13-latin-600.svg#SourceSansPro') format('svg');
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/source-sans-pro-v13-latin-700.eot');
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
         url('../fonts/source-sans-pro-v13-latin-700.eot?#iefix') format('embedded-opentype'),
         url('../fonts/source-sans-pro-v13-latin-700.woff2') format('woff2'),
         url('../fonts/source-sans-pro-v13-latin-700.woff') format('woff'),
         url('../fonts/source-sans-pro-v13-latin-700.ttf') format('truetype'),
         url('../fonts/source-sans-pro-v13-latin-700.svg#SourceSansPro') format('svg');
}




body {
    font-family: 'Source Sans Pro';
    font-weight: 400;
    color: #0e0e10;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(221,221,221,1) 0%, rgba(127,127,127,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(221,221,221,1) 0%, rgba(127,127,127,1) 100%);
    background: linear-gradient(90deg, rgba(221,221,221,1) 0%, rgba(127,127,127,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#dddddd",endColorstr="#7f7f7f",GradientType=1); 
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    color: #005ca9;
}
h3, h4, h5, h6,
.h3, .h4, .h5, .h6 {
    font-weight: 600;
}

b, strong {
    font-weight: 600;
}

/* Links */

a {
    color: #005ca9;
    font-weight: 600;
    -webkit-transition: 135ms all ease-in-out;
    -moz-transition: 135ms all ease-in-out;
    -ms-transition: 135ms all ease-in-out;
    -o-transition: 135ms all ease-in-out;
    transition: 135ms all ease-in-out;
}
a:hover,
a:focus {
    color: #0e0e10;
    text-decoration: none;
}
/* Cookie */ 

.cc-window.cc-floating {
    max-width: 30em;
}

/* Button */

.btn {
    padding: .65rem 1.5rem;
    border-radius: 0;
}
.btn-primary {
    opacity: .75;
    background-color: #005ca9;
    border-color: #005ca9;
    -webkit-transition: 135ms all ease-in-out;
    -moz-transition: 135ms all ease-in-out;
    -ms-transition: 135ms all ease-in-out;
    -o-transition: 135ms all ease-in-out;
    transition: 135ms all ease-in-out;
}
  
.btn-primary:hover {
    opacity: 1;
    background-color: #005ca9;
    border-color: #005ca9;
}
  
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 transparent;
}
  
.btn-primary.disabled,
.btn-primary:disabled {
    opacity: .5;
    background-color: #005ca9;
    border-color: #005ca9;
}
  
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: #005ca9;
    border-color: #005ca9;
}



/* Header */
header {
    background-color: #fff;
}

header .container {
    padding: 0;
}
header .navbar-brand {
    margin-left: 15px;
}
header .navbar-brand .logo {
    width: 13rem;
}

header nav.navbar {
    padding: .5rem 0;    
}

header nav.navbar ul.nav li {
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 100%;
}
header nav.navbar ul.nav li a {
    display: block;
    width: 100%;
    padding: .5rem 1rem;
}


/* Navbar Toggler */
.nav-trigger {
    padding: 0;
    width: 2.5rem;
    height: 2rem;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0 none;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
.nav-trigger:focus {
    outline: none;
}

.nav-trigger span {
    overflow: hidden;
    display: block;
    position: absolute;
    height: .35rem;
    width: 50%;
    background: #005ca9;
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.nav-trigger span:nth-child(even) {
    left: 50%;
}
.nav-trigger span:nth-child(odd) {
    left: 0;
}
.nav-trigger span:nth-child(1),
.nav-trigger span:nth-child(2) {
    top: 0px;
}
.nav-trigger span:nth-child(3),
.nav-trigger span:nth-child(4) {
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
.nav-trigger span:nth-child(5),
.nav-trigger span:nth-child(6) {
    bottom: 0;
}
.nav-trigger.is-clicked span:nth-child(1),
.nav-trigger.is-clicked span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}
.nav-trigger.is-clicked span:nth-child(2),
.nav-trigger.is-clicked span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.nav-trigger.is-clicked span:nth-child(1) {
    left: .2rem;
    top: .4rem;
}
.nav-trigger.is-clicked span:nth-child(2) {
    left: calc(50% - .2rem);
    top: .4rem;
}
.nav-trigger.is-clicked span:nth-child(3) {
    left: -50%;
    opacity: 0;
}
.nav-trigger.is-clicked span:nth-child(4) {
    left: 100%;
    opacity: 0;
}
.nav-trigger.is-clicked span:nth-child(5) {
    left: .2rem;
    bottom: .4rem;
}
.nav-trigger.is-clicked span:nth-child(6) {
    left: calc(50% - .2rem);
    bottom: .4rem;
}
  
/* Fullscreennavigation */
header nav.navbar .navigation {
    position: fixed;
    left: 0;
    top: 4.5rem;
    height: 100%;
    width: 100%;
    z-index: 20;
    background-color: #ddd;
    overflow: auto;
    visibility: hidden;
    -webkit-transform: translateY(-150%);
    -moz-transform: translateY(-150%);
    -ms-transform: translateY(-150%);
    -o-transform: translateY(-150%);
    transform: translateY(150%);
    opacity: 0;
    -webkit-transition: 300ms all linear;
    -moz-transition: 300ms all linear;
    -ms-transition: 300ms all linear;
    -o-transition: 300ms all linear;
    transition: 300ms all linear;
}
header nav.navbar .navigation.is-visible {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}
header nav.navbar .navigation > ul.nav {
    margin-bottom: 10rem;
}

header nav.navbar ul.nav ul {
    list-style-type: disc;
    padding-left: 2.5rem;
    font-size: 100%;
}
header nav.navbar ul.nav ul > li > a {
    padding: .5rem 0;
    font-weight: 400;
}

/* Intro Startseite */

.intro {
    position: relative;
}
.container-fluid {
    padding:0px;
    border-top: solid 0px #005ca9;
}

.carousel-caption {
    position: absolute;
    bottom: auto;
    bottom: 2rem;
    left: 0;
    z-index: 10;
    width: 100%;
    padding: 1.25rem 1rem;
    color: #fff;
    text-align: center;
}
.carousel-caption h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 900;
}
.carousel-caption p {
    font-size: 1.15rem;
}


.blau {
    border-left: 5px solid #005ca9;
}

/* Bilderwechsler */
.bilderwechsler {
    position: relative;
}
.bilderwechsler::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2rem;
    z-index: -1;
    background-color: #fff;
}
.bilderwechsler .overlay {
    padding: 0;
}

.intro .carousel-item {
    height: 400px;
}
.intro .carousel-item img {
    height: 100%;
    -webkit-object-fit: cover;
    object-fit: cover;
}


.carousel-control-next,
.carousel-control-prev {
    top: auto;
    width: 3rem;
    height: 3rem;
    right: 1rem;
    bottom: 1rem;
    opacity: 1;
    border-radius: 10rem;
    background-color: #005ca9;
}
.carousel-control-prev {
    left: auto;
    right: 5rem;
}
.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    opacity: 1;
}

/* Intro Bereiche */
.bereiche {
    position: absolute;
    left: 50%;
    bottom: 5rem;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    text-align: center;
    max-width: 100%;
    display: none;
    -ms-flex-align: center;
    align-items: center;
    width: 75%;
}
.bereiche img {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.bereiche h3 {
    color:#fff;
    font-weight: 300;
    padding-bottom: 1rem;
    font-size: 1.15rem;
}
.bereiche a {
    color:#fff;
    font-weight: 300;
    font-size: .8rem;
    border: solid 1px #fff;
    padding: 10px 30px 10px 30px;
}

/* Inhalt */
main {
    padding-bottom: 3rem;
}

main.second-nav-layer .menu-e2 {
    display: none;
}
main.second-nav-layer .menu-e2,
main.second-nav-layer .main-content {
    padding-left: 15px;
    padding-right: 15px;
}

main.second-nav-layer .menu-e2 .menu-e2-sticky h1.product-heading {
    padding-left: 15px;
    font-weight: 400;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: .05rem;
}
h2 {
    margin-bottom: 1.5rem;
}
.text-blue {
    font-size: 125%;
    color: #005ca9;
}
.parallax-content {
    padding-left:25%;
    padding-right:25%;    
}
.beitrag-mittig {
    padding: 2rem 4rem 2rem 4rem;
    margin: 5rem 0rem 5rem 0rem;
    background-color: rgba(000, 000, 000, 0.0);
}
.beitrag-mittig h2 {
    display:none;
}
.parallax-content h2,
.parallax-content p {
    text-align: center;    
}

/* Beiträge */
.beitrag {
    padding: 3rem 0;
}
.itemid-102 .beitrag {
    padding: 1.5rem 0;
}
main.second-nav-layer .items-row:first-of-type .beitrag,
body.view-article main.second-nav-layer .beitrag {
    padding-top: 0;
}
.inhalt .bild {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1rem;
}
.inhalt:not(.item-image-none) .bild {
    padding-left: 15px;
    padding-right: 15px;
}
.itemid-101 .inhalt .ueberschrift > .page-header > * {
    color: #005ca9;
    padding-top: 2rem;
}
main.second-nav-layer .inhalt .ueberschrift > .page-header > * {
    color: #005ca9;
    font-weight: 400;
    font-size: 1.25rem;
}

.introtext .carousel {
    margin-bottom: 1rem;
}
.kleiner-abstand p {
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
}

.qs-abstand {
    margin-bottom:0.3rem;
    padding-left: 2rem;   
}

/* Auflistungsformatierung */

.inhalt .text .introtext ul,
.inhalt .text .introtext ol {
    padding-left: 1.5rem;
}
.inhalt .text .introtext ul > ol,
.inhalt .text .introtext ol > ul {
    margin-top: .25rem;
    margin-bottom: .25rem;
    padding-left: 1rem;
}

.inhalt .text .introtext ol > ul,
.inhalt .text .introtext ol > dl > ul {
    list-style-type: disc;
}

.inhalt .text .introtext ul > ol > dl,
.inhalt .text .introtext ol > ul > dl,
.inhalt .text .introtext ol > dl,
.inhalt .text .introtext ol > dl > ul {
    margin-bottom: .25rem;
}
.inhalt .text .introtext ol > dl {
    margin-top: .25rem;
}
.inhalt .text .introtext ol > dl > dd {
    margin-bottom: 0;
}
.inhalt .text .introtext ol > ul > dl > dd,
.inhalt .text .introtext ul > ol > dl > dd {
    margin-bottom: .25rem;
}
dl {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}
dd {
    margin-bottom: 0.0rem;
}

/* Icon Row */
.icon-row {
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 45rem;
    text-align: center;
}
.icon-row > .bg-color {
    padding: 2rem 1rem;
}
.icon-row .icon-row-text {
    display: block;
}

/* Downloads */
.downloads .download-caption {
    background-color: #005ca9;
    color: #fff;
}
.downloads .download-caption .download-direct {
    background-color: #ddd;
}
.img-thumbnail {
    border-color: #005ca9;
}



/* Kontakte */
.contacts > div {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.contact-item .contact-image {
    margin-bottom: 1.5rem;
}
.contact-item h4 {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: .25rem;
}
.contact-item .contact-body {
    padding: 1rem 2rem;
}
.contact-item .contact-body a {
    font-weight: 400;
}




/* Karte */
.leaflet-tile-container img {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    filter: grayscale(100%);
}
.placemarkHead {
    font-size: 1.2rem;
}
.leaflet-control-zoom a,
.leaflet-control-zoom a,
a.leaflet-popup-close-button {
    background-size: 0 0 !important;
}
.leaflet-popup-content-wrapper {
    border-radius: 0;
}
.leaflet-container a {
    color: #005ca9;
}
.leaflet-container .placemarkContent, 
.leaflet-container .placemarkBody {
    font-size: .9rem !important;
}


/* ----------------------------------------------------------------------------- */
/* This file contains all styles related to the map of the site/application.     */
/* ----------------------------------------------------------------------------- */

#OMaps__Consent {
    border: 2px solid #fff;
    height: 100%;
    padding: 0 15px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #ddd;
}


.uc-text-embedding-inline-button {
    height: auto !important;
    display: inline !important;
}



/* Kontaktformular */
.formular {
    max-width: 35rem;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}
.form-control {
    border-radius: 0;
    min-height: 3rem;
    border: 0 none;
    color: #0e0e10;
    -webkit-transition: 135ms all ease-in-out;
    -moz-transition: 135ms all ease-in-out;
    -ms-transition: 135ms all ease-in-out;
    -o-transition: 135ms all ease-in-out;
    transition: 135ms all ease-in-out;
}
.form-control:focus {
    color: #005ca9;
    background-color: #ddd;
    border-color: transparent;
    box-shadow: 0 0 0 0 transparent;
}
.formular .btn {
    display: block;
    width: 100%;
}
.alert {
    border-radius: 0;
}
.formError {
    font-weight: 400;
    font-size: .8rem;
}

/* Custom Checkbox */
.form-check-inline .form-check-input.custom-control-input {
    position: absolute;
    z-index: 1;
    opacity: 1;
    margin-right: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: none !important;
}
.custom-control-input:checked::before {
    color: #fff;
    border-color: #005ca9;
    background-color: #005ca9;
}
.custom-control-input:focus,
.custom-control-input:active {
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: none;
}

.custom-control-input::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: #0e0e10 solid 1px;
}
.custom-control-input::after {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}
.custom-switch {
    padding-left: 2.25rem;
}
.custom-switch .custom-control-input::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
    opacity: 1;
}
.custom-switch .custom-control-input::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #0e0e10;
    opacity: 1;
    border-radius: 0.5rem;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-transform 0.15s ease-in-out;
}
@media screen and (prefers-reduced-motion: reduce) {
    .custom-switch .custom-control-input::after {
        transition: none;
    }
}
.custom-switch .custom-control-input:checked::after {
    background-color: #fff;
    -webkit-transform: translateX(0.75rem);
    transform: translateX(0.75rem);
}
.custom-switch .custom-control-input:disabled:checked::before {
    background-color: rgba(0,0,0,0);
}
.custom-switch .custom-control-label::before,
.custom-switch .custom-control-label::after {
    display: none;
}



footer {
    position: relative;
    padding: 2rem 0;
    color: #fff;
    background: rgb(6,6,6);
    background: -moz-linear-gradient(180deg, rgba(6,6,6,1) 0%, rgba(72,74,79,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(6,6,6,1) 0%, rgba(72,74,79,1) 100%);
    background: linear-gradient(180deg, rgba(6,6,6,1) 0%, rgba(72,74,79,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#060606",endColorstr="#484a4f",GradientType=1);
}

footer .icons_mit_link a {
    display: inline-block;
    margin-right: 1rem;
}
footer .icons_mit_link img {
    width: 3.5rem;
    height: 3.5rem;
    display: block;
    opacity: .35;
}

footer .footer-logo {
    -ms-flex-order: 1;
    order: 1;
}
footer .row .bild {
    margin-top: -4rem;
    margin-bottom: 2rem;
    opacity: .35;
}
footer .footer-menu {
    -ms-flex-order: 2;
    order: 2;
}
footer .footer-menu ul.nav {
    -ms-flex-pack: justify;
    justify-content: space-between;
}
footer .footer-menu ul.nav li a {
    padding: .5rem 1rem;
}
footer .footer-menu ul.nav li a:hover,
footer .footer-menu ul.nav li a:focus {
    color: #fff;
}

footer .footer-kontakt {
    -ms-flex-order: 3;
    order: 3;
}

.traueranzeige {
    position: absolute;
    top: -4rem;
    right: 2rem;
    z-index: 5;
    border: 1rem solid #000;
}
.traueranzeige img {
    width: 6rem;
    height: 6rem;
}

.icons_mit_link {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
    margin-top: 2rem;
}


footer a {
    color: #fff;
}

footer .row:last-of-type {
    margin-top: 2rem;
}
footer p {
    margin-bottom: 0;
    text-align: center;
}

section.copyright {
    font-size: .85rem;
    text-align: center;
    padding: .75rem;
    color: #fff;
    background-color: #005ca9;
}


@media (min-width: 576px) {
    header .navbar-brand .logo {
        width: 20rem;
        padding-left: 2rem;
    }

    .nav-trigger {
        margin-right: 2rem;
    }


    
    .carousel-caption {
        left: 50%;
        top: 10%;
        bottom: auto;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        padding: 1.25rem 0;
        width: 520px;
    }
        
    .bereiche {
        display: -ms-flexbox;
        display: flex;
    }

}

@media (min-width: 768px) {

    /* Intro & Bilderwechsler */
    .intro .carousel-item {
        height: 450px;
    }

    .carousel-caption {
        width: 720px;
    }
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1.25rem;
    }
    
    header nav.navbar .navigation {
        top: 5.85rem;
    }



    /* Inhalt */
    main {
        padding-bottom: 5rem;
    }

    /* Footer */
    footer .footer-logo {
        -ms-flex-order: 3;
        order: 3;
    }

    footer .footer-kontakt {
        -ms-flex-order: 1;
        order: 1;
    }

    footer .row .bild {
        margin-top: -3.5rem;
        margin-bottom: 0;
    }
    
}

@media (min-width: 992px) {

    header .container {
        padding-left: 15px;
        padding-right: 15px;
        
    }

    header .navbar-brand {
        margin-left: 0;
    }
    header .navbar-brand .logo {
        width: 15rem;
    }


    header nav.navbar {
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    header nav.navbar ul.nav li {
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }
    header nav.navbar ul.nav li a {
        padding: .5rem 1rem;
        color: #0e0e10;
        font-weight: 400;
    }
    header nav.navbar ul.nav li:not(.active) a:hover,
    header nav.navbar ul.nav li:not(.active) a:focus {
        color: #005ca9;
    }
    header nav.navbar ul.nav li.active a {
        background-color: #ddd;
    }
    header nav.navbar ul.nav ul {
        display: none;
    }

    header .nav-trigger {
        display: none;
    }

    /* Fullscreennavigation */
    header nav.navbar .navigation {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
        -ms-flex-pack: end;
        justify-content: flex-end;
        position: relative;
        top: 0;
        height: auto;
        background-color: transparent;
        overflow: auto;
        visibility: visible;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }

    header nav.navbar .navigation > ul.nav {
        margin-bottom: 0;
    }

    

    .intro .carousel-item {
        height: auto;
    }
    .intro .carousel-item img {
        height: auto;
        -webkit-object-fit: initial;
        object-fit: initial;
    }

    .carousel-caption {
        width: 960px;
    }
    

    
    .bereiche {
        display: -ms-flexbox;
        display: flex;
        width: auto;
        bottom: 3rem;
    }

    .bilderwechsler {
        margin-top: 1rem;
    }
    .bilderwechsler::before {
        top: -1rem;
        height: 4rem;

    }


    /* Main */
    main.second-nav-layer {
        padding-top: 4rem;
        position: relative;
    }
    main.second-nav-layer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: -1;
        height: 4rem;
        background: #fff;
    } 

    main.second-nav-layer .menu-e2 {
        -ms-flex: 0 0 30%;
        flex: 0 0 30%;
        max-width: 30%;
        display: block;
    }
    main.second-nav-layer .menu-e2 .menu-e2-sticky {
        position: -webkit-sticky;
        position: sticky;
        top: 2rem;
        margin-top: -2rem;
    }


    main.second-nav-layer .menu-e2 ul.nav li {
        -ms-flex: 1 1 100%;
        flex: 1 1 100%;
        max-width: 100%;
    }
    main.second-nav-layer .menu-e2 ul.nav li a {
        display: block;
        padding: .5rem 1rem;
        color: #0e0e10;
        font-weight: 400;
    }
    main.second-nav-layer .menu-e2 ul.nav li.active a,
    main.second-nav-layer .menu-e2 ul.nav li a:hover,
    main.second-nav-layer .menu-e2 ul.nav li a:focus {
        background-color: #005ca9;
        color: #fff;
    }

    main.second-nav-layer .main-content {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }


    /* Inhalt */
    .inhalt.item-image-left .bild {
        -ms-flex-order: 1;
        order: 1;
    }
    .inhalt .text {
        -ms-flex-order: 2;
        order: 2;
    }
    .inhalt.item-image-left .bild,
    .inhalt.item-image-right .bild {
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
    }
    .inhalt.item-image-right .bild {
        -ms-flex-order: 3;
        order: 3;
    }
    .news-blog .inhalt.item-image-left .bild,
    .news-blog .inhalt.item-image-right .bild {
        -ms-flex: 0 0 70%;
        flex: 0 0 70%;
        max-width: 70%;
    }


    /* Footer */
    footer {
        padding: 3rem 0;
    }
    footer .footer-menu ul.nav li a:hover,
    footer .footer-menu ul.nav li a:focus {
        background-color: #ddd;
        color: #0e0e10;
    }
    footer .row .bild {
        margin-top: -5rem;
    }

    .icons_mit_link {
        display: block;
        text-align: left;
        margin-bottom: 0;
        margin-top: 0;
    }

    footer .row:last-of-type {
        margin-top: 4rem;
    }

    .traueranzeige {
        right: 0;
        top: -5.5rem;
    }
    .traueranzeige img {
        width: 10rem;
        height: 10rem;
    }

}


@media (max-height: 700px) {
    
    main.second-nav-layer .menu-e2 .menu-e2-sticky ul.nav {
        -ms-flex-line-pack: start;
        align-content: flex-start;
        width: 100%;
        height: 80vh;
        top: 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: absolute;
        z-index: 2;
    }
    
    footer {
        position: relative;
        z-index: 5;
    }
}



@media (min-width: 1200px) {

    header .navbar-brand .logo {
        width: 20rem;
    }

    header nav.navbar ul.nav li a {
        font-size: 1rem;
        text-transform: uppercase; 
    }

    
    .carousel-caption {
        width: 1140px;
    }
    .carousel-caption h3 {
        font-size: 2.5rem;
    }
    .carousel-caption p {
        font-size: 2rem;
    }
    
    .bereiche {
        bottom: 5rem;
    }


    .traueranzeige {
        right: 10rem;
    }

}


@media (min-width: 1600px) {

    .bereiche img {
        max-width: 100%;
    }

    .bereiche h3 {
        font-size: 1.75rem;
    }

    .traueranzeige {
        right: 10rem;
        top: -7rem;
    }
    .traueranzeige img {
        width: 12rem;
        height: 12rem;
    }

}


@media (min-width: 1800px) {

    .carousel-caption {
        top: 15%;
    }

}