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

:root {
  --max: 1240px;
  --bg: #0b1323;
  --bg-2: #101a2d;
  --panel: rgba(255,255,255,.065);
  --panel-strong: rgba(255,255,255,.10);
  --line: rgba(255,255,255,.13);
  --text: #eef4ff;
  --muted: #a9b8d3;
  --blue: #168dff;
  --cyan: #39d5ff;
  --gold: #c6aa55;
  --header: #e8ebef;
  --header-2: #d8dee6;
  --shadow: 0 28px 84px rgba(0,0,0,.28);
  --radius: 30px;
}

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

section,
#top,
#leistungen,
#vorteile,
#projekte,
#ablauf,
#kontakt {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(22,141,255,.18), transparent 30%),
    radial-gradient(circle at 100% 8%, rgba(57,213,255,.13), transparent 24%),
    linear-gradient(180deg, #0b1323 0%, #101a2d 46%, #151b2d 100%);
  overflow-x: hidden;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 31px, rgba(255,255,255,.018) 32px),
    linear-gradient(0deg, transparent 0 31px, rgba(255,255,255,.014) 32px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 70%);
  opacity: .75;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--header), var(--header-2));
  border-bottom: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
}

.header-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand img {
  width: min(360px, 42vw);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.12));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: #20304a;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
}

.main-nav a:hover {
  background: rgba(10,20,35,.08);
}

.nav-cta {
  color: white !important;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 24px rgba(22,141,255,.25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #22324d;
  border-radius: 999px;
}

.hero {
  padding: 54px 0 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 34px;
}

.eyebrow,
.section-tag {
  margin: 0 0 14px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(3rem, 6.6vw, 5.8rem);
  line-height: .95;
  letter-spacing: -.075em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1;
  letter-spacing: -.052em;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.lead,
.section-head p,
.service-card p,
.copy-panel p,
.check-list li,
.showcase-head p,
.overlay p,
.info-card p,
.process-card p,
.cta-box p,
.contact-copy p,
.contact-box,
.form-note,
.site-footer p {
  color: var(--muted);
  line-height: 1.78;
}

.lead {
  max-width: 760px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 42px rgba(22,141,255,.28);
}

.btn-secondary {
  color: white;
  background: rgba(255,255,255,.065);
  border: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 30px;
}

.metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
}

.metrics strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .88rem;
}

.hero-image-wrap {
  position: relative;
  padding: 14px;
  border-radius: 34px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.hero-image-wrap > img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 24px;
}

.floating-panel {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(7, 14, 28, .72);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
  color: #eaf3ff;
  font-weight: 700;
  box-shadow: 0 16px 38px rgba(0,0,0,.24);
}

.panel-one {
  left: 30px;
  bottom: 32px;
}

.panel-two {
  right: 30px;
  top: 32px;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 22px;
}

.panel-two strong {
  font-size: 1.4rem;
}

.panel-two span {
  color: var(--muted);
  font-size: .85rem;
}

.pulse {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--cyan);
}

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.03);
}

.logo-strip p {
  margin: 0;
  padding: 18px 0;
  text-align: center;
  letter-spacing: .28em;
  color: #cfd9ec;
  font-weight: 900;
  font-size: .8rem;
}

.section {
  padding: 78px 0;
}

.section-head {
  max-width: 840px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 30px;
}

.service-card,
.process-card,
.contact-form,
.contact-box,
.info-card,
.cta-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  box-shadow: 0 18px 48px rgba(0,0,0,.16);
}

.service-card {
  padding: 28px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57,213,255,.38);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(22,141,255,.24), rgba(57,213,255,.14));
  color: white;
  font-size: 1.2rem;
  font-weight: 900;
}

.feature-section {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.image-panel img {
  width: 100%;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 900;
}

.showcase-head {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 24px;
  align-items: end;
}

.showcase-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 20px;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  box-shadow: var(--shadow);
}

.large-card img {
  width: 100%;
  min-height: 540px;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(7, 12, 22, .94));
}

.info-card {
  padding: 28px;
}

.mini-process {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 24px;
}

.mini-process div {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  padding: 20px;
}

.mini-process strong {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -.08em;
}

.mini-process span {
  color: var(--muted);
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}

.process-card {
  padding: 26px;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--cyan);
  border: 1px solid rgba(57,213,255,.35);
  background: rgba(57,213,255,.10);
  font-weight: 900;
}

.cta-section {
  padding: 0 0 26px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(57,213,255,.16), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
}

.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.notice {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 18px;
  font-weight: 700;
}

.notice.success {
  background: rgba(45, 220, 135, .12);
  border: 1px solid rgba(45, 220, 135, .25);
  color: #bcffd9;
}

.notice.error {
  background: rgba(255, 80, 100, .12);
  border: 1px solid rgba(255, 80, 100, .25);
  color: #ffd1d8;
}

.contact-box {
  margin-top: 22px;
  padding: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.hidden-field {
  display: none !important;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.18);
  color: white;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(57,213,255,.55);
  box-shadow: 0 0 0 4px rgba(57,213,255,.10);
}

.site-footer {
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .showcase-head,
  .showcase-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

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

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

  .hero-copy {
    max-width: 860px;
  }
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 82px;
  }

  .brand img {
    width: min(280px, 62vw);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(232,236,241,.98), rgba(216,222,230,.98));
    box-shadow: 0 18px 44px rgba(0,0,0,.18);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    text-align: center;
  }

  .hero {
    padding-top: 34px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  h1 {
    font-size: 2.72rem;
  }

  .section {
    padding: 62px 0;
  }

  .service-grid,
  .process-grid,
  .mini-process {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap > img {
    min-height: 300px;
  }

  .floating-panel {
    display: none;
  }

  .large-card img {
    min-height: 360px;
  }

  .footer-inner {
    flex-direction: column;
  }
}


@media (max-width: 860px) {
  html {
    scroll-padding-top: 98px;
  }

  section,
  #top,
  #leistungen,
  #vorteile,
  #projekte,
  #ablauf,
  #kontakt {
    scroll-margin-top: 98px;
  }
}


.legal-page {
  max-width: 960px;
}

.legal-page h2 {
  margin-top: 42px;
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.legal-page h3 {
  margin-top: 28px;
}

.legal-page p,
.legal-page li {
  font-size: 1rem;
}

.legal-page .notice {
  margin: 24px 0 28px;
}
