:root {
    --page-width: 1536px;
    --tile-size: 160px;
    --gap: 2px;
    --text-color: #827572;

    --surface: #f7f6f5;
    --accent: rgba(141, 125, 118, .92);
    --accent-hover: rgba(120, 105, 99, .98);
    --line: rgba(55, 48, 45, .22);
}


/* =========================================================
   BASIS
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    background: #fff;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text-color);
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   STARTSEITE
   ========================================================= */

.exhibition {
    width: min(100%, var(--page-width));
    margin: 0 auto;
    padding: 90px 30px 70px;
}


/* Kompositionen */

.composition {
    display: grid;
    align-items: center;
}

.composition-top {
    grid-template-columns: 360px auto;
    column-gap: 40px;
}

.composition-middle {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: 12px;
    margin-top: 2px;
}

.composition-bottom {
    grid-template-columns: 360px auto;
    column-gap: 40px;
    margin-top: 180px;
}


/* Künstlerlogo */

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

.artist-logo a {
    display: block;
    width: 300px;
}

.artist-logo img {
    width: 100%;
    height: auto;
}


/* Werkgruppen */

.work-group {
    display: grid;
    grid-template-columns: repeat(6, var(--tile-size));
    gap: var(--gap);
    width: max-content;
}

.machine {
    display: block;
    width: var(--tile-size);
    height: var(--tile-size);
    overflow: hidden;
    background: #eee;
}

.machine img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 160ms ease;
}

.machine:hover img,
.machine:focus img {
    opacity: .78;
}

.machine:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}


/* Zitate */

.quote {
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0;
    font-size: 16px;
    font-style: normal;
    line-height: 1.5;
}

.quote-right {
    justify-self: center;
    max-width: 350px;
    margin-left: -54px;
}

.quote-left {
    justify-self: center;
}


/* Zusatzkacheln */

.special-links {
    display: flex;
    gap: var(--gap);
    margin-top: 0;
}

.special-link {
    display: flex;
    align-items: center;
    width: var(--tile-size);
    height: var(--tile-size);
    padding: 24px;
    background: #ded6c9;
    color: #3f58a5;
    font-size: 27px;
    font-weight: bold;
    line-height: 1.05;
    text-decoration: none;
}

.special-link:hover,
.special-link:focus {
    opacity: .8;
}
/* =========================================================
   AKTUELLE AUSSTELLUNG
   ========================================================= */

.pm-event {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 520px);
    gap: clamp(40px, 5vw, 70px);
    align-items: center;

    max-width: 980px;
    margin: 150px 0 150px 400px;
}

.pm-event__poster {
    width: 100%;
}

.pm-event__poster a {
    display: block;
}

.pm-event__poster img {
    display: block;
    width: 100%;
    height: auto;
}

.pm-event__content {
    min-width: 0;
    max-width: 520px;
}

.pm-event__label {
    margin-bottom: 22px;

    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;

    opacity: .58;
}

.pm-event__content h2 {
    margin: 0 0 22px;

    font-size: clamp(28px, 3vw, 34px);
    font-weight: normal;
    line-height: 1.12;
}

.pm-event__date {
    margin-top: 34px;

    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.3;
}

.pm-event__place {
    margin-top: 6px;

    font-size: 18px;
    line-height: 1.4;
}

.pm-event__link {
    display: inline-block;

    margin-top: 34px;
    padding-bottom: 4px;

    border-bottom: 1px solid currentColor;

    color: inherit;
    font-size: 14px;
    letter-spacing: .06em;
    text-decoration: none;
}

.pm-event__link:hover,
.pm-event__link:focus {
    opacity: .65;
}

/* =========================================================
   GEMEINSAME UNTERSEITEN
   ========================================================= */

.back-button {
    position: fixed;
    top: 50%;
    left: 38px;
    z-index: 500;

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

    width: 58px;
    height: 58px;
    border-radius: 50%;

    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);

    font-size: 34px;
    line-height: 1;
    text-decoration: none;

    transform: translateY(-50%);
    transition:
        background .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

.back-button:hover,
.back-button:focus {
    background: var(--accent-hover);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
    transform: translateY(-50%) scale(1.06);
}

.back-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.arrow {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-bottom: 5px solid #fff;
    border-left: 5px solid #fff;
    transform: rotate(45deg);
}


/* =========================================================
   WERKDETAIL
   ========================================================= */

