:root {
  --dark: #070812;
  --dark-soft: #111320;
  --white: #ffffff;
  --text: #d8dcff;
  --muted: #9ca3c7;
  --pink: #ff3cac;
  --purple: #784ba0;
  --cyan: #2bffea;
  --blue: #4f46e5;
  --glass: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 999;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.blob {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: -1;
  animation: float 8s ease-in-out infinite alternate;
}

.blob-1 {
  top: 10%;
  left: -120px;
  background: var(--pink);
}

.blob-2 {
  right: -120px;
  bottom: 10%;
  background: var(--cyan);
  animation-delay: 2s;
}

@keyframes float {
  from {
    transform: translateY(0) scale(1);
  }
  to {
    transform: translateY(-60px) scale(1.15);
  }
}


.navbar {
  position: sticky;
  top: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 18px 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 8, 18, 0.62);
  backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logo {
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: -1px;
  white-space: nowrap;
}

.logo span {
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: #050713;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  box-shadow: 0 0 24px rgba(43, 255, 234, 0.28);
}

.nav-links a::after {
  display: none;
}

.nav-cta {
  position: relative;
  overflow: hidden;
  padding: 12px 22px;
  border-radius: 999px;
  color: #050713;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 0 35px rgba(43, 255, 234, 0.32);
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: translateX(-120%);
  transition: 0.6s ease;
}

.nav-cta:hover::before {
  transform: translateX(120%);
}

.menu-toggle {
  display: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  place-items: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.menu-button span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--white);
  transition: 0.3s ease;
}

.menu-button span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-button span:nth-child(3) {
  transform: translateY(7px);
}

/* Mobile Navbar */
@media (max-width: 760px) {
  .navbar {
    border-radius: 28px;
    padding: 14px;
  }

  .menu-button {
    display: grid;
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 28px;
    background: rgba(7, 8, 18, 0.88);
    border: 1px solid var(--border);
    backdrop-filter: blur(24px) saturate(160%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.96);
    transition: 0.3s ease;
  }

  .nav-links a {
    justify-content: center;
    padding: 15px;
    font-size: 1.05rem;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle:checked ~ .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .menu-toggle:checked + .menu-button span:nth-child(1) {
    transform: rotate(45deg);
  }

  .menu-toggle:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked + .menu-button span:nth-child(3) {
    transform: rotate(-45deg);
  }
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 28px 8%;
  background:
    radial-gradient(circle at top, rgba(120, 75, 160, 0.35), transparent 35%),
    linear-gradient(135deg, #070812, #111827);
}

.hero-content {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(43, 255, 234, 0.1);
  border: 1px solid rgba(43, 255, 234, 0.25);
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: -5px;
  max-width: 900px;
}

.hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 620px;
  margin: 30px 0 38px;
  color: var(--text);
  font-size: 1.2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.35s ease;
}

.btn:hover {
  transform: translateY(-5px) scale(1.03);
}

.primary {
  color: #050713;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  box-shadow: 0 18px 45px rgba(43, 255, 234, 0.25);
}

.secondary {
  color: var(--white);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.browser-card {
  width: min(100%, 520px);
  min-height: 390px;
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  backdrop-filter: blur(22px);
  box-shadow:
    0 40px 100px rgba(0,0,0,0.45),
    inset 0 0 60px rgba(255,255,255,0.04);
  transform: rotate(-3deg);
  animation: cardFloat 5s ease-in-out infinite alternate;
}

@keyframes cardFloat {
  from {
    transform: rotate(-3deg) translateY(0);
  }
  to {
    transform: rotate(-1deg) translateY(-22px);
  }
}

.browser-top {
  display: flex;
  gap: 9px;
  margin-bottom: 26px;
}

.browser-top span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--pink);
}

.browser-top span:nth-child(2) {
  background: #ffd166;
}

.browser-top span:nth-child(3) {
  background: var(--cyan);
}

.dashboard {
  border-radius: 26px;
  padding: 24px;
  background: rgba(7, 8, 18, 0.75);
  border: 1px solid var(--border);
}

.dash-header {
  height: 64px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--pink), var(--blue), var(--cyan));
  background-size: 200% 200%;
  animation: gradientMove 4s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: left; }
  50% { background-position: right; }
  100% { background-position: left; }
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.dash-grid div {
  height: 92px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
}

.dash-chart {
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  position: relative;
}

.dash-chart span {
  position: absolute;
  inset: auto 0 0 0;
  height: 65%;
  background: linear-gradient(135deg, var(--cyan), var(--pink));
  clip-path: polygon(0 80%, 15% 40%, 35% 65%, 55% 20%, 75% 55%, 100% 10%, 100% 100%, 0 100%);
}

.floating-card {
  position: absolute;
  padding: 18px 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.11);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 25px 70px rgba(0,0,0,0.35);
  animation: miniFloat 4s ease-in-out infinite alternate;
}

.floating-card strong {
  display: block;
  font-size: 1.7rem;
}

