/*
 * Korrekturen gegenüber dem Original-Theme (Mobil-/Tablet-Darstellung, Fehler).
 * Wird nach allen Theme- und Seiten-Styles geladen.
 */

/* Leere Media-Grids (Galerie lieferte im Original keine Bilder) ausblenden */
.vc_grid-container-wrapper {
	display: none !important;
}

/* Lange Wörter in Überschriften trennen statt über den Rand laufen zu lassen */
h1, h2, h3, h4 {
	overflow-wrap: break-word;
	hyphens: auto;
}

/* ---------------------------------------------------------- Tablet & Handy */
@media (max-width: 991px) {
	/* Logo auf der Startseite: Einblend-Animation startet auf Mobilgeräten nie → sofort zeigen */
	.ult-animation.ult-no-mobile {
		opacity: 1 !important;
	}

	/* Separator-Überschriften: Linien dürfen schrumpfen, Text darf umbrechen */
	.vc_separator h2 {
		white-space: normal;
		max-width: 80%;
	}
	.vc_separator .vc_sep_holder {
		min-width: 20px;
	}
}

/* ---------------------------------------------------------- Handy */
@media (max-width: 767px) {
	/* Niedrigerer Logo-Kopf, damit der Inhalt früher beginnt */
	.page-header {
		height: 150px !important;
	}
	.page-header .page-header_icon img {
		max-width: 220px;
		height: auto;
	}
	.default-page-container,
	.posts-container {
		padding-top: 20px;
	}

	/* Abstandshalter des Page-Builders auf dem Handy begrenzen */
	.ult-spacer {
		max-height: 30px;
	}

	/* Überschriften kleiner */
	.vc_separator h2,
	.wpb_content_element h2 {
		font-size: 28px;
		line-height: 1.2;
	}
	.vc_separator h2 {
		max-width: 100%;
		padding: 0 !important;
	}
	.vc_separator .vc_sep_holder {
		display: none;
	}

	/* Buttons untereinander in voller Breite statt versetzt links/mitte/rechts */
	.vc_btn3-container.vc_btn3-left,
	.vc_btn3-container.vc_btn3-center,
	.vc_btn3-container.vc_btn3-right {
		text-align: center;
		margin-top: 0 !important;
		margin-bottom: 15px;
	}
	.vc_btn3-container > .vc_btn3 {
		display: block;
		width: 100%;
		padding-top: 15px;
		padding-bottom: 15px;
	}

	/* Kontaktformular: gleichmäßige, kleinere Abstände zwischen den Feldern */
	.wpcf7-form .row > [class*="col-"] p,
	.wpcf7-form .wpcf7-submit_wrap p {
		margin: 0 0 12px;
	}
	.wpcf7-form .row > [class*="col-"] {
		margin-bottom: 0;
		padding-bottom: 0;
	}
	.wpcf7-form .wpcf7-text,
	.wpcf7-form .wpcf7-textarea {
		margin-bottom: 0;
	}

	/* Startseite: sehr große Innenabstände (Logo 150px, Textbereiche 100/80px) verkleinern */
	.home .vc_custom_1585751887344 {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}
	.home .wpb_single_image img {
		max-width: 90%;
	}
	.home .vc_custom_1585752170180 {
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}
	.home .vc_custom_1426669393698 {
		padding-top: 50px !important;
		padding-bottom: 50px !important;
	}

	/* Footer: Einträge untereinander, gut antippbar, E-Mail ohne Umbruch */
	.site-footer .copyright-sep {
		display: none;
	}
	.site-footer .copyright-item {
		display: block;
	}
	.site-footer .copyright a {
		display: inline-block;
		padding: 12px 0;
		white-space: nowrap;
	}
	.site-footer .move-top {
		margin-top: 10px;
	}
}
