

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;

  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

blockquote {
  font-style: normal;
}

h1, .h1 {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  font-size: var(--h1-size);
  line-height: var(--h1-line-height);
  text-transform: none;
  color: var(--color-text-dark);
  margin-bottom: var(--space-lg);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  font-size: var(--h2-size);
  line-height: var(--h2-line-height);
  text-transform: none;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

h3, .h3 {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 400;
  font-size: var(--h3-size);
  line-height: var(--h3-line-height);
  text-transform: none;
  color: var(--color-text-dark);
  margin-bottom: var(--space-sm);
}

h4, .h4 {
  font-family: var(--h4-font-family);
  font-style: normal;
  font-weight: 400;
  font-size: var(--h4-size);
  line-height: var(--h4-line-height);
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

h5, .h5 {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: var(--h5-weight);
  font-size: var(--h5-size);
  line-height: var(--h5-line-height);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: var(--h5-weight);
  font-size: var(--h6-size);
  line-height: var(--h6-line-height);
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-link-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: 0;
}

@media (max-width: 1240px) {
  .container {
    padding-inline: var(--content-edge-tablet);
  }
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--header-bg);
}

.header-main {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding-inline: var(--header-padding-x);
  max-width: 100%;
  transition: height 0.3s ease;
}

.nav-primary {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.nav-secondary {
  flex: 1;
}

.site-logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  padding-inline: 4.0625rem;
}

.site-logo img {
  width: var(--logo-width, 218px);
  height: auto;
  margin-top: 0.375rem;
  transition: width 0.3s ease;
}

.site-logo .logo-dark {
  display: none;
}

.site-header.is-scrolled .logo-white {
  display: none;
}

.site-header.is-scrolled .logo-dark {
  display: block;
}

.nav-list {
  display: flex;
  gap: 2.3125rem;
}

.nav-primary .nav-list {
  justify-content: flex-end;
}

.nav-list a {
  font-size: var(--nav-font-size);
  font-weight: var(--nav-weight);
  letter-spacing: var(--nav-letter-spacing);
  text-transform: var(--nav-transform);
  color: var(--nav-color);
  transition: color var(--transition);
  line-height: var(--nav-line-height);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--nav-color-hover);
}

.mobile-trigger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;

  margin-left: auto;
}

.site-header--wide .header-main {
  justify-content: space-between;
  align-items: stretch;
  height: auto;
  padding-block: calc(1.25rem + 10px);
  padding-inline: 50px;
  max-width: 100%;
}
.site-header--wide .site-logo {
  padding-inline: 0;
  display: flex;
  align-items: center;
}
.site-header--wide .site-logo img {
  width: 320px;
}
.site-header--wide .header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;

  margin-top: 7px;
  margin-bottom: -7px;
}
.site-header--wide .header-phones {
  display: flex;
  align-items: baseline;
  gap: 1.75rem;
}
.site-header--wide .header-phones__intro {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nav-color);
}
.site-header--wide .header-phone {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nav-color);
  white-space: nowrap;
  transition: color var(--transition);
}
.site-header--wide .header-phone:hover {
  color: var(--nav-color-hover);
}
.site-header--wide .header-phone__label {
  font-weight: 400;
  opacity: 0.85;
}
.site-header--wide .nav-wide .nav-list {
  gap: 2.3125rem;
  justify-content: flex-end;
}

.site-header--wide .mega-dropdown {
  left: auto;
  right: 50px;
  transform: translateY(0.5rem);
}
.site-header--wide .nav-list > li.has-dropdown:hover > .mega-dropdown,
.site-header--wide .nav-list > li.has-dropdown.is-dropdown-open > .mega-dropdown {
  transform: translateY(0);
}
.site-header--wide .mega-dropdown::before {
  left: auto;
  right: 2rem;
  transform: none;
}

@media (max-width: 1399px) {
  .site-header--wide .header-right {
    display: none;
  }
  .site-header--wide .site-logo img {
    width: 200px;
  }
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background: var(--nav-color);
  transition: var(--transition);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -0.4375rem; }
