/* =========================================================
   kontor-leje.dk – forside (skabelon «Kontor-leje – Forside»)
   Mørk stil: walnut #100904 · cream #ffedd7 · cork #40372e · ember #dc5000
   ========================================================= */
body.kl-home { --kl-cream: #ffedd7; --kl-walnut: #100904; --kl-bark: #382416; --kl-cork: #40372e; --kl-drift: #6c5f51; --kl-ember: #dc5000;
  --kl-sans: Inter, "Helvetica Neue", Arial, sans-serif; background: var(--kl-walnut); color: var(--kl-cream); overflow-x: clip; }
body.kl-home #outer-wrap, body.kl-home #wrap, body.kl-home #main { background: var(--kl-walnut); }

/* OceanWP top-bar, header og footer i samme mørke farver (kun forsiden) */
body.kl-home #top-bar-wrap, body.kl-home #site-header, body.kl-home #site-header-inner { background: var(--kl-walnut) !important; border-color: var(--kl-cork) !important; }
body.kl-home #top-bar-wrap, body.kl-home #top-bar-wrap a { color: var(--kl-cream) !important; }
body.kl-home #site-header { border-bottom: 1px dashed var(--kl-cork) !important; box-shadow: none !important; }
body.kl-home #site-logo a, body.kl-home #site-logo #site-logo-inner a, body.kl-home #site-navigation-wrap .dropdown-menu > li > a,
body.kl-home .oceanwp-mobile-menu-icon a { color: var(--kl-cream) !important; font-family: var(--kl-sans); text-transform: uppercase; letter-spacing: .02em; }
body.kl-home #site-navigation-wrap .dropdown-menu > li > a:hover, body.kl-home #site-navigation-wrap .dropdown-menu > li.current-menu-item > a { color: var(--kl-ember) !important; }
body.kl-home .dropdown-menu .sub-menu { background: var(--kl-bark) !important; border-color: var(--kl-cork) !important; }
body.kl-home .dropdown-menu .sub-menu a { color: var(--kl-cream) !important; }
body.kl-home #footer, body.kl-home #footer-widgets, body.kl-home #footer-bottom { background: var(--kl-walnut) !important; color: var(--kl-cream) !important; border-top: 1px dashed var(--kl-cork); }
body.kl-home #footer a, body.kl-home #footer-bottom a { color: var(--kl-cream) !important; }

/* Grundtypografi */
.kl-root { font-family: var(--kl-sans); color: var(--kl-cream); }
.kl-root a { color: var(--kl-cream); }
.kl-root h1, .kl-root h2, .kl-root h3 { color: var(--kl-cream); font-family: var(--kl-sans); text-transform: uppercase; font-weight: 500; letter-spacing: 0; }
.kl-root p { margin: 0; }
.kl-tag, .kl-cap, .kl-side, .kl-h, .kl-forms strong, .kl-list, .kl-faq summary, .kl-more a, .kl-root .wp-block-button__link { text-transform: uppercase; font-weight: 500; }
.kl-root a:focus-visible, .kl-root summary:focus-visible { outline: 2px solid var(--kl-cream); outline-offset: 3px; }

/* Knapper */
.kl-root .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 26px; }
.kl-root .wp-block-button__link { background: none; color: var(--kl-cream); border-radius: 0; padding: 0; font-size: 12px; white-space: nowrap; }
.kl-root .kl-ghost .wp-block-button__link { border: 1px solid var(--kl-cream); border-radius: 22.5px; padding: 7.5px 18px; text-decoration: none; transition: background-color .2s, color .2s; }
.kl-root .kl-ghost .wp-block-button__link:hover { background: var(--kl-cream); color: var(--kl-walnut); }
.kl-root .kl-ulink .wp-block-button__link { text-decoration: underline; text-underline-offset: 4px; }
.kl-root .kl-pill .wp-block-button__link { background: var(--kl-bark); border-radius: 36px; padding: 14px 24px; font-size: 13px; text-decoration: none; transition: background-color .2s; }
.kl-root .kl-pill .wp-block-button__link:hover { background: var(--kl-ember); }

/* HERO */
.kl-hero { position: relative; min-height: calc(100vh - 74px); min-height: calc(100svh - 74px); padding: 64px 3vw 3vw; background: var(--kl-walnut) url("kl-hero.webp") 50% 60% / cover no-repeat; overflow: hidden; isolation: isolate; }
.kl-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,9,4,.78) 0%, rgba(16,9,4,.25) 38%, rgba(16,9,4,.35) 62%, rgba(16,9,4,.9) 100%); }
.kl-tag { font-size: 13px; margin: 0 0 14px !important; }
.kl-hero h1 { font-size: clamp(34px, 3.6vw, 51px); line-height: .9; margin: 0; max-width: 17ch; }
.kl-side { position: absolute; top: 50%; right: calc(3vw - 64px); transform: translateY(-50%) rotate(90deg); font-size: 11px; white-space: nowrap; }
.kl-info { position: absolute; left: 3vw; bottom: 3vw; width: min(420px, 44vw); border-radius: 12px; background: rgba(255,237,215,.07); border: 1px solid rgba(255,237,215,.16); padding: 24px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kl-info .kl-h { font-size: 13px; line-height: 1.15; padding-bottom: 14px; border-bottom: 1px dashed var(--kl-cork); }
.kl-info p:not(.kl-h) { font-size: 15px; line-height: 1.4; margin-top: 14px; }
.kl-vid { position: absolute; right: 3vw; bottom: 3vw; }
.kl-vid a { display: flex; flex-direction: column; justify-content: space-between; width: 200px; height: 122px; padding: 14px; border-radius: 12px; border: 1px solid rgba(255,237,215,.2); background: var(--kl-bark); font-size: 11px; text-transform: uppercase; font-weight: 500; text-decoration: none; }
.kl-vid a::after { content: "→"; align-self: flex-end; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--kl-cream); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: background-color .2s, color .2s; }
.kl-vid a:hover::after { background: var(--kl-cream); color: var(--kl-walnut); }

