/* ponytail: eigenständige Seiten ohne Build, ein gemeinsames Stylesheet; Tokens aus src/style.css kopiert, Schriften lokal (kein Google-Fonts-Abruf) */
@font-face { font-family: 'Syne Variable'; src: url(fonts/syne-latin-wght-normal.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Instrument Sans Variable'; src: url(fonts/instrument-sans-latin-wght-normal.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --ink: #05060a; --paper: #f2f4f8; --mist: #d4d8e0; --line: #a9b1c2; --amber: #ffb25a;
  --display: 'Syne Variable', sans-serif;
  --body: 'Instrument Sans Variable', system-ui, sans-serif;
  --gutter: clamp(1.5rem, 7vw, 7rem);
  --frame: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; color: var(--paper); font: 400 1.0625rem/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
h1, p { margin: 0; }

main { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 6rem var(--gutter); }

/* Stehende Sonnenfinsternis: dieselbe Aura wie der WebGL-Fallback der Hauptseite */
.aura {
  position: absolute; left: 72%; top: 48%; width: min(26rem, 60vw); aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 1px rgb(255 236 210 / .9), 0 0 60px 10px rgb(255 236 210 / .55), 0 0 240px 80px rgb(169 177 194 / .28);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .72; scale: .985; } to { opacity: 1; scale: 1; } }

.copy { position: relative; max-width: 40rem; display: grid; gap: 1.75rem; }
h1 { font: 700 clamp(2.5rem, 5.6vw, 5.25rem)/.98 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); max-width: 32rem; color: var(--mist); }
h1, .lead { text-shadow: 0 0 24px var(--ink), 0 0 6px var(--ink); }
.status { display: flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--line); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.button {
  display: inline-block; justify-self: start; padding: 1rem 1.6rem;
  background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background .15s;
}
.button:hover { background: var(--amber); }

/* HUD-Rahmen */
.hud { position: fixed; inset: var(--frame); z-index: 2; pointer-events: none; font-size: .8rem; color: var(--line); }
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid var(--line); }
.tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.br { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.wordmark { position: absolute; top: 16px; left: 22px; height: 22px; width: auto; }
.legal { position: absolute; bottom: 12px; left: 22px; right: 22px; }

.hud a { pointer-events: auto; }
.legal a { margin-left: 1.25rem; text-underline-offset: .3em; }
.legal a:hover { color: var(--paper); }

/* Textseiten (Impressum): Rahmen scrollt mit, statt über dem Text zu stehen */
body.page { position: relative; min-height: 100svh; }
.page .hud { position: absolute; }
a.wordmark img { display: block; height: 100%; width: auto; }
.page main { align-items: start; padding-block: 8rem 6rem; }
.page h1 { font-size: clamp(2.1rem, 4.4vw, 3.9rem); line-height: 1.02; }
.page h2 { margin: 0 0 .35rem; font: 400 .875rem var(--body); color: var(--line); }
.page address { font-style: normal; }
.page section { display: grid; gap: .75rem; }
.page section h2 { margin: 0; }
.page .copy a { text-underline-offset: .3em; text-decoration-color: var(--line); }
.page .copy a:hover { text-decoration-color: var(--amber); }

@media (max-width: 900px) {
  main { align-items: end; padding-bottom: 5rem; }
  .aura { left: 50%; top: 30%; }
  .wordmark { height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .aura { animation: none; } }
