/* Reset */

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

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

/* Custom Properties */

:root {
    font-size: 62.5%;
    /* Colors */
    --clr-blk: rgb(0, 0, 0);
    --clr-white: rgb(225, 225, 225);
    --clr-main-blue: #b6cbd7;
    --clr-main-red: #6B5F6A;
    --clr-menu: rgba(255, 247, 231, 1);
    /* Fonts */
    --font-xlarge: clamp(5rem, 12vw, 12rem);
    --font-large: clamp(4rem, 4.4vw, 6rem);
    --font-larger: 1.75rem;
    --font-medium: 1.5rem;
    --font-small: 1.1rem;
    --font-archiv: 4rem;
    /* Margin & Padding */
    --margin-inline: 2rem;
    --aspect-ratio: 4 / 3;
    /* Rest */
    --info-bar-height: 0px;
}

@media screen and (width < 700px) {
    :root {
        --margin-inline: 1rem;
        --font-archiv: 3rem;
    }
}

.no-scroll {
    overflow: hidden;
}

/* Typefaces */

@font-face {
    font-family: "Name";
    src: url(/assets/fonts/);
}

/* Structure */

html {
    overscroll-behavior: none;
}

body {
    text-rendering: optimizeLegibility; 
    -moz-osx-font-smoothing: grayscale;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Header */

.homeLogo {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 18rem;
    z-index: 10;
}

.header {
    background-color: var(--clr-blk);
    display: flex;
    justify-content: start;
    padding: 1rem 1.3rem;
    position: sticky;
    top:0;
    left: 0;
    z-index: 25;
}

.header a {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--clr-white);
    text-decoration: none;
}

@media screen and (width < 700px) {
    .header {
        justify-content: center;
    }
}

/* Navigation */

.navigation {
    font-size: var(--font-larger);
    font-weight: 800;
    position: fixed;
    right: 0;
    margin: var(--margin-inline);
    z-index: 25;
}

    /* @media screen and (width < 700px) {
        .navigation {
            margin: 0;
        }
    } */

.nav-button {
    background-color: var(--clr-menu);
    padding: 0.4rem 6.5rem 0.75rem 1rem;
}

.nav-content {
    background-color: var(--clr-menu);
    margin-block: 0.5rem;
    visibility: hidden;
    display: none;
}

    .nav-content.visible {
        visibility: visible;
        display: block;
    }

.nav-content-list {
    list-style: none;
    padding: 0.5rem 1rem;
}

.nav-content-list-item a {
    text-decoration: none;
    color: var(--clr-blk);
}

/* Mobile Navigation */

.mobile-menu {
    display: none;
    flex-direction: column;
    font-size: 25px;
    font-weight: 800;
    position: fixed;
    right: 0;
    z-index: 25;
}

.burger-button {
    padding: 2.2rem 1rem;
    width: auto;
}

.mobile-navigation {
    width: 20rem;
    background-color: var(--clr-menu);
}

.burger-button img,
.mobile-navigation img {
    height: 3rem;
}

#burger-icon {
    height: 3rem;
}

.mobile-close-button {
    display: flex;
    justify-content: end;
    padding: 0.3rem;
}

.mobile-nav-content-list {
    list-style: none;
    padding: 0 0.8rem 0.8rem 0.8rem;
}

.mobile-nav-content-list-item a {
    text-decoration: none;
    color: var(--clr-blk);
}

@media screen and (width < 700px) {
    .mobile-menu {
        display: flex;
    }
    .navigation {
        display: none;
    }
}

/* Footer */

.footer {
    background-color: var(--clr-blk);
    color: var(--clr-white);
    padding: 1rem var(--margin-inline);
    font-size: var(--font-small);
    font-weight: 800;
    display: flex;
    justify-content: space-between;
}

.footer a {
    color: var(--clr-white);
    text-decoration: none;
    font-size: var(--font-small);
    font-weight: 800;
    margin-right: 20rem;
}

@media screen and (width < 700px) {
    .footer a {
        margin-right: 0;
    }
}

/*------------------------------------

            Main Container 

------------------------------------*/

/*------------ STARTSEITE (home.php) */

