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

:root {
  --bg:        #04080f;
  --bg2:       #080e1a;
  --bg3:       #0a1220;
  --neon:      #00d4ff;
  --neon-dim:  rgba(0,212,255,.12);
  --neon-glow: rgba(0,212,255,.35);
  --text:      #c8d8e8;
  --muted:     #4a6070;
  --white:     #f0f8ff;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Inter", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Aurora blobs ── */
.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}
.aurora-1 {
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,150,255,.18), transparent 70%);
  top: -120px; left: -100px;
}
.aurora-2 {
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,212,200,.12), transparent 70%);
  bottom: 0; right: -100px;
  animation-delay: -9s;
}

@keyframes drift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(40px,30px); }
}

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem 4rem;
  text-align: center;
}

.logo-wrap { margin-bottom: 3rem; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.logo-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0066cc, #00b4d8);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px rgba(0,180,216,.5);
}

.logo-icon svg { display: block; }

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}
.logo-text span { color: var(--neon); }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 1.4rem;
  opacity: .85;
}

.headline {
  font-size: clamp(2.2rem,5vw,3.8rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.2rem;
  max-width: 14ch;
}
.headline em {
  font-style: normal;
  color: var(--neon);
  text-shadow: 0 0 40px var(--neon-glow);
}

.subline {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 44ch;
  margin: 0 auto 2.8rem;
  opacity: .8;
}

.divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  margin: 0 auto 2.8rem;
  border: none;
}

.scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.3rem;
  background: var(--neon-dim);
  border: 1px solid rgba(0,212,255,.25);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--neon);
  text-decoration: none;
  transition: background .2s, border-color .2s;
  letter-spacing: .01em;
}
.scroll-cta:hover {
  background: rgba(0,212,255,.2);
  border-color: rgba(0,212,255,.45);
}

/* ── Referenzen ── */
.referenzen {
  position: relative;
  z-index: 1;
  padding: clamp(3rem,6vw,6rem) clamp(1.25rem,4vw,3rem);
}

.section-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--neon);
  opacity: .8;
  margin-bottom: 1rem;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.7rem,3vw,2.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .8rem;
}

.section-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--text);
  opacity: .65;
  max-width: 48ch;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.card {
  background: var(--bg3);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,.25);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(0,212,255,.12);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  display: block;
  background: var(--bg2);
}

.card-img--portrait {
  object-position: 50% 15%;
}

.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tags {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  min-height: 1.75rem;
  margin-bottom: .9rem;
}

.tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--neon);
  background: var(--neon-dim);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 999px;
  padding: .2rem .65rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: .5rem;
}

.card-desc {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--text);
  opacity: .7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--neon);
  opacity: .75;
  transition: opacity .15s, gap .15s;
}
.card:hover .card-link {
  opacity: 1;
  gap: .55rem;
}

/* ── Kontakt ── */
.kontakt {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(3rem,5vw,5rem) 2rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

.kontakt-text {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: .4rem;
}

.kontakt a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,216,232,.2);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.kontakt a:hover {
  color: var(--neon);
  border-color: var(--neon);
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.04);
  background: rgba(0,0,0,.2);
  padding: 2.5rem clamp(1.25rem,4vw,3rem);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand { flex: 1; min-width: 200px; }

.footer-brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--white);
  margin-bottom: .4rem;
}
.footer-brand-name span { color: var(--neon); }

.footer-tagline {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}
.footer-tagline a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,216,232,.2);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
}
.footer-tagline a:hover {
  color: var(--neon);
  border-color: var(--neon);
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h3 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--neon);
  opacity: .7;
  margin-bottom: .9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.footer-col a {
  font-size: .85rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1080px;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.04);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 640px) {
  .headline { font-size: 2.2rem; }
  .aurora-1, .aurora-2 { width: 300px; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-nav { gap: 2rem; }
}
