/*
 * APC – Schneller sichtbarer Seitenaufbau (bisheriges Coaching-Theme)
 *
 * 1. Kein Preloader: Das Theme zeigte bis zu 5 Sekunden einen weißen Bildschirm mit Ladekreis,
 *    bis jedes Bild und Skript geladen war.
 * 2. Header im normalen Fluss: Das Theme legt den Header absolut über die Seite und schiebt den
 *    Inhalt erst nach dem vollständigen Laden per JavaScript nach unten. Ohne Preloader würde
 *    die Seite dabei sichtbar springen. So steht alles sofort an der richtigen Stelle.
 */
#preload { display: none !important; }
#masthead.site-header { position: relative !important; top: auto !important; }
.content-pusher { padding-top: 0 !important; }

/*
 * Slider und Karussells des Themes (Thim) erst per Skript aufgebaut.
 * Damit nichts springt, zeigen wir sie schon vorher in ihrer endgültigen Größe.
 */

/* Runder Bild-Slider: zunächst nur das mittlere Bild, rund und in Endgröße */
.thim-round-slider:not(.thim-content-slider) {
	display: flex !important;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}
.thim-round-slider:not(.thim-content-slider) > .item:not(:first-child) { display: none !important; }
.thim-round-slider:not(.thim-content-slider) > .item .image {
	width: min(400px, 66vw);
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	background: #e5e5ea;
}
.thim-round-slider:not(.thim-content-slider) > .item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thim-round-slider:not(.thim-content-slider) .icon { display: none !important; }

/* Kundenmeinungen: zunächst nur die erste Meinung */
.thim-round-testimonial-slider:not(.thim-content-slider) > .item:not(:first-child) { display: none !important; }
.thim-round-testimonial-slider:not(.thim-content-slider) > .item { text-align: center; }
.thim-round-testimonial-slider:not(.thim-content-slider) > .item .image img {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
}

/* Logo-Karussell: Logos von Anfang an nebeneinander statt untereinander */
.thim-carousel-wrapper:not(.owl-loaded) {
	display: flex !important;
	flex-wrap: nowrap;
	overflow: hidden;
}
.thim-carousel-wrapper:not(.owl-loaded) > .item { flex: 0 0 50%; text-align: center; }
@media (max-width: 767px) { .thim-carousel-wrapper:not(.owl-loaded) { padding-bottom: 27px; } }
@media (min-width: 768px) { .thim-carousel-wrapper:not(.owl-loaded) > .item { flex-basis: 33.333%; } }
@media (min-width: 1025px) { .thim-carousel-wrapper:not(.owl-loaded) > .item { flex-basis: 12.5%; } }
.thim-carousel-wrapper:not(.owl-loaded) > .item img { display: inline-block; max-width: 100%; height: auto; }
