/* ══════════════════════════════════════════════
   TECHLIGLOO — style.css
   Fonts:  DM Serif Display · DM Sans (lokal in /fonts/)
   Themes: Light (Creme) · Dark (Deep Navy)
══════════════════════════════════════════════ */

/* ── Lokale Fonts ───────────────────────────────
   Folgende TTF-Dateien ins /fonts/ Verzeichnis legen
   (Download: https://fonts.google.com/specimen/DM+Serif+Display
              https://fonts.google.com/specimen/DM+Sans)
     DMSerifDisplay-Regular.ttf
     DMSerifDisplay-Italic.ttf
     DMSans-Light.ttf     (300)
     DMSans-Regular.ttf   (400)
     DMSans-Medium.ttf    (500)
──────────────────────────────────────────────── */
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/DMSerifDisplay-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Serif Display';
  src: url('../fonts/DMSerifDisplay-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-LightItalic.ttf') format('truetype');
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-MediumItalic.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/DMSans-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ══════════════════════════════════════════════
   TOKENS — Light = Creme · Dark = Deep Navy
══════════════════════════════════════════════ */
:root {
  --bg:        #F4F2ED;
  --bg-alt:    #ECEAE4;
  --bg-card:   #FFFFFF;
  --line:      rgba(0,0,0,.1);
  --line-s:    rgba(0,0,0,.06);
  --t1:        #161610;
  --t2:        #6B6960;
  --t3:        #A8A49C;
  --serif:     'DM Serif Display', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --ease:      cubic-bezier(.16,1,.3,1);
}
[data-theme="dark"] {
  --bg:        #0D0E15;
  --bg-alt:    #13141D;
  --bg-card:   #191A25;
  --line:      rgba(255,255,255,.1);
  --line-s:    rgba(255,255,255,.06);
  --t1:        #EDECEA;
  --t2:        rgba(237,236,234,.5);
  --t3:        rgba(237,236,234,.27);
}

/* ══════════════════════════════════════════════
   BASE
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--t1);
  overflow-x: hidden;
  transition: background .3s, color .3s;
}
a   { text-decoration: none; color: inherit }
img { max-width: 100%; display: block }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 2.5rem }

/* EN removed — DE only */
[data-en] { display: none !important }


/* ══════════════════════════════════════════════
   ACCESSIBILITY — WCAG 2.1 AA
══════════════════════════════════════════════ */

/* Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: .6rem 1.25rem;
  background: var(--t1);
  color: var(--bg);
  font-size: .875rem;
  font-weight: 500;
  border-radius: 0 0 .4rem .4rem;
  text-decoration: none;
  transition: top .15s;
}
.skip-link:focus { top: 0; outline: 3px solid var(--bg); outline-offset: -3px; }

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Global focus-visible */
:focus-visible {
  outline: 2px solid var(--t1);
  outline-offset: 3px;
  border-radius: 3px;
}
.drop-item:focus-visible { outline: none }