body.work-page {
    min-height: 100vh;
    background-color: #f8f7f6;
    background-image:
        radial-gradient(
            circle at 28% 34%,
            rgba(165, 145, 135, .18) 0%,
            rgba(165, 145, 135, .08) 24%,
            rgba(165, 145, 135, .03) 42%,
            rgba(255, 255, 255, 0) 68%
        );
    background-repeat: no-repeat;
}

.site {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 40px 20px;
}

.site-header {
    margin-bottom: 30px;
}

.logo-link {
    display: block;
    width: 280px;
}

.logo {
    width: 100%;
    height: auto;
}

.work-detail {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.work-media {
    width: 100%;
    background: #000;
}

.work-video,
.work-poster {
    display: block;
    width: 100%;
    height: auto;
}

.work-title {
    margin: 14px 0 0;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.3;
}

.work-back {
    margin: 18px 0 0;
}

.work-back a,
.work-not-found a {
    color: inherit;
}

.work-not-found {
    padding: 30px 0;
}


/* =========================================================
   KURZFILME
   ========================================================= */

.shortfilms-page {
    min-height: 100vh;
    margin: 0;
    background-color: var(--surface);
    background-image:
        radial-gradient(
            circle at 28% 18%,
            rgba(165, 145, 135, .15),
            transparent 56%
        ),
        radial-gradient(
            circle at 86% 10%,
            rgba(255, 255, 255, .5),
            transparent 42%
        );
}

.shortfilms {
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 72px 0 110px;
}


/* Kopfbereich */

.shortfilms-header {
    display: grid;
    grid-template-columns: 70px minmax(0, 680px);
    gap: 46px;
    align-items: start;
    margin-bottom: 76px;
}

.shortfilms-heading {
    grid-column: 2;
    min-width: 0;
}

.shortfilms-logo {
    display: inline-block;
    margin-bottom: 48px;
    text-decoration: none;
}

.shortfilms-logo img {
    width: min(100%, 360px);
    height: auto;
}

.shortfilms-intro h1 {
    margin: 0 0 24px;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    line-height: 1;
}

.shortfilms-intro p {
    max-width: 620px;
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
}

.section-label {
    margin-bottom: 18px !important;
    font-size: 12px !important;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .58;
}


/* Filmstreifen */

.filmstrip {
    border-top: 1px solid var(--line);
}

.filmstrip-item {
    display: grid;
    grid-template-columns:
        54px
        minmax(180px, 300px)
        minmax(0, 1fr)
        54px;
    gap: 34px;
    align-items: center;

    padding: 26px 4px;
    border-bottom: 1px solid var(--line);

    color: inherit;
    text-decoration: none;

    transition:
        background-color .25s ease,
        padding-left .25s ease,
        padding-right .25s ease;
}

.film-number {
    font-size: 12px;
    letter-spacing: .12em;
    opacity: .48;
}

.film-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dedbd8;
}

.film-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity .3s ease,
        transform .45s ease;
}

.film-title {
    font-size: clamp(22px, 2.4vw, 36px);
    line-height: 1.15;
}


/* Play-Button */

.film-play {
    position: relative;
    display: block;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .1);
    transition:
        background-color .25s ease,
        transform .25s ease;
}

.film-play::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid #fff;
    transform: translate(-50%, -50%);
}


/* Filmstreifen: Interaktion */

.filmstrip-item:hover {
    padding-right: 14px;
    padding-left: 14px;
    background: rgba(255, 255, 255, .32);
}

.filmstrip-item:hover .film-image img {
    opacity: .92;
    transform: scale(1.025);
}

.filmstrip-item:hover .film-play {
    background: var(--accent-hover);
    transform: scale(1.07);
}


/* =========================================================
   TABLET & KLEINE DESKTOPS
   ========================================================= */

@media (max-width: 1437px) {

    :root {
        --tile-size: calc((100vw - 110px) / 6);
    }

    .exhibition {
        padding: 35px 20px 55px;
    }

    .composition-top,
    .composition-middle,
    .composition-bottom {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .artist-logo {
        justify-content: flex-start;
    }

    .composition-middle {
        margin-top: 60px;
    }

    .composition-bottom {
        margin-top: 80px;
    }

    .quote {
        justify-self: stretch;
        width: 100%;
        max-width: none;
        padding: 28px clamp(0px, 6vw, 70px);
        font-size: 24px;
        line-height: 1.65;
    }

    .quote-left,
    .quote-right {
        justify-self: start;
        margin: 0;
    }
    .pm-event {
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);

    width: min(100%, 900px);
    margin: 100px auto;
    padding: 0 clamp(0px, 4vw, 40px);
}
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .back-button {
        left: 22px;
    }

    .shortfilms {
        width: min(calc(100% - 44px), 760px);
        padding-top: 44px;
    }

    .shortfilms-header {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 26px;
        margin-bottom: 52px;
    }

    .shortfilms-heading {
        grid-column: 2;
    }

    .shortfilms-logo {
        margin-bottom: 40px;
    }

    .shortfilms-logo img {
        width: min(100%, 300px);
    }

    .filmstrip-item {
        grid-template-columns:
            36px
            minmax(130px, 220px)
            minmax(0, 1fr)
            46px;
        gap: 20px;
    }

    .film-play {
        width: 46px;
        height: 46px;
    }
}
.pm-event {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 40px;

    width: min(100%, 760px);
    margin: 85px auto;
}

