/* ═══════════════════════════════════════════
   NORDIC WEB AGENTUR — style.css
═══════════════════════════════════════════ */

/* ── Custom Properties ────────────────── */
:root {
  --navy-950: #020B17;
  --navy-900: #0D1E30;
  --navy-800: #0F2540;
  --navy-700: #1A3A5C;
  --accent:   #4A9ECE;
  --accent-lt: #7BB8D9;

  --white:    #FFFFFF;
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-400: #94A3B8;
  --gray-600: #475569;
  --gray-900: #0F172A;

  --font: 'DM Sans', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --section-py: clamp(80px, 10vw, 140px);
}

/* ── Skip Link (accessibility + SEO) ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border-radius: 6px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ── Reset ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis handles scroll */
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-900);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; }
button { font-family: var(--font); cursor: none; }

/* Hide cursor on touch devices */
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}

/* ── Scroll progress ─────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--navy-900), var(--accent));
  transform-origin: left;
  transform: scaleX(0);
  z-index: 10000;
  pointer-events: none;
}

/* ── Noise overlay ───────────────────── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* ── Custom Cursor ───────────────────── */
.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
}
.cursor__dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor__ring {
  position: absolute;
  width: 34px; height: 34px;
  border: 1.5px solid rgba(74,158,206,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ── Utilities ───────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: var(--section-py) 0; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 64px; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.tag--glow { color: var(--accent-lt); }

.h2 {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--gray-900);
  margin-bottom: 16px;
}
.h2--white { color: var(--white); }

.section-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--gray-600);
  line-height: 1.75;
}

/* ── Buttons ─────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.25s var(--ease);
  cursor: none;
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(74,158,206,0.35);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  animation: shimmer-btn 5s ease-in-out infinite;
  animation-delay: 3s;
}
@keyframes shimmer-btn {
  0%   { left: -80%; }
  35%, 100% { left: 160%; }
}
.btn--primary:hover {
  background: #5BADD8;
  box-shadow: 0 8px 40px rgba(74,158,206,0.45);
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.45);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.btn--white {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* ── Navigation ──────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s;
  border-bottom: 1px solid transparent;
}
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74,158,206,0.55), rgba(123,184,217,0.7), rgba(74,158,206,0.55), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.nav.scrolled {
  background: linear-gradient(180deg, rgba(7,16,30,0.97) 0%, rgba(10,21,38,0.94) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom-color: rgba(74,158,206,0.18);
  box-shadow: 0 8px 40px rgba(0,0,0,0.28), 0 1px 0 rgba(74,158,206,0.08);
}
.nav.scrolled::before { opacity: 1; }

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0 36px;
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s;
  letter-spacing: 0.2px;
  position: relative;
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.25s;
  white-space: nowrap;
  box-shadow: 0 2px 14px rgba(74,158,206,0.32);
  position: relative;
  overflow: hidden;
}
.nav__cta::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-20deg);
  animation: shimmer-nav 4s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes shimmer-nav {
  0%   { left: -75%; }
  40%, 100% { left: 150%; }
}
.nav__cta:hover {
  background: #5BADD8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,158,206,0.4);
}

/* Mobile CTA only shown inside overlay */
.nav__mobile-cta { display: none; }

/* Burger — always far right */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 102;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* ── Hero ────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 130px var(--pad) 100px;
}

/* Aurora orbs */
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb--1 {
  width: 700px; height: 700px;
  background: #0D2A47;
  top: -200px; right: -150px;
  animation: drift1 14s ease-in-out infinite;
}
.orb--2 {
  width: 450px; height: 450px;
  background: rgba(74,158,206,0.13);
  bottom: -100px; left: -50px;
  animation: drift2 18s ease-in-out infinite;
}
.orb--3 {
  width: 300px; height: 300px;
  background: rgba(74,158,206,0.07);
  top: 35%; left: 25%;
  animation: drift3 11s ease-in-out infinite;
}
@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(50px,40px) scale(1.06); }
  66%     { transform: translate(-30px,60px) scale(0.96); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(70px,-50px); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-50px,50px); }
}

