/* IMMOBILIEN-PROFI Meeting 2026: ticket sales update (change order 30.09.2026) */

:root {
	--ipm-red: #bf143f;
	--ipm-red-dark: #98082c;
	--ipm-text: #464646;
	--ipm-muted: #6b6b6b;
	--ipm-line: #e5e5e5;
	--ipm-soft: #f4f4f4;
	--ipm-pink: #fcecf1;
	--ipm-ok-bg: #e8f4ec;
	--ipm-ok: #1e6a3b;
	--ipm-radius: 18px;
}

/* ---------- Shared ---------- */
/* Home page sections are built from standard Enfold elements; styling hooks are their custom classes. */

/* Plain buttons outside the layout builder (mobile ticket bar) */
#top .ipm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 26px;
	border: 2px solid var(--ipm-red);
	border-radius: 10px;
	background: var(--ipm-red);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s, border-color .2s, color .2s;
}

#top .ipm-btn:hover,
#top .ipm-btn:focus-visible {
	background: var(--ipm-red-dark);
	border-color: var(--ipm-red-dark);
	color: #fff;
}

#top .ipm-btn--secondary {
	background: #fff;
	color: var(--ipm-red);
}

#top .ipm-btn--secondary:hover,
#top .ipm-btn--secondary:focus-visible {
	background: var(--ipm-pink);
	border-color: var(--ipm-red);
	color: var(--ipm-red);
}

#top .ipm-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

/* Temporary October offer, remove after 31.10.2026 (text block "ipm-special", span in the form) */
#top #wrap_all span.ipm-special,
#top #wrap_all .avia_textblock.ipm-special p {
	display: inline-block;
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff4cc;
	color: #6b4e00;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}

#top #wrap_all span.ipm-special {
	margin-top: 8px;
}

#top #wrap_all .ipm-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

#top #wrap_all .avia_textblock.ipm-section-title h2 {
	margin: 0 0 8px;
	color: var(--ipm-text);
	font-size: clamp(26px, 2.4vw, 34px);
	line-height: 1.2;
}

/* Enfold buttons: outline variant and matching height for the filled one */
#top #wrap_all .avia-button-wrap.ipm-btn-secondary .avia-button,
#top #wrap_all .avia-button-wrap.ipm-btn-primary .avia-button {
	border: 2px solid var(--ipm-red);
}

#top #wrap_all .avia-button-wrap.ipm-btn-secondary .avia-button {
	background: #fff;
	color: var(--ipm-red);
}

#top #wrap_all .avia-button-wrap.ipm-btn-secondary .avia-button:hover {
	background: var(--ipm-pink);
}

/* ---------- 1/2 Hero ---------- */
/* Live hero rows kept. Left cell: its background image (cell options) is the photo; it is
   extended under the curve, the red wedge sits on top and the logo element top left. */
#top #wrap_all .ipm-hero-row {
	position: relative;
	overflow: hidden;
}

#top #wrap_all .ipm-hero-row .flex_cell.ipm-hero-media-cell {
	position: relative;
	overflow: visible;
}

#top #wrap_all .ipm-hero-row .flex_cell.ipm-hero-media-cell::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 180%;
	background: inherit;
	background-size: cover;
	background-position: right center;
	z-index: 0;
}

#top #wrap_all .ipm-hero-row .flex_cell.ipm-hero-media-cell::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 152%;
	height: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V0H96C93 18 88 28 78 30C60 33 28 46 0 80Z' fill='%23bf143f'/%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	z-index: 1;
}

#top #wrap_all .ipm-hero-row .ipm-hero-media-cell .flex_cell_inner {
	position: relative;
	z-index: 2;
}

#top #wrap_all .ipm-hero-row .flex_cell.ipm-hero-text-cell {
	position: relative;
	z-index: 3;
}

#top #wrap_all .avia-image-container.ipm-hero-logo img {
	width: 210px;
	max-width: 100%;
	border-radius: 0;
}

/* Text elements of the hero (desktop and mobile row) */
#top #wrap_all .ipm-hero-text-cell .av_textblock_section,
#top #wrap_all .ipm-hero-text-cell .avia-button-wrap {
	margin-bottom: 16px;
}

