/* Hjerpes Maskincentra, landningssidor. Gemensam bas version 4. */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Reservtypsnitt med Inters mått, så att texten inte hoppar när Inter laddats */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('Helvetica');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 22.5%;
    line-gap-override: 0%;
}

:root {
    --yellow: #f5c518;
    --yellow-dark: #d4a90e;
    --yellow-light: #ffd94a;
    --amber-text: #7a5e00;
    --dark: #1a1a1a;
    --charcoal: #2d2d2d;
    --stone: #f4f3ef;
    --stone-dark: #e8e6df;
    --white: #ffffff;
    --muted: #6b6b6b;
    --text: #262626;
    --text-on-dark: #e6e6e6;
    --muted-on-dark: #a8a8a8;
    --line: #dcdad3;
    --line-dark: #3d3d3d;
    --font: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --gutter: 24px;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.22);
    --ease: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --section: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-text); text-decoration: none; transition: color var(--ease), text-decoration-color var(--ease); }
a:hover { color: var(--dark); }
/* Länkar i löpande text: mörk text med gul understrykning, klarar kontrastkraven på ljus botten. */
main p a:not(.btn), main li a:not(.btn), .content-section a:not(.btn):not(.brand-card), .intro-text a:not(.btn), .faq-item a, .highlight a, .policy a:not(.btn) { color: var(--dark); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 600; }
.content-section a:not(.btn):not(.brand-card):hover, .intro-text a:not(.btn):hover, .highlight a:hover, .policy a:not(.btn):hover { text-decoration-color: var(--dark); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; color: var(--dark); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p { margin-bottom: 1em; }
main p { max-width: 72ch; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
/* Långa sammansättningar (Cementstabilisering) avstavas på smala skärmar i stället för att klippas */
@media (max-width: 768px) { h1, h2 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; } }
p, li { text-wrap: pretty; }
.section-subtitle, .aajoda-more, .image-overlay-text p, .faq-item p { margin-left: auto; margin-right: auto; }
.cta-text p, .hero-lead { margin-left: 0; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.25em; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--gutter); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--dark); padding: 10px 16px; border-radius: var(--radius); z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 8px; }
.desktop-only { display: inline; }

/* Gul markör, från logotypens gula H. En gång per sektion. */
.mark { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 0.1em; }
.section-dark .mark, .hero .mark, .page-hero .mark { background: none; color: var(--yellow); padding: 0; }

/* Topbar */
.topbar { background: var(--dark); color: var(--muted-on-dark); font-size: 0.875rem; padding: 7px 0; }
.topbar-content { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.topbar-link, .topbar-rating { color: var(--yellow); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.topbar-rating { color: var(--text-on-dark); }
.topbar-link:hover, .topbar-rating:hover { color: var(--yellow-light); }
.topbar-divider { color: #555; }

/* Header och navigering */
.header { background: var(--charcoal); position: sticky; top: 0; z-index: 90; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3); transition: box-shadow var(--ease); }
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.nav-logo img { height: 42px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav-link { color: var(--text-on-dark); padding: 8px 14px; font-size: 0.92rem; font-weight: 500; border-radius: var(--radius); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; transition: background var(--ease), color var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--yellow); background: rgba(245, 197, 24, 0.08); }
.nav-cta-item { margin-left: 8px; }
.nav-cta { background: var(--yellow); color: var(--dark); padding: 10px 20px; border-radius: var(--radius); font-weight: 700; font-size: 0.92rem; white-space: nowrap; display: inline-block; transition: background var(--ease), transform var(--ease), box-shadow var(--ease); }
.nav-cta:hover { background: var(--yellow-light); color: var(--dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245, 197, 24, 0.3); }
.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--charcoal); min-width: 220px; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); list-style: none; padding: 8px 0; z-index: 100; }
.nav-dropdown:hover .dropdown-menu, .nav-dropdown.open .dropdown-menu, .nav-dropdown:focus-within .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 20px; color: var(--text-on-dark); font-size: 0.88rem; }
.dropdown-menu a:hover { background: rgba(245, 197, 24, 0.1); color: var(--yellow); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; border-radius: var(--radius); }
.hamburger .bar { display: block; width: 24px; height: 2px; background: var(--text-on-dark); margin: 5px 0; transition: transform var(--ease), opacity var(--ease); border-radius: 2px; }
.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main .section-dark p a:not(.btn), main .section-cta p a:not(.btn) { color: var(--yellow); text-decoration-color: var(--yellow); }
.link-list { list-style: none; padding: 0; margin: 0 0 28px; }
.link-list li { border-bottom: 1px solid var(--line); }
.content-section .link-list a { display: block; padding: 12px 0; text-decoration: none; }