/* Buttons & links on dark/mesh backgrounds */
.btn-wh:focus-visible,
.btn-gh:focus-visible { outline-color: #fff; outline-offset: 3px; }
.btn-dk:focus-visible,
.btn-ol:focus-visible { outline-color: var(--t1); }
.nav.on-hero .nav-cta:focus-visible { outline-color: rgba(255,255,255,.9); }

/* Footer links */
.f-link:focus-visible,
.f-bot-link:focus-visible,
.f-mail:focus-visible,
.f-portal-btn:focus-visible { outline-color: rgba(237,236,234,.8); border-radius: 3px; }

/* Interactive controls */
.theme-pill:focus-visible { outline: 2px solid var(--t1); outline-offset: 3px; border-radius: 999px; }
.nav.on-hero .theme-pill:focus-visible { outline-color: rgba(255,255,255,.8); }
.mob-btn:focus-visible { outline: 2px solid var(--t1); outline-offset: 4px; border-radius: 3px; }
.nav.on-hero .mob-btn:focus-visible { outline-color: rgba(255,255,255,.8); }

/* Service rows */
a.srv-row:focus-visible {
  outline: 2px solid var(--t1);
  outline-offset: -2px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-mesh { animation: none; }
  .hero-left, .hero-strip { animation: none; }
}

/* High-contrast mode */
@media (forced-colors: active) {
  .nav-cta, .btn-dk, .btn-wh { forced-color-adjust: none; }
  .chip { border: 1px solid ButtonText; }
  .srv-row { border-color: ButtonText; }
}

/* Footer bottom links */
.f-bot-links { display: flex; gap: 1.25rem; }
.f-bot-link { font-size: .75rem; color: rgba(237,236,234,.25); transition: color .15s; }
.f-bot-link:hover { color: rgba(237,236,234,.5); }


/* ══════════════════════════════════════════════
   NAV
══════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
  padding: 1.25rem 0;
}
/* Transparent over mesh hero */
.nav.on-hero   { background: transparent }
/* Solid when scrolled */
.nav.on-page  {
  background: rgba(244,242,237,.93);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-color: var(--line);
  padding: .75rem 0;
}
[data-theme="dark"] .nav.on-page { background: rgba(13,14,21,.94) }

.nav-inner {
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-logo {
  font-family: var(--sans);
  font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  margin-right: auto; flex-shrink: 0;
  transition: color .2s;
  display: flex; align-items: center;
}

/* SVG Logo */
.nav-logo-img {
  height: 20px;
  width: auto;
  display: block;
  transition: filter .3s ease;
  /* Black SVG → invert to white over hero mesh */
  filter: brightness(0) invert(1);
}

/* Scrolled / solid nav → original black */
.nav.on-page .nav-logo-img {
  filter: none;
}

/* Dark mode → always white regardless of scroll */
[data-theme="dark"] .nav-logo-img {
  filter: brightness(0) invert(1) !important;
}

/* Fallback: text logo (if no img) */
.nav.on-hero  .nav-logo { color: rgba(255,255,255,.9) }
.nav.on-page .nav-logo { color: var(--t1) }

.nav-links { display: flex; gap: 1.75rem; align-items: center }
.nav-link  {
  font-size: .9rem; font-weight: 400;
  transition: color .2s;
}
.nav.on-hero  .nav-link { color: rgba(255,255,255,.6) }
.nav.on-hero  .nav-link:hover { color: #fff }
.nav.on-page .nav-link { color: var(--t2) }
.nav.on-page .nav-link:hover { color: var(--t1) }

.nav-right { display: flex; align-items: center; gap: .5rem; flex-shrink: 0 }

/* Language toggle */

.nav.on-hero  
.nav.on-hero  .lang-btn:hover { background: rgba(255,255,255,.14); color: #fff }
.nav.on-page 
.nav.on-page .lang-btn:hover { color: var(--t1); background: var(--bg-alt) }

/* Theme pill */
.theme-pill {
  width: 40px; height: 22px; border-radius: 999px;
  position: relative; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.nav.on-hero  .theme-pill { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2) }
.nav.on-page .theme-pill { background: var(--bg-alt); border: 1px solid var(--line) }
.pill-knob {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; font-size: .5rem; line-height: 16px; text-align: center;
  transition: transform .3s var(--ease);
}
.nav.on-page .pill-knob { background: var(--t1) }
[data-theme="dark"] .nav.on-page .pill-knob { background: var(--t1) }
[data-theme="dark"] .pill-knob { transform: translateX(18px) }

/* Nav CTA */
.nav-cta {
  font-size: .8rem; font-weight: 500;
  padding: .4rem 1rem; border-radius: .35rem;
  transition: all .2s;
}
.nav.on-hero  .nav-cta { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.1) }
.nav.on-hero  .nav-cta:hover { background: rgba(255,255,255,.2) }
.nav.on-page .nav-cta { background: var(--t1); color: var(--bg); border: 1px solid var(--t1) }
.nav.on-page .nav-cta:hover { opacity: .8 }

/* Mobile hamburger */
.mob-btn { display: none; flex-direction: column; gap: 5px; padding: .3rem }
.mob-btn span {
  display: block; width: 20px; height: 1.5px; border-radius: 2px;
  transition: all .25s;
}
.nav.on-hero  .mob-btn span { background: rgba(255,255,255,.8) }
.nav.on-page .mob-btn span { background: var(--t1) }


/* ── Nav Dropdown ────────────────────────── */
.nav-item { position: relative }

.nav-link-wrap {
  display: inline-flex; align-items: center; gap: .28rem; cursor: pointer;
}
.nav-link-wrap svg {
  width: 11px; height: 11px; stroke-width: 2; flex-shrink: 0;
  transition: transform .2s;
}
.nav-item:hover .nav-link-wrap svg,
.nav-item:focus-within .nav-link-wrap svg { transform: rotate(180deg) }

/* Focus states for keyboard navigation */
.nav-link:focus-visible,
.nav-link-wrap:focus-visible {
  outline: 2px solid var(--t1);
  outline-offset: 2px;
  border-radius: 3px;
}
.nav.on-hero .nav-link:focus-visible,
.nav.on-hero .nav-link-wrap:focus-visible {
  outline-color: rgba(255,255,255,.8);
}

.nav-drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  padding: .35rem;
  padding-top: 2rem;
  margin-top: -.2rem;
  box-shadow: 0 12px 36px rgba(0,0,0,.13);
  opacity: 0; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 300;
}
[data-theme="dark"] .nav-drop {
  background: #1E1F2C;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 12px 36px rgba(0,0,0,.5);
}
.nav-item:hover .nav-drop,
.nav-item:focus-within .nav-drop {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}

.nav-drop::before {
  content: ''; position: absolute; top: 1.6rem; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: #FFFFFF;
  border-left: 1px solid rgba(0,0,0,.1);
  border-top: 1px solid rgba(0,0,0,.1);
}
[data-theme="dark"] .nav-drop::before {
  background: #1E1F2C;
  border-color: rgba(255,255,255,.1);
}

.drop-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .5rem .7rem; border-radius: 6px;
  font-size: .8rem; color: #6B6960; font-weight: 300;
  transition: background .14s, color .14s;
  white-space: nowrap;
}
.drop-item:hover,
.drop-item:focus-visible { background: #F4F2ED; color: #161610; outline: none }
[data-theme="dark"] .drop-item       { color: rgba(237,236,234,.5) }
[data-theme="dark"] .drop-item:hover,
[data-theme="dark"] .drop-item:focus-visible { background: rgba(255,255,255,.06); color: #EDECEA }

.drop-n {
  font-size: .58rem; font-weight: 600; letter-spacing: .05em;
  color: #A8A49C; width: 1.5rem; flex-shrink: 0; font-family: var(--sans);
}
[data-theme="dark"] .drop-n { color: rgba(237,236,234,.28) }

/* Simple dropdown items (no numbers) */
.drop-item-simple { gap: .4rem }

/* Dropdown divider */
.drop-divider {
  height: 1px; background: rgba(0,0,0,.08);
  margin: .3rem 0;
}
[data-theme="dark"] .drop-divider { background: rgba(255,255,255,.08) }

/* External link icon */
.drop-item-external { justify-content: space-between }
.external-icon {
  width: 12px; height: 12px; stroke-width: 2;
  opacity: .4; flex-shrink: 0;
}
.drop-item:hover .external-icon { opacity: .7 }

/* On dark hero: dropdown panel stays light/dark themed (always readable) */


/* ══════════════════════════════════════════════
   HERO — full screen mesh, Okio-style layout
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}

/* The mesh gradient background */
.hero-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 12% 65%, rgba(109,40,217,.78) 0%, transparent 52%),
    radial-gradient(ellipse at 84% 12%, rgba(234,88,12,.72)  0%, transparent 46%),
    radial-gradient(ellipse at 54% 92%, rgba(29,78,216,.70)  0%, transparent 50%),
    radial-gradient(ellipse at 24% 4%,  rgba(219,39,119,.60) 0%, transparent 38%),
    radial-gradient(ellipse at 90% 70%, rgba(202,138,4,.55)  0%, transparent 42%),
    radial-gradient(ellipse at 50% 44%, rgba(4,120,87,.42)   0%, transparent 46%),
    #0a0618;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { filter: hue-rotate(0deg) saturate(1) brightness(1) }
  to   { filter: hue-rotate(15deg) saturate(.92) brightness(1.06) }
}

/* Subtle noise grain */
.hero-grain {
  position: absolute; inset: 0; opacity: .03; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Bottom gradient — content readable against mesh */
.hero-veil {
  position: absolute; bottom: 0; left: 0; right: 0; height: 65%;
  background: linear-gradient(to top, rgba(6,2,18,.7) 0%, transparent 100%);
  pointer-events: none;
}

/* Content */
.hero-content {
  position: relative; z-index: 1;
  flex: 1; display: flex; align-items: flex-end;
  padding: 0 0 4rem;
}
.hero-grid {
  display: flex; flex-direction: column;
  gap: 0; width: 100%;
  padding-top: 9rem;
}

/* Left — the big headline */
.hero-left { display: flex; flex-direction: column; gap: 2rem; max-width: 700px }

.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .68rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.hero-tag::before {
  content: ''; width: 20px; height: 1px; background: rgba(255,255,255,.3);
}

.hero-h {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 400; line-height: .98;
  letter-spacing: -.03em; color: #fff;
}
.hero-h em { font-style: italic; color: rgba(255,255,255,.38) }

.hero-body {
  font-size: 1.05rem; color: rgba(255,255,255,.52);
  line-height: 1.8; max-width: 440px; font-weight: 300;
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap }

/* Right — thin stat list */
.hero-right { padding-bottom: .15rem }
.hero-stats  { border-top: 1px solid rgba(255,255,255,.1) }
.hero-stat {
  display: flex; align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.hs-n {
  font-family: var(--serif);
  font-size: 2.2rem; font-weight: 400; line-height: 1;
  color: #fff; letter-spacing: -.03em; flex-shrink: 0;
}
.hs-l {
  font-size: .75rem; font-weight: 300; color: rgba(255,255,255,.38);
  line-height: 1.5; text-align: right;
}

/* Bottom strip */
.hero-strip {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: .85rem 0;
}
.hero-strip-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.hs-links { display: flex; gap: 2.5rem }
.hs-link {
  font-size: .72rem; color: rgba(255,255,255,.35);
  letter-spacing: .02em; transition: color .2s;
}
.hs-link:hover { color: rgba(255,255,255,.7) }
.hs-copy { font-size: .68rem; color: rgba(255,255,255,.2) }


/* ══════════════════════════════════════════════
   SECTION BASES
══════════════════════════════════════════════ */
.s  { padding: 6.5rem 0 }
.sa { padding: 6.5rem 0; background: var(--bg-alt) }
.sc { padding: 6.5rem 0; background: var(--bg-card) }

.s-tag {
  font-size: .65rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--t3); display: block;
  margin-bottom: .9rem;
}
.s-h {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 400; line-height: 1.08;
  letter-spacing: -.025em; color: var(--t1);
}
.s-body {
  font-size: 1rem; color: var(--t2);
  line-height: 1.82; font-weight: 300;
}
.hline { width: 100%; height: 1px; background: var(--line) }


/* ══════════════════════════════════════════════
   NUMBERS STRIP — 3 cols, horizontal lines
══════════════════════════════════════════════ */
.num-row { display: grid; grid-template-columns: repeat(3,1fr) }
.num-col {
  padding: 3rem 2.75rem;
  border-right: 1px solid var(--line);
}
.num-col:last-child { border-right: none }
.num-n {
  font-family: var(--serif);
  font-size: 4rem; font-weight: 400; line-height: 1;
  letter-spacing: -.04em; color: var(--t1);
  margin-bottom: .75rem;
}
.num-n sup { font-size: 1.6rem; vertical-align: super; font-weight: 400 }
.num-t { font-size: .95rem; color: var(--t2); line-height: 1.72; font-weight: 300 }


/* ══════════════════════════════════════════════
   SERVICES — Okio-style numbered list
   Full-width rows, separated by hairlines
══════════════════════════════════════════════ */
.srv-head {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 4rem; align-items: flex-end;
  margin-bottom: 3.5rem;
}

.srv-list { /* no wrapper styling — just lines */ }

.srv-row {
  display: grid;
  grid-template-columns: 3.5rem 1.8fr 1.6fr 2.5rem;
  gap: 2.5rem; align-items: start;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  cursor: default; position: relative;
  transition: background .2s;
}
.srv-row::before {
  content: ''; position: absolute;
  left: -2.5rem; right: -2.5rem; top: 0; bottom: 0;
  background: var(--bg-alt); opacity: 0;
  transition: opacity .3s;
}
.srv-row:hover::before { opacity: 1 }
.srv-row > * { position: relative; z-index: 1 }
.srv-list .srv-row:last-child { border-bottom: 1px solid var(--line) }

.srv-n {
  font-size: .65rem; font-weight: 500; letter-spacing: .08em;
  color: var(--t3); padding-top: .3rem;
}
.srv-title {
  display: flex; flex-direction: column; gap: .5rem;
}
.srv-name {
  font-family: var(--serif);
  font-size: 1.35rem; font-weight: 400;
  letter-spacing: -.015em; color: var(--t1); line-height: 1.15;
}
.srv-desc {
  font-size: .95rem; color: var(--t2);
  line-height: 1.72; font-weight: 300; max-width: 380px;
}
.srv-chips { display: flex; flex-wrap: wrap; gap: .3rem; padding-top: .15rem }
.chip {
  padding: .18rem .55rem;
  border: 1px solid var(--line);
  border-radius: .25rem;
  font-size: .64rem; font-weight: 400; color: var(--t3); letter-spacing: .02em;
}
.srv-icon {
  width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-top: .2rem; flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
.srv-row:hover .srv-icon { border-color: var(--t1); background: var(--t1) }
.srv-icon svg {
  width: 11px; height: 11px; stroke: var(--t3);
  fill: none; stroke-width: 1.5;
  transition: stroke .2s;
}
.srv-row:hover .srv-icon svg { stroke: var(--bg) }


/* ══════════════════════════════════════════════
   PROCESS — 4 cells, hairline grid
══════════════════════════════════════════════ */
.proc-wrap {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: grid; grid-template-columns: repeat(4,1fr);
}
.proc-cell {
  padding: 2.25rem 2rem;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .7rem;
  transition: background .2s;
}
.proc-cell:last-child { border-right: none }
.proc-cell:hover { background: var(--bg-alt) }
.proc-n {
  font-family: var(--serif);
  font-size: 2.5rem; font-weight: 400;
  color: var(--t3); line-height: 1; letter-spacing: -.02em;
}
.proc-t {
  font-size: .9rem; font-weight: 500;
  color: var(--t1); letter-spacing: -.01em;
}
.proc-b {
  font-size: .925rem; color: var(--t2);
  line-height: 1.7; font-weight: 300;
}


/* ══════════════════════════════════════════════
   WHY — two col, very plain
══════════════════════════════════════════════ */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7rem; align-items: start;
}
.why-left { display: flex; flex-direction: column; gap: 2.5rem }
.why-list { display: flex; flex-direction: column }
.why-item {
  display: grid; grid-template-columns: 1.5rem 1fr;
  gap: .75rem; padding: 1.25rem 0;
  border-top: 1px solid var(--line-s);
}
.why-item:last-child { border-bottom: 1px solid var(--line-s) }
.why-num {
  font-size: .65rem; font-weight: 500; letter-spacing: .06em;
  color: var(--t3); padding-top: .15rem;
}
.why-item h4 {
  font-size: .9rem; font-weight: 500; color: var(--t1);
  letter-spacing: -.01em; margin-bottom: .2rem;
}
.why-item p { font-size: .925rem; color: var(--t2); line-height: 1.68; font-weight: 300 }

/* Partner grid */
.partner-box {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.partner-label {
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--line);
  font-size: .62rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--t3);
}
.partner-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: var(--line);
  gap: 1px;
}
.p-cell {
  background: var(--bg-card);
  padding: 1.25rem .75rem;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  transition: background .2s; cursor: default;
}
.p-cell:hover { background: var(--bg-alt) }
.p-em   { font-size: 1.3rem; line-height: 1 }
.p-name {
  font-size: .6rem; font-weight: 500; color: var(--t3);
  letter-spacing: .04em; text-align: center;
}


