:root {
  --bg: #f7fbff;
  --bg-soft: #edf6ff;
  --bg-soft-2: #fefefe;
  --card: rgba(255, 255, 255, 0.92);
  --line: rgba(148, 163, 184, 0.28);
  --text: #14324a;
  --muted: #60778e;
  --green: #16a34a;
  --yellow: #d97706;
  --red: #dc2626;
  --blue: #0ea5e9;
  --blue-soft: #dff4ff;
  --shadow: 0 18px 45px rgba(31, 62, 99, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, .14), transparent 26%),
    radial-gradient(circle at top left, rgba(34, 197, 94, .08), transparent 22%),
    linear-gradient(180deg, #fbfdff 0%, #f4f9ff 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(104, 144, 183, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(104, 144, 183, .06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.28), transparent 88%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31, 62, 99, 0.08);
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .22s ease, opacity .22s ease;
}
.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav a,
.footer-links a { color: var(--muted); }
.site-nav a:hover,
.site-nav a.is-current,
.footer-links a:hover,
.utility-card a.inline:hover { color: var(--blue); }
.hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 28px;
  align-items: center;
  padding: 68px 0 34px;
}
.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid rgba(14,165,233,.18);
  border-radius: 999px;
  color: #116792;
  background: rgba(14,165,233,.08);
  font-size: .88rem;
}
.hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
}
.hero p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-badges span,
.result-kicker {
  font-size: .82rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148, 163, 184, .22);
}
.hero-visual {
  position: relative;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(237,246,255,.92));
  border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: var(--shadow);
}
.card {
  background: var(--card);
  border: 1px solid rgba(148, 163, 184, .20);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.intro-card {
  padding: 22px 24px;
  margin: 8px 0 20px;
}
.intro-card h2,
.faq-card h2,
.result-card h3,
.form-card h3 { margin-top: 0; }
.intro-card p,
.faq-card li,
.result-card p,
.form-group small,
.utility-card p,
.utility-card li { color: var(--muted); }
.calculator-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 20px;
}
.form-card,
.result-card,
.faq-card,
.utility-card { backdrop-filter: blur(10px); }
.form-card {
  padding: 24px;
}
.form-group,
.form-check-group {
  margin-bottom: 18px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
input,
select {
  width: 100%;
  border: 1px solid rgba(148,163,184,.28);
  background: #ffffff;
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, .03);
}
input:focus,
select:focus,
button:focus {
  outline: 2px solid rgba(14,165,233,.28);
  outline-offset: 2px;
}
.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 12px;
}
.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  border: 0;
  border-radius: 16px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #0ea5e9);
  box-shadow: 0 12px 24px rgba(14, 165, 233, .18);
}
.btn.secondary {
  color: var(--text);
  background: #f4f9fe;
  border: 1px solid rgba(148, 163, 184, .24);
}
.result-card {
  padding: 24px;
  position: sticky;
  top: 92px;
  align-self: start;
}
.ampel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
  border: 1px solid rgba(148, 163, 184, .20);
}
.ampel.neutral {
  background: #eef5fb;
  color: #52708c;
}
.ampel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(255,255,255,.55);
}
.ampel.green {
  background: rgba(22,163,74,.10);
  color: #0d7f34;
}
.ampel.green .ampel-dot { background: var(--green); }
.ampel.yellow {
  background: rgba(217,119,6,.11);
  color: #9a5b07;
}
.ampel.yellow .ampel-dot { background: var(--yellow); }
.ampel.red {
  background: rgba(220,38,38,.10);
  color: #b91c1c;
}
.ampel.red .ampel-dot { background: var(--red); }
.result-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 12px;
}
.result-box {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  border: 1px solid rgba(148,163,184,.16);
}
.note-box { margin-top: 10px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 0 56px;
}
.faq-card { padding: 22px 24px; }
.faq-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.65;
}
.site-footer {
  border-top: 1px solid rgba(148, 163, 184, .18);
  background: rgba(255, 255, 255, .72);
}
.footer-grid {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-links { display: flex; gap: 16px; }
.footer-meta {
  white-space: nowrap;
}
.utility-page {
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 40px 0;
}
.utility-card {
  width: min(840px, calc(100% - 32px));
  padding: 28px;
}
.utility-card h1 { margin-top: 0; }
.utility-card p,
.utility-card li { line-height: 1.7; }
.utility-card a.inline { color: var(--blue); font-weight: 600; }
.hidden { display: none; }


@media (max-width: 860px) {
  .nav {
    min-height: 72px;
    position: relative;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }
  .site-nav a:hover,
  .site-nav a.is-current {
    background: rgba(14,165,233,.08);
  }
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 940px) {
  .footer-grid {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero,
  .calculator-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .result-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
  .hero {
    padding-top: 40px;
  }
  .result-boxes {
    grid-template-columns: 1fr;
  }
}


.examples-card {
  padding: 20px 22px;
  margin: 0 0 20px;
}
.examples-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.examples-head h3 {
  margin: 0 0 6px;
}
.examples-head p {
  margin: 0;
  color: var(--muted);
}
.example-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.example-chip {
  border: 1px solid rgba(14,165,233,.20);
  background: rgba(14,165,233,.08);
  color: #116792;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.example-chip:hover {
  transform: translateY(-1px);
  background: rgba(14,165,233,.14);
  border-color: rgba(14,165,233,.32);
}
.btn.small {
  padding: 10px 14px;
  border-radius: 14px;
}



.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 auto 18px;
}
.trust-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  font-weight: 600;
  color: #33506b;
  text-align: center;
}
.content-grid {
  display: grid;
  gap: 20px;
  padding: 10px 0;
}
.content-grid.two-up {
  grid-template-columns: 1fr 1fr;
}
.content-grid.three-up {
  grid-template-columns: repeat(3, 1fr);
}
.content-card {
  padding: 24px;
}
.content-card h2,
.content-card h3 {
  margin-top: 0;
}
.content-card p,
.ordered-list,
.check-list {
  color: var(--muted);
  line-height: 1.75;
}
.ordered-list,
.check-list {
  margin: 0;
  padding-left: 20px;
}
.check-list.compact {
  padding-left: 18px;
}
.content-tag {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(22,163,74,.10);
  color: #0d7f34;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.case-card h3 {
  margin-top: 14px;
}
.highlight-card {
  background: linear-gradient(180deg, #ffffff, #eef8ff);
}
.cta-panel {
  padding: 18px 0 60px;
}
.cta-card {
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cta-card h2 {
  margin: 10px 0 8px;
}
.cta-card p {
  margin: 0;
  color: var(--muted);
}
.article-page {
  padding: 36px 0 56px;
}
.article-hero {
  padding: 30px;
  margin-bottom: 20px;
}
.article-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}
.article-hero p {
  margin: 0 0 18px;
  max-width: 860px;
  color: var(--muted);
  line-height: 1.75;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 20px;
  margin-bottom: 20px;
}
.article-card,
.side-card {
  padding: 26px;
}
.article-card h2 {
  margin: 0 0 12px;
}
.article-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 18px;
}
.info-callout {
  margin: 8px 0 22px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(14,165,233,.08);
  border: 1px solid rgba(14,165,233,.16);
  color: #33506b;
  line-height: 1.7;
}
.side-card h3 {
  margin-top: 0;
}
.side-card p,
.side-card li {
  color: var(--muted);
  line-height: 1.75;
}
.article-sidebar {
  display: grid;
  gap: 20px;
  align-self: start;
}
.article-examples {
  padding-top: 0;
}
@media (max-width: 940px) {
  .trust-strip,
  .content-grid.two-up,
  .content-grid.three-up,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .trust-strip {
    gap: 10px;
  }
}
