/* /projekte – Akquise-Landingpage (pages/public/projekte.php) + Fehlerseite von pages/actions/rueckruf.php ohne JavaScript.
   Hell, flach, Gold #b9874b als einziger Akzent, Figtree 400/500 (aus style.css), mobil zuerst.
   Gold als Text nur in #8a6330/#825c29 (Kontrast ≥ 5:1), #b9874b nur als Linie, Punkt, Rahmen. */

.pj-body {
  --pj-bg: #faf9f6;
  --pj-surface: #ffffff;
  --pj-surface-2: #f3f2ee;
  --pj-ink: #171a21;
  --pj-soft: #5d6470;
  --pj-faint: #8b919b;
  --pj-line: rgba(23, 26, 33, 0.08);
  --pj-line-strong: rgba(23, 26, 33, 0.16);
  --pj-gold: #b9874b;
  --pj-gold-strong: #8a6330;
  --pj-gold-text: #825c29;
  --pj-gold-soft: rgba(185, 135, 75, 0.12);
  --pj-danger: #b42318;
  --pj-shadow-1: 0 1px 2px rgba(23, 26, 33, 0.04), 0 8px 24px rgba(23, 26, 33, 0.06);
  --pj-shadow-2: 0 2px 6px rgba(23, 26, 33, 0.05), 0 24px 60px rgba(23, 26, 33, 0.1);
  --pj-radius: 22px;
  --pj-ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--pj-bg);
  color: var(--pj-ink);
}
body.site-body.pj-body { background: var(--pj-bg); }
.site-body--public-premium .pj-page::before { display: none; }

.pj-page { font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; }
.pj-page *, .pj-case * { box-sizing: border-box; }
.pj-page h1, .pj-page h2, .pj-page h3, .pj-case h2, .pj-case h3 { font-weight: 500; color: var(--pj-ink); }
.pj-page p, .pj-case p { margin: 0; }

.pj-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 32px); }

/* ── Bausteine ─────────────────────────────────────────────────────────── */
.pj-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--pj-gold-text); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.pj-kicker::before { content: ""; width: 28px; height: 1px; background: var(--pj-gold); opacity: 0.7; }
.pj-gold { color: var(--pj-gold-strong); }
.pj-h2 { margin: 0; font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.06; letter-spacing: -0.035em; max-width: 22ch; }
.pj-head { margin-bottom: clamp(24px, 4vw, 40px); }
.pj-head__lead { margin-top: 14px !important; max-width: 60ch; color: var(--pj-soft); font-size: clamp(1rem, 1.6vw, 1.125rem); line-height: 1.6; }
.pj-section { padding-block: clamp(56px, 9vw, 112px); }
.pj-section + .pj-section { border-top: 1px solid var(--pj-line); }

.pj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 999px; font: inherit; font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; text-decoration: none;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s var(--pj-ease), box-shadow 0.3s var(--pj-ease), background 0.3s var(--pj-ease), border-color 0.3s var(--pj-ease);
}
.pj-btn--primary {
  background: linear-gradient(135deg, #d4b27d 0%, var(--pj-gold) 100%); color: var(--pj-ink);
  border-color: rgba(185, 135, 75, 0.3); box-shadow: 0 12px 28px rgba(185, 135, 75, 0.24);
}
.pj-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(185, 135, 75, 0.3); }
.pj-btn--ghost { background: var(--pj-surface); color: var(--pj-ink); border-color: var(--pj-line-strong); }
.pj-btn--ghost:hover { border-color: var(--pj-ink); transform: translateY(-2px); }
.pj-btn:active { transform: translateY(0) scale(0.98); }
.pj-btn--block { width: 100%; }
.pj-btn:focus-visible, .pj-chip:focus-visible, .pj-link-btn:focus-visible, .pj-card__media:focus-visible, .pj-case__close:focus-visible,
.pj-direct a:focus-visible, .pj-faq__item summary:focus-visible, .pj-hero__visual:focus-visible, .pj-slot input:focus-visible + span {
  outline: 2px solid var(--pj-gold-strong); outline-offset: 3px;
}

.pj-link-btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--pj-gold-text); text-decoration: underline;
  text-decoration-color: rgba(185, 135, 75, 0.45); text-underline-offset: 4px;
}
.pj-link-btn:hover { text-decoration-color: currentColor; }
.pj-link-btn--quiet { color: var(--pj-soft); text-decoration-color: var(--pj-line-strong); }