#top #wrap_all .ipm-hero-text-cell .avia_textblock p,
#top #wrap_all .ipm-hero-text-cell .avia_textblock h1 {
	margin: 0;
}

#top #wrap_all .avia_textblock.ipm-hero-kicker p {
	color: var(--ipm-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

#top #wrap_all .avia_textblock.ipm-hero-title h1 {
	color: var(--ipm-text);
	font-size: clamp(28px, 2.5vw, 40px);
	line-height: 1.15;
	font-weight: 700;
}

#top #wrap_all .avia_textblock.ipm-hero-lead p {
	font-size: 18px;
	line-height: 1.5;
}

#top #wrap_all .avia_textblock.ipm-hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
}

#top #wrap_all .avia_textblock.ipm-hero-facts p {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
}

#top #wrap_all .avia_textblock.ipm-hero-facts p::before {
	content: "";
	width: 20px;
	height: 20px;
	flex: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf143f' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat center / contain;
}

#top #wrap_all .avia_textblock.ipm-hero-facts p + p::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bf143f' stroke-width='2'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
}

#top #wrap_all .ipm-hero-text-cell .ipm-hero-price {
	margin-top: -6px;
}

#top #wrap_all .avia_textblock.ipm-hero-price p {
	color: var(--ipm-muted);
	font-size: 14px;
}

#top #wrap_all .avia_textblock.ipm-hero-proof {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
}

#top #wrap_all .avia_textblock.ipm-hero-proof p:first-child {
	display: flex;
}

#top #wrap_all .avia_textblock.ipm-hero-proof p:first-child img {
	width: 46px;
	height: 46px;
	margin: 0 0 0 -10px;
	border: 3px solid #fff;
	border-radius: 50%;
	object-fit: cover;
}

#top #wrap_all .avia_textblock.ipm-hero-proof p:first-child img:first-child {
	margin-left: 0;
}

#top #wrap_all .avia_textblock.ipm-hero-proof p + p {
	flex: 1 1 240px;
	overflow: hidden;
	color: var(--ipm-muted);
	font-size: 13px;
	line-height: 1.4;
}

#top #wrap_all .avia_textblock.ipm-hero-proof p + p img {
	float: left;
	width: 40px;
	height: 40px;
	margin: 0 10px 0 0;
	border-radius: 50%;
	object-fit: cover;
}

#top #wrap_all .avia_textblock.ipm-hero-proof p + p strong {
	color: var(--ipm-text);
	font-size: 15px;
}

/* Tablet and phone use the live mobile row; without the red swoosh the longer text stays on white (draft 2) */
@media (max-width: 989px) {
	#top #wrap_all .av-layout-grid-container.ipm-hero-row-mobile {
		background: #fff;
	}

	#top #wrap_all .ipm-hero-row-mobile .flex_cell.ipm-hero-text-cell {
		background-image: none;
	}
}

@media (max-width: 767px) {
	#top #wrap_all .ipm-hero-row-mobile .flex_cell.ipm-hero-text-cell {
		padding: 24px 20px;
	}

	#top #wrap_all .ipm-hero-text-cell .av_textblock_section,
	#top #wrap_all .ipm-hero-text-cell .avia-button-wrap {
		margin-bottom: 14px;
	}

	#top #wrap_all .avia_textblock.ipm-hero-kicker p {
		font-size: 12px;
	}

	#top #wrap_all .avia_textblock.ipm-hero-title h1 {
		font-size: 27px;
	}

	#top #wrap_all .avia_textblock.ipm-hero-facts {
		flex-direction: column;
		gap: 4px;
	}

	#top #wrap_all .avia-button-wrap.ipm-hero-btn {
		display: block;
	}

	#top #wrap_all .avia-button-wrap.ipm-hero-btn .avia-button {
		display: block;
		width: 100%;
	}

	#top #wrap_all .avia_textblock.ipm-hero-lead p {
		font-size: 16px;
	}
}

/* ---------- 4 Speakers ---------- */

#top #wrap_all .flex_column.ipm-speaker {
	margin-bottom: 32px;
}

#top #wrap_all .avia-image-container.ipm-speaker-img {
	margin-bottom: 14px;
}

