header {
    background: url("./../img/start.png") no-repeat center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    border-radius: 0 0 24px 24px;
    padding: 12px;
}

.header-content {
    width: 100%;
    background-color: white;
    border-radius: 12px;
    padding: 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.header-text {
    color: #000000;
}

.header-text h1 {
    font-size: 34px;
}

.header-text h1 span {
    font-size: 28px;
}

article {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
    text-align: left;
}

article h3 {
    text-align: left;
    font-size: 34px;
    width: 100%;
}

article.visible {
    opacity: 1;
    transform: translateY(0);
}


article#kontakt,
article#partner,
article#info {
    min-height: 100vh;
    margin-top: -60px;
}

.responsive-padding {
    padding: 80px 20px;
}

.button-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.button-wrap .button {
    width: 100%;
}

.button {
    text-decoration: none;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    padding: 12px 20px;
    border-radius: 8px;
    width: fit-content;
    transition: all .3s ease;
}

.primary-bttn {
    color: rgb(255, 255, 255);
    background-color: var(--orange);
}

.secondary-bttn {
    color: rgb(0, 0, 0);
    border: 1px solid rgb(0, 0, 0);
}

.tertiary-bttn {
    color: black;
    background-color: rgba(255, 255, 255, 0.6125);
    backdrop-filter: blur(2px);
    font-size: 22px;
    padding: 12px 8px;
}

.primary-bttn.onLightBgr:hover,
.primary-bttn.onDarkBgr:hover,
.secondary-bttn.onLightBgr:hover,
.secondary-bttn.onDarkBgr:hover {
    background-color: var(--orange);
    border: 1px solid var(--orange);
    color: white;
}






.leistungen-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    transition: all 0.3s ease;
}


.leistungen-card {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    text-align: left;
    color: white;
    transition: all 0.3s ease;
    margin: 10px 0;
    transition: all .3s ease;
    border-radius: 12px;
}

.leistungen-card .title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.leistungen-card .details {
    font-size: 16px;
    font-weight: 300;
}

.leistungen-card a.button {
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    margin-top: 40px;
    align-self: flex-end;
    font-size: 16px;
    width: 60px;
    transition: all .3s ease;
}

.leistungen-card a.button:hover {
    background-color: var(--orange);
    border: 1px solid var(--orange);
    font-weight: 400;
    transform: translateY(-2px);
}

.leistungen-card a.button {
    overflow: hidden;
}

.leistungen-card#beton {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/kernbohrung.JPG');
    background-size: cover;
    background-position: center;
}

.leistungen-card#injektionsverfahren {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/injektion.jpg');
    background-size: cover;
    background-position: center;
}

.leistungen-card#mauer {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/fugenschnitte.JPG');
    background-size: cover;
    background-position: center;
}

.leistungen-card#abbruch {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/brandschutz.png');
    background-size: cover;
    background-position: center;
}

.leistungen-card#einbau {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/einbau.jpg');
    background-size: cover;
    background-position: center;
}

.leistungen-card#wdvplatten {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/wdvplatten.jpg');
    background-size: cover;
    background-position: center;
}

.leistungen-card#boden {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/boden.jpg');
    background-size: cover;
    background-position: center;
}

.leistungen-card#bautenschutz {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/holzschutz.jpg');
    background-size: cover;
    background-position: center;
}

.leistungen-card#abdichtung {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('./../img/abdichtungen.jpg');
    background-size: cover;
    background-position: center;
}

.three-wrap {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 12px;
}

/* .responsive-wrap {
    display: none;
} */

.partner-card {
    width: 100%;
    display: flex;
    flex: 1;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 100px 20px 20px 20px;
    text-align: left;
    gap: 12px;
    position: relative;
    text-decoration: none;
    color: black;
}

.partner-card img {
    height: 34px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.partner-card .title {
    font-size: 22px;
    font-weight: 400;
}

.partner-card .details {
    font-size: 18px;
    font-weight: 300;
}

.info-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 0 1.5px 0 rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    font-size: 20px;
    font-weight: 400;
    margin: 0 0 30px 0;
    position: relative;
}

.info-card img {
    width: 42px;
    height: 42px;
    position: absolute;
    top: 20px;
    right: 20px;
}

.info-card p {
    text-align: left;
    margin-top: 30px;
    line-height: 1.5;
}

