/* ===== Self-hosted Google Fonts (DSGVO-konform, keine externe Anfrage) ===== */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd58jDOjw.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/co3smX5slCNuHLi8bLeY9MK7whWMhyjYrGFEsdtdc62E6zd5wDDOjw.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/co3umX5slCNuHLi8bLeY9MK7whWMhyjypVO7abI26QOD_v86GnM.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/co3umX5slCNuHLi8bLeY9MK7whWMhyjypVO7abI26QOD_s06GnM.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/co3umX5slCNuHLi8bLeY9MK7whWMhyjypVO7abI26QOD_iE9GnM.ttf) format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/co3umX5slCNuHLi8bLeY9MK7whWMhyjypVO7abI26QOD_hg9GnM.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/assets/fonts/NGSnv5HMAFg6IuGlBNMjxJEL2VmU3NS7Z2mjUQ-qXA.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/NGSnv5HMAFg6IuGlBNMjxJEL2VmU3NS7Z2mjDw-qXA.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/NGSnv5HMAFg6IuGlBNMjxJEL2VmU3NS7Z2mjPQ-qXA.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/NGSnv5HMAFg6IuGlBNMjxJEL2VmU3NS7Z2mj0QiqXA.ttf) format('truetype');
}

  :root {
    --bg: #0a0908;
    --bg-2: #131110;
    --bg-3: #1c1917;
    --fg: #f5efe6;           /* primary text — was --ink */
    --fg-2: #d4cdc3;         /* secondary text — brightened for a11y */
    --fg-3: #b8b0a4;         /* muted / meta labels — min readable */
    --line: #2a2623;
    --accent: #c8361c;        /* warm Reitzl-red */
    --accent-deep: #8a1d0c;
    --accent-glow: rgba(200, 54, 28, 0.18);
    --ink: #f5efe6;          /* alias for legacy --ink references */
    --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
    --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
    --maxw: 1440px;
    --ease: cubic-bezier(0.19, 1, 0.22, 1);
  }

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

  html { scroll-behavior: smooth; font-size: 18px; }

  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  :focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  a, button { min-height: 0; }
  .btn, .nav__links a, button[type="submit"] { min-height: 48px; display: inline-flex; align-items: center; }

  /* Film-grain overlay */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }

  ::selection { background: var(--accent); color: var(--ink); }

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

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

  /* ---------- NAV ---------- */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(10, 9, 8, 0.65);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease);
  }
  .nav.scrolled { border-bottom-color: var(--line); }

  .nav__brand {
    display: inline-flex;
    align-items: center;
    color: var(--ink);
    line-height: 0;
  }
  .nav__brand-img {
    height: 38px;
    width: auto;
    /* SVG ist schwarz auf transparent — invert macht weiß auf transparent */
    filter: invert(1);
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
    transition: opacity .25s var(--ease);
  }
  .nav__brand:hover .nav__brand-img { opacity: 0.75; }
  @media (max-width: 680px) {
    .nav__brand-img { height: 30px; }
  }

  .nav__links {
    display: flex;
    gap: 36px;
    list-style: none;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-2);
  }
  .nav__links a { position: relative; transition: color 0.3s; }
  .nav__links a:hover { color: var(--ink); }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease);
  }
  .nav__links a:hover::after { width: 100%; }

  .lang {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--fg-3);
    cursor: pointer;
    user-select: none;
  }
  .lang button {
    background: transparent;
    border: 0;
    color: var(--fg-3);
    cursor: pointer;
    font: inherit;
    letter-spacing: inherit;
    padding: 6px 2px;
    transition: color 0.25s;
  }
  .lang button.active { color: var(--ink); }
  .lang button:hover { color: var(--fg); }
  .lang__sep { color: var(--line); }

  .nav__mobile { display: none; background: transparent; border: 0; color: var(--ink); cursor: pointer; padding: 6px; }

  /* ---------- HERO ---------- */
  .hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 32px 80px;
    overflow: hidden;
  }

  .hero__glow {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 0;
    animation: drift 22s ease-in-out infinite alternate;
  }
  @keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-60px, 40px) scale(1.15); }
  }

  .hero__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .hero__meta {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .hero__meta::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--accent);
  }

  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(54px, 8vw, 128px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 32px;
  }
  .hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 300;
  }

  .hero__lede {
    font-family: var(--sans);
    font-size: clamp(18px, 1.5vw, 21px);
    font-weight: 400;
    font-style: normal;
    color: var(--fg);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 48px;
  }

  .hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    transition: all 0.4s var(--ease);
    font-family: var(--sans);
    font-weight: 400;
  }
  .btn:hover {
    border-color: var(--accent);
    color: var(--ink);
    background: rgba(200, 54, 28, 0.08);
  }
  .btn--primary {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--ink);
  }
  .btn--primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
  }
  .btn__arrow {
    transition: transform 0.3s var(--ease);
    display: inline-block;
  }
  .btn:hover .btn__arrow { transform: translateX(4px); }

  .hero__artwork {
    position: relative;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.6s var(--ease);
  }
  .hero__artwork--invite { aspect-ratio: 3 / 4; }
  .hero__artwork:hover { transform: translateY(-4px); }

  /* Artwork placeholder frame — replaces with real image via .hero__artwork-img */
  .hero__artwork img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.8), 0 0 0 1px rgba(200, 54, 28, 0.08);
  }
  .hero__artwork--invite img {
    object-fit: contain;
    background: #fff;
  }
  .hero__artwork-pdf-hint {
    position: absolute;
    bottom: -34px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    z-index: 2;
    opacity: 0.85;
    transition: opacity 0.3s;
  }
  .hero__artwork:hover .hero__artwork-pdf-hint { opacity: 1; }

  .hero__artwork-caption {
    position: absolute;
    right: -20px;
    top: 20px;
    writing-mode: vertical-rl;
    font-size: 10px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--fg-3);
  }

  .hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fg-3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
  }
  .hero__scroll::after {
    content: "";
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--fg-3), transparent);
    animation: scroll-pulse 2.5s ease-in-out infinite;
  }
  @keyframes scroll-pulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.3); opacity: 0.4; }
  }

  /* ---------- EXHIBITION BANNER ---------- */
  .exhibit-banner {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
    padding: 48px 32px;
    position: relative;
    overflow: hidden;
  }
  .exhibit-banner::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--accent);
  }
  .exhibit-banner__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 48px;
    align-items: center;
  }
  .exhibit-banner__label {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
  }
  .exhibit-banner__title {
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
  }
  .exhibit-banner__title em {
    font-style: italic;
    color: var(--fg-2);
    font-size: 0.82em;
    display: block;
    margin-top: 4px;
  }
  .exhibit-banner__date {
    text-align: right;
    font-family: var(--serif);
    font-size: 20px;
    color: var(--fg);
    font-weight: 400;
  }
  .exhibit-banner__date strong {
    display: block;
    font-size: 32px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.01em;
  }

  /* ---------- SECTIONS ---------- */
  section { position: relative; }

  .section {
    padding: 140px 32px;
    max-width: var(--maxw);
    margin: 0 auto;
  }
  .section--narrow { max-width: 960px; }

  .section__eyebrow {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .section__eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: var(--accent);
  }

  .section__title {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5.5vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 64px;
    max-width: 900px;
  }
  .section__title em { font-style: italic; color: var(--accent); font-weight: 300; }

  /* ---------- BIOGRAFIE (Portrait + intro) ---------- */
  .bio {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 80px;
    align-items: start;
  }
  .bio__portrait {
    position: relative;
    aspect-ratio: 4 / 5;
    background: var(--bg-3);
    border: 1px solid var(--line);
    overflow: hidden;
  }
  .bio__portrait::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10, 9, 8, 0.5) 100%);
    pointer-events: none;
  }
  .bio__portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.05);
    transition: filter 0.8s var(--ease), transform 0.8s var(--ease);
  }
  .bio__portrait:hover img { filter: grayscale(0) contrast(1.1); transform: scale(1.02); }

  .bio__portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-3);
    font-family: var(--serif);
    font-style: italic;
    background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  }

  .bio__portrait-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-2);
    font-size: 14px;
    letter-spacing: 0.05em;
    z-index: 1;
  }

  .bio__text h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 24px;
    font-style: italic;
  }

  .bio__text p {
    color: var(--fg);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 22px;
  }

  .bio__facts {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .bio__fact-label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 8px;
  }
  .bio__fact-value {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--ink);
    font-weight: 400;
  }

  /* ---------- WERDEGANG / TIMELINE ---------- */
  .timeline {
    position: relative;
    padding-left: 40px;
  }
  .timeline::before {
    content: "";
    position: absolute;
    left: 0; top: 12px; bottom: 12px;
    width: 1px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--line) 30%, var(--line) 100%);
  }

  .timeline__item {
    position: relative;
    padding-bottom: 56px;
    padding-left: 40px;
  }
  .timeline__item:last-child { padding-bottom: 0; }

  .timeline__item::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 10px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--accent);
    transition: background 0.4s, transform 0.4s;
  }
  .timeline__item:hover::before { background: var(--accent); transform: scale(1.3); }

  .timeline__year {
    font-family: var(--serif);
    font-style: italic;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 400;
  }
  .timeline__title {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.2;
  }
  .timeline__desc {
    color: var(--fg-2);
    font-size: 15px;
    line-height: 1.7;
  }

  /* ---------- WERKE GALERIE ---------- */
  .works-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 64px;
  }

  .works-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-self: end;
    align-self: end;
  }
  .works-filter button {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--fg-2);
    padding: 10px 18px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--sans);
    font-weight: 400;
    transition: all 0.3s var(--ease);
  }
  .works-filter button:hover { color: var(--ink); border-color: var(--fg-3); }
  .works-filter button.active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200, 54, 28, 0.05);
  }

  .works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
  }

  .work {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform 0.6s var(--ease);
  }
  .work:hover { transform: translateY(-4px); }

  .work__img-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--line);
  }
  .work__img-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(200, 54, 28, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
  }
  .work:hover .work__img-wrap::before { opacity: 1; }

  .work__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
  }
  .work:hover .work__img { transform: scale(1.04); }

  .work__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-3);
    font-size: 14px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    letter-spacing: 0.1em;
  }

  .work__index {
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--fg-3);
    font-family: var(--serif);
    font-style: italic;
    z-index: 2;
    background: rgba(10, 9, 8, 0.7);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
  }

  .work__title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.2;
  }
  .work__title em { font-style: italic; color: var(--accent); }

  .work__meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--fg-3);
    letter-spacing: 0.08em;
  }

  .works-footer {
    margin-top: 80px;
    text-align: center;
    padding-top: 48px;
    border-top: 1px solid var(--line);
    color: var(--fg-3);
    font-family: var(--serif);
    font-style: italic;
    font-size: 15px;
  }

  /* ---------- AUSSTELLUNGEN ---------- */
  .exhibitions {
    display: grid;
    gap: 0;
  }
  .exhibition {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 40px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    align-items: baseline;
    transition: padding-left 0.4s var(--ease);
  }
  .exhibition:first-child { border-top: 1px solid var(--line); }
  .exhibition:hover { padding-left: 16px; }
  .exhibition:hover .exhibition__title { color: var(--accent); }

  .exhibition__year {
    font-family: var(--serif);
    font-style: italic;
    font-size: 28px;
    color: var(--fg-2);
    font-weight: 400;
  }
  .exhibition__title {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--ink);
    font-weight: 400;
    transition: color 0.3s;
  }
  .exhibition__title span {
    display: block;
    font-size: 14px;
    color: var(--fg-3);
    margin-top: 4px;
    font-style: italic;
  }
  .exhibition__location {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--fg-2);
    text-align: right;
  }
  .exhibition--upcoming .exhibition__year { color: var(--accent); }
  .exhibition--upcoming .exhibition__title { color: var(--ink); font-weight: 500; }
  .exhibition--upcoming {
    background: linear-gradient(90deg, rgba(200, 54, 28, 0.06), transparent);
    padding-left: 16px;
  }

  /* ---------- PRESSE ---------- */
  .press {
    background: var(--bg-2);
    padding: 120px 32px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .press__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .press__grid {
    display: grid;
    gap: 16px;
  }
  .press__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    transition: all 0.4s var(--ease);
    cursor: pointer;
  }
  .press__item:hover {
    border-color: var(--accent);
    transform: translateX(4px);
  }
  .press__item-title {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
    font-weight: 400;
  }
  .press__item-meta {
    font-size: 11px;
    color: var(--fg-3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 4px;
  }
  .press__item-arrow { color: var(--accent); font-size: 20px; }

  /* ---------- KONTAKT / FOOTER ---------- */
  footer {
    padding: 120px 32px 48px;
    max-width: var(--maxw);
    margin: 0 auto;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--line);
  }

  .contact-grid h4 {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 16px;
    font-weight: 500;
  }

  .contact-grid__primary h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 24px;
  }
  .contact-grid__primary h2 em { font-style: italic; color: var(--accent); }
  .contact-grid__primary p {
    font-family: var(--serif);
    font-style: italic;
    font-size: 18px;
    color: var(--fg-2);
    max-width: 480px;
    line-height: 1.5;
  }
  .contact-grid a { color: var(--fg); transition: color 0.3s; }
  .contact-grid a:hover { color: var(--accent); }
  .contact-grid p:not(.italic) { color: var(--fg); font-size: 15px; line-height: 1.8; }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-3);
  }

  /* ---------- REVEAL ANIMATION ---------- */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* ---------- LIGHTBOX ---------- */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 9, 8, 0.96);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
  }
  .lightbox.open { display: flex; opacity: 1; }
  .lightbox__inner {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: center;
    max-height: 90vh;
  }
  .lightbox__img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
  }
  .lightbox__img-placeholder {
    aspect-ratio: 4/5;
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-3);
  }
  .lightbox__info h3 {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.1;
  }
  .lightbox__info h3 em { font-style: italic; color: var(--accent); }
  .lightbox__info p { color: var(--fg-2); font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
  .lightbox__details {
    display: grid;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
  }
  .lightbox__detail-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }
  .lightbox__detail-row span:first-child {
    color: var(--fg-3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 10px;
  }
  .lightbox__close {
    position: absolute;
    top: 24px; right: 24px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--fg);
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lightbox__close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 900px) {
    .nav__links { display: none; }
    .nav__mobile { display: block; }
    .nav__links.open {
      display: flex;
      position: absolute;
      top: 100%; left: 0; right: 0;
      flex-direction: column;
      background: var(--bg);
      padding: 24px 32px;
      border-bottom: 1px solid var(--line);
      gap: 20px;
    }

    .hero { padding-top: 120px; }
    .hero__inner { grid-template-columns: 1fr; gap: 56px; }
    .hero__artwork { max-width: 480px; margin: 0 auto; width: 100%; }

    .exhibit-banner__inner {
      grid-template-columns: 1fr;
      gap: 20px;
      text-align: left;
    }
    .exhibit-banner__date { text-align: left; }

    .bio { grid-template-columns: 1fr; gap: 48px; }
    .bio__portrait { max-width: 420px; }
    .bio__facts { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .works-intro { grid-template-columns: 1fr; gap: 32px; }
    .works-filter { justify-self: start; }

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

    .exhibition {
      grid-template-columns: 80px 1fr;
      gap: 20px;
    }
    .exhibition__location {
      grid-column: 1 / -1;
      text-align: left;
      font-size: 12px;
    }

    .press__inner { grid-template-columns: 1fr; gap: 48px; }

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

    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }

    .lightbox__inner { grid-template-columns: 1fr; gap: 24px; max-height: none; overflow-y: auto; }
    .section { padding: 80px 24px; }
  }

  /* Accessibility */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1 !important; transform: none !important; }
  }

  /* Failsafe: wenn JS blockiert ist ODER das Script noch nicht geladen hat
     (z. B. bei Safari Full-Page-PDF-Capture), zeigen wir alle .reveal-Elemente
     trotzdem an. Sobald JS lädt, wird <html class="js"> gesetzt und dies
     wieder überschrieben. */
  html:not(.js) .reveal { opacity: 1; transform: none; }

  /* ---------- EXHIBITION MODE ---------- */
  body.exhibition-mode .nav,
  body.exhibition-mode .hero,
  body.exhibition-mode .exhibit-banner,
  body.exhibition-mode #biografie,
  body.exhibition-mode #werdegang,
  body.exhibition-mode #ausstellungen,
  body.exhibition-mode .press,
  body.exhibition-mode > footer,
  body.exhibition-mode #werke {
    display: none;
  }
  .exhibition-view {
    display: none;
    min-height: 100vh;
    padding: 40px 24px;
    max-width: 900px;
    margin: 0 auto;
  }
  body.exhibition-mode .exhibition-view { display: block; }

  .exhibition-view__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }
  .exhibition-view__brand {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--ink);
  }
  .exhibition-view__brand em { color: var(--accent); font-style: italic; }
  .exhibition-view__exit {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-3);
    cursor: pointer;
    background: transparent;
    border: 0;
    font-family: var(--sans);
    text-decoration: underline;
    text-decoration-color: var(--line);
    text-underline-offset: 4px;
  }
  .exhibition-view__exit:hover { color: var(--accent); text-decoration-color: var(--accent); }

  .exhibition-view__img {
    width: 100%;
    max-height: 70vh;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .exhibition-view__img img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; display: block; }
  .exhibition-view__img:has(.exhibition-view__img-placeholder) { aspect-ratio: 4 / 5; }
  .exhibition-view__img-placeholder {
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-3);
    font-size: 15px;
  }

  .exhibition-view__id {
    font-family: var(--serif);
    font-style: italic;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
  }
  .exhibition-view__title {
    font-family: var(--serif);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  .exhibition-view__title em { font-style: italic; color: var(--accent); }
  .exhibition-view__desc {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--fg-2);
    line-height: 1.6;
    margin-bottom: 28px;
  }
  .exhibition-view__details {
    display: grid;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
  }
  .exhibition-view__details .row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 16px;
    font-size: 14px;
  }
  .exhibition-view__details .row span:first-child {
    color: var(--fg-3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 10px;
    padding-top: 2px;
  }
  .exhibition-view__details .row span:last-child { color: var(--fg); }

  .exhibition-view__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }


  /* ==========================================================================
     LABEL SHEET (print)
     ========================================================================== */
  body.label-sheet-mode .nav,
  body.label-sheet-mode .hero,
  body.label-sheet-mode .exhibit-banner,
  body.label-sheet-mode #biografie,
  body.label-sheet-mode #werdegang,
  body.label-sheet-mode #werke,
  body.label-sheet-mode #ausstellungen,
  body.label-sheet-mode .press,
  body.label-sheet-mode > footer,
  body.label-sheet-mode .mode-switcher { display: none; }

  .label-sheet {
    display: none;
    padding: 40px 24px;
    max-width: 1320px;
    margin: 0 auto;
  }
  body.label-sheet-mode .label-sheet { display: block; }

  .admin-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    gap: 24px;
    flex-wrap: wrap;
  }
  .admin-head__title {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 36px);
    color: var(--ink);
    font-weight: 400;
  }
  .admin-head__title em { color: var(--accent); font-style: italic; }
  .admin-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }

  .admin-config {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .admin-config label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fg-3);
    flex: 1 1 260px;
  }
  .admin-config input, .admin-config select, .capture-form input, .capture-form select, .capture-form textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--fg);
    padding: 10px 12px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 300;
    transition: border-color 0.25s;
  }
  .admin-config input:focus, .admin-config select:focus,
  .capture-form input:focus, .capture-form select:focus, .capture-form textarea:focus {
    outline: none;
    border-color: var(--accent);
  }

  .label-sheet__grid {
    display: grid;
    /* Two columns on screen, reshape in print */
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 24px;
  }

  /* ---- The printable label card ---- */
  .label-card {
    background: #fff;
    color: #111;
    width: 100%;
    /* Physical target: roughly 100 x 150 mm (fits A4 2-up portrait) */
    aspect-ratio: 2 / 3;
    display: flex;
    flex-direction: column;
    padding: 18mm 14mm 12mm 14mm;
    position: relative;
    font-family: var(--serif);
    box-sizing: border-box;
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: 0 2px 20px -10px rgba(0,0,0,0.3);
  }
  .label-card::before {
    content: "";
    position: absolute;
    left: 14mm; right: 14mm;
    top: 13mm;
    height: 1px;
    background: #bbb;
  }
  .label-card__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    position: absolute;
    top: 8mm;
    left: 14mm;
    right: 14mm;
    font-family: var(--sans);
  }
  .label-card__brand {
    font-family: var(--serif);
    font-size: 11pt;
    color: #000;
    letter-spacing: 0.01em;
  }
  .label-card__brand em { font-style: italic; color: var(--accent); }
  .label-card__cat {
    font-family: 'Courier New', monospace;
    font-size: 9pt;
    letter-spacing: 0.15em;
    color: #333;
    text-transform: uppercase;
  }

  .label-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8mm 0;
    text-align: left;
    min-height: 0;
  }
  .label-card__title {
    font-family: var(--serif);
    font-weight: 500;
    font-size: 24pt;
    line-height: 1.05;
    color: #000;
    margin-bottom: 6mm;
    letter-spacing: -0.01em;
  }
  .label-card__meta {
    font-family: var(--sans);
    font-size: 9pt;
    color: #555;
    letter-spacing: 0.05em;
    margin-bottom: 7mm;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    text-transform: uppercase;
    font-weight: 400;
  }
  .label-card__meta .dot { color: #bbb; }
  .label-card__desc {
    font-family: var(--serif);
    font-style: italic;
    font-size: 11pt;
    line-height: 1.5;
    color: #2a2a2a;
    max-width: 68ch;
  }

  .label-card__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 6mm;
    gap: 8mm;
  }
  .label-card__qr {
    width: 28mm;
    height: 28mm;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .label-card__qr img, .label-card__qr canvas {
    width: 28mm !important;
    height: 28mm !important;
    display: block;
  }
  .label-card__foot-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3mm;
  }
  .label-card__nfc-wrap {
    display: flex;
    align-items: center;
    gap: 3mm;
    color: #000;
  }
  .label-card__nfc-icon {
    width: 12mm;
    height: 12mm;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .label-card__nfc-icon svg { width: 100%; height: 100%; }
  .label-card__nfc-text {
    font-family: var(--sans);
    font-size: 9pt;
    letter-spacing: 0.3em;
    color: #000;
    font-weight: 500;
  }
  .label-card__foot-hint {
    font-family: var(--sans);
    font-size: 7pt;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #888;
  }

  /* ==========================================================================
     CAPTURE FORM
     ========================================================================== */
  body.capture-mode .nav,
  body.capture-mode .hero,
  body.capture-mode .exhibit-banner,
  body.capture-mode #biografie,
  body.capture-mode #werdegang,
  body.capture-mode #werke,
  body.capture-mode #ausstellungen,
  body.capture-mode .press,
  body.capture-mode > footer,
  body.capture-mode .mode-switcher { display: none; }

  .capture {
    display: none;
    padding: 40px 24px 80px;
    max-width: 1120px;
    margin: 0 auto;
  }
  body.capture-mode .capture { display: block; }

  .capture-form {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
  }

  .capture-form__upload {
    position: sticky;
    top: 24px;
  }
  .capture-form__upload label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fg-3);
    margin-bottom: 12px;
  }
  .capture-form__preview {
    aspect-ratio: 4 / 5;
    width: 100%;
    background: var(--bg-2);
    border: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fg-3);
    font-family: var(--serif);
    font-style: italic;
    overflow: hidden;
    margin-bottom: 12px;
    transition: border-color 0.3s;
  }
  .capture-form__preview:hover { border-color: var(--accent); }
  .capture-form__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .capture-form__file-input {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: transparent;
    width: 100%;
    color: var(--fg-2);
    font-family: var(--sans);
    font-size: 12px;
    cursor: pointer;
  }
  .capture-form__file-input::file-selector-button {
    background: var(--accent);
    color: var(--ink);
    border: 0;
    padding: 8px 14px;
    margin-right: 12px;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--sans);
  }

  .capture-form__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }
  .capture-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .capture-form__field--full { grid-column: 1 / -1; }
  .capture-form__field label {
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--fg-3);
  }
  .capture-form__field label .required { color: var(--accent); }
  .capture-form__field label .lang-tag {
    color: var(--fg-3);
    font-family: var(--serif);
    font-style: italic;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
  }
  .capture-form textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
  }
  .capture-form__actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    padding-top: 24px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .capture-form__just-saved {
    grid-column: 1 / -1;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border: 1px solid #6fbf67;
    background: rgba(111, 191, 103, 0.08);
    margin-top: 16px;
    flex-wrap: wrap;
  }
  .capture-form__just-saved .just-saved-text {
    flex: 1 1 200px;
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg);
  }
  .capture-form__just-saved .just-saved-text strong { color: #7fcf76; }

  /* Toast */
  .toast {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%) translateY(40px);
    background: var(--ink);
    color: var(--bg);
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 0.05em;
    z-index: 300;
    opacity: 0;
    transition: all 0.3s var(--ease);
    font-family: var(--sans);
    font-weight: 500;
  }
  .toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

  /* Mode-switcher: both buttons */
  .mode-switcher {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 60;
    display: flex;
    gap: 6px;
    font-size: 10px;
  }
  .mode-switcher button {
    background: rgba(10, 9, 8, 0.85);
    border: 1px solid var(--line);
    color: var(--fg-2);
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: var(--sans);
    backdrop-filter: blur(8px);
    transition: all 0.25s;
  }
  .mode-switcher button:hover { color: var(--accent); border-color: var(--accent); }

  /* ==========================================================================
     PRINT STYLES for labels
     ========================================================================== */
  @media print {
    body { background: #fff !important; }
    body::before { display: none !important; }
    .admin-head,
    .admin-config,
    .mode-switcher { display: none !important; }
    body.label-sheet-mode .label-sheet { padding: 0; margin: 0; max-width: none; }
    .label-sheet__grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 0;
    }
    .label-card {
      box-shadow: none;
      border: none;
      page-break-inside: avoid;
      break-inside: avoid;
    }
    @page {
      size: A4 portrait;
      margin: 10mm;
    }
  }

  @media (max-width: 900px) {
    .capture-form { grid-template-columns: 1fr; gap: 32px; }
    .capture-form__upload { position: static; }
    .capture-form__fields { grid-template-columns: 1fr; }
  }

  /* ===== Accessibility additions (§ MEGAPROMPT 2) ===== */
  .work__title { font-size: 24px; }
  .work__meta { font-size: 14px; color: var(--fg-2); }
  .bio p, .contact-grid p, .press__inner p { color: var(--fg-2); font-size: 18px; line-height: 1.75; }
  .timeline__desc { color: var(--fg-2); font-size: 17px; line-height: 1.65; }
  .exhibition__title span { color: var(--fg-2); font-size: 15px; }
  .nav__links a { font-size: 14px; letter-spacing: 0.04em; }
  .nav__links a.is-active { color: var(--accent); }

  /* ===== Mobile nav toggle ===== */
  @media (max-width: 800px) {
    .nav__mobile { display: inline-flex; }
    .nav__links {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(10, 9, 8, 0.98);
      backdrop-filter: blur(12px);
      flex-direction: column;
      padding: 20px 24px;
      gap: 8px;
      border-top: 1px solid var(--line);
    }
    .nav__links.is-open { display: flex; }
    .nav__links li { list-style: none; }
    .nav__links a { padding: 12px 0; display: block; font-size: 16px; }
  }

  /* ===== Catalog head ===== */
  .catalog-head {
    padding-top: 140px;
    padding-bottom: 48px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    margin-bottom: 48px;
  }
  .catalog__sub {
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-2);
    font-size: 22px;
    margin-top: 12px;
  }

  /* ===== Werk-page (single work view) ===== */
  body.werk-page { background: var(--bg); }
  .werk-head {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    background: rgba(10, 9, 8, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
  }
  .werk-head__brand {
    display: inline-flex;
    align-items: center;
    color: var(--fg);
    text-decoration: none;
    line-height: 0;
  }
  .werk-head__brand-img {
    height: 36px;
    width: auto;
    filter: invert(1);
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
    transition: opacity .25s var(--ease);
  }
  .werk-head__brand:hover .werk-head__brand-img { opacity: 0.75; }
  .werk-head__back {
    color: var(--fg-2);
    text-decoration: none;
    font-size: 15px;
    padding: 12px 18px;
  }
  .werk-head__back:hover { color: var(--accent); }

  .werk-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 96px;
  }
  .werk-id {
    font-family: var(--serif);
    font-style: italic;
    font-size: 14px;
    letter-spacing: 0.2em;
    color: var(--fg-3);
    margin-bottom: 24px;
    text-transform: uppercase;
  }
  .werk-figure {
    margin: 0 0 40px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    overflow: hidden;
    max-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .werk-figure img {
    max-width: 100%;
    max-height: 75vh;
    height: auto;
    display: block;
  }
  .werk-figure--empty { aspect-ratio: 4/5; }
  .werk-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--fg-2);
    font-family: var(--serif);
    font-style: italic;
  }
  .werk-placeholder span { font-size: 42px; letter-spacing: 0.15em; color: var(--fg); }
  .werk-placeholder small { font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }

  .werk-title {
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--fg);
    margin-bottom: 24px;
  }
  .werk-desc {
    color: var(--fg-2);
    font-size: 19px;
    line-height: 1.75;
    max-width: 65ch;
    margin-bottom: 40px;
  }
  .werk-details {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-bottom: 48px;
  }
  .werk-details .row {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .werk-details dt {
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-3);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    padding-top: 4px;
  }
  .werk-details dd { color: var(--fg); margin: 0; }

  .werk-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
  }
  .werk-nav .btn:first-child { justify-self: start; }
  .werk-nav .btn:last-child { justify-self: end; }

  @media (max-width: 680px) {
    .werk-details .row { grid-template-columns: 1fr; gap: 4px; }
    .werk-nav { grid-template-columns: 1fr; }
    .werk-nav .btn { justify-self: stretch !important; text-align: center; justify-content: center; }
  }

  /* ===== Empty-state ===== */
  .works-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 24px;
    font-family: var(--serif);
    font-style: italic;
    color: var(--fg-2);
    font-size: 20px;
  }

