:root {
	--medlem-bg: #f6f3fb;
	--medlem-surface: #ffffff;
	--medlem-ink: #1f1730;
	--medlem-muted: #6d647a;
	--medlem-purple: #7047a8;
	--medlem-purple-dark: #4b2d72;
	--medlem-purple-soft: #ebe3f5;
	--medlem-line: rgba(75, 45, 114, 0.14);
}

.medlem-page,
.medlem-page .body,
.medlem-main {
	background: var(--medlem-bg);
}

.medlem-main {
	overflow: hidden;
}

.medlem-page .main {
	margin-bottom: 0;
}

.medlem-hero-wrapper,
.medlem-hero-slide {
	height: 100vh;
	min-height: 650px;
}

.medlem-hero-slide {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.medlem-hero-slide::before {
	background: linear-gradient(90deg, rgba(12, 8, 17, 0.84) 0%, rgba(22, 13, 31, 0.57) 48%, rgba(20, 13, 28, 0.14) 100%) !important;
}

.medlem-hero-content {
	max-width: 720px;
	padding: 0 0 clamp(6.5rem, 12vh, 9.5rem);
	color: #fff;
}

.medlem-hero-content .lag-hero-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 0.8rem;
	color: #d4a5f3;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.2;
	text-transform: uppercase;
}

.medlem-hero-content .lag-hero-kicker::before {
	content: "";
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 3px;
	border-radius: 99px;
	background: #a65bd4;
}

