/* style.css – Layout, Rahmen, „Website-Feeling“ */

:root{
  --bg-overlay: rgba(0,0,0,0.60);
  --bg-overlay-mobile: rgba(0,0,0,0.45);
  --border: rgba(255,255,255,.08);

  --panel: rgba(0,0,0,0.68);
  --card:  rgba(0,0,0,0.58);
  --modal: rgba(10,10,10,0.60);
  --input-bg: rgba(15,15,15,0.55);
  --input-bd: rgba(255,255,255,.14);
  --text: #eaeaea;
  --muted: #c9c9c9;
  --accent: #f39c12;
  --accent2: #7cc6ff;
}

/* Basis */
*{ box-sizing:border-box; }

html, body{
  height:100%;
  margin:0;
  background:transparent;
  color:var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.mc-body{
  position:relative;
  overflow-x:hidden;
}

/* Hintergrundbild */
.bg{
  position:fixed;
  inset:0;
  z-index:-2;
  background:#111 url('https://www.manacity.de/storage/img/bg.webp') center center / cover no-repeat;
  will-change:transform;
  transform:translateZ(0);
}

.bg-overlay{
  position:fixed;
  inset:0;
  z-index:-1;
  background:var(--bg-overlay);
  pointer-events:none;
}

@media (max-width:900px),(pointer:coarse){
  .bg-overlay{ background:var(--bg-overlay-mobile); }
}

/* Site-Shell */
.site-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  z-index:0;
}

/* Header / Navigation */
.site-header{
  padding:1rem 1.5rem 0.5rem;
}

.site-header-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1.5rem;
  background:rgba(0,0,0,0.7);
  border-radius:999px;
  border:1px solid var(--border);
  backdrop-filter:blur(10px);
  padding:.6rem 1.2rem;
  box-shadow:0 10px 26px rgba(0,0,0,.5);
}

.brand{
  display:flex;
  align-items:center;
  gap:.8rem;
  text-decoration:none;
  color:var(--text);
}

.brand .logo{
  height:52px;
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap:.1rem;
}

.brand-title{
  font-weight:700;
  letter-spacing:.03em;
  font-size:1rem;
}

.brand-subtitle{
  font-size:.8rem;
  color:var(--muted);
}

.site-nav{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
}

/* NAV-LINKS */
.nav-link{
  font-size:.85rem;
  text-decoration:none;
  color:var(--muted);
  padding:.35rem .9rem;
  border-radius:999px;
  border:1px solid transparent;
  white-space:nowrap;
  background:transparent;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:color .15s ease, background .15s ease, border-color .15s ease;
}

/* Hover */
.nav-link:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.25);
}

/* Aktiver Link (von JS: .nav-link--active) – NICHT weiß! */
.nav-link.nav-link--active:not(.nav-cta){
  color:#fff;
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.45);
}

/* Fokus/Active – dezent, kein Weiß erzwingen */
.nav-link:focus,
.nav-link:active{
  outline:none;
  box-shadow:0 0 0 1px rgba(255,255,255,.15);
}

/* CTA-Button (z.B. "Alle Items") */
.nav-cta{
  background:var(--accent);
  color:#151515;
  font-weight:700;
  border-color:rgba(255,255,255,.25);
}

.nav-cta:hover{
  background:#ffae29;
  color:#151515;
}

/* Hauptbereich */
.site-main{
  flex:1 0 auto;
  padding:1.2rem 1.5rem 6rem; /* Platz für Sticky-Footer */
}

/* Hero */
.hero{
  max-width:1200px;
  margin:1.6rem auto 1.2rem;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1.5rem;
  color:var(--text);
}

.hero-text h1{
  margin:0 0 .5rem;
  font-size:1.9rem;
}

.hero-text p{
  margin:0;
  color:var(--muted);
  max-width:540px;
  font-size:.96rem;
}

.hero-meta{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.6rem;
}

.hero-badge{
  display:inline-block;
  font-size:.7rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  padding:.25rem .7rem;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.6);
  color:var(--muted);
}

/* Feature-Strip */
.feature-strip{
  max-width:1200px;
  margin:0 auto 1.5rem;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.9rem;
}

.feature-pill{
  display:flex;
  gap:.7rem;
  align-items:center;
  padding:.75rem .9rem;
  border-radius:14px;
  background:rgba(0,0,0,0.7);
  border:1px solid var(--border);
  backdrop-filter:blur(8px);
  box-shadow:0 10px 24px rgba(0,0,0,.45);
}

.feature-icon{
  width:32px;
  height:32px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.75);
  border:1px solid rgba(255,255,255,.1);
}

.feature-icon i{
  font-size:1rem;
  color:var(--accent);
}

.feature-text{
  display:flex;
  flex-direction:column;
  gap:.1rem;
}

.feature-title{
  font-size:.9rem;
  font-weight:600;
}

.feature-sub{
  font-size:.78rem;
  color:var(--muted);
}

/* Panel */
.panel-main{
  max-width:1200px;
  margin:0 auto 2rem;
  border-radius:18px;
  background:rgba(0,0,0,0.75);
  border:1px solid var(--border);
  box-shadow:0 18px 40px rgba(0,0,0,.7);
  padding:1.3rem 1.4rem 1.5rem;
}

/* Footer (sticky) */
.site-footer{
  position:sticky;
  bottom:0;
  background:rgba(0,0,0,0.85);
  border-top:1px solid var(--border);
  padding:1rem 1.5rem 1.1rem;
  backdrop-filter:blur(10px);
  z-index:50;
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  font-size:.85rem;
}

.footer-inner a{
  color:#fff;
  text-decoration:none;
  margin-left:1rem;
  font-size:.85rem;
}

.footer-inner a:hover{
  text-decoration:underline;
}

/* Mobile */
@media (max-width:900px){
  .site-header-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .site-main{
    padding:1rem 1rem 6rem;
  }
  .hero{
    flex-direction:column;
    align-items:flex-start;
  }
  .hero-meta{
    align-items:flex-start;
  }
  .feature-strip{
    grid-template-columns:1fr;
  }
}
