/* ==========================================================
   Udflytningsgaranti — main.css
   --------------------------------------------------------
   Design tokens i :root så du kan ændre hele paletten
   ét sted (også i Customizer hvis vi senere koger dem ud
   som Astra-globals).

   Palet (HSL fra design-token brief):
     background  200 20% 98%   #f5f8fa  cremehvid
     foreground  210 30% 15%   #1b2733  næsten-sort navy
     primary     356 72% 48%   #d12c3e  varm rød CTA
     secondary   197 45% 52%   #4d9dbf  turkis accent
     muted       200 20% 95%   #ecf1f4
     accent      197 60% 94%   #e1f0f7  lys cyan
     border      200 20% 88%   #d8dfe4

   Fonts:
     body     'Plus Jakarta Sans'
     heading  'Space Grotesk'
   ========================================================== */

:root {
    --ug-bg:        hsl(200 20% 98%);
    --ug-bg-soft:   hsl(200 20% 95%);
    --ug-bg-accent: hsl(197 60% 94%);
    --ug-fg:        hsl(210 30% 15%);
    --ug-fg-muted:  hsl(210 15% 45%);
    --ug-primary:   hsl(356 72% 48%);
    --ug-primary-d: hsl(356 72% 42%);
    --ug-primary-l: hsl(356 72% 55%);
    --ug-secondary: hsl(197 45% 52%);
    --ug-secondary-d: hsl(197 45% 42%);
    --ug-border:    hsl(200 20% 88%);
    --ug-success:   hsl(142 56% 45%);

    --ug-radius:    0.75rem;
    --ug-radius-lg: 1.25rem;
    --ug-shadow-sm: 0 1px 2px hsl(210 30% 15% / 0.06), 0 1px 4px hsl(210 30% 15% / 0.04);
    --ug-shadow:    0 4px 12px hsl(210 30% 15% / 0.08), 0 2px 4px hsl(210 30% 15% / 0.05);
    --ug-shadow-lg: 0 18px 40px hsl(210 30% 15% / 0.12), 0 6px 12px hsl(210 30% 15% / 0.06);

    --ug-font-body:    'Plus Jakarta Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ug-font-heading: 'Space Grotesk', var(--ug-font-body);

    --ug-container:   1180px;
    --ug-section-py:  clamp(72px, 7vw, 120px);   /* v3.18: oeget fra 48-96 til 72-120 for bedre rytme */
    --ug-section-py-tight: clamp(56px, 5vw, 88px); /* for sektioner der ligger taet */
    --ug-section-gap: clamp(12px, 1.4vw, 24px);  /* visuelt break mellem sektioner */
    --ug-header-h:    110px;                     /* matcher Astra primary header */
}

/* ------------ Grundlæggende reset ------------ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--ug-header-h);  /* anchor-jumps lander under sticky header */
}

body, body.ast-loader {
    font-family: var(--ug-font-body);
    color: var(--ug-fg);
    background: var(--ug-bg);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .entry-content h1, .entry-content h2, .entry-content h3 {
    font-family: var(--ug-font-heading);
    font-weight: 600;
    color: var(--ug-fg);
    letter-spacing: -0.01em;
    text-transform: none; /* overskriver gammel uppercase */
    line-height: 1.15;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

a { color: var(--ug-secondary-d); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ug-primary); }

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

/* ------------ Layout helpers ------------ */
.ug-container {
    max-width: var(--ug-container);
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}

.ug-section { padding-top: var(--ug-section-py); padding-bottom: var(--ug-section-py); }

.ug-section--v0 { background: var(--ug-bg); }
.ug-section--v1 { background: var(--ug-bg-soft); }
.ug-section--v2,
.ug-section--accent { background: var(--ug-bg-accent); }

/* ------------ Header ------------ */
.site-header,
.ast-primary-header-bar {
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--ug-border);
    box-shadow: 0 1px 0 hsl(200 20% 88% / 0.4);
}

.ast-builder-menu-1 .menu-link,
a.menu-link {
    color: var(--ug-fg);
    font-weight: 500;
    padding: 10px 14px !important;
    transition: color .15s;
}
.ast-builder-menu-1 .menu-link:hover,
a.menu-link:hover {
    color: var(--ug-primary);
}

/* Header-CTA */
.ast-custom-button,
.ast-header-button-1 .ast-custom-button {
    background: var(--ug-primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
    padding: 12px 22px !important;
    box-shadow: var(--ug-shadow-sm);
    transition: transform .15s, box-shadow .15s, background .15s;
    text-transform: none !important;
}
.ast-custom-button:hover {
    background: var(--ug-primary-d) !important;
    transform: translateY(-1px);
    box-shadow: var(--ug-shadow);
}

/* ------------ Knapper ------------ */
.ug-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    text-decoration: none;
    transition: transform .15s, background .15s, color .15s, border .15s, box-shadow .15s;
    border: 2px solid transparent;
    cursor: pointer;
}
.ug-btn--primary { background: var(--ug-primary); color: #fff; box-shadow: var(--ug-shadow-sm); }
.ug-btn--primary:hover { background: var(--ug-primary-d); color: #fff; transform: translateY(-1px); box-shadow: var(--ug-shadow); }
.ug-btn--secondary { background: var(--ug-secondary); color: #fff; }
.ug-btn--secondary:hover { background: var(--ug-secondary-d); color: #fff; }
.ug-btn--ghost { background: transparent; color: var(--ug-fg); border-color: var(--ug-border); }
.ug-btn--ghost:hover { border-color: var(--ug-fg); color: var(--ug-fg); }
.ug-btn--block { width: 100%; }

/* ------------ Hero (med video baggrund) ------------ */
.ug-hero {
    position: relative;
    padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 9vw, 120px);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    min-height: 640px;
    display: flex;
    align-items: center;
    background: hsl(210 30% 15%); /* fallback inden video loader */
}

/* Video udfylder hele hero som baggrund */
.ug-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Lille blur så ansigter er anonymiseret + matcher mere stille */
    filter: brightness(0.92);
}

/* Mørkt gradient-overlay så tekst er læsbar */
.ug-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(105deg, hsl(210 30% 8% / 0.78) 0%, hsl(210 30% 12% / 0.55) 55%, hsl(210 30% 15% / 0.35) 100%),
      radial-gradient(60% 80% at 90% 50%, hsl(197 45% 52% / 0.18), transparent);
}

/* Eyebrow over titlen */
.ug-hero__eyebrow {
    display: inline-block;
    color: #fff;
    background: hsl(0 0% 100% / 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 500;
    margin-bottom: 18px;
    border: 1px solid hsl(0 0% 100% / 0.18);
}
.ug-hero__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
    position: relative;
    z-index: 1;
}
.ug-hero__title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    margin: 0 0 16px;
    text-shadow: 0 2px 30px hsl(0 0% 0% / 0.4);
}
.ug-hero__lead {
    color: hsl(0 0% 100% / 0.92);
    font-size: clamp(1.05rem, 1.3vw, 1.18rem);
    max-width: 56ch;
    margin: 0 0 28px;
}
.ug-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ug-hero__trust {
    margin-top: 28px;
    display: flex; align-items: center; gap: 14px;
    color: hsl(0 0% 100% / 0.85);
    font-size: .92rem;
}

@media (max-width: 880px) {
    .ug-hero__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ug-hero { min-height: auto; padding-top: 80px; padding-bottom: 40px; }
    /* På mobil: skjul video for at spare data, brug poster i stedet */
    .ug-hero__video { display: none; }
    .ug-hero { background:
        linear-gradient(180deg, hsl(210 30% 15% / 0.82) 0%, hsl(210 30% 15% / 0.65) 100%),
        url('../img/hero-fallback.jpg') center / cover no-repeat hsl(210 30% 15%); }

    /* Kompakter H1 og lead så kontakt-kortet ikke skubbes for langt ned */
    .ug-hero__title { font-size: clamp(1.6rem, 6.5vw, 2.4rem); line-height: 1.15; margin-bottom: 12px; }
    .ug-hero__lead { font-size: 1rem; line-height: 1.45; margin-bottom: 16px; }
    .ug-hero__eyebrow { margin-bottom: 10px; }

    /* Badges + trust på mobil: mere kompakt */
    .ug-hero__badges { margin-top: 14px; gap: 8px; }
    .ug-hero__badge { padding: 4px 10px; font-size: .75rem; }
    .ug-hero__trust { margin-top: 14px; font-size: .85rem; }

    /* Kontakt-kort på mobil: mindre padding, så form ikke virker overvældende */
    .ug-hero__card { padding: 20px 18px; }
}

/* Ekstra-tæt på små mobiler (<480px): yderligere kompression */
@media (max-width: 480px) {
    .ug-hero { padding-top: 70px; padding-bottom: 30px; }
    .ug-hero__title { font-size: 1.55rem; }
    .ug-hero__lead { font-size: .95rem; margin-bottom: 12px; }
    .ug-hero__actions { flex-direction: column; align-items: stretch; }
    .ug-hero__actions .ug-btn { width: 100%; text-align: center; }
    .ug-hero__card { padding: 16px 14px; }
}

/* ------------ Store knapper (hero) ------------ */
.ug-btn--lg { padding: 18px 30px; font-size: 1.05rem; }
.ug-btn--outline-light {
    background: hsl(0 0% 100% / 0.08);
    color: #fff;
    border: 2px solid hsl(0 0% 100% / 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.ug-btn--outline-light:hover {
    background: hsl(0 0% 100% / 0.18);
    border-color: #fff;
    color: #fff;
}

/* Trust badges under hero CTA */
.ug-hero__badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.ug-hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: hsl(0 0% 100% / 0.12);
    border: 1px solid hsl(0 0% 100% / 0.25);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ------------ Hero kontaktkort ------------ */
.ug-hero__card {
    background: #fff;
    color: var(--ug-fg);
    border-radius: var(--ug-radius-lg);
    padding: 28px;
    box-shadow: 0 24px 60px hsl(210 30% 5% / 0.35), 0 8px 16px hsl(210 30% 5% / 0.2);
    border: 1px solid hsl(0 0% 100% / 0.6);
}
.ug-hero__card .ug-contactcard {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* ------------ Section heads ------------ */
.ug-section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.ug-section__head h2 {
    margin: 8px 0 12px;
}
.ug-section__lead {
    color: var(--ug-fg-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* ------------ Pic row (3-kolonne med billeder + USP) ------------ */
.ug-pic-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.ug-pic {
    margin: 0;
    border-radius: var(--ug-radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--ug-bg-soft);
    aspect-ratio: 4/3;
    box-shadow: var(--ug-shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.ug-pic:hover { transform: translateY(-3px); box-shadow: var(--ug-shadow); }
.ug-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.ug-pic figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 16px 20px;
    background: linear-gradient(0deg, hsl(210 30% 8% / 0.85), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}
.ug-pic--usp {
    background: linear-gradient(135deg, var(--ug-fg) 0%, hsl(210 30% 22%) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ug-pic--usp .ug-pic__usp {
    padding: 28px;
    text-align: center;
}
.ug-pic--usp h3 { color: #fff; margin: 0 0 10px; font-size: 1.2rem; }
.ug-pic--usp p { color: hsl(0 0% 100% / 0.85); margin: 0 0 18px; font-size: .96rem; }

@media (max-width: 880px) {
    .ug-pic-row { grid-template-columns: 1fr; }
    .ug-pic { aspect-ratio: 16/9; }
}

/* USP-band under pic-row */
.ug-usp-band {
    margin-top: 32px;
    background: linear-gradient(135deg, var(--ug-fg) 0%, hsl(210 30% 22%) 100%);
    color: #fff;
    border-radius: var(--ug-radius-lg);
    padding: 28px 36px;
    box-shadow: var(--ug-shadow);
}
.ug-usp-band__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.ug-usp-band h3 {
    color: #fff;
    margin: 0 0 6px;
    font-size: 1.35rem;
}
.ug-usp-band p {
    color: hsl(0 0% 100% / 0.85);
    margin: 0;
    max-width: 60ch;
}
@media (max-width: 768px) {
    .ug-usp-band { padding: 24px; }
    .ug-usp-band__inner { flex-direction: column; align-items: flex-start; }
    .ug-usp-band__inner .ug-btn { width: 100%; }
}

/* ------------ Steps (3-skridt proces) ------------ */
.ug-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ug-step {
    background: #fff;
    padding: 32px 28px;
    border-radius: var(--ug-radius-lg);
    border: 1px solid var(--ug-border);
    text-align: left;
    position: relative;
    box-shadow: var(--ug-shadow-sm);
}
.ug-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--ug-primary);
    color: #fff;
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 16px;
}
.ug-step h3 { margin: 0 0 8px; font-size: 1.15rem; }
.ug-step p { margin: 0; color: var(--ug-fg-muted); font-size: .96rem; }

@media (max-width: 880px) {
    .ug-steps { grid-template-columns: 1fr; }
}

/* =================================================================
   PROSE — typografi til artikler/sider (wall-of-text rescue)
   ================================================================= */

/* Container — centreret, læseværdig bredde, åndedræt */
.ug-prose {
    max-width: 72ch;
    margin: 0 auto;
    color: var(--ug-fg);
    font-size: 1.06rem;
    line-height: 1.75;
}

/* Reading-time meta over indhold */
.ug-prose__meta {
    display: inline-block;
    color: var(--ug-fg-muted);
    background: var(--ug-bg-soft);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .88rem;
    margin: 0 0 32px;
    border: 1px solid var(--ug-border);
}

/* Paragraf-rytme */
.ug-prose p {
    margin: 0 0 1.4em;
    color: var(--ug-fg);
}

/* Lede paragraph — første <p> bliver større og mere skinnende */
.ug-prose__lede {
    font-size: 1.22rem;
    line-height: 1.6;
    color: hsl(210 25% 25%);
    font-weight: 400;
    margin-bottom: 1.8em !important;
    padding-bottom: 1.4em;
    border-bottom: 1px solid var(--ug-border);
}

/* Drop-cap kun på første bogstav i posts > 800 ord */
.ug-prose--long .ug-prose__lede::first-letter {
    float: left;
    font-family: var(--ug-font-heading);
    font-size: 4.4rem;
    line-height: 0.9;
    padding: 6px 14px 0 0;
    color: var(--ug-primary);
    font-weight: 700;
}

/* Headings inde i prose får ekstra luft og en lille farve-accent */
.ug-prose h2 {
    margin: 2em 0 0.6em;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    position: relative;
    padding-left: 18px;
}
.ug-prose h2::before {
    content: '';
    position: absolute;
    left: 0; top: 0.25em; bottom: 0.25em;
    width: 4px;
    background: var(--ug-primary);
    border-radius: 4px;
}
.ug-prose h3 {
    margin: 1.6em 0 0.4em;
    font-size: 1.2rem;
    color: hsl(210 28% 20%);
}
.ug-prose h4 {
    margin: 1.4em 0 0.4em;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ug-secondary-d);
}

/* Lister — pænt indrykket, ingen visuel støj */
.ug-prose ul,
.ug-prose ol {
    margin: 0 0 1.4em;
    padding-left: 1.4em;
}
.ug-prose ul li,
.ug-prose ol li {
    margin-bottom: 0.6em;
    line-height: 1.7;
    background: none;
    padding: 0;
}
.ug-prose ul li::marker { color: var(--ug-primary); }

/* Links */
.ug-prose a {
    color: var(--ug-secondary-d);
    text-decoration: underline;
    text-decoration-color: hsl(197 45% 52% / 0.35);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: text-decoration-color .15s, color .15s;
}
.ug-prose a:hover {
    color: var(--ug-primary);
    text-decoration-color: var(--ug-primary);
}

/* Blockquote — pænt fremhævet */
.ug-prose blockquote {
    margin: 2em -8px;
    padding: 24px 28px;
    border: 0;
    border-left: 4px solid var(--ug-secondary);
    background: var(--ug-bg-accent);
    border-radius: 0 var(--ug-radius) var(--ug-radius) 0;
    font-size: 1.1rem;
    font-style: normal;
    color: var(--ug-fg);
    box-shadow: var(--ug-shadow-sm);
}
.ug-prose blockquote p { margin-bottom: 0.8em; }
.ug-prose blockquote p:last-child { margin-bottom: 0; }

/* Pull-quote — fremtrukket sætning midt i lange artikler */
.ug-pullquote {
    position: relative;
    margin: 2.4em -20px;
    padding: 32px 36px 28px 80px;
    background: linear-gradient(135deg, var(--ug-bg-accent), #fff);
    border-radius: var(--ug-radius-lg);
    border: 1px solid var(--ug-border);
    box-shadow: var(--ug-shadow);
}
.ug-pullquote p {
    font-family: var(--ug-font-heading);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--ug-fg);
    margin: 0;
    font-weight: 600;
}
.ug-pullquote__mark {
    position: absolute;
    top: 0;
    left: 24px;
    font-family: var(--ug-font-heading);
    font-size: 5rem;
    color: var(--ug-primary);
    line-height: 1;
    opacity: 0.4;
}

/* Section divider — visuelt åndedræt efter 5 unbroken p-tags */
.ug-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ug-border) 30%, var(--ug-border) 70%, transparent);
    margin: 2.6em auto;
    width: 50%;
    max-width: 320px;
}
.ug-divider::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--ug-primary);
    border-radius: 50%;
    margin: -4px auto;
    box-shadow: 0 0 0 4px var(--ug-bg);
}

/* Billeder i prose — afrundede, luftige */
.ug-prose img,
.ug-prose figure img {
    border-radius: var(--ug-radius);
    box-shadow: var(--ug-shadow-sm);
    margin: 1.4em 0;
}
.ug-prose figure {
    margin: 1.8em 0;
}
.ug-prose figcaption {
    color: var(--ug-fg-muted);
    font-size: .92rem;
    text-align: center;
    margin-top: 8px;
}

/* Tabel — scroll-wrapper på smalle skærme + pæn stil */
.ug-prose__table-wrap {
    overflow-x: auto;
    margin: 1.6em 0;
    border-radius: var(--ug-radius);
    border: 1px solid var(--ug-border);
    -webkit-overflow-scrolling: touch;
}
.ug-prose__table-wrap table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: .98rem;
}
.ug-prose__table-wrap th,
.ug-prose__table-wrap td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ug-border);
}
.ug-prose__table-wrap th {
    background: var(--ug-bg-soft);
    font-weight: 600;
    color: var(--ug-fg);
}
.ug-prose__table-wrap tr:last-child td { border-bottom: 0; }
.ug-prose__table-wrap tr:hover td { background: hsl(197 60% 96%); }