.pj-tag {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 999px;
  background: var(--pj-gold-soft); color: var(--pj-gold-text); font-size: 0.82rem; font-weight: 500;
}

/* Browser- und Handy-Rahmen */
.pj-browser {
  position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--pj-surface);
  border: 1px solid var(--pj-line); box-shadow: var(--pj-shadow-2);
}
.pj-browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f6f5f2; border-bottom: 1px solid var(--pj-line); }
.pj-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #dcd9d3; flex: none; }
.pj-browser__url {
  margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: var(--pj-surface); color: var(--pj-faint);
  font-size: 0.72rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.pj-browser picture, .pj-phone picture { display: block; }
.pj-browser__shot { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: var(--pj-surface-2); }
.pj-phone {
  display: block; overflow: hidden; aspect-ratio: 390 / 844; border-radius: 22px; background: var(--pj-ink);
  border: 5px solid var(--pj-ink); box-shadow: 0 18px 40px rgba(23, 26, 33, 0.22);
}
.pj-phone__shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; background: var(--pj-surface-2); }

/* ── Vorschau-Hinweis (nur Tobias) ─────────────────────────────────────── */
.pj-preview-note {
  max-width: 1200px; margin: calc(96px + env(safe-area-inset-top, 0px)) auto 0; padding: 12px 16px;
  margin-inline: max(16px, calc((100% - 1200px) / 2 + 32px));
  border: 1.5px dashed rgba(185, 135, 75, 0.7); border-radius: 14px; background: #fffdf9;
  color: var(--pj-soft); font-size: 0.9rem; line-height: 1.5;
}
.pj-preview-note strong { color: var(--pj-ink); font-weight: 500; }
.pj-preview-note code { font-size: 0.85em; background: var(--pj-surface-2); padding: 1px 6px; border-radius: 6px; }
.pj-preview-note + .pj-hero { padding-top: 28px; }

/* ── Einstieg ──────────────────────────────────────────────────────────── */
.pj-hero { padding: calc(112px + env(safe-area-inset-top, 0px)) 0 clamp(48px, 8vw, 96px); }
.pj-hero__grid { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
.pj-ribbon {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px !important; padding: 8px 14px; border-radius: 999px;
  background: var(--pj-surface); border: 1px solid var(--pj-line); box-shadow: var(--pj-shadow-1); font-size: 0.9rem; color: var(--pj-ink);
}
.pj-ribbon__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pj-gold); }
.pj-hero__title { margin: 0; font-size: clamp(2.35rem, 6.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.045em; max-width: 14ch; }
.pj-hero__lead { margin-top: 22px !important; max-width: 52ch; color: var(--pj-soft); font-size: clamp(1.05rem, 1.8vw, 1.2rem); line-height: 1.6; }
.pj-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pj-hero__facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--pj-line); color: var(--pj-soft); font-size: 0.95rem; }
.pj-hero__facts strong { color: var(--pj-ink); font-weight: 500; }
.pj-hero__visual { position: relative; display: block; padding: 0 10% 12% 0; text-decoration: none; color: inherit; }
.pj-phone--hero { position: absolute; right: 0; bottom: 0; width: 27%; }
.pj-hero__caption {
  position: absolute; left: 14px; bottom: calc(12% - 18px); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--pj-line); box-shadow: var(--pj-shadow-1); font-size: 0.82rem; color: var(--pj-soft);
}