/* ===== Copyright protection for images =====
   iOS long-press menu + image drag unterdrücken.
   Text bleibt selektierbar/kopierbar (body user-select stays auto). */
img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: auto; /* keep click-to-expand working */
}
body, p, h1, h2, h3, h4, h5, h6, li, span, em, strong, blockquote, a, td, th, dd, dt {
  -webkit-user-select: text;
  user-select: text;
}

/* ===== Footer-Credit (Strelle GmbH) ===== */
.footer-credit {
  color: var(--fg-3);
  font-size: 14px;
}
.footer-credit a {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.footer-credit a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Werk-Detailseite: Footer-Zeile */
.werk-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--fg-3);
  border-top: 1px solid var(--line);
}
.werk-footer a {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.werk-footer a:hover { color: var(--accent); }
@media (max-width: 680px) {
  .werk-footer { flex-direction: column; gap: 8px; }
}

/* ===== Source references (Recherche-Belege) ===== */
.src-ref {
  font-family: var(--sans);
  font-size: 0.68em;
  letter-spacing: 0.08em;
  margin-left: 4px;
  top: -0.4em;
  position: relative;
  vertical-align: baseline;
}
.src-ref a {
  color: var(--accent);
  text-decoration: none;
  padding: 1px 5px;
  border: 1px solid rgba(200, 54, 28, 0.35);
  border-radius: 2px;
  transition: all 0.2s;
  font-weight: 500;
  opacity: 0.75;
}
.src-ref a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  opacity: 1;
}

