/* Aegis Vitae Landing – Elite Lab Terminal Aesthetic */
:root {
  --bg: #0a0a0c;
  --bg-elevated: #10141c;
  --bg-panel: rgba(16, 22, 32, 0.88);
  --navy: #0d1520;
  --navy-mid: #152235;
  --gold: #d4af37;
  --gold-bright: #ffd54f;
  --gold-dim: rgba(212, 175, 55, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --line-gold: rgba(212, 175, 55, 0.35);
  --text: #f2f0ea;
  --muted: rgba(242, 240, 234, 0.68);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100dvh;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.av-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #111;
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.av-skip:focus { left: 0.75rem; top: 0.75rem; }

/* ── Nav (sticky CTA) ── */
.av-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.82);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.av-nav.is-scrolled {
  background: rgba(8, 10, 14, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.av-nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.av-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-right: auto;
}

.av-nav__mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0 16px var(--gold-dim);
}

.av-nav__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.av-nav__links {
  display: none;
  gap: 1.1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.av-nav__links a:hover { color: var(--text); }

.av-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14120c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px var(--gold-dim);
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.av-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.35);
}

.av-nav__cta--block { width: 100%; margin-top: 0.35rem; }

.av-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.35rem;
  cursor: pointer;
}

.av-nav__toggle span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--text);
}

.av-nav__drawer {
  display: grid;
  gap: 0.85rem;
  padding: 0 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
}

.av-nav__drawer[hidden] { display: none; }

.av-nav__drawer a {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 860px) {
  .av-nav__links { display: flex; }
  .av-nav__toggle { display: none; }
  .av-nav__drawer { display: none !important; }
}

/* ── Buttons ── */
.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.av-btn--gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #14120c;
  box-shadow: 0 10px 28px var(--gold-dim);
}

.av-btn--gold:hover { transform: translateY(-1px); }

.av-btn--ghost {
  background: transparent;
  border-color: var(--line-gold);
  color: var(--text);
}

.av-btn--ghost:hover {
  background: rgba(212, 175, 55, 0.08);
}

/* ── Hero ── */
.av-hero {
  position: relative;
  min-height: min(100dvh, 920px);
  display: grid;
  align-items: center;
  padding: 3.5rem 1.25rem 4rem;
  overflow: hidden;
}

.av-hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(30, 90, 160, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(160deg, #07090e 0%, #0d1520 45%, #0a0a0c 100%);
  z-index: 0;
}

.av-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
  z-index: 0;
}

.av-hero__content,
.av-hero__visual {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin-inline: auto;
}

.av-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
}

.av-hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.av-section__text strong {
  color: var(--text);
  font-weight: 700;
}

.av-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  max-width: 18ch;
  margin-bottom: 0.85rem;
}

.av-hero__lead {
  max-width: 36ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
  margin-bottom: 1.6rem;
}

.av-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.av-hero__visual {
  margin-top: 2.5rem;
}

.av-hero__terminal {
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(21, 34, 53, 0.95), rgba(10, 14, 20, 0.96));
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 420px;
  animation: av-rise 0.9s ease both;
}

.av-hero__terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}

