@charset "utf-8";
/* CSS DOKUMENT */

/* ANCHOR OFFSET */
.anchor {
    padding-top: 120px;
    margin-top: -120px;
}

/* ZURÜCK NACH OBEN BUTTON */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 24px;
    opacity: .8;
    transition: var(--smooth);
    z-index: 70;
}

.back-to-top:hover {
    transform: rotate(45deg);
    bottom: 21px;
    right: 26px;
    transition: var(--smooth);
    cursor: pointer;
}

/* OFFLINE-VERSION BUTTON */
.barrier-free-btn {
    opacity: 0;
    position: fixed;
    border-radius: 8px 8px 0 0;
    bottom: 10%;
    left: 24px;
    background-color: var(--body-color);
    padding: var(--space-s);
    border: 1px var(--grey) solid;
    transition: var(--smooth);
    z-index: 70;
    transform: rotate(90deg) translateY(90px);
}

.barrier-free-btn:hover {
    transform: rotate(90deg) translateY(55px);
}

/* KLASSE ZUM VERSTECKEN VON ELEMENTEN */
.hidden {
    display: none;
}

/* POINTER CURSOR FÜR ELEMENTE OHNE <a>-TAG */
.pointer {
    cursor: pointer;
}

.pointer:hover {
    opacity: .65;
}

/* ALLGEMEINES CSS */
.justify {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-center {
    text-align: center;
}

/* HEROS */
#hero {
    margin-top: -110px;
}

.hero-img {
    background: url('../media/startseite/mann-auf-dach-solarpanele.jpg') center center / cover;
    height: 60vh;
    width: 100%;
    position: relative;
    z-index: -2;
    overflow: hidden;
}

#impressum-hero {
    margin-top: -110px;
}

#expertise-hero {
    margin-top: -110px;
}

#impressum-hero .hero-img {
    background: url('../media/impressum/stadt-im-sonneschein.jpg') center center / cover;
}

#expertise-hero .hero-img {
    background: url('../media/expertise/mann-mit-kind-auf-dem-arm-zeigt.jpg') center center / cover;
}

.hero-img .parallax {
    background-attachment: fixed;
}

.hero-img img {
    position: absolute;
    z-index: -3;
    right: -340px;
    top: 50px;
}

.hero-container {
    background-color: var(--blue);
}

.hero-content {
    padding: 60px 30px 80px 30px;
}

.hero-content div {
    display: flex;
    gap: var(--space-grid);
}

.hero-content h1 {
    color: var(--white);
    font-size: 4.5rem;
    line-height: 1.3;
}

.hero-content div p {
    color: var(--white);
    font-size: 1.86rem;
    max-width: 300px;
    margin-top: var(--space-s);
}

/* HIGHLIGHTS */
.highlight {
    width: max-content;
    display: inline-block;
    padding: 4px 12px 5px 12px;
    color: var(--white);
    border: 1px solid var(--orange);
    border-radius: 20px;
    margin-bottom: var(--space-m);
    font-size: 1rem;
}

#together .highlight {
    color: var(--blue);
    margin-bottom: var(--space-s);
}

.highlight-blue {
    margin: var(--space-s) 0;
    font-size: 1.33rem;
    color: var(--blue);
}

/* HINTERGRÜNDE */
.background {
    background: lightblue;
}

#together img {
    max-width: 100%;
}
/* FAQ UND AKKORDEON */
/* Copyright (c) 2024 by Norman (https://codepen.io/ngedigk/pen/xxVQogE) */
[id^="akkordeon_"]:not(:target) li:nth-child(n+2) {
    display: none;
}

[id^="akkordeon_"]:target ul {
    -webkit-mask-image: none;
}

[id^="akkordeon_"]:target .show {
    display: none;
}

[id^="akkordeon_"]:not(:target) .hide {
    display: none;
}

.show > img:hover {
    transition: var(--smooth);
    rotate: -90deg;
    opacity: 0.7;
}

.hide > img:hover {
    transition: var(--smooth);
    rotate: 90deg;
    opacity: 0.7;
}

.faq-container {
    padding: 24px 0 24px 0;
    border-bottom: 1px solid var(--grey);
    display: flex;
    justify-content: space-between;
    gap: var(--space-l);
}

.faq-container li:first-child {
    font-size: 1.33rem;
    color: var(--blue);
    font-family: var(--headline-font);
    font-weight: 400;
}

.faq-container li:nth-child(2) {
    padding: var(--space-xs) 50px var(--space-xs) 0;
    position: relative;
}

.faq-container li {
    padding-right: 50px;
}

