@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
    --bg: #CFCFCF;
    --text: #252525;
    --text-dim: #545454;
    --text-dim-light: #919191;

    --accent: #9d8108;
    --accent-glow: rgba(76, 132, 141, 0.2);
    --card-bg: rgba(125, 125, 125, 0.8);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}
/* Animated background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 51, 255, 0.08) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Header */
header {

    top: 0;
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    background: var(--text);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}
/* Sticky Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--text);
    backdrop-filter: blur(8px);
    padding: 1rem 1rem;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-nav .nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-logo {
    height: 35px;
    width: auto;
    display: block;
    margin-right: 0.75rem;
    cursor: pointer;
}

/* Hero section under the nav with layered logo */
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 0; /* kein Abstand zum nächsten Element */
}
.hero-image {
    width: 100%;
    height: 420px; /* größerer Hero */
    object-fit: cover;
    object-position: center; /* Bildausschnitt unten */
    display: block;
}
.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px; /* doppelt so groß */
    height: auto;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
    padding: 0;
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero-image { height: 320px; }
    .hero-logo { width: 320px; }
}

/* Reduce header top padding so header sits tight after hero */
header {
    padding-top: 1rem;
}


.top-nav .nav-link:hover {
    color: var(--accent);
}

.top-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 3px;
}
.cta-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: #b79710;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.8s ease;
}

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

