/* ========================================
   Rosanna Voß — Atelier und Gallerie
   Aesthetic: Refined editorial / museum
   ======================================== */

:root {
    --color-bg: #FFFFFF;
    --color-surface: #C1A8B9;
    --color-surface-hover: #A887A4;
    --color-text: #30302F;
    --color-text-muted: #918B84;
    --color-accent: #615E5A;
    --color-accent-hover: #4a4744;
    --color-border: #CBD3DC;
    --color-overlay: rgba(31, 20, 40, 0.92);

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

    --banner-height: 48px;
    --nav-height: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-weight: 200;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ========================================
   ANNOUNCEMENT BANNER
   ======================================== */
.announcement {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 300;
    height: var(--banner-height);
    background: #C0BEBC;
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s var(--ease-smooth), opacity 0.35s var(--ease-smooth);
}

.announcement.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.announcement__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 3rem;
}

.announcement__inner p {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 200;
    white-space: nowrap;
}

.announcement__inner strong { font-weight: 100; }

.announcement__ornament {
    font-size: 0.6rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.announcement__close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.announcement__close:hover { opacity: 1; }

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: var(--banner-height);
    left: 0;
    width: 100%;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    transition: background 0.4s var(--ease-smooth), padding 0.3s var(--ease-smooth), top 0.35s var(--ease-smooth);
}

.nav--scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    padding: 0.9rem 2.5rem;
}

.nav__logo a {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav__links a {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000000;
    transition: color 0.3s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.4s var(--ease-out);
}

.nav__links a:hover,
.nav__links a.nav__link--active { color: var(--color-text); }

.nav__links a:hover::after,
.nav__links a.nav__link--active::after { width: 100%; }

/* Mobile Toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 210;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ========================================
   HERO (full-height homepage)
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: calc(var(--banner-height) + var(--nav-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    background:
        radial-gradient(ellipse at 30% 50%, rgba(97, 94, 90, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(97, 94, 90, 0.07) 0%, transparent 50%),
        var(--color-bg);
}

.hero--poster {
    padding: 0;
    background: #ffffff;
    align-items: stretch;
}

.hero__poster-img {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    padding-top: calc(var(--banner-height) + var(--nav-height));
    box-sizing: border-box;
    display: block;
}

.hero__content { animation: heroFadeIn 1.2s var(--ease-out) both; }

.hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    animation: heroFadeIn 1s var(--ease-out) 0.2s both;
}

.hero__title {
    font-family: var(--font-body);
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    animation: heroFadeIn 1s var(--ease-out) 0.4s both;
}

.hero__title em { font-style: italic; color: var(--color-accent); }

.hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 440px;
    margin: 0 auto var(--space-lg);
    animation: heroFadeIn 1s var(--ease-out) 0.6s both;
}

.hero__cta {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    transition: all 0.4s var(--ease-smooth);
    animation: heroFadeIn 1s var(--ease-out) 0.8s both;
}

.hero__cta:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: heroFadeIn 1s var(--ease-out) 1.2s both;
}

.hero__scroll-hint span {
    font-size: 0.63rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ========================================
   PAGE HERO (inner pages — shorter)
   ======================================== */
.page-hero {
    min-height: 42vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--banner-height) + var(--nav-height) + 3rem) 2.5rem 4rem;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(97, 94, 90, 0.1) 0%, transparent 55%),
        var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.page-hero__content { max-width: 1400px; width: 100%; }

.page-hero__title {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-top: var(--space-sm);
}

.page-hero__title em { font-style: italic; color: var(--color-accent); }

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: var(--space-xl) 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-divider {
    border: none;
    border-top: 1px solid #C0BEBC;
    margin: 0 0 var(--space-xl);
}

.contact-section {
    padding-top: 6rem;
}

.collection { padding-bottom: var(--space-2xl); }
.collection .section__header { margin-bottom: var(--space-sm); }
.collection #filterCategory { margin-bottom: var(--space-xs); }
.collection .filter-flyout { margin-bottom: var(--space-lg); }

.section__header { margin-bottom: var(--space-lg); }

.section__number {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--color-accent);
    letter-spacing: 0.18em;
    display: block;
    margin-bottom: var(--space-xs);
}

.section__title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 200;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.section__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 500px;
}

.section__cta {
    text-align: center;
    margin-top: var(--space-lg);
}

/* ========================================
   PREVIEW GRID (homepage featured)
   ======================================== */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.preview-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
    background: var(--color-surface);
    transition: transform 0.4s var(--ease-smooth);
}

.preview-card:hover { transform: translateY(-4px); }

.preview-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.55s var(--ease-smooth);
}

.preview-card:hover img { transform: scale(1.05); }

.preview-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,20,40,0.80) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
}

