:root{
  --primary:#1aa36f;
  --primary-dark:#14825a;
  --accent:#ffd43b;
  --bg:#f7faf9;
  --card:#ffffff;
  --border:#e3ebe8;
  --text:#1b2b27;
  --muted:#6b7f79;
}

body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:30px 20px;
}

.card{
  background:var(--card);
  border-radius:18px;
  padding:26px;
  box-shadow:0 12px 30px rgba(0,0,0,.06);
}

h1{
  font-size:26px;
  margin-bottom:10px;
}

p.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
}

p.lead a{
  color:var(--primary);
  font-weight:600;
  text-decoration:none;
}
p.lead a:hover{ text-decoration:underline; }

.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:20px;
}
@media(min-width:820px){
  .grid{ grid-template-columns:1fr 1fr; }
}

.q{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}

.q label.title{
  font-weight:700;
  display:block;
  margin-bottom:10px;
}

.opts{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.opt{
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 14px;
  display:flex;
  gap:8px;
  align-items:center;
  cursor:pointer;
  background:#fdfefe;
  transition:.2s;
}
.opt:hover{
  border-color:var(--primary);
  background:#f1fbf7;
}

.opt input{ accent-color:var(--primary); }

.small{
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}

.row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

button{
  background:var(--primary);
  border:none;
  color:#fff;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}
button:hover{ background:var(--primary-dark); }

button.secondary{
  background:#fff;
  color:var(--primary);
  border:2px solid var(--primary);
}
button.secondary:hover{
  background:#f1fbf7;
}

button:disabled{
  opacity:.6;
  cursor:not-allowed;
}

.result{
  margin-top:24px;
  background:#f9fffc;
  border:2px solid var(--primary);
  border-radius:16px;
  padding:20px;
}

.badge{
  display:inline-block;
  background:var(--accent);
  color:#000;
  padding:6px 14px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
}

.muted{ color:var(--muted); }

pre{
  background:#0f172a;
  color:#e5e7eb;
  padding:14px;
  border-radius:12px;
  overflow:auto;
  font-size:12px;
  margin-top:12px;
}
.hems-seo-text{
  margin-top: 22px;
  background: #ffffff;
  border: 1px solid var(--border, #e3ebe8);
  border-radius: 16px;
  padding: 18px 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.hems-seo-text h2{
  margin: 0 0 10px 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--text, #1b2b27);
}

.hems-seo-text p{
  margin: 0 0 10px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted, #6b7f79);
}

.hems-seo-text p:last-child{
  margin-bottom: 0;
}

.hems-seo-text strong{
  color: var(--text, #1b2b27);
  font-weight: 750;
}

.hems-seo-text a{
  color: var(--primary, #1aa36f);
  font-weight: 650;
  text-decoration: none;
}

.hems-seo-text a:hover{
  text-decoration: underline;
}

/* Optional: etwas mehr Luft am Rand auf Desktop */
@media (min-width: 820px){
  .hems-seo-text{
    padding: 22px 24px;
  }
  .hems-seo-text h2{
    font-size: 20px;
  }
  .hems-seo-text p{
    font-size: 15.5px;
  }
}
