:root{
  --bg1:#eef4fb;
  --bg2:#dde8f6;
  --panel:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15,23,42,.12);
  --shadow:0 18px 55px rgba(2,6,23,.12);
  --radius:22px;
  --blue:#1e3a8a;
}

*{box-sizing:border-box}
html,body{height:100%}

/* Hintergrund */
.home-bg{
  min-height:100vh;
  padding:34px 24px;
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, #edf3fb 35%, #dbe7f6 100%);
}

/* Rahmen */
.home-shell{
  max-width:1320px;
  margin:0 auto;
}

.home-panel{
  background:var(--panel);
  border:1px solid rgba(15,23,42,0.08);
  border-radius:18px;
  box-shadow:0 18px 45px rgba(15,23,42,0.08);
  padding:18px 24px 16px;
}

/* Topbar */
.home-topbar{
  display:grid;
  grid-template-columns:260px 1fr 260px;
  align-items:center;
  gap:16px;
  min-height:72px;
  padding:0 0 14px;
  border-bottom:1px solid rgba(15,23,42,0.12);
}

.site-logo{
  height:52px;
  width:auto;
  max-width:260px;
  object-fit:contain;
  display:block;
}

.brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  text-decoration:none;
  color:#0f172a;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:15px;
  font-weight:750;
  letter-spacing:-0.2px;
  min-width:0;
}
.brand-mark{
  width:22px;
  height:22px;
  border-radius:8px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 6px 18px rgba(37,99,235,0.18);
  border: 1px solid rgba(15,23,42,0.08);
  display:inline-block;
}

.brand-logo{
  display:block;
  height:34px;
  width:auto;
  max-width:190px;
  object-fit:contain;
}

.top-actions{display:flex; gap:14px; align-items:center}

.top-link{
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.top-link:hover{color:var(--text)}

/* Tabs */
.home-tabs{
  justify-self:center;
  display:grid;
  grid-template-columns:150px 135px 145px;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:0;
  margin:0;
  border:0;
}
.home-tab{
  width:100%;
  box-sizing:border-box;
  text-decoration:none;
  color:#334155;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-weight:650;
  font-size:14px;
  line-height:20px;
  padding:8px 13px;
  border-radius:999px;
  transition:background 0.18s ease, color 0.18s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}
.home-tab.active{
  color:#0f2f6b;
  background:rgba(30,58,138,0.08);
}

/* Hero */
.home-hero{
  text-align:center;
  padding:34px 8px 18px;
}

.home-eyebrow{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 12px;
  border:1px solid rgba(30,58,138,0.14);
  border-radius:999px;
  background:rgba(30,58,138,0.04);
  color:#1e3a8a;
  font-size:13px;
  font-weight:700;
  margin-bottom:18px;
}

.home-title{
  max-width:820px;
  margin:0 auto;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:34px;
  font-weight:680;
  letter-spacing:-0.5px;
  line-height:1.18;
  color:#0f172a;
}

.home-subtitle{
  margin:15px auto 0;
  max-width:720px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:#475569;
  font-size:16px;
  line-height:1.5;
}

.home-searchrow{
  margin:26px auto 0;
  max-width:760px;
  display:flex;
  gap:10px;
  align-items:center;
  padding:8px 9px 8px 14px;
  border:1px solid rgba(15,23,42,0.12);
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 32px rgba(15,23,42,0.06);
}

.home-searchrow .icon{
  width:21px;
  height:21px;
  color:rgba(15,23,42,.42);
  flex:0 0 auto;
}

.home-searchrow input{
  flex:1;
  border:0;
  outline:none;
  font-size:16px;
  padding:12px 6px;
  color:#0f172a;
  background:transparent;
}

.home-searchrow input::placeholder{
  color:rgba(15,23,42,0.42);
}

.btn-primary{
  background:#0f2f6b;
  color:#fff;
  box-shadow:none;
  border:1px solid rgba(15,47,107,0.2);
  text-decoration:none;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:14px;
  font-weight:650;
  padding:10px 16px;
  border-radius:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
  transition:background 0.18s ease, transform 0.18s ease;
}

.btn-primary:hover{
  background:#0b2557;
  transform:translateY(-1px);
}

.home-cta{
  margin-top:18px;
}

.dual-cta{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

.btn-primary-cta,
.btn-secondary-cta{
  min-width:210px;
  padding:11px 18px;
  border-radius:13px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:14px;
  font-weight:650;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-primary-cta{
  background:#0f172a;
  color:#ffffff;
  border:1px solid #0f172a;
  box-shadow:none;
}

.btn-primary-cta:hover{
  background:#020617;
  transform:translateY(-1px);
}

.btn-secondary-cta{
  background:#ffffff;
  color:#0f172a;
  border:1px solid rgba(15,23,42,0.22);
  box-shadow:none;
}

.btn-secondary-cta:hover{
  border-color:#0f172a;
  background:#f8fafc;
  transform:translateY(-1px);
}

/* Proof */
.home-proof{
  margin:16px auto 0;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  color:#475569;
  font-size:13px;
}

.home-proof span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15,23,42,0.04);
  border:1px solid rgba(15,23,42,0.07);
}

.home-proof span::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background:#2563eb;
  opacity:0.75;
}

