/* ============================================================
   INVOD — Design System
   Clean & serious B2B. Light. Brand violet #360277.
   Geometric type (Jost). Abstract V / lightning motifs.
   ============================================================ */

/* Jost — self-hosted (cyrillic, latin-ext, latin) */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/jost-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/jost-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/jost-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --violet:        #360277;
  --violet-700:    #2a0260;
  --violet-800:    #1f0148;
  --violet-500:    #5a2bb0;
  --violet-300:    #b9a6e2;
  --violet-100:    #e7defa;
  --violet-50:     #f4f0fc;

  /* Neutrals */
  --ink:           #15101f;
  --ink-soft:      #4a4458;
  --ink-faint:     #8a8497;
  --line:          #ece8f3;
  --line-strong:   #ddd6ea;
  --bg:            #ffffff;
  --bg-soft:       #f7f5fb;
  --bg-violet:     #f4f0fc;

  /* Type */
  --font: 'Jost', system-ui, -apple-system, sans-serif;

  --fs-display: clamp(2.9rem, 1.6rem + 4.6vw, 5.2rem);
  --fs-h1:      clamp(2.3rem, 1.5rem + 2.9vw, 3.6rem);
  --fs-h2:      clamp(1.85rem, 1.3rem + 1.9vw, 2.7rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 0.7vw, 1.55rem);
  --fs-lead:    clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --section:   clamp(4.5rem, 3rem + 6vw, 9rem);

  --shadow-sm: 0 1px 2px rgba(21,16,31,.05), 0 2px 8px rgba(21,16,31,.04);
  --shadow:    0 8px 24px rgba(21,16,31,.07), 0 2px 6px rgba(21,16,31,.04);
  --shadow-lg: 0 24px 60px rgba(54,2,119,.14), 0 6px 18px rgba(21,16,31,.06);
  --shadow-violet: 0 18px 40px rgba(54,2,119,.28);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.display { font-size: var(--fs-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); font-weight: 400; line-height: 1.6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--violet);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--violet); display: inline-block;
}
.eyebrow.center::before { display: none; }

.text-violet { color: var(--violet); }
.muted { color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section); }
.section-sm { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.bg-soft { background: var(--bg-soft); }
.bg-violet-soft { background: var(--bg-violet); }
.relative { position: relative; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .9rem; }
.section-head p { margin-top: 1.1rem; }

.stack-sm > * + * { margin-top: .6rem; }
.grid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--violet); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.6rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease;
  box-shadow: 0 6px 18px rgba(54,2,119,.18);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-violet); background: var(--violet-700); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn-ghost:hover { background: var(--violet-50); color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet-300); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--violet); box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn-light:hover { background: #fff; color: var(--violet-700); }

.btn-sm { padding: .65rem 1.1rem; font-size: .92rem; }

/* ---------- Floating Fernwartung button ---------- */
.fab-fernwartung {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.2rem;
  background: var(--violet);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 8px 28px rgba(54, 2, 119, .35);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s ease;
}

.fab-fernwartung:hover {
  background: var(--violet-700);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(54, 2, 119, .45);
}

.fab-fernwartung:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .fab-fernwartung span {
    display: none;
  }

  .fab-fernwartung {
    padding: .85rem;
    border-radius: 50%;
  }
}
/* ---------- Kontakt page ---------- */
.kontakt-grid {
  grid-template-columns: 1fr 1.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.kontakt-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  height: 480px;
}

@media (max-width: 860px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-map {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .kontakt-map {
    height: 240px;
    border-radius: 14px;
  }
}
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--violet);
}
.link-arrow .arrow { transition: transform .25s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(21,16,31,.02), var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand .mark { width: 30px; height: auto; }
.brand .invod-logo { height: 25px; width: auto; color: var(--ink); display: block; transition: color .2s ease; }
.brand:hover .invod-logo { color: var(--violet); }
.brand .wordmark {
  font-weight: 700; font-size: 1.45rem; letter-spacing: .06em; color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .85rem; border-radius: 8px;
  font-weight: 500; font-size: .98rem; color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--violet); background: var(--violet-50); }