/* Header Intro */
.header-intro {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.header-intro p {
    color: var(--bg);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--bg);
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeIn 1s ease 0.3s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.icon_nav {
    color: var(--text-dim);
    font-size: 22px;
}
.icon_nav:hover{
    color: var(--accent);
    font-size: 23px;
}


/* Filters */
.filters {
    position: sticky;
    top: 3rem;
    padding: 1.5rem 2rem;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: var(--text);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 90;
    animation: slideDown 0.6s ease 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;

}

.filter-label {
    font-weight: 500;
    color: var(--text-dim);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    border-radius: 20px;
    font-weight: 400;
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    font-weight: 500;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Masonry Gallery */
.gallery-container {
    position: relative;
    z-index: 1;
    padding: 3rem 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery {
    column-count: 4;
    column-gap: 1.5rem;
}

@media (max-width: 1400px) {
    .gallery { column-count: 3; }
}

@media (max-width: 1000px) {
    .gallery { column-count: 2; }
}

@media (max-width: 600px) {
    .gallery { column-count: 1; }
    h1 { font-size: 2.5rem; }
}

.artwork-card {
    container-type: inline-size; 
    
    break-inside: avoid;
    margin-bottom: 1.5rem;
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    animation: cardFadeIn 0.6s ease forwards;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cardFadeIn {
    to { opacity: 1; }
}

.artwork-card:hover {
    transform: scale(1.02);
    z-index: 10;
    color: var(--text-dim-light);
}

.artwork-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.artwork-image {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.artwork-card:hover .artwork-image {
    transform: scale(1.1);
}

/* Hover overlay */
/* 4. Sicherstellen, dass das Overlay niemals oben übersteht */
.artwork-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.95) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Text unten halten */
    padding: 1.5rem;
    box-sizing: border-box;
    overflow: hidden; /* Verhindert das "Rausrutschen" nach oben */
}

/* Versteckt Scrollbar in Chrome/Safari */
.artwork-overlay::-webkit-scrollbar {
    display: none;
}

.artwork-title {
    font-family: 'Playfair Display', serif;
    color: var(--bg);
    /* Schriftgröße leicht reduzieren, damit sie nicht umbricht */
    font-size: 1.4rem; 
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

/* Bei sehr kleinen Bildern die Beschreibung ausblenden, um Platz für den Titel zu schaffen */
@media (max-width: 600px) {
    .artwork-description-preview {
        display: none;
    }
    .artwork-title {
        font-size: 1.2rem;
    }
}

.artwork-card:hover .artwork-overlay {
    opacity: 1;
}

.artwork-title {
    font-family: 'Playfair Display', serif;
    color: var(--bg);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.artwork-card:hover .artwork-title {
    transform: translateY(0);
}

.artwork-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.artwork-card:hover .artwork-meta {
    transform: translateY(0);
}
.artwork-description-preview {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255,255,255,0.8);
}

@container (max-height: 300px) or (max-width: 220px) {
    /* ...blenden wir die Beschreibung und den Button komplett aus */
    .artwork-description-preview, 
    .more-btn {
        display: none !important;
    }
    
    /* ...und machen den Titel etwas kleiner, damit er nicht oben rausrutscht */
    .artwork-title {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .artwork-overlay {
        padding: 1rem; /* Weniger Platz verschwenden */
    }
}

.artwork-details { flex: 1; }

.artwork-size {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.artwork-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.artwork-serien {
    font-weight: bold;
    margin-bottom: 0.5rem;
}


#serieFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text);
    padding: 0.25rem 0.75rem ;
    font-size: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 400;
}
.serie {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 400;
}

.artwork-price {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: right;
}

.artwork-description {
    color: var(--bg);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.15s;
}

/* Tag panel (collapsible) */
.tag-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(37,37,37,0.95);
    padding: 12px; /* normal padding; close button moved into flow */
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    z-index: 995; /* higher so it sits above nearby elements */
    min-width: 220px;
    width: max-content;
}

.tag-panel.open {
    display: block;
}

.tag-panel-inner { display: flex; flex-direction: column; }

.tag-panel .icon-close {
    position: relative; /* now in document flow */
    align-self: flex-end;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-dim);
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 8px; /* space between button and tags */
    padding: 4px;
}

.tag-panel .icon-close:hover { color: var(--accent); background: rgba(255,255,255,0.06); }

.tag-filter-container h4 { margin-bottom: 6px; }

.tag-filter-btn {
    padding: 0.35rem 0.8rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-dim);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
}
.tag-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(37,37,37,0.98); /* Etwas dunkler für bessere Lesbarkeit */
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    z-index: 995;
    
    /* WICHTIG: Begrenzt die Breite auf den Bildschirm und erlaubt Umbruch */
    width: 350px; 
    max-width: calc(100vw - 40px); 
}

/* Falls das Panel am rechten Rand klebt, kannst du 'left: auto; right: 0;' nutzen */

.tag-filter-btn.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

/* selected tags shown outside the panel */
.selected-tags {
    display: flex;
    gap: 8px;
    align-items: center;
}

.selected-tag {
    padding: 0.35rem 0.6rem;
    background: var(--accent);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
     background: var(--accent);
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    border-radius: 999px;
}

.selected-tag:hover { 
    opacity: 0.9;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
 }


/* ensure filter group position doesn't break layout */
.filter-group { position: relative; }

.artwork-card:hover .artwork-description {
    transform: translateY(0);
}

.more-btn {
    align-self: flex-start;
    background: var(--accent);
    color: var(--text);
    border: none;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

.more-btn:hover {
    background: #b79710;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInLightbox 0.15s ease;
}

@keyframes fadeInLightbox {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: none;
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    animation: scaleIn 0.15s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
}

.lightbox-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
}

.lightbox-info {
    display: flex;
    flex-direction: column;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.lightbox-size {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.lightbox-price {
    color: var(--accent);
    font-size: 1.75rem;
    font-weight: 600;
}

.lightbox-description {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lightbox-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lightbox-tags .tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.lightbox-content.is-landscape {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Weniger Abstand im gestapelten Modus */
    max-height: 90vh; /* Verhindert, dass die Lightbox zu hoch wird */
    overflow-y: auto; /* Erlaubt Scrollen, falls Text lang ist */
}

/* Anpassungen für die Elemente im gestapelten Modus */
.lightbox-content.is-landscape .lightbox-left {
    width: 100%;
    display: flex;
    justify-content: center;
}

.lightbox-content.is-landscape .lightbox-image {
    max-height: 50vh; /* Bild nicht zu groß werden lassen, damit Text sichtbar ist */
    width: auto; /* Breite passt sich an */
}

.lightbox-content.is-landscape .lightbox-right {
    padding-top: 0;
}

/* Der Titel darf jetzt ruhig kleiner sein, da er oben steht */
.lightbox-content.is-landscape .lightbox-title {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.lightbox-content.is-landscape .lightbox-meta {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.5rem;
    color: var(--text);
    cursor: pointer;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.close-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(90deg);
}

/* Loading */
.loading {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-dim);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 2rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error {
    max-width: 900px;
    margin: 4rem auto;
    padding: 3rem;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 16px;
    color: #ff6666;
    text-align: center;
}

.hidden {
    display: none;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 8rem 2rem;
    color: var(--text-dim);
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

/* Optional: Simple content section (for About page or homepage text) */
.content-section {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: var(--text-dim);
}

.content-section a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}



/* -------------------
   Seitlicher Tag-Filter
------------------- */



.tag-filter-container {
    position: fixed;
    top: 120px; /* unter Header */
    right: 0;
    width: 250px;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-left: 1px solid rgba(255,255,255,0.05);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 95;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* If the tag-filter-container is used inside the dropdown (.tag-panel),
   override the fixed right-side layout so it becomes a normal dropdown */
.tag-panel .tag-filter-container {
    position: static;
    top: auto;
    right: auto;
    width: auto;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    border-left: none;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    display: block;
    gap: 8px;
}

/* ensure tag buttons inside dropdown keep compact pill style */
.tag-panel .tag-filter-btn {
    padding: 0.35rem 0.8rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-dim);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.85rem;
}

.tag-panel .tag-filter-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.tag-filter-container h4 {
    color: var(--text-dim);
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.tag-filter-btn {
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-dim);
    cursor: pointer;
    font-size: 0.85rem;
    border-radius: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.tag-filter-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

.tag-filter-btn.active {
    background: var(--accent);
    color: var(--bg);
    font-weight: 500;
    box-shadow: 0 0 10px var(--accent-glow);
}


/* -------------------
   Content Section (Über mich)
------------------- */
.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--text);
    text-align: center;
    animation: fadeIn 0.8s ease both;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    text-align: justify;
    animation: fadeIn 0.8s ease both;
}

/* Links in Content Section */
.content-section .links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.content-section .links a {
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.content-section .links a:hover {
    background: #b79710;
    transform: translateY(-2px);
}

/* -------------------
   Contact Section
------------------- */
.contact-section {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-align: center;
    color: var(--bg);
    margin-bottom: 1rem;
}

.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.contact-section p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dim);
    

}
/* Schöne Email-Darstellung */
.email-link a {
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bg);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.email-link a:hover {
    background: var(--bg);
    color: var(--accent);
    transform: translateY(-2px);
}

/* -------------------
   Footer
------------------- */
.site-footer {
    padding: 3rem 2rem;
    background: rgba(10, 10, 10, 0.9);
    color: var(--text-dim);
    text-align: center;
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.site-footer a {
    color: var(--accent);
    margin: 0 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: #b79710;
}

.site-footer .footer-links,
.site-footer .social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}


.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent);
    font-size: 24px;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    text-decoration: none;
}

.social-btn:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
}


