/* ==========================================================
   Brande Sportsrideklub – stylesheet
   ========================================================== */
:root {
    --green-900: #142a20;
    --green-800: #1f3a2e;
    --green-700: #2b4d3d;
    --green-100: #e6ede8;
    --gold-600: #a97c1d;
    --gold-500: #c99a2e;
    --gold-300: #e8c872;
    --gold-100: #f8eed3;
    --cream: #faf7f0;
    --white: #ffffff;
    --ink: #1d231f;
    --muted: #5c665f;
    --line: #e5e0d4;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(20, 42, 32, .25);
    --shadow-lg: 0 30px 60px -20px rgba(20, 42, 32, .35);
    --font-head: "Fraunces", Georgia, serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --container: 1180px;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--green-900); margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--green-900); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.2em; height: 1.2em; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5em;
    padding: .85em 1.5em; border-radius: 999px;
    font-weight: 600; font-size: 1rem; text-decoration: none;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--green-900); box-shadow: 0 8px 20px -8px rgba(201,154,46,.7); }
.btn-gold:hover { color: var(--green-900); box-shadow: 0 12px 26px -8px rgba(201,154,46,.8); }
.btn-green { background: var(--green-800); color: var(--white); }
.btn-green:hover { background: var(--green-700); color: var(--white); }
.btn-outline { border-color: currentColor; color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-900); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 247, 240, .9);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); }
.brand img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0,0,0,.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.25rem; }
.brand-text span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav ul a {
    display: block; padding: .5em .8em; border-radius: 999px;
    text-decoration: none; color: var(--ink); font-weight: 500; font-size: .96rem;
}
.site-nav ul a:hover { background: var(--green-100); color: var(--green-900); }
.site-nav ul a[aria-current="page"] { background: var(--green-800); color: var(--white); }

/* Facebook i toppen. På desktop kun ikonet – teksten er der for skærmlæsere
   og dukker op i mobilmenuen, hvor der er plads til den. */
.nav-social {
    display: grid; place-items: center; flex-shrink: 0;
    width: 38px; height: 38px; border-radius: 50%;
    color: var(--green-800); background: var(--green-100);
    text-decoration: none; transition: background .2s ease, color .2s ease;
}
.nav-social:hover { background: var(--green-800); color: var(--white); }
.nav-social .icon { width: 19px; height: 19px; }
.nav-social-text { display: none; }

.nav-toggle { display: none; background: none; border: 0; color: var(--green-900); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 0 0;
        flex-direction: column; align-items: stretch; justify-content: flex-start;
        background: var(--cream); padding: 24px 16px 40px;
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
        overflow-y: auto;
    }
    .site-nav ul { flex-direction: column; }
    .site-nav ul a { font-size: 1.2rem; padding: .8em 1em; border-radius: var(--radius-sm); }
    /* I mobilmenuen er der plads til en rigtig knap med tekst */
    .nav-social {
        width: auto; height: auto; border-radius: var(--radius-sm);
        justify-content: flex-start; grid-auto-flow: column; gap: 12px;
        padding: .8em 1em; margin-top: 8px; font-size: 1.05rem; font-weight: 500;
    }
    .nav-social-text { display: inline; }
    body.nav-open { overflow: hidden; }
    /* backdrop-filter gør .site-header til containing block for fixed-positionerede
       børn – uden dette bliver menupanelet låst inde i headerens egen højde.
       Der er alligevel intet at sløre bag en åben fuldskærmsmenu. */
    body.nav-open .site-header {
        background: var(--cream);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
    body.nav-open .nav-toggle .icon-open { display: none; }
    body.nav-open .nav-toggle .icon-close { display: block; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    color: var(--white);
    background:
        radial-gradient(1200px 600px at 85% 20%, rgba(232,200,114,.22), transparent 60%),
        radial-gradient(900px 500px at 10% 110%, rgba(201,154,46,.18), transparent 60%),
        linear-gradient(160deg, var(--green-800), var(--green-900));
}
.hero.has-photo::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--hero-img) center/cover no-repeat; opacity: .35;
}
.hero::after { /* subtle arena-sand texture lines */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
    background-image: repeating-linear-gradient(115deg, #fff 0 1px, transparent 1px 22px);
}
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 48px; padding: clamp(64px, 10vw, 120px) 0; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 36em; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--gold-600); margin-bottom: 1em;
}
.hero .eyebrow { color: var(--gold-300); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo { position: relative; justify-self: center; width: min(300px, 80%); }
.hero-logo::before {
    content: ""; position: absolute; inset: -12%; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,200,114,.35), transparent 65%);
    animation: pulse 6s ease-in-out infinite;
}
.hero-logo img { position: relative; width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-2deg); } }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .7; } }

