/* Olivia Janku – dunkles, edles Design mit Gold-Akzenten */

:root {
  --bg: #0d0c0a;
  --bg-raised: #16140f;
  --line: rgba(214, 186, 128, 0.18);
  --text: #ece6da;
  --text-muted: #a49d8f;
  --gold: #c9a45c;
  --gold-light: #e6cc8f;
  --sold: #b5523f;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
}
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 28px 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
/* Hintergrund als Pseudo-Element, damit das mobile Menü (position: fixed) den ganzen Bildschirm füllen kann */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: rgba(13, 12, 10, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header.scrolled, body:not([data-page="home"]) .site-header, body.menu-open .site-header { border-bottom-color: var(--line); }
.site-header.scrolled::before, body:not([data-page="home"]) .site-header::before, body.menu-open .site-header::before { opacity: 1; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: 0.04em; }
.logo span { color: var(--gold); }
.nav { display: flex; gap: 36px; }
.nav a {
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-muted);
  position: relative; padding: 6px 0; transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
    background: var(--bg); opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a { font-size: 15px; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  body.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Hero (Startseite) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding-bottom: clamp(56px, 10vh, 120px);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,12,10,.45) 0%, rgba(13,12,10,.15) 40%, rgba(13,12,10,.92) 100%);
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateX(-1.5%); } }
.hero .wrap { position: relative; width: 100%; }
.hero .eyebrow { color: var(--gold-light); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero h1 { font-size: clamp(52px, 9vw, 128px); font-weight: 300; margin: 18px 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.haiku { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); color: var(--text-muted); line-height: 1.5; }

.hero-split {
  align-items: center; padding: 120px 0 72px;
  background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(201, 164, 92, .13), transparent 70%);
}
.hero-split .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-split .hero-text { animation: rise 1.2s cubic-bezier(.2,.7,.2,1) both; }
.hero-split .eyebrow { text-shadow: none; }
.hero-split .haiku { margin-bottom: 40px; }
.hero-image { max-width: 460px; justify-self: end; width: 100%; animation: rise 1.2s .2s cubic-bezier(.2,.7,.2,1) both; }
.hero-image img { width: 100%; aspect-ratio: 427 / 459; object-fit: cover; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero-split { padding-top: 104px; min-height: auto; }
  .hero-split .wrap { grid-template-columns: 1fr; }
  .hero-image { order: -1; justify-self: start; max-width: calc(100% - 18px); }
}
@media (prefers-reduced-motion: reduce) { .hero-split .hero-text, .hero-image { animation: none; } }

/* ---------- Seitenkopf ---------- */
.page-head { padding-top: 170px; padding-bottom: 56px; }
.page-head h1 { font-size: clamp(44px, 7vw, 96px); font-weight: 300; margin-top: 14px; }
.page-head p.lead { max-width: 640px; color: var(--text-muted); margin-top: 20px; }

section { padding: clamp(64px, 10vw, 128px) 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-title h2 { font-size: clamp(34px, 4.5vw, 56px); font-weight: 300; }

/* ---------- Serien-Karten ---------- */
.series-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.series-card { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-raised); }
.series-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .6s; opacity: .82; }
.series-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,12,10,.85)); }
.series-card .label { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; }
.series-card h3 { font-size: clamp(30px, 3vw, 42px); }
.series-card .count { font-size: 12px; letter-spacing: .2em; color: var(--gold); text-transform: uppercase; }
.series-card:hover img { transform: scale(1.06); opacity: 1; }
@media (max-width: 860px) { .series-grid { grid-template-columns: 1fr; } .series-card { aspect-ratio: 4 / 3; } }

/* ---------- Serien-Tabs ---------- */
.tabs { display: flex; gap: 32px; border-bottom: 1px solid var(--line); margin-bottom: 56px; overflow-x: auto; }
.tabs a { padding: 14px 0; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--text-muted); border-bottom: 1px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.active, .tabs a:hover { color: var(--text); border-bottom-color: var(--gold); }

/* ---------- Werk-Galerie ---------- */
/* Festes Raster: jedes Werk hat ein gleich großes Feld, das Bild sitzt mittig darin */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px) clamp(20px, 3vw, 44px); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.work { display: flex; flex-direction: column; }
.work-info { flex: 1; display: flex; flex-direction: column; }
.work-foot { margin-top: auto; }

.work-media {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1; padding: 0; border: 0; cursor: zoom-in; background: none;
}
.work-media .frame { width: auto; flex: none; }
.work-media .frame img { width: var(--img-w, 0); opacity: 0; transition: opacity .5s; }
.work-media .frame.sized img { opacity: 1; }
/* Handy: nur eine Spalte, daher kein festes Feld nötig */
@media (max-width: 560px) { .work-media { aspect-ratio: auto; } }
.work-media .frame { transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .6s; }
.work-media:hover .frame { transform: translateY(-6px); box-shadow: 0 34px 60px rgba(0,0,0,.7); }