.leistungen-wrap2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.leistungen-card2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.06125);
    border-radius: 12px;
}

.leistungen-card2 img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    max-height: 240px;
}

.leistungen-card2 .text {
    text-align: left;
}

.leistungen-card2 .title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    background-color: hsla(15, 100%, 60%, 0.1);
    padding: 6px 20px;
    border-radius: 30px;
    width: max-content;
}

.leistungen-card2 .details {
    font-size: 16px;
    font-weight: 300;
     padding: 0 20px;
}


a.projekt {
    width: 100%;
    text-decoration: none;
    color: black;
    transition: transform 0.3s ease;
    position: relative;
}

a.projekt:hover {
    transform: translateY(-20px);
}

a.projekt img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

a.projekt .title {
    font-size: 20px;
    font-weight: 400;
    margin: 12px 0;
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 30px;
    background-color: white;
    border-radius: 30px;
    white-space: nowrap;
    width: calc(100% - 24px);
    text-align: center;
}

a.projekt .details {
    font-size: 18px;
    font-weight: 400;
    margin: 12px 0;
    color: rgba(0, 0, 0);
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 30px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    white-space: nowrap;
    border-radius: .5px solid white;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
}

a.projekt .line,
.projekt-wrap .line {
    margin: 0;
}

.projekt-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;

    position: relative;
}

.projekt-wrap .image-wrap {
    /* position: relative; */
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding-top: 40px;
    /* Platz für die Pfeile */
}

.projekt-wrap img {
    width: 85%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
}

/* Pfeile fürs Scrollen */
.scroll-btn {
    position: absolute;
    top: 80px;
    /* vertikal mittig */
    transform: translateY(-50%);
    /* wirklich zentriert */
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.6);
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    z-index: 5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.scroll-btn.left {
    left: 10px;
    /* Abstand von links */
}

.scroll-btn.right {
    left: 60px;
    /* Abstand von rechts */
}

/* Overlay / Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(2px);
    justify-content: center;
    align-items: center;

    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 80%;
    max-height: 80%;
}

.lightbox .close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: white;
    background-color: rgba(0, 0, 0, 0);
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    border: none;
}

.lightbox .close {
    top: 20px;
    right: 30px;
}

.lightbox-prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

.lightbox-next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}


.projekt-wrap p {
    margin: 10px 0 20px 0;
}

.tag-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    padding: 10px 20px;
    background-color: rgba(255, 101, 50, 0.2);
    width: max-content;
    border-radius: 30px;
    display: inline-flex;
}

#kontakt2 {
    background-color: hsla(15, 100%, 60%, 0.0615);
    border-radius: 30px 30px 0 0;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: -30px;
}

.contact-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    width: 100%;
}

.contact-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 0 1.5px 0 rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
    font-size: 20px;
    font-weight: 400;
    background-color: white;
}

.contact-card a {
    color: black;
    font-size: 16px;
    margin-top: 20px;
    font-weight: 300;
    text-align: left;
}

.contact-card img {
    width: 42px;
    height: 42px;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding: 40px 0 80px 0;
    background-color: var(--orange);
    border-radius: 30px 30px 0 0;
}

footer .logo {
    font-size: 18px;
    font-weight: 500;
    color: white;
    margin-bottom: 50px;
}

.footer-wrap {
    display: flex;
    flex-direction: row;
    color: white;
    font-weight: 300;
    gap: 12px;
}

footer a {
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 300;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    box-shadow: inset 0 0 0 0 #54b3d6;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

footer a:hover {
    box-shadow: inset 100px 0 0 0 #54b3d6;
    color: white;
}

footer a {
    box-shadow: inset 0 0 0 0 #ffffff;
    color: #ffffff;
    margin: 0 -.25rem;
    padding: 0 .25rem;
    transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

footer a:hover {
    box-shadow: inset 200px 0 0 0 #000000;
    color: white;
}

.line {
    width: 100%;
    height: 1px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    margin-bottom: 80px;
}

.zertifikate {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    margin-bottom: 80px;
}

.zertifikat {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    padding: 12px 0 0 0;
}

.zertifikat img {
    width: 200px;
}

.responsive-wrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 12px;
}

#kontakt2 p {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

#kontakt2 p a {
    /* text-decoration: none; */
    color: black;
    font-weight: 400;
}
@media screen and (min-width: 400px) {
    
    .header-text h1 {
        font-size: 38px;
    }

    .header-text h1 span {
        font-size: 32px;
    }

    article h3 {
        font-size: 38px;
    }
}