/* Code/kbd (sjældent men for completeness) */
.ug-prose code, .ug-prose kbd {
    background: var(--ug-bg-soft);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, 'SF Mono', Monaco, Consolas, monospace;
    font-size: 0.9em;
    color: var(--ug-primary-d);
}

/* Short posts — ingen drop-cap, mindre dramatisk */
.ug-prose--short .ug-prose__lede {
    font-size: 1.1rem;
    padding-bottom: 0;
    border-bottom: 0;
}

/* Mobile — drop max-width restriktion, tonet drop-cap ned */
@media (max-width: 768px) {
    .ug-prose {
        font-size: 1.02rem;
        line-height: 1.7;
    }
    .ug-prose__lede { font-size: 1.12rem; }
    .ug-prose--long .ug-prose__lede::first-letter {
        font-size: 3rem;
        padding-right: 10px;
    }
    .ug-pullquote {
        margin: 1.8em -8px;
        padding: 24px 24px 20px 56px;
    }
    .ug-pullquote p { font-size: 1.15rem; }
    .ug-pullquote__mark { font-size: 3.5rem; left: 16px; }
}

/* ============================================================
   SUB-FOOTER — interne SEO-links før det almindelige footer
   ============================================================ */
.ug-subfooter {
    background: hsl(210 30% 12%);
    color: hsl(0 0% 100% / 0.85);
    padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px);
    font-size: 0.95rem;
    line-height: 1.6;
}
.ug-subfooter .ug-container {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 32px);
    padding-right: clamp(16px, 4vw, 32px);
}
.ug-subfooter__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(24px, 3vw, 40px);
    margin-bottom: 32px;
}
.ug-subfooter__heading {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 10px;
}
.ug-subfooter__heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: hsl(356 72% 48%);
}
.ug-subfooter__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ug-subfooter__list li {
    margin-bottom: 8px;
    padding: 0;
    background: none;
}
.ug-subfooter__list a {
    color: hsl(0 0% 100% / 0.78);
    text-decoration: none;
    transition: color .15s, padding .15s;
    display: inline-block;
}
.ug-subfooter__list a:hover {
    color: #fff;
    padding-left: 4px;
}
.ug-subfooter__legal {
    border-top: 1px solid hsl(0 0% 100% / 0.12);
    padding-top: 20px;
    font-size: 0.85rem;
    color: hsl(0 0% 100% / 0.6);
}
.ug-subfooter__legal p { margin: 0; }
.ug-subfooter__legal strong { color: hsl(0 0% 100% / 0.85); }

@media (max-width: 880px) {
    .ug-subfooter__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .ug-subfooter__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ------------ Custom logo i header ------------ */
.ast-header-section .custom-logo,
.site-logo-img img {
    max-height: 60px;
    width: auto;
}

/* ------------ Kontaktkort (i hero) ------------ */
.ug-contactcard {
    background: #fff;
    color: var(--ug-fg);
    border-radius: var(--ug-radius-lg);
    padding: 28px;
    box-shadow: var(--ug-shadow-lg);
    border: 1px solid var(--ug-border);
}
.ug-contactcard__head { margin-bottom: 16px; }
.ug-contactcard__title { margin: 0 0 4px; font-size: 1.4rem; }
.ug-contactcard__sub { margin: 0; color: var(--ug-fg-muted); font-size: .95rem; }

.ug-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ug-form label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--ug-fg-muted); font-weight: 500; }
.ug-form__full { grid-column: 1 / -1; }
.ug-form input, .ug-form textarea, .ug-form select {
    border: 1px solid var(--ug-border);
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    color: var(--ug-fg);
    background: #fff;
    transition: border .15s, box-shadow .15s;
}
.ug-form input:focus, .ug-form textarea:focus {
    outline: none;
    border-color: var(--ug-secondary);
    box-shadow: 0 0 0 4px hsl(197 45% 52% / 0.15);
}
.ug-form button { grid-column: 1 / -1; }
.ug-form__legal { grid-column: 1 / -1; font-size: .78rem; color: var(--ug-fg-muted); margin: 4px 0 0; text-align: center; }

/* ------------ Service-kort ------------ */
.ug-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.ug-service {
    background: #fff;
    border: 1px solid var(--ug-border);
    border-radius: var(--ug-radius-lg);
    padding: 28px 24px;
    transition: transform .2s, box-shadow .2s, border .2s;
    text-decoration: none;
    color: inherit;
    display: flex; flex-direction: column;
    box-shadow: var(--ug-shadow-sm);
}
.ug-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--ug-shadow);
    border-color: var(--ug-secondary);
}
.ug-service__icon { font-size: 2rem; margin-bottom: 12px; }
.ug-service__title { margin: 0 0 8px; font-size: 1.15rem; }
.ug-service__text { margin: 0 0 14px; color: var(--ug-fg-muted); font-size: .96rem; }
.ug-service__link {
    margin-top: auto;
    color: var(--ug-primary);
    font-weight: 600;
    font-size: .95rem;
}
.ug-service__link::after { content: ' →'; transition: margin .15s; }
.ug-service:hover .ug-service__link::after { margin-left: 4px; }

/* ------------ Auto-CTA blokke ------------ */
.ug-cta {
    margin: 40px 0;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--ug-bg-accent), var(--ug-bg-soft));
    border-radius: var(--ug-radius-lg);
    border: 1px solid var(--ug-border);
    box-shadow: var(--ug-shadow-sm);
}
.ug-cta--mid { background: linear-gradient(135deg, hsl(197 60% 94%), hsl(200 20% 95%)); }
.ug-cta--bottom { background: var(--ug-fg); color: #fff; }
.ug-cta--bottom .ug-cta__title,
.ug-cta--bottom .ug-cta__sub { color: #fff; }
.ug-cta--bottom .ug-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.ug-cta--bottom .ug-btn--ghost:hover { border-color: #fff; }

.ug-cta__inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; flex-wrap: wrap;
}
.ug-cta__title { margin: 0 0 6px; font-size: 1.4rem; }
.ug-cta__sub { margin: 0; color: var(--ug-fg-muted); }
.ug-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------ Anmeldelser ------------ */
.ug-reviews__head { text-align: center; margin-bottom: 32px; }
.ug-eyebrow {
    display: inline-block;
    color: var(--ug-primary);
    letter-spacing: 6px;
    font-weight: 600;
    margin-bottom: 6px;
}
.ug-reviews__grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ug-review {
    background: #fff;
    border: 1px solid var(--ug-border);
    border-radius: var(--ug-radius);
    padding: 28px 26px 24px;
    box-shadow: var(--ug-shadow-sm);
    transition: box-shadow .15s, transform .15s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ug-review:hover {
    box-shadow: var(--ug-shadow);
    transform: translateY(-2px);
}
.ug-review__stars {
    color: var(--ug-primary);
    letter-spacing: 3px;
    font-size: 1.05rem;
    margin: 0 0 4px;
    line-height: 1;
}
.ug-review__text {
    margin: 0;
    color: var(--ug-fg);
    line-height: 1.6;
    font-size: 1rem;
    flex: 1;
}
.ug-review__name {
    margin: 0;
    font-weight: 600;
    color: var(--ug-fg-muted);
    font-size: .9rem;
    padding-top: 8px;
    border-top: 1px solid var(--ug-border);
}

/* ------------ Sticky bund-bar (mobil) ------------ */
.ug-stickybar {
    display: none;
    position: fixed;
    left: 12px; right: 12px; bottom: 12px;
    z-index: 9000;
    gap: 8px;
    box-shadow: var(--ug-shadow-lg);
    border-radius: 999px;
}
.ug-stickybar__btn {
    flex: 1;
    text-align: center;
    padding: 14px 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: transform .15s;
}
.ug-stickybar__btn:hover { transform: translateY(-1px); }
.ug-stickybar__btn--call  { background: var(--ug-fg); color: #fff; }
.ug-stickybar__btn--quote { background: var(--ug-primary); color: #fff; }
@media (max-width: 768px) {
    .ug-stickybar { display: flex; }
    body { padding-bottom: 80px; } /* så sidste sektion ikke ligger bag baren */
}

/* ============================================================
   FOOTER v24 — UG identity
   ============================================================
   3 lag:
     .ug-footer__cta     — top-band, primary-farve, kontakt-CTA
     .ug-footer__main    — 4-kolonne grid, mørk baggrund
     .ug-footer__bottom  — bund-bar med copyright + legal + sprog
   subfooter.php (.ug-subfooter) renderes BAGEFTER via wp_footer.
*/

.ug-footer.site-footer {
    background: var(--ug-fg);
    color: hsl(0 0% 100% / 0.85);
    padding-top: 0;          /* gammel padding-top 64px droppes — vi styrer selv */
}
.ug-footer a {
    color: hsl(0 0% 100% / 0.9);
    text-decoration: none;
    transition: color 0.15s ease;
}
.ug-footer a:hover { color: #fff; }

/* ---- TOP CTA-band ---- */
.ug-footer__cta {
    background: linear-gradient(135deg, var(--ug-primary) 0%, var(--ug-primary-d) 100%);
    color: #fff;
    padding: 36px 0;
    border-bottom: 1px solid hsl(0 0% 0% / 0.15);
}
.ug-footer__cta-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}
.ug-footer__cta-text { text-align: center; }
.ug-footer__cta-heading {
    margin: 0 0 6px;
    color: #fff !important;
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    line-height: 1.2;
}
.ug-footer__cta-sub {
    margin: 0;
    color: hsl(0 0% 100% / 0.9);
    font-size: 1rem;
}
.ug-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.ug-footer__cta .ug-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ug-footer__cta .ug-btn--white {
    background: #fff;
    color: var(--ug-primary-d) !important;
    box-shadow: 0 2px 8px hsl(0 0% 0% / 0.18);
}
.ug-footer__cta .ug-btn--white:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px hsl(0 0% 0% / 0.25);
    color: var(--ug-primary-d) !important;
}
.ug-footer__cta .ug-btn--ghost-light {
    background: transparent;
    color: #fff !important;
    border: 2px solid hsl(0 0% 100% / 0.7);
}
.ug-footer__cta .ug-btn--ghost-light:hover {
    background: hsl(0 0% 100% / 0.12);
    color: #fff !important;
}
.ug-footer__cta-call-icon { font-size: 1.1em; }

/* ---- MAIN — 4 kolonner ---- */
.ug-footer__main {
    padding: 56px 0 40px;
}
.ug-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}
.ug-footer__col { min-width: 0; }
.ug-footer__col--brand .ug-footer__logo-link {
    display: inline-block;
    color: #fff !important;
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-decoration: none;
}
.ug-footer__tagline {
    margin: 0 0 18px;
    color: hsl(0 0% 100% / 0.75);
    font-size: 0.95rem;
    line-height: 1.5;
}
.ug-footer__badge {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: hsl(142 56% 45% / 0.15);
    border: 1px solid hsl(142 56% 45% / 0.4);
    border-radius: var(--ug-radius);
}
.ug-footer__badge-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ug-success);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}
.ug-footer__badge-body { display: flex; flex-direction: column; gap: 2px; }
.ug-footer__badge-body strong {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
}
.ug-footer__badge-body span {
    color: hsl(0 0% 100% / 0.85);
    font-size: 0.82rem;
    line-height: 1.45;
}
.ug-footer__heading {
    color: #fff !important;
    font-family: var(--ug-font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0 0 14px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}
.ug-footer__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--ug-primary);
    border-radius: 2px;
}
.ug-footer__list,
.ug-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ug-footer__list a {
    display: inline-block;
    padding: 2px 0;
    color: hsl(0 0% 100% / 0.85);
    font-size: 0.95rem;
}
.ug-footer__list a:hover {
    color: var(--ug-primary-l);
    transform: translateX(2px);
}
.ug-footer__contact li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.ug-footer__contact-label {
    color: hsl(0 0% 100% / 0.55);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
}
.ug-footer__contact a {
    color: hsl(0 0% 100% / 0.95);
    font-weight: 500;
}
.ug-footer__contact a:hover { color: var(--ug-primary-l); }

