/* ===========================
   SMART-PRESENT — STYLES
   Plus Jakarta Sans
   v4 — Mobile fix + BG animations
   =========================== */

/* Fonts loaded via <link> in HTML head */

/* ================================
   PRELOADER
   ================================ */
#preloader {
  position: fixed; inset: 0; z-index: 9000;
  background: #09090b;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  pointer-events: all;
}
#preloader.pl-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s cubic-bezier(.4,0,.2,1);
}
#preloader.pl-hidden { display: none; }

/* Dark background layer */
.pl-bg {
  position: absolute; inset: 0;
  background: #09090b;
}

/* Main streak — diagonal comet */
.pl-streak {
  position: absolute;
  width: 3px;
  height: 55vh;
  border-radius: 99px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(232,255,71,.15) 20%,
    rgba(232,255,71,.9) 60%,
    #e8ff47 80%,
    #fff 100%
  );
  filter: blur(.5px);
  top: -60vh; left: 50%;
  transform: translateX(-50%) rotate(-35deg);
  transform-origin: top center;
  opacity: 0;
  animation: streakFall 1s cubic-bezier(.4,0,.2,1) .15s both;
}
/* Secondary thinner streak — slight offset */
.pl-streak-2 {
  width: 1.5px;
  height: 40vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(232,255,71,.1) 30%,
    rgba(232,255,71,.5) 70%,
    #e8ff47 100%
  );
  filter: blur(1px);
  left: calc(50% - 18px);
  animation: streakFall 1s cubic-bezier(.4,0,.2,1) .25s both;
  opacity: 0;
}

@keyframes streakFall {
  0%   { opacity: 0; top: -60vh; }
  15%  { opacity: 1; }
  100% { opacity: 0; top: 120vh; }
}

/* Glow burst at impact point */
.pl-streak::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,255,71,.6) 0%, transparent 70%);
  filter: blur(8px);
  animation: burstGlow .4s ease .9s both;
  opacity: 0;
}
@keyframes burstGlow {
  0%   { opacity: 0; transform: translateX(-50%) scale(.5); }
  50%  { opacity: 1; transform: translateX(-50%) scale(1.4); }
  100% { opacity: 0; transform: translateX(-50%) scale(1); }
}

/* Content — text that fades in after streak */
.pl-content {
  position: relative; z-index: 2;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  animation: plContentIn .55s cubic-bezier(.4,0,.2,1) .85s both;
}
@keyframes plContentIn {
  to { opacity: 1; transform: none; }
}