.preview-card:hover .preview-card__overlay { opacity: 1; }

.preview-card__title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 200;
    margin-bottom: 0.2rem;
}

.preview-card__medium {
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ========================================
   EVENT / VERNISSAGE SECTION
   ======================================== */
.event {
    background: var(--color-bg);
    border-radius: 2px;
    max-width: none;
    padding: var(--space-xl) 0;
}

.event__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: var(--space-xl);
    align-items: center;
}

.event__title {
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 200;
    line-height: 1.08;
    margin-bottom: var(--space-lg);
}

.event__title em { font-style: normal; color: var(--color-accent); }
.section__title em { font-style: normal; }

.event__details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.event__detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.event__label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.event__value {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 200;
    line-height: 1.4;
    color: var(--color-text);
}

.event__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

.event__visual { position: relative; }

.event__image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.event__image-frame::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    z-index: 0;
}

.event__image-frame img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

/* ========================================
   ABOUT TEASER (homepage)
   ======================================== */
.about-teaser { padding-top: var(--space-xl); }

.about-teaser__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-teaser__image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.about-teaser__image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.7s var(--ease-smooth);
}

.about-teaser__image:hover img { transform: scale(1.03); }

.about-teaser__quote {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 200;
    color: var(--color-accent);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    border-left: 2px solid var(--color-border);
    padding-left: 1.5rem;
}

.about-teaser__bio {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
    max-width: 520px;
}

/* ========================================
   CAROUSEL
   ======================================== */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.carousel__track {
    display: flex;
    transition: transform 0.65s var(--ease-out);
    will-change: transform;
    cursor: grab;
}

.carousel__track.grabbing { cursor: grabbing; }

.carousel__slide {
    min-width: 100%;
    padding: 0 var(--space-xs);
    flex-shrink: 0;
}

.carousel__slide-inner {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: var(--color-surface);
}

.carousel__slide img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.carousel__slide:hover img { transform: scale(1.03); }

.carousel__slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg) var(--space-md) var(--space-md);
    background: linear-gradient(to top, rgba(31,20,40,0.80) 0%, transparent 100%);
}

.carousel__slide-title {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 200;
    margin-bottom: 0.25rem;
}

.carousel__slide-artist {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.carousel__slide-year {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: var(--space-md) 0;
}

.carousel__btn {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-smooth);
}

.carousel__btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.carousel__counter {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    min-width: 60px;
    text-align: center;
}

/* ========================================
   FILTER BAR
   ======================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.filter-flyout {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.filter-flyout__trigger {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.6rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    border-radius: 1px;
}

.filter-flyout__trigger:hover,
.filter-flyout__trigger.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.filter-flyout__badge {
    background: var(--color-accent);
    color: var(--color-bg);
    font-size: 0.6rem;
    font-weight: 200;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    letter-spacing: 0;
}

.filter-flyout__panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 200;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    padding: 1.5rem;
    min-width: 380px;
    box-shadow: 0 8px 32px rgba(31, 20, 40, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.filter-flyout__panel[hidden] { display: none; }

.filter-flyout__section { display: flex; flex-direction: column; gap: 0.6rem; }

.filter-flyout__section-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.75;
}

.filter-flyout__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.filter-flyout__options .filter-btn {
    padding: 0.45rem 1rem;
    font-size: 0.7rem;
}

.filter-flyout__reset {
    align-self: flex-start;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.filter-flyout__reset:hover { color: var(--color-accent); }

.filter-btn {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    border-radius: 1px;
}

.filter-btn:hover { border-color: var(--color-text-muted); color: var(--color-text); }

.filter-btn.active {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(97, 94, 90, 0.14);
}

/* ========================================
   GALLERY GRID
   ======================================== */
.gallery-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.gallery-section.hidden { display: none; }

.gallery-section__label {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.gallery-section__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-empty {
    padding: var(--space-xl) 0;
    text-align: center;
}

.gallery-empty__text {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 200;
    font-style: italic;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.gallery-empty__reset {
    background: none;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    border-radius: 1px;
    transition: all 0.3s var(--ease-smooth);
}

.gallery-empty__reset:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: var(--color-bg);
    cursor: pointer;
    transition: transform 0.4s var(--ease-smooth);
    animation: cardFadeIn 0.5s var(--ease-out) both;
    display: block;
}

.gallery-card:hover { transform: translateY(-4px); }

.gallery-card--new-row { grid-column: 1; }

.gallery-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transform: scale(1.2);
    transition: transform 0.5s var(--ease-smooth);
}

.gallery-card:hover img { transform: scale(1.27); }

.gallery-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,8,22,0.97) 0%, rgba(15,8,22,0.75) 45%, transparent 75%);
    opacity: 0;
    transition: opacity 0.4s var(--ease-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
}