.hero__content { position: relative; z-index: 2; max-width: 820px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(74,158,206,0.1);
  border: 1px solid rgba(74,158,206,0.22);
  color: var(--accent-lt);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  margin-bottom: 36px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: glow-pulse 2.2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 6px var(--accent); }
  50%     { box-shadow: 0 0 18px var(--accent); }
}

.hero__h1 {
  font-size: clamp(52px, 8.5vw, 100px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.03;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
}
.hero__line { display: block; }
.hero__line--accent {
  background: linear-gradient(120deg, var(--accent) 0%, #8ed4f5 55%, var(--accent-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scroll-line 2.2s ease-in-out infinite;
}
.hero__scroll span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
@keyframes scroll-line {
  0%,100% { opacity: 0.5; transform: scaleY(1); transform-origin: top; }
  50%      { opacity: 1; }
}

/* ── Marquee ─────────────────────────── */
.marquee-wrap {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 28px 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.marquee { overflow: hidden; }
.marquee__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee__inner span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  white-space: nowrap;
}
.marquee__inner .dot { color: var(--accent); font-size: 18px; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Statement marquee ───────────────── */
.marquee-statement {
  background: var(--navy-950);
  overflow: hidden;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.marquee__inner--statement {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: marquee-rev 22s linear infinite;
}
.marquee__inner--statement span {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.14);
  white-space: nowrap;
  text-transform: uppercase;
}
.sdot {
  color: var(--accent) !important;
  -webkit-text-stroke: 0 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
}
@keyframes marquee-rev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ── Services ────────────────────────── */
.services { background: var(--white); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform 0.45s var(--ease), box-shadow 0.45s, border-color 0.3s;
  --mx: 50%; --my: 50%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--accent), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
  z-index: 1;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(74,158,206,0.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.1);
  border-color: rgba(74,158,206,0.35);
}
.service-card:hover::before { transform: scaleY(1); }
.service-card:hover::after { opacity: 1; }

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--navy-950);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: background 0.3s, transform 0.4s var(--ease), box-shadow 0.3s;
}
.service-card:hover .service-card__icon {
  background: var(--navy-800);
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 10px 28px rgba(13,30,48,0.28);
}
.service-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
  padding-top: 4px;
}
.service-card:hover .service-card__num { color: var(--accent); }
.service-card__bg-num {
  position: absolute;
  right: -8px; bottom: -18px;
  font-size: 130px;
  font-weight: 800;
  color: var(--navy-950);
  opacity: 0.032;
  line-height: 1;
  letter-spacing: -4px;
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.4s;
}
.service-card:hover .service-card__bg-num { opacity: 0.07; }
.service-card h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.18;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ── Stats ───────────────────────────── */
.stats-section {
  background: var(--navy-900);
  padding: 80px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__num {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat__num--static {
  color: var(--accent-lt);
}
.stat__label {
  font-size: 13px;
  color: var(--gray-400);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ── Process ─────────────────────────── */
.process { background: var(--white); }
.process__steps {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}
.process__line-track {
  position: absolute;
  left: 35px;
  top: 24px;
  bottom: 24px;
  width: 1.5px;
  background: var(--gray-200);
  overflow: hidden;
}
.process__line-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--navy-900), var(--accent));
}
.process-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 32px;
  align-items: start;
}
.process-step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.process-step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-900);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  font-variant-numeric: tabular-nums;
}
.process-step:hover .process-step__num {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 0 24px rgba(13,30,48,0.22);
}
.process-step__connector {
  width: 1.5px;
  flex: 1;
  min-height: 64px;
  background: var(--gray-200);
  transform-origin: top;
  transform: scaleY(0);
  margin: 2px 0;
}
.process-step__body {
  padding-bottom: 52px;
  padding-top: 10px;
}
.process-step:last-child .process-step__body { padding-bottom: 0; }
.process-step__body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.2;
}
.process-step__body p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ── Portfolio ───────────────────────── */
.portfolio { background: var(--gray-50); }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.portfolio__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.project-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.12);
}
.project-card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.project-card:hover .project-card__visual { transform: none; }