.hamburger::after  { top: 0.4375rem; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 4.5rem 1.5rem 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav-overlay.is-open {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.mobile-nav-list > li {
  margin: 0;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-nav-list > li:last-child {
  border-bottom: none;
}

.mobile-nav-list a {
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  padding: 1.125rem 0;
  line-height: 1.3;
}

.mobile-nav-list a:hover {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  padding: 0.9375rem 1.875rem 0.9375rem 2.375rem;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.71em;
  color: var(--btn-color);
  background: var(--btn-bg);
  border: 1px solid var(--color-primary);
  border-radius: 0;
  box-shadow: 0 0 0 -0.4375rem rgba(0, 0, 0, 0);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  z-index: 1;
}

.btn:hover {
  color: var(--btn-color-hover);
  background: var(--btn-bg-hover);
  border-color: var(--btn-border-hover);
}

p + .btn,
.frame__text + .btn {
  margin-top: 2rem;
}

.site-footer {
  background: var(--footer-bg);
  padding-block: var(--footer-spacing);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-credit {
  font-size: var(--footer-font-size);
  font-style: italic;
  color: var(--footer-text-color);
}

.footer-credit a {
  color: var(--footer-link-color);
  text-decoration: none;
}

.footer-credit a:hover {
  color: var(--footer-link-hover);
}

.footer-credit__sep {
  margin: 0 0.5rem;
  color: var(--footer-text-color);
  opacity: 0.5;
}

.footer-credit__keyword {
  font-style: normal;
}

.footer-nav-list {
  display: flex;
  gap: 1.5rem;
}

.footer-nav-list a {
  font-size: var(--footer-font-size);
  color: var(--footer-text-color);
}

.footer-nav-list a:hover {
  color: var(--footer-link-hover);
}

.section {
  padding-block: 8rem;
}

.section--dark {
  background: var(--color-text-dark);
  color: var(--color-white);
}

.section--dark h2 {
  color: var(--color-white);
}

.section--warm {
  background: var(--color-bg-warm);
}

.section--white {
  background: var(--color-white);
}

.section--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.section--primary h1,
.section--primary h2,
.section--primary h3 {
  color: var(--color-white);
}

.section > .container > .section__label,
.section > .container > h1,
.section > .container > h2 {
  text-align: left;
}

.section--page-intro > .container > .section__label,
.section--page-intro > .container > h1,
.section--page-intro > .container > h2,
.section--page-intro > .container > p {
  text-align: center;
}

.section > .container > h1,
.section > .container > h2,
.section > .container > .section__label + h1,
.section > .container > .section__label + h2,
.section > .container > .section__label + h3 {
  margin-bottom: var(--space-2xl);
}

@media (max-width: 767px) {
  .section > .container > h1,
  .section > .container > h2,
  .section > .container > .section__label + h1,
  .section > .container > .section__label + h2,
  .section > .container > .section__label + h3 {
    margin-bottom: var(--space-md);
  }
}

.section h1,
.section h2 {
  font-family: var(--font-heading);
  font-size: var(--h2-size);
  color: var(--color-text-dark);
  font-weight: 400;
}

@media (max-width: 767px) {
  html { font-size: var(--font-size-base-mobile); }
  .container { padding-inline: var(--content-edge-mobile); }
  h1 { font-size: var(--h1-size-mobile); line-height: var(--h1-line-height-mobile); }
  h2,
  .section h1,
  .section h2 { font-size: var(--h2-size-mobile); }
  h3 { font-size: 1.4rem; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  h1 { font-size: var(--h1-size-tablet); }
  h2,
  .section h1,
  .section h2 { font-size: var(--h2-size-tablet); }
}

.section__label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1875rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-sm);
}

.section__label + h1,
.section__label + h2,
.section__label + h3 {
  margin-top: -0.625rem;
  margin-bottom: var(--space-md);
}

.section__label--light {
  color: rgba(255, 255, 255, 0.8);
}

.section__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

p  { margin-bottom: var(--space-sm); }

p:last-child { margin-bottom: 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.more {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color var(--transition);
}

.more:hover,
a:hover .more {
  color: var(--color-primary);
}

.role {
  font-size: 1rem;
  color: var(--color-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  padding: 0.25rem 0;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  margin-top: 0.5em;
  margin-right: var(--space-xs);
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  transform: rotate(45deg);
}

p + .btn,
p + a:not([class]) {
  display: inline-block;
  margin-top: var(--space-md);
}

img + h2,
img + h3,
img + p,
picture + h2,
picture + h3,
picture + p {
  margin-top: var(--space-md);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(184, 169, 142, 0.15);
  color: var(--color-primary-dark);
}
.icon-circle > svg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-circle--lg {
  width: 5rem;
  height: 5rem;
}
.icon-circle--lg > svg {
  width: 2.5rem;
  height: 2.5rem;
}

.icon-circle--sm {
  width: 2rem;
  height: 2rem;
}
.icon-circle--sm > svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-circle--solid {
  background: var(--color-primary);
  color: var(--color-white);
}

[id] {
  scroll-margin-top: 160px;
}

.site-header.is-scrolled {
  position: fixed;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-light);
  animation: slideDown 0.3s ease;
}

.site-header.is-scrolled .header-main {

  height: calc(var(--header-height) - 40px);
}

.site-header.is-scrolled .site-logo img {
  width: calc(var(--logo-width, 218px) * 0.8);
}

@media (min-width: 1400px) {
  .site-header.is-scrolled .site-logo img {
    width: calc(var(--logo-width, 218px) * 0.8);
    max-height: calc(var(--header-height) - 60px);
    object-fit: contain;
    object-position: left center;
    margin-top: 0;
  }
}

.site-header.is-scrolled .nav-list a:not(.btn) {
  color: var(--color-text-dark);
}

.site-header.is-scrolled .nav-list a:not(.btn):hover {
  color: var(--color-primary);
}

.site-header.is-scrolled .hamburger,
.site-header.is-scrolled .hamburger::before,
.site-header.is-scrolled .hamburger::after {
  background: var(--color-text-dark);
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

.section__intro {
  max-width: 42rem;
  margin-inline: 0;
  text-align: left;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.site-header--subpage {
  position: relative;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.site-header--subpage .header-main {
  min-height: 8.125rem;
}

.site-header--subpage .nav-list a:not(.btn) {
  color: var(--color-text-dark);
}

.site-header--subpage .nav-list a:not(.btn):hover {
  color: var(--color-primary);
}

.site-header--subpage .logo-white {
  display: none;
}

.site-header--subpage .logo-dark {
  display: block;
}

.site-header--subpage .hamburger,
.site-header--subpage .hamburger::before,
.site-header--subpage .hamburger::after {
  background: var(--color-text-dark);
}

.site-header--wide.is-scrolled .header-main,
.site-header--wide.site-header--subpage .header-main {
  height: auto;
  min-height: 0;
  padding-block: calc(1.25rem + 10px);
}
.site-header--wide.is-scrolled .site-logo img,
.site-header--wide.site-header--subpage .site-logo img {
  width: 320px;
  max-width: none;
  max-height: none;
  margin-top: 0;
}
@media (max-width: 1399px) {
  .site-header--wide.is-scrolled .site-logo img,
  .site-header--wide.site-header--subpage .site-logo img {
    width: 200px;
  }
}

.site-header--wide.is-scrolled .header-phones__intro,
.site-header--wide.is-scrolled .header-phone,
.site-header--wide.is-scrolled .header-phone__label,
.site-header--wide.site-header--subpage .header-phones__intro,
.site-header--wide.site-header--subpage .header-phone,
.site-header--wide.site-header--subpage .header-phone__label {
  color: var(--color-text-dark);
}
.site-header--wide.is-scrolled .header-phone__num,
.site-header--wide.site-header--subpage .header-phone__num {
  color: var(--color-primary);
}
.site-header--wide.is-scrolled .header-phone:hover,
.site-header--wide.site-header--subpage .header-phone:hover {
  color: var(--color-primary);
}

.immo-map-top {
  width: 100%;
}

.immo-map-top .immo-map-container {
  max-width: 100%;
  margin: 0;
}

.immo-search-section {
  padding: 3rem 0 5rem;
}

@media (max-width: 1399px) {
  .nav-primary,
  .nav-secondary {
    display: none;
  }

  .mobile-trigger {
    display: block;
  }

  .header-main,
  .site-header.is-scrolled .header-main,
  .site-header--subpage .header-main {
    padding-inline: var(--content-edge-mobile);
    height: 6.5rem;
    min-height: 0;
  }

  .site-logo {
    padding-inline: 0;
  }

  .site-logo img,
  .site-header.is-scrolled .site-logo img {
    width: auto;
    max-width: 200px;
    max-height: 5rem;
  }
}

@media (max-width: 1024px) {
  .site-logo img,
  .site-header.is-scrolled .site-logo img {
    max-width: 180px;
    max-height: 4.75rem;
  }
}

@media (max-width: 767px) {
  .header-main,
  .site-header.is-scrolled .header-main,
  .site-header--subpage .header-main {
    height: 5rem;
  }
  .site-logo img,
  .site-header.is-scrolled .site-logo img {
    max-width: 160px;
    max-height: 3.6rem;
  }
}

@media (max-width: 390px) {
  .site-logo img,
  .site-header.is-scrolled .site-logo img {
    max-width: 140px;
    max-height: 3.4rem;
  }
}

@media (max-width: 1199px) {
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-nav-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .section {
    padding-block: 5.5rem;
  }
}

@media (max-width: 767px) {
  .section {
    padding-block: 3.75rem;
  }
}

.faq-list {
  margin: 0 0 2rem;
}

.section--center-head > .container > .section__label,
.section--center-head > .container > h1,
.section--center-head > .container > h2 {
  text-align: center;
}

.section--faq > .container > .section__label,
.section--faq > .container > h1,
.section--faq > .container > h2 {
  text-align: center;
}

.section--faq > .container > .section__label + h1,
.section--faq > .container > .section__label + h2 {
  margin-top: -0.625rem;
}

h2:has(+ .faq-list) {
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-text-dark);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: '';
  flex-shrink: 0;
  margin-left: auto;
  width: 0.625rem;
  height: 0.625rem;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

details.faq-item[open] > .faq-item__question::after {
  transform: rotate(-135deg);
}

.faq-item__question:hover {
  color: var(--color-primary-dark);
}

.faq-item__answer {
  padding: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.faq-item__answer p {
  margin: 0 0 1em;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.not-found {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.not-found h1 {
  margin-top: 0.5rem;
}

.not-found p {
  color: var(--color-text);
  margin-bottom: 2rem;
}

.not-found__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.not-found__links .btn {
  margin-top: 0;
}

.leistungspakete {
  display: grid;
  grid-template-columns: repeat(var(--pakete-cols, 3), 1fr);
  gap: 1.75rem;
  align-items: start;
  margin: 2rem 0;
}

.leistungspakete--cols-2 { grid-template-columns: repeat(2, 1fr); }
.leistungspakete--cols-3 { grid-template-columns: repeat(3, 1fr); }
.leistungspakete--cols-4 { grid-template-columns: repeat(4, 1fr); }
.leistungspaket {
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #e0d9cb);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}
.leistungspaket--featured {
  border-color: var(--color-primary, #aa9a7f);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}
.leistungspaket__head {
  background: var(--color-primary, #aa9a7f);
  color: #fff;
  padding: 1.5rem;
  text-align: left;
}
.leistungspaket--featured .leistungspaket__head {
  background: var(--color-primary-dark, #8a7c63);
}

.leistungspaket .leistungspaket__name {
  margin: 0;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1.2;
  text-align: left;
}
.leistungspaket .leistungspaket__price {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  opacity: 0.92;
  text-align: left;
}
.leistungspaket .leistungspaket__features {
  list-style: none;
  margin: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.leistungspaket .leistungspaket__features li {
  position: relative;
  margin: 0;
  padding-left: 1.9rem;
  line-height: 1.5;
  color: var(--color-text, #444);
}
.leistungspaket .leistungspaket__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.15rem;
  height: 1.15rem;
  border: 0;
  border-radius: 50%;
  transform: none;
  background: var(--color-primary, #aa9a7f);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.2 11.3 3.3 8.4l1.1-1.1 1.8 1.8 5-5L12.3 5z'/%3E%3C/svg%3E") center / 1.15rem no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.2 11.3 3.3 8.4l1.1-1.1 1.8 1.8 5-5L12.3 5z'/%3E%3C/svg%3E") center / 1.15rem no-repeat;
}
@media (max-width: 900px) {
  .leistungspakete { grid-template-columns: 1fr; gap: 1.25rem; }
}

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-md, 1.5rem); align-items: center; margin: 2rem 0; }
.btn-row .btn { margin-top: 0; }
.btn-row p { margin: 0; display: contents; }

.page-toc { list-style: none; counter-reset: toc; margin: 1rem 0 2rem; padding: 0; background: none; border: none; }
.page-toc li { margin: .35rem 0; padding: 0 0 0 1.6em; text-indent: -1.6em; }
.page-toc li::before { counter-increment: toc; content: counter(toc) ". "; color: var(--color-primary, #475A95); font-weight: 600; }
.page-toc a { color: var(--color-primary, #475A95); text-decoration: none; }
.page-toc a:hover { text-decoration: underline; }
