/**
 * Autoren-Detail Page CSS
 * Ergaenzt anbieter-detail.css um autoren-spezifische Styles.
 * Wiederverwendet: anbieter-hero, anbieter-section, anbieter-usps, anbieter-badges, expert-quote
 */

/* ===== HERO: Rundes Foto statt eckigem Logo ===== */
.autoren-detail .anbieter-hero__logo-wrapper {
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
}

.autoren-detail .anbieter-hero__logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== LINKEDIN ICON ===== */
.autoren-linkedin {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: middle;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.autoren-linkedin:hover {
  opacity: 1;
}

.autoren-linkedin svg {
  display: block;
}

/* ===== TIMELINE ===== */
.autoren-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.autoren-timeline__item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--anbieter-border, #e2e8f0);
}

.autoren-timeline__item:last-child {
  border-bottom: none;
}

.autoren-timeline__year {
  flex-shrink: 0;
  width: 160px;
  font-size: 15px;
  font-weight: 700;
  color: var(--anbieter-primary, #23cfb2);
  line-height: 1.5;
}

.autoren-timeline__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--anbieter-text, #2d3748);
}

/* ===== STAT-BOXEN: Grosse Zahlen ===== */
.autoren-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.autoren-stat {
  text-align: center;
  padding: 20px 16px;
  background: var(--anbieter-bg, #ffffff);
  border: 1px solid var(--anbieter-border, #e2e8f0);
  border-radius: 8px;
}

.autoren-stat__value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--anbieter-primary, #23cfb2);
  line-height: 1.2;
  margin-bottom: 4px;
}

.autoren-stat__label {
  font-size: 13px;
  color: var(--anbieter-text-light, #718096);
  line-height: 1.3;
}

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) {
  .autoren-timeline__year {
    width: 200px;
  }

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

  .autoren-stat__value {
    font-size: 32px;
  }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  .autoren-stat__value {
    font-size: 36px;
  }
}

/* ===== MOBILE: Timeline stacked ===== */
@media (max-width: 599px) {
  .autoren-timeline__item {
    flex-direction: column;
    gap: 4px;
  }

  .autoren-timeline__year {
    width: auto;
  }
}
