:root {
    --white: #ffffff;
    --black: #000000;
    --yellow: #fff700;
    --line: rgba(255, 255, 255, 0.2);
    --line-dark: rgba(0, 0, 0, 0.14);
    --header-height: 86px;
    --font-heading: var(--gh-font-heading, "DM Sans", "Helvetica Neue", Arial, sans-serif);
    --font-body: var(--gh-font-body, "DM Sans", "Helvetica Neue", Arial, sans-serif);
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--white);
    background: var(--black);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.45;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

body.menu-open {
    overflow: hidden;
}

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

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

.site-shell {
    position: relative;
    z-index: 1;
}

.site-main {
    min-height: calc(100vh - var(--header-height));
    padding-bottom: 12rem;
}

.container {
    width: min(1600px, 92vw);
    margin: 0 auto;
}

.fixed-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fixed-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.44);
}

.fixed-bg-home {
    background-image: url("../bg/home.jpg");
}

.fixed-bg-buehne {
    background-image: url("../bg/buehne.jpg");
}

.fixed-bg-buhne {
    background-image: url("../bg/buehne.jpg");
}

.fixed-bg-film-video {
    background-image: url("../bg/film.jpg");
}

.fixed-bg-filme-videos {
    background-image: url("../bg/film.jpg");
}

.fixed-bg-illustration {
    background-image: url("../bg/illustration.jpg");
}

.fixed-bg-illustrationen {
    background-image: url("../bg/illustration.jpg");
}

.fixed-bg-misc {
    background-image: url("../bg/misc.jpg");
}

.section-reveal {
    opacity: 1;
    transform: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    height: var(--header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(6px);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-text {
    font-family: "Gothic A1", "Arial", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 100;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--white);
    padding: 0.45rem 0.75rem;
    border-radius: 0;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.site-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 1.6rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-list a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-nav-list a:hover {
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 2px;
}

.contact-button {
    background: var(--yellow);
    color: var(--black) !important;
    border: 1px solid var(--yellow);
    text-transform: uppercase;
    padding: 0.9rem 1.5rem;
    font-size: 0.84rem !important;
    letter-spacing: 0.2em !important;
    font-weight: 700 !important;
}

.contact-button:hover {
    text-decoration: none !important;
    filter: brightness(0.92);
}

.hero-home {
    min-height: clamp(460px, 58vw, 760px);
    display: grid;
    align-items: center;
    padding-top: clamp(2rem, 5vw, 4.5rem);
}

.hero-home-inner {
    text-align: center;
}

.hero-home-title {
    margin: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: clamp(3rem, 7vw, 8rem);
    line-height: 0.95;
}

.hero-home-links {
    margin-top: clamp(1.2rem, 3vw, 2rem);
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    flex-wrap: wrap;
}

.hero-home-links a {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 700;
}

.about-section {
    margin-top: 1rem;
}

.about-panel {
    background: var(--white);
    color: var(--black);
    padding: clamp(1rem, 2.5vw, 2.6rem);
    display: grid;
    grid-template-columns: minmax(280px, 38%) 1fr;
    gap: clamp(1rem, 2.6vw, 2.8rem);
    border: 1px solid var(--line-dark);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy {
    font-size: clamp(1rem, 1.2vw, 1.23rem);
    line-height: 1.62;
}

.about-copy p {
    margin: 0 0 1rem;
}

.home-section,
.archive-head,
.archive-grid,
.project-stage-card,
.related-projects,
.contact-panel {
    margin-top: clamp(1.4rem, 4vw, 3rem);
}

.section-headline {
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-headline h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 6vw, 5rem);
    line-height: 0.88;
    font-weight: 700;
    letter-spacing: 0.015em;
}

.section-headline p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    max-width: 60ch;
}

.project-grid {
    display: grid;
    gap: 1.15rem;
}

.project-card {
    border: 1px solid var(--yellow);
    background: var(--white);
    color: var(--black);
}

.project-link {
    display: grid;
    grid-template-columns: minmax(320px, 44%) 1fr;
    min-height: clamp(280px, 34vw, 640px);
    color: inherit;
}

.project-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.project-media {
    margin: 0;
    min-height: 100%;
}

.project-media img,
.project-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-placeholder {
    background: #e4e4e4;
}

.project-body {
    padding: clamp(1rem, 2.6vw, 2.2rem);
    display: flex;
    flex-direction: column;
}

.project-tagline {
    margin: 0;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
}

.project-body h3 {
    margin: 0.55rem 0 0;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 4.6rem);
    line-height: 0.92;
    font-weight: 700;
}

.project-body p {
    margin: 1rem 0 0;
    font-size: clamp(0.95rem, 1.2vw, 1.35rem);
    line-height: 1.45;
    max-width: 48ch;
}

