:root { --green: #0f7b6c; --blue: #2a5bd7; --ink: #15202b; --muted: #5b6b78; --line: #dde4ea; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fbfcfd; }
a { color: var(--blue); }
.container { width: min(1120px, 100% - 40px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Top bar: the square mark is a background picture of the home link. */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 252, 253, .94); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand-mark { display: block; width: 40px; height: 40px; background: url("../img/merke-512.png") center / contain no-repeat; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }

/* Hero: the wordmark is an SVG mask painted with the brand gradient. */
.hero { padding: 72px 0 64px; text-align: center; background: linear-gradient(180deg, #eef4f6, #fbfcfd); }
.hero-logo { width: min(320px, 70vw); aspect-ratio: 4 / 1; margin: 0 auto 28px; background: linear-gradient(100deg, var(--green) 10%, var(--blue) 90%);
  -webkit-mask: url("../img/ordmerke.svg") center / contain no-repeat; mask: url("../img/ordmerke.svg") center / contain no-repeat; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: 0 0 16px; }
.lead { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 1.15rem; }
.button { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }
.reveal { opacity: 0; transition: opacity .5s ease; }
.reveal.is-in { opacity: 1; }

.section { padding: 56px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card h3 { margin: 0 0 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { width: 100%; height: auto; border-radius: 14px; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .site-nav { gap: 14px; font-size: .95rem; } }

.site-footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