/* Schöne Email-Darstellung */
.email-link a {
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bg);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.email-link a:hover {
    background: var(--bg);
    color: var(--accent);
    transform: translateY(-2px);
}
/* Zoom Overlay */
#zoomOverlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
#zoomOverlay.active { display: flex; }

#zoomOverlayImgWrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: zoom-in;
}

#zoomOverlayImg {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: center center;
}

#zoomOverlayClose {
    position: fixed;
    top: 1rem;
    right: 1.2rem;
    background: rgba(40,40,40,0.9);
    border: none;
    color: white;
    font-size: 2.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.2s;
}
#zoomOverlayClose:hover { background: rgba(80,80,80,0.95); }

#zoomOverlayHint {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    color: #ddd;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    pointer-events: none;
    z-index: 100000;
    white-space: nowrap;
    transition: opacity 0.8s ease;
}

/* Navigation Buttons */
.lightbox-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30,30,30,0.85);
    border: none;
    color: white;
    font-size: 3rem;
    line-height: 1;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10000;
    border-radius: 8px;
    transition: background 0.2s, opacity 0.2s;
    user-select: none;
}
.lightbox-nav-btn:hover { background: rgba(60,60,60,0.95); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* Zoom wrapper */
.lightbox-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.lightbox-left img {
    width: 100%;
    border-radius: 10px;
    display: block;
    will-change: transform;
}

/* Zoom hint */
.zoom-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.6);
    color: #eee;
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s ease;
    white-space: nowrap;
}
.zoom-hint.hidden { opacity: 0; }

