/* ============================================================
   MANIFEST — "Wir verlassen jeden Ort besser..." (FT-Bekenntnis)
   ============================================================ */

.manifest {
  position: relative;
  background: #0a0a0a;
  overflow: hidden;
  isolation: isolate;
}

/* Background image: cinematic, parallax-feel */
.manifest__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.manifest__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  /* Slow desaturation so headline stays primary */
  filter: brightness(0.55) saturate(0.85);
}

.manifest__image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.65) 0%, rgba(10, 10, 10, 0.35) 35%, rgba(10, 10, 10, 0.75) 75%, rgba(10, 10, 10, 0.95) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 50%, rgba(10, 10, 10, 0.7) 100%);
  pointer-events: none;
}

.manifest__content {
  position: relative;
  z-index: 1;
  padding: clamp(5rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 7rem);
}

.manifest__content .container {
  max-width: 980px;
}

.manifest__eyebrow {
  font-family: 'ClashGrotesk-Variable', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #22c55e;
  margin: 0 0 var(--space-5);
  text-align: center;
}

.manifest__title {
  font-family: 'ClashGrotesk-Variable', sans-serif;
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 var(--space-7);
  text-align: center;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.manifest__title em {
  font-style: italic;
  font-weight: 500;
  color: #22c55e;
  position: relative;
}

.manifest__body {
  max-width: 680px;
  margin: 0 auto var(--space-8);
  text-align: center;
}

.manifest__body p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 var(--space-4);
}

.manifest__body p:last-child {
  margin-bottom: 0;
}

.manifest__signature {
  font-style: italic;
  font-weight: 500;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  margin-top: var(--space-5) !important;
}

.manifest__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  max-width: 920px;
  margin: 0 auto;
  padding-top: var(--space-7);
  border-top: 1px solid rgba(34, 197, 94, 0.25);
}

.manifest__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: var(--space-3) var(--space-2);
}

.manifest__pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
  margin-bottom: var(--space-2);
}

.manifest__pillar strong {
  font-family: 'ClashGrotesk-Variable', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.005em;
}

.manifest__pillar span:not(.manifest__pillar-icon) {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.65);
}

/* ---- Tablet ---- */
@media (max-width: 900px) {
  .manifest__pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5) var(--space-4);
  }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
  .manifest__content {
    padding: clamp(3.5rem, 10vh, 5rem) 0 clamp(3rem, 8vh, 4.5rem);
  }
  .manifest__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  .manifest__title br {
    display: none;
  }
  .manifest__body p {
    font-size: 0.98rem;
    line-height: 1.6;
  }
  .manifest__signature {
    font-size: 1rem !important;
  }
  .manifest__pillars {
    padding-top: var(--space-5);
  }
  .manifest__pillar {
    padding: var(--space-2) 0;
  }
  .manifest__pillar-icon {
    width: 38px;
    height: 38px;
  }
  /* Stronger overlay on mobile for legibility */
  .manifest__image-overlay {
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.55) 35%, rgba(10, 10, 10, 0.85) 75%, rgba(10, 10, 10, 0.97) 100%);
  }
}

/* ---- Light theme ---- */
[data-theme="light"] .manifest {
  background: #ffffff;
}
[data-theme="light"] .manifest__image img {
  filter: brightness(0.95) saturate(1) contrast(1.02);
}
[data-theme="light"] .manifest__image-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.9) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.85) 100%);
}
[data-theme="light"] .manifest__title {
  color: #0a0a0a;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.8);
}
[data-theme="light"] .manifest__body p {
  color: rgba(10, 10, 10, 0.78);
}
[data-theme="light"] .manifest__signature {
  color: #0a0a0a !important;
}
[data-theme="light"] .manifest__pillar strong {
  color: #0a0a0a;
}
[data-theme="light"] .manifest__pillar span:not(.manifest__pillar-icon) {
  color: rgba(10, 10, 10, 0.65);
}
[data-theme="light"] .manifest__pillars {
  border-top-color: rgba(34, 197, 94, 0.35);
}
