/* Event Job landing page — nocturnal indigo canvas, brand violet as the accent.
   Design language derived from ultraprompt-homepage; accent anchored on the
   Event Job brand purple (#6731A1), lightened for contrast on the dark background. */

:root {
  --bg: #0a0812;
  --bg-elev: #120e20;
  --surface: #191231;
  --surface-2: #241a3d;
  --line: rgba(160, 104, 224, 0.14);
  --line-strong: rgba(160, 104, 224, 0.32);
  --violet: #a969df;
  --violet-bright: #c79cee;
  --violet-deep: #7c3fc0;
  --glow: rgba(150, 90, 210, 0.3);
  --brand: #6731a1;
  --brand-deep: #3a1c63;
  --indigo: #4a2a9e;
  --orchid: #c65bd6;
  --orchid-glow: rgba(198, 91, 214, 0.26);
  --alert: #e5695f;
  --on-accent: #f7f2ff;
  --ink: #ece7f5;
  --muted: #9a8fae;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------- shared type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--violet-bright));
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.12;
  max-width: 24ch;
  text-wrap: balance;
}

section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

/* gradient hairline — the product's top-bar signature, used as the page's thread */
.problem,
.solution,
.breadth,
.how,
.app-teaser,
.faq {
  position: relative;
}

.problem::before,
.solution::before,
.breadth::before,
.how::before,
.app-teaser::before,
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 104, 224, 0.4), rgba(124, 63, 192, 0.3), transparent);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.85rem 1.6rem;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  color: var(--on-accent);
  background: linear-gradient(158deg, #8b4bd6, var(--indigo));
  box-shadow:
    inset 0 1px 0 rgba(200, 160, 255, 0.32),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 12px 34px rgba(74, 42, 158, 0.42);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(200, 160, 255, 0.5),
    0 1px 0 rgba(0, 0, 0, 0.5),
    0 16px 44px rgba(74, 42, 158, 0.6);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
  border-color: var(--violet);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.1rem;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 8, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-head::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 104, 224, 0.5), rgba(124, 63, 192, 0.4), transparent);
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  filter: drop-shadow(0 0 14px rgba(160, 104, 224, 0.28));
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.24rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

.wordmark .wm-dot {
  color: var(--violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links .btn-primary {
  color: var(--on-accent);
}

.nav-lang {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}

.burger-bar {
  width: 18px;
  height: 2px;
  background: var(--violet);
}

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

.hero {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
}

.hero .eyebrow {
  justify-content: center;
}

.hero .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet));
}

.hero h1 {
  margin-inline: auto;
  max-width: 24ch;
  /* reserve exactly three lines so rotating headlines never shift the content below */
  min-height: 3.2em;
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-wrap: normal;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet);
}

