/* ====== Farb- & Layout-Variablen ====== */
:root{
  /* Dark-Grey Theme */
  --bg:#2a2f37;          /* Seitenhintergrund */
  --panel:#343b45;       /* Paneel / Section-Hintergrund */
  --fg:#e7ebf0;          /* Primärtext */
  --muted:#aab3bf;       /* Sekundärtext */

  --tile:rgba(255,255,255,.06);      /* Karten-Hintergrund */
  --tile-hover:rgba(255,255,255,.10);
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

/* ====== Base ====== */
*{box-sizing:border-box}
html,body{
  margin:0;padding:0;
  background:var(--bg); color:var(--fg);
  font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Inter,sans-serif;
}
a{color:inherit;text-decoration:none}

/* ====== Header / Navigation ====== */
.header{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 22px; position:sticky; top:0; z-index:10;
  backdrop-filter:blur(8px);
  background:linear-gradient(to bottom, rgba(42,47,55,.85), rgba(42,47,55,.55));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.brand{font-weight:700;letter-spacing:.2px}
.nav a{opacity:.9;margin-left:16px}.nav a:hover{opacity:1}

/* ====== Seiten-Container ====== */
.container{max-width:1100px;margin:28px auto;padding:0 18px}

/* ====== Hero ====== */
.hero{
  background:
    radial-gradient(900px 320px at 20% -10%, rgba(146,167,255,.18), transparent 60%),
    radial-gradient(900px 320px at 80% 0%,   rgba(255,191,140,.12), transparent 60%);
  border:1px solid rgba(255,255,255,.07);
  border-radius:24px; padding:28px; box-shadow:var(--shadow)
}

/* ====== Grid & Cards (FEHLTEN ZULETZT) ====== */
.grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  margin-top:18px;
}

.card{
  background:var(--tile);
  border:1px solid rgba(255,255,255,.09);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
  position:relative; overflow:hidden; backdrop-filter:blur(6px);
}
.card:hover{transform:translateY(-2px);background:var(--tile-hover);border-color:rgba(255,255,255,.14)}
.card::after{
  content:""; position:absolute; inset:-2px;
  background:conic-gradient(from 180deg,
    hsla(210,90%,60%,.06), hsla(160,80%,55%,.06),
    hsla(35,90%,55%,.06),  hsla(285,70%,60%,.06),
    hsla(210,90%,60%,.06));
  filter:blur(22px); z-index:0;
}
.card .inner{position:relative; z-index:1}
.card h3{margin:10px 0 8px; font-size:18px}
.card p{margin:0; color:var(--muted)}

/* ====== Icons (64px, kein Rahmen, kein Beschnitt) ====== */
.icon{
  width:64px; height:64px; aspect-ratio:1/1;
  border-radius:16px; overflow:hidden;
  background:transparent; border:none;
  display:grid; place-items:center;
}
.icon img{
  width:100%; height:100%;
  object-fit:contain; image-rendering:auto; transform:translateZ(0);
  display:block;
}

/* ====== Badges ====== */
.badge{
  display:inline-block; padding:4px 8px; border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  font-size:12px; color:#dfe6f3; margin-top:10px;
}
.badge.beta{background:#e67300; color:#fff; border:none}

/* ====== Suchleiste ====== */
.searchbar{margin-top:18px;display:flex;gap:10px}
input[type=search]{
  flex:1; padding:12px 14px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px; color:var(--fg);
}
button{
  padding:10px 14px; border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  color:var(--fg); cursor:pointer;
}
button:hover{background:rgba(255,255,255,.12)}

/* ====== Panels / Sections (Impressum etc.) ====== */
.section{
  background:var(--panel);
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding:18px;
  margin-bottom:24px;   /* Abstand zwischen Blöcken */
}

/* ====== Footer ====== */
.footer{opacity:.7;text-align:center;padding:40px 0;color:var(--muted)}