.pm-event__content h2 {
    font-size: 28px;
}

.pm-event__date {
    margin-top: 26px;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 720px) {

    :root {
        --tile-size: calc((100vw - 26px) / 3);
    }

    .exhibition {
        padding: 35px 10px 45px;
    }

    .artist-logo a {
        width: min(75vw, 300px);
    }

    .work-group {
        grid-template-columns: repeat(3, var(--tile-size));
    }

    .composition-middle,
    .composition-bottom {
        margin-top: 55px;
    }

    .quote {
        padding: 22px 18px;
        font-size: 20px;
        line-height: 1.6;
    }

    .special-links {
        margin-top: 45px;
    }

    .special-link {
        padding: 15px;
        font-size: 20px;
    }
    .pm-event {
    display: block;

    width: 100%;
    margin: 75px auto;
    padding: 0 8px;
}

.pm-event__poster {
    width: min(100%, 430px);
    margin: 0 auto;
}

.pm-event__content {
    width: min(100%, 430px);
    margin: 36px auto 0;
}

.pm-event__label {
    margin-bottom: 16px;
}

.pm-event__content h2 {
    margin-bottom: 18px;
    font-size: 27px;
}

.pm-event__date {
    margin-top: 24px;
    font-size: 21px;
}

.pm-event__place {
    font-size: 17px;
}

.pm-event__link {
    margin-top: 28px;
}
}


@media (max-width: 620px) {

    .back-button {
        top: 50%;
        left: 7px;
        width: 36px;
        height: 36px;
    }

    .back-button:hover,
    .back-button:focus {
        transform: translateY(-50%) scale(1.04);
    }

    .arrow {
        width: 11px;
        height: 11px;
        margin-left: 4px;
        border-bottom-width: 3px;
        border-left-width: 3px;
    }

    .shortfilms {
        width: calc(100% - 30px);
        padding: 28px 0 70px;
    }

    .shortfilms-header {
        display: block;
        margin-bottom: 46px;
    }

    .shortfilms-heading {
        grid-column: auto;
    }

    .shortfilms-logo {
        margin-bottom: 38px;
    }

    .shortfilms-logo img {
        width: min(82%, 280px);
    }

    .shortfilms-intro p {
        font-size: 16px;
    }

    .filmstrip-item {
        grid-template-columns: 30px minmax(0, 1fr) 42px;
        gap: 14px;
        padding: 18px 0;
    }

    .film-image {
        grid-column: 2 / 4;
        width: 100%;
        margin-bottom: 4px;
    }

    .film-number {
        grid-column: 1;
        grid-row: 2;
    }

    .film-title {
        grid-column: 2;
        grid-row: 2;
        font-size: 22px;
    }

    .film-play {
        grid-column: 3;
        grid-row: 2;
        width: 42px;
        height: 42px;
    }

    .filmstrip-item:hover {
        padding-right: 0;
        padding-left: 0;
    }
}


/* =========================================================
   SEHR KLEINE GERÄTE
   ========================================================= */

@media (max-width: 390px) {

    :root {
        --tile-size: calc((100vw - 22px) / 2);
    }

    .work-group {
        grid-template-columns: repeat(2, var(--tile-size));
    }
    .pm-event {
    margin: 60px auto;
    padding: 0 4px;
}

.pm-event__content {
    margin-top: 28px;
}

.pm-event__content h2 {
    font-size: 24px;
}

.pm-event__date {
    font-size: 19px;
}
}
.work-page .back-button{

    position:relative;

    top:auto;
    left:auto;

    transform:none;

    margin:28px 0 36px;

    width:46px;
    height:46px;
}


/* =========================================================
   HINTERGRÜNDE
   ========================================================= */

.backgrounds{
    width:min(1180px, calc(100% - 64px));
    margin:0 auto;
    padding:64px 0 80px;
}

