:root{
  --bg:#f2f6ff;
  --card:#fff;
  --ink:#111;
  --muted:#444;
  --bad:#ef476f;
  --brand:#2c6ef2;
  --ring: rgba(44,110,242,.25);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: Verdana, system-ui, sans-serif;
  background:var(--bg);
  color:var(--ink);
}

.wrap{ max-width: 560px; margin: 0 auto; padding: 18px 16px; }

.banner{
  background: #fff7e6;
  border: 1px solid rgba(0,0,0,.08);
  padding: 10px 12px;
  border-radius: 14px;
  margin-bottom: 12px;
}

.card{
  background:var(--card);
  border-radius: 18px;
  padding: 14px 14px 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

.brand{ display:flex; gap:12px; align-items:center; }
.logo{
  width:46px; height:46px; border-radius:14px;
  background: rgba(44,110,242,.14);
  display:grid; place-items:center;
  font-weight:800; color:#1847a8;
}
h1{ margin:0; font-size: 20px; }
.meta{ margin:2px 0 0; color:var(--muted); font-size: 13px; }

.alert{
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(239,71,111,.12);
  border: 1px solid rgba(239,71,111,.25);
}

label{ display:block; margin-top: 10px; font-weight:700; }
input{
  width:100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  outline: none;
}
input:focus{
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--ring);
}

.btn{
  margin-top: 12px;
  width:100%;
  border:0;
  background: var(--brand);
  color:#fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight:800;
  cursor:pointer;
}

.ghost{
  margin-top: 10px;
  width:100%;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight:800;
  cursor:pointer;
}

.tiny{ color:var(--muted); font-size: 12px; margin: 8px 0 0; }

/* Overlay ist standardmäßig AUS */
.overlay{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  place-items: center;
  padding: 16px;
}

/* Overlay ist AN */
.overlay.is-open{
  display: grid;
}

.overlay-card{
  background:#fff;
  border-radius: 18px;
  padding: 14px 14px 16px;
  max-width: 560px;
  width:100%;
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.overlay-card h2{ margin: 0 0 8px; }
.overlay-card ul{ margin: 8px 0 12px 18px; color:#222; }
.row{ display:flex; gap:10px; flex-wrap:wrap; }
.row .btn{ width:auto; flex: 1; }
.row .ghost{ width:auto; flex: 1; }