/* Landingpage /projekt – Besucher über den „Konzept & Umsetzung“-Credit auf Kundenseiten.
   Alles auf .pj begrenzt; überschreibt bewusst globale Regeln aus style.css (h1/h2 lowercase, footer). */

.pj {
  --pj-bg: #0A0A0A;
  --pj-band: #0E0E0E;
  --pj-card: #141414;
  --pj-line: #222222;
  --pj-line2: #333333;
  --pj-text: #F4F4F2;
  --pj-muted: #A3A3A3;
  --pj-accent: #FFA6C9;
  --pj-green: #A8FF35;
  background: var(--pj-bg);
  color: var(--pj-text);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  overflow-x: clip;
}
.pj h1, .pj h2, .pj h3 { text-transform: none; }
.pj img { max-width: 100%; height: auto; }

.pj-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.pj-section { padding-block: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 40px; }
.pj-band { background: var(--pj-band); border-top: 1px solid #1F1F1F; }

/* Header */
.pj-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.pj-logo { display: inline-flex; align-items: center; min-height: 44px; }
.pj-logo img { display: block; height: 30px; width: auto; }

/* Buttons */
.pj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, border-color .2s;
}
.pj-btn--primary { background: var(--pj-accent); color: var(--pj-bg); border: 0; }
.pj-btn--primary:hover { transform: translateY(-1px); color: var(--pj-bg); }
.pj-btn--ghost { background: transparent; color: var(--pj-text); border: 1px solid var(--pj-line2); font-weight: 600; }
.pj-btn--ghost:hover { border-color: var(--pj-accent); color: var(--pj-text); }
.pj-btn--small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.pj-btn:focus-visible, .pj a:focus-visible, .pj input:focus-visible, .pj select:focus-visible, .pj textarea:focus-visible {
  outline: 2px solid var(--pj-accent); outline-offset: 3px;
}

/* Hero */
.pj-hero { display: flex; flex-direction: column; gap: 28px; padding-block: clamp(48px, 8vw, 112px) clamp(56px, 8vw, 120px); }
.pj-hero h1 {
  font-family: 'Russo One', sans-serif; font-weight: 400;
  font-size: clamp(38px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -0.01em; max-width: 18ch;
  overflow-wrap: break-word; hyphens: manual; text-wrap: balance;
}
.pj-accent { color: var(--pj-accent); }
.pj-lead { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.35; font-weight: 500; max-width: 32ch; }
.pj-intro { font-size: 17px; line-height: 1.65; color: var(--pj-muted); max-width: 56ch; }
.pj-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pj-fine { font-size: 13px; color: var(--pj-muted); }

/* Section heads */
.pj-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.pj-eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--pj-muted); }
.pj h2 { font-family: 'Russo One', sans-serif; font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; }
.pj-muted { color: var(--pj-muted); }

/* Cards */
.pj-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.pj-card {
  min-width: 0; background: var(--pj-card); border: 1px solid var(--pj-line); border-radius: 14px;
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.pj-card svg { color: var(--pj-accent); }
.pj-card--accent { border-color: var(--pj-accent); }
.pj-card h3 { font-size: 19px; font-weight: 600; font-family: inherit; }
.pj-card p { font-size: 15px; line-height: 1.6; color: var(--pj-muted); }

/* Referenzen */
.pj-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.pj-tile {
  position: relative; overflow: hidden; min-width: 0;
  aspect-ratio: 16 / 10; min-height: 260px;
  display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid #262626; border-radius: 14px; background: var(--pj-bg);
  color: var(--pj-text); text-decoration: none;
}
.pj-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; transition: transform .5s ease;
}
.pj-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.92) 78%);
}
.pj-tile:hover { color: var(--pj-text); }
.pj-tile:hover img { transform: scale(1.03); }
.pj-tile-body {
  position: relative; z-index: 1; padding: 24px 28px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap;
}
.pj-tile-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pj-tile-name { font-size: 24px; font-weight: 700; }
.pj-tile-sub { font-size: 14px; line-height: 1.5; color: #C9C9C9; }
.pj-tile-link { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.pj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pj-tags span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 4px 10px; border-radius: 999px;
  background: rgba(244,244,242,.12); border: 1px solid rgba(244,244,242,.22);
}

/* Ablauf */
.pj-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.pj-step { min-width: 0; display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--pj-line2); padding-top: 20px; }
.pj-step--active { border-top-color: var(--pj-accent); }
.pj-step-num { font-family: 'Russo One', sans-serif; font-size: 40px; line-height: 1; }
.pj-step--active .pj-step-num { color: var(--pj-accent); }
.pj-step h3 { font-size: 20px; font-weight: 600; font-family: inherit; }
.pj-step p { font-size: 15px; line-height: 1.6; color: var(--pj-muted); }

