/* ===================== ALTURA — Design System ===================== */
:root {
  --navy-950: #060f1d;
  --navy-900: #0a1628;
  --navy-800: #0d1f38;
  --navy-700: #102a4c;
  --blue:     #2f7fff;
  --blue-600: #2563eb;
  --blue-400: #5b9bff;
  --ink:      #0f1b2d;
  --slate:    #5b6b80;
  --slate-2:  #8595a8;
  --line:     #e6ebf2;
  --white:    #ffffff;
  --off:      #f6f8fb;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--blue); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.dot { color: var(--blue); }
.d-none-mobile { display: inline; }

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  padding: 14px 26px; border-radius: 10px; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.btn--primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37,99,235,0.45); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); transform: translateY(-2px); }

/* ===================== Navbar ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.22em; color: #fff; }
.nav__links { display: flex; gap: 38px; }
.nav__links a { color: rgba(255,255,255,0.82); font-size: 0.95rem; font-weight: 500; transition: color 0.2s; position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--blue); transition: width 0.25s var(--ease); }
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 24px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s var(--ease); }

/* scrolled state */
.nav.scrolled { background: rgba(8,18,33,0.85); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,0.06); }

/* ===================== Hero ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--navy-900); color: #fff; padding-top: 90px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, var(--navy-950) 0%, rgba(8,18,33,0.78) 30%, rgba(8,18,33,0.25) 55%, rgba(8,18,33,0) 75%),
    url("../img/hero-bg.jpg") right center / cover no-repeat,
    var(--navy-900);
}
.hero__bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; z-index: 1; display: block; width: 100%; padding-top: 20px; padding-bottom: 60px; }
.hero__text { max-width: 620px; }

.hero__eyebrow { color: var(--blue-400); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 24px; }
.hero__title { font-size: clamp(2.8rem, 6.5vw, 5rem); margin-bottom: 26px; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.82); max-width: 460px; margin-bottom: 28px; font-weight: 400; }
.hero__tagline { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 700; font-family: var(--font-display); margin-bottom: 38px; letter-spacing: -0.01em; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero visual */
.hero__visual { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }
.hero__photo {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,22,40,0) 40%, rgba(10,22,40,0.55) 100%),
    repeating-linear-gradient(95deg, rgba(140,170,210,0.10) 0 38px, rgba(90,120,160,0.16) 38px 40px),
    linear-gradient(160deg, #20405f 0%, #14283f 60%, #0c1a2c 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.06);
}
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 70% 20%, rgba(120,180,255,0.18), transparent 55%);
}
.hero__drone { position: relative; z-index: 2; width: 92%; max-width: 460px; animation: hover 6s ease-in-out infinite; }
.drone-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.5)); }
.rotors { animation: spin 8s linear infinite; transform-origin: center; }
.spray { animation: drip 2.2s ease-in infinite; }

