/* georgpichl.art – Vorschau
   Layout: die Werke hängen auf einer hellen, neutralen Wand; Angaben stehen daneben wie Ausstellungsbeschriftungen. */
:root {
  --wall: #EEEFEC;
  --wall-deep: #E3E4E0;
  --ink: #1B1C1F;
  --graphite: #5A5E66;
  --rail: #CFD1CB;
  --blue: #1E4FAE;
  --serif: "Newsreader Variable", "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk Variable", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  color-scheme: light;
}

@font-face {
  font-family: "Newsreader Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-standard-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Newsreader Variable";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("/assets/fonts/newsreader-latin-standard-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Hanken Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 380; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Vorschau-Hinweis */
.preview-note {
  background: var(--wall-deep);
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.4;
}
.preview-note .wrap { padding-block: 7px; }

/* Kopf */
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding-block: 22px;
}
.site-name { font-size: 22px; line-height: 1.25; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; }
.site-nav a { text-decoration: none; padding-block: 4px; }
.site-nav a[aria-current="page"] { text-decoration: underline; }

main { display: block; }
section + section { margin-top: clamp(72px, 10vw, 136px); }

/* Ausstellungsbeschriftung */
.label { font-size: 14px; line-height: 1.45; color: var(--graphite); }
.label .t { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--ink); }
.note { font-size: 13px; line-height: 1.45; color: var(--graphite); border-left: 2px solid var(--rail); padding-left: 10px; }

/* Startseite: Auftakt */
/* Einstieg: Werk links, Marke rechts; Textblock mittig zur Werkfläche, Bildunterschrift außerhalb der Bezugsfläche */
.opening { display: grid; grid-template-columns: minmax(0, 6.6fr) minmax(0, 4.4fr); grid-template-areas: "work text" "cap ."; column-gap: clamp(28px, 4vw, 64px); row-gap: 12px; align-items: center; padding-top: clamp(12px, 3vw, 40px); }
.opening .work { grid-area: work; display: block; justify-self: start; }
.opening .work img { width: auto; max-height: 76vh; }
.opening .cap { grid-area: cap; }
.opening .text { grid-area: text; container-type: inline-size; transform: translateY(-3%); }
.opening .actions { margin-top: 32px; }
.opening .line { font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.4; margin-top: 18px; color: var(--ink); }

/* Wortmarke: eine Schrift, eine Größe, eine Stärke, eine Farbe */
.brandmark { font-family: var(--serif); font-weight: 380; letter-spacing: 0; color: var(--ink); }
.brandmark .nw { white-space: nowrap; }
.opening h1.brandmark { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; }
@supports (font-size: 1cqi) {
  .opening h1.brandmark { font-size: clamp(26px, calc(100cqi / 11.4), 48px); }
}

.button {
  display: inline-block; font-family: var(--sans); font-size: 15px; font-weight: 560;
  padding: 11px 18px; border: 1px solid var(--ink); color: var(--ink); background: transparent; text-decoration: none;
}
.button:hover { background: var(--ink); color: var(--wall); }
.button.solid { background: var(--ink); color: var(--wall); }
.button.solid:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.button[disabled] { opacity: 0.45; cursor: not-allowed; }
.text-link { font-size: 15px; }

.intro p { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 27px); line-height: 1.42; max-width: 31em; font-weight: 360; }
.intro .note { margin-top: 18px; max-width: 46em; }

/* Reihe gleich hoher Werke ohne Beschnitt */
.row { display: flex; gap: clamp(20px, 3vw, 44px); align-items: flex-start; }
.row figure { margin: 0; flex: var(--ar) 1 0; min-width: 0; }
.row figure a { text-decoration: none; display: block; }
.row figure img { width: 100%; }
.row .label { margin-top: 10px; }

/* Zugänge zu den Bereichen */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.area { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 22px; align-items: end; text-decoration: none; border-top: 1px solid var(--rail); padding-top: 22px; }
.area h2 { font-size: clamp(28px, 3vw, 38px); }
.area p { margin-top: 8px; color: var(--graphite); font-size: 15px; }
.area:hover h2 { color: var(--blue); }