.pl-logo-wrap {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 6vw, 52px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: #fff;
  display: flex; align-items: center; gap: 0;
  margin-bottom: 10px;
}
.pl-sp      { color: #fff; }
.pl-present { color: #e8ff47; }

.pl-tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(13px, 2vw, 17px);
  font-weight: 400;
  color: rgba(255,255,255,.4);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Progress bar at bottom */
.pl-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: rgba(255,255,255,.06);
}
.pl-bar {
  height: 100%;
  background: linear-gradient(90deg, transparent, #e8ff47);
  width: 0%;
  animation: plBarFill 1.6s cubic-bezier(.4,0,.2,1) .1s both;
}
@keyframes plBarFill {
  0%   { width: 0%; opacity: 1; }
  80%  { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* Prevent flash of content while preloader is active */
body.loading main,
body.loading header,
body.loading footer {
  opacity: 0;
}
body.pl-visible main,
body.pl-visible header,
body.pl-visible footer {
  opacity: 0;
}
body.pl-reveal main,
body.pl-reveal header,
body.pl-reveal footer {
  opacity: 1;
  transition: opacity .5s ease .1s;
}



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

:root {
  --bg:        #09090b;
  --bg2:       #0f0f12;
  --surface:   #141417;
  --surface2:  #1c1c21;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.11);
  --accent:    #e8ff47;
  --accent2:   #b8ff6b;
  --muted:     rgba(232,255,71,0.12);
  --text:      #f0f0f2;
  --text2:     #7e7e8a;
  --text3:     #45454f;
  --white:     #ffffff;
  --radius:    12px;
  --radius-sm: 6px;
  --shadow:    0 24px 64px rgba(0,0,0,0.6);
  --fd:        'Plus Jakarta Sans', sans-serif;
  --fb:        'Plus Jakarta Sans', sans-serif;
  --max:       1140px;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(232,255,71,0.25); color: var(--white); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 99px; }

/* ================================
   CURSOR — desktop only, never mobile
   ================================ */
.cur {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  top: 0; left: 0;
  /* Hidden until JS moves it */
  opacity: 0;
  transition: opacity .3s;
}
.cur.ready { opacity: 1; }
.cur-dot {
  width: 8px; height: 8px;
  background: var(--white);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .2s, height .2s;
}
.cur-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width .15s, height .15s, border-color .2s;
}
/* Hide cursor elements completely on touch devices */
@media (hover: none), (pointer: coarse) {
  .cur { display: none !important; }
}

/* ================================
   NAV
   ================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 30px; width: auto; }
.logo-mark { font-family: var(--fd); font-weight: 700; font-size: 18px; color: var(--accent); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 7px 14px; font-size: 13.5px; font-weight: 500;
  color: var(--text2); border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }
.nav-cta {
  padding: 9px 22px; background: var(--accent); color: var(--bg);
  border-radius: 99px; font-size: 13px; font-weight: 700;
  font-family: var(--fd); transition: transform .2s, box-shadow .2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(232,255,71,.3); }

/* Burger — hidden on desktop */
.burger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; padding: 8px; margin-left: 8px;
  width: 40px; height: 40px; flex-shrink: 0;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
  pointer-events: none;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

/* ================================
   MOBILE NAV
   ================================ */
.m-nav {
  /* True fullscreen overlay — hidden by default via display:none in HTML/JS */
  position: fixed; inset: 0;
  background: rgba(9,9,11,.98);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  z-index: 200;
  opacity: 0;
  transition: opacity .3s ease;
  padding: 0 32px;
  /* display:none is set inline in HTML, removed by JS on open */
}
.m-nav.open { opacity: 1; }
.m-nav a {
  font-family: var(--fd);
  font-size: clamp(26px, 7vw, 40px);
  font-weight: 700; color: var(--text2); letter-spacing: -.03em;
  transition: color .2s; padding: 12px 0; text-align: center;
  width: 100%; border-bottom: 1px solid var(--border);
}
.m-nav a:first-of-type { border-top: 1px solid var(--border); }
.m-nav a:active, .m-nav a:hover { color: var(--accent); }
.m-nav .m-cta {
  margin-top: 28px; padding: 16px 48px;
  background: var(--accent); color: var(--bg) !important;
  border-radius: 99px; font-size: 17px !important; font-weight: 700 !important;
  width: auto !important; border: none !important;
}

/* Close button in mobile nav */
.m-nav-close {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--text2);
  transition: background .2s, color .2s; z-index: 10;
}
.m-nav-close:hover, .m-nav-close:active { background: var(--border2); color: var(--white); }

/* ================================
   REVEAL ANIMATIONS
   ================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
/* Scroll-driven for browsers that support it */
.rev {
  animation: fadeUp .7s cubic-bezier(.4,0,.2,1) both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}
/* Fallback */
@supports not (animation-timeline: view()) {
  .rev { animation: fadeUp .75s cubic-bezier(.4,0,.2,1) both; }
}
.rev[data-d="1"] { animation-delay: .08s; }
.rev[data-d="2"] { animation-delay: .16s; }
.rev[data-d="3"] { animation-delay: .24s; }
.rev[data-d="4"] { animation-delay: .32s; }
.rev.vis { opacity: 1 !important; transform: none !important; animation: none !important; }

/* Hero elements — above fold, fire immediately */
.hero .rev {
  animation: fadeUp .7s cubic-bezier(.4,0,.2,1) both;
  animation-timeline: auto; animation-range: normal;
}
.hero .rev:nth-child(1) { animation-delay: .08s; }
.hero .rev:nth-child(2) { animation-delay: .2s; }
.hero .rev:nth-child(3) { animation-delay: .35s; }
.hero .rev:nth-child(4) { animation-delay: .5s; }
.hero .rev:nth-child(5) { animation-delay: .62s; }

/* ================================
   BUTTONS
   ================================ */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--accent); color: var(--bg);
  border-radius: 99px; font-weight: 700; font-family: var(--fd);
  font-size: 14px; letter-spacing: .01em;
  transition: transform .2s, box-shadow .2s;
}
.btn-p:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(232,255,71,.3); }
.btn-p.sm { padding: 9px 18px; font-size: 12.5px; }
.btn-g {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border: 1px solid var(--border2); color: var(--text);
  border-radius: 99px; font-weight: 500; font-size: 14px;
  transition: border-color .2s, background .2s, color .2s;
}
.btn-g:hover { border-color: var(--accent); background: rgba(232,255,71,.04); color: var(--accent); }
.btn-g.sm { padding: 9px 18px; font-size: 12.5px; }

