/* page-projekte.css - nur projektspezifische Ergänzungen für /projekte.
   Hero, Sections, Eyebrow, Lead, Container, Closing kommen aus lociv.css +
   markenstory.css. Hier: Sticky-Footer-Layout, Flagship-Block (Nordbahn),
   Referenz-Karten-Grid (Glassmorphism, aus dem .stack-card-Muster portiert),
   Tag-Pills, Screenshot-Rahmen. Mobile First, nur CI-Tokens. */

/* ─── Sticky-Footer-Layout (Pendant zu body.page-story) ─────────── */
body.page-projects { display: flex; flex-direction: column; min-height: 100dvh; }
body.page-projects main { flex: 1; }

/* Hero-Headline etwas kompakter als die Wortmarke (längerer Text) */
.page-projects .hero-wordmark {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
}

/* ════════════════════════════════════════════════════════════════
   TIER 1 - Nordbahn-Flagship (Light-Section)
   ════════════════════════════════════════════════════════════════ */
.flagship {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 880px) {
  .flagship {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 48px;
  }
}

/* Screenshot-Rahmen (Platzhalter bis echter Screenshot vorliegt) */
.proj-shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(98, 112, 229, 0.18);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.proj-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Platzhalter-Look im Lociv-CI (NICHT Nordbahn-Navy/Gold) */
.proj-shot--placeholder {
  background:
    radial-gradient(ellipse 120% 80% at 20% 10%, rgba(98, 112, 229, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse 100% 80% at 90% 95%, rgba(208, 249, 98, 0.18) 0%, transparent 60%),
    var(--deep-bg);
}
.proj-shot-label {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.flagship-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-strong);
  margin: 0 0 14px;
}
.flagship-body p {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.flagship-meta {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 16px 0 0;
}
.flagship-meta strong { color: var(--text-body); font-weight: 600; }

/* ─── Tag-Pills (hell, in der Flagship-Section) ─────────────────── */
.proj-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.proj-tag {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(98, 112, 229, 0.10);
  color: var(--civic-blue);
  border: 1px solid rgba(98, 112, 229, 0.20);
}

/* ════════════════════════════════════════════════════════════════
   TIER 2 - Referenz-Karten (Dark-Section, Glassmorphism)
   Portiert aus dem .stack-card-Muster (page-home.css), eigenständig.
   ════════════════════════════════════════════════════════════════ */
.ref-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 720px)  { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }

.ref-card {
  display: flex;
  flex-direction: column;
  padding: 30px 30px 28px 32px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-left: 4px solid var(--civic-blue-soft);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out),
              box-shadow 0.25s var(--ease-out);
}
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ref-card.live { border-left-color: var(--civic-lime); }
.ref-card.live:hover { border-color: rgba(208, 249, 98, 0.35); }
.ref-card.roadmap:hover { border-color: rgba(126, 139, 252, 0.35); }

.ref-card .status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui);
  font-size: var(--fs-2xs); font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--civic-blue-pale);
}
.ref-card.live .status { color: var(--civic-lime); }
.ref-card.live .status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--civic-lime); box-shadow: 0 0 8px rgba(208, 249, 98, 0.6);
}

.ref-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl); font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 10px;
}
.ref-card p {
  font-family: var(--font-ui);
  color: var(--civic-blue-pale);
  font-size: var(--fs-md); line-height: 1.55;
  margin: 0;
}
/* Tag-Pills auf der dunklen Karte */
.ref-card .proj-tags { margin: 16px 0 0; }
.ref-card .proj-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--civic-blue-pale);
  border-color: var(--border-glass);
}
.ref-card .ref-role {
  margin: 14px 0 0;
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.55);
}
.ref-card .arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--civic-blue-soft);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  transition: transform 0.2s var(--ease-out);
}
.ref-card.live .arrow { color: var(--civic-lime); }
.ref-card:hover .arrow { transform: translateX(3px); }

/* ─── Closing-CTA-Button-Abstand ────────────────────────────────── */
.closing .closing-cta { margin-top: 30px; }


/* ─── Technologiepartner-Hinweis unter den Referenz-Karten ──────── */
.ref-note {
  margin: 30px 0 0;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
}
.ref-note a {
  color: var(--civic-blue-pale);
  text-decoration: none;
  border-bottom: 1px solid rgba(164, 180, 255, 0.3);
  transition: color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}
.ref-note a:hover { color: var(--civic-lime); border-bottom-color: var(--civic-lime); }