.gallery-card:hover .gallery-card__overlay { opacity: 1; }

.gallery-card__title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 200;
    margin-bottom: 0.2rem;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.gallery-card__category {
    font-size: 0.72rem;
    color: #d4b8e0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.gallery-card__medium {
    font-size: 0.75rem;
    color: #c8c0d4;
    margin-top: 0.3rem;
}

.gallery-card__description {
    font-size: 0.75rem;
    color: #e8e0f0;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.gallery-card.hidden { display: none; }

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: var(--color-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.lightbox.active { opacity: 1; visibility: visible; }
.lightbox[hidden] { display: none; }
.lightbox.active[hidden] { display: flex; }

.lightbox__content {
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox__img-wrap {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 72vh;
}

.lightbox__img {
    max-width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 2px;
    cursor: zoom-in;
    transition: transform 0.35s ease;
    transform-origin: center center;
    user-select: none;
    display: block;
}

.lightbox__img--zoomed { cursor: grab; }
.lightbox__img--zoomed:active { cursor: grabbing; }

.lightbox__info { text-align: center; padding: var(--space-sm) 0; }

.lightbox__info-title {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: #fff;
}

.lightbox__info-artist {
    font-size: 0.8rem;
    color: #d4b8e0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.lightbox__info-medium {
    font-size: 0.8rem;
    color: #c8c0d4;
    margin-top: 0.2rem;
}

.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #e8e0f0;
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    z-index: 10;
}

.lightbox__close:hover { color: #fff; }

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(232,224,240,0.35);
    color: #e8e0f0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.lightbox__nav:hover { border-color: #fff; color: #fff; }
.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

/* ========================================
   ABOUT PAGE — Main section
   ======================================== */
.about-main__inner {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-main__image-col {
    position: sticky;
    top: calc(var(--banner-height) + var(--nav-height) + 2rem);
    display: grid;
    gap: 1rem;
}

.about-main__portrait {
    overflow: hidden;
    border-radius: 2px;
}

.about-main__portrait img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
}

.about-main__portrait:hover img { transform: scale(1.03); }

.about-main__image-small {
    overflow: hidden;
    border-radius: 2px;
}

.about-main__image-small img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.about-main__name {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 200;
    margin-bottom: 0.5rem;
}

.about-main__tagline {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #615E5A;
    margin-bottom: var(--space-lg);
}

.about-main__bio p {
    font-size: 1.3rem;
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

.about-main__statement {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.about-main__quote {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 200;
    color: var(--color-text);
    line-height: 1.55;
    padding-left: 1.5rem;
    border-left: 2px solid var(--color-border);
}

/* VITA */
.vita__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.vita__heading {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 200;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
}

.vita__list { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }

.vita__item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    align-items: baseline;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
}

.vita__item:last-child { border-bottom: none; }

.vita__year {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-accent);
    font-style: italic;
}

.vita__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ATELIER GRID */
.atelier-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.atelier-grid__item {
    overflow: hidden;
    border-radius: 2px;
    background: var(--color-surface);
}

.atelier-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-smooth);
    display: block;
}

.atelier-grid__item:hover img { transform: scale(1.04); }

.atelier-grid__item--large {
    grid-row: span 2;
}

.atelier-grid__item--large img { aspect-ratio: 4 / 5; }
.atelier-grid__item:not(.atelier-grid__item--large) img { aspect-ratio: 4 / 3; }

/* CTA BLOCK */
.section--cta { text-align: center; }

.cta-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    border-radius: 2px;
    background: var(--color-surface);
}

.cta-block__title {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 200;
}

.cta-block__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    max-width: 480px;
    line-height: 1.75;
}

