.ipa-button-wrap {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ipa-button {
	--button-bg: #050507;
	--button-accent: #f62c3d;
	box-sizing: border-box;
	width: auto;
	max-width: 100%;
	min-height: 52px;
	padding: 0 20px 0 24px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(12px, 2.5vw, 24px);
	color: #fff;
	background: var(--button-bg);
	border: 0;
	text-decoration: none;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-weight: 700;
	font-size: clamp(13px, 2.4vw, 15px);
	line-height: 1.15;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	transition: transform 180ms ease, background 180ms ease;
	-webkit-appearance: none;
	appearance: none;
}

.ipa-button:hover,
.ipa-button:focus-visible {
	background: var(--button-accent);
	color: #fff;
	transform: translateX(4px);
}

.ipa-button:focus-visible {
	outline: 3px solid rgba(246, 44, 61, 0.28);
	outline-offset: 4px;
}

.ipa-button__label,
.ipa-button__arrow {
	display: inline-flex;
	align-items: center;
}

.ipa-button__label {
	min-width: 0;
	flex: 1 1 auto;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.ipa-button__arrow {
	flex: 0 0 auto;
	font-size: 14px;
	line-height: 1;
}

.ipa-button--soft-cut-top-left {
	border-radius: 20px 4px 4px 4px;
}

.ipa-button--soft-cut-top-right,
.ipa-button--soft-cut-top {
	border-radius: 4px 20px 4px 4px;
}

.ipa-button--soft-cut-bottom-left {
	border-radius: 4px 4px 4px 20px;
}

.ipa-button--soft-cut-bottom-right,
.ipa-button--soft-cut {
	border-radius: 4px 4px 20px 4px;
}

.ipa-button--angle-cut {
	border-radius: 0;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}

.ipa-button--offset-pill {
	border-radius: 999px 4px 4px 999px;
}

@media (max-width: 1024px) {
	.ipa-button {
		min-height: 50px;
		padding: 0 18px 0 22px;
	}

	.ipa-button--angle-cut {
		clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
	}
}

@media (max-width: 767px) {
	.ipa-button-wrap {
		display: flex;
	}

	.ipa-button {
		width: 100%;
		min-height: 48px;
		padding: 12px 16px 12px 18px;
		gap: 14px;
	}

	.ipa-button:hover,
	.ipa-button:focus-visible {
		transform: none;
	}

	.ipa-button--soft-cut-top-left {
		border-radius: 16px 4px 4px 4px;
	}

	.ipa-button--soft-cut-top-right,
	.ipa-button--soft-cut-top {
		border-radius: 4px 16px 4px 4px;
	}

	.ipa-button--soft-cut-bottom-left {
		border-radius: 4px 4px 4px 16px;
	}

	.ipa-button--soft-cut-bottom-right,
	.ipa-button--soft-cut {
		border-radius: 4px 4px 16px 4px;
	}

	.ipa-button--angle-cut {
		clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ipa-button {
		transition: none;
	}

	.ipa-button:hover,
	.ipa-button:focus-visible {
		transform: none;
	}
}

/* -------------------------------------------------------------------------
   IPA CTA Box / Partnerprogramm-Kachel
   ------------------------------------------------------------------------- */

.ipa-cta-box-module,
.ipa-cta-box-module * {
	box-sizing: border-box;
}

.ipa-cta-box-module {
	--ipa-cta-accent: #f00000;
	position: relative;
	width: 100%;
	max-width: 500px;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	isolation: isolate;
}

/* Technische Linien im Hintergrund */
.ipa-cta-box-module::before,
.ipa-cta-box-module::after {
	content: "";
	position: absolute;
	z-index: -1;
	height: 42px;
	width: 150px;
	border-top: 2px solid rgba(240, 0, 0, 0.55);
	border-right: 2px solid rgba(240, 0, 0, 0.55);
	pointer-events: none;
}

.ipa-cta-box-module::before {
	top: 42px;
	right: -105px;
	transform: skewX(35deg);
}

.ipa-cta-box-module::after {
	right: -75px;
	bottom: 100px;
	transform: rotate(180deg) skewX(35deg);
}

.ipa-cta-box-wrap {
	--ipa-cta-shadow-x: 0px;
	--ipa-cta-shadow-y: 18px;
	--ipa-cta-shadow-blur: 35px;
	--ipa-cta-shadow-color: rgba(28, 32, 38, 0.12);
	width: 100%;
	filter: drop-shadow(
		var(--ipa-cta-shadow-x) var(--ipa-cta-shadow-y) var(--ipa-cta-shadow-blur) var(--ipa-cta-shadow-color)
	);
}

.ipa-cta-box-wrap.ipa-cta-box-wrap--no-shadow {
	filter: none;
}

.ipa-cta-box {
	--ipa-cta-cut: 48px;
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 42px;
	background: #ffffff;
	clip-path: polygon(
		0 0,
		calc(100% - var(--ipa-cta-cut)) 0,
		100% var(--ipa-cta-cut),
		100% 100%,
		0 100%
	);
}

/* Dezenter roter Akzent */
.ipa-cta-box::after {
	content: "";
	position: absolute;
	top: 0;
	left: 42px;
	width: 62px;
	height: 4px;
	background: var(--ipa-cta-accent, #f00000);
}

.ipa-cta-box__eyebrow {
	display: block;
	margin: 0 0 14px;
	color: var(--ipa-cta-accent, #f00000);
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.ipa-cta-box__title {
	margin: 0 0 12px;
	color: #222429;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: clamp(27px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.025em;
}

.ipa-cta-box__description {
	margin: 0 0 26px;
	max-width: 420px;
	color: #5c6067;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
}

.ipa-cta-box__features {
	display: grid;
	gap: 10px;
	margin: 0 0 26px;
	padding: 0;
	list-style: none;
}

.ipa-cta-box__feature {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 16px;
	color: #3d4046;
	background: #f7f7f7;
	border: 0;
	border-radius: 13px;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
}

.ipa-cta-box__feature-icon {
	display: inline-flex !important;
	flex: 0 0 28px;
	align-items: center;
	justify-content: center;
	width: 28px !important;
	min-width: 28px;
	height: 28px !important;
	margin-right: 13px;
	color: var(--ipa-cta-accent, #f00000) !important;
	line-height: 0;
	opacity: 1 !important;
	visibility: visible !important;
}

.ipa-cta-box__feature-icon svg,
.ipa-cta-box__feature-icon .ipa-cta-icon {
	display: block !important;
	width: 23px !important;
	height: 23px !important;
	stroke: currentColor;
	fill: none;
	opacity: 1 !important;
	visibility: visible !important;
}

.ipa-cta-box__feature-icon svg path,
.ipa-cta-box__feature-icon svg circle,
.ipa-cta-box__feature-icon svg rect {
	stroke: currentColor !important;
	fill: none !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.ipa-cta-box__feature-icon svg circle[fill="currentColor"],
.ipa-cta-box__feature-icon svg [fill="currentColor"] {
	fill: currentColor !important;
	stroke: none !important;
}

.ipa-cta-box__feature-text {
	color: #3d4046;
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.ipa-cta-box__button {
	--ipa-cta-button-slant: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 54px;
	padding: 14px 25px;
	overflow: hidden;
	color: #ffffff;
	background: var(--ipa-cta-accent, #f00000);
	font-family: "Bai Jamjuree", Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.025em;
	text-decoration: none;
	text-transform: uppercase;
	border: 0;
	border-radius: 17px 3px 3px 17px;
	clip-path: polygon(0 0, calc(100% - var(--ipa-cta-button-slant)) 0, 100% 100%, 0 100%);
	box-shadow: 0 8px 18px rgba(240, 0, 0, 0.22);
	transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ipa-cta-box__button:hover,
.ipa-cta-box__button:focus-visible {
	color: #ffffff;
	background: #d90000;
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(240, 0, 0, 0.3);
	filter: none;
}

.ipa-cta-box__button:focus-visible {
	outline: 3px solid rgba(240, 0, 0, 0.3);
	outline-offset: 4px;
}

.ipa-cta-box__button-label,
.ipa-cta-box__button-arrow {
	display: inline-flex;
	align-items: center;
}

.ipa-cta-box__button-arrow {
	flex: 0 0 auto;
	margin-left: 18px;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	transition: transform 180ms ease;
}

.ipa-cta-box__button:hover .ipa-cta-box__button-arrow {
	transform: translateX(5px);
}

@media (max-width: 1024px) {
	.ipa-cta-box-module::before,
	.ipa-cta-box-module::after,
	.ipa-partner-module::before,
	.ipa-partner-module::after {
		display: none;
	}
}

@media (max-width: 767px) {
	.ipa-cta-box-module {
		max-width: 100%;
	}

	.ipa-cta-box {
		--ipa-cta-cut: 34px;
		padding: 34px 24px 26px;
	}

	.ipa-cta-box::after {
		left: 24px;
	}

	.ipa-cta-box__description {
		font-size: 15px;
	}

	.ipa-cta-box__button {
		padding: 13px 19px;
		font-size: 13px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ipa-cta-box__button,
	.ipa-cta-box__button-arrow {
		transition: none;
	}
}

/* -------------------------------------------------------------------------
   IPA CTA BTN – circular scroll / CTA button
   ------------------------------------------------------------------------- */

@keyframes ipa-cta-btn-fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.ipa-cta-btn-wrap {
	position: relative;
	width: 100%;
	opacity: 0;
	animation: ipa-cta-btn-fade-in 0.8s ease forwards;
	animation-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
	.ipa-cta-btn-wrap {
		opacity: 1;
		animation: none;
	}
}

.elementor-editor-active .ipa-cta-btn-wrap,
.elementor-edit-area .ipa-cta-btn-wrap {
	opacity: 1;
	animation: none;
}

.ipa-cta-btn {
	--ipa-cta-btn-border: #ffffff;
	box-sizing: border-box;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 24px 24px 24px 25px;
	color: var(--e-global-color-secondary, #ffffff);
	background-color: #ff000d;
	border-style: solid;
	border-width: 1px;
	border-color: var(--e-global-color-secondary, #ffffff);
	border-radius: 100px;
	text-decoration: none;
	line-height: 0;
	transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ipa-cta-btn:hover,
.ipa-cta-btn:focus-visible {
	color: var(--e-global-color-secondary, #ffffff);
	transform: translateY(3px);
}

.ipa-cta-btn:focus-visible {
	outline: 3px solid rgba(255, 0, 13, 0.28);
	outline-offset: 4px;
}

.ipa-cta-btn__icon {
	display: block;
	width: 28px;
	height: 28px;
	color: inherit;
	overflow: visible;
}

.ipa-cta-btn__icon path {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* -------------------------------------------------------------------------
   IPA Lottie
   ------------------------------------------------------------------------- */

.elementor-widget-ipa_lottie,
.elementor-widget-ipa_lottie > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
}

.ipa-lottie-wrap,
.ipa-lottie-link,
.ipa-lottie,
.elementor-widget-ipa_lottie {
	pointer-events: auto !important;
}

.ipa-lottie-wrap {
	display: flex !important;
	width: 100% !important;
	max-width: 100%;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
}

.ipa-lottie-align-left .ipa-lottie-wrap,
.ipa-lottie-align-left > .elementor-widget-container {
	justify-content: flex-start !important;
}

.ipa-lottie-align-center .ipa-lottie-wrap,
.ipa-lottie-align-center > .elementor-widget-container {
	justify-content: center !important;
}

.ipa-lottie-align-right .ipa-lottie-wrap,
.ipa-lottie-align-right > .elementor-widget-container {
	justify-content: flex-end !important;
}

@media (max-width: 1024px) {
	.ipa-lottie-tablet-align-left .ipa-lottie-wrap,
	.ipa-lottie-tablet-align-left > .elementor-widget-container {
		justify-content: flex-start !important;
	}

	.ipa-lottie-tablet-align-center .ipa-lottie-wrap,
	.ipa-lottie-tablet-align-center > .elementor-widget-container {
		justify-content: center !important;
	}

	.ipa-lottie-tablet-align-right .ipa-lottie-wrap,
	.ipa-lottie-tablet-align-right > .elementor-widget-container {
		justify-content: flex-end !important;
	}
}

@media (max-width: 767px) {
	.ipa-lottie-mobile-align-left .ipa-lottie-wrap,
	.ipa-lottie-mobile-align-left > .elementor-widget-container {
		justify-content: flex-start !important;
	}

	.ipa-lottie-mobile-align-center .ipa-lottie-wrap,
	.ipa-lottie-mobile-align-center > .elementor-widget-container {
		justify-content: center !important;
	}

	.ipa-lottie-mobile-align-right .ipa-lottie-wrap,
	.ipa-lottie-mobile-align-right > .elementor-widget-container {
		justify-content: flex-end !important;
	}
}

.ipa-lottie-wrap--placeholder {
	min-height: 93px;
	padding: 16px;
	border: 1px dashed #c9c9c9;
	border-radius: 8px;
	color: #666;
	font-size: 13px;
	text-align: center;
}

.ipa-lottie-link {
	display: inline-flex;
	line-height: 0;
	text-decoration: none;
	color: inherit;
}

.ipa-lottie {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 93px;
	height: 93px;
	aspect-ratio: 1 / 1;
	max-width: 100%;
	box-sizing: border-box;
	line-height: 0;
	overflow: hidden;
	flex: 0 0 auto;
}

.ipa-lottie svg,
.ipa-lottie canvas {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
}

.ipa-lottie-wrap--circle .ipa-lottie {
	--ipa-lottie-icon-size: 64%;
	background-color: #ececec;
	border-radius: 50% !important;
	-webkit-border-radius: 50% !important;
	overflow: hidden !important;
	aspect-ratio: 1 / 1;
	padding: 0;
}

.ipa-lottie-wrap--circle .ipa-lottie svg,
.ipa-lottie-wrap--circle .ipa-lottie canvas {
	width: var(--ipa-lottie-icon-size) !important;
	height: var(--ipa-lottie-icon-size) !important;
	max-width: var(--ipa-lottie-icon-size) !important;
	max-height: var(--ipa-lottie-icon-size) !important;
	margin: auto;
	flex: 0 0 auto;
}

.ipa-lottie-wrap--no-circle .ipa-lottie {
	background-color: transparent;
	border-radius: 0 !important;
	padding: 0;
}

.ipa-lottie--loaded {
	opacity: 1;
	visibility: visible;
}

.ipa-lottie svg,
.ipa-lottie canvas {
	opacity: 1 !important;
	visibility: visible !important;
}

@media (max-width: 767px) {
	.ipa-lottie {
		max-width: min(100%, 100vw);
	}
}

/* -------------------------------------------------------------------------
   IPA Title – heading with gradient accent circle
   ------------------------------------------------------------------------- */

.elementor-widget-ipa_title,
.elementor-widget-ipa_title > .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	overflow: visible;
}

.ipa-title-wrap {
	display: flex;
	width: 100%;
	max-width: 100%;
	justify-content: flex-start;
	align-items: center;
	box-sizing: border-box;
	overflow: visible;
}

.ipa-title-align-left .ipa-title-wrap,
.ipa-title-align-left > .elementor-widget-container {
	justify-content: flex-start !important;
}

.ipa-title-align-center .ipa-title-wrap,
.ipa-title-align-center > .elementor-widget-container {
	justify-content: center !important;
}

.ipa-title-align-right .ipa-title-wrap,
.ipa-title-align-right > .elementor-widget-container {
	justify-content: flex-end !important;
}

@media (max-width: 1024px) {
	.ipa-title-tablet-align-left .ipa-title-wrap,
	.ipa-title-tablet-align-left > .elementor-widget-container {
		justify-content: flex-start !important;
	}

	.ipa-title-tablet-align-center .ipa-title-wrap,
	.ipa-title-tablet-align-center > .elementor-widget-container {
		justify-content: center !important;
	}

	.ipa-title-tablet-align-right .ipa-title-wrap,
	.ipa-title-tablet-align-right > .elementor-widget-container {
		justify-content: flex-end !important;
	}
}

@media (max-width: 767px) {
	.ipa-title-mobile-align-left .ipa-title-wrap,
	.ipa-title-mobile-align-left > .elementor-widget-container {
		justify-content: flex-start !important;
	}

	.ipa-title-mobile-align-center .ipa-title-wrap,
	.ipa-title-mobile-align-center > .elementor-widget-container {
		justify-content: center !important;
	}

	.ipa-title-mobile-align-right .ipa-title-wrap,
	.ipa-title-mobile-align-right > .elementor-widget-container {
		justify-content: flex-end !important;
	}
}

.ipa-title {
	--ipa-title-accent-image: none;
	--ipa-title-accent-x: -6%;
	--ipa-title-accent-y: -35%;
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin: 0;
	padding: 0.2em 0.15em 0.15em 0.2em;
	box-sizing: border-box;
	color: #000000;
	font-family: "IPAustria", Arial, sans-serif;
	font-size: 64px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	overflow-wrap: anywhere;
	word-break: break-word;
	z-index: 1;
}

.ipa-title__mark {
	position: relative;
	display: inline-block;
	z-index: 1;
}

.ipa-title__mark::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 1em;
	height: 1em;
	left: 50%;
	top: 50%;
	transform: translate(
		calc(-50% + var(--ipa-title-accent-x, -6%)),
		calc(-50% + var(--ipa-title-accent-y, -35%))
	);
	background-image: var(--ipa-title-accent-image);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	/* Drop the black square around Ellipse-new.png on light backgrounds */
	mix-blend-mode: screen;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.ipa-title {
		font-size: 48px;
	}
}

@media (max-width: 767px) {
	.ipa-title {
		font-size: 36px;
		padding: 0.25em 0.12em 0.12em 0.18em;
	}
}