.landing {
    grid-template-columns: repeat(42, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
    background-color: var(--clr-blk);
    min-height: 100dvh;
}

.landing-item {
    position: relative;
    height: fit-content;
}
.landing-item a {
    text-decoration: none;
    color: inherit;
}
/* Positionen Startseite */

.landing-item:nth-child(1) {
        grid-column: 12 / span 6;
        grid-row: 4 / span 7;
    }

    .landing-item:nth-child(2) {
        grid-column: 25 / span 7;
        grid-row: 6 / span 8;
    }

    .landing-item:nth-child(3) {
        grid-column: 36 / span 8;
        grid-row: 4 / span 8;
    }

    .landing-item:nth-child(4) {
        grid-column: 1 / span 10;
        grid-row: 9 / span 7;
    }

    .landing-item:nth-child(5) {
        grid-column: 17 / span 12;
        grid-row: 15 / span 9;
    }

    .landing-item:nth-child(6) {
        grid-column: 33 / span 6;
        grid-row: 18 / span 7;
    }

    .landing-item:nth-child(7) {
        grid-column: 5 / span 9;
        grid-row: 19 / span 9;
    }


    .landing-item:nth-child(8) {
        grid-column: 3 / span 5;
        grid-row: 32 / span 6;
    }

    .landing-item:nth-child(9) {
        grid-column: 15 / span 6;
        grid-row: 29 / span 8;
    }

    .landing-item:nth-child(10) {
        grid-column: 26 / span 8;
        grid-row: 26 / span 8;
    }

    /* .landing-item:nth-child(1) {
        grid-column: 3 / span 7;
        grid-row: 3 / span 7;
    }

    .landing-item:nth-child(2) {
        grid-column: 20 / span 9;
        grid-row: 2 / span 7;
    }

    .landing-item:nth-child(3) {
        grid-column: 30 / span 11;
        grid-row: 4 / span 8;
    }

    .landing-item:nth-child(4) {
        grid-column: 1 / span 8;
        grid-row: 12 / span 7;
    }

    .landing-item:nth-child(5) {
        grid-column: 15 / span 14;
        grid-row: 13 / span 9;
    }

    .landing-item:nth-child(6) {
        grid-column: 37 / 43;
        grid-row: 17 / span 7;
    }

    .landing-item:nth-child(7) {
        grid-column: 7 / span 10;
        grid-row: 24 / span 9;
    }

    .landing-item:nth-child(8) {
        grid-column: 26 / span 6;
        grid-row: 26 / span 6;
    }

    .landing-item:nth-child(9) {
        grid-column: 34 / span 8;
        grid-row: 34 / span 8;
    } */

    @media screen and (width < 700px) {
        .landing {
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: max-content;
            gap: 1rem;
            min-height: 100dvh;
            padding-top: 20vh;
            padding-inline: 1rem;
        }
        .landing-item {
            grid-column: 1 / -1 !important;
            grid-row: auto !important;
        }
    }

/* 20.05.2025: Figure ELement unter dem Bild, dazu auch figcap pos: absolute; */

.landing-item-figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tv-overlay {
    position: absolute;
    top:0;
    left: 0;
}

.landing-item-figure img {
    width: 100%;
    /* aspect-ratio: var(--aspect-ratio); */
    object-fit: cover;
}

.landing-item-figcap {
    color: white;
    padding: 0.2rem;
    /* position: absolute; */
    opacity: 1;
    transition: opacity 1s;
    font-size: var(--font-medium);
    /* new 20.05.2024 */
    width: fit-content;
    margin-top: 0.5rem;
    text-align: center;
    display: none;
}

@media screen and (width < 700px) {
    /* .landing-item-figure img {
        width: auto;
    } */
    .landing-item-figcap {
        display: none;
        font-weight: 800;
    }
}

/* .landing-item:hover .landing-item-figcap {
    opacity: 1;
} */

/*------------ PROJECT SEITE (project.php) */

.project-teaser {
    height: 100dvh;
    width: 100vw;
    position: fixed;
    top:0;
    left: 0;
    z-index: 30;
    background-color: black;
    opacity: 1;
    transition: opacity 1s;
    display: block;
}

.project-teaser video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media screen and (width < 700px) {
    .project-teaser {
        display: flex;
        align-items: center;
    }
    .project-teaser video {
        height: auto;
    }
}

.video_close_button {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    background-color: transparent;
    border: none;
    font-size: var(--font-large);
    color: white;
}

.unmute-button {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    color: white;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 2rem;
    font-size: 3rem;
    width: 10rem;
}

.project {
    /* -- */
    padding: 
        var(--margin-inline) 
        var(--margin-inline) 
        calc(var(--margin-inline) / 2) 
        var(--margin-inline)
    ;
    min-height: 100svh;
}

/* Row 1 */
.h1-normal h1 {
    /* background-color: yellow; */
    font-size: var(--font-large);
    font-weight: 800;
    margin-bottom: 2rem;
    margin-right: 7rem;
    line-height: 4.3rem;
}

.h1-big h1 {
    font-size: var(--font-xlarge);
    font-weight: 800;
    margin-bottom: 1rem;
    margin-left: -0.8rem;
    margin-top: -1.5rem;
}

    @media screen and (width < 700px) {

        .h1-normal h1 {
            /* background-color: yellow; */
            font-size: var(--font-large);
            margin-bottom: 0rem;
            margin-right: 3rem;
            line-height: 4.3rem;
        }

        .h1-big h1 {
            margin-left: 0rem;
            margin-top: 0rem;
        }
    }

/* Row 2 */

.row-2 {
    position: relative;
}

/* .row-2 p {
    font-weight: 800;
} */

@media screen and (width < 700px) {
    .row-2 {
        position: relative;
        margin-top: 1rem;
    }
}

/* @media screen and (width < 700px) {
    .project {
        padding-inline: 0;
    }
    .h1-normal h1,
    .row-2 {
        padding-inline: var(--margin-inline);
    }
    .project-grid h1 {
        padding: 0;
    }
} */

.project-info {
    position: relative;
    width: calc(50% - 0.5rem);
    float: left;
    margin-bottom: 2.2rem;
    font-weight: 800;
}
    @media screen and (width < 700px) {
        .project-info {
            /* background-color: aqua; */
            width: 100%;
            margin-bottom: 1rem;
        }
        .project-info p {
            font-size: larger;
        }
    } 

/* Row 2 */

.project-desc {
    margin-top: -1.5rem; 
    position: absolute;
    top: 0; 
    right: 0;
    background-color: var(--clr-blk); 
    color: var(--clr-main-blue); 
    width: calc(50% - 0.5rem) ;
    float: left; 
    z-index: 20; 
    height: 3.7rem;
    overflow: hidden; 
    padding: 0 0.7rem 0.7rem;
    font-weight: normal;

}

.project-desc p {
    margin-bottom: 0.85rem;
}

.project-desc.expanded {
    height: max-content;
    overflow: scroll;
}

    @media screen and (width < 700px) {
        .project-desc {
            /* background-color: aquamarine; */
            width: 100%;
            position: relative;
            margin-top: 1rem;
            margin-bottom: 1rem;
        }
    }


/* Row 3 */
.project-grid {
    width: 100%;
    /* min-height: 100vh; */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem 1.25rem;
}

    @media (min-width: 801px) and (max-width: 1200px) {
        .project-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media screen and (width < 800px) {
        .project-grid {
            grid-template-columns: minmax(0, 1fr);
            gap: 1rem;
        }
    }

.project-grid-item {
    position: relative;
}

.project-grid-item img {
    aspect-ratio: var(--aspect-ratio);
    width: 100%;
    object-fit: cover;
}

.project-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(100% - var(--info-bar-height));
    width: 100%;
    background-color: var(--clr-blk);
    color: var(--clr-white);
    z-index: 15;
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    font-size: var(--font-medium);
    overflow-y: scroll;
    overscroll-behavior: none;
}

.project-grid-overlay p {
    padding: 1rem;
}

.project-grid-overlay-wrapper {
    position: relative;
    width: 100%;
}

.project-grid-overlay-close {
    position: sticky;
    top: 0;
    right: 0;
    width: max-content;
    padding: 1.2rem 0.8rem 1rem 1rem;
    float: right;
    text-decoration: underline;
}

.project-grid-overlay-close img {
    height: 2rem;
}

.info-bar {
    align-items: center;
    position: relative;
    grid-template-columns: 0.83fr;
    grid-auto-flow: column;
    grid-auto-columns: 0.33333fr;
    /* justify-content: space-between; */
    background-color: var(--clr-blk);
    color: var(--clr-white);
    font-size: 1.3rem;
    padding: 0.5rem;
    z-index: 15;
}


.info-arrows {
    display: flex;
    gap: 1.4rem;
    align-items: center;
    /* width: fit-content; */
    justify-content: center;
}

.info-arrows img,
.info-bar-button img {
    height: 1.3rem;
    aspect-ratio: auto !important;
    width: auto;
}

.info-arrows svg {
    fill: white;
}

.info-bar-title {
    font-size: clamp(1rem, 0.9vw ,1.3rem);
}

/*.prev-arrow {
    background-color: lightblue;
    padding-right: 1rem;
}

/* .next-arrow {
    background-color: goldenrod;
} */

/* 
.info-bar-counter {}
.info-bar-arrows {}
*/
.info-bar-button {
    /* background-color: lightpink; */
    width: max-content;
    justify-self: end;
} 


#info-icon,
#info-icon_inverted {
    height: 1.3rem;
    aspect-ratio: auto !important;
    width: fit-content;
}

