/* ==========================================================================
   Emailfy: Projektreferenzen (Startseite + Detailseiten)
   Baut auf styles.css auf (Tokens, Nav, Footer, CTA, v1-section).
   ========================================================================== */

:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --pj-radius: 18px;
  --pj-live: hsl(121, 95%, 76%);
  --pj-check: hsl(200, 90%, 74%);
  --pj-draft: hsl(40, 90%, 72%);
}

/* ---------- Basis: Tastatur und Sprunglink ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.v1-klav__cell .v1-klav__t { font-size: 18px; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Kleine Bausteine ---------- */
.pj-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.pj-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
  white-space: nowrap;
}
.pj-status::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pj-live);
}
.pj-status--check::before { background: var(--pj-check); }
.pj-status--draft::before { background: var(--pj-draft); }
.pj-schema-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.pj-schema-note::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--fg-mute);
}

/* ==========================================================================
   Startseite: "Ausgewählte Projekte"
   ========================================================================== */
.pj-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pj-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  background: var(--bg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.pj-card__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.pj-card__visual-inner {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out);
}
.pj-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 30px 32px;
  flex: 1;
}
.pj-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.pj-card__meta b { color: var(--accent); font-weight: 500; }
.pj-card__title {
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.pj-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--pj-radius);
}
.pj-card__title a:focus-visible { outline: none; }
.pj-card:has(.pj-card__title a:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.pj-card__text { color: var(--fg-dim); font-size: 16px; line-height: 1.6; }
.pj-card__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: auto;
}
.pj-card__facts li {
  padding: 18px 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pj-card__facts li + li { padding-left: 14px; border-left: 1px solid var(--line); }
.pj-card__fact-n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.1;
  color: var(--fg);
}
.pj-card__fact-l { font-size: 13px; line-height: 1.4; color: var(--fg-dim); }
.pj-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
}
.pj-card__more .cta__arrow { transition: transform 0.2s var(--ease-out); }
.pj-note {
  margin-top: 28px;
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.6;
  max-width: 760px;
}
@media (hover: hover) and (pointer: fine) {
  .pj-card:hover { border-color: var(--line-2); }
  .pj-card:hover .pj-card__visual-inner { transform: scale(1.02); }
  .pj-card:hover .pj-card__more .cta__arrow { transform: translateX(3px); }
}
@media (max-width: 900px) {
  .pj-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pj-card__body { padding: 24px 20px 26px; }
  .pj-card__facts li { padding-right: 8px; }
  .pj-card__facts li + li { padding-left: 10px; }
  .pj-card__fact-n { font-size: 22px; }
}

/* ---------- Visual: Browser + Handy (ZinCuTec) ---------- */
.pj-shot {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 85% 0%, hsla(121, 95%, 76%, 0.10), transparent 55%),
    var(--bg-2);
}
.pj-browser {
  position: absolute;
  left: 7%;
  top: 11%;
  width: 78%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #111;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.pj-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  background: hsl(240, 4%, 13%);
  border-bottom: 1px solid var(--line);
}
.pj-browser__bar i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-2);
}
.pj-browser__bar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.04em;
}
.pj-browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.pj-phone {
  position: absolute;
  right: 6%;
  bottom: -18%;
  width: 24%;
  border-radius: 18px;
  overflow: hidden;
  border: 5px solid hsl(240, 4%, 14%);
  outline: 1px solid var(--line-2);
  background: #000;
  box-shadow: 0 30px 50px -15px rgba(0, 0, 0, 0.8);
}
.pj-phone img { width: 100%; height: auto; aspect-ratio: 640 / 1313; object-fit: cover; }

