/* Genesis – genesis.sarl
   Systemschriften (keine externen Schriftdienste → keine Datenübertragung an Dritte) */
:root {
  --night: #05040f;
  --deep: #120a2a;
  --violet: #3a1d63;
  --gold: #ffc65a;
  --gold-soft: #f3d79a;
  --text: #f4efe6;
  --muted: #c9c0d8;
  --line: rgba(255, 214, 140, 0.22);
  --card: rgba(22, 14, 46, 0.62);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(120% 80% at 50% 0%, var(--violet) 0%, var(--deep) 38%, var(--night) 75%) fixed, var(--night);
  color: var(--text);
  font: 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

#cosmos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gold);
  color: #1a1030;
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 10;
  font-weight: 600;
}
.skip:focus { left: 16px; }

a { color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

header.top, main, footer { position: relative; z-index: 1; }

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
}
header.top .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--serif);
  letter-spacing: 0.35em;
  font-size: 15px;
}
header.top .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.top nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}
header.top nav a:hover, header.top nav a[aria-current="page"] { color: var(--gold-soft); }

/* Hero */
.hero {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px 80px;
}
.hero .icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 0 80px rgba(255, 190, 90, 0.35), 0 0 0 1px var(--line);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 10vw, 104px);
  letter-spacing: 0.24em;
  margin: 36px 0 4px;
  padding-left: 0.24em; /* optischer Ausgleich zum Buchstabenabstand */
  background: linear-gradient(180deg, #fff6e4 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 32px);
  color: var(--gold-soft);
  margin: 0 0 6px;
}
.hero .lead, .hero .tagline, .prose, .channels p, .honest dd {
  text-shadow: 0 1px 14px rgba(5, 4, 15, 0.95), 0 0 2px rgba(5, 4, 15, 0.9);
}
.hero .lead {
  max-width: 34rem;
  margin: 0 auto 34px;
  color: var(--text);
  font-size: 20px;
}
.badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(10, 6, 25, 0.88);
}
.badge:hover { background: rgba(255, 198, 90, 0.14); color: #fff2d2; }
.badge small { font-weight: 400; color: var(--muted); }
#wave-slot { height: 150px; margin: 0 0 18px; }
@media (max-width: 760px) { #wave-slot { height: 110px; } }
.scroll-hint { margin-top: 56px; color: var(--muted); font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; }

/* Abschnitte */
section.block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 24px;
}
section.block > h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4.6vw, 46px);
  margin: 0 0 18px;
  color: #fff6e4;
}
.eyebrow {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.prose { max-width: 40rem; color: var(--text); }
.prose p { margin: 0 0 1em; }
.quiet { color: var(--muted); }

.ritual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
  counter-reset: step;
  padding: 0;
  list-style: none;
}
.ritual li {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.ritual li::before {
  counter-increment: step;
  content: counter(step, upper-roman);
  display: block;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 8px;
}
.ritual h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.ritual p { margin: 0; color: var(--muted); }

.channels {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 36px;
  padding: 0;
  list-style: none;
}
.channels li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.channels .kind { color: var(--gold); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.channels h3 { margin: 6px 0 4px; font-size: 19px; font-weight: 600; }
.channels .band { font-family: var(--serif); font-size: 18px; color: var(--gold-soft); margin: 0 0 8px; }
.channels p { margin: 0; color: var(--muted); font-size: 16px; }

.honest {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px 28px;
  margin: 30px 0 0;
}
.honest div { border-left: 2px solid var(--line); padding-left: 16px; }
.honest dt { font-weight: 600; margin-bottom: 4px; }
.honest dd { margin: 0; color: var(--muted); font-size: 16px; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.closing {
  text-align: center;
  padding: 110px 24px 120px;
}
.closing p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.6vw, 36px);
  color: var(--gold-soft);
  max-width: 36rem;
  margin: 0 auto 30px;
}

/* Unterseiten */
.page { max-width: 46rem; margin: 0 auto; padding: 40px 24px 80px; }
.page h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 5vw, 52px); margin: 10px 0 8px; color: #fff6e4; }
.page h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 40px 0 10px; color: #fff6e4; }
.page h3 { font-size: 19px; margin: 24px 0 6px; }
.page p, .page li { color: var(--text); }
.page .meta { color: var(--muted); }
.page hr { border: 0; border-top: 1px solid var(--line); margin: 50px 0; }

footer {
  border-top: 1px solid var(--line);
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 15px;
}
footer nav a { color: var(--muted); margin-right: 18px; text-decoration: none; }
footer nav a:hover { color: var(--gold-soft); text-decoration: underline; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .hero h1 { letter-spacing: 0.16em; padding-left: 0.16em; }
  header.top { flex-wrap: wrap; gap: 8px; }
  .ritual { grid-template-columns: 1fr; }
  header.top nav a { margin-left: 14px; }
  header.top .brand span { display: none; }
  section.block { padding: 64px 20px; }
  .panel { padding: 22px; }
}