.home-proof strong{
  color:var(--text);
}

@media (max-width: 760px){
  .home-hero{
    padding:26px 0 14px;
  }

  .home-title{
    font-size:34px;
    letter-spacing:-0.7px;
  }

  .home-subtitle{
    font-size:15px;
  }

  .home-searchrow{
    flex-wrap:wrap;
    padding:10px;
  }

  .home-searchrow input{
    min-width:0;
    width:calc(100% - 34px);
  }

  .home-searchrow .btn-primary{
    width:100%;
  }

  .btn-primary-cta,
  .btn-secondary-cta{
    width:100%;
    min-width:0;
  }
}
/* Cards */
.home-content{padding:18px 0 10px}
.cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.card{
  background:#ffffff;
  border:1px solid rgba(17,24,39,0.07);
  border-radius:16px;
  padding:22px;
  box-shadow:0 10px 28px rgba(17,24,39,0.045);
  transition:box-shadow 0.22s ease, transform 0.22s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 38px rgba(17,24,39,0.075);
}
.card h3{
  margin:2px 0 12px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:18px;
  font-weight:700;
  letter-spacing:-0.2px;
  color:#0f172a;
}

.list-item{
  display:flex;
  gap:12px;
  padding:12px 0;
  border-top:1px solid var(--border);
  align-items:flex-start;
}
.list-item:first-of-type{border-top:0; padding-top:0}

.thumb{
  width:92px;
  height:68px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--border);
  flex:0 0 auto;
  background:#f1f5f9;
}
.thumb img{width:100%; height:100%; object-fit:cover; display:block}

.item-title{
  display:block;
  color:var(--text);
  text-decoration:none;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:15px;
  font-weight:700;
  line-height:1.35;
}
.item-title:hover{text-decoration:underline}

.item-category{
  margin-top:6px;
}

.badge{
  display:inline-flex;
  width:max-content;
  font-size:12px;
  font-weight:800;
  color:var(--blue);
  background:rgba(30,58,138,.08);
  padding:4px 10px;
  border-radius:999px;
}
.item-meta{margin-top:6px; color:var(--muted); font-size:13px}

/* Steps */
.steps{display:flex; flex-direction:column; gap:12px}
.step{display:flex; gap:12px; align-items:flex-start}
.num{
  width:28px; height:28px;
  border-radius:999px;
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  color:var(--blue);
  background:#fff;
}
.txt{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-weight:700;
  color:#0f172a;
}

.sub{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--muted);
  font-size:13px;
  margin-top:2px;
  line-height:1.35;
}
/* Footer */
.home-footer{
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid var(--border);
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.home-footer a{color:var(--muted); text-decoration:none; margin-left:10px}
.home-footer a:hover{color:var(--text)}

/* Responsive */
@media (max-width: 900px){
  .cards{grid-template-columns:1fr}
  .home-title{font-size:34px}
}

@media (max-width: 760px){
  .home-bg{
    padding:14px 10px;
  }

  .home-shell{
    max-width:100%;
  }

  .home-panel{
    border-radius:16px;
    padding:14px 14px 12px;
  }
}