/* ================================
   SECTION / LAYOUT
   ================================ */
.section { padding: 96px 0; }
.section.dark { background: var(--bg2); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.s-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.s-head { max-width: 540px; margin-bottom: 60px; }
.s-head h2 {
  font-family: var(--fd); font-size: clamp(28px,3.8vw,46px);
  font-weight: 700; line-height: 1.08; color: var(--white); letter-spacing: -.03em;
}
.s-head h2 em { font-style: normal; color: var(--accent); }
.s-head p { margin-top: 14px; color: var(--text2); font-size: 16px; line-height: 1.7; }

/* ================================
   HERO + BACKGROUND ANIMATIONS
   ================================ */
.hero {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--nav-h) + 80px) 28px 120px;
  position: relative; overflow: hidden;
}

/* Noise texture overlay */
.hero-noise {
  position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025; mix-blend-mode: overlay; pointer-events: none;
}

/* Animated grid */
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 80%);
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 72px 72px; }
}

/* Floating orbs */
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); will-change: transform;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,255,71,.07) 0%, transparent 70%);
  top: -15%; right: -10%;
  animation: orbFloat1 12s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,179,237,.05) 0%, transparent 70%);
  bottom: 5%; left: -8%;
  animation: orbFloat2 15s ease-in-out infinite;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(184,255,107,.04) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(-40px, 30px) scale(1.08); }
  66%     { transform: translate(20px,-20px) scale(.95); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(50px,-40px) scale(1.1); }
  70%     { transform: translate(-20px, 20px) scale(.92); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(30px,40px) scale(1.15); }
}

/* Scroll-parallax particles */
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent); opacity: 0;
  animation: particleFade var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes particleFade {
  0%,100% { opacity: 0; transform: translateY(0) scale(1); }
  50%     { opacity: .35; transform: translateY(-30px) scale(1.2); }
}

/* Glow pulse */
.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(232,255,71,.06) 0%, transparent 65%);
  animation: glowPulse 8s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(1.15); }
}

.hero-inner { position: relative; z-index: 2; max-width: 820px; text-align: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 16px; border: 1px solid var(--border2); border-radius: 99px;
  font-size: 12.5px; color: var(--text2); margin-bottom: 28px;
  background: rgba(255,255,255,.02); letter-spacing: .02em;
}
.hero-tag .live {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); animation: lp 2.5s ease-in-out infinite;
}
@keyframes lp { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.3;transform:scale(.7)} }

.hero-h1 {
  font-family: var(--fd); font-size: clamp(44px,8.5vw,100px);
  font-weight: 700; line-height: .95; letter-spacing: -.05em;
  color: var(--white); margin-bottom: 28px;
}
.hero-h1 em { font-style: normal; color: var(--accent); }
.hero-h1 span { display: block; }

.hero-sub {
  font-size: clamp(15px,2vw,18px); color: var(--text2);
  max-width: 480px; margin: 0 auto 40px; line-height: 1.75; font-weight: 400;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 56px; }
.hero-pills span {
  padding: 5px 14px; border: 1px solid var(--border);
  border-radius: 99px; font-size: 12px; color: var(--text3); letter-spacing: .02em;
}

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text3); z-index: 2;
}
.hero-scroll-bar {
  width: 1px; height: 40px;
  background: linear-gradient(var(--text3),transparent);
  animation: sb 1.8s ease-in-out infinite;
}
@keyframes sb { 0%,100%{opacity:.3} 50%{opacity:1} }

/* ================================
   SECTION BACKGROUND EFFECTS
   (parallax orbs behind each section)
   ================================ */
.section-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.section { position: relative; }
.section > .container { position: relative; z-index: 1; }

