/* gretaRue – Kommunikation & Werbung
   Eigene Styles für diese Projektseite; globale Website-Datei bleibt unangetastet. */

.kommunikation-page {
    --kom-ink: #204B63;
    --kom-accent: #E25046;
}

.kommunikation-main {
    max-width: 1500px;
    margin: 4rem 2rem 6rem;
}

.kommunikation-intro {
    max-width: 850px;
    margin-bottom: 4rem;
}

.kommunikation-kicker,
.section-kicker {
    margin: 0 0 .85rem;
    color: var(--kom-accent);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .13em;
}

.kommunikation-intro h1 {
    margin: 0 0 1rem;
    color: var(--kom-ink);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
    line-height: 1.05;
    font-weight: 500;
}

.kommunikation-lead {
    max-width: 700px;
    margin: 0;
    font-family: "spectral", Georgia, serif;
    font-size: 1.12rem;
    line-height: 1.55;
}

.work-section {
    margin: 4.5rem 0 5.5rem;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    padding: 1rem 0 1.1rem;
    margin-bottom: 2.2rem;
    border-top: 1px solid rgba(32, 75, 99, .25);
    border-bottom: 1px solid rgba(32, 75, 99, .25);
}

.section-kicker {
    margin: 0;
    white-space: nowrap;
}

.section-heading h2 {
    margin: 0;
    color: var(--kom-ink);
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    line-height: 1.15;
    font-weight: 500;
    text-align: right;
}

.work-project {
    margin: 0 0 4.2rem;
}

.project-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.5rem;
    margin: 0 0 .9rem;
}

.project-heading h3 {
    margin: 0;
    color: var(--kom-ink);
    font-size: 1.25rem;
    line-height: 1.2;
    font-weight: 500;
}

.project-heading h3 span {
    font-weight: 400;
    opacity: .75;
}

.project-heading p {
    margin: 0;
    font-family: "spectral", Georgia, serif;
    font-size: .92rem;
    text-align: right;
    opacity: .8;
}

.collage-open {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    cursor: zoom-in;
    line-height: 0;
}

.collage-open.light,
.collage-open.dark { background: transparent; }

.collage-open img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .45s ease;
}

.collage-open:hover img {
    transform: scale(1.012);
}

.zoom-hint {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: .45rem .7rem;
    color: #fff;
    background: rgba(20, 35, 42, .72);
    font-family: "ibm-plex-sans", sans-serif;
    font-size: .72rem;
    line-height: 1;
    letter-spacing: .03em;
    opacity: 0;
    transition: opacity .2s ease;
}

.collage-open:hover .zoom-hint,
.collage-open:focus-visible .zoom-hint {
    opacity: 1;
}

.collage-open:focus-visible {
    outline: 2px solid var(--kom-accent);
    outline-offset: 4px;
}

.collage-viewer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 4rem 5rem 3rem;
    background: rgba(13, 23, 28, .96);
}

.collage-viewer.is-open { display: flex; }

.collage-viewer figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 1500px);
    height: 100%;
    margin: 0;
}

.collage-viewer figure img {
    display: block;
    max-width: 100%;
    max-height: calc(100% - 2rem);
    object-fit: contain;
}

.collage-viewer figcaption {
    padding-top: .7rem;
    color: #f5f3ee;
    font-size: .82rem;
    line-height: 1.2;
}

.viewer-close,
.viewer-prev,
.viewer-next {
    position: absolute;
    border: 0;
    padding: .5rem;
    color: #fff;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    line-height: 1;
}

.viewer-close { top: 1rem; right: 1.5rem; font-size: 2.8rem; }
.viewer-prev,
.viewer-next { top: 50%; transform: translateY(-50%); font-size: 3.8rem; }
.viewer-prev { left: 1rem; }
.viewer-next { right: 1rem; }

@media (max-width: 760px) {
    .kommunikation-main {
        margin: 2.5rem 1rem 4rem;
    }

    .kommunikation-intro {
        margin-bottom: 3rem;
    }

    .work-section {
        margin: 3.5rem 0 4rem;
    }

    .section-heading,
    .project-heading {
        display: block;
    }

    .section-heading h2 {
        margin-top: .6rem;
        text-align: left;
    }

    .project-heading p {
        margin-top: .35rem;
        text-align: left;
    }

    .work-project {
        margin-bottom: 3rem;
    }

    .collage-viewer {
        padding: 3.5rem .5rem 2rem;
    }

    .viewer-prev { left: 0; }
    .viewer-next { right: 0; }
    .viewer-prev,
    .viewer-next { font-size: 2.6rem; }
}
