:root {
  --dark: #07090c;
  --dark-soft: #0d1117;
  --text: #ffffff;
  --muted: #a1a1aa;
  --blue: #3b82f6;
}

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

body {
  font-family: 'General Sans', sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

/* ===============================
   TOPBAR (wie Kontakt-Seite)
================================ */
.topbar{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(10,12,16,0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}
.brand{
  color:#fff;
  text-decoration:none;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .78rem;
  opacity:.9;
}
.nav-desktop{
  display:flex;
  align-items:center;
  gap: 14px;
}
.nav-link{
  color: rgba(255,255,255,0.85);
  text-decoration:none;
  font-size: .95rem;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .25s ease;
}
.nav-link:hover{
  background: rgba(255,255,255,0.08);
  color:#fff;
}
.nav-cta{
  background: rgba(59,130,246,0.18);
  border: 1px solid rgba(59,130,246,0.35);
}
.nav-cta:hover{
  background: rgba(59,130,246,0.28);
}

/* Hamburger */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
  position: relative;
  z-index: 10000;
}
.nav-toggle span{
  position:absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  transition: .25s ease;
}
.nav-toggle span:nth-child(1){ top: 14px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 28px; }

.nav-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.nav-mobile{
  display:none;
  padding: 10px 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  margin-top: 8px;
  color:#fff;
  text-decoration:none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}
.nav-mobile a:active{
  transform: scale(0.99);
}
.nav-mobile.open{ display:block; }

@media (max-width: 900px){
  .nav-desktop{ display:none; }
  .nav-toggle{ display:block; }
}

/* ===============================
   HERO – Agency Look
================================ */
.hero--agency{
  position: relative;
  min-height: calc(100svh - 62px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background: #07090c;
}

/* Hintergrund: dunkel + soft gradient (nicht “komisch”) */
.hero--agency .hero-bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at 50% 35%, rgba(59,130,246,0.18), transparent 65%),
    radial-gradient(700px 450px at 15% 20%, rgba(96,165,250,0.12), transparent 70%),
    radial-gradient(900px 600px at 85% 25%, rgba(30,64,175,0.10), transparent 70%),
    linear-gradient(180deg, #07090c 0%, #0b1220 55%, #07090c 100%);
  filter: saturate(1.05);
}

/* feines Noise für “Agency” */
.hero--agency .hero-noise{
  position:absolute;
  inset:-40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  opacity: .22;
  mix-blend-mode: overlay;
  pointer-events:none;
}

/* animierte “Lichtflächen” */
.hero-blobs .blob{
  position:absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(55px);
  opacity: .45;
  transform: translate3d(0,0,0);
  animation: float 10s ease-in-out infinite;
}
.hero-blobs .b1{ left: -120px; top: 10%; background: rgba(59,130,246,0.35); }
.hero-blobs .b2{ right: -140px; top: 18%; background: rgba(96,165,250,0.28); animation-duration: 12s;}
.hero-blobs .b3{ left: 20%; bottom: -220px; background: rgba(30,64,175,0.22); animation-duration: 14s;}

@keyframes float{
  0%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(20px,-18px) scale(1.05); }
  100%{ transform: translate(0,0) scale(1); }
}

/* Inhalt */
.hero-inner{
  position:relative;
  z-index:2;
  width: min(980px, 92vw);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 38px 18px 24px;
}

/* Logo groß + nie abgeschnitten */
.hero-logo{
  width: min(760px, 92vw);
  max-width: 760px;
  height:auto;
  display:block;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
}

/* Buttons */
.hero-actions{
  margin-top: 22px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content:center;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration:none;
  font-weight: 600;
  transition: .25s ease;
  border: 1px solid transparent;
}
.btn.primary{
  background: #3b82f6;
  color: #fff;
}
.btn.primary:hover{ background:#1e40af; transform: translateY(-1px); }
.btn.ghost{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color:#fff;
}
.btn.ghost:hover{ background: rgba(255,255,255,0.10); transform: translateY(-1px); }

.trust-row{
  margin-top: 18px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content:center;
  color: rgba(255,255,255,0.85);
  font-size: .95rem;
}
.trust-item{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 10px 12px;
  border-radius: 999px;
}

/* Mobile: mehr Platz oben, Logo kleiner aber komplett sichtbar */
@media (max-width: 600px){
  .hero--agency{ min-height: calc(100svh - 62px); }
  .hero-inner{ padding-top: 22px; }
  .hero-logo{ width: min(520px, 94vw); }
  .hero-actions .btn{ width: min(340px, 92vw); }
}



/* ===============================
   DIVIDER
================================ */

.soft-divider {
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    #f5f7fb
  );
}

/* ===============================
   SERVICES
================================ */

.services-section {
  background: #f5f7fb;
  padding: 160px 8vw 200px;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
  margin-bottom: 120px;
  font-weight: 700;
  color: #111;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  display: block;
  margin: 24px auto 0;
  border-radius: 999px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.service-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 45px 90px rgba(59,130,246,0.22);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: #111;
}

.service-card p {
  color: #555;
  line-height: 1.7;
}

/* Mobile Services */
@media (max-width: 768px) {
  .services-section {
    padding: 100px 6vw 120px;
  }

  .section-title {
    margin-bottom: 60px;
  }
}

/* ===============================
   CTA
================================ */

.finale {
  background: linear-gradient(135deg, #eef3ff, #ffffff);
  padding: 140px 8vw;
  text-align: center;
}

.finale h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 20px;
  color: #111;
}

.finale p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: #444;
}

.finale-points {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.finale-points span {
  font-size: 1rem;
  color: #222;
}

.finale-btn {
  display: inline-block;
  padding: 18px 44px;
  background: #3b82f6;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.finale-btn:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

/* ===============================
   FOOTER
================================ */

.site-footer {
  background: #0d1117;
  color: #ccc;
  padding: 80px 8vw 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer a,
.site-footer p {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: #3b82f6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #777;
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer-grid {
    text-align: center;
    gap: 30px;
  }
}

/* ===============================
   NAVIGATION – MODERN & CLEAN
================================ */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(10, 15, 25, 0.55);
  backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 6vw;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #e5e7eb;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #60a5fa;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===============================
   MOBILE NAV
================================ */

.nav-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 15, 25, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}

.hero-light-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://grainy-gradients.vercel.app/noise.svg");
  opacity: 0.12;
  pointer-events: none;
}

.nav-link.is-active{
  background: rgba(255,255,255,0.10);
  color:#fff;
  border: 1px solid rgba(255,255,255,0.14);
}
.nav-link.nav-cta.is-active{
  background: rgba(59,130,246,0.30);
  border-color: rgba(59,130,246,0.55);
}

/* ===== Mobile Fix: damit iOS/Android alles korrekt rendert ===== */
@media (max-width: 900px){
  .topbar-inner{
    padding: 12px 14px;
  }
  .brand{
    font-size: .78rem;
    max-width: 65%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero--agency{
    min-height: calc(100svh - 60px);
    padding-top: 10px;
  }
  .hero-inner{
    padding: 18px 14px 22px;
  }
  .hero-logo{
    width: min(520px, 92vw);
    max-width: 92vw;
  }
  .btn{
    -webkit-appearance: none;
    appearance: none;
  }
}
