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

:root {
  --bg-top: #0a0908;
  --bg-mid: #15120f;
  --bg-bottom: #262018;
  --text: #e6d8c8;
  --muted: #b0a090;
  --accent: #e0a060;
  --glow: #d89040;
  --border: rgba(220, 160, 80, 0.12);
  --max: 42rem;
}

html { font-size: 18px; }

body {
  font-family: "Go", "Go Regular", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(
    to bottom,
    var(--bg-top) 0%,
    var(--bg-mid) 50%,
    var(--bg-bottom) 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 8, 6, 0.88);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-family: "Libre Baskerville", Baskerville, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--accent);
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 1.75rem;
}

nav a {
  font-family: "Go", "Go Mono", ui-monospace, monospace;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
}

nav a:hover,
nav a:focus {
  color: var(--glow);
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4rem 1.75rem 5rem;
}

.panel {
  display: none;
  animation: fade 0.35s ease;
}

.panel:target {
  display: block;
}

/* Default Overview */
main:not(:has(.panel:target)) #overview {
  display: block;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Typography */
h1 {
  font-family: "Libre Baskerville", Baskerville, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  color: var(--accent);
}

h2 {
  font-family: "Libre Baskerville", Baskerville, serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--accent);
}

h3 {
  font-family: "Libre Baskerville", Baskerville, serif;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.65;
}

/* Pillars */
.pillars {
  display: grid;
  gap: 2rem;
}

.pillars article p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Contact */
#contact p {
  margin-bottom: 1.4rem;
}

#contact a {
  color: var(--glow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

#contact a:hover {
  border-bottom-color: var(--glow);
}

.impressum {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.impressum h3 {
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.impressum p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.meta {
  font-family: "Go", "Go Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Responsive */
@media (max-width: 540px) {
  header {
    flex-direction: column;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
  }
  nav { gap: 1.25rem; }
  h1 { font-size: 1.85rem; }
  main { padding: 3rem 1.25rem 4rem; }
}
