/* =====================================================================
   Projektseite (/projekte): dunkle Bühne, Feature-Projekt und
   typografischer Projekt-Index mit Vorschau am Cursor.
   ===================================================================== */
.pjv { --g: #C9A36A; --bg: #0F1D16; --ink: #F4EFE6; position: relative; background: radial-gradient(90% 60% at 85% 0%, rgba(201,163,106,.12), transparent 60%), var(--bg); color: var(--ink); padding: clamp(120px, 13vw, 170px) 0 clamp(72px, 9vw, 128px); overflow: hidden; }
.pjv__empty { text-align: center; color: rgba(244,239,230,.6); padding: 40px; }

/* ---------- Intro ---------- */
.pjv__intro { margin-bottom: clamp(36px, 5vw, 64px); }
.pjv__h1 { margin: 0; max-width: 14ch; font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.8rem, 7.2vw, 6.4rem); line-height: .98; letter-spacing: -.035em; color: #fff; text-align: left; }
.pjv__h1 em { font-style: normal; color: var(--g); }
.pjv__lead { margin: 22px 0 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: rgba(244,239,230,.7); }
.pjv__intro > * { animation: pjv-up .9s cubic-bezier(.16,1,.3,1) both; }
.pjv__intro > *:nth-child(2) { animation-delay: .08s; }

/* ---------- Feature ---------- */
.pjv__feature { position: relative; display: block; overflow: hidden; border-radius: 24px; aspect-ratio: 21 / 9; min-height: 380px; color: #fff; text-decoration: none; background: #0A140E; animation: pjv-up 1s cubic-bezier(.16,1,.3,1) .15s both; }
.pjv__feature-img { position: absolute; top: 0; bottom: 0; right: 0; left: 22%; width: 78%; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 18%, #000 48%); object-fit: cover; object-position: 50% 45%; transform: scale(1.06); animation: pjv-kb 18s ease-in-out infinite alternate; }
.pjv__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0A140E 0%, rgba(10,20,14,.85) 30%, rgba(10,20,14,.35) 52%, transparent 72%), linear-gradient(0deg, rgba(10,20,14,.55) 0%, transparent 35%); }
.pjv__feature-body { position: absolute; left: clamp(24px, 4vw, 56px); bottom: clamp(24px, 4vw, 52px); z-index: 1; max-width: 520px; }
.pjv__feature-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; color: rgba(244,239,230,.8); }
.pjv__feature-title { margin: 0; font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; color: #fff; }
.pjv__feature-desc { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: rgba(244,239,230,.8); }
.pjv__feature-go { position: absolute; right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--g); color: #13241B; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.pjv__feature-go svg { width: 24px; height: 24px; }
@media (hover: hover) { .pjv__feature:hover .pjv__feature-go { transform: rotate(45deg) scale(1.06); } }

/* ---------- Index ---------- */
.pjv__index { margin-top: clamp(56px, 7vw, 104px); }
.pjv__bar { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-bottom: 18px; }
.pjv__tab { position: relative; padding: 8px 0; border: 0; background: none; color: rgba(244,239,230,.5); font: 500 clamp(16px, 1.4vw, 19px)/1 var(--ff-body); cursor: pointer; transition: color .25s; }
.pjv__tab sup { margin-left: 3px; font-size: .62em; font-weight: 600; color: var(--g); opacity: .8; }
.pjv__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--g); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16,1,.3,1); }
.pjv__tab:hover { color: #fff; }
.pjv__tab.is-on { color: #fff; }
.pjv__tab.is-on::after { transform: scaleX(1); }
.pjv__tab:focus-visible { outline: 2px solid var(--g); outline-offset: 4px; }

.pjv__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244,239,230,.14); }
.pjv__item { border-bottom: 1px solid rgba(244,239,230,.14); animation: pjv-up .7s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d, 0) * 60ms + 200ms); }
.pjv__item.is-out { display: none; }
.pjv__row { display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; align-items: center; gap: 24px; padding: clamp(20px, 2.4vw, 30px) 0; color: inherit; text-decoration: none; }
.pjv__thumb { display: none; }
.pjv__name { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.03em; color: rgba(244,239,230,.42); transition: color .35s, transform .6s cubic-bezier(.16,1,.3,1); }
.pjv__meta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; font-size: 14px; color: rgba(244,239,230,.6); text-align: right; }
.pjv__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(244,239,230,.22); color: var(--ink); transition: background .35s, border-color .35s, color .35s, transform .5s cubic-bezier(.16,1,.3,1); }
.pjv__go:empty { border-style: dashed; border-color: rgba(244,239,230,.14); }
.pjv__go svg { width: 20px; height: 20px; }
.pjv__desc { display: none; }
.pjv__wip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--ink); font-size: 12.5px; font-weight: 600; }
.pjv__wip i { width: 7px; height: 7px; border-radius: 50%; background: #E39B2D; animation: pjv-pulse 2s infinite; }
@media (hover: hover) {
  .pjv__row:hover .pjv__name { color: #fff; transform: translateX(14px); }
  .pjv__row.is-link:hover .pjv__go { background: var(--g); border-color: var(--g); color: #13241B; transform: rotate(45deg); }
}
.pjv__row:focus-visible { outline: 2px solid var(--g); outline-offset: 4px; border-radius: 8px; }

/* Vorschau am Cursor (nur Maus) */
.pjv__cursor { position: fixed; left: 0; top: 0; z-index: 30; width: 340px; aspect-ratio: 4 / 3; margin: 0; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(36px, -50%, 0) scale(.85); transition: opacity .3s ease, transform .45s cubic-bezier(.16,1,.3,1); box-shadow: 0 30px 70px rgba(0,0,0,.45); background: linear-gradient(145deg, #1F3A2E, #2D5241); }
.pjv__cursor.is-on { opacity: 1; }
.pjv__cursor img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }
.pjv__cursor b { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--ff-display); font-weight: 500; font-size: 4.5rem; letter-spacing: .02em; color: var(--g); }
.pjv__cursor.is-mono img { display: none; }
.pjv__cursor.is-mono b { display: grid; }
@media (hover: none), (max-width: 900px) { .pjv__cursor { display: none; } }

@keyframes pjv-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pjv-kb { from { transform: scale(1.06) translateX(0); } to { transform: scale(1.12) translateX(-1.5%); } }
@keyframes pjv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .pjv { padding-top: 112px; }
  .pjv__feature { aspect-ratio: 4 / 5; min-height: 0; border-radius: 20px; }
  .pjv__feature-img { left: 0; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .pjv__feature::after { background: linear-gradient(0deg, rgba(10,20,14,.97) 0%, rgba(10,20,14,.9) 38%, rgba(10,20,14,.25) 62%, transparent 78%); }
  .pjv__feature-img { height: 70%; top: 0; bottom: auto; }
  .pjv__feature-body { left: 20px; right: 20px; bottom: 22px; }
  .pjv__feature-go { top: 18px; right: 18px; bottom: auto; width: 48px; height: 48px; }
  .pjv__bar { flex-wrap: nowrap; overflow-x: auto; gap: 22px; margin-inline: -20px; padding: 0 20px; scrollbar-width: none; }
  .pjv__bar::-webkit-scrollbar { display: none; }
  .pjv__tab { flex: none; }
  .pjv__row { grid-template-columns: minmax(0, 1fr) 44px; grid-template-areas: "thumb thumb" "name go" "meta go"; gap: 6px 14px; padding: 18px 0 22px; }
  .pjv__thumb { grid-area: thumb; position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 5 / 4; margin-bottom: 12px; border-radius: 16px; overflow: hidden; background: radial-gradient(80% 90% at 80% 10%, rgba(201,163,106,.22), transparent 60%), linear-gradient(145deg, #1F3A2E, #2D5241); }
  .pjv__thumb:has(b) { aspect-ratio: 16 / 7; }
  .pjv__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
  .pjv__thumb b { font-family: var(--ff-display); font-weight: 500; font-size: 3rem; letter-spacing: .02em; color: var(--g); }
  .pjv__name { grid-area: name; align-self: end; font-size: 1.6rem; color: #fff; }
  .pjv__meta { grid-area: meta; align-self: start; justify-content: flex-start; text-align: left; font-size: 13px; gap: 8px; }
  .pjv__go { grid-area: go; width: 40px; height: 40px; }
  .pjv__go:empty { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .pjv__intro > *, .pjv__feature, .pjv__item, .pjv__feature-img, .pjv__wip i { animation: none; }
  .pjv__feature-img { transform: none; }
  .pjv__cursor { display: none; }
}
