*:focus {
    outline: none;
}

html, body {
  overflow-y: hidden;
}

a {
    text-decoration: none;
    color: #D2471F;
}

a img.readmore {
    height: .5rem;
    width: 1rem;
    transform: translateY(-15%) translateX(-20%) rotate(-90deg);
}

p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

h2 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2.5rem;
    margin-top: 1rem;
    position: relative;
    width: 100%;
}

h2:after {
    content: "";
    width: 2rem;
    height: 5px;
    position: absolute;
    left: 0;
    bottom: -1rem;
    background: #D2471F;
}


/* Logo */

h6 {
    /* #01 Logo Größe */
    font-size: 1.75rem;
    font-weight: 400;
}

h6 a {
    color: #333333;
    line-height: 80px;
}

h6 span {
    color: #D2471F;
    font-weight: 600;
}


/* =========================
============NAV=============
==========================*/

nav.main-nav.active {
  display: block;
}

nav.main-nav {
    display: flex;
    width: 100%;
    height: 80px;
    border-bottom: 5px solid #BBBBBB;
    background: #FFFFFF;
    z-index: 9999;
    justify-content: space-between;
}

nav.main-nav .logo {
    box-sizing: border-box;
    padding: 0rem 1rem 0rem 2rem;
    z-index: 120;
}

nav.main-nav ul {
    box-sizing: border-box;
    text-transform: uppercase;
    display: block;
    padding-right: 1rem;
}

nav.main-nav ul a.nav-open {
    display: none;
}

nav.main-nav ul li {
    float: left;
    font-size: 1rem;
    line-height: 85px;
    margin-left: 1rem;
    position: relative;
}

nav.main-nav ul li a {
    color: #333333;
    padding: 27px 0;
}

nav.main-nav ul li a:hover,
nav ul li a.active {
    color: #D2471F;
    border-bottom: 5px solid #D2471F;
}

nav.main-nav ul li ul  {
  position: absolute;
  left: -.5rem;
  background: #fff;
  padding: 0 .5rem .125rem .5rem;
  line-height: 40px;
  z-index: 1001;
  display: none;
}

nav.main-nav ul li ul li  {
  float: unset;
  margin-left: unset;
  height: unset;
  display: inline-block;
  line-height: 40px;
}

nav.main-nav ul li ul li a  {
  padding: 0;
}

nav.main-nav ul li ul li a.active, nav.main-nav ul li ul li a:hover  {
  padding: 0;
  border: unset;
}

nav.main-nav ul li:hover ul  {
  display: block;
}

/* =========================
==========SUB NAV===========
==========================*/


nav.subnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50px;
    background: #fff;
    z-index: 9999;
}

nav.subnav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
nav.subnav ul li {
    display: inline-block;
    float: left;
    margin-right: 1rem;
}

nav.subnav ul li a {
    color: #BBBBBB;
}

nav.subnav ul li a:hover,
nav.subnav ul li a.active {
    color: #D2471F;
    border-bottom: none;
}


/* =========================
==========KONTAKT===========
==========================*/

div.kontakt {
    color: #777777;
}

div.kontakt div {
    margin-bottom: 1rem;
    display: flex;
    width: 100%;
}

div.kontakt div:last-child {
    margin-bottom: 0rem;
}

div.kontakt div img {
    float: left;
    height: 1.5rem;
    width: auto;
    margin-right: 1.5rem;
    line-height: 3rem;
    position: relative;
}

div.kontakt div.adresse img {
    transform: translateY(40%);
}

div.kontakt div p {
    float: left;
    font-size: 1rem;
}


/* =========================
========LAZY-SLIDER=========
==========================*/

section.lazy section.lazy {
    width: 100%;
    height: calc(100vh - 85px);
    overflow: hidden;
    position: relative;
}

section.lazy div.slick-list {
    position: relative;
}

section.lazy div.slick-list:before {
    content: "";
    position: absolute;
    right: 0;
    background-color: rgba(0,0,0,.2)
    background: -webkit-linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
    background: -moz-linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5));
    height: 100vh;
    width: 6rem;
    z-index: 1100;
}

section.lazy button.slick-next,
section.lazy button.slick-prev {
    left: auto;
    right: 3rem;
    z-index: 100;
    opacity: 1;
    height: 32px;
    width: 32px;
    box-sizing: border-box;
    position: absolute;
    background-image: url(../images/arrow.svg);
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0);
    border: none;
    font-size: 0px;
    cursor: pointer;
}


section.lazy button.slick-prev {
    top: 20%;
    transform: translateX(50%) translateY(0%) rotate(180deg);
    z-index: 1200;
}

section.lazy button.slick-next {
    top: 80%;
    transform: translateX(50%) translateY(-100%);
    z-index: 1200;
}

section.lazy button.slick-next:before,
section.lazy button.slick-prev:before {
    position: relative;
    opacity: 1;
}

