/* =========================
   RESET
========================= */

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


/* =========================
   BODY
========================= */

body {
    background: white;
    color: black;
    font-family: Helvetica, Arial, sans-serif;
}


/* =========================
   LINKS
========================= */

a {
    color: black;
    text-decoration: none;
}

a:visited,
a:hover,
a:active {
    color: black;
}


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

header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    padding: 24px 30px;

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

    background: white;

    z-index: 100;
}

.logo {
    font-size: 20px;
}

nav {
    display: flex;
    align-items: center;
    gap: 45px;
}

nav a {
    font-size: 15px;
}


/* =========================
   INSTAGRAM
========================= */

nav .insta {
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .insta svg {
    display: block;
}


/* =========================
   HOME
========================= */

.home {
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 140px 80px;
}

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider img {
    width: auto;
    height: auto;

    max-width: 85vw;
    max-height: 80vh;

    object-fit: contain;

    display: block;
}


/* ==================================================
   WORK PAGE
================================================== */

.work-page {
    padding-top: 140px;

    /* gleicher Seitenabstand wie Project */
    padding-left: 250px;
    padding-right: 250px;

    padding-bottom: 100px;
}


/* =========================
   WORK GRID
========================= */

.projects-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

    width: 100%;
}


/* =========================
   WORK PROJECT CARD
========================= */

.project {
    position: relative;

    overflow: hidden;

    display: block;

    /* 4:5 Hochformat */
    aspect-ratio: 4 / 5;
}


/* =========================
   WORK PROJECT IMAGE
========================= */

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

    object-fit: cover;

    display: block;
}



/* =========================
   WORK HOVER
========================= */

.overlay {
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.35);

    opacity: 0;

    transition: opacity 0.25s ease;
}

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

.overlay span {
    color: white;
    font-size: 16px;

    text-align: center;
    line-height: 1.2;

    max-width: 80%;
}

/* ==================================================
   GENERAL PROJECT PAGE
================================================== */

.project-page {
    padding-top: 140px;

    /* exakt gleicher Seitenabstand wie Work */
    padding-left: 30px;
    padding-right: 30px;

    padding-bottom: 140px;
}


/* =========================
   PROJECT TITLE
========================= */

.project-page h1 {
    font-size: 20px;
    font-weight: 400;

    text-align: center;

    margin-bottom: 60px;
}


/* =========================
   GENERAL PROJECT IMAGES
========================= */

.project-images {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 100px;
}

.project-images img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;

    object-fit: contain;
}


/* ==================================================
   ADIDAS X AMG
   FULL WIDTH EDITORIAL
================================================== */

.adidas-x-amg .project-images {
    width: 100%;

    /*
       Gleiche maximale Breite wie die
       Project-Seite
    */
    max-width: 1100px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    /* kleiner Abstand zwischen den Bildern */
    gap: 35px;
}


/* =========================
   ADIDAS X AMG IMAGES
========================= */

.adidas-x-amg .project-images img {
    display: block;

    width: 100% !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: none !important;

    object-fit: contain;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {


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

    header {
        padding: 20px;
    }

    .logo {
        font-size: 18px;
    }

    nav {
        gap: 25px;
    }

    nav a {
        font-size: 14px;
    }


    /* =========================
       HOME
    ========================= */

    .home {
        padding: 120px 20px;
    }

    .slider img {
        max-width: 90vw;
        max-height: 75vh;
    }


    /* =========================
       WORK
    ========================= */

    .work-page {
        padding-top: 120px;

        padding-left: 20px;
        padding-right: 20px;

        padding-bottom: 80px;
    }


    /* =========================
       WORK GRID MOBILE
    ========================= */

    .projects-grid {
        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 20px;

        width: 100%;
    }


    /* =========================
       WORK PROJECT MOBILE
    ========================= */

    .project {
        width: 100%;

        max-width: 500px;

        aspect-ratio: 4 / 5;

        transform: none !important;
    }

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

        object-fit: cover;
    }


    /* =========================
       PROJECT PAGE MOBILE
    ========================= */

    .project-page {
        padding-top: 120px;

        padding-left: 20px;
        padding-right: 20px;

        padding-bottom: 80px;
    }


    /* =========================
       PROJECT TITLE MOBILE
    ========================= */

    .project-page h1 {
        font-size: 18px;

        text-align: center;

        margin-bottom: 45px;
    }


    /* =========================
       GENERAL PROJECT IMAGES
    ========================= */

    .project-images {
        width: 100%;

        max-width: 100%;

        gap: 70px;
    }


    /* =========================
       ADIDAS X AMG MOBILE
    ========================= */

    .adidas-x-amg .project-images {
        width: 100%;

        max-width: 100%;

        gap: 25px;
    }

    .adidas-x-amg .project-images img {
        width: 100% !important;

        max-width: 100% !important;
    }

}

