/*
  IndeklimaTest – moderne "Læs mere om målinger"
  Indlæses efter den eksisterende style.css.
*/

.readmore-page {
  --rm-ink: #202a27;
  --rm-muted: #66716d;
  --rm-green: #173b34;
  --rm-green-deep: #0f2d28;
  --rm-green-dark: #0b211d;
  --rm-sage: #8dbba2;
  --rm-sage-light: #b8ddc9;
  --rm-mint: #e6f1eb;
  --rm-cream: #f5f4ef;
  --rm-paper: #fbfbf8;
  --rm-border: rgba(23,59,52,.12);

  margin: 0;
  background: var(--rm-cream);
  color: var(--rm-ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.readmore-page * {
  box-sizing: border-box;
}

.readmore-page html {
  scroll-behavior: smooth;
}

.readmore-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.readmore-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245,244,239,.96);
  border-bottom: 1px solid rgba(23,59,52,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.readmore-header-inner {
  width: calc(100% - 96px);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.readmore-brand {
  width: 205px;
  min-width: 205px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  color: var(--rm-green);
  text-decoration: none;
  line-height: 1;
}

.readmore-brand-main {
  font-size: 1.58rem;
  font-weight: 800;
  letter-spacing: .055em;
}

.readmore-brand-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.readmore-brand-line {
  width: 112px;
  height: 3px;
  border-radius: 3px;
  background: var(--rm-green);
}

.readmore-brand-test {
  color: #6b9e82;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .34em;
}

.readmore-main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3vw, 24px);
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.readmore-main-nav li {
  margin: 0;
}

.readmore-main-nav a {
  color: #26352f;
  text-decoration: none;
  white-space: nowrap;
  font-size: .93rem;
  font-weight: 650;
}

.readmore-main-nav a[aria-current="page"] {
  color: #547c68;
}

.readmore-book-btn {
  padding: .72rem 1.05rem;
  border-radius: 999px;
  background: #9bcbb2;
  color: #12342b !important;
}

.readmore-menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--rm-green);
  font-size: 1.6rem;
  cursor: pointer;
}

/* HERO */
.readmore-modern-hero {
  padding: 116px 0 102px;
  background:
    radial-gradient(circle at 88% 18%, rgba(184,221,201,.46), transparent 28%),
    linear-gradient(135deg, #e9efe9 0%, #f6f4ee 62%, #eef2eb 100%);
  border-bottom: 1px solid var(--rm-border);
}

.readmore-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .55fr);
  gap: 90px;
  align-items: end;
}

.readmore-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #547c68;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.readmore-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.readmore-hero-copy h1 {
  max-width: 780px;
  margin: 16px 0 23px;
  color: var(--rm-ink);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 600;
}

.readmore-hero-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--rm-muted);
  font-size: 1.08rem;
}

.readmore-hero-note {
  padding: 28px;
  border-left: 1px solid rgba(23,59,52,.17);
}

.readmore-hero-note > span {
  display: block;
  margin-bottom: 9px;
  color: var(--rm-green);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.readmore-hero-note p {
  margin: 0;
  color: var(--rm-muted);
}

/* STICKY MINI NAV */
.measure-nav-section {
  position: sticky;
  top: 82px;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--rm-border);
  backdrop-filter: blur(10px);
}

.measure-nav {
  display: flex;
  gap: 8px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.measure-nav::-webkit-scrollbar {
  display: none;
}

.measure-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--rm-border);
  border-radius: 999px;
  color: #456356;
  text-decoration: none;
  font-size: .84rem;
  font-weight: 700;
  background: #fff;
}

.measure-nav a:hover {
  background: var(--rm-mint);
}

/* CONTENT */
.measure-list {
  padding-top: 38px;
  padding-bottom: 80px;
}

.measure-detail {
  scroll-margin-top: 155px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 70px;
  padding: 76px 0;
  border-bottom: 1px solid var(--rm-border);
}

.measure-aside {
  position: sticky;
  top: 160px;
  align-self: start;
}

