/* =========================================================
   team.html — eigene Sektion-Styles, im CI der Site
   Ruhig, kompakt, professionell — keine dominanten Bilder
   ========================================================= */

.page-team { background: var(--paper); }

/* ===== Page hero — kompakt, weniger Padding ===== */
.team-hero {
  padding: 6rem 0 3.5rem;
  border-bottom: 1px solid var(--hairline);
  background: var(--paper);
}
.team-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 4rem;
  align-items: end;
}
.team-hero-text { min-width: 0; }
.team-hero .eyebrow { margin-bottom: 1rem; }
.team-hero h1.h-display {
  max-width: 18ch;
  margin: 0 0 1.25rem;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.1;
}
.team-hero-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(14, 42, 58, 0.7);
  max-width: 58ch;
  margin: 0;
}

/* ===== Hero Meta — ruhiger CI-Marker rechts ===== */
.team-hero-meta {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 1px solid var(--hairline);
}
.team-hero-meta .meta-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: 'Inter', system-ui, sans-serif;
}
.team-hero-meta .meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #b88a4a);
  flex-shrink: 0;
}
.team-hero-meta .meta-label {
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(14, 42, 58, 0.75);
  font-weight: 500;
}
.team-hero-meta .meta-rule {
  height: 1px;
  background: var(--hairline);
  width: 70%;
  margin: .25rem 0;
}
.team-hero-meta .meta-tag {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(14, 42, 58, 0.65);
  margin: 0;
  line-height: 1.4;
}

/* ===== Person section — kompakt, Bild klein ===== */
.person {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--hairline);
}
.person:last-of-type { border-bottom: none; }

.person-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.person-grid-reverse {
  grid-template-columns: 1fr 280px;
}
.person-grid-reverse .person-figure { order: 2; }
.person-grid-reverse .person-text   { order: 1; }

/* Portrait — klein, fix breit, dezent */
.person-figure {
  position: relative;
  margin: 0;
  max-width: 280px;
}
.person-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  filter: saturate(0.96);
}
.person-figure figcaption {
  margin-top: .7rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .08em;
  color: rgba(14, 42, 58, 0.5);
  text-transform: uppercase;
}

/* Text block */
.person-text { max-width: 62ch; }
.person-text .eyebrow {
  margin-bottom: 1rem;
  font-size: .75rem;
  letter-spacing: .12em;
}

.person-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .25rem;
  letter-spacing: -0.01em;
}

.person-role {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .92rem;
  font-weight: 400;
  color: rgba(14, 42, 58, 0.6);
  margin: 0 0 1.5rem;
  letter-spacing: .005em;
}

.person-text p.person-lede {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
}
.person-text p:not(.person-lede):not(.eyebrow):not(.person-role) {
  font-size: .98rem;
  line-height: 1.7;
  color: rgba(14, 42, 58, 0.78);
  margin: 0 0 1rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.person-tags {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.person-tags li {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(14, 42, 58, 0.65);
  padding: .4rem .75rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: transparent;
}

/* ===== Divider between persons ===== */
.person-divider {
  padding: 2.5rem 0;
  background: var(--paper);
}
.person-divider .container {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.divider-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(14, 42, 58, 0.5);
  white-space: nowrap;
  margin: 0;
}

/* ===== Joint CTA — kompakter ===== */
.team-cta {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem 0 5rem;
  text-align: center;
}
.team-cta .eyebrow {
  color: rgba(246, 243, 236, 0.6);
  margin-bottom: 1rem;
}
.team-cta h2.h-display {
  color: var(--paper);
  max-width: 24ch;
  margin: 0 auto 1.25rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.team-cta h2.h-display em {
  font-style: italic;
  color: rgba(246, 243, 236, 0.75);
}
.team-cta-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .98rem;
  line-height: 1.65;
  color: rgba(246, 243, 236, 0.72);
  max-width: 55ch;
  margin: 0 auto 2rem;
}
.team-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.team-cta-actions .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.team-cta-actions .btn-primary:hover {
  background: rgba(246, 243, 236, 0.9);
}
.team-cta-actions .btn-line {
  color: var(--paper);
  border-color: rgba(246, 243, 236, 0.4);
}
.team-cta-actions .btn-line:hover {
  border-color: var(--paper);
  background: rgba(246, 243, 236, 0.08);
}

/* ===== Mobile ===== */
@media (max-width: 880px) {
  .team-hero { padding: 4.5rem 0 2.5rem; }
  .team-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-hero-meta {
    border-left: none;
    border-top: 1px solid var(--hairline);
    padding: 1.5rem 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
  .team-hero-meta .meta-rule { display: none; }
  .team-hero-meta .meta-tag { width: 100%; font-size: .95rem; }
  .team-hero h1.h-display { font-size: 1.85rem; }
  .team-hero-sub { font-size: .95rem; }

  .person { padding: 3rem 0; }

  .person-grid,
  .person-grid-reverse {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .person-grid-reverse .person-figure { order: 0; }
  .person-grid-reverse .person-text   { order: 1; }

  .person-figure {
    max-width: 220px;
    margin: 0 auto 0 0;
  }

  .person-divider { padding: 1.75rem 0; }
  .person-divider .container { gap: 1rem; }
  .divider-text { font-size: .68rem; letter-spacing: .08em; white-space: normal; text-align: center; }

  .team-cta { padding: 3.5rem 0 4rem; }
  .team-cta h2.h-display { font-size: 1.7rem; }
  .team-cta-actions { flex-direction: column; align-items: stretch; }
  .team-cta-actions .btn-primary,
  .team-cta-actions .btn-line { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 520px) {
  .person-name { font-size: 1.5rem; }
  .person-tags li { font-size: .68rem; padding: .35rem .65rem; }
  .person-figure { max-width: 180px; }
}

/* ============ Person Note (Marco's reach statement) ============ */
.person-note {
  margin: 1.5rem 0 .25rem;
  padding: 1.1rem 1.25rem 1.1rem 1.4rem;
  border-left: 2px solid rgba(184, 156, 96, 0.6); /* warm gold accent */
  background: rgba(184, 156, 96, 0.04);
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-size: .94rem;
  line-height: 1.65;
  color: rgba(14, 42, 58, 0.78);
  border-radius: 0 4px 4px 0;
}
@media (max-width: 720px) {
  .person-note {
    padding: .9rem 1rem .9rem 1.15rem;
    font-size: .9rem;
  }
}

/* === Marco Social Block === */
.person-social {
  display: flex;
  gap: .6rem;
  margin-top: 1.25rem;
  align-items: center;
}
.person-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(20, 20, 20, .12);
  color: #1a1a1a;
  background: #fff;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, background .25s ease;
  text-decoration: none;
}
.person-social a:hover,
.person-social a:focus-visible {
  color: #F2B84B;
  border-color: #F2B84B;
  background: #fff;
  transform: translateY(-2px);
}
.person-social a:focus-visible { outline: 2px solid #F2B84B; outline-offset: 2px; }
@media (max-width: 600px) {
  .person-social { gap: .5rem; margin-top: 1rem; }
  .person-social a { width: 36px; height: 36px; }
  .person-social svg { width: 18px; height: 18px; }
}
