@charset "utf-8";
/* --------------------------------------------
    Allgemein
-------------------------------------------- */
/* Variablen für Farben benutzen! */
:root {
  --ci: #E30F13;
  --grau: #D9D9D9;
  --p60: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  font-family: "calibri", sans-serif;
  font-size: 24px;
  padding-top: 100px;
  line-height: 1.15;
  max-width: 1920px;
  margin: 0 auto;
}
#content-container {
  width: 100%;
  max-width: 1180px;
  padding: var(--p60);
  margin: 0 auto;
  border-radius: 25px 25px 0 0;
  background-color: #FFF;
  box-shadow: 3px 0px 12px #666;
  position: relative;
  bottom: 50px;
}
#bg-img {
  background-image: url(../images/gloeckler-betonwand-hell.jpg);
  background-repeat-y: no-repeat;
  background-size: 50%;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}
h1 {
  color: var(--ci);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 35px;
}
h2 {
  font-size: 30px;
}
.cat-103 h2, .cat-104 h2, .cat-105 h2 {
  margin-bottom: 40px;
}
h3 {
  font-weight: bold;
  margin-top: 5px;
}
h4 {
  font-size: 24px;
  color: var(--ci);
  margin-bottom: 5px;
  font-weight: bold;
}
img {
  max-width: 100%;
}
::marker {
  position: relative;
  left: 5px;
}
div[itemprop="articleBody"] h2:last-of-type {
  margin-bottom: 40px;
}
div[itemprop="articleBody"] h2:nth-of-type(odd)::before {
  content: " ";
  width: 165px;
  height: 20px;
  margin-right: 20px;
  margin-left: calc(var(--p60) * -1);
  display: inline-block;
  background-color: var(--grau);
}
div[itemprop="articleBody"] h2:nth-of-type(even)::before {
  content: " ";
  width: 120px;
  height: 20px;
  margin-right: 20px;
  margin-left: calc(var(--p60) * -1);
  display: inline-block;
  background-color: var(--grau);
}
div[itemprop="articleBody"] ul > li {
  list-style-position: outside;
  margin-left: 26px;
}
p {
  color: #808080;
}
.noHome p {
  margin-bottom: 25px;
}
.noHome ul {
  list-style-position: inside;
}
.row {
  margin-left: -30px;
  margin-right: -30px;
}
.noHome main {
  padding-bottom: 25px;
}
.noHome p {
  color: #000;
}

/* Galerien */
dl.fields-container {
  display: none;
}
.sigFreeThumb p.headline {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  top: 10px;
  font-size: 22px;
}
a.sigFreeLink.fancybox-gallery {
  z-index: 1;
}
/* --------------------------------------------
    Menü
-------------------------------------------- */
header {
  height: 100px;
  margin-top: -100px;
  width: 100%;
  max-width: 1920px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
  background-color: #FFF;
  border-bottom: 1px solid #D9D9D9;
  position: fixed;
  z-index: 9;
}
#main-menu {
  text-align: center;
  margin: 0 auto;
}
#main-menu li a {
  font-size: 29px;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 31px;
}
#main-menu li:hover a, #main-menu li:focus a, #main-menu li:active a {
  text-decoration: none;
  color: var(--ci);
}
#main-menu .active a {
  color: var(--ci);
}

/* --------------------------------------------
    Banner / Header Bilder
-------------------------------------------- */
.item-image {
  position: relative;
  height: 440px;
  background-position: right center;
  border-bottom: 5px solid #fff;
}

