/* Zertifikatsseite für Firmen-Projekte (z. B. Deloitte Technology Fast 50) – Farben kommen aus dem Projekt-Design (--pj-*) */
body.pj { --pj-a: #86bc25; --pj-b: #3fb6a8; --pj-bg: #030504; --pj-panel: rgba(13, 19, 16, .72); --pj-line: rgba(255, 255, 255, .09); --pj-text: #e6ece8; --pj-muted: #8fa198;
  --pj-holo: linear-gradient(100deg, var(--pj-b), #c9f27a 30%, var(--pj-a) 50%, #6fd3ff 70%, #b58cff 90%);
  background: var(--pj-bg); color: var(--pj-text); font: 15px/1.55 'Inter', system-ui, 'Segoe UI', sans-serif; overflow-x: hidden; margin: 0; }
body.pj > .ct-bar, body.pj > .ct-foot { display: none; }
body.pj #app { max-width: none; padding: 0; margin: 0; }
.pj a { color: var(--pj-a); }
.pj-swirl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.pj-wrap { position: relative; }   /* ohne eigene Ebene, damit Logos (mix-blend-mode) mit dem Hintergrund verschmelzen */

.pj-intro { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: color-mix(in srgb, var(--pj-bg) 94%, transparent); transition: opacity .7s, visibility .7s; }
.pj-intro.weg { opacity: 0; visibility: hidden; }
.pj-scan { text-align: center; font-family: ui-monospace, Consolas, monospace; color: var(--pj-muted); letter-spacing: .08em; padding: 0 16px; }
.pj-ring { width: 120px; height: 120px; margin: 0 auto 22px; border-radius: 50%; position: relative; background: conic-gradient(from 0deg, var(--pj-a), var(--pj-b), transparent 70%); animation: pj-dreh 1s linear infinite; }
.pj-ring::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--pj-bg); }
.pj-scan .ok { color: var(--pj-a); font-weight: 700; font-size: 18px; }
@keyframes pj-dreh { to { transform: rotate(360deg); } }

.pj-head { display: flex; align-items: center; gap: 16px; padding: 18px clamp(16px, 4vw, 48px); }
.pj-head img { height: 40px; width: auto; display: block; mix-blend-mode: lighten; }   /* Logos mit schwarzem Hintergrund verschmelzen mit der Bühne (kein Kasten) */
.pj-head .rechts { margin-left: auto; }
.pj-head .txt { font-size: 13px; line-height: 1.25; }

.pj-hero { min-height: calc(100vh - 80px); display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(28px, 6vw, 90px); align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 48px) 60px; }
.pj-stage { perspective: 1300px; display: grid; justify-items: center; gap: 16px; position: relative; }
.pj-stage::before { content: ''; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; top: 10%; background: radial-gradient(circle, color-mix(in srgb, var(--pj-a) 35%, transparent), transparent 65%); filter: blur(30px); animation: pj-puls 4s ease-in-out infinite; }
@keyframes pj-puls { 50% { opacity: .5; transform: scale(.9); } }
.pj-card { position: relative; width: min(100%, 400px); aspect-ratio: 63.5/88; cursor: pointer; animation: pj-schweben 6s ease-in-out infinite; }
@keyframes pj-schweben { 50% { translate: 0 -12px; } }
.pj-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .12s ease-out; }
.pj-tilt.flip { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.pj-face { position: absolute; inset: 0; border-radius: 4.5%; overflow: hidden; backface-visibility: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1); background: #111; }
.pj-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pj-face.back { transform: rotateY(180deg); }
.pj-foil { position: absolute; inset: 0; mix-blend-mode: color-dodge; pointer-events: none; opacity: .7;
  background: repeating-linear-gradient(var(--ang, 115deg), transparent 0%, rgba(63, 182, 168, .35) 6%, rgba(201, 242, 122, .35) 12%, rgba(111, 211, 255, .35) 18%, rgba(181, 140, 255, .3) 24%, transparent 30%);
  background-size: 300% 300%; background-position: var(--gx, 50%) var(--gy, 50%); filter: saturate(1.4); }
.pj-glare { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .75), transparent 45%); }
.pj-hint { font-size: 12px; color: var(--pj-muted); letter-spacing: .05em; }

