/* Weight: Schwarz und Creme, Systemschrift, die Schriftstärke trägt die
   Hierarchie. Gemeinsam für alle Seiten von perkyapps.de */
:root {
  --bg: #0B0B0A;
  --ink: #F2EDE4;
  --mute: rgba(242, 237, 228, 0.55);
  --soft: rgba(242, 237, 228, 0.86);
  --line: rgba(242, 237, 228, 0.14);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 64px; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.logo { font-size: 12px; font-weight: 500; letter-spacing: 0.5em; text-transform: uppercase; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.caps { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }

h1 {
  font-weight: 200;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 72px 0 18px;
}
h1 b { font-weight: 800; }
.lede { font-size: 21px; font-weight: 300; line-height: 1.45; color: var(--soft); max-width: 620px; margin: 0; }

h2 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute);
  margin: 48px 0 10px; padding-top: 18px; border-top: 1px solid var(--line);
}
p, li { color: var(--soft); }
ul { padding-left: 20px; }
li { margin-bottom: 6px; }

/* Eine App der Familie als Zeile: Symbol, Name, ein Satz */
.app {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-decoration: none; margin-top: 56px;
}
.app img { width: 64px; height: 64px; border-radius: 22.37%; flex: none; }
.app b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.app span { display: block; color: var(--mute); font-size: 15px; }
.app i { margin-left: auto; font-style: normal; color: var(--mute); }

.hero-icon { width: 128px; height: 128px; border-radius: 22.37%; display: block; margin-top: 64px; }

.facts { list-style: none; padding: 0; margin: 40px 0 0; }
.facts li { padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts b { display: block; color: var(--ink); font-weight: 600; }

.badge {
  display: inline-block; margin-top: 36px; padding: 12px 22px; border: 1px solid var(--ink); border-radius: 999px;
  font-size: 15px; text-decoration: none;
}
.badge.soon { border-color: var(--line); color: var(--mute); }

.date { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); }

.foot {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 96px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute);
}
.foot a { color: var(--mute); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot span { margin-right: auto; }

/* Kurzfassung unter dem Datum, etwa in der Datenschutzerklärung */
.date + .lede { margin: 32px 0 8px; }
.lede b { font-weight: 700; color: var(--ink); }

/* Sprachen: die nicht gewählte ist ausgeblendet, die gewählte blendet ein */
html[data-lang="de"] [lang="en"], html[data-lang="en"] [lang="de"] { display: none; }
section[lang] { animation: arrive 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } }

/* Umschalter DE/EN: ein Schlitten in Creme, die gewählte Sprache fett */
.switch {
  position: relative; display: inline-flex; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px;
}
.switch::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px);
  border-radius: 999px; background: var(--ink);
  transition: transform 0.45s cubic-bezier(0.3, 1.3, 0.4, 1);
}
html[data-lang="en"] .switch::before { transform: translateX(100%); }
.switch button {
  position: relative; flex: 1 1 0; min-width: 44px; padding: 6px 10px 6px 12px;
  appearance: none; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 11px; font-weight: 400; letter-spacing: 0.18em; color: var(--mute);
  transition: color 0.3s;
}
html[data-lang="de"] .switch [data-set-lang="de"],
html[data-lang="en"] .switch [data-set-lang="en"] { color: var(--bg); font-weight: 700; }
