/*
yellow: #ffff00
gray: #545454
*/

header .logo img {
  width: 100%;
  max-width: 215px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 0;
  background-color: white;
  border-bottom: 5px solid #4d4d4d;
}

.btn-blue:hover {
  background: #545454;
  color: #fff;
}

.mobile-background.footer,
.desctop-background.footer {
  background: #a2ffec;
}

.mobile-background.header, .desctop-background.header {
    background: url(../images/slides/sprinkler.jpg) no-repeat top center;
    background-size: cover;
    filter: grayscale(100%) contrast(1.2);
    background-position: center;
    background-position: center;
}

.header-banner.about .mobile-background,
.header-banner.about .desctop-background,
.header-banner.services .mobile-background,
.header-banner.services .desctop-background,
.header-banner.projects .mobile-background,
.header-banner.projects .desctop-background,
.header-banner.contact .mobile-background,
.header-banner.contact .desctop-background {
  background: url(../images/slides/sprinkler.jpg) no-repeat top center;
  background-size: cover;
  filter: grayscale(100%) blur(5px);
  background-position: center;
}

.header-banner.about .mobile-background::after,
.header-banner.about .desctop-background::after,
.header-banner.services .mobile-background::after,
.header-banner.services .desctop-background::after,
.header-banner.projects .mobile-background::after,
.header-banner.projects .desctop-background::after,
.header-banner.contact .mobile-background::after,
.header-banner.contact .desctop-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* ← hier abdunkeln */
    z-index: -1;
}

.mobile-background.header:after,
.desctop-background.header:after {
  content: "";
  background: rgb(82 89 91 / 72%);
  width: 100%;
  height: 100%;
  position: absolute;
}

.kontaktteaser-mit-video .desctop-background:after,
.kontaktteaser-mit-video .mobile-background:after {
  content: "";
  background: rgb(82 89 91 / 62%);
  width: 100%;
  height: 100%;
  position: absolute;
}

.menu-mobile {
  background-color: #4e605c;
}

.btn-blue {
  background: #7f8b8f;
}

.dienstleistungs-block .tab-nav .active {
  background: #7f8b8f;
  border-color: #7f8b8f;
}

.dienstleistungs-block .tab-nav .item:hover {
  background: #545454;
  color: #fff;
}

.dienstleistungs-block .tab-content .col-info h4:after,
.page-title span:after {
  background: #545454;
}

footer {
  background: #006953;
}

.menu-mobile .menu .current-menu-item a {
  opacity: 1;
  color: #29d5b1;
}

.menu-mobile .links .current-menu-item a {
  text-decoration: none;
  color: #203f48;
}

.text-block .page-title.custom {
  text-align: left;
  margin: 0 0 32px 0;
  font-size: 32px;
}

.text-block .desc.custom {
  text-align: left;
  margin: 0;
}

.inhaltsblock-spalten-bild .desc strong {
  line-height: 25px;
  font-size: 19px;
}

.square {
  width: 30%;
  float: left;
  border: 1px solid rgb(217 225 227);
  text-align: center;
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: 5px 5px 8px rgba(53, 120, 139, 0.34);
}

.square a {
  float: left;
  width: 100%;
  font-weight: bold;
  text-decoration: none;
  padding: 50px 10px 50px;
  font-size: 20px;
}

.project-container {
  position: relative;
  overflow: hidden;
  width: 30%;
  float: left;
  text-align: left;
  padding: 0;
  margin-right: 20px;
  margin-bottom: 20px;
  min-height: 180px;
}

.project-container .text-container {
  position: relative;
  float: left;
  width: 100%;
  padding: 12px 15px;
  background: #e7e9e9;
}

.project-container h1 {
  font-weight: bold;
  text-decoration: none;
  font-size: 22px;
  color: rgb(51, 51, 51);
  font-family: Theinhardt, sans-serif;
}

.project-container a.photos {
  float: right;
  font-weight: normal;
  text-decoration: none;
  font-size: 16px;
  background: #0b7a9a;
  color: white;
  text-align: left;
  padding: 5px 20px;
}

.project-container p {
  font-size: 14px;
  color: rgb(51, 51, 51);
}

.project-container .year {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #ffffff99;
  padding: 2px 6px;
  border-radius: 5px;
}

@media (max-width: 767px) {
  footer {
    float: left;
  }

  .project-container {
    width: 100%;
    margin-right: 0;
  }

  .square {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .inhaltsblock-spalten-bild .item {
    max-width: 610px;
    width: 92vw;
    margin: 0 0 0 5px;
  }

  .inhaltsblock-spalten-bild .desc {
    float: left;
  }

  .inhaltsblock-spalten-bild .slick-track {
    display: block !important;
    width: 100% !important;
  }
  .inhaltsblock-spalten-bild .slick-slide {
    margin-bottom: 25px;
  }
  header .logo img {
    width: 100%;
    max-width: 180px;
  }
}

@media (max-width: 920px) {
  header {
    padding: 0;
  }

  header .logo img {
    max-height: inherit;
    max-width: 160px;
    margin-top: 1px;
  }
  .menu-mobile .close-menu {
    right: 25px;
    top: 33px;
    width: 29px;
  }
  header .burger-menu {
    margin-top: 5px;
    margin-right: 8px;
  }
}

table tr td {
  font-size: 19px;
  font-family: "Theinhardt", sans-serif;
  font-weight: 300;
  hyphens: auto;
}

ul.text {
  margin: 10px 10px 10px 30px;
  list-style-type: square;
}

.inhaltsblock-spalten-bild.only-text .desc {
  max-width: 100%;
  width: 100%;
}

.inhaltsblock-spalten-bild.only-text .page-title {
  width: 100%;
}

.text-container {
  float: left;
  width: 100%;
  background: #f2f8fa;
  padding-top: 75px;
  padding-bottom: 70px;
}
.text-container .container {
  max-width: 1400px;
}

.page-title span:after {
  display: none;
}

.header-banner .desc {
  display: none;
}

.header-banner {
  padding-bottom: 310px;
  border-bottom: 5px solid #4d4d4d;
}

.page-title span {
    color: #006953;
}

.dienstleistungs-block .tab-content {
    display: none;
}

.dienstleistungs-block .tab-nav {
    margin-bottom: 40px;
}

footer .address { align-items: flex-start !important; }
footer .email   { align-items: flex-start !important; }
footer .menu-footer-container { align-items: flex-start !important; }
footer .copy    { align-items: flex-start !important; }


@media (max-width: 768px) {
  footer .address { order: 1; width: 100%; }
  footer .email   { order: 2; width: 100%; }
  footer .menu-footer-container { order: 3; width: 100%; }
  footer .copy    { order: 4; width: 100%; }

  .header-banner {
    padding-bottom: 120px;
  }
}