/* you-wallet.app — ein Stylesheet, keine Schriften von fremden Servern. */
:root { color-scheme: light dark; --text: #16181d; --leise: #5b6270; --grund: #fbfaf7; --linie: #e2dfd8; --akzent: #0a6b55; }
@media (prefers-color-scheme: dark) {
  :root { --text: #eceae4; --leise: #a2a7b1; --grund: #121316; --linie: #2b2e35; --akzent: #5fd0b0; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
header, main, footer { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }
header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; padding-bottom: 1.25rem; }
/* Die Wortmarke: eingebettete SVG mit fill="currentColor" — sie nimmt die
   Textfarbe an, hell wie dunkel. */
.marke { display: block; margin: 0; padding: 0; color: var(--text); line-height: 0; text-decoration: none; }
.wortmarke { display: block; height: 2.4rem; width: auto; max-width: 100%; }
/* Der Sprachumschalter: zwei Kürzel, die aktuelle Sprache steht fest, die
   andere ist ein Link auf dieselbe Seite in der anderen Sprache. */
.sprachen { font-size: .95rem; letter-spacing: .04em; color: var(--leise); white-space: nowrap; }
.sprachen [aria-current] { color: var(--text); font-weight: 650; }
.sprachen a { padding: .35rem .15rem; }
main { padding-bottom: 2.5rem; }
main > :first-child { margin-top: .5rem; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 1.5rem 0 1rem; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; line-height: 1.3; margin: 2.2rem 0 .6rem; }
p, ul { margin: 0 0 1.05rem; }
ul { padding-left: 1.3rem; }
li { margin-bottom: .55rem; }
a { color: var(--akzent); text-underline-offset: .15em; }
code { font: .92em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2rem 0; }
footer { border-top: 1px solid var(--linie); padding-top: 1.1rem; padding-bottom: 2.5rem; color: var(--leise); font-size: .92rem; }
footer a { color: var(--leise); }

/* S7 — die Startseite: links der Text, rechts der Bilderstreifen. Geblättert
   wird ohne ein einziges Skript: der Browser scrollt waagerecht und rastet
   je Bild ein. Unter 52rem steht alles untereinander. */
body.start header, body.start main, body.start footer { max-width: 64rem; }
.text { min-width: 0; }
.streifen { display: flex; gap: 1rem; min-width: 0; margin-top: 2rem; padding-bottom: .9rem;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; border-radius: 1.7rem; }
.streifen:focus-visible { outline: 2px solid var(--akzent); outline-offset: 4px; }
.streifen img { flex: none; display: block; width: min(440px, 78vw); height: auto;
  scroll-snap-align: center; border-radius: 1.7rem; border: 1px solid var(--linie); background: #0c0d10; }
@media (min-width: 52rem) {
  /* Die Spalte ist etwas breiter als ein Bild: das nächste schaut am Rand
     hervor — der einzige Hinweis, dass es weitergeht (keine Pfeile, keine Punkte). */
  body.start main { display: grid; grid-template-columns: minmax(0, 1fr) min(480px, 46vw); gap: 3rem; align-items: start; }
  .streifen { margin-top: .5rem; }
  .streifen img { width: min(440px, 92%); }
}

/* Der Platz für den App Store — erscheint nur, wenn bauen.sh eine Adresse kennt. */
.appstore { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.appstore .knopf img { display: block; height: 3rem; width: auto; }
.appstore .qr { margin: 0; text-align: center; }
.appstore .qr img { display: block; width: 7rem; height: 7rem; background: #fff; padding: .4rem; border-radius: .5rem; }
.appstore .qr figcaption { margin-top: .4rem; font-size: .82rem; color: var(--leise); }
@media (max-width: 51.99rem) { .appstore .qr { display: none; } }
