/* Homecockpit Hub – centered logo hero */
:root{
  --bg:#0b0f14;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --line:rgba(255,255,255,.14);
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --accent:#57c7ff;
  --accent2:#9b7bff;
  --ok:#4ade80;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% 10%, rgba(155,123,255,.22), transparent 55%),
    radial-gradient(1000px 700px at 90% 30%, rgba(87,199,255,.18), transparent 55%),
    var(--bg);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
code{background:rgba(255,255,255,.06); border:1px solid var(--line); padding:2px 6px; border-radius:8px}

.container{max-width:1180px; margin:0 auto; padding:18px}

.card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.05);
  border-radius:18px;
  overflow:hidden;
  backdrop-filter: blur(10px);
}

/* HERO */
.hero{
  min-height:300px;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;

  /* DEUTLICH HELLERES OVERLAY */
  background:
    linear-gradient(
      135deg,
      rgba(20,30,45,.35),
      rgba(10,15,20,.55)
    ),
    url("../img/cockpit.jpg") center/cover no-repeat;
}

.hero-inner{
  padding:18px 18px;
}

/* centered layout for hero */
.hero-inner.hero-center{
  min-height:300px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:18px;
  text-align:center;
  padding:26px 22px;
}

.hero-logo{
  width:1050px;              /* NICHT kleiner */
  max-width:100%;
  height:auto;
  object-fit:contain;

  /* Weniger aggressiver Schatten */
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}

.hero-title{
  font-size:30px;
  font-weight:700;
  margin-top:80px;
  letter-spacing:1.2px;
  color:#ffffff;
  text-shadow:0 2px 12px rgba(0,0,0,.6);
}
/* NAV */
.navbar{
  margin-top:12px;
  padding:10px 12px;
}
.navbar .nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}
.nav a{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  font-size:14px;
}
.nav a.active{
  border-color:rgba(87,199,255,.35);
  background:rgba(87,199,255,.12);
}

/* MAIN GRID */
.main{
  margin-top:14px;
  display:grid;
  grid-template-columns: 2.1fr 1fr;
  grid-template-rows: auto auto;
  gap:14px;
}

.panel-head{
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.panel-head .title{font-weight:800; letter-spacing:.6px}
.panel-head .meta{color:var(--muted); font-size:13px}

.panel-body{padding:12px 14px}

.feed{ grid-row: 1 / span 2; }

.scroll{
  max-height:540px;
  overflow:auto;
  padding-right:6px;
}

.list{display:flex; flex-direction:column; gap:10px}
.item{
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(0,0,0,.12);
}
.item .row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.item .t{font-weight:700}
.item .s{color:var(--muted); margin-top:6px; line-height:1.35}

.badges{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.badge{
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
}
.badge.src{border-color:rgba(87,199,255,.28); color:rgba(87,199,255,.92)}
.badge.new{border-color:rgba(74,222,128,.35); color:rgba(74,222,128,.95)}

.section-banner{
  margin-top:14px;
  height:220px;
  border-radius:18px;
  border:1px solid var(--line);
  background:
    linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
    url("assets/img/banner.jpg") center/cover no-repeat;
}

.footer{
  margin-top:16px;
  padding:10px 4px 0;
  color:var(--muted);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .main{grid-template-columns:1fr}
  .feed{grid-row:auto}
  .scroll{max-height:420px}
}

@media (max-width: 768px){
  .hero{min-height:240px}
  .hero-inner.hero-center{min-height:240px}
  .hero-logo{width:180px}
  .hero-title{font-size:24px}
}