/* Drifting accent line */
@keyframes lineDrift {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100vw); }
}
.accent-line {
  position: absolute; height: 1px; width: 200px;
  background: linear-gradient(90deg, transparent, rgba(232,255,71,.3), transparent);
  pointer-events: none; z-index: 0;
  animation: lineDrift var(--dur,18s) linear infinite;
  animation-delay: var(--delay,0s);
  top: var(--top,50%); opacity: .6;
}

/* ================================
   STRIP
   ================================ */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.strip-wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; }
.s-item { flex: 1; padding: 18px 20px; display: flex; align-items: center; gap: 11px; font-size: 13.5px; color: var(--text2); font-weight: 500; }
.s-item i { font-style: normal; font-size: 15px; color: var(--accent); flex-shrink: 0; }
.s-div { width: 1px; background: var(--border); align-self: stretch; }

/* ================================
   SERVICES
   ================================ */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 64px;
}
.svc-card { background: var(--bg); padding: 36px 32px; transition: background .3s; }
.svc-card:hover { background: var(--surface); }
.svc-n { font-family: var(--fd); font-size: 11px; font-weight: 700; color: var(--text3); letter-spacing: 2.5px; margin-bottom: 24px; }
.svc-ico { font-size: 22px; color: var(--accent); margin-bottom: 16px; line-height: 1; }
.svc-card h3 { font-family: var(--fd); font-size: 19px; font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 12px; }
.svc-card p { color: var(--text2); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.svc-card ul li { font-size: 13px; color: var(--text3); padding: 3px 0 3px 15px; position: relative; }
.svc-card ul li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }

/* ================================
   STATS
   ================================ */
.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.stat-cell { background: var(--bg); padding: 28px 24px; text-align: center; transition: background .3s; }
.stat-cell:hover { background: var(--surface); }
.stat-v { font-family: var(--fd); font-size: 36px; font-weight: 700; color: var(--accent); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.stat-l { font-size: 12.5px; color: var(--text2); line-height: 1.5; }

/* ================================
   PROJECTS
   ================================ */
.proj-tabs { display: flex; gap: 4px; margin-bottom: 48px; padding: 4px; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; width: fit-content; }
.proj-tab { padding: 9px 22px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: var(--text2); transition: all .25s; cursor: pointer; font-family: var(--fd); }
.proj-tab.active { background: var(--accent); color: var(--bg); }
.proj-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 16px; }
.proj-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; }
.proj-card:hover { border-color: var(--border2); transform: translateY(-3px); }
.proj-img { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj-card:hover .proj-img img { transform: scale(1.04); }
.proj-overlay { position: absolute; inset: 0; background: rgba(9,9,11,.75); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-body { padding: 22px 24px; }
.proj-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.proj-tag { padding: 3px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; letter-spacing: .5px; }
.proj-tag.kunde { background: rgba(232,255,71,.1); border: 1px solid rgba(232,255,71,.2); color: var(--accent); }
.proj-tag.muster { background: rgba(99,179,237,.1); border: 1px solid rgba(99,179,237,.2); color: #63b3ed; }
.proj-tag.cat { background: var(--surface2); border: 1px solid var(--border); color: var(--text2); }
.proj-body h3 { font-family: var(--fd); font-size: 17px; font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 8px; }
.proj-body p { color: var(--text2); font-size: 13.5px; line-height: 1.6; margin-bottom: 16px; }
.proj-price { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 16px; }
.proj-price span { font-size: 12px; color: var(--text2); font-family: var(--fb); font-weight: 400; margin-left: 4px; }
.muster-interest { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.muster-interest p { font-size: 12.5px; color: var(--text2); line-height: 1.5; }

/* ================================
   MODAL
   ================================ */
.modal-bg { position: fixed; inset: 0; background: rgba(9,9,11,.85); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; backdrop-filter: blur(8px); }
.modal-bg.open { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); max-width: 520px; width: 100%; padding: 40px; position: relative; transform: translateY(20px); transition: transform .3s; max-height: 90vh; overflow-y: auto; }
.modal-bg.open .modal { transform: none; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface2); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text2); transition: background .2s; }
.modal-close:hover { background: var(--border2); color: var(--white); }
.modal h3 { font-family: var(--fd); font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 6px; }
.modal-sub { font-size: 14px; color: var(--text2); margin-bottom: 28px; }
.modal-sub strong { color: var(--accent); }

/* ================================
   TIMELINE
   ================================ */
.tl { position: relative; padding-left: 52px; max-width: 680px; }
.tl::before { content: ''; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--border2), var(--border), transparent); }
.tl-step { position: relative; margin-bottom: 44px; }
.tl-step:last-child { margin-bottom: 0; }
.tl-num { position: absolute; left: -52px; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border2); background: var(--bg); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 11px; font-weight: 700; color: var(--text3); letter-spacing: 1px; transition: border-color .4s, color .4s, background .4s; }
.tl-step.vis .tl-num { border-color: var(--accent); color: var(--accent); background: rgba(232,255,71,.06); }
.tl-step h3 { font-family: var(--fd); font-size: 19px; font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 8px; padding-top: 8px; }
.tl-step p { color: var(--text2); font-size: 14.5px; line-height: 1.65; }

