/* ============================================
   Entiro – inspirerad av evify.se
   Fräsch grön palett med klarblå CTA
   ============================================ */

:root {
    --bg: #ffffff;
    --bg-alt: #eef7f0;
    --bg-soft: #f5fbf7;
    --text: #14332a;
    --text-muted: #5a7566;
    --brand-dark: #1f5740;      /* fräsch djup grön */
    --brand-darker: #133e2c;    /* ännu djupare */
    --accent: #38b6f0;          /* klarblå (CTA) */
    --accent-hover: #1fa4e4;
    --border: #d4ead8;
    --shadow-sm: 0 4px 14px rgba(31, 87, 64, 0.06);
    --shadow-md: 0 14px 40px rgba(31, 87, 64, 0.12);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--accent); }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; color: var(--text-muted); }

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.98rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.btn-primary {
    background: var(--brand-dark);
    color: #fff;
}
.btn-primary:hover {
    background: var(--brand-darker);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-ghost-light {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.22);
    color: #fff;
}
.btn-full { width: 100%; }

.pill-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}
.service-card:hover .pill-btn { background: var(--accent-hover); transform: translateY(-2px); }

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 10px 0;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.header.scrolled {
    background: rgba(31, 87, 64, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 24px;
}
.logo {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.04em;
    color: #fff;
}
.logo::first-letter { color: var(--accent); }
.logo-light { color: #fff; }
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}
.nav a {
    color: rgba(255,255,255,0.9);
    font-size: 0.96rem;
    font-weight: 500;
}
.nav a:hover { color: #fff; }
.nav-cta {
    padding: 10px 22px;
    background: var(--accent);
    color: #fff !important;
    border-radius: var(--radius-pill);
    font-weight: 600;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
    color: #fff;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(135deg, rgba(19, 62, 44, 0.85) 0%, rgba(19, 62, 44, 0.55) 60%, rgba(19, 62, 44, 0.75) 100%),
        radial-gradient(ellipse at 30% 40%, #2e8b5e 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, #2b6e4d 0%, transparent 50%),
        linear-gradient(180deg, #1f5740 0%, #0a2a1c 100%);
}
.hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(56, 182, 240, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 75% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 30%);
    pointer-events: none;
}
/* Dekorativa "strålar" som antyder natur/energi */
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 180deg at 50% 120%, transparent 0deg, rgba(56, 182, 240, 0.08) 30deg, transparent 60deg, rgba(46, 139, 94, 0.18) 120deg, transparent 180deg);
    pointer-events: none;
    opacity: 0.9;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 880px;
}
.hero h1 {
    color: #fff;
    margin-bottom: 24px;
}
.hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    max-width: 620px;
    margin-bottom: 36px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-rating {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}
.rating {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}
.rating .muted { color: rgba(255,255,255,0.7); font-weight: 400; margin-left: 4px; }

/* Sections */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-soft { background: var(--bg-soft); }

.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}
.section-head p {
    font-size: 1.08rem;
    color: var(--text-muted);
}

/* Service grid */
.service-grid { gap: 24px; }
.service-card {
    position: relative;
    display: block;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.6s ease;
}
.service-card:hover::before { transform: scale(1.05); }
.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19,62,44,0.1) 0%, rgba(19,62,44,0.6) 100%);
    z-index: 1;
}
.service-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 24px;
}
.service-card-overlay h3 {
    color: #fff;
    font-size: clamp(1.6rem, 2.3vw, 2rem);
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.3);
    margin: 0;
}

/* Fallback "fotografier" med gradient + mönster */
.service-card-1::before {
    background-image:
        linear-gradient(180deg, rgba(19,62,44,0.2) 0%, rgba(19,62,44,0.55) 100%),
        url("Laddbox.jpg");
    background-size: cover;
    background-position: center;
}
.service-card-2::before {
    background-image:
        linear-gradient(180deg, rgba(19,62,44,0.2) 0%, rgba(19,62,44,0.55) 100%),
        url("Energilager.png");
    background-size: cover;
    background-position: center;
}
.service-card-3::before {
    background-image:
        linear-gradient(180deg, rgba(19,62,44,0.2) 0%, rgba(19,62,44,0.55) 100%),
        url("Elektriker.png");
    background-size: cover;
    background-position: center;
}

/* Two column */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.two-col-reverse .visual { order: -1; }

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 32px;
    display: grid;
    gap: 12px;
}
.feature-list li {
    position: relative;
    padding-left: 32px;
    font-size: 1rem;
    color: var(--text);
}
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent);
    background-image: linear-gradient(135deg, var(--accent) 0%, #6ac8f3 100%);
}
.feature-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 10px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

