/* ============================================================
   *nnika Portfolio — about.css
============================================================ */


/* ------------------------------------------------------------
   INTRO — Portrait links (1/3), Text rechts (2/3)
------------------------------------------------------------ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 5rem;
}

/* Gleicher Schatten wie beim Portrait auf der Snowsport-Seite —
   hebt das Bild klarer vom Butter-Gelb-Hintergrund ab */
.about-portrait {
  aspect-ratio: 3 / 4;
  filter: drop-shadow(10px 10px 24px rgba(0, 0, 0, 0.35));
  /* 🐛 FIX: .project-collage--framed (geteilte Basis-Klasse, siehe
     portfolio-detail.css) bringt "width: 78%; margin: 0 auto;" mit
     — das zentrierte das Bild innerhalb seiner Grid-Spalte, statt
     linksbündig mit der H1 abzuschliessen. Hier gezielt nur für
     .about-portrait überschrieben (andere Seiten mit derselben
     Basis-Klasse bleiben unangetastet). */
  width: 80%;
  margin: 0;
}

.about-portrait img:not(.paper-frame-overlay) {
  position: absolute;
  top: 2%;
  left: 2%;
  right: 2%;
  bottom: 2%;
  width: 96%;
  height: 96%;
  object-fit: cover;
}

.about-intro__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}


/* ------------------------------------------------------------
   CTA — direkt unter Einleitungstext
   4 Links (Email, LinkedIn, Instagram, Download CV) — alle als
   Buttons im Photography-Tab-Stil: transparent + Graphite-Rand,
   beim Hover volle Graphite-Füllung mit Butter-Text.
------------------------------------------------------------ */
.about-cta--inline {
  margin-top: 0;
  margin-bottom: 3rem;
}

/* Neuer Seitentitel oberhalb von Bild+Text */
.about-page-title {
  margin-bottom: 2rem;
}

.about-cta__text {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--graphite);
  margin-bottom: 0.8rem;
}

.about-cta__links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.about-cta__link {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
  background: transparent;
  border: 1.5px solid var(--graphite);
  border-radius: 100px;
  padding: 0.5em 1.1em;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.about-cta__link:hover {
  background: var(--graphite);
  color: var(--butter);
}


/* ------------------------------------------------------------
   SECTIONS
------------------------------------------------------------ */
.about-section {
  margin-bottom: 4rem;
}

.about-section__title {
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--graphite);
  opacity: 0.45;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}


/* ------------------------------------------------------------
   EXPERIENCE + EDUCATION — kompakte Listen nebeneinander
------------------------------------------------------------ */
.about-timelines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.about-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(46, 46, 48, 0.15);
}

.about-list__item:last-child {
  border-bottom: none;
}

.about-list__role {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.35;
}

.about-list__year {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--graphite);
  opacity: 0.5;
  white-space: nowrap;
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   SPRACHEN
------------------------------------------------------------ */
.about-languages {
  margin-top: 0;
}


/* ------------------------------------------------------------
   FADE-IN beim Laden
   Gleiches Prinzip + gleiche Keyframe (detailFadeInUp) wie bei
   den Portfolio-Detailseiten, aber diese Seite nutzt .about-intro
   statt .detail-intro als Wrapper — braucht daher eine eigene,
   zusätzliche Regel (die geteilte .portfolio-subpage .detail-intro
   Regel aus portfolio-detail.css greift hier nicht, da die Klasse
   fehlt). .site-header wird bereits durch die geteilte Regel
   automatisch mit erfasst.
------------------------------------------------------------ */
.portfolio-subpage .about-page-title {
  opacity: 0;
  animation: detailFadeInUp 0.7s ease forwards;
  animation-delay: 0.1s;
}

.portfolio-subpage .about-intro {
  opacity: 0;
  animation: detailFadeInUp 0.7s ease forwards;
  animation-delay: 0.2s;
}

.portfolio-subpage .about-section {
  opacity: 0;
  animation: detailFadeInUp 0.7s ease forwards;
  animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-subpage .about-page-title,
  .portfolio-subpage .about-intro,
  .portfolio-subpage .about-section {
    animation: none;
    opacity: 1;
  }
}


/* ------------------------------------------------------------
   RESPONSIVE FALLBACK
   🟡 max-width ergänzt: Portrait wurde auf Mobile (gestapeltes
   1-Spalten-Layout) sehr breit, da es die volle Container-Breite
   einnahm — jetzt gedeckelt + zentriert, ähnlich wie das kleine
   Mobile-Portrait auf der Snowsport-Seite.
------------------------------------------------------------ */
@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 320px;
    margin: 0 auto;
  }

  .about-timelines {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}