<?xml version="1.0" encoding="UTF-8"?>
<!--
  ============================================================
  LEG-IT sitemap (static part) - listed in the sitemap index /sitemap.xml
  ============================================================
  Strategy (React SPA, prerendered public routes):
    - STATIC PUBLIC routes  -> listed here with a full <url> entry. <lastmod> is stamped with the commit
      date of the build by scripts/prerender.mjs (placeholders below are overwritten in dist/).
    - DYNAMIC PUBLIC routes -> /ligen/:id, /events/:id, ... cannot be enumerated at build time. When any
      exist, they are written to /sitemap-dynamic.xml and added to the sitemap index by
      scripts/generate-dynamic-sitemap.mjs (deploy time, from the public API); see SEO_AUDIT.md P1 point 9.
    - PROTECTED routes      -> require authentication; must not appear here.
    - /login and /register  -> intentionally excluded: pure client-side redirect stubs straight to
      Keycloak with no indexable content (see LoginPage.tsx / RegistrationPage.tsx).
    - /share                -> noindex on purpose (card data lives in the URL fragment); not listed.
  ============================================================
-->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">

  <!-- ── Static public pages ──────────────────────────────── -->

  <!-- Landing / Teaser page — highest priority -->
  <url>
    <loc>https://www.legit-play.com/</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Audience landing pages — primary acquisition funnels -->
  <url>
    <loc>https://www.legit-play.com/fuer-spieler</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/fuer-vereine</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.8</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/fuer-verbaende</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/fuer-sponsoren</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Search landing page: Darts Trainingsplan / Darts Training -->
  <url>
    <loc>https://www.legit-play.com/darts-trainingsplan</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

  <!-- Public game pages -->
  <!-- games:start (generated by scripts/generate-game-pages.mjs) -->
  <url>
    <loc>https://www.legit-play.com/games/bobs-27</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.7</priority>
  </url>
  <!-- games:end -->

  <!-- Feature deep-dive pages — static slugs from featureContent.ts -->
  <url>
    <loc>https://www.legit-play.com/features/live-scoring</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/autoscoring</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/analytics</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/liga-turniere</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/tablet-app</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/tv-cast</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/training-intel</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/features/teams-community</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- League / federation directories — public, list live competitions -->
  <url>
    <loc>https://www.legit-play.com/ligen</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/verbaende</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Public events directory -->
  <url>
    <loc>https://www.legit-play.com/events</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Live events overview — publicly visible, updated regularly -->
  <url>
    <loc>https://www.legit-play.com/events/live</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>daily</changefreq>
    <priority>0.7</priority>
  </url>

  <!-- Help & support -->
  <url>
    <loc>https://www.legit-play.com/help</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.4</priority>
  </url>

  <!-- Legal — rarely change -->
  <url>
    <loc>https://www.legit-play.com/privacy</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/impressum</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>
  <url>
    <loc>https://www.legit-play.com/terms</loc>
    <lastmod>2026-11-26</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.3</priority>
  </url>

  <!--
    ── Dynamic public pages (excluded — require runtime data) ──
    /live/:matchId
    /live/:eventId/:matchId
    /board/:boardId
    /events/live/:id
    /events/live/:id/compact
    /ligen/:id, /ligen/:id/struktur, /ligen/:id/saisons, /ligen/:id/saisons/:seasonId, /ligen/:id/anmelden
    /verbaende/:id

    ── No-content redirect stubs (excluded — see note above) ──
    /login
    /register

    ── Not meant to rank (excluded — thin/B2B legal annexes, marked noindex) ──
    /lizenzen, /avv, /tom, /subprocessors

    ── Protected pages (excluded — require authentication) ──
    /dashboard
    /tournament, /tournament/:id
    /events/wizard, /events/templates
    /events/manage, /events/manage/:id
    /match
    /points-systems
    /series, /series/:id/standings
    /score/board/:boardId
    /score/board/:boardId/:eventId/:matchId
    /score/:eventId/:matchId
    /organization, /organization/onboarding
    /settings
    /profile/privacy
    /invite/:token
    /tablet-login/:code
    /ligen/:id/struktur/einstellungen, /ligen/:id/struktur/ebenen/:levelId, /ligen/:id/struktur/staffeln/:divisionId
    /ligen/:id/staffelleiter, /verbaende/:id/verbandsleiter
    /meine-events, /nachrichten, /abo, /abo/erfolg, /abo/abgebrochen
    /admin, /admin/*
  -->

</urlset>