/* ══════════════════════════════════════════════
   CTA — mesh background, restrained
══════════════════════════════════════════════ */
.cta-section {
  position: relative; overflow: hidden; padding: 8rem 0;
}
.cta-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 18% 62%, rgba(109,40,217,.75) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 18%, rgba(234,88,12,.68)  0%, transparent 46%),
    radial-gradient(ellipse at 56% 86%, rgba(29,78,216,.66)  0%, transparent 50%),
    #080416;
}
.cta-veil {
  position: absolute; inset: 0;
  background: rgba(6,2,14,.3);
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 5rem;
}
.cta-left  { display: flex; flex-direction: column; gap: 1.5rem }
.cta-pre   {
  font-size: .65rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
.cta-h {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400; line-height: 1.02;
  letter-spacing: -.03em; color: #fff;
}
.cta-sub {
  font-size: .925rem; color: rgba(255,255,255,.46);
  line-height: 1.8; font-weight: 300; max-width: 400px;
}
.cta-right {
  display: flex; flex-direction: column; gap: .6rem;
  align-items: flex-end; flex-shrink: 0;
}
.cta-mail {
  font-size: .78rem; color: rgba(255,255,255,.35);
  text-align: right; transition: color .2s;
}
.cta-mail:hover { color: rgba(255,255,255,.65) }


/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .72rem 1.6rem; border-radius: .4rem;
  font-size: .875rem; font-weight: 400; letter-spacing: -.01em;
  font-family: var(--sans); cursor: pointer;
  transition: all .2s;
}
/* On mesh/dark */
.btn-wh { background: #fff; color: #0a0618 }
.btn-wh:hover { opacity: .88; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,.22) }
.btn-gh {
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.btn-gh:hover { background: rgba(255,255,255,.16) }
/* On light bg */
.btn-dk { background: var(--t1); color: var(--bg) }
.btn-dk:hover { opacity: .82; transform: translateY(-1px) }
.btn-ol {
  background: transparent; color: var(--t1);
  border: 1px solid var(--line);
}
.btn-ol:hover { border-color: var(--t1); background: var(--bg-alt) }


/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: #0D0E15;
  border-top: none;
  padding: 4rem 0 2.25rem;
}
.f-top {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.09); margin-bottom: 1.75rem;
}
.f-logo  { font-size: .92rem; font-weight: 500; color: #EDECEA; margin-bottom: .6rem; display: block; letter-spacing: -.01em }
.f-desc  { font-size: .875rem; color: rgba(237,236,234,.45); line-height: 1.75; max-width: 220px; margin-bottom: .9rem; font-weight: 300 }
.f-mail  { font-size: .8rem; color: rgba(237,236,234,.7); font-weight: 400; transition: opacity .2s; display: block }
.f-mail:hover { opacity: .55 }
.f-portal-btn {
  display: inline-block;
  margin-top: 1.5rem; padding: .55rem 1.2rem;
  background: rgba(255,255,255,.1); color: #EDECEA;
  border: 1px solid rgba(255,255,255,.2); border-radius: .35rem;
  font-size: .8rem; font-weight: 500; letter-spacing: -.01em;
  transition: background .2s, border-color .2s;
}
.f-portal-btn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
}
.f-col-h { font-size: .6rem; font-weight: 500; letter-spacing: .11em; text-transform: uppercase; color: rgba(237,236,234,.28); margin-bottom: .85rem }
.f-links { display: flex; flex-direction: column; gap: .5rem }
.f-link  { font-size: .8rem; color: rgba(237,236,234,.45); transition: color .15s; font-weight: 300 }
.f-link:hover { color: rgba(237,236,234,.85) }
.f-bot {
  display: flex; align-items: center; justify-content: space-between;
}
.f-copy   { font-size: .75rem; color: rgba(237,236,234,.25) }
.f-legal  { display: flex; gap: 1.25rem }
.f-legal a { font-size: .75rem; color: rgba(237,236,234,.25); transition: color .15s }
.f-legal a:hover { color: rgba(237,236,234,.5) }


