/* Fonts werden im <head> der HTML-Datei per <link> geladen (preconnect, schneller als @import). */

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

:root {
  --bg:         #f8f8f6;
  --bg-alt:     #ffffff;
  --ink:        #111111;
  --ink-mid:    #444444;
  --ink-soft:   #777777;
  --teal:       #0d7377;
  --teal-light: #14a3a8;
  --teal-pale:  #e6f3f4;
  --white:      #ffffff;
  --border:     rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Sichtbarer Fokus für Tastaturnutzer */
a:focus-visible {
  outline: 2px solid var(--teal-light);
  outline-offset: 2px;
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 60px;
  background: rgba(248,248,246,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .logo {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
nav .back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav .back:hover { color: var(--teal); }
nav .back::before { content: '←'; font-family: 'Space Mono', monospace; }

/* CONTENT */
main {
  flex: 1;
  padding: 5rem 5%;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.page-tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  line-height: 1.1;
  color: var(--ink);
}

.block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.block:last-child {
  border-bottom: none;
}

h2 {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.25rem;
}

p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
p:last-child { margin-bottom: 0; }

p strong { color: var(--ink); font-weight: 600; }

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

.note {
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  padding: 1.25rem 1.5rem;
  border-radius: 0 4px 4px 0;
  margin-top: 1.5rem;
}
.note p { font-size: 0.875rem; color: var(--ink-mid); margin: 0; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-alt);
}
footer p {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-family: 'Space Mono', monospace;
}