/* ---------- Visual: Flow-Schema DE → PL (SHEKO) ---------- */
.pj-flowmap {
  position: absolute;
  inset: 0;
  padding: 7% 7% 6%;
  display: flex;
  flex-direction: column;
  gap: 4%;
  background:
    radial-gradient(110% 90% at 15% 0%, hsla(121, 95%, 76%, 0.09), transparent 55%),
    var(--bg-2);
}
.pj-flowmap__head {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.pj-flowmap__head span:last-child { color: var(--accent); }
.pj-flowmap__rows {
  flex: 1;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 6px;
}
.pj-flowmap__row {
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  align-items: stretch;
}
.pj-flowmap__cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 12px;
  color: var(--fg-dim);
  min-width: 0;
}
.pj-flowmap__cell b {
  font-weight: 500;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pj-flowmap__cell em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-mute);
  white-space: nowrap;
}
.pj-flowmap__cell--pl { border-color: hsla(121, 95%, 76%, 0.35); }
.pj-flowmap__cell--pl em { color: var(--accent); }
.pj-flowmap__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
}
.pj-flowmap__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* Schema im großen Hero (SHEKO) */
.pj-hero__visual--schema .pj-flowmap { padding: 5.5% 8% 5%; gap: 3%; }
.pj-hero__visual--schema .pj-flowmap__rows { gap: 10px; }
.pj-hero__visual--schema .pj-flowmap__row { grid-template-columns: 1fr 48px 1fr; }
.pj-hero__visual--schema .pj-flowmap__head { grid-template-columns: 1fr 48px 1fr; font-size: 12px; }
.pj-hero__visual--schema .pj-flowmap__cell { font-size: 16px; padding: 0 20px; border-radius: 12px; }
.pj-hero__visual--schema .pj-flowmap__cell em { font-size: 13px; }
.pj-hero__visual--schema .pj-flowmap__arrow { font-size: 18px; }
.pj-hero__visual--schema .pj-flowmap__foot { font-size: 12px; }
@media (max-width: 900px) {
  .pj-hero__visual.pj-hero__visual--schema { aspect-ratio: auto; }
  .pj-hero__visual--schema .pj-flowmap { position: relative; inset: auto; padding: 22px 16px 18px; gap: 14px; }
  .pj-hero__visual--schema .pj-flowmap__rows { gap: 8px; grid-template-rows: none; grid-auto-rows: minmax(58px, auto); }
  .pj-hero__visual--schema .pj-flowmap__row,
  .pj-hero__visual--schema .pj-flowmap__head { grid-template-columns: 1fr 24px 1fr; }
  .pj-hero__visual--schema .pj-flowmap__cell { font-size: 13px; padding: 0 10px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; border-radius: 10px; }
  .pj-hero__visual--schema .pj-flowmap__cell b { white-space: normal; line-height: 1.25; }
  .pj-hero__visual--schema .pj-flowmap__arrow { font-size: 14px; }
}

@media (max-width: 720px) {
  .pj-card__visual--schema { aspect-ratio: 1 / 1; }
  .pj-card__visual--schema .pj-flowmap { padding: 20px 14px 16px; gap: 12px; }
  .pj-card__visual--schema .pj-flowmap__row,
  .pj-card__visual--schema .pj-flowmap__head { grid-template-columns: 1fr 22px 1fr; }
  .pj-card__visual--schema .pj-flowmap__cell { padding: 0 9px; }
  .pj-card__visual--schema .pj-flowmap__cell b { white-space: normal; line-height: 1.2; font-size: 12px; }
}

/* ==========================================================================
   Detailseiten
   ========================================================================== */
