/* ─────────────────────────────────────────
   FONTS
───────────────────────────────────────── */

/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/inter/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/inter/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/inter/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/inter/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/inter/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('/assets/fonts/inter/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/assets/fonts/inter/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ─────────────────────────────────────────
   RESET & TOKENS
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:        #6366f1;
  --accent-dark:   #4f46e5;
  --accent-light:  #eef2ff;
  --fg:            #0a0a0f;
  --fg-muted:      #6b7280;
  --bg:            #ffffff;
  --bg-2:          #f9fafb;
  --border:        #e5e7eb;
  --card-shadow:   0 1px 3px rgba(0,0,0,.06), 0 8px 32px rgba(0,0,0,.06);
  --card-hover:    0 4px 6px rgba(0,0,0,.04), 0 20px 64px rgba(99,102,241,.12);
  --radius:        16px;
  --radius-sm:     10px;
  --font:          'Inter', system-ui, sans-serif;
  --nav-h:         68px;
  --transition:    .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: .9375rem;
  border-radius: 50px;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn--sm { padding: 10px 20px; font-size: .875rem; }
.btn--full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}
.nav__logo {
  margin-right: auto;
}
.nav__logo img {
  width: 100%;
  height: 1.25rem;
}
.footer .nav__logo img {
  height: 2.5rem;
}
@media (max-width: 768px) {
  .footer .nav__logo {
    margin: 0 auto;
  }
}
.dot { color: var(--accent); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--fg); }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  transition: color var(--transition);
}
.nav__mobile-link:last-child { border-bottom: none; }
.nav__mobile-link:hover { color: var(--accent); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: drift 12s ease-in-out infinite alternate;
}
.blob--1 { width: 600px; height: 600px; background: radial-gradient(circle, #c7d2fe, transparent); top: -120px; right: -100px; }
.blob--2 { width: 400px; height: 400px; background: radial-gradient(circle, #ddd6fe, transparent); bottom: 0; left: -80px; animation-delay: -4s; animation-duration: 15s; }
.blob--3 { width: 300px; height: 300px; background: radial-gradient(circle, #e0e7ff, transparent); top: 40%; left: 40%; animation-delay: -8s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(30px, -20px) scale(1.08); } }

.hero__inner { text-align: center; position: relative; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .875rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.25);
  animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(34,197,94,.25); } 50% { box-shadow: 0 0 0 6px rgba(34,197,94,.1); } }

.hero__headline {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 36px;
  box-shadow: var(--card-shadow);
}
.stat { text-align: center; }
.stat__num {
  display: inline-block;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fg);
}
.stat__label {
  display: block;
  font-size: .8125rem;
  color: var(--fg-muted);
  font-weight: 500;
  margin-top: 2px;
}
.stat__divider { width: 1px; height: 48px; background: var(--border); }

.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--fg-muted);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: fadeInUp 1s 1.5s both;
}
.scroll-dot { animation: scrollBounce 1.5s ease-in-out infinite; }
@keyframes scrollBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.impressum, .datenschutz {
  max-width: 840px;
  margin: 0 auto 2rem;
  width: 100%;
}

.impressum p, .datenschutz p {
  font-size: 1.125rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   SECTIONS (shared)
───────────────────────────────────────── */
.section { padding: 100px 0; }
.section__header { text-align: center; margin-bottom: 60px; }
.section__tag {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--fg);
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
.services { background: var(--bg-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}
.card:hover { box-shadow: var(--card-hover); transform: translateY(-4px); }
.card--featured {
  background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
  color: #fff;
  border-color: transparent;
}
.card--featured .card__title { color: #fff; }
.card--featured .card__body { color: rgba(255,255,255,.75); }
.card--featured .card__list li { color: rgba(255,255,255,.85); }
.card--featured .card__list li::before { background: rgba(255,255,255,.5); }

.card__badge {
  position: absolute;
  top: -12px; right: 24px;
  background: #f59e0b;
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 4px 12px;
  border-radius: 50px;
}
.card__icon { 
  margin-bottom: 20px;
  background: var(--accent-light);
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__icon svg {
  width: 2rem;
  height: 2rem;
  fill: var(--accent);
}

span.subline {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 500;
}

.card--featured span.subline {
  color: rgba(255,255,255,.75);
}

.card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}

.card__body {
  font-size: .9375rem;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.card__list { display: flex; flex-direction: column; gap: 8px; }
.card__list li {
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__image-wrap {
  position: relative;
  padding: 24px;
}
.about__image-blob {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e0e7ff, #ddd6fe);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  animation: morphBlob 8s ease-in-out infinite alternate;
}
@keyframes morphBlob {
  from { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
  to   { border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%; }
}
.about__image {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 40px;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(99,102,241,.2);
}
.about__image-card {
  position: absolute;
  bottom: 16px;
  right: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  white-space: nowrap;
}

.about__content .section__tag { margin-bottom: 12px; display: block; }
.about__content .section__title { margin-bottom: 20px; }
.about__text {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 32px;
}
.skill-tag {
  font-size: .8125rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 6px 14px;
  border-radius: 50px;
}

/* ─────────────────────────────────────────
   CLIENTS
───────────────────────────────────────── */
.clients { background: var(--bg-2); overflow: hidden; }
.clients .section__header { margin-bottom: 48px; }
.clients__track-wrap {
  position: relative;
  overflow: hidden;
}
.clients__track-wrap::before,
.clients__track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 1;
  pointer-events: none;
}
.clients__track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.clients__track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), transparent); }

.clients__track {
  display: flex;
  gap: 0;
  animation: marquee 36s linear infinite;
  width: max-content;
  gap: 8rem;
}
.clients__track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4c9d4;
  transition: color var(--transition);
  flex-shrink: 0;
}
.client-logo:hover { color: var(--fg-muted); }
.client-logo img {
  height: auto;
  width: 10rem;
  max-height: 3rem;
  filter: grayscale(1);
}

.client-logo img:hover {
  filter: grayscale(0);
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact__info .section__tag { display: block; margin-bottom: 12px; }
.contact__info .section__title { margin-bottom: 16px; }
.contact__sub { color: var(--fg-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 40px; }

.contact__methods { display: flex; flex-direction: column; gap: 16px; }
.contact__method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.contact__method:hover { border-color: var(--accent); background: var(--accent-light); }
.contact__method-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__method-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--accent);
}
.contact__method-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--fg-muted);
}
.contact__method-value {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--fg);
}

/* Form */
.contact__form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact__form { display: flex; flex-direction: column; gap: 20px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--fg);
}
.form__group input,
.form__group select,
.form__group textarea {
  font-family: var(--font);
  font-size: .9375rem;
  color: var(--fg);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
  outline: none;
  resize: vertical;
  appearance: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,.12); }
.form__group input.error,
.form__group select.error,
.form__group textarea.error { border-color: #ef4444; }
.form__group input::placeholder,
.form__group textarea::placeholder { color: #9ca3af; }

.form__error {
  font-size: .8125rem;
  color: #ef4444;
  font-weight: 500;
  display: none;
}
.form__error.visible { display: block; }

.form__success {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.form__success.visible { display: flex; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__copy { font-size: .875rem; color: var(--fg-muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: .875rem;
  color: var(--fg-muted);
  font-weight: 500;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--fg); }

.footer svg path {
  fill: var(--accent);
}

/* ─────────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }

  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__image-wrap { max-width: 400px; margin: 0 auto; }

  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero__stats { gap: 20px; padding: 16px 24px; }
  .stat__num { font-size: 1.4rem; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 24px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .hero__cta { flex-direction: column; align-items: center; }
}
