/* ═══════════════════════════════════════════════════════════════
   M. PROKOPF — IT & DATA SOLUTIONS v2
   Kompakter, cleaner, weniger gestreckt
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg:          #07090f;
  --bg2:         #0c0f1a;
  --bg3:         #111520;
  --surface:     rgba(255,255,255,0.045);
  --surface-2:   rgba(255,255,255,0.075);
  --border:      rgba(255,255,255,0.075);
  --border-2:    rgba(255,255,255,0.12);
  --accent:      #6366f1;
  --accent-2:    #8b5cf6;
  --accent-cyan: #06b6d4;
  --text:        #f1f5f9;
  --text-2:      #8892a4;
  --text-3:      #4b5563;
  --font-display:'Outfit', sans-serif;
  --font-body:   'Plus Jakarta Sans', sans-serif;
  --radius:      14px;
  --radius-sm:   9px;
  --max-w:       1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
strong { color: var(--text); font-weight: 600; }

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 1.5rem; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,9,15,0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-brand {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  letter-spacing: -0.01em;
}
.nav-brand-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 0.83rem; color: var(--text-2); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 0.45rem 1.1rem;
  background: var(--accent); color: white !important;
  border-radius: 7px; font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--accent-2) !important; transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 60px;
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(7,9,15,0.94) 0%, rgba(7,9,15,0.65) 50%, rgba(7,9,15,0.88) 100%);
}
.hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 70% 50% at 55% 45%, rgba(99,102,241,0.1) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 820px; margin: 0 auto; padding: 0 1.5rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.22);
  border-radius: 100px; font-size: 0.75rem; color: #a5b4fc;
  font-weight: 500; letter-spacing: 0.04em; margin-bottom: 1.75rem;
  animation: fadeUp 0.5s ease both;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 800; line-height: 1.06;
  letter-spacing: -0.045em; margin-bottom: 1.25rem;
  animation: fadeUp 0.5s 0.08s ease both;
}
.hero-title-gradient {
  background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 40%, #67e8f9 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem); color: var(--text-2);
  max-width: 560px; margin: 0 auto 2rem; font-weight: 400; line-height: 1.75;
  animation: fadeUp 0.5s 0.15s ease both;
}
.hero-actions {
  display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.5s 0.22s ease both;
}
.btn-primary {
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(99,102,241,0.3);
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,0.42); }
.btn-ghost {
  padding: 0.75rem 1.75rem;
  background: var(--surface); color: var(--text);
  border-radius: var(--radius-sm); font-weight: 500; font-size: 0.9rem;
  border: 1px solid var(--border-2); cursor: pointer;
  backdrop-filter: blur(10px); transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-full { width: 100%; text-align: center; justify-content: center; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.5s 0.3s ease both;
}
.hero-stat { padding: 0 2.5rem; text-align: center; }
.hero-stat-divider { width: 1px; height: 32px; background: var(--border); }
.hero-stat-val {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, #a5b4fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat-label { font-size: 0.72rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 4px; }

/* ── SECTIONS BASICS ─────────────────────────────────────── */
section { padding: 5rem 1.5rem; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-badge {
  display: inline-block; padding: 3px 12px;
  background: rgba(99,102,241,0.09); border: 1px solid rgba(99,102,241,0.18);
  border-radius: 100px; font-size: 0.7rem; color: #a5b4fc;
  font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 0.75rem;
}
.section-sub { font-size: 0.95rem; color: var(--text-2); max-width: 520px; line-height: 1.7; margin-bottom: 2.5rem; }

/* ── ANFRAGE FORMULAR ─────────────────────────────────────── */
.anfrage-section { background: var(--bg2); }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }
.anfrage-contact-items { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.anfrage-contact-item {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.88rem; color: var(--text-2);
}
.anfrage-contact-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px; background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #a5b4fc;
}
.anfrage-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-label { font-size: 0.75rem; color: var(--text-2); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.form-input {
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-2);
  border-radius: var(--radius-sm); color: var(--text);
  font-family: var(--font-body); font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-input:focus { outline: none; border-color: rgba(99,102,241,0.5); background: rgba(99,102,241,0.05); }
.form-input::placeholder { color: var(--text-3); }
.form-select { appearance: auto; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-check {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.8rem; color: var(--text-2); margin-bottom: 1.25rem;
}
.form-check input { margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.form-check a { color: #a5b4fc; }
.form-success {
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  color: #6ee7b7; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; margin-top: 0.75rem;
}
.form-error {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25);
  color: #fca5a5; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; margin-top: 0.75rem;
}
.hidden { display: none !important; }

/* ── MAPS STREIFEN ───────────────────────────────────────── */
.maps-strip { position: relative; height: 220px; overflow: hidden; }
.maps-strip iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(0.9) hue-rotate(180deg) saturate(0.8); }
.maps-strip-overlay-left, .maps-strip-overlay-right {
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.maps-strip-overlay-left { left: 0; background: linear-gradient(to right, var(--bg2), transparent); }
.maps-strip-overlay-right { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }

/* ── LEISTUNGEN ──────────────────────────────────────────── */
.services { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.25rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.service-card:hover { transform: translateY(-3px); border-color: rgba(99,102,241,0.28); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(139,92,246,0.06)); border-color: rgba(99,102,241,0.22); }
.service-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(139,92,246,0.12));
  border: 1px solid rgba(99,102,241,0.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; color: #a5b4fc;
}
.service-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.service-desc { font-size: 0.87rem; color: var(--text-2); line-height: 1.65; margin-bottom: 1.25rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.service-tag {
  padding: 2px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: 0.7rem; color: var(--text-3); font-weight: 500;
}

/* ── ÜBER MICH ───────────────────────────────────────────── */
.about { background: var(--bg2); }
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about-visual { position: relative; border-radius: var(--radius); overflow: hidden; }
.about-visual img { width: 100%; height: 400px; object-fit: cover; filter: brightness(0.75) saturate(1.2); border-radius: var(--radius); }
.about-visual-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(99,102,241,0.18), transparent); border-radius: var(--radius); }
.about-card {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: rgba(7,9,15,0.88); backdrop-filter: blur(16px);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.75rem;
}
.about-card-icon { color: #a5b4fc; flex-shrink: 0; }
.about-card-title { font-weight: 600; font-size: 0.88rem; }
.about-card-sub { font-size: 0.75rem; color: var(--text-2); }
.about-intro-text { font-size: 0.92rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.about-features { display: flex; flex-direction: column; gap: 0.85rem; }
.about-feature {
  display: flex; gap: 0.85rem; align-items: flex-start;
  padding: 0.9rem 1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: border-color 0.2s;
}
.about-feature:hover { border-color: rgba(99,102,241,0.25); }
.about-feature-icon {
  width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(6,182,212,0.12));
  display: flex; align-items: center; justify-content: center; color: #a5b4fc;
}
.about-feature-title { font-weight: 600; font-size: 0.88rem; margin-bottom: 2px; }
.about-feature-desc { font-size: 0.81rem; color: var(--text-2); line-height: 1.55; }

/* ── TECH STACK ──────────────────────────────────────────── */
.stack { background: var(--bg); }
.stack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 0.85rem; }
.stack-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.1rem 0.75rem;
  text-align: center; transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: default;
}
.stack-item:hover { transform: translateY(-3px); border-color: rgba(99,102,241,0.28); background: var(--surface-2); }
.stack-icon { display: flex; justify-content: center; margin-bottom: 0.5rem; }
.stack-name { font-size: 0.75rem; color: var(--text-2); font-weight: 500; }

