@font-face {
    font-family: sansation-light;
    src: url("/fonts/sansation/Sansation_Light.ttf");
}

@font-face {
    font-family: sansation-bold;
    src: url("/fonts/sansation/Sansation_Bold.ttf");
}

@font-face {
    font-family: vesperlibre-regular;
    src: url("/fonts/vesperlibre/VerperLibre-Regular.ttf");
}

@font-face {
    font-family: ubuntu-bold;
    src: url("/fonts/ubuntu/Ubuntu-Bold.ttf");
}

* {
    /* border: red solid 1px; */
    scrollbar-color: #d83636 #d83636;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;
    --h2-responsive: clamp(2.2rem, 8vw, 3.5rem);
    --card-bg: #434040;
    --p-responsive: clamp(1.25rem, 3vw, 2.5rem);
    --accent-color: #d83636;
    --font-copy-light: font-family: sansation-light;
    --text-color: #343434;
    --border-left: 0.5rem solid #d83636;
}

img {
    max-width: 100vw;
}

button {
    cursor: pointer;
}

body {
    margin: 0;
    display: flex;
    overflow: scroll;
    box-sizing: border-box;
    width: 100vw;
    overflow-x: hidden;
    /* padding-right: 12px; */
}

.red-stripe {
    color: #d83636;
}

.underlined {
    text-decoration: underline 1rem #c83636;
}

/* Header CSS */

.header {
    background: hsla(0, 24%, 83%, 1);
    background: linear-gradient(45deg, hsla(0, 24%, 83%, 1) 0%, hsla(0, 0%, 100%, 1) 100%);
    background: -moz-linear-gradient(45deg, hsla(0, 24%, 83%, 1) 0%, hsla(0, 0%, 100%, 1) 100%);
    background: -webkit-linear-gradient(45deg, hsla(0, 24%, 83%, 1) 0%, hsla(0, 0%, 100%, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr="#DDC8C8", endColorstr="#FFFFFF", GradientType=1);
    height: 100svh;
}

.header_navbar {
    display: flex;
    justify-content: space-between;
    padding-inline: 20px;
}

.header_companyName {
    color: #d82626;
    font-family: sansation-light, Ubuntu;
}

.navbar-desktop {
    display: none;
}

.myDropdown {
    padding-right: 0px;
    display: flex;
    justify-content: flex-end;
    width: fit-content;
}

.myDropdown button {
    aspect-ratio: 1 / 1;
}

/* Dropdown Button */
.dropbtn {
    background-color: inherit;
    /* padding: 16px; */
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 0px 0px 0px 20px;
}

.dropbtn img {
    pointer-events: none;
}

/* Dropdown button on hover & focus */
/* .dropbtn:hover, .dropbtn:focus {
    background-color: #f3f3f3;
} */

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 62px;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    border-radius: 20px 20px 20px 20px;
    z-index: 1;
    border: 1px solid #d83636;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
/* .dropdown-content a:hover {
    background-color: #ddd;
} */

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
    display: block;
}

.header_content {
    height: calc(100svh - 70px);
    max-height: calc(200svh - 70px);
    display: grid;
    grid-template-rows: repeat(6, 1fr);
}

.header_heading {
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    padding-inline: 20px;
}

.header_copy {
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding-inline: 20px;
    padding-left: 40px;
    font-size: clamp(20px, 3vw, 35px);
    line-height: 1.5;
}

.header_callToAction {
    padding-inline: 20px;
    padding-left: 60px;
    align-self: start;
    color: white;
}

.header_callToAction button {
    background-color: #d83636;
    border: none;
    padding: 16px;
    border-radius: 20px;
    margin: 20px;
    font-size: clamp(16px, 3vw, 30px);
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: white;
}

.header_image {
    height: 100%;
    grid-column-end: auto;
    grid-row-start: 4;
    grid-row-end: 7;
    background: url(images/header-image.png);
    background-size: cover;
    width: 85vw;
    justify-self: end;
    border-radius: 20px 0px 0px 0px;
}

