@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --green: #1a4a2e;
  --green-mid: #2d6e45;
  --green-light: #3d8f5c;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --cream: #f8f4ec;
  --dark: #0f1f16;
  --card-red: #b02020;
  --card-white: #fdfaf4;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--cream);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10,22,14,0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(248,244,236,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-links a.active { color: var(--gold); background: rgba(201,168,76,0.13); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10,22,14,0.98);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 0.75rem 1.5rem 1rem;
}
.mobile-menu a {
  color: rgba(248,244,236,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* ── PAGE ENTER ANIMATION ── */
main {
  animation: pageFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── PAGE CONTENT ANIMATIONS ── */
/* Alle Seiten: Inhalte kommen gestaffelt von unten rein */

.page-header .section-label  { animation: fadeUp 0.7s 0.10s ease both; }
.page-header .section-title  { animation: fadeUp 0.7s 0.22s ease both; }
.page-header .section-desc   { animation: fadeUp 0.7s 0.34s ease both; }
.page-header .gold-line      { animation: fadeUp 0.7s 0.44s ease both; }

/* Team cards */
.team-grid .team-card:nth-child(1) { animation: fadeUp 0.7s 0.30s ease both; }
.team-grid .team-card:nth-child(2) { animation: fadeUp 0.7s 0.45s ease both; }
.history-block                     { animation: fadeUp 0.7s 0.55s ease both; }
.info-grid .info-item:nth-child(1) { animation: fadeUp 0.6s 0.35s ease both; }
.info-grid .info-item:nth-child(2) { animation: fadeUp 0.6s 0.43s ease both; }
.info-grid .info-item:nth-child(3) { animation: fadeUp 0.6s 0.51s ease both; }
.info-grid .info-item:nth-child(4) { animation: fadeUp 0.6s 0.59s ease both; }
.info-grid .info-item:nth-child(5) { animation: fadeUp 0.6s 0.67s ease both; }
.info-grid .info-item:nth-child(6) { animation: fadeUp 0.6s 0.75s ease both; }

/* Termine */
.termin-hero .termin-card:nth-child(1) { animation: fadeUp 0.7s 0.30s ease both; }
.termin-hero .termin-card:nth-child(2) { animation: fadeUp 0.7s 0.42s ease both; }
.termin-hero .termin-card:nth-child(3) { animation: fadeUp 0.7s 0.54s ease both; }
.note-box:nth-of-type(1)               { animation: fadeUp 0.7s 0.50s ease both; }
.note-box:nth-of-type(2)               { animation: fadeUp 0.7s 0.62s ease both; }

/* Regeln */
.regel-step:nth-child(1) { animation: fadeUp 0.7s 0.25s ease both; }
.regel-step:nth-child(2) { animation: fadeUp 0.7s 0.38s ease both; }
.regel-step:nth-child(3) { animation: fadeUp 0.7s 0.51s ease both; }
.regel-step:nth-child(4) { animation: fadeUp 0.7s 0.64s ease both; }
.hands-section           { animation: fadeUp 0.7s 0.40s ease both; }
.begriffe-cols           { animation: fadeUp 0.7s 0.45s ease both; }

/* FAQ */
.faq-list .faq-item:nth-child(1) { animation: fadeUp 0.6s 0.20s ease both; }
.faq-list .faq-item:nth-child(2) { animation: fadeUp 0.6s 0.30s ease both; }
.faq-list .faq-item:nth-child(3) { animation: fadeUp 0.6s 0.40s ease both; }
.faq-list .faq-item:nth-child(4) { animation: fadeUp 0.6s 0.50s ease both; }
.faq-list .faq-item:nth-child(5) { animation: fadeUp 0.6s 0.60s ease both; }
.faq-list .faq-item:nth-child(6) { animation: fadeUp 0.6s 0.70s ease both; }
.faq-list .faq-item:nth-child(7) { animation: fadeUp 0.6s 0.80s ease both; }

/* Kontakt */
.kontakt-cards .kontakt-card:nth-child(1) { animation: fadeUp 0.7s 0.25s ease both; }
.kontakt-cards .kontakt-card:nth-child(2) { animation: fadeUp 0.7s 0.38s ease both; }
.kontakt-cards .kontakt-card:nth-child(3) { animation: fadeUp 0.7s 0.51s ease both; }
.kontakt-notice                           { animation: fadeUp 0.7s 0.60s ease both; }

/* Magazine / Quiz */
.embed-intro                              { animation: fadeUp 0.7s 0.30s ease both; }
.embed-link-cards .embed-link-card:nth-child(1) { animation: fadeUp 0.7s 0.42s ease both; }
.embed-link-cards .embed-link-card:nth-child(2) { animation: fadeUp 0.7s 0.54s ease both; }


/* ── SHARED LAYOUT ── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6.5rem 2rem 5rem;
}

.page-header { margin-bottom: 3rem; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-desc {
  color: rgba(248,244,236,0.62);
  max-width: 600px;
  line-height: 1.78;
  font-size: 0.98rem;
}

.gold-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 0;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--gold); color: var(--dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.04em;
  padding: 0.85rem 2rem; border-radius: 6px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500; font-size: 0.9rem;
  padding: 0.85rem 2rem; border-radius: 6px;
  border: 1px solid rgba(248,244,236,0.2); cursor: pointer; text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ── NOTE BOX ── */
.note-box {
  margin-top: 2rem;
  background: rgba(201,168,76,0.07);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 10px; padding: 1.2rem 1.6rem;
  color: rgba(248,244,236,0.68); font-size: 0.9rem; line-height: 1.65;
}
.note-box strong { color: var(--gold-light); }
.note-box.neutral { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.08); }

/* ── INFO GRID ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1rem; margin-top: 3rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.15rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; }
.info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 0.25rem; }
.info-val { color: var(--cream); font-size: 0.9rem; line-height: 1.45; }

/* ── EMBED LINK CARDS ── */
.embed-intro {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; padding: 2rem 2.5rem; margin-bottom: 2.5rem; max-width: 680px;
}
.embed-intro p { color: rgba(248,244,236,0.65); line-height: 1.75; font-size: 0.95rem; }

.embed-link-cards { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.embed-link-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.22);
  border-radius: 12px; padding: 1.5rem 1.75rem; text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s; min-width: 240px; flex: 1;
}
.embed-link-card:hover { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.45); transform: translateY(-3px); }
.embed-link-card .el-icon { font-size: 2.2rem; flex-shrink: 0; }
.embed-link-card .el-title { font-weight: 700; font-size: 0.95rem; color: var(--cream); margin-bottom: 0.2rem; }
.embed-link-card .el-sub { font-size: 0.8rem; color: rgba(248,244,236,0.5); }
.embed-link-card .el-arrow { margin-left: auto; color: var(--gold); font-size: 1.1rem; }

/* ── FOOTER ── */
footer {
  text-align: center; padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(248,244,236,0.28); font-size: 0.78rem; line-height: 1.75;
}
footer a { color: rgba(201,168,76,0.55); text-decoration: none; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 1.25rem; }
}

/* ── SPIELEN NAV BUTTON ── */
.nav-links a[href="spielen.html"] {
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.08));
  border: 1px solid rgba(201,168,76,0.55);
  border-radius: 8px;
  padding: 0.3rem 0.85rem !important;
  color: #c9a84c !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.nav-links a[href="spielen.html"]:hover {
  background: linear-gradient(135deg, rgba(201,168,76,0.32), rgba(201,168,76,0.14));
  border-color: rgba(201,168,76,0.9);
  box-shadow: 0 0 14px rgba(201,168,76,0.35);
  transform: translateY(-1px);
  color: #e8c97a !important;
}
.nav-links a[href="spielen.html"].active {
  background: #c9a84c;
  color: #0d1f14 !important;
  border-color: #c9a84c;
}
.mobile-menu a[href="spielen.html"] {
  color: #c9a84c !important;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  margin: 0.2rem 0;
  background: rgba(201,168,76,0.08);
}