.av-hero__terminal-bar span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.av-hero__terminal-bar span:nth-child(1) { background: #ff5f57; }
.av-hero__terminal-bar span:nth-child(2) { background: #febc2e; }
.av-hero__terminal-bar span:nth-child(3) { background: #28c840; }

.av-hero__terminal-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.av-hero__terminal-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.av-hero__terminal-body > p {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.av-hero__terminal-body strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.av-hero__meter {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 1rem;
}

.av-hero__meter i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: inherit;
}

.av-hero__terminal-body ul {
  list-style: none;
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .av-hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    padding-top: 4.5rem;
  }
  .av-hero__content,
  .av-hero__visual {
    margin-inline: 0;
    max-width: none;
  }
  .av-hero__content { padding-left: max(0px, calc((100vw - var(--max)) / 2)); }
  .av-hero__visual {
    margin-top: 0;
    padding-right: max(0px, calc((100vw - var(--max)) / 2));
    display: flex;
    justify-content: flex-end;
  }
}

@keyframes av-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Sections ── */
.av-section {
  padding: 4.5rem 1.25rem;
  position: relative;
}

.av-section--alt {
  background:
    linear-gradient(180deg, rgba(13, 21, 32, 0.9), rgba(10, 10, 12, 0.96));
  border-block: 1px solid var(--line);
}

.av-section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.av-section__inner--narrow { max-width: 720px; }

.av-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.av-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.av-section__lead,
.av-section__text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
}

.av-section__text { margin-top: 0.35rem; }

/* ── Mechanics (no card clutter – interaction blocks) ── */
.av-mechanics {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .av-mechanics { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.av-mech {
  padding: 1.35rem 1.2rem 1.5rem;
  border-top: 1px solid var(--line-gold);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%);
}

.av-mech__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--gold-bright);
  margin-bottom: 0.85rem;
}

.av-mech__icon svg { width: 100%; height: 100%; }

.av-mech h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.av-mech p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── Karriereplan (Zugpferd) ── */
.av-career {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}

@media (min-width: 720px) {
  .av-career {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

.av-career__step {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 24, 0.55);
}

.av-career__step.is-highlight {
  border-color: rgba(212, 175, 55, 0.5);
  background: linear-gradient(165deg, rgba(47, 79, 104, 0.35), rgba(16, 22, 32, 0.9));
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.12);
}

.av-career__lvl {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.av-career__rate {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}

.av-career__step.is-highlight .av-career__rate {
  color: var(--gold-bright);
}

.av-career__hint {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.av-career__note {
  font-size: 0.8rem;
  color: rgba(242, 240, 234, 0.5);
  line-height: 1.45;
  max-width: 70ch;
  margin-bottom: 0.5rem;
}

.av-convert--tight {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
}

/* ── Video ── */
.av-video {
  margin-top: 1.75rem;
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  border: 1px solid var(--line-gold);
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(30, 90, 160, 0.25), transparent 70%),
    var(--navy);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.av-video__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  z-index: 2;
}

.av-video__play-icon {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: rgba(10, 10, 12, 0.55);
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease, background 0.2s ease;
}

.av-video__play-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.95rem;
  border-color: transparent transparent transparent var(--gold-bright);
}

.av-video__play:hover .av-video__play-icon {
  transform: scale(1.05);
  background: rgba(212, 175, 55, 0.12);
}

.av-video__play-label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.av-video__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #000;
}

.av-video__frame video,
.av-video__frame iframe,
.av-video__player {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #000;
}

.av-video__error {
  display: grid;
  place-content: center;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  color: rgba(242, 240, 234, 0.75);
  gap: 0.5rem;
}

.av-video__error code {
  font-size: 0.75rem;
  color: var(--gold);
}

.av-video__note {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  z-index: 2;
  font-size: 0.72rem;
  color: rgba(242, 240, 234, 0.45);
}

.av-video.is-playing .av-video__play,
.av-video.is-playing .av-video__note { display: none; }

.av-video__note code {
  font-size: 0.68rem;
  color: rgba(212, 175, 55, 0.75);
}

.av-convert {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.av-convert p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

/* ── Footer ── */
.av-footer {
  border-top: 1px solid var(--line);
  background: #07080b;
  padding: 2.5rem 1.25rem 3rem;
}

.av-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.av-footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.av-footer__brand span {
  color: var(--muted);
  font-size: 0.88rem;
}

.av-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
}

.av-footer__links a { color: var(--muted); }
.av-footer__links a:hover { color: var(--gold-bright); }

.av-footer__legal {
  font-size: 0.78rem;
  color: rgba(242, 240, 234, 0.45);
  max-width: 70ch;
  line-height: 1.5;
}

/* ── Motion / reduced preference ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .av-hero__terminal,
  .av-btn,
  .av-nav__cta { animation: none; transition: none; }
}
