@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --small-font-size: 0.9375em;
    /* 15px / 16px */
    --body-font-size: 1.25em;
    /* 20px / 16px */
    --heading-4-font-size: 1.625em;
    /* 26px / 16px */
    --heading-3-font-size: 2.125em;
    /* 34px / 16px */
    --heading-2-font-size: 2.75em;
    /* 44px / 16px */
    --heading-1-font-size: 3.5625em;
    /* 57px / 16px */
}

:root {
    --thin-font-weight: 100;
    --extra-light-font-weight: 200;
    --light-font-weight: 300;
    --regular-font-weight: 400;
    --medium-font-weight: 500;
    --semi-bold-font-weight: 600;
    --bold-font-weight: 700;
    --extra-bold-font-weight: 800;
    --black-font-weight: 900;
}

:root {
    --blue: #1D79B7;
    --red: #DE3021;
    --black: #121212;
    --white: #EFEFEF;
}

h1 {
    font-size: var(--heading-1-font-size);
    font-weight: var(--extra-bold-font-weight);
}

h2 {
    font-size: var(--heading-2-font-size);
    font-weight: var(--body-font-size);
}

h3 {
    font-size: var(--heading-3-font-size);
    font-weight: var(--body-font-size);
}

h4 {
    font-size: var(--heading-4-font-size);
    font-weight: var(--medium-font-weight);
}

p {
    font-size: var(--body-font-size);
    font-weight: var(--light-font-weight);
}


* {
    margin: 0;
    padding: 0;
    font-family: 'Hanken Grotesk', sans-serif;
    box-sizing: border-box;
    color: var(--black);
}



header {
    width: 100vw;
}

.flex-header {
    height: 12vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

nav li a {
    color: var(--black);
    text-decoration: none;
    font-size: 23px;
}

/* 
nav li a:hover {
    color: var(--red);
    text-decoration: underline solid var(--red) 2px;
    text-underline-offset: 6px;
}
*/
nav li.active {
    color: var(--red);
    text-decoration: underline solid var(--red) 2px;
    text-underline-offset: 6px;
}

nav li {
    display: inline-block;
    position: relative;
    font-family: sans-serif;
    font-size: 20px;
    cursor: pointer;
    transition: 0.4s all ease;
}


nav li a:hover {
    transition: 0.4s all ease;
}

nav li a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -1px;
    left: 0;
    background-color: var(--red);
    transform-origin: bottom right;
    transition: transform 0.5s ease-out;
}

nav li a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

footer a {
    color: var(--white);
    text-decoration: none;
}

footer a:hover {
    color: var(--red);
    text-decoration: none;
}

#first {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-height: 45vw;
    z-index: 1;
    overflow: hidden;
}

#first img {
    width: 30vw;
    border-radius: 50%;
}

#first a button {
    margin-top: 30px;

}

#first h1 span {
    font-weight: var(--extra-bold-font-weight);
    color: var(--blue);
}

.first-text {
    width: 40vw;
}

.flex-around {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    min-height: 45vw;
    z-index: 1;
    overflow: hidden;
    gap: 50px;
}

.flex-around img {
    width: 30vw;
}

.flex-around-text {
    width: 40vw;
}

button {
    color: var(--white);
    background-color: var(--red);
    font-size: var(--body-font-size);
    border: none;
    padding: 7px 10px;
    border-radius: 25px;
    transition: 0.5s;
}

button:hover {
    background-color: #e0655a;
    transform: scale(0.9);
    transition: 0.5s;
    cursor: pointer;
}

section {
    margin-bottom: 40px;
}

main {
    padding: 30px 60px;
    min-height: 80vh;
}

i {
    font-weight: 200;
    text-align: center;
    display: block;
}

.main-stats {
    padding: 50px 0 30px 0 !important;
}

.stats h1 {
    font-size: var(--heading-1-font-size);
    font-weight: var(--body-font-size);
    margin-bottom: 60px;
}

.stats h3 {
    margin-bottom: 15px;
}

.flex-stats img {
    width: 25vw;
}

.padding {
    padding: 0 60px 0 60px;
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: right;
}

th,
td {
    /*     border: 1px solid black;  */
    padding: 8px;
    text-align: left;
}

tbody tr:nth-child(odd) {
    background-color: var(--red);
}

tbody tr:nth-child(odd) td {
    color: var(--white);
}

#search-input {
    margin-bottom: 10px;
    position: absolute;
    right: 60px;
    border: none;
    background-color: #EFEFEF;
    padding: 7px;
    border-radius: 3px;
}

#no-results {
    font-style: italic;
    display: none;
    text-align: center;
}

.flex-stats {
    display: flex;
    justify-content: space-between;
    min-height: 45vw;
    z-index: 1;
    overflow: hidden;
    gap: 30px;
    background-color: var(--blue);
    padding: 60px;
    flex-wrap: wrap;
}

.flex-stats div * {
    color: var(--white);
}






.contact-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border-radius: 3px;
    font-size: var(--body-font-size);
    font-weight: var(--light-font-weight);
    border: none;
    background-color: #EFEFEF;
}

.contact-form button {
    width: 100%;
    padding: 10px;
    background-color: var(--red);
    border: none;
    border-radius: 3px;
    font-size: var(--body-font-size);
    font-weight: var(--light-font-weight);
    color: var(--white);
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #e0655a;
    transform: scale(0.9);
}