.project-mockup {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  width: 180px;
  backdrop-filter: blur(4px);
  transform: perspective(600px) rotateX(8deg);
  transition: transform 0.4s;
}
.project-card:hover .project-mockup { transform: perspective(600px) rotateX(2deg); }

.mockup__bar {
  height: 9px;
  background: rgba(255,255,255,0.35);
  border-radius: 5px;
  margin-bottom: 10px;
}
.mockup__line {
  height: 6px;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  margin-bottom: 6px;
}
.mockup__line--short { width: 55%; }

.project-card__info { padding: 24px; }
.project-card__tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}
.project-card__tags span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--accent);
  background: rgba(74,158,206,0.08);
  padding: 4px 10px;
  border-radius: 100px;
}
.project-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 7px;
}
.project-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s, color 0.2s;
  margin-top: auto;
}
.project-card__link:hover {
  gap: 10px;
  color: var(--navy-700);
}
.project-card__visual--screenshot { background: #0D0D14; }

.project-card__screenshot-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-card__screenshot-inner {
  transform: scale(1.05);
}
.project-card__visual--screenshot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  z-index: 1;
}
.project-card__live-badge { z-index: 2; }

.project-card__live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  color: #4ade80;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid rgba(74,222,128,0.25);
}
.project-card__live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px #4ade80;
  animation: glow-pulse 2s ease-in-out infinite;
}

/* "Next project" — deep navy gradient card */
.project-card--next {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.project-card--next::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: rgba(74,158,206,0.12);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  transition: transform 0.6s var(--ease);
}
.project-card--next:hover {
  transform: translateY(-9px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.35);
}
.project-card--next:hover::before { transform: scale(1.2); }
.project-card__next-inner {
  padding: 40px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.project-card__next-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 4px;
}
.check-path {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
}
.chart-line {
  /* length set dynamically by JS via getTotalLength() */
  stroke-dashoffset: 1;
}
.project-card__next-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(74,158,206,0.5);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.project-card--next:hover .project-card__next-icon {
  border-color: var(--accent);
  background: rgba(74,158,206,0.12);
  box-shadow: 0 0 24px rgba(74,158,206,0.3);
}
.project-card--next h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
}
.project-card--next p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 280px;
}

/* ── Testimonials ────────────────────── */
.testimonials { background: var(--gray-50); }
.testimonials__wrapper { position: relative; }
.testimonials__slider {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  cursor: grab;
}
.testimonials__slider:active { cursor: grabbing; }
.testimonials__slider::-webkit-scrollbar { display: none; }
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonials__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: all 0.2s;
}
.testimonials__btn:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}
.testimonials__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testimonials__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
}
.testimonials__dot--active {
  background: var(--navy-900);
  width: 24px;
  border-radius: 4px;
}
.testimonial {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 15px);
  min-width: 280px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px;
  list-style: none;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.testimonial::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 0.75;
  color: var(--navy-950);
  opacity: 0.06;
  display: block;
  margin-bottom: 4px;
  pointer-events: none;
}
.testimonial::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-900), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.09);
}
.testimonial:hover::after { transform: scaleX(1); }
.testimonial__stars {
  color: #F59E0B;
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.testimonial p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 42px; height: 42px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.testimonial__author strong {
  display: block;
  font-size: 14px;
  color: var(--gray-900);
  font-weight: 700;
}
.testimonial__author span {
  font-size: 12px;
  color: var(--gray-400);
}

/* ── CTA Section ─────────────────────── */
.cta-section {
  background: var(--navy-950);
  padding: var(--section-py) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section__bg { position: absolute; inset: 0; pointer-events: none; }

.cta-section__photo {
  position: absolute;
  inset: -60px 0;
  background-image: url('../assets/oldenburg-altstadt.jpg');
  background-size: cover;
  background-position: center 35%;
  opacity: 0.25;
  filter: grayscale(30%);
}

.orb--cta1 {
  width: 600px; height: 600px;
  background: rgba(74,158,206,0.07);
  top: -250px; left: 50%;
  transform: translateX(-50%);
}
.orb--cta2 {
  width: 350px; height: 350px;
  background: #0F2540;
  bottom: -150px; right: -80px;
}
.cta-section__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-section__sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.48);
  margin: 16px 0 40px;
  line-height: 1.7;
}

