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



:root {
  --bg:      #0f0f0f; 
  --surface: #171717;
  --border:  #262626;
  --text:    #f5f5f5;
  --muted:   #737373;
  --dim:     #525252;
  --accent:  #8b5cf6;
  --radius:  12px;
   /* DOT farben */
  --red:     #ef4444;
  --blau:    #87CEFA;
  --gelb: 	 #EEEE00;
  --orange:  #FF8000;
  --grün:    #22AB74;

}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }

.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 24px; }
  
.section { 
  padding: 96px 0; 
  border-top: 1px solid var(--border); 
}

.navbar { position: fixed; 
  top: 0; left: 0; 
  right: 0; 
  z-index: 100; 
  background: rgba(15,15,15,0.92); 
  backdrop-filter: blur(12px); 
  border-bottom: 1px solid var(--border); 
}

.nav-inner { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 0 24px; 
  height: 56px; 
  display: flex; 
  align-items: center; 
  gap: 24px; 
}

.logo { font-size: 1.15rem; font-weight: 800; text-decoration: none; color: var(--text); letter-spacing: -0.03em; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--accent); }
.logo-img { height: 48px; width: auto; display: block; flex-shrink: 0; }
.nav-links { display: flex; list-style: none; gap: 24px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 0.85rem; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.powered { font-size: 0.78rem; color: var(--dim); white-space: nowrap; }
.powered strong { color: var(--muted); font-weight: 600; }
.btn-join { text-decoration: none; color: var(--text); background: var(--surface); border: 1px solid var(--border); padding: 6px 14px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; transition: border-color 0.15s; }
.btn-join:hover { border-color: #404040; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--text); color: #0f0f0f; padding: 10px 20px; border-radius: var(--radius); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: opacity 0.15s; border: none; cursor: pointer; }
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { display: inline-flex; align-items: center; color: var(--muted); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: color 0.15s; }
.btn-ghost:hover { color: var(--text); }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }

.dot--red { background: var(--red); }
.dot--blau { background: var(--blau);}
.dot--gelb { background: var(--gelb);}
.dot--orange { background: var(--orange);}
.dot--grün { background: var(--grün);}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }


.section-label-row { display: flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 40px; }