section.lazy ul.slick-dots {
    z-index: 90;
    width: auto;
    height: auto;
    transform: translateX(50%) translateY(50%);
    bottom: 50%;
    right: 3rem;
    padding-bottom: 1rem;
    position: absolute;
    z-index: 1200;
}

section.lazy ul.slick-dots li {
    margin: 0;
    padding: .5rem;
    display: block;
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0);
}

section.lazy ul.slick-dots li.slick-active {
    border-radius: 100%;
    height: 20px;
    width: 20px;
    border: 2px solid #FFFFFF;
}

section.lazy ul.slick-dots li button {
    border-radius: 100%;
    box-sizing: border-box;
    height: 20px;
    width: 20px;
    border: 0px solid #FFFFFF;
    background: #FFFFFF;
    font-size: 0px;
    margin: 0;
    display: block;
    cursor: pointer;
}

section.lazy div.slick-slide {
    position: absolute !important;
    left: 0 !important;
}

section.lazy div.slick-slide div {
    height: calc(100vh - 85px);
    width: 100%;
    object-fit: cover;
    overflow: hidden;
}

section.lazy div.slick-slide div img {
  min-height: 100%;
  min-width: 100%;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  display: block;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

section.lazy a.slider-caption {
    z-index: 1000;
    position: absolute;
    /* #02 Startseiten Beschreibung Innenabstand */
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-size: 2rem;
    bottom: 50px;
    background: #FFF;
}

.slider-nav {
  overflow: hidden;
}

.slider-nav-full {
  position: absolute;
  left: 0;
  right: 0;
}


/* =========================
========THEMEN-SLIDER=======
==========================*/

@media only screen and (max-width: 1023px) {
  .themen-slider {
    margin-bottom: 10vh;
  }
}

.themen-slider .pause figure:after {
  content: "";
  height: 2rem;
  width: .75rem;
  z-index: 1000;
  position: absolute;
  top: 1rem;
  left: 1rem;
  border-left: .5rem solid #fff;
  border-right: .5rem solid #fff;
}

/* Hover for none Touch devices */
@media (hover: hover) and (pointer: fine) {
  .themen-slider #slide-images figure:hover:after {
    content: "";
    height: 2rem;
    width: .75rem;
    z-index: 1000;
    position: absolute;
    top: 1rem;
    left: 1rem;
    border-left: .5rem solid #fff;
    border-right: .5rem solid #fff;
  }
}

section.slider-for {
    width: 100%;
    height: calc(80vh - 85px - 40px);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    padding: 2rem 2rem 0 2rem;
}

section.slider-for .slick-track {
    width: 100% !important;
}

section.slider-for .slick-slide {
    left: 0 !important;
}

section.slider-for div.slick-slide div img.horiziontal {
    width: auto !important;
    height: 100%;
    margin-left: 50%;
    transform: translateX(-50%);
}

@media only screen and (max-width: 1023px) {
    section.slider-for div.slick-slide div img.horiziontal {
        width: 100% !important;
        height: unset;
    }

    section.slider-for div.slick-slide div img.vertikal {
        width: unset !important;
        height: 100%;
    }

    .slider figure video {
      width: 100%;
    }
}

section.slider-for div.slick-slide div img.vertikal {
    width: auto !important;
    height: calc(81vh - 85px - 50px);
    margin-left: 50%;
    transform: translateX(-50%);
}

@media only screen and (min-width: 1023px) {
  .slider figure {
    width: unset !important;
    left: 50%;
    transform: translateX(-50%);
    height: calc(80vh - 85px - 70px);
  }
}

.slider figure {
  position: absolute;
}


@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    section.slider-for div.slick-slide div img.horiziontal, section.slider-for div.slick-slide div img.vertikal {
        width: auto !important;
   }


  .slider figure {
    width: auto !important;
  }
}

.slider figure video {
  height: 100%;
}

.slider figure span {
  height: 2rem;
  width: 2rem;
  line-height: 2rem;
  text-align: center;
  padding: .5rem;
  font-size: 2rem;
  color: #D2471F;
  text-shadow: 1px 1px 1px black;
  position: absolute;
  right: 1rem;
  bottom: 2rem;
  border: .125rem solid #D2471F;
  border-radius: 100%;
  box-shadow: 1px 1px 1px black;
  opacity: 1;
  transition: all 0.25s;
}

.slider figure:hover span {
  opacity: 0;
}

.slider figure figcaption {
  position: absolute;
  background: rgba(255,255,255,.75);
  padding: .5rem 1rem;
  right: 1rem;
  bottom: 1rem;
  text-align: left;
  max-width: 40%;
  opacity: 0;
  transition: all 0.25s;
  overflow-x: scroll;
  max-height: calc(100% - 3rem);
}

.slider figure:hover figcaption {
  opacity: 1;
}


/* .slider-nav {
    height: 30vh;
    padding: 2rem;
    border-bottom: 2rem solid #FFFFFF;
    box-sizing: border-box;
} */

.slider-nav .slick-arrow {
    display: none !important;
}