.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-head); font-size: 2rem; color: var(--gold-300); line-height: 1; }
.hero-stats span { font-size: .88rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* Vigtige nyheder – i bunden af det grønne felt */
.hero-news { display: grid; gap: 12px; padding-bottom: clamp(32px, 5vw, 56px); position: relative; z-index: 1; }
.hero-news-item {
    display: flex; align-items: center; gap: 16px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(232, 200, 114, .38);
    border-radius: var(--radius);
    padding: 16px 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-news-mark { display: grid; place-items: center; flex: 0 0 auto; color: var(--gold-300); }
.hero-news-mark .icon { width: 22px; height: 22px; }
.hero-news-body { flex: 1; min-width: 0; }
.hero-news-body strong { display: block; color: var(--white); font-size: 1.05rem; line-height: 1.3; }
.hero-news-body p { margin: 4px 0 0; color: rgba(255,255,255,.8); font-size: .92rem; }
.hero-news-link { flex: 0 0 auto; }

@media (max-width: 640px) {
    .hero-news-item { flex-wrap: wrap; gap: 12px; padding: 14px 16px; }
    .hero-news-link { width: 100%; justify-content: center; }
}

/* Page hero (sub-pages) */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px); }
.page-hero .hero-inner { grid-template-columns: 1fr; padding: 0; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.breadcrumb { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.85); }

.wave { display: block; width: 100%; height: 48px; margin-top: -1px; color: var(--cream); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--green-900); color: rgba(255,255,255,.88); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.section-alt .card { background: var(--cream); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    background: var(--gold-100); color: var(--gold-600); margin-bottom: 20px;
}
.card-icon .icon { width: 28px; height: 28px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; text-decoration: none; color: var(--green-800); }
.card-link .icon { transition: transform .2s; }
.card:hover .card-link .icon { transform: translateX(4px); }
.card-link::after { content: ""; position: absolute; inset: 0; }

.feature-card {
    border-radius: var(--radius); padding: 40px; color: var(--white); position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--green-700), var(--green-900));
}
.feature-card h3 { color: var(--white); font-size: 1.6rem; }
.feature-card p { color: rgba(255,255,255,.8); }
.feature-card.gold { background: linear-gradient(150deg, var(--gold-300), var(--gold-500)); color: var(--green-900); }
.feature-card.gold h3 { color: var(--green-900); }
.feature-card.gold p { color: rgba(20,42,32,.8); }
.feature-card .big-icon { position: absolute; right: -20px; bottom: -20px; width: 180px; height: 180px; opacity: .12; }

/* Visual panel (used instead of photos) */
.visual {
    position: relative; aspect-ratio: 4/3.4; border-radius: 28px; overflow: hidden;
    background: linear-gradient(160deg, var(--green-700), var(--green-900));
    display: grid; place-items: center; box-shadow: var(--shadow-lg);
}
.visual.has-photo { background: var(--visual-img) center/cover; }
.visual img.visual-logo { width: 55%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); }
.visual-badge {
    position: absolute; left: 20px; bottom: 20px; right: 20px;
    background: rgba(255,255,255,.95); border-radius: 14px; padding: 16px 20px;
    display: flex; align-items: center; gap: 14px; color: var(--green-900); font-weight: 600;
}
.visual-badge .icon { width: 36px; height: 36px; color: var(--gold-500); }
.visual-badge small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { color: var(--white); background: var(--gold-500); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 2px; }

