/* minhera.works website styles. Colors from brand.css tokens. */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; background: var(--brand-sky-edge); }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--brand-text);
  font-family: var(--brand-font);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand-accent); text-decoration: none; text-underline-offset: .2em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--brand-accent); outline-offset: 3px; border-radius: 2px; }

/* Himmel über die ganze Seite */
.sky {
  position: fixed; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 28%,
    var(--brand-sky-center) 0%, var(--brand-sky-mid) 55%, var(--brand-sky-edge) 100%);
}
.stars { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

.page { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }

/* Fußleiste (alle Seiten) */
.bar {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  align-items: baseline; justify-content: space-between;
  padding: 1rem 1.5rem 1.25rem;
  font-size: .9375rem; color: var(--brand-muted);
}
.legal { display: flex; gap: 1rem; }
.legal a { color: var(--brand-muted); }
.legal a:hover, .legal a[aria-current="page"] { color: var(--brand-text); }

/* Startseite */
.hero {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1.25rem 1.5rem;
}
.mark { position: relative; width: min(78vw, max(420px, 22vw), calc((100svh - 22rem) * 2.6)); min-width: 200px; }
.mark img { display: block; width: 100%; height: auto; }
.mark .glow, .mark .night { position: absolute; inset: 0; }
.mark .glow { filter: drop-shadow(0 0 3px rgba(255,255,255,.55)) drop-shadow(0 0 14px rgba(255,255,255,.28)); }
.mark .day { position: relative; }
.mark .night { opacity: 0; }

.name {
  margin: 1.25rem 0 0;
  font-family: var(--brand-font-name); font-weight: 700;
  font-size: clamp(1.75rem, 7vw, max(2.625rem, 2.2vw)); line-height: 1.1; letter-spacing: .01em;
}
.dot { color: var(--brand-accent); }
.line { width: 40px; height: 2px; margin: clamp(2rem, 8vh, 4.5rem) auto 1rem; border: 0; background: var(--brand-accent); }
.claim { margin: 0; font-size: clamp(1.375rem, 5vw, max(1.75rem, 1.45vw)); line-height: 1.25; font-weight: 400; }

/* Rechtsseiten */
.top { padding: 1.5rem; }
.wordmark { color: var(--brand-text); font-family: var(--brand-font-name); font-weight: 700; font-size: 1.25rem; }
.wordmark:hover { text-decoration: none; }
.doc { flex: 1; width: 100%; max-width: 46rem; padding: 1rem 1.5rem 4rem; }
.doc h1 { margin: 0 0 2rem; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; line-height: 1.15; }
.doc h2 { margin: 2.25rem 0 .5rem; font-size: 1.125rem; font-weight: 600; }
.doc p { margin: 0 0 1rem; color: var(--brand-muted); }
.doc .todo { color: var(--brand-accent); }

@media (max-width: 480px) {
  .bar { justify-content: center; text-align: center; }
}
