/* App/public/assets/style.css */
:root {
  --bg: #0f1216;
  --panel: #141922;
  --text: #e6e6e6;
  --muted: #9aa4b2;
  --accent: #3fb950;
  --border: #2a3240;
}
* { box-sizing: border-box; }
html, body { margin:0; padding:0; background:var(--bg); color:var(--text); font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, sans-serif; }
a { color: var(--accent); text-decoration: none; }
header, main, footer { max-width: 980px; margin: 0 auto; padding: 16px; }
header h1 { margin: 0 0 8px; font-weight: 700; }
.warn { background: #3a1b1b; border: 1px solid #6b2b2b; color:#ffdede; padding:10px 12px; border-radius:10px; }
form { background: var(--panel); border:1px solid var(--border); padding:16px; border-radius:12px; }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:12px; }
label { display:flex; flex-direction:column; gap:6px; color: var(--muted); }
input { background:#0e141b; color:var(--text); border:1px solid var(--border); border-radius:10px; padding:10px 12px; outline:none; }
input:focus { border-color: var(--accent); }
.actions { display:flex; gap:8px; margin-top: 10px; }
button { background: var(--accent); color:#05150a; border:none; padding:10px 16px; border-radius:10px; cursor:pointer; font-weight:600; }
button.ghost { background: transparent; color: var(--text); border:1px solid var(--border); }
section.previews { display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:16px; margin: 16px 0; }
section.previews img { display:block; max-width: 100%; height:auto; background:white; padding:8px; border-radius:8px; }
pre { background: #0e141b; border:1px solid var(--border); padding:12px; border-radius:10px; overflow:auto; }
footer { color: var(--muted); }
/* --- Navigation (PK-WS) ----------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* transparenter Balken im Dark-Theme */
  background: rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.site-nav__brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
  padding: .25rem .5rem;
  border-radius: .5rem;
  opacity: .95;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav__links a {
  text-decoration: none;
  padding: .4rem .7rem;
  border-radius: .5rem;
  opacity: .85;
  transition: opacity .15s ease, outline-color .15s ease;
}
.site-nav__links a:hover { opacity: 1; }
.site-nav__links a.is-active,
.site-nav__links a[aria-current="page"] {
  outline: 1px solid rgba(255,255,255,0.25);
  outline-offset: 0;
  opacity: 1;
}
.site-nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: .5rem;
  padding: .35rem .5rem;
  line-height: 1;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 720px) {
  .site-nav__toggle { display: inline-block; }
  .site-nav__links {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    padding: .5rem 1rem .75rem;
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-direction: column;
    gap: .35rem;
  }
  .site-nav__links.is-open { display: flex; }
}
