:root {
    --color-primary: rgb(217, 83, 61);
    --color-white: #ffffff;
    --color-black: #000000;
    --font-main: "Neue Helvetica", Helvetica, Arial, sans-serif;

    --font-xl: 550px;
    --font-lg: 100px;
    --font-md: 25px;
    --font-base: 30px;
    --font-sm: 18px;
}

@font-face {
    font-family: "Neue Helvetica";
    src: url("/fonts/NeueHelvetica.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}
  

html {
    box-sizing: border-box;
    font-family: var(--font-main);
    font-weight: 500;
    font-style: normal;
}

html, body {
    overflow-y: auto;
    scroll-behavior: smooth;
}
  

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

a {
    cursor: pointer;
    text-decoration: none;
}


.footer_text:hover,
.fa:hover,
.fa_01:hover {
    opacity: 40%;
}

.img1 {
    width: 100%;
    height: 65vh;
    display: block;
    object-fit: cover;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

body,
.background {
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
    flex-direction: column;
}

.background {
    background-color: var(--color-white);
}


.background_about {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: #0a6a57;
}

/* ===== HEADER ===== */

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    position: fixed;
    z-index: 10;
    color: #ffffff;
    mix-blend-mode: exclusion;
}


.navbar_about {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    /* <--- hinzufügen */
    left: 0;
    /* <--- optional, aber sauber */
    z-index: 10;
}


.brand,
.brand_about .brand_mail,
.brand_about,
.brand_about_portfolio,
.brand_active_portfolio,
.brand_klein,
.brand_about_klein {
    font-size: 15px;
    font-family: var(--font-main);
    font-weight: 500;
    text-decoration: none;
}

.brand,
.brand_mail,
.brand_about_portfolio {
    font-size: 15px;
    display: flex;
    align-content: center;
    color: white;
    padding-inline: 60px;
}


.brand_on{
    font-size: 15px;
    display: flex;
    align-content: center;
    color: white;
    padding-inline: 60px;
    opacity: 40%;
}


.about_navbar {
    font-size: 15px;
    display: flex;
    align-content: center;
    color: white;
    padding-inline: 60px;
}



.brand_about_active {
    color: white;
    opacity: 40%;
    font-size: 15px;
    padding-inline: 60px;
}


.brand:hover {
    opacity: 40%;
}

.brand_mail:hover {
    opacity: 40%;
}

.about_navbar:hover {
    opacity: 40%;
}

.brand_klein,
.brand_about_klein {
    display: none;
    font-size: var(--font-sm);
}



/* ===== FOOTER ===== */

.footer,
.footer_about,
.footer_text {
    font-family: var(--font-main);
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 50px;
}



.contact {
    font-size: var(--font-sm);
    color: var(--color-white);
}




/* ===== INTRO ===== */

html, body {
    overscroll-behavior: none;
    overflow-x: hidden;
}

.intro {
    position: fixed;
    z-index: 12;
    width: 100%;
    height: 100%;
    background-color: #0a6a57;
    transition: 1s;
}

.intro_header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-right: 10%;
    color: white;
    font-family: "Neue Helvetica", Helvetica, Arial, sans-serif;
}

.logo {
    position: relative;
    display: inline-block;
    top: 50%;
    left: 50%;
    bottom: -20px;
    opacity: 0;
    color: white;
    width: 15%;
}

.logo.active {
    bottom: 0;
    opacity: 1;
    transition: ease-in-out 1s;
}

.logo.fade {
    bottom: 150px;
    opacity: 0;
}

/* ===== LANDING PAGE / GALLERY ===== */

.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
  
.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.text_start {
    font-size: 380px;
    padding: 0 20px;
    font-weight: 500;
}

.container {
    width: 100%;
    margin: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.galerie_home {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}



.column {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
}

.foto {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}


.foto_quer {
    display: flex;
    margin-top: 50%;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.foto, .foto_quer {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.foto.visible, .foto_quer.visible {
    opacity: 1;
    transform: translateY(0);
}

.foto:hover .thema {
    color: darkgray;
}

.foto:hover .titel {
    color: darkgray;
}

.foto_quer:hover .thema {
    color: darkgray;
}

.foto_quer:hover .titel {
    color: darkgray;
}



.foto:nth-child(3n+1) {
    margin-top: 40px;
}

.foto:nth-child(3n+2) {
    margin-top: 0;
}

.foto:nth-child(3n) {
    margin-top: 40px;
}

.foto_soon {
    outline: solid 2px;
    height: 544px;
}

.square {
    background-color: var(--color-white);
    height: 454px;
    width: 100%;
}


.titel {
    font-size: 15px;
    color: var(--color-black);
    line-height: 1;
    padding-top: 5px;
}




/* ===== ABOUT ===== */

.about_info,
.erfahrung {
    font-family: var(--font-main);
    color: white;
    display: flex;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
    font-size: 15px;
    position: relative;
    z-index: 4;
}

.erfahrung {
    line-height: 1.2;
    font-size: 18px;
    margin: 0;
    padding-bottom: 20px;
    transition: opacity 0.3s ease;
    padding-top: 150px;
}

.about_info,
.row_about,
.erfahrung {
    position: relative;
    z-index: 4;
}

.about_info {
    margin-bottom: 40vh;
}

.about_wrapper {
    background-color: #0a6a57;
    z-index: 4;
    height: 100vh;
    margin-top: 60vh;
}


/* Text fixieren und ganz oben */
.me_intro_text {
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 50px;
    width: 100%;
    z-index: 5;
    /* Wichtig: über dem Bild */
    display: flex;
    align-items: center;
    pointer-events: none;
}

  

.name {
    font-size: 150px;
    padding-left: 10px;
    color: #043429;
    z-index: 3;
    /* Noch höher für absolute Sicherheit */
    pointer-events: auto;
    line-height: 1;
}

.underline {
    text-decoration: none;
    color: #043429;
}

.underline:hover {
    text-decoration: none;
    color: white;
    opacity: 100%;
}

/* Bild fixieren aber darunter */
.portrait_wrapper {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
    /* Niedriger als Text */
    pointer-events: none;
}


.about_column {
    font-size: 25px;
    color: black;
    width: 100%;
}

.ziel {
    padding-bottom: 60px;
    font-size: 25px;
}

.about_scroll_container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    scroll-behavior: smooth;
    z-index: 3;
}
  
  
.ziel, .erfahrung_text {
    transition: opacity 0.5s ease, transform 0.5s ease;
}
  

.row_about {
    display: flex;
    flex-direction: row;
    gap: 50px;
    color: black;
    width: 50%;
    padding-left: 20px;
    margin-top: 20vh;
}

.foto_about {
    height: auto;
    padding-right: 20px;
    position: fixed;
    top: 50px;
    right: 0;
    width: 38%;
    z-index: 0;
    /* hinter allem */
}

.portrait_wrapper {
    display: flex;
    justify-content: end;
    padding-bottom: 50px;
}


.fa,
.fa_01 {
    font: normal normal normal 14px/1 FontAwesome;
    color: black;
    padding-top: 20px;
}

.fa {
    padding-left: 50px;
}

.fa_01 {
    padding-left: 10px;
}

.erfahrung_text {
    font-size: 15px;
    color: white;
}

/* ===== PROJECTS ===== */


.text_projekt {
    font-size: 20px;
    padding-bottom: 80px;
    width: 50%;
}

.projekt_titel,
.jahr_titel {
    font-size: var(--font-lg);
}

.projekt_thema {
    font-size: 20px;
}

.titel_wrapper {
    display: flex;
    padding-top: 40px;
    flex-direction: column;
}

.titel_bild_wrapper {
    display: flex;
    flex-direction: column;
}

.row,
.row_text,
.column_projekt {
    display: flex;
    width: 100%;
}

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

.column_projekt {
    flex-direction: column;
    gap: 20px;
}

.row_text {
    font-size: 50px;
    justify-content: space-evenly;
    gap: 100px;
    padding: 80px 0;
}

/* Anfangsstatus für alle Elemente */
.titel_bild_wrapper,
.text_projekt,
.foto_projekt_hoch img,
.foto_projekt_quer img {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}


/* Sichtbar (wird durch JS-Klasse gesetzt) */
.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}



.foto_projekt_45 img {
    height: 65vh;
    overflow: hidden;
    object-position: 0% 45%;
}

.foto_projekt_85 img {
    height: 65vh;
    overflow: hidden;
    object-position: 0% 85%;
}

.foto_projekt_30 img {
    height: 65vh;
    overflow: hidden;
    object-position: 0% 30%;
}



.global {
    object-position: 0% 35%;
}

/* Allgemeine Bild-Stile */
.foto_projekt_hoch img,
.foto_projekt_quer img{
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
  will-change: opacity, transform;
}

/* Sichtbar beim Scrollen */
.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sicherstellen, dass die Bild-Container immer Platz einnehmen */
.foto_projekt_hoch,
.foto_projekt_quer{
  width: 100%;
  overflow: hidden;
}

/* Optional: Smoother Scroll-Feeling für ganze Seite */
html {
  scroll-behavior: smooth;
}



/* ===== MEDIA QUERIES ===== */

@media (max-width: 799px) {


    .brand_klein,
    .brand_about_klein {
        display: flex;
    }

    .brand,
    .brand_mail {
        font-size: 15px;
    }

    .brand_on {
        font-size: 15px;
        opacity: 40%;

    }

    .brand_,
    .brand_mail:hover {
        opacity: 40%;
    }


    .navbar,
    .navbar_about {
        padding: 0 10px;
		padding-left: 0;
		padding-right: 0;
		
    }

    .text_start {
        font-size: 15px;
        padding: 100px 10px 10px;
    }

    .galerie_home {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        grid-row-gap: 50px;
    }

    .foto,
    .foto_abstand,
    .foto_quer,
    .foto_quer_abstand {
        margin-top: 0;
        /* Optional: gleichmäßiger Abstand */
        padding-top: 0;
        /* Querbilder nicht mehr "aufblasen" */
    }

    .foto_quer {
        display: flex;
        margin-top: 50%;
        flex-direction: column;
        transition: transform 0.3s ease;
    }

    .foto_quer,
    .foto_quer_abstand {
        padding-top: 0;
    }

    .foto:nth-child(3n+1),
    .foto:nth-child(3n+2),
    .foto:nth-child(3n) {
        margin-top: 0;
    }

    .about_wrapper {
        background-color: #0a6a57;
        z-index: 4;
        height: 100vh;
        margin-top: 60vh;
        margin-bottom: 0;
    }

    .titel {
        font-size: 15px;
        color: var(--color-black);
        line-height: 1;
        padding-bottom: 0px;
    }

    .projekt_thema {
        font-size: 15px;
    }

    .logo {
        position: relative;
        display: inline-block;
        top: 40%;
        left: 40%;
        bottom: -20px;
        opacity: 0;
        color: white;
        width: 60%;
    }


    .column {
        gap: 10px;
        padding-bottom: 10px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 50px;
    }

    .intro_header {
        font-size: 15px;
    }

    .row {
        flex-direction: column;
    }

    .text_projekt,
    .row_text {
        font-size: 15px;
        gap: 90px;
        padding: 40px 0;
        width: 100%;
    }

    .projekt_titel {
        font-size: var(--font-md);
    }

    .foto_projekt_1 {
        width: 100%;
    }

    .titel_wrapper {
        width: 100%;
        padding-top: 10px;
    }

    .footer {
        font-size: 15px;
        padding: 10px;
    }


    .about_column,
    .ziel {
        font-size: 15px;
    }

    .erfahrung_text {
        font-size: 15px;
        padding-right: 10px;
    }

    .row_about {
        flex-direction: column;
    }

    .name,
    .name_quer {
        font-size: 45px;
        padding-left: 10px;
    }

    .about_info {
        padding: 70px 10px 0;
        width: 100%;
    }
	
	.foto_about {
	padding-top: 30px;	
    padding-right: 10px;
    width: 70%;
}

    .erfahrung {
        font-size: 15px;
        padding-right: 10px;
        padding-top: 50px;
        width: 100%;
    }
}