/* Fo22Logix – eine Datei für alle Seiten.
   Schlicht und typografisch, alles in der Systemschrift (auf Apple-Geräten SF Pro).
   Keine externen Schriften, keine Skripte, keine Effekte. */

:root {
  --paper: #f7f7f5;
  --ink: #161616;
  --muted: #6b6b68;
  --line: #e2e2de;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111111;
    --ink: #f2f2f0;
    --muted: #9a9a96;
    --line: #2a2a29;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
p { margin: 0; text-wrap: pretty; }

.wrap {
  width: min(100% - 48px, 1040px);
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--line);
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Kleine Zeile in Versalien */
.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Kopf */
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0 0;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.wordmark svg { width: 30px; height: 30px; display: block; fill: currentColor; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { font-size: 14px; color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

/* Einstieg */
.hero { padding: 120px 0 112px; }
.hero .label { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: -0.035em;
  max-width: 11em;
  margin-bottom: 36px;
}
.hero p:not(.label) {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--muted);
  max-width: 32em;
}

/* Abschnitte mit Spalte für die Überschrift */
.section { border-top: 1px solid var(--line); padding: 56px 0 72px; }
.section .wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
}
.section-title { padding-top: 6px; }

/* Apps */
.app {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 0 0 48px;
}
.app + .app { border-top: 1px solid var(--line); padding-top: 48px; }
.app:last-child { padding-bottom: 0; }
.app-icon { width: 56px; height: 56px; border-radius: 13px; display: block; }
.app-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.app h3 { font-size: 28px; line-height: 1.2; }
.app p { color: var(--muted); max-width: 36em; margin-bottom: 20px; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; }
.badge { display: inline-block; line-height: 0; text-decoration: none; }
.badge img { height: 36px; width: auto; }

/* Kontakt */
.contact p { color: var(--muted); margin-bottom: 12px; }
.contact .mail {
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.3;
}

/* Rechtstexte */
.legal { padding: 96px 0; }
.legal .wrap { width: min(100% - 48px, 680px); }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 48px; }
.legal h2 { font-size: 20px; margin: 40px 0 10px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 22px; }
.legal .stand { color: var(--muted); font-size: 15px; margin-top: 40px; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .mark { display: inline-flex; align-items: center; gap: 12px; }
.site-footer .mark svg { width: 20px; height: 20px; display: block; fill: currentColor; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Schmale Bildschirme */
@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1040px); }
  .hero { padding: 72px 0; }
  .section { padding: 40px 0 56px; }
  .section .wrap { grid-template-columns: 1fr; gap: 24px; }
  .app { grid-template-columns: 1fr; gap: 16px; }
  .app h3 { font-size: 26px; }
}
