:root {
  --black: #0b0b0c;
  --black-soft: #141416;
  --gold: #c9a227;
  --gold-bright: #e8c766;
  --white: #f2f0ea;
  --grey: #9a9690;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  color: var(--gold-bright);
}

.brand svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-logo {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-logo svg {
  width: 100%;
  height: 100%;
  color: var(--gold-bright);
}

.brand-text {
  font-weight: bold;
  text-transform: uppercase;
}

nav.main-nav {
  display: flex;
  gap: 1.75rem;
}

nav.main-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold-bright);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 0.4rem 0.7rem;
  font-size: 1rem;
  cursor: pointer;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.page-title {
  font-size: 2rem;
  color: var(--gold-bright);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-subtitle {
  color: var(--grey);
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* Hero / Startseite */
.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse at center, rgba(201, 162, 39, 0.08) 0%, rgba(11, 11, 12, 0) 70%),
    var(--black);
}

.hero-star {
  width: 110px;
  height: 110px;
  margin-bottom: 1.5rem;
  color: var(--gold-bright);
  filter: drop-shadow(0 0 18px rgba(201, 162, 39, 0.5));
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  margin: 0;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 0 30px rgba(201, 162, 39, 0.25);
}

.hero .est {
  color: var(--grey);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.hero .motto {
  max-width: 560px;
  margin-top: 2rem;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--white);
  border-top: 1px solid rgba(201, 162, 39, 0.4);
  border-bottom: 1px solid rgba(201, 162, 39, 0.4);
  padding: 1.25rem 0;
}

.hero-links {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--gold);
  color: var(--black);
}

/* Geschichte */
.timeline {
  border-left: 2px solid var(--gold);
  margin-left: 1rem;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 0.3rem;
  width: 12px;
  height: 12px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(201, 162, 39, 0.6);
}

.timeline-year {
  color: var(--gold-bright);
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  display: block;
}

.story p {
  margin-bottom: 1.25rem;
}

.pull-quote {
  font-style: italic;
  color: var(--gold-bright);
  font-size: 1.25rem;
  text-align: center;
  margin: 2.5rem auto;
  max-width: 600px;
}

/* Turniere */
.tournament-card {
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--black-soft);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.tournament-card.placeholder {
  border-style: dashed;
  color: var(--grey);
}

.tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tournament-header h2 {
  color: var(--gold-bright);
  margin: 0;
  font-size: 1.4rem;
}

.tournament-meta {
  color: var(--grey);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.results {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.5rem;
}

.results li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted rgba(201, 162, 39, 0.25);
  padding-bottom: 0.4rem;
  font-size: 0.95rem;
}

.results .score {
  color: var(--gold-bright);
  font-weight: bold;
  margin-left: 1rem;
  white-space: nowrap;
}

.final-standing {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--gold-bright);
}

.tournament-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tournament-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid rgba(201, 162, 39, 0.35);
  display: block;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.75rem;
}

.player-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: var(--black-soft);
  cursor: pointer;
}

.player-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1c1c1f, #0b0b0c);
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-photo .placeholder-icon {
  width: 40%;
  height: 40%;
  color: rgba(201, 162, 39, 0.35);
}

.player-name-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.player-name-tag .name {
  color: var(--gold-bright);
  font-weight: bold;
  display: block;
}

.player-name-tag .role {
  color: var(--grey);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.player-bio {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 12, 0.94);
  border-top: 2px solid var(--gold);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.player-card:hover .player-bio,
.player-card:focus-within .player-bio,
.player-card.active .player-bio {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.player-bio .name {
  color: var(--gold-bright);
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.player-bio .nickname {
  color: var(--grey);
  font-style: italic;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.player-bio .role {
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.team-photo {
  margin-bottom: 2.5rem;
}

.team-photo img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(201, 162, 39, 0.35);
  display: block;
}

.team-photo figcaption {
  color: var(--grey);
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 0.6rem;
  text-align: center;
}

.player-bio p {
  font-size: 0.9rem;
  margin: 0;
}

.home-team-photo {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.home-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(201, 162, 39, 0.35);
  transition: opacity 0.2s;
}

.home-team-photo img:hover {
  opacity: 0.85;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--grey);
  font-size: 0.85rem;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.site-footer .footer-instagram {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  border-bottom: 1px solid transparent;
}

.site-footer .footer-instagram:hover {
  border-color: var(--gold);
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(201, 162, 39, 0.3);
    display: none;
  }

  nav.main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }
}
