/* Fractarium – Support- und Datenschutzseiten. Keine externen Schriften, keine Skripte. */

:root {
  color-scheme: light dark;
  --bg: #f2f2f7;
  --surface: #ffffff;
  --ink: #000000;
  --ink2: rgba(60, 60, 67, 0.72);
  --sep: rgba(60, 60, 67, 0.16);
  --accent: #a24200;
  --accent-ui: #ff9955;
  --hero-a: #669eff;
  --hero-b: #9e8cfa;
  --hero-c: #fa9ec7;
  --hero-d: #4dc7fa;
  --hero-e: #ffb38c;
  --hero-f: #6673f2;
  --hero-ink: #0b0b0c;
  --radius: 26px;
  --demo-bg: #f7f6f3;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --ink: #ffffff;
    --ink2: rgba(235, 235, 245, 0.66);
    --sep: rgba(84, 84, 88, 0.6);
    --accent: #ff9955;
    --hero-a: #1a337a;
    --hero-b: #3d2975;
    --hero-c: #752e57;
    --hero-d: #0f5275;
    --hero-e: #804224;
    --hero-f: #1a1f66;
    --hero-ink: #ffffff;
    --demo-bg: #09090b;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.hero {
  position: relative;
  padding: 56px 16px 48px;
  text-align: center;
  color: var(--hero-ink);
  background:
    radial-gradient(ellipse at 0% 0%, var(--hero-a), transparent 60%),
    radial-gradient(ellipse at 100% 0%, var(--hero-c), transparent 60%),
    radial-gradient(ellipse at 0% 100%, var(--hero-d), transparent 60%),
    radial-gradient(ellipse at 100% 100%, var(--hero-e), transparent 60%),
    linear-gradient(160deg, var(--hero-b), var(--hero-f));
}

.lang {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 14px;
}

.lang a, .lang span { color: inherit; opacity: 0.8; margin-left: 10px; }
.lang span { font-weight: 600; opacity: 1; }

/* Rücklink zur Übersichtsseite adler-apps.info, Gegenstück zur Sprachnavigation. */
.home {
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 14px;
  color: inherit;
  opacity: 0.8;
}

.hero picture img {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero h1 {
  margin: 18px 0 4px;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.hero p {
  margin: 0 auto;
  max-width: 30em;
  font-size: 19px;
  opacity: 0.92;
}

/* Apples offizielles Badge, unverändert; mindestens 40 px hoch, ein Viertel der Höhe Freiraum. */
.hero .store { margin: 24px auto 0; opacity: 1; }
.store a { display: inline-block; border-radius: 9px; }
.store img { display: block; width: auto; height: 52px; }

.hero .store-note {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.85;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 20px 8px;
  margin-bottom: 16px;
}

h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

h3 {
  margin: 16px 0 4px;
  font-size: 17px;
}

section p, section ul { margin: 0 0 12px; }

.fractals {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fractals li {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--sep);
  font-size: 15px;
}

.meta { color: var(--ink2); font-size: 15px; }

/* Schlüssel der MDM-Konfiguration auf den Hilfeseiten: zwei Spalten, damit es auch auf schmalen iPhones passt. */
.keys { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 12px; }
.keys th, .keys td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-bottom: 1px solid var(--sep); }
.keys th { color: var(--ink2); font-weight: 600; }
.keys td:first-child { white-space: nowrap; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; overflow-wrap: anywhere; }
pre { margin: 0 0 12px; padding: 12px; overflow-x: auto; border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.4; }

/* Kurzes Video aus dem App-Export (Kreisfüllung, hell/dunkel nach Systemeinstellung). Hintergrund in der
   Canvasfarbe der App, damit der Start ohne Sprung beginnt; bei reduzierter Bewegung nur das Standbild. */
.demo { max-width: 440px; margin: 0 auto 16px; }
.demo video, .demo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 18px;
  background: var(--demo-bg);
  outline: 1px solid var(--sep);
  outline-offset: -1px;
}
.demo picture { display: none; }

@media (prefers-reduced-motion: reduce) {
  .demo video { display: none; }
  .demo picture { display: block; }
}

main > nav.meta { display: block; margin: 4px 4px 14px; }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px 40px;
  color: var(--ink2);
  font-size: 14px;
  text-align: center;
}

footer a { color: inherit; }

/* Neu in der aktuellen Version: Apples Update-Clip (Asset Generator, hell/dunkel nach Systemeinstellung, je Sprache)
   neben der Liste der Neuerungen; der Clip führt in den App Store. Auf schmalen Bildschirmen untereinander, bei
   reduzierter Bewegung nur das Standbild. Der Hintergrund ist die mittlere Farbe des Clips, bis er geladen ist. */
.news { display: flex; gap: 20px; align-items: flex-start; }
.news > div { flex: 1; min-width: 0; }
.news ul { padding-left: 20px; }
.news li { margin-bottom: 6px; }
.update {
  flex: 0 0 240px;
  display: block;
  margin-bottom: 12px;
  border-radius: 18px;
  overflow: hidden;
  background: #7a7ac8;
  outline: 1px solid var(--sep);
  outline-offset: -1px;
}
.update video, .update img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.update picture { display: none; }

@media (prefers-color-scheme: dark) {
  .update { background: #544d68; }
}

@media (prefers-reduced-motion: reduce) {
  .update video { display: none; }
  .update picture { display: block; }
}

@media (max-width: 560px) {
  .news { flex-direction: column; align-items: stretch; gap: 4px; }
  .update { flex-basis: auto; width: min(240px, 100%); margin: 0 auto 12px; }
}