.hero { padding: 148px 0 96px; border-bottom: 1px solid var(--border); }
.hero-label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.6rem,6.5vw,5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 20px; }
.hero h1 span { color: var(--muted); }
.hero-sub { max-width: 500px; color: var(--muted); font-size: 1rem; line-height: 1.7; margin-bottom: 36px; }
.hero-ctas { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.update-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; margin-bottom: 16px; transition: border-color 0.2s; }
.update-card:hover { border-color: #333; }
.update-card:last-child { margin-bottom: 0; }
.update-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.update-meta time { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--muted); }
.update-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 4px; background: rgba(139,92,246,0.15); color: var(--accent); }
.update-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.update-body { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.update-body code { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; background: #1f1f1f; padding: 1px 6px; border-radius: 4px; color: var(--text); }


.features-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.feature-card {
  background: var(--surface); padding: 32px 28px; transition: background 0.2s;
}
.feature-card:hover { background: #1c1c1c; }
.feature-card--accent { background: #141414; }
.feature-card--accent:hover { background: #181818; }
.feature-icon { width: 38px; height: 38px; border-radius: 10px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); }
.feature-icon--yellow { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.25); color: #f59e0b; }
.feature-icon--blue { background: rgba(59,130,246,0.12); border-color: rgba(59,130,246,0.25); color: #3b82f6; }
.feature-icon--green { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.25); color: #22c55e; }
.feature-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 0.875rem; line-height: 1.65; margin-bottom: 20px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.feature-list li { font-size: 0.82rem; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.feature-list li::before { content: '—'; color: var(--border); font-size: 0.75rem; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: border-color 0.2s; }
.team-card:hover { border-color: #333; }
.team-avatar { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: var(--c, var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 800; color: #fff; }
.team-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.team-role { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 7px; border-radius: 4px; margin-bottom: 8px; }
.team-role.owner { background: rgba(139,92,246,0.15); color: #a78bfa; }
.team-role.admin { background: rgba(8,145,178,0.15); color: #22d3ee; }
.team-role.mod { background: rgba(5,150,105,0.15); color: #34d399; }
.team-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.cta-inner { max-width: 520px; }
.cta-inner h2 { font-size: clamp(1.8rem,3.5vw,2.6rem); font-weight: 900; letter-spacing: -0.04em; margin-bottom: 12px; }
.cta-inner p { color: var(--muted); margin-bottom: 28px; }

.mitteilung {
  position: fixed;
  bottom: 15px;
  left: 15px;
  background: rgba(34, 34, 34, 0.5); /* halb transparent */
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.close {
  cursor: pointer;
  font-weight: bold;
  color: #ddd;
}

.close:hover {
  color: white;
}

/* Socials */
.socials{display:flex;justify-content:center;gap:14px;margin-bottom:26px;}
.socials a{
  display:inline-flex;width:34px;height:34px;border-radius:12px;
  align-items:center;justify-content:center;text-decoration:none;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  transition:transform .18s ease, background .18s ease;
}
.socials a:hover{transform:translateY(-2px);background:rgba(255,255,255,.12);}
.socials svg{width:17px;height:17px;fill:#d0d5e1;}

.footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { font-size: 0.8rem; color: var(--dim); }

/* Sub-page hero */
.hero--small { padding: 110px 0 56px; }
.nav-active { color: var(--text) !important; }

/* News page */
.update-meta { justify-content: space-between; }
.update-meta-left { display: flex; align-items: center; gap: 12px; }
.update-tag { display: inline-flex; align-items: center; gap: 6px; }
.update-tag--updates { background: rgba(255,255,255,0.07); color: var(--text); border-radius: 20px; padding: 4px 12px; }
.update-tag--news { background: rgba(59,130,246,0.15); color: #3b82f6; }
.update-tag--event { background: rgba(34,197,94,0.12); color: #22c55e; }
.update-card--featured { background: radial-gradient(ellipse at 60% 40%, #1d1d1d 0%, #141414 100%); }
.update-card--featured .update-title { font-size: clamp(1.8rem,4vw,2.8rem); }
.news-empty { text-align: center; padding: 64px 0; color: var(--dim); font-size: 0.9rem; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2,1fr); gap: 1px; } .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .nav-links, .powered, .btn-join { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 110px 0 72px; }
  .section { padding: 64px 0; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 56px; left: 0; right: 0; background: rgba(15,15,15,0.98); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px; }
}

/* Dashboard */
.dash-login-card { max-width: 420px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px 40px; text-align: center; }
.dash-login-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: #fff; }
.dash-login-card h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.dash-login-card > p { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; }
.dash-login-note { font-size: 0.78rem; color: var(--dim); margin-top: 20px; }
.dash-login-note code { font-family: 'JetBrains Mono', monospace; background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 4px; font-size: 0.9em; }

.dash-profile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; gap: 20px; margin-bottom: 24px; position: relative; }
.dash-avatar { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.dash-avatar-placeholder { width: 64px; height: 64px; border-radius: 12px; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.dash-profile-info h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; }
.dash-id { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--dim); }
.dash-logout { position: absolute; top: 20px; right: 20px; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.stat-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.stat-value { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.stat-value--green { color: #22c55e; }
.stat-value--red { color: var(--red); }
.stat-value--mono { font-family: 'JetBrains Mono', monospace; font-size: 1rem; }

.dash-notice { border-radius: var(--radius); padding: 18px 24px; margin-bottom: 24px; font-size: 0.88rem; line-height: 1.6; }
.dash-notice--warn { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #fbbf24; }
.dash-notice--info { background: rgba(139,92,246,0.08); border: 1px solid rgba(139,92,246,0.2); color: var(--accent); }
.dash-notice code { font-family: 'JetBrains Mono', monospace; background: rgba(255,255,255,0.08); padding: 2px 8px; border-radius: 4px; font-size: 0.95em; }

@media (max-width: 640px) { .dash-stats { grid-template-columns: 1fr; } .dash-profile { flex-direction: column; } .dash-logout { top: 16px; right: 16px; } }

/* =========================
   Producte
========================= */

.products-grid {
  display: grid;
  grid-template-columns: repeat((4, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* =========================
   102 PAGE
========================= */

.error-page{
  min-height:100vh;

  display:flex;
  align-items:center;
  justify-content:center;

  position:relative;
  overflow:hidden;
}

.error-page::before{
  content:"";

  position:absolute;
  inset:0;

  opacity:.03;

  background-image:
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);

  background-size:40px 40px;

  pointer-events:none;
}

/* Glow */

.error-glow{
  position:absolute;

  width:500px;
  height:500px;

  top:50%;
  left:50%;

  transform:translate(-50%,-50%);

  filter:blur(40px);

  pointer-events:none;

  background:
  radial-gradient(
    circle,
    rgba(139,92,246,0.16),
    transparent 70%
  );

  animation:errorGlow 5s ease infinite;
}

@keyframes errorGlow{
  0%,100%{
    opacity:.7;
    transform:translate(-50%,-50%) scale(1);
  }

  50%{
    opacity:1;
    transform:translate(-50%,-50%) scale(1.08);
  }
}

/* Card */

.error-card{

  position:relative;
  z-index:2;

  width:min(720px,92%);

  background:var(--surface);

  border:1px solid var(--border);

  border-radius:24px;

  padding:56px;

  overflow:hidden;
}

/* Badge */

.error-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;

  padding:8px 14px;

  border-radius:999px;

  background:rgba(139,92,246,0.1);

  border:1px solid rgba(139,92,246,0.18);

  color:var(--accent);

  font-size:.78rem;
  font-weight:700;

  letter-spacing:.08em;
  text-transform:uppercase;

  margin-bottom:28px;
}

.error-dot{
  width:7px;
  height:7px;

  border-radius:50%;

  background:currentColor;

  animation:pulse 2s ease infinite;
}

@keyframes pulse{
  0%,100%{
    opacity:1;
  }

  50%{
    opacity:.3;
  }
}

/* Typography */

.error-code{
  font-size:clamp(5rem,12vw,8rem);

  line-height:.9;

  font-weight:900;

  letter-spacing:-0.08em;

  margin-bottom:16px;
}

.error-title{
  font-size:clamp(1.8rem,4vw,2.6rem);

  font-weight:800;

  letter-spacing:-0.04em;

  margin-bottom:16px;
}

.error-text{
  max-width:540px;

  color:var(--muted);

  line-height:1.8;

  font-size:.95rem;
}

/* Progress */

.error-progress{
  width:100%;
  height:12px;

  margin-top:32px;

  border-radius:999px;

  overflow:hidden;

  background:#121212;

  border:1px solid var(--border);
}

.error-progress-bar{
  width:68%;
  height:100%;

  border-radius:999px;

  background:
  linear-gradient(
    90deg,
    #8b5cf6,
    #a78bfa
  );

  animation:loading 3s ease infinite;
}

@keyframes loading{

  0%{
    width:58%;
  }

  50%{
    width:74%;
  }

  100%{
    width:58%;
  }

}

/* Actions */

.error-actions{
  display:flex;
  gap:14px;

  margin-top:36px;

  flex-wrap:wrap;
}

/* Terminal */

.error-terminal{
  margin-top:32px;

  padding:16px 18px;

  border-radius:var(--radius);

  background:#121212;

  border:1px solid var(--border);

  font-family:'JetBrains Mono',monospace;
  font-size:.82rem;

  color:var(--dim);

  overflow:auto;
}

/* Mobile */

@media(max-width:640px){

  .error-card{
    padding:40px 28px;
  }

  .error-actions{
    flex-direction:column;
  }

  .error-actions .btn-primary,
  .error-actions .btn-ghost{
    width:100%;
    justify-content:center;
  }

}