/* ---------- Reasons (numbered) ---------- */
.reasons { counter-reset: reason; }
.reason { background: var(--white); border-radius: var(--radius-sm); padding: 24px; border: 1px solid var(--line); }
.reason::before {
    counter-increment: reason; content: counter(reason, decimal-leading-zero);
    font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--gold-500); display: block; line-height: 1; margin-bottom: 10px;
}
.reason h3 { font-size: 1.1rem; margin-bottom: .3em; }
.reason p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Sponsors ---------- */
.sponsor-grid {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
}
.sponsor {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 16px 12px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.section-alt .sponsor { background: var(--cream); }
.sponsor:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.sponsor a { display: block; line-height: 0; border-radius: var(--radius-sm); }
.sponsor img {
    width: 88px; height: 88px; object-fit: contain;
    border-radius: var(--radius-sm); background: var(--white);
}
.sponsor-name {
    font-size: .8rem; line-height: 1.3; color: var(--muted);
    font-weight: 500; overflow-wrap: break-word;
}
.sponsor-cta { margin: 32px 0 0; text-align: center; color: var(--muted); font-size: .95rem; }

@media (max-width: 520px) {
    .sponsor-grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
    .sponsor { padding: 12px 8px; }
    .sponsor img { width: 68px; height: 68px; }
}

/* ---------- Stævnesiden ---------- */
.staevne-blokke { display: grid; gap: 14px; }
.staevne-blokke .contact-item { align-items: flex-start; }
.staevne-blokke .contact-item p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.staevne-blokke .contact-item p:last-child { margin-bottom: 0; }
.staevne-grid .section-head { margin-bottom: 24px; }

/* ---------- Dokumentlister (daglig drift) ---------- */
.doc-group { margin-bottom: 40px; }
.doc-group h2 { font-size: 1.4rem; margin-bottom: .4em; }
.doc-group-note {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold-100); border: 1px solid var(--gold-300);
    color: var(--gold-600); border-radius: 999px; padding: .35em 1em;
    font-size: .88rem; font-weight: 500; margin: 0 0 16px;
}
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-list a {
    display: flex; align-items: center; gap: 16px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 14px 18px; text-decoration: none; color: var(--ink);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.doc-list a:hover { border-color: var(--gold-500); transform: translateX(3px); box-shadow: var(--shadow); color: var(--ink); }
.doc-icon {
    flex: 0 0 46px; height: 32px; display: grid; place-items: center;
    background: var(--green-800); color: var(--white); border-radius: 6px;
    font-size: .68rem; font-weight: 700; letter-spacing: .06em;
}
.doc-text { flex: 1; min-width: 0; }
.doc-text strong { display: block; font-weight: 600; font-size: 1rem; }
.doc-text small { display: block; color: var(--muted); font-size: .85rem; }
.doc-meta { color: var(--muted); font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.doc-outro { max-width: 70ch; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--muted); }

/* ---------- Udvalg ---------- */
.committee { text-align: left; }
.committee h3 { font-size: 1.15rem; }
.committee > p { font-size: .95rem; }
.committee-tasks { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.committee-tasks li { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.committee-tasks .icon { width: 1em; height: 1em; margin-top: .35em; color: var(--gold-500); flex-shrink: 0; }
.committee-members { font-size: .88rem; margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); }

@media (max-width: 560px) {
    .doc-list a { gap: 12px; padding: 12px 14px; }
    .doc-icon { flex-basis: 40px; }
    .doc-meta { display: none; }
}

/* ---------- Vedtægter ---------- */
.bylaws-layout { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; align-items: start; }
.bylaws-nav { position: sticky; top: calc(var(--header-h) + 24px); }
.bylaws-nav-title {
    font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--muted); font-weight: 600; margin: 0 0 10px;
}
.bylaws-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bylaws-nav li { flex: 0 0 auto; }
.bylaws-nav a {
    display: block; padding: .3em .7em; border-radius: 999px; font-size: .85rem;
    text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line);
}
.bylaws-nav a:hover { border-color: var(--gold-500); color: var(--green-900); }

.bylaw {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 32px; margin-bottom: 16px; scroll-margin-top: calc(var(--header-h) + 20px);
}
.bylaw h2 {
    font-size: 1.15rem; color: var(--gold-600); margin: 0 0 .6em;
    letter-spacing: .02em;
}
.bylaw p { margin: 0 0 .9em; }
.bylaw p:last-child { margin-bottom: 0; }

.doc-card .card-link { margin-top: auto; }
.doc-missing { color: var(--muted); font-size: .9rem; font-style: italic; }

