/* Einheitliche Schriftgrößen auf allen Seiten (Nils 17.11.2026: „alle Seiten auf die gleichen Schriftgrößen für Überschriften und
   normalen Text auf das normale Portal-Format“). Gilt für die Portalseiten und die aus Prototypen erzeugten Module (E-Mail, Kalender,
   Protokolle, Fuhrpark, Tourenplanung, Mein Konto …). Ausgenommen sind Druck- und PDF-Vorschauen (A4-Blätter) und der Monitor.
   Werte: Seitentitel 28, Kartenüberschrift 17, Zwischenüberschrift 15, Fließtext 16, Knöpfe 15, kleine Knöpfe 13 (alle fett außer Text).
   Dazu „Normal“ am PC (Maus, breiter Bildschirm) auf 90 % wie Browser-Zoom 90 %; „Groß“ und „Sehr groß“ bleiben wie bisher. */

body:not(.monitor) .inhalt h1:not(:is(.pg, .vdBlatt, .blatt, .inhalt .seite, .hzrahmen, .druck, .printed, .tpBlatt) h1) {
  font-size: 28px !important; line-height: 1.2 !important; font-weight: 700 !important; letter-spacing: normal !important;
}
body:not(.monitor) .inhalt h2:not(:is(.pg, .vdBlatt, .blatt, .inhalt .seite, .hzrahmen, .druck, .printed, .tpBlatt) h2) {
  font-size: 17px !important; line-height: 1.3 !important; font-weight: 700 !important;
}
body:not(.monitor) .inhalt h3:not(:is(.pg, .vdBlatt, .blatt, .inhalt .seite, .hzrahmen, .druck, .printed, .tpBlatt) h3) {
  font-size: 15px !important; line-height: 1.35 !important; font-weight: 700 !important;
}
body:not(.monitor) .inhalt :is(button, a, input, label).btn:not(.sm):not(.gross):not(:is(.pg, .vdBlatt, .blatt, .inhalt .seite, .hzrahmen, .druck, .printed) *) {
  font-size: 15px !important; font-weight: 600 !important;
}
body:not(.monitor) .inhalt .btn.sm:not(:is(.pg, .vdBlatt, .blatt, .inhalt .seite, .hzrahmen, .druck, .printed) *) {
  font-size: 13px !important; font-weight: 600 !important;
}
/* Fließtext der Module wie im Portal */
body:not(.monitor) .inhalt :is(.px, .modul-ablage, .modul-konto) { font-size: 16px; }
/* Unterzeile unter dem Seitentitel */
body:not(.monitor) .inhalt .pagehead > p { font-size: 15px !important; }

/* „Normal“ am PC wie 90 % */
@media screen and (min-width: 1100px) and (pointer: fine) {
  html[data-schrift="normal"] body:not(.monitor) { zoom: .9; }
  /* „vh“ wird mitverkleinert: Höhen, die den Bildschirm füllen sollen, durch 0,9 teilen (100vh / 0,9 = 111,111vh) */
  html[data-schrift="normal"] body:not(.monitor) { min-height: 111.111vh; }
  html[data-schrift="normal"] body:not(.monitor) .seitenleiste { height: calc(111.111vh - 78px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .hilfe .hinhalt { max-height: calc(111.111vh - 100px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .hzrahmen { height: calc(111.111vh - 110px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .inhalt:has(.menuereiter) .hzrahmen { height: calc(111.111vh - 168px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .px.rollen .rollenliste { max-height: calc(111.111vh - 24px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .modul-ablage .dlg { max-height: calc(111.111vh - 32px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .fsapp, html[data-schrift="normal"] body:not(.monitor) .modul-tour { min-height: calc(111.111vh - 150px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .mxapp .mailwrap { height: calc(111.111vh - 215px) !important; }
  html[data-schrift="normal"] body:not(.monitor) .mxapp .week { max-height: calc(111.111vh - 250px) !important; }
}
@media print { html body { zoom: 1 !important; } }
