/* LowGrid — designsystem. Værdier aflæst fra www.lowgrid.dk (CLOUDLG-184). */

/* Manrope ligger lokalt, så besøgendes IP-adresse ikke sendes til Google. Variabel font: én fil dækker vægt 400-700. Licens: fonts/OFL.txt */
@font-face {
    font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("/fonts/manrope-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Manrope"; font-style: normal; font-weight: 400 700; font-display: swap;
    src: url("/fonts/manrope-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;
}
:root {
    --lg-accent: #497f64;
    --lg-accent-hover: #3c6c54;
    --lg-accent-light: #8cc7a8;
    --lg-light: #f6f7f4;
    --lg-dark: #17231d;
    --lg-text: #161616;
    --lg-font-body: "Manrope", Arial, sans-serif;
    --lg-container: 1250px;
    --lg-gutter: 5vw;
    --lg-radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--lg-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--lg-text);
    background: var(--lg-light);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0 0 1rem; line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.035em; }
h2, h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); }
p { margin: 0 0 1em; }

.container {
    width: 100%;
    max-width: calc(var(--lg-container) + 2 * var(--lg-gutter));
    margin: 0 auto;
    padding: 0 var(--lg-gutter);
}

/* Knapper */
.button {
    display: inline-block;
    padding: .75rem 1.25rem;
    border-radius: var(--lg-radius);
    background: var(--lg-accent);
    color: #fff;
    text-decoration: none;
    font-family: inherit;
    font-size: .95rem;
    line-height: 1.2;
    border: 0;
    cursor: pointer;
    transition: background-color .2s;
}
.button:hover { background: var(--lg-accent-hover); }
.button--light { background: var(--lg-light); color: var(--lg-text); }
.button--light:hover { background: #fff; }
/* Afslutningen på grøn baggrund er sidens vigtigste handling, så knappen er større */
.section--accent .cta .button { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* Header — ligger oven på en hero, ellers på accent-baggrund */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 10;
    color: #fff;
    padding: 1rem 0;
}
body:not(.has-hero) .site-header { position: relative; background: var(--lg-accent); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-header__logo { font-weight: 700; font-size: 1.1rem; text-decoration: none; letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: .5rem; }
/* Hover og aktiv side markeres med en blød flade bag punktet, ikke en understregning */
.site-nav__link {
    padding: .5rem .9rem; border-radius: 999px;
    text-decoration: none; font-size: .95rem; opacity: .9;
    transition: background-color .2s, opacity .2s;
}
.site-nav__link:hover, .site-nav__link:focus-visible { opacity: 1; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.site-nav__link.is-active { opacity: 1; background: rgba(255, 255, 255, .24); backdrop-filter: blur(8px); }
.site-nav__login { margin-left: 1rem; }
/* Cloud-login — skal springe i øjnene både på hero og på grøn header */
.site-nav__login {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem 1.15rem .6rem .95rem;
    border-radius: 999px;
    background: var(--lg-dark); color: #fff; text-decoration: none;
    font-size: .95rem; font-weight: 600; letter-spacing: .01em;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .12);
    transition: transform .2s, box-shadow .2s, background-color .2s;
}
.site-nav__login svg { color: var(--lg-accent-light); filter: drop-shadow(0 0 6px rgba(140, 199, 168, .6)); }
.site-nav__login:hover, .site-nav__login:focus-visible {
    transform: translateY(-1px); background: #0e1712;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(140, 199, 168, .55);
}
.site-header__toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.site-header__toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

/* Sektioner */
.section { padding: 5rem 0; }.section--light { background: var(--lg-light); color: var(--lg-text); }
.section--dark { background: var(--lg-dark); color: var(--lg-light); }
.section--accent { background: var(--lg-accent); color: #fff; }
.section--center { text-align: center; }
.section--center .umb-block-grid__area > .umb-block-grid__layout-container { align-items: center; }
.section__header { margin-bottom: 2rem; }
.section__header h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 500; letter-spacing: -.025em; color: var(--lg-accent); margin: 0 0 1rem; text-wrap: balance; }
.section--dark .section__header h2, .section--accent .section__header h2 { color: inherit; }
/* Centreret: overskriften må bruge hele bredden, så den ikke brydes unødigt; introen holdes smal */
.section--center .section__header { max-width: none; }
.section--center .section__intro { max-width: 46rem; margin-left: auto; margin-right: auto; }
/* To kolonner + Centreret: kun overskriften centreres, kolonnerne forbliver venstrestillede */
[data-content-element-type-alias="twoColumnSection"] .section--center .umb-block-grid__area { text-align: left; }
[data-content-element-type-alias="twoColumnSection"] .section--center .umb-block-grid__area > .umb-block-grid__layout-container { align-items: stretch; }
.section__intro { font-size: 1.15rem; }
.text h2, .text h3 { margin-top: 1.75em; }
.text > :first-child { margin-top: 0; }
.section--dark .section__intro, .section--accent .section__intro { color: inherit; opacity: .85; }
/* Læsbar tekst på mørk og accent-baggrund (AC3) */
.section--dark .text--small, .section--dark .text--small p { color: rgba(246, 247, 244, .8); }
.section--accent .stat__value, .section--accent .card__text { color: #fff; }
.section--accent .text--small, .section--accent .text--small p { color: #fff; }
.section--accent .button { background: var(--lg-light); color: var(--lg-text); }
.section--accent .button:hover { background: #fff; }
/* Mørke bånd med nøgletal er lave som på det gamle site */
.section--dark:has(.stat) { padding: 1.5rem 0; }

/* Block Grid — rod er en simpel stak af sektioner i fuld bredde */
.umb-block-grid > .umb-block-grid__layout-container { display: block; }
.umb-block-grid__area-container {
    display: grid;
    grid-template-columns: repeat(var(--umb-block-grid--area-grid-columns, 12), minmax(0, 1fr));
    gap: 2rem 3rem;
}
.umb-block-grid__area { grid-column: span var(--umb-block-grid--area-column-span, 12); min-width: 0; }
.umb-block-grid__area > .umb-block-grid__layout-container { display: flex; flex-direction: column; gap: 1.5rem; }
/* To kolonner med en punktliste til højre: overskriften står over venstre kolonne,
   og listen starter i højde med overskriften, så siden balancerer */
@media (min-width: 768px) {
    .section:not(.section--center) > .container:has(> .section__header):has(.umb-block-grid__area[data-area-alias="right"] > .umb-block-grid__layout-container > .umb-block-grid__layout-item:first-child > .text > ul:first-child) {
        display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; align-items: start;
    }
    .section:not(.section--center) > .container:has(> .section__header):has(.umb-block-grid__area[data-area-alias="right"] > .umb-block-grid__layout-container > .umb-block-grid__layout-item:first-child > .text > ul:first-child) > .umb-block-grid__area-container { display: contents; }
    .section:not(.section--center) > .container:has(> .section__header):has(.umb-block-grid__area[data-area-alias="right"] > .umb-block-grid__layout-container > .umb-block-grid__layout-item:first-child > .text > ul:first-child) .umb-block-grid__area[data-area-alias="left"] { grid-column: 1; grid-row: 2; }
    .section:not(.section--center) > .container:has(> .section__header):has(.umb-block-grid__area[data-area-alias="right"] > .umb-block-grid__layout-container > .umb-block-grid__layout-item:first-child > .text > ul:first-child) .umb-block-grid__area[data-area-alias="right"] { grid-column: 2; grid-row: 1 / span 2; }
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    height: 480px;
    background-color: var(--lg-dark);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero--image-only { aspect-ratio: auto; }
.hero--text::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.hero__content { position: relative; padding-top: 7rem; padding-bottom: 5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--left { align-items: flex-start; }
/* Forsidens titel starter en tredjedel nede i heroen (480 px / 3) */
.hero--left .hero__content { align-items: flex-start; text-align: left; padding-top: 160px; padding-bottom: 0; }
/* Fast højde på alle sider (som Platformen) — titlen må fylde mere i bredden, så den står på én linje */
.hero__title { margin: 0; max-width: 16em; white-space: pre-line; font-size: clamp(2.5rem, 5.5vw, 5rem); }
h2.hero__title { font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.035em; }
.hero__subtitle { font-size: 1.15rem; max-width: 36rem; margin: 1rem 0 0; }
.hero .button { margin-top: 1.5rem; }

/* Tekst */
.text { max-width: 46rem; }
.section--center .text { margin: 0 auto; }
.section--light .text h1 { color: var(--lg-accent); }
.section--light .text p { color: inherit; }
.text--small, .section--light .text--small p { font-size: .8rem; color: #6b6b6b; }

/* Billede */
.image { margin: 0; }
.image img { width: 100%; border-radius: var(--lg-radius); object-fit: cover; }

/* Nøgletal */
.stat { text-align: center; }
.stat__label { margin: 0 0 .5rem; font-size: 1.1rem; }
.stat__value { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--lg-accent); }

/* Kort */
.card { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.card__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--lg-radius); }
.card__title { margin: 0; }
.card__text { margin: 0; font-size: 1rem; }
.card .button { align-self: flex-start; margin-top: auto; }
/* Står kortet alene i sin kolonne, fylder det kolonnens højde, så knapperne flugter på tværs */
.umb-block-grid__area:has(> .umb-block-grid__layout-container > .umb-block-grid__layout-item:only-child > .card) > .umb-block-grid__layout-container { height: 100%; }
.umb-block-grid__layout-item:only-child:has(> .card) { flex: 1; }

/* CTA */
.cta { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.cta__title { margin: 0; font-size: 1.15rem; font-weight: 400; }

/* Kontaktformular */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; width: 100%; text-align: left; }
.contact-form__field { display: flex; flex-direction: column; gap: .4rem; }
.contact-form__field--wide { grid-column: 1 / -1; }
.contact-form label { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.contact-form input, .contact-form textarea {
    font: inherit; font-size: 1rem;
    padding: .9rem 1rem; border: 1px solid var(--lg-text); border-radius: var(--lg-radius); background: transparent; color: inherit;
}
.contact-form textarea { min-height: 7.5rem; resize: vertical; }
.contact-form .button { grid-column: 1 / -1; width: 100%; padding: 1rem; margin-top: 1.5rem; }
.contact-form__error { color: #b42318; font-size: .85rem; }
.contact-form__alert { grid-column: 1 / -1; padding: 1rem; border-radius: var(--lg-radius); background: #fde8e7; color: #7a1a12; }
/* Formularen på mørk og accent-baggrund: lyse kanter og fejltekster der kan læses (AC3) */
.section--dark .contact-form input, .section--dark .contact-form textarea,
.section--accent .contact-form input, .section--accent .contact-form textarea { border-color: rgba(255, 255, 255, .75); }
.section--dark .contact-form input::placeholder, .section--dark .contact-form textarea::placeholder,
.section--accent .contact-form input::placeholder, .section--accent .contact-form textarea::placeholder { color: rgba(255, 255, 255, .75); }
.section--dark .contact-form__error { color: #ffb4a8; }
.section--accent .contact-form__error { color: #fff; font-weight: 700; }
.section--accent .contact-form .button { background: var(--lg-light); color: var(--lg-text); }
.contact-form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Filvalg — hele feltet er klikbart, browserens egen knap skjules */
.contact-form__file {
    position: relative; display: flex; align-items: center; gap: .75rem;
    padding: .6rem; border: 1px dashed rgba(22, 22, 22, .35); border-radius: var(--lg-radius);
}
.contact-form__file:hover, .contact-form__file:focus-within { border-color: var(--lg-accent); background: rgba(73, 127, 100, .05); }
.contact-form .contact-form__file input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.contact-form__file-button { flex: none; padding: .5rem .9rem; border-radius: var(--lg-radius); background: var(--lg-accent); color: #fff; font-size: .9rem; }
.contact-form__file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; color: #4d4d4d; }
/* Filvalg på mørk og grøn baggrund: lys tekst og kant som formularens øvrige felter (WCAG AA) */
.section--dark .contact-form__file, .section--accent .contact-form__file { border-color: rgba(255, 255, 255, .75); }
.section--dark .contact-form__file-name { color: rgba(246, 247, 244, .8); }
.section--accent .contact-form__file-name { color: #fff; }
.section--accent .contact-form__file-button { background: var(--lg-light); color: var(--lg-text); }

/* Formularen som panel, når den står i en kolonne på lys baggrund */
.section--light .umb-block-grid__area:has(.contact-form) > .umb-block-grid__layout-container {
    padding: 2rem; border-radius: 10px; background: #fff;
    box-shadow: 0 8px 30px rgba(22, 22, 22, .07);
}
.section--light .umb-block-grid__area:has(.contact-form) h3 { margin-top: 0; }

/* Kontaktbånd */
.contact-band { padding: 1.5rem 0; }
.contact-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.contact-band__label { margin: 0 0 .5rem; font-size: 1.1rem; }
.contact-band__value { font-weight: 700; font-size: 1.2rem; color: var(--lg-accent); text-decoration: none; }
.contact-band__value:hover { color: var(--lg-accent-light); }

/* Footer */
.site-footer { padding: 3rem 0 2rem; }
.site-footer__top { display: flex; justify-content: space-between; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0, 0, 0, .15); }
.site-footer__address { display: flex; flex-direction: column; gap: .2rem; font-style: normal; font-size: .95rem; line-height: 1.5; }
.site-footer__address span:first-child { font-weight: 600; margin-bottom: .2rem; }
.site-footer__address a { color: inherit; text-decoration: none; }
.site-footer__address a:hover { color: var(--lg-accent); }
.site-footer__links { display: flex; flex-direction: column; gap: .6rem; min-width: 16rem; font-size: .85rem; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__heading { margin: 0 0 .25rem; letter-spacing: .15em; font-size: .85rem; opacity: .8; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; opacity: .8; }

/* Trin — nummereres pr. område med CSS-tæller og lægges vandret på desktop */
.umb-block-grid__area { counter-reset: step; }
.umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item > .step) {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem;
}
/* En knap der spænder hele rækken forhindrer auto-fit i at folde tomme kolonner sammen, så trinene fylder ikke bredden. Kolonnetallet sættes derfor efter antal trin */
@media (min-width: 768px) {
    .umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(2) > .step) { grid-template-columns: repeat(2, 1fr); }
    .umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(3) > .step) { grid-template-columns: repeat(3, 1fr); }
    .umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(4) > .step) { grid-template-columns: repeat(4, 1fr); }
}
/* Andet end trin (fx en knap) i en vandret trinrække fylder hele rækken under trinene */
.umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item > .step) > .umb-block-grid__layout-item:not(:has(> .step)) { grid-column: 1 / -1; margin-top: 1.5rem; }
.step { counter-increment: step; border-top: 2px solid var(--lg-accent); padding-top: 1rem; }
.step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: .5rem; font-size: 2.5rem; line-height: 1; color: var(--lg-accent); }
.step__title { margin: 0 0 1rem; }
.step__text { margin: 0; font-size: 1rem; }
.section--dark .step, .section--accent .step { border-color: currentColor; }
.section--dark .step::before, .section--accent .step::before { color: inherit; }

/* 5 trin eller flere: lodret, nummereret liste (fx Eloverblik-guiden) */
.umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) {
    display: flex; flex-direction: column; gap: 0;
}
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) .step {
    display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 1rem;
    position: relative; border-top: 0; padding: 0 0 1.25rem;
}
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) .step::before {
    content: counter(step); grid-row: span 2;
    display: flex; align-items: center; justify-content: center;
    width: 2.25rem; height: 2.25rem; margin: 0; border-radius: 50%;
    background: var(--lg-accent); color: #fff;
    font-size: .95rem; font-weight: 600; line-height: 1;
}
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) .step::after {
    content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.5rem; bottom: .25rem;
    width: 2px; background: rgba(73, 127, 100, .25);
}
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) > .umb-block-grid__layout-item:last-child .step::after { display: none; }
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) .step__title {
    margin: .4rem 0 .15rem; font-size: 1.05rem; font-weight: 600;
}
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) .step__text { grid-column: 2; }
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item:nth-child(5) > .step) > .umb-block-grid__layout-item:not(:has(> .step)) { margin-bottom: 2rem; }

