/* PXbJ Agency – Anfrage-Formular als Seitenleiste von rechts
   Eingebaut Okt. 2026. Gehört zu agency-request.js.
   Das Formular steht als normales HTML hinter </x-dc> auf der Agency-Seite
   (nicht im React-Teil), damit Netlify es beim Veröffentlichen erkennt.
   Eingänge: Netlify > Projekt pxbj.us > Forms > "talent-request". */

.pxr-root[hidden] { display: none; }
.pxr-root {
  position: fixed;
  inset: 0;
  z-index: 100000;          /* über dem Cookie-Hinweis (99999) */
  font-family: 'Archivo', system-ui, sans-serif;
  color: #14121a;
}
.pxr-shade {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 26, 0.38);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pxr-panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(520px, 100%);
  background: #fff;
  box-shadow: -24px 0 60px rgba(61, 47, 34, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pxr-root.is-open .pxr-shade { opacity: 1; }
.pxr-root.is-open .pxr-panel { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pxr-shade, .pxr-panel { transition: none; }
}
.pxr-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(61, 47, 34, 0.12);
}
.pxr-head h2 {
  font-family: 'Bodoni Moda', serif;
  font-weight: 500;
  font-size: 26px;
  margin: 0;
}
.pxr-close {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(61, 47, 34, 0.25);
  background: #fff;
  color: #14121a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pxr-close:hover { background: #f7f1e6; }
.pxr-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 24px 28px 32px;
}
.pxr-intro { font-size: 14px; line-height: 1.6; color: #5c5046; margin: 0 0 22px; }
.pxr-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.pxr-field > label, .pxr-field > legend {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 7px;
  padding: 0;
}
.pxr-req { color: #8f1a63; }
.pxr-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #8a7f73; }
.pxr-field input[type=text], .pxr-field input[type=email], .pxr-field input[type=tel],
.pxr-field select, .pxr-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: #14121a;
  background: #fff;
  border: 1px solid rgba(61, 47, 34, 0.3);
  border-radius: 8px;
  padding: 11px 13px;
}
.pxr-field textarea { min-height: 110px; resize: vertical; }
.pxr-field input:focus, .pxr-field select:focus, .pxr-field textarea:focus {
  outline: 2px solid #7a5a2e;
  outline-offset: 1px;
  border-color: #7a5a2e;
}
.pxr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) {
  .pxr-row { grid-template-columns: 1fr; gap: 0; }
  .pxr-head, .pxr-body { padding-left: 20px; padding-right: 20px; }
}
.pxr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pxr-chips label { position: relative; cursor: pointer; }
.pxr-chips input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.pxr-chips span {
  display: inline-block;
  font-size: 13px;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid rgba(160, 122, 69, 0.45);
  color: #5c5046;
  transition: background 0.15s ease, color 0.15s ease;
}
.pxr-chips input:checked + span { background: #7a5a2e; border-color: #7a5a2e; color: #fff; }
.pxr-chips input:focus-visible + span { outline: 2px solid #8f1a63; outline-offset: 2px; }
.pxr-submit {
  display: block;
  width: 100%;
  margin: 8px 0 12px;
  background: #7a5a2e;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  border: 0;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
}
.pxr-submit:hover { background: #694d27; }
.pxr-submit[disabled] { opacity: 0.6; cursor: wait; }
.pxr-privacy { font-size: 12px; line-height: 1.55; color: #6b5f52; margin: 0; }
.pxr-privacy a { color: #14121a; text-decoration: underline; }
.pxr-error { font-size: 13px; color: #8f1a63; margin: 0 0 12px; }
.pxr-error[hidden] { display: none; }
.pxr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pxr-done { text-align: center; padding: 48px 8px; }
.pxr-done[hidden] { display: none; }
.pxr-done h3 { font-family: 'Bodoni Moda', serif; font-weight: 500; font-size: 26px; margin: 0 0 12px; }
.pxr-done p { font-size: 15px; line-height: 1.6; color: #5c5046; margin: 0 0 28px; }
html.pxr-lock, html.pxr-lock body { overflow: hidden; }
