/* Farben und Schriften aus dem Biga-Markenhandbuch (tokens.css), die Gestaltung ist Hopscores eigene. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  color-scheme: light dark;
  --bg: var(--color-white);
  --bg-alt: var(--color-mint);
  --text: var(--color-navy);
  --text-muted: var(--color-text-gray);
  --link: var(--color-green-dark);
  --line: #d9e6e0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--color-dark-background);
    --bg-alt: var(--color-dark-sheet);
    --text: var(--color-dark-text);
    --text-muted: var(--color-dark-text-gray);
    --link: var(--color-dark-link);
    --line: var(--color-dark-line);
  }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--size-body);
  line-height: 1.6;
}

h1, h2, h3, .wordmark, .figure { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; }
h1 { font-size: var(--size-h1-mobile); margin: 0 0 1.5rem; }
h2 { font-size: var(--size-h2-mobile); margin: 0 0 1.25rem; }
h3 { font-size: var(--size-h3-mobile); margin: 2rem 0 0.75rem; }
@media (min-width: 900px) {
  h1 { font-size: var(--size-h1); }
  h2 { font-size: var(--size-h2); }
  h3 { font-size: var(--size-h3); }
}

p, li { max-width: 46rem; }
.lead { font-size: var(--size-lead); color: var(--text-muted); }

a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }

.skip-link { position: absolute; left: -999px; top: 0.5rem; background: var(--bg); padding: 0.5rem 1rem; }
.skip-link:focus { left: 0.5rem; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
section { padding: 4rem 0; }
section.alt { background: var(--bg-alt); }

header.site { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wordmark { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 1.75rem; color: var(--text); text-decoration: none; }
.wordmark img { height: 2.5rem; width: auto; }
header.site nav a { margin-left: 1.25rem; color: var(--text); }

.hero { padding-top: 3rem; }
.hero-text { text-align: center; }
.hero-text p { margin-left: auto; margin-right: auto; }
img.world { display: block; width: 100%; height: auto; margin: 1rem auto 0; }

.facts { display: grid; gap: 1.5rem; margin: 3rem 0 0; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts div { border-top: 3px solid var(--color-green); padding-top: 1rem; }
.facts dt { font-family: var(--font-heading); font-weight: 600; font-size: var(--size-h3); line-height: 1.1; }
.facts dd { margin: 0.25rem 0 0; color: var(--text-muted); }

ol.steps { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 900px) { ol.steps { grid-template-columns: repeat(3, 1fr); } }
ol.steps { counter-reset: step; }
ol.steps li { counter-increment: step; position: relative; padding-left: 3.25rem; }
ol.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-green); color: var(--color-navy);
  font-family: var(--font-heading); font-weight: 700;
}
ol.steps strong { display: block; font-family: var(--font-heading); font-size: var(--size-h3-mobile); }

.store-note { margin-top: 2rem; font-weight: 600; }

/* Offene Stellen in Rechtstexten, die vor der Veröffentlichung geklärt werden müssen. */
mark.todo { background: var(--color-coral); color: var(--color-navy); padding: 0 0.25em; border-radius: 2px; }

article.legal h2 { font-size: var(--size-h3-mobile); margin-top: 2.5rem; }
@media (min-width: 900px) { article.legal h2 { font-size: var(--size-h3); } }

footer.site { background: var(--color-green); color: var(--color-navy); padding: 2.5rem 0; }
footer.site a { color: var(--color-navy); }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
footer.site .by { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
footer.site .mark { width: 18px; height: 37px; flex: none; }
/* Auf Grün verschwindet der grüne Winkel, deshalb steht die Bildmarke dort einfarbig in Navy. */
.mark-navy path { fill: var(--color-navy); }
