/* AM HORIZONT Redesign Manager 0.44.13
 * Oeffentlicher Portal-Vertrag: nur Typografie, Geometrie, Bediengroessen.
 * Keine globale semantische Text-, Hintergrund- oder Overlayfarbe.
 */
body.amh-rm-master-preview{
  --amh-public-font:"Portal Nunito","Nunito Sans","Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  --amh-public-radius:22px;
  --amh-public-radius-small:16px;
  --amh-public-focus:rgba(40,91,78,.35);
  font-family:var(--amh-public-font)!important;
}
body.amh-rm-master-preview .amh-master-page,
body.amh-rm-master-preview .amh-master-page *{font-family:var(--amh-public-font)}
body.amh-rm-master-preview .amh-master-page h1:not(.amelia-v2-booking *){font-weight:690!important;letter-spacing:-.026em!important;line-height:1.06!important;text-wrap:balance}
body.amh-rm-master-preview .amh-master-page h2:not(.amelia-v2-booking *){font-weight:680!important;letter-spacing:-.020em!important;line-height:1.12!important;text-wrap:balance}
body.amh-rm-master-preview .amh-master-page h3:not(.amelia-v2-booking *){font-weight:650!important;letter-spacing:-.010em!important;line-height:1.22!important}
body.amh-rm-master-preview .amh-master-page :is(p,li):not(.amelia-v2-booking *){font-weight:450!important;line-height:1.62}
body.amh-rm-master-preview .amh-master-page [class*="__lead"]{font-weight:450!important;line-height:1.62!important}
body.amh-rm-master-preview :is(.amh-master-eyebrow,[class*="__kicker"]){font-weight:620!important;letter-spacing:.085em!important;line-height:1.35!important}

/* Buttons und Formulare erhalten nur Form und Bediengroesse. */
body.amh-rm-master-preview :is(.amh-master-btn,.amh-family-btn){min-height:48px!important;border-radius:15px!important;padding-inline:19px!important;font-size:15px!important;font-weight:620!important}
body.amh-rm-master-preview :is(input[type="text"],input[type="email"],input[type="tel"],input[type="search"],input[type="url"],select,textarea):not(.amelia-v2-booking *){
  min-height:48px;
  border-radius:15px;
  font-family:var(--amh-public-font)!important;
  font-size:16px;
  font-weight:450;
  line-height:1.4;
}
body.amh-rm-master-preview textarea:not(.amelia-v2-booking *){min-height:130px}

/* Nur Formgebung bereits vorhandener Karten, keine erzwungene Farbe. */
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-method-index__grid article,
  .amh-method-process__grid article,
  .amh-method-use__grid article,
  .amh-method-fit__grid article,
  .amh-method-faq__items details
){border-radius:var(--amh-public-radius)!important}

/* Bilder bleiben redaktionell, nicht Web-App-artig. */
body.amh-rm-master-preview :is(
  .amh-rollout-hero__visual,
  .amh-family-hero__visual,
  .amh-youth-hero__visual,
  .amh-andreas-hero__portrait,
  .amh-counselling-hero figure,
  .amh-praxis-hero figure,
  .amh-method-hero figure,
  .amh-method-visual-break figure
){overflow:hidden;border-radius:clamp(20px,2vw,28px)!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 var(--amh-public-focus)!important;outline-offset:3px!important}

@media(max-width:782px){
  body.amh-rm-master-preview{--amh-public-radius:24px}
  body.amh-rm-master-preview :is(.amh-master-btn,.amh-family-btn){min-height:48px!important}
}
