/* ==========================================================================
   HammarKraft, publik webbplats
   Inga externa typsnitt eller ramverk: allt laddas från vår egen server.
   ========================================================================== */

/* Färger hämtade från loggan: stålblå #3372a7 och marinblå #10253b. */
:root {
    --bg: #f3f6f9;
    --surface: #ffffff;
    --surface-2: #e8eef4;
    --ink: #0f1b29;
    --ink-2: #33445a;
    --muted: #536479;
    --line: #d8e0e9;
    --accent: #1f5f97;
    --accent-hover: #174c7a;
    --accent-ink: #ffffff;
    --accent-soft: #e0ebf6;
    --accent-text: #1c5a90;

    --dark: #071a2b;
    --dark-2: #0c2439;
    --dark-ink: #eaf1f8;
    --dark-muted: #a3b6ca;
    --dark-line: rgba(160, 200, 240, .09);
    --dark-accent: #7fb6e8;
    --glow: rgba(51, 114, 167, .45);

    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 1px 2px rgba(15, 27, 41, .05), 0 10px 30px -14px rgba(15, 27, 41, .25);
    /* Rubriker: tungt och kantigt (Impact finns på Windows, Mac och iPhone).
       Saknas Impact används närmaste tjocka typsnitt i fetstil. */
    --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Bold", "Arial Black", system-ui, sans-serif;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
    --wrap: 1140px;
    --gutter: 24px;
    --header-h: 68px;
}

@media (max-width: 600px) {
    :root { --gutter: 16px; --header-h: 60px; }
}

/* ---------- Bas ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
main { flex: 1; outline: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 800; font-synthesis: none; letter-spacing: .005em; line-height: 1.05; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.icon { flex: none; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
    border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

.eyebrow {
    font-family: var(--mono);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: .9rem;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }

/* ---------- Knappar ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .7em 1.2em;
    font: inherit; font-size: .97rem; font-weight: 650; line-height: 1.2;
    border-radius: 999px; border: 1.5px solid transparent;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-lg { padding: .85em 1.45em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: var(--dark-ink); }
.btn-ghost-light:hover { border-color: var(--dark-ink); color: var(--dark-ink); background: rgba(255, 255, 255, .06); }
@media (max-width: 480px) {
    .btn { white-space: normal; text-align: center; }
}

/* ---------- Förhandsvisning ---------- */

/* ---------- Sidhuvud ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { display: inline-block; flex: none; }
.logo-mark img { width: 100%; height: 100%; display: block; }
.logo-auto .logo-img-dark { display: none; }
.brand-word { font-family: var(--display); font-weight: 800; font-synthesis: none; font-size: 1.35rem; letter-spacing: .01em; }
.brand-word span { color: var(--accent-text); }

.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
    display: block; padding: 8px 12px; border-radius: 999px;
    color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 550;
}
.site-nav ul a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav ul a[aria-current="page"] { color: var(--ink); background: var(--surface-2); font-weight: 700; }
.footer-admin { margin-left: .5em; color: var(--muted); opacity: .7; }

.nav-toggle {
    display: none; margin-left: auto;
    background: none; border: 1px solid var(--line); border-radius: 10px;
    color: var(--ink); padding: 7px; cursor: pointer;
}
.nav-toggle-close { display: none; }

@media (max-width: 880px) {
    .nav-toggle { display: inline-flex; }
    .header-inner { position: relative; }
    /* Liten rullgardinsmeny uppe till höger. Täcker inte hela skärmen. */
    .site-nav {
        display: none;
        position: absolute; right: var(--gutter); top: calc(100% - 4px);
        width: min(280px, calc(100vw - 2 * var(--gutter)));
        flex-direction: column; align-items: stretch; gap: 10px;
        padding: 10px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow), 0 20px 40px -20px rgba(4, 14, 24, .35);
        transform-origin: top right;
        animation: nav-pop .14s ease-out;
    }
    .site-nav ul { flex-direction: column; gap: 2px; }
    .site-nav ul a { padding: 10px 12px; border-radius: 9px; font-size: 1rem; }
    .site-nav .btn { width: 100%; }
    .site-header[data-open="true"] .site-nav { display: flex; }
    .site-header[data-open="true"] .nav-toggle-open { display: none; }
    .site-header[data-open="true"] .nav-toggle-close { display: inline; }
}
@keyframes nav-pop { from { opacity: 0; transform: scale(.96) translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background-color: var(--dark);
    background-image:
        radial-gradient(760px 380px at 85% -10%, var(--glow), transparent 65%),
        linear-gradient(var(--dark-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    background-position: 0 0, -1px -1px, -1px -1px;
    color: var(--dark-ink);
    overflow: hidden;
}
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
    gap: 56px; align-items: center;
    padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 9vw, 112px);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--dark-accent); }