/* Porträt */
.person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.person h2 { font-size: clamp(30px, 3.4vw, 44px); }
.person .bio { font-family: var(--serif); font-size: 20px; line-height: 1.55; margin-top: 18px; max-width: 30em; }
.person .links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }

.invite { border-top: 1px solid var(--rail); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: baseline; justify-content: space-between; }
.invite p { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 30px); max-width: 26em; }

/* Seitenkopf allgemeiner Seiten */
.page-head { padding-top: clamp(20px, 4vw, 56px); }
.page-head h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 330; letter-spacing: -0.01em; }
.page-head p { font-family: var(--serif); font-size: 21px; line-height: 1.5; max-width: 32em; margin-top: 18px; }

.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 16px 48px; align-items: start; border-top: 1px solid var(--rail); padding-top: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section-head p { font-family: var(--serif); font-size: 19px; line-height: 1.55; max-width: 34em; }
.section-head .note { margin-top: 12px; font-family: var(--sans); }

/* Hängung im Größenverhältnis */
.hang { --cm: clamp(2.6px, 0.34vw, 4.2px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px) clamp(28px, 3.6vw, 52px); }
.hang figure { margin: 0; width: calc(var(--b) * var(--cm)); max-width: 100%; }
.hang figure a { text-decoration: none; display: block; }
.hang img { width: 100%; }
.hang .label { margin-top: 12px; }
.row img, .opening .work img, .detail .work img, .area img { box-shadow: 0 0 0 1px rgba(27, 28, 31, 0.06); background: var(--wall-deep); }
.portrait { background: var(--wall-deep); }

/* Werkseite */
.back { font-size: 15px; padding-top: 8px; }
.detail { display: grid; grid-template-columns: minmax(0, 7.4fr) minmax(0, 3.6fr); gap: clamp(28px, 4vw, 72px); align-items: start; margin-top: 18px; }
.detail .work { display: flex; justify-content: center; background: var(--wall-deep); padding: clamp(20px, 4vw, 56px); }
.detail .work button { all: unset; cursor: zoom-in; display: block; }
.detail .work button:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.detail .work img { width: auto; max-height: 72vh; }
.detail h1 { font-family: var(--serif); font-style: italic; font-size: clamp(36px, 4.2vw, 54px); font-weight: 360; }
.facts { margin: 22px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 18px; font-size: 15px; }
.facts dt { color: var(--graphite); }
.facts dd { margin: 0; font-variant-numeric: tabular-nums; }
.detail .desc { font-family: var(--serif); font-size: 19px; line-height: 1.55; margin-top: 26px; }
.detail .note { margin-top: 18px; }
.detail .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pager { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--rail); padding-top: 20px; margin-top: clamp(48px, 7vw, 96px); font-size: 15px; }
.pager a { text-decoration: none; }
.pager a span { display: block; color: var(--graphite); font-size: 13px; }
.pager a em { font-family: var(--serif); font-size: 19px; }
.pager .next { text-align: right; margin-left: auto; }

/* Vollansicht */
dialog.full { padding: 0; border: 0; background: var(--wall); max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.full::backdrop { background: rgba(27, 28, 31, 0.6); }
dialog.full .inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 56px 16px 16px; }
dialog.full img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
dialog.full .close { position: absolute; top: 12px; right: 16px; }

/* Über */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.prose p { font-family: var(--serif); font-size: 20px; line-height: 1.6; max-width: 32em; }
.prose p + p { margin-top: 1em; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 56px 0 18px; }
.prose blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.5; max-width: 30em; }
.prose .note { margin-top: 14px; }
.books { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 16px; }
.books em { font-family: var(--serif); font-size: 19px; }
.player { background: var(--wall-deep); padding: 22px; max-width: 34em; }
.player p { font-family: var(--sans); font-size: 15px; }
.player .meta { color: var(--graphite); margin-top: 4px; }

/* Kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
form { display: grid; gap: 18px; max-width: 34em; }
form p { margin: 0; }
label { display: grid; gap: 6px; font-size: 14px; color: var(--graphite); }
input, textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #F8F8F6; border: 1px solid var(--graphite); padding: 11px 12px; border-radius: 0;
}
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
input[readonly] { background: var(--wall-deep); }
.contact-form .hint { font-size: 14px; color: var(--graphite); }
.contact-form .field { display: grid; gap: 6px; }
.contact-form .field label { display: block; }
.field-error { font-size: 14px; color: #A3261C; margin: 0; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #A3261C; }
.form-status { font-size: 15px; padding: 10px 12px; border-left: 3px solid var(--graphite); background: var(--wall-deep); }
.form-status.error { border-left-color: #A3261C; color: var(--ink); }
.button[aria-busy="true"] { cursor: progress; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
textarea { min-height: 170px; resize: vertical; }

/* Fuß */
.site-foot { margin-top: clamp(80px, 12vw, 160px); border-top: 1px solid var(--rail); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding-block: 26px 40px; font-size: 14px; color: var(--graphite); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }

@media (max-width: 860px) {
  .person, .detail, .about, .contact, .section-head { grid-template-columns: minmax(0, 1fr); }
  .opening { grid-template-columns: minmax(0, 1fr); grid-template-areas: "work" "cap" "text"; }
  .opening .text { transform: none; margin-top: 20px; }
  .opening h1.brandmark { font-size: clamp(24px, 6.4vw, 40px); }
  @supports (font-size: 1cqi) { .opening h1.brandmark { font-size: clamp(24px, calc(100cqi / 11.4), 40px); } }
  .opening .work img, .detail .work img { max-height: 70vh; }
  .areas { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .row { flex-wrap: wrap; }
  .row figure { flex: 1 1 calc(50% - 20px); }
  .hang { --cm: calc((100vw - 2 * var(--gutter)) / 100); }
  .detail .work { padding: 16px; }
  .area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* mehrere Reihen grafischer Arbeiten */
.rows { display: grid; gap: clamp(36px, 5vw, 64px); }
.intro blockquote p { font-style: italic; }

/* Rechtliche Seiten */
.wrap.legal { display: grid; gap: 34px; margin-top: clamp(32px, 5vw, 56px); max-width: var(--max); }
.legal > * { max-width: 46em; }
.legal section + section { margin-top: 0; }
.legal h2 { font-size: 24px; margin-bottom: 10px; }
.legal p { font-family: var(--serif); font-size: 18px; line-height: 1.6; }
.legal p + p { margin-top: 0.8em; }
.legal .note { font-family: var(--sans); font-size: 13px; }
mark.ph { background: #FFF1B8; color: var(--ink); font-family: var(--sans); font-size: 0.82em; padding: 1px 5px; }

/* Überarbeitung 13.10.2026 */
.page-head.compact { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 32px; padding-top: clamp(8px, 2vw, 28px); }
.page-head.compact h1 { font-size: clamp(36px, 4.4vw, 56px); }
.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.jump a { padding-block: 4px; }
section.works-section { margin-top: clamp(24px, 3.5vw, 44px); }
section.works-section + section.works-section { margin-top: clamp(64px, 8vw, 104px); }
.works-section .section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: clamp(20px, 3vw, 32px); }
.works-section .section-head h2 { font-size: clamp(28px, 3vw, 38px); }
.section-head .sub { font-family: var(--sans); font-size: 15px; color: var(--graphite); }
.note-wrap { margin-top: clamp(32px, 5vw, 56px); }
.detail .id { font-size: 12px; color: var(--graphite); margin-top: 20px; letter-spacing: 0.02em; }
.mail-action { margin-top: 26px; }
.prose .hint { font-family: var(--sans); font-size: 14px; color: var(--graphite); margin-top: 14px; }
.prose .lead { font-size: 22px; }
.own { border-left: 2px solid var(--rail); padding-left: 18px; }
.own p + p { margin-top: 1em; }
.prose .note { font-family: var(--sans); font-size: 13px; line-height: 1.45; }
.area img { width: auto; height: clamp(110px, 13vw, 180px); max-width: 100%; justify-self: start; }
@media (max-width: 640px) { .row { max-width: none !important; } }
