/* W4 Sound & Light – Haupt-Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,600;0,700;0,900;1,300&display=swap');

:root {
  --dark:      #0D0A1A;
  --dark2:     #120F22;
  --dark3:     #1A1630;
  --dark4:     #221E3A;
  --violet:    #7B2FFF;
  --violet2:   #9B5FFF;
  --cyan:      #00CFFF;
  --cyan2:     #33DAFF;
  --grad:      linear-gradient(135deg, #7B2FFF, #00CFFF);
  --grad-text: linear-gradient(90deg, #7B2FFF, #00CFFF);
  --text:      #FFFFFF;
  --text-muted:#8A8AAA;
  --text-dim:  #555577;
  --border:    rgba(123,47,255,0.25);
  --border2:   rgba(0,207,255,0.2);
  --card-bg:   rgba(255,255,255,0.03);
  --radius:    10px;
  --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--dark);
  color: var(--text);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ── TYPOGRAPHY ── */
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; }

/* ── NAVIGATION ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(13,10,26,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s ease;
}
#navbar.scrolled { padding: 0.8rem 4rem; }

.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; }
.nav-logo-text { font-size: 1rem; font-weight: 700; letter-spacing: 0.1em; color: var(--text); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.3s; position: relative; padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--grad); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--grad); border: none; color: #fff;
  padding: 0.6rem 1.5rem; font-family: 'Exo 2', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; cursor: pointer; border-radius: 4px;
  text-decoration: none; transition: opacity 0.3s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.85; transform: translateY(-1px); }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 4rem 4rem; position: relative; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
#particles-js { position: absolute; inset: 0; z-index: 1; }

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-glow-1 { width: 500px; height: 500px; background: rgba(123,47,255,0.12); top: -100px; right: 5%; z-index: 1; }
.hero-glow-2 { width: 300px; height: 300px; background: rgba(0,207,255,0.08); bottom: 10%; right: 20%; z-index: 1; }

.hero-content { position: relative; z-index: 10; max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(123,47,255,0.12); border: 1px solid rgba(123,47,255,0.4);
  padding: 6px 16px; border-radius: 50px; margin-bottom: 2rem;
  opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero-badge span { font-size: 0.72rem; letter-spacing: 0.2em; color: #C4A0FF; text-transform: uppercase; }

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem); font-weight: 900;
  line-height: 1.05; margin-bottom: 1.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.4s forwards;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); max-width: 500px;
  line-height: 1.8; margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.6s forwards;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.8s 0.8s forwards;
}

.hero-stats {
  display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  opacity: 0; animation: fadeUp 0.8s 1s forwards;
}
.stat-num { font-size: 2rem; font-weight: 900; }
.stat-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-top: 2px; }

.hero-3d-wrap { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 10; }
#hero-3d { width: 380px; height: 380px; opacity: 0; animation: fadeIn 1.2s 1s forwards; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.85rem 2rem; font-family: 'Exo 2', sans-serif;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; border-radius: 4px; transition: all 0.3s;
}
.btn-primary { background: var(--grad); border: none; color: #fff; }
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-outline {
  background: transparent; border: 1px solid rgba(123,47,255,0.5);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ── SECTIONS ── */
.section { padding: 6rem 4rem; }
.section-alt { background: var(--dark2); }

.section-label {
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; margin-bottom: 0.8rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.8;
}
.section-divider {
  width: 50px; height: 2px; background: var(--grad);
  border-radius: 2px; margin: 1rem 0 2.5rem;
}

/* ── CARDS ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem; transition: all 0.4s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--grad);
  transform: scaleX(0); transition: transform 0.4s; transform-origin: left;
}
.card:hover { background: rgba(123,47,255,0.06); border-color: rgba(123,47,255,0.4); transform: translateY(-4px); }
.card:hover::before { transform: scaleX(1); }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { 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; }

/* ── FOOTER ── */
footer {
  background: var(--dark2); border-top: 1px solid var(--border);
  padding: 4rem 4rem 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-text { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; line-height: 1.8; }
.footer-heading { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--violet); margin-bottom: 1rem; font-weight: 600; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { color: var(--text-dim); font-size: 0.8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-dim); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-legal a:hover { color: var(--text-muted); }

/* ── SERVICE ICON ── */
.service-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(123,47,255,0.15); display: flex;
  align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.service-tag {
  display: inline-block; margin-top: 1rem;
  background: rgba(0,207,255,0.08); border: 1px solid rgba(0,207,255,0.25);
  color: var(--cyan); font-size: 0.72rem; letter-spacing: 0.15em;
  padding: 4px 10px; border-radius: 3px; text-transform: uppercase;
  text-decoration: none; transition: all 0.3s;
}
.service-tag:hover { background: rgba(0,207,255,0.15); }

/* ── FORM ELEMENTS ── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.85rem 1rem; color: var(--text);
  font-family: 'Exo 2', sans-serif; font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s; outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--violet); background: rgba(123,47,255,0.06);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-select option { background: var(--dark3); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

/* ── STATUS BADGES ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; }
.badge-offen    { background: rgba(255,170,0,0.15); color: #FFAA00; border: 1px solid rgba(255,170,0,0.3); }
.badge-bestaetigt { background: rgba(0,207,100,0.15); color: #00CF64; border: 1px solid rgba(0,207,100,0.3); }
.badge-abgelehnt { background: rgba(255,60,60,0.15); color: #FF3C3C; border: 1px solid rgba(255,60,60,0.3); }
.badge-archiviert { background: rgba(100,100,120,0.15); color: #888; border: 1px solid rgba(100,100,120,0.3); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  #navbar { padding: 1rem 2rem; }
  #navbar.scrolled { padding: 0.7rem 2rem; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 4rem 2rem; }
  #hero { padding: 7rem 2rem 4rem; }
  .hero-3d-wrap { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(13,10,26,0.98); backdrop-filter: blur(20px);
  flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1.5rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; }
.mobile-nav a:hover { color: var(--cyan); }
.mobile-nav-close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; cursor: pointer; color: var(--text-muted); background: none; border: none; }
