/* ==========================================================================
   oksbølby.dk – fælles stylesheet
   Farver og skrift samlet øverst, så de er nemme at rette.
   ========================================================================== */

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

:root {
  --orange: #ed701d;
  --orange-lys: #ff9a57;
  --blaa: #163375;
  --moerkeblaa: #0d1f47;
  --sand: #f4f1ec;
  --hvid: #ffffff;
  --tekst: #2d2d2d;
  --tekst-lys: #5d5d5d;
  --linje: #e4dfd6;

  --radius: 20px;
  --bredde: 1200px;
  --header-hoejde: 84px;
  --skygge: 0 10px 30px rgba(13, 31, 71, .12);
  --gradient-blaa: linear-gradient(180deg, var(--moerkeblaa) 0%, var(--blaa) 100%);
  --gradient-orange: linear-gradient(180deg, var(--orange) 0%, var(--orange-lys) 100%);
}

/* ---------- Grundlæggende ---------- */

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-hoejde) + 16px); }

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tekst);
  background: var(--hvid);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--orange); }
a:hover { color: var(--blaa); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 800;
  color: var(--moerkeblaa);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

.container { width: min(100% - 40px, var(--bredde)); margin-inline: auto; }
.container--smal { width: min(100% - 40px, 820px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 10px 16px; z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Knapper ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.6em;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  font: inherit; font-weight: 800; font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--orange-lys); border-color: var(--orange-lys); color: #fff; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--orange); }
.btn--outline:hover { background: var(--orange); color: #fff; }
.btn--hvid { background: transparent; border-color: #fff; color: #fff; }
.btn--hvid:hover { background: #fff; border-color: #fff; color: var(--moerkeblaa); }
.btn--lille { padding: .45em 1.2em; font-size: .85rem; }

.knapper { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* ---------- Header og menu ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-hoejde);
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.er-scrollet,
.site-header.er-aaben { background: var(--moerkeblaa); box-shadow: 0 4px 20px rgba(0, 0, 0, .25); }

.site-header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 24px;
  width: min(100% - 40px, 1320px); margin-inline: auto;
}
.site-header__logo img { height: 64px; width: auto; }
.site-header__handlinger { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-header__konto { color: #fff; display: inline-flex; font-size: 1.6rem; }
.site-header__konto:hover { color: var(--orange-lys); }

.menu-knap {
  display: none;
  background: none; border: 0; color: #fff; font-size: 1.6rem; padding: 6px; cursor: pointer;
}

.hovedmenu { margin-left: auto; }
.hovedmenu ul { list-style: none; margin: 0; padding: 0; }
.hovedmenu > ul { display: flex; gap: 6px; }
.hovedmenu a, .hovedmenu .menu-punkt {
  display: flex; align-items: center; gap: 6px;
  color: inherit; text-decoration: none;
  font-weight: 700; font-size: .95rem;
  padding: 10px 12px;
  border-radius: 10px;
}
.hovedmenu .pil { width: 12px; height: 12px; transition: transform .2s; }
.hovedmenu li { position: relative; }

.hovedmenu li > ul {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; color: var(--tekst);
  border-radius: 14px; box-shadow: var(--skygge);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.hovedmenu li > ul ul { top: 0; left: 100%; margin-left: 8px; }
.hovedmenu li:hover > ul,
.hovedmenu li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.hovedmenu li > ul a { font-weight: 600; padding: 8px 12px; justify-content: space-between; }
.hovedmenu li > ul a:hover { background: var(--sand); color: var(--orange); }
.hovedmenu li > ul .pil { transform: rotate(-90deg); }
.hovedmenu > ul > li > a:hover { color: var(--orange-lys); }

@media (max-width: 1080px) {
  .menu-knap { display: inline-flex; }
  .hovedmenu {
    position: fixed; inset: var(--header-hoejde) 0 0 0;
    background: var(--moerkeblaa);
    overflow-y: auto; padding: 12px 20px 40px;
    display: none;
  }
  .site-header.er-aaben .hovedmenu { display: block; }
  .hovedmenu > ul { flex-direction: column; gap: 0; }
  .hovedmenu a, .hovedmenu .menu-punkt { padding: 12px 4px; font-size: 1.05rem; }
  .hovedmenu li > ul,
  .hovedmenu li > ul ul {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: none; box-shadow: none; color: #fff;
    padding: 0 0 0 16px; margin: 0; display: none; min-width: 0;
  }
  .hovedmenu li.er-aaben > ul { display: block; }
  .hovedmenu li > ul .pil { transform: none; }
  .hovedmenu li.er-aaben > a .pil { transform: rotate(180deg); }
  .hovedmenu li > ul a { font-weight: 600; }
  .hovedmenu li > ul a:hover { background: none; color: var(--orange-lys); }
  .site-header__handlinger { margin-left: auto; }
}
@media (max-width: 520px) {
  .site-header__handlinger .btn { display: none; }
  .site-header__logo img { height: 54px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 520px;
  display: grid; place-items: center;
  padding: calc(var(--header-hoejde) + 40px) 20px 60px;
  background: var(--moerkeblaa);
  color: #fff; text-align: center;
}
.hero--stor { min-height: 100vh; min-height: 100svh; max-height: 900px; }
.hero--lav { min-height: 380px; }
.hero__billede, .hero__slides, .hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero__slides img { opacity: 0; transition: opacity 1.2s ease; }
.hero__slides img.er-aktiv { opacity: 1; animation: kenburns 7s ease-out forwards; }
.hero__video {
  position: absolute; top: 50%; left: 50%; z-index: -2;
  width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh;
  transform: translate(-50%, -50%); border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1.5s ease 1s;
}
.hero__video.er-klar { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 31, 71, .75) 0%, rgba(13, 31, 71, .45) 50%, rgba(13, 31, 71, .8) 100%);
}
.hero h1 { color: #fff; margin-bottom: .2em; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.hero__undertitel { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; margin: 0 0 1.4em; }
.hero__tekst { max-width: 760px; margin: 0 auto 1.6em; font-size: 1.05rem; }
.hero--venstre { text-align: left; place-items: center start; }
.hero--venstre .hero__indhold { width: min(100%, var(--bredde)); margin-inline: auto; }
.hero--venstre .hero__indhold > * { max-width: 620px; }
.hero--venstre .hero__tekst { margin-left: 0; }

.infobar {
  background: var(--gradient-orange);
  color: #fff; text-align: center;
  padding: 8px 20px; font-weight: 700; font-size: .9rem;
}
.infobar a { color: #fff; }

/* ---------- Sektioner ---------- */

.sektion { padding: clamp(56px, 8vw, 96px) 0; }
.sektion--sand { background: var(--sand); }
.sektion--blaa { background: var(--gradient-blaa); color: #fff; }
.sektion--blaa h2, .sektion--blaa h3 { color: #fff; }
.sektion--blaa a:not(.btn) { color: var(--orange-lys); }
.sektion--center { text-align: center; }
.sektion--center .knapper { justify-content: center; }

.sektion__ikon { font-size: 3rem; color: var(--orange); margin: 0 auto 12px; display: block; }
.sektion__intro { max-width: 720px; margin: 0 auto 2.5em; text-align: center; }

/* To kolonner: billede og tekst */
.split {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.split__billede img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--skygge);
}
.split--billede-hoejre .split__billede { order: 2; }
.split__tekst > :last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--billede-hoejre .split__billede { order: 0; }
}

/* Ikon-genveje ("Hvad vil du gerne vide?") */
.genveje {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px; max-width: 1000px; margin: 0 auto;
}
.genvej {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 24px 12px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--skygge);
  color: var(--moerkeblaa); text-decoration: none; text-align: center;
  font-weight: 800; line-height: 1.3;
  transition: transform .2s, color .2s;
}
.genvej .icon { font-size: 2.4rem; color: var(--orange); }
.genvej:hover { transform: translateY(-4px); color: var(--orange); }

/* Kort-gitter */
.gitter { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Prisbokse */
.priser { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 900px; margin: 0 auto; }
.pris {
  background: #fff; border: 1px solid var(--linje); border-radius: var(--radius);
  box-shadow: var(--skygge); padding: 32px 28px; text-align: center;
  display: flex; flex-direction: column;
}
.pris__navn { font-size: 1.1rem; color: var(--blaa); margin-bottom: .3em; }
.pris__beloeb { font-size: 2rem; font-weight: 900; color: var(--orange); margin-bottom: .6em; }
.pris__beloeb small { font-size: 1rem; color: var(--tekst-lys); font-weight: 700; }
.pris ul { list-style: none; padding: 0; margin: 0 0 1.5em; text-align: left; }
.pris li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--linje); }
.pris li .icon { color: var(--orange); }
.pris .btn { margin-top: auto; }

/* Faneblade */
.faner__knapper {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px;
}
.faner__knap {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--orange); border-radius: var(--radius);
  background: #fff; color: var(--orange);
  font: inherit; font-weight: 800; font-size: .9rem;
  padding: .55em 1.2em; cursor: pointer;
}
.faner__knap[aria-selected="true"], .faner__knap:hover { background: var(--orange); color: #fff; }
.faner__panel[hidden] { display: none; }

/* Logo-gitter (virksomheder) */
.logoer { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.logo-kort {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px;
  background: #fff; border: 1px solid var(--linje); border-radius: 16px;
  text-decoration: none; color: var(--moerkeblaa); font-weight: 800; text-align: center; line-height: 1.25;
  transition: box-shadow .2s, transform .2s;
}
.logo-kort:hover { box-shadow: var(--skygge); transform: translateY(-2px); color: var(--orange); }
.logo-kort img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Bestyrelsen */
.personer { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.person {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--skygge);
  display: flex; flex-direction: column;
}
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.person__info { padding: 18px 20px 22px; font-size: .95rem; }
.person__navn { font-weight: 800; color: var(--moerkeblaa); font-size: 1.05rem; }
.person__rolle { color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.person a { word-break: break-all; }

.formand {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start;
  background: #fff; border-radius: var(--radius); box-shadow: var(--skygge);
  padding: 32px; margin-bottom: 40px;
}
.formand img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 760px) { .formand { grid-template-columns: 1fr; } }

/* Lister med foreninger */
.kolonne-liste { columns: 3 220px; column-gap: 32px; padding: 0; list-style: none; margin: 0; }
.kolonne-liste li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--linje); }

/* Vindere og andre lange lister */
.vindere { list-style: none; padding: 0; margin: 0; max-height: 60vh; overflow-y: auto; }
.vindere li { padding: 8px 0; border-bottom: 1px solid var(--linje); }
.vindere strong { color: var(--blaa); }

/* Fold-ud (details) */
.foldud { border: 1px solid var(--linje); border-radius: 14px; background: #fff; margin: 1.2em 0; }
.foldud summary {
  cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 800; color: var(--blaa);
  display: flex; justify-content: space-between; align-items: center;
}
.foldud summary::-webkit-details-marker { display: none; }
.foldud summary .icon { transition: transform .2s; }
.foldud[open] summary .icon { transform: rotate(180deg); }
.foldud__indhold { padding: 0 18px 16px; }

/* Brødtekst (vedtægter, cookiepolitik) */
.tekstside h2 { margin-top: 1.6em; font-size: 1.4rem; }
.tekstside h2:first-child { margin-top: 0; }
.tekstside ul, .tekstside ol { padding-left: 1.3em; }
.tekstside li { margin: .3em 0; }

/* Video */
.video { width: 100%; border-radius: var(--radius); box-shadow: var(--skygge); background: #000; }

/* ---------- Formularer ---------- */

.formular { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.formular .fuld { grid-column: 1 / -1; }
.formular label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--moerkeblaa); }
.formular input, .formular textarea {
  width: 100%; font: inherit; color: inherit;
  padding: 12px 14px; border: 1px solid #cfc8bc; border-radius: 10px; background: #fff;
}
.formular input:focus, .formular textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(237, 112, 29, .2); }
.formular textarea { min-height: 150px; resize: vertical; }
.formular__taeller { font-size: .8rem; color: var(--tekst-lys); text-align: right; margin-top: 4px; }
.formular__note { font-size: .85rem; color: var(--tekst-lys); }
.formular__faelde { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formular__status { margin: 0; font-weight: 700; }
.formular__status:empty { display: none; }
.formular__status.er-ok { color: #1d7a3e; }
.formular__status.er-fejl { color: #b3261e; }
.formular button:disabled { opacity: .6; cursor: wait; }
@media (max-width: 600px) { .formular { grid-template-columns: 1fr; } }

.kort { background: #fff; border-radius: var(--radius); box-shadow: var(--skygge); padding: clamp(24px, 4vw, 40px); }

/* ---------- EasyMe-widgets ----------
   EasyMe styrer farver via CSS-variabler; dem overskriver vi her,
   og så finjusterer vi listen over arrangementer. */

.easyme, .easyme *, #ezme-w, #ezme-w * {
  --ezme-background-primary: var(--orange);
  --ezme-background-primary-dark: #d65f10;
  --ezme-background-primary-light: var(--orange-lys);
  --ezme-border-primary: var(--orange);
  --ezme-border-primary-dark: var(--orange);
  --ezme-border-primary-light: var(--orange-lys);
  --ezme-ring-primary: var(--orange);
  --ezme-ring-primary-dark: var(--orange);
  --ezme-ring-primary-light: var(--orange-lys);
  --ezme-color-text-primary: var(--blaa);
  --ezme-color-text-primary-dark: var(--moerkeblaa);
  --ezme-color-text-primary-light: var(--blaa);
}
.easyme { color: var(--tekst); text-align: left; }
.easyme .ezme, .easyme .ezme * { font-family: "Nunito", system-ui, sans-serif !important; }

/* Listen */
.easyme .ezme > ol { background: transparent !important; padding: 0 !important; margin: 0; list-style: none; }
.easyme .ezme > ol > li { margin-bottom: 14px !important; }
.easyme .ezme > ol > li:last-child { margin-bottom: 0 !important; }

/* Kortet */
.easyme .ezme li > div {
  background: #fff !important; border: 2px solid transparent !important;
  border-radius: 18px !important; box-shadow: 0 6px 24px rgba(13, 31, 71, .08) !important;
}
.easyme .ezme li > div.ezme-border-primary { border-color: var(--orange) !important; }
.easyme .ezme li > div > button {
  background: transparent !important; padding: 20px 52px 20px 24px !important;
  border-bottom: 1px solid transparent !important; cursor: pointer;
}
.easyme .ezme li > div > button:hover { background: var(--sand) !important; }
.easyme .ezme li > div > button.ezme-border-gray-200 { background: var(--sand) !important; border-bottom-color: var(--linje) !important; }
.easyme .ezme li > div > button:focus-visible { outline: 3px solid var(--orange-lys) !important; outline-offset: -3px; }
.easyme .ezme li > div > button > span:first-child { color: var(--orange); width: 48px !important; }
.easyme .ezme li > div > button > span:first-child svg { width: 22px; height: 22px; }

/* Titel, sted og dato */
.easyme .ezme h2 { color: var(--moerkeblaa) !important; font-size: 1.15rem !important; font-weight: 800 !important; line-height: 1.3; margin: 0 0 4px; }
.easyme .ezme .ezme-text-gray-500 { color: var(--tekst-lys) !important; font-size: .95rem !important; font-weight: 600; }
.easyme .ezme button .ezme-text-gray-500 svg { color: var(--orange); fill: currentColor; margin-right: 6px; }
.easyme .ezme .ezme-rounded-full {
  background: #e3f4e8 !important; color: #1d6b3a !important;
  padding: 2px 12px !important; font-size: .78rem !important; font-weight: 800 !important;
}
.easyme .ezme .ezme-bg-red-100, .easyme .ezme .ezme-bg-yellow-100 { background: #fde8d9 !important; color: #a4470a !important; }

.easyme .ezme button, .easyme .ezme button * { text-align: left; }
.easyme .ezme button .ezme-text-gray-500 svg { flex: none; }
@media (max-width: 600px) {
  .easyme .ezme li > div > button { padding: 16px 44px 16px 18px !important; }
  .easyme .ezme h2 { font-size: 1.05rem !important; }
}

/* Udfoldet indhold */
.easyme .ezme .ezme-bg-default { background: #fff !important; }
.easyme .ezme dl { border-color: var(--linje) !important; margin: 0; }
.easyme .ezme dt { color: var(--moerkeblaa) !important; font-weight: 800 !important; }
.easyme .ezme dd { margin: 0; }
.easyme .ezme .ezme-exp-html { color: var(--tekst) !important; font-size: 1rem !important; line-height: 1.65 !important; }
.easyme .ezme .ezme-exp-html h4 { color: var(--moerkeblaa); font-size: 1.05rem; font-weight: 800; }
.easyme .ezme .ezme-exp-html a { color: var(--orange); font-weight: 700; }
.easyme .ezme .ezme-map { border-radius: 14px !important; background: var(--sand) !important; }

/* Tilmeld-knap */
.easyme .ezme a.ezme-book, .easyme .ezme a.ezme-waitlist {
  background: var(--orange) !important; border: 0 !important; border-radius: 999px !important;
  color: #fff !important; font-weight: 800 !important; font-size: 1rem !important;
  padding: 14px 28px !important; text-decoration: none; box-shadow: none !important;
  transition: background-color .2s;
}
.easyme .ezme a.ezme-book:hover, .easyme .ezme a.ezme-waitlist:hover { background: #d65f10 !important; }

/* Tilmeldings- og betalingsvinduet (åbner som pop op) */
#ezme-w.ezme-w, #ezme-w.ezme-w * { font-family: "Nunito", system-ui, sans-serif !important; }
#ezme-w.ezme-w .ezme-section-title { color: var(--moerkeblaa) !important; font-weight: 800 !important; }
#ezme-w.ezme-w a:not(.ezme-branding) { color: var(--orange) !important; font-weight: 700; }
#ezme-w.ezme-w .ezme-form-control { border-radius: 12px !important; border-color: var(--linje) !important; }
#ezme-w.ezme-w .ezme-form-control:focus { border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(237, 112, 29, .25) !important; }
#ezme-w.ezme-w .ezme-btn-primary {
  background-color: var(--orange) !important; border-color: var(--orange) !important; color: #fff !important;
  border-radius: 999px !important; font-weight: 800 !important;
}
#ezme-w.ezme-w .ezme-btn-primary:hover, #ezme-w.ezme-w .ezme-btn-primary:active { background-color: #d65f10 !important; border-color: #d65f10 !important; }
#ezme-w.ezme-w .ezme-btn-primary:focus { box-shadow: 0 0 0 3px rgba(237, 112, 29, .4) !important; }
#ezme-w.ezme-w .ezme-btn-light { border-radius: 999px !important; font-weight: 700 !important; }
#ezme-w.ezme-w .ezme-custom-control-input:checked ~ .ezme-custom-control-label::before { background-color: var(--orange) !important; border-color: var(--orange) !important; }

/* Indlæsning */
.easyme .ezme-loader { color: var(--tekst); font-family: "Nunito", system-ui, sans-serif; }
.sektion--blaa .easyme .ezme-loader, .sektion--blaa .easyme .ezme-loader a { color: #fff; }

/* ---------- Footer ---------- */

.site-footer { background: var(--gradient-blaa); color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange-lys); }
.site-footer__top {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
  padding: 56px 0;
}
.site-footer__logo img { width: 200px; }
.site-footer h2 { color: #fff; font-size: 1.6rem; }
.site-footer__kontakt a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.site-footer__kontakt .icon { color: var(--orange); }
.site-footer__knapper { display: flex; flex-direction: column; gap: 12px; }
.site-footer__bund { background: var(--moerkeblaa); text-align: center; padding: 18px 0; font-size: .85rem; }
.site-footer__bund p { margin: 0; }
@media (max-width: 760px) {
  .site-footer__top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- Cookies ---------- */

.cookiebanner {
  position: fixed; inset: auto 16px 16px 16px; z-index: 200;
  max-width: 980px; margin-inline: auto;
  background: var(--moerkeblaa); color: #fff;
  border-radius: 18px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
  padding: 22px 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px;
  font-size: .92rem;
}
.cookiebanner__tekst { flex: 1 1 380px; }
.cookiebanner h2 { color: #fff; font-size: 1.15rem; margin-bottom: .3em; }
.cookiebanner p { margin: 0; }
.cookiebanner a { color: var(--orange-lys); }
.cookiebanner__knapper { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) {
  .cookiebanner { inset: auto 8px 8px 8px; padding: 18px; }
  .cookiebanner__knapper { width: 100%; }
  .cookiebanner__knapper .btn { flex: 1 1 auto; }
}

.cookiedialog {
  width: min(100% - 32px, 560px); max-height: calc(100vh - 32px);
  border: 0; border-radius: 20px; padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  color: var(--tekst); font-size: .95rem;
}
.cookiedialog::backdrop { background: rgba(13, 31, 71, .6); }
.cookiedialog__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cookiedialog__top h2 { margin: 0; font-size: 1.4rem; }
.cookiedialog__luk { background: none; border: 0; font-size: 1.4rem; color: var(--moerkeblaa); cursor: pointer; padding: 4px; }
.cookiedialog__kategori { border-top: 1px solid var(--linje); padding: 14px 0 4px; }
.cookiedialog__kategori p { margin: 6px 0 8px; color: var(--tekst-lys); font-size: .9rem; }
.cookiedialog__kategori small { color: var(--tekst-lys); font-weight: 600; }
.cookiedialog__knapper { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--linje); padding-top: 18px; }

/* Kontakt (tænd/sluk) */
.kontakt { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; color: var(--moerkeblaa); }
.kontakt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kontakt__spor {
  position: relative; flex: none; width: 46px; height: 26px; border-radius: 13px;
  background: #cfc8bc; transition: background-color .2s;
}
.kontakt__spor::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s;
}
.kontakt input:checked + .kontakt__spor { background: var(--orange); }
.kontakt input:checked + .kontakt__spor::after { transform: translateX(20px); }
.kontakt input:disabled + .kontakt__spor { opacity: .55; }
.kontakt input:focus-visible + .kontakt__spor { outline: 3px solid rgba(237, 112, 29, .4); outline-offset: 2px; }