.ug-footer__social {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}
.ug-footer__social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: hsl(0 0% 100% / 0.08);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.15s ease, transform 0.15s ease;
}
.ug-footer__social a:hover {
    background: var(--ug-primary);
    transform: translateY(-2px);
}

/* ---- BUND-bar ---- */
.ug-footer__bottom {
    background: hsl(210 30% 8%);
    padding: 18px 0;
    border-top: 1px solid hsl(0 0% 100% / 0.08);
}
.ug-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}
.ug-footer__copy {
    margin: 0;
    color: hsl(0 0% 100% / 0.6);
    font-size: 0.82rem;
}
.ug-footer__legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: center;
}
.ug-footer__legal a {
    color: hsl(0 0% 100% / 0.7);
    font-size: 0.82rem;
}
.ug-footer__legal a:hover { color: #fff; }

/* ---- Responsive (de nye konsoliderede breakpoints) ---- */
@media (min-width: 768px) {
    .ug-footer__cta-inner {
        grid-template-columns: 1fr auto;
        text-align: left;
    }
    .ug-footer__cta-text { text-align: left; }
    .ug-footer__cta-actions { justify-content: flex-end; }
    .ug-footer__grid { grid-template-columns: repeat(2, 1fr); }
    .ug-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .ug-footer__legal { justify-content: flex-end; }
}
@media (min-width: 1024px) {
    .ug-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
}

/* ------------ Rens gammel CSS-noise ------------ */
.elementor-widget-button > div > div > a {
    background: var(--ug-primary) !important;
    border-radius: 999px !important;
    color: #fff !important;
    font-weight: 600;
}
.elementor-widget-button > div > div > a:hover { background: var(--ug-primary-d) !important; }

/* Bullet-listen med svg-flyt-ikon — vi normaliserer den så den
   ikke pludselig dukker op i posts hvor det ikke giver mening */
.entry-content ul,
.elementor-widget-text-editor ul { list-style: disc; padding-left: 1.2em; background: none; }
.entry-content ul li,
.elementor-widget-text-editor ul li {
    background: none;
    padding: 4px 0 4px 0;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
    list-style: disc;
}
/* — men på service-sider beholder vi den lækre ikon-bullet */
body.ug-service .entry-content ul li {
    list-style: none;
    padding-left: 36px;
    margin-bottom: 10px;
    background-image: url('https://udflytningsgaranti.dk/wp-content/uploads/2022/11/flyttefirma-der-staar-for-istandsaettelse-malerarbejde-og-rengoring-ved-fraflytning.svg');
    background-repeat: no-repeat;
    background-position: left 4px;
    background-size: 24px;
}

/* Skjul gamle elementer */
.entry-header.ast-no-thumbnail { padding-top: 40px; }
blockquote {
    border-left: 4px solid var(--ug-secondary);
    background: var(--ug-bg-accent);
    padding: 20px 24px;
    border-radius: 0 var(--ug-radius) var(--ug-radius) 0;
    font-style: normal;
    color: var(--ug-fg);
}

/* Cookiebot grøn knap — beholdt for konsistens */
#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
    background: var(--ug-success) !important;
    border-color: transparent !important;
}

/* Trustpilot — fjern den hvide tekststreg-hack der lå før */
.trustpilot-widget { -webkit-text-stroke-width: 0 !important; z-index: 100; }

/* Mobil hovedmenu */
@media (max-width: 1024px) {
    #ast-desktop-header { display: none !important; }
    #ast-mobile-header { display: block !important; }
}


/* ==========================================================
   NEW COMPONENTS v3.4 — usp-strip, areas, faq-grid
   ========================================================== */

/* ---- USP-strip (lige under hero) ---- */
.ug-uspstrip {
    background: var(--ug-bg);
    padding: clamp(24px, 4vw, 48px) 0;
    border-bottom: 1px solid var(--ug-border);
}
.ug-uspstrip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 3vw, 40px);
    text-align: center;
}
.ug-uspstrip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.ug-uspstrip__item strong {
    font-family: var(--ug-font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--ug-primary);
    font-weight: 700;
    line-height: 1;
}
.ug-uspstrip__item span {
    color: var(--ug-fg-muted);
    font-size: 0.95rem;
}
@media (max-width: 768px) {
    .ug-uspstrip__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ---- Områder ---- */
.ug-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-top: 32px;
}
.ug-area {
    display: block;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--ug-border);
    border-radius: var(--ug-radius);
    color: var(--ug-fg);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s;
    box-shadow: var(--ug-shadow-sm);
}
.ug-area:hover {
    border-color: var(--ug-primary);
    color: var(--ug-primary);
    transform: translateY(-2px);
    box-shadow: var(--ug-shadow);
}

/* ---- FAQ-grid ---- */
.ug-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 32px;
}
.ug-faq-item {
    background: #fff;
    border: 1px solid var(--ug-border);
    border-radius: var(--ug-radius);
    padding: 18px 22px;
    box-shadow: var(--ug-shadow-sm);
    transition: box-shadow 0.15s;
}
.ug-faq-item:hover { box-shadow: var(--ug-shadow); }
.ug-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ug-fg);
    font-family: var(--ug-font-heading);
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.ug-faq-item summary::-webkit-details-marker { display: none; }
.ug-faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--ug-primary);
    font-weight: 300;
    line-height: 1;
}
.ug-faq-item[open] summary::after { content: "−"; }
.ug-faq-item p {
    margin: 12px 0 0;
    color: var(--ug-fg-muted);
    font-size: 0.97rem;
    line-height: 1.6;
}

/* ---- Hero badges ---- */
.ug-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.ug-hero__badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.18);
}

/* ---- Service grid: 3 kolonner (vi har 6 services nu) ---- */
@media (min-width: 768px) {
    .ug-services { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Force hero video visibility ---- */
.ug-hero__video {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
@media (max-width: 880px) {
    .ug-hero__video { display: block !important; }
}

/* ---- Ghost button ---- */
.ug-btn--ghost {
    background: transparent;
    color: var(--ug-fg);
    border: 1.5px solid var(--ug-border);
}
.ug-btn--ghost:hover {
    border-color: var(--ug-primary);
    color: var(--ug-primary);
}

/* ==========================================================
   FULL-WIDTH FORCED — wrapper-class removal CSS support
   ========================================================== */
body.ug-fullwidth #content,
body.ug-fullwidth #primary,
body.ug-fullwidth #main,
body.ug-fullwidth .site-content,
body.ug-fullwidth .ast-container,
body.ug-fullwidth .ast-container-fluid,
body.ug-fullwidth > article,
body.ug-fullwidth .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
/* Wrapper-article (Astra page-wrapper) — strip padding */
body.ug-fullwidth article.post,
body.ug-fullwidth article.page,
body.ug-fullwidth article[id^="post-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}
/* Inner content articles (review-cards, service-cards osv.) — bevar deres padding */
body.ug-fullwidth .ug-review,
body.ug-fullwidth .ug-service-card,
body.ug-fullwidth .ug-value-card,
body.ug-fullwidth .ug-contact-card,
body.ug-fullwidth .ug-faq-item {
    padding-left: revert !important;
    padding-right: revert !important;
    max-width: none !important;
}
body.ug-fullwidth .ug-review {
    padding: 28px 26px 24px !important;
}
body.ug-fullwidth .ug-service-card__body {
    padding: 22px 24px 26px !important;
}
body.ug-fullwidth .ug-value-card,
body.ug-fullwidth .ug-contact-card {
    padding: 28px 26px !important;
}
body.ug-fullwidth .ug-faq-item__q {
    padding: 16px 22px !important;
}
body.ug-fullwidth .ug-faq-item__a {
    padding: 0 22px 18px !important;
}

body.ug-fullwidth .entry-header,
body.ug-fullwidth .ast-archive-description,
body.ug-fullwidth h1.entry-title,
body.ug-fullwidth .post-thumb,
body.ug-fullwidth .ast-no-thumbnail {
    display: none !important;
}


/* ==========================================================
   FORCED MENU PAGES — Istandsættelse / Ydelser / FAQ / Om Os / Kontakt
   ========================================================== */

/* ---- Split: tekst + billede side om side ---- */
.ug-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
.ug-split--reverse .ug-split__text { order: 2; }
.ug-split--reverse .ug-split__image { order: 1; }
.ug-split__image img,
.ug-rounded-img {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    box-shadow: 0 14px 38px rgba(0,0,0,.12);
    aspect-ratio: 4/3;
    object-fit: cover;
}
@media (max-width: 880px) {
    .ug-split { grid-template-columns: 1fr; }
    .ug-split--reverse .ug-split__text,
    .ug-split--reverse .ug-split__image { order: initial; }
}

/* ---- Section head ---- */
.ug-section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 32px;
}
.ug-prose--center { text-align: center; margin: 0 auto; }
.ug-prose--cols {
    column-count: 2;
    column-gap: 40px;
}
.ug-prose--cols ul { break-inside: avoid; }
@media (max-width: 768px) {
    .ug-prose--cols { column-count: 1; }
}

/* ---- Service grid (Ydelser-side) ---- */
.ug-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
}
@media (min-width: 768px)  { .ug-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .ug-services-grid--primary { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px)  { .ug-services-grid--secondary { grid-template-columns: repeat(3, 1fr); } }

.ug-service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ug-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    border-color: hsl(356 72% 48% / .35);
}
.ug-service-card__media {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: hsl(210 20% 92%);
}
.ug-service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ug-service-card:hover .ug-service-card__media img { transform: scale(1.04); }
.ug-service-card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ug-service-card__icon {
    display: inline-block;
    font-size: 1.6rem;
    line-height: 1;
}
.ug-service-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: hsl(210 30% 15%);
}
.ug-service-card__desc {
    margin: 0;
    color: hsl(210 15% 35%);
    font-size: 0.97rem;
    line-height: 1.55;
}
.ug-service-card__cta {
    margin-top: auto;
    color: hsl(356 72% 48%);
    font-weight: 600;
    font-size: 0.95rem;
}
.ug-service-card--compact .ug-service-card__body { padding: 28px 26px; }

/* ---- Values grid (Om Os) ---- */
.ug-values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 24px 0 32px;
}
@media (min-width: 768px) { .ug-values-grid { grid-template-columns: repeat(3, 1fr); } }
.ug-value-card {
    background: #fff;
    border-radius: 1rem;
    padding: 28px 26px;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.05);
}
.ug-value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: hsl(356 72% 48% / .12);
    color: hsl(356 72% 48%);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.ug-value-card__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    margin: 0 0 8px;
    color: hsl(210 30% 15%);
}
.ug-value-card__desc {
    color: hsl(210 15% 35%);
    margin: 0;
    line-height: 1.6;
}

/* ---- FAQ grupper (FAQ-side) ---- */
.ug-faq-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 32px;
}
@media (min-width: 1024px) { .ug-faq-groups { grid-template-columns: repeat(2, 1fr); } }
.ug-faq-group__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin: 0 0 18px;
    color: hsl(210 30% 15%);
    padding-bottom: 10px;
    border-bottom: 2px solid hsl(356 72% 48%);
    display: inline-block;
}
.ug-faq-list { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   v3.18 — LAYOUT POLISH
   Skarpere rytme mellem sektioner via:
     - Vekslende baggrundsfarver (.ug-section--v0/v1/v2/accent)
     - Subtle box-shadow under hver sektion
     - Bedre hover-states paa cards
     - Konsistente gaps i grids
   ============================================================ */

/* Komplettér .ug-faq-item (var trunkeret) */
.ug-faq-item {
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid var(--ug-border);
    padding: 16px 18px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ug-faq-item:hover { border-color: var(--ug-secondary); box-shadow: var(--ug-shadow-sm); }
.ug-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ug-fg);
    list-style: none;
    padding-right: 24px;
    position: relative;
}
.ug-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--ug-primary);
    font-weight: 700;
    font-size: 1.4em;
    transition: transform 0.2s ease;
}
.ug-faq-item[open] summary::after { transform: rotate(45deg); }
.ug-faq-item p { margin: 12px 0 0; color: var(--ug-fg-muted); line-height: 1.55; }

