:root{
  --bg:#0b0b0d;
  --panel:#101014;
  --panel2:#0f0f12;
  --text:#e7e7ea;
  --muted:#a7a7ad;
  --line:rgba(255,255,255,.08);
  --accent:#b30018;  /* Hirntot Rot */
  --accent2:#ff0019;
  --shadow:0 12px 40px rgba(0,0,0,.35);
  --r:14px;
  --max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(179,0,24,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(255,42,63,.10), transparent 55%),
    radial-gradient(1200px 600px at 20% 110%, rgba(179,0,24,.22), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(255,42,63,.10), transparent 55%),
    var(--bg);
  background-attachment: scroll;
  color:var(--text);
}

.noise{
  pointer-events:none;
  position:fixed;
  inset:0;
  opacity:.08;
  mix-blend-mode:overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

a{color:inherit; text-decoration:none}
a:hover{color:var(--accent2)}

.wrap{max-width:var(--max); margin:0 auto; padding:22px}
.panel{
  background:linear-gradient(180deg, rgba(255,255,255,.03), transparent 55%), var(--panel);
  border:1px solid var(--line);
  border-radius:var(--r);
  box-shadow:var(--shadow);
}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(11,11,13,.65);
  border-bottom:1px solid var(--line);

  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
}
.topbar-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  gap:60px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:900; letter-spacing:.6px;
}
.brand-dot{
  width:10px; height:10px; border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(179,0,24,.18);
}
.brand-name{font-size:15px}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:18px;
}
.nav-link{
  display:inline-flex;
  align-items:center;
  gap:8px;

  /* FIX: niemals Layout shift */
  box-sizing:border-box;
  min-height:34px;

  padding:9px 10px;
  border-radius:12px;

  /* Border ist immer sichtbar (nur Farbe wechselt) */
  border:1px solid rgba(255,255,255,.10);
  background:transparent;  

  color:var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.2px;
}
.nav-link:hover{
  color:var(--text);
  border-color:rgba(179,0,24,.55);
  background: rgba(255,255,255,.03);
}
.nav-link.is-active{
  color: var(--text);
  border-color: rgba(179,0,24,.55);  
  background: rgba(179,0,24,.10); 
  box-shadow: 0 0 0 4px rgba(179,0,24,.15);  
}

.search{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
  width:min(520px, 60vw);
}

.search input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.search input:focus{
  border-color: rgba(179,0,24,.55);
  box-shadow: 0 0 0 4px rgba(179,0,24,.15);
}
.search input:hover{border-color:rgba(179,0,24,.55)}
.search button{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
}
.search button:hover{border-color:rgba(179,0,24,.55)}

h1,h2,h3{margin:0 0 10px}
h1{font-size:22px}
h2{font-size:18px}
p{margin:0 0 10px; color:var(--muted); line-height:1.55}

.indexed-banner{
  margin:14px 0 0;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(179,0,24,.55);
  background: rgba(179,0,24,.12);
  color: var(--text);
}

.footer{
  border-top:1px solid var(--line);
  margin-top:28px;
  padding:18px 0 26px;
  color:var(--muted);

  user-select:none;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
}

.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
  font-size:12px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Footer-Links rechts */
.footer-links{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
}

.footer-links a:hover{
  text-decoration:underline;
  color: #ff0019;
}

/* Mobile: Footer untereinander */
@media (max-width: 520px){
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
}

/* Utilities */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--muted);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
}
.badge--red{
  border-color: rgba(179,0,24,.55);
  color: var(--text);
  background: rgba(179,0,24,.10);
}
.hr{height:1px; background:var(--line); margin:14px 0}

/* Responsive */
@media (max-width: 720px){
  .topbar-inner{
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding:12px 14px;
  }

  .brand{
    gap:10px;
  }

  .brand-name{
    font-size:14px;
  }

  .nav{
    margin-left:0;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:10px;
  }

  .nav-link{
    min-height:40px;
    padding:10px 18px;
    border-radius:16px;
    font-size:13px;
  }

  .search{
    width:100%;
    margin-left:0;
    gap:8px;
  }

  .search input{
    min-width:0;
    padding:12px 14px;
    font-size:16px;
  }

  .search button{
    flex:0 0 52px;
    width:52px;
    height:52px;
    padding:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
  }
}

@media (max-width: 480px){
  .topbar-inner{
    gap:12px;
    padding:10px 12px;
  }

  .nav{
    gap:8px;
  }

  .nav-link{
    flex:0 0 auto;
    min-height:38px;
    padding:10px 16px;
    font-size:12px;
  }

  .search input{
    padding:11px 12px;
    font-size:16px;
  }

  .search button{
    flex:0 0 48px;
    width:48px;
    height:48px;
    font-size:17px;
  }
}