:root {
  --black: #000;
  --off-black: #080808;
  --white: #fff;
  --text: #d4d4d4;
  --muted: #8f8f8f;
  --max: 900px;
}

* { box-sizing: border-box; }

html {
  background: var(--black);
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  opacity: .7;
}

a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 5px;
}

/* Startseite */
.home {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 28px clamp(22px, 5vw, 68px) 22px;
}

.brand-stage {
  display: grid;
  place-items: center;
}

.main-logo {
  display: block;
  width: min(760px, 80vw);
  height: auto;
}

.home-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .04em;
}

.home-footer .contact {
  white-space: nowrap;
}

.legal-links {
  display: flex;
  gap: 20px;
  white-space: nowrap;
}

/* Rechtliche Seiten */
.legal-page {
  min-height: 100vh;
  background: var(--off-black);
}

.legal-wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 88px;
}

.legal-logo {
  width: 250px;
  max-width: 62vw;
  height: auto;
  margin-bottom: 64px;
}

h1 {
  margin: 0 0 38px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

h2 {
  margin: 38px 0 11px;
  font-size: 18px;
  line-height: 1.35;
}

p, li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.72;
}

p {
  max-width: 790px;
  margin: 0 0 14px;
}

ul {
  max-width: 790px;
  margin: 8px 0 16px;
  padding-left: 22px;
}

.muted { color: var(--muted); }

.back {
  display: inline-block;
  margin-top: 52px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .home {
    padding: 22px 20px 18px;
  }

  .main-logo {
    width: 88vw;
  }

  .home-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .legal-wrap {
    width: min(var(--max), calc(100% - 36px));
    padding-top: 38px;
  }

  .legal-logo {
    margin-bottom: 48px;
  }
}


/* Landingpage: rechtliche Links an gegenüberliegenden unteren Ecken */
.home-footer {
  display: block;
}

.landing-legal {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 680px) {
  .home-footer {
    display: block;
  }

  .landing-legal {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
}
