/* ===========================================================
   KI-Agentur Netpartner — Cinematic Glossy Design System
=========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-void: #050608;
  --bg-deep: #0a0c10;
  --bg-surface: #0e1117;
  --bg-surface-2: #141822;

  --accent: #e6c675;
  --accent-2: #d1a14a;
  --accent-3: #f2dc9b;
  --accent-glow: rgba(230, 198, 117, 0.45);

  --text-hi: #f3f6f8;
  --text-mid: #aab2c0;
  --text-low: #6b7280;

  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.035);

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

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 400ms;

  --space-section: clamp(5rem, 4rem + 6vw, 11rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Cinematic ambient background ---------- */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(230, 198, 117, 0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 100% 10%, rgba(209, 161, 74, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(242, 220, 155, 0.10), transparent 60%),
    var(--bg-void);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.starfield {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.starfield span {
  position: absolute;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.5;
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.8; }
}

::selection { background: var(--accent); color: #00150f; }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
section { position: relative; padding: var(--space-section) 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}

h1 { font-size: clamp(2.8rem, 2rem + 4.5vw, 5.6rem); line-height: 1.02; }
h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.4rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }

p.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.3rem);
  color: var(--text-mid);
  max-width: 640px;
  font-weight: 300;
}

.text-gradient {
  background: linear-gradient(120deg, #fff 10%, var(--accent) 45%, var(--accent-2) 75%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 8s linear infinite;
}
@keyframes shine {
  to { background-position: 200% center; }
}

/* ---------- Glass / Glossy panels ---------- */
.glass {
  background: linear-gradient(180deg, var(--glass-bg), rgba(255,255,255,0.01));
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  position: relative;
  overflow: hidden;
}
.glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.10) 0%, transparent 35%);
  pointer-events: none;
}
.glass::after {
  content: '';
  position: absolute;
  top: -1px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--duration-normal) var(--ease-out-expo), box-shadow var(--duration-normal) var(--ease-out-expo), filter var(--duration-normal);
  white-space: nowrap;
}
.btn-primary {
  color: #00211b;
  background: linear-gradient(135deg, #7ef6e1, var(--accent) 55%, #4ad8c2);
  box-shadow: 0 8px 30px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.6);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 14px 40px -6px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.7); filter: brightness(1.05); }
.btn-ghost {
  color: var(--text-hi);
  background: rgba(255,255,255,0.04);
  border-color: var(--glass-border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.btn-arrow { transition: transform var(--duration-normal) var(--ease-out-expo); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
header.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background var(--duration-normal), border-color var(--duration-normal), padding var(--duration-normal);
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(5, 6, 8, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-hi);
}
.logo-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  box-shadow: 0 0 18px var(--accent-glow);
}
.logo-sub {
  color: var(--text-low);
  font-weight: 400;
  font-size: 0.82em;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

nav.links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
nav.links a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration-normal);
}
nav.links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out-expo);
}
nav.links a:hover, nav.links a.active { color: var(--text-hi); }
nav.links a:hover::after, nav.links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 1.4rem; }

.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown > a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color var(--duration-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown > a::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: currentColor;
  border-radius: 50%;
  margin-left: 0.2rem;
}
.nav-dropdown > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--duration-normal) var(--ease-out-expo);
}
.nav-dropdown > a:hover, .nav-dropdown > a.active {
  color: var(--text-hi);
}
.nav-dropdown > a:hover::after, .nav-dropdown > a.active::after {
  width: 100%;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 17, 23, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.8rem 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 400;
  border-left: 2px solid transparent;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease;
}
.dropdown-menu a:hover {
  color: var(--accent);
  background: rgba(230, 198, 117, 0.08);
  border-left-color: var(--accent);
}

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero-badges { display: flex; gap: 0.9rem; margin-top: 2.4rem; flex-wrap: wrap; }
.badge {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.hero-cta { display: flex; gap: 1rem; margin-top: 2.8rem; flex-wrap: wrap; }

.hero-orb-wrap {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orb {
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.5), var(--accent) 30%, var(--accent-2) 65%, transparent 75%);
  filter: blur(0px);
  position: relative;
  box-shadow: 0 0 120px 30px rgba(230, 198, 117, 0.35), inset -30px -30px 60px rgba(0,0,0,0.35), inset 20px 20px 50px rgba(255,255,255,0.25);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.02); }
}
.ring {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  animation: spin-slow linear infinite;
}
.ring-1 { width: 400px; height: 400px; animation-duration: 18s; }
.ring-2 { width: 470px; height: 470px; animation-duration: 28s; border-style: dashed; opacity: 0.5; }
.ring-3 { width: 540px; height: 540px; animation-duration: 40s; opacity: 0.3; }