.item-image img {
  width: 100%;
  margin-bottom: 5px;
}
.banner-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.banner-container img {
  width: 850px;
  position: absolute;
  right: calc(50% - 250px);
  top: -30px;
}
#banner-text {
  width: 50%;
  text-align: right;
  padding: 2px 15px;
  background-color: #FFFFFF80;
  position: absolute;
  bottom: 120px;
}
#banner-text p {
  font-family: "constantia", serif;
  color: black;
  font-size: 38px;
  margin-bottom: 0;
}
/* --------------------------------------------
    News
-------------------------------------------- */
.news-container {
  background-color: white;
  border: 4px solid var(--ci);
  border-radius: 20px;
  position: relative;
  margin: 25px -150px;
  padding: 25px 50px;
  min-height: 500px;
}
.news-container > h2 {
  background-color: var(--ci);
  color: white;
  border-radius: 10px 10px 0 0;
  padding: 0px 0px 4px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  margin: -25px -50px 45px;
}
.news-container h2 {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 5px;
}
.news-container p {
  font-size: 16px;
  color: #000;
}
.news-container h2 a {
  color: var(--ci);
  text-decoration: none!important;
}
.news-container .moduletable {
  margin-top: 40px;
}
.news-container h2:hover a {
  color: var(--ci);
}
.news-container .carousel-control-prev {
  width: 50px;
  margin-left: -50px;
  height: 245px;
}
.news-container .carousel-control-next {
  width: 50px;
  margin-right: -50px;
  height: 245px;
}
.news-container .carousel-control-prev-icon,
.news-container .carousel-control-next-icon {
  filter: invert(1);
}
#news-carousel {
  margin-top: 70px;
}
/* --------------------------------------------
    Über uns
-------------------------------------------- */
.cat-102 div[itemprop="articleBody"]::before {
  content: " ";
  width: 165px;
  height: 20px;
  margin-left: calc(var(--p60) * -1);
  margin-bottom: 10px;
  display: inline-block;
  background-color: var(--grau);
}
.cat-102 div[itemprop="articleBody"] img {
  margin: 0;
  max-width: 95%;
  height: auto;
}

/* --------------------------------------------
    Bilder Galerie
-------------------------------------------- */
ul.sigFreeClassic {
  margin: 0px calc(var(--p60) * -1)!important;
}
.thumbWrap {
  width: 100%;
  display: flex;
  padding: 20px var(--p60);
  margin-bottom: 30px;
  justify-content: space-evenly;
  gap: 20px;
  background-color: var(--grau);
}
ul.sigFreeClassic li.sigFreeThumb {
  background: none!important;
  width: 100%;
  max-width: 33.333333%;
}
ul.sigFreeClassic li.sigFreeThumb a {
  width: inherit!important;
  height: auto!important;
  max-height: 240px;
  max-width: 360px;
}
ul.sigFreeClassic li.sigFreeThumb a img {
  width: 100%!important;
  height: auto!important;
  max-height: 240px;
  max-width: 360px;
}
.fancybox-caption__body {
  display: none;
}

/* --------------------------------------------
    Kontakt
-------------------------------------------- */
.bfQuickMode .bfLabelLeft label, .asterix-ancor {
  display: none;
}
.visCSSclear {
  margin-bottom: 0 !important;
}
input[type='text'],  .visform textarea,  select, input[type='email'] {
  width: 100%;
  border: 2px solid var(--ci);
  background-color: #E5E5E5 !important;
  font-size: 22px;
  padding: 4px 15px;
}
.visform textarea {
  height: 300px;
}


#datenschutztext {
  margin-left: 25px;
  text-align: left;
}
.visBtnCon {
  text-align: right !important;
}
.visBtnCon input,
button#bfSubmitButton {
  border: none !important;
  background-color: var(--ci);
  width: 250px;
  color: #FFF;
  padding: 5px;
  text-transform: uppercase;
  font-size: 20px;
  border: 2px solid var(--ci);
 font-weight: bold;
 opacity: 1;
 border-radius: 0;
 
}
.visBtnCon:hover input,
.visBtnCon:focus input,
.visBtnCon:active input {
  color: var(--ci);
  background-color: #FFF;
}
.field5   strong {
  font-size: 14px !important;
}
.field6 {
  position: relative;
}
.field6 input {
  position: absolute;
  top: -5px;
  left: 0;
}
.field6 .visCSSlabel {
  display: block;
  float: none;
  margin-top: 0;
  margin-right: 0;
  width: 100%;
  font-size: 16px;
  padding-left: 20px;
}
.cat-106 .kontaktinfo {
  float: right;
  width: 40%;
  text-align: right;
  font-size: 20px;
}
.cat-106 .kontaktinfo p {
  margin-bottom: 10px;
}
.cat-106 .kontaktinfo a {
    color: inherit;
    text-decoration: underline;
}
.cat-106 div[itemprop="articleBody"] > h2 {
  letter-spacing: -0.65px;
}

/* --------------------------------------------
    Impressum / Datenschutz
-------------------------------------------- */
.cat-107 h2, .cat-108 h2 {
  margin-top: 60px;
  margin-bottom: 0;
}
.cat-107 main a, .cat-108 main a {
  color: inherit;
  text-decoration: underline;
}
.cat-107 main a:hover, .cat-108 main a:hover {
  color: #0056b3;
}
.cat-107 h2 {
  margin-top: 30px;
}
.cat-108 h2 {
  margin-top: 50px;
}
.cat-107 div[itemprop="articleBody"] h2:last-of-type,
.cat-108 div[itemprop="articleBody"] h2:last-of-type {
  margin-bottom: .5rem;
}

