/* Übergangsseite schmetti.dev
   Werte aus dem Design-System (design/README.md): nur fünf Farben, Archivo für Text,
   JetBrains Mono nur für Zahlen und Kennungen. Akzent nur für Links und Fokus.
   Mobil zuerst: 16px Seitenrand, ab 768px mehr Luft. */

:root {
  --paper: #fbfbfb;   /* Hintergrund */
  --surface: #ffffff; /* Flächen */
  --ink: #0c0c0c;     /* Text */
  --muted: #575757;   /* Nebentext */
  --accent: #7c3aed;  /* nur Links und Fokus */

  --font-sans: 'Archivo', ui-sans-serif, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word; /* lange Adressen brechen um statt seitlich zu scrollen */
}

::selection {
  background: var(--ink);
  color: var(--surface);
}

/* Links und Fokus — die einzigen Stellen mit Akzentfarbe */

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

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-radius: 2px;
}

/* Grundraster */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

p,
ul {
  margin: 0;
}

/* Kopf: Wortmarke */

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 32px;
}

.wordmark {
  font-weight: 600;
  font-size: 2.125rem; /* 34px wie im Design-System */
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wordmark-small {
  font-size: 1.5625rem; /* 25px */
}

a.wordmark {
  text-decoration: none;
}

a.wordmark:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.status {
  flex-basis: 100%;
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Startseite */

.claim {
  max-width: 18em;
  font-weight: 500;
  font-size: 2rem; /* 32px */
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.home-de {
  padding-top: 64px;
}

.home-en {
  margin-top: 48px;
}

.home-en .claim {
  font-size: 1.5625rem; /* 25px — englische Fassung eine Stufe kleiner */
}

.contact {
  margin-top: 16px;
  font-size: 1.125rem;
}

/* Sprachabschnitt: 1px-Ink-Linie als Kopf, Bezeichnung in kleinen Versalien */

.lang-section {
  border-top: 1px solid var(--ink);
  padding-top: 12px;
}

.label {
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 0.6875rem; /* 11px */
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Rechtstexte */

.legal {
  max-width: 42rem;
  padding-top: 48px;
}

.legal h1 {
  font-size: 2rem; /* 32px */
}

.legal .meta {
  margin-top: 8px;
  color: var(--muted);
}

.legal h2 {
  margin-top: 40px;
  font-size: 1.25rem; /* 20px */
}

.legal h3 {
  margin-top: 32px;
  font-size: 1rem;
}

.legal p,
.legal ul {
  margin-top: 12px;
}

.legal ul {
  padding-left: 1.25em;
}

.legal li + li {
  margin-top: 4px;
}

.legal .lang-section {
  margin-top: 64px;
}

.legal .lang-section > h2:first-of-type {
  margin-top: 0;
  font-size: 1.5625rem; /* 25px */
}

.authoritative {
  margin-top: 40px;
  padding-top: 12px;
  border-top: 1px dotted var(--muted);
  color: var(--muted);
}

.authoritative p {
  margin-top: 0;
}

/* Zahlen und Kennungen */

.num {
  font-family: var(--font-mono);
  font-size: 0.92em;
}

/* Fuß */

.site-footer {
  margin-top: 64px;
  padding: 16px 0 32px;
  border-top: 1px dotted var(--muted);
  font-size: 0.875rem;
}

.site-footer p + p {
  margin-top: 4px;
}

.site-footer a[aria-current='page'] {
  color: var(--ink);
}

/* Größere Bildschirme: mehr Luft, größere Schrift */

@media (min-width: 768px) {
  .page {
    padding: 0 48px;
  }

  .site-header {
    padding-top: 48px;
  }

  .home-de {
    padding-top: 96px;
  }

  .home-en {
    margin-top: 64px;
  }

  .claim {
    font-size: 2.75rem; /* 44px */
  }

  .home-en .claim {
    font-size: 2rem; /* 32px */
  }

  .legal {
    padding-top: 64px;
  }

  .legal h1 {
    font-size: 2.75rem; /* 44px */
  }
}