.st0,
.st1,
.st2 {
    fill:white;
}

.st3,
.st4,
.st5 {
    fill:red;
}
.project-cast {
    /* background-color: blue; */
    padding-block: 1rem;
    margin-top: var(--margin-inline);
    font-size: var(--font-larger);
    font-weight: 700;
}

/* @media screen and (width < 700px) {
    .project-cast {
        padding: 1rem var(--margin-inline);
    }
} */

.project-cast span {
    text-decoration: underline;
    float: left;
    margin-right: 2.5rem;
}

.project-cast-students {
    /* background-color: lightgreen; */
    margin-bottom: 1rem;
}

/* .project-cast-teachers {
    background-color: lavender;
} */

.project-arrows {
    display: flex;
    padding: 2rem 0;
    justify-content: end;
    gap: 2.5rem;
    font-size: var(--font-larger);
    font-weight: 700;
}
@media screen and (width < 800px) {
    .project-arrows {
        justify-content: center;
    }
}
.project-arrows a {
    color: var(--clr-main-blue);
    background-color: black;
    padding: 1rem 1.5rem;
    text-decoration: inherit;
}
.project-arrows a:hover {
    text-decoration: underline;
}

.project-arrows img {
    height: 45px;
}

.project-desc-arrow {
    display: flex;
    align-items: center;
    float: right;
    margin-left: 1rem;
    height: 2rem;
}

