/* Inter – lokal gehostet */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/inter-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --text:      #111111;
  --muted:     #999999;
  --rule:      #e8e8e8;
  --font:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max:       1200px;
  --nav-h:     3.75rem;
  --pad-x:     2rem;
  --pad-x-sm:  1.25rem;
}

/* ─── Base ──────────────────────────────────────────────── */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── Navigation ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  z-index: 100;
}

.nav-name {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fadeIn 2.5s ease forwards;
}

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

/* Subtle gradient at bottom for caption legibility */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, transparent 35%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  bottom: 2rem;
  left: var(--pad-x);
  z-index: 2;
}

.hero-caption p {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* ─── Page layout ───────────────────────────────────────── */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) var(--pad-x) 8rem;
}

.page-header {
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Work ──────────────────────────────────────────────── */
.series {
  margin-bottom: 5rem;
}

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

.series-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}

.series-name {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

.series-count {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}

.work-item figure {
  margin: 0;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  background-color: #f0f0f0;
}

.work-item figcaption {
  margin-top: 0.9rem;
}

.work-title {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.work-meta {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Exhibitions ───────────────────────────────────────── */
.exhibitions-list {
  list-style: none;
}

.exhibition-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 2rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.exhibition-item:first-child {
  border-top: 1px solid var(--rule);
}

.exhibition-year {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 0.15rem;
}

.exhibition-body {}

.exhibition-title {
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.exhibition-venue {
  font-size: 0.7rem;
  color: var(--muted);
}

/* Ausstellung mit Galerie */
.exhibition-item.has-gallery {
  cursor: pointer;
  user-select: none;
}

.exhibition-item.has-gallery .exhibition-body::after {
  content: '+';
  display: inline-block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: 0.6rem;
  transition: transform 0.2s;
}

.exhibition-item.has-gallery.open .exhibition-body::after {
  content: '–';
}

.exhibition-gallery {
  grid-column: 1 / -1;
  display: none;
  padding-bottom: 1.25rem;
}

.exhibition-item.open .exhibition-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.exhibition-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f0f0f0;
}

@media (max-width: 680px) {
  .exhibition-item.open .exhibition-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.exhibition-tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 0.1rem 0.4rem;
  margin-top: 0.4rem;
}

/* ─── News ──────────────────────────────────────────────── */
.news-list {
  list-style: none;
  max-width: 640px;
}

.news-item {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.news-item:first-child {
  border-top: 1px solid var(--rule);
}

.news-date {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.news-text {
  font-size: 0.88rem;
  line-height: 1.8;
}

.news-text a {
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.2s;
}

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

/* ─── About ─────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: #f0f0f0;
}

.about-bio {
  margin-top: 1.5rem;
}

.about-bio p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.about-bio p:last-child { margin-bottom: 0; }

.about-text {
  padding-top: 0.5rem;
}

.about-text p {
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-en {
  color: var(--muted) !important;
}

.about-section-label {
  font-size: 0.65rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.5rem !important;
}

.about-education {
  margin: 2rem 0 0.5rem;
  list-style: none;
}

.edu-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
}

.edu-row:last-child {
  border-bottom: 1px solid var(--rule);
}

.about-education dt {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-top: 0.1rem;
}

.about-education dd {
  font-size: 0.8rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

.about-education dd span {
  display: block;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--muted);
}

.about-teachers {
  font-size: 0.72rem !important;
  color: var(--muted) !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
}

.cv-download {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.cv-download:hover {
  color: var(--muted);
  border-color: var(--muted);
}

/* ─── Contact ───────────────────────────────────────────── */
.contact-layout {
  min-height: calc(60vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 2rem;
}

.contact-email {
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--text);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover {
  color: var(--muted);
  border-color: var(--muted);
}

/* ─── Lightbox ──────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 200;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  height: 85vh;
  width: auto;
  max-width: 92vw;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  color: rgba(0,0,0,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #111;
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(0,0,0,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
  padding: 2rem;
}

.lightbox-nav:hover { color: #111; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }

.work-item img { cursor: zoom-in; }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .about-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 680px) {
  nav {
    padding: 0 var(--pad-x-sm);
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .nav-name {
    flex: 1 0 100%;
    margin-bottom: 0.75rem;
  }

  .nav-links {
    gap: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .page {
    padding: calc(var(--nav-h) + 3.5rem) var(--pad-x-sm) 5rem;
  }

  .page-header {
    margin-bottom: 2.5rem;
  }

  .hero-caption {
    left: var(--pad-x-sm);
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1rem;
  }

  .exhibition-item {
    grid-template-columns: 2.75rem 1fr;
    gap: 1rem;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text p {
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}
