/* ============================================================
   ABOUT PAGE — css/pages/about.css
   Page-specific styles for about.html (Vision & Mission)
   ============================================================ */

/* ===== ABOUT HERO ===== */
.about-hero {
  text-align: center;
  padding: 144px 0 56px;
  position: relative;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.claim {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-label {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-gray);
  margin-bottom: 12px;
  font-weight: 500;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 860px;
  margin: 0 auto 40px;
}

.hero-divider {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 0 auto 40px;
  opacity: 0.6;
}

.about-hero .mission {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== INTRO GRID ===== */
.intro {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.intro-block h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.intro-block p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== SERVICES GRID ===== */
.services {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-block {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border-top: 3px solid var(--color-accent);
}

.service-block h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 8px;
}

.service-block p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* ===== COMPARISON TABLE ===== */
.comparison {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.comparison-table thead th {
  padding: 18px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  text-align: left;
  border-bottom: 2px solid var(--border-dark);
}

.comparison-table thead th:first-child {
  background: var(--bg-dark-2);
  color: var(--text-gray);
  width: 22%;
}

.comparison-table thead th.highlight {
  background: linear-gradient(180deg, rgba(255, 49, 49, 0.15) 0%, rgba(255, 49, 49, 0.06) 100%);
  color: var(--color-accent);
  border-bottom: 2px solid rgba(255, 49, 49, 0.35);
  position: relative;
}

.comparison-table thead th.neutral {
  background: var(--bg-dark-2);
  color: var(--text-gray);
}

.comparison-table tbody td {
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border-dark);
  vertical-align: top;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody td:first-child {
  font-weight: 500;
  color: var(--text-gray);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td.highlight-col {
  background: rgba(255, 49, 49, 0.08);
  color: rgba(255, 255, 255, 0.95);
}

.comparison-table tbody td.neutral-col {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.65);
}

.comparison-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:hover td.highlight-col {
  background: rgba(255, 49, 49, 0.14);
}

/* ===== VALUES GRID ===== */
.values {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.value-card {
  background: var(--bg-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s;
  border-top: 2px solid rgba(255, 49, 49, 0.4);
}

.value-card:hover {
  border-color: rgba(255, 49, 49, 0.35);
  border-top-color: var(--color-accent);
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-gray);
}

/* ===== TIMELINE ===== */
.timeline {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: relative;
}

.timeline-grid::before {
  content: '';
  position: absolute;
  top: 68px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, rgba(255, 49, 49, 0.4) 50%, rgba(255, 49, 49, 0.15) 100%);
}

.timeline-phase {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.phase-marker {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Phase 1: Active */
.timeline-phase:nth-child(1) .phase-marker {
  background: var(--color-accent);
  color: var(--text-white);
  box-shadow: 0 0 28px rgba(255, 49, 49, 0.45);
}

/* Phase 2: Upcoming */
.timeline-phase:nth-child(2) .phase-marker {
  background: rgba(255, 49, 49, 0.2);
  color: var(--text-white);
  border: 2px solid var(--color-accent);
}

/* Phase 3: Future */
.timeline-phase:nth-child(3) .phase-marker {
  background: var(--bg-dark-2);
  color: var(--text-gray);
  border: 2px solid var(--border-dark);
}

.phase-year {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.timeline-phase:nth-child(3) .phase-year {
  color: var(--text-gray);
}

.timeline .phase-title {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: 16px;
  font-weight: 500;
}

.timeline-phase:nth-child(3) .phase-title {
  color: var(--text-gray);
}

.timeline .phase-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  background: var(--bg-dark-2);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-dark);
}

.timeline-phase:nth-child(1) .phase-desc {
  border-color: rgba(255, 49, 49, 0.25);
  background: linear-gradient(180deg, rgba(255, 49, 49, 0.06) 0%, var(--bg-dark-2) 100%);
}

/* ===== KERNBOTSCHAFTEN ===== */
.messages {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.messages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.message-card {
  background: var(--bg-dark-2);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-dark);
  position: relative;
  overflow: hidden;
}

.message-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
}

.message-target {
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 14px;
  font-weight: 500;
}

.message-card blockquote {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  border: none;
  padding: 0;
  margin: 0;
}

/* ===== TEAM ===== */
.team {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-dark);
}

.team-figure {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.team-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.team-caption {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-gray-light);
}

.team-caption__lead {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray-light);
  margin-bottom: 8px;
}

.team-names {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 6px;
}

.team-names strong {
  color: var(--text-white);
  font-weight: 600;
}

.team-names span {
  color: var(--text-gray-light);
}

.team-caption__others {
  margin-top: 12px;
  color: var(--text-gray-light);
}

/* ===== SECTION HEADER (shared within about) ===== */
.section-header {
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-accent);
  font-weight: 500;
}

.section-header p {
  font-size: 15px;
  color: var(--text-gray);
  margin-top: 8px;
}

/* ===== RESPONSIVE OVERRIDES ===== */
@media (min-width: 1400px) {
  .about-hero h1 {
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 120px 0 40px;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card {
    padding: 20px 14px;
    hyphens: auto;
    overflow-wrap: break-word;
  }

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

  .team-figure {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
}

/* Print styles */
@media print {
  body {
    background: #fff;
    color: #112344;
  }

  .comparison-table thead th.highlight {
    background: #fff2f6;
    color: var(--color-primary);
  }

  .comparison-table tbody td.highlight-col {
    background: #fbeff8;
  }
}
