/* ============================================================
   DARK TECH TEMPLATE
   Anpassbare Variablen: --neon, --neon-glow
   ============================================================ */

:root {
  --neon: #4ade80;
  --neon-dim: rgba(74, 222, 128, 0.15);
  --neon-glow: 0 0 20px rgba(74, 222, 128, 0.4);
  --bg: #080c10;
  --bg-2: #0d1117;
  --bg-3: #141b24;
  --bg-card: #0f1419;
  --border: rgba(255,255,255,0.07);
  --border-neon: rgba(74, 222, 128, 0.3);
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #334155;
  --white: #ffffff;

  --font-main: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  --max-width: 1200px;
  --radius: 6px;
  --transition: 0.2s ease;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--bg); line-height: 1.7; font-weight: 300; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---- UTILITIES ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--neon); margin-bottom: 16px; letter-spacing: 1px; }
.neon { color: var(--neon); }

.section__header h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 16px; color: var(--white); }
.section__header p { color: var(--text-muted); font-size: 1rem; max-width: 520px; }
.section__header--center { text-align: center; margin: 0 auto 64px; }
.section__header--center p { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--primary { background: var(--neon); color: var(--bg); border-color: var(--neon); font-weight: 600; }
.btn--primary:hover { box-shadow: var(--neon-glow); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--neon); color: var(--neon); }
.btn--neon { background: var(--neon-dim); color: var(--neon); border-color: var(--border-neon); padding: 10px 20px; font-size: 0.82rem; }
.btn--neon:hover { background: var(--neon); color: var(--bg); }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background: rgba(8, 12, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__logo { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: 1px; }
.nav__logo-bracket { color: var(--neon); }
.nav__links { display: flex; align-items: center; gap: 36px; font-size: 0.88rem; color: var(--text-muted); }
.nav__links a:not(.btn):hover { color: var(--neon); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 1px; background: var(--text); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 80px 80px;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero__glow--1 { width: 500px; height: 500px; background: rgba(0,245,160,0.06); top: -100px; left: -100px; }
.hero__glow--2 { width: 400px; height: 400px; background: rgba(0,150,255,0.05); bottom: -50px; right: 100px; }

.hero__content { position: relative; z-index: 1; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-3); border: 1px solid var(--border); border-radius: 99px; padding: 8px 16px; margin-bottom: 32px; font-size: 0.8rem; color: var(--text-muted); }
.status__dot { width: 8px; height: 8px; background: var(--neon); border-radius: 50%; box-shadow: 0 0 8px var(--neon); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero__headline { font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; color: var(--white); }
.hero__line { display: block; }
.hero__line--neon { color: var(--neon); }
.hero__sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 36px; max-width: 440px; line-height: 1.8; }
.hero__cta { display: flex; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.hero__stat { display: flex; flex-direction: column; gap: 4px; }
.stat__val { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--neon); line-height: 1; }
.stat__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.hero__visual { position: relative; z-index: 1; }
.hero__window { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.5); }
.window__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--bg-3); border-bottom: 1px solid var(--border); }
.window__dot { width: 12px; height: 12px; border-radius: 50%; }
.window__dot--red { background: #ff5f57; }
.window__dot--yellow { background: #febc2e; }
.window__dot--green { background: #28c840; }
.window__title { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-left: 8px; }
.window__body { padding: 0; }
.window__body img { width: 100%; display: block; }

/* ---- TICKER ---- */
.ticker { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 14px 0; }
.ticker__track { display: flex; gap: 48px; white-space: nowrap; animation: ticker 18s linear infinite; width: max-content; }
.ticker__track span { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; }
.ticker__sep { color: var(--neon) !important; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- LEISTUNGEN ---- */
.leistungen { padding: 100px 0; }
.leistungen .section__header { margin-bottom: 56px; }
.leistungen__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.leistung { background: var(--bg-card); padding: 40px 36px; transition: var(--transition); cursor: pointer; }
.leistung:hover { background: var(--bg-3); }
.leistung--featured { background: var(--bg-3); border: none; position: relative; }
.leistung--featured::before { content: 'Popular'; position: absolute; top: 20px; right: 20px; background: var(--neon-dim); color: var(--neon); font-size: 0.7rem; font-weight: 600; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--border-neon); }
.leistung__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.leistung__nr { font-family: var(--font-mono); font-size: 0.75rem; color: var(--neon); }
.leistung__arrow { font-size: 1.2rem; color: var(--text-dim); transition: var(--transition); }
.leistung:hover .leistung__arrow { color: var(--neon); transform: translate(2px, -2px); }
.leistung h3 { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.leistung p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.leistung__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.leistung__tags span { font-size: 0.72rem; background: var(--bg-2); color: var(--text-muted); border: 1px solid var(--border); border-radius: 99px; padding: 4px 12px; }

/* ---- ÜBER UNS ---- */
.ueber-uns { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ueber-uns__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ueber-uns__text h2 { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; color: var(--white); margin-bottom: 24px; line-height: 1.15; }
.ueber-uns__text p { color: var(--text-muted); margin-bottom: 16px; font-size: 0.95rem; }
.ueber-uns__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.fact { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px; }
.fact__val { display: block; font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--neon); margin-bottom: 4px; }
.fact__label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.ueber-uns__image { position: relative; }
.ueber-uns__image img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; }
.ueber-uns__card { position: absolute; bottom: -20px; left: -20px; background: var(--bg-3); border: 1px solid var(--border-neon); border-radius: var(--radius); padding: 16px 20px; min-width: 220px; }
.card__mono { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-muted); margin-bottom: 10px; }
.card__output { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text); margin-bottom: 4px; }

/* ---- REFERENZEN ---- */
.referenzen { padding: 100px 0; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.testimonial { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; transition: var(--transition); }
.testimonial:hover { border-color: var(--border-neon); }
.testimonial--featured { border-color: var(--border-neon); background: var(--bg-3); }
.testimonial__top { margin-bottom: 16px; }
.testimonial__rating { color: var(--neon); font-size: 0.85rem; letter-spacing: 2px; }
.testimonial p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--border-neon); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--neon); flex-shrink: 0; }
.testimonial__author strong { display: block; font-size: 0.88rem; color: var(--white); }
.testimonial__author span { font-size: 0.75rem; color: var(--text-muted); }

