/* SilentApps Minimal Labs – schwarz/weiß, folgt System-Hell/Dunkel.
   Kontraste (WCAG): --muted auf --bg ≥ 7:1 in beiden Modi. */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --muted: #595959;   /* 7.0:1 auf Weiß */
  --line: #dedede;
  --faint: #f3f3f3;
  --focus: #000000;
  --radius: 14px;
  --font: system-ui, -apple-system, "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #a6a6a6;  /* 8.9:1 auf Schwarz */
    --line: #2a2a2a;
    --faint: #111111;
    --focus: #ffffff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 400; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3rem); }
h2 { font-size: 1.0625rem; font-weight: 600; letter-spacing: .02em; margin-top: 2.5rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-top: 1.75rem; }
p, ul { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: .5rem 1rem; z-index: 10; }

.wrap { max-width: 44rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.wrap.wide { max-width: 72rem; }

/* Header / Footer */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.75rem; padding-bottom: 1.75rem; }
.brand { text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.brand span { font-weight: 400; color: var(--muted); }
.lang { text-decoration: none; color: var(--muted); text-transform: uppercase; font-size: .85rem; letter-spacing: .08em; padding: .5rem; margin: -.5rem; }
.lang:hover { color: var(--fg); }
.foot { margin-top: 5rem; padding-top: 2rem; padding-bottom: 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); text-decoration: underline; }

/* Startseite */
.hero { padding: 2.5rem 0 2rem; }
.hero h1 { max-width: 18ch; }
.lead { color: var(--muted); font-size: 1.125rem; max-width: 36rem; }

.applist { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.applist li { border-bottom: 1px solid var(--line); }
.applist a { display: block; padding: 1.25rem 0; text-decoration: none; }
.applist .row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.applist .name { font-size: clamp(1.6rem, 5vw, 2.25rem); line-height: 1.2; letter-spacing: -.015em; }
.applist .meta { color: var(--muted); font-size: .95rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.applist .claim { display: block; color: var(--muted); margin-top: .25rem; }
.applist a:hover .name, .applist a:focus-visible .name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }

/* App-Seite */
.back { margin: 0 0 2rem; font-size: .95rem; }
.back a { text-decoration: none; color: var(--muted); }
.back a:hover { color: var(--fg); }
.app-head { display: flex; gap: 1.25rem; align-items: flex-start; }
.app-head h1 { margin-bottom: .25em; }
.logo { display: inline-flex; flex: none; color: var(--fg); }
.logo svg { width: 100%; height: 100%; fill: currentColor; }
.logo .sa-f-fg { fill: var(--fg); }
.logo .sa-f-bg { fill: var(--bg); }
.logo .sa-s-fg { stroke: var(--fg); }
.logo .sa-s-bg { stroke: var(--bg); }
.logo-lg { width: 72px; height: 72px; margin-top: .35rem; }
.logo-sm { width: 36px; height: 36px; }
.logo-inline { width: .8em; height: .8em; margin-right: .35em; vertical-align: -.02em; }
.claim-lg { font-size: 1.2rem; color: var(--muted); margin: 0; }
.tag { font-size: .8rem; vertical-align: middle; border: 1px solid var(--fg); border-radius: 99px; padding: .1em .6em; letter-spacing: .04em; }

.buy { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin: 2rem 0 1rem; }
.buy .note { flex-basis: 100%; margin: 0; color: var(--muted); font-size: .9rem; }
.price { font-size: 1.1rem; font-variant-numeric: tabular-nums; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.5rem; border-radius: 99px;
  background: var(--fg); color: var(--bg); border: 1px solid var(--fg);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { opacity: .85; }
.btn-off { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.btn-off:hover { opacity: 1; }

.features { list-style: none; padding: 0; }
.features li { padding: .6rem 0 .6rem 1.5rem; border-bottom: 1px solid var(--line); position: relative; }
.features li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.descr { margin-top: 2rem; }

.shots { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem; }
.shots img { height: min(70vh, 560px); width: auto; border-radius: var(--radius); border: 1px solid var(--line); scroll-snap-align: start; flex: none; }

/* Textseiten */
.text h1 { margin-bottom: 1.5rem; }
.text h1 .muted { font-size: .6em; }
.text ul { padding-left: 1.25rem; }
.text p, .text li { max-width: 40rem; }

@media (max-width: 480px) {
  .wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .shots { margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; }
  .app-head { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