.cta-block__links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-block__link-secondary {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.cta-block__link-secondary:hover { color: var(--color-accent); }

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: #C0BEBC;
    border: 1px solid var(--color-border);
    padding: var(--space-md) var(--space-md) var(--space-md);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-card--highlight {
    border-color: #C0BEBC;
    background: #C0BEBC;
}

.contact-card__icon {
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.contact-card__title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 200;
    color: var(--color-text);
}

.contact-card__body {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.85;
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-link {
    color: var(--color-text);
    transition: color 0.3s;
    font-size: 0.92rem;
}

.contact-link:hover { color: var(--color-text); }

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.88rem;
}

.hours-row:last-of-type { border-bottom: none; }

.hours-row--closed { color: var(--color-text); opacity: 0.6; }

.hours-note {
    font-size: 0.78rem;
    font-style: normal;
    color: var(--color-text);
    margin-top: 0.5rem;
}

/* VERNISSAGE CARD */
.vernissage-card {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    border: 1px solid var(--color-accent);
    background: rgba(97, 94, 90, 0.08);
    border-radius: 2px;
    max-width: 680px;
    margin: 0 auto;
}

.vernissage-card__ornament {
    font-size: 1.2rem;
    color: var(--color-accent);
    opacity: 0.5;
    display: block;
    margin-bottom: 1.5rem;
}

.vernissage-card__title {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 200;
    margin-bottom: 1.5rem;
}

.vernissage-card__date {
    font-family: var(--font-body);
    font-size: 1.8rem;
    color: var(--color-accent);
    font-style: italic;
    line-height: 1.2;
}

.vernissage-card__time {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.vernissage-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.vernissage-card__rsvp {
    font-size: 0.82rem;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    font-style: italic;
}

/* CONTACT FORM */
.contact-form {
    max-width: 720px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.contact-form__field label {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.contact-form__field input,
.contact-form__field textarea {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 200;
    padding: 0.9rem 1rem;
    border-radius: 2px;
    transition: border-color 0.3s;
    resize: vertical;
    outline: none;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: var(--color-accent);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.5;
}

.contact-form__footer {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-form__submit {
    background: var(--color-accent);
    color: var(--color-bg);
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 1px;
    transition: background 0.3s, transform 0.2s;
}

.contact-form__submit:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

.contact-form__note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
    max-width: 320px;
}

.contact-form__success {
    margin-top: var(--space-md);
    padding: 1rem var(--space-md);
    border: 1px solid var(--color-accent);
    background: rgba(103, 80, 137, 0.10);
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-accent);
    font-style: italic;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: var(--space-lg) 2.5rem;
    margin-top: var(--space-xl);
}

.footer__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer__logo {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    color: var(--color-accent);
}

.footer__copy { font-size: 0.78rem; color: var(--color-text-muted); }

.footer__links { display: flex; gap: 1.5rem; }

.footer__links a {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.footer__links a:hover { color: var(--color-text); }

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FOCUS & ACCESSIBILITY
   ======================================== */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .event__inner { grid-template-columns: 1fr; }
    .event__visual { display: none; }
    .about-teaser__inner { grid-template-columns: 1fr; }
    .about-teaser__image { max-width: 480px; }
    .about-main__inner { grid-template-columns: 1fr; }
    .about-main__image-col { position: static; grid-template-columns: 1fr 1fr; }
    .vita__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
    .atelier-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .atelier-grid__item--large { grid-row: span 1; }
    .preview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --banner-height: 44px; }

    .announcement__inner p { font-size: 0.65rem; letter-spacing: 0.1em; }
    .announcement__inner { gap: 0.75rem; padding: 0 2.5rem; }

    .nav__toggle { display: flex; }
    .nav { padding: 1rem 1.5rem; }

    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--color-surface);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        z-index: 205;
        border-left: 1px solid var(--color-border);
    }

    .nav__links.open { transform: translateX(0); }
    .nav__links a { font-size: 1rem; }

    .hero { padding: calc(var(--banner-height) + var(--nav-height) + var(--space-md)) var(--space-sm) var(--space-md); }
    .hero__title { font-size: clamp(2.5rem, 12vw, 4rem); }

    .page-hero { padding: calc(var(--banner-height) + var(--nav-height) + 2rem) 1.5rem 3rem; }

    .section { padding: var(--space-lg) 1.5rem; }

    .preview-grid { grid-template-columns: 1fr; gap: 1rem; }
    .preview-card img { aspect-ratio: 16 / 9; }

    .gallery-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-card__overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(31,20,40,0.75) 0%, transparent 60%);
        padding: var(--space-sm);
    }

    .gallery-card__title { font-size: 0.92rem; }

    .lightbox__nav { display: none; }
    .lightbox__content { max-width: 95vw; }

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

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

    .atelier-grid { grid-template-columns: 1fr; }
    .atelier-grid__item--large img { aspect-ratio: 4 / 3; }

    .cta-block { padding: var(--space-md); }
    .cta-block__links { flex-direction: column; gap: 1rem; }

    .footer__inner { flex-direction: column; text-align: center; }
    .footer__links { justify-content: center; }

    .filter-bar { gap: 0.5rem; }
    .filter-btn { padding: 0.5rem 0.9rem; font-size: 0.68rem; }

    .vernissage-card { padding: var(--space-lg) var(--space-md); }
}

@media (max-width: 480px) {
    .announcement__inner p { display: none; }
    .announcement__inner::before {
        content: 'Vernissage · 26. Juni 2026 · 18:30 Uhr · Osnabrück';
        font-size: 0.6rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .gallery-section__grid { grid-template-columns: 1fr; }
    .about-main__image-col { grid-template-columns: 1fr; }
    .about-main__image-small { display: none; }
}