#top #wrap_all .avia-image-container.ipm-speaker-img .avia-image-container-inner,
#top #wrap_all .avia-image-container.ipm-speaker-img .avia-image-overlay-wrap {
	display: block;
	width: 100%;
}

#top #wrap_all .avia-image-container.ipm-speaker-img img {
	width: 100%;
	height: auto;
	border-radius: var(--ipm-radius);
}

#top #wrap_all .avia_textblock.ipm-speaker-text p {
	margin: 0 0 4px;
	font-size: 16px;
	line-height: 1.45;
}

#top #wrap_all .avia_textblock.ipm-speaker-text p:first-child {
	color: var(--ipm-red);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

#top #wrap_all .avia_textblock.ipm-speaker-text strong {
	color: var(--ipm-text);
	font-size: 18px;
}

#top #wrap_all .flex_column.ipm-actions .avia-button-wrap {
	margin: 0 14px 14px 0;
}

/* ---------- 3 Prices and 5 Testimonials: equal height cards ---------- */

#top #wrap_all .ipm-prices-section .entry-content-wrapper,
#top #wrap_all .ipm-quotes-section .entry-content-wrapper,
#top #wrap_all .ipm-prices-section .av-column-wrapper-individual,
#top #wrap_all .ipm-quotes-section .av-column-wrapper-individual {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

#top #wrap_all .ipm-prices-section .entry-content-wrapper > *,
#top #wrap_all .ipm-quotes-section .entry-content-wrapper > * {
	flex: 0 0 100%;
}

#top #wrap_all .flex_column.ipm-price,
#top #wrap_all .flex_column.ipm-quote {
	flex: 0 0 auto;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	margin-top: 20px;
}

#top #wrap_all .flex_column.ipm-price--featured {
	box-shadow: 0 10px 30px rgba(191, 20, 63, .12);
}

#top #wrap_all .avia_textblock.ipm-price-text h3 {
	margin: 0 0 10px;
	color: var(--ipm-text);
	font-size: 20px;
}

#top #wrap_all .avia_textblock.ipm-price-text p {
	margin: 0;
	color: var(--ipm-muted);
	font-size: 14px;
}

#top #wrap_all .avia_textblock.ipm-price-text p strong {
	color: var(--ipm-text);
	font-size: 38px;
	line-height: 1.1;
}

#top #wrap_all .avia_textblock.ipm-price-text p + p {
	margin: 8px 0 16px;
	font-size: 15px;
}

#top #wrap_all .flex_column.ipm-price .ipm-special {
	margin-bottom: 16px;
}

#top #wrap_all .flex_column.ipm-price .avia-button-wrap {
	display: block;
	margin-top: auto;
}

#top #wrap_all .flex_column.ipm-price .avia-button {
	display: block;
	width: 100%;
	text-align: center;
}

#top #wrap_all .avia_textblock.ipm-note p {
	margin: 22px 0 0;
	color: var(--ipm-muted);
	font-size: 15px;
}

#top #wrap_all .avia_textblock.ipm-quote-text p {
	margin: 0 0 20px;
	color: var(--ipm-text);
	font-size: 17px;
	line-height: 1.55;
}

#top #wrap_all .flex_column.ipm-quote > section:last-child {
	margin-top: auto;
}

#top #wrap_all .avia_textblock.ipm-quote-person p {
	overflow: hidden;
	margin: 0;
	color: var(--ipm-muted);
	font-size: 14px;
	line-height: 1.35;
}

#top #wrap_all .avia_textblock.ipm-quote-person img {
	float: left;
	width: 52px;
	height: 52px;
	margin: 0 12px 0 0;
	border-radius: 50%;
	object-fit: cover;
}

#top #wrap_all .avia_textblock.ipm-quote-person strong {
	display: block;
	color: var(--ipm-text);
	font-size: 16px;
}

#top #wrap_all .avia_textblock.ipm-more p {
	margin: 24px 0 0;
}

#top #wrap_all .avia_textblock.ipm-more a {
	color: var(--ipm-red);
	font-weight: 600;
	text-decoration: none;
}

/* ---------- 7 Ticket page intro ---------- */

#top #wrap_all .ipm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 0 !important;
	padding: 0;
	list-style: none;
	font-size: 15px;
}

#top #wrap_all .ipm-chips li {
	margin: 0 !important;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .16);
	list-style: none;
}

