/* Pingbook — Umzugsseite (eigenständig, ohne App-Abhängigkeiten) */
@font-face {
  font-family: "Diatype Rounded";
  font-weight: 800;
  font-display: swap;
  src: url("assets/diatype-rounded-800.woff2") format("woff2");
}
@font-face {
  font-family: "Diatype Rounded";
  font-weight: 500;
  font-display: swap;
  src: url("assets/diatype-rounded-500.woff2") format("woff2");
}

:root {
  --bg: #f1efe9;
  --surface: #fcfbf8;
  --text: #1a1a16;
  --text-2: #6d6c62;
  --border: rgba(26, 26, 22, 0.12);
  --brand: #2fbf45;
  --font-display: "Diatype Rounded", system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181616;
    --surface: #242121;
    --text: #f4f4f4;
    --text-2: #a3a0a0;
    --border: rgba(244, 244, 244, 0.14);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { opacity: 0.75; }

.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

/* ---------- Startseite ---------- */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
}
.hero-inner {
  width: 100%;
  max-width: 34rem;
  text-align: center;
}
.hero .mark {
  width: 7rem;
  height: auto;
  margin: 0 auto 1.25rem;
}
.hero .type {
  width: 9rem;
  height: auto;
  margin: 0 auto 2.5rem;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.hero p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0 0 0.75rem;
}
.hero .contact {
  margin-top: 1.75rem;
  font-size: 0.9375rem;
}

/* ---------- Fußzeile ---------- */
.foot {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem;
  font-size: 0.875rem;
}
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); opacity: 1; }

/* ---------- Rechtsseiten ---------- */
.legalpage {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 3rem 1.25rem 5rem;
}
.legal { width: 100%; max-width: 46rem; }
.legal-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}
.legal-head .mark { width: 2.25rem; height: auto; }
.legal-head .word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  text-decoration: none;
}
.legal-head .back {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--text-2);
  text-decoration: none;
}
.legal-head .back:hover { color: var(--text); opacity: 1; }
.legal h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.legal .stand { color: var(--text-2); font-size: 0.875rem; margin: 0 0 2rem; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 2.25rem 0 0.625rem;
}
.legal h3 { font-weight: 600; font-size: 1rem; margin: 1.5rem 0 0.375rem; }
.legal p, .legal li { font-size: 0.9375rem; line-height: 1.7; margin: 0 0 0.875rem; }
.legal ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1rem; }
.legal li { margin-bottom: 0.375rem; }
.legal-foot {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.legal-foot a { color: var(--text-2); text-decoration: none; }
.legal-foot a:hover { color: var(--text); opacity: 1; }
