/*ALLGEMEINE EINSTELLUNGEN*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;

    font-family: Inter, sans-serif;

    color: #111111;

    cursor: none;
}

/*HEADER / NAVIGATION*/

.header {
    width: 100%;
    min-height: 120px;

    background-color: #ffffff;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 24px 2%;
}

/*NAME, LOGO*/

.logo {
    font-size: 32px;
    line-height: 32px;

    font-weight: 400;

    text-decoration: none;
    color: #111111;

    cursor: none;
}

/*NAVIGATION*/

.navigation {
    display: flex;
    align-items: center;

    gap: 80px;
}

.navigation a {
    font-size: 24px;
    font-weight: 100;

    text-decoration: none;
    color: #111111;

    transition: opacity 0.3s ease;

    cursor: none;
}

.navigation a:hover {
    opacity: 0.4;
}

/*STARTSEITE*/

.projects {
    width: 100%;
    min-height: 480px;
    height: auto;

    position: relative;

    background-color: #ffffff;

    overflow: visible;
}

/*BILDER – ALLGEMEINE EINSTELLUNGEN*/

.project {
    position: absolute;
    display: block;

    overflow: visible;

    text-decoration: none;
    color: #111111;

    cursor: none;
}

.project img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: unset;

    transition: opacity 0.5s ease;
}

/*BILDER - POSITION UND GRÖSSE*/

/*BILD 1 – LINKS*/

.project-one {
    width: 27%;
    height: auto;

    left: 2%;
    top: 180px;
}

/*BILD 2 – MITTE*/

.project-two {
    width: 21%;
    height: auto;

    left: 36%;
    top: 18px;
}

/*BILD 3 – RECHTS*/

.project-three {
    width: 35%;
    height: auto;

    right: 2%;
    top: 280px;
}

/*HOVER-EFFEKT,TRANSPARENZ*/

.project-overlay {
    position: absolute;

    inset: 0;

    background-color: rgba(255, 255, 255, 0.78);

    opacity: 0;

    transition: opacity 0.5s ease;

    display: flex;

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

/*BILD WIRD TRANSPARENT*/

.project:hover img {
    opacity: 0.35;
}

/*PROJEKTINFORMATION ANZEIGE*/

.project:hover .project-overlay {
    opacity: 1;
}

/*PROJEKTINFOS*/

.project-info {
    text-align: center;

    line-height: 1.3;
}

.project-info h2 {
    font-size: 24px;

    font-weight: 400;
}

.project-info p {
    font-size: 24px;

    font-weight: 100;

    margin-top: 1px;
}

/*CURSOR*/

.custom-cursor {
    width: 12px;
    height: 12px;

    background-color: #000000;

    border-radius: 50%;

    position: fixed;

    top: 0;
    left: 0;

    pointer-events: none;

    z-index: 999999;

    transform: translate(-50%, -50%);

    display: block;

    opacity: 1;
}

/*PROJEKT-UNTERSEITEN*/

.detail-page {
    width: 100%;

    max-width: 1400px;

    min-height: 100vh;

    margin: 0 auto;

    background-color: #ffffff;

    padding: 50px 4%;
}

/*PROJEKTTITEL*/

.detail-heading {
    margin-bottom: 40px;
}

.detail-heading h1 {
    font-size: 18px;

    font-weight: 400;
}

.detail-heading p {
    font-size: 16px;

    font-weight: 400;
}

/*PROJEKTBILDER*/

.detail-images {
    display: flex;

    flex-direction: column;

    gap: 30px;
}

.detail-images img {
    width: 75%;

    height: auto;

    object-fit: contain;
}

/*JEDES ZWEITE BILD RECHTS*/

.detail-images img:nth-child(even) {
    align-self: flex-end;
}

/*ZURÜCK-LINK*/

.back-link {
    display: inline-block;

    margin-top: 50px;

    color: #111111;

    text-decoration: none;

    font-size: 14px;

    cursor: none;
}

.back-link:hover {
    opacity: 0.4;
}