/* Eyebrow, liten rad ovanför rubriken */
.eyebrow { display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.page-hero .eyebrow, .hero .eyebrow { color: var(--yellow); }
.section-light .eyebrow, .section-white .eyebrow, .content-section .eyebrow { color: var(--amber-text); }

/* Hero */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.72) 42%, rgba(20, 20, 20, 0.3) 75%, rgba(20, 20, 20, 0.15) 100%), linear-gradient(0deg, rgba(20, 20, 20, 0.6) 0%, rgba(20, 20, 20, 0) 35%); }
.hero > .container { width: 100%; }
.hero-content { position: relative; max-width: 820px; padding: 96px 0; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-highlight { color: var(--yellow); display: block; }
.hero-lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--text-on-dark); margin-bottom: 32px; max-width: 640px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted-on-dark); }
.hero-trust-item { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust-item svg { color: var(--yellow); }

/* Faktarad med nyckeltal */
.stats { background: var(--charcoal); border-top: 3px solid var(--yellow); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 24px; text-align: center; border-left: 1px solid #3f3f3f; }
.stat:first-child { border-left: 0; }
.stat-value { display: block; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--yellow); line-height: 1.1; letter-spacing: -0.02em; }
.stat-label { display: block; font-size: 0.85rem; color: var(--muted-on-dark); margin-top: 6px; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; cursor: pointer; border: 2px solid transparent; white-space: nowrap; transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease), border-color var(--ease); }
.btn-primary { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.btn-primary:hover { background: var(--yellow-light); border-color: var(--yellow-light); color: var(--dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 197, 24, 0.35); }
.btn-secondary { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--dark); color: var(--yellow); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }
.section-light .btn-outline, .content-section .btn-outline { color: var(--dark); border-color: var(--dark); }
.section-light .btn-outline:hover, .content-section .btn-outline:hover { color: var(--dark); background: var(--yellow); border-color: var(--yellow); }

/* Sektioner */
.section { padding: var(--section) 0; }
.section-light { background: var(--stone); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--muted-on-dark); }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; max-width: 720px; margin: 0 auto 40px; color: var(--muted); font-size: 1.05rem; }
.section-dark .section-subtitle { color: var(--muted-on-dark); }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
/* Grid-barn får krympa, annars trycker breda tabeller ut sidan på mobil. */
.intro-grid > *, .cta-grid > *, .office-grid > *, .footer-content > *, .people-grid > *, .brand-grid > *, .sitemap-groups > * { min-width: 0; }
.intro-text h2 { margin-bottom: 18px; }
.intro-text p { color: var(--text); }
.intro-text .btn { margin-top: 8px; }
.intro-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lead { font-size: 1.15rem; }

/* Fördelar */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.benefit-card { background: var(--charcoal); padding: 28px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line-dark); transition: transform var(--ease), border-color var(--ease); }
.benefit-card:hover { transform: translateY(-4px); border-color: var(--yellow); }
.benefit-icon { margin-bottom: 14px; color: var(--yellow); }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--white); }
.benefit-card p { font-size: 0.93rem; color: var(--muted-on-dark); margin: 0; }
.section-light .benefit-card, .section-white .benefit-card { background: var(--white); border-color: var(--line); box-shadow: var(--shadow); }
.section-light .benefit-card h3, .section-white .benefit-card h3 { color: var(--dark); }
.section-light .benefit-card p, .section-white .benefit-card p { color: var(--muted); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; counter-reset: steg; }
.process-step { position: relative; padding-top: 8px; }
.process-number { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--dark); font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.93rem; color: var(--muted); margin: 0; }

/* Bildband */
.section-image { position: relative; height: 420px; overflow: hidden; background: var(--dark); }
.section-image img { width: 100%; height: 100%; object-fit: cover; }
.image-overlay-text { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(26, 26, 26, 0.6); padding: 24px; }
.image-overlay-text p { color: var(--white); font-size: clamp(1.3rem, 2.6vw, 2rem); font-weight: 700; text-align: center; max-width: 760px; margin: 0; line-height: 1.25; }