/* ── Projekte ──────────────────────────────────────────────────────────── */
.pj-filters { display: grid; gap: 12px; margin-bottom: 28px; }
.pj-filter {
  display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px;
  margin-inline: -2px; -webkit-overflow-scrolling: touch;
}
.pj-filter::-webkit-scrollbar { display: none; }
.pj-filter__label { flex: none; min-width: 68px; color: var(--pj-faint); font-size: 0.82rem; }
.pj-chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pj-line-strong);
  background: var(--pj-surface); color: var(--pj-ink); font: inherit; font-size: 0.92rem; cursor: pointer; white-space: nowrap;
  transition: background 0.25s var(--pj-ease), color 0.25s var(--pj-ease), border-color 0.25s var(--pj-ease);
}
.pj-chip:hover { border-color: var(--pj-ink); }
.pj-chip[aria-pressed="true"] { background: var(--pj-ink); border-color: var(--pj-ink); color: #fff; }
.pj-filter__count { color: var(--pj-faint); font-size: 0.88rem; }

.pj-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.pj-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--pj-radius);
  background: var(--pj-surface); border: 1px solid var(--pj-line); box-shadow: var(--pj-shadow-1);
  transition: transform 0.45s var(--pj-ease), box-shadow 0.45s var(--pj-ease);
}
.pj-card:hover { transform: translateY(-4px); box-shadow: var(--pj-shadow-2); }
.pj-card[hidden] { display: none; }
.pj-card:target { outline: 2px solid var(--pj-gold); outline-offset: 4px; }
.pj-card__media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 11; overflow: hidden; padding: 22px 22px 0; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #f4f2ee 0%, #ecebe6 100%); font: inherit; text-align: left;
}
.pj-browser--card { box-shadow: 0 10px 30px rgba(23, 26, 33, 0.12); transition: transform 0.6s var(--pj-ease); }
.pj-card:hover .pj-browser--card { transform: translateY(-6px); }
.pj-phone--card { position: absolute; right: 16px; bottom: -28px; width: 23%; border-width: 4px; border-radius: 18px; }
.pj-phone--card .pj-phone__shot { border-radius: 14px; }
.pj-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 18px; flex: 1; }
.pj-card__meta { color: var(--pj-faint); font-size: 0.85rem; }
.pj-card__title { margin: 0; font-size: 1.35rem; letter-spacing: -0.02em; }
.pj-card__teaser { color: var(--pj-soft); line-height: 1.55; }
.pj-card .pj-tag { align-self: flex-start; margin-top: 2px; }
.pj-card__actions { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: auto; padding-top: 6px; }
.pj-empty { margin-top: 18px !important; color: var(--pj-soft); }
.pj-empty[hidden] { display: none; }

/* Noch nicht freigegeben (nur in der Vorschau) */
.pj-card--draft { border: 2px dashed rgba(185, 135, 75, 0.75); box-shadow: none; }
.pj-draft-badge {
  display: grid; gap: 2px; padding: 10px 16px; background: #fffaf2; border-bottom: 1px dashed rgba(185, 135, 75, 0.6);
  color: var(--pj-gold-text); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
}
.pj-draft-badge span { color: var(--pj-soft); font-weight: 400; letter-spacing: 0; }
.pj-placeholder {
  padding: 14px 16px !important; border: 1.5px dashed rgba(185, 135, 75, 0.65); border-radius: 14px; background: #fffdf9;
  color: var(--pj-soft) !important; font-size: 0.9rem; line-height: 1.5;
}
.pj-placeholder h3 { color: var(--pj-gold-text) !important; }
.pj-placeholder--inline { margin: 0 0 18px !important; }
.pj-placeholder code { font-size: 0.85em; }

/* ── Fallstudie (dialog) ───────────────────────────────────────────────── */
.pj-case {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: var(--pj-surface); color: var(--pj-ink); font-family: "Figtree", system-ui, sans-serif; overscroll-behavior: contain;
}
.pj-case::backdrop { background: rgba(17, 19, 24, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pj-case[open] { animation: pj-case-in 0.42s var(--pj-ease); }
@keyframes pj-case-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pj-case__inner { padding: calc(18px + env(safe-area-inset-top, 0px)) clamp(18px, 4vw, 44px) calc(28px + env(safe-area-inset-bottom, 0px)); }
.pj-case__head { position: sticky; top: 0; z-index: 2; display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin: 0 calc(-1 * clamp(18px, 4vw, 44px)) 18px; padding: 10px clamp(18px, 4vw, 44px) 14px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--pj-line); }
.pj-case__title { margin: 4px 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; }
.pj-case__teaser { color: var(--pj-soft); max-width: 62ch; line-height: 1.55; }
.pj-case__close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pj-line-strong); background: var(--pj-surface);
  color: var(--pj-ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.pj-case__close:hover { border-color: var(--pj-ink); }
.pj-case__visual { display: grid; gap: 16px; align-items: end; }
.pj-case__fig { margin: 0; }
.pj-case__fig figcaption { margin-top: 8px; color: var(--pj-faint); font-size: 0.85rem; }
.pj-case__img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--pj-line); }
.pj-case__fig--phone { display: none; }
.pj-case__captured { margin-top: 10px !important; color: var(--pj-faint); font-size: 0.8rem; }
.pj-case__story { display: grid; gap: 22px; margin: 30px 0; }
.pj-case__story h3, .pj-case__features h3 {
  margin: 0 0 8px; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pj-gold-text);
}
.pj-case__story p { color: var(--pj-ink); line-height: 1.65; font-size: 1.02rem; }
.pj-case__metrics { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.pj-case__metrics li { display: grid; gap: 2px; padding: 16px; border-radius: 14px; background: var(--pj-surface-2); }
.pj-case__metrics strong { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.03em; }
.pj-case__metrics small { color: var(--pj-faint); }
.pj-case__features ul { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; }
.pj-case__features li { position: relative; padding-left: 26px; line-height: 1.5; }
.pj-case__features li::before { content: ""; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--pj-gold); }
.pj-case__facts { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 28px; padding: 18px 0; border-block: 1px solid var(--pj-line); }
.pj-case__facts dt { color: var(--pj-faint); font-size: 0.8rem; }
.pj-case__facts dd { margin: 2px 0 0; font-size: 0.98rem; }
.pj-case__actions { display: flex; flex-wrap: wrap; gap: 12px; }
html.pj-lock, html.pj-lock body { overflow: hidden; }

