/* AM HORIZONT 0.44.0 · verbindlicher letzter Designvertrag */
body.amh-rm-master-preview{
  --amh-system-font:"Portal Nunito","Nunito Sans","Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  --amh-system-ink:#183f37;
  --amh-system-text:#41564f;
  --amh-system-muted:#6b7974;
  --amh-system-bg:#f5f7f8;
  --amh-system-card:#fff;
  --amh-system-line:#dbe4eb;
  --amh-system-accent:#285b4e;
  --amh-system-radius:24px;
  --amh-system-shadow:0 8px 24px rgba(18,43,68,.045);
  --amh-system-shadow-raised:0 14px 34px rgba(18,43,68,.07);
  font-family:var(--amh-system-font)!important;
  color:var(--amh-system-text)!important;
}
body.amh-rm-master-preview .amh-master-page,
body.amh-rm-master-preview .amh-master-page *{font-family:var(--amh-system-font)}
body.amh-rm-master-preview .amh-master-page h1:not(.amelia-v2-booking *){font-weight:680!important;letter-spacing:-.025em!important;line-height:1.07!important;color:var(--amh-system-ink)!important}
body.amh-rm-master-preview .amh-master-page h2:not(.amelia-v2-booking *){font-weight:670!important;letter-spacing:-.02em!important;line-height:1.12!important;color:var(--amh-system-ink)!important}
body.amh-rm-master-preview .amh-master-page h3:not(.amelia-v2-booking *){font-weight:640!important;letter-spacing:-.01em!important;line-height:1.22!important;color:var(--amh-system-ink)!important}
body.amh-rm-master-preview .amh-master-page p:not(.amelia-v2-booking *),
body.amh-rm-master-preview .amh-master-page li:not(.amelia-v2-booking *){font-size:16px!important;font-weight:450!important;line-height:1.62!important;color:var(--amh-system-text)!important;max-width:68ch}
body.amh-rm-master-preview .amh-master-page [class*="__lead"]{font-size:clamp(18px,1.45vw,20px)!important;font-weight:450!important;line-height:1.62!important}
body.amh-rm-master-preview .amh-master-eyebrow,
body.amh-rm-master-preview [class*="__kicker"]{font-size:12px!important;font-weight:620!important;letter-spacing:.085em!important;line-height:1.35!important;color:#6c705d!important}
body.amh-rm-master-preview small,
body.amh-rm-master-preview .amh-price-tax-note{font-size:13px!important;font-weight:430!important;line-height:1.55!important;color:var(--amh-system-muted)!important}
body.amh-rm-master-preview :is(.amh-master-btn,.amh-family-btn){min-height:48px!important;border-radius:15px!important;font-size:15px!important;font-weight:620!important;padding-inline:19px!important}
body.amh-rm-master-preview :is(.amh-master-btn--primary,.amh-family-btn--primary){background:var(--amh-system-accent)!important;border-color:var(--amh-system-accent)!important;color:#fff!important}
body.amh-rm-master-preview :is(.amh-master-btn--secondary,.amh-family-btn--secondary){background:#fff!important;border-color:#cfd9df!important;color:var(--amh-system-ink)!important}
body.amh-rm-master-preview :is(
.amh-master-booking-value article,.amh-fit-compare__grid article,.amh-youth-signal,.amh-youth-perspective,
.amh-family-situation__rows article,.amh-family-together__grid article,.amh-family-topics__list article,
.amh-rollout-signal-list article,.amh-rollout-support__grid article,.amh-counselling-value__grid article,
.amh-contact-before-card,.amh-contact-way,.amh-andreas-key__item,.amh-method-index__grid a,.amh-master-price){
  border:1px solid var(--amh-system-line)!important;
  border-radius:var(--amh-system-radius)!important;
  background:#fff!important;
  box-shadow:var(--amh-system-shadow)!important;
}
body.amh-rm-master-preview :is(.amh-rollout-photo-band__card,.amh-youth-conversation__card){border-radius:var(--amh-system-radius)!important;box-shadow:var(--amh-system-shadow-raised)!important}
body.amh-rm-master-preview :is(.amh-rollout-anchor,.amh-topic-jump,.amh-andreas-jump,.amh-contact-anchor,.amh-praxis-anchor){font-weight:500!important}
body.amh-rm-master-preview a:focus-visible,
body.amh-rm-master-preview button:focus-visible,
body.amh-rm-master-preview summary:focus-visible,
body.amh-rm-master-preview input:focus-visible,
body.amh-rm-master-preview select:focus-visible,
body.amh-rm-master-preview textarea:focus-visible{outline:3px solid rgba(40,91,78,.35)!important;outline-offset:3px!important}
body.amh-rm-master-preview .amh-rollout-photo-band__card .amh-master-eyebrow,
body.amh-rm-master-preview .amh-rollout-photo-band__card h2,
body.amh-rm-master-preview .amh-rollout-photo-band__card p{color:var(--amh-system-ink)!important}
@media(max-width:782px){
 body.amh-rm-master-preview .amh-master-shell,body.amh-rm-master-preview .amh-family-shell{width:min(100% - 28px,1180px)!important}
 body.amh-rm-master-preview .amh-master-page h1:not(.amelia-v2-booking *){font-size:clamp(36px,11vw,48px)!important}
 body.amh-rm-master-preview .amh-master-page h2:not(.amelia-v2-booking *){font-size:clamp(29px,8vw,38px)!important}
 body.amh-rm-master-preview .amh-master-page p:not(.amelia-v2-booking *),body.amh-rm-master-preview .amh-master-page li:not(.amelia-v2-booking *){font-size:16px!important;line-height:1.6!important}
 body.amh-rm-master-preview :is(.amh-master-btn,.amh-family-btn){width:100%;min-height:48px!important}
}


/* 0.44.2 · Kontrastvertrag: globale Typografie greift nicht mehr in dunkle Bühnen und Bild-Overlays ein. */
body.amh-rm-master-preview :is(
  .amh-master-hero,.amh-master-final,.amh-rollout-hero,.amh-rollout-book,.amh-topic-hero,.amh-topic-book,.amh-youth-book,.amh-grief-photo,.amh-grief-book,.amh-contact-booking,.amh-counselling-start,.amh-method-book,.amh-andreas-stats,.amh-andreas-visual-break,.amh-andreas-book,.amh-regional-final
) :is(h1,h2,h3,h4,strong){color:#fff!important;}
body.amh-rm-master-preview :is(
  .amh-master-hero,.amh-master-final,.amh-rollout-hero,.amh-rollout-book,.amh-topic-hero,.amh-topic-book,.amh-youth-book,.amh-grief-photo,.amh-grief-book,.amh-contact-booking,.amh-counselling-start,.amh-method-book,.amh-andreas-stats,.amh-andreas-visual-break,.amh-andreas-book,.amh-regional-final
) p:not(.amh-master-eyebrow):not(.amh-site-footer__eyebrow),
body.amh-rm-master-preview :is(
  .amh-master-hero,.amh-master-final,.amh-rollout-hero,.amh-rollout-book,.amh-topic-hero,.amh-topic-book,.amh-youth-book,.amh-grief-photo,.amh-grief-book,.amh-contact-booking,.amh-counselling-start,.amh-method-book,.amh-andreas-stats,.amh-andreas-visual-break,.amh-andreas-book,.amh-regional-final
) li{color:rgba(255,255,255,.88)!important;}
body.amh-rm-master-preview :is(
  .amh-master-hero,.amh-master-final,.amh-rollout-book,.amh-topic-hero,.amh-topic-book,.amh-youth-book,.amh-grief-photo,.amh-grief-book,.amh-contact-booking,.amh-counselling-start,.amh-method-book,.amh-andreas-book,.amh-regional-final
) :is(.amh-master-eyebrow,.amh-master-eyebrow--light,[class*="__kicker"]){color:#d9c7a6!important;}
body.amh-rm-master-preview :is(.amh-master-hero,.amh-rollout-hero,.amh-topic-hero) [class*="__lead"],
body.amh-rm-master-preview :is(.amh-andreas-visual-break,.amh-andreas-book,.amh-contact-booking,.amh-grief-photo,.amh-grief-book,.amh-method-book,.amh-rollout-book,.amh-topic-book,.amh-youth-book,.amh-master-final,.amh-regional-final) [class*="__lead"]{color:rgba(255,255,255,.92)!important;}

/* Footer Entscheidung bleibt bewusst hell und kontrastreich. */
body.amh-rm-master-preview .amh-site-footer__decision{background:#e8efe9!important;color:var(--amh-green)!important;}
body.amh-rm-master-preview .amh-site-footer__decision .amh-site-footer__eyebrow{color:var(--amh-plum)!important;}
body.amh-rm-master-preview .amh-site-footer__decision h2{color:var(--amh-green)!important;}
body.amh-rm-master-preview .amh-site-footer__decision p:not(.amh-site-footer__eyebrow){color:#40564f!important;}
body.amh-rm-master-preview .amh-site-footer__primary{background:var(--amh-green-2)!important;color:#fff!important;border-color:var(--amh-green-2)!important;}
body.amh-rm-master-preview .amh-site-footer__secondary{background:#fff!important;color:var(--amh-green)!important;border-color:rgba(21,63,54,.16)!important;}
body.amh-rm-master-preview .amh-site-footer__text{color:var(--amh-green)!important;}
