:root {
  --bg: #0a0e17;
  --bg-2: #0f1626;
  --panel: #121b30;
  --panel-2: #16213c;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e7ecf6;
  --muted: #93a0bd;
  --blue: #1f8fff;
  --blue-2: #39c0ff;
  --yellow: #ffd400;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    Roboto,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
}

.wrap {
  width: min(1140px, 92%);
  margin: 0 auto;
}
section {
  padding: 96px 0;
  position: relative;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-2);
  font-weight: 700;
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 640px;
}
.grad {
  background: linear-gradient(
    90deg,
    var(--blue-2),
    var(--blue) 40%,
    var(--yellow) 120%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Honeypot-Feld: für Nutzer unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Animated background ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(
    1200px 700px at 80% -10%,
    #12223f 0%,
    var(--bg) 55%
  );
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.orb.a {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #1f8fff44, transparent 70%);
  top: -120px;
  right: -80px;
  animation: float1 16s ease-in-out infinite;
}
.orb.b {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #ffd40022, transparent 70%);
  bottom: -160px;
  left: -120px;
  animation: float2 20s ease-in-out infinite;
}
.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(
    circle at 50% 20%,
    #000 0%,
    transparent 75%
  );
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 75%);
  opacity: 0.5;
}
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 50px);
  }
}
@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(50px, -40px);
  }
}

/* ---------- Nav ---------- */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(10, 14, 23, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand svg {
  height: 34px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-2), var(--blue));
  color: #04121f;
  box-shadow: 0 10px 30px rgba(31, 143, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(31, 143, 255, 0.5);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero p.lead {
  margin: 22px 0 34px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.chip {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}
.chip b {
  color: var(--yellow);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  place-items: center;
}
.hero-visual .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  animation: spin 40s linear infinite;
}
.hero-visual .r1 {
  inset: 8%;
}
.hero-visual .r2 {
  inset: 22%;
  animation-duration: 28s;
  animation-direction: reverse;
}
.gear {
  width: 46%;
  filter: drop-shadow(0 12px 30px rgba(255, 212, 0, 0.35));
  animation: spin 18s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Services ---------- */
.services-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 32px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px 200px at var(--mx, 50%) -10%,
    rgba(31, 143, 255, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 143, 255, 0.4);
  box-shadow: var(--shadow);
}
.card:hover::before {
  opacity: 1;
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: rgba(31, 143, 255, 0.12);
  border: 1px solid rgba(31, 143, 255, 0.3);
  color: var(--blue-2);
}
.card .icon svg {
  width: 26px;
  height: 26px;
}
.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.card p {
  color: var(--muted);
  font-size: 0.98rem;
}
.card .num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.12);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.info-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.info-item .ic {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 212, 0, 0.1);
  border: 1px solid rgba(255, 212, 0, 0.28);
  color: var(--yellow);
}
.info-item .ic svg {
  width: 20px;
  height: 20px;
}
.info-item small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.info-item a:hover {
  color: var(--blue-2);
}

form {
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--muted);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 11px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(31, 143, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.field textarea {
  resize: vertical;
  min-height: 120px;
}
.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Impressum ---------- */
.impressum p,
.impressum li {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.impressum strong {
  color: var(--text);
}
.impressum ul {
  list-style: none;
  padding-left: 0;
}
.impressum ul li {
  position: relative;
  padding-left: 20px;
}
.impressum ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.impressum .block {
  margin-bottom: 26px;
}
.impressum h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

/* ---------- datenschutz ---------- */
.datenschutz p,
.datenschutz li {
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.datenschutz strong {
  color: var(--text);
}
.datenschutz ul {
  list-style: none;
  padding-left: 0;
}
.datenschutz ul li {
  position: relative;
  padding-left: 20px;
}
.datenschutz ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.datenschutz .block {
  margin-bottom: 26px;
}
.datenschutz h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}
.placeholder {
  color: var(--yellow);
  opacity: 0.85;
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: rgba(0, 0, 0, 0.2);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.foot .fnav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.foot a {
  color: var(--muted);
  font-size: 0.9rem;
}
.foot a:hover {
  color: var(--text);
}
.foot .copy {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.stagger > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-visual {
    max-width: 300px;
    order: -1;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .row2 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  section {
    padding: 70px 0;
  }
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 14, 23, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 10px 6%;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
  }
  .nav-links.open {
    transform: translateY(0);
  }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-cta {
    margin-top: 14px;
    justify-content: center;
  }
  .burger {
    display: flex;
  }
  .hero {
    padding: 120px 0 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  /*  Stern gehört zum Code!!{
  //  animation: none !important;
  //  transition: none !important;
  } */
  .reveal {
    opacity: 1;
    transform: none;
  }
}
