/* Stil «Signal» wie in der App: Schwarz, Gelb heisst immer «hier tippen». */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/fonts/atkinson-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root { --ground: #000; --tap: #FFD500; --text: #fff; --muted: #D6D6D6; --line: #343434; color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Atkinson Hyperlegible", system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--tap); text-underline-offset: 0.18em; }
a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--tap); color: #000; padding: 0.5rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 1rem; }

.page {
  max-width: 46rem;
  margin: 0 auto;
  padding-block: 2rem 3rem;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}
.top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.top .home { display: flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 700; }
.top .home img { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; }

.hero { display: grid; gap: 1.25rem; margin-bottom: 3rem; }
.hero img { width: 11rem; height: 11rem; border-radius: 2.5rem; outline: 1px solid var(--line); }
h1 { font-size: clamp(3rem, 14vw, 5.5rem); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.legal h1 { font-size: clamp(2.25rem, 9vw, 3.25rem); line-height: 1.1; letter-spacing: 0; }
.slogan { font-size: 1.5rem; line-height: 1.3; color: var(--muted); margin: 0; }

h2 { font-size: 1.75rem; line-height: 1.2; margin: 2.5rem 0 0.5rem; }
h3 { font-size: 1.3rem; margin: 1.25rem 0 0.15rem; }
p, ul { margin: 0 0 0.9rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }
.muted { color: var(--muted); }

/* Wie der Hauptknopf der App: Text links, Noppen rechts. */
.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding: 1.1rem 1rem 1.1rem 1.25rem;
  border-radius: 10px;
  background: var(--tap);
  color: #000;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.button::after {
  content: "";
  flex: none;
  width: 3rem;
  height: 3rem;
  background: radial-gradient(circle, #000 0.22rem, transparent 0.25rem) 0 0 / 0.75rem 0.75rem;
}
.button:hover { background: #fff; }

footer { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1.1rem; }