/* ── PROZESS ─────────────────────────────────────────────── */
.process { background: var(--bg2); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.process-step {
  padding: 1.75rem 1.5rem; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform 0.25s, border-color 0.25s;
  position: relative;
}
.process-step:hover { transform: translateY(-3px); border-color: rgba(99,102,241,0.28); }
.process-nr-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 1rem; }
.process-nr {
  width: 42px; height: 42px; 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: 800; font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(99,102,241,0.38);
}
.process-icon { color: #a5b4fc; margin-bottom: 0.75rem; display: flex; justify-content: center; }
.process-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.process-desc { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

/* ── KONTAKT + MAPS ──────────────────────────────────────── */
.contact { background: var(--bg3); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-item {
  display: flex; gap: 0.85rem; align-items: center;
  padding: 0.9rem 1.1rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 0.88rem;
}
.contact-item-icon { color: #a5b4fc; flex-shrink: 0; }
.contact-item-label { font-size: 0.68rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.07em; }
.contact-item-val { font-weight: 500; font-size: 0.88rem; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 2rem 1.5rem 1.5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 0.88rem; display: flex; align-items: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-3); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.75rem; color: var(--text-3); text-align: center; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* ── ANIMATIONEN ─────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── MOBILE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-split, .anfrage-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; gap: 1rem; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg2); padding: 1.5rem; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 0; }
  .hero-stat { padding: 0 1.25rem; }
  section { padding: 3.5rem 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .process-steps { grid-template-columns: 1fr; }
}