@media (max-width: 900px) {
    .bylaws-layout { grid-template-columns: 1fr; gap: 24px; }
    .bylaws-nav { position: static; }
    .bylaw { padding: 22px 20px; }
}

/* ---------- People ---------- */
.person { text-align: left; }
.avatar {
    width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--green-900);
    font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin-bottom: 16px;
}
.person .role { color: var(--gold-600); font-weight: 600; font-size: .9rem; margin-bottom: 12px; }
.person-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.person-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); word-break: break-all; }
.person-contact a:hover { color: var(--gold-600); }
.person-contact .icon { color: var(--green-700); }

/* ---------- Prices ---------- */
.price-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.price-nav a { padding: .45em 1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .92rem; }
.price-nav a:hover { border-color: var(--gold-500); color: var(--green-900); }
.price-group { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; margin-bottom: 24px; }
.price-group h2 { font-size: 1.35rem; margin: 0; padding: 22px 28px; background: var(--green-800); color: var(--white); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 16px 28px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table tr:first-child td { border-top: 0; }
.price-table tr:hover td { background: var(--gold-100); }
.price-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; color: var(--green-900); }
.price-table small { display: block; color: var(--muted); font-size: .85rem; }

/* To priskolonner, fx “Fuld pasning / Selvpasning” */
.price-table thead th {
    text-align: right; padding: 14px 28px 10px; color: var(--muted);
    font-family: var(--font-body); font-size: .8rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line);
}
.price-table thead th:first-child { text-align: left; }
.price-table.two-cols td + td { text-align: right; font-weight: 600; white-space: nowrap; color: var(--green-900); width: 150px; }
.price-table.two-cols thead + tbody tr:first-child td { border-top: 0; }
@media (max-width: 560px) {
    .price-table td { padding: 14px 18px; }
    .price-table thead th { padding: 12px 18px 8px; font-size: .7rem; }
    .price-group h2 { padding: 18px; }
}

/* ---------- CTA band ---------- */
.cta {
    border-radius: 28px; padding: clamp(40px, 6vw, 72px);
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(232,200,114,.3), transparent 60%),
        linear-gradient(140deg, var(--green-800), var(--green-900));
    color: var(--white); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta h2 { color: var(--white); margin-bottom: .3em; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.contact-item .card-icon { margin: 0; width: 48px; height: 48px; }
.contact-item strong { display: block; font-family: var(--font-head); color: var(--green-900); }
.contact-item a { text-decoration: none; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); display: block; }

.form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--green-900); }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--ink);
    padding: .8em 1em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-500); background: var(--white); box-shadow: 0 0 0 4px rgba(201,154,46,.18); }
.field textarea { min-height: 150px; resize: vertical; }
.field .error { color: #b3261e; font-size: .85rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.alert-success { background: var(--green-100); color: var(--green-900); }
.alert-error { background: #fbe9e7; color: #8c1d18; }

/* ---------- Info box ---------- */
.notice { display: flex; gap: 16px; background: var(--gold-100); border-left: 4px solid var(--gold-500); padding: 20px 24px; border-radius: var(--radius-sm); }
.notice .icon { color: var(--gold-600); width: 28px; height: 28px; }
.notice p:last-child { margin: 0; }

.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; font-size: 1.8rem; }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.pill-list li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.75); padding: 72px 0 0; margin-top: 0; }
.site-footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 1em; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 88px; margin-bottom: 16px; }
.footer-brand p { max-width: 30ch; }
.footer-list, .footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { color: var(--gold-300); margin-top: 4px; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: .6em 1.1em; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.footer-small { font-size: .88rem; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; margin-top: 56px; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; text-align: left; gap: 32px; }
    .hero-logo { order: -1; width: 180px; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
    .price-table.two-cols thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .price-table.two-cols tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
    .price-table.two-cols tr:first-child { border-top: 0; }
    .price-table.two-cols td { padding: 2px 0; border: 0; }
    .price-table.two-cols td:first-child { grid-column: 1 / -1; }
    .price-table.two-cols td[data-col] { grid-column: 1 / -1; width: auto; display: flex; justify-content: space-between; gap: 12px; }
    .price-table.two-cols td[data-col]::before {
        content: attr(data-col); color: var(--muted); font-weight: 400;
        font-size: .85rem; text-transform: none; letter-spacing: 0;
    }
}
