/* AM HORIZONT Redesign Manager 0.28.0
 * Typografie-Vertrag für Redesign, 404 und gemeinsamen Footer.
 * Ziel: weich, modern, ruhig lesbar. Keine zusätzliche externe Font-Anfrage.
 * Primärschrift bleibt Nunito; Fallbacks sind native Systemschriften.
 */

body.amh-rm-master-preview .amh-master-page,
body.amh-rm-master-preview .amh-hub,
body.amh-rm-master-preview .amh-topic,
body.amh-rm-master-preview .amh-andreas,
body.amh-rm-master-preview .amh-praxis,
body.amh-rm-master-preview .amh-contact-master,
body.amh-rm-master-preview .amh-regional,
body.amh-rm-404 .amh-404,
.amh-site-footer{
  font-family:"Nunito","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  font-kerning:normal;
  text-rendering:optimizeLegibility;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* Fließtext: nicht zu dünn, nicht fett. Großzügige Zeilenhöhe und begrenzte Zeilenlänge. */
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 *),
body.amh-rm-master-preview .amh-hub p,
body.amh-rm-master-preview .amh-hub li,
body.amh-rm-master-preview .amh-topic p,
body.amh-rm-master-preview .amh-topic li,
body.amh-rm-master-preview .amh-andreas p,
body.amh-rm-master-preview .amh-andreas li,
body.amh-rm-master-preview .amh-praxis p,
body.amh-rm-master-preview .amh-praxis li,
body.amh-rm-master-preview .amh-contact-master p,
body.amh-rm-master-preview .amh-contact-master li,
body.amh-rm-master-preview .amh-regional p,
body.amh-rm-master-preview .amh-regional li,
body.amh-rm-404 .amh-404 p,
body.amh-rm-404 .amh-404 li{
  font-weight:400;
  letter-spacing:0;
  line-height:1.72;
  max-width:68ch;
  overflow-wrap:break-word;
}

/* Headlines: Nunito bleibt weich und rund. Weniger extreme Enge und weniger Schwarzgewicht. */
body.amh-rm-master-preview .amh-master-page h1:not(.amelia-v2-booking *),
body.amh-rm-master-preview .amh-hub h1,
body.amh-rm-master-preview .amh-topic h1,
body.amh-rm-master-preview .amh-andreas h1,
body.amh-rm-master-preview .amh-praxis h1,
body.amh-rm-master-preview .amh-contact-master h1,
body.amh-rm-master-preview .amh-regional h1,
body.amh-rm-404 .amh-404 h1{
  font-family:inherit;
  font-weight:800!important;
  letter-spacing:-.018em!important;
  line-height:1.06!important;
}

body.amh-rm-master-preview .amh-master-page h2:not(.amelia-v2-booking *),
body.amh-rm-master-preview .amh-hub h2,
body.amh-rm-master-preview .amh-topic h2,
body.amh-rm-master-preview .amh-andreas h2,
body.amh-rm-master-preview .amh-praxis h2,
body.amh-rm-master-preview .amh-contact-master h2,
body.amh-rm-master-preview .amh-regional h2,
body.amh-rm-404 .amh-404 h2,
.amh-site-footer h2{
  font-family:inherit;
  font-weight:800!important;
  letter-spacing:-.014em!important;
  line-height:1.11!important;
}

body.amh-rm-master-preview .amh-master-page h3:not(.amelia-v2-booking *),
body.amh-rm-master-preview .amh-hub h3,
body.amh-rm-master-preview .amh-topic h3,
body.amh-rm-master-preview .amh-andreas h3,
body.amh-rm-master-preview .amh-praxis h3,
body.amh-rm-master-preview .amh-contact-master h3,
body.amh-rm-master-preview .amh-regional h3,
body.amh-rm-404 .amh-404 h3,
.amh-site-footer h3{
  font-family:inherit;
  font-weight:700!important;
  letter-spacing:-.006em!important;
  line-height:1.22!important;
}

/* Hero darf markant sein, soll aber nicht gequetscht aussehen. */
.amh-master-hero h1,
.amh-rollout-hero h1,
.amh-hub-hero h1,
.amh-praxis-hero h1,
.amh-contact-hero h1{
  line-height:1.04!important;
  letter-spacing:-.016em!important;
  font-weight:800!important;
}