/* ---- KONTAKT ---- */
.kontakt { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); }
.kontakt__inner { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; margin-top: 0; }
.kontakt__info { display: flex; flex-direction: column; gap: 32px; }
.info__item { display: flex; flex-direction: column; gap: 8px; }
.info__label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--neon); }
.info__item a, .info__item span { font-size: 0.95rem; color: var(--text); transition: var(--transition); }
.info__item a:hover { color: var(--neon); }

.kontakt__form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 1px; }
.form__field input,
.form__field textarea {
  padding: 13px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--text-dim); }
.form__field input:focus,
.form__field textarea:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0,245,160,0.08); }
.form__field textarea { resize: vertical; }

/* ---- FOOTER ---- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer__logo { font-family: var(--font-mono); font-size: 0.95rem; color: var(--text-muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 0.8rem; color: var(--text-dim); }
.footer__links a:hover { color: var(--neon); }
.footer__copy { font-size: 0.78rem; color: var(--text-dim); font-family: var(--font-mono); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .leistungen__grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav { padding: 16px 24px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 28px 24px; gap: 24px; }

  .hero { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 48px; }
  .ueber-uns__inner { grid-template-columns: 1fr; gap: 60px; }
  .ueber-uns__card { position: static; margin-top: 16px; }
  .kontakt__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
  .ueber-uns__facts { grid-template-columns: 1fr 1fr; }
}

/* ---- TERMINAL (Hero) ---- */
.terminal {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 2;
  padding: 8px 4px;
  color: var(--text-muted);
}
.t-green { color: var(--neon); }
.t-yellow { color: #facc15; }
.t-muted { color: var(--text-dim); }

/* ---- WERKSTATT CARD (Über uns) ---- */
.werkstatt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 2;
}
.werkstatt-card .card__mono { color: var(--text-dim); }
.werkstatt-card .card__output { color: var(--text-muted); }

/* ---- FORM MESSAGE ---- */
.form__msg {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.form__msg--ok  { background: var(--neon-dim); color: var(--neon); border: 1px solid var(--border-neon); }
.form__msg--err { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