.pj-page { padding-top: 0; }
.pj-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 150px 24px 0;
}
.pj-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 40px;
}
.pj-hero__back:hover { color: var(--accent); }
.pj-hero__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  margin-bottom: 36px;
}
.pj-hero__top .eyebrow { color: var(--fg); }
.pj-hero__title {
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
  max-width: 1100px;
  text-wrap: balance;
}
.pj-hero__title em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.pj-hero__lead {
  margin-top: 28px;
  max-width: 760px;
  color: var(--fg-dim);
  font-size: 19px;
  line-height: 1.6;
}
.pj-facts {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pj-facts > div {
  padding: 24px 24px 26px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pj-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.pj-facts dt { margin: 0; }
.pj-facts dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fg); }
.pj-hero__visual {
  position: relative;
  margin-top: 56px;
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  overflow: hidden;
}
.pj-hero__visual .pj-browser { left: 6%; top: 10%; width: 66%; }
.pj-hero__visual .pj-phone { right: 9%; bottom: -24%; width: 19%; border-width: 7px; border-radius: 26px; }
.pj-hero__caption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--fg-mute);
  font-size: 14px;
}
@media (max-width: 900px) {
  .pj-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-facts > div:nth-child(3) { padding-left: 0; border-left: none; }
  .pj-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pj-hero__visual { aspect-ratio: 4 / 3; }
  .pj-hero__visual .pj-browser { left: 5%; top: 8%; width: 76%; }
  .pj-hero__visual .pj-phone { right: 5%; bottom: -14%; width: 27%; border-width: 5px; border-radius: 18px; }
}
@media (max-width: 720px) {
  .pj-hero { padding: 116px 18px 0; }
  .pj-hero__back { margin-bottom: 28px; }
  .pj-hero__top { margin-bottom: 24px; }
  .pj-hero__lead { font-size: 17px; }
  .pj-facts { grid-template-columns: 1fr; margin-top: 40px; }
  .pj-facts > div,
  .pj-facts > div + div { padding: 18px 0; border-left: none; }
  .pj-facts > div + div { border-top: 1px solid var(--line); }
  .pj-hero__visual { margin-top: 40px; }
}

/* ---------- Abschnitte ---------- */
.pj-section { padding-top: 104px; padding-bottom: 0; }
.pj-section .v1-section__head { margin-bottom: 56px; }
.pj-section .v1-section__title { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.06; }
.pj-section .v1-section__sub { font-size: 17px; max-width: 460px; }
@media (max-width: 720px) {
  .pj-section { padding-top: 72px; padding-bottom: 0; }
  .pj-section .v1-section__head { margin-bottom: 36px; }
}

.pj-prose { max-width: 760px; }
.pj-prose p { color: var(--fg-dim); font-size: 18px; line-height: 1.7; }
.pj-prose p + p { margin-top: 18px; }
.pj-prose strong { color: var(--fg); font-weight: 500; }

.pj-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}
.pj-aside {
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  padding: 28px;
  background: var(--bg-2);
}
.pj-aside .pj-label { display: block; margin-bottom: 16px; }
.pj-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pj-list li {
  position: relative;
  padding-left: 22px;
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.55;
}
.pj-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 8px; height: 1px;
  background: var(--accent);
}
.pj-list li strong { color: var(--fg); font-weight: 500; }
@media (max-width: 900px) {
  .pj-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Rollen: mein Teil vs. andere ---------- */
.pj-roles {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  overflow: hidden;
}
.pj-roles > div { background: var(--bg); padding: 32px; }
.pj-roles h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 10px 0 20px;
}
.pj-roles__mine { background: var(--bg-2) !important; }
.pj-roles__note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.6;
}
.pj-people { list-style: none; display: flex; flex-direction: column; }
.pj-people li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pj-people li:first-child { padding-top: 0; }
.pj-people li:last-child { border-bottom: none; padding-bottom: 0; }
.pj-people b { display: block; font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.pj-people span { color: var(--fg-dim); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) {
  .pj-roles { grid-template-columns: 1fr; }
  .pj-roles > div { padding: 26px 22px; }
}

/* ---------- Umgesetzte Arbeit ---------- */
.pj-work {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  overflow: hidden;
}
.pj-work__item {
  background: var(--bg);
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pj-work__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.pj-work__item h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.pj-work__item p { color: var(--fg-dim); font-size: 15px; line-height: 1.6; }
.pj-work__item .pj-list li { font-size: 15px; }
@media (max-width: 900px) {
  .pj-work { grid-template-columns: 1fr; }
  .pj-work__item { padding: 24px 20px 26px; }
}

/* ---------- Arbeitsbeispiele ---------- */
.pj-cases { display: flex; flex-direction: column; gap: 24px; }
.pj-case {
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  overflow: hidden;
}
.pj-case__head {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px 32px 28px;
}
.pj-case__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 0.9;
  color: var(--accent);
}
.pj-case__head h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 500;
  text-wrap: balance;
}
.pj-case__head p { margin-top: 10px; color: var(--fg-dim); font-size: 16px; line-height: 1.6; max-width: 760px; }
.pj-case__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.pj-case__steps > div { padding: 22px 24px 26px; }
.pj-case__steps > div + div { border-left: 1px solid var(--line); }
.pj-case__steps .pj-label { display: block; margin-bottom: 10px; }
.pj-case__steps p { font-size: 15px; line-height: 1.6; color: var(--fg-dim); }
.pj-case__steps > div:last-child { background: var(--bg-2); }
.pj-case__steps > div:last-child p { color: var(--fg); }
.pj-case__figure {
  border-top: 1px solid var(--line);
  padding: 28px 32px 30px;
  background: var(--bg-2);
}
.pj-case__figure figcaption { margin-top: 18px; }
@media (max-width: 1000px) {
  .pj-case__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-case__steps > div:nth-child(3) { border-left: none; }
  .pj-case__steps > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .pj-case__head { grid-template-columns: 1fr; gap: 12px; padding: 24px 20px 22px; }
  .pj-case__n { font-size: 44px; }
  .pj-case__steps { grid-template-columns: 1fr; }
  .pj-case__steps > div { padding: 18px 20px 20px; }
  .pj-case__steps > div + div { border-left: none; border-top: 1px solid var(--line); }
  .pj-case__figure { padding: 22px 16px 22px; }
}

