/*--------------------------------------------------------------
# Hiker-Profile – Charity-Hiker e.V.
# Ergänzt style.css, ohne dort etwas zu überschreiben.
# Genutzt in: about.html (Kompakt-Vorschau) und hiker.html (Vollprofile)
--------------------------------------------------------------*/

/* --- Platzhalter-Foto, solange kein echtes Bild vorliegt --- */
.hiker-photo-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f3f1f0;
  border: 1px dashed #ded5d2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #b4aca8;
  gap: 6px;
}

.hiker-photo-placeholder i {
  font-size: 34px;
  line-height: 1;
}

.hiker-photo-placeholder span {
  font-size: 12px;
  font-style: italic;
}

.team .member .member-img img,
.team .member .member-img .hiker-photo-placeholder {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* --- Rollen-Tag unter dem Namen im Kompakt-Grid --- */
.team .member .member-info .hiker-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: #f1eeed;
  color: #65534c;
}

/* --- CTA unter dem Kompakt-Grid zur vollständigen Hiker-Seite --- */
.hiker-preview-cta {
  text-align: center;
  margin-top: 10px;
}

.hiker-preview-cta a {
  display: inline-block;
  font-family: "Muli", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 11px 28px;
  border-radius: 4px;
  border: 2px solid #f0b71f;
  color: #2b2320;
  transition: 0.3s;
}

.hiker-preview-cta a:hover {
  background: #f0b71f;
  color: #2b2320;
  text-decoration: none;
}

/* --- Vollprofil-Seite (hiker.html): 4 gleichwertige Profile --- */
.hiker-profile {
  padding: 60px 0;
}

.hiker-profile:nth-child(even) {
  background: #f8f6f5;
}

.hiker-profile .hiker-profile-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.hiker-profile .hiker-profile-photo {
  flex: 0 0 260px;
  max-width: 260px;
}

.hiker-profile .hiker-profile-photo img,
.hiker-profile .hiker-profile-photo .hiker-photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.hiker-profile .hiker-profile-photo .hiker-photo-placeholder {
  border-radius: 8px;
}

.hiker-profile .hiker-profile-content {
  flex: 1 1 380px;
  min-width: 280px;
}

.hiker-profile .hiker-profile-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2b2320;
  margin: 0 0 4px 0;
}

.hiker-profile .hiker-profile-content .hiker-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  background: #f1eeed;
  color: #65534c;
}

.hiker-profile .hiker-profile-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #4d4643;
}

.hiker-profile .hiker-profile-content blockquote {
  margin: 18px 0;
  padding: 12px 20px;
  border-left: 3px solid #f0b71f;
  font-style: italic;
  color: #65534c;
  background: #f8f6f5;
}

.hiker-profile:nth-child(even) .hiker-profile-content blockquote {
  background: #fff;
}

.hiker-profile .hiker-placeholder-note {
  margin-top: 14px;
  font-size: 13px;
  color: #b4aca8;
  font-style: italic;
}

@media (max-width: 767px) {
  .hiker-profile .hiker-profile-photo {
    flex: 0 0 200px;
    max-width: 200px;
    margin: 0 auto;
  }
  .hiker-profile .hiker-profile-inner {
    justify-content: center;
    text-align: center;
  }
  .hiker-profile .hiker-profile-content blockquote {
    text-align: left;
  }
}

/* --- Herkunfts-Badge: kleine, dezente Flagge unten rechts am Foto ---
   Nur für Hiker mit abweichender Herkunft eingesetzt (aktuell Alix/FR),
   nicht als Serien-Element für alle Hiker gedacht. */
.hiker-flag-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 2;
}

.hiker-flag-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team .member-img,
.hiker-profile-photo {
  position: relative;
}

.hiker-profile .hiker-flag-badge {
  width: 34px;
  height: 34px;
  bottom: 10px;
  right: 10px;
}
