:root {
  --green-dark: #2D6A4F;
  --green-mid: #3a5c47;
  --green-soft: #7aaa50;
  --green-pale: #e8f0e4;
  --green-bg: #F2F5F0;
  --rule: #b5cebc;
  --rule-light: #d6e8da;
  --ink: #1c2b22;
  --ink-mid: #3d5245;
  --ink-faint: #7a9a82;
  --white: #ffffff;
  --gold: #c9a84c;
}


body {
  /* font-family: 'DM Sans', sans-serif; */
  /* font-weight: 300; */
  /* font-size: 16px; */
  /* line-height: 1.8; */
  color: var(--ink);
  /* background: var(--green-bg); */
  /* margin-top: 2rem; */
  /* top: 3rem; */
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


@keyframes slowZoom {
  to {
    transform: scale(1);
  }
}


@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* ── PAGE WRAPPER ── */
.page {
  /* max-width: 960px; */
  max-width: calc(var(--max) *.75);
  margin: 0 auto;
  /* background: var(--white); */
  /* box-shadow: 0 8px 60px rgba(45, 106, 79, .10); */
  /* border-radius: 3rem 3rem 3rem 3rem; */
  margin-top: 3rem;

  /* background: var(--bg-linear-grad); */
  /* margin: 3em 3em 3em 3em; */
  /* padding: 3rem 3rem; */
  border: red 1px solid;
}


/* ── HERO ── */
.hero-bb {
  /* background: var(--green-dark); */
  background: #9dc5aa;
  /* color: #fff;    */
  border-radius: 1.2rem;
  padding: 52px 64px 44px;
  position: relative;
  overflow: hidden;
}

.hero-bb::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(122, 170, 80, .18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(45, 106, 79, .4) 0%, transparent 60%);
  pointer-events: none;
  margin-top: 2rem;
}

.hero-bb-inner {
  position: relative;
  max-width: 820px;
}



.hero-bb-eyebrow {
  /* font-size: 11px; */
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  /* color: var(--green-soft); */
  color: gray;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;  
}



.hero-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 48px;
  background: var(--green-soft);
}



.hero-bb h1 {
  /* font-family: 'Cormorant Garamond', serif; */
  /* font-size: clamp(36px, 6vw, 64px); */
  /* font-weight: 300; */
  /* line-height: 1.1; */
  letter-spacing: -.01em;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  animation: slideUp 0.7s ease 0.4s both;
  margin-bottom: 20px;
}

.hero-bb h1 em {
  font-style: italic;
  color: var(--green-soft);
}


.hero-bb-lead {
  /* font-size: 16px; */
  font-weight: 700;
  line-height: 1.8;
  color: rgba(255, 255, 255, .75);
  color: black;
  /* max-width: 580px; */
}


/* 
font-family: 'DM Sans', sans-serif; 
font-family: 'Bebas Neue', sans-serif;
font-size: clamp(2rem, 6vw, 3rem);
font-weight: 700;
*/



/* hero-stats removed */



/* ── HIGHLIGHTS BAND ── */
.highlights {
  background: var(--green-soft);
  padding: 0 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow: hidden;
}

.hl-item {
  flex: 1;
  min-width: 180px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
}

.hl-item:last-child {
  border-right: none;
}

.hl-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.hl-text {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}


/* ── NAV (TOC) ── */
.doc-nav {
  background: var(--green-pale);
  padding: 35px 64px;
  border-top: 10px solid var(--rule-light);
  border-bottom: 10px solid var(--rule-light);
  margin: 3rem 0 3rem;
  /* border: red 5 px solid; */  
}



.doc-nav-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.nav-grid a {
  font-size: 14px;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 400;
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 2px;
  transition: background-color .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-grid a:hover {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

.nav-num {
  color: var(--green-soft);
  font-weight: 500;
  font-size: 11px;
}




/* ── SECTION ── */
.section {
  border-bottom: 1px solid var(--rule-light);
}

.section-header {
  padding: 28px 64px 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  cursor: pointer;
  /* user-select: none; */
  transition: background .15s;
}

.section-header:hover {
  background: var(--green-pale);
}

.sec-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--rule);
  line-height: 1;
  min-width: 50px;
}

.sec-titles {
  flex: 1;
}

.sec-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 2px;
}

.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.sec-desc {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 3px;
}

.toggle-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-pale);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--green-soft);
  transition: transform .3s, background .2s;
  flex-shrink: 0;
  margin-top: 6px;
}

.section-body {
  padding: 0 64px 36px;
}

.section-body.collapsed {
  display: none;
}

/* ── MARKETING CALLOUT ── */
.callout {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: #fff;
  padding: 20px 24px;
  margin-bottom: 24px;
  border-left: 3px solid var(--green-soft);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.callout-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 1px;
}

.callout-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.callout-text strong {
  color: var(--green-soft);
  font-weight: 500;
}