/* Schema: Zustellkette E1 → E2 → E3 */
.pj-chain {
  display: grid;
  grid-template-columns: repeat(5, auto);
  align-items: center;
  justify-content: start;
  gap: 14px;
  overflow-x: auto;
}
.pj-chain__mail {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg);
  min-width: 150px;
}
.pj-chain__mail b { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.pj-chain__mail span { font-size: 14px; color: var(--fg-dim); line-height: 1.45; }
.pj-chain__gate {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-mute);
  text-align: center;
  line-height: 1.4;
}
.pj-chain__gate::before { content: "→"; display: block; color: var(--accent); font-size: 18px; }
@media (max-width: 720px) {
  .pj-chain { grid-template-columns: 1fr; justify-items: stretch; }
  .pj-chain__gate::before { content: "↓"; }
}

/* Schema: Entscheidungstabelle */
.pj-table-wrap { overflow-x: auto; }
.pj-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 520px;
}
.pj-table th, .pj-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.pj-table th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.pj-table td { color: var(--fg-dim); }
.pj-table td:last-child { color: var(--fg); }

@media (max-width: 720px) {
  .pj-table { min-width: 0; }
  .pj-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pj-table, .pj-table tbody, .pj-table tr, .pj-table td { display: block; width: 100%; }
  .pj-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .pj-table tr:first-child { padding-top: 0; }
  .pj-table td { padding: 4px 0; border-bottom: none; }
  .pj-table td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fg-mute);
    margin-bottom: 2px;
  }
}