/* ── Ablauf ────────────────────────────────────────────────────────────── */
.pj-process { background: var(--pj-surface); }
.pj-steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pj-step { position: relative; padding: 22px; border-radius: 18px; background: var(--pj-bg); border: 1px solid var(--pj-line); }
.pj-step__n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(185, 135, 75, 0.55);
  color: var(--pj-gold-text); font-size: 0.9rem; font-weight: 500;
}
.pj-step h3 { margin: 14px 0 6px; font-size: 1.15rem; letter-spacing: -0.015em; }
.pj-step p { color: var(--pj-soft); line-height: 1.55; font-size: 0.97rem; }

/* ── Einstiegsangebot ──────────────────────────────────────────────────── */
.pj-offer__grid { display: grid; gap: 22px; align-items: start; }
.pj-offer__main {
  position: relative; overflow: hidden; padding: clamp(24px, 4vw, 40px); border-radius: 26px; background: var(--pj-surface);
  border: 1px solid rgba(185, 135, 75, 0.38); box-shadow: var(--pj-shadow-2);
}
.pj-offer__main::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--pj-gold); }
.pj-offer__aktion { margin-bottom: 18px !important; padding: 12px 14px; border-radius: 12px; background: var(--pj-gold-soft); color: var(--pj-ink); line-height: 1.5; }
.pj-offer__aktion strong { color: var(--pj-gold-text); font-weight: 500; }
.pj-offer__label { color: var(--pj-gold-text); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
.pj-offer__price-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; margin-top: 10px; }
.pj-offer__name { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.03em; }
.pj-offer__price { font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; letter-spacing: -0.045em; font-weight: 500; }
.pj-offer__tax { margin-top: 10px !important; color: var(--pj-soft); font-size: 0.9rem; }
.pj-offer__summary { margin-top: 18px !important; color: var(--pj-ink); line-height: 1.6; font-size: 1.05rem; }
.pj-checks { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; }
.pj-checks li { position: relative; padding-left: 30px; line-height: 1.5; }
.pj-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 18px; height: 18px; border-radius: 50%; background: var(--pj-gold-soft);
}
.pj-checks li::after {
  content: ""; position: absolute; left: 6px; top: calc(0.2em + 4px); width: 5px; height: 9px; border: solid var(--pj-gold-strong);
  border-width: 0 1.8px 1.8px 0; transform: rotate(45deg);
}
.pj-checks--small { gap: 8px; margin-top: 14px; font-size: 0.93rem; color: var(--pj-soft); }
.pj-offer__note { margin-top: 18px !important; color: var(--pj-soft); font-size: 0.92rem; line-height: 1.55; }
.pj-offer__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.pj-offer__more { display: grid; gap: 14px; }
.pj-offer__more-title { color: var(--pj-faint); font-size: 0.85rem; }
.pj-mini { padding: 22px; border-radius: 20px; background: var(--pj-surface); border: 1px solid var(--pj-line); }
.pj-mini__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pj-mini h3 { margin: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.pj-mini__price { font-size: 1.45rem; font-weight: 500; letter-spacing: -0.03em; white-space: nowrap; }
.pj-mini__summary { margin-top: 8px !important; color: var(--pj-soft); font-size: 0.95rem; line-height: 1.5; }
.pj-mini .pj-link-btn { margin-top: 8px; }
.pj-offer__fine { color: var(--pj-faint); font-size: 0.85rem; line-height: 1.55; }

/* ── Rückruf ───────────────────────────────────────────────────────────── */
.pj-contact { background: var(--pj-surface); }
.pj-contact__grid { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
.pj-person { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.pj-person__mono {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--pj-ink); color: #e8cf9a;
  font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; flex: none;
}
.pj-person__name { font-weight: 500; font-size: 1.05rem; }
.pj-person__role { color: var(--pj-soft); font-size: 0.92rem; }
.pj-direct { display: grid; gap: 0; margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--pj-line); }
.pj-direct a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 2px;
  border-bottom: 1px solid var(--pj-line); color: var(--pj-ink); text-decoration: none;
}
.pj-direct a::after { content: "→"; color: var(--pj-gold-strong); transition: transform 0.3s var(--pj-ease); }
.pj-direct a:hover::after { transform: translateX(4px); }
.pj-direct__k { color: var(--pj-soft); font-size: 0.9rem; min-width: 86px; }
.pj-direct__v { flex: 1; font-weight: 500; overflow-wrap: anywhere; }

