/* Gemeinsames Styling für die statischen SEO-/Tool-Seiten von SemBan.
   Bewusst schlank & eigenständig (kein Build, voll crawlbar). */
:root {
  --navy: #2a2a6e;
  --brand: #f5c645;
  --brand-strong: #e0ad1f;
  --ink: #1c1917;
  --muted: #57534e;
  --faint: #a8a29e;
  --cream: #fdfcf7;
  --line: #efe9da;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 120% at 85% 8%, #f7ecc9 0%, rgba(247, 236, 201, 0) 55%),
    linear-gradient(135deg, #fdfcf7 0%, #faf6ec 55%, #f6eed6 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
a { color: var(--navy); }
header.site {
  position: sticky; top: 0; z-index: 10;
  background: #fdfcf7;
  border-bottom: 1px solid var(--line);
}
header.site .row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); text-decoration: none; font-size: 18px; }
.brand svg { display: block; }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand); color: var(--ink); font-weight: 700;
  text-decoration: none; padding: 11px 20px; border-radius: 999px;
  border: none; cursor: pointer; font-size: 15px; transition: background .15s;
}
.btn:hover { background: var(--brand-strong); }
.btn.small { padding: 8px 16px; font-size: 14px; }
main { padding: 40px 0 24px; }
h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--navy); margin: 0 0 14px; }
h2 { font-size: 1.5rem; letter-spacing: -0.01em; color: var(--navy); margin: 36px 0 12px; }
h3 { font-size: 1.1rem; color: var(--navy); margin: 20px 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }
p { color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 18px 40px -22px rgba(42, 42, 110, 0.25); }
.calc-row { display: grid; grid-template-columns: 1fr 110px 36px; gap: 8px; margin-bottom: 8px; align-items: center; }
.calc-row input, .calc-head span { width: 100%; }
.calc-head { display: grid; grid-template-columns: 1fr 110px 36px; gap: 8px; font-size: 12px; color: var(--faint); font-weight: 600; margin-bottom: 6px; }
input, select {
  font: inherit; padding: 9px 11px; border: 1px solid #d6d3d1; border-radius: 10px;
  background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus { outline: none; border-color: var(--brand-strong); box-shadow: 0 0 0 3px rgba(245, 198, 69, 0.3); }
.iconbtn { background: none; border: none; color: var(--faint); cursor: pointer; font-size: 18px; line-height: 1; padding: 6px; border-radius: 8px; }
.iconbtn:hover { background: #faf0d8; color: #b91c1c; }
.linkbtn { background: none; border: none; color: var(--navy); font-weight: 600; cursor: pointer; padding: 6px 0; font-size: 14px; }
.result { margin-top: 16px; padding: 16px 18px; border-radius: 14px; background: #faf7ee; border: 1px solid var(--line); }
.result .big { font-size: 2.2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.result .sub { font-size: 13px; color: var(--faint); margin-top: 4px; }
.bar { height: 10px; border-radius: 999px; background: #ece7d8; overflow: hidden; margin-top: 10px; }
.bar > span { display: block; height: 100%; background: var(--brand); border-radius: 999px; }
.cta { margin: 32px 0; padding: 24px; border-radius: 20px; background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { color: #c7c7e6; margin: 0 0 16px; }
details { border-top: 1px solid var(--line); padding: 14px 2px; }
details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
details p { margin: 10px 0 0; }
.muted { color: var(--faint); font-size: 13px; }
ul.checks { list-style: none; padding: 0; }
ul.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; color: var(--muted); }
ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-strong); font-weight: 800; }
table.cmp { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
table.cmp th, table.cmp td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.cmp th { color: var(--faint); font-weight: 600; }
table.cmp td.semban { color: var(--navy); font-weight: 600; }
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 40px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
footer.site a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer.site a:hover { color: var(--navy); }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--faint); }