.floating-card span {
  color: var(--text);
  font-size: 0.9rem;
}

.card-a {
  top: 80px;
  right: 0;
}

.card-b {
  bottom: 70px;
  left: 0;
  animation-delay: 1.5s;
}

@keyframes miniFloat {
  to {
    transform: translateY(-18px);
  }
}

/* SECTIONS */

.section {
  padding: 110px 8%;
	position: relative;
  padding: 110px 8%;
}

/* Übergang nach oben */
.section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(7, 8, 18, 0.8)
  );
}

.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(43,255,234,0.4),
    transparent
  );
  margin: 40px 0;
  opacity: 0.4;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 65px;
  text-align: center;
}

.section-heading p {
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -2px;
}

.services-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  padding: 36px;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(43,255,234,0.25), transparent 35%);
  opacity: 0;
  transition: 0.35s;
}

.service-card:hover {
  transform: translateY(-12px);
  border-color: rgba(43,255,234,0.45);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  background:
    radial-gradient(circle at top right, rgba(255,60,172,0.24), transparent 40%),
    linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.045));
}

.icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  color: #050713;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 28px;
}

.service-card h3 {
  position: relative;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-card p {
  position: relative;
  color: var(--muted);
}

.dark-section {
  background:
    radial-gradient(circle at center, rgba(79,70,229,0.22), transparent 35%),
    #090b16;
}

.work-card {
  min-height: 360px;
  padding: 32px;
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  transition: 0.4s ease;
}

.work-card:nth-child(2) {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.work-card:nth-child(3) {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  color: #111320;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}

.work-card:hover {
  transform: scale(1.04) rotate(-1deg);
}

.work-card span,
.work-card h3 {
  position: relative;
  z-index: 1;
}

.work-card span {
  font-weight: 800;
  opacity: 0.8;
  margin-bottom: 8px;
}

.work-card h3 {
  font-size: 2rem;
  line-height: 1.1;
}

/* CTA */

.cta-section {
  padding: 110px 8%;
}

.cta-box {
  max-width: 1100px;
  margin: auto;
  padding: 80px 40px;
  text-align: center;
  border-radius: 42px;
  background:
    radial-gradient(circle at top left, rgba(255,60,172,0.42), transparent 35%),
    radial-gradient(circle at bottom right, rgba(43,255,234,0.32), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 110px rgba(0,0,0,0.45);
}

.cta-box h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.cta-box p {
  color: var(--text);
  margin-bottom: 34px;
  font-size: 1.15rem;
}

footer {
  padding: 34px 8%;
  text-align: center;
  color: var(--muted);
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 80px 0;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .services-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .navbar {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .nav-cta {
    display: none;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .browser-card {
    transform: none;
  }

  .card-a,
  .card-b {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero,
  .section,
  .cta-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .service-card,
  .work-card {
    padding: 26px;
  }

  .cta-box {
    padding: 56px 24px;
  }
}

.process-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(43,255,234,0.12), transparent 45%),
    transparent;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.process-card {
  position: relative;
  min-height: 260px;
  padding: 34px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.105),
    rgba(255,255,255,0.035)
  );
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(0,0,0,0.22);
  transition: 0.35s ease;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255,60,172,0.22), transparent 38%),
    radial-gradient(circle at bottom left, rgba(43,255,234,0.16), transparent 42%);
  opacity: 0;
  transition: 0.35s ease;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 34px;
  right: 34px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--cyan));
  filter: blur(34px);
  opacity: 0.25;
}

.process-card:hover {
  transform: translateY(-10px);
  border-color: rgba(43,255,234,0.42);
  box-shadow: 0 34px 100px rgba(43,255,234,0.12);
}

.process-card:hover::before {
  opacity: 1;
}

.step-number {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 26px;
  font-size: 0.9rem;
  font-weight: 950;
  letter-spacing: 2px;
  color: var(--cyan);
}

.process-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.process-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
}

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

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

  .process-card {
    min-height: auto;
  }
}

/* Footer Links */
.legal-links {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  justify-content: center;
}

.legal-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: 0.3s;
}

.legal-links a:hover {
  color: var(--cyan);
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

.overlay.active {
  pointer-events: auto;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 19, 0.7);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.3s ease;
}

.overlay.active .overlay-backdrop {
  opacity: 1;
}

/* MODAL */
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) scale(0.96);
  width: min(90%, 700px);
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 28px;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.12),
    rgba(255,255,255,0.04)
  );
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);

  box-shadow: 0 40px 120px rgba(0,0,0,0.6);

  opacity: 0;
  transition: 0.35s ease;
}

/* sichtbar */
.overlay.active .modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Inhalt */
.modal h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.modal p {
  margin-bottom: 16px;
  color: var(--text);
  line-height: 1.6;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
}

.close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* Scrollbar (optional Premium) */
.modal::-webkit-scrollbar {
  width: 6px;
}

.modal::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--pink), var(--cyan));
  border-radius: 999px;
}