:root {
  --bg-dark:    #0d1117;
  --bg-card:    #111520;
  --bg-border:  #1e2a3a;
  --teal:       #1a9a8a;
  --teal-light: #22c5b0;
  --teal-glow:  rgba(26,154,138,0.15);
  --text-main:  #c9d1d9;
  --text-muted: #4a6080;
  --text-white: #ffffff;
}

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

html {
  background:
    linear-gradient(rgba(4,6,10,0.5), rgba(4,6,10,0.5)),
    url('images/space_bg.jpg') center/cover fixed no-repeat;
  min-height: 100%;
}

body {
  background: transparent;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  max-width: 1440px;
  margin: 0 auto;
  box-shadow: 0 0 120px rgba(0,0,0,0.8);
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,17,23,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bg-border);
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none !important; display: flex; align-items: center; }
.nav-logo img { height: 36px; }
.nav-logo span { text-decoration: none !important; }
.nav-links { display: flex; gap: 32px; list-style: none; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu always hidden on desktop, only shown via JS on mobile */
.nav-mobile-menu {
  display: none !important;
  position: fixed;
  top: 56px;
  left: 0; right: 0;
  background: rgba(13,17,23,0.99);
  border-bottom: 1px solid var(--bg-border);
  padding: 8px 0;
  flex-direction: column;
  gap: 0;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .nav-mobile-menu.open { display: flex !important; }
}
.nav-mobile-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  border-bottom: 1px solid var(--bg-border);
  transition: color .2s, background .2s;
  display: block;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--teal-light); background: rgba(26,154,138,0.05); }
.nav-mobile-menu a.active { color: var(--teal-light); }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-light); }
.nav-cta {
  background: var(--teal);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .1s;
}
.nav-cta:hover { background: var(--teal-light) !important; transform: translateY(-1px); }

/* ── PAGE HEADER ── */
.page-header {
  padding: 120px 40px 60px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(26,154,138,0.1) 0%, transparent 70%),
    rgba(8,12,18,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--bg-border);
}
.page-header .badge {
  display: inline-block;
  background: var(--teal-glow);
  border: 1px solid var(--teal);
  color: var(--teal-light);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ── CONTENT ── */
.content { max-width: 860px; margin: 0 auto; padding: 60px 40px 80px; }
.content h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-white); margin: 36px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 12px; }
.content a { color: var(--teal-light); text-decoration: none; }
.content a:hover { text-decoration: underline; }
.content ul { color: var(--text-muted); font-size: 0.95rem; padding-left: 20px; margin-bottom: 12px; }
.content ul li { margin-bottom: 6px; line-height: 1.7; }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.card h3 { font-size: 1rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.card p { font-size: 0.9rem; margin-bottom: 0; }
.card .icon { font-size: 24px; margin-bottom: 12px; display: block; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-white);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--teal);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--bg-border);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-light); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--bg-border);
  padding: 32px 40px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  background: var(--bg-card);
}
footer img { height: 36px; opacity: 0.6; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-copy { color: var(--text-muted); font-size: 13px; }

/* ── SOCIAL ICONS ── */
.nav-social { display: flex; gap: 8px; align-items: center; margin-right: 12px; }
.nav-social a {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  transition: transform .2s, opacity .2s;
  text-decoration: none;
  opacity: 0.85;
}
.nav-social a:hover { transform: translateY(-2px); opacity: 1; }
.nav-social svg { width: 28px; height: 28px; }
.nav-social .insta { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-radius: 6px; padding: 5px; }
.nav-social .insta svg { fill: #fff; width: 18px; height: 18px; }
.nav-social .linkedin { background: #0077b5; border-radius: 6px; padding: 5px; }
.nav-social .linkedin svg { fill: #fff; width: 18px; height: 18px; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--bg-border); margin: 32px 0; }

/* ── ALERT ── */
.alert {
  background: var(--teal-glow);
  border: 1px solid var(--teal);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--teal-light);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  /* Nav: verstecke mittlere Links bei enger werdender Breite */
  .nav-links { gap: 16px; }
  .nav-links li:nth-child(n+4) { display: none; }
}

@media (max-width: 768px) {
  /* ── NAV ── */
  nav { padding: 0 16px; height: 56px; position: relative; }
  .nav-links { display: none; }
  .nav-social { margin-right: 6px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* ── PAGE HEADER ── */
  .page-header { padding: 80px 20px 40px; }
  .page-header h1 { font-size: 1.8rem; }

  /* ── CONTENT ── */
  .content { padding: 32px 16px 60px; }
  .content h2 { font-size: 1.15rem; }

  /* ── CARDS ── */
  .card { padding: 20px 16px; }
  .card-grid { grid-template-columns: 1fr; gap: 12px; }

  /* ── FLEX CARDS (Selfi, Features) ── */
  .card[style*="display:flex"],
  .card[style*="display: flex"] {
    flex-direction: column !important;
  }
  .card[style*="display:flex"] img,
  .card[style*="display: flex"] img {
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
  }

  /* ── FORM ── */
  .form-row { grid-template-columns: 1fr; }

  /* ── ROADMAP TABELLEN ── */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  thead th { white-space: nowrap; }
  tbody td { white-space: nowrap; }
  /* Beschreibung darf umbrechen */
  tbody td:nth-child(3) { white-space: normal; min-width: 160px; }

  /* ── ROADMAP STATS ── */
  .roadmap-stats { gap: 12px; }
  .stat-card { padding: 16px 20px; min-width: 80px; }
  .stat-card .num { font-size: 1.5rem; }

  /* ── FILTER BAR ── */
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 5px 12px; font-size: 11px; }

  /* ── FOOTER ── */
  footer { flex-direction: column; text-align: center; padding: 24px 16px; gap: 12px; }
  .footer-links { justify-content: center; gap: 14px; }

  /* ── HERO BUTTONS ── */
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; max-width: 300px; justify-content: center; }

  /* ── STATS LEISTE ── */
  .stats { gap: 24px; padding: 32px 20px; }
  .stat-num { font-size: 1.5rem; }

  /* ── FEATURES GRID ── */
  .features-wrap { padding: 48px 20px; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  nav { padding: 0 12px; }
  .nav-cta { padding: 6px 10px; font-size: 11px; }
  .page-header { padding: 70px 12px 32px; }
  .content { padding: 24px 12px 48px; }
  .card { padding: 16px 14px; }

  /* Roadmap section-header */
  .section-header h2 { font-size: 0.95rem; }

  /* Galerie entry-card */
  .entry-card { padding: 18px 16px; }
  .entry-title { font-size: 1.1rem; }
}