/* ---- Section rhythm ----
   Mere "luft" mellem hver sektion via padding-stigning og subtle dividers.
   Brug 3 background-variants i veksel: v0 (lys neutral) -> v1 (soft) -> v0 (lys neutral) -> v2 (accent).
*/
.ug-section { padding-top: var(--ug-section-py); padding-bottom: var(--ug-section-py); }
.ug-section + .ug-section { border-top: 1px solid hsl(200 20% 88% / 0.4); }
.ug-section--v1 + .ug-section--v0 { border-top: 0; }

/* Subtle divider mellem sektioner via skygge under foregaaende */
.ug-section--v0 + .ug-section--v1,
.ug-section--v1 + .ug-section--v0 {
    box-shadow: inset 0 8px 16px -8px hsl(200 20% 50% / 0.08);
}

/* ---- Card hover polish ---- */
.ug-service,
.ug-area,
.ug-pic,
.ug-step {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ug-service:hover,
.ug-area:hover {
    transform: translateY(-3px);
    box-shadow: var(--ug-shadow);
    border-color: var(--ug-primary);
}
.ug-pic:hover { transform: translateY(-2px); box-shadow: var(--ug-shadow); }

/* ---- Bredere gaps i grids ---- */
.ug-services-grid,
.ug-services { gap: 28px; }
.ug-areas-grid,
.ug-areas { gap: 14px; }
.ug-pic-row { gap: clamp(20px, 2vw, 32px); }
.ug-steps { gap: clamp(20px, 2vw, 32px); }

/* ---- Section heads — mere luft ---- */
.ug-section__head { margin-bottom: clamp(32px, 4vw, 56px); }
.ug-section__head h2 { margin-bottom: 14px; }

/* ---- USP-strip skal staa frem ---- */
.ug-uspstrip {
    padding-top: clamp(56px, 5vw, 72px);
    padding-bottom: clamp(56px, 5vw, 72px);
    border-top: 1px solid hsl(200 20% 88%);
    border-bottom: 1px solid hsl(200 20% 88%);
}
.ug-uspstrip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: center;
}
@media (min-width: 768px) { .ug-uspstrip__grid { grid-template-columns: repeat(4, 1fr); } }
.ug-uspstrip__item strong {
    display: block;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--ug-primary);
    line-height: 1;
    margin-bottom: 6px;
}
.ug-uspstrip__item span { font-size: 0.92rem; color: var(--ug-fg-muted); }

/* ---- Anchor scroll-offset (samme som :root scroll-padding-top) ---- */
[id] { scroll-margin-top: var(--ug-header-h); }

/* ---- Hero CARD-form mere kompakt naar plads er begraenset ---- */
@media (max-width: 1024px) {
    .ug-hero__card .ug-form label[for*="adresse"],
    .ug-hero__card .ug-form label > span:has(+ input[name="adresse"]) {
        display: none;
    }
    .ug-hero__card .ug-form input[name="adresse"] { display: none; }
}

/* ---- Footer-block visuel separation (subfooter mod main-footer) ---- */
.ug-subfooter { border-top: 4px solid var(--ug-primary); }
.ug-footer-cta + .ug-footer { margin-top: 0; }
.ug-footer-cta {
    padding-top: clamp(48px, 5vw, 72px);
    padding-bottom: clamp(48px, 5vw, 72px);
}


/* ---- Footer top-cta-band (konsolideret v3.18) ---- */
.ug-footer__top-cta {
    background: linear-gradient(135deg, var(--ug-primary) 0%, var(--ug-primary-d) 100%);
    color: #fff;
    padding: clamp(48px, 6vw, 80px) 0;
    border-bottom: 1px solid hsl(0 0% 0% / 0.12);
}
.ug-footer__top-cta .ug-footer-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .ug-footer__top-cta .ug-footer-cta__grid {
        grid-template-columns: 1fr auto;
        text-align: left;
    }
}
.ug-footer__top-cta .ug-footer-cta__eyebrow {
    color: hsl(0 0% 100% / 0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    font-size: 0.82rem;
    margin: 0 0 6px;
}
.ug-footer__top-cta .ug-footer-cta__title {
    color: #fff !important;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.2;
}
.ug-footer__top-cta .ug-footer-cta__lede {
    color: hsl(0 0% 100% / 0.9);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 56ch;
}
.ug-footer__top-cta .ug-footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
@media (min-width: 768px) {
    .ug-footer__top-cta .ug-footer-cta__actions {
        justify-content: flex-end;
    }
}
.ug-footer__top-cta .ug-btn--primary {
    background: #fff !important;
    color: var(--ug-primary-d) !important;
    box-shadow: 0 4px 14px hsl(0 0% 0% / 0.2);
}
.ug-footer__top-cta .ug-btn--primary:hover {
    background: #f5f5f5 !important;
    transform: translateY(-1px);
}
.ug-footer__top-cta .ug-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid hsl(0 0% 100% / 0.7) !important;
}
.ug-footer__top-cta .ug-btn--ghost:hover {
    background: hsl(0 0% 100% / 0.12) !important;
    border-color: #fff !important;
}


/* ============================================================
   v3.20 — A11Y KONTRAST-FIX (Lighthouse Accessibility)
   ============================================================ */

/* Telefon-nummer i header (var groen #30995b paa hvid baggrund — fejlede kontrast) */
a[href^="tel:"][style*="30995b"],
a[href^="tel:+4560596943"] {
    color: var(--ug-primary-d, #a02230) !important;
    border-bottom-color: var(--ug-primary-d, #a02230) !important;
}

/* Hovedmenu-bar text-kontrast paa lyseblå baggrund */
.ast-primary-header-bar [style*="9ed1ec"],
.ast-primary-header-bar a {
    color: var(--ug-fg, #1b2733) !important;
}

/* Anmeldelses-tekster (paa accent-bg) */
.ug-section--accent .ug-review__name,
.ug-section--accent p {
    color: hsl(210 30% 15%) !important;
}

/* Footer-links paa moerk baggrund */
.ug-footer a {
    color: hsl(0 0% 100% / 0.92) !important;
    text-decoration-color: hsl(0 0% 100% / 0.4);
}
.ug-footer a:hover {
    color: #fff !important;
    text-decoration: underline;
}
.ug-footer__copy {
    color: hsl(0 0% 100% / 0.85) !important;
}

/* Lead-tekst paa --v1 baggrund (var for lys mod lys bg) */
.ug-section--v1 .ug-section__lead {
    color: hsl(210 30% 25%) !important;
}

/* Service-card text */
.ug-service__text,
.ug-area {
    color: var(--ug-fg, #1b2733) !important;
}


/* ============================================================
   v3.21 — Lighthouse residual fixes
   ============================================================ */

/* Green personal phone in mobile header (60596943) — override grøn til primary-rød */
.widget_block a[href^="tel:+4560596943"],
.widget_block a[style*="30995b"],
[data-section="sidebar-widgets-header-widget-2"] a[href^="tel:"] {
    color: var(--ug-primary-d, #a02230) !important;
    border-bottom-color: var(--ug-primary-d, #a02230) !important;
    background: none !important;
}

/* Custom logo aspect-ratio (Lighthouse: displayed 2.65 vs actual 2.37) */
.custom-logo,
.site-logo-img .custom-logo,
header .custom-logo-link img {
    aspect-ratio: 400 / 169 !important;
    width: auto !important;
    height: 60px !important;
    max-width: 200px;
    object-fit: contain;
}
@media (max-width: 544px) {
    .custom-logo,
    header .custom-logo-link img {
        height: 48px !important;
    }
}

/* Heading-order fix: contactcard__title kører nu via h2 men styling skal fortsætte */
.ug-contactcard__title {
    margin: 0 0 4px;
    font-family: var(--ug-font-heading, sans-serif);
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--ug-fg, #1b2733);
    line-height: 1.3;
}


/* ============================================================
   v3.23 — FORSIDE SECTIONS POLISH
   Magazine-quality layout for hver sektion paa forsiden.
   ============================================================ */

/* ============================================================
   1. HERO POLISH — øget kontrast, badge-row, sharper CTA
   ============================================================ */

.ug-hero__copy { position: relative; z-index: 2; }

.ug-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: hsl(0 0% 100% / 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid hsl(0 0% 100% / 0.25);
    letter-spacing: 0.02em;
}

.ug-hero__title {
    text-shadow: 0 4px 24px hsl(0 0% 0% / 0.45);
}

.ug-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.ug-btn--lg {
    padding: 16px 28px;
    font-size: 1.05rem;
}

.ug-btn--outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid hsl(0 0% 100% / 0.7);
}
.ug-btn--outline-light:hover {
    background: hsl(0 0% 100% / 0.14);
    border-color: #fff;
    color: #fff;
    transform: translateY(-1px);
}

.ug-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ug-hero__badge {
    background: hsl(0 0% 100% / 0.12);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid hsl(0 0% 100% / 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* ============================================================
   2. CONTACTCARD POLISH — sort tekst paa labels (jf bruger-feedback)
   ============================================================ */

.ug-hero__card { padding: 0; }

.ug-contactcard {
    background: #fff;
    border-radius: var(--ug-radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: var(--ug-shadow-lg);
    color: var(--ug-fg);
    max-width: 100%;
}

.ug-contactcard__head { margin-bottom: 18px; }

.ug-contactcard__title {
    margin: 0 0 6px !important;
    color: var(--ug-fg) !important;       /* SORT — ikke hvid */
    font-family: var(--ug-font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.ug-contactcard__sub {
    margin: 0;
    color: var(--ug-fg-muted) !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Form-labels: SORT tekst paa hvid card */
.ug-contactcard .ug-form label,
.ug-contactcard .ug-form label > span {
    color: var(--ug-fg) !important;        /* SORT — ikke arvet hvid fra hero */
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    margin-bottom: 4px;
}

.ug-contactcard .ug-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ug-contactcard .ug-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ug-contactcard .ug-form input,
.ug-contactcard .ug-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--ug-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    color: var(--ug-fg);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.ug-contactcard .ug-form input:focus,
.ug-contactcard .ug-form textarea:focus {
    outline: none;
    border-color: var(--ug-primary);
    box-shadow: 0 0 0 3px hsl(356 72% 48% / 0.15);
}

.ug-contactcard .ug-form textarea {
    resize: vertical;
    min-height: 80px;
}

.ug-contactcard .ug-form__full { grid-column: 1 / -1; }

.ug-contactcard .ug-form__legal {
    margin: 8px 0 0 !important;
    font-size: 0.78rem;
    color: var(--ug-fg-muted) !important;
    line-height: 1.5;
}

.ug-contactcard .ug-form .ug-btn {
    margin-top: 4px;
}

/* ============================================================
   3. USP-STRIP — store tal, vertikale dividers
   ============================================================ */

.ug-uspstrip {
    background: #fff;
    border-top: 1px solid var(--ug-border);
    border-bottom: 1px solid var(--ug-border);
    padding: clamp(40px, 5vw, 64px) 0;
}

.ug-uspstrip__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    text-align: center;
    position: relative;
}

@media (min-width: 768px) {
    .ug-uspstrip__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }
    .ug-uspstrip__item + .ug-uspstrip__item {
        border-left: 1px solid var(--ug-border);
    }
}

.ug-uspstrip__item {
    padding: 12px 16px;
}

.ug-uspstrip__item strong {
    display: block;
    font-family: var(--ug-font-heading);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    font-weight: 800;
    color: var(--ug-primary);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.ug-uspstrip__item span {
    font-size: 0.92rem;
    color: var(--ug-fg-muted);
    line-height: 1.4;
    font-weight: 500;
}

/* ============================================================
   4. PIC-ROW — magazine-style figurer med caption
   ============================================================ */

.ug-pic-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 2.5vw, 32px);
    margin-top: clamp(40px, 5vw, 64px);
}

@media (min-width: 720px) {
    .ug-pic-row { grid-template-columns: repeat(3, 1fr); }
}

.ug-pic {
    margin: 0;
    position: relative;
    border-radius: var(--ug-radius-lg);
    overflow: hidden;
    box-shadow: var(--ug-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ug-pic:hover {
    transform: translateY(-4px);
    box-shadow: var(--ug-shadow-lg);
}

.ug-pic img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ug-pic figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, hsl(210 30% 10% / 0.85) 100%);
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ============================================================
   5. USP-BAND — CTA mellem sektioner
   ============================================================ */

.ug-usp-band {
    margin-top: clamp(40px, 5vw, 64px);
    background: linear-gradient(135deg, var(--ug-fg) 0%, hsl(210 30% 22%) 100%);
    border-radius: var(--ug-radius-lg);
    padding: clamp(28px, 4vw, 48px);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ug-usp-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 100% 50%, hsl(356 72% 48% / 0.25), transparent);
    pointer-events: none;
}

.ug-usp-band__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .ug-usp-band__inner { grid-template-columns: 1fr auto; }
}

.ug-usp-band h3 {
    color: #fff !important;
    margin: 0 0 6px;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
    font-weight: 700;
}

.ug-usp-band p {
    margin: 0;
    color: hsl(0 0% 100% / 0.85);
    font-size: 0.98rem;
    line-height: 1.5;
}

/* ============================================================
   6. SERVICES GRID — emoji-icons, hover-lift
   ============================================================ */

.ug-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 600px) { .ug-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ug-services { grid-template-columns: repeat(3, 1fr); } }

.ug-service {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px;
    background: #fff;
    border-radius: var(--ug-radius-lg);
    border: 1px solid var(--ug-border);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.ug-service:hover {
    transform: translateY(-4px);
    box-shadow: var(--ug-shadow);
    border-color: var(--ug-primary);
    color: inherit;
}

.ug-service__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, hsl(197 60% 94%) 0%, hsl(197 45% 88%) 100%);
    border-radius: 14px;
    font-size: 1.7rem;
    line-height: 1;
}

.ug-service__icon img.emoji {
    width: 1.4em !important;
    height: 1.4em !important;
}

.ug-service__title {
    margin: 0;
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: 1.18rem;
    color: var(--ug-fg);
    line-height: 1.25;
}

.ug-service__text {
    margin: 0;
    color: var(--ug-fg-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    flex: 1;
}

.ug-service__link {
    color: var(--ug-primary);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: gap 0.15s ease;
    align-self: flex-start;
}

.ug-service:hover .ug-service__link { gap: 4px; color: var(--ug-primary-d); }

/* ============================================================
   7. STEPS — visual proces-timeline
   ============================================================ */

.ug-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 2.5vw, 28px);
    position: relative;
}

@media (min-width: 768px) { .ug-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
    .ug-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    /* Forbindelses-linje paa desktop */
    .ug-steps::before {
        content: "";
        position: absolute;
        top: 36px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--ug-border) 12%, var(--ug-border) 88%, transparent);
        z-index: 0;
    }
}

.ug-step {
    background: #fff;
    border-radius: var(--ug-radius-lg);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--ug-shadow-sm);
    border: 1px solid var(--ug-border);
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ug-step:hover {
    transform: translateY(-3px);
    box-shadow: var(--ug-shadow);
    border-color: var(--ug-primary);
}

.ug-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--ug-primary) 0%, var(--ug-primary-d) 100%);
    color: #fff;
    border-radius: 50%;
    font-family: var(--ug-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px hsl(356 72% 48% / 0.35);
    border: 4px solid #fff;
}

