/* Approved compact homepage. Intentionally loaded only for its content marker. */
.dmdg-home-compact-page {
  --compact-paper: #f6f5f0;
  --compact-surface: #fffefa;
  --compact-soft: #ecebe4;
  --compact-ink: #292e28;
  --compact-muted: #586054;
  --compact-line: #cfd2c7;
  --compact-label: #64602f;
}
body.dmdg-home-compact-page .wp-site-blocks,
body.dmdg-home-compact-page .wp-site-blocks > main {
  background: var(--compact-paper);
  color: var(--compact-ink);
}
.dmdg-home-compact-page .wp-block-post-content > * { margin-block-start: 0; }
.dmdg-home-compact-page .dmdg-utility { display: none; }
.dmdg-home-compact-page .dmdg-header-inner { min-height: 88px; padding-block: 6px; }
.dmdg-home-compact-page .dmdg-site-header { padding-block: 0; }
.dmdg-home-compact-page .dmdg-site-header .wp-block-site-logo img { width: 190px; }
.dmdg-home-compact-page .dmdg-compact-wrap {
  width: min(1160px, calc(100% - 64px)); max-width: none; margin-inline: auto;
}
.dmdg-home-compact-page [class*="dmdg-compact-"] { box-sizing: border-box; }
.dmdg-home-compact-page :is(.dmdg-compact-intro,.dmdg-compact-concerns,.dmdg-compact-practical) :is(p,h1,h2,h3,figure) { margin: 0; }
.dmdg-home-compact-page :is(.dmdg-compact-intro,.dmdg-compact-concerns,.dmdg-compact-practical) :is(p,h1,h2,h3,a,strong,figcaption) { color: var(--compact-ink); }
.dmdg-home-compact-page .dmdg-compact-intro { padding: 38px 0 30px; background: var(--compact-paper); }
.dmdg-home-compact-page .dmdg-compact-intro-grid { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 70px; align-items: center; }
.dmdg-home-compact-page .dmdg-compact-intro h1 { max-width: 660px; font-size: clamp(32px,3.6vw,52px); line-height: 1.1; letter-spacing: -.035em; font-weight: 400; text-wrap: balance; }
.dmdg-home-compact-page .dmdg-compact-intro .dmdg-compact-eyebrow { color: var(--compact-label); font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 12px; }
.dmdg-home-compact-page .dmdg-compact-intro .dmdg-compact-intro-lead { max-width: 590px; margin-top: 18px; color: var(--compact-muted); font-size: 17px; line-height: 1.6; }
.dmdg-home-compact-page .dmdg-compact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 22px; }
.dmdg-home-compact-page .dmdg-compact-button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 12px 22px; border: 1px solid #e2d071; border-radius: 4px; background: #e2d071; color: #242820; font-size: 15px; font-weight: 650; line-height: 1.35; text-decoration: none; }
.dmdg-home-compact-page .dmdg-compact-button:hover { background: #f2df87; border-color: #f2df87; }
.dmdg-home-compact-page .dmdg-compact-plain-link { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; font-weight: 550; text-decoration: underline; text-underline-offset: 4px; }
.dmdg-home-compact-page .dmdg-compact-intro .dmdg-compact-microcopy { margin-top: 8px; font-size: 13px; color: var(--compact-muted); }
.dmdg-home-compact-page .dmdg-compact-person { margin: 0; background: var(--compact-soft); border: 1px solid var(--compact-line); border-radius: 6px; overflow: hidden; }
.dmdg-home-compact-page .dmdg-compact-person img { display: block; width: 100%; height: 257px; object-fit: cover; object-position: center top; }
.dmdg-home-compact-page .dmdg-compact-person figcaption { padding: 12px 16px; text-align: left; margin: 0; }
.dmdg-home-compact-page .dmdg-compact-person strong { font-family: var(--wp--preset--font-family--serif); font-size: 18px; font-weight: 400; }
.dmdg-home-compact-page .dmdg-compact-person figcaption span { display: block; margin-top: 3px; color: var(--compact-muted); font-size: 11px; line-height: 1.6; }
.dmdg-home-compact-page .dmdg-compact-concerns { padding: 26px 0 32px; background: var(--compact-surface); border-block: 1px solid var(--compact-line); }
.dmdg-home-compact-page .dmdg-compact-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.dmdg-home-compact-page .dmdg-compact-concerns h2 { font-size: clamp(25px,2.5vw,35px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.dmdg-home-compact-page .dmdg-compact-topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin: 0; }
.dmdg-home-compact-page .dmdg-compact-topic { position: relative; min-width: 0; min-height: 140px; padding: 19px 20px; border: 1px solid var(--compact-line); border-radius: 4px; background: var(--compact-paper); margin: 0; }
.dmdg-home-compact-page .dmdg-compact-topic h3 { padding-right: 18px; font-family: var(--wp--preset--font-family--sans); font-size: 17px; line-height: 1.35; font-weight: 650; }
.dmdg-home-compact-page .dmdg-compact-topic h3 a { text-decoration: none; }
.dmdg-home-compact-page .dmdg-compact-topic h3 a::after { content: ''; position: absolute; inset: 0; }
.dmdg-home-compact-page .dmdg-compact-topic h3::after { content: '↗'; position: absolute; right: 16px; top: 19px; font-weight: 400; }
.dmdg-home-compact-page .dmdg-compact-topic p { margin-top: 9px; color: var(--compact-muted); font-size: 14px; line-height: 1.5; }
.dmdg-home-compact-page .dmdg-compact-topic:hover { border-color: var(--compact-ink); }
.dmdg-home-compact-page .dmdg-compact-topic:hover h3 a { text-decoration: underline; }
.dmdg-home-compact-page .dmdg-compact-practical { padding: 25px 0; background: var(--compact-paper); }
.dmdg-home-compact-page .dmdg-compact-practical-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.dmdg-home-compact-page .dmdg-compact-practical-grid > div { display: flex; flex-direction: column; align-items: flex-start; padding-inline: 30px; border-left: 1px solid var(--compact-line); gap: 0; margin: 0; }
.dmdg-home-compact-page .dmdg-compact-practical-grid > div:first-child { border: 0; padding-left: 0; }
.dmdg-home-compact-page .dmdg-compact-small-label { color: var(--compact-muted); font-size: 12px; }
.dmdg-home-compact-page .dmdg-compact-practical strong { font-size: 15px; }
.dmdg-home-compact-page .dmdg-compact-practical a { font-size: 13px; min-height: 32px; padding-top: 4px; }
/* The document already reserves the header height with scroll-padding-top. */
.dmdg-home-compact-page #bewertungen { scroll-margin-top: 0; }
/* Existing editorial sections keep their content and use the lighter reading surfaces. */
.dmdg-home-compact-page .dmdg-section { padding-block: 48px; color: var(--compact-ink); background: var(--compact-paper) !important; border-color: var(--compact-line); }
.dmdg-home-compact-page .dmdg-section::before,
.dmdg-home-compact-page .dmdg-section::after { display: none; }
.dmdg-home-compact-page .dmdg-section :is(h2,h3,h4,strong,p,li,a:not(.wp-block-button__link)) { color: var(--compact-ink); }
.dmdg-home-compact-page .dmdg-section :is(p,li),
.dmdg-home-compact-page .dmdg-section .dmdg-lead { color: var(--compact-muted); }
.dmdg-home-compact-page .dmdg-section .dmdg-eyebrow { color: var(--compact-label); }
.dmdg-home-compact-page .dmdg-section h2 { font-size: clamp(28px,2.5vw,38px); line-height: 1.2; }
.dmdg-home-compact-page .dmdg-section h3 { font-size: 20px; }
.dmdg-home-compact-page .dmdg-section-heading { margin-bottom: 26px; }
.dmdg-home-compact-page :is(.dmdg-process-section,.dmdg-person-section) { background: var(--compact-soft) !important; }
.dmdg-home-compact-page .dmdg-process-section .dmdg-step { background: transparent; border-color: var(--compact-line); }
.dmdg-home-compact-page .dmdg-process-section .dmdg-step:hover { background: var(--compact-surface); }
.dmdg-home-compact-page .dmdg-process-section .dmdg-step__number { color: var(--compact-label); }
.dmdg-home-compact-page .dmdg-review-card { background: var(--compact-surface); border-color: var(--compact-line); box-shadow: none; }
.dmdg-home-compact-page .dmdg-review-card :is(strong,blockquote) { color: var(--compact-ink); }
.dmdg-home-compact-page .dmdg-review-card :is(time,small,p),
.dmdg-home-compact-page .dmdg-review-carousel__status,
.dmdg-home-compact-page .dmdg-review-carousel__hint { color: var(--compact-muted); }
.dmdg-home-compact-page .dmdg-review-card__person span { color: var(--compact-muted); }
.dmdg-home-compact-page :is(.dmdg-review-card__initials,.dmdg-review-card__stars,.dmdg-review-card__expand) { color: var(--compact-label); }
.dmdg-home-compact-page .dmdg-review-carousel__button { color: var(--compact-ink); background: var(--compact-surface); border-color: var(--compact-line); }
.dmdg-home-compact-page .dmdg-review-carousel__button:hover { background: var(--compact-soft); }
.dmdg-home-compact-page .dmdg-person-section .dmdg-lead { font-size: 18px; line-height: 1.65; }
.dmdg-home-compact-page .dmdg-safety-section .dmdg-dark-panel { padding: 0 !important; background: transparent; border: 0; box-shadow: none; }
.dmdg-home-compact-page .dmdg-safety-section .dmdg-dark-panel::before,
.dmdg-home-compact-page .dmdg-safety-section .dmdg-dark-panel::after { display: none; }
.dmdg-home-compact-page .dmdg-section a:not(.wp-block-button__link):hover { color: var(--compact-label); }
.dmdg-home-compact-page .dmdg-compact-knowledge-grid { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 40px; align-items: center; }
.dmdg-home-compact-page .dmdg-compact-knowledge-grid figure { margin: 0; background: #252820; border-radius: 4px; overflow: hidden; }
.dmdg-home-compact-page .dmdg-compact-knowledge-grid img { display: block; width: 180px; height: 180px; }
.dmdg-home-compact-page .dmdg-final-cta { background: var(--compact-surface); border-color: var(--compact-line); box-shadow: none; }
.dmdg-home-compact-page .dmdg-final-cta::before,
.dmdg-home-compact-page .dmdg-final-cta::after { display: none; }
.dmdg-home-compact-page main :focus-visible { outline: 3px solid var(--compact-ink); outline-offset: 4px; }
.dmdg-home-compact-page .dmdg-compact-topic:focus-within { outline: 3px solid var(--compact-ink); outline-offset: 3px; }
@media (max-width: 1000px) {
  .dmdg-home-compact-page .dmdg-compact-intro-grid { grid-template-columns: minmax(0,1fr) 260px; gap: 35px; }
  .dmdg-home-compact-page .dmdg-compact-topic { padding: 16px; }
}
@media (max-width: 800px) {
  .dmdg-home-compact-page .dmdg-process-section .dmdg-card-grid {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  }
  .dmdg-home-compact-page .dmdg-process-section .dmdg-step {
    display: grid; grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 14px; align-content: start; min-height: 0;
    margin: 0; padding: 20px 0; border-left: 0;
  }
  .dmdg-home-compact-page .dmdg-process-section .dmdg-step__number {
    grid-column: 1; grid-row: 1 / span 2; margin: 0;
    font-size: 25px; line-height: 1.2;
  }
  .dmdg-home-compact-page .dmdg-process-section .dmdg-step > :not(.dmdg-step__number) {
    grid-column: 2; margin: 0;
  }
  .dmdg-home-compact-page .dmdg-process-section .dmdg-step h3 {
    font-size: 19px; line-height: 1.3;
  }
  .dmdg-home-compact-page .dmdg-process-section .dmdg-step > p:not(.dmdg-step__number) {
    font-size: 16px; line-height: 1.6;
  }
  .dmdg-home-compact-page .dmdg-compact-wrap { width: calc(100% - 40px); }
  .dmdg-home-compact-page .dmdg-header-inner { min-height: 76px; }
  .dmdg-home-compact-page .dmdg-site-header .wp-block-site-logo img { width: 155px; }
  .dmdg-home-compact-page .dmdg-compact-intro { padding: 26px 0 24px; }
  .dmdg-home-compact-page .dmdg-compact-intro-grid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .dmdg-home-compact-page .dmdg-compact-intro h1 { font-size: clamp(32px,5.6vw,45px); max-width: 650px; }
  .dmdg-home-compact-page .dmdg-compact-intro .dmdg-compact-intro-lead { font-size: 16px; line-height: 1.55; margin-top: 13px; }
  .dmdg-home-compact-page .dmdg-compact-actions { margin-top: 17px; gap: 14px; }
  .dmdg-home-compact-page .dmdg-compact-person { display: flex; align-items: center; gap: 14px; width: fit-content; padding-right: 18px; }
  .dmdg-home-compact-page .dmdg-compact-person img { width: 70px; height: 77px; object-position: center top; }
  .dmdg-home-compact-page .dmdg-compact-person figcaption { padding: 0; }
  .dmdg-home-compact-page .dmdg-compact-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .dmdg-home-compact-page .dmdg-compact-topic { min-height: 120px; }
  .dmdg-home-compact-page .dmdg-compact-practical-grid > div { padding-inline: 16px 0; }
  .dmdg-home-compact-page .dmdg-section { padding-block: 36px; }
  .dmdg-home-compact-page .dmdg-compact-knowledge-grid { grid-template-columns: 120px minmax(0,1fr); gap: 24px; }
  .dmdg-home-compact-page .dmdg-compact-knowledge-grid img { width: 120px; height: 120px; }
}
@media (max-width: 480px) {
  .dmdg-home-compact-page .dmdg-compact-wrap { width: calc(100% - 32px); }
  .dmdg-home-compact-page .dmdg-compact-intro { padding-top: 22px; }
  .dmdg-home-compact-page .dmdg-compact-intro h1 { font-size: 32px; line-height: 1.09; }
  .dmdg-home-compact-page .dmdg-compact-intro .dmdg-compact-eyebrow { font-size: 10px; margin-bottom: 9px; }
  .dmdg-home-compact-page .dmdg-compact-actions { gap: 8px 15px; }
  .dmdg-home-compact-page .dmdg-compact-button { padding-inline: 16px; gap: 10px; min-height: 48px; font-size: 14px; }
  .dmdg-home-compact-page .dmdg-compact-actions .dmdg-compact-plain-link { font-size: 12px; }
  .dmdg-home-compact-page .dmdg-compact-intro .dmdg-compact-microcopy { font-size: 12px; margin-top: 5px; }
  .dmdg-home-compact-page .dmdg-compact-person { gap: 12px; }
  .dmdg-home-compact-page .dmdg-compact-person img { width: 61px; height: 70px; }
  .dmdg-home-compact-page .dmdg-compact-person strong { font-size: 17px; }
  .dmdg-home-compact-page .dmdg-compact-person figcaption span { font-size: 11px; line-height: 1.4; }
  .dmdg-home-compact-page .dmdg-compact-concerns { padding-block: 24px; }
  .dmdg-home-compact-page .dmdg-compact-concerns h2 { font-size: 25px; }
  .dmdg-home-compact-page .dmdg-compact-all-services { font-size: 12px; min-height: 28px; }
  .dmdg-home-compact-page .dmdg-compact-section-heading { margin-bottom: 16px; }
  .dmdg-home-compact-page .dmdg-compact-topic { display: flex; align-items: center; min-height: 74px; padding: 15px 12px; }
  .dmdg-home-compact-page .dmdg-compact-topic h3 { font-size: 14px; }
  .dmdg-home-compact-page .dmdg-compact-topic h3::after { top: 24px; right: 12px; }
  .dmdg-home-compact-page .dmdg-compact-topic p { display: none; }
  .dmdg-home-compact-page .dmdg-compact-practical-grid { grid-template-columns: 1fr; gap: 15px; }
  .dmdg-home-compact-page .dmdg-compact-practical-grid > div { border-left: 0; border-top: 1px solid var(--compact-line); padding: 15px 0 0; }
  .dmdg-home-compact-page .dmdg-compact-practical-grid > div:first-child { padding-top: 0; }
  .dmdg-home-compact-page .dmdg-compact-knowledge-grid { grid-template-columns: 1fr; }
}

/* Visible reviews immediately follow the four concerns. */
.dmdg-home-compact-page .dmdg-reviews-section { padding-block: 28px; background: var(--compact-surface) !important; border-bottom: 1px solid var(--compact-line); }
.dmdg-home-compact-page .dmdg-reviews-section .dmdg-reviews-intro { grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; }
.dmdg-home-compact-page .dmdg-reviews-section h2 { font-size: clamp(24px,2.2vw,32px); margin-bottom: 0; }
.dmdg-home-compact-page .dmdg-reviews-section .dmdg-reviews-intro > p { font-size: 13px; }
.dmdg-home-compact-page .dmdg-reviews-section .dmdg-review-context { font-size: 12px; margin-top: 16px; }
@media (max-width: 800px) {
  .dmdg-home-compact-page .dmdg-reviews-section .dmdg-reviews-intro { grid-template-columns: minmax(0,1fr); gap: 12px; }
}