.pj-form-card { padding: clamp(20px, 4vw, 36px); border-radius: 26px; background: var(--pj-bg); border: 1px solid var(--pj-line); }
.pj-form { display: grid; gap: 16px; }
.pj-form[hidden], .pj-done[hidden], .pj-form__error[hidden], .pj-sticky[hidden] { display: none !important; }
.pj-field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.pj-field label, .pj-field legend { color: var(--pj-ink); font-size: 0.92rem; font-weight: 500; padding: 0; }
.pj-optional { color: var(--pj-faint); font-weight: 400; font-size: 0.85rem; }
.pj-field input[type="text"], .pj-field input[type="tel"], .pj-field input[type="email"], .pj-field select, .pj-field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--pj-line-strong); background: var(--pj-surface);
  color: var(--pj-ink); font: inherit; font-size: 16px; line-height: 1.4; transition: border-color 0.2s, box-shadow 0.2s;
}
.pj-field textarea { min-height: 96px; resize: vertical; }
.pj-field input:focus, .pj-field select:focus, .pj-field textarea:focus {
  outline: none; border-color: var(--pj-gold-strong); box-shadow: 0 0 0 3px rgba(185, 135, 75, 0.22);
}
.pj-field [aria-invalid="true"] { border-color: var(--pj-danger) !important; }
.pj-field__error { color: var(--pj-danger); font-size: 0.85rem; }
.pj-slots__row { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-slot { position: relative; }
.pj-slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pj-slot span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--pj-line-strong);
  background: var(--pj-surface); font-size: 0.93rem; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pj-slot input:checked + span { background: var(--pj-ink); border-color: var(--pj-ink); color: #fff; }
.pj-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pj-form__error { padding: 12px 14px; border-radius: 12px; background: #fff5f4; color: var(--pj-danger); font-size: 0.93rem; line-height: 1.45; }
.pj-form__privacy { color: var(--pj-faint); font-size: 0.83rem; line-height: 1.5; }
.pj-form__privacy a { color: var(--pj-soft); }
.pj-btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.pj-done { display: grid; gap: 10px; justify-items: start; padding: 12px 4px; outline: none; }
.pj-done__icon { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--pj-gold-soft); }
.pj-done__icon::after {
  content: ""; position: absolute; left: 19px; top: 13px; width: 12px; height: 22px; border: solid var(--pj-gold-strong);
  border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.pj-done h3 { margin: 4px 0 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.pj-done p { color: var(--pj-soft); line-height: 1.55; }
.pj-done a { color: var(--pj-gold-text); }

/* ── Fragen ────────────────────────────────────────────────────────────── */
.pj-faq__wrap { max-width: 920px; }
.pj-faq__list { border-top: 1px solid var(--pj-line); }
.pj-faq__item { border-bottom: 1px solid var(--pj-line); }
.pj-faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 14px 2px;
  cursor: pointer; list-style: none;
}
.pj-faq__item summary::-webkit-details-marker { display: none; }
.pj-faq__item summary h3 { margin: 0; font-size: clamp(1.05rem, 2vw, 1.2rem); letter-spacing: -0.015em; line-height: 1.35; }
.pj-faq__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--pj-line-strong); }
.pj-faq__icon::before, .pj-faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--pj-ink); transform: translate(-50%, -50%);
  transition: transform 0.3s var(--pj-ease);
}
.pj-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.pj-faq__item[open] .pj-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.pj-faq__item p { padding: 0 2px 22px; color: var(--pj-soft); line-height: 1.65; max-width: 70ch; }