/* ===== Quellen-Block unterhalb Ausstellungen ===== */
.sources {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--bg-2);
  border-left: 3px solid var(--accent);
  max-width: 820px;
}
.sources__title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-2);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.sources__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-3);
}
.sources__text a {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.sources__text a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
@media (max-width: 680px) {
  .sources { padding: 22px 20px; margin-top: 40px; }
  .sources__title { font-size: 16px; }
  .sources__text { font-size: 13px; }
}

/* ===== Legal-Pages (Impressum, Datenschutz) ===== */
body.legal-page { background: var(--bg); }
body.legal-page::before { opacity: 0.2; } /* grain dämpfen */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  color: var(--fg);
  font-size: 17px;
  line-height: 1.7;
}
.legal__head {
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.legal__head h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  margin: 8px 0 12px;
}
.legal__sub {
  color: var(--fg-3);
  font-size: 14px;
  letter-spacing: 0.05em;
  font-style: italic;
}
.legal__section { margin-bottom: 48px; }
.legal__section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.legal__section h3 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 24px 0 10px;
}
.legal__section p {
  color: var(--fg-2);
  margin-bottom: 14px;
}
.legal__section p strong { color: var(--fg); font-weight: 500; }
.legal__section ul {
  color: var(--fg-2);
  margin: 12px 0 14px 22px;
}
.legal__section li { margin-bottom: 6px; }
.legal__section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  background: var(--bg-2);
  padding: 2px 7px;
  border-radius: 2px;
  color: var(--fg);
}
.legal__section a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.legal__section a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.legal__note {
  padding: 14px 20px;
  background: var(--bg-2);
  border-left: 2px solid var(--line);
  font-size: 15px;
  color: var(--fg-3);
  font-style: italic;
}
.legal__nav {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.legal-footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--fg-3);
  border-top: 1px solid var(--line);
}
.legal-footer a {
  color: var(--fg-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.legal-footer a.is-active { color: var(--accent); text-decoration-color: var(--accent); }
.legal-footer a:hover { color: var(--accent); }
@media (max-width: 680px) {
  .legal { padding: 120px 22px 64px; font-size: 16px; }
  .legal__head h1 { font-size: 38px; }
  .legal__section h2 { font-size: 22px; }
  .legal-footer { flex-direction: column; gap: 10px; padding: 24px; }
}

/* ===== Bildarchiv (Familienarchiv) ===== */
.archive-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.archive-lede { color: var(--fg-2); font-size: 17px; line-height: 1.7; margin-top: 16px; }
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.archive-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
  font-family: inherit;
  color: inherit;
  padding: 0;
  width: 100%;
  text-decoration: none;
}
.archive-card:hover, .archive-card:focus-visible {
  border-color: var(--accent);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.04);
}
.archive-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.archive-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #111;
  overflow: hidden;
}
.archive-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
}
.archive-card:hover .archive-card__media img { transform: scale(1.04); }
.archive-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 18px 20px;
}
.archive-card__period {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.archive-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  line-height: 1.25;
  color: var(--fg);
  margin-top: 4px;
}
.archive-card__location {
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.05em;
}
.archive-card__cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.04em;
}
.archive-card__cta > span:first-child { color: var(--fg); }
.archive-card__count { font-variant-numeric: tabular-nums; }