@media screen and (min-width: 600px) {

    a.projekt img {
        height: 500px;
    }

    article h3 {
        font-size: 44px;
    }
}

@media screen and (min-width: 768px) {

        .leistungen-card2 {
        flex-direction: row;
    }

    .leistungen-card2:nth-child(even) {
        flex-direction: row-reverse;
    }

    .leistungen-card2 img {
        width: 50%;
        max-height: 600px;
    }

    .leistungen-card2 .title {
        font-size: 22px;
        margin-bottom: 30px;
    }

    header {
        padding: 20px 50px;
    }

    #kontakt2 {
        padding: 80px 50px;
    }

    .header-text h1 {
        font-size: 40px;
    }

    .header-text h1 span {
        font-size: 32px;
    }

    .responsive-padding {
        padding: 80px 50px;
    }

    .button-wrap {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    a.projekt.smaller {
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }

    a.projekt.smaller:hover {
        transform: scale(0.9) translateY(-20px);
    }

    .partner-card img {
        height: 24px;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projekt-wrap {
        flex-direction: row;
        gap: 40px;
    }

    .projekt-wrap img,
    .projekt-wrap .projekt-info {
        width: 50%;
    }

    .projekt-wrap img {
        min-height: 350px;
        max-height: 350px;
    }

    .projekt-wrap img {
        height: unset;
    }

    .info-wrap {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: 20px;
    }

    .zertifikat {
        flex-direction: row;
        gap: 50px;
    }

    .responsive-wrap {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        gap: 12px;
    }

    article h3 {
        font-size: 50px;
    }
}

@media screen and (min-width: 900px) {

    .header-content {
        flex-direction: row;
        padding: 20px;
    }

    .header-text {
        width: 100%;
    }

    .button {
        padding: 10px 20px;
    }

    .button-wrap {
        width: unset;
        flex-direction: column;
        gap: 12px;
    }

    .button-wrap .button {
        width: 220px;
    }

    .header-text h1 {
        font-size: 42px;
    }

    .header-text h1 span {
        font-size: 32px;
    }

    .info-preview-wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .info-box {
        width: 250px;
        height: 250px;
    }

    .info-card {
        margin: 0 10px;
    }

    .connection {
        background-color: black;
        width: 60px;
        height: 1px;
    }

    .leistungen-wrap {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .leistungen-card2 .details {
        line-height: 1.5;
    }

    .responsive-wrap {
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

    .responsive-wrap img {
        min-height: 240px;
        max-height: 240px;
    }

    .responsive-wrap {
        max-width: 300px;
    }

    .wrap1 img {
        min-height: 500px;
        max-height: 500px;
    }

    .wrap1 {
        width: 100%;
        flex-direction: row;
        max-width: unset;
        gap: 20px;
    }

    a.projekt .title {
        font-size: 18px;
    }

    a.projekt .details {
        font-size: 16px;
    }

    .three-wrap {
        flex-direction: row;
    }
    
}

@media screen and (min-width: 1025px) {

    .leistungen-card2 img {
        max-height: 500px;
    }

    .header-text h1 {
        font-size: 52px;
    }

    .header-text h1 span {
        font-size: 40px;
    }

    .responsive-padding {
        padding: 80px 120px;
    }

    .partner-card img {
        height: 30px;
    }

    .contact-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #kontakt2 {
        padding: 80px 120px;
    }

}

@media screen and (min-width: 1200px) {

    .leistungen-card2 img {
        max-height: 400px;
    }

    .partner-card img {
        height: 34px;
    }

    .partner-card img.bigger {
        height: 60px;
    }

    /* hier wegen kontakt wrap gucken */
    .responsive-padding {
        padding: 100px 0px 140px 0;
    }

    article {
        max-width: 1100px;
        margin: 0 auto;
    }

    #kontakt2 {
        padding: 100px 0;
    }
    .kontakt2-wrap {
        max-width: 1100px;
        margin: 0 auto; 
    }

}

@media screen and (min-width: 1400px) {

    .header-content {
        padding-left: 50px;
        padding-right: 50px;
    }

    .header-text h1 {
        font-size: 56px;
    }

    .header-text h1 span {
        font-size: 48px;
    }
}