/* Visuals (placeholder-kort med grafik) */
.visual {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(19,62,44,0.35) 100%);
}
.visual-laddbox {
    background-image: url("Laddbox.jpg");
    background-size: cover;
    background-position: center;
}
.visual-battery {
    aspect-ratio: 1 / 1;
    background-image: url("Energilager.png");
    background-size: cover;
    background-position: center;
}
.visual-electric {
    background-image: url("Elektriker.png");
    background-size: cover;
    background-position: center;
}

/* Process */
.section-process {
    background: var(--brand-dark);
    color: #fff;
}
.section-process h2 { color: #fff; }
.section-process .section-head p { color: rgba(255,255,255,0.8); }
.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.steps li {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border 0.2s ease;
}
.steps li:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(56,182,240,0.4);
}
.steps h3 { color: #fff; margin-bottom: 8px; }
.steps p { color: rgba(255,255,255,0.75); margin: 0; }
.step-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}

/* Contact section */
.section-contact {
    background: var(--brand-dark);
    color: #fff;
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}
.section-contact::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,182,240,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}
.contact-left h2 {
    color: #fff;
    margin-bottom: 20px;
}
.contact-left p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    margin-bottom: 32px;
}
.contact-highlights {
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
    display: grid;
    gap: 14px;
}
.contact-highlights li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    font-weight: 500;
}
.ch-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.contact-form {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius-lg);
    display: grid;
    gap: 18px;
    box-shadow: var(--shadow-md);
}
.form label {
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
}
.form label em { color: var(--accent); font-style: normal; }
.form input,
.form select,
.form textarea {
    font: inherit;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(56,182,240,0.15);
}
.interest-group { margin-top: 8px; }
.interest-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.interest-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    display: block;
    cursor: pointer;
}
.chip input { display: none; }
.chip span {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    background: #fff;
    transition: all 0.2s ease;
}
.chip input:checked + span {
    background: var(--brand-dark);
    color: #fff;
    border-color: var(--brand-dark);
}
.chip:hover span { border-color: var(--brand-dark); }

/* About */
.section-about { padding: 110px 0; }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat {
    background: var(--bg-alt);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Subpage – FAQ page */
.body-subpage { background: var(--bg-soft); }

.header-solid {
    background: var(--brand-dark);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.header-solid.scrolled { background: rgba(31,87,64,0.96); }

.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--brand-darker) 0%, var(--brand-dark) 60%, #2a1e62 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: -200px; right: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(56,182,240,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero::after {
    content: "";
    position: absolute;
    bottom: -150px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(56,182,240,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    margin-bottom: 16px;
}
.page-hero .lead {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 0 32px;
}
.page-hero .eyebrow { color: var(--accent); }

.breadcrumb {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
}
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span:not(:last-child) { color: rgba(255,255,255,0.4); }

.faq-jump {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.chip-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s ease;
}
.chip-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.section-faq-page { padding: 80px 0 100px; }
.faq-container {
    max-width: 840px;
}
.faq-section {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}
.faq-section:last-child { margin-bottom: 0; }
.faq-section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--accent);
    color: var(--brand-dark);
    display: inline-block;
}
.faq-list { display: grid; gap: 12px; }

.faq-footer-cta {
    text-align: center;
    padding: 32px 24px;
    color: #fff;
}
.faq-footer-cta h2 { color: #fff; margin-bottom: 8px; }
.faq-footer-cta p { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 1.08rem; }
.faq-footer-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.faq-footer-cta .btn-primary {
    background: var(--accent);
    color: #fff;
}
.faq-footer-cta .btn-primary:hover { background: var(--accent-hover); }

.nav .active {
    color: var(--accent) !important;
    font-weight: 600;
}

/* Om oss page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-intro-visual {
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background-image:
        linear-gradient(180deg, rgba(19,62,44,0.2) 0%, rgba(19,62,44,0.55) 100%),
        url("Elektriker.png");
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-md);
}

.value-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}
.value-num {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 18px;
}
.value-card h3 { margin-bottom: 12px; }
.value-card p { margin: 0; }

.partner-card {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: #fff;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}
.partner-card::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(56,182,240,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.partner-logo {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(56,182,240,0.12);
    border: 1.5px solid rgba(56,182,240,0.35);
    color: var(--accent);
    margin-bottom: 24px;
    position: relative;
}
.partner-logo svg {
    width: 34px;
    height: 34px;
    fill: var(--accent);
    stroke: var(--accent);
}
.partner-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
    position: relative;
}
.partner-card p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    position: relative;
}
.partner-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
    position: relative;
}
.partner-points li {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    font-weight: 500;
}
.partner-actions { margin-top: 28px; }

.about-service {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    color: var(--text);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 220px;
}
.about-service:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    color: var(--text);
}
.about-service h3 { color: var(--brand-dark); margin-bottom: 10px; }
.about-service p { flex-grow: 1; margin-bottom: 16px; }
.link-arrow {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

/* FAQ */
.faq-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}
.faq-col { display: grid; gap: 12px; align-content: start; }
.faq-cat {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 8px;
}
.faq-item {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item[open] {
    border-color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--brand-dark);
    font-size: 1.3rem;
    font-weight: 500;
    display: grid;
    place-items: center;
    line-height: 1;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after {
    content: "–";
    background: var(--brand-dark);
    color: #fff;
    transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--brand-dark); }
