/* ===== Design-Grundwerte (aus dem Entwurf uebernommen) ===== */
:root {
  --paper: #F7F5F0;
  --ink: #26241F;
  --line: #DFDACC;
  --sage: #6B7A5E;
  --gold: #B8892B;
  --card: #FFFFFF;
  --muted: #8A8371;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

a { color: inherit; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Kopfbereich / Navigation ---- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

nav.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

nav.main-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 120ms ease, color 120ms ease;
}

nav.main-nav a:hover { background: rgba(107, 122, 94, 0.12); color: var(--sage); }

/* ---- Hero ---- */
.hero {
  padding: 72px 0 48px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 14px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 46ch;
  margin: 0 auto;
}

/* ---- Abschnitte allgemein ---- */
section {
  padding: 56px 0;
  border-top: 1px solid var(--line);
}

section .section-heading {
  margin-bottom: 28px;
}

section .section-heading h2 {
  font-size: 30px;
}

section .section-heading p {
  color: var(--muted);
  font-size: 15px;
  max-width: 60ch;
}

/* ---- Serien / Galerie ---- */
.series-block {
  margin-bottom: 52px;
}

.series-block:last-child { margin-bottom: 0; }

.series-block h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.image-grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 250ms ease;
}

.image-grid figure:hover img { transform: scale(1.03); }

.empty-hint {
  color: var(--muted);
  font-style: italic;
  font-size: 15px;
}

/* ---- Vita / Atelier Textbloecke ---- */
.prose { max-width: 68ch; white-space: pre-line; }
.prose p { margin: 0 0 1em; }

/* ---- Ausstellungen ---- */
.exhibit-list { list-style: none; margin: 0; padding: 0; max-width: 60ch; }
.exhibit-list li {
  display: flex;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.exhibit-list .jahr {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  color: var(--gold);
  width: 4.5em;
  flex-shrink: 0;
}

/* ---- Kontakt ---- */
.kontakt-info { font-size: 16px; }
.kontakt-info a { color: var(--sage); font-weight: 600; text-decoration: none; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

footer a { color: var(--muted); }

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 19, 16, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  touch-action: none;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: 4px;
  user-select: none;
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover { background: rgba(255,255,255,0.22); }

/* ---- Mobil ---- */
@media (max-width: 640px) {
  nav.main-nav { justify-content: center; width: 100%; }
  .hero { padding: 48px 0 32px; }
  section { padding: 40px 0; }
}