.measure-number {
  display: block;
  margin-bottom: 26px;
  color: #a1aaa6;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.measure-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 20px;
  background: var(--rm-mint);
}

.measure-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  margin: 0;
}

.measure-aside h2 {
  margin: 0;
  color: var(--rm-ink);
  font-size: 2rem;
  letter-spacing: -.025em;
}

.measure-body {
  max-width: 760px;
}

.measure-body p {
  margin: 0 0 21px;
  color: #56615d;
  font-size: 1.02rem;
  line-height: 1.82;
}

.measure-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(23,59,52,.28);
  color: var(--rm-green);
  text-decoration: none;
  font-weight: 800;
}

/* CTA */
.readmore-bottom-cta {
  padding: 92px 0;
  background: var(--rm-green);
  color: #fff;
}

.bottom-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
}

.readmore-eyebrow--light {
  color: var(--rm-sage-light);
}

.bottom-cta-inner h2 {
  max-width: 700px;
  margin: 13px 0 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.bottom-cta-inner p {
  max-width: 670px;
  margin: 0;
  color: rgba(255,255,255,.68);
}

.bottom-cta-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: .9rem 1.3rem;
  border-radius: 999px;
  background: var(--rm-sage);
  color: #102e27;
  text-decoration: none;
  font-weight: 800;
}

/* FOOTER */
.readmore-footer {
  padding: 72px 0 24px;
  background: var(--rm-green-dark);
  color: rgba(255,255,255,.64);
}

.readmore-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 55px;
}

.footer-wordmark {
  display: inline-grid;
  margin-bottom: 20px;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.footer-wordmark strong {
  font-size: 1.35rem;
  letter-spacing: .06em;
}

.footer-wordmark span {
  margin-top: 6px;
  color: #7fb296;
  font-size: .72rem;
  letter-spacing: .35em;
}

.readmore-footer-grid > div:first-child p {
  max-width: 310px;
  color: rgba(255,255,255,.48);
}

.readmore-footer-col {
  display: grid;
  align-content: start;
  gap: 10px;
}

.readmore-footer-col strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: .86rem;
}

.readmore-footer-col a,
.readmore-footer-col span {
  color: rgba(255,255,255,.59);
  text-decoration: none;
  font-size: .9rem;
  line-height: 1.6;
}

.readmore-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-top: 55px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.40);
  font-size: .82rem;
}

.readmore-footer-bottom a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .readmore-header-inner {
    width: calc(100% - 36px);
  }

  .readmore-main-nav {
    gap: 12px;
  }

  .readmore-main-nav a {
    font-size: .86rem;
  }
}

@media (max-width: 899px) {
  .readmore-header-inner {
    min-height: 72px;
  }

  .readmore-brand {
    width: 158px;
    min-width: 158px;
  }

  .readmore-brand-main {
    font-size: 1.18rem;
  }

  .readmore-brand-line {
    width: 84px;
    height: 2px;
  }

  .readmore-brand-test {
    font-size: .82rem;
  }

  .readmore-menu-toggle {
    display: block;
  }

  .readmore-main-nav {
    display: none;
  }

  .readmore-main-nav.open {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 22px 22px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(10,28,25,.10);
  }

  .readmore-main-nav.open a {
    display: block;
    padding: 11px 0;
  }

  .measure-nav-section {
    top: 72px;
  }

  .readmore-hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .readmore-hero-note {
    max-width: 600px;
  }

  .measure-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .measure-aside {
    position: static;
  }

  .readmore-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .readmore-shell {
    width: calc(100% - 32px);
  }

  .readmore-modern-hero {
    padding: 82px 0 68px;
  }

  .readmore-hero-copy h1 {
    font-size: clamp(2.6rem, 12vw, 3.7rem);
  }

  .measure-list {
    padding-top: 20px;
  }

  .measure-detail {
    padding: 56px 0;
  }

  .bottom-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .readmore-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .readmore-footer-bottom {
    flex-direction: column;
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .readmore-page *,
  .readmore-page *::before,
  .readmore-page *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
