:root {
  color-scheme: light;
  --ink: #1f2b22;
  --muted: #59655c;
  --forest: #20372a;
  --forest-light: #2b4734;
  --line: rgba(31, 43, 34, .15);
  --moss: #537e42;
  --gold: #e8b04f;
  --paper: #f1f2e9;
  --dark-text: #20271f;
  --coral: #c95f46;
}

body {
  background: #f7f7f1;
  color: var(--ink);
}

.wrap { width: min(1160px, calc(100% - 48px)); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  background: rgba(247, 247, 241, .94);
  border-bottom-color: rgba(31, 43, 34, .12);
  backdrop-filter: blur(14px);
}
.brand { color: var(--ink); }
.brand-mark { box-shadow: 3px 3px 0 #537e42; }
nav { color: #526056; }
nav a { transition: color .18s ease; }

.hero {
  min-height: 600px;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  padding-block: 62px 48px;
}
.hero > div:first-child { animation: enter-up .75s both; }
.eyebrow { color: var(--moss); letter-spacing: 1.2px; }
h1 {
  margin: 16px 0 22px;
  color: #1d3023;
  font-size: 76px;
  line-height: .97;
  letter-spacing: 0;
}
.hero p { color: #45534a; font-size: 17px; }
.hero-art {
  min-height: 440px;
  border: 0;
  box-shadow: 12px 12px 0 #d7e1ce;
  animation: enter-up .85s .12s both;
}
.hero-art img {
  animation: landscape-drift 22s ease-in-out infinite alternate;
}
.hero-art::after { background: none; }
.hero-art::before {
  position: absolute;
  z-index: 2;
  top: 18%;
  left: 14%;
  width: 13px;
  height: 13px;
  content: "";
  background: rgba(240, 189, 98, .9);
  box-shadow: 18px 0 rgba(240, 189, 98, .65), 0 18px rgba(240, 189, 98, .65), 18px 18px rgba(240, 189, 98, .35);
  animation: pixel-float 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-art figcaption {
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(22, 34, 25, .8);
  color: white;
}
.hero-art figcaption a { text-decoration: none; }
.hero-art figcaption a:hover { text-decoration: underline; }
.hero-actions { margin-top: 28px; }
.button {
  min-height: 48px;
  border-radius: 2px;
  box-shadow: 0 4px 0 rgba(31, 43, 34, .13);
}
.button:hover { box-shadow: 0 7px 0 rgba(31, 43, 34, .12); }
.button.secondary { border-color: rgba(31, 43, 34, .3); color: var(--ink); }
.button.secondary:hover { border-color: var(--moss); background: #e8eee2; }

.archive-banner {
  gap: 17px;
  padding: 18px 20px;
  border-color: #e7c978;
  background: #fff7df;
  box-shadow: 4px 4px 0 rgba(232, 176, 79, .22);
}
.archive-icon { border-color: var(--coral); color: var(--coral); }
.archive-banner strong { color: #8b4a26; }
.archive-banner span:last-child { color: #60574a; }

section { padding-block: 88px; border-top-color: rgba(31, 43, 34, .1); }
.section-head { margin-bottom: 34px; }
.section-head h2 { color: #20372a; font-size: 38px; }
.section-head p { color: #59655c; }
.feature-grid { gap: 64px; }
.feature-copy h3 { color: #253b2c; }
.feature-copy p { color: #526056; }
.champion { border: 0; border-bottom: 1px solid var(--line); background: transparent; transition: transform .2s ease, background .2s ease; }
.champion:hover { transform: translateX(5px); background: rgba(232, 238, 226, .7); }
.trophy { border-radius: 2px; box-shadow: 4px 4px 0 rgba(31, 43, 34, .12); }
.champion small { color: #678a4c; }
.champion div span { color: #667168; }

#team { background: #e7eee1; }
#team .section-head h2 { color: #1d3023; }
.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.team-member {
  min-height: 104px;
  padding: 17px 4px;
  border: 0;
  border-bottom: 1px solid rgba(31, 43, 34, .18);
  background: transparent;
  transition: transform .2s ease, border-color .2s ease;
}
.team-member:hover { transform: translateX(5px); border-color: var(--moss); }
.team-mark { border: 0; background: #d2e0c7; color: #416136; }
.team-member h3 { color: #213626; }
.team-member p { color: #667168; }

.downloads {
  background: #20372a;
  color: #f7f7ef;
}
.downloads .eyebrow { color: #d8b465; }
.downloads .section-head h2 { color: #f7f7ef; }
.downloads .section-head p { color: #c7d0c5; }
.download-grid { gap: 0 22px; }
.download-item {
  min-height: 112px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid rgba(240, 245, 230, .24);
  transition: padding .2s ease, border-color .2s ease;
}
.download-item:hover { padding-inline: 8px; border-color: var(--gold); }
.download-item h3 { color: #f6f3e8; }
.download-item p, .download-note { color: #c6d0c5; }
.download-item > a { background: #e8b04f; color: #233227; transition: transform .2s ease, background .2s ease; }
.download-item > a:hover { transform: translateY(-3px); background: #f5c66c; }

#regeln .section-head h2 { color: #20372a; }
.rules { gap: 0 20px; background: transparent; border: 0; }
.rule {
  min-height: 145px;
  padding: 18px 4px;
  border-top: 1px solid rgba(31, 43, 34, .2);
  background: transparent;
  transition: transform .2s ease, border-color .2s ease;
}
.rule:hover { transform: translateY(-3px); border-color: var(--moss); }
.rule > b { color: var(--coral); }
.rule h3 { color: #27392d; }
.rule p, .rules-foot { color: #5b675e; }
.closing { padding-block: 42px; border-top-color: rgba(31, 43, 34, .13); }
.closing p { color: #58655b; }
footer { border-top-color: rgba(31, 43, 34, .13); color: #657168; }
footer a { color: #416b3e; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.3,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes enter-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes landscape-drift {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.1) translateX(-1.2%); }
}
@keyframes pixel-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-11px) rotate(90deg); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 560px); }
  .topbar { height: 62px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-block: 46px 42px; }
  h1 { font-size: 56px; }
  .hero-art { min-height: 320px; box-shadow: 7px 7px 0 #d7e1ce; }
  section { padding-block: 62px; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .feature-grid { grid-template-columns: 1fr; gap: 22px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .topbar { gap: 10px; }
  nav { gap: 9px; }
  nav a { font-size: 10px; }
  h1 { font-size: 46px; }
  .hero-art { min-height: 245px; }
  .section-head h2 { font-size: 31px; }
  .team-grid, .rules { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