/* ── Schluss ───────────────────────────────────────────────────────────── */
.pj-final { padding-block: clamp(56px, 9vw, 104px); background: var(--pj-surface); border-top: 1px solid var(--pj-line); }
.pj-final__inner { text-align: center; }
.pj-final .pj-h2 { margin-inline: auto; position: relative; padding-top: 26px; }
.pj-final .pj-h2::before { content: ""; position: absolute; left: 50%; top: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--pj-gold); transform: translateX(-50%); }
.pj-final .pj-hero__actions { justify-content: center; }

/* ── Mobile Leiste ─────────────────────────────────────────────────────── */
.pj-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--pj-line);
  animation: pj-sticky-in 0.35s var(--pj-ease);
}
@keyframes pj-sticky-in { from { transform: translateY(100%); } to { transform: none; } }
.pj-sticky__call {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--pj-line-strong);
  background: var(--pj-surface); color: var(--pj-ink); text-decoration: none; font-size: 1.2rem;
}

/* ── Kleine Seite: Formular-Fehler ohne JavaScript (pages/actions/rueckruf.php) ──── */
.pj-mini-page {
  margin: 0; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; background: #faf9f6; color: #171a21;
  font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pj-mini-card {
  width: 100%; max-width: 520px; padding: clamp(24px, 6vw, 40px); border-radius: 24px; background: #fff; border: 1px solid rgba(23, 26, 33, 0.08);
  box-shadow: 0 2px 6px rgba(23, 26, 33, 0.05), 0 24px 60px rgba(23, 26, 33, 0.1); border-top: 3px solid #b9874b;
}
.pj-mini-card h1 { margin: 0 0 12px; font-size: 1.7rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.pj-mini-card p { margin: 0 0 14px; color: #5d6470; line-height: 1.6; }
.pj-mini-card ul { color: #5d6470; }
.pj-mini-card form { margin: 22px 0 0; }
.pj-mini-card .pj-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; border: 1px solid rgba(185, 135, 75, 0.3);
  background: linear-gradient(135deg, #d4b27d 0%, #b9874b 100%); color: #171a21;
}
.pj-mini-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #171a21; font-weight: 500; text-decoration: none; }
.pj-mini-logo img { width: 28px; height: 28px; }

.pj-sticky__call svg { width: 22px; height: 22px; }

/* ── Größere Bildschirme ───────────────────────────────────────────────── */
@media (max-width: 719px) {
  .pj-hero__caption { position: static; display: inline-block; margin-top: 16px; }
  .pj-hero__visual { padding-bottom: 0; }
  .pj-phone--hero { bottom: 46px; }
}
@media (min-width: 720px) {
  .pj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-filters { grid-template-columns: 1fr; }
  .pj-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-case { width: min(1080px, calc(100vw - 48px)); height: auto; max-height: calc(100dvh - 48px); margin: auto; border-radius: 26px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3); }
  .pj-case__inner { padding-top: 18px; }
  .pj-case__visual { grid-template-columns: minmax(0, 1fr) 180px; }
  .pj-case__fig--phone { display: block; }
  .pj-case__visual:has(.pj-case__fig:nth-child(3):not(.pj-case__fig--phone)) { grid-template-columns: 1fr 1fr; }
  .pj-sticky { display: none !important; }
}
@media (min-width: 960px) {
  .pj-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
  .pj-offer__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
  .pj-contact__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .pj-case__story { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .pj-case__metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pj-contact__intro { position: sticky; top: 110px; }
}
@media (min-width: 1140px) {
  .pj-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pj-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Sanftes Einblenden beim Scrollen, nur wo der Browser es nativ kann – ohne Unterstützung bleibt alles sichtbar. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pj-card, .pj-step, .pj-mini { animation: pj-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
    @keyframes pj-rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
  }
}

@media (prefers-reduced-motion: reduce) {
  .pj-btn, .pj-card, .pj-browser--card, .pj-chip, .pj-direct a::after, .pj-faq__icon::before, .pj-faq__icon::after { transition: none !important; }
  .pj-card:hover, .pj-card:hover .pj-browser--card, .pj-btn:hover { transform: none !important; }
  .pj-case[open], .pj-sticky { animation: none !important; }
}
