/* kilooproperties.com – replaces the Wix page styles. Layout notes in tools/build.mjs. */
@font-face { font-family: 'Brandon'; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/brandon-regular.woff2) format('woff2'); }
@font-face { font-family: 'Brandon'; font-weight: 500; font-style: normal; font-display: swap; src: url(/fonts/brandon-medium.woff2) format('woff2'); }
@font-face { font-family: 'Spinnaker'; font-weight: 400; font-display: swap; src: url(/fonts/spinnaker-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spinnaker'; font-weight: 400; font-display: swap; src: url(/fonts/spinnaker-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-weight: 400; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #000; --warm: #4d4b42; --grey: #93928c; --green: #1b382c; --sage: #9db39f;
  --cream: #faf8f2; --foot: #f5f3e9; --paper: #fff; --ivory: #f9f9f1;
  --brandon: 'Brandon', 'Futura', 'Century Gothic', 'Avenir Next', sans-serif;
  --spinnaker: 'Spinnaker', 'Avenir Next', sans-serif;
  --mont: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --helv: Helvetica, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--brandon); -webkit-font-smoothing: antialiased; }
h1, h2, p, ul { margin: 0; padding: 0; font-weight: 400; }
a { color: inherit; }
a.plain { text-decoration: none; }
img { display: block; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }

/* ---------- desktop stage: same coordinates as the Wix page ---------- */
.hdr { position: relative; z-index: 50; height: 186px; }
.hdr-in { position: relative; width: 980px; height: 186px; margin: 0 auto; }
.logo { position: absolute; left: 1px; top: 97px; }
.logo img { width: 120px; height: 83px; }
.stage { position: relative; width: 980px; margin: -186px auto 0; height: var(--sh); }
.a { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: var(--h); }

/* forside */
.home-h { font: 28px/38.5px var(--mont); color: var(--warm); }
.home-h2 { font-size: 25px; line-height: 34.375px; }
.home-p { font: 15px/26.25px var(--helv); color: var(--warm); }
.hs-bg { background: var(--cream); }
.hs-img img, .th img { width: 100%; height: 100%; object-fit: cover; }
.hs-txt h2 { font: 25px/33.5px var(--mont); }
.hs-p { font: 15px/26.25px var(--brandon); }

/* page titles */
.ptitle { font: 56px/72px var(--spinnaker); text-align: center; }
.ptitle.grey { color: var(--grey); }
.bar { border-top: 3px solid var(--ink); box-sizing: border-box; }