.backgrounds-header{
    display:grid;
    grid-template-columns:70px minmax(0,680px);
    gap:32px;
    align-items:start;
}

.backgrounds-heading{
    grid-column:2;
    min-width:0;
}

.backgrounds-logo{
    display:inline-block;
    margin-bottom:38px;
}

.backgrounds-logo .logo{
    display:block;
    max-width:100%;
    height:auto;
}

.backgrounds-intro{
    max-width:680px;
}

.backgrounds-intro h1,
.backgrounds-contact h2{
    margin:0;
    font-weight:400;
}

.backgrounds-intro p:last-child{
    max-width:580px;
}

.backgrounds-content{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:72px;
    margin:72px 0 88px 102px;
    max-width:900px;
}

.backgrounds-contact p{
    margin:.35em 0;
}

.backgrounds-contact a,
.backgrounds-documents a,
.backgrounds-footer a{
    color:inherit;
    text-decoration:none;
}

.backgrounds-documents{
    display:flex;
    flex-direction:column;
    gap:0;
}

.document-link{
    display:flex;
    justify-content:space-between;
    gap:24px;
    padding:16px 0;
    border-bottom:1px solid rgba(0,0,0,.18);
}

.backgrounds-films{
    margin-left:102px;
    max-width:900px;
}

.backgrounds-film-list{
    display:flex;
    flex-direction:column;
}

.background-film{
    display:grid;
    grid-template-columns:minmax(180px,320px) minmax(0,1fr) 30px;
    gap:28px;
    align-items:center;
    padding:22px 0;
    border-bottom:1px solid rgba(0,0,0,.18);
    color:inherit;
    text-decoration:none;
}

.background-film-image{
    display:block;
    aspect-ratio:16/9;
    overflow:hidden;
}

.background-film-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.background-film-title{
    font-size:clamp(1.15rem, 2vw, 1.65rem);
}

.background-film-play{
    width:0;
    height:0;
    border-top:8px solid transparent;
    border-bottom:8px solid transparent;
    border-left:13px solid currentColor;
}

.backgrounds-footer{
    margin:100px 0 0 102px;
    font-size:.85rem;
}

@media (max-width:900px){

    .backgrounds{
        width:min(100% - 40px, 760px);
        padding-top:40px;
    }

    .backgrounds-header{
        grid-template-columns:54px minmax(0,1fr);
        gap:22px;
    }

    .backgrounds-heading{
        grid-column:2;
    }

    .backgrounds-content,
    .backgrounds-films,
    .backgrounds-footer{
        margin-left:76px;
    }

    .backgrounds-content{
        grid-template-columns:1fr;
        gap:48px;
    }
}

@media (max-width:620px){

    .backgrounds{
        width:min(100% - 28px, 520px);
        padding:28px 0 56px;
    }

    .backgrounds-header{
        display:block;
    }

    .backgrounds-heading{
        grid-column:auto;
    }

    .backgrounds-logo{
        margin:0 0 34px 44px;
    }

    .backgrounds-content,
    .backgrounds-films,
    .backgrounds-footer{
        margin-left:0;
    }

    .backgrounds-content{
        margin-top:52px;
        margin-bottom:64px;
    }

    .background-film{
        grid-template-columns:110px minmax(0,1fr) 22px;
        gap:16px;
    }

    .background-film-title{
        font-size:1rem;
    }

    .backgrounds-footer{
        margin-top:72px;
    }
}
.document-link{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;

    padding:16px 0;
    border-bottom:1px solid rgba(0,0,0,.18);

    color:#8f817c;
    text-decoration:none;
}

.document-title{
    display:block;
    flex:1 1 auto;

    color:inherit;
    font-size:1rem;
    line-height:1.4;
    opacity:1;
    visibility:visible;
}

.document-arrow{
    display:block;
    flex:0 0 auto;

    color:inherit;
    font-size:1rem;
    opacity:.8;
}
/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{

    margin:100px auto 40px;

    text-align:center;

    font-size:.85rem;
    letter-spacing:.08em;
}

.site-footer a{

    color:inherit;
    opacity:.65;

    text-decoration:none;

    transition:opacity .25s ease;
}

.site-footer a:hover{

    opacity:1;
}

/* =========================================================
   SITE INTRODUCTION
   ========================================================= */

.site-introduction{

    max-width:560px;

    margin:90px auto 50px;

    padding:0 20px;

    text-align:center;

    font-size:.95rem;
    line-height:1.8;

    letter-spacing:.02em;

    color:#8f817c;
}
