/* ════════════════════════════════════════════════════════════════════════
   Gercke.Tech — neon
   Palet hentet fra jeres egne gold sheets (2026-09-24-gercke-r2):
   elektrisk cyan kerne, magenta bloom, dyb midnatslilla baggrund.
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #0a0612;   /* dyb midnatslilla */
  --bg-2:      #0f0a1c;
  --cyan:      #00f0ff;
  --cyan-soft: #7df9ff;
  --magenta:   #bf00ff;
  --pink:      #ff3bd4;
  --ink:       #e8fbff;
  --ink-dim:   rgba(220, 245, 255, 0.72);
  --ink-faint: rgba(220, 245, 255, 0.45);
  --line:      rgba(0, 240, 255, 0.16);
  --maxw:      68rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--cyan-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.wrap--narrow { max-width: 42rem; }

/* ── HERO ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.03);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(10,6,18,0.15) 0%, rgba(10,6,18,0.80) 75%),
    linear-gradient(to bottom,
      rgba(10,6,18,0.55) 0%,
      rgba(10,6,18,0.10) 35%,
      rgba(10,6,18,0.92) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 46rem;
}

.hero__eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  opacity: 0.85;
}

.hero__title {
  margin: 0;
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  color: #ffffff;
  text-shadow:
    0 0 16px rgba(0, 240, 255, 0.65),
    0 0 52px rgba(191, 0, 255, 0.55),
    0 0 96px rgba(191, 0, 255, 0.30);
}

.hero__dot { color: var(--magenta); text-shadow: 0 0 28px var(--magenta); }

.hero__tagline {
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.45rem);
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.92;
}

.hero__lede {
  margin: 1.75rem auto 0;
  max-width: 34rem;
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: var(--ink-dim);
}

.hero__scroll {
  display: inline-block;
  margin-top: 3rem;
  padding: 0.7rem 1.6rem;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-soft);
  transition: all 0.3s ease;
}
.hero__scroll:hover {
  background: rgba(0, 240, 255, 0.09);
  border-color: var(--cyan);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.30);
  text-decoration: none;
}

/* ── SEKTIONER ────────────────────────────────────────────────────────── */

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.section__title span {
  display: inline-block;
  margin-right: 0.7rem;
  font-size: 0.72em;
  color: var(--magenta);
  text-shadow: 0 0 20px rgba(191, 0, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

.section__lede {
  margin: 0 0 3rem;
  max-width: 38rem;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

/* ── PROJEKTKORT ──────────────────────────────────────────────────────── */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.25rem;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(15,10,28,0.95), rgba(10,6,18,0.9));
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s ease;
}
.card:hover {
  border-color: rgba(0, 240, 255, 0.42);
  transform: translateY(-3px);
}

.card--wide { grid-column: span 2; }
@media (max-width: 40rem) { .card--wide { grid-column: span 1; } }

/* Magenta bloom i hjørnet — som på gold sheets'ne */
.card__glow {
  position: absolute;
  top: -55%;
  right: -35%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,0,255,0.30) 0%, transparent 68%);
  pointer-events: none;
}

.card__body { position: relative; padding: 1.75rem 1.6rem; }

.card__tag {
  margin: 0 0 0.7rem;
  font-size: 0.66rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.9;
}

.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.22rem;
  font-weight: 600;
  color: #ffffff;
}

.card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-dim);
}

.card--soon {
  border-style: dashed;
  border-color: rgba(220, 245, 255, 0.14);
  background: transparent;
}
.card--soon h3 { color: var(--ink-faint); }
.card--soon p { color: var(--ink-faint); }

.card__muted {
  margin-top: 0.85rem !important;
  font-size: 0.78rem !important;
  font-style: italic;
  color: rgba(191, 0, 255, 0.7) !important;
}

/* ── MASKINER ─────────────────────────────────────────────────────────── */

.nodes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.node {
  position: relative;
  padding: 1.5rem 1.4rem 1.5rem 1.6rem;
  border-left: 2px solid rgba(0, 240, 255, 0.25);
}

.node__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
  margin-bottom: 1.1rem;
}
.node__dot--core {
  background: var(--magenta);
  box-shadow: 0 0 18px var(--magenta);
  width: 11px; height: 11px;
}
.node__dot--far { opacity: 0.45; }

.node h4 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
}

.node__spec {
  margin: 0 0 0.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  color: var(--cyan-soft);
  opacity: 0.75;
}

.node__role {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.nodes__note {
  margin: 3rem 0 0;
  padding: 1.1rem 1.3rem;
  border-left: 2px solid rgba(191, 0, 255, 0.45);
  background: rgba(191, 0, 255, 0.045);
  border-radius: 0 8px 8px 0;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

/* ── OM ───────────────────────────────────────────────────────────────── */

.wrap--narrow p {
  margin: 0 0 1.4rem;
  font-size: 1.02rem;
  color: var(--ink-dim);
}
.wrap--narrow b { color: var(--ink); font-weight: 600; }

.closing {
  margin-top: 2.5rem !important;
  font-size: 1.12rem !important;
  color: var(--ink) !important;
}
.closing span {
  color: var(--cyan-soft);
  text-shadow: 0 0 22px rgba(0, 240, 255, 0.55);
}

/* ── FOOTER ───────────────────────────────────────────────────────────── */

.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}
.foot__inner { padding: 3rem 1.5rem; text-align: center; }

.foot__brand {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}
.foot__brand span { color: var(--magenta); }

.foot__meta {
  margin: 0 0 1.5rem;
  font-size: 0.86rem;
  color: var(--ink-dim);
}

.foot__note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ink-faint);
  max-width: 30rem;
  margin-inline: auto;
}

/* ── TILGÆNGELIGHED ───────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__video { display: none; }
  .hero {
    background-image: url('hero-poster.jpg');
    background-size: cover;
    background-position: center;
  }
  .card { transition: none; }
  .card:hover { transform: none; }
}

/* Brugere der vil spare data: vis kun poster */
@media (prefers-reduced-data: reduce) {
  .hero__video { display: none; }
  .hero {
    background-image: url('hero-poster.jpg');
    background-size: cover;
    background-position: center;
  }
}
