/* Østergade 46 - Bolio tema (navy + guld som bolio.dk) */

:root {
  --navy: #262833;
  --navy-soft: #33364a;
  --gold: #d9b961;
  --gold-dark: #c6a648;
  --paper: #ffffff;
  --paper-alt: #f5f3ee;
  --ink: #2c2e38;
  --grey: #6b6d78;
  --line: #e4e2dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
}

h1, h2, h3 { font-family: 'Lora', Georgia, serif; line-height: 1.2; font-weight: 600; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin: 2.5rem 0 1rem; }

img { display: block; max-width: 100%; }
a { color: var(--navy); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.eyebrow-gold { color: var(--gold); }

.tag {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 6px 14px;
  margin-bottom: 1rem;
}

/* Knapper i Bolio-stil: guld, uppercase, chevron */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 28px;
  border: 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--gold-dark); }
.btn .chev { font-size: 1.1rem; margin-left: 10px; }
.btn-wide { width: 100%; text-align: center; }
.hero-btns { display: flex; gap: 10px; flex-wrap: nowrap; align-items: stretch; }
.hero-btns .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 18px;
  font-size: 0.8rem;
  white-space: nowrap;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.btn-ghost:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.center-cta { margin-top: 3rem; }

/* Header - menu 1:1 som bolio.dk */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.logo-box {
  width: 135px;
  height: 87px;
  background: linear-gradient(172deg, #262833, #373a4d);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo-box img { width: 105px; height: auto; }
.main-nav {
  display: flex;
  gap: 4px;
  padding-top: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 40px;
  font-family: 'Be Vietnam Pro', 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: linear-gradient(172deg, #262833, #373a4d);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.main-nav a:hover {
  background: linear-gradient(172deg, #edc661, #f6d684);
  color: #262833;
}
.nav-cta {
  background: linear-gradient(172deg, #edc661, #f6d684) !important;
  color: #262833 !important;
}
.nav-cta:hover { background: linear-gradient(172deg, #e3ba50, #f0cd76) !important; }

.nav-toggle {
  display: none;
  background: linear-gradient(172deg, #262833, #373a4d);
  border: 0;
  cursor: pointer;
  padding: 10px 12px;
  margin-top: 10px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap { position: relative; width: 100%; }
.hero-box {
  background: rgba(38, 40, 51, 0.88);
  color: #fff;
  max-width: 560px;
  padding: 40px 42px 44px;
  margin: 130px 0 70px;
}
.hero-box h1 { color: #fff; margin-bottom: 0.75rem; }
.hero-box .tag { background: var(--gold); color: var(--navy); }
.hero-sub { font-size: 1.02rem; margin-bottom: 1.75rem; }

/* Facts bar */
.facts { background: var(--navy); color: #fff; border-top: 1px solid var(--navy-soft); }
.facts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 26px;
  padding-bottom: 26px;
  text-align: center;
}
.fact strong {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold);
}
.fact span { font-size: 0.82rem; opacity: 0.85; }

/* Sektioner */
.section { padding: 85px 0; }
.section-alt { background: var(--paper-alt); }
.section-navy { background: var(--navy); }
.section-navy h2 { color: #fff; }
.section-navy p { color: #d8d9e0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-text p { margin-bottom: 1rem; }
.split-text .btn { margin-top: 0.75rem; }
.split-img img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; }
.split-reverse .split-text { order: 2; }
.split-reverse .split-img { order: 1; }

.center-head { margin: 0 0 1rem; text-align: left; }
.center-head p { margin-bottom: 1rem; }
.center-head .btn { margin-top: 0.75rem; }
.note { font-size: 0.9rem; color: var(--grey); font-style: italic; }

/* Boligtype-kort */
.type-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.5rem;
}
.type-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
}
.type-card h3 { margin: 0 0 0.2rem; }
.type-count {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.type-size {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.type-card p { font-size: 0.92rem; }
.type-link {
  margin-top: auto;
  padding-top: 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
.type-link:hover { color: var(--gold-dark); }
.card-links { margin-top: auto; padding-top: 1.25rem; display: flex; gap: 26px; }
.card-links .type-link { margin-top: 0; padding-top: 0; }
.type-link-gold { color: var(--gold-dark); }
.type-link-gold:hover { color: var(--navy); }

/* Introtekst under boligtype-overskrifter i galleriet */
.type-intro { margin: -0.25rem 0 1.25rem; font-size: 0.95rem; }

/* Erhvervslejemål-kort */
.biz-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 2.5rem;
}
.section-erhverv { background: var(--paper-alt); border-top: 4px solid var(--gold); }
.biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
}
.biz-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.biz-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #eceae3, #eceae3 12px, #f5f3ee 12px, #f5f3ee 24px);
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 500;
}
.biz-body { padding: 24px 26px 28px; }
.biz-body h3 { margin: 0.2rem 0 0.6rem; font-size: 1.15rem; }
.biz-body p { font-size: 0.92rem; }
.biz-body .type-count { margin-bottom: 0; }

/* Kort (beliggenhed) */
.split-map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 21, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 86vw; max-height: 86vh; box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6); }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 3rem;
  line-height: 1;
  padding: 12px 18px;
  opacity: 0.8;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: 1; color: var(--gold); }
.lb-close { top: 18px; right: 22px; font-size: 1.6rem; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Galleri */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery a { overflow: hidden; }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery a:hover img { transform: scale(1.04); }

/* Formular */
.form-wrap { }
.signup-form { margin-top: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.signup-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 18px;
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form select,
.signup-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid #cfcdc5;
  background: #fff;
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 300 !important; font-size: 0.82rem !important; color: var(--grey) !important; }
.consent input { margin-top: 4px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.form-msg { display: none; margin-top: 2rem; padding: 16px 20px; font-weight: 500; font-size: 0.92rem; }
.form-msg-ok { background: #e7efe4; color: #22491f; border-left: 4px solid #4c7a45; }
.form-msg-fail { background: #f7e5e0; color: #7c2c18; border-left: 4px solid #b0492c; }

/* Footer i Bolio-stil: navy med guld */
.site-footer { background: var(--navy); color: #c9cad4; font-size: 0.9rem; }
.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 44px;
}
.footer-logo {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.footer-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.62rem;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 1.1rem;
}
.footer-head {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.footer-head-space { margin-top: 1.5rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 7px 0 7px 18px; position: relative; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-links li:last-child { border-bottom: 0; }
.footer-links li::before { content: '\203A'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.78rem;
}
.footer-bottom a { color: #c9cad4; }
.footer-bottom a:hover { color: var(--gold); }

/* Responsivt */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split-reverse .split-text { order: 1; }
  .split-reverse .split-img { order: 2; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .type-cards { grid-template-columns: 1fr; }
  .biz-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .main-nav a { width: auto; padding: 0 16px; }
  .section { padding: 55px 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-box { margin: 115px 0 40px; padding: 30px 26px 34px; }
  .hero-btns { flex-wrap: wrap; }
}