/* --------------------------------------------
    Footer
-------------------------------------------- */
footer {
  margin-top: 50px;
  font-size: 16px;
}
footer p, footer a {
  color: #000;
  text-decoration: none;
}
footer .row div {
  border-right: 1px solid var(--grau);
  padding-right: 20px;
  padding-left: 20px;
}
footer .row div:first-child {
  padding-left: 15px;
}
footer .row div:last-of-type {
  border-right: none;
  padding-right: 15px;
  align-self: flex-end;
}
footer .row div p:last-of-type {
  margin-bottom: 0px;
}
.fab {
  font-size: 30px;
  margin-right: 5px;
  margin-bottom: 5px;
  color: var(--ci);
}
footer .row .social a:first-child:hover .fa-instagram-square {
  background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
footer .row .social a:nth-child(2):hover .fa-facebook-square {
  color: #3b5998;
}

/* WERK38 Verlinkung im Footer */
#werk38 {
  text-transform: uppercase;
}
#werk38::before {
  content: url(../images/werk38-signet.svg);
  display: inline-block;
  width: 20px;
  height: 23px;
  margin: 0 4px 0 6px;
  position: relative;
  top: 5px;
}
#werk38:hover, #werk38:active, #werk38:focus {
  color: #FBB900;
  text-decoration: none;
}
#werk38:hover::before {
  filter: invert(1) invert(74%) sepia(70%) saturate(1483%) hue-rotate(356deg) brightness(96%) contrast(104%);
}

/* Cookie Banner */
#cookieBanner {
  display: none;
  position: fixed;
  background: #FFF;
  color: #fff;
  text-align: center;
  border-top: 2px solid var(--ci);
  padding: 15px;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
}
#cookieBanner p {
  margin: 0 0 20px;
}
#cookieBanner .btn {
  background: var(--ci);
  color: #FFF;
  border: 2px solid var(--ci);
  height: 40px;
  padding: 4px 20px;
  border-radius: 0;
  font-weight: bold;
  float: none;
  opacity: 1;
  font-size: 18px;
  text-shadow: none;
}
#cookieBanner .btn:hover {
  background: #FFF;
  color: var(--ci);
}
#cookieBanner a {
  position: relative;
}

/* Scroll to Top Button */
.scrollToTop {
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: 40px;
  width: 50px;
  height: 50px;
  background-color: #FFF;
  border: 2px solid #000;
  text-align: center;
  margin: 20px;
  line-height: 1.5;
  display: none;
  z-index: 9;
}
.scrollToTop i {
  position: relative;
  top: -7px;
  color: #000;
}
.scrollToTop:hover {
  background-color: #000;
  border-color: #FFF;
}
.scrollToTop:hover i {
  color: #FFF;
  border-bottom: none;
}

/* --------------------------------------------
    Responsive
-------------------------------------------- */
@media(max-width: 1300px) {
  #main-menu li a {
    font-size: 22px;
  }
}

