body {
    margin: 0;
    background-color: #474747;
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    color:#101010;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.inter-regular {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.inter-medium {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.inter-semibold {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.zuume-regular {
    font-family: "zuume", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zuume-bold {
    font-family: "zuume", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.neue-haas-roman {
    font-family: "neue-haas-grotesk-text", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/*---------------------------------------------------*/

nav {
    position: fixed;
    top: 0;
    background: white;
    height: 70px;
    width: 100%;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0px 0px 10px #595959;
    z-index: 1;
    align-content: center;
}

nav ul {
    float: right;
    margin-right: 50px;
}

nav ul li {
    display: inline-block;
    line-height: 20px;
    margin: 0 5px;
    margin-top: 5px;
}

nav ul li a {
    color: black;
    font-size: 1.9rem;
    padding: 18px 18px;
    border-radius: 7px;
    text-decoration: none;
}

a.active,
a:hover {
    background: #dddddd;
    transition: .5s;
}

.logo {
    width: 160px;
    position: relative;
    margin-left: 70px;
    margin-top: 5px;
}

.pointer {cursor: pointer;}

/*-----------------------------------------------------------------------------------------------*/

.start {
    border-radius: 40px;
    margin: auto;
    box-shadow: 0px 0px 60px #7d7d7d;
    width: 93%;
    background: white;
    margin-top: 96px;
    height: calc(100vh - 150px);
    
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    gap: 2vw;
    flex-direction: row;
}

.box{
    flex: 1;
    aspect-ratio: 1 / 1; /* Immer quadratisch */
    max-width: 400px; /* Optional: Maximale Größe */
    min-width: 150px;
    margin: 60px;
    border: 1px solid #232323;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s, border-color 0.3s;
    overflow: hidden;
}

.box:hover {
    background-color: #d0cfcf;
    border-color: #888;
    transform: scale(1.05);
    /* Vergrößert die Box leicht */
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt die Box aus */
    object-position: top;
    transition: transform 0.3s;
}


/*-----------------------------------------------------------*/

.posFixed{
    position: relative;
    padding: 0.1em 0;
    margin: 0;
    text-align: center;
}

.textMid{
    position: relative;
    width: 60%;
    text-align: left;
}

p{
    font-size: 1.15rem;
    line-height: 2rem;
}

h1 {
    font-size: 4rem;
    font-family: "zuume", sans-serif;
    font-weight: 700;
    font-style: normal;
    width: 90%;
}

h2 {
    font-size: 1.875rem;
    font-family: "zuume", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 90%;
}

/*----------------------------------------------------------*/

footer {
    font-family: "zuume", sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 100%;
    height: 180px;
    margin-top: 26px;
    background: #ffffff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    z-index: 1;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
}

.impressum {
    display: block;
    margin-top: 30px;
    color: #171717;
}

a {
    color: #171717;
    text-decoration: none;
}

footer a{
    margin: 80px;
    font-size: 1.3rem;
    cursor: pointer;
}

.bottomLogo {
    width: 12vw;
    margin-top: 40px;
}

.impressumOuter{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.impressumInner{
    color: white;
    width: 60%;
}

.impressumInner h1{
    text-align: center;
}

/*------------------------------------------------------*/

@media (max-width: 1000px) {
    nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    nav .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90%; /* Direkt unter der Navbar */
        left: 0;
        width: 100%;
        background-color: rgba(51, 51, 51, 0.95); /* Leicht transparent */
        z-index: 9; /* Über dem Inhalt, aber unter der Navbar */
    }

    nav .menu.show {
        display: flex;
        z-index: 6;
    }

    nav .menu li {
        text-align: right;
        padding-right: 100px;
        margin: 20px;
    }

    nav .menu a {
        text-align: right;
        border-bottom: 1px solid #444;
        color: white;
    }

    nav a.active,
    nav a:hover {
        background: #717171;
        transition: .5s;
    }

    nav .menu a:last-child {
        border-bottom: none;
    }

    .logo{
        margin-top: 5px;
        position: relative;
        margin-left: 60px;
    }

    .start{
        gap: 0;
    }
}

@media (max-width: 768px) {
    p{
        font-size: 16px;
        line-height: 1.7rem;
    }

    h1{
        font-size: 45px;
    }

    h3{
        font-size: 28px;
    }

    .startImage{
        width: 50vw;
    }

    .image-grid{
        grid-template-columns: repeat(2, 1fr); /* 4 Spalten */
        grid-template-rows: auto;
    }

    .textContainer{
        flex-direction: column;
    }

    .colText{
        width: 60vw;
        font-size: 16px;
        line-height: 1.7rem;
    }

    .logo{
        width: 22vw;
    }

    .start{
        flex-direction: column;
    }

    .box{
        margin: 30px;
        max-width: 70vw;
        max-width: none;
        min-width: 0;
    }
}

@media (max-width: 500px) {


    .logo{
        margin-left: 40px;
    }
}