/* ================================
   PRICING
   ================================ */
.pr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.pr-badge { display: inline-block; padding: 4px 12px; background: var(--muted); border: 1px solid rgba(232,255,71,.2); color: var(--accent); border-radius: 99px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 24px; }
.pr-rows { margin-bottom: 28px; }
.pr-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.pr-row:first-child { border-top: 1px solid var(--border); }
.pr-row strong { font-size: 14.5px; color: var(--white); font-weight: 600; font-family: var(--fd); }
.pr-row span { font-size: 12.5px; color: var(--text2); text-align: right; }
.pr-cl h3 { font-family: var(--fd); font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: -.02em; margin-bottom: 24px; }
.pr-cl ul { display: flex; flex-direction: column; gap: 14px; }
.pr-cl li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text2); line-height: 1.55; }
.pr-cl li span { color: #4ade80; font-weight: 700; flex-shrink: 0; }
.pr-note { margin-top: 20px; padding: 14px; background: rgba(232,255,71,.05); border: 1px solid rgba(232,255,71,.1); border-radius: var(--radius-sm); font-size: 13px; color: var(--text2); line-height: 1.6; }
.pr-note strong { color: var(--accent); }

/* ================================
   ABOUT
   ================================ */
.about-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.about-img-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 3/4; max-height: 400px; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.about-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.about-badges span { padding: 5px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 99px; font-size: 11.5px; color: var(--text2); }
.about-text h2 { font-family: var(--fd); font-size: clamp(26px,3.5vw,42px); font-weight: 700; color: var(--white); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 24px; }
.about-text h2 em { font-style: normal; color: var(--accent); }
.about-text p { color: var(--text2); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.about-contact { margin-top: 28px; border-top: 1px solid var(--border); padding-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.a-row strong { font-size: 15px; color: var(--white); display: block; }
.a-row span { font-size: 12.5px; color: var(--text3); }

/* ================================
   FAQ
   ================================ */
.faq-wrap { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-family: var(--fd); font-size: 16px; font-weight: 600; color: var(--text); text-align: left; letter-spacing: -.01em; transition: color .2s; }
.faq-q:hover { color: var(--accent); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--text2); flex-shrink: 0; transition: transform .3s, background .3s, border-color .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--muted); border-color: rgba(232,255,71,.3); color: var(--accent); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-a p { padding: 0 0 22px; color: var(--text2); font-size: 14.5px; line-height: 1.7; }
.faq-a code { background: var(--surface2); padding: 2px 7px; border-radius: 4px; font-size: 13px; color: var(--accent); font-family: monospace; }

/* ================================
   CONTACT
   ================================ */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.ct-left h2 { font-family: var(--fd); font-size: clamp(26px,3.5vw,44px); font-weight: 700; color: var(--white); letter-spacing: -.04em; line-height: 1.08; margin-bottom: 16px; }
.ct-left h2 em { font-style: normal; color: var(--accent); }
.ct-left > p { color: var(--text2); font-size: 15px; line-height: 1.7; margin-bottom: 32px; }
.ct-items { display: flex; flex-direction: column; gap: 12px; }
.ct-item { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s; }
.ct-item:hover:not(.no-hover) { border-color: var(--border2); }
.ct-ico { width: 36px; height: 36px; border-radius: 8px; background: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--accent); flex-shrink: 0; }
.ct-item div { display: flex; flex-direction: column; gap: 2px; }
.ct-item strong { font-size: 13.5px; color: var(--white); font-weight: 600; }
.ct-item span { font-size: 12.5px; color: var(--text2); }
.ct-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: flex; flex-direction: column; gap: 7px; }
.f-field label { font-size: 12px; font-weight: 700; color: var(--text2); letter-spacing: .5px; text-transform: uppercase; }
.f-field input, .f-field textarea, .f-field select {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 11px 14px; color: var(--text);
  font: inherit; font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.f-field input::placeholder, .f-field textarea::placeholder { color: var(--text3); }
.f-field input:focus, .f-field textarea:focus, .f-field select:focus {
  outline: none; border-color: rgba(232,255,71,.4);
  box-shadow: 0 0 0 3px rgba(232,255,71,.08);
}
.f-field textarea { resize: vertical; min-height: 110px; }
.f-field select option { background: var(--bg); }
.f-cb { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--text2); cursor: pointer; }
.f-cb input { flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.f-cb a { color: var(--accent); text-decoration: underline; }
.btn-full { width: 100%; justify-content: center; padding: 15px; font-size: 15px; }
.f-note { font-size: 11.5px; color: var(--text3); text-align: center; }

/* ================================
   FOOTER
   ================================ */
.footer { border-top: 1px solid var(--border); padding: 36px 0; background: var(--bg); }
.ft-inner { max-width: var(--max); margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.ft-brand { display: flex; align-items: center; gap: 12px; }
.ft-brand img { height: 24px; width: auto; }
.ft-brand span { font-size: 13.5px; color: var(--text2); }
.ft-links { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.ft-links a { font-size: 13px; color: var(--text3); padding: 5px 10px; transition: color .2s; border-radius: 6px; }
.ft-links a:hover { color: var(--text); }
.ft-links .ft-sep { color: var(--text3); font-size: 11px; }
.ft-qr { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border: 1px solid var(--border); border-radius: 99px; font-size: 12px; color: var(--text2); transition: border-color .2s, color .2s; }
.ft-qr:hover { border-color: var(--accent); color: var(--accent); }
.ft-copy { font-size: 12px; color: var(--text3); }

/* ================================
   LEGAL / DANKE / QR / PAGE-TOP
   ================================ */
.legal-wrap { max-width: 720px; }
.legal-wrap h1 { font-family: var(--fd); font-size: clamp(32px,5vw,52px); font-weight: 700; letter-spacing: -.04em; color: var(--white); margin-bottom: 40px; }
.legal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; margin-bottom: 16px; }
.legal-card h2 { font-family: var(--fd); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 12px; margin-top: 24px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--text2); font-size: 14.5px; line-height: 1.7; }
.legal-card ul { padding-left: 0; display: flex; flex-direction: column; gap: 8px; }
.legal-card li { padding-left: 18px; position: relative; }
.legal-card li::before { content: '–'; position: absolute; left: 0; color: var(--accent); }
.legal-card a { color: var(--accent); }
.legal-card strong { color: var(--white); }

.danke-wrap { min-height: 100dvh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 28px 80px; }
.danke-inner .check { width: 64px; height: 64px; border-radius: 50%; background: var(--muted); border: 1px solid rgba(232,255,71,.2); display: flex; align-items: center; justify-content: center; font-size: 26px; margin: 0 auto 28px; color: var(--accent); }
.danke-inner h1 { font-family: var(--fd); font-size: clamp(36px,5vw,58px); font-weight: 700; letter-spacing: -.04em; color: var(--white); margin-bottom: 16px; line-height: 1.08; }
.danke-inner h1 em { font-style: normal; color: var(--accent); }
.danke-inner p { color: var(--text2); font-size: 17px; max-width: 440px; margin: 0 auto 32px; line-height: 1.7; }

.qr-wrap { max-width: 720px; margin: 0 auto; }
.qr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.qr-output { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 28px; }
.qr-canvas-wrap { position: relative; border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 24px; background: var(--bg); }
.qr-logo-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.qr-logo-overlay img { border-radius: 6px; }
.qr-actions { display: flex; gap: 10px; }

.page-top { padding: calc(var(--nav-h)+80px) 28px 60px; }
.page-top h1 { font-family: var(--fd); font-size: clamp(36px,5.5vw,60px); font-weight: 700; letter-spacing: -.05em; color: var(--white); line-height: 1.05; margin-bottom: 16px; }
.page-top h1 em { font-style: normal; color: var(--accent); }
.page-top p { color: var(--text2); font-size: 17px; max-width: 560px; line-height: 1.7; }
.proj-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

/* ================================
   RESPONSIVE — TABLET 1024px
   ================================ */
@media (max-width: 1100px) {
  .hero { padding: calc(var(--nav-h) + 60px) 28px 130px; }
  .hero-h1 { font-size: clamp(38px, 6.5vw, 72px); }
  .hero-pills span { font-size: 11.5px; padding: 4px 12px; }
}

@media (max-width: 1024px) {
  .pr-grid    { grid-template-columns: 1fr; }
  .ct-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-wrap { grid-template-columns: 220px 1fr; gap: 40px; }
  .stats-row  { grid-template-columns: repeat(2,1fr); }
}

/* ================================
   RESPONSIVE — MOBILE 768px
   ================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  /* Sections */
  .section  { padding: 64px 0; }
  .container { padding: 0 20px; }
  .s-head   { margin-bottom: 36px; }

  /* Hero */
  .hero { padding: calc(var(--nav-h) + 40px) 20px 60px; }
  .hero-h1 { letter-spacing: -.03em; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-p,
  .hero-actions .btn-g { width: 100%; max-width: 280px; justify-content: center; }
  .hero-pills { gap: 6px; }
  .hero-pills span { font-size: 11px; padding: 4px 11px; }
  /* Reduce orb size on mobile for perf */
  .orb-1 { width: 300px; height: 300px; }
  .orb-2 { width: 250px; height: 250px; }
  .orb-3 { display: none; }

  /* Strip */
  .strip-wrap { flex-direction: column; }
  .s-div      { width: 100%; height: 1px; }
  .s-item     { border-bottom: 1px solid var(--border); padding: 16px 20px; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 28px 24px; }

  /* Stats */
  .stats-row { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-img-wrap {
    max-height: none;
    aspect-ratio: 1/1;
    max-width: 280px;
    margin: 0 auto;
  }
  .about-img-wrap img {
    object-position: center 8%;
  }

  /* Pricing */
  .pr-card { padding: 24px; }
  .pr-row { flex-direction: column; gap: 4px; }
  .pr-row span { text-align: left; }

  /* Contact */
  .ct-form-wrap { padding: 24px; }
  .f-row { grid-template-columns: 1fr; }

  /* Footer */
  .ft-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft-links { margin-left: 0; }

  /* Projects page */
  .proj-header { flex-direction: column; align-items: flex-start; }
  .proj-tabs { width: 100%; justify-content: center; }

  /* Modal */
  .modal { padding: 28px 20px; }

  /* Legal/QR */
  .page-top { padding: calc(var(--nav-h)+40px) 20px 48px; }
  .legal-card { padding: 24px; }
  .qr-card { padding: 24px; }

  /* Hero — ensure content is not pushed too far */
  .hero-inner { width: 100%; }
  .hero-tag { font-size: 11.5px; padding: 5px 13px; }

  /* Section head — full width on mobile */
  .s-head { max-width: 100%; }

  /* Timeline — tighter on mobile */
  .tl { padding-left: 44px; }
  .tl-num { left: -44px; width: 34px; height: 34px; font-size: 10px; }
  .tl-step h3 { font-size: 17px; }

  /* Pricing — stack fully */
  .pr-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Contact grid */
  .ct-grid { gap: 32px; }

  /* FAQ */
  .faq-q { font-size: 14.5px; padding: 18px 0; }

  /* Buttons — comfortable tap targets */
  .btn-p, .btn-g { min-height: 48px; }
}

/* ================================
   RESPONSIVE — SMALL 480px
   ================================ */
@media (max-width: 480px) {
  .stats-row { grid-template-columns: 1fr; }
  .hero-pills { display: none; }
  .hero-h1 { font-size: clamp(38px,11vw,56px); }
  .proj-tabs { flex-wrap: wrap; border-radius: 12px; width: 100%; }
  .proj-tab { flex: 1; text-align: center; padding: 9px 12px; font-size: 12.5px; }
  .ft-qr { display: none; }
}
