
/* Grundlayout */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050509;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Sprachsichtbarkeit */

.lang {
  display: none;
}

html[data-lang="de"] .lang-de {
  display: inline;
}

html[data-lang="en"] .lang-en {
  display: inline;
}

/* Wrapper */

.history-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4.5rem;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

p {
  margin: 0 0 1rem;
}

.muted {
  opacity: 0.8;
  font-size: 0.95rem;
}

/* Social-Bar ganz oben */

.social-header {
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.5rem;
}

.social-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.social-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
  margin-right: 0.25rem;
  white-space: nowrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  text-decoration: none;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: block;
}

/* Language Switcher */

.lang-switch {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #f5f5f5;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn-active {
  background: #f5f5f5;
  color: #050509;
  border-color: #f5f5f5;
}

/* Page header with logo + navigation */

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-logo {
  width: 1560px;
  max-width: 90%;
  height: auto;
  margin-bottom: 1rem;
}

/* Main navigation */

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.main-nav a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.main-nav a.active {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero-Bereich (nur auf Startseite) */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: center;
}

.hero-text p {
  max-width: 620px;
}

.hero-image {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at top, #2b2345 0, #050509 60%);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-caption {
  width: 100%;
  font-size: 0.8rem;
  opacity: 0.8;
  padding: 0.5rem 0.9rem 0.7rem;
  background: rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}

.hero-caption span {
  display: block;
}

/* Sektionen */

.section {
  margin-bottom: 3.5rem;
}

.section-header {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.5rem;
}

.section-header p {
  margin-bottom: 0;
}

/* Grid für Mitglieder / Karten */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
}

.member-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.1rem 1.2rem 1.3rem;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.member-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 0, #6c4cff 0, #18101f 55%, #050509 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  text-align: center;
  padding: 0 0.4rem;
}

.member-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.9;
  margin-bottom: 0.4rem;
}

.member-note {
  font-size: 0.9rem;
  opacity: 0.95;
}

/* Timeline */

.timeline {
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  margin-left: 0.4rem;
  padding-left: 1.4rem;
  display: grid;
  gap: 1.8rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 0.2rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f5f5f5;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

.timeline-era {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
  margin-bottom: 0.2rem;
}

/* Kleine Bildstreifen (z.B. Promos) */

.promo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.promo-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.promo-image {
  position: relative;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle at top, #43306b 0, #050509 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-label {
  position: absolute;
  bottom: 0.6rem;
  right: 0.9rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.promo-body {
  padding: 0.9rem 1rem 1.1rem;
}

.promo-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.promo-meta {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

/* Footer-Hinweis */

.footnote {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1rem;
}

.footer-link {
  text-align: center;
  margin-top: 3rem;
}

/* Links in dezentem Dark-Mode-Gold */

a {
  color: #d4b76f;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: #f0d790;
  text-decoration: none;
}

a:active {
  color: #bfa25c;
}

/* Responsive */

@media (max-width: 780px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    margin-bottom: 2.5rem;
  }

  .history-wrapper {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .social-inner {
    justify-content: center;
  }

  .social-label {
    text-align: center;
  }

  .lang-switch {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2rem;
  }

  .member-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .member-avatar {
    margin: 0 auto;
  }

  .avatar-label {
    margin-top: 0.3rem;
  }
}
