html {
    scroll-behavior: smooth;
    hyphens: auto;
    word-break: normal;
}
section + section {
    margin-top: 5em;
}
b, strong {
    font-weight: 500;
}

p {
    color: #2c2c2c;
    margin-bottom: 10px;
}

p.gray-box {
    padding: 1em;
    margin: 0 -1em;
    background-color: #ddd;
    color: #2c2c2c;
}
li {
    color: #2c2c2c;
    font-size: 16px;
}

.frame-space-before-no-space {
	margin-top: 0;
}
.frame-space-after-no-space {
	margin-bottom: 0;
}

.frame-space-before-large {
    margin-top: 6em;
}
.frame-space-before-extra-large {
    margin-top: 8em;
}
.frame-space-after-large {
    margin-top: 6em;
}
.frame-space-after-extra-large {
    margin-top: 8em;
}

@media (max-width: 800px) {
    .flexnav.flexnav-show {
        max-height: calc(100vh - 140px);
        overflow: auto;
    }
}


@media (min-width: 801px) {
    nav {
        top: 30px;
    }

    .flexnav.standard li>ul {
        width: auto;
        white-space: nowrap;
    }
}
.menu-button {
    height: 120px;
    line-height: 120px;
    padding-right: 15px;
    width: 50px;
    position: absolute;
    right: 0;
    background: #fff;
}
.flexnav .touch-button {
    width: 100%;
}

#header .header-wrapper #logo a img {
    width: auto;
    height: 120px;
    max-height: 120px;
}

img {
    height: auto;
}

main#content-wrapper {
    padding-top: 120px;
}

@media (min-width: 768px) {
    main#content-wrapper {
        padding-top: 140px;
    }
}

.portfolio-overlay .portfolio-text {
    word-break: break-word;
}
.portfolio-overlay .portfolio-text h4 {
    line-height: 1.5;
}

@media (min-width: 1680px) {
    .col-sm-12 .image {
        background-size: cover;
    }
}
.local-img2 {
    background-size: cover;
    height: 600px;
    background-repeat: no-repeat;
}


main ul {
    list-style: outside;
    margin-left: 20px;
}
main ul li {
    padding-left: 10px;
}


main a[rel="noreferrer"] {
    color: #9D9D9D;
}
main a[rel="noreferrer"]:hover {
    text-decoration: underline;
}

main a:not([rel="noreferrer"]) {
    z-index: 0;
    white-space: nowrap;
}
main .portfolio-container .portfolio-text {
    white-space: normal;
    padding-right: 15px;
}

main a:not([rel="noreferrer"]):before {

    background-color: #E6E6E6;
    bottom: 0;
    content: '';
    height: 30%;
    position: absolute;
    transition: all 0.3s;
    width: 100%;
    z-index: -1;

}
main a:not([rel="noreferrer"]):hover:before {
    height: 100%;
}


@media (max-width: 767px) {
  .scrolltotop {
    bottom: 65px;
    right: 30px;
  }
}

.flexnav.standard li ul li a {
    line-height: 1.5em;
}

h1 {
    font-size: 36px;
    font-weight: 300;
}

.page-title h2 {
    font-size: 28px;
    font-weight: 300;
}


#filters {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin: 0;
}
#filters li {
    margin: 0;
}

@media (hover: none) {
    
    .portfolio-overlay .portfolio-text,
    .portfolio-overlay .portfolio-text-content {
      opacity: 1 !important;
    }
}

footer {
    overflow: hidden;
}
footer p {
    line-height: 1.5;
}

/* keine Silbentrennung, für diesen Text*/
#c5 {
    hyphens: none;
}

.hero.lg {
    height: auto;
}
#hero-slider,
#hero-slider .item {
    height: 600px;
}
@media all and (max-width: 800px) {
    #hero-slider,
    #hero-slider .item {
        height: 50vh;
    }
}