/* SCENE med svævende ø (øen sættes ind af kl-home.js) */
.kl-stage { position: relative; border-top: 1px dashed var(--kl-cork); }
.kl-stage-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.kl-stick { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; perspective: 1400px; }
.kl-isl { position: relative; width: min(32vw, 500px); will-change: transform; transform-style: preserve-3d; }
.kl-isl img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 28px rgba(255,214,150,.16)); }
.kl-glow { position: absolute; left: 12%; right: 12%; top: 20%; height: 50%; background: radial-gradient(closest-side, rgba(255,196,120,.22), rgba(255,196,120,0)); filter: blur(10px); z-index: -1; }
.kl-shadow { position: absolute; left: 22%; right: 22%; bottom: -11%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.65), rgba(0,0,0,0)); }
.kl-panel { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr); gap: 18px; align-items: center; padding: 96px 3vw; scroll-margin-top: 80px; }
.kl-panel .kl-l { grid-column: 1; }
.kl-panel .kl-r { grid-column: 3; }
.kl-cap { font-size: 12px; margin: 0 0 14px !important; opacity: .8; }
.kl-panel h2 { font-size: clamp(26px, 2.6vw, 41px); line-height: .9; margin: 0; }
.kl-body { font-size: clamp(18px, 1.65vw, 29px); line-height: 1.26; margin-top: 18px !important; }
.kl-forms p { padding: 14px 0; border-top: 1px dashed var(--kl-cork); font-size: 16px; line-height: 1.42; }
.kl-forms p:last-child { border-bottom: 1px dashed var(--kl-cork); }
.kl-forms strong { display: block; font-size: 13px; margin-bottom: 6px; }
.kl-list { list-style: none; margin: 0; padding: 0; }
.kl-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--kl-cork); }
.kl-list li:last-child { border-bottom: 1px dashed var(--kl-cork); }
.kl-list a { font-size: 15px; text-underline-offset: 4px; }
.kl-list a:hover { color: var(--kl-ember); }
.kl-list small { display: block; font-size: 11px; opacity: .65; margin-top: 5px; }
.kl-list b { font-weight: 500; font-size: 22px; }
.kl-faq details { border-top: 1px dashed var(--kl-cork); padding: 14px 0; margin: 0; }
.kl-faq details:last-of-type { border-bottom: 1px dashed var(--kl-cork); }
.kl-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.kl-faq summary::-webkit-details-marker { display: none; }
.kl-faq summary::after { content: "+"; font-size: 17px; line-height: 1; }
.kl-faq details[open] summary::after { content: "\2212"; }
.kl-faq details p { font-size: 16px; line-height: 1.45; margin-top: 10px; }

/* BYER */
.kl-towns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 48px; padding: 96px 3vw; border-top: 1px dashed var(--kl-cork); }
.kl-towns > div { border-top: 1px dashed var(--kl-cork); padding: 20px 0; }
.kl-towns h3 { font-size: 18px; line-height: 1; margin: 0 0 12px; }
.kl-towns p { font-size: 16px; line-height: 1.5; margin: 0 0 12px; max-width: 62ch; }
.kl-more a { font-size: 12px; text-underline-offset: 4px; }

/* CTA */
.kl-cta { padding: 120px 3vw; border-top: 1px dashed var(--kl-cork); }
.kl-cta h2 { font-size: clamp(36px, 4vw, 51px); line-height: .9; margin: 0 0 30px; max-width: 14ch; }

/* Mobil */
@media (max-width: 900px) {
  .kl-hero { min-height: auto; padding: 48px 6vw 24px; }
  .kl-side { display: none; }
  .kl-info, .kl-vid { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin-top: 28px; }
  .kl-vid a { width: auto; height: 96px; }
  .kl-stick { position: relative; height: auto; padding: 48px 0 0; }
  .kl-stage-bg { position: relative; }
  .kl-isl { width: min(86vw, 520px); }
  .kl-panel { min-height: auto; grid-template-columns: 1fr; padding: 48px 6vw; }
  .kl-panel .kl-l, .kl-panel .kl-r { grid-column: 1; }
  .kl-towns { grid-template-columns: 1fr; padding: 64px 6vw; }
  .kl-cta { padding: 80px 6vw; }
}
@media (prefers-reduced-motion: reduce) { .kl-isl { transform: none !important; } }
.dropdown-menu ul li a.menu-link:hover {
    background-color: #886e6e;
    color: #555;
}