.full-click {
    width: 95%;
    position: absolute;
    height: fit-content;
    display: flex;
    justify-content: end;
}

.border-none {
    border: none;
}

/* KONTAKT */
.location, .phone, .fax, .mail {
    align-items: start;
}

.location img {
    margin-top: 3px;

}

.mail img {
    margin-top: 5px;
}

.phone img {
    margin-top: 3px;
    
}

.fax img {
    margin-top: 3px;
    
}

/* SECTION-CONTAINER & IMAGES */
.width-100, .together.img, .contact-img {
    width: 100%;
}

#impressum {
    flex-direction: row;
}

#impressum div,
#impressum img {
    width: 50%;
}

#expertise-content-1,
#expertise-content-2 {
    flex-direction: row;
}

#expertise-content-1 div,
#expertise-content-2 div,
#expertise-content-1 img,
#expertise-content-2 img {
    width: 50%;
}

.width-50-to-100 {
    width: 50%;
}

.max-width-50-to-100 {
    min-width: 50%;
}

.barrier-free-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
}

/* RESPONSIVE ANPASSUNGEN */
/* <= 992 px */
@media screen and (max-width: 992px) {
    .full-click {
        width: 94%;
    }

    .highlight {
        font-size: 0.8rem;
    }

    #together .container-full {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .hero-content div p {
        margin-top: var(--space-s);
        font-size: 1.5rem;
    }

    .container-full {
        margin: 0 auto;
        max-width: calc(var(--max-body-width) + 60px);
        padding: 0 30px;
    }

    .contact-img {
        padding: 0 30px 0 0;
    }

    #impressum {
        flex-direction: row;
    }

    #impressum div {
        width: 50%;
    }

    .width-50-to-100 {
        width: 100%;
    }

    #contact .main-container {
        flex-direction: row;
    }

    .contact-container {
        flex-direction: column;
    }

    #expertise-content-1 {
        flex-direction: column;
    }

    #expertise-content-2 {
        flex-direction: column;
    }

    #expertise-content-1,
    #expertise-content-2 {
        flex-direction: row;
    }
}

/* <= 940 px */
@media screen and (max-width: 940px) {
    .full-click {
        width: 92%;
    }

    .hero-content div {
        flex-direction: column;
        gap: var(--space-m);
    }

    .col-medium {
        width: 100%;
    }

    #contact .main-container {
        flex-direction: column;
    }

    #together .container-full {
        padding: 30px;
    }

    #together .container-full {
        flex-direction: column;
    }

    .col-small {
        padding-right: 0px;
        max-width: 100%;
    }
}

/* <= 690 px */
@media screen and (max-width: 690px) {
    .full-click {
        width: 90%;
    }
}

/* <= 576 px */
@media screen and (max-width: 576px) {
    .full-click {
        width: 89%;
    }

    #impressum {
        flex-direction: column;
    }

    .hero-content h1 {
        color: var(--white);
        font-size: 3.5rem;
    }

    .topbar ul {
        justify-content: center;
    }

    .hero-img {
        height: 70vh;
        background-image: url('../media/startseite/mann-auf-dach-solarpanele-responsive.jpg');
    }

    #impressum-hero .hero-img {
        background: url('../media/impressum/stadt-im-sonneschein-responsive.jpg') center center / cover;
    }

    #expertise-hero .hero-img {
        background: url('../media/expertise/mann-mit-kind-auf-dem-arm-zeigt-responsive.jpg') center center / cover;
    }

    .hero-img img {
        position: absolute;
        scale: 0.75;
        z-index: -3;
        right: -400px;
        top: -410px;
    }

    #hero {
        flex-direction: column-reverse;
        display: flex;
    }

    #hero .hero-content {
        padding: 210px 30px 100px 30px;
        max-width: 100%;
    }

    .highlight {
        font-size: 0.8rem;
    }

    .hero-container {
        width: 100%;
    }

    #impressum {
        flex-direction: column;
    }

    #impressum div {
        width: 100%;
    }

    #impressum img {
        width: 100%;
    }

    #expertise-content-1 div,
    #expertise-content-2 div {
        width: 100%;
    }

    #expertise-content-1 img,
    #expertise-content-2 img {
        width: 100%;
    }

    #expertise-content-2.flex-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .barrier-free-btn {
        bottom: 10%;
        left: 24px;
        transform: rotate(0deg) translateY(118px);
    }
    
    .barrier-free-btn:hover {
        transform: rotate(0deg) translateY(100px);
    }
}

/* <= 450 px */
@media screen and (max-width: 450px) {
    .full-click {
        width: 86%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}