.nav-link .chev { width: 11px; transition: transform .25s var(--ease); }
.has-dropdown:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 320px; padding: .7rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .8rem .85rem; border-radius: 10px; transition: background .18s ease;
}
.dropdown a:hover { background: var(--violet-50); }
.dropdown .d-ico { flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--violet-50); color: var(--violet); display: grid; place-items: center; }
.dropdown .d-ico svg { width: 20px; height: 20px; }
.dropdown .d-title { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.dropdown .d-sub { display: block; font-size: .85rem; color: var(--ink-faint); line-height: 1.4; margin-top: .1rem; }

.nav-cta { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 9px; align-items: center; justify-content: center; }
.nav-toggle:hover { background: var(--violet-50); }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 8vw, 8rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { margin-top: 1.4rem; }
.hero .lead { margin-top: 1.5rem; max-width: 33ch; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-trust { margin-top: 2.6rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; color: var(--ink-faint); font-size: .9rem; }
.hero-trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--violet-300); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 1.6vw, 2.4rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--violet-100); }

.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.svc-card .ico { width: 58px; height: 58px; border-radius: 14px; background: var(--violet-50); color: var(--violet); display: grid; place-items: center; transition: background .3s ease, color .3s ease; }
.svc-card .ico svg { width: 30px; height: 30px; }
.svc-card:hover .ico { background: var(--violet); color: #fff; }
.svc-card h3 { margin-top: 1.4rem; }
.svc-card p { margin-top: .7rem; color: var(--ink-soft); }
.svc-card .tags { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.svc-card .more { margin-top: auto; padding-top: 1.6rem; }

.chip {
  display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 100px;
  font-size: .82rem; font-weight: 500; color: var(--violet-700); background: var(--violet-50);
  border: 1px solid var(--violet-100);
}

/* Feature/icon row */
.feature { text-align: left; }
.feature .ico { width: 50px; height: 50px; border-radius: 12px; background: var(--violet-50); color: var(--violet); display: grid; place-items: center; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { margin-top: 1.1rem; font-size: 1.2rem; }
.feature p { margin-top: .55rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); }
.stat .num { font-size: clamp(2.4rem, 1.5rem + 2.6vw, 3.4rem); font-weight: 700; letter-spacing: -.04em; color: var(--violet); line-height: 1; }
.stat .lbl { margin-top: .6rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); counter-reset: step; }
.step { position: relative; }
.step .n { font-size: 1rem; font-weight: 700; color: var(--violet); width: 44px; height: 44px; border-radius: 11px; border: 1.5px solid var(--violet-100); display: grid; place-items: center; background: var(--violet-50); }
.step h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.step p { margin-top: .5rem; color: var(--ink-soft); font-size: .96rem; }

/* ---------- Logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-wall .cell { background: #fff; display: grid; place-items: center; padding: clamp(1.4rem, 3vw, 2.4rem); transition: background .3s ease; }
.logo-wall .cell:hover { background: var(--violet-50); }
.logo-wall .logo-text { font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; color: var(--ink-faint); transition: color .3s ease; }
.logo-wall .cell:hover .logo-text { color: var(--violet); }

/* ---------- Testimonial ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); position: relative; }
.quote-card .qmark { font-size: 4rem; line-height: 0.6; color: var(--violet-100); font-weight: 800; }
.quote-card blockquote { font-size: 1.15rem; line-height: 1.55; color: var(--ink); margin-top: .6rem; font-weight: 500; letter-spacing: -.01em; }
.quote-card .who { margin-top: 1.6rem; display: flex; align-items: center; gap: .9rem; }
.quote-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote-card .who .name { font-weight: 600; }
.quote-card .who .role { font-size: .88rem; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--violet); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.6rem, 1.5rem + 4vw, 5rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 1rem; }
.cta-band .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 5vw, 6rem); background: var(--bg-violet); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb .sep { color: var(--violet-300); }
.page-hero h1 { margin-top: 1.2rem; max-width: 16ch; }
.page-hero .lead { margin-top: 1.2rem; max-width: 56ch; }

/* ---------- Prose (legal/about) ---------- */
.prose { max-width: 760px; color: var(--ink-soft); font-size: 1.05rem; }
.prose h2 { color: var(--ink); margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font-size: 1.6rem; }
.prose h3 { color: var(--ink); margin-top: 2rem; font-size: 1.2rem; }
.prose h4 { color: var(--ink); margin-top: 1.4rem; font-size: 1rem; font-weight: 600; letter-spacing: .01em; }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.prose h3:first-child { margin-top: 0; }
.prose p { margin-top: 1rem; }
.prose ul { margin-top: 1rem; }
.prose ul li { position: relative; padding-left: 1.6rem; margin-top: .55rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; background: var(--violet); border-radius: 2px; }
.prose a { color: var(--violet); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .small { font-size: .92rem; color: var(--ink-faint); }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; text-align: left; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.acc-head .plus { flex: none; width: 26px; height: 26px; position: relative; }
.acc-head .plus::before, .acc-head .plus::after { content: ""; position: absolute; background: var(--violet); border-radius: 2px; transition: transform .3s var(--ease); }
.acc-head .plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.acc-head .plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); }
.acc-item.open .plus::after { transform: translateX(-50%) scaleY(0); }
.acc-body { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.acc-body .inner { padding-bottom: 1.5rem; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-weight: 500; font-size: .92rem; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.field.error input, .field.error textarea { border-color: #d6336c; }
.field .err { font-size: .82rem; color: #d6336c; display: none; }
.field.error .err { display: block; }
.form-note { font-size: .85rem; color: var(--ink-faint); }
.form-success { padding: 1.1rem 1.3rem; border-radius: var(--radius-sm); background: var(--violet-50); border: 1px solid var(--violet-100); color: var(--violet-700); font-weight: 500; display: none; }
.form-success.show { display: block; }

.checkbox { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.checkbox input { width: 20px; height: 20px; flex: none; margin-top: .15rem; accent-color: var(--violet); }

/* ---------- Contact info card ---------- */
.info-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: none; }
.info-row .ico { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--violet-50); color: var(--violet); display: grid; place-items: center; }
.info-row .ico svg { width: 21px; height: 21px; }
.info-row .lbl { font-size: .82rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.info-row .val { font-weight: 500; color: var(--ink); margin-top: .15rem; }
.info-row a.val:hover { color: var(--violet); }

/* ---------- Footer ---------- */
.site-footer { background: var(--violet-800); color: rgba(255,255,255,.7); padding-top: clamp(3.5rem, 2rem + 5vw, 6rem); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); position: relative; z-index: 1; }
.footer-brand .wordmark { color: #fff; font-weight: 700; font-size: 1.4rem; letter-spacing: .06em; }
.footer-brand .invod-logo { height: 28px; width: auto; color: #fff; display: block; }
.footer-brand .brand:hover .invod-logo { color: #fff; }
.footer-brand .mark { width: 28px; }
.footer-brand p { margin-top: 1.1rem; max-width: 30ch; font-size: .96rem; line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul li + li { margin-top: .7rem; }
.footer-col a { font-size: .96rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: clamp(2.5rem, 4vw, 4rem); border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.6rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; position: relative; z-index: 1; }
.footer-bottom .legal-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom .legal-links a:hover { color: #fff; }

/* ---------- Motif graphics ---------- */
/* Diagonal violet sash (lightning) */
.sash {
  position: absolute; pointer-events: none; z-index: 0;
  background: var(--violet);
}
.bolt {
  position: absolute; pointer-events: none; z-index: 0;
  clip-path: polygon(58% 0, 100% 0, 62% 58%, 100% 58%, 30% 100%, 52% 60%, 18% 60%);
}
/* faint big V watermark */
.v-watermark { position: absolute; pointer-events: none; z-index: 0; opacity: .04; }
.v-watermark svg { width: 100%; height: 100%; }

.dotgrid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(var(--violet-100) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; margin-inline: auto; width: 100%; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }
.reveal-all .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 1rem; }
.divider { height: 1px; background: var(--line); border: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 380px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 0; }

  /* Mobile menu panel */
  .mobile-menu {
    position: fixed; inset: 78px 0 0 0; z-index: 99;
    background: #fff; padding: 1.5rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
    transform: translateX(100%); transition: transform .35s var(--ease);
    overflow-y: auto; display: flex; flex-direction: column; gap: .25rem;
  }
  body.menu-open .mobile-menu { transform: translateX(0); }
  body.menu-open { overflow: hidden; }
  .mobile-menu a { padding: .95rem .25rem; font-size: 1.2rem; font-weight: 500; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
  .mobile-menu a.sub { font-size: 1rem; padding-left: 1.2rem; color: var(--ink-soft); font-weight: 400; }
  .mobile-menu .m-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); font-weight: 600; margin-top: 1.3rem; margin-bottom: .3rem; }
  .mobile-menu .btn { margin-top: 1.6rem; }
}
@media (min-width: 761px) { .mobile-menu { display: none; } }

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