/* ── Knowledge Section ───────────────── */
.knowledge {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}
.knowledge__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.knowledge__intro {
  position: sticky;
  top: 100px;
}
.knowledge__intro .h2 { margin-bottom: 16px; }
.knowledge__intro .section-sub { margin-bottom: 0; }
.knowledge__list {
  display: flex;
  flex-direction: column;
}
.k-item {
  border-bottom: 1px solid var(--gray-200);
}
.k-item:first-child { border-top: 1px solid var(--gray-200); }
.k-item__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.k-item__head::-webkit-details-marker { display: none; }
.k-item__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 28px;
  transition: color 0.2s;
}
.k-item[open] .k-item__num { color: var(--accent); }
.k-item__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
  flex: 1;
  line-height: 1.35;
  transition: color 0.2s;
}
.k-item[open] .k-item__title { color: var(--navy-900); }
.k-item__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--gray-400);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), color 0.2s;
}
.k-item[open] .k-item__icon {
  transform: rotate(45deg);
  color: var(--accent);
}
.k-item__body {
  padding: 0 0 24px 46px;
  overflow: hidden;
}
.k-item__body p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ── Booking Section ─────────────────── */
.booking-section {
  background: var(--gray-50);
  padding: var(--section-py) 0;
  border-top: 1px solid var(--gray-200);
}
.booking-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.booking-info__sub {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}
.booking-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.booking-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-700, #334155);
  font-weight: 500;
}
.booking-perks li svg {
  color: var(--accent);
  flex-shrink: 0;
}
.booking-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.booking-contact__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-600);
  transition: color 0.2s;
}
.booking-contact__item:hover { color: var(--accent); }
.booking-contact__item svg { flex-shrink: 0; }

.booking-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(0,0,0,0.06);
}

