/* NBS VV GmbH — minimalistisches Stylesheet, keine externen Abhängigkeiten */

:root {
  --bg: #faf8f4;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #d9d5cc;
  --link: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171614;
    --text: #e8e5df;
    --muted: #999590;
    --rule: #3a3733;
    --link: #e8e5df;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  font-size: 1.125rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  padding: 2.5rem 0 0;
}

.wordmark {
  display: inline-block;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.subtitle {
  margin-top: 0.3rem;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

main {
  flex: 1;
  padding: 5rem 0 4rem;
}

main p + p {
  margin-top: 1.5rem;
}

main h1 {
  font-size: 1.375rem;
  font-weight: normal;
  margin-bottom: 2rem;
}

main h2 {
  font-size: 1.125rem;
  font-weight: bold;
  margin: 2.5rem 0 0.75rem;
}

main ul {
  margin: 0.75rem 0 0 1.25rem;
}

main li + li {
  margin-top: 0.375rem;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--muted);
}

a:hover {
  text-decoration-color: var(--text);
}

.contact {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

footer {
  padding: 2rem 0 2.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

footer a {
  color: var(--muted);
}

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

footer nav {
  font-size: 0.875rem;
}