.kontakt-img {
    width: 40vw !important;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/2;
}



.hamburger {
    display: none;
    position: fixed;
    top: 5px;
    right: 10px;
    color: #000;
    font-size: 50px;
    cursor: pointer;
    z-index: 99;
}

/* Menü-Styling */
.menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 99;
    text-align: center;
}

.menu ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 20%;
}

.menu li {
    margin-bottom: 10px;
}

.menu a {
    text-decoration: none;
    color: #000;
    font-size: 24px;
}




.footer-home {
    width: 100vw;
    height: 12vh;
    padding: 0 60px;
    background-color: var(--blue);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;

}


footer {
    width: 100vw;
    height: 12vh;
    padding: 0 60px;
    background-color: var(--blue);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer h5 {
    color: var(--white);
}

footer p {
    color: var(--white);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1.2s ease-in-out;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}


.space {
    height: 50px;
}

#container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    position: absolute;
    top: 93vh;
}

.arrow {
    width: 7.5px;
    height: 7.5px;
    border-bottom: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    transform: rotate(45deg);
    animation: move 1.3s infinite;
    margin: -1px;
}


@keyframes move {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(10px) rotate(45deg);
    }
}

.gallery-titel {
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
    grid-gap: 20px;
    z-index: 3;
}

.gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3/2;
    cursor: pointer;
    transition: transform .5s, filter 0.7s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.01);
}

.overlay {
    -webkit-user-select: none;
    user-select: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.overlay img {
    max-width: 90%;
    max-height: 90%;
}

.serverlog {
    padding-left: 15px;
}

.closebtn {
    position: absolute;
    top: -2px;
    right: 23px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.closebtn:hover {
    color: red;
}

html {
    overflow-x: hidden;
}

/* ::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: transparent;
    border-radius: 50%;
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset transparent;
    background-color: transparent;
} */


svg {
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

.active svg {
    transform: rotate(90deg);
}

path {
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dasharray 500ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

path:nth-child(1) {
    transform-origin: 36% 40%;
}

path:nth-child(2) {
    stroke-dasharray: 29 299;
}

path:nth-child(3) {
    transform-origin: 35% 63%;
}

path:nth-child(4) {
    stroke-dasharray: 29 299;
}

path:nth-child(5) {
    transform-origin: 61% 52%;
}

path:nth-child(6) {
    transform-origin: 62% 52%;
}

.active path:nth-child(1) {
    transform: translateX(9px) translateY(1px) rotate(45deg);
}

.active path:nth-child(2) {
    stroke-dasharray: 225 299;
    stroke-dashoffset: -72px;
    display: none;
}

.active path:nth-child(3) {
    transform: translateX(9px) translateY(1px) rotate(-45deg);
}

.active path:nth-child(4) {
    stroke-dasharray: 225 299;
    stroke-dashoffset: -72px;
    display: none;
}

.active path:nth-child(5) {
    transform: translateX(9px) translateY(1px) rotate(-45deg);
}

.active path:nth-child(6) {
    transform: translateX(9px) translateY(1px) rotate(45deg);
}








@media (max-width: 1200px) {

    /* Tablet Schriftgrößen */
    :root {
        --small-font-size: 0.8em;
        --body-font-size: 18px;
        --heading-4-font-size: 1.3em;
        --heading-3-font-size: 1.6em;
        --heading-2-font-size: 1.9em;
        --heading-1-font-size: 2.2em;
    }

    main {
        padding: 15px 30px;
        min-height: 76vh;
    }

    .padding {
        padding: 0 30px 0 30px;
    }

    #first {
        margin-top: 60px;
    }

    .footer-home {
        position: relative;
        bottom: 0;
        text-align: center;

    }

    .gallery img {
        filter: grayscale(0);
        transform: scale(1);
    }

    .gallery img:hover {
        transform: scale(1);
    }

    .overlay {
        display: none;
    }
}

@media (max-width: 780px) {

    /* Handy Schriftgrößen */
    :root {
        --small-font-size: 0.8em;
        --body-font-size: 16px;
        --heading-4-font-size: 1.2em;
        --heading-3-font-size: 1.5em;
        --heading-2-font-size: 1.8em;
        --heading-1-font-size: 2.2em;
    }

    main {
        padding: 10px 20px;
    }

    .padding {
        padding: 0 15px 0 15px;
    }

    .hamburger {
        display: block;
        z-index: 9999;
    }

    .main-nav {
        display: none;
    }

    .menu.open {
        display: block;
    }

    .flex-around,
    .flex-between,
    #first {
        flex-direction: column;
    }

    #first img {
        margin-top: 60px;
        border-radius: 0;
        width: 50vw;
    }

    .first-text {
        width: auto;
    }

    footer {
        padding: 0 15px;
        justify-content: center;
        text-align: center;
    }

    .flex-around img {
        width: 50vw;
    }

    .flex-around-text {
        width: auto;
    }

    .kontakt-img {
        width: 80vw !important;
    }

    .footer-home {
        position: relative;
        padding: 0 15px;
        text-align: center;
        justify-content: center;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .flex-stats {
        justify-content: center;
    }

    #search-input {
        right: 15px;
    }
}