/* Kontakt */
.pj-contact { flex-direction: row; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.pj-contact-text { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pj-contact-text .pj-muted { font-size: 16px; line-height: 1.65; }
.pj-direct { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.pj-direct .pj-muted { font-size: 13px; }
.pj-direct a { color: var(--pj-text); font-size: 18px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.pj-direct a:hover { color: var(--pj-accent); }
.pj-form {
  flex: 1.4 1 420px; min-width: 0; background: var(--pj-card); border: 1px solid var(--pj-line); border-radius: 16px;
  padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px;
}
.pj-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.pj-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; min-width: 0; }
.pj-field input, .pj-field select, .pj-field textarea {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: var(--pj-bg); border: 1px solid var(--pj-line2); border-radius: 10px;
  color: var(--pj-text); font: inherit; font-size: 16px; font-weight: 400;
}
.pj-field textarea { padding: 12px 14px; resize: vertical; }
.pj-field input[aria-invalid="true"] { border-color: #ff8080; }
.pj-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--pj-muted); }
.pj-consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--pj-accent); flex-shrink: 0; }
.pj-consent a { color: var(--pj-text); text-decoration: underline; }
.pj-note { font-size: 14px; min-height: 1px; }
.pj-note.is-error { color: #ff8080; }
.pj-submit { align-self: flex-start; }
.pj-submit[disabled] { opacity: .6; cursor: wait; }
.pj-success { background: var(--pj-card); border: 1px solid var(--pj-accent); border-radius: 16px; padding: 36px; flex: 1.4 1 420px; min-width: 0; }
.pj-success h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; font-family: inherit; }
.pj-success p { color: var(--pj-muted); line-height: 1.6; }

/* Footer (überschreibt footer {} aus style.css) */
footer.pj-footer { background: var(--pj-bg); border-top: 1px solid #1F1F1F; padding: 0; }
.pj-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 32px; font-size: 13px; color: var(--pj-muted); }
.pj-footer-logo { height: 22px; width: auto; display: block; }
.pj-footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.pj-footer-links a { color: var(--pj-muted); min-height: 44px; display: inline-flex; align-items: center; }
.pj-footer-links a:hover { color: var(--pj-text); }

@media (prefers-reduced-motion: reduce) {
  .pj-tile img, .pj-btn { transition: none; }
  .pj-tile:hover img { transform: none; }
}

/* ── Projektseiten /projekte/<slug> ── */
.pp-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--pj-muted); }
.pp-crumbs a { color: var(--pj-muted); }
.pp-crumbs a:hover { color: var(--pj-text); }
.pp-hero { display: flex; flex-direction: column; gap: 20px; padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 64px); }
.pp-hero h1 { font-family: 'Russo One', sans-serif; font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1.02; }
.pp-sub { font-size: clamp(18px, 2vw, 24px); line-height: 1.4; max-width: 44ch; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-tags span { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: #1A1A1A; border: 1px solid #2E2E2E; }
.pp-shot { margin: 16px 0 0; border-radius: 16px; overflow: hidden; border: 1px solid #262626; background: var(--pj-card); }
.pp-shot img { display: block; width: 100%; height: auto; }
.pp-live { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--pj-text); }
.pp-live:hover { color: var(--pj-accent); }
.pp-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: stretch; }
.pp-box { min-width: 0; background: var(--pj-card); border: 1px solid var(--pj-line); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pp-box--accent { border-color: var(--pj-accent); }
.pp-box-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--pj-muted); }
.pp-box--accent .pp-box-label { color: var(--pj-accent); }
.pp-box-big { font-size: 26px; font-weight: 600; line-height: 1.25; }
.pp-box p { font-size: 15px; line-height: 1.6; color: var(--pj-muted); }
.pp-checks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px 20px; font-size: 16px; line-height: 1.4; }
.pp-checks li { display: flex; gap: 10px; align-items: flex-start; }
.pp-checks li::before { content: "✓"; color: var(--pj-green); font-weight: 700; }
.pp-why { max-width: 64ch; font-size: 17px; line-height: 1.65; color: #C9C9C9; }
.pp-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.pp-detail { min-width: 0; border-top: 2px solid var(--pj-line2); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.pp-detail:first-child { border-top-color: var(--pj-accent); }
.pp-detail h3 { font-size: 19px; font-weight: 600; font-family: inherit; }
.pp-detail p { font-size: 15px; line-height: 1.6; color: var(--pj-muted); }
.pp-quote-wrap { max-width: 900px; }
.pp-stars { color: #FFC94D; font-size: 20px; letter-spacing: 2px; }
.pp-quote { font-size: clamp(20px, 2.4vw, 28px); line-height: 1.45; font-weight: 500; }
.pp-quote-by { font-size: 15px; color: var(--pj-muted); }
.pp-cta { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.pp-cta h2 { max-width: 18ch; }
.pp-cta p { font-size: 17px; line-height: 1.6; color: var(--pj-muted); max-width: 52ch; }
.pp-more { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--pj-muted); align-items: center; }
.pp-more a { color: var(--pj-text); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.pp-more a:hover { color: var(--pj-accent); }
@media (min-width: 720px) { .pj-refs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* style.css fixiert jedes <nav> oben – für die Brotkrumen aufheben */
.pj nav.pp-crumbs { position: static; z-index: auto; padding: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; justify-content: flex-start; align-items: center; }
/* Hauptmenü (fix, aus style.css) – Platz darunter freihalten */
.pj main { padding-top: 78px; }
@media (max-width: 639px) { .pj main { padding-top: 64px; } }
.pj nav .logo-img { height: 38px; width: auto; max-width: none; }
@media (max-width: 639px) { .pj nav .logo-img { height: 30px; } .pj main { padding-top: 76px; } }
/* Normaler Footer auf Landing/Projektseiten: Logo-Größe wie Startseite */
.pj footer .footer-logo-img { height: 28px; width: auto; max-width: none; }
.pp-claim { font-size: clamp(22px, 2.6vw, 32px); font-weight: 500; line-height: 1.3; max-width: 30ch; }
.pp-lede { font-size: 17px; line-height: 1.65; color: var(--pj-muted); max-width: 56ch; }
.pp-mock { margin: 8px 0 0; }
.pp-mock img { display: block; width: 100%; height: auto; }