/* ── Footer ──────────────────────────── */
.footer {
  background: var(--navy-950);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-top: 72px;
  padding-bottom: 64px;
}
.footer__brand p {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 18px;
  max-width: 270px;
  line-height: 1.7;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.footer__col a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__cta {
  color: var(--accent) !important;
  font-weight: 600;
  margin-top: 6px;
}
.footer__location {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 0;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom-inner span {
  font-size: 13px;
  color: var(--gray-400);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a {
  font-size: 13px;
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer__legal a:hover { color: var(--white); }

/* ── Cookie Banner ───────────────────── */
.cookie-banner {
  position: fixed;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 860px;
  background: var(--navy-900);
  border: 1px solid rgba(74,158,206,0.18);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
  z-index: 9000;
  transition: bottom 0.55s cubic-bezier(0.34, 1.4, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 32px;
}
.cookie-banner.visible { bottom: 24px; }
.cookie-banner__text { flex: 1; }
.cookie-banner__text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.cookie-banner__text p {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.6;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.cookie-btn--decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.55);
}
.cookie-btn--decline:hover {
  border-color: rgba(255,255,255,0.32);
  color: var(--white);
}
.cookie-btn--accept {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(74,158,206,0.28);
}
.cookie-btn--accept:hover {
  background: #5BADD8;
  box-shadow: 0 6px 24px rgba(74,158,206,0.4);
}

/* ── Legal Pages ─────────────────────── */
.legal-hero {
  background: var(--navy-950);
  padding: 160px var(--pad) 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-hero::before {
  content: '';
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: rgba(74,158,206,0.06);
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.legal-hero .tag { display: block; margin-bottom: 16px; position: relative; z-index: 1; }
.legal-hero h1 {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.legal-hero__meta {
  font-size: 13px;
  color: var(--gray-400);
  position: relative;
  z-index: 1;
}
.legal-content {
  background: var(--white);
  padding: 80px 0 120px;
}
.legal-prose { max-width: 740px; }
.legal-prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 52px 0 14px;
  padding-top: 52px;
  border-top: 1px solid var(--gray-200);
}
.legal-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-prose h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 28px 0 10px;
}
.legal-prose p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-prose a:hover { color: var(--navy-700); }
.legal-prose ul {
  margin: 8px 0 16px 22px;
}
.legal-prose ul li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 5px;
}
.legal-prose strong { color: var(--gray-900); font-weight: 600; }
.legal-prose address { font-style: normal; }

/* ── Word split animation helpers ────── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: inherit;
}
.word {
  display: inline-block;
}

/* ── Reveal (initial hidden state) ────── */
.reveal { opacity: 0; }

/* ── Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid--two { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .testimonial { flex: 0 0 calc(50% - 11px); }
  .knowledge__inner { grid-template-columns: 1fr; gap: 52px; }
  .knowledge__intro { position: static; }
  .booking-section__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* Prevent body scroll when mobile menu open */
body.nav-open { overflow: hidden; }

@media (max-width: 768px) {
  /* Mobile nav — flex so burger stays right */
  .nav__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--navy-950);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.38s var(--ease), transform 0.38s var(--ease);
  }
  .nav__links::before {
    content: '';
    position: fixed;
    width: 500px; height: 500px;
    top: -200px; right: -150px;
    background: rgba(74,158,206,0.07);
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
  }
  .nav__links.open {
    opacity: 1;
    pointer-events: all;
    transform: scale(1);
  }
  .nav__link {
    font-size: clamp(28px, 8vw, 38px) !important;
    font-weight: 700 !important;
    color: rgba(255,255,255,0.55) !important;
    letter-spacing: -0.5px;
    padding: 10px 24px !important;
    border-bottom: none !important;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.2s !important;
  }
  .nav__link::after { display: none; }
  .nav__link:hover { color: var(--white) !important; }
  .nav__links.open .nav__link { opacity: 1; transform: translateY(0); }
  .nav__links.open .nav__link:nth-child(1) { transition-delay: 0.07s; }
  .nav__links.open .nav__link:nth-child(2) { transition-delay: 0.12s; }
  .nav__links.open .nav__link:nth-child(3) { transition-delay: 0.17s; }
  .nav__links.open .nav__link:nth-child(4) { transition-delay: 0.22s; }
  /* Mobile CTA inside overlay */
  .nav__mobile-cta {
    display: inline-flex;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease) !important;
    transition-delay: 0.28s;
  }
  .nav__links.open .nav__mobile-cta { opacity: 1; transform: translateY(0); }
  /* Show compact CTA in mobile header */
  .nav__cta {
    display: block;
    padding: 7px 15px;
    font-size: 12px;
    margin-left: auto;
    animation: none;
  }
  .nav__cta::before { display: none; }
  .nav__burger { display: flex; z-index: 102; position: relative; flex-shrink: 0; }

  .hero__sub br { display: none; }
  .hero__scroll { display: none; }

  /* Services — single column on mobile */
  .services__grid { grid-template-columns: 1fr; gap: 14px; }

  .process-step { grid-template-columns: 56px 1fr; gap: 0 16px; }
  .process__line-track { left: 27px; }

  .portfolio__grid,
  .portfolio__grid--two { grid-template-columns: 1fr; }
  .testimonial { flex: 0 0 calc(100% - 4px); }

  .knowledge__inner { grid-template-columns: 1fr; gap: 40px; }
  .knowledge__intro { position: static; }
  .k-item__title { font-size: 15px; }

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

  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__brand { grid-column: auto; }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    bottom: -320px;
    width: calc(100% - 32px);
  }
  .cookie-banner__actions { flex-direction: row; }
  .cookie-btn { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .testimonial { flex: 0 0 calc(100% - 8px); }
  .k-item__body { padding-left: 0; }
}