.ug-step h3 {
    margin: 0 0 8px;
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--ug-fg);
    line-height: 1.3;
}

.ug-step p {
    margin: 0;
    color: var(--ug-fg-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ============================================================
   8. AREAS — pill-style links
   ============================================================ */

.ug-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 920px;
    margin: 0 auto;
}

.ug-area {
    padding: 12px 22px;
    background: #fff;
    border: 1.5px solid var(--ug-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--ug-fg) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ug-area:hover {
    background: var(--ug-primary);
    border-color: var(--ug-primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px hsl(356 72% 48% / 0.25);
}

/* ============================================================
   9. REVIEWS — kort med citater
   ============================================================ */

.ug-reviews__head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
.ug-reviews__title {
    margin: 8px 0 12px;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: var(--ug-fg);
}
.ug-reviews__sub {
    color: var(--ug-fg-muted);
    margin: 0;
    font-size: 1rem;
}

.ug-reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .ug-reviews__grid { grid-template-columns: repeat(3, 1fr); } }

.ug-review {
    background: #fff;
    padding: 28px 26px;
    border-radius: var(--ug-radius-lg);
    box-shadow: var(--ug-shadow-sm);
    border: 1px solid var(--ug-border);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ug-review:hover {
    transform: translateY(-3px);
    box-shadow: var(--ug-shadow);
}

.ug-review::before {
    content: '"';
    position: absolute;
    top: -16px;
    left: 18px;
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--ug-primary);
    line-height: 1;
    opacity: 0.5;
}

.ug-review__stars {
    color: #f5b400;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    line-height: 1;
}

.ug-review__text {
    color: var(--ug-fg) !important;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 0 16px;
    font-style: italic;
}

.ug-review__name {
    color: var(--ug-fg) !important;
    font-weight: 700;
    font-size: 0.92rem;
    margin: 0;
}

/* ============================================================
   10. BUND-CTA — gradient + dual buttons
   ============================================================ */

.ug-cta {
    background: linear-gradient(135deg, var(--ug-primary) 0%, var(--ug-primary-d) 100%);
    border-radius: var(--ug-radius-lg);
    padding: clamp(32px, 5vw, 56px);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ug-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(80% 120% at 100% 0%, hsl(0 0% 100% / 0.15), transparent);
    pointer-events: none;
}

.ug-cta__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .ug-cta__inner {
        grid-template-columns: 1fr auto;
        text-align: left;
    }
}

.ug-cta__title {
    color: #fff !important;
    margin: 0 0 8px;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.ug-cta__sub {
    color: hsl(0 0% 100% / 0.92);
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.ug-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

@media (min-width: 768px) { .ug-cta__actions { justify-content: flex-end; } }

.ug-cta .ug-btn--primary {
    background: #fff !important;
    color: var(--ug-primary-d) !important;
    box-shadow: 0 6px 18px hsl(0 0% 0% / 0.18);
}

.ug-cta .ug-btn--primary:hover {
    background: hsl(0 0% 96%) !important;
    color: var(--ug-primary-d) !important;
    transform: translateY(-1px);
}

.ug-cta .ug-btn--outline-light {
    background: transparent;
    color: #fff !important;
    border: 2px solid hsl(0 0% 100% / 0.7);
}

.ug-cta .ug-btn--outline-light:hover {
    background: hsl(0 0% 100% / 0.14);
    border-color: #fff;
    color: #fff !important;
}

/* ============================================================
   11. EYEBROW + SECTION HEAD polish
   ============================================================ */

.ug-eyebrow {
    display: inline-block;
    color: var(--ug-primary);
    background: hsl(356 72% 48% / 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.ug-section__head { text-align: center; }
.ug-section__head h2 {
    margin: 0 0 14px;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--ug-fg);
    line-height: 1.2;
    max-width: 22ch;
    margin-left: auto;
    margin-right: auto;
}

.ug-section__lead {
    color: var(--ug-fg-muted) !important;
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 64ch;
    margin: 14px auto 0;
}


/* ============================================================
   v3.24 — FOOTER CSS — match faktiske klasser i footer.php
   ============================================================
   footer.php bruger BEM-strukturen:
     .ug-footer__top-cta        — primary-rød CTA-band over footer
     .ug-footer__grid           — 4-kolonne grid
     .ug-footer__col--brand     — kolonne 1: brand + kontakt + åbningstider
     .ug-footer__col--trust     — kolonne 4: garanti-badges
     .ug-footer__brand          — "Udflytningsgaranti" tekst
     .ug-footer__brand-tagline  — undertekst
     .ug-footer__contact        — UL med telefon/email/by
     .ug-footer__icon           — span med emoji-ikon
     .ug-footer__hours          — åbningstider blok
     .ug-footer__heading        — kolonne-overskrifter
     .ug-footer__links          — UL i hver kolonne
     .ug-footer__badge          — trust-badge (3 stk)
     .ug-footer__badge-icon     — emoji i badge
     .ug-footer__legal          — vigtig juridisk info
     .ug-footer__small          — small text
     .ug-footer__bar            — bund-bar med copy + nav
     .ug-footer__bar-nav        — nav-links i bund-bar
     .ug-footer__copy           — copyright tekst
   ============================================================ */

/* ---- Footer base — dark bg, white tekst ---- */
.ug-footer {
    background: var(--ug-fg);
    color: hsl(0 0% 100% / 0.85);
    padding-top: 0;
    margin-top: 0;
}
.ug-footer .ug-container {
    padding-top: clamp(48px, 5vw, 72px);
    padding-bottom: 0;
}
.ug-footer a {
    color: hsl(0 0% 100% / 0.9);
    text-decoration: none;
    transition: color 0.15s ease;
}
.ug-footer a:hover { color: var(--ug-primary-l); }

/* ---- 4-kolonne grid ---- */
.ug-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: clamp(40px, 4vw, 56px);
}
@media (min-width: 600px) { .ug-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ug-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; } }

.ug-footer__col { min-width: 0; }

/* ---- Kolonne 1: BRAND ---- */
.ug-footer__brand {
    margin: 0 0 8px;
    font-family: var(--ug-font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff !important;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.ug-footer__brand-tagline {
    margin: 0 0 22px;
    color: hsl(0 0% 100% / 0.75);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ---- Kontakt-liste i brand-col ---- */
.ug-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ug-footer__contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: hsl(0 0% 100% / 0.9);
}

.ug-footer__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    background: hsl(0 0% 100% / 0.08);
    border-radius: 50%;
    color: var(--ug-primary-l);
    font-size: 1rem;
    line-height: 1;
    transition: background 0.15s ease, transform 0.15s ease;
}

.ug-footer__contact li:hover .ug-footer__icon {
    background: var(--ug-primary);
    color: #fff;
    transform: scale(1.06);
}

.ug-footer__contact a {
    color: hsl(0 0% 100% / 0.95) !important;
    font-weight: 500;
}
.ug-footer__contact a:hover { color: var(--ug-primary-l) !important; }

/* ---- Åbningstider ---- */
.ug-footer__hours {
    margin: 0;
    padding: 14px 16px;
    background: hsl(0 0% 100% / 0.06);
    border-left: 3px solid var(--ug-primary);
    border-radius: 0 8px 8px 0;
    color: hsl(0 0% 100% / 0.85);
    font-size: 0.88rem;
    line-height: 1.55;
}
.ug-footer__hours strong {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ---- Kolonne-headings ---- */
.ug-footer__heading {
    margin: 0 0 18px;
    color: #fff !important;
    font-family: var(--ug-font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 12px;
}
.ug-footer__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: var(--ug-primary);
    border-radius: 2px;
}

/* ---- Links-lister i Ydelser / Områder ---- */
.ug-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ug-footer__links li { line-height: 1.4; }
.ug-footer__links a {
    display: inline-block;
    padding: 2px 0;
    color: hsl(0 0% 100% / 0.82) !important;
    font-size: 0.94rem;
    transition: color 0.15s ease, transform 0.15s ease;
}
.ug-footer__links a:hover {
    color: #fff !important;
    transform: translateX(3px);
}

/* ---- Trust-badges (kolonne 4) ---- */
.ug-footer__col--trust .ug-footer__badge,
.ug-footer__badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: hsl(0 0% 100% / 0.06);
    border-radius: 10px;
    border: 1px solid hsl(0 0% 100% / 0.08);
    margin-bottom: 12px;
    transition: background 0.15s ease;
}
.ug-footer__badge:hover { background: hsl(0 0% 100% / 0.1); }
.ug-footer__badge:last-child { margin-bottom: 0; }

.ug-footer__badge-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ug-success);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* Andet badge er primary, tredje secondary */
.ug-footer__badge:nth-child(2) .ug-footer__badge-icon {
    background: var(--ug-primary);
}
.ug-footer__badge:nth-child(3) .ug-footer__badge-icon {
    background: #f5b400;
    color: #1b2733;
}

.ug-footer__badge > div {
    flex: 1;
    min-width: 0;
}
.ug-footer__badge strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.3;
}
.ug-footer__badge span {
    display: block;
    color: hsl(0 0% 100% / 0.78);
    font-size: 0.83rem;
    line-height: 1.45;
}
.ug-footer__badge span a {
    color: var(--ug-primary-l) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ug-footer__badge span a:hover { color: #fff !important; }

/* ---- Legal block ---- */
.ug-footer__legal {
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid hsl(0 0% 100% / 0.1);
    border-bottom: 1px solid hsl(0 0% 100% / 0.1);
}
.ug-footer__small {
    margin: 0;
    color: hsl(0 0% 100% / 0.65);
    font-size: 0.8rem;
    line-height: 1.55;
    max-width: 80ch;
}
.ug-footer__small strong { color: hsl(0 0% 100% / 0.85); }

/* ---- Bund-bar (copyright + footer-nav) ---- */
.ug-footer__bar {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
@media (min-width: 768px) {
    .ug-footer__bar {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.ug-footer__copy {
    margin: 0;
    color: hsl(0 0% 100% / 0.6) !important;
    font-size: 0.82rem;
    text-align: center;
}
@media (min-width: 768px) {
    .ug-footer__copy { text-align: left; }
}

.ug-footer__bar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
}
.ug-footer__bar-nav a {
    color: hsl(0 0% 100% / 0.7) !important;
    font-size: 0.82rem;
    transition: color 0.15s ease;
}
.ug-footer__bar-nav a:hover {
    color: #fff !important;
}

/* ---- Footer TOP-CTA (genaktiveret v3.18 styles, mere kontrast) ---- */
.ug-footer__top-cta {
    background: linear-gradient(135deg, var(--ug-primary) 0%, var(--ug-primary-d) 100%);
    color: #fff;
    padding: clamp(40px, 5vw, 64px) 0;
    margin-bottom: 0;
    border-bottom: 1px solid hsl(0 0% 0% / 0.12);
    position: relative;
}
.ug-footer__top-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 90% 50%, hsl(0 0% 100% / 0.12), transparent);
    pointer-events: none;
}
.ug-footer__top-cta .ug-container { position: relative; z-index: 1; padding-top: 0; padding-bottom: 0; }

.ug-footer-cta__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .ug-footer-cta__grid {
        grid-template-columns: 1fr auto;
        text-align: left;
    }
}

.ug-footer-cta__eyebrow {
    margin: 0 0 6px;
    color: hsl(0 0% 100% / 0.9);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.ug-footer-cta__title {
    margin: 0 0 10px;
    color: #fff !important;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}
.ug-footer-cta__lede {
    margin: 0;
    color: hsl(0 0% 100% / 0.9);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 60ch;
}

.ug-footer-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
@media (min-width: 768px) { .ug-footer-cta__actions { justify-content: flex-end; } }

.ug-footer__top-cta .ug-btn--primary {
    background: #fff !important;
    color: var(--ug-primary-d) !important;
    box-shadow: 0 6px 18px hsl(0 0% 0% / 0.18);
}
.ug-footer__top-cta .ug-btn--primary:hover {
    background: hsl(0 0% 96%) !important;
    color: var(--ug-primary-d) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px hsl(0 0% 0% / 0.22);
}
.ug-footer__top-cta .ug-btn--ghost {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid hsl(0 0% 100% / 0.7) !important;
}
.ug-footer__top-cta .ug-btn--ghost:hover {
    background: hsl(0 0% 100% / 0.14) !important;
    border-color: #fff !important;
    color: #fff !important;
}
.ug-footer__top-cta .ug-btn__icon { font-size: 1.1em; line-height: 1; }


/* ============================================================
   FAQ items polish (var .ug-faq-grid med <details>)
   ============================================================ */
.ug-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 780px;
    margin: 0 auto;
}
@media (min-width: 768px) { .ug-faq-grid { grid-template-columns: repeat(2, 1fr); max-width: none; } }

.ug-faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--ug-border);
    padding: 18px 20px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ug-faq-item:hover {
    border-color: var(--ug-secondary);
    box-shadow: var(--ug-shadow-sm);
}
.ug-faq-item[open] {
    border-color: var(--ug-primary);
    background: hsl(356 72% 48% / 0.02);
}
.ug-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ug-fg);
    list-style: none;
    padding-right: 32px;
    position: relative;
    font-size: 1rem;
    line-height: 1.4;
}
.ug-faq-item summary::-webkit-details-marker { display: none; }
.ug-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: -2px;
    color: var(--ug-primary);
    font-weight: 700;
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.25s ease;
}
.ug-faq-item[open] summary::after {
    content: "−";
    color: var(--ug-primary-d);
}
.ug-faq-item p {
    margin: 14px 0 0;
    color: var(--ug-fg-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* ============================================================
   SUBFOOTER polish (matcher inc/subfooter.php klasser)
   ============================================================ */
.ug-subfooter {
    background: hsl(210 30% 8%);
    color: hsl(0 0% 100% / 0.85);
    padding: clamp(40px, 4vw, 56px) 0 clamp(24px, 3vw, 32px);
    border-top: 1px solid hsl(0 0% 100% / 0.08);
}
.ug-subfooter__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
@media (min-width: 600px) { .ug-subfooter__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ug-subfooter__grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }

.ug-subfooter__heading {
    margin: 0 0 14px !important;
    color: hsl(0 0% 100% / 0.95) !important;
    font-family: var(--ug-font-heading);
    font-size: 0.95rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 10px;
}
.ug-subfooter__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--ug-primary);
    border-radius: 2px;
}

