/* ============================================================
   enbox.de – Shared CSS
   Nav, Footer, and common design tokens
   ============================================================ */

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

:root {
  --color-bg:             #0d0d1a;
  --color-surface:        rgba(255,255,255,0.05);
  --color-border:         rgba(255,255,255,0.10);
  --color-accent-green:   #7dc242;
  --color-accent-magenta: #cd3299;
  --color-accent-cyan:    #00c4b4;
  --color-text:           #f0f0f8;
  --color-text-muted:     rgba(240,240,248,0.55);
  --color-text-dim:       rgba(240,240,248,0.35);
  --nav-height:           62px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Helvetica, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
#site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: rgba(13,13,26,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav__brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.nav__brand .dot { color: var(--color-accent-magenta); }

.nav__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--color-accent-green);
}

.nav__links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent-green);
}

/* ── BURGER (mobile) ── */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 17px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav__burger:hover span { background: var(--color-accent-green); }

/* ── MOBILE MENU ── */
.nav__mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(13,13,26,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  z-index: 199;
  padding: 1rem 0;
}

.nav__mobile-menu[hidden] { display: none; }

.nav__mobile-menu a {
  padding: 0.85rem 2rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

.nav__mobile-menu a:hover {
  color: var(--color-accent-green);
  background: rgba(125,194,66,0.06);
}

/* ── FOOTER ── */
#site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

#site-footer .dot { color: var(--color-accent-magenta); }

#site-footer a {
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color 0.2s;
}

#site-footer a:hover { color: var(--color-accent-green); }

.footer__sub { margin-top: 0.5rem; }

/* ── SHARED UTILITIES ── */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  #site-nav { padding: 0 1.25rem; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}