/* ===== Modale Galerie ===== */
.mg {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  align-items: stretch;
  justify-content: center;
}
.mg.is-open { display: flex; }
.mg__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 6, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mg__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: clamp(16px, 3vw, 32px);
  gap: 16px;
  color: var(--fg);
  z-index: 1;
}
.mg__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.mg__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.15;
  margin: 0;
}
.mg__subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.mg__close {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--fg);
  font-size: 18px;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.mg__close:hover { border-color: var(--accent); color: var(--accent); transform: rotate(90deg); }

.mg__stage {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.mg__figure {
  margin: 0;
  max-width: 100%;
  max-height: 65vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mg__figure img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
}
.mg__caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
  max-width: 720px;
  text-align: center;
}
.mg__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
  z-index: 2;
}
.mg__nav:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,0,0,0.6); }
.mg__nav--prev { left: 0; }
.mg__nav--next { right: 0; }

.mg__footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mg__counter {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.mg__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 6px;
  scrollbar-width: thin;
}
.mg-thumb {
  flex: 0 0 auto;
  width: 72px; height: 54px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.1);
  background: #111;
  cursor: pointer;
  border-radius: 2px;
  overflow: hidden;
  transition: border-color .2s ease, opacity .2s ease;
  opacity: 0.6;
}
.mg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mg-thumb:hover { opacity: 1; }
.mg-thumb.is-active { border-color: var(--accent); opacity: 1; }

body.mg-open { overflow: hidden; }

@media (max-width: 680px) {
  .archive-card__title { font-size: 19px; }
  .mg__panel { padding: 14px; gap: 10px; }
  .mg__figure, .mg__figure img { max-height: 52vh; }
  .mg__nav { width: 40px; height: 40px; font-size: 22px; }
  .mg-thumb { width: 60px; height: 44px; }
}