#top #wrap_all .ipm-chips a {
	color: #fff;
	text-decoration: underline;
}

/* ---------- 11 What's included (text block "ipm-included": first list = included, second = not included) ---------- */

#top #wrap_all .avia_textblock.ipm-included {
	padding: 32px;
	border-radius: 30px;
	background: #fff;
	color: var(--ipm-text);
}

#top #wrap_all .avia_textblock.ipm-included h3 {
	margin: 0 0 16px;
	color: var(--ipm-text);
	font-size: 22px;
}

#top #wrap_all .avia_textblock.ipm-included ul {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	font-size: 16px;
}

#top #wrap_all .avia_textblock.ipm-included ul li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 28px;
	list-style: none;
}

#top #wrap_all .avia_textblock.ipm-included ul li::before {
	content: "✓";
	position: absolute;
	left: 2px;
	top: 0;
	color: var(--ipm-red);
	font-weight: 700;
}

#top #wrap_all .avia_textblock.ipm-included ul + ul li {
	color: var(--ipm-muted);
}

#top #wrap_all .avia_textblock.ipm-included ul + ul li::before {
	content: "–";
	color: var(--ipm-muted);
}

#top #wrap_all .avia_textblock.ipm-included p {
	margin: 18px 0 0;
}

#top #wrap_all .avia_textblock.ipm-included a {
	color: var(--ipm-red);
	font-weight: 600;
}

/* Show "included" box above the form on phones (columns stack there) */
@media (max-width: 989px) {
	#top #wrap_all .ipm-ticket-section .entry-content-wrapper {
		display: flex;
		flex-direction: column;
	}

	#top #wrap_all .ipm-ticket-section .ipm-col-included {
		order: 1;
		margin-bottom: 24px;
	}

	#top #wrap_all .ipm-ticket-section .ipm-col-form,
	#top #wrap_all .ipm-ticket-section .ipm-col-after {
		order: 2;
	}
}

/* ---------- 8–12 Ticket form ---------- */

#top #wrap_all .ipm-form-step {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 34px 0 16px;
	color: var(--ipm-red);
	font-size: 19px;
	font-weight: 700;
}

#top #wrap_all .ipm-form-step:first-child {
	margin-top: 8px;
}

#top #wrap_all .ipm-form-step span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ipm-red);
	color: #fff;
	font-size: 15px;
}

#top #wrap_all .ipm-ok-note {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--ipm-ok-bg);
	color: var(--ipm-ok);
	font-size: 15px;
	line-height: 1.45;
}

#top #wrap_all .ipm-ticket {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	grid-template-areas: "icon info price" "icon info qty";
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 12px;
	padding: 16px 18px;
	border: 1px solid var(--ipm-line);
	border-radius: 14px;
	background: #fff;
}

#top #wrap_all .ipm-ticket--featured {
	border-color: #f3c6d3;
	background: var(--ipm-pink);
}

#top #wrap_all .ipm-ticket__icon {
	grid-area: icon;
	align-self: start;
	color: var(--ipm-red);
}

#top #wrap_all .ipm-ticket__info {
	grid-area: info;
	align-self: center;
}

#top #wrap_all .ipm-ticket__icon svg {
	display: block;
	width: 36px;
	height: 36px;
}

#top #wrap_all .ipm-ticket__name {
	display: block;
	color: var(--ipm-text);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

#top #wrap_all .ipm-ticket__who {
	display: block;
	color: var(--ipm-muted);
	font-size: 14px;
	line-height: 1.4;
}

#top #wrap_all .ipm-ticket__price {
	grid-area: price;
	text-align: right;
	white-space: nowrap;
}

#top #wrap_all .ipm-ticket__amount {
	display: block;
	color: var(--ipm-red);
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

#top #wrap_all .ipm-ticket__per {
	display: block;
	color: var(--ipm-muted);
	font-size: 12px;
	line-height: 1.35;
}

#top .wpcf7 form label.ipm-ticket__qty {
	grid-area: qty;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin: 0;
	font-size: 12px;
	color: var(--ipm-muted);
}