/* Kleine Labels bleiben erkennbar, ohne schreiende Versalien. */
body.amh-rm-master-preview .amh-master-eyebrow,
body.amh-rm-master-preview [class*="__eyebrow"]:not(.amelia-v2-booking *),
body.amh-rm-master-preview [class*="__kicker"]:not(.amelia-v2-booking *),
body.amh-rm-404 .amh-404__search label{
  font-weight:700!important;
  letter-spacing:.075em!important;
  line-height:1.45!important;
}

/* Bedienelemente: klar, aber nicht optisch hart. */
.amh-master-btn,
.amh-master-text-link,
.amh-site-footer__actions a,
.amh-site-footer__nav a,
.amh-site-footer__contact a,
.amh-rollout-anchor__inner a,
.amh-praxis-anchor a,
.amh-404__search button{
  font-weight:700!important;
}

/* Footer: gleiche Schriftfamilie und weichere Gewichtung wie die Seite. */
.amh-site-footer__brand-name strong{font-weight:700!important;letter-spacing:-.012em!important}
.amh-site-footer__brand-name small{font-weight:700!important;letter-spacing:.11em!important}
.amh-site-footer__brand>p:first-of-type{font-weight:600!important}
.amh-site-footer__brand-copy,
.amh-site-footer__decision p:not(.amh-site-footer__eyebrow),
.amh-site-footer__nav a,
.amh-site-footer__contact a,
.amh-site-footer__contact p{font-weight:400!important;letter-spacing:0!important}

/* Amelia bleibt typografisch vollständig beim Amelia Plugin. */

/* Smartphone: etwas mehr Luft in Überschriften und kein ultrafettes Schriftbild. */
@media(max-width:680px){
  body.amh-rm-master-preview .amh-master-page h1:not(.amelia-v2-booking *),
  body.amh-rm-master-preview .amh-hub h1,
  body.amh-rm-master-preview .amh-topic h1,
  body.amh-rm-master-preview .amh-andreas h1,
  body.amh-rm-master-preview .amh-praxis h1,
  body.amh-rm-master-preview .amh-contact-master h1,
  body.amh-rm-master-preview .amh-regional h1,
  body.amh-rm-404 .amh-404 h1{
    line-height:1.08!important;
    letter-spacing:-.012em!important;
    font-weight:800!important;
  }
  body.amh-rm-master-preview .amh-master-page h2:not(.amelia-v2-booking *),
  body.amh-rm-master-preview .amh-hub h2,
  body.amh-rm-master-preview .amh-topic h2,
  body.amh-rm-master-preview .amh-andreas h2,
  body.amh-rm-master-preview .amh-praxis h2,
  body.amh-rm-master-preview .amh-contact-master h2,
  body.amh-rm-master-preview .amh-regional h2,
  body.amh-rm-404 .amh-404 h2{
    line-height:1.13!important;
    letter-spacing:-.009em!important;
    font-weight:800!important;
  }
  body.amh-rm-master-preview .amh-master-page h3:not(.amelia-v2-booking *),
  body.amh-rm-master-preview .amh-hub h3,
  body.amh-rm-master-preview .amh-topic h3,
  body.amh-rm-master-preview .amh-andreas h3,
  body.amh-rm-master-preview .amh-praxis h3,
  body.amh-rm-master-preview .amh-contact-master h3,
  body.amh-rm-master-preview .amh-regional h3,
  body.amh-rm-404 .amh-404 h3{
    line-height:1.24!important;
    font-weight:700!important;
  }
}

/* Nutzer mit eigenem Textabstand dürfen die Seite vergrößern, ohne dass feste Höhen Text abschneiden. */
body.amh-rm-master-preview .amh-master-page p:not(.amelia-v2-booking *),
body.amh-rm-master-preview .amh-hub p,
body.amh-rm-master-preview .amh-topic p,
body.amh-rm-master-preview .amh-andreas p,
body.amh-rm-master-preview .amh-praxis p,
body.amh-rm-master-preview .amh-contact-master p,
body.amh-rm-master-preview .amh-regional p,
body.amh-rm-404 .amh-404 p{
  min-height:0;
}