.scroll-cue {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.6rem;
  color: var(--text-low);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 40px; background: linear-gradient(180deg, var(--accent), transparent); animation: pulse-line 2s ease-in-out infinite; }
@keyframes pulse-line { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee-wrap {
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 1.8rem 0;
  overflow: hidden;
  background: rgba(255,255,255,0.015);
}
.marquee {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-low);
  display: flex; align-items: center; gap: 0.7rem;
}
.marquee span::after { content: '◆'; color: var(--accent); font-size: 0.6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section header ---------- */
.section-head { max-width: 680px; margin-bottom: 4rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }

.card {
  padding: 2.4rem 2.1rem;
  transition: transform var(--duration-normal) var(--ease-out-expo), border-color var(--duration-normal), box-shadow var(--duration-normal);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(230, 198, 117, 0.3);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(230, 198, 117, 0.08);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(94,234,212,0.18), rgba(129,140,248,0.12));
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 0.8rem; }
.card p { color: var(--text-mid); font-size: 0.96rem; }
.card .num {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: var(--text-low);
}

/* ---------- Stats ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; padding: 2.2rem 1rem; }
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: var(--text-mid); font-size: 0.85rem; margin-top: 0.4rem; }

/* ---------- Process / timeline ---------- */
.timeline { position: relative; padding-left: 2.6rem; }
.timeline::before {
  content: '';
  position: absolute; left: 10px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
}
.t-step { position: relative; padding-bottom: 3rem; }
.t-step:last-child { padding-bottom: 0; }
.t-step::before {
  content: '';
  position: absolute; left: -2.6rem; top: 4px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.t-step .tag { font-family: var(--font-display); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.t-step h3 { margin: 0.4rem 0 0.6rem; }
.t-step p { color: var(--text-mid); max-width: 560px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: clamp(3.5rem, 3rem + 3vw, 6rem) clamp(2rem, 5vw, 5rem);
  text-align: center;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: -40%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  opacity: 0.18;
  filter: blur(60px);
  animation: spin-slow 16s linear infinite;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p.lead { margin: 0 auto 2.2rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-grid h4 { font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-low); margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-grid a { color: var(--text-mid); text-decoration: none; font-size: 0.93rem; transition: color var(--duration-normal); }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--glass-border);
  color: var(--text-low); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem;
}
.social-row { display: flex; gap: 1rem; }
.social-row a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text-mid);
  text-decoration: none;
  transition: all var(--duration-normal);
}
.social-row a:hover { background: var(--accent); color: #00211b; border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 11rem 0 4rem;
  position: relative;
}
.breadcrumb { color: var(--text-low); font-size: 0.85rem; margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--text-low); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--glass-border); padding: 1.6rem 0; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
}
.faq-q .plus { transition: transform var(--duration-normal) var(--ease-out-expo); color: var(--accent); font-size: 1.4rem; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), padding 0.4s;
  color: var(--text-mid);
}
.faq-item.open .faq-a { max-height: 240px; padding-top: 1rem; }

/* ---------- Testimonial ---------- */
.testi-card { padding: 2.6rem; position: relative; }
.testi-card .quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--accent); line-height: 1; opacity: 0.5; }
.testi-card p { color: var(--text-mid); margin: 1rem 0 1.6rem; font-size: 1.02rem; }
.testi-author { display: flex; align-items: center; gap: 0.9rem; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; color: #00211b; }
.testi-author .name { font-weight: 600; font-size: 0.92rem; }
.testi-author .role { color: var(--text-low); font-size: 0.82rem; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.85rem; color: var(--text-mid); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 0.96rem;
  transition: border-color var(--duration-normal), background var(--duration-normal);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.field textarea { resize: vertical; min-height: 130px; }
.contact-info-item { display: flex; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--glass-border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(94,234,212,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-info-item .ci-label { font-size: 0.78rem; color: var(--text-low); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-item .ci-value { font-size: 1rem; margin-top: 0.2rem; }
.contact-info-item a { color: var(--text-hi); text-decoration: none; }
.contact-info-item a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-orb-wrap { height: 320px; order: -1; }
  .grid-3, .footer-grid, .stats-strip { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .footer-grid, .stats-strip { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
}