.ug-subfooter__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ug-subfooter__list li { line-height: 1.4; }
.ug-subfooter__list a {
    color: hsl(0 0% 100% / 0.72) !important;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
    display: inline-block;
}
.ug-subfooter__list a:hover {
    color: var(--ug-primary-l) !important;
    transform: translateX(2px);
}

.ug-subfooter__legal {
    margin-top: clamp(28px, 3vw, 36px);
    padding-top: 22px;
    border-top: 1px solid hsl(0 0% 100% / 0.08);
}
.ug-subfooter__legal p {
    margin: 0;
    color: hsl(0 0% 100% / 0.55) !important;
    font-size: 0.78rem;
    line-height: 1.55;
    max-width: 90ch;
}
.ug-subfooter__legal strong { color: hsl(0 0% 100% / 0.78); }


/* ============================================================
   v3.25 — FAQ + spacing polish
   Fixes:
     - FAQ-items har for stram padding (var 18px)
     - FAQ-items har for lidt mellemrum (var 12px gap)
     - Answer-tekst hopper ind uden margin
     - "Se alle"-knappen klistret tæt til sidste item
     - Section-head margin var for stor for FAQ
   ============================================================ */

/* ---- FAQ grid — generøs spacing ---- */
.ug-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .ug-faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 1080px;
    }
}

/* ---- FAQ item — større padding + air ---- */
.ug-faq-item {
    background: #fff;
    border: 1.5px solid var(--ug-border);
    border-radius: 14px;
    padding: 22px 26px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    position: relative;
}

.ug-faq-item:hover {
    border-color: var(--ug-secondary);
    box-shadow: 0 6px 18px hsl(210 30% 15% / 0.06);
}

.ug-faq-item[open] {
    border-color: var(--ug-primary);
    background: linear-gradient(180deg, #fff 0%, hsl(356 72% 48% / 0.025) 100%);
    box-shadow: 0 8px 24px hsl(356 72% 48% / 0.08);
}

/* ---- Summary (spørgsmål) ---- */
.ug-faq-item summary {
    cursor: pointer;
    font-family: var(--ug-font-heading);
    font-weight: 600;
    color: var(--ug-fg);
    list-style: none;
    padding-right: 44px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.45;
    transition: color 0.2s ease;
    user-select: none;
}

.ug-faq-item summary::-webkit-details-marker { display: none; }
.ug-faq-item summary::marker { display: none; content: ""; }

.ug-faq-item:hover summary {
    color: var(--ug-primary-d);
}

.ug-faq-item[open] summary {
    color: var(--ug-primary-d);
    padding-bottom: 8px;
}

/* ---- +/− toggle icon ---- */
.ug-faq-item summary::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: hsl(356 72% 48% / 0.1);
    color: var(--ug-primary);
    font-weight: 700;
    transform: translateY(-50%);
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
    background-image:
        linear-gradient(currentColor, currentColor),
        linear-gradient(currentColor, currentColor);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 2px, 2px 12px;
}

.ug-faq-item[open] summary::after {
    background-color: var(--ug-primary);
    color: #fff;
    transform: translateY(-50%) rotate(135deg);
}

.ug-faq-item:hover summary::after {
    background-color: var(--ug-primary);
    color: #fff;
}

