/* Die Seite trägt die Farben und Formen der App: LEGO-Gelb, der harte
   Schatten ohne Weichzeichner, die runden Ecken, Nunito. Wer von hier in
   die App kommt, soll dasselbe Ding wiedererkennen. */
:root {
  --yellow: #FFCF00;
  --yellow-dark: #E0B400;
  --red: #D01012;
  --blue: #0057A6;
  --green: #00963E;
  --ink: #1D1D1B;
  --plate: #E9EBEE;
  --card: #FFFFFF;
  --line: #D4D7DC;
  --muted: #6B6E73;
  --radius: 14px;
  --shadow: 0 3px 0 rgba(29, 29, 27, .18);
  --font: "Nunito", -apple-system, "SF Pro Rounded", system-ui, sans-serif;
}

/* Lokal ausgeliefert, nicht von Google: Diese Seite stellt ein Programm
   vor, das ohne fremde Dienste auskommt – dann soll sie es selbst auch. */
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("assets/nunito-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 800;
  font-display: swap; src: url("assets/nunito-latin-800.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 900;
  font-display: swap; src: url("assets/nunito-latin-900.woff2") format("woff2");
}

* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--font); color: var(--ink);
  background: var(--plate); line-height: 1.6; font-weight: 600;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-weight: 900; font-size: clamp(2.1rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-weight: 900; font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-weight: 800; font-size: 1.12rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); }

/* ── Die Noppenleiste: vier Farben, wie auf dem Symbol der App ── */
.studs { display: flex; height: 8px; }
.studs i { flex: 1; }
.studs i:nth-child(1) { background: var(--red); }
.studs i:nth-child(2) { background: var(--yellow); }
.studs i:nth-child(3) { background: var(--blue); }
.studs i:nth-child(4) { background: var(--green); }

header { background: var(--card); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.bar img { width: 34px; height: 34px; border-radius: 9px; }
.bar strong { font-weight: 900; font-size: 1.22rem; }
.bar nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.bar nav a { color: var(--muted); text-decoration: none; }
.bar nav a:hover { color: var(--ink); }

.hero { padding: 54px 0 38px; }
.hero .lead { font-size: 1.22rem; max-width: 46ch; color: #35373A; }
.hero .claim { display: inline-block; background: var(--yellow);
  padding: 2px 10px; border-radius: 8px; font-weight: 900; }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: var(--radius);
  font-weight: 800; text-decoration: none; box-shadow: var(--shadow);
  border: 1px solid transparent;
}
.btn-main { background: var(--yellow); color: var(--ink); }
.btn-main:hover { background: var(--yellow-dark); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #F6F7F9; }

.shots { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin: 38px 0 0; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card);
}
.shots figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }

section { padding: 44px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
}
section.alt .card { background: var(--plate); }
.card p { margin: 0; color: #35373A; }
.card .tag { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: 8px; }

/* ── Installation: eine Karte je Weg, der Befehl direkt darin ── */
.ways { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.way h3 { display: flex; align-items: center; gap: 8px; }
.way .where { color: var(--muted); font-weight: 600; font-size: .92rem; margin: -4px 0 10px; }
pre {
  background: #1D1D1B; color: #F3F4F6; padding: 14px; border-radius: 10px;
  overflow-x: auto; font-size: .86rem; line-height: 1.5; margin: 0;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600;
}
pre .c { color: #9BA1A8; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--plate); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
section.alt code { background: var(--plate); }

.note {
  border-left: 4px solid var(--yellow); padding: 2px 0 2px 14px;
  color: #35373A; margin: 18px 0 0;
}

footer { background: var(--ink); color: #C9CCD1; padding: 34px 0; font-size: .92rem; }
footer a { color: #FFE470; }
footer .cols { display: grid; gap: 18px; grid-template-columns: 2fr 1fr 1fr; }
footer h4 { color: #fff; font-weight: 800; margin: 0 0 .5em; font-size: 1rem; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .shots, .grid, .ways, footer .cols { grid-template-columns: 1fr; }
  .bar nav { width: 100%; margin: 6px 0 0; }
}

/* ── Die NAS bekommt Platz: vier nummerierte Schritte ──────────────────
   Sie ist für die meisten das Zielgerät – sie läuft ohnehin durch und
   steht im eigenen Netz. Deshalb steht sie vor den anderen Wegen und
   nicht als eine Karte unter vielen. */
.lead-small { font-size: 1.08rem; max-width: 62ch; color: #35373A; }

.steps { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 18px 58px;
  box-shadow: var(--shadow);
}
.step .num {
  position: absolute; left: 16px; top: 17px;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 1.02rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: .35em; }
.step p { margin-bottom: .6em; }
.step p:last-child { margin-bottom: 0; }
.step .where { color: var(--muted); font-size: .92rem; }
.step pre { margin-top: 10px; }

#nas .grid .card h3 { font-size: 1rem; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ── Rechner und Handy nebeneinander ───────────────────────────────────
   Dieselbe App in zwei Zuschnitten. Das Handybild steht schmaler, damit
   der Unterschied ohne Bildunterschrift erkennbar ist. */
.beide { display: grid; gap: 18px; grid-template-columns: 2fr 1fr;
  align-items: end; margin-top: 26px; }
.beide figure { margin: 0; }
.beide img {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card);
}
.beide figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.beide .phone img { border-radius: 18px; }

@media (max-width: 860px) { .beide { grid-template-columns: 1fr; } }

/* ── Die beiden Rechtsseiten: reiner Text, ruhig gesetzt ─────────────── */
.text { max-width: 68ch; }
.text h1 { margin-bottom: .6em; }
.text h2 { font-size: 1.24rem; margin-top: 1.6em; }
.text p { color: #35373A; }
.text .kurz {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
/* Was im Entwurf noch zu tun ist, soll auffallen und nicht versehentlich
   so veroeffentlicht werden. */
.text .hinweis, .hinweis {
  display: block; background: #FFF6D6; border-left: 4px solid var(--yellow);
  padding: 12px 14px; border-radius: 0 10px 10px 0; color: #4A4325;
  font-size: .95rem;
}
#kontakt { background: #FFF0A8; padding: 1px 6px; border-radius: 5px; }
footer .wrap p { margin: 0; }
