/* Grundlagen: Seite, Schrift, Bedienbarkeit. */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--stein);
  color: var(--ink);
  font-family: var(--schrift);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-y: none;
}

#app {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-family: var(--display); margin: 0; }
h1 { font-weight: 700; font-size: 27px; }
h2 { font-weight: 600; font-size: 18px; }

button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }

/* Sichtbar, wohin man tippt — auch für die Tastatur. */
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

::placeholder { color: var(--muted); opacity: 1; }

.nur-fuer-screenreader {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
