/*
 * Seiteninhalte, Nachbau der Elementor-Abschnitte.
 * Umbrüche wie Elementor: Tablet bis 1024 px, Mobil bis 767 px.
 * Elementor rechnet em im Abschnitt mit 18 px (Tablet) und 14 px (Mobil), daher feste px-Werte.
 * Erzeugt aus customers/interzoo-academy/altneu/bau/inhalt.css.tpl (Icons aus inc/icons.php).
 */

.izan-main .wp-block-post-content > * { margin-block: 0; }
@media (max-width: 767px) { .izan-nur-desktop { display: none !important; } }
@media (min-width: 768px) { .izan-nur-mobil { display: none !important; } }

@keyframes izanEinblenden { from { opacity: 0; } to { opacity: 1; } }

/* Knöpfe */
.izan-main .wp-block-button__link {
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 18px;
	line-height: 1.3;
	text-decoration: none;
	transition: background .3s, color .3s, border-color .3s;
}
.izan-btn--pfeil .wp-block-button__link::after,
.izan-btn__icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex: none;
}
.izan-btn--pfeil .wp-block-button__link { display: inline-flex; align-items: center; }
.izan-btn--pfeil .wp-block-button__link::after {
	content: "";
	margin-left: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Kopfbild mit Video */
.izan-hero.wp-block-cover {
	min-height: 500px;
	padding: 0;
	overflow: hidden;
	box-sizing: border-box;
}
.izan-hero .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1048px;
	color: #fff;
}
.izan-hero__inhalt { padding: 5% 40% 5% 0; }
.izan-hero__titel.wp-block-heading {
	margin: 0 0 20px;
	color: #fff;
	font-size: 35px;
	line-height: 1.3;
	font-weight: 700;
}
.izan-hero__unter.wp-block-heading {
	margin: 0 0 20px;
	color: #fff;
	font-family: var(--wp--preset--font-family--open-sans);
	font-size: 28px;
	line-height: 1.3;
	font-weight: 400;
}
/* padding statt margin: der Abstand der Überschrift darüber würde sonst zusammenfallen */
.izan-hero__knopf { margin-top: 0; padding-top: 10px; }
.izan-btn-hero .wp-block-button__link {
	padding: 18px;
	border: 1px solid #fff;
	border-radius: 8px;
	background: linear-gradient(100deg, #006748 0%, #50AE30 100%);
	box-shadow: 0 0 30px 0 rgba(0, 0, 0, .5);
	color: #fff;
	font-weight: 500;
}
.izan-btn-hero .wp-block-button__link:hover,
.izan-btn-hero .wp-block-button__link:focus-visible {
	background: linear-gradient(140deg, #50AE30 0%, #006748 100%);
	color: #fff;
}
html[lang^="de"] .izan-nur-desktop .izan-hero__titel { animation: izanEinblenden 1.25s .2s both; }
html[lang^="de"] .izan-nur-desktop .izan-hero__unter { animation: izanEinblenden 1.25s .5s both; }
@media (prefers-reduced-motion: reduce) {
	html[lang^="de"] .izan-nur-desktop .izan-hero__titel,
	html[lang^="de"] .izan-nur-desktop .izan-hero__unter { animation: none; }
}

/* Abschnitt Events */
.izan-events { padding: 118px 10px; }
.izan-events > * { max-width: 1120px; margin-inline: auto; }
.izan-events__alle { justify-content: center; margin-top: 20px; }
.izan-btn-rahmen .wp-block-button__link {
	padding: 12px 24px;
	border: 1px solid #50AE30;
	border-radius: 8px;
	background: #fff;
	color: #50AE30;
	font-weight: 400;
}
.izan-btn-rahmen .wp-block-button__link:hover,
.izan-btn-rahmen .wp-block-button__link:focus-visible { color: #006748; }

/* Event-Karten (Block izan/event-karten) */
.izan-karten {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 35px;
	align-items: start;
	padding: 17.5px 0;
}
.izan-karte__kopf {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 280px;
	background-color: #50AE30;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.izan-karte__kopf::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(190deg, #50AE30 0%, #006748 100%);
	mix-blend-mode: multiply;
	filter: brightness(1.63) contrast(.76);
}
.izan-karte__titelbox,
.izan-karte__inhalt {
	position: relative;
	flex: 1;
	min-width: 0; /* long words overflow like in the old Elementor widget instead of widening the box */
	margin: 0 10% 0 5%;
	background: #fff;
}
.izan-karte__titelbox { padding: 4% 3% 1% 4%; border-radius: 5px 5px 0 0; }
/* Old listing on phones: Elementor's widget wrap kept width 100% and let the side margins overflow. */
@media (max-width: 767px) {
	.izan-karten--jet .izan-karte__titelbox,
	.izan-karten--jet .izan-karte__inhalt { flex: none; width: 100%; box-sizing: border-box; }
}
.izan-karte__inhalt { padding: 8% 3% 5% 4%; }
/* .izan-karten prefix: on converted Elementor pages the kit sets h2 sizes (.elementor-kit-19 h2) */
.izan-karten .izan-karte__titel {
	margin: 0;
	color: #000;
	font-size: 25.92px;
	line-height: 1;
}
.izan-karte__badge {
	position: absolute;
	top: -182px;
	left: -6px;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	border: 1px solid #fff;
	background: rgba(255, 255, 255, .81);
	color: #fff;
	font-size: 15px;
	line-height: 1;
}
.izan-karte__badge .izan-icon { width: 1em; height: 1em; }
.izan-karte__text {
	margin-bottom: 20px;
	color: #000;
	font-size: 18px;
	line-height: 1.3;
}
.izan-btn.izan-btn--rahmen {
	display: inline-flex;
	align-items: center;
	gap: 21px;
	margin-top: 5%;
	padding: 10px 20px;
	border: 1px solid #006748;
	border-radius: 1px;
	background: #fff;
	color: #50AE30;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	transition: background .3s, color .3s;
}
.izan-btn.izan-btn--rahmen:hover,
.izan-btn.izan-btn--rahmen:focus-visible { background: #006748; color: #fff; }

/* Newsletter-Band */
.izan-newsletter.wp-block-cover {
	min-height: 300px;
	padding: 0;
	box-sizing: border-box;
}
.izan-newsletter .wp-block-cover__inner-container {
	width: 100%;
	max-width: 875px;
	padding: 10px;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
}
.izan-newsletter__titel.wp-block-heading {
	margin: 0 0 10px;
	color: #fff;
	font-size: 28px;
	line-height: 1.3;
}
.izan-newsletter__text {
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 25px;
}
.izan-newsletter__knopf { justify-content: center; }
.izan-btn-newsletter .wp-block-button__link {
	padding: 12px 24px;
	border: 1px solid #fff;
	border-radius: 8px;
	background: #006748;
	color: #fff;
	font-weight: 700;
}

/* Abschnitt Über die Academy mit FAQ */
.izan-about { padding: 126px 0; }
.izan-about > * { max-width: 1012px; margin-inline: auto; }
.izan-about__titel.wp-block-heading {
	margin-top: 0;
	margin-bottom: 20px;
	color: #000;
	font-size: 37.332px;
	line-height: 1.3;
}
.izan-about__spalten.wp-block-columns {
	gap: 0;
	margin-bottom: 0;
	flex-wrap: nowrap;
}
.izan-about__spalten > .wp-block-column:first-child { padding: 5px; }
.izan-about__spalten > .wp-block-column:last-child { padding: 10px; }
@media (min-width: 768px) {
	.izan-about__spalten.wp-block-columns > .wp-block-column { flex: 0 0 50% !important; box-sizing: border-box; }
}
.izan-chevron-liste {
	margin: 0;
	padding: 0;
	list-style: none;
	color: #000;
	font-size: 18px;
	line-height: 1.6;
}
.izan-chevron-liste li { display: flex; align-items: center; }
.izan-chevron-liste li:not(:last-child) { padding-bottom: 10px; }
.izan-chevron-liste li:not(:first-child) { margin-top: 10px; }
.izan-chevron-liste li::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	margin-right: 8.5px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.izan-bild-schatten { margin: 0; }
.izan-bild-schatten img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 18px 18px 0 0 #50AE30;
}
.izan-about__faq.wp-block-heading {
	margin-top: 25px;
	margin-bottom: 20px;
	color: #000;
	font-size: 31.104px;
	line-height: 1.3;
}
.izan-faq { padding-bottom: 50px; }
.izan-faq-frage.wp-block-details { margin: 0; }
.izan-faq-frage summary {
	display: flex;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #D5D8DC;
	color: #000;
	font-size: 18px;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}
.izan-faq-frage summary::-webkit-details-marker { display: none; }
.izan-faq-frage summary::before {
	content: "";
	flex: none;
	width: 18px;
	height: 20px;
	margin-right: 11px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 512'%3E%3Cpath d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E") center / auto 18px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 192 512'%3E%3Cpath d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E") center / auto 18px no-repeat;
}
.izan-faq-frage[open] summary { color: #006748; }
.izan-faq-frage[open] summary::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z'/%3E%3C/svg%3E");
}
.izan-faq-frage > :not(summary) {
	margin: 0;
	padding: 15px 0 15px 50px;
	border-bottom: 1px solid #D5D8DC;
	color: #000;
	font-size: 18px;
	line-height: 25px;
}

/* Tablet */
@media (max-width: 1024px) {
	/* !important gegen die Inline-Mindesthöhe des Cover-Blocks */
	.izan-hero.izan-nur-desktop { min-height: 536px !important; padding: 18px; }
	.izan-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.izan-newsletter.wp-block-cover { min-height: 336px !important; padding: 18px; }
	.izan-about { padding: 126px 36px; }
}

/* Mobil */
@media (max-width: 767px) {
	.izan-hero.wp-block-cover { min-height: 528px !important; padding: 14px; }
	.izan-hero--mobil .izan-hero__inhalt { padding: 0; }
	.izan-hero--mobil .izan-hero__knopf { padding-top: 0; }
	/* EN-Abschnitt ohne mobilen Innenabstand, dafür Spalte mit 1em */
	html[lang^="en"] .izan-hero--mobil.wp-block-cover { min-height: 500px !important; padding: 0; }
	html[lang^="en"] .izan-hero--mobil .izan-hero__inhalt { padding: 14px; }
	.izan-hero--mobil .izan-btn-hero .wp-block-button__link { border-radius: 5px; text-align: center; }
	html[lang^="en"] .izan-hero--mobil .izan-btn-hero .wp-block-button__link { border-radius: 8px; }
	.izan-events { padding: 94px 10px; }
	/* EN-Original: mobiler Abstand 6px/1px (Einheit px statt em), so übernommen */
	html[lang^="en"] .izan-events { padding: 16px 11px; }
	.izan-karten { grid-template-columns: minmax(0, 1fr); }
	.izan-newsletter.wp-block-cover { min-height: 328px !important; padding: 14px; }
	.izan-about { padding: 98px 28px; }
	.izan-about__spalten.wp-block-columns { flex-wrap: wrap; }
	.izan-faq-frage summary { padding: 10px; font-size: 24px; }
	.izan-faq-frage summary::before { margin-right: 24px; }
	.izan-faq-frage > :not(summary) { padding-left: 25px; }
}

/* Event-Karten mit fester Auswahl (Partner-Seiten): JetEngine-Raster, 3 Spalten in allen Breiten,
   Eintrag mit 10/10/40 px Innenabstand (Kit-CSS .jet-listing-grid__item) */
.izan-karten.izan-karten--jet {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0;
	margin: 0 -10px;
	padding: 0;
}
.izan-karten--jet > .izan-karte {
	box-sizing: border-box;
	width: 33.3333%;
	padding: 10px 10px 40px;
}
