/* ============================================================
   deraneck.eu – Rechtsseiten (Impressum, Datenschutz, 404)

   Bewusst markenneutral und minimal: diese Seiten gehören allen
   drei Welten gleichermaßen. Kein Marken-Design-System, keine
   Animation, kein JS. Rechtsseiten sind der Ort für null Cleverness.
   ============================================================ */

:root {
  --lg-bg:      #0a0a0a;
  --lg-surface: #121212;
  --lg-fg:      #e8eaed;
  --lg-muted:   #a4a8ad;
  --lg-rule:    rgba(240, 242, 245, .12);
  --lg-accent:  #c8a44a;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  /* Flex-Spalte, damit die Rechts-Zeile bei kurzen Seiten (404) am
     unteren Rand sitzt statt als Band mitten im Viewport zu haengen. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--lg-bg);   /* als erste Regel, damit der erste Paint stimmt */
  color: var(--lg-fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.lg-wrap {
  flex: 1 0 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

.lg-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lg-accent);
  margin: 0 0 .6rem;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 2rem;
}

h2 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 2.5rem 0 .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lg-rule);
}
h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 2rem; }

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 .5rem;
}

p, li { color: var(--lg-muted); margin: 0 0 1rem; }
strong { color: var(--lg-fg); font-weight: 600; }

ul { padding-left: 1.25rem; margin: 0 0 1rem; }
li { margin-bottom: .4rem; }

a { color: var(--lg-accent); text-decoration: underline; text-underline-offset: .18em; }
a:hover, a:focus-visible { color: #e0bd63; }
a:focus-visible { outline: 2px solid var(--lg-accent); outline-offset: 2px; border-radius: 2px; }

.lg-card {
  background: var(--lg-surface);
  border: 1px solid var(--lg-rule);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 1.5rem;
}
.lg-card p:last-child { margin-bottom: 0; }

.lg-back {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 14px;
  font-weight: 500;
}

/* 404 */
.lg-404 { text-align: center; padding-top: 5rem; }
.lg-404 .lg-code {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 .5rem;
  background: linear-gradient(135deg, #c8a44a 0%, #00d4e5 50%, #00e5a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lg-404 h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1rem; }
.lg-404-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2rem;
}
.lg-404-links a {
  display: inline-block;
  padding: .7rem 1.25rem;
  border: 1px solid var(--lg-rule);
  border-radius: 8px;
  color: var(--lg-fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.lg-404-links a:hover,
.lg-404-links a:focus-visible { background: rgba(255, 255, 255, .06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