@media (min-width: 750px) {
    .header_companyName {
        display: none;
    }

    .myDropdown {
        display: none;
    }

    .navbar-desktop {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        margin-top: 0;
        height: 70px;
        width: 100vw;
        margin-left: 0;
        padding-left: 0;
        justify-items: center;
        align-items: center;
        margin-bottom: 0;
        box-shadow: 0px 0px 15px #aaa9a9;
    }

    .navbar-desktop a {
        color: black;
        text-decoration: none;
        font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    .companyLogo {
        width: 100%;
        height: 100%;
        background: url(./images/logo-transparent.webp);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }


    .header_navbar {
        padding: 0;
    }

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

    .header_image {
        grid-column-start: 2;
        grid-column-end: 3;
        grid-row-start: 1;
        grid-column-end: 4;
        height: 95%;
        width: 70%;
        align-self: end;
        background-position: center;
    }

    .header_heading, .header_copy, .header_callToAction {
        align-self: center;
        padding-left: 5vw;
    }

    .header_copy {
        padding-left: 10vw;
    }

    .header_callToAction {
        padding-left: 15vw;
    }
}

@media (min-width: 1000px) {
    .header_image {
        background-position: right;
    }
}

body::-webkit-scrollbar {
    width: 12px;
    /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
    background: black;
    /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
    background-color: #d83636;
    /* color of the scroll thumb */
    border-radius: 20px;
    /* roundness of the scroll thumb */
    border: 3px solid black;
    /* creates padding around scroll thumb */
}





/* Kontakt */

.contact {
    background-image: url(images/Contact-bg.png);
    background-size: cover;
    background-position: center;
    margin: 20px;
    border-radius: 20px;
    padding: 20px;
    background-blend-mode: darken;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-heading {
    font-size: clamp(2rem, 10vw, 5rem);
    font-weight: bold;
    color: white;
    align-self: center;
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-left: var(--border-left);
}

.contact-text {
    font-size: var(--p-responsive);
    font-weight: bold;
    color: white;
    align-self: center;
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.contact-card {
    display: flex;
}

.contact-card p {
    font-size: var(--p-responsive);
    margin: auto;
    margin-left: 10px;
    color: white;
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    ;
}

.contact-card p a {
    text-decoration: none;
    color: white;
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.contact-card img {
    width: 75px;
    min-width: 75px;

}

@media (min-width:1000px) {
    .contact {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 80vh;
        grid-template-areas: "contact-heading contact-card-1"
            ". contact-card-2"
            "contact-text contact-card-3";
        margin: 0px;
        border-radius: 0px;
        height: 110vh;
    }

    .contact-heading {
        grid-area: contact-heading;
        width: 500px;
        padding-left: 30px;
    }

    .contact-text {
        grid-area: contact-text;
        align-self: start;
    }

    .contact-card-1 {
        grid-area: contact-card-1;
        align-self: center;
    }

    .contact-card-2 {
        grid-area: contact-card-2;
    }

    .contact-card-3 {
        grid-area: contact-card-3;
        align-self: center;
    }



    .contact-card {
        justify-self: center;
        width: 50%;
        padding-left: 60px;
    }

}

/* Mission */

.mission {
    padding-block: 50px;
    padding-inline: 20px;
}

.mission * {
    width: 100%;
}

.mission_heading {
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--h2-responsive);
    grid-area: header;
    text-decoration: underline 1rem #d83636;
}

.mission_copy {
    grid-area: copy;
    max-width: 100%;
}

.mission_copy * {
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--p-responsive);
}

.mission_button {
    background-color: #d83636;
    border: none;
    color: white;
    border-radius: 10px;
    padding: 16px;
    font-size: var(--p-responsive);
    max-width: 100%;
}

.mission_buttonContainer {
    grid-area: button;
    align-self: center;
    width: fit-content;
    justify-self: center;
}

.mission_img {
    grid-area: image;
    width: 100%;
    aspect-ratio: 2000/1428;
    background: url(./images/Matterport\ example\ ausgeschnitten.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


@media (min-width: 750px) {

    .mission {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, 1fr);
        grid-template-areas:
            "header header"
            "copy image"
            "copy image"
            "button button";
        height: 100vh;
    }

    .mission_heading {
        align-self: center;
        justify-self: center;
        width: fit-content;
    }

    .mission_copy {
        align-self: center;
        justify-self: center;
        width: 75%;
    }

    .mission_img {
        width: 100%;
        height: 100%;
        background: url(./images/Matterport\ example\ ausgeschnitten.webp);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

}

/* Services */

#services {
    padding-inline: 20px;
    display: grid;
    grid-template-columns: 1fr;
    margin-block: 100px;
}

.services_heading {
    font-size: clamp(2rem, 10vw, 5rem);
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    border-left: var(--border-left);
}

.services_text {
    font-size: var(--p-responsive);
    color: var(--text-color);
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.service_card {
    margin-block: 20px;
}

.service_card h3 {
    font-size: 30px;
    font-family: sansation, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-block: 1px;
}

.service_card p {
    font-size: 22px;
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-block: 1px;
}

.service_card img {
    width: 50px;
}

@media (min-width: 750px) {

    #services {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        grid-template-areas:
            "heading heading"
            "copy copy"
            "serviceCard_1 serviceCard_2"
            "serviceCard_3 serviceCard_4";
    }

    .serviceCard_1 {
        grid-area: serviceCard_1;
    }

    .serviceCard_2 {
        grid-area: serviceCard_2;
    }

    .serviceCard_3 {
        grid-area: serviceCard_3;
    }

    .serviceCard_4 {
        grid-area: serviceCard_4;
    }

    .services_text {
        grid-area: copy;
    }

    .services_heading {
        grid-area: heading;
        padding-left: 1rem;
    }
}

@media (min-width: 900px) {
    #services {
        grid-template-columns: 50% 25% 25%;
        grid-template-areas:
            "heading serviceCard_1 serviceCard_2"
            "copy serviceCard_3 serviceCard_4";
        min-height: 90vh;
    }

    .services_text {
        align-self: center;
    }

    .services_heading {
        width: 50%;
        justify-self: start;
        align-self: start;
        margin-block: 20px;
    }

    .services_text {
        font-size: 2, 5rem;
        width: 75%;
    }

    .service_card {
        width: 75%;
    }

    .service_card h3 {
        font-size: clamp(1.7rem, 3vw, 3rem);
    }

    .service_card p {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }

    .serviceCard_3 .serviceCard_4 {
        align-self: center;
    }

}

/* Example */

.example {
    color: white;
    background-color: var(--card-bg);
    border-radius: 20px;
    margin: 20px;
    padding: 20px;
}

.example h2 {
    font-size: clamp(2rem, 10vw, 5rem);
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border-left: var(--border-left);
    height: fit-content;
}

.example p {
    font-size: var(--p-responsive);
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.example iframe {
    width: 100%;
    aspect-ratio: 1/1;
    margin: auto;
    border-radius: 20px;
}

@media (min-width: 750px) {
    .example {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        box-shadow: 0px 0px 15px #1f1717;
    }

    .example iframe {
        height: 90%;
        width: 90%;
        grid-row: 1/ 3;
        grid-column: 2/ 3;
    }

    .example p {
        align-self: end;
    }

    .example h2 {
        padding-left: 1rem;
    }

}


.numbers {
    padding: 20px;
    padding: 100px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: gainsboro;
}



.number-table {
    margin-block: auto;
}

.numbers_heading {
    font-size: clamp(2rem, 10vw, 5rem);
    padding-left: 10px;
    border-left: var(--border-left);
}

.numbers h2 {
    font-size: clamp(2rem, 10vw, 5rem);
    font-weight: bold;
    color: var(--text-color);
}

.number-card h2 {
    font-size: clamp(3rem, 8vw, 100px);
    margin: 0px;
    color: var(--accent-color);
}

.number-card p {
    font-size: clamp(1rem, 5vw, 2rem);
    margin: 5px;
    margin-top: 2.5px;
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (min-width: 700px) {
    .numbers {
        height: 100vh;
        border-radius: 0px 0px 50px 50px;
        box-shadow: 0px 0px 15px #aaa9a9;
        
    }

    .number-table {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .numbers_heading {
        padding-left: 1rem;
    }
}

@media (min-width: 1000px) {
    .number-table {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 20px;
        padding-inline: 40px;
    }
}

/* Why Us? */

.whyus {
    min-height: 100vh;
    display: grid;
    grid-template-areas: 
        "whyus_heading"
        "whyus_copy"
        "card_1"
        "card_2"
        "card_3";

    width: 100vw;
    padding-block: 100px;
}



.whyus_heading {
    font-size: clamp(2rem, 10vw, 5rem);
    color: var(--text-color);
    border-left: var(--border-left);
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    grid-area: whyus_heading;
    margin-bottom: 0;
    justify-self: center;
}

.whyus_copy {
    font-size: clamp(1.15rem, 4vw, 2rem);
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    grid-area: whyus_copy;
    width: 750px;
    max-width: 90vw;
    padding: 20px;
}

.whyus_card {
    text-align: center;
    align-self: baseline;
}

.whyus_card p {
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: var(--p-responsive);
}

.whyus_card img{
    width: clamp(100px, 10vw, 150px);
}

.whyus_card1 {
    grid-area: card_1;
}

.whyus_card2 {
    grid-area: card_2;
}

.whyus_card3 {
    grid-area: card_3;
}


@media (min-width: 750px) {
    .whyus_copy {
        justify-self: center;
    }
}

@media (min-width: 1000px)  {
    .whyus {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas: 
            "whyus_heading whyus_heading whyus_heading"
            "whyus_copy whyus_copy whyus_copy"
            "card_1 card_2 card_3"
    }

    .whyus_heading {
        height: fit-content;
    }

    .whyus_copy {
        width: 1000px;
    }



}

.lastCTA {
    height: 100vh;
    background: url(./images/bg-lastCTA-desktop.webp);
    background-size: cover;
    background-position: center center;
    display: grid;
}

.lastCTA_container {
    text-align: center;
    height: 80vh;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    padding: 20px;
    padding-inline: auto;
    width: 80vw;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(0.3px);
    min-height: fit-content;
}

.lastCTA_heading {
    font-size: clamp(2rem, 13vw, 5rem);
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    align-self: center;
    margin: 0px;

}

.lastCTA_text {
    font-size: clamp(1rem, 10vw, 3.5rem);
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    align-self: center;
    margin: 0px

}

.lastCTA_buttonContainer {
    justify-self: center;
    align-self: center;
}

.lastCTA_button {
    justify-self: center;
    color: white;
    align-self: center;
    background-color: #d83636;
    border: none;
    padding: 16px;
    border-radius: 20px;
    margin: 20px;
    font-size: clamp(25px, 3vw, 30px);
    font-family: sansation-bold, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (min-width: 1000px) {
    .lastCTA {
        background: url(./images/bg-lastCTA-desktop.webp);
        background-size: cover;
        background-repeat: no-repeat;
        background-position-y: center;
        height: fit-content;
        width: 100vw;
    }

    .lastCTA_container {
        height: 50vh;
        margin: 5vh;
        margin-inline: auto;
    }
}
 .cookiebanner {
    text-align: center;
    padding: 20px;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0px 0px 15px #aaa9a9;
 }

.cookiebanner h2 {
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.5rem, 7vw, 2.5rem);
}

.cookiebanner button {
    background-color: #d83636;
    border: none;
    color: white;
    border-radius: 10px;
    padding: 16px;
    font-size: var(--p-responsive);
    max-width: 100%;
    font-family: sansation, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.hide {
    display: none;
}

.footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #2D3047;
}

.footer * {
    color: white;
    font-family: sansation-light, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.footer div a {
    text-decoration: none;
    color: white;
}

.links {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.links h3 {
    text-decoration: underline var(--accent-color);

}

.impressum {
    text-align: center;
}

.impressum h3 {
    text-decoration: underline var(--accent-color);
}