.project-readmore {
    margin-top: auto;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.section-footer {
    margin-top: 0.75rem;
    text-align: right;
}

.text-link {
    text-transform: uppercase;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    color: var(--yellow);
    font-weight: 700;
}

.archive-title {
    margin: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: clamp(2.3rem, 7vw, 7rem);
    line-height: 0.86;
    font-weight: 700;
}

.archive-intro {
    margin: 0.5rem 0 0;
    max-width: 60ch;
    font-size: 1rem;
}

.project-stage-inner {
    display: grid;
    grid-template-columns: minmax(320px, 44%) 1fr;
    border: 1px solid var(--yellow);
    background: var(--white);
    color: var(--black);
}

.project-stage-media {
    margin: 0;
}

.project-stage-media img {
    width: 100%;
    height: 100%;
    min-height: clamp(360px, 42vw, 740px);
    object-fit: cover;
}

.project-stage-copy {
    padding: clamp(1rem, 2.6vw, 2.3rem);
}

.project-tag {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-title {
    margin: 0.6rem 0 0;
    font-family: var(--font-heading);
    text-transform: none;
    font-size: clamp(2.2rem, 5vw, 5.2rem);
    line-height: 0.92;
    font-weight: 700;
}

.project-excerpt {
    margin: 0.8rem 0 1rem;
    font-size: 1.1rem;
    max-width: 56ch;
}

.project-content {
    margin-top: 0.6rem;
}

.project-content .kg-image-card img,
.project-content .kg-gallery-card img,
.page-content .kg-image-card img,
.page-content .kg-gallery-card img {
    border-radius: 0;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.kg-gallery-row {
    display: flex;
    gap: 0.8rem;
}

.kg-gallery-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content .kg-width-wide,
.page-content .kg-width-wide {
    width: min(1200px, 96vw);
    margin-left: 50%;
    transform: translateX(-50%);
}

.project-content .kg-width-full,
.page-content .kg-width-full {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.project-content p,
.project-content li {
    font-size: clamp(1rem, 1.15vw, 1.3rem);
    line-height: 1.45;
}

.kg-bookmark-card {
    margin: 1.2rem 0;
}

.kg-bookmark-container {
    display: flex;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #000;
    min-height: 140px;
}

.kg-bookmark-content {
    flex: 1;
    padding: 1rem;
}

.kg-bookmark-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.kg-bookmark-description {
    margin-bottom: 0.6rem;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
}

.kg-bookmark-icon {
    width: 22px;
    height: 22px;
}

.kg-bookmark-author,
.kg-bookmark-publisher {
    font-size: 0.82rem;
}

.kg-bookmark-thumbnail img {
    width: 220px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-content h2,
.project-content h3,
.project-content h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.related-title {
    margin: 0 0 1rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 4vw, 3.3rem);
    line-height: 0.95;
    font-weight: 700;
}

.contact-panel {
    padding-bottom: 2rem;
}

.contact-inner {
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--line-dark);
    padding: clamp(1rem, 2vw, 2rem);
    display: grid;
    grid-template-columns: minmax(250px, 24%) minmax(300px, 1fr) minmax(220px, 26%);
    gap: 1rem;
    align-items: start;
}

.contact-copy h2 {
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.9;
    font-weight: 700;
}

.contact-copy p {
    margin: 0.8rem 0 0;
    font-size: 0.95rem;
}

.contact-form {
    display: grid;
    gap: 0.45rem;
}

.contact-form label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea {
    border: 1px solid #b8b8b8;
    background: #fff;
    color: #000;
    font: inherit;
    padding: 0.6rem 0.7rem;
}

.button {
    border: 1px solid var(--black);
    background: transparent;
    color: var(--black);
    padding: 0.72rem 1rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.button-primary,
.contact-submit {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.button-ghost {
    background: transparent;
    border-color: #999;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer {
    margin-top: 2rem;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-inner {
    padding: 2rem 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    gap: 1.6rem;
    align-items: start;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
}

.footer-col a {
    color: #fff;
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-sticky-line {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.7rem 0;
}

.footer-sticky-line span {
    font-size: 0.84rem;
}

.pagination {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.pagination a,
.pagination span {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    padding: 0.3rem 0.85rem;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.category-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    --bar-color: var(--yellow);
    background: var(--bar-color);
    border-top: 1px solid rgba(0, 0, 0, 0.38);
    height: clamp(74px, 11vw, 180px);
    overflow: hidden;
}

.category-bar.category-bar-film-video,
.category-bar.category-bar-filme-videos {
    --bar-color: #1475ec;
}

.category-bar.category-bar-illustration,
.category-bar.category-bar-illustrationen {
    --bar-color: #f4b9b9;
}

.category-bar.category-bar-misc {
    --bar-color: #ffffff;
}

.category-bar-label {
    display: block;
    position: absolute;
    left: clamp(0.6rem, 2vw, 2.2rem);
    top: 0;
    transform: translateY(-58%);
    color: var(--bar-color);
    font-family: "Gothic A1", "Arial", sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: clamp(3.1rem, 20vw, 16rem);
    line-height: 0.72;
    letter-spacing: 0.015em;
    white-space: nowrap;
    pointer-events: none;
}

@media (max-width: 1180px) {
    .site-nav-list a {
        font-size: 1rem;
    }

    .contact-button {
        padding: 0.75rem 1.05rem;
    }

    .project-link,
    .project-stage-inner {
        grid-template-columns: 1fr;
    }

    .project-stage-media img {
        min-height: 360px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 920px) {
    .menu-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        right: 4vw;
        top: calc(var(--header-height) - 1px);
        width: min(380px, 92vw);
        background: rgba(0, 0, 0, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.22);
        padding: 0.9rem;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .site-nav.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .site-nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav-list li {
        width: 100%;
    }

    .site-nav-list a {
        display: inline-block;
        padding: 0.2rem 0;
    }

    .hero-home {
        min-height: 320px;
    }

    .about-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .site-header {
        height: 76px;
    }

    .brand-text {
        font-size: 1.7rem;
        font-weight: 100;
    }

    .site-main {
        padding-bottom: 8.5rem;
    }

    .project-body h3 {
        font-size: 2.2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .category-bar {
        height: 86px;
    }
}
