* {
    box-sizing: border-box;
    cursor: url("../images/cursor-ball.svg") 5 5, auto;
}

@font-face {
    font-family: Bitcount;
    src: url("../fonts/bitcount-prop-single-v3-latin-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: NeueSchrift;
    src: url("../fonts/NeueSchrift-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

html,
body {
    min-height: 100vh;
}

body {
    margin: 0;
    background: #fff;
    color: #111;
    font-family: Bitcount, Arial, sans-serif;
    font-size: 16px;
}

header {
    padding: 18px 24px;
}

.site-header {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    align-items: center;
    padding: 1.875rem;
    line-height: 1;
}

.site-header a:first-child {
    grid-column: 1;
    justify-self: start;
}

.site-header a:nth-child(2) {
    grid-column: 12;
    justify-self: end;
}

header a,
footer {
    color: #001cff;
    font-size: 16px;
}

.site-header a,
.site-header span {
    color: #001cff;
    font-family: Bitcount, Arial, sans-serif;
    font-size: 16px;
    text-decoration: none;
}

a[href^="mailto:"] {
    text-decoration: none;
    color: #001cff;
}

footer a {
    color: #001cff;
    text-decoration: none;
}

.project-intro {
    width: min(220px, calc(100% - 40px));
    margin: 8vh auto 9vh;
    color: #001cff;
}

.project-intro--raster {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    width: auto;
    margin: calc(18vh + 2.6rem) 1.875rem 3vh;
}

.project-page .project-intro--raster {
    min-height: clamp(16rem, calc(42rem - 28vw), 32rem);
}

/* Das Grundraster gilt vorerst nur für die Seite 1.1. */
.project-page--raster {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    padding-inline: 1.875rem;
}

.project-page--raster > section {
    grid-column: 1 / -1;
}

.project-page--raster .project-intro--raster {
    margin-inline: 0;
}

.project-intro.project-intro--raster h1 {
    position: fixed;
    top: calc(18vh + 2.6rem);
    left: 1.875rem;
    grid-column: 1 / 2;
    text-align: left;
}

.project-intro--raster p {
    grid-column: 7 / 13;
}

.project-page--raster .project-images {
    grid-column: 1 / -1;
    margin-inline: -1.875rem;
}

.project-page--raster .image-placeholder {
    width: 100%;
}

.project-page--footer-overlay + footer {
    position: relative;
    z-index: 1;
    margin-top: -3.75rem;
    padding: 0 1.875rem;
}

.project-page--footer-overlay .project-images {
    padding-bottom: 0;
}

.project-page--footer-overlay .project-images > :first-child {
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 40rem) {
    .site-header {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        column-gap: 0;
        row-gap: 0.5rem;
    }

    .site-header a:first-child {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header a:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .project-intro.project-intro--raster h1,
    .project-intro--raster p {
        grid-column: 1 / -1;
    }

}

.project-intro h1 {
    margin: 0;
    cursor: pointer;
    font-family: Bitcount, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}

.project-intro p {
    margin: 0;
    font-family: Bitcount, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    text-align: left;
}

.project-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 8vh;
}

.project-images img {
    display: block;
    width: 100%;
    height: auto;
}

.project-images video {
    display: block;
    width: 100%;
    height: auto;
}

.project-images .project-images__video--tall {
    height: 46.25rem;
    object-fit: contain;
}

.project-images .project-images__video--mit-rand {
    margin-block: 8.125rem;
}

.project-images .project-images__video--hoch {
    width: auto;
    max-width: 100%;
    height: 56.25rem;
    margin-inline: auto;
    object-fit: contain;
}

.project-images .project-images__video--extra-hoch {
    width: auto;
    max-width: 100%;
    height: 81.25rem;
    margin-inline: auto;
    object-fit: contain;
}

.project-images .project-images__bild--zentriert {
    width: min(41.875rem, 100%);
    margin-inline: auto;
}

.project-images .project-images__bild--hoch {
    width: auto;
    max-width: 100%;
    height: 56.25rem;
    margin-inline: auto;
    object-fit: contain;
}

.project-images .project-images__bild--extra-hoch {
    width: auto;
    max-width: 100%;
    height: 81.25rem;
    margin-inline: auto;
    object-fit: contain;
}

.project-images .project-images__bild--randabfallend {
    width: 100%;
    height: 68.75rem;
    object-fit: cover;
}

@media (max-width: 64rem) {
    .project-images .project-images__bild--randabfallend {
        height: auto;
    }
}

.project-images--full-bleed,
.project-images--separated {
    gap: 2px;
    background-color: #fff;
}

.project-images--separated .project-images__field {
    overflow: hidden;
}

.project-images--separated .project-images__field img {
    transform: scale(1.1);
}

.project-images--zoom .project-images__field {
    overflow: hidden;
}

.project-images--zoom .project-images__field img {
    transform: scale(1.1);
}

.project-images--zoom .project-images__field--ohne-zoom img {
    transform: none;
}

.project-images__field {
    width: 100%;
    margin: 0;
    background-color: #d1d1d1;
}

.project-images__field--transparent {
    background-color: transparent;
}

.project-images__field--video-gap {
    margin-bottom: 8rem;
}

.project-images__field--video-start {
    margin-top: 8rem;
}

.project-images__field--large-gap-after {
    margin-bottom: 5.5rem;
}

.project-images__field--large-frame {
    padding-block: 5.625rem;
}

.schriftzug {
    display: grid;
    gap: 4vw;
    width: 100%;
    margin: 0;
    padding: 18vh 6.5vw;
    color: #000;
    font-family: NeueSchrift, sans-serif;
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 400;
    line-height: 0.75;
}

.schriftzug__zeile {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schriftzug__zeile--mitte {
    width: 75%;
    margin-inline: auto;
}

.project-images__paar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    width: 100%;
    padding: 30px;
    background-color: #d1d1d1;
}

.project-images__paar--font-spacing {
    gap: 5.625rem;
    width: min(100%, 95.625rem);
    margin-inline: auto;
    padding-block: 0;
}

.project-images__paar--vertical-frame {
    padding-block: 5.625rem;
}

.project-images__paar .project-images__field {
    background-color: transparent;
}

.project-images__paar img {
    width: min(41.875rem, 100%);
    margin-inline: auto;
}

.project-images__paar--square-images img {
    aspect-ratio: 1;
    object-fit: cover;
}

.project-images__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 2px;
    width: min(100%, 37.5rem);
    aspect-ratio: 2 / 3;
    background-color: #fff;
}

.project-images__grid-feld {
    min-width: 0;
    min-height: 0;
    margin: 0;
    background-color: transparent;
    overflow: hidden;
}

.project-images__grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-images__grid--viererreihe {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 2px;
    width: 100%;
    aspect-ratio: auto;
}

.project-images__grid--viererreihe img {
    height: auto;
}

.project-images__videos {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 130px;
    width: 100%;
    margin-top: 128px;
    margin-bottom: 128px;
}

.project-images__videos .project-images__field {
    background-color: transparent;
}

.project-images__videos .project-images__video {
    width: 100%;
    height: 56.25rem;
    object-fit: contain;
}

.project-images__field--spacious {
    padding-block: 5.625rem;
}

.project-images__field--video-frame {
    padding-block: 5.625rem;
}

.project-images__field--small-padding {
    margin-top: 8.125rem;
    padding-block: 5.625rem;
}

.project-images__field--mit-abstand {
    margin-top: 5.625rem;
}

.image-placeholder {
    width: min(66.67vw, 1000px);
    aspect-ratio: 16 / 9;
    background: #bdbbbb;
}

footer {
    padding: 0 24px 24px;
}

@media (max-width: 600px) {
    header {
        padding: 16px;
    }

    .project-intro.project-intro--raster h1 {
        top: calc(7vh + 2.6rem);
    }

    .project-intro {
        margin-top: 7vh;
        margin-bottom: 7vh;
    }

    .project-intro--raster {
        margin-top: calc(7vh + 2.6rem);
    }

    .image-placeholder {
        width: 66.67vw;
    }

    footer {
        padding: 0 16px 16px;
        color: #001cff;
    }
}
