/* ═══════════════════════════════════════════
   ÜBER UNS PAGE
   Body-Klasse: .page-ueber-uns (via Page Slug oder Custom Class)
   Noch nicht live – CSS-Vorlage für UAGB-Blöcke
   ═══════════════════════════════════════════ */

/* ─── Page-spezifische Styles ─── */
/* Nutze body.page-template-default.page-id-XXXX oder
   Custom CSS Class "page-ueber-uns" am Body via Astra/Code Snippet */

/* ═══════ HERO (dunkle Variante) ═══════ */
/* Wird über UAGB Container mit Hintergrundbild gebaut */
.page-ueber-uns .entry-content > .uagb-is-root-container:first-child {
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.page-ueber-uns .entry-content > .uagb-is-root-container:first-child .uagb-heading-text {
  font-size: clamp(32px, 5vw, 64px);
  color: #fff;
  max-width: 760px;
}
.page-ueber-uns .entry-content > .uagb-is-root-container:first-child .uagb-desc-text {
  color: rgba(255,255,255,0.58);
  font-style: italic;
}

/* ═══════ GENERISCHE TYPOGRAPHY ═══════ */
.page-ueber-uns .uagb-heading-text {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.page-ueber-uns p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ═══════ TIMELINE-STYLES ═══════ */
/* Custom CSS Classes auf UAGB-Blöcke anwenden */
.timeline-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.timeline-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(147,47,42,0.25) 8%, rgba(147,47,42,0.25) 92%, transparent 100%);
}

/* Timeline Items - Custom CSS Class "timeline-item" */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  position: relative;
}
.timeline-item::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 0; width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147,47,42,0.12), transparent);
}

/* Timeline Date */
.tl-date {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}
.timeline-item:nth-child(odd) .tl-date { color: var(--primary); }
.timeline-item:nth-child(even) .tl-date { color: var(--navy); }

/* Timeline Content */
.tl-content h3 {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}
.tl-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ═══════ QUOTE SECTION ═══════ */
/* Custom CSS Class "quote-section" auf UAGB Container */
.quote-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.quote-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.25) 0%, transparent 60%, rgba(201,168,76,0.06) 100%);
}
.quote-section .uagb-blockquote {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* ═══════ TODAY SECTION ═══════ */
.today-section {
  background: var(--off-white);
}
.today-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

/* ═══════ PHOTOS SECTION ═══════ */
.photos-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.photos-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(147,47,42,0.15) 0%, transparent 55%);
}
.photos-section .uagb-heading-text {
  color: #fff;
}

/* Photo Cards */
.photo-card-img {
  overflow: hidden;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
  position: relative;
}
.photo-card-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--ease-out), filter 0.4s ease;
  filter: grayscale(30%) sepia(10%);
}
.photo-card:hover .photo-card-img img {
  transform: scale(1.05);
  filter: grayscale(0%) sepia(0%);
}

/* ═══════ CTA SECTION ═══════ */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 55%, rgba(201,168,76,0.07) 100%);
}
.cta-section .uagb-heading-text {
  color: #fff;
}
.cta-section .uagb-desc-text {
  color: rgba(255,255,255,0.6);
}