/* ejendomme: cards */
.ec-img { position: absolute; left: 0; top: 0; width: 505px; height: var(--ih); }
.ec-img img { width: 100%; height: 100%; object-fit: cover; }
.ec-panel { position: absolute; left: 0; top: var(--ih); width: 505px; height: 331px; background: var(--green); color: #fff; }
.ec-h { font: 26px/32.5px var(--spinnaker); text-align: center; }
.ec-f { font: 18px/31.5px var(--brandon); }
.ec-p { font: 17px/29.75px var(--brandon); color: var(--ivory); }
.badge { position: absolute; z-index: 2; right: 13px; bottom: -17px; width: var(--bw); height: 34px; background: #fff; border-radius: 7px;
  font: 14px/34px var(--brandon); text-align: center; color: var(--ink); white-space: nowrap; }

/* kontakt */
.k-p { font: 16px/28.8px var(--spinnaker); text-align: center; }
.strip-l { font: 20px/26.8px var(--spinnaker); }
.strip-v { font: 16px/28px var(--brandon); }
.ic svg { width: 100%; height: 100%; fill: var(--ink); display: block; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* detail pages */
.show { overflow: hidden; background: #645a84; }
.show ul { list-style: none; }
.show li { position: absolute; inset: 0; visibility: hidden; }
.show li.on, .show li.in { visibility: visible; }
.show li.anim { transition: transform 1s cubic-bezier(.77, 0, .18, 1); }
.show li img { width: 100%; height: 100%; object-fit: cover; }
.show .nav { position: absolute; z-index: 2; top: 207px; width: 21px; height: 41px; padding: 0; border: 0; background: none; cursor: pointer; }
.show .nav svg { width: 100%; height: 100%; fill: #fff; display: block; filter: drop-shadow(0 0 1px rgba(0, 0, 0, .35)); }
.show .prev { left: 19px; }
.show .next { right: 19px; transform: scaleX(-1); }
.show .dots { position: absolute; z-index: 2; left: 0; right: 0; top: 418px; display: flex; justify-content: center; align-items: center; }
.show .dots button { position: relative; width: 23px; height: 11px; padding: 0; border: 0; background: none; cursor: pointer; }
.show .dots button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #fff; }
.show .dots button[aria-current]{ width: 27px; }
.show .dots button[aria-current]::after { width: 9px; height: 9px; margin: -5.5px 0 0 -5.5px; background: none; border: 1px solid #fff; }
.d-h { font: 56px/72px var(--spinnaker); }
.d-sub { font: 500 20px/29px var(--brandon); }
.d-body { font: 18px/32.4px var(--brandon); }
.d-body.tight { line-height: 31.5px; }
.d-body.big p { line-height: 31.5px; }
.d-body.big p.lg { font-size: 20px; line-height: 36px; }
.cta { font-weight: 500; }
.cta.b { font-weight: 700; }
.fact { background: var(--green); border-radius: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .6); color: #fff; }
.fact-h { font: 500 33px/48px var(--brandon); text-align: center; }
.fact-line { border-top: 1px solid #fff; box-sizing: border-box; }
.fact-k, .fact-v { font: 500 18px/32.4px var(--brandon); }
.fact-v { text-align: right; }
.fact-v p.big { font-size: 20px; line-height: 36px; }
.fact-m { display: none; }
.d-int { font: 500 20px/29px var(--brandon); text-align: center; }

/* footer */
.foot { background: var(--foot); height: 185px; }
.foot-in { padding-top: 30px; font: 12px/22.5px var(--mont); text-align: center; }
.foot a { text-decoration: none; }
.foot .hv { font-family: var(--helv); color: var(--warm); }

/* ---------- Venteliste button: under each apartment property on the front page + under the Kontakt e-mail ---------- */
.wl-btn { display: inline-block; height: 42px; padding: 0 22px; border-radius: 7px; background: var(--green); color: #fff;
  font: 500 17px/42px var(--brandon); letter-spacing: .02em; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.wl-btn:hover { background: #24493a; }

/* ---------- text pages (privatlivspolitik): normal flow on all widths ---------- */
.prose { max-width: 680px; margin: 0 auto; padding: 8px 16px 72px; font: 17px/1.7 var(--brandon); }
.prose h1 { font: 56px/72px var(--spinnaker); text-align: center; margin-bottom: 8px; }
.prose h2 { font: 500 22px/1.4 var(--brandon); margin: 36px 0 8px; }
.prose p, .prose ul { margin: 0 0 12px; }
.prose ul { padding-left: 22px; }
.prose .upd { text-align: center; color: var(--grey); margin-bottom: 32px; }
.prose .lead { text-align: center; max-width: 560px; margin: 0 auto 14px; }
.wl-form { margin-top: 36px; }
.wl-g { background: var(--cream); border-radius: 10px; padding: 24px 26px 10px; margin-bottom: 22px; }
.wl-g h2 { margin: 0 0 14px; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.wl-f { grid-column: 1 / -1; margin: 0 0 18px; min-width: 0; }
.wl-f.half { grid-column: auto; }
.wl-f > label:not(.wl-opt), .wl-f legend { display: block; font-weight: 500; margin-bottom: 6px; line-height: 1.4; }
fieldset.wl-f { border: 0; padding: 0; }
.wl-f legend { padding: 0; }
.wl-f input:not([type=checkbox]):not([type=radio]), .wl-f textarea { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #c9c6b8;
  border-radius: 6px; background: #fff; font: 17px/1.4 var(--brandon); color: var(--ink); }
.wl-f textarea { resize: vertical; min-height: 120px; }
.wl-f input:focus, .wl-f textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; border-color: var(--sage); }
.wl-f small { display: block; margin-top: 4px; color: var(--warm); font-size: 15px; line-height: 1.45; }
.wl-opts { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.wl-opts legend { width: 100%; }
.wl-opts small { width: 100%; }
.wl-opt { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.4; }
.wl-opts .wl-opt { padding: 8px 14px; background: #fff; border: 1px solid #c9c6b8; border-radius: 22px; }
.wl-opts .wl-opt:has(input:checked) { border-color: var(--green); background: #eef3ee; }
.wl-opt input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--green); flex: none; }
.wl-consent { margin: 8px 0 6px; }
.wl-note { color: var(--warm); font-size: 15px; }
.req { color: #a03a2a; }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl-submit { display: block; width: 100%; margin-top: 18px; padding: 14px 20px; border: 0; border-radius: 8px; background: var(--green); color: #fff;
  font: 500 19px/1.3 var(--brandon); cursor: pointer; }
.wl-submit:hover { background: #24493a; }

/* ---------- narrower than the stage incl. the ejendomme cards (-41..1009px): normal flow ---------- */
@media (max-width: 1079px) {
  .prose h1 { font-size: clamp(30px, 9vw, 44px); line-height: 1.25; }
  .hs-wl { padding: 0 20px 26px; background: var(--cream); }
  .home-wl { padding: 0; margin-top: 22px; background: none; }
  .wl-g { padding: 20px 16px 6px; }
  .wl-grid { grid-template-columns: 1fr; }
  .hdr { position: static; height: auto; }
  .hdr-in { width: auto; height: auto; padding: 28px 16px 24px; }
  .logo { position: static; display: inline-block; }
  .logo img { width: 96px; height: auto; }
  .stage { width: auto; height: auto; margin: 0; padding: 0 16px 48px; }
  .a { position: static; left: auto; top: auto; width: auto; height: auto; }

  .home-h { font-size: 24px; line-height: 1.35; margin-bottom: 10px; }
  .home-h2 { margin-top: 48px; margin-bottom: 8px; font-size: 22px; }
  .hs { margin-top: 40px; background: var(--cream); }
  .hs-bg { display: none; }
  .hs-img img { height: auto; aspect-ratio: 489 / 405; }
  .hs-txt { padding: 22px 20px 8px; }
  .hs-txt h2 { font-size: 22px; line-height: 1.35; }
  .hs-p { padding: 0 20px 24px; }
  /* Wix forced line breaks mid-sentence; on a narrow screen let the text run on */
  .hs-p p { display: inline; }
  .hs-p p + p::before { content: ' '; }
  .ec-p br { display: none; }
  .hs-th { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 8px; background: var(--paper); }
  .th img { height: auto; aspect-ratio: 291 / 173; }

  .ptitle { font-size: clamp(24px, 8.2vw, 36px); line-height: 1.25; overflow-wrap: anywhere; } /* "Udlejningsejendomme" must fit 320px */
  .bar { width: 30px; margin: 14px auto 32px; }

  .ec { position: relative; max-width: 505px; margin: 0 auto 40px; }
  .ec-img { position: relative; width: auto; height: auto; }
  .ec-img img { height: auto; aspect-ratio: 505 / 293; }
  .ec-panel { position: static; width: auto; height: auto; padding: 28px 20px 26px; }
  .ec-h { font-size: 23px; margin-bottom: 14px; }
  .ec-f { font-size: 17px; line-height: 29px; margin-bottom: 14px; }
  .ec-p { font-size: 16px; line-height: 27px; }


  .k-p { font-size: 15px; line-height: 1.7; margin-bottom: 28px; }
  .strip { display: grid; grid-template-columns: 23px auto; gap: 0 12px; width: max-content; max-width: 100%; margin: 0 auto; }
  .strip .ic { grid-row: span 2; align-self: center; height: 23px; }
  .strip .ic-mail { margin-top: 18px; height: 15px; }
  .strip .ic-mail ~ .strip-l { margin-top: 18px; }
  .map { height: 320px; margin-top: 32px; }

  .show { position: relative; height: auto; aspect-ratio: 980 / 456; margin: 0 -16px; }
  .show .nav { top: 50%; margin-top: -16px; width: 16px; height: 32px; }
  .show .prev { left: 12px; }
  .show .next { right: 12px; }
  .show .dots { top: auto; bottom: 8px; }
  .d-h { font-size: 34px; line-height: 1.25; margin-top: 24px; }
  .d-sub { font-size: 18px; line-height: 1.45; margin: 12px 0 18px; }
  .d-body { font-size: 17px; line-height: 1.75; }
  .d-body.big p.lg { font-size: 18px; line-height: 1.75; }
  .fact { position: relative; margin: 32px 0 8px; padding: 18px 22px 22px; }
  .fact-line { margin: 10px 30px 16px; }
  .fact-rows { display: none; }
  .fact-m { display: grid; grid-template-columns: auto auto; gap: 6px 16px; margin: 0; font: 500 16px/1.45 var(--brandon); }
  .fact-m dt { margin: 0; }
  .fact-m dd { margin: 0; text-align: right; }
  .fact-h { font-size: 28px; line-height: 1.4; }
  .d-int { font-size: 18px; margin: 44px 0 22px; }

  .foot { height: auto; padding-bottom: 32px; }
  .foot-in { padding: 24px 16px 0; }
}
