@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
/* jennyklein.art — gallery wall: generous creme margins, one strong image per section,
   text set like an exhibition label. Colors and fonts from the jennyklein.art branding kit. */
:root {
  --creme: #EAE4DB;      /* Haupthintergrund */
  --greige: #D2CDC5;     /* zweiter Hintergrund, Boxen */
  --sand: #D4CBBE;       /* Bildflächen */
  --ink: #272523;        /* Anthrazit: Text, dunkle Sektionen */
  --brown: #311603;      /* Dunkelbraun: h2, Linien, Akzent */
  --muted: #5B534C;      /* Nebentext */
  --light: #E8DDD5;      /* Schrift auf dunklem Grund */
  --rule: #C9C0B4;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --step--1: 0.82rem;
  --step-0: 1rem;
  --step-1: 1.35rem;
  --step-h3: 1.75rem;
  --step-2: clamp(1.9rem, 1.35rem + 2.1vw, 2.75rem);
  --step-3: clamp(2.7rem, 1.6rem + 4.4vw, 4.8rem);
  --gutter: clamp(20px, 5vw, 72px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; } }
body { margin: 0; background: var(--creme); color: var(--ink); font-family: var(--body); font-size: var(--step-0); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { color: var(--brown); }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.label { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.measure { max-width: 36em; }
.art { background: var(--sand); overflow: hidden; }
.art img { width: 100%; height: 100%; object-fit: cover; }

/* Header with brand lockup */
header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand .rule { width: 1px; height: 34px; background: var(--ink); opacity: .55; }
.brand .name { display: grid; line-height: 1; }
.brand .name b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.01em; }
.brand .name small { font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; margin-top: 6px; color: var(--muted); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2.2vw, 32px); flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 0.9rem; color: var(--muted); }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }

/* Buttons and links (branding kit: primär dunkelbraun, sekundär umrandet) */
.actions { display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-block; padding: 14px 26px; background: var(--brown); color: var(--creme); text-decoration: none; font-size: 0.92rem; font-weight: 500; letter-spacing: 0.02em; border: 1px solid var(--brown); transition: background .2s, color .2s; }
.btn:hover { background: transparent; color: var(--brown); }
.btn.ghost { background: transparent; color: var(--brown); }
.btn.ghost:hover { background: var(--brown); color: var(--creme); }
.link { text-decoration: none; border-bottom: 1px solid var(--brown); padding-bottom: 2px; font-size: 0.92rem; }
.link:hover { color: var(--brown); }

