/* ============================================
   Muninn — Offizielle Website Stylesheet
   Design: Dunkles Theme #07070c
   Akzente: Lila #a855f7, Grün #3ce096, Gold #f5c518
   ============================================ */

:root {
  --bg: #07070c;
  --bg-light: #0e0e16;
  --bg-card: #14141f;
  --border: #23233a;
  --accent: #a855f7;
  --accent2: #3ce096;
  --gold: #f5c518;
  --text: #e8e8f0;
  --text-muted: #9a9ab0;
  --mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topbar / Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}
.brand svg {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.brand .accent { color: var(--accent); }
.brand:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(168, 85, 247, 0.12);
}
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), #7c3aed) !important;
  color: #fff !important;
  font-weight: 700;
}
.nav-cta:hover { opacity: 0.9; }

/* Mobile menu toggle (simple) */
@media (max-width: 800px) {
  .nav-links { display: none; }
  .navbar .container { justify-content: space-between; }
  .burger { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(168, 85, 247, 0.6);
}
.btn-outline:hover { background: rgba(168, 85, 247, 0.08); }
.btn-green {
  background: linear-gradient(135deg, #2bb37c, var(--accent2));
  color: #08120d;
}
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 25% 20%, rgba(168, 85, 247, 0.15), transparent),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(60, 224, 150, 0.10), transparent),
    radial-gradient(ellipse 40% 30% at 60% 80%, rgba(60, 224, 150, 0.07), transparent);
}
.hero .container { position: relative; z-index: 2; text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(60, 224, 150, 0.10);
  border: 1px solid rgba(60, 224, 150, 0.35);
  color: var(--accent2);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 70px;
}
.stat { text-align: center; }
.stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.stat.green .num { color: var(--accent2); }
.stat .lbl { color: var(--text-muted); font-size: 0.85rem; }

/* ---------- Heroes icon / mascot ---------- */
.hero-raven {
  display: block;
  margin: 0 auto 26px;
  width: 96px;
  height: 96px;
}

/* ---------- Section headers ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-light); }
.section-head { max-width: 700px; margin-bottom: 55px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.12);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 16px;
  background: rgba(168, 85, 247, 0.15);
}
.card.green .icon { background: rgba(60, 224, 150, 0.15); }
.card.gold .icon { background: rgba(245, 197, 24, 0.15); }
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Code block ---------- */
.code-block {
  background: #0b0b14;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  font-family: var(--mono);
  font-size: 0.93rem;
  overflow-x: auto;
  position: relative;
  line-height: 1.7;
}
.code-block .comment { color: #5a5a70; }
.code-block .kw { color: var(--accent); }
.code-block .fn { color: var(--accent2); }
.code-block .str { color: var(--gold); }

/* ---------- Two columns ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Feature list (checkmarks) ---------- */
.check-list { list-style: none; margin: 18px 0; }
.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: rgba(60, 224, 150, 0.2);
  color: var(--accent2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.check-list strong { color: var(--text); }

/* ---------- Steps ---------- */
.timeline { list-style: none; }
.timeline li {
  position: relative;
  padding: 0 0 30px 44px;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: -4px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}
.timeline li::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}
.timeline h4 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { color: var(--text-muted); font-size: 0.96rem; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; font-size: 0.95rem; }
thead th {
  background: var(--bg-light);
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(168, 85, 247, 0.05); }
td { color: var(--text-muted); }
td:first-child, .strong { color: var(--text); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 70px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(168,85,247,0.12), rgba(60,224,150,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); margin-bottom: 30px; max-width: 560px; margin-inline: auto; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 92px 0 55px; }
.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.page-hero p.lead { color: var(--text-muted); font-size: 1.15rem; max-width: 700px; }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  padding: 16px 20px;
  background: var(--bg-card);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--accent); }
.faq-a { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .25s; color: var(--text-muted); }
.faq-item.open .faq-q::after { content: '−'; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 20px 16px; }

/* ---------- Footer ---------- */
footer {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  background: var(--bg-light);
  padding: 50px 0 30px;
}
footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer h4 { font-size: 1rem; margin-bottom: 14px; color: var(--text); }
footer a { color: var(--text-muted); display: block; text-decoration: none; margin-bottom: 8px; font-size: 0.93rem; }
footer a:hover { color: var(--accent); }
footer p { color: var(--text-muted); font-size: 0.9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---------- Contact form ---------- */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  max-width: 640px;
}

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 60px; }
.text-muted { color: var(--text-muted); }
.mono { font-family: var(--mono); }
.center { text-align: center; }
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(168,85,247,0.15);
  color: var(--accent);
  margin-right: 8px;
}
.tag.green { background: rgba(60,224,150,0.15); color: var(--accent2); }
.tag.gold { background: rgba(245,197,24,0.15); color: var(--gold); }