.slider-nav .slick-track {
    display: flex;
    align-items: stretch;
}
.slider-nav .slick-slide {
    display: block;
    max-width: 600px;
    max-height: 400px;
    width: auto;
    height: auto;
    overflow: hidden;
    padding: 1rem;
    border-top: 5px solid #FFFFFF;
}

.slider-nav .slick-slide.slick-current {
    border-top: 5px solid #D2471F;
}

.slider-nav img.vertikal {
    display: block !important;
    position: absolute;
    width: auto !important;
    height: calc(100% - 2rem);
    transform: translateX(50%);
}

/* =========================
===========THEMEN===========
==========================*/

div.themen {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 1rem 0rem 1rem 1rem;
}

.bild {
    background: #CCCCCC;
    width: 33.333333333%;
    padding-bottom: 20%;
    overflow: hidden;
    box-sizing: border-box;
    border: 1rem solid #FFFFFF;
    position: relative;
    height: 0;
}

.bild img {
    position: absolute;
    width: 100%;
    transition: ease all 0.3s;
    filter: blur(0) contrast(1);
}

.bild a {
    opacity: 0;
    position: absolute;
    z-index: 1;
    color: #FFFFFF;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
    width: 100%;
    transition: ease all 0.2s;
    text-shadow: 1px 1px 1px #000000;
}

.bild a h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.bild a h3:after {
    content: " ";
    background-image: url(../images/arrow.svg);
    background-size: auto;
    background-repeat: no-repeat;
    height: 2rem;
    width: 2.5rem;
    position: absolute;
    transform: translateX(15%) translateY(6%) rotate(-90deg);
}

.bild a p {
    font-size: 1.rem;
}

.bild:hover a {
    opacity: 1;
}

.bild:hover img {
    filter: blur(5px) contrast(1.1);
}


/* =========================
=========THEMEN-NAV=========
==========================*/

nav {
    width: 100%;
}

.themennav,
.themennav ul {
    width: 100%;
}

.themennav ul li {
    display: block;
}

.themennav ul li a {
    border-bottom: 5px solid #BBBBBB;
    padding: 1rem 0;
    display: block;
    width: 100%;
    color: #333333;
}

asside .beschreibung, asside .kontakt {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}

.themennav ul li a:hover,
.themennav ul li a.active {
    border-bottom: 5px solid #D2471F;
    color: #D2471F;
}


/* =========================
==========GALLERIE==========
==========================*/

.gallerie {
    padding: 1rem 1rem 0 1rem;
}

.gallerie div {
    width: 100%;
    margin-bottom: 2rem;
    background: #efefef;
    overflow: hidden;
    display: block;
}

.gallerie div:last-child {
    margin-bottom: 0rem;
}

.gallerie div img {
    width: 100%;
    height: auto;
}

div.gallerie div > img.vertikal {
    height: calc(100vh - 85px - 4rem);
}

.gallerie div img.vertikal {
    width: auto;
    height: 100%;
    transform: translateX(-50%);
    left: 50%;
    position: relative;
}




/* =========================
======ALLGEMEINE SEITE======
==========================*/

div.content.page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.seite {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-bottom: 2rem;
}

.seite p {
    margin-bottom: 1rem;
    width: 100%;
}

.seite p:last-child {
    margin-bottom: 1rem;
    min-height: 3rem;
}



/* =========================
=======KONTAKT SEITE========
==========================*/

.seite form {
    display: flex;
    flex-wrap: wrap;
    font-size: 1rem;
    justify-content: space-between;
    width: 100%;
}

.seite div.messages {
    width: 100%;
    height: 10px;
    margin-bottom: 1rem;
}

.seite form input[type="text"] {
    order: 1;
    width: calc(50% - .5rem);
    font-size: 1rem;
    padding: .5rem;
    margin-bottom: 1rem;
    border: 2px solid #BBBBBB;
    color: #333;
    box-sizing: border-box;
}

.seite form textarea {
    order: 2;
    width: 100%;
    box-sizing: border-box;
    min-height: 20vh;
    font-size: 1rem;
    padding: .5rem;
    margin-bottom: 1rem;
    border: 2px solid #BBBBBB;
    color: #333;
}

.seite form input[type="button"] {
    order: 3;
    width: calc(50% - .5rem);
    box-sizing: border-box;
    border-radius: 0;
    border: 2px solid #D2471F;
    background: none;
    color: #D2471F;
    font-size: 1rem;
    padding: .5rem;
    box-sizing: border-box;
}

.seite form input[type="button"]:hover {
    background: #D2471F;
    color: #FFF;
}

#returnmessage span {
  width: 100%;
  padding: .5rem;
  display: block;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

#returnmessage span.success {
  border: 2px solid green;
}

#returnmessage span.fail {
  border: 2px solid red;
}

div.alert {
    width: 100%;
}

div.alert p {
    color: #D2471F;
}

p.pflicht {
    color: #BBBBBB;
    margin-top: 1rem;
}




/* =========================
============404============
==========================*/

div.seite.error {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 100%;

    margin-top: 20%;

}

div.seite.error h1 {
    font-size: 5rem;

}
