/* Design W19 „Galerie & persönlich“ (docs/plan-vorlage-atelier.md). Keine externen Ressourcen.
   Das ganze Aussehen hängt an den Variablen in :root – Design-Runde später nur hier und in den Regeln darunter. */
:root {
	--accent: #9a4a2e;
	--paper: #f7f4ef;
	--card: #ffffff;
	--ink: #1f1d1a;
	--muted: #6f675e;
	--line: #e2dbd1;
	--dark: #141311;
	--dark-text: #eee9e2;
	--serif: Georgia, "Times New Roman", serif;
	--sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--radius: 0px;
	--max: 1240px;
	--gap: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(48px, 7vw, 88px) 0; }
.lead { color: var(--muted); margin: -.2em 0 1.8em; max-width: 46em; }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border: 1px solid currentColor; border-radius: var(--radius); background: none; color: inherit; font: 500 14px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn--voll { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--voll:hover { filter: brightness(1.08); }
.btn--rand:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--hell { color: #fff; }
.btn--hell:hover { background: #fff; color: var(--ink); }

/* header */
.kopfzeile { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.kopfzeile__inner { display: flex; align-items: center; justify-content: space-between; min-height: 58px; gap: 20px; }
.marke { font: 400 21px/1.2 var(--serif); text-decoration: none; letter-spacing: .01em; }
.nav { display: flex; gap: 24px; }
.nav a { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.nav a:hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--ink); }

/* hero: one work across the full width */
.einstieg { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.einstieg__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.einstieg__text { position: relative; width: 100%; padding: 120px 0 40px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.einstieg h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .15em; }
.einstieg__zeile { font-size: 1.1rem; letter-spacing: .04em; margin-bottom: .4em; }
.einstieg__satz { max-width: 36em; opacity: .92; }
.einstieg .btn { margin-top: .6em; }
.einstieg__bildtitel { margin: 18px 0 0; font-size: 13px; opacity: .8; }

/* works */
.filter { display: flex; gap: 8px; margin: 0 0 28px; overflow-x: auto; padding-bottom: 4px; }
.filter button { flex: none; padding: 6px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 14px/1.4 var(--sans); white-space: nowrap; cursor: pointer; }
.filter button.is-aktiv { background: var(--ink); border-color: var(--ink); color: #fff; }
.werke__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px var(--gap); }
.werk[hidden] { display: none; }
.werk__bild { display: block; width: 100%; padding: 0; border: 0; background: var(--line); cursor: zoom-in; }
.werk__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .2s; }
.werk__bild:hover img { opacity: .9; }
.werk__titel { font-size: 1.2rem; margin: 12px 0 2px; }
.werk__meta { font-size: 13px; color: var(--muted); margin: 0; }
.werk__preis { font-size: 14px; margin: 4px 0 0; }
.werk__titel:empty, .werk__meta:empty, .werk__preis:empty { display: none; }
.is-verkauft::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }

/* about */
.ueber__inner { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ueber__bild { margin: 0; }
.ueber__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.vita { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.vita li, .liste li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.vita b, .liste b { font-weight: 600; }
.vita:not(:has(li)) { display: none; }

/* dates */
.naechster { display: flex; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 26px; }
.naechster__datum { margin: 0; min-width: 96px; text-align: center; font: 400 2.1rem/1 var(--serif); color: var(--accent); }
.naechster__datum small { display: block; margin-top: 6px; font: 500 12px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.naechster__text { margin: 0; }
.liste { list-style: none; margin: 0; padding: 0; }
.liste li { grid-template-columns: 80px 1fr; }

/* commissions & courses */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.karte { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.karte h3 { font-size: 1.5rem; }

/* contact */
.kontakt__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.kontakt__liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.kontakt__liste li { display: grid; grid-template-columns: 100px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); white-space: pre-line; }
.kontakt__liste span { color: var(--muted); font-size: 14px; }

/* footer, legal page */
.fuss { border-top: 1px solid var(--line); padding: 22px 0; font-size: 13px; color: var(--muted); }
.fuss__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fuss p { margin: 0; }
.rechtliches { padding: 48px 0 72px; }
.rechtliches__inner { max-width: 760px; }
.rechtliches h1 { font-size: 2.2rem; margin-top: .6em; }
.rechtliches h2 { font-size: 1.3rem; margin-top: 1.4em; }
.nav--fest { display: flex; }

/* large view */
.gross { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 1fr 340px; background: var(--dark); color: var(--dark-text); }
.gross[hidden] { display: none; }
.gross__buehne { position: relative; display: flex; align-items: center; justify-content: center; padding: 48px 72px; min-height: 0; }
.gross__buehne img { max-width: 100%; max-height: calc(100vh - 96px); object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.gross__pfeil, .gross__zu { position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; cursor: pointer; }
.gross__pfeil { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; font-size: 24px; }
.gross__pfeil--l { left: 18px; } .gross__pfeil--r { right: 18px; }
.gross__zu { top: 14px; right: 354px; z-index: 2; width: 40px; height: 40px; border: 0; font-size: 30px; }
.gross__info { display: flex; flex-direction: column; gap: 6px; padding: 56px 32px 28px; border-left: 1px solid #2a2724; overflow-y: auto; }
.gross__info h3 { font-size: 1.9rem; margin: 0; }
.gross__meta { color: #b9b0a5; margin: 0; }
.gross__preis { font-size: 1.25rem; margin: 12px 0 18px; }
.gross__preis:empty, .gross__meta:empty { display: none; }
.gross__knoepfe { display: grid; gap: 10px; }
.gross__knoepfe .btn { text-align: center; color: var(--dark-text); }
.gross__knoepfe .btn--voll { color: #fff; }
.gross__hinweis { min-height: 1.4em; margin: 8px 0 0; font-size: 13px; color: #b9b0a5; }
.gross__zaehler { margin: auto 0 0; font-size: 13px; color: #8d857b; }
body.gross-offen { overflow: hidden; }

@media (max-width: 1000px) {
	.werke__liste { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
	.nav.is-open { display: flex; }
	.nav a { padding: 10px 0; }
	.nav--fest { position: static; display: flex; background: none; border: 0; padding: 0; }
	.einstieg { min-height: 72vh; }
	.werke__liste { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
	.werk__titel { font-size: 1.02rem; margin-top: 8px; }
	.werk__meta { font-size: 12px; }
	.ueber__inner, .kontakt__inner { grid-template-columns: 1fr; gap: 24px; }
	.naechster { padding: 16px; gap: 16px; }
	.naechster__datum { min-width: 70px; font-size: 1.7rem; }
	.vita li { grid-template-columns: 96px 1fr; }
	.liste li { grid-template-columns: 64px 1fr; }
	.gross { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
	.gross__buehne { padding: 52px 12px 8px; }
	.gross__buehne img { max-height: 100%; }
	.gross__pfeil { display: none; }
	.gross__zu { right: 8px; top: 6px; }
	.gross__info { padding: 16px 16px 20px; border-left: 0; border-top: 1px solid #2a2724; }
	.gross__info h3 { font-size: 1.5rem; }
	.gross__preis { margin: 6px 0 10px; }
	.gross__knoepfe { grid-template-columns: 1fr 1fr; }
	.gross__zaehler { margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