/* Områden */
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.area-card { background: var(--charcoal); padding: 22px 18px; border-radius: var(--radius); text-align: center; border: 2px solid transparent; transition: border-color var(--ease), transform var(--ease); }
.area-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.area-card h3 { font-size: 0.98rem; color: var(--white); margin-bottom: 4px; }
.area-region { font-size: 0.875rem; color: var(--muted-on-dark); }
.section-light .area-card { background: var(--white); border-color: var(--line); }
.section-light .area-card:hover { border-color: var(--yellow); }
.section-light .area-card h3 { color: var(--dark); }
.section-light .area-region { color: var(--muted); }

/* Specifikationstabell */
.table-wrap { overflow-x: auto; margin: 24px 0 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 560px; }
.spec-table caption { text-align: left; font-weight: 700; padding: 14px 16px; color: var(--dark); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-top: 1px solid var(--line); }
.spec-table th { background: var(--dark); color: var(--white); font-weight: 600; border-top: 0; }
.spec-table tr:nth-child(even) td { background: var(--stone); }
.spec-table td:first-child { font-weight: 700; }

/* Jämförelsetabell för tekniska data */
.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; }
.specs-head { max-width: 760px; margin-bottom: 28px; }
.specs-head h2 { margin-bottom: 10px; }
.specs-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.compare-wrap { max-width: 980px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; }
.compare-table thead th { background: var(--dark); color: var(--white); text-align: left; padding: 18px 22px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; border-left: 1px solid var(--line-dark); }
.compare-table thead th:first-child { border-left: 0; width: 30%; }
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--muted); padding: 14px 22px; vertical-align: top; }
.compare-table tbody td { padding: 14px 22px; color: var(--text); vertical-align: top; border-left: 1px solid var(--line); line-height: 1.45; }
.compare-table tbody tr + tr th, .compare-table tbody tr + tr td { border-top: 1px solid var(--line); }
.compare-table tbody tr:first-child td { font-weight: 700; color: var(--dark); }
.specs-note { font-size: 0.875rem; color: var(--muted); margin: 14px 0 0; max-width: 72ch; }
.specs-actions { margin-top: 24px; }
.text-link { font-weight: 700; }

/* Referensremsa */
.references { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.references-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.references-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 600; }
.references-list { display: flex; gap: 28px; list-style: none; padding: 0; }
.references-list li { font-weight: 800; font-size: 1.25rem; color: var(--charcoal); letter-spacing: -0.01em; }
.references-rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--dark); }
.references-rating svg { color: var(--yellow); }

.brand-logos { align-items: center; }
.brand-logos img { height: 34px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter var(--ease), opacity var(--ease); }
.brand-logos a:hover img { filter: none; opacity: 1; }

.aajoda-more { text-align: center; margin: 28px 0 0; }

/* CTA */
.section-cta { background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%); padding: var(--section) 0; }
.cta-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.cta-text h2 { color: var(--white); margin-bottom: 14px; }
.cta-text p { color: var(--muted-on-dark); margin-bottom: 24px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-card { background: #222; border-radius: var(--radius-lg); padding: 28px; text-align: center; border: 1px solid var(--line-dark); }
.contact-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--yellow); }
.contact-card h3 { color: var(--white); margin-bottom: 2px; font-size: 1.15rem; }
.contact-card .contact-title { color: var(--muted-on-dark); font-size: 0.85rem; margin-bottom: 12px; }
.contact-card p { margin-bottom: 6px; }
.contact-card a { color: var(--yellow); font-weight: 600; }
.contact-card a:hover { color: var(--yellow-light); }
.contact-card-light { background: var(--white); border-color: var(--line); }
.contact-card-light h3 { color: var(--dark); }
.contact-card-light .contact-title { color: var(--muted); }
.contact-card-light a { color: var(--amber-text); }
.contact-card-light a:hover { color: var(--dark); }