/* Hero entrance — CSS animation, no JS dependency */
.hero-left {
  animation: heroIn .9s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px) }
  to   { opacity: 1; transform: none }
}
.hero-tag  { animation-delay: .05s }
.hero-strip { animation: heroIn .7s .6s cubic-bezier(.16,1,.3,1) both }

/* Scroll reveal — safe by default: elements are VISIBLE without JS.
   JS adds .sr-active to <html> which enables the hide/show system.  */
.sr-active .fi {
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sr-active .fi.v { opacity: 1; transform: none }


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1040px) {
  .f-top { grid-template-columns: 1fr 1fr; gap: 2rem }
  .num-row { grid-template-columns: 1fr 1fr }
  .num-col:nth-child(2) { border-right: none }
  .srv-row { grid-template-columns: 3rem 1fr }
  .srv-chips, .srv-icon { display: none }
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 3rem }
  .proc-wrap { grid-template-columns: 1fr 1fr }
  .proc-cell { border-bottom: 1px solid var(--line) }
  .proc-cell:nth-child(2) { border-right: none }
  .proc-cell:nth-child(3) { border-bottom: none }
  .proc-cell:last-child   { border-right: none; border-bottom: none }
  .cta-inner { flex-direction: column; align-items: flex-start }
  .cta-right { align-items: flex-start }
  .srv-head  { grid-template-columns: 1fr; gap: 1rem }
}
@media (max-width: 640px) {
  .wrap { padding: 0 1.25rem }
  .nav-links, .nav-cta { display: none }
  .mob-btn { display: flex }

  /* ── Mobile overlay ── */
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 999;
    background: rgba(10,6,24,.98); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    overflow-y: auto;
    padding: 5.5rem 2rem 3rem;
  }

  /* Main nav links */
  .nav-links.open .nav-link {
    font-size: 1.75rem; font-family: var(--serif);
    color: rgba(255,255,255,.85);
    padding: .6rem 0;
    display: block; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links.open > *:first-child { border-top: 1px solid rgba(255,255,255,.07) }

  /* IT Solutions item */
  .nav-links.open .nav-item {
    display: flex; flex-direction: column;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .nav-links.open .nav-item .nav-link-wrap {
    font-size: 1.75rem; font-family: var(--serif);
    color: rgba(255,255,255,.85);
    padding: .6rem 0;
    display: flex; align-items: center;
    justify-content: space-between; width: 100%;
  }
  .nav-links.open .nav-item .nav-link-wrap svg {
    width: 18px; height: 18px; color: rgba(255,255,255,.3);
    transform: rotate(180deg); /* always show as open */
  }

  /* Inline sub-list */
  .nav-links.open .nav-drop {
    position: static; opacity: 1; pointer-events: all;
    transform: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 .75rem .5rem;
    min-width: unset; width: 100%;
  }
  .nav-links.open .nav-drop::before { display: none }
  .nav-links.open .drop-item {
    font-size: .9rem; color: rgba(255,255,255,.4);
    padding: .4rem .3rem; white-space: normal;
  }
  .nav-links.open .drop-item:hover { background: transparent; color: rgba(255,255,255,.8) }
  .nav-links.open .drop-n { color: rgba(255,255,255,.2) }
  .nav-links.open .drop-divider { background: rgba(255,255,255,.1); margin: .5rem 0 }
  .nav-links.open .external-icon { opacity: .3 }
  .nav-links.open .drop-item:hover .external-icon { opacity: .6 }

  /* Page sections */
  .s, .sa, .sc { padding: 4.5rem 0 }
  .proc-wrap { grid-template-columns: 1fr }
  .proc-cell { border-right: none }
  .f-top { grid-template-columns: 1fr; gap: 1.75rem }
  .f-bot { flex-direction: column; gap: .75rem; text-align: center }
  .f-legal { justify-content: center }
  .hero-actions { flex-direction: column; width: 100% }
  .btn { width: 100%; justify-content: center }
  .hero-strip .hs-links { gap: 1.5rem }
}