/* =====================================================================
   nuvibit-intro — styles.css
   Ruhig, technisch, ehrlich. Ein Akzent (gedämpftes Cyan) auf Anthrazit.
   Solide Flächen, gestufte Radien 4/8/12, dezente Schatten. Kein KI-Look.
   ===================================================================== */

:root {
  --bg:        #11151a;
  --surface:   #181d24;
  --surface-2: #1f262f;
  --line:      #2a323c;
  --line-soft: #212832;

  --text:      #e6eaef;
  --text-dim:  #9aa4b1;
  --text-mute: #6a7480;

  /* Ein Akzent: gedämpftes technisches Cyan (kein Neon, kein Glow) */
  --accent:        #36b3a8;
  --accent-strong: #4fd0c4;
  --accent-ink:    #06120f;

  --r1: 4px; --r2: 8px; --r3: 12px;
  --pad: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(3rem, 8vw, 5.5rem);
  --maxw: 1040px;
  --maxw-narrow: 720px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400; font-size: clamp(1rem, .96rem + .25vw, 1.07rem); line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-weight: 700; line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
strong { font-weight: 600; color: var(--text); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--surface-2); color: var(--accent-strong); padding: .08rem .38rem; border-radius: var(--r1); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: var(--maxw-narrow); }

.section-title { font-size: clamp(1.35rem, 1.1rem + 1.3vw, 1.95rem); margin-bottom: .9rem; }
.section-title::before { content: ""; display: block; width: 44px; height: 3px; background: var(--accent); border-radius: var(--r1); margin-bottom: .9rem; }
.lede { font-size: 1.06em; color: var(--text); max-width: 64ch; }
.note { color: var(--text-dim); max-width: 64ch; }

.visually-hidden, .skip-link:not(:focus) { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Disclaimer */
.disclaimer { position: sticky; top: 0; z-index: 50; background: var(--surface-2); border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: .82rem; text-align: center; padding: .5rem var(--pad); }
.disclaimer__dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); margin-right: .5rem; vertical-align: -1px; }

.skip-link { position: fixed; top: .4rem; left: .4rem; z-index: 60; background: var(--accent); color: var(--accent-ink); padding: .5rem .8rem; border-radius: var(--r1); font-weight: 600; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Hero */
.hero { padding-block: clamp(2.6rem, 7vw, 4.5rem) var(--section-y); border-bottom: 1px solid var(--line-soft); }
.hero__eyebrow { color: var(--accent-strong); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; margin: 0 0 1rem; }
.hero__title { font-size: clamp(2.1rem, 1.4rem + 3.6vw, 3.4rem); margin: 0; }
.hero__role { display: block; font-weight: 600; color: var(--text-dim); font-size: clamp(1rem, .85rem + 1vw, 1.35rem); margin-top: .55rem; }
.hero__meta { color: var(--text-dim); font-size: .95rem; margin: 1.3rem 0 0; }
.hero__lead { margin: 1.1rem 0 0; max-width: 66ch; }
.hero__repo { margin: 1.6rem 0 0; font-size: .9rem; color: var(--text-mute); }
.hero__repo span { letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; margin-right: .6rem; }

/* Blocks */
.block { padding-block: var(--section-y); }
.block--alt { background: var(--surface); border-block: 1px solid var(--line-soft); }

/* Facts list */
.facts { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .7rem; }
.facts li { position: relative; padding-left: 1.5rem; color: var(--text); }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--accent); border-radius: var(--r1); }

/* Tags */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0 0; padding: 0; }
.tag { background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim); font-size: .82rem; padding: .38rem .72rem; border-radius: var(--r1); }
.tag--yes { border-color: var(--accent); color: var(--accent-strong); }
.tag--part { border-color: #7c6f3a; color: #d9c98a; }
.tag--no { border-color: var(--line); color: var(--text-mute); }

/* Decisions */
.decisions { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1rem; counter-reset: dec; }
.decisions li { background: var(--bg); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent); border-radius: var(--r2); padding: 1rem 1.15rem; }
.decisions h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.decisions p { margin: 0; color: var(--text-dim); font-size: .93rem; }

/* Steps */
.steps { margin: 1.3rem 0 0; padding-left: 1.3rem; display: grid; gap: .55rem; color: var(--text); }
.steps li { padding-left: .2rem; }
.steps li::marker { color: var(--accent-strong); font-weight: 700; }

/* Questions */
.questions { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .7rem; max-width: 64ch; }
.questions li { position: relative; padding-left: 1.5rem; color: var(--text); }
.questions li::before { content: "?"; position: absolute; left: 0; top: 0; color: var(--accent-strong); font-weight: 700; }

/* Foot */
.foot { border-top: 1px solid var(--line-soft); padding-block: 1.6rem; color: var(--text-mute); font-size: .82rem; }

:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: var(--r1); }

@media (max-width: 560px) { .hero__repo code { display: block; margin-top: .4rem; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
