/* Gemeinsame Basis fuer alle Landing-Seiten.
   Typografie und Farben bewusst identisch zum Login-Screen des THG-Rechners. */
:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #666;
  --rule: #e2e2e2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* --- Startseite ---------------------------------------------------- */
.logo {
  width: 260px;
  max-width: 70vw;
  height: auto;
  object-fit: contain;
}

.claim {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #222;
  padding-left: 0.3em;
  text-align: center;
}

@media (max-width: 520px) {
  .claim { font-size: 13px; letter-spacing: 0.18em; }
}

/* --- Rechtstexte ---------------------------------------------------- */
.doc {
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding: 64px 24px 32px;
}

.doc h1 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0 0 40px;
}

.doc h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 32px 0 8px;
}

.doc p { margin: 0 0 12px; }

.doc a { color: inherit; }

.back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}

.back:hover { color: var(--fg); }

/* --- Footer --------------------------------------------------------- */
footer {
  padding: 24px 16px 32px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  padding: 0 10px;
}

footer a:hover { color: var(--fg); }