section.block { padding: clamp(64px, 9vw, 120px) 0; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { font-size: var(--step-2); }
.head .label + h2 { margin-top: 12px; }
.head p { color: var(--muted); max-width: 28em; }

/* Hero */
.hero { padding: clamp(20px, 4vw, 56px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: var(--step-3); margin: 18px 0 28px; }
.hero h1 em { color: var(--brown); }
.hero .lead { color: var(--muted); max-width: 30em; }
.hero .actions { margin-top: 36px; }
.hero figure { margin: 0; }
.hero .art { aspect-ratio: 4 / 5; }
figcaption { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }

/* Statement */
.statement { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(56px, 8vw, 104px) 0; }
.statement blockquote { margin: 0; font-family: var(--display); font-size: var(--step-2); line-height: 1.25; max-width: 22em; }
.statement blockquote em { color: var(--brown); }
.statement p { margin-top: 26px; color: var(--muted); }

/* Home gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 52px) clamp(18px, 2.6vw, 40px); }
.gallery a { text-decoration: none; display: block; }
.gallery .art { aspect-ratio: 3 / 4; }
.gallery .art img { transition: transform .8s ease; }
.gallery a:hover .art img { transform: scale(1.03); }
.gallery a:nth-child(3n+2) { margin-top: clamp(0px, 5vw, 72px); }
.gallery figcaption b { font-family: var(--display); font-weight: 400; font-size: var(--step-1); color: var(--ink); display: block; line-height: 1.2; }
.categories { display: flex; gap: 16px; flex-wrap: wrap; margin-top: clamp(36px, 5vw, 60px); }

/* Rooms */
.rooms { border-top: 1px solid var(--rule); }
.room-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(12px, 1.6vw, 22px); align-items: end; }
.room-row .art { aspect-ratio: 4 / 5; }

/* Commission */
.commission { background: var(--greige); }
.commission .top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.commission .process { margin: 0; justify-self: end; width: min(100%, 400px); }
.commission .process .art { aspect-ratio: 4 / 5; }
.commission .process img { object-position: 50% 42%; }
.commission .intro .availability { margin-top: 28px; color: var(--ink); }
.commission h2 { font-size: var(--step-2); margin: 12px 0 20px; }
.commission .intro p { color: var(--muted); max-width: 30em; }
.commission .intro p + p { margin-top: 14px; }
.commission .intro .actions { margin-top: 28px; }
.availability { font-size: 0.92rem; padding-left: 14px; border-left: 2px solid var(--brown); }
.availability strong { font-weight: 500; }
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.format { background: var(--creme); padding: 24px 22px; display: grid; gap: 4px; align-content: start; }
.format .size { font-family: var(--display); font-size: var(--step-h3); line-height: 1; }
.format .dim { font-size: 0.85rem; color: var(--muted); }
.format .price { font-family: var(--display); font-size: var(--step-1); margin-top: 14px; font-variant-numeric: tabular-nums; }
.format .note { font-size: 0.85rem; color: var(--muted); }
.steps { list-style: none; padding: 0; margin: clamp(32px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--rule); padding-top: 26px; }
.steps li { display: grid; gap: 6px; }
.steps b { font-family: var(--display); font-weight: 400; font-size: var(--step-1); color: var(--brown); }
.steps span { font-size: 0.92rem; color: var(--muted); }

/* About */
.about .grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about .art { aspect-ratio: 4 / 5; }
.about h2 { font-size: var(--step-2); margin: 12px 0 22px; }
.about p { color: var(--muted); }
.about p + p { margin-top: 14px; }
.facts { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
.facts div { display: grid; }
.facts b { font-family: var(--display); font-weight: 400; font-size: var(--step-h3); line-height: 1.1; }
.facts span { font-size: var(--step--1); color: var(--muted); }
.collectors { margin-top: clamp(48px, 7vw, 88px); background: var(--greige); padding: clamp(28px, 4vw, 48px); }
.collectors h3 { font-size: var(--step-h3); color: var(--brown); margin: 10px 0 22px; }
.collectors .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.collectors .cols b { display: block; font-weight: 500; margin-bottom: 6px; }
.collectors .cols p { color: var(--muted); font-size: 0.93rem; }
.cafe { margin-top: 18px; display: flex; gap: 14px 28px; align-items: baseline; flex-wrap: wrap; font-size: 0.95rem; }
.cafe b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.cafe span { color: var(--muted); max-width: 44em; }

/* Journal */
.journal { border-top: 1px solid var(--rule); }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.post { text-decoration: none; display: grid; gap: 12px; align-content: start; }
.post .art { aspect-ratio: 4 / 5; }
.post .art.text { display: grid; place-items: center; padding: 24px; background: var(--greige); }
.post .art.text p { font-family: var(--display); font-style: italic; font-size: var(--step-h3); line-height: 1.2; color: var(--brown); text-align: center; }
.post h3 { font-size: var(--step-1); }
.post p { color: var(--muted); font-size: 0.92rem; }

/* Kontakt-Band (dunkel) */
.letter { background: var(--ink); color: var(--creme); }
.letter .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.letter .btn { background: var(--creme); color: var(--ink); border-color: var(--creme); }
.letter .btn:hover { background: transparent; color: var(--creme); }
.letter .fineprint { color: #BDB4A9; margin-top: 12px; }
.letter h2 { font-size: var(--step-2); color: var(--light); }
.letter p { color: #BDB4A9; margin-top: 16px; }
.letter form { display: grid; gap: 14px; }
.letter .row { display: flex; border-bottom: 1px solid #8C847A; }
.letter input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--creme); font: inherit; padding: 14px 0; }
.letter input[type=email]::placeholder { color: #8C847A; }
.letter button { background: transparent; border: 0; color: var(--creme); font: inherit; cursor: pointer; padding: 14px 0 14px 20px; }
.letter button:hover { color: var(--sand); }
.letter .consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); color: #BDB4A9; }
.letter .consent input { margin-top: 4px; accent-color: var(--sand); }
.letter .note { font-size: var(--step--1); color: var(--sand); min-height: 1.4em; }

/* Footer */
footer { padding: clamp(56px, 7vw, 88px) 0 40px; }
footer .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
footer .logo img { width: 128px; height: auto; }
footer address { font-style: normal; color: var(--muted); line-height: 1.9; font-size: 0.9rem; }
footer address a { text-decoration: none; }
footer address a:hover { color: var(--ink); }
footer .bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
footer .bottom nav { display: flex; gap: 22px; }

/* Portfolio pages */
.page-head { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { font-size: var(--step-3); margin: 14px 0 22px; }
.page-head p { color: var(--muted); max-width: 38em; }
.page-head .switch { margin-top: 26px; display: flex; gap: 16px; flex-wrap: wrap; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px); align-items: start; padding-bottom: clamp(56px, 8vw, 104px); }
.work { margin: 0; scroll-margin-top: 24px; }
.work button.open { all: unset; cursor: zoom-in; display: block; width: 100%; }
.work button.open:focus-visible { outline: 2px solid var(--brown); outline-offset: 4px; }
.work img { width: 100%; height: auto; background: var(--sand); transition: opacity .3s; }
.work button.open:hover img { opacity: .92; }
.work h2 { font-size: var(--step-1); color: var(--ink); margin-top: 14px; }
.work .meta { font-size: var(--step--1); color: var(--muted); margin-top: 2px; }
.work .text { margin-top: 10px; color: var(--muted); font-size: 0.93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work .text p + p { margin-top: 8px; }
.work .more { margin-top: 8px; background: none; border: 0; padding: 0; font: inherit; font-size: 0.86rem; color: var(--brown); cursor: pointer; border-bottom: 1px solid var(--brown); }
.cta-band { background: var(--greige); padding: clamp(48px, 7vw, 80px) 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--step-2); max-width: 16em; }
.cta-band p { color: var(--muted); margin-top: 10px; }

/* Lightbox */
dialog.lightbox { border: 0; padding: 0; width: min(1180px, 100vw - 32px); max-height: calc(100vh - 32px); background: var(--creme); color: var(--ink); }
dialog.lightbox::backdrop { background: rgba(39, 37, 35, .82); }
.lb { display: grid; grid-template-columns: 1.4fr 1fr; max-height: calc(100vh - 32px); }
.lb .stage { background: var(--greige); display: grid; place-items: center; padding: 24px; position: relative; min-height: 50vh; }
.lb .stage img { max-height: calc(100vh - 96px); width: auto; max-width: 100%; object-fit: contain; }
.lb .pager { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.lb .pager button { background: var(--creme); border: 1px solid var(--brown); color: var(--brown); font: inherit; font-size: .85rem; padding: 6px 12px; cursor: pointer; }
.lb .info { padding: clamp(24px, 3vw, 40px); overflow-y: auto; display: grid; align-content: start; gap: 12px; }
.lb .info h2 { font-size: var(--step-2); color: var(--brown); }
.lb .info .meta { font-size: var(--step--1); color: var(--muted); }
.lb .info .text p { color: var(--muted); font-size: 0.95rem; }
.lb .info .text p + p { margin-top: 10px; }
.lb .info .actions { margin-top: 12px; }
.lb .close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--creme); border: 1px solid var(--brown); color: var(--brown); width: 40px; height: 40px; font-size: 1.3rem; line-height: 1; cursor: pointer; }

@media (max-width: 860px) {
  .hero .wrap, .commission .top, .about .grid, .letter .wrap, footer .top { grid-template-columns: 1fr; }
  .posts, .collectors .cols, .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery a:nth-child(3n+2) { margin-top: 0; }
  .gallery a:nth-child(even) { margin-top: 40px; }
  .room-row { grid-template-columns: 1fr 1fr; }
  .commission .process { display: none; }
  .room-row .art:first-child { grid-column: 1 / -1; }
  .lb { grid-template-columns: 1fr; overflow-y: auto; }
  .lb .stage img { max-height: 60vh; }
}
@media (max-width: 560px) {
  .formats { grid-template-columns: 1fr; }
  .brand .name small { display: none; }
  header.site nav { width: 100%; }
  nav ul { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  nav a { font-size: 0.8rem; white-space: nowrap; }
}
.fineprint { font-size: var(--step--1); color: var(--muted); }

/* Journal posts */
.post-head { padding: clamp(28px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); }
.post-head .wrap, .post-body { max-width: 760px; }
.post-head h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.8rem); margin: 14px 0 20px; }
.post-head .lead { font-size: 1.15rem; color: var(--muted); }
.post-hero { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.post-hero:not(.wide) { max-width: 560px; }
.post-hero img { width: 100%; height: auto; }
.post-hero figcaption { max-width: 640px; }
.post-body { margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter) clamp(56px, 8vw, 96px); }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: var(--step-h3); margin-top: 1.9em; }
.post-body p { font-size: 1.05rem; line-height: 1.75; }
.post-body figure { margin: 2em 0; }
/* process images: never taller than ~half a screen, so the text keeps flowing on phones */
.post-body figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: min(520px, 55vh); margin: 0 auto; background: var(--sand); }
.post-body figure figcaption { text-align: center; }
.post-body blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--brown); font-family: var(--display); font-size: var(--step-1); line-height: 1.35; }
.post-body ul { padding-left: 1.2em; }
.post-body li + li { margin-top: 6px; }
.ph { aspect-ratio: 4 / 3; border: 1px dashed var(--brown); display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; background: var(--greige); text-align: center; padding: 16px; }
.post-cta { background: var(--greige); padding: clamp(24px, 4vw, 36px); margin-top: 2.4em; }
.post-cta h2 { margin-top: 0; font-size: var(--step-1); }
.post-cta p { margin-top: 8px; color: var(--muted); }
.post-cta .actions { margin-top: 18px; }
.journal-list { display: grid; gap: clamp(36px, 5vw, 56px); padding-bottom: clamp(56px, 8vw, 104px); }
.journal-list a { display: grid; grid-template-columns: 280px 1fr; gap: clamp(20px, 3vw, 40px); text-decoration: none; align-items: center; }
.journal-list .art { aspect-ratio: 4 / 5; }
.journal-list .art.text { display: grid; place-items: center; background: var(--greige); padding: 20px; }
.journal-list .art.text p { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--brown); text-align: center; line-height: 1.2; }
.journal-list h2 { font-size: var(--step-h3); color: var(--ink); margin: 8px 0 10px; }
.journal-list p { color: var(--muted); max-width: 40em; }
@media (max-width: 640px) { .journal-list a { grid-template-columns: 1fr; } }
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 2em 0; }
.video-row figure { margin: 0; }
.video-row video { width: 100%; height: auto; display: block; background: var(--sand); }
@media (max-width: 560px) { .video-row { grid-template-columns: 1fr 1fr; } }
/* Legal pages */
.legal .post-body h2 { font-size: var(--step-1); margin-top: 1.8em; }
.legal .lead-note { background: var(--greige); padding: 18px 20px; font-size: 1rem; }
.legal .stand { margin-top: 2.4em; font-size: var(--step--1); color: var(--muted); }
.price-note { margin-top: 14px; font-size: var(--step--1); color: var(--muted); }
.faq { margin-top: clamp(40px, 5vw, 56px); padding-top: 26px; border-top: 1px solid var(--rule); }
.faq-head { margin-bottom: 18px; }
.faq-head h3 { font-size: var(--step-h3); color: var(--brown); margin-top: 10px; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); align-items: start; }
.faq details { border-top: 1px solid var(--rule); }
.faq-cols > div > details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; list-style: none; position: relative; font-family: var(--display); font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 14px; font-family: var(--body); font-size: 1.1rem; color: var(--brown); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--brown); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 760px) { .faq-cols { grid-template-columns: 1fr; } .faq-cols > div:first-child > details:last-child { border-bottom: 0; } }
.lb .info .lb-title { font-family: var(--display); font-size: var(--step-2); line-height: 1.08; color: var(--brown); }
/* mobile: clear separation between stacked posts */
@media (max-width: 860px) {
  .posts { gap: 0; }
  .posts .post + .post { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .journal-list { gap: 0; }
  .journal-list a + a { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--rule); }
}