/* FAQ */
.faq-list { max-width: 760px; margin: 36px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { padding: 18px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; font-weight: 400; color: var(--amber-text); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '\2013'; }
.faq-item summary:hover { color: var(--amber-text); }
.faq-item p { padding: 0 0 18px; color: var(--muted); margin: 0; }

/* Undersidor */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--charcoal) 100%); padding: 72px 0 56px; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: var(--muted-on-dark); font-size: 1.1rem; max-width: 640px; margin: 0; }
.breadcrumbs { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; color: var(--muted-on-dark); margin-bottom: 16px; }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: #666; }
.breadcrumbs a { color: var(--muted-on-dark); }
.breadcrumbs a:hover { color: var(--yellow); }
.content-section { padding: var(--section) 0; }
.content-section h2 { margin-bottom: 14px; }
.content-section h3 { margin: 28px 0 10px; }
.content-section p, .content-section li { color: var(--text); }
.content-section ul, .content-section ol { margin-bottom: 1em; }
.content-section li { margin-bottom: 6px; }
.narrow { max-width: 760px; }
/* Luft när en textspalt följer en tabell eller källnot, och mellan rubriker i samma spalt */
.table-wrap + .narrow, .specs-note + .narrow, .compare-cards + .narrow { margin-top: 48px; }
.content-section .narrow h2:not(:first-child) { margin-top: 40px; }
.highlight { background: var(--stone); border-left: 4px solid var(--yellow); padding: 20px 28px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0; }
.highlight p { margin: 0; }
.side-stack { display: flex; flex-direction: column; gap: 24px; }
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 28px 0; }
.contact-info-item { background: var(--stone); padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.contact-info-item h3 { margin: 0 0 10px; font-size: 1rem; }
.contact-info-item p { margin-bottom: 6px; }
.contact-info-item a { font-weight: 600; }

/* Kontaktsida: personkort, kontor, checklista */
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.person-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.person-card img, .person-placeholder { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 4px solid var(--yellow); }
.person-placeholder { display: flex; align-items: center; justify-content: center; background: var(--dark); color: var(--yellow); font-size: 3rem; font-weight: 800; }
.person-body h3 { font-size: 1.35rem; margin-bottom: 2px; }
.person-title { color: var(--muted); margin-bottom: 14px; }
.person-phone { width: 100%; margin-bottom: 10px; }
.person-mail { display: block; font-weight: 600; color: var(--dark); word-break: break-all; }
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.office-text h2 { margin-bottom: 12px; }
.office-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 24px 0 28px; }
.office-facts dt { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); font-weight: 700; margin-bottom: 4px; }
.office-facts dd { margin: 0; color: var(--text-on-dark); font-size: 1.02rem; line-height: 1.5; }
.office-facts a { color: var(--white); font-weight: 600; }
.office-facts a:hover { color: var(--yellow); }
.office-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: punkt; }
.checklist li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px 22px; counter-increment: punkt; position: relative; }
.checklist li::before { content: counter(punkt); display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--dark); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.checklist strong { display: block; margin-bottom: 6px; }
.checklist span { color: var(--muted); font-size: 0.95rem; }


/* Länkar i mörka partier: ljusa, och brödsmulor utan understrykning */
:is(.page-hero, .hero, .section-dark, .section-cta, .office-text, .stats) :is(p, li) a:not(.btn) { color: var(--yellow); text-decoration-color: rgba(245, 197, 24, 0.5); }
.page-hero .breadcrumbs a:not(.btn) { color: var(--muted-on-dark); text-decoration: none; font-weight: 400; }
.page-hero .breadcrumbs a:not(.btn):hover { color: var(--yellow); }
.content-section .link-list a:not(.btn) { display: flex; justify-content: space-between; padding: 12px 0; text-decoration: none; font-weight: 600; color: var(--dark); }
.content-section .link-list a:not(.btn)::after { content: '\2192'; color: var(--amber-text); }
.content-section .link-list a:not(.btn):hover { color: var(--amber-text); }

/* Kort och galleri */
.aajoda-more { margin: 28px auto 0; max-width: none; text-align: center; }
/* Aajoda-widgetens flöde: rutnät enligt katalogens verifierade recept (bara flödet, aldrig modalen) */
.aajoda_con, .aajoda_con *, .aajodamodal, .aajodamodal * { font-family: var(--font) !important; }
.aajodacode .aajoda_con .aajoda-tabs-default button { color: var(--muted) !important; background: transparent !important; }
.aajodacode .aajoda_con .aajoda-tabs-default button.active, .aajodacode .aajoda_con .aajoda-tabs-default button:hover { color: var(--dark) !important; background: transparent !important; box-shadow: inset 0 -3px 0 var(--yellow) !important; }
.aajoda_con .aajoda-feed { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important; gap: 16px !important; max-width: var(--max-width) !important; margin: 0 auto !important; }
.aajoda_con .aajoda-item { float: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; border-radius: var(--radius-lg) !important; overflow: hidden !important; }

