/* Bio-Seiten: hell, mobil zuerst, Systemschrift, kein JavaScript. Farbe je App über body.app-<app>
   (muss zu "farbe" in apps.json passen; test/seite.test.mjs prüft das). */
:root {
  color-scheme: light;
  --farbe: #4c0b71;
  --text: #1f1b24;
  --leise: #5c5663;
  --flaeche: #ffffff;
  --grund: #f6f4f8;
}
body.app-pia { --farbe: #4c0b71; }
body.app-vera { --farbe: #4d4470; }
body.app-isi { --farbe: #2c5854; }
body.app-endo { --farbe: #a22a52; }
body.app-paula { --farbe: #41598c; }
body.app-lina { --farbe: #540d5b; }

* { box-sizing: border-box; }
html { background: var(--grund); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--grund);
  line-height: 1.45;
  -webkit-text-size-adjust: 100%;
}
main {
  flex: 1;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
}
header { text-align: center; margin-bottom: 1.5rem; }
.logo { width: 88px; height: 88px; border-radius: 22%; object-fit: cover; background: var(--flaeche); }
h1 { font-size: 1.5rem; margin: 0.75rem 0 0.25rem; letter-spacing: -0.01em; }
.satz { margin: 0 auto; max-width: 24rem; color: var(--leise); font-size: 1.02rem; }
a { color: inherit; }
.haupt, .link {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  font-weight: 600;
  font-size: 1.05rem;
  min-height: 3.25rem;
}
.haupt {
  background: var(--farbe);
  color: #ffffff;
  font-size: 1.12rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.links { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.link {
  background: var(--flaeche);
  color: var(--text);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
}
.haupt:focus-visible, .link:focus-visible { outline: 3px solid var(--farbe); outline-offset: 3px; }
.banner {
  margin: 0 0 1.25rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: #fff4cc;
  color: #5a4500;
  font-size: 0.9rem;
  text-align: center;
}
footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.25rem 1rem 2rem;
  font-size: 0.85rem;
  color: var(--leise);
}
footer a { color: var(--leise); }

/* /laden/ am Computer: QR-Code und beide Stores */
.laden .qr { display: block; width: 220px; height: 220px; margin: 0 auto 1.5rem; background: #ffffff; border-radius: 12px;
  padding: 8px; border: 1.5px solid rgba(0, 0, 0, 0.08); }
.stores { margin-top: 0; }
.zurueck { text-align: center; margin: 1.5rem 0 0; }
.zurueck a { color: var(--leise); }