.hero-sub {
  margin: 1.4rem auto 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.microtrust {
  margin: 1rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* hero stage: screenshot + floating company switcher */

.stage {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.stage::before {
  content: '';
  position: absolute;
  inset: auto -10% -12% -10%;
  height: 55%;
  background: radial-gradient(55% 90% at 50% 100%, var(--glow), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.browser {
  position: relative;
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid rgba(160, 104, 224, 0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(199, 156, 238, 0.12) inset,
    0 30px 90px rgba(0, 0, 0, 0.6);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #14101f;
  border-bottom: 1px solid rgba(160, 104, 224, 0.12);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-ember { background: var(--alert); }
.dot-gold { background: var(--violet); }
.dot-dim { background: #33304a; }

.browser-url {
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: #0d0a17;
  border: 1px solid rgba(160, 104, 224, 0.1);
  border-radius: 6px;
  padding: 3px 16px;
}

.browser img {
  display: block;
  width: 100%;
}

.switcher {
  position: absolute;
  top: 52px;
  right: -26px;
  width: 272px;
  padding: 0.65rem;
  text-align: left;
  background: rgba(15, 17, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(160, 104, 224, 0.08);
}

.switcher-label {
  margin: 0.2rem 0 0.5rem;
  padding-inline: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.co {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.co-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--violet);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: all 0.35s ease;
}

.co-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.co-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.co-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.co-check {
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--violet);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.co.active {
  background: var(--surface-2);
  border-color: rgba(160, 104, 224, 0.35);
  box-shadow: inset 2px 0 0 var(--violet);
}

.co.active .co-avatar {
  color: var(--on-accent);
  background: linear-gradient(158deg, #8b4bd6, var(--indigo));
  border-color: transparent;
}

.co.active .co-check {
  opacity: 1;
}

/* ---------- problem: the ledger ---------- */

.problem h2 {
  margin-bottom: 2.5rem;
}

.ledger {
  border-top: 1px solid var(--line);
}

.entry {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 1.5rem 2rem;
  align-items: baseline;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.entry-no {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--violet);
}

.entry-no::before {
  content: '№ ';
  color: var(--muted);
}

.entry-body h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.entry-body p {
  margin: 0.5rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.97rem;
}

.entry-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--alert);
  white-space: nowrap;
}

/* ---------- solution: feature rows ---------- */

.solution .lead {
  margin: 1.2rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.feature-flip .feature-text {
  order: 2;
}

.kicker {
  margin: 0 0 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
}

.feature-text h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  max-width: 20ch;
}

.feature-text p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 48ch;
}

.browser-mini .browser-bar {
  padding: 7px 12px;
}

.browser-mini {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- breadth: beyond invoices ---------- */

.breadth-head {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.breadth .lead {
  margin: 1.2rem 0 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.breadth-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2.5rem;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
}

.breadth-cell {
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
}

.breadth-cell h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.breadth-cell p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 34ch;
}

/* ---------- metrics ---------- */

.metrics {
  background: linear-gradient(180deg, #100c1c, #0a0812);
  border-block: 1px solid var(--line);
}

.metrics h2 {
  margin-bottom: 2.5rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.metric {
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 1px solid var(--line-strong);
}

.metric-figure {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet);
}

.metric-label {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 26ch;
}

/* ---------- how it works ---------- */

.how h2 {
  margin-bottom: 3.4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}

.step-no {
  display: inline-block;
  margin-top: -2.32rem;
  padding-right: 0.8rem;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--violet);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.step p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- app teaser ---------- */

.app-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.app-body {
  margin: 1.2rem 0 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 1rem;
}

.app-platforms {
  margin: 1.6rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.phone {
  position: relative;
  width: 264px;
  justify-self: center;
  padding: 11px;
  border-radius: 46px;
  background: linear-gradient(180deg, #17122a, #0d0a18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* dynamic-island notch, floating over the top of the screen */
.phone-island {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 24px;
  border-radius: 13px;
  background: #05040a;
  z-index: 2;
  pointer-events: none;
}

.phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(199, 156, 238, 0.6), rgba(124, 63, 192, 0.35), rgba(199, 156, 238, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.phone::after {
  content: '';
  position: absolute;
  inset: auto -30% -18% -30%;
  height: 40%;
  background: radial-gradient(50% 80% at 50% 100%, var(--glow), transparent 70%);
  filter: blur(26px);
  pointer-events: none;
  z-index: -1;
}

.phone-screen {
  position: relative;
  min-height: 468px;
  background: #0d0a17;
  border-radius: 36px;
  padding: 0.85rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* status bar: time left, system icons right, island floats in the gap */
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 0.35rem;
  font-family: var(--font-mono);
}

.phone-time {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.phone-sys {
  display: flex;
  align-items: center;
  gap: 4px;
}

.phone-sys .ic-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
}

.phone-sys .ic-dot:nth-child(1) { opacity: 0.5; }
.phone-sys .ic-dot:nth-child(2) { opacity: 0.75; }

.phone-sys .ic-batt {
  position: relative;
  width: 18px;
  height: 9px;
  margin-left: 3px;
  border: 1px solid var(--muted);
  border-radius: 2px;
}

.phone-sys .ic-batt::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  width: 62%;
  border-radius: 1px;
  background: var(--violet);
}

.phone-sys .ic-batt::after {
  content: '';
  position: absolute;
  top: 2.5px;
  right: -2.5px;
  width: 1.5px;
  height: 4px;
  border-radius: 0 1px 1px 0;
  background: var(--muted);
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}

.phone-section {
  margin: 0.2rem 0 -0.1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* home indicator, pinned to the bottom safe area */
.phone-home {
  margin-top: auto;
  align-self: center;
  width: 108px;
  height: 4px;
  border-radius: 2px;
  background: rgba(236, 239, 243, 0.4);
}

.phone-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.phone-kpi {
  padding: 0.9rem 0.85rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.phone-kpi-value {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.45rem;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet);
}

.phone-kpi-label {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.phone-notif {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--ink);
}

.notif-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.notif-ok {
  color: #6fb98a;
  background: rgba(111, 185, 138, 0.12);
}

.notif-gold {
  color: var(--violet);
  background: rgba(160, 104, 224, 0.12);
}

.notif-sent {
  color: var(--muted);
  background: rgba(147, 156, 173, 0.12);
}

.notif-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.notif-txt b {
  font-weight: 600;
}

.notif-txt span {
  font-size: 0.62rem;
  color: var(--muted);
}

/* ---------- pricing ---------- */

.price-card {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.2rem);
  border-radius: 20px;
  background: linear-gradient(180deg, #17122a, #0d0a18);
  text-align: center;
}

.price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(199, 156, 238, 0.65), rgba(124, 63, 192, 0.35), rgba(199, 156, 238, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.price-card .eyebrow {
  justify-content: center;
}

.price-card .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet));
}

.price-card h2 {
  margin-inline: auto;
}

.price {
  margin: 1.8rem 0 0;
}

.price-figure {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 4.4rem);
  line-height: 1;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet);
}

.price-unit {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.includes-label {
  margin: 2.2rem 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 2rem;
  margin: 0 auto;
  padding: 0;
  max-width: 620px;
  list-style: none;
  text-align: left;
}

.includes li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--violet);
}

.risk-line {
  margin: 2.2rem 0 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--violet-bright);
}

/* ---------- faq ---------- */

.faq h2 {
  margin-bottom: 2rem;
}

.faq-list {
  max-width: 800px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--violet);
  flex: none;
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details p {
  margin: 0;
  padding: 0 3rem 1.5rem 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- final cta ---------- */

.final {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.final::before {
  content: '';
  position: absolute;
  inset: auto -20% -50% -20%;
  height: 90%;
  background: radial-gradient(50% 70% at 50% 100%, var(--glow), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.final h2 {
  margin-inline: auto;
  font-size: clamp(2rem, 4.5vw, 3rem);
}

.final p {
  margin: 1.2rem auto 0;
  max-width: 56ch;
  color: var(--muted);
}

/* ---------- legal pages (Impressum) ---------- */

.legal {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(4rem, 9vw, 7rem);
  min-height: 55vh;
}

.legal h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.legal-intro {
  /* generous bottom margin: clear break before the first block */
  margin: 1rem 0 3.4rem;
  color: var(--muted);
  max-width: 62ch;
}

.legal-block {
  /* .legal-block is a <section>: cancel the global section padding */
  padding-block: 0;
  margin-top: 2rem;
  max-width: 62ch;
}

.legal-block h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  max-width: none;
}

.legal-block p {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
}

.legal-block ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-block a {
  color: var(--violet);
}

.legal-odr {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

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

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}

.foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.foot-tagline {
  margin: 0.7rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 34ch;
}

.foot-links {
  display: flex;
  gap: 1.6rem;
}

.foot-links a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--ink);
}

.foot-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- motion ---------- */

.rise {
  animation: rise 0.85s cubic-bezier(0.2, 0.6, 0.2, 1) both;
  animation-delay: calc(var(--d, 0) * 110ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

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

  .rise {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1240px) {
  .switcher {
    right: 14px;
  }
}

@media (max-width: 960px) {
  .feature,
  .feature-flip {
    grid-template-columns: 1fr;
  }

  .feature-flip .feature-text {
    order: 0;
  }

  .entry {
    grid-template-columns: 48px 1fr;
  }

  .entry-tag {
    grid-column: 2;
    justify-self: start;
  }

  .metric-row,
  .steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .breadth-head {
    grid-template-columns: 1fr;
  }

  .breadth-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }

  .phone {
    margin-top: 1rem;
  }

  .step {
    max-width: 520px;
  }

  .switcher {
    position: static;
    width: auto;
    max-width: 340px;
    margin: 1rem auto 0;
  }
}

@media (max-width: 760px) {
  .nav-burger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.5rem 1.2rem;
    background: rgba(10, 8, 18, 0.97);
    border-bottom: 1px solid var(--line-strong);
    text-align: left;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0;
    font-size: 1rem;
  }

  .nav-links .btn-primary {
    margin-top: 0.7rem;
    text-align: center;
  }

  .includes {
    grid-template-columns: 1fr;
  }

  .breadth-grid {
    grid-template-columns: 1fr;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .foot-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   Event Job additions: hero glow, feature proof-points,
   pricing tiers, two-audience contact, 4-up grids.
   ============================================================ */

/* nocturnal glow behind the hero headline (ultraprompt signature) */
.hero::before {
  content: '';
  position: absolute;
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  height: 460px;
  background: radial-gradient(ellipse at center, var(--orchid-glow), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* feature proof-points (detail features embedded as evidence) */
.feature-points {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: 46ch;
}

.feature-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.feature-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.02em;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--violet);
}

/* metrics + steps are 4-up on this site */
.metric-row {
  grid-template-columns: repeat(4, 1fr);
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

/* ---------- pricing tiers (non-dominant) ---------- */
.pricing .lead {
  margin: 1.2rem 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.tier-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
}

.tier {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.4rem 1.2rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tier:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.tier-name {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
}

.tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1;
}

.tier-unit {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: 0.25rem;
}

.tier-capacity {
  font-size: 0.86rem;
  color: var(--muted);
}

.tier-footnote {
  margin: 1.6rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.pricing .cta-row {
  justify-content: flex-start;
  margin-top: 2rem;
}

/* ---------- contact: two audiences ---------- */
.contact {
  position: relative;
}

.contact .lead {
  margin: 1.2rem 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

.contact-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-card .kicker {
  margin-bottom: 0.6rem;
}

.contact-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact-body {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-mitarbeiter {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.contact-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.contact-points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--ink);
}

.contact-points li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  color: var(--violet);
}

.contact-form {
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(160, 104, 224, 0.18);
}

.contact-form .btn-primary {
  justify-self: start;
  margin-top: 0.2rem;
}

.contact-card > .btn-primary {
  margin-top: 1.4rem;
}

.contact-alt {
  margin: 1.2rem 0 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-alt a {
  color: var(--violet);
}

/* ---------- responsive: new components ---------- */
@media (max-width: 960px) {
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .metric-row {
    grid-template-columns: 1fr;
  }

  .tier-row {
    grid-template-columns: 1fr;
  }
}

/* rotating hero headline: fade between catchphrases (each is exactly 3 lines) */
.hero-rot {
  display: block;
  text-align: center;
  transition: opacity 0.32s ease;
}

/* metrics reference strip (marquee events) */
.metric-references {
  margin: 2.2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  max-width: 76ch;
}

/* contact note (e.g. the applicant routing model) */
.contact-note {
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--violet);
  border-radius: 0 8px 8px 0;
  background: rgba(160, 104, 224, 0.08);
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ============================================================
   Rendered product mockups (in place of screenshot images)
   ============================================================ */
.shot {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(160deg, #171132, #0c0917);
}
.shot-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- context-aware flow diagrams (feature rows) ---- */
.ediag {
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface), var(--bg-elev));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ediag-steps {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
}
.estep {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.7rem 0.6rem;
  border-radius: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.estep-n {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--violet-bright);
  border: 1px solid var(--line-strong);
}
.estep-ic {
  font-size: 0.95rem;
  line-height: 1;
  color: #6fb98a;
}
.estep-t {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.estep-s {
  font-size: 0.63rem;
  color: var(--muted);
}
.estep-key {
  border-color: var(--violet);
  background: linear-gradient(160deg, var(--surface-2), var(--bg-elev));
  box-shadow: 0 0 0 1px var(--violet), 0 10px 26px rgba(124, 63, 192, 0.3);
}
.estep-key .estep-n {
  color: var(--on-accent);
  background: linear-gradient(158deg, #8b4bd6, var(--indigo));
  border-color: transparent;
}
.estep-ok {
  border-color: rgba(111, 185, 138, 0.4);
}
.earr {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  color: var(--violet);
}
.earr b {
  font-size: 1.2rem;
  line-height: 1;
}
.earr i {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-style: normal;
  color: var(--muted);
  white-space: nowrap;
}
.ediag-out {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  background: rgba(111, 185, 138, 0.1);
  border: 1px solid rgba(111, 185, 138, 0.3);
  color: #8fe0b0;
  font-weight: 700;
  font-size: 0.82rem;
}
.eout-ic {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(111, 185, 138, 0.2);
  font-size: 0.7rem;
}
.ediag-branch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
}
.ebr-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  padding: 0.16rem 0.45rem;
  border-radius: 99px;
  color: #e6b06a;
  background: rgba(229, 150, 90, 0.14);
}
.ebr-arr {
  color: var(--violet);
}
.ebr-step {
  color: var(--ink);
}
.ebr-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
}
@media (max-width: 560px) {
  .ediag-steps {
    flex-direction: column;
  }
  .earr b {
    display: inline-block;
    transform: rotate(90deg);
  }
  .ebr-note {
    margin-left: 0;
    width: 100%;
  }
}

/* ============================================================
   Distinct feature visualizations (Die Plattform section)
   ============================================================ */
.dia {
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface), var(--bg-elev));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- ELDA: compliance seal --- */
.dia-seal {
  gap: 0.9rem;
}
.seal-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.seal-badge {
  flex: none;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: #8fe0b0;
  background: radial-gradient(circle at 50% 38%, rgba(111, 185, 138, 0.2), rgba(111, 185, 138, 0.05));
  border: 2px solid rgba(111, 185, 138, 0.55);
  box-shadow: 0 0 0 4px rgba(111, 185, 138, 0.08), inset 0 0 0 4px rgba(111, 185, 138, 0.12);
  transform: rotate(-7deg);
}
.seal-elda {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  opacity: 0.85;
}
.seal-check {
  font-size: 2.6rem;
  line-height: 1;
}
.seal-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.seal-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
}
.seal-fact b {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}
.seal-fact span {
  font-size: 0.68rem;
  color: var(--muted);
}
.seal-out {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(111, 185, 138, 0.1);
  border: 1px solid rgba(111, 185, 138, 0.3);
  color: #8fe0b0;
  font-weight: 700;
  font-size: 0.8rem;
}
.seal-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.66rem;
  color: var(--muted);
}

/* --- Behörde: QR scan reveal --- */
.dia-scan {
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
}
.scan-left {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.qr {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.qr:hover,
.qr:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(124, 63, 192, 0.4);
}
.qr img {
  display: block;
  width: 100%;
  height: 100%;
}
.scan-cap {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: var(--muted);
  text-align: center;
  max-width: 15ch;
}
.scan-arrow {
  flex: none;
  color: var(--violet);
  font-size: 1.4rem;
}
.scan-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.scan-h {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.15rem;
}
.scan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 0.68rem;
}
.scan-item > span {
  color: var(--ink);
}
.sv-ok {
  color: #8fe0b0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
}
.sv-mut {
  color: var(--violet-bright);
  font-family: var(--font-mono);
  font-size: 0.6rem;
}

/* --- Partner: hub & spoke --- */
.dia-hub {
  gap: 0.9rem;
}
.hub-row {
  display: flex;
  align-items: center;
}
.hub-center {
  position: relative;
  flex: none;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: linear-gradient(158deg, var(--surface-2), var(--bg-elev));
  border: 1px solid var(--violet);
  box-shadow: 0 0 0 1px var(--violet), 0 10px 26px rgba(124, 63, 192, 0.28);
}
.hub-center::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--line-strong);
}
.hub-center b {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
}
.hub-center span {
  font-size: 0.62rem;
  color: var(--muted);
}
.hub-nodes {
  flex: 1;
  position: relative;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hub-nodes::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: var(--line-strong);
}
.hub-node {
  position: relative;
  padding: 0.5rem 0.7rem;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.hub-node::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--line-strong);
}
.hub-node b {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}
.hub-node span {
  font-size: 0.6rem;
  color: var(--muted);
}
.hub-pool {
  border-color: rgba(111, 185, 138, 0.35);
  background: rgba(111, 185, 138, 0.08);
}
.hub-pool b {
  color: #8fe0b0;
}
.hub-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  background: rgba(160, 104, 224, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--violet-bright);
  font-size: 0.72rem;
  font-weight: 600;
}

/* --- Disposition: drag -> push --- */
.dia-dispo {
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
}
.dispo-source {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.dispo-tag {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.dispo-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--violet);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  transform: rotate(-2deg);
}
.dispo-grip {
  flex: none;
  width: 8px;
  height: 16px;
  background-image: radial-gradient(var(--muted) 1px, transparent 1.2px);
  background-size: 4px 5px;
  opacity: 0.7;
}
.dispo-cardtext b {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.dispo-cardtext span {
  font-size: 0.6rem;
  color: var(--muted);
}
.dispo-bolt {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dispo-bolt b {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--violet-bright), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet-bright);
}
.dispo-bolt span {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: var(--muted);
}
.dispo-push {
  flex: 1.3;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 26px rgba(124, 63, 192, 0.2);
}
.dispo-napp {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--muted);
}
.dispo-napp i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
}
.dispo-push > b {
  display: block;
  margin: 0.2rem 0 0.1rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
}
.dispo-nsub {
  font-size: 0.6rem;
  color: var(--muted);
}
.dispo-btns {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.dispo-btns span {
  flex: 1;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.32rem;
  border-radius: 7px;
}
.dispo-btns .acc {
  color: var(--on-accent);
  background: linear-gradient(158deg, #6fb98a, #4a8f68);
}
.dispo-btns .dec {
  color: var(--muted);
  border: 1px solid var(--line-strong);
}

@media (max-width: 560px) {
  .dia-scan,
  .dia-dispo {
    flex-direction: column;
    align-items: stretch;
  }
  .scan-arrow {
    transform: rotate(90deg);
    align-self: center;
  }
  .dispo-bolt {
    flex-direction: row;
    gap: 0.4rem;
  }
  .hub-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
  }
  .hub-center::after {
    display: none;
  }
  .hub-nodes {
    padding-left: 0;
  }
  .hub-nodes::before,
  .hub-node::before {
    display: none;
  }
}

/* ---- lifecycle stepper (breadth / whole flow) ---- */
.lcycle {
  padding: 1.7rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, var(--surface), var(--bg-elev));
}
.lcycle-track {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.lcycle-track::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet), var(--orchid));
  opacity: 0.55;
}
.lstep {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0 0.2rem;
}
.lstep-dot {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--on-accent);
  background: linear-gradient(158deg, #8b4bd6, var(--indigo));
  box-shadow: 0 0 0 4px var(--bg-elev);
  z-index: 1;
}
.lstep-end .lstep-dot {
  background: linear-gradient(158deg, #6fb98a, #4a8f68);
}
.lstep-t {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.lstep-s {
  font-size: 0.58rem;
  color: var(--muted);
  max-width: 13ch;
}
@media (max-width: 560px) {
  .lcycle-track {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
  .lcycle-track::before {
    top: 4px;
    bottom: 4px;
    left: 14px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .lstep {
    display: grid;
    grid-template-columns: 29px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.6rem;
    align-items: center;
    text-align: left;
    padding: 0;
  }
  .lstep-dot {
    grid-row: 1 / 3;
  }
  .lstep-t {
    grid-column: 2;
    align-self: end;
  }
  .lstep-s {
    grid-column: 2;
    align-self: start;
    max-width: none;
  }
}

.mock-scale {
  position: relative;
}
.mock {
  width: 100%;
  display: flex;
  font-family: var(--font-body);
  color: var(--ink);
  text-align: left;
}

.mock-side {
  flex: 0 0 21%;
  max-width: 160px;
  padding: 0.7rem 0.6rem;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(20, 14, 40, 0.5);
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  color: var(--ink);
}
.mock-brand .mdot {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: linear-gradient(160deg, #c79cee, #7c3fc0);
}
.mnav {
  font-size: 0.64rem;
  color: var(--muted);
  padding: 0.28rem 0.4rem;
  border-radius: 6px;
}
.mnav.on {
  color: var(--ink);
  background: rgba(160, 104, 224, 0.16);
  box-shadow: inset 2px 0 0 var(--violet);
}

.mock-main {
  flex: 1 1 auto;
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}
.mock-solo .mock-main {
  max-width: 460px;
  margin-inline: auto;
  padding: 1rem 1.1rem;
}
.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}
.mtitle {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}
.msub {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 0.12rem;
}
.mlive {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  padding: 0.2rem 0.5rem;
  white-space: nowrap;
}
.mlive i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 6px var(--violet);
}
.mlive-ok {
  color: #8fe0b0;
  border-color: rgba(111, 185, 138, 0.4);
}
.mlive-ok i {
  background: #6fb98a;
  box-shadow: 0 0 6px #6fb98a;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
}
.mock-main .mock-kpis:has(.mkpi:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
}
.mkpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem 0.5rem;
}
.mkpi b {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.mkpi span {
  display: block;
  font-size: 0.54rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.mkpi-ok b {
  color: #8fe0b0;
}

.mock-rows {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}
.mrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.36rem 0.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.64rem;
}
.mrow-plain {
  background: transparent;
  border: none;
  padding: 0;
}
.mrow-pos {
  flex: 1 1 auto;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mrow-who {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}
.mrow-val {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
}
.mrow-tag {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.1rem 0.3rem;
}
.mav {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--violet-bright);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.mpill {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  padding: 0.14rem 0.42rem;
  border-radius: 99px;
  white-space: nowrap;
}
.mpill-ok {
  color: #8fe0b0;
  background: rgba(111, 185, 138, 0.14);
}
.mpill-warn {
  color: #e6b06a;
  background: rgba(229, 150, 90, 0.14);
}
.mpill-info {
  color: var(--violet-bright);
  background: rgba(160, 104, 224, 0.16);
}

.mock-note-box {
  margin-top: 0.1rem;
  padding: 0.5rem 0.55rem;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mnb-title {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
.mbtn {
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.58rem;
  color: var(--on-accent);
  background: linear-gradient(158deg, #8b4bd6, var(--indigo));
  border-radius: 6px;
  padding: 0.24rem 0.6rem;
}
.mchip {
  flex: none;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: var(--violet-bright);
  background: rgba(160, 104, 224, 0.14);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 0.16rem 0.45rem;
}
.mchip-own {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--line);
}
.mchip-pool {
  color: #8fe0b0;
  background: rgba(111, 185, 138, 0.12);
  border-color: rgba(111, 185, 138, 0.35);
}
.mbar-wrap {
  margin-top: auto;
}
.mbar-label {
  display: block;
  font-size: 0.54rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.mbar {
  height: 7px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.mbar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--orchid));
}

.mperson {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.1rem 0.2rem;
}
.mperson .mav {
  width: 34px;
  height: 34px;
  font-size: 0.72rem;
  border-radius: 9px;
}
.mp-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
}
.mp-role {
  display: block;
  font-size: 0.6rem;
  color: var(--muted);
}

.mlanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.mlane {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.42rem;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}
.mlane-h {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.mslot {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  font-size: 0.58rem;
  padding: 0.3rem 0.34rem;
  border-radius: 6px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
}
.mslot .mpill {
  margin-left: auto;
}
.mslot-drop {
  justify-content: center;
  color: var(--muted);
  border-style: dashed;
  border-color: var(--line-strong);
  background: transparent;
}
.mslot-drag {
  border-color: var(--violet);
  box-shadow: 0 6px 16px rgba(124, 63, 192, 0.4);
  transform: translateY(-1px);
}

/* sidebar brand ".at" accent */
.mock-brand b {
  color: var(--violet);
  font-weight: 800;
}

/* roster tab bar */
.mtabs {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.mtab {
  font-size: 0.6rem;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 0.4rem;
}
.mtab.on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--violet);
}

/* roster rows: ARBEITSBEREICH / POSITION / VOLLSTÄNDIGKEIT */
.mock-roster {
  gap: 0;
  padding-top: 0.7rem;
}
.rrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.34rem 0.15rem;
  font-size: 0.62rem;
  border-bottom: 1px solid var(--line);
}
.rname {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.rzeit {
  flex: 0 0 92px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  color: var(--muted);
  text-align: right;
}
.rdz {
  flex: 0 0 44px;
  font-family: var(--font-mono);
  font-size: 0.53rem;
  color: var(--muted);
  text-align: right;
}
.rvh {
  flex: 0 0 86px;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
}
.rhead {
  border: none;
}
.rhead .rname {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.rrow-event {
  background: rgba(160, 104, 224, 0.08);
  border-radius: 6px;
  border-bottom: 1px solid var(--line-strong);
}
.rrow-event .rname {
  font-weight: 700;
}
.rrow-area {
  border-left: 2px solid var(--violet);
  padding-left: 0.4rem;
}
.rrow-area .rname {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.05em;
  color: var(--violet-bright);
  font-weight: 600;
}
.rrow-pos .rname {
  padding-left: 0.5rem;
  font-weight: 600;
}
.rno {
  font-family: var(--font-mono);
  color: var(--muted);
  font-weight: 400;
  margin-right: 0.15rem;
}
.rrow-staff .rname {
  padding-left: 0.5rem;
}
.rbadge {
  font-family: var(--font-mono);
  font-size: 0.46rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8fe0b0;
  background: rgba(111, 185, 138, 0.16);
  border-radius: 4px;
  padding: 0.08rem 0.3rem;
}
.mvoll {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}
.mvbar {
  width: 34px;
  height: 5px;
  border-radius: 3px;
  background: #2a2440;
  overflow: hidden;
  flex: none;
}
.mvbar i {
  display: block;
  height: 100%;
}
.mvbar-ok {
  background: #6fb98a;
}
.mvbar-warn {
  background: #e6b06a;
}
.mvoll b {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  font-weight: 600;
}
.mv-ok {
  color: #8fe0b0;
}
.mv-warn {
  color: #e6b06a;
}

/* right Mitarbeiter panel */
.rpanel {
  flex: 0 0 25%;
  max-width: 262px;
  padding: 0.7rem;
  border-left: 1px solid var(--line);
  background: rgba(20, 14, 40, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}
.rpanel-tabs {
  display: flex;
  gap: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line);
}
.rpanel-tabs span {
  font-size: 0.6rem;
  color: var(--muted);
  padding-bottom: 0.3rem;
}
.rpanel-tabs .on {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--violet);
}
.rpanel-count {
  margin: 0.15rem 0 0.1rem;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ruser {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.26rem 0;
}
.ruser-b {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ruser-n {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ruser-r {
  font-size: 0.5rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ruser-s {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: #8fe0b0;
}

@media (max-width: 700px) {
  .mock-side {
    display: none;
  }
  .rpanel {
    display: none;
  }
  .rzeit {
    display: none;
  }
  .mlanes {
    grid-template-columns: 1fr;
  }
}