/* ── SUBSECTION ── */
.subsection {
  margin-bottom: 28px;
}

.subsection h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-soft);
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--rule-light);
}

/* ── SPEC TABLE (read-only) ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.spec-table tr {
  transition: background .12s;
}

.spec-table tr:hover td {
  background: var(--green-pale);
}

.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--rule-light);
  vertical-align: top;
}

.spec-table td:first-child {
  font-weight: 500;
  color: var(--ink-mid);
  width: 220px;
  font-size: 13px;
  white-space: nowrap;
}

.spec-table td:last-child {
  color: var(--ink);
}

.spec-table thead th {
  background: var(--green-mid);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
}

/* ── WOHNUNGS CARDS ── */
.wohn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.wohn-card {
  border: 1px solid var(--rule);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.wohn-card:hover {
  box-shadow: 0 6px 24px rgba(45, 106, 79, .12);
  transform: translateY(-2px);
}

.wohn-card-header {
  background: var(--green-dark);
  color: #fff;
  padding: 14px 18px 12px;
}

.wohn-card-header .num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green-soft);
  margin-bottom: 2px;
}

.wohn-card-header .typ {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
}

.wohn-card-body {
  padding: 14px 18px;
}

.wohn-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 5px 0;
  border-bottom: 1px solid var(--rule-light);
}

.wohn-row:last-child {
  border-bottom: none;
}

.wohn-row .lbl {
  color: var(--ink-faint);
}

.wohn-row .val {
  font-weight: 500;
  color: var(--green-dark);
}

/* ── FEATURE PILLS ── */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--rule);
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: .04em;
}

/* ── ENERGY VISUAL ── */
.energy-bar-wrap {
  margin: 16px 0 8px;
}

.energy-label {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.energy-bar {
  height: 10px;
  background: var(--rule-light);
  border-radius: 5px;
  overflow: hidden;
}

.energy-fill {
  height: 100%;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--green-dark), var(--green-soft));
  width: 0;
  transition: width 1.2s ease;
}

/* ── ICON ROW ── */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
}

.icon-item {
  flex: 1;
  min-width: 140px;
  background: var(--green-pale);
  border: 1px solid var(--rule-light);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.icon-item .ico {
  font-size: 24px;
}

.icon-item .ico-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
}

.icon-item .ico-desc {
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ── CONTACT / FOOTER ── */
.contact-band {
  background: var(--green-dark);
  padding: 48px 64px;
  color: rgba(255, 255, 255, .75);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.contact-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: #fff;
  margin-bottom: 10px;
}

.contact-band p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 440px;
}

.contact-details {
  text-align: right;
  font-size: 15px;
}

.contact-details strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
  font-size: 17px;
}

.contact-details .green {
  color: var(--green-soft);
}


/* ── PRINT BAR ── */
.print-bar {
  /* position: sticky; */
  top: 0;
  z-index: 200;
  background: var(--green-mid);
  color: rgba(255, 255, 255, .7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.print-bar button {
  background: var(--green-soft);
  color: #fff;
  border: none;
  padding: 6px 20px;
  border-radius: 2px;
  font: 500 11px 'DM Sans', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s;
}

.print-bar button:hover {
  opacity: .85;
}



.doc-footer {
  background: var(--green-mid);
  padding: 16px 64px;
  color: rgba(255, 255, 255, .45);
  font-size: 12px;
  letter-spacing: .05em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── DISCLAIMER ── */
.disclaimer {
  padding: 20px 64px;
  background: var(--green-pale);
  font-size: 13px;
  color: var(--ink-faint);
  line-height: 1.7;
  border-top: 1px solid var(--rule-light);
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {

  .hero,
  .doc-nav,
  .section-header,
  .section-body,
  .contact-band,
  .doc-footer,
  .disclaimer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .highlights {
    padding: 0 16px;
  }

  .hero-stats {
    gap: 24px;
  }

  .contact-band {
    grid-template-columns: 1fr;
  }

  .contact-details {
    text-align: left;
  }

  .spec-table td:first-child {
    width: 130px;
  }

  .wohn-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .wohn-grid {
    grid-template-columns: 1fr;
  }

  .hl-item {
    min-width: 45%;
  }

  .icon-row {
    gap: 10px;
  }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner>* {
  animation: fadeUp .7s ease both;
}

.hero-eyebrow {
  animation-delay: .05s;
}

.hero h1 {
  animation-delay: .15s;
}

.hero-lead {
  animation-delay: .25s;
}

.hero-stats {
  animation-delay: .38s;
}

/* ── PRINT ── */
@media print {
  .print-bar {
    display: none;
  }

  .page {
    box-shadow: none;
  }

  .section-body.collapsed {
    display: block !important;
  }

  .wohn-card:hover {
    transform: none;
    box-shadow: none;
  }

  .hero::before {
    display: none;
  }
}