@media(min-width: 1025px) {
  .hidden-md-up {
    display: none;
  }
}
@media(max-width: 1024px) {
  .navbar-close,
  .navbar-toggle {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 2px solid #000;
    text-align: center;
    z-index: 99;
    padding: 0;
    position: fixed;
    right: 10px;
    bottom: 10px;
  }
  .navbar-toggle .navbar-toggle-icon {
    height: 2px;
    width: 30px;
    margin: 5px auto;
    display: block;
    background: #000;
  }
  .navbar-close {
    z-index: 99;
    display: none;
  }
  .menu-open .navbar-close {
    display: block;
  }
}
/* --------------------------------------------
    Responsive
-------------------------------------------- */
@media(max-width:1450px) {
  .news-container {
    margin: 25px -90px;
  }
}
@media(max-width:1250px) {
  #content-container {
    max-width: 90%;
    max-width: calc(100% - 100px);
  }
  h2 {
    text-indent: -80px;
    padding-left: 80px;
  }
  h2:first-of-type {
    text-indent: -123px;
    padding-left: 123px;
  }
}
@media(min-width:1081px) {
  .navButton {
    display: none;
  }
}
@media(max-width:1080px) {
  .navButton {
    background: var(--ci);
    height: 45px;
    width: 45px;
    padding: 14px 8px;
    text-align: center;
    border-radius: 2px;
    position: fixed;
    right: 50px;
    top: 28px;
    border: 0;
  }
  .navButton span {
    height: 2px;
    width: 30px;
    margin-bottom: 5px;
    display: block;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
  }
  .menu-open .navButton span:first-of-type {
    transform: rotate(-45deg);
    position: relative;
    top: 7px;
  }
  .menu-open .navButton span:last-of-type {
    transform: rotate(45deg);
  }
  .menu-open .navButton span:nth-of-type(2) {
    display: none;
  }
  .moduletablenav {
    position: fixed;
    left: -300px;
    top: 0;
    height: 100%;
    width: 300px;
    z-index: 999;
    background: #fff;
    border-right: 5px solid var(--ci);
    transition: 0.3s;
  }
  .moduletablenav .nav {
    display: block;
    text-align: left;
    padding-top: 100px;
  }
  #main-menu li a {
    display: block;
  }
  .menu-open .moduletablenav {
    left: 0;
  }
  .banner-container img {
    width: 100%;
    max-width: 850px;
    right: 50%;
    transform: translateX(50%);
  }
  #banner-text {
      width: 100%;
      text-align: center;
  }
  #logo {
    display: block;
    width: 500px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100px;
    overflow: hidden;
  }
  #logo img {
    margin-top: -47px;
  }
  .item-image {
    height: 300px;
    background-size: cover;
  }
  .sigFreeThumb p.headline {
    font-size: 18px;
  }
}
@media(max-width:991px) {
  #news-carousel .flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  #news-carousel .flex .news-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px
  }
  footer .row .social {
    margin-top: 40px;
    padding-left: 15px;
  }
  .cat-102 div[itemprop="articleBody"] img {
    float: none;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    display: block;
  }
  .cat-106 .kontaktinfo {
    float: none;
    width: 100%;
    text-align: left;
  }
  div[itemprop="articleBody"] > .bfClearfix {
    width: 100%;
    margin-top: 50px;
  }
  .bfQuickMode input[type=text],
  .bfQuickMode textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
  }
  footer .row div:nth-of-type(2) {
    border-right: 0;
  }
  ul.sigFreeClassic li.sigFreeThumb {
    max-width: 50%;
  }
}
@media(max-width:800px) {
  .item-image {
    height: 550px;
  }
}
@media(max-width: 768px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
  div[itemprop="articleBody"] h2:first-of-type::before {
    width: 80px;
  }
  div[itemprop="articleBody"] h2:nth-of-type(2)::before {
    width: 40px;
  }
  h2 {
    text-indent: 0px;
    padding-left:0px;
    font-size: 28px;
  }
  h2:first-of-type {
    text-indent: -40px;
    padding-left: 40px;
  }
  footer {
    margin-top: 40px;
    border-top: 1px solid var(--grau);
    padding-top: 25px;
  }
  footer .row div {
    border-right: 0;
    padding-left: 15px;
    margin-bottom: 40px;
  }
  footer .row .social {
    margin-top: 0px;
    margin-bottom: 0;
  }
  ul.sigFreeClassic li.sigFreeThumb {
    max-width: 100%;
  }
  ul.sigFreeClassic li.sigFreeThumb a {
    float: none!important;
    margin: 0 auto!important;
  }

}
@media(max-width: 600px) {
  #logo {
    width: 400px;
    top: 15px;
    left: 15px;
    transform: translateX(0);
  }
  #logo img {
    margin-left: -50px;
  }
  #banner-text p {
    font-size: 30px;
  }
}
@media(max-width: 575px) {
  body {
    font-size: 17px;
  }
  p {
    line-height: 1.4;
  }
  :root {
    --p60: 30px;
  }
  .navButton {
    right: 15px;
  }
    #content-container {
     max-width: 100%;
     box-shadow: none;
     padding-bottom: 0;
  }
  .news-container {
    margin: 25px 0px;
  }
  h2 {
    text-indent: -30px;
    padding-left: 30px;
  }
  h2:first-of-type {
    text-indent: -70px;
    padding-left: 70px;
  }

  button#bfSubmitButton {
    width: 100%;
  }
}
@media(max-width: 450px) {
  #logo {
    width: 330px;
  }
  #logo img {
    margin-left: -40px;
    margin-top: -32px;
  }
  h2 {
    font-size: 23px;
    text-indent: 0;
    padding-left: 0;
  }
  div[itemprop="articleBody"] h2:first-of-type::before {
    width: 30px;
    height: 15px;
  }
  div[itemprop="articleBody"] h2:nth-of-type(2)::before {
    display: none;
  }
  h2:first-of-type {
    text-indent: -20px;
    padding-left: 20px;
  }
  .home h2:first-of-type {
    margin-bottom: 30px;
  }
}