.hero .eyebrow { color: var(--dark-accent); }
.hero .lead { color: var(--dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.price-tag {
    background: var(--dark-2);
    border: 1px solid var(--dark-line);
    border-radius: 18px;
    padding: 22px 24px 8px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
    position: relative;
}
.price-tag::before {
    content: ""; position: absolute; top: -7px; left: 32px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--dark); border: 1px solid var(--dark-line);
}
.price-tag-head {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-bottom: 12px; margin-bottom: 4px;
    border-bottom: 1px dashed rgba(255, 255, 255, .18);
    font-weight: 700; color: #fff;
}
.price-tag-head .mono { font-size: .72rem; font-weight: 500; color: var(--dark-muted); letter-spacing: .08em; text-transform: uppercase; }
.price-tag ul { list-style: none; margin: 0; padding: 0; }
.price-tag li { display: flex; align-items: baseline; gap: 8px; padding: 11px 0; font-size: .95rem; }
.price-tag li + li { border-top: 1px solid var(--dark-line); }
.pt-name { color: var(--dark-ink); }
.pt-dots { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .2); transform: translateY(-4px); min-width: 12px; }
.price-tag .price { color: #fff; }
.price-tag .price-from, .price-tag .price-unit { color: var(--dark-muted); }
.price-tag-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin: 6px -24px 0; padding: 14px 24px;
    border-top: 1px dashed rgba(255, 255, 255, .18);
    color: var(--dark-accent); font-weight: 650; text-decoration: none;
}
.price-tag-foot:hover { color: #fff; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Förtroende-rad ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 22px 18px; color: var(--accent-text); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--ink); font-size: .95rem; }
.trust-item span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }
@media (max-width: 900px) {
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
    .trust-item { padding: 16px 4px; }
}