/* ---------- Virtuelle Rahmen ---------- */
/* Ölbilder: goldene Schattenfuge */
.frame {
  display: block; position: relative; width: 100%;
  padding: clamp(6px, 2.2%, 14px); background: #070605;
  border: clamp(4px, .5vw, 8px) solid #b8924c;
  border-image: linear-gradient(135deg, #7d5f2a 0%, #e9d08f 22%, #a7813d 45%, #f3e2ad 68%, #8a6a30 100%) 1;
  box-shadow: 0 22px 44px rgba(0,0,0,.6), 0 4px 10px rgba(0,0,0,.4);
}
.frame img { width: 100%; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 6px 14px rgba(0,0,0,.55); }
/* Aquarelle: Passepartout mit schmalem dunklen Rahmen */
.frame.paper {
  padding: clamp(18px, 9%, 56px); background: #f2eee5;
  border-width: clamp(4px, .45vw, 7px);
  border-image: linear-gradient(135deg, #2b2926 0%, #4a4743 40%, #1c1b19 100%) 1;
  box-shadow: inset 0 0 18px rgba(0,0,0,.12), 0 22px 44px rgba(0,0,0,.6);
}
.frame.paper img { box-shadow: 0 0 0 2px #fbf9f3, 0 0 0 3px rgba(0,0,0,.14), inset 0 0 0 1px rgba(0,0,0,.1); }
/* Runde Leinwände: goldener Ring mit Schattenfuge */
.frame.round {
  border: 0; border-radius: 50%; padding: clamp(4px, 1.4%, 8px);
  background: linear-gradient(135deg, #7d5f2a 0%, #e9d08f 22%, #a7813d 45%, #f3e2ad 68%, #8a6a30 100%);
}
.frame.round img { border-radius: 50%; border: clamp(6px, .8vw, 12px) solid #070605; box-shadow: none; }
.work-info { padding-top: 18px; }
.work-info h3 { font-size: 26px; }
.work-meta { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.work-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: 14px; letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.price::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.price.sold::before { background: var(--sold); }
.price.reserved::before { background: transparent; border: 1px solid var(--gold); }
.price.sold { color: var(--text-muted); }

.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font: 400 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); background: none; border: 1px solid var(--gold); padding: 14px 22px;
  transition: background .3s, color .3s;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn-small { padding: 10px 14px; font-size: 11px; }
.link-arrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 6px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(8, 7, 6, .97);
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 64px; min-height: 0; min-width: 0; overflow: hidden; }
.lb-stage .frame { width: auto; max-width: 100%; display: inline-block; }
.lb-stage img { display: block; max-width: 100%; max-height: calc(100svh - 200px); width: auto; object-fit: contain; }
.lightbox.photo-only .lb-stage img { max-height: calc(100svh - 128px); }
.lightbox.photo-only .lb-stage .frame { padding: 0; border: 0; background: none; }
.lb-side { border-left: 1px solid var(--line); padding: 96px 36px 36px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
.lb-side h3 { font-size: 38px; }
.lb-side .work-meta { font-size: 15px; }
.lb-side .btn { margin-top: 24px; align-self: flex-start; }
.lb-count { margin-top: auto; font-size: 12px; letter-spacing: .2em; color: var(--text-muted); }
.lb-btn { position: absolute; background: none; border: 0; color: var(--text); cursor: pointer; font: 300 34px/1 var(--sans); padding: 16px; opacity: .7; transition: opacity .2s, color .2s; }
.lb-btn:hover { opacity: 1; color: var(--gold); }
.lb-close { top: 16px; right: 16px; position: fixed; z-index: 2; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox.photo-only { grid-template-columns: minmax(0, 1fr); }
.lightbox.photo-only .lb-side { display: none; }
@media (max-width: 860px) {
  .lightbox { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .lb-stage { padding: 64px 16px 16px; }
  .lb-stage img { max-height: 56svh; }
  .lb-side { border-left: 0; border-top: 1px solid var(--line); padding: 20px 16px 28px; }
  .lb-side h3 { font-size: 28px; }
  .lb-side .btn { margin-top: 12px; }
  .lb-count { display: none; }
  .lb-prev, .lb-next { top: 38%; }
}

/* ---------- Fotogalerie (Archiv, Presse) ---------- */
.photos { columns: 4; column-gap: 16px; }
.photos button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.photos img { width: 100%; opacity: .85; transition: opacity .4s, transform .8s; }
.photos button:hover img { opacity: 1; transform: scale(1.03); }
@media (max-width: 1000px) { .photos { columns: 3; } }
@media (max-width: 560px) { .photos { columns: 2; column-gap: 10px; } .photos button { margin-bottom: 10px; } }

/* ---------- Ausstellungen ---------- */
.exhibitions { border-top: 1px solid var(--line); }
.ex-year { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.ex-year h3 { font-size: 34px; color: var(--gold); }
.ex-year ul { list-style: none; margin: 0; padding: 0; }
.ex-year li { padding: 4px 0; }
.ex-year li small { display: block; color: var(--text-muted); font-size: 14px; }
@media (max-width: 560px) { .ex-year { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Text & Zitate ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; }
.quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.prose { max-width: 720px; color: #d6cfc1; }
.prose h2 { font-size: 34px; margin: 0 0 18px; color: var(--text); }
.legal { padding-bottom: 40px; }
.legal h2 { font-size: 26px; margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal a { color: var(--gold); }
.legal a:hover { color: var(--gold-light); }
.press-text { padding: 40px 0; border-top: 1px solid var(--line); }
.press-text .author { color: var(--gold); font-size: 14px; letter-spacing: .08em; margin-top: 8px; }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline b { font-weight: 400; color: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tags span { border: 1px solid var(--line); padding: 6px 14px; font-size: 14px; color: var(--text-muted); }
.figure-frame { position: relative; }
.figure-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); opacity: .5; }
.figure-frame img { position: relative; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-details { font-size: 19px; line-height: 1.8; }
.contact-details a:hover { color: var(--gold); }
form { display: grid; gap: 22px; }
label { display: grid; gap: 8px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-muted); }
input, textarea {
  font: 300 17px/1.5 var(--sans); color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; outline: none; transition: border-color .3s;
}
input:focus, textarea:focus { border-bottom-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 14px; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 64px; color: var(--text-muted); font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--text); display: block; margin-bottom: 8px; }
.site-footer h4 { margin: 0 0 10px; font-weight: 400; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.site-footer a:hover { color: var(--text); }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; margin-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
.footer-bottom nav { display: flex; gap: 20px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
}