/* Jämförelse: tabell på stor skärm, kort per modell på mobil */
.compare-cards { display: none; }
.compare-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.compare-card h3 { background: var(--dark); color: var(--white); padding: 14px 18px; margin: 0; font-size: 1.15rem; }
.compare-card dl { margin: 0; padding: 4px 18px 10px; }
.compare-card dl > div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.compare-card dl > div:first-child { border-top: 0; }
.compare-card dt { color: var(--muted); font-weight: 600; font-size: 0.9rem; }
.compare-card dd { margin: 0; color: var(--text); font-size: 0.95rem; }
.specs-head { margin: 0 auto 28px; text-align: center; }
.compare-wrap { margin: 0 auto; }
.specs-note { margin: 14px auto 0; text-align: center; }
.specs-note.specs-note-left { margin-left: 0; text-align: left; }
.specs-actions { justify-content: center; }

/* Undersidor: högerspalten börjar i toppen och följer med vid scroll */
.content-section .intro-grid { align-items: start; }
@media (min-width: 1025px) { .content-section .side-stack { position: sticky; top: 96px; } }
.brand-logo { height: 40px; width: auto; margin-bottom: 24px; }

/* Policysidor och webbplatskarta */
/* Smala textspalter börjar i logotypens linje; bara textbredden begränsas */
.container.policy, .container.narrow { max-width: var(--max-width); }
.container.policy > *, .container.narrow > * { max-width: 760px; }
.policy-meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }
.policy-summary { background: var(--dark); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: 24px 28px; margin: 0 0 32px; }
.policy-summary h2 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.policy-summary ul { margin: 0; padding-left: 1.2em; }
.policy-summary li { margin-bottom: 6px; color: var(--text-on-dark); }
.policy-summary li::marker { color: var(--yellow); }
.policy h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.policy h2:first-of-type { margin-top: 0; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 12px 0 24px; }
.policy-table th, .policy-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.policy-table th { font-weight: 700; color: var(--dark); background: var(--stone); }
.sitemap-lede { max-width: 720px; font-size: 1.15rem; color: var(--muted); margin-bottom: 40px; }
.sitemap-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.sitemap-group { border-top: 3px solid var(--yellow); padding-top: 18px; }
.sitemap-group h2 { font-size: 1.25rem; margin: 0 0 6px; }
.sitemap-group > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 12px; }
.sitemap-group ul { list-style: none; padding: 0; margin: 0; }
.sitemap-group li { border-bottom: 1px solid var(--line); }
.sitemap-group li.sub { padding-left: 20px; }
.content-section .sitemap-group a:not(.btn):not(.brand-card):not(.nav-link) { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; color: var(--dark); font-weight: 600; text-decoration: none; }
.content-section .sitemap-group a:not(.btn):not(.brand-card):not(.nav-link):hover { color: var(--amber-text); text-decoration: none; }
.sitemap-group a small { color: var(--muted); font-weight: 400; font-size: 0.85rem; text-align: right; min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.sitemap-group a::after { content: '\2192'; color: var(--amber-text); font-weight: 400; margin-left: auto; padding-left: 12px; }
.sitemap-group a small + span { display: none; }

/* Footer */
.footer { background: var(--dark); color: var(--muted-on-dark); padding: 56px 0 0; }
.footer-content { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr 1fr; gap: 40px; }
.footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer p { font-size: 0.875rem; margin-bottom: 8px; }
.footer a { color: var(--muted-on-dark); }
.footer a:hover { color: var(--yellow); }
.footer-address a { color: var(--yellow); }
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a { font-size: 0.875rem; display: inline-block; padding: 5px 0; }
.footer-address a { display: inline-block; padding: 3px 0; }
.social-links { display: flex; gap: 6px; margin: 12px 0; }
.social-links a { color: var(--yellow); opacity: 0.85; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; }
.social-links a + a { margin-left: 0; }
.social-links a:hover { opacity: 1; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: var(--text-on-dark); font-size: 0.875rem; margin-bottom: 14px; }
.trust-badge svg { color: var(--yellow); flex-shrink: 0; }
.aajoda-badge { display: inline-block; }
.aajoda-badge img { border-radius: 50%; }
.footer-references { margin-top: 14px; }
.footer-review-note { font-size: 0.82rem; margin-top: 10px; }
.footer-review-note a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.footer-references strong { color: var(--text-on-dark); }
.footer-orgnr { font-size: 0.78rem; color: #8a8a8a; }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 40px; padding: 18px 0; }
.copyright { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: #8a8a8a; }
.copyright p { margin: 0; }
.copyright a { color: #8a8a8a; }

/* Mobil kontaktrad */
.mobile-bar { display: none; }
.dropdown-overview { display: none; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.55); z-index: 89; }
.nav-backdrop[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .nav-cta, .benefit-card, .area-card { transition: none; }
}

/* Brytpunkter */
@media (max-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .areas-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .intro-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .people-grid { grid-template-columns: 1fr; }
    .office-grid { grid-template-columns: 1fr; gap: 32px; }
    /* En kolumn: bilderna visas högst 800 px breda, aldrig uppskalade */
    .intro-image > img, .side-stack > img:not(.seal), .office-image img { max-width: min(100%, 800px); }
    .checklist { grid-template-columns: repeat(2, 1fr); }
    .sitemap-groups { grid-template-columns: 1fr; gap: 32px; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .nav { height: 64px; }
    .nav-menu { position: fixed; top: 0; right: 0; width: min(320px, 85vw); height: 100vh; height: 100dvh; background: var(--charcoal); flex-direction: column; align-items: stretch; padding: 88px 20px 24px; gap: 2px; transform: translateX(100%); visibility: hidden; transition: transform var(--ease), visibility 0s linear 0.25s; box-shadow: var(--shadow-lg); z-index: 95; overflow-y: auto; }
    .nav-menu.active { transform: none; visibility: visible; transition: transform var(--ease); }
    .nav-link { width: 100%; padding: 12px 14px; font-size: 1.05rem; white-space: normal; }
    .nav-cta-item { margin: 16px 0 0; }
    .nav-cta { display: block; text-align: center; }
    .hamburger { display: block; z-index: 96; }
    .dropdown-menu { position: static; display: none; box-shadow: none; padding-left: 12px; background: transparent; min-width: 0; }
    .nav-dropdown:hover .dropdown-menu { display: none; }
    .nav-dropdown.open .dropdown-menu { display: block; }
    .dropdown-overview { display: block; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 768px) {
    :root { --section: 52px; --gutter: 16px; }
    .stat { padding: 20px 12px; }
    .desktop-only { display: none; }
    .topbar-content { font-size: 0.8125rem; gap: 8px; }
    .nav-logo img { height: 36px; }
    .hero { min-height: 0; }
    .hero-content { padding: 64px 0; }
    .hero-lead { font-size: 1.05rem; }
    .benefits-grid, .process-grid { grid-template-columns: 1fr; }
    .process-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding-top: 0; }
    .process-number { width: 44px; height: 44px; font-size: 1.1rem; grid-row: span 2; margin-bottom: 0; }
    .process-step h3 { margin-top: 10px; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .copyright { flex-direction: column; text-align: center; }
    .person-card { grid-template-columns: 1fr; text-align: center; }
    .person-card img, .person-placeholder { margin: 0 auto; width: 140px; height: 140px; }
    .office-facts { grid-template-columns: 1fr; }
    .checklist { grid-template-columns: 1fr; }
    .section-image { height: 260px; }
    .page-hero { padding: 48px 0 40px; }
    .references-inner { gap: 16px; }
    .references-list { gap: 18px; }
    .references-list li { font-size: 1.05rem; }
    body { padding-bottom: 64px; }
    .mobile-bar { transition: transform var(--ease); }
    body.mbar-hidden .mobile-bar { transform: translateY(110%); }
    .stat-value { font-size: 1.6rem; }
    .brand-logos { gap: 12px; }
    .brand-logos li { flex: 1 1 28%; display: flex; justify-content: center; }
    .brand-logos img { height: 24px; }
    .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: var(--dark); border-top: 1px solid var(--line-dark); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
    .mobile-bar-btn { flex: 1; text-align: center; padding: 12px; border-radius: var(--radius); font-weight: 700; color: var(--white); border: 2px solid rgba(255, 255, 255, 0.35); }
    .mobile-bar-primary { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
}
@media (max-width: 640px) {
    .compare-wrap { display: none; }
    .compare-cards { display: grid; gap: 16px; }
    .compare-table { font-size: 0.9rem; }
    .compare-table thead th { padding: 14px 12px; font-size: 1rem; }
    .compare-table thead th:first-child { width: 32%; }
    .compare-table tbody th, .compare-table tbody td { padding: 12px; }
    .table-wrap { overflow: visible; border: 0; background: none; }
    .spec-table { min-width: 0; }
    .spec-table caption { display: block; width: 100%; padding: 0 0 12px; font-size: 0.95rem; }
    .spec-table tr:first-child { display: none; }
    .spec-table, .spec-table tbody, .spec-table tr, .spec-table td { display: block; width: 100%; }
    .spec-table tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px; margin-bottom: 12px; }
    .spec-table td { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-top: 1px solid var(--line); text-align: right; }
    .spec-table td:first-child { border-top: 0; font-size: 1.1rem; text-align: left; }
    .spec-table td:first-child::before { content: none; }
    .spec-table td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
    .spec-table tr:nth-child(even) td { background: none; }
}
@media (max-width: 480px) {
    .btn { white-space: normal; text-align: center; }
    .policy-table, .policy-table tbody, .policy-table tr, .policy-table td { display: block; width: 100%; }
    .policy-table tr:first-child { display: none; }
    .policy-table tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
    .policy-table td { border: 0; padding: 4px 0; }
    .policy-table td:first-child { font-weight: 700; color: var(--dark); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn, .cta-actions .btn { width: 100%; }
    .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .area-card { padding: 16px 10px; }
}

/* Varumärkeskort och galleri (väghyvlar) */
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.brand-grid.brand-grid-2 { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
/* Sigill eller märke i sidokolumnen visas i naturlig storlek, aldrig uppskalat */
.side-stack img.seal { width: 160px; height: auto; border-radius: 0; box-shadow: none; }
/* Fyra kort (modellgrupper) i stället för fem orter: fyra i bredd, två under 1024 px */
.areas-grid.areas-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .areas-grid.areas-grid-4 { grid-template-columns: repeat(2, 1fr); } }
.content-section .brand-card h3 { margin: 0 0 2px; }
.brand-grid-light { margin: 32px 0; }
.brand-card { display: flex; flex-direction: column; background: var(--charcoal); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-dark); color: var(--text-on-dark); transition: transform var(--ease), border-color var(--ease); }
.brand-card:hover { transform: translateY(-4px); border-color: var(--yellow); color: var(--text-on-dark); }
.brand-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.brand-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.brand-role { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--yellow); font-weight: 600; }
.brand-card h3 { color: var(--white); font-size: 1.25rem; }
.brand-card p { color: var(--muted-on-dark); font-size: 0.93rem; margin: 0 0 8px; }
.brand-more { font-weight: 700; color: var(--yellow); font-size: 0.9rem; margin-top: auto; }
.brand-grid-light .brand-card { background: var(--white); border-color: var(--line); color: var(--text); }
.brand-grid-light .brand-card h3 { color: var(--dark); }
.brand-grid-light .brand-card p { color: var(--muted); }
.brand-grid-light .brand-role, .brand-grid-light .brand-more { color: var(--amber-text); }
.brand-logo { max-width: 220px; height: auto; margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery-item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); }
.gallery-item:first-child { grid-column: span 2; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 12px; color: var(--white); font-weight: 600; font-size: 0.95rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); background: linear-gradient(transparent, rgba(0, 0, 0, 0.78)); }
.small { font-size: 0.875rem; }
.muted { color: var(--muted); }
@media (max-width: 1024px) {
    .brand-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
    .brand-grid, .brand-grid.brand-grid-2, .gallery { grid-template-columns: 1fr; }
    .gallery { grid-auto-rows: 220px; }
    .gallery-item:first-child { grid-column: auto; }
}