/* ================================
   NEW LIGHTBOX DESIGN
================================ */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: none;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    background: #1a1a1a;
    color: white;
    border-radius: 14px;
    padding: 1.8rem;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    position: relative;
}

@media (max-width: 900px) {
    .lightbox-content {
        grid-template-columns: 1fr;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #999;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}
.close-btn:hover {
    color: white;
}

.lightbox-title {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Size + Series side-by-side */
.lightbox-meta {
    display: flex;
    justify-content:left ;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 2rem;
    gap:3rem;
}

.lightbox-size {
    color: #ccc;
}

.lightbox-serien span {
    background: #444;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--accent);
}

.lightbox-description {
    color: #e7e7e7;
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-line;
    margin-bottom: 1.8rem;
}

/* Price Row */
.lightbox-price-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    margin-bottom: 1rem;
}

.lightbox-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
}

/* Info Button */
.price-info-btn {
    background: #333;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    border: none;
    color: #eee;
    cursor: pointer;
    font-size: 0.9rem;
}

.price-info-btn:hover {
    background: #555;
}

/* Info Popup Box */
.price-info-box {
    display: none;
    position: absolute;
    left: 0;
    top: 120%;
    background: #2a2a2a;
    color: white;
    padding: 1rem;
    border-radius: 10px;
    width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    font-size: 0.9rem;
    z-index: 20;
}

.price-info-box h4 {
    margin-bottom: 0.5rem;
}

/* Show price info only when hovering or focusing the price/info area */
.lightbox-price-row:hover .price-info-box,
.lightbox-price-row:focus-within .price-info-box {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.price-info-box {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 150ms ease, transform 150ms ease;
    pointer-events: auto;
}

/* Make mail link in the price popover use accent color */
.price-info-box a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.price-info-box a:hover { text-decoration: underline; }

/* Tags */
.lightbox-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.lightbox-tags .tag {
    background: #333;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.about-gallery,
.exhibit-gallery {
    column-count: 2;
    column-gap: 1rem;
    margin-top: 1rem;
}

.photo-card {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    display: inline-block;
    width: 100%;
    margin: 0 0 1rem;
    break-inside: avoid;
}

.photo-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.photo-card:hover img { transform: scale(1.05); }

.muted { color: var(--text-dim); font-style: italic; }

@media (max-width: 800px) {
    .about-gallery,
    .exhibit-gallery { column-count: 1; column-gap: 0.75rem; }
}

/* Media rows: text alongside image */
.media-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin: 1.5rem 0;
}
.media-image {
    flex: 0 0 44%;
    border-radius: 12px;
    overflow: hidden;
    min-height: 200px;
    background: #111;
}
.media-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-image.square {
    aspect-ratio: 1 / 1;
    min-height: 0;
}
.media-text { 
    flex: 1 1 56%; 
    color: var(--text-dim); 
    text-align: left; 
}
.media-text p {
    text-align: left;
}
.media-text h3 { font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; color: var(--text); }

.media-right { flex-direction: row-reverse; }

@media (max-width: 900px) {
    .media-row { flex-direction: column; }
    .media-image { width: 100%; flex-basis: auto; min-height: 180px; }
    .media-text { width: 100%; }
}