@keyframes hover { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drip { 0% { opacity: 0; transform: translateY(-6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===================== Generic Section ===================== */
.section { padding: 110px 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__eyebrow { color: var(--blue-600); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; }
.section__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section__sub { color: var(--slate); font-size: 1.05rem; }
.section--dark { background: var(--navy-900); color: #fff; }
.section--dark .section__sub { color: rgba(255,255,255,0.72); }

/* ===================== Features strip ===================== */
.features { background: var(--white); padding: 70px 0; border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.feature { padding: 14px 36px; position: relative; }
.feature + .feature::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.feature__icon { color: var(--blue-600); margin-bottom: 18px; }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--slate); font-size: 0.92rem; }

/* ===================== Leistungen ===================== */
.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 38px 36px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(47,127,255,0.4); box-shadow: 0 18px 44px rgba(15,27,45,0.08); }
.service-card__num { font-family: var(--font-display); font-weight: 700; color: var(--blue-600); font-size: 0.95rem; letter-spacing: 0.1em; margin-bottom: 18px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.service-card p { color: var(--slate); }

/* ===================== Technologie ===================== */
.tech__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.tech__list { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.tech__list li { position: relative; padding-left: 30px; color: rgba(255,255,255,0.82); }
.tech__list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(47,127,255,0.18); border: 2px solid var(--blue);
}
.tech__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 34px 28px; text-align: center; }
.stat__num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: #fff; line-height: 1; }
.stat__label { display: block; margin-top: 10px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ===================== Über uns ===================== */
.about__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center; }
.about__cards { display: grid; gap: 16px; }
.about-stat { display: flex; align-items: baseline; gap: 18px; padding: 22px 28px; background: var(--off); border-radius: 14px; border: 1px solid var(--line); }
.about-stat span { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--blue-600); min-width: 90px; }
.about-stat small { color: var(--slate); font-size: 0.98rem; }

/* ===================== Launch / Signup ===================== */
/* Mobile-first: full image as a band on top, text below (never cropped). */
.launch { position: relative; background: #eef3fb; overflow: hidden; }
.launch__img { display: block; width: 100%; height: auto; }   /* full image, native ratio */
.launch__inner { padding: 40px 0 64px; }
.launch__text { max-width: 600px; }
.launch__eyebrow { color: var(--blue-600); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 18px; }
.launch__title { font-size: clamp(1.9rem, 3.3vw, 3rem); margin-bottom: 20px; color: var(--ink); }
.launch__lead { color: var(--slate); font-size: 1.05rem; max-width: 540px; margin-bottom: 30px; }

.signup { display: flex; gap: 12px; max-width: 560px; }
.signup__field { position: relative; flex: 1; }
.signup__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--slate-2); }
.signup__field input {
  width: 100%; padding: 16px 16px 16px 46px; border: 1px solid #cdd9ec; border-radius: 10px;
  font-family: var(--font-body); font-size: 0.98rem; background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.signup__field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,127,255,0.12); }
.signup__btn { flex-shrink: 0; }
.signup__msg { margin-top: 14px; font-size: 0.92rem; font-weight: 500; min-height: 1.2em; }
.signup__msg.ok { color: #0f8a4a; }
.signup__msg.err { color: #d23c3c; }
.signup__privacy { display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; color: var(--slate); font-size: 0.85rem; }
.signup__privacy svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--slate-2); }

/* Desktop: overlay the text on the image's open sky (image stays full width). */
@media (min-width: 1100px) {
  .launch__inner {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; padding-top: 0; padding-bottom: 0;
  }
  .launch::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #eef3fb 0%, rgba(238,243,251,0.9) 24%, rgba(238,243,251,0.45) 44%, rgba(238,243,251,0) 62%);
  }
  .launch__text { position: relative; max-width: 540px; }
  .launch__title { white-space: nowrap; }
}

/* ===================== Footer ===================== */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 70px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.22em; color: #fff; display: block; margin-bottom: 16px; }
.footer__brand p { font-size: 0.92rem; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer__col a { display: block; color: rgba(255,255,255,0.62); font-size: 0.92rem; margin-bottom: 11px; transition: color 0.2s; }
.footer__col a:hover { color: var(--blue-400); }
.footer__contact a, .footer__loc { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--blue-400); flex-shrink: 0; }
.footer__loc { color: rgba(255,255,255,0.62); font-size: 0.92rem; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); transition: background 0.2s, transform 0.2s; }
.footer__social a:hover { background: var(--blue-600); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }

/* ===================== Reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .tech__inner, .about__inner, .launch__inner { grid-template-columns: 1fr; gap: 40px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .feature:nth-child(odd) { padding-left: 0; }
  .feature:nth-child(2)::before, .feature:nth-child(4)::before { display: none; }
  .launch__visual { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  /* Darken further + keep drone visible at top-right behind text */
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(8,18,33,0.55) 0%, rgba(8,18,33,0.82) 60%, var(--navy-900) 100%),
      url("../img/hero-bg.jpg") 72% center / cover no-repeat,
      var(--navy-900);
  }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(8,18,33,0.97); backdrop-filter: blur(14px); padding: 14px 22px; border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav__links.open a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .section { padding: 76px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .tech__stats { grid-template-columns: 1fr 1fr; }
  .signup { flex-direction: column; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .d-none-mobile { display: none; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .feature::before { display: none !important; }
  .feature { padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