.medlem-eyebrow,
.home-sponsor-label {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.medlem-hero-content h1 {
	margin: 0.45rem 0 1rem;
	color: #fff;
	font-size: clamp(3.25rem, 7vw, 6.8rem);
	font-weight: 800;
	line-height: 0.94;
	letter-spacing: -0.055em;
}

.medlem-hero-content p {
	max-width: 620px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.medlem-content {
	padding: 100px 0 88px;
}

.medlem-intro-row {
	align-items: flex-start !important;
	margin-bottom: 90px;
}

.medlem-intro {
	padding: 18px 5vw 18px 0;
}

.medlem-eyebrow {
	margin-bottom: 12px;
	color: var(--medlem-purple);
}

.medlem-content h2 {
	margin: 0 0 22px;
	color: var(--medlem-ink);
	font-size: clamp(2rem, 3.5vw, 3.15rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.035em;
}

.medlem-richtext,
.medlem-section-heading p,
.medlem-join-card p,
.medlem-info-card,
.medlem-license-box p {
	color: var(--medlem-muted);
	font-size: 1rem;
	line-height: 1.85;
}

.medlem-join-card {
	position: relative;
	height: auto;
	min-height: 0;
	padding: 46px;
	border-radius: 24px;
	background: linear-gradient(145deg, #5b3584, #342047);
	box-shadow: 0 24px 55px rgba(59, 35, 84, 0.22);
	overflow: hidden;
}

.medlem-join-card::after {
	content: "";
	position: absolute;
	right: -70px;
	bottom: -90px;
	width: 240px;
	height: 240px;
	border: 46px solid rgba(255, 255, 255, 0.06);
	border-radius: 50%;
}

.medlem-join-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 24px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 1.35rem;
}

.medlem-join-card h2 {
	position: relative;
	z-index: 1;
	margin-bottom: 12px;
	color: #fff;
	font-size: 2rem;
}

.medlem-join-card p {
	position: relative;
	z-index: 1;
	max-width: 390px;
	margin-bottom: 28px;
	color: rgba(255, 255, 255, 0.78);
}

.medlem-primary-btn {
	position: relative;
	z-index: 1;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: var(--medlem-purple-dark) !important;
	font-weight: 700;
	box-shadow: none;
}

.medlem-primary-btn:hover {
	background: #ede4f7;
	transform: translateY(-2px);
}

.medlem-primary-btn i {
	margin-left: 8px;
}

.medlem-fees-section {
	max-width: 980px;
	margin: 0 auto;
}

.medlem-section-heading {
	margin-bottom: 36px;
	text-align: center;
}

.medlem-section-heading h2 {
	margin-bottom: 12px;
}

.medlem-section-heading p {
	margin: 0;
}

.medlem-toggle.toggle-simple .toggle {
	margin: 0 0 14px;
	border: 1px solid var(--medlem-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 9px 26px rgba(55, 38, 78, 0.055);
	overflow: hidden;
}

.medlem-toggle.toggle-simple .toggle > .toggle-title {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 78px;
	margin: 0;
	padding: 18px 62px 18px 22px;
	border: 0;
	color: var(--medlem-ink);
	font-size: 1.04rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.medlem-toggle.toggle-simple .toggle > .toggle-title::before {
	display: none !important;
}

.medlem-toggle.toggle-simple .toggle > .toggle-title::after {
	content: "\f078";
	position: absolute;
	top: 50%;
	right: 24px;
	left: auto !important;
	bottom: auto !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	font-family: "Font Awesome 5 Free";
	font-size: 0.82rem;
	font-weight: 900;
	line-height: 1 !important;
	color: var(--medlem-purple);
	transform: translateY(-50%);
	transition: transform 0.22s ease;
}

.medlem-toggle-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-right: 16px;
	border-radius: 12px;
	background: var(--medlem-purple-soft);
	color: var(--medlem-purple);
}

.medlem-toggle.toggle-simple .toggle.active > .toggle-title {
	background: linear-gradient(135deg, #694394, #4a2d6a);
	color: #fff;
}

.medlem-toggle.toggle-simple .toggle.active > .toggle-title::after {
	color: #fff;
	transform: translateY(-50%) rotate(180deg);
}

.medlem-toggle.toggle-simple .toggle.active .medlem-toggle-icon {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.medlem-toggle.toggle-simple .toggle > .toggle-content {
	padding: 22px 28px 28px;
	background: linear-gradient(180deg, #fff 0%, #fbf9fd 100%);
}

.medlem-price-list {
	display: grid;
	gap: 10px;
}

.medlem-price-row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid rgba(112, 71, 168, 0.11);
	border-radius: 13px;
	background: #f8f4fc;
	color: var(--medlem-ink);
}

.medlem-price-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: #fff;
	color: var(--medlem-purple);
	box-shadow: 0 5px 15px rgba(64, 39, 88, 0.07);
}

.medlem-price-name {
	font-weight: 650;
}

.medlem-price-amount {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.medlem-price-amount small {
	margin-bottom: 1px;
	color: #94899d;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.medlem-price-amount strong {
	color: var(--medlem-purple-dark);
	font-size: 1rem;
}

.medlem-extra-note {
	margin: 22px 0 0;
	color: var(--medlem-muted);
}

.medlem-content a:not(.btn) {
	color: var(--medlem-purple-dark);
	font-weight: 700;
}

.medlem-license-box {
	display: flex;
	gap: 20px;
	padding: 8px 2px 2px;
}

.medlem-license-icon,
.medlem-info-icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--medlem-purple-soft);
	color: var(--medlem-purple);
	font-size: 1.15rem;
}

.medlem-license-box h3 {
	margin: 2px 0 8px;
	color: var(--medlem-ink);
	font-size: 1.15rem;
	font-weight: 700;
}

.medlem-license-box p {
	margin-bottom: 12px;
}

.medlem-text-link i {
	margin-left: 6px;
	font-size: 0.78em;
}

.medlem-info-card {
	display: flex;
	gap: 20px;
	max-width: 980px;
	margin: 42px auto 0;
	padding: 26px 28px;
	border: 1px solid var(--medlem-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.7);
}

.medlem-neighbours {
	max-width: 980px;
	margin: 90px auto 0;
	padding-top: 54px;
	border-top: 1px solid var(--medlem-line);
}

.medlem-neighbours h2 {
	font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.home-sponsors {
	padding: 3rem 0;
	background: var(--medlem-bg);
}

.home-sponsor-label {
	display: block;
	margin-bottom: 1.5rem;
	color: #9b929f;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-align: center;
	text-transform: uppercase;
}

.home-sponsors .owl-carousel img {
	max-height: 78px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.6 !important;
	transition: 0.2s;
}

.home-sponsors .owl-carousel a:hover img {
	filter: none;
	opacity: 1 !important;
}

.medlem-page #footer {
	margin-top: 0 !important;
}

@media (max-width: 991px) {
	.medlem-content {
		padding: 78px 0 70px;
	}

	.medlem-intro {
		padding-right: 0;
	}

	.medlem-intro-row {
		margin-bottom: 72px;
	}
}

@media (max-width: 767px) {
	.medlem-hero-wrapper,
	.medlem-hero-slide {
		height: 100svh;
		min-height: 560px;
	}

	.medlem-hero-slide {
		background-position: center;
	}

	.medlem-hero-slide::before {
		background: linear-gradient(0deg, rgba(13, 8, 18, 0.9) 0%, rgba(19, 12, 26, 0.6) 58%, rgba(19, 12, 26, 0.2) 100%) !important;
	}

	.medlem-hero-content {
		padding: 0 0 5.8rem;
	}

	.medlem-hero-content h1 {
		font-size: clamp(2.75rem, 14vw, 4.4rem);
	}

	.medlem-content {
		padding: 62px 0 58px;
	}

	.medlem-intro-row {
		margin-bottom: 60px;
	}

	.medlem-join-card {
		min-height: 0;
		padding: 34px 26px;
		border-radius: 20px;
	}

	.medlem-toggle.toggle-simple .toggle > .toggle-title {
		min-height: 70px;
		padding: 14px 52px 14px 14px;
	}

	.medlem-toggle.toggle-simple .toggle > .toggle-title::after {
		right: 18px;
	}

	.medlem-toggle-icon {
		width: 40px;
		height: 40px;
		margin-right: 12px;
	}

	.medlem-toggle.toggle-simple .toggle > .toggle-content {
		padding: 18px 18px 22px;
	}

	.medlem-price-row {
		grid-template-columns: 38px minmax(0, 1fr) auto;
		gap: 11px;
		padding: 12px;
	}

	.medlem-price-icon {
		width: 36px;
		height: 36px;
	}

	.medlem-price-amount strong {
		font-size: 0.92rem;
	}

	.medlem-license-box,
	.medlem-info-card {
		flex-direction: column;
	}

	.medlem-neighbours {
		margin-top: 68px;
		padding-top: 44px;
	}

	.home-sponsors {
		padding: 38px 0 50px;
	}
}
