/* ============================================================
   NEBELKIND — fiktiver Elektro-Produzent · Demo-Microsite
   Kein Framework, kein JS. Ein schmaler Kanal, viel Nacht.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --fg: #e8e6df;
  --muted: #7c7a72;
  --amber: #ffb000;
  --line: rgba(232, 230, 223, 0.14);
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
}

::selection { background: var(--amber); color: #0a0a0c; }

/* ---------- demo tag (dezent) ---------- */

.tag {
  margin: 0;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag a { color: var(--muted); text-decoration: none; }
.tag a:hover, .tag a:focus-visible { color: var(--amber); }

/* ---------- hero ---------- */

.hero {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 1.2rem 2.5rem;
}

.hero__meta {
  margin: 0 0 2.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 14vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 800;
  text-transform: lowercase;
}

.hero__sub {
  margin: 1.6rem 0 0;
  color: var(--muted);
}

/* CSS-Equalizer: 24 Balken, gestaffelte Keyframes */
.eq {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 72px;
  margin-top: 3rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.eq i {
  flex: 1;
  background: var(--amber);
  opacity: 0.85;
  animation: eq 1.1s ease-in-out infinite alternate;
  transform-origin: bottom;
}
@keyframes eq {
  from { height: 12%; }
  to { height: 100%; }
}
.eq i:nth-child(3n) { animation-duration: 0.9s; }
.eq i:nth-child(4n) { animation-duration: 1.4s; }
.eq i:nth-child(5n) { animation-duration: 0.7s; opacity: 0.55; }
.eq i:nth-child(7n) { animation-duration: 1.7s; }
.eq i:nth-child(1) { animation-delay: -0.2s; }
.eq i:nth-child(2) { animation-delay: -0.9s; }
.eq i:nth-child(3) { animation-delay: -0.5s; }
.eq i:nth-child(4) { animation-delay: -1.2s; }
.eq i:nth-child(5) { animation-delay: -0.3s; }
.eq i:nth-child(6) { animation-delay: -1.5s; }
.eq i:nth-child(7) { animation-delay: -0.7s; }
.eq i:nth-child(8) { animation-delay: -1.1s; }
.eq i:nth-child(9) { animation-delay: -0.4s; }
.eq i:nth-child(10) { animation-delay: -1.6s; }
.eq i:nth-child(11) { animation-delay: -0.8s; }
.eq i:nth-child(12) { animation-delay: -1.3s; }
.eq i:nth-child(13) { animation-delay: -0.6s; }
.eq i:nth-child(14) { animation-delay: -1.0s; }
.eq i:nth-child(15) { animation-delay: -0.2s; }
.eq i:nth-child(16) { animation-delay: -1.4s; }
.eq i:nth-child(17) { animation-delay: -0.5s; }
.eq i:nth-child(18) { animation-delay: -1.7s; }
.eq i:nth-child(19) { animation-delay: -0.9s; }
.eq i:nth-child(20) { animation-delay: -0.3s; }
.eq i:nth-child(21) { animation-delay: -1.2s; }
.eq i:nth-child(22) { animation-delay: -0.7s; }
.eq i:nth-child(23) { animation-delay: -1.5s; }
.eq i:nth-child(24) { animation-delay: -0.4s; }

/* ---------- sections ---------- */

main { max-width: 640px; margin: 0 auto; padding: 0 1.2rem; }

.block { padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; }

h2 {
  margin: 0 0 2rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
}
h2 span { color: var(--muted); margin-right: 0.8em; }

/* ---------- lists ---------- */

.list { list-style: none; margin: 0; padding: 0; }

.list li {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.list__main { flex: 1; min-width: 0; }
.list__main strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.list__meta { font-size: 0.78rem; color: var(--muted); }

.list a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.list a:hover, .list a:focus-visible { color: var(--amber); border-color: var(--amber); }

.list--dates time {
  width: 7.5em;
  flex: none;
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
}

.status {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.status--hot { color: var(--amber); }
.status--out { color: var(--fg); text-decoration: line-through; }

.note { margin: 1.4rem 0 0; font-size: 0.78rem; color: var(--muted); }

.contact { margin: 0; max-width: 30rem; font-size: 1.05rem; }

/* ---------- footer ---------- */

.foot {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem 1.2rem 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}
.foot a { color: inherit; }
.foot a:hover, .foot a:focus-visible { color: var(--amber); }

/* ---------- responsive & motion ---------- */

@media (max-width: 560px) {
  .list--dates li { flex-wrap: wrap; gap: 0.4rem 1rem; }
  .list--dates time { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i { animation: none; height: 45%; opacity: 0.4; }
}
