/* ScylarOS – Seite hinter dem QR-Code der Verpackung.
   Stil der Box: mattschwarz, das Zeichen „sy“ grau, schlichte serifenlose Schrift (Manrope, selbst ausgeliefert). */

@font-face {
  font-family: "Manrope";
  src: url("/schrift/Manrope-wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --grund: #0c0e0e;        /* Hintergrund der Box */
  --flaeche: #131616;
  --linie: #2a3031;
  --linie-hell: #3c4546;   /* Farbe des Zeichens auf der Box */
  --text: #e8ebeb;
  --text-leise: #a9b3b4;
  --zeichen: #8a9697;      /* Zeichen „sy“, hier heller für die Lesbarkeit */
  --breite: 46rem;
  --rand: clamp(1.1rem, 5vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--grund);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--text); text-decoration-color: var(--linie-hell); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { text-decoration-color: var(--text); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }

.zum-inhalt { position: absolute; left: var(--rand); top: -4rem; background: var(--text); color: var(--grund); padding: 0.6rem 1rem; z-index: 10; }
.zum-inhalt:focus { top: 0.6rem; }

.huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }

/* ── Kopf ─────────────────────────────────────────── */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 0.4rem; }
.marke { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 3rem; text-decoration: none; font-weight: 600; letter-spacing: 0.02em; }
.marke img { width: 2.4rem; height: auto; }
.nav { display: flex; gap: 0.25rem 1.1rem; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; color: var(--text-leise); font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--linie-hell); text-underline-offset: 0.5em; }

/* ── Schild wie auf der Box ───────────────────────── */
.schild { border: 1px solid var(--linie-hell); border-radius: 0.5rem; padding: 0.9rem 1.15rem 1rem; background: var(--flaeche); max-width: 26rem; }
.schild p { margin: 0; }
.schild .name { font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1.15; }
.schild .os { font-size: 1.1rem; color: var(--text); margin-top: 0.15rem; }
.schild .hardware { font-size: 0.9rem; color: var(--text-leise); margin-top: 0.35rem; }

/* ── Startseite ───────────────────────────────────── */
.held { padding-block: clamp(2rem, 6vw, 4.5rem); }
.held .huelle { display: grid; gap: 2.2rem; align-items: center; }
.held h1 { margin: 0 0 0.2rem; }
.held .einleitung { font-size: clamp(1.05rem, 2.6vw, 1.2rem); max-width: 34rem; margin: 1.6rem 0 0; }
.held figure { margin: 0; justify-self: center; }
.held figure img { width: min(100%, 20rem); 
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
  mask-composite: intersect; }
.knopf { display: inline-flex; align-items: center; min-height: 3rem; margin-top: 1.5rem; padding: 0 1.4rem; border: 1px solid var(--text); border-radius: 0.5rem; color: var(--text); text-decoration: none; font-weight: 600; }
.knopf:hover { background: var(--text); color: var(--grund); }

@media (min-width: 52rem) {
  .held .huelle { max-width: 72rem; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 4rem; }
  .held figure { justify-self: end; }
  .held figure img { width: min(100%, 23rem); }
}

/* ── Texte ────────────────────────────────────────── */
.text { padding-block: clamp(1.8rem, 5vw, 3.5rem); }
.text .huelle > * { max-width: var(--breite); }
h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.15; font-weight: 600; letter-spacing: 0.005em; margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 3.8vw, 1.7rem); line-height: 1.25; font-weight: 600; margin: 2.8rem 0 0.8rem; padding-top: 1.6rem; border-top: 1px solid var(--linie); scroll-margin-top: 1rem; }
h2:first-of-type { margin-top: 2rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 1.8rem 0 0.4rem; }
p, ul, ol, dl { margin: 0 0 1rem; }
.leise { color: var(--text-leise); }
.vorspann { font-size: clamp(1.05rem, 2.6vw, 1.2rem); color: var(--text); }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.4rem; }
li::marker { color: var(--text-leise); }

.inhalt { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 0.5rem; padding: 1rem 1.2rem 0.6rem; margin: 1.6rem 0 0; }
.inhalt h2 { all: unset; display: block; font-weight: 600; margin-bottom: 0.4rem; }
.inhalt ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.inhalt a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 40rem) { .inhalt ul { columns: 2; column-gap: 2rem; } }

.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 1rem 0; }
.schritte > li { counter-increment: schritt; position: relative; padding: 0.9rem 0 0.9rem 3rem; border-top: 1px solid var(--linie); margin: 0; }
.schritte > li:last-child { border-bottom: 1px solid var(--linie); }
.schritte > li::before { content: counter(schritt); position: absolute; left: 0; top: 0.95rem; width: 2rem; height: 2rem; border: 1px solid var(--linie-hell); border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; color: var(--text-leise); }
.schritte strong { display: block; font-weight: 600; }
.schritte p { margin: 0.2rem 0 0; color: var(--text-leise); }
.schritte .marke-aus { display: inline-block; margin-left: 0.4rem; padding: 0 0.5rem; border: 1px solid var(--linie-hell); border-radius: 1rem; font-size: 0.78rem; font-weight: 500; color: var(--text-leise); white-space: nowrap; }

.hinweis { border-left: 2px solid var(--linie-hell); padding: 0.2rem 0 0.2rem 1rem; margin: 1.4rem 0; color: var(--text); }
.hinweis p:last-child { margin-bottom: 0; }

.zeichenreihe { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 1.2rem; }
.zeichenreihe li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; margin: 0; }
.zeichenreihe img { width: 100%; height: auto; max-height: 4.5rem; object-fit: contain; object-position: left top; }
.zeichenreihe strong { display: block; font-weight: 600; }
.zeichenreihe p { margin: 0.15rem 0 0; color: var(--text-leise); }
.laender { letter-spacing: 0.06em; word-spacing: 0.3em; }

address { font-style: normal; margin: 0 0 1rem; }
dl.daten { display: grid; grid-template-columns: 1fr; gap: 0.15rem 0; }
dl.daten dt { color: var(--text-leise); font-size: 0.9rem; margin-top: 0.9rem; }
dl.daten dd { margin: 0; }
@media (min-width: 36rem) {
  dl.daten { grid-template-columns: 13rem 1fr; gap: 0.6rem 1.5rem; }
  dl.daten dt { margin-top: 0; font-size: 1rem; }
}
table { border-collapse: collapse; width: 100%; margin: 0 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.8rem 0.55rem 0; border-top: 1px solid var(--linie); }
th { font-weight: 600; width: 38%; }

/* ── Fuß ──────────────────────────────────────────── */
.fuss { border-top: 1px solid var(--linie); padding-block: 1.8rem 2.2rem; color: var(--text-leise); font-size: 0.92rem; }
.fuss .huelle { display: grid; gap: 1.2rem; }
.fuss img { width: 2.2rem; height: auto; opacity: 0.9; }
.fuss p { margin: 0; }
.fuss a { color: var(--text-leise); }
.fuss a:hover { color: var(--text); }
.fuss ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin: 0; padding: 0; }
.fuss li { margin: 0; }
.fuss li a { display: inline-flex; align-items: center; min-height: 2.75rem; }


/* ── Fragen und Antworten ─────────────────────────── */
.frage h3 { margin-top: 1.6rem; }
.frage .antwort p { margin-bottom: 0.8rem; }
