@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/Manrope.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/Inter.woff2') format('woff2');
}

:root {
  color-scheme: light only;
  --forest-deep: #1C1917;
  --forest:      #2C2825;
  --page:        #FFFFFF;
  --cream:       #F5F0E8;
  --cream-dark:  #EAE2D0;
  --ink:         #1C1917;
  --signal-red:  #E8432D;
  --fg-muted:    #4A4A4A;
  --fg-subtle:   #6B6B6B;
  --border:      #E6E1D6;
  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter',   ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 150ms ease;
}
a:hover { color: var(--forest-deep); }

/* ===== Header ===== */
.sc-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.sc-header .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
}

.sc-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  color: var(--forest-deep);
}
.sc-logo img { height: 17px; width: auto; display: block; }
.sc-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
  line-height: 1;
}

/* ===== Main ===== */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background-image:
    linear-gradient(to right, rgba(28, 25, 23, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 25, 23, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center center;
  position: relative;
  overflow: hidden;
}

main::before,
main::after {
  content: '';
  position: absolute;
  pointer-events: none;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
main::before {
  background: var(--cream);
  top: -20vw;
  left: -20vw;
}
main::after {
  background: var(--cream-dark);
  bottom: -25vw;
  right: -15vw;
  opacity: 0.25;
}

.wordmark {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--forest-deep);
  text-align: center;
  margin: 0;
  text-wrap: balance;
}

@keyframes dot-blink { 50% { opacity: 0; } }
.wordmark .dot {
  color: var(--signal-red);
  animation: dot-blink 1.1s steps(2, end) infinite;
}

.tagline {
  position: relative;
  text-align: center;
  margin: 32px 0 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
}

/* ===== Footer ===== */
.sc-footer {
  border-top: 1px solid var(--border);
  background: var(--page);
}
.sc-footer .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--fg-subtle);
}
.sc-footer a {
  color: var(--fg-subtle);
  border-bottom: 0;
}
.sc-footer a:hover { color: var(--forest-deep); }
.sc-footer .links {
  display: flex;
  gap: 20px;
}

/* ===== Impressum page ===== */
.prose {
  flex: 1;
  padding: 64px 24px 96px;
}
.prose .container {
  max-width: 720px;
  margin: 0 auto;
}
.prose .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: 16px;
}
.prose h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 40px;
  color: var(--forest-deep);
}
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
  margin: 40px 0 12px;
}
.prose p, .prose dd, .prose dt {
  font-size: 15px;
  line-height: 1.65;
}
.prose dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 24px;
  margin: 0 0 8px;
}
.prose dt {
  color: var(--fg-muted);
  font-weight: 500;
}
.prose dd {
  margin: 0;
  color: var(--ink);
}
.prose a { color: var(--forest); }

@media (max-width: 600px) {
  .prose dl { grid-template-columns: 1fr; gap: 0; }
  .prose dt { margin-top: 12px; }
}