/* ---- Answer text — luft og linjer ---- */
.ug-faq-item p {
    margin: 16px 0 0;
    padding-top: 16px;
    border-top: 1px solid hsl(356 72% 48% / 0.15);
    color: var(--ug-fg-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.ug-faq-item p:last-child { margin-bottom: 0; }

/* ---- Section head — mindre bottom-margin specifikt til FAQ ---- */
.ug-section .ug-faq-grid {
    margin-top: clamp(24px, 3vw, 36px);
}

/* ---- "Se alle spoergsmaal"-knap mere luft + visual weight ---- */
.ug-faq-grid + div,
.ug-faq-grid + p,
.ug-faq-grid + .ug-btn-wrap {
    text-align: center;
    margin-top: clamp(36px, 4vw, 48px) !important;
}

.ug-faq-grid ~ div > .ug-btn--ghost,
.ug-faq-grid + div > .ug-btn--ghost {
    border: 2px solid var(--ug-border);
    background: #fff;
    color: var(--ug-fg) !important;
    padding: 14px 28px;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ug-faq-grid ~ div > .ug-btn--ghost:hover,
.ug-faq-grid + div > .ug-btn--ghost:hover {
    border-color: var(--ug-primary);
    background: var(--ug-primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px hsl(356 72% 48% / 0.25);
}


/* ============================================================
   GENERAL SECTION SPACING — fix tæt rytme i flere sektioner
   ============================================================ */

/* Sikrer hver sektion har generøs ind/ud padding */
.ug-section { padding-top: clamp(72px, 7vw, 120px); padding-bottom: clamp(72px, 7vw, 120px); }

/* Section-head — luft over og under */
.ug-section__head {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 64px);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.ug-section__head + .ug-services,
.ug-section__head + .ug-steps,
.ug-section__head + .ug-areas,
.ug-section__head + .ug-reviews__grid,
.ug-section__head + .ug-pic-row,
.ug-section__head + .ug-faq-grid {
    margin-top: 0;
}

.ug-eyebrow { margin-bottom: 18px; }

.ug-section__head h2 {
    margin: 0 0 16px;
    line-height: 1.2;
}

.ug-section__lead {
    margin: 0;
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================================
   "Se alle"-style buttons mellem sektioner — luft over
   ============================================================ */
.ug-section .ug-btn--ghost,
.ug-section [style*="text-align:center"] > .ug-btn {
    margin-top: clamp(28px, 3vw, 40px);
}


/* ============================================================
   USP-BAND — separation fra forrige content
   ============================================================ */
.ug-usp-band {
    margin-top: clamp(48px, 5vw, 72px);
}

.ug-section > .ug-container > .ug-usp-band {
    margin-top: clamp(56px, 6vw, 80px);
}


/* ============================================================
   v3.26 — CONTACTCARD FORM POLISH
   Bygger paa v3.23 polish — yderligere forbedringer:
     - 2-kolonne grid paa desktop (Navn + Telefon side om side)
     - Storre inputs (12px padding)
     - Floating-style labels med smoother focus
     - Required-indikator (lille roed prik)
     - Submit button med arrow + lift
     - Bedre legal-tekst placering
   ============================================================ */

/* ---- Hero card wrapper ---- */
.ug-hero__card {
    align-self: start;
    width: 100%;
}

.ug-contactcard {
    background: #fff;
    border-radius: var(--ug-radius-lg);
    padding: clamp(24px, 3vw, 36px);
    box-shadow: 0 24px 60px hsl(210 30% 15% / 0.25), 0 8px 16px hsl(210 30% 15% / 0.12);
    color: var(--ug-fg);
    max-width: 100%;
    position: relative;
    border-top: 4px solid var(--ug-primary);
}

/* ---- Header inde i card ---- */
.ug-contactcard__head {
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ug-border);
}

.ug-contactcard__title {
    margin: 0 0 6px !important;
    color: var(--ug-fg) !important;
    font-family: var(--ug-font-heading);
    font-size: clamp(1.25rem, 1.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.ug-contactcard__sub {
    margin: 0;
    color: var(--ug-fg-muted) !important;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---- Form layout ---- */
.ug-contactcard .ug-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* 2-kolonne layout paa desktop for korte felter */
@media (min-width: 540px) {
    .ug-contactcard .ug-form {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    /* Email + Adresse + Besked + Submit + Legal skal spaenne 2 kolonner */
    .ug-contactcard .ug-form label:nth-of-type(n+3),
    .ug-contactcard .ug-form .ug-form__full,
    .ug-contactcard .ug-form button,
    .ug-contactcard .ug-form .ug-form__legal {
        grid-column: 1 / -1;
    }
}

/* ---- Labels (Navn, Telefon, ...) ---- */
.ug-contactcard .ug-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.ug-contactcard .ug-form label > span {
    color: var(--ug-fg) !important;
    font-weight: 600;
    font-size: 0.84rem;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.2;
    position: relative;
    padding-left: 0;
}

/* Required-indicator (roed prik) — vises hvis required */
.ug-contactcard .ug-form label:has(input[required]) > span::after,
.ug-contactcard .ug-form label:has(textarea[required]) > span::after {
    content: " *";
    color: var(--ug-primary);
    font-weight: 700;
    margin-left: 2px;
}

/* ---- Inputs ---- */
.ug-contactcard .ug-form input[type="text"],
.ug-contactcard .ug-form input[type="tel"],
.ug-contactcard .ug-form input[type="email"],
.ug-contactcard .ug-form input[type="number"],
.ug-contactcard .ug-form input[type="url"],
.ug-contactcard .ug-form input:not([type]),
.ug-contactcard .ug-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--ug-border);
    border-radius: 10px;
    font-size: 0.96rem;
    font-family: inherit;
    background: #fff;
    color: var(--ug-fg);
    line-height: 1.4;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

/* Placeholder */
.ug-contactcard .ug-form input::placeholder,
.ug-contactcard .ug-form textarea::placeholder {
    color: hsl(200 15% 65%);
    opacity: 1;
}

/* Hover-state — inviterer til at klikke */
.ug-contactcard .ug-form input:hover:not(:focus),
.ug-contactcard .ug-form textarea:hover:not(:focus) {
    border-color: var(--ug-secondary);
    background: hsl(197 60% 99%);
}

/* Focus-state — primary border + soft glow */
.ug-contactcard .ug-form input:focus,
.ug-contactcard .ug-form textarea:focus {
    outline: none;
    border-color: var(--ug-primary);
    background: #fff;
    box-shadow: 0 0 0 4px hsl(356 72% 48% / 0.12);
}

/* Valid-state efter user input (lille groen tjek) */
.ug-contactcard .ug-form input:valid:not(:placeholder-shown):not(:focus),
.ug-contactcard .ug-form textarea:valid:not(:placeholder-shown):not(:focus) {
    border-color: hsl(142 56% 45% / 0.5);
}

/* Invalid-state efter user input */
.ug-contactcard .ug-form input:invalid:not(:placeholder-shown):not(:focus),
.ug-contactcard .ug-form textarea:invalid:not(:placeholder-shown):not(:focus) {
    border-color: hsl(356 72% 48% / 0.4);
}

/* Textarea-specifikt */
.ug-contactcard .ug-form textarea {
    resize: vertical;
    min-height: 84px;
    font-family: var(--ug-font-body);
}

/* ---- ug-form__full — span hele bredden ---- */
.ug-contactcard .ug-form .ug-form__full {
    grid-column: 1 / -1;
}

/* ---- Submit button — prominent og inviterende ---- */
.ug-contactcard .ug-form button[type="submit"],
.ug-contactcard .ug-form .ug-btn--primary {
    margin-top: 4px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--ug-primary) 0%, var(--ug-primary-d) 100%);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    font-family: var(--ug-font-body);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px hsl(356 72% 48% / 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ug-contactcard .ug-form button[type="submit"]:hover,
.ug-contactcard .ug-form .ug-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px hsl(356 72% 48% / 0.4);
    background: linear-gradient(135deg, var(--ug-primary-d) 0%, hsl(356 72% 36%) 100%);
    color: #fff !important;
}

.ug-contactcard .ug-form button[type="submit"]:active,
.ug-contactcard .ug-form .ug-btn--primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px hsl(356 72% 48% / 0.3);
}

.ug-contactcard .ug-form button[type="submit"]:focus-visible {
    outline: 3px solid hsl(356 72% 48% / 0.4);
    outline-offset: 3px;
}

/* ---- Legal-tekst — diskret men laesbar ---- */
.ug-contactcard .ug-form__legal {
    margin: 6px 0 0 !important;
    padding: 12px 14px;
    background: hsl(142 56% 45% / 0.06);
    border-left: 3px solid hsl(142 56% 45%);
    border-radius: 0 8px 8px 0;
    font-size: 0.78rem;
    color: var(--ug-fg-muted) !important;
    line-height: 1.5;
}

.ug-contactcard .ug-form__legal::before {
    content: "✓ ";
    color: hsl(142 56% 45%);
    font-weight: 700;
    margin-right: 2px;
}


/* ---- Optional: form-status-meddelelser (success/error) ---- */
.ug-contactcard .ug-form .form-message,
.ug-contactcard .ug-form .ug-form-status {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    margin: 4px 0;
    grid-column: 1 / -1;
}

.ug-contactcard .ug-form .form-message--success,
.ug-contactcard .ug-form .ug-form-status--ok {
    background: hsl(142 56% 45% / 0.1);
    border: 1px solid hsl(142 56% 45% / 0.3);
    color: hsl(142 60% 25%);
}

.ug-contactcard .ug-form .form-message--error,
.ug-contactcard .ug-form .ug-form-status--err {
    background: hsl(356 72% 48% / 0.08);
    border: 1px solid hsl(356 72% 48% / 0.3);
    color: hsl(356 72% 35%);
}


/* ---- Animated underline-effect paa labels naar input focuses ---- */
.ug-contactcard .ug-form label:focus-within > span {
    color: var(--ug-primary-d) !important;
    transition: color 0.18s ease;
}

/* ---- Loading-state hvis form-button er aktiv ---- */
.ug-contactcard .ug-form button[type="submit"][disabled],
.ug-contactcard .ug-form button[type="submit"].is-loading {
    opacity: 0.7;
    cursor: wait;
    transform: none;
    box-shadow: 0 4px 12px hsl(356 72% 48% / 0.25);
}

.ug-contactcard .ug-form button[type="submit"].is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid hsl(0 0% 100% / 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ug-form-spin 0.7s linear infinite;
}

@keyframes ug-form-spin {
    to { transform: rotate(360deg); }
}


/* ---- Compact-variant — naar pladsen er knap (mobile hero) ---- */
@media (max-width: 480px) {
    .ug-contactcard {
        padding: 22px 20px;
    }
    .ug-contactcard__head {
        margin-bottom: 18px;
        padding-bottom: 14px;
    }
    .ug-contactcard .ug-form {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ug-contactcard .ug-form input,
    .ug-contactcard .ug-form textarea {
        padding: 11px 13px;
        font-size: 0.95rem;
    }
}


/* ============================================================
   v3.27 — FAQ REFINED
   Renere magasin-stil:
     - Subtil counter (Spm 01, 02, 03...) som design-element
     - Cleaner chevron-toggle (SVG-style via CSS borders)
     - Smooth content-revelation animation
     - Better mobile padding
     - Left-border accent (varierer 4px primary)
     - Subtle bg-difference for open-state
   ============================================================ */

/* Overskriv tidligere FAQ-CSS med renere look */
.ug-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto;
    counter-reset: faq-counter;
}

@media (min-width: 900px) {
    .ug-faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 1100px;
    }
}

/* Reset alle tidligere details/summary styles for vores items */
.ug-faq-item {
    background: #fff;
    border: 1px solid var(--ug-border);
    border-left: 4px solid var(--ug-border);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        border-left-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    counter-increment: faq-counter;
}

.ug-faq-item:hover {
    border-color: var(--ug-secondary);
    border-left-color: var(--ug-secondary);
    box-shadow: 0 4px 16px hsl(210 30% 15% / 0.06);
}

.ug-faq-item[open] {
    border-color: var(--ug-primary);
    border-left-color: var(--ug-primary);
    background: linear-gradient(180deg, hsl(356 72% 48% / 0.025) 0%, #fff 80%);
    box-shadow: 0 8px 24px hsl(356 72% 48% / 0.1);
}

/* ---- Summary (question) ---- */
.ug-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 64px 22px 28px;
    position: relative;
    font-family: var(--ug-font-heading);
    font-weight: 600;
    color: var(--ug-fg);
    font-size: 1.05rem;
    line-height: 1.45;
    user-select: none;
    transition: color 0.2s ease, background 0.2s ease;
    display: block;
}

.ug-faq-item summary::-webkit-details-marker,
.ug-faq-item summary::marker {
    display: none;
    content: "";
}

/* ---- Counter (Spm 01, 02...) — small label foer titel ---- */
.ug-faq-item summary::before {
    content: "Spm " counter(faq-counter, decimal-leading-zero);
    display: block;
    font-family: var(--ug-font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ug-primary);
    margin-bottom: 6px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.ug-faq-item[open] summary::before {
    opacity: 1;
}

/* ---- Chevron toggle — cleaner CSS-only ---- */
.ug-faq-item summary::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 26px;
    width: 12px;
    height: 12px;
    border-right: 2.5px solid var(--ug-primary);
    border-bottom: 2.5px solid var(--ug-primary);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.ug-faq-item[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.ug-faq-item:hover summary {
    color: var(--ug-primary-d);
}

.ug-faq-item[open] summary {
    color: var(--ug-primary-d);
    padding-bottom: 14px;
}

/* ---- Answer block ---- */
.ug-faq-item p {
    margin: 0;
    padding: 0 28px 24px 28px;
    color: var(--ug-fg-muted);
    font-family: var(--ug-font-body);
    font-size: 0.96rem;
    line-height: 1.7;
    animation: ug-faq-reveal 0.35s ease-out;
}

@keyframes ug-faq-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Mobile spacing ---- */
@media (max-width: 600px) {
    .ug-faq-item summary {
        padding: 18px 54px 18px 22px;
        font-size: 1rem;
    }
    .ug-faq-item summary::after {
        right: 22px;
    }
    .ug-faq-item p {
        padding: 0 22px 20px 22px;
        font-size: 0.94rem;
        line-height: 1.6;
    }
}

/* ---- Focus-visible for keyboard ---- */
.ug-faq-item summary:focus-visible {
    outline: 3px solid hsl(356 72% 48% / 0.35);
    outline-offset: 2px;
    border-radius: 8px;
}

/* ---- Print: vis alle answers ---- */
@media print {
    .ug-faq-item[open],
    .ug-faq-item {
        background: transparent !important;
        box-shadow: none !important;
        border-left-width: 1px !important;
    }
    .ug-faq-item p {
        animation: none;
    }
    .ug-faq-item summary::after {
        display: none;
    }
}


/* ============================================================
   v3.28 — HERO CONTACT FORM — ultra-specifik CSS override
   Targeter exact struktur fra live HTML:
     <aside class="ug-hero__card">
       <aside class="ug-contactcard">
         <div class="ug-contactcard__head">...</div>
         <form class="ug-form">
           <input hidden>
           <input hidden>
           <label><span>Navn</span><input required ...></label>
           <label><span>Telefon</span><input required ...></label>
           <label><span>Email</span><input required ...></label>
           <label><span>Adresse...</span><input ...></label>
           <label class="ug-form__full"><span>Besked</span><textarea>...</textarea></label>
           <button class="ug-btn ug-btn--primary ug-btn--block">Få et tilbud →</button>
           <p class="ug-form__legal">...</p>
         </form>
       </aside>
     </aside>

   Hoejere specificitet end Astra/Elementor for at vinde uden !important
   spam — bruger .ug-hero__card .ug-contactcard som kontext.
   ============================================================ */

/* ---- Outer wrapper ---- */
.ug-hero__card {
    position: relative;
    align-self: stretch;
}

/* ---- Contactcard — primaer overlay paa hero ---- */
.ug-hero__card .ug-contactcard {
    background: #fff;
    border-radius: 18px;
    padding: 30px 28px 26px;
    box-shadow:
        0 24px 64px hsl(210 30% 10% / 0.28),
        0 8px 16px hsl(210 30% 10% / 0.14);
    color: var(--ug-fg, #1b2733);
    max-width: 100%;
    border-top: 5px solid var(--ug-primary, #d12c3e);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .ug-hero__card .ug-contactcard {
        padding: 36px 34px 32px;
    }
}

/* ---- Header inde i card ---- */
.ug-hero__card .ug-contactcard__head {
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid hsl(200 20% 92%);
    text-align: left;
}

.ug-hero__card .ug-contactcard__title {
    margin: 0 0 6px;
    color: hsl(210 30% 15%);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: none;
}

@media (min-width: 1024px) {
    .ug-hero__card .ug-contactcard__title { font-size: 1.55rem; }
}

.ug-hero__card .ug-contactcard__sub {
    margin: 0;
    color: hsl(210 15% 45%);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* ---- FORM container — grid ---- */
.ug-hero__card .ug-contactcard .ug-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

/* Hidden inputs tager ikke plads i grid (display:none sikrer) */
.ug-hero__card .ug-contactcard .ug-form > input[type="hidden"] {
    display: none;
}

/* Default: alle labels spaender 2 kolonner */
.ug-hero__card .ug-contactcard .ug-form > label {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    text-align: left;
}

/* Navn (1.) + Telefon (2.) side om side paa desktop */
@media (min-width: 540px) {
    .ug-hero__card .ug-contactcard .ug-form > label:nth-of-type(1) {
        grid-column: 1 / 2;
    }
    .ug-hero__card .ug-contactcard .ug-form > label:nth-of-type(2) {
        grid-column: 2 / 3;
    }
}

/* Button + legal spaender full bredde */
.ug-hero__card .ug-contactcard .ug-form > button,
.ug-hero__card .ug-contactcard .ug-form > .ug-form__legal {
    grid-column: 1 / -1;
}

/* ---- Labels: SORT tekst ---- */
.ug-hero__card .ug-contactcard .ug-form label > span {
    color: hsl(210 30% 15%);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    display: block;
}

/* Required-indicator — lille roed * */
.ug-hero__card .ug-contactcard .ug-form label:has(input[required]) > span::after,
.ug-hero__card .ug-contactcard .ug-form label:has(textarea[required]) > span::after {
    content: " *";
    color: var(--ug-primary, #d12c3e);
    font-weight: 800;
    margin-left: 2px;
}

/* ---- INPUTS + TEXTAREA ---- */
.ug-hero__card .ug-contactcard .ug-form input[type="text"],
.ug-hero__card .ug-contactcard .ug-form input[type="tel"],
.ug-hero__card .ug-contactcard .ug-form input[type="email"],
.ug-hero__card .ug-contactcard .ug-form input:not([type]),
.ug-hero__card .ug-contactcard .ug-form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid hsl(200 20% 88%);
    border-radius: 9px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.94rem;
    line-height: 1.4;
    color: hsl(210 30% 15%);
    background: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.ug-hero__card .ug-contactcard .ug-form input::placeholder,
.ug-hero__card .ug-contactcard .ug-form textarea::placeholder {
    color: hsl(200 15% 65%);
    opacity: 1;
}

.ug-hero__card .ug-contactcard .ug-form input:hover:not(:focus),
.ug-hero__card .ug-contactcard .ug-form textarea:hover:not(:focus) {
    border-color: hsl(197 45% 60%);
    background: hsl(197 60% 99%);
}

.ug-hero__card .ug-contactcard .ug-form input:focus,
.ug-hero__card .ug-contactcard .ug-form textarea:focus {
    outline: none;
    border-color: var(--ug-primary, #d12c3e);
    background: #fff;
    box-shadow: 0 0 0 4px hsl(356 72% 48% / 0.14);
}

/* Valid (kun efter user input) */
.ug-hero__card .ug-contactcard .ug-form input:valid:not(:placeholder-shown):not(:focus),
.ug-hero__card .ug-contactcard .ug-form textarea:valid:not(:placeholder-shown):not(:focus) {
    border-color: hsl(142 56% 45% / 0.55);
}

/* Invalid */
.ug-hero__card .ug-contactcard .ug-form input:invalid:not(:placeholder-shown):not(:focus),
.ug-hero__card .ug-contactcard .ug-form textarea:invalid:not(:placeholder-shown):not(:focus) {
    border-color: hsl(356 72% 48% / 0.5);
}

/* Textarea-specifik */
.ug-hero__card .ug-contactcard .ug-form textarea {
    resize: vertical;
    min-height: 78px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Focus-within highlight paa label */
.ug-hero__card .ug-contactcard .ug-form label:focus-within > span {
    color: var(--ug-primary-d, #a02230);
}

/* ---- SUBMIT BUTTON — prominent CTA ---- */
.ug-hero__card .ug-contactcard .ug-form button[type="submit"],
.ug-hero__card .ug-contactcard .ug-form .ug-btn--block {
    width: 100%;
    margin-top: 6px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--ug-primary, #d12c3e) 0%, var(--ug-primary-d, #a02230) 100%);
    color: #fff;
    border: 0;
    border-radius: 999px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px hsl(356 72% 48% / 0.32);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.ug-hero__card .ug-contactcard .ug-form button[type="submit"]:hover,
.ug-hero__card .ug-contactcard .ug-form .ug-btn--block:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px hsl(356 72% 48% / 0.42);
    background: linear-gradient(135deg, var(--ug-primary-d, #a02230) 0%, hsl(356 72% 34%) 100%);
    color: #fff;
}

.ug-hero__card .ug-contactcard .ug-form button[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px hsl(356 72% 48% / 0.3);
}

.ug-hero__card .ug-contactcard .ug-form button[type="submit"]:focus-visible {
    outline: 3px solid hsl(356 72% 48% / 0.4);
    outline-offset: 3px;
}

/* ---- LEGAL TEKST ---- */
.ug-hero__card .ug-contactcard .ug-form__legal,
.ug-hero__card .ug-contactcard .ug-form .ug-form__legal {
    margin: 8px 0 0;
    padding: 11px 13px;
    background: hsl(142 56% 45% / 0.07);
    border-left: 3px solid hsl(142 56% 45%);
    border-radius: 0 8px 8px 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.77rem;
    line-height: 1.5;
    color: hsl(210 15% 35%);
}

.ug-hero__card .ug-contactcard .ug-form__legal::before {
    content: "✓ ";
    color: hsl(142 56% 35%);
    font-weight: 800;
    margin-right: 2px;
}

/* ---- Mobile-specific overrides ---- */
@media (max-width: 539px) {
    .ug-hero__card .ug-contactcard {
        padding: 24px 20px 22px;
    }
    .ug-hero__card .ug-contactcard .ug-form {
        grid-template-columns: 1fr;
        gap: 11px;
    }
    .ug-hero__card .ug-contactcard .ug-form > label {
        grid-column: 1 / -1 !important;
    }
    .ug-hero__card .ug-contactcard__title {
        font-size: 1.25rem;
    }
    .ug-hero__card .ug-contactcard .ug-form input,
    .ug-hero__card .ug-contactcard .ug-form textarea {
        font-size: 16px;  /* preventer iOS-zoom paa focus */
        padding: 11px 13px;
    }
}


/* ============================================================
   v3.29 — KRITISK FIX: alt sort tekst i hero contact-card
   Bruger MAX specificity + !important for at vinde over alt.
   ============================================================ */

/* ---- Contactcard HEADER — SORT tekst ---- */
.ug-hero__card .ug-contactcard .ug-contactcard__head,
.ug-hero__card .ug-contactcard__head {
    color: #1b2733 !important;
}

.ug-hero__card .ug-contactcard .ug-contactcard__head h2,
.ug-hero__card .ug-contactcard .ug-contactcard__head .ug-contactcard__title,
.ug-hero__card .ug-contactcard__title,
.ug-hero h2.ug-contactcard__title {
    color: #1b2733 !important;
    background: transparent !important;
}

.ug-hero__card .ug-contactcard .ug-contactcard__head p,
.ug-hero__card .ug-contactcard .ug-contactcard__head .ug-contactcard__sub,
.ug-hero__card .ug-contactcard__sub {
    color: #3a4754 !important;
    background: transparent !important;
}

/* ---- Form LABELS — SORT tekst ---- */
.ug-hero__card .ug-contactcard .ug-form label,
.ug-hero__card .ug-contactcard .ug-form label > span,
.ug-hero .ug-contactcard form.ug-form label,
.ug-hero .ug-contactcard form.ug-form label span {
    color: #1b2733 !important;
    background: transparent !important;
}

/* ---- Form INPUT TEXT — SORT (det brugeren skriver) ---- */
.ug-hero__card .ug-contactcard .ug-form input[type="text"],
.ug-hero__card .ug-contactcard .ug-form input[type="tel"],
.ug-hero__card .ug-contactcard .ug-form input[type="email"],
.ug-hero__card .ug-contactcard .ug-form input,
.ug-hero__card .ug-contactcard .ug-form textarea {
    color: #1b2733 !important;
    background: #fff !important;
    -webkit-text-fill-color: #1b2733 !important;  /* Safari/iOS fix */
}

/* ---- Form PLACEHOLDERS — moerk-graa, fuldt synlig ---- */
.ug-hero__card .ug-contactcard .ug-form input::placeholder,
.ug-hero__card .ug-contactcard .ug-form textarea::placeholder,
.ug-hero__card .ug-contactcard .ug-form input::-webkit-input-placeholder,
.ug-hero__card .ug-contactcard .ug-form textarea::-webkit-input-placeholder,
.ug-hero__card .ug-contactcard .ug-form input::-moz-placeholder,
.ug-hero__card .ug-contactcard .ug-form textarea::-moz-placeholder,
.ug-hero__card .ug-contactcard .ug-form input:-ms-input-placeholder,
.ug-hero__card .ug-contactcard .ug-form textarea:-ms-input-placeholder {
    color: #5b6b7a !important;       /* moerk-graa — fuldt synlig */
    opacity: 1 !important;
    font-style: normal !important;
    font-weight: 400 !important;
    -webkit-text-fill-color: #5b6b7a !important;
}

/* Lidt lysere placeholder naar input er focused — så user ved hvor de skal skrive */
.ug-hero__card .ug-contactcard .ug-form input:focus::placeholder,
.ug-hero__card .ug-contactcard .ug-form textarea:focus::placeholder {
    color: #9aa5b1 !important;
    -webkit-text-fill-color: #9aa5b1 !important;
}

/* ---- Autofill background fix (Chrome browser-autofill var gul/blå) ---- */
.ug-hero__card .ug-contactcard .ug-form input:-webkit-autofill,
.ug-hero__card .ug-contactcard .ug-form input:-webkit-autofill:hover,
.ug-hero__card .ug-contactcard .ug-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #1b2733 !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    background-color: #fff !important;
    background-clip: content-box !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ---- Legal-tekst SORT (eller dark muted) ---- */
.ug-hero__card .ug-contactcard .ug-form__legal,
.ug-hero__card .ug-contactcard .ug-form .ug-form__legal {
    color: #3a4754 !important;
}

/* ---- Button text WHITE paa primary bg ---- */
.ug-hero__card .ug-contactcard .ug-form button[type="submit"],
.ug-hero__card .ug-contactcard .ug-form .ug-btn--block {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}


/* ============================================================
   v3.30 — SITE-WIDE FLAW AUDIT
   Fix alle steder hvor tekst ikke er synlig, layouts klipper,
   eller Elementor ikke har fuld bredde.
   ============================================================ */

/* ---- ELEMENTOR FULL-WIDTH SUPPORT ---- */
/* Naar body har .ug-elementor-full -> strip Astra wrappers helt */
body.ug-elementor-full #content,
body.ug-elementor-full #content > .ast-container,
body.ug-elementor-full .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.ug-elementor-full #primary,
body.ug-elementor-full .site-main,
body.ug-elementor-full .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.ug-elementor-full .entry-header { display: none; }
body.ug-elementor-full .ast-archive-description { display: none; }

/* Elementor sektioner skal aldrig vaere clipped */
body.ug-elementor-full .elementor-section,
body.ug-elementor-full .elementor-section-full_width,
body.ug-elementor-full .elementor-section-boxed > .elementor-container {
    max-width: 100%;
}

/* Elementor edit-mode skal fungere normalt */
body.elementor-editor-active .ug-elementor-full {
    /* lad Elementor editor styre selv */
}


/* ---- ALMINDELIGE TEKST-SIDER (page-template-default) ---- */
/* Brugerens egne pages som ikke bruger Elementor eller UG-templates */
body.page-template-default .entry-content,
body.page .entry-content {
    color: hsl(210 30% 15%);
    line-height: 1.7;
    font-size: 1rem;
}

body.page-template-default .entry-content p,
body.page-template-default .entry-content li,
body.page .entry-content p,
body.page .entry-content li {
    color: hsl(210 30% 15%);
}

body.page-template-default .entry-content h1,
body.page-template-default .entry-content h2,
body.page-template-default .entry-content h3,
body.page-template-default .entry-content h4,
body.page .entry-content h1,
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4 {
    color: hsl(210 30% 15%);
    margin-top: 1.4em;
}

body.page-template-default .entry-content a:not(.ug-btn):not(.button):not(.wp-block-button__link),
body.page .entry-content a:not(.ug-btn):not(.button):not(.wp-block-button__link) {
    color: var(--ug-secondary-d);
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ---- ALLE FORMS — sort input-tekst overalt ---- */
body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="url"],
body input[type="search"],
body input[type="number"],
body input[type="password"],
body input:not([type]),
body textarea,
body select {
    color: hsl(210 30% 15%);
    -webkit-text-fill-color: hsl(210 30% 15%);
}

body input::placeholder,
body textarea::placeholder {
    color: hsl(210 15% 45%);
    opacity: 1;
}

/* CF7 + Fluent Forms wrap inputs i forskellige strukturer */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.fluentform input::placeholder,
.fluentform textarea::placeholder,
.gform_wrapper input::placeholder,
.gform_wrapper textarea::placeholder {
    color: hsl(210 15% 45%) !important;
    opacity: 1 !important;
}


/* ---- COMMENTS-sektion ---- */
.comments-area,
.comments-title,
.comment-list,
.comment-body,
.comment-author,
.comment-meta,
.comment-content {
    color: hsl(210 30% 15%);
}

.comment-form label,
.comment-form input,
.comment-form textarea {
    color: hsl(210 30% 15%);
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
    background: #fff;
    border: 1.5px solid var(--ug-border);
    padding: 10px 12px;
    border-radius: 8px;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--ug-primary);
    outline: none;
}


/* ---- ARCHIVE / SEARCH RESULTS / TAG pages ---- */
.archive .ast-archive-description,
.search-results .page-header,
.tag .ast-archive-description {
    background: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    border-left: 4px solid var(--ug-primary);
    margin-bottom: 32px;
}

.archive .ast-archive-title,
.search-results .page-title,
.tag .ast-archive-title {
    color: hsl(210 30% 15%);
    font-family: var(--ug-font-heading);
    margin: 0 0 8px;
}

.archive article,
.search-results article,
.tag article {
    background: #fff;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    border: 1px solid var(--ug-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.archive article:hover,
.search-results article:hover {
    border-color: var(--ug-primary);
    box-shadow: var(--ug-shadow-sm);
}

.archive .entry-title a,
.search-results .entry-title a,
.tag .entry-title a {
    color: hsl(210 30% 15%);
    text-decoration: none;
}

.archive .entry-title a:hover,
.search-results .entry-title a:hover {
    color: var(--ug-primary);
}


/* ---- PAGINATION ---- */
.ast-pagination,
.nav-links,
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 40px 0;
}

.page-numbers,
.nav-links a,
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    background: #fff;
    border: 1.5px solid var(--ug-border);
    border-radius: 8px;
    color: hsl(210 30% 15%);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-numbers:hover,
.nav-links a:hover,
.pagination a:hover {
    background: var(--ug-primary);
    border-color: var(--ug-primary);
    color: #fff;
}

.page-numbers.current,
.pagination .current {
    background: var(--ug-primary);
    border-color: var(--ug-primary);
    color: #fff;
}


/* ---- BLOCKQUOTES ---- */
.entry-content blockquote,
body blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--ug-bg-accent);
    border-left: 4px solid var(--ug-primary);
    border-radius: 0 8px 8px 0;
    color: hsl(210 30% 15%);
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.entry-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-weight: 600;
    color: var(--ug-fg-muted);
    font-size: 0.92rem;
}


/* ---- TABLES ---- */
.entry-content table,
body .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ug-shadow-sm);
}

.entry-content table th,
.entry-content table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--ug-border);
    color: hsl(210 30% 15%);
}

.entry-content table th {
    background: var(--ug-bg-soft);
    font-weight: 700;
    color: hsl(210 30% 15%);
}

.entry-content table tr:last-child td {
    border-bottom: 0;
}

.entry-content table tr:hover td {
    background: hsl(197 60% 96%);
}


/* ---- CODE blocks ---- */
.entry-content code,
.entry-content pre {
    background: hsl(210 30% 15%);
    color: hsl(197 60% 90%);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: 0.92em;
}

.entry-content pre {
    padding: 16px 20px;
    overflow-x: auto;
    margin: 20px 0;
}


/* ---- MOBILE MENU — sikker tekst-synlighed ---- */
.ast-mobile-popup-drawer .ast-mobile-popup-inner,
.ast-mobile-header-content,
.ast-mobile-popup-content {
    background: #fff !important;
}

.ast-mobile-popup-drawer .menu-link,
.ast-mobile-popup-drawer .main-navigation a,
.ast-mobile-header-content a,
.ast-mobile-popup-content .menu-link {
    color: hsl(210 30% 15%) !important;
    background: transparent;
}

.ast-mobile-popup-drawer .menu-link:hover,
.ast-mobile-header-content a:hover {
    color: var(--ug-primary) !important;
    background: hsl(197 60% 96%);
}

.ast-mobile-popup-drawer .ast-mobile-popup-header .menu-toggle-close {
    color: hsl(210 30% 15%) !important;
}


/* ---- WP CORE BLOCKS (Gutenberg) ---- */
.entry-content .wp-block-button .wp-block-button__link,
.entry-content .wp-block-button__link {
    background: var(--ug-primary);
    color: #fff !important;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px hsl(356 72% 48% / 0.25);
}

.entry-content .wp-block-button .wp-block-button__link:hover {
    background: var(--ug-primary-d);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px hsl(356 72% 48% / 0.35);
}

.entry-content .wp-block-image figcaption,
.entry-content figure figcaption {
    color: var(--ug-fg-muted);
    font-size: 0.88rem;
    text-align: center;
    margin-top: 8px;
}


/* ---- SEARCH form (default Astra) ---- */
.search-form input[type="search"] {
    color: hsl(210 30% 15%);
    background: #fff;
    border: 1.5px solid var(--ug-border);
    padding: 10px 14px;
    border-radius: 8px;
    width: 100%;
}

.search-form input[type="search"]::placeholder {
    color: hsl(210 15% 45%);
    opacity: 1;
}

.search-form button[type="submit"],
.search-form .search-submit {
    background: var(--ug-primary);
    color: #fff !important;
    border: 0;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
}


/* ---- 404 ERROR page tekst-synlighed ---- */
.error-404 h1,
.error-404 p,
.no-results h1,
.no-results p {
    color: hsl(210 30% 15%);
}


/* ---- BREADCRUMBS (Yoast eller native) ---- */
.ast-breadcrumbs,
.ast-breadcrumbs *,
nav[aria-label*="breadcrumb"] a {
    color: var(--ug-fg-muted);
    font-size: 0.92rem;
}

.ast-breadcrumbs a:hover {
    color: var(--ug-primary);
}


/* ---- ASTRA admin-bar offset (logged-in users) ---- */
body.admin-bar .ug-hero {
    padding-top: clamp(96px, 12vw, 176px);
}


/* ---- DEFAULT WP BUTTONS overalt ---- */
body .wp-element-button:not(.ug-btn):not(.ast-custom-button) {
    background: var(--ug-primary);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

body .wp-element-button:not(.ug-btn):not(.ast-custom-button):hover {
    background: var(--ug-primary-d);
}


/* ---- TRUSTPILOT widget styling (hvis loaded) ---- */
.trustpilot-widget iframe {
    background: transparent !important;
    border-radius: 12px;
}


/* ---- WORDPRESS form-output efter submit ---- */
.wpcf7-response-output,
.wpforms-confirmation-container,
.fluentform_form_instance_*-success {
    border-radius: 10px;
    padding: 14px 18px;
    margin: 12px 0;
    color: hsl(210 30% 15%);
}


/* ---- HVIS NOGEN bruger Astra's site-title (skjult som standard) ---- */
.site-title,
.site-title a {
    color: hsl(210 30% 15%);
}


/* ---- ASTRA HEADER OFFSET FIX paa Elementor full-width ---- */
body.ug-elementor-full #content {
    margin-top: 0;
    padding-top: 0;
}
