/*
 * Angleichung an Avada 6.1 nach dem Update auf Avada 7.15: was die neue Version anders
 * darstellt, wird hier auf das alte Aussehen zurückgesetzt. Wird nur mit Avada 7.15 oder neuer
 * geladen (functions.php).
 */

/* Schriften: Avada 6.1 hat Muli und Raleway in der damaligen Fassung geladen (Dateien in fonts/,
   identisch mit uploads/fusion-gfonts der Live-Seite). Avada 7.15 nennt Muli in Mulish um und
   lädt neuere Fassungen beider Schriften; das ist abgeschaltet (functions.php), hier stehen
   wieder die alten. Mulish bleibt wie bisher den eigenen Regeln in main.css vorbehalten. */
@font-face{font-family:'Raleway';font-style:normal;font-display:block;font-weight:400;src:local('Raleway Regular'),local('Raleway-Regular'),url(fonts/1Ptug8zYS_SKggPN-CoCTqluHfE.ttf) format('truetype');}
@font-face{font-family:'Raleway';font-style:normal;font-display:block;font-weight:600;src:local('Raleway Semi-Bold'),local('Raleway-SemiBold'),url(fonts/1Ptrg8zYS_SKggPNwPIsaqFFAfif3Vo.ttf) format('truetype');}
@font-face{font-family:'Muli';font-style:normal;font-display:block;font-weight:300;src:local('Muli Light'),local('Muli-Light'),url(fonts/7Au_p_0qiz-adZnkCCL8zkwMIFg.ttf) format('truetype');}
@font-face{font-family:'Muli';font-style:normal;font-display:block;font-weight:400;src:local('Muli Regular'),local('Muli-Regular'),url(fonts/7Auwp_0qiz-aTTXMLCrX0kU.ttf) format('truetype');}
@font-face{font-family:'Muli';font-style:italic;font-display:block;font-weight:400;src:local('Muli Italic'),local('Muli-Italic'),url(fonts/7Au-p_0qiz-afTfGKAjSwkUVOQ.ttf) format('truetype');}
@font-face{font-family:'Muli';font-style:normal;font-display:block;font-weight:700;src:local('Muli Bold'),local('Muli-Bold'),url(fonts/7Au_p_0qiz-adYnjCCL8zkwMIFg.ttf) format('truetype');}
@font-face{font-family:'Muli';font-style:italic;font-display:block;font-weight:700;src:local('Muli Bold Italic'),local('Muli-BoldItalic'),url(fonts/7Au9p_0qiz-afTf-lCf2ym4JMFge0g.ttf) format('truetype');}
:root {
	--body_typography-font-family: Muli, Arial, Helvetica, sans-serif;
	--mobile_menu_typography-font-family: Muli;
	--faq_accordion_content_typography-font-family: Muli;
}

/* Avada 7.15 setzt die Großschreibung an Überschriften selbst (aus den Typografie-Optionen,
   hier leer). Avada 6.1 hat sie vom umgebenden Element geerbt (wp-content/custom/main.css). */
.acts-style h1, .acts-style h2, .acts-style h3, .acts-style h4, .acts-style h5, .acts-style h6,
.acts-style .fusion-rollover-title,
.page-id-15 .fusion-post-content.post-content h2 {
	text-transform: inherit !important;
}

/* Titel-Elemente: Avada 6.1 gab links- und rechtsbündigen Überschriften 8px Abstand zur
   Trennlinie, außer bei Titeln ohne Linie (fusion-sep-none) und mit Linie darunter. Avada 7.15
   setzt ihn immer auf 0, die Zeilen im Blocksatz liefen dadurch breiter. */
.fusion-body #wrapper .fusion-title:not(.fusion-sep-none):not(.fusion-border-below-title):not(.tg-titel-schmal) :is(h1, h2, h3, h4, h5, h6).title-heading-left {
	padding: 0 8px 0 0;
}
.fusion-body #wrapper .fusion-title:not(.fusion-sep-none):not(.fusion-border-below-title):not(.tg-titel-schmal) :is(h1, h2, h3, h4, h5, h6).title-heading-right {
	padding: 0 0 0 8px;
}

/* Titel, die fast so breit sind wie ihr Bereich (Klasse aus angleichung.js, wie
   fusion-border-below-title in Avada 6.1): als Block, ohne Abstand und ohne Trennlinie. */
.fusion-body .fusion-title.tg-titel-schmal {
	display: block;
}
.fusion-body .fusion-title.tg-titel-schmal .title-sep-container {
	display: none;
}

/* Titel-Elemente auf dem Handy: Avada 6.1 kannte keine eigenen Handy-Abstände, Avada 7.15
   setzt dort die Standardwerte (oben 0, unten 20px). Wie früher die normalen Abstände. */
@media only screen and (max-width: 640px) {
	.fusion-body .fusion-title {
		margin-top: var(--awb-margin-top-medium) !important;
		margin-right: var(--awb-margin-right-medium) !important;
		margin-bottom: var(--awb-margin-bottom-medium) !important;
		margin-left: var(--awb-margin-left-medium) !important;
	}
}

/* Slider: Avada 7.15 setzt eine eigene Titelgröße (z. B. 120px) an den Titel-Block statt an die
   Überschrift und zeigt den Block nicht mehr als Inline-Block. Die Zeile wurde dadurch so hoch
   wie die Titelgröße und der Text verrutschte. Wie in Avada 6.1: Block in Grundschrift, die
   Überschrift behält die Titelgröße (eigene Regeln in main.css gehen weiter vor). */
.fusion-body .tfs-slider .slide-content-container .fusion-title.fusion-sep-none {
	display: inline-block;
}
.fusion-body .tfs-slider .slide-content-container .fusion-title {
	font-size: inherit;
}
:where(.tfs-slider .slide-content-container .fusion-title) > .fusion-title-heading {
	font-size: var(--awb-font-size) !important;
}

/* Kontaktformular: unter dem Senden-Knopf stand in Avada 6.1 der unsichtbare Lade-Kreis von
   Contact Form 7 in einer eigenen Zeile. Avada 7.15 ersetzt ihn durch einen ausgeblendeten
   eigenen Lader, die Zeile fehlte. Platzhalter in Größe des alten Kreises. */
.wpcf7-form p:has(> .wpcf7-submit)::after {
	content: "";
	display: inline-block;
	position: relative;
	width: 24px;
	height: 24px;
	margin: 0 24px;
	visibility: hidden;
}

/* Fußzeile: Widget-Titel wie in Avada 6.1 in Großbuchstaben */
.fusion-footer-widget-area .widget-title {
	text-transform: uppercase !important;
}

/* Bild-Elemente: Avada 7.15 legt um jedes Bild einen Rahmen mit Zeilenhöhe 1. Vorher saß das
   Bild direkt in der Spalte und erbte die Zeilenhöhe der Seite (40px), die Lücke unter dem Bild
   war dadurch größer. */
.fusion-body .fusion-image-element {
	line-height: inherit;
}
