/* === Webfonts (korrekte Pfade relativ zu /assets/) === */
@font-face {
  font-family: 'Raleway';
  src: url('../wpscripts/wp324dc571.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Raleway';
  src: url('../wpscripts/wpcc7adcf5.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* === Basis === */
html, body { margin:0; background:#c5dcea; overflow-x:hidden; -webkit-text-size-adjust:100%; }
#wrap { position:relative; width:100%; height:1200px; } /* Höhe wird per JS überschrieben */
#divMain { position:relative; width:1599px; margin:0; background:transparent; }

/* === Menü-Objekte: Optik + Font-Konsistenz === */
.OBJ-1, .OBJ-1:link, .OBJ-1:visited,
.OBJ-3, .OBJ-3:link, .OBJ-3:visited {
  background-color:transparent; text-decoration:none; display:block; position:absolute;
}
.OBJ-1 span, .OBJ-3 span {
  color:#7f7f7f; font-family:Raleway, sans-serif !important; font-weight:normal;
  text-transform:uppercase; font-size:18px; line-height:23px;
  position:absolute; left:4px; top:3px; display:block;
}
/* Hover/Active – IMMER Raleway beibehalten */
.OBJ-1:hover span, .OBJ-3:hover span,
.OBJ-1:active span, .OBJ-3:active span,
.OBJ-1.Activated span, .OBJ-3.Activated span,
.OBJ-1.Down span, .OBJ-3.Down span,
.OBJ-1.Disabled span, .OBJ-3.Disabled span {
  font-family:Raleway, sans-serif !important;
}

/* === Typo – Überschriften & Fließtext angleichen === */
h1, h2, h3, h4 {
  font-family: Raleway, sans-serif !important;
  font-weight: 700 !important;
  color: #535353;
  line-height: 1.25;
}
#divMain p, #divMain li {
  font-family: Raleway, sans-serif !important;
  font-weight: 400 !important;
  color: #535353;
}

/* (alte WebPlus-Klassen – line-height-Fix gegen Überlappungen) */
.P-1, .P-2, .P-3, .P-4, .P-5 { line-height: 1.35 !important; }
.P-1 { margin: 0 0 0.6em 0 !important; }
.P-2 { margin: 0.8em 0 0.4em 0 !important; }
.P-3 { margin: 0 0 0.9em 0 !important; }

/* Listen sauber einrücken */
.DefaultParagraph.P-4 { margin: 0 0 0.5em 0 !important; text-indent:0 !important; }
ul { list-style: disc outside; padding-left: 1.4em !important; margin: 0 0 1em 0 !important; }
li { margin: 0 0 0.4em 0 !important; }

/* === (Optional) Original C-Klassen – falls verwendet === */
.C-1 { font-family:"Raleway",sans-serif; font-weight:700; color:#535353; font-size:32px; line-height:1.2; }
.C-2 { font-family:"Raleway",sans-serif; font-weight:700; color:#535353; font-size:21.3px; line-height:1.3; }
.C-3 { font-family:"Verdana",sans-serif; color:#000; font-size:16px; line-height:1.4; }  /* darf bleiben, wird von p/li übersteuert */

/* === Ebenen (Z-Index) – Header sicher oben === */
#img_1 { z-index:0!important; }                           /* großer Hintergrund */
img[src*="wpa78041e4_06.png"] { z-index:5!important; }    /* hoher Deko-Rahmen */
div[style*="left:224px"][style*="top:323px"] { z-index:15!important; } /* linkes Menü */
div[style*="left:709px"][style*="top:339px"] { z-index:20!important; } /* Content */
#pageHeader { z-index:100!important; }                     /* Header immer oben */
/* === Einheitliche Typografie auf allen Seiten === */

/* Basis für alle Texte innerhalb des Hauptcontainers */
#divMain, 
#divMain p, 
#divMain li, 
#divMain h1, 
#divMain h2, 
#divMain h3, 
#divMain h4, 
#divMain span {
  font-family: 'Raleway', sans-serif !important;
  color: #535353 !important;
}

/* Überschriften-Stufen klar trennen */
#divMain h1, 
#divMain h2, 
#divMain h3, 
#divMain h4 {
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #535353 !important;
}

/* Fließtext normal (kein Fett) */
#divMain p, 
#divMain li, 
#divMain span {
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

/* Bullet-Listen und Abstände wie bei Bowen */
ul {
  list-style: disc outside;
  padding-left: 1.4em !important;
  margin: 0 0 1em 0 !important;
}
li {
  margin: 0 0 0.4em 0 !important;
  text-indent: 0 !important;
}

/* iOS Textzoom verhindern */
html { -webkit-text-size-adjust: 100%; }

/* --- 1) Alles im Haupt-Container konsequent auf Raleway stellen --- */
#divMain, #divMain * {
  font-family: 'Raleway', sans-serif !important;
  color: #535353 !important;
}

/* --- 2) Überschriften normalisieren --- */
#divMain h1, #divMain h2, #divMain h3, #divMain h4 {
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* WebPlus nutzt h3 für Fließtext: NICHT fett darstellen */
#divMain h3.Mengentext-Raleway {
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0 0 0.9em 0 !important;
}

/* --- 3) Listen & Absätze (bleibt wie bei Bowen) --- */
.P-1, .P-2, .P-3, .P-4, .P-5 { line-height: 1.35 !important; }
.P-1 { margin: 0 0 0.6em 0 !important; }
.P-2 { margin: 0.8em 0 0.4em 0 !important; }
.P-3 { margin: 0 0 0.9em 0 !important; }

ul { list-style: disc outside; padding-left: 1.4em !important; margin: 0 0 1em 0 !important; }
li { margin: 0 0 0.4em 0 !important; text-indent: 0 !important; }

/* iOS Textzoom verhindern */
html { -webkit-text-size-adjust: 100%; }

/* Notbremse gegen alte Verdana-Klasse */
#divMain .C-3 { font-family: 'Raleway', sans-serif !important; }

/* ===== WebPlus-Textklassen überall auf Raleway zwingen (inkl. verschachtelter Spans) ===== */
#divMain .Mengentext-Raleway,
#divMain .Mengentext-Raleway * ,
#divMain .Körper,
#divMain .Körper * ,
#divMain .Überschrift-1,
#divMain .Überschrift-1 * ,
#divMain .Überschrift-2,
#divMain .Überschrift-2 * ,
#divMain .C-1, #divMain .C-2, #divMain .C-3,
#divMain .C-1 *, #divMain .C-2 *, #divMain .C-3 * {
  font-family: 'Raleway', sans-serif !important;
  color: #535353 !important;
}

/* Fließtext-„h3“ (WebPlus nutzt h3 als Absatz): nicht fett & wie Body setzen */
#divMain h3.Mengentext-Raleway {
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0 0 0.9em 0 !important;
}

/* H2-Stil wie gewohnt – falls deine .Überschrift-2 Spans nutzt */
#divMain .Überschrift-2 span {
  font-weight: 700 !important;
  font-size: 21.3px !important;
  line-height: 1.3 !important;
}

/* Notbremse gegen alte Verdana-Definitionen in WebPlus-Klassen */
#divMain .C-3 { font-family: 'Raleway', sans-serif !important; }
