/* ============================================================
   SheBuildsSpace · Aurora Design System
   shebuildsspace.de
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Tokens ── */
:root {
  /* Greens */
  --green-50:  #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #065f46;
  --green-900: #052e16;

  /* Teals */
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #065f46;

  /* Pinks */
  --pink-50:  #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-700: #be185d;
  --pink-800: #9d174d;

  /* Accent */
  --emerald: #10b981;

  /* Neutrals */
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  /* Spacing / Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(16,185,129,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(16,185,129,0.12), 0 2px 6px rgba(0,0,0,0.06);
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--green-50);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  background: none;
  border: none;
}

/* ── Layout ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240,253,244,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--green-200);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--green-800);
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  color: var(--green-700);
  font-weight: 400;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-800);
  border-bottom-color: var(--emerald);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  overflow: hidden;
  background: white;
  border: 0.5px solid var(--green-200);
  border-radius: var(--radius-pill);
}

.lang-btn {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  color: var(--green-700);
  transition: background 0.15s, color 0.15s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--green-100);
  color: var(--green-800);
}

/* ============================================================
   HERO AURORA BANNER
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
}

.hero-logo {
  width: 140px;
  height: auto;
  margin-bottom: 16px;
  display: block;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-aurora svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.1s;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  color: white;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-title em {
  font-style: italic;
  color: #6ee7b7;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 32px;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.3s;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s ease forwards 0.4s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.btn:active {
  transform: translateY(0);
  opacity: 1;
}

.btn-primary {
  background: var(--emerald);
  color: white;
}

.btn-outline {
  background: transparent;
  color: #6ee7b7;
  border: 1px solid rgba(110,231,183,0.5);
}

.btn-outline:hover {
  background: rgba(110,231,183,0.08);
}

.btn-green {
  background: var(--green-800);
  color: white;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: white;
  border-bottom: 0.5px solid var(--green-200);
  padding: 0 24px;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 20px 24px;
  border-right: 0.5px solid var(--green-100);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--green-800);
  margin-bottom: 4px;
}

.stat-value.pink { color: var(--pink-700); }
.stat-value.teal { color: var(--teal-700); }

.stat-label-de {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
}

.stat-label-en {
  font-size: 11px;
  color: var(--gray-400);
  margin-top: 1px;
}

/* ============================================================
   MAIN CONTENT GRID
   ============================================================ */
.main-grid {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--green-800);
}

.section-link {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 500;
  transition: opacity 0.15s;
}

.section-link:hover {
  opacity: 0.7;
}

/* ============================================================
   FILTER CHIPS
   ============================================================ */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 14px;
  border: 0.5px solid var(--green-200);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, transform 0.1s, border-color 0.15s;
}

.chip:hover {
  transform: translateY(-1px);
}

.chip-green {
  background: var(--green-100);
  color: var(--green-800);
  border-color: var(--green-200);
}

.chip-teal {
  background: var(--teal-100);
  color: var(--teal-700);
  border-color: var(--teal-200);
}

.chip-pink {
  background: var(--pink-100);
  color: var(--pink-800);
  border-color: var(--pink-200);
}

.chip-active {
  background: var(--green-800);
  color: white;
  border-color: var(--green-800);
}

/* ============================================================
   JOB LIST ON INDEX
   Styled like pathways / events
   ============================================================ */
.job-list-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-list-card {
  display: block;
  background: white;
  border: 0.5px solid var(--green-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  min-height: 72px;
  transition: none;
  cursor: pointer;
}

.job-list-card:hover,
.job-list-card:focus-visible {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  outline: none;
}

.job-list-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--green-800);
  margin-bottom: 4px;
  line-height: 1.4;
  word-break: break-word;
}

.job-list-meta {
  font-size: 11px;
  color: var(--gray-400);
}

.text-link {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 500;
  display: inline-block;
  margin-top: 10px;
  transition: opacity 0.15s;
}

/* ============================================================
   BADGES
   ============================================================ */
.badge-green  { background: var(--green-100); color: var(--green-800); }
.badge-pink   { background: var(--pink-100); color: var(--pink-800); }
.badge-teal   { background: var(--teal-100); color: var(--teal-700); }
.badge-amber  { background: #fef3c7; color: #92400e; }

/* ============================================================
   PATHWAY CARDS
   ============================================================ */
.pathway-card {
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 8px;
  transition: transform 0.15s;
  cursor: pointer;
}

.pathway-card:hover {
  transform: translateY(-1px);
}

.pathway-card.green {
  background: var(--green-100);
  border: 0.5px solid var(--green-200);
}

.pathway-card.pink {
  background: var(--pink-100);
  border: 0.5px solid var(--pink-200);
}

.pathway-card.teal {
  background: var(--teal-100);
  border: 0.5px solid var(--teal-200);
}

.pathway-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.pathway-title.green { color: var(--green-800); }
.pathway-title.pink  { color: var(--pink-800); }
.pathway-title.teal  { color: var(--teal-700); }

.pathway-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.pathway-meta.green { color: var(--green-700); }
.pathway-meta.pink  { color: var(--pink-700); }
.pathway-meta.teal  { color: var(--teal-600); }

/* ============================================================
   COACH CARDS
   ============================================================ */
.coach-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 0.5px solid var(--pink-200);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.coach-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.coach-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
}

.coach-avatar.green { background: var(--green-100); color: var(--green-800); }
.coach-avatar.pink  { background: var(--pink-100); color: var(--pink-800); }
.coach-avatar.teal  { background: var(--teal-100); color: var(--teal-700); }

.coach-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--green-800);
  margin-bottom: 2px;
}

.coach-focus {
  font-size: 11px;
  color: var(--gray-400);
  margin-bottom: 5px;
}

/* ============================================================
   WIKI SECTION
   ============================================================ */
.wiki-section {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 24px;
}

.wiki-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wiki-card {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.wiki-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.wiki-card.green {
  background: var(--green-50);
  border: 0.5px solid var(--green-200);
}

.wiki-card.pink {
  background: var(--pink-50);
  border: 0.5px solid var(--pink-200);
}

.wiki-card.teal {
  background: var(--teal-50);
  border: 0.5px solid var(--teal-200);
}

.wiki-card-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wiki-card-icon.green { background: var(--green-100); }
.wiki-card-icon.pink  { background: var(--pink-100); }
.wiki-card-icon.teal  { background: var(--teal-100); }

.wiki-card-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.wiki-card-title.green { color: var(--green-800); }
.wiki-card-title.pink  { color: var(--pink-800); }
.wiki-card-title.teal  { color: var(--teal-700); }

.wiki-card-sub {
  font-size: 11px;
  line-height: 1.5;
  color: var(--gray-400);
}

.wiki-card-arrow {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
}

.wiki-card-arrow.green { color: var(--green-700); }
.wiki-card-arrow.pink  { color: var(--pink-700); }
.wiki-card-arrow.teal  { color: var(--teal-600); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: white;
  border-top: 0.5px solid var(--green-200);
  padding: 28px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.45;
}

.footer-copy {
  font-size: 12px;
  color: var(--gray-400);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 12px;
  color: var(--emerald);
  transition: opacity 0.15s;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--emerald);
  font-weight: 500;
  transition: opacity 0.15s;
}

.text-link:hover {
  opacity: 0.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  .wiki-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 64px 24px;
  }

  .job-card {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    min-height: 112px;
  }

  .filter-row {
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 0.5px solid var(--green-100);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .job-card {
    flex: 0 0 180px;
    min-width: 180px;
    max-width: 180px;
    padding: 14px;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }
}