/* ---------- Sektioner ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 40px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

.card {
    display: flex; flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    color: var(--ink);
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
a.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); font-size: .95rem; }
.card-icon {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent-text);
}
.card-foot {
    margin-top: auto; padding-top: 14px;
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid var(--line);
    font-weight: 650; font-size: .92rem; color: var(--accent-text);
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-no { display: block; font-family: var(--mono); font-size: .85rem; font-weight: 700; color: var(--accent-text); margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 16px 18px; font-weight: 550;
}
.checklist li .icon { color: var(--accent-text); margin-top: 3px; }
.checklist-plain li { background: none; border: 0; padding: 4px 0; font-weight: 400; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.feature h2 { font-size: 1.2rem; margin-top: 18px; }
.feature p { color: var(--muted); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Sidrubrik ---------- */
/* Samma mörkblå rutnät som på startsidan, så att alla sidor hänger ihop. */
.page-head {
    background-color: var(--dark);
    background-image:
        radial-gradient(640px 300px at 88% -20%, var(--glow), transparent 65%),
        linear-gradient(var(--dark-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
    background-size: auto, 44px 44px, 44px 44px;
    background-position: 0 0, -1px -1px, -1px -1px;
    color: var(--dark-ink);
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 420px;
    padding: 64px 0;
}
.page-head > .wrap { width: 100%; }
.page-head h1 { color: #fff; }
.page-head .eyebrow { color: var(--dark-accent); }
.page-head .lead, .page-head p { color: var(--dark-muted); }
.page-head a:not(.btn) { color: var(--dark-accent); }
.page-head .btn-ghost { border-color: rgba(255, 255, 255, .28); color: var(--dark-ink); background: transparent; }
.page-head .btn-ghost:hover { border-color: var(--dark-ink); color: var(--dark-ink); background: rgba(255, 255, 255, .06); }
@media (max-width: 720px) {
    .page-head { min-height: 360px; padding: 48px 0; }
}
.page-head-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-head .updated { font-family: var(--mono); font-size: .8rem; color: var(--dark-muted); margin: 0; }
.error-page { border-bottom: 0; min-height: 50vh; }

/* ---------- Kategorichips ---------- */
.chips-bar {
    position: sticky; top: var(--header-h); z-index: 40;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; flex: none;
    padding: 7px 14px 7px 10px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--ink-2); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.chip .icon { width: 18px; height: 18px; color: var(--accent-text); }
.chip:hover, .chip[aria-current="page"] { border-color: var(--ink); color: var(--ink); }
.legal-tabs { padding-top: 20px; }
.legal-tabs .chip { padding-left: 14px; }

/* ---------- Prislista ---------- */
.services-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px;
    padding-top: 48px; padding-bottom: 80px; align-items: start;
}
.services-aside { position: sticky; top: calc(var(--header-h) + 80px); }
@media (max-width: 960px) {
    .services-layout { grid-template-columns: 1fr; gap: 32px; }
    .services-aside { position: static; }
}
.price-section + .price-section { margin-top: 56px; }
.price-section > h2 { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; }
.price-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.price-list li { display: flex; gap: 24px; justify-content: space-between; align-items: flex-start; padding: 20px 24px; }
.price-list li + li { border-top: 1px solid var(--line); }
.pl-text h3 { margin: 0 0 4px; font-size: 1.02rem; }
.pl-text p { margin: 0; color: var(--muted); font-size: .93rem; max-width: 60ch; }
.pl-price { flex: none; text-align: right; padding-top: 1px; }
.price { font-family: var(--mono); font-weight: 700; font-size: 1rem; white-space: nowrap; color: var(--ink); }
.price-from, .price-unit { font-family: var(--font); font-weight: 500; font-size: .85em; color: var(--muted); }
.price-quote { color: var(--accent-text); font-family: var(--font); }
@media (max-width: 560px) {
    .price-list li { flex-direction: column; gap: 8px; padding: 18px; }
    .pl-price { text-align: left; }
}

.note-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.note-card h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.note-card h2 .icon { color: var(--accent-text); }
.note-card ul { margin: 0 0 20px; padding-left: 18px; color: var(--ink-2); font-size: .93rem; }
.note-card li + li { margin-top: 8px; }
.note-card .small { margin: 12px 0 0; }
.empty { padding: 32px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
    cursor: pointer; list-style: none;
    padding: 18px 52px 18px 22px; position: relative;
    font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    font-family: var(--mono); font-size: 1.3rem; color: var(--accent-text);
}
.faq details[open] summary::after { content: "2"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-card h2 { font-size: 1rem; margin: 18px 0 2px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.contact-value { font-size: 1.2rem; font-weight: 700; color: var(--ink) !important; margin-bottom: 6px; word-break: break-word; }
.contact-card .muted { margin: 0; font-size: .92rem; }

/* ---------- Faktaruta ---------- */
.about-head { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.about-head .logo-mark { width: 168px !important; height: 168px !important; }
@media (max-width: 720px) {
    .about-head { gap: 16px; }
    .about-head .logo-mark { width: 72px !important; height: 72px !important; }
}
.mt { margin-top: 28px; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.facts h2 { font-size: 1.1rem; }
.facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .94rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.facts .small { margin: 16px 0 0; }
@media (max-width: 420px) { .facts dl { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }

/* ---------- Löptext / juridik ---------- */
.prose h2 { font-size: 1.35rem; margin-top: 1.8em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.legal { padding-top: 32px; padding-bottom: 80px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 24px; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; }
.table-wrap th { background: var(--surface-2); font-weight: 700; }
.table-wrap tr + tr td { border-top: 1px solid var(--line); }

/* ---------- CTA ---------- */
.cta-band { background: var(--dark); color: var(--dark-ink); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: var(--dark-muted); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sidfot ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer-about p { color: var(--muted); margin-top: 14px; max-width: 34ch; }
.brand-footer .brand-word { font-size: 1.1rem; }
.footer-heading { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: var(--ink-2); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; color: var(--muted); font-size: .84rem; }
.footer-legal p { margin: 0 0 4px; }
.company-line { display: flex; flex-wrap: wrap; gap: 4px 0; }
.company-line > * + *::before { content: "·"; margin: 0 .55em; color: var(--line); }
.company-line strong { color: var(--ink-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Annonskort ---------- */
.section-head-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; max-width: none; }
.section-head-row h2 { margin-bottom: 0; }
.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.listing-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.listing-img { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.listing-body h3 { margin: 0 0 6px; }
.listing-body p { color: var(--muted); font-size: .92rem; margin-bottom: 8px; }
.listing-specs { margin: 0 0 12px; padding-left: 18px; color: var(--ink-2); font-size: .88rem; }
.listing-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.listing-foot .price { font-size: 1.1rem; }

/* ---------- Prislista: rubrikrad ---------- */
.price-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: .5em; }
.price-section-head h2 { margin: 0; display: flex; align-items: center; gap: 14px; font-size: 1.5rem; }
.price-section-head a { font-weight: 650; white-space: nowrap; }

/* ---------- Kontaktformulär ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-aside { display: grid; gap: 18px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-form { gap: 0; }
.contact-form h2 { font-size: 1.3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 650; font-size: .92rem; }
.field input, .field select, .field textarea {
    font: inherit; font-size: 1rem; color: var(--ink);
    background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    padding: 11px 13px; width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.has-error input, .has-error textarea { border-color: #c0392b; }
.field-error { color: #b42318; font-size: .86rem; margin: 0; }
.form-alert { background: #fef3f2; color: #912018; border: 1px solid #fecdca; border-radius: var(--radius-sm); padding: 10px 14px; font-size: .93rem; }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.card-icon-lg { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px; }