/* ---------- KI-Ablauf ---------- */
.pj-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  overflow: hidden;
  counter-reset: pjflow;
}
.pj-flow li {
  background: var(--bg);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-increment: pjflow;
}
.pj-flow li::before {
  content: counter(pjflow, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-mute);
  letter-spacing: 0.08em;
}
.pj-flow__who {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  color: var(--fg-dim);
}
.pj-flow__who--me { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pj-flow__who--auto { border-color: hsla(200, 90%, 74%, 0.5); color: var(--pj-check); }
.pj-flow h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.pj-flow p { font-size: 14px; color: var(--fg-dim); line-height: 1.55; }
.pj-flow-foot { margin-top: 16px; }
.pj-duo {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pj-duo > div {
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  padding: 28px;
}
.pj-duo h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 18px; }
.pj-duo > div:last-child { background: var(--bg-2); }
@media (max-width: 1100px) {
  .pj-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-flow li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .pj-flow { grid-template-columns: 1fr; }
  .pj-flow li { padding: 20px 20px 22px; }
  .pj-duo { grid-template-columns: 1fr; }
  .pj-duo > div { padding: 22px 20px; }
}

/* ---------- Ergebnis ---------- */
.pj-results {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pj-results li { padding: 30px 24px 30px 0; display: flex; flex-direction: column; gap: 8px; }
.pj-results li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.pj-results__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1;
  color: var(--fg);
}
.pj-results__l { font-size: 15px; line-height: 1.5; color: var(--fg-dim); }
.pj-results__s { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--fg-mute); text-transform: uppercase; }
.pj-honest {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pj-honest > div {
  border: 1px solid var(--line);
  border-radius: var(--pj-radius);
  padding: 28px;
}
.pj-honest h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 14px; }
.pj-honest p { color: var(--fg-dim); font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) {
  .pj-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pj-results li:nth-child(3) { padding-left: 0; border-left: none; }
  .pj-results li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pj-honest { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .pj-results li { padding: 22px 12px 22px 0; }
  .pj-results li + li { padding-left: 14px; }
  .pj-results li:nth-child(3) { padding-left: 0; }
  .pj-honest > div { padding: 22px 20px; }
}

/* ---------- Abschluss: CTA + nächstes Projekt ---------- */
.pj-final { padding-top: 140px; padding-bottom: 40px; }
.pj-final h2 { font-size: clamp(36px, 5vw, 72px); }
.pj-final__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.pj-next {
  max-width: var(--container);
  margin: 40px auto 0;
  padding: 0 24px;
}
.pj-next a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pj-next__t { font-size: clamp(24px, 3vw, 40px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.pj-next__arrow { font-size: 32px; color: var(--accent); transition: transform 0.2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .pj-next a:hover .pj-next__arrow { transform: translateX(6px); }
  .pj-next a:hover .pj-next__t { color: var(--accent); }
}
@media (max-width: 720px) {
  .pj-final { padding: 96px 18px 24px; }
  .pj-next { padding: 0 18px; }
  .pj-next a { padding: 24px 0; }
}

/* ---------- Gedruckt / reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .pj-card__visual-inner,
  .pj-card__more .cta__arrow,
  .pj-next__arrow { transition: none; }
  .pj-card:hover .pj-card__visual-inner { transform: none; }
}

/* ---------- Startseite: Gründer-Zeitleiste, zweiter Kontaktweg ---------- */
.v1-founder__facts {
  list-style: none;
  margin: 4px 0 20px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.v1-founder__facts li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}
.v1-founder__facts b {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding-top: 2px;
}
.v1-founder__facts span { color: var(--fg-dim); }
.v1-final__alt {
  margin: 22px auto 0 !important;
  font-size: 15px !important;
  color: var(--fg-mute) !important;
}
.v1-final__alt a {
  color: var(--fg-dim);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
}
@media (hover: hover) and (pointer: fine) {
  .v1-final__alt a:hover { color: var(--fg); }
}
.faq__a a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Analyse-Seite ---------- */
.an-hero__lead { margin-top: 20px; color: var(--fg-dim); font-size: 18px; line-height: 1.6; max-width: 640px; }
.an-col__t {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 4px;
}
.an-col__t:not(:first-child) { margin-top: 40px; margin-bottom: 14px; }
.an-ablauf { list-style: none; margin: 0; padding: 0; counter-reset: anablauf; display: flex; flex-direction: column; gap: 12px; }
.an-ablauf li { counter-increment: anablauf; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; font-size: 15px; line-height: 1.5; }
.an-ablauf li::before { content: counter(anablauf, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.an-ablauf b { font-weight: 500; color: var(--fg); }
.an-ablauf span { color: var(--fg-dim); }
.an-alt { margin-top: 28px; color: var(--fg-mute); font-size: 15px; line-height: 1.7; }
.an-alt a { color: var(--fg-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ---------- Blog: Praxis-Kasten ---------- */
.post-callout--projekt { margin: 40px 0; }
.post-callout--projekt a { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ---------- Startseite: Hero ---------- */
.hv{position:relative;min-height:100vh;min-height:100svh;padding:150px 24px 72px;overflow:hidden;display:flex;align-items:center}
.hv__inner{position:relative;max-width:var(--container);margin:0 auto;width:100%}
.hv__eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-dim);margin-bottom:32px}
.hv__sub{font-size:clamp(18px,1.5vw,21px);color:var(--fg-dim);max-width:640px;line-height:1.55;margin:28px 0 40px}
.hv__ctas{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.hv2__grid{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center}
.hv2__title{font-size:clamp(44px,5.8vw,92px);line-height:.98;letter-spacing:-.04em;font-weight:500;text-wrap:balance}
.hv2__title em{font-family:var(--font-display);font-style:italic;font-weight:400;color:var(--accent);letter-spacing:-.02em}
.hv2__stack{position:relative;aspect-ratio:1/1;max-width:560px;width:100%;justify-self:end}
.hv2__card{position:absolute;display:block;border:1px solid var(--line-2);border-radius:18px;overflow:hidden;background:var(--bg-2);box-shadow:0 30px 60px -20px rgba(0,0,0,.7);transition:border-color 200ms ease,transform 160ms cubic-bezier(.23,1,.32,1)}
.hv2__card:active{transform:scale(.98)}
.hv2__card--zct{left:0;top:0;width:86%;aspect-ratio:16/11}
.hv2__card--sk{right:0;bottom:0;width:64%;aspect-ratio:1/1}
.hv2__card .pj-shot,.hv2__card .pj-flowmap{position:absolute;inset:0}
.hv2__card .pj-browser{left:7%;top:9%;width:74%}.hv2__card .pj-phone{right:6%;bottom:-22%;width:24%}
.hv2__card--sk .pj-flowmap{padding:8% 7% 14%}.hv2__card--sk .pj-flowmap__cell{font-size:11px;padding:0 8px}
.hv2__tag{position:absolute;left:12px;bottom:12px;padding:6px 12px;border-radius:999px;background:rgba(5,1,14,.82);border:1px solid var(--line-2);font-size:13px;color:var(--fg-dim)}
.hv2__tag b{color:var(--fg);font-weight:500;margin-right:6px}
.hv2__card--zct .hv2__tag{top:12px;bottom:auto;left:12px}
@media (hover:hover) and (pointer:fine){.hv2__card:hover{border-color:var(--accent)}}
@media (max-width:900px){.hv2__grid{grid-template-columns:1fr}.hv2__stack{justify-self:stretch;max-width:none;aspect-ratio:auto;display:grid;gap:16px}.hv2__card{position:relative;width:100%!important;left:auto;right:auto;top:auto;bottom:auto}.hv2__card--sk{aspect-ratio:auto}.hv2__card--sk .pj-flowmap{position:relative;padding:20px 16px 60px}.hv2__card--sk .pj-flowmap__rows{grid-template-rows:none;grid-auto-rows:34px}.hv2__card--sk .pj-flowmap__cell{font-size:12px}}
@media (max-width:720px){.hv{padding:120px 18px 56px;align-items:flex-start}.hv__sub{font-size:17px}}

/* ---------- Startseite: Shopify ---------- */
.v1-shop__grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:stretch}
.v1-shop__log{position:sticky;top:120px;align-self:start;padding:32px;border:1px solid var(--line);border-radius:20px;background:var(--bg-2)}
.v1-shop__head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line);font-family:var(--font-mono);font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--fg-mute)}
.v1-shop__head span:first-child{color:var(--accent)}
.v1-shop__rows{margin:0 0 22px}
.v1-shop__row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.v1-shop__row dt{font-family:var(--font-mono);font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-mute);padding-top:3px}
.v1-shop__row dd{margin:0;font-size:15px;line-height:1.5;color:var(--fg)}
.v1-shop__row s{text-decoration:line-through;text-decoration-color:var(--fg-mute);color:var(--fg-mute)}
.v1-shop__row i{font-style:normal;color:var(--accent);margin:0 10px}
@media (max-width:900px){.v1-shop__grid{grid-template-columns:1fr;gap:40px}.v1-shop__log{position:static;order:2}}
@media (max-width:600px){.v1-shop__log{padding:24px;border-radius:16px}.v1-shop__row{grid-template-columns:1fr;gap:4px}}
@media (max-width:900px){.hv2__card--sk .pj-flowmap__rows{grid-auto-rows:minmax(34px,auto)}.hv2__card--sk .pj-flowmap__cell b{white-space:normal;line-height:1.2;overflow:visible;text-overflow:clip}}