.faq-body {
    padding: 0 24px 22px;
    animation: faqFade 0.25s ease;
}
.faq-body p { margin: 0; color: var(--text-muted); line-height: 1.7; }
@keyframes faqFade {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-cta {
    text-align: center;
    margin-top: 56px;
    padding: 32px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
}
.faq-cta p {
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 16px;
}

/* Footer */
.footer {
    background: var(--brand-darker);
    color: rgba(255,255,255,0.75);
    padding: 70px 0 30px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { font-size: 1.8rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.65); margin: 8px 0 0; }
.footer-brand .small { font-size: 0.85rem; color: rgba(255,255,255,0.45); margin-top: 16px; }
.footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.93rem;
    padding: 4px 0;
}
.footer-col a:hover { color: var(--accent); }
.footer-col address {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.93rem;
    font-style: normal;
    line-height: 1.6;
    padding: 4px 0;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 1024px) {
    .two-col, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
    .two-col-reverse .visual { order: 0; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
    .section { padding: 72px 0; }
    .hero { min-height: 88vh; padding: 120px 0 60px; }
    .grid-3 { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 16px;
        right: 16px;
        background: rgba(31,87,64,0.98);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
    }
    .nav.open { display: flex; }
    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        color: #fff;
    }
    .nav a:last-child { border-bottom: none; }
    .nav-cta { text-align: center; margin-top: 8px; }
    .nav-toggle { display: flex; }
    .contact-form { padding: 24px; }
}

/* ============================================
   Batterikalkyl (kalkyl.html)
   ============================================ */

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full-mobile { /* full bredd på mobil */ }

.calc-container {
    display: grid;
    gap: 32px;
    max-width: 980px;
}

.calc-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.calc-form h2 { margin-bottom: 24px; }

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.calc-field > span {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}
.calc-field input,
.calc-field select {
    font-family: inherit;
    font-size: 1rem;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
.calc-field input:focus,
.calc-field select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(56,182,240,0.15);
}
.calc-field small {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Results */
.calc-results {
    background: linear-gradient(160deg, var(--brand-dark), var(--brand-darker));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.calc-results h2 { color: #fff; margin-bottom: 24px; }
.calc-results h3 { color: #fff; }

.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.result-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.result-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.result-card-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--brand-darker);
}
.result-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}
.result-card-primary .result-label { color: var(--brand-darker); opacity: 0.9; }
.result-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.result-sub {
    font-size: 0.9rem;
    opacity: 0.8;
}
.result-card-primary .result-sub { color: var(--brand-darker); opacity: 0.8; }

.result-breakdown {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 28px;
}
.result-breakdown h3 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}
.result-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.result-breakdown li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
}
.result-breakdown li:last-child { border-bottom: none; }
.result-breakdown strong {
    color: #fff;
    font-weight: 700;
}

.result-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    padding-top: 8px;
}
.result-cta p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}
.result-cta .btn-primary {
    background: var(--accent);
    color: var(--brand-darker);
}
.result-cta .btn-primary:hover {
    background: var(--accent-hover);
    color: var(--brand-darker);
}

/* Assumptions / Så räknar vi */
.assumptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.assumption {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.assumption h3 {
    font-size: 1.1rem;
    color: var(--brand-dark);
    margin-bottom: 10px;
}
.assumption p {
    margin: 0;
    font-size: 0.95rem;
}

.disclaimer {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg-alt);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.disclaimer strong { color: var(--text); }
.disclaimer a { color: var(--accent); font-weight: 600; }

/* Mobile */
@media (max-width: 780px) {
    .calc-form { padding: 24px; }
    .calc-grid { grid-template-columns: 1fr; }
    .calc-results { padding: 28px 22px; }
    .result-grid { grid-template-columns: 1fr 1fr; }
    .assumptions { grid-template-columns: 1fr; }
    .result-value { font-size: 1.8rem; }
    .btn-full-mobile { width: 100%; }
}
@media (max-width: 480px) {
    .result-grid { grid-template-columns: 1fr; }
}