.project-desc-arrow img {
    height: 1.5rem;
    transform: rotate(270deg);
}

/* .project-arrows a:first-child {
    margin-inline: auto 2rem;
} */


/* BEST OF SEITE */

.bestof-grid {
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

    @media screen and (width < 700px) {
        .bestof-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

/* SALON SEITE */

.salon-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 2rem 1rem;
}

    @media screen and (width < 700px) {
        .salon-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

.salon-grid-overlay {
    display: none; /* Hide overlay by default */
    justify-content: center;
    align-items: center;
    background-color: var(--clr-blk);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 100%;
}

.salon-item:hover {
    cursor: pointer;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: auto;
}

.salon-grid-overlay iframe {
    width: 100%;
    /* height: 400px; */
    height: auto;
}

.close-btn {
    position: fixed;
    top: 0;
    right: 0;
    color: white;
    font-size: 60px;
    cursor: pointer;
    filter: invert();
    padding: var(--margin-inline);
}

.close-btn img {
    height: 5rem;
}

/* .salon-grid-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: var(--clr-blk);
    z-index: 25;
    transform: translateY(100%);
    transition: transform 0.5s;
}

.salon-grid-overlay iframe {
    width: 80vw;
    max-height: 100%;
}

.show {
    transform: translateY(0);
    transition: transform 0.5s;
} */

/*------------ ARCHIV SEITE (archiv.php) */

.archiv {
    /* Grid */
    grid-template-columns: 1fr;
    /* -- */
    min-height: 100dvh;
    /* Background */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    align-items: start;
}

.archiv-list {
    display: grid;
    margin: 2.6rem calc(var(--margin-inline) * 2.6);
    font-weight: 800;
    font-size: var(--font-archiv);
}

.archiv-list-link {
    /* background-color: lightcoral; */
    margin-block: -0.1rem;
    text-decoration: none;
    display: inline-block;
    color: var(--clr-main-blue);
}

.archiv-list-link:hover {
    color: rgb(255, 34, 0);
}

@media screen and (width < 700px) {
    .archiv-list {
        margin: var(--margin-inline);
    }
}

/*------------ KIRBY BLOCKS STYLING */

/* GALLERY BLOCK */

.block-gallery-list-item {
    list-style: none;
}

/* VIDEO BLOCK */

.block-video {
    aspect-ratio: var(--aspect-ratio); 
    font-size: 0;
}

.player {
    width: 100% !important;
    height: 100% !important;
}

.player .vp-video-wrapper .vp-preview-cover {
    background-size: cover !important;
}

iframe {
    width: 100%;
    aspect-ratio: var(--aspect-ratio);
    border: none;
    background-color: var(--clr-blk);
}

/* TEXT BLOCK */

.text-block {
    position: relative;
    aspect-ratio: var(--aspect-ratio);
    overflow-x: scroll;
    padding-left: 1rem;
    color: var(--clr-main-blue);
    background-color: var(--clr-blk);
}

.text-block h1 {
    font-size: 2rem;
    margin: 0;
    line-height: 2.5rem;
    margin-block: 1rem;
    margin-right: 1rem;
    /* margin-bottom: 1rem; */
}

.text-block p {
    font-size: 1.4rem;
    line-height: 2rem;
    margin-bottom: 1rem;
}

.text-block h2 {
    margin-bottom: 1rem;
}

.text-block figure {
    width: 50%;
}

.text-block figure img {
    width: auto;
}

.language-switch {
    background-color: orangered;
    position: absolute;
    top:0;
    right: 0;
    margin: 1rem;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.4rem;
}

/* PREVIEW BLOCK */

.preview-block-figure {
    position: relative;
}

.preview-block-figcap {
    position: absolute;
    top:0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-blk);
    opacity: 0;
    transition: opacity 0.5s;
    color: var(--clr-white);
    font-size: var(--font-medium);
    padding: 1rem;
}

.preview-block-figure:hover .preview-block-figcap {
    opacity: 1;
}

.preview-block-title {
    background-color: var(--clr-blk);
    color: var(--clr-white);
    padding: 0.2rem;
    margin-block: 1rem;
    display: inline-block;
    font-size: 1.5rem;
}

/*------------ UTILITY KLASSEN */

.bg-blue {
    background-color: var(--clr-main-blue);
    color: var(--clr-blk);
}

.bg-red {
    background-color: var(--clr-main-red);
    color: var(--clr-main-blue);
}

.font-weigth-medium {
    font-weight: 600;
}

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

.grid {
    display: grid;
}

.pointer:hover {
    cursor: pointer;
}

.invisible {
    opacity: 0;
    /* pointer-events: none; */
}

.visible {
    opacity: 1;
    pointer-events: all;
}

.font-size-medium {
    font-size: var(--font-medium);
}

.no-display {
    display: none;
}

.rotate {
    transform: rotate(180deg);
}


/* .tabs {
    position: relative;
    font-size: 0;
    text-align: end;
} */

.tabs {
    position: absolute;
    font-size: 0;
    text-align: end;
    background-color: red;
    width: fit-content;
    right: 0.5rem;
    top: 0.5rem;
}

.tab-link {
    background-color: var(--clr-main-blue);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    top:0;
    right: 0;
}

.tab-link.active {
    background-color: var(--clr-blk);
    cursor: default;
    display: none;
}

.language {
    display: none;
}

.language.active {
    display: block;
}

.text-block p,
.project-grid-overlay p {
  margin-bottom: 0.85rem;
}

#modal {
    padding: 2rem;
    font-size: var(--font-medium);
    position: absolute;
    width: 30vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column-reverse;
    background-color: black;
    color: var(--clr-main-blue);
    rotate: 1deg;
}
#modal.invisible {
    display: none;
}
.close_modal {
    align-self: flex-end;
}
.close_modal:hover {
    cursor: pointer;
}

@media screen and (width < 700px) {
    #modal {
        gap: 1rem;
        padding: 1rem;
    }
}