#top .wpcf7 form .ipm-ticket__qty .wpcf7-form-control-wrap .wpcf7-form-control {
	width: 56px;
	margin: 0;
	padding: 8px 4px;
	text-align: center;
	font-size: 17px;
	font-weight: 700;
	-moz-appearance: textfield;
}

#top #wrap_all .ipm-ticket__qty input::-webkit-outer-spin-button,
#top #wrap_all .ipm-ticket__qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#top #wrap_all .ipm-stepper {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
}

#top #wrap_all .ipm-stepper button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--ipm-line);
	border-radius: 8px;
	background: #fff;
	color: var(--ipm-red);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

#top #wrap_all .ipm-stepper button:disabled {
	opacity: .35;
	cursor: default;
}

#top #wrap_all .ipm-stepper .wpcf7-not-valid-tip {
	position: absolute;
	width: 200px;
	right: 0;
}

#top #wrap_all .ipm-ticket .wpcf7-form-control-wrap {
	position: relative;
}

#top #wrap_all .ipm-form-hint {
	margin: 4px 0 0;
	color: var(--ipm-muted);
	font-size: 14px;
}

#top #wrap_all .ipm-form-hint a {
	color: var(--ipm-red);
}

#top #wrap_all .ipm-participants-head {
	margin: 18px 0 8px;
	color: var(--ipm-text);
	font-size: 16px;
	font-weight: 700;
}

#top .wpcf7 .ipm-submit-row {
	margin-top: 22px;
}

#top .wpcf7 .ipm-submit-row .wpcf7-submit {
	width: 100%;
	padding: 14px 20px;
	font-size: 17px;
}

#top #wrap_all .ipm-submit-hint {
	margin: 10px 0 0;
	color: var(--ipm-muted);
	font-size: 14px;
	text-align: center;
}

#top .wpcf7 .ipm-remarks textarea {
	min-height: 0;
	height: 46px;
	resize: vertical;
}

#top .wpcf7 .ipm-accept {
	margin: 8px 0 0;
}

@media (max-width: 767px) {
	#top #wrap_all .ipm-ticket {
		grid-template-columns: 36px minmax(0, 1fr) auto;
		grid-template-areas: "icon info info" "price price qty";
		padding: 14px;
	}

	#top #wrap_all .ipm-ticket__icon svg {
		width: 30px;
		height: 30px;
	}

	#top #wrap_all .ipm-ticket__price {
		align-self: end;
		white-space: normal;
		text-align: left;
	}

	#top #wrap_all .ipm-ticket__amount {
		font-size: 23px;
	}

	#top .wpcf7 form label.ipm-ticket__qty {
		align-items: flex-end;
	}
}

/* ---------- 6 Mobile ticket bar ---------- */

#top .ipm-sticky {
	display: none;
}

@media (max-width: 767px) {
	#top .ipm-sticky {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 60px;
		padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--ipm-line);
		background: #fff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
		transform: translateY(110%);
		transition: transform .25s ease;
	}

	#top .ipm-sticky.is-visible {
		transform: translateY(0);
	}

	#top .ipm-sticky__date {
		color: var(--ipm-text);
		font-size: 15px;
		font-weight: 700;
	}

	#top .ipm-sticky .ipm-btn {
		min-height: 44px;
		padding: 10px 18px;
		font-size: 15px;
	}

	body.ipm-has-sticky #socket {
		padding-bottom: calc(68px + env(safe-area-inset-bottom));
	}
}

@media (prefers-reduced-motion: reduce) {
	#top .ipm-sticky {
		transition: none;
	}
}

/* 16: program slot hidden until title and speaker are confirmed */
#top #wrap_all .ipm-hidden {
	display: none !important;
}

/* 12: terms page, anchors land below the fixed header */
#top #wrap_all .avia_textblock.ipm-terms h3 {
	margin: 34px 0 10px;
	font-size: 22px;
	line-height: 1.3;
	scroll-margin-top: 140px;
}

#top #wrap_all .avia_textblock.ipm-terms h3:first-child {
	margin-top: 0;
}

#top #wrap_all .avia_textblock.ipm-terms p {
	font-size: 16px;
	line-height: 1.6;
}

@media (max-width: 767px) {
	#top #wrap_all .avia_textblock.ipm-terms-title h1 {
		font-size: 32px;
		hyphens: auto;
	}
}