.pj-siegel { display: inline-flex; align-items: center; gap: 14px; }
.pj-seal { width: 64px; height: 64px; border-radius: 50%; position: relative; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--pj-b), #c9f27a, var(--pj-a), #6fd3ff, #b58cff, var(--pj-b)); animation: pj-dreh 8s linear infinite; }
.pj-seal::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--pj-bg); }
.pj-seal span { position: relative; display: grid; place-items: center; color: var(--pj-a); animation: pj-dreh 8s linear infinite reverse; }
.pj-seal svg { stroke-width: 2.4; }
.pj-siegel.bad .pj-seal { background: #ef4444; animation: none; } .pj-siegel.bad .pj-seal span { color: #ef4444; animation: none; }
.pj-siegel b { display: block; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--pj-a); }
.pj-siegel.bad b { color: #ef4444; }
.pj-siegel small { color: var(--pj-muted); font-size: 12px; }
.pj-eyebrow { margin: 26px 0 4px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pj-muted); }
.pj h1 { margin: 0; font-size: clamp(40px, 7vw, 86px); line-height: .98; font-weight: 800; color: #fff; overflow-wrap: anywhere; }
.pj-holo { background: var(--pj-holo); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: pj-glanz 5s linear infinite; }
@keyframes pj-glanz { to { background-position: 200% 0; } }
.pj-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 28px 0 18px; }
.pj-stat { background: var(--pj-panel); backdrop-filter: blur(10px); border: 1px solid var(--pj-line); border-radius: 16px; padding: 16px 18px; }
.pj-stat small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--pj-muted); }
.pj-stat b { display: block; margin-top: 2px; white-space: nowrap; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.pj-award { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--pj-b) 30%, transparent), color-mix(in srgb, var(--pj-a) 30%, transparent), rgba(111, 211, 255, .22)); border: 1px solid color-mix(in srgb, var(--pj-a) 45%, transparent); }
.pj-award::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35), transparent 70%); transform: translateX(-100%); animation: pj-blitz 3.5s ease-in-out infinite 2.5s; }
@keyframes pj-blitz { 40%, 100% { transform: translateX(100%); } }
.pj-award .ic { position: relative; flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .18); }
.pj-award small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #d8eecb; }
.pj-award b { font-size: 19px; color: #fff; }
.pj-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; color: var(--pj-muted); }
.pj-meta b { color: var(--pj-text); font-weight: 500; font-family: ui-monospace, Consolas, monospace; letter-spacing: .03em; }
.pj-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.pj-knopf { border: 1px solid var(--pj-line); background: var(--pj-panel); color: var(--pj-text) !important; padding: 10px 16px; border-radius: 99px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; }
.pj-knopf.haupt { background: var(--pj-a); color: #0b1406 !important; border-color: var(--pj-a); }

.pj section { max-width: 1200px; margin: 0 auto; padding: clamp(50px, 8vw, 100px) clamp(16px, 4vw, 48px) 0; }
.pj h2 { font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 6px; color: #fff; font-weight: 800; }
.pj-sub { color: var(--pj-muted); margin: 0 0 26px; max-width: 640px; }
.pj-fan { position: relative; height: 330px; display: flex; justify-content: center; align-items: flex-end; margin: 10px 0 30px; }
.pj-fan img { position: absolute; bottom: 0; width: 170px; border-radius: 8px; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); transform-origin: 50% 160%; transition: .35s; }
.pj-fan:hover img { filter: brightness(.6); }
.pj-fan img:hover { filter: none; translate: 0 -24px; z-index: 30; }
.pj-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.pj-tabs button { background: var(--pj-panel); border: 1px solid var(--pj-line); color: var(--pj-text); padding: 8px 16px; border-radius: 99px; cursor: pointer; font: inherit; font-size: 13px; }
.pj-tabs button.on { background: var(--pj-a); color: #0b1406; border-color: var(--pj-a); font-weight: 700; }
.pj-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 14px; perspective: 900px; }
.pj-mini { margin: 0; position: relative; border-radius: 7px; overflow: hidden; opacity: .5; transition: .25s; border: 1px solid transparent; background: #111; }
.pj-mini:hover { opacity: 1; transform: translateY(-6px) rotateX(8deg) scale(1.06); z-index: 2; }
.pj-mini img { width: 100%; display: block; aspect-ratio: 63.5/88; object-fit: cover; }
.pj-mini.ich { opacity: 1; border-color: var(--pj-a); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pj-a) 40%, transparent), 0 12px 34px color-mix(in srgb, var(--pj-a) 35%, transparent); }
.pj-mini.ich::after { content: attr(data-ich); position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 9px; font-weight: 800; letter-spacing: .12em; background: var(--pj-a); color: #0b1406; padding: 2px 0; }
.pj-mini figcaption { position: absolute; inset: auto 0 0 0; font-size: 10px; padding: 16px 6px 4px; background: linear-gradient(transparent, rgba(0, 0, 0, .9)); color: #fff; opacity: 0; transition: .2s; }
.pj-mini:hover figcaption { opacity: 1; } .pj-mini.ich figcaption { display: none; }
.pj-editions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pj-ed { position: relative; overflow: hidden; padding: 24px; border-radius: 18px; border: 1px solid var(--pj-line); background: var(--pj-panel); }
.pj-ed b { font-size: 46px; font-weight: 800; color: #fff; display: block; line-height: 1; position: relative; }
.pj-ed.now { border-color: color-mix(in srgb, var(--pj-a) 60%, transparent); }
.pj-ed.now::before { content: ''; position: absolute; inset: -1px; background: var(--pj-holo); opacity: .16; }
.pj-ed.next { border-style: dashed; opacity: .55; }
.pj-ed small { position: relative; color: var(--pj-muted); }
.pj-reveal { opacity: 0; translate: 0 30px; transition: opacity .8s, translate .8s; }
.pj-reveal.da { opacity: 1; translate: 0 0; }
.pj-foot { max-width: 1200px; margin: 90px auto 0; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--pj-line); color: var(--pj-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 800px) { .pj-hero { grid-template-columns: 1fr; min-height: 0; } .pj-fan { height: 250px; } .pj-fan img { width: 120px; } }
@media (prefers-reduced-motion: reduce) { .pj *, .pj *::before, .pj *::after { animation: none !important; transition: none !important; } }

/* Karte ohne Bild: ruhiger Platzhalter im Kartenformat */
.pj-platz { width: 100%; height: 100%; aspect-ratio: 63.5/88; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 8%; text-align: center; color: var(--pj-a);
  background: linear-gradient(160deg, #1b2320, #080b0a); border: 1px dashed color-mix(in srgb, var(--pj-a) 45%, transparent); border-radius: inherit; }
.pj-platz b { color: #fff; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; } .pj-platz small { color: var(--pj-muted); font-size: 13px; }
.pj-platz.klein { gap: 0; border-radius: 6px; } .pj-platz.fan { position: absolute; bottom: 0; width: 170px; height: auto; }
.pj-mini.ohne figcaption { opacity: 1; }
/* Vorschau in Admin Suite / Kundenbereich */
/* dezent in der Ecke unten rechts – verdeckt weder Logos noch Überschrift (auch am Handy) */
.pj-vorschau-band{position:fixed;right:12px;bottom:12px;z-index:50;background:rgba(10,13,14,.82);color:#fff;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);font:700 11px/1 'Inter',system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:8px 12px;border-radius:99px;box-shadow:0 4px 18px rgba(0,0,0,.4);pointer-events:none}