/* ==================================================
   INFO PAGE
================================================== */

.info-page {
    padding-top: 140px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 120px;
}


/* =========================
   INFO LAYOUT
========================= */

.info-content {
    width: 100%;

    display: grid;

    grid-template-columns: 2fr 1fr;

    column-gap: 80px;

    align-items: start;
}


/* =========================
   INFO TEXT
========================= */

.info-text {
    max-width: 900px;
}

.info-text h1 {
    font-size: 20px;
    font-weight: 400;

    margin-bottom: 60px;
}

.info-text p {
    font-size: 18px;
    line-height: 1.45;

    max-width: 850px;

    margin-bottom: 32px;
}

/* =========================
   SELECTED CLIENTS
========================= */

.selected-clients {
    margin-top: 60px;
    color: #707070;
}

.selected-clients h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 20px;
}

.selected-clients p {
    color: #707070;
    margin-bottom: 0;
}


/* =========================
   INFO SIDEBAR
========================= */

.info-sidebar {
    width: 100%;
    max-width: 360px;

    justify-self: end;
}


/* =========================
   PORTRAIT
========================= */

.info-portrait {
    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;

    object-fit: cover;

    display: block;

    margin-bottom: 45px;
}


/* =========================
   INFO BLOCKS
========================= */

.info-block {
    display: flex;
    flex-direction: column;

    margin-bottom: 40px;
}

.info-block h2 {
    font-size: 13px;
    font-weight: 400;

    margin-bottom: 15px;
}

.info-block a {
    font-size: 15px;

    line-height: 1.5;

    width: fit-content;
}


/* =========================
   COPYRIGHT
========================= */

.info-copyright {
    font-size: 13px;

    margin-top: 60px;
}


/* ==================================================
   INFO PAGE MOBILE
================================================== */

@media (max-width: 768px) {

    .info-page {
        padding-top: 120px;

        padding-left: 20px;
        padding-right: 20px;

        padding-bottom: 80px;
    }


    /* =========================
       INFO LAYOUT
    ========================= */

    .info-content {
        display: flex;

        flex-direction: column;

        gap: 60px;
    }


    /* =========================
       INFO TEXT
    ========================= */

    .info-text {
        width: 100%;
        max-width: none;
    }

    .info-text h1 {
        font-size: 18px;

        margin-bottom: 45px;
    }

    .info-text p {
        font-size: 16px;

        line-height: 1.45;

        margin-bottom: 28px;
    }


    /* =========================
       INFO SIDEBAR
    ========================= */

    .info-sidebar {
        width: 100%;

        max-width: 500px;

        margin: 0 auto;

        justify-self: auto;
    }


    /* =========================
       PORTRAIT
    ========================= */

    .info-portrait {
        width: 100%;

        margin-bottom: 40px;
    }


    /* =========================
       INFO BLOCKS
    ========================= */

    .info-block {
        margin-bottom: 35px;
    }

}
/* ==================================================
   LEGAL PAGES
================================================== */

.legal-page {
    padding-top: 140px;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 120px;
}

.legal-content {
    width: 100%;
    max-width: 600px;
}


/* =========================
   LEGAL HEADINGS
========================= */

/* IMPRINT TITLE – wie „Photographer“ */

.legal-content h1 {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;

    margin: 0 0 60px;
}


/* KLEINE BEREICHSÜBERSCHRIFTEN */

.legal-section h2 {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;

    margin: 0 0 15px;
}


/* =========================
   LEGAL SECTIONS
========================= */

.legal-section {
    margin-bottom: 40px;
}

.legal-section p,
.legal-section address,
.legal-section a {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
}

.legal-section p {
    margin: 0;
}

.legal-section p + p {
    margin-top: 15px;
}

.legal-section address {
    margin: 0;
    font-style: normal;
}


/* ==================================================
   LEGAL PAGES MOBILE
================================================== */

@media (max-width: 768px) {

    .legal-page {
        padding-top: 120px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 80px;
    }

    .legal-content h1 {
        font-size: 18px;
        margin-bottom: 45px;
    }

}

/* LEGAL LISTS */

.legal-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-section li {
    font-size: 15px;
    line-height: 1.5;
}