/* Spørgsmål og svar */
.faq { border-bottom: 1px solid rgba(0, 0, 0, .15); max-width: 46rem; }
.section--center .faq { margin: 0 auto; text-align: left; }
.faq__question { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; position: relative; list-style: none; font-size: 1.15rem; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--lg-accent); }
.faq[open] .faq__question::after { content: "\2212"; }
.faq__answer { padding-bottom: 1.25rem; }
.section--dark .faq { border-color: rgba(255, 255, 255, .25); }
.section--dark .faq__question::after { color: inherit; }
.umb-block-grid__area > .umb-block-grid__layout-container:has(> .umb-block-grid__layout-item > .faq) { gap: 0; }

/* Artikler */
.article__header { padding-bottom: 0; }
.article__header + .section, .article__header ~ * .section:first-child { padding-top: 2.5rem; }
.article__meta { margin: 0 0 1rem; font-size: .85rem; color: #4d4d4d; }
.article__title { font-size: clamp(2rem, 4.5vw, 3.5rem); color: var(--lg-accent); max-width: 18em; }
.article__lead { font-size: 1.15rem; max-width: 40rem; margin: 1rem 0 0; }
.article .section:not(.article__header) { padding-top: 1rem; }
.article-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 2.5rem 2rem; width: 100%; }
.article-list__more { display: inline-block; margin-top: 2.5rem; }
.article-card { display: flex; flex-direction: column; gap: .6rem; }
.article-card__image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--lg-radius); }
.article-card__meta { margin: 0; font-size: .85rem; color: #4d4d4d; }
.article-card__title { margin: 0; font-size: 1.3rem; }
.article-card__title a { text-decoration: none; }
.article-card__title a:hover { text-decoration: underline; }
.article-card__text { margin: 0; font-size: 1rem; }
.section--dark .article-card__meta, .section--dark .article__meta { color: rgba(246, 247, 244, .75); }

/* Mobil — ét breakpoint (768 px) */
@media (max-width: 767px) {
    .section { padding: 3rem 0; }
    .umb-block-grid__area-container { grid-template-columns: minmax(0, 1fr); }
    .umb-block-grid__area { grid-column: 1 / -1; }
    .site-header__toggle { display: block; color: inherit; }
    .site-nav {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: flex-start; gap: 1rem;
        padding: 1.5rem var(--lg-gutter);
        background: var(--lg-accent);
    }
    body.nav-open .site-nav { display: flex; }
    .site-nav__login { margin-left: 0; }
    .hero { height: auto; min-height: 360px; }
    .hero--image-only { min-height: 0; height: 240px; }
    .hero--left .hero__content { padding-top: 7rem; padding-bottom: 3rem; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-band__grid { grid-template-columns: 1fr; }
    .site-footer__top, .site-footer__bottom { flex-direction: column; }
}

/* Punktlister i tekstblokke vises som tjekliste. Artikler beholder almindelige punkter */
.text ul { list-style: none; margin: 0 0 1em; padding: 0; }
.text li {
    position: relative; padding: .85rem 0 .85rem 2.4rem;
    border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}
.text li:first-child { border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
/* Starter teksten med listen, flugter første punkt med nabokolonnens første linje */
.text > ul:first-child > li:first-child { border-top: 0; padding-top: 0; }
.text > ul:first-child > li:first-child::before { top: .1rem; }
.text li::before {
    content: ""; position: absolute; left: 0; top: .95rem;
    width: 1.4rem; height: 1.4rem; border-radius: 50%;
    background: var(--lg-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .85rem no-repeat;
}
.article .text ul { list-style: disc; padding-left: 1.25rem; }
.article .text li { padding: 0; border: 0; }
.article .text li::before { content: none; }

/* Kort uden billede får samme topstreg som trinene, så de har et visuelt anker */
.card:not(:has(.card__image)) { border-top: 2px solid var(--lg-accent); padding-top: 1.25rem; }
.section--dark .card:not(:has(.card__image)), .section--accent .card:not(:has(.card__image)) { border-color: currentColor; }
/* I en centreret sektion skal kortene fylde kolonnen, så topstregerne bliver lige lange */
.section--center .umb-block-grid__layout-item:has(> .card) { align-self: stretch; }
.section--center .card .button { align-self: center; }

/* Fremhævet citat i tekstblokke */
.text blockquote {
    margin: 0; padding-left: 1.5rem; border-left: 3px solid var(--lg-accent);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em;
    color: var(--lg-accent);
}
.text blockquote p { margin: 0; }
.section--dark .text blockquote, .section--accent .text blockquote { color: inherit; border-color: currentColor; }

/* Grafer og illustrationer kan forstørres */
.image__zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.image__zoom-hint {
    position: absolute; right: .75rem; bottom: .75rem; padding: .3rem .7rem; border-radius: 999px;
    background: rgba(23, 35, 29, .75); color: #fff; font-size: .8rem; font-weight: 600;
    opacity: 0; transition: opacity .2s;
}
.image__zoom:hover .image__zoom-hint, .image__zoom:focus-visible .image__zoom-hint { opacity: 1; }
.lightbox { width: min(1100px, 92vw); max-height: 92vh; padding: 0; border: 0; background: transparent; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(10, 14, 12, .72); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

/* Kildeangivelser og andre noter i tekstblokke */
.text small { display: block; font-size: .8rem; line-height: 1.5; color: #6b6b6b; }
.section--dark .text small { color: rgba(246, 247, 244, .7); }

/* Elpris-graf med vælger mellem DK1 og DK2 */
.price-chart { max-width: 50rem; text-align: center; }
/* I en centreret sektion krymper flex-kolonnen ellers grafen til billedets egen bredde */
.section--center .umb-block-grid__layout-item:has(> .price-chart) { width: 100%; max-width: 50rem; }
.price-chart img { display: block; width: 100%; border-radius: 20px; }
.price-chart__switch { display: inline-flex; gap: 2px; margin-top: 1rem; padding: 3px; border-radius: 999px; background: rgba(23, 35, 29, .07); }
.price-chart__switch input { position: absolute; opacity: 0; pointer-events: none; }
.price-chart__switch label { padding: .45rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #5c6b61; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.price-chart__switch input:checked + label { background: #fff; color: var(--lg-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.price-chart__switch input:focus-visible + label { outline: 2px solid var(--lg-accent); outline-offset: 2px; }
.price-chart__panel--dk2 { display: none; }
.price-chart:has(input[value="dk2"]:checked) .price-chart__panel--dk1 { display: none; }
.price-chart:has(input[value="dk2"]:checked) .price-chart__panel--dk2 { display: block; }

/* En CTA under spørgsmål stilles til venstre på én linje, så den hører til listen */
.umb-block-grid__layout-container:has(> .umb-block-grid__layout-item > .faq) > .umb-block-grid__layout-item > .cta { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 1.25rem; margin-top: 2rem; text-align: left; }
.section--dark .faq, .section--accent .faq { border-color: rgba(246, 247, 244, .18); }
.section--dark .price-chart__switch, .section--accent .price-chart__switch { background: rgba(246, 247, 244, .12); }
.section--dark .price-chart__switch label, .section--accent .price-chart__switch label { color: rgba(246, 247, 244, .75); }
.section--dark .price-chart__switch input:checked + label, .section--accent .price-chart__switch input:checked + label { color: var(--lg-text); }

/* En CTA lige efter en tekstblok følger teksten til venstre i stedet for at stå centreret */
.umb-block-grid__layout-item:has(> .text) + .umb-block-grid__layout-item > .cta { align-items: flex-start; text-align: left; }

/* Hvid sektion: samme stil som lys, men hvid baggrund. Hvide flader får kant eller off-white, så de ikke forsvinder */
.section--white { background: #fff; }
.section--white .umb-block-grid__area:has(.contact-form) > .umb-block-grid__layout-container { background: var(--lg-light); box-shadow: none; }
.section--white .price-chart img, .section--white .image--svg img { box-shadow: 0 0 0 1px rgba(23, 35, 29, .08); }
