:root{
  --bg:#0E1624;
  --bg2:#152238;
  --surface:#1C2F4A;
  --line:#2A3B55;
  --text:#FFFFFF;
  --muted:#B7C6DE;
  --orange:#FF5A0A;
  --max:1180px;

  /* Header-Höhe für korrektes Scrollen */
  --header-offset:90px;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}
img{max-width:100%;display:block;border-radius:10px}
a{text-decoration:none;color:inherit}

.wrap{
  width:min(calc(100% - 32px), var(--max));
  margin:auto;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  background:rgba(14,22,36,0.94);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
  z-index:50;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 0;
}

.brand img{
  width:220px;
  height:auto;
}

/* Desktop menu */
.desktop-menu{
  display:flex;
  gap:24px;
  font-size:15px;
}
.desktop-menu a{
  color:var(--muted);
  position:relative;
}
.desktop-menu a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:var(--orange);
  transition:width .2s ease;
}
.desktop-menu a:hover{
  color:var(--text);
}
.desktop-menu a:hover::after{
  width:100%;
}

/* Mobile menu toggle */
.menu-toggle{
  display:none;
  width:32px;
  height:24px;
  border:none;
  background:transparent;
  cursor:pointer;
  flex-direction:column;
  justify-content:space-between;
}
.menu-toggle span{
  display:block;
  height:3px;
  border-radius:3px;
  background:var(--text);
  transition:transform .2s ease, opacity .2s ease;
}
.menu-toggle.open span:nth-child(1){
  transform:translateY(10px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2){
  opacity:0;
}
.menu-toggle.open span:nth-child(3){
  transform:translateY(-10px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu{
  position:fixed;
  top:80px;
  right:-260px;
  width:240px;
  background:var(--bg2);
  border-left:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:16px;
  gap:12px;
  transition:right .25s ease;
  z-index:40;
}
.mobile-menu a{
  padding:8px 4px;
  color:var(--muted);
}
.mobile-menu a:hover{
  color:var(--text);
}
.mobile-menu.open{
  right:0;
}
.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
  z-index:30;
}
.mobile-overlay.open{
  opacity:1;
  pointer-events:auto;
}

/* HERO */
.hero{
  padding:120px 0;
  background:linear-gradient(180deg, var(--bg), var(--bg2));
  border-bottom:1px solid var(--line);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:40px;
  align-items:center;
}

h1{
  font-size:48px;
  margin-bottom:16px;
  line-height:1.15;
}

.lead{
  font-size:20px;
  color:var(--muted);
  margin-bottom:16px;
}

.hero-text{
  color:var(--muted);
}

.eyebrow{
  color:#8fb1ff;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
}

.cta{
  margin-top:26px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.btn{
  padding:14px 22px;
  border-radius:10px;
  font-weight:700;
  border:1px solid var(--line);
  cursor:pointer;
  display:inline-block;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn.primary{
  background:var(--orange);
  color:white;
  border-color:transparent;
  box-shadow:0 10px 24px rgba(0,0,0,0.35);
}

.btn.primary:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 30px rgba(0,0,0,0.45);
}

.btn.secondary{
  background:transparent;
  color:var(--muted);
}

.btn.secondary:hover{
  color:var(--text);
  background:rgba(255,255,255,0.03);
}

/* SECTIONS */
section{
  padding:80px 0;
  border-bottom:1px solid var(--line);
  background:var(--bg2);
}

h2{
  font-size:34px;
  margin-bottom:16px;
}

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

.section-intro{
  color:var(--muted);
  max-width:60ch;
}

/* SERVICES */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:30px;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  padding:20px;
  border-radius:14px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.card img{
  margin-bottom:14px;
}

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

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(0,0,0,0.35);
  border-color:var(--orange);
}

/* FEATURES */
.features{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
  margin-top:30px;
}

.feature{
  background:var(--surface);
  border:1px solid var(--line);
  padding:16px;
  border-radius:14px;
  text-align:center;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.feature img{
  margin-bottom:10px;
}

.feature p{
  color:var(--muted);
}

.feature:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 32px rgba(0,0,0,0.35);
  border-color:var(--orange);
}

/* ABOUT */
.about{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:40px;
  align-items:center;
}

.about-list{
  margin-top:14px;
  padding-left:18px;
  color:var(--muted);
}

.about-list li{
  margin-bottom:8px;
}

/* CONTACT */
.contact{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:40px;
}

.contact-box{
  background:var(--surface);
  border:1px solid var(--line);
  padding:24px;
  border-radius:14px;
}

.contact-box p{
  color:var(--muted);
}

.contact-image{
  margin-top:16px;
}

.contact-form{
  margin-top:18px;
  display:grid;
  gap:14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.field label{
  font-size:14px;
  color:var(--muted);
}

.field input,
.field textarea{
  background:#101827;
  border:1px solid var(--line);
  border-radius:8px;
  padding:10px 12px;
  color:var(--text);
  font:inherit;
}

.field input:focus,
.field textarea:focus{
  outline:none;
  border-color:var(--orange);
}

/* FOOTER */
footer{
  padding:32px 0 40px;
  text-align:center;
  color:var(--muted);
  background:var(--bg);
}

.footer-inner{
  font-size:14px;
}

/* ANIMATIONS */
.fade-in{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .4s ease, transform .4s ease;
}

.fade-in.visible{
  opacity:1;
  transform:translateY(0);
}

/* SCROLL OFFSET FIX */
html{
  scroll-padding-top:var(--header-offset);
}

/* RESPONSIVE */
@media(max-width:980px){
  .hero-grid,
  .cards,
  .features,
  .about,
  .contact{
    grid-template-columns:1fr;
  }
  .features{
    grid-template-columns:repeat(2,1fr);
  }
  h1{
    font-size:38px;
  }
}

@media(max-width:720px){
  .desktop-menu{
    display:none;
  }
  .menu-toggle{
    display:flex;
  }
  .features{
    grid-template-columns:1fr;
  }
}
