/* =========================================================
   4don Project Detail Pages — Shared Styles
   File: /projects/_project-style.css

   Ziel:
   - Projekt-Detailseiten einheitlich stylen
   - Kein Copy/Paste von <style> Blöcken in jeder Seite
   - Clean + Premium + Purple Ambient Look

   Usage (in jeder Detailseite):
   <link rel="stylesheet" href="_project-style.css" />
   ========================================================= */

/* ---------------------------------------------------------
   Back button row (top-left)
   --------------------------------------------------------- */
.project-topbar {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 1.25rem 0;
}

/* ---------------------------------------------------------
   HERO layout (Cover + Meta)
   --------------------------------------------------------- */
.project-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* Mobile: stack elements */
@media (max-width: 980px) {
  .project-hero {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------
   Cover image container
   --------------------------------------------------------- */
.project-cover {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
}

.project-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   Meta sidebar card
   --------------------------------------------------------- */
.project-meta {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

/* Meta rows inside sidebar */
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-row:last-child {
  border-bottom: 0;
}

.meta-k {
  opacity: 0.75;
  font-size: 0.95rem;
}

.meta-v {
  text-align: right;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Badges / Tags
   --------------------------------------------------------- */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 63, 242, 0.35);
  background: rgba(122, 63, 242, 0.12);
  line-height: 1;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---------------------------------------------------------
   Callout cards grid
   --------------------------------------------------------- */
.callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

/* Mobile: stack cards */
@media (max-width: 980px) {
  .callouts {
    grid-template-columns: 1fr;
  }
}

.callout {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
}

.callout h3 {
  margin-top: 0;
}

/* ---------------------------------------------------------
   Checklist (✅ lines)
   --------------------------------------------------------- */
.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0 0;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.checklist li:last-child {
  border-bottom: 0;
}

.check {
  width: 1.25rem;
  flex: 0 0 1.25rem;
  opacity: 0.9;
}

/* ---------------------------------------------------------
   Helpers
   --------------------------------------------------------- */
.muted {
  opacity: 0.8;
}

.mini-note {
  font-size: 0.95rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Section separator */
.section-sep {
  margin: 2.5rem 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
