/* „Ask about this work“ (02.12.2026): Werkkachel mit Anfrage-Streifen, Pop-up, Seite /request.
   Gehoert zu assets/inquiry.js und site/plugins/gtw-inquiry. */

/* ---------- Werkkachel: 3:2-Rahmen, darin das Bild im eigenen Format ---------- */
.ex-figure__box { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; width: 100%; margin: 0 0 .75rem; }
.ex-figure__pic { display: block; max-width: 100%; max-height: 100%; }
.ex-figure__pic--land { width: 100%; }
.ex-figure__pic--port { height: 100%; }
.ex-figure__pic .ex-figure__zoom { display: block; width: 100%; height: 100%; }
.ex-section--works .ex-figure__box .ex-figure__img,
.ex-figure__box .ex-figure__img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; margin: 0; background: var(--tile, #f2f2f0); }
.ex-figure__box--tile .ex-figure__img { background: transparent; }

/* Streifen von unten ueber die ganze Kachelbreite (3:2-Rahmen), schwarz, weisse fette Schrift; nur Geraete mit Maus (02.12.2026) */
.ex-figure__ask {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  transform: translateY(101%); transition: transform .25s ease;
  min-height: 2.75rem; padding: .7rem .5rem; border: 0; margin: 0;
  background: #111;                   /* schwarz mit weisser Schrift (02.12.2026, Philip) */
  font: inherit; font-size: .9rem; font-weight: 700;   /* wie der Kuenstlerinnenname in der Bildunterschrift */ letter-spacing: .02em; color: #fff; white-space: nowrap; text-align: center; cursor: pointer;
}
.ex-figure__box:hover .ex-figure__ask, .ex-figure__ask:focus-visible { transform: translateY(0); }
.ex-figure__ask:hover { background: #111; color: #fff; text-decoration: none; }
.ex-figure__ask:focus-visible { outline: 1px solid #fff; outline-offset: -4px; }

/* Textlink unter der Bildunterschrift: nur Touch-Geraete */
.ex-figure__asklink {
  display: none; margin: .35rem auto 0; padding: .35rem 0; border: 0; background: none;
  font: inherit; font-size: .85rem; color: #111; text-decoration: underline; text-underline-offset: .25em; cursor: pointer;
}
@media (hover: none), (pointer: coarse) {
  .ex-figure__ask { display: none; }
  .ex-figure__asklink { display: block; }
}
@media (prefers-reduced-motion: reduce) { .ex-figure__ask { transition: none; } }

/* Kuenstlerinnen-Seite: Einstieg unter About */
.artist-ask { margin: 1.5rem 0 0; text-align: center; }
.artist-ask__btn {
  font: inherit; color: #111; background: none; border: 0; border-bottom: 1px solid #111; padding: .4rem 0; cursor: pointer;
}
.artist-ask__btn:hover { color: #8a8a8a; border-color: #8a8a8a; }

/* ---------- Pop-up ---------- */
html.inq-open { overflow: hidden; }
.inq {
  position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.inq[hidden] { display: none; }
.inq__dlg {
  position: relative; width: min(32.5rem, 100%); max-height: calc(100vh - 2rem); overflow: auto;
  background: #fff; border: 1px solid #111; padding: 2.2rem 2rem 1.8rem; color: #111;
}
@media (max-width: 560px) {
  .inq { align-items: flex-end; padding: 0; }
  .inq__dlg { border-width: 1px 0 0; padding: 2rem 1.25rem 1.5rem; max-height: 92vh; }
}
.inq__x { position: absolute; top: .6rem; right: .6rem; width: 2.75rem; height: 2.75rem; border: 0; background: none; padding: .8rem; cursor: pointer; color: #111; }
.inq__x svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; }
.inq__back { border: 0; background: none; padding: .4rem 0; margin: -.4rem 0 .4rem; font: inherit; font-size: .8rem; color: #8a8a8a; cursor: pointer; }
.inq__back:hover { color: #111; }
.inq__ctx { display: flex; gap: .9rem; align-items: center; margin: 0 2.2rem 1.5rem 0; }
.inq__ctx img { width: 4rem; height: 4rem; object-fit: contain; background: #f2f2f0; flex: none; }
.inq__ctx p { margin: 0; font-size: .85rem; line-height: 1.45; }
.inq__q { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: 0 0 1rem; }
.inq__q:focus { outline: none; }
.inq__lead { margin: -.4rem 0 1.2rem; font-size: .9rem; }
.inq__choice {
  display: block; width: 100%; min-height: 2.75rem; margin: 0 0 .7rem; padding: 1rem 1.1rem;
  font: inherit; font-size: .95rem; text-align: left; color: #111; background: #fff; border: 1px solid #111; cursor: pointer;
}
.inq__choice:hover { background: #111; color: #fff; }
.inq__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 .9rem; }
.inq__chip {
  min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid #111; border-radius: 99px; background: #fff;
  font: inherit; font-size: .85rem; color: #111; cursor: pointer;
}
.inq__chip[aria-pressed="true"] { background: #111; color: #fff; }
.inq__nopref {
  display: block; width: 100%; min-height: 2.75rem; padding: .8rem 1rem; border: 1px dashed #9a9a9a; background: #fff;
  font: inherit; font-size: .85rem; color: #444; text-align: left; cursor: pointer;
}
.inq__nopref[aria-pressed="true"] { border: 1px solid #111; color: #111; font-weight: 700; }
.inq__other { margin: .2rem 0 .9rem; }
.inq__other[hidden] { display: none; }
.inq label { display: block; font-size: .8rem; margin: 0 0 .3rem; }
.inq label span, .inq-inline label span { color: #8a8a8a; }
.inq-inline label { display: block; font-size: .8rem; margin: 0 0 .3rem; }
.inq input, .inq textarea, .inq-inline input, .inq-inline textarea {
  display: block; width: 100%; margin: 0 0 1.1rem; padding: .5rem 0; border: 0; border-bottom: 1px solid #111; border-radius: 0;
  background: transparent; font: inherit; font-size: 16px; color: #111;
}
.inq textarea, .inq-inline textarea { resize: vertical; min-height: 4.5rem; }
.inq input:focus, .inq textarea:focus, .inq-inline input:focus, .inq-inline textarea:focus { outline: none; border-bottom-width: 2px; }
.inq__hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.inq__sum { font-size: .8rem; color: #444; background: #f2f2f0; padding: .6rem .8rem; margin: 0 0 1.2rem; }
.inq__send {
  display: block; width: 100%; min-height: 2.75rem; padding: .95rem; border: 1px solid #111; background: #111; color: #fff;
  font: inherit; font-size: .9rem; font-weight: 700;   /* wie der Kuenstlerinnenname in der Bildunterschrift */ letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.inq__send:hover { background: #333; }
.inq__send:disabled { opacity: .6; cursor: default; }
.inq__next, .inq__close { margin-top: 1rem; }
.inq__err { color: #b3261e; font-size: .8rem; margin: -.8rem 0 .8rem; min-height: 0; }
.inq__err:empty { display: none; }
#inq-serr, #inq-rerr { margin: .7rem 0 0; }
.inq__priv { font-size: .72rem; line-height: 1.5; color: #8a8a8a; margin: .9rem 0 0; }
.inq__priv a { color: inherit; text-decoration: underline; }
.inq__thanks p { margin: 0 0 1rem; }

/* ---------- Seite /request ---------- */
.inq-page { max-width: 35rem; margin: 0 auto; padding-top: 7rem; padding-bottom: 5rem; }
.inq-page__img { display: block; width: 100%; height: auto; margin: 0 0 1.5rem; }
.inq-page__title { font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.15; margin: 0 0 .3rem; }
.inq-page__sub { color: #8a8a8a; font-size: .9rem; margin: 0 0 1.6rem; }
.inq-inline { margin-top: 1.5rem; }

/* ---------- Availability and pricing / Curators and press auf Ausstellungs- und Kuenstlerinnen-Seiten ---------- */
.contact-more { text-align: left; }
.contact-more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; row-gap: 2rem; max-width: 1100px; margin: 0 auto; }
.contact-more__grid p { margin: 0 0 1.4rem; line-height: 1.5; max-width: 34em; }
.contact-more__grid a { color: inherit; text-decoration: none; }
.contact-more__grid a:hover { text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 700px) { .contact-more__grid { grid-template-columns: 1fr; } }
.contact-more__btn {
  font: inherit; color: #111; background: none; border: 0; border-bottom: 1px solid #111; padding: .3rem 0; cursor: pointer; text-align: left;
}
.contact-more__btn:hover { color: #8a8a8a; border-color: #8a8a8a; }
.contact-more__grid .contact-more__mail { font-size: .8rem; color: #8a8a8a; margin-top: -.6rem; }
