.open-door {
	--door-blue: #0072CE;
	--door-blue-dark: #005AA3;
	--door-navy: #243C4B;
	--door-copy: #405A68;
	--door-sky: #DDF3FB;
	--door-line: #B4DCEB;
	--door-yellow: #FFD500;
	--door-head: "Poppins", Arial, sans-serif;
	--door-body: Arial, sans-serif;
	--door-ease: cubic-bezier(.2, .8, .2, 1);
	--plan: var(--door-blue);
	--ease: var(--door-ease);

	color: var(--door-navy);
	background: #F1F7FA;
	font: 400 16px/1.58 var(--door-body);
	-webkit-font-smoothing: antialiased;
}

.open-door,
.open-door *,
.open-door *::before,
.open-door *::after {
	box-sizing: border-box;
}

.open-door ion-icon {
	font-size: 3rem;
	pointer-events: none;
}

.open-door .impact-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem;
	align-items: stretch;
}

.open-door .impact-card {
	position: relative;
	z-index: 1;
	min-width: 0;
	min-height: 28rem;
	padding: 24px;
	background: #fff;
	border: 0;
	border-radius: 24px;
	box-shadow: 0 12px 35px rgba(36, 60, 75, .14), 0 2px 6px rgba(36, 60, 75, .05);
	transition: box-shadow .3s ease, opacity .25s ease, transform .35s ease;
}

/* Informationsfläche mit separatem weiterführendem Link. */
.open-door .impact-card__action {
	position: relative;
	z-index: 1;
	display: grid;
	flex-direction: column;
	height: 100%;
	min-height: 25rem;
	padding: 6rem 0 0;
	color: var(--door-navy);
	border: 0;
	border-radius: inherit;
	overflow-wrap: anywhere;
	transition: box-shadow .3s ease, opacity .25s ease, transform .35s ease;
	grid-template-rows: 4rem max-content 1fr max-content;
}

.open-door .impact-card__icon {
	position: absolute;
	z-index: 2;
	top: 24px;
	left: 24px;
	display: grid;
	place-items: center;
	width: 4.4rem;
	height: 4.4rem;
	color: #fff;
	background: var(--plan);
	border: 0;
	border-radius: 16px;
	box-shadow: .65rem .65rem 0 #B4DCEB;
	transition: transform .3s var(--ease), background .3s;
	pointer-events: none;
}

.open-door .impact-card__meta {
	position: absolute;
	top: 1.45rem;
	right: 1.2rem;
	left: 6.7rem;
	color: var(--door-blue-dark);
	font: 700 .68rem/1.4 var(--door-head);
	letter-spacing: .12em;
	text-align: right;
	text-transform: uppercase;
}

.open-door .impact-card__headline,
.open-door .impact-card__subheadline,
.open-door .impact-card__copy,
.open-door .impact-card__link {
	position: relative;
	z-index: 2;
}

.open-door .impact-card__headline {
	margin: 0;
	color: var(--door-blue);
	font: 700 clamp(1.35rem, 2.2vw, 1.78rem)/1.12 var(--door-head);
	letter-spacing: -.035em;
}

.open-door .impact-card__subheadline {
	margin: .5rem 0 0;
	color: #0072ce;
	font: 700 18px/1.4 var(--door-head);
}

.open-door .impact-card__copy {
	margin: 0;
	color: var(--ink);
	font: 400 1rem/1.58 var(--door-body);
}

.open-door .impact-card__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	margin-top: auto;
	padding-top: 1.4rem;
	color: var(--door-blue-dark);
	font-weight: 700;
}

/* Ohne Linkziel weder Linktext noch Pfeil anzeigen. */
.open-door .impact-card__link:not([href]),
.open-door .impact-card__link[href=""],
.open-door .impact-card__link[href="#"] {
	display: none;
}

.open-door a.impact-card__link {
	text-decoration: none;
}

.open-door a.impact-card__link:hover,
.open-door a.impact-card__link:focus-visible {
	text-decoration: underline;
}

.open-door a.impact-card__link:focus-visible {
	outline: 3px solid var(--door-blue-dark);
	outline-offset: 3px;
}

.open-door .impact-card__link ion-icon {
	flex-shrink: 0;
	font-size: 1.25rem;
	transition: transform .2s var(--door-ease);
}

@media (hover: hover) and (pointer: fine) {
	.open-door .impact-card:hover {
		transform: translate(-5px, -5px) rotate(-.5deg);
		box-shadow: 8px 8px 2rem #0072ce80;
	}

	.open-door .impact-card:hover .impact-card__link ion-icon {
		transform: translateX(.3rem);
	}
}

.open-door .giving-doors-mobile-nav {
	display: none;
}

@media (max-width: 900px) {
	.open-door .impact-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.open-door[data-mobile-slider-bound="true"] .impact-card:not(.is-active) {
		display: none;
	}

	.open-door[data-mobile-slider-bound="true"] .impact-card.is-active {
		animation: givingDoorsFade .35s ease;
	}

	.open-door .giving-doors-mobile-nav:not([hidden]) {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1.25rem;
		margin-top: 1.25rem;
	}

	.open-door .giving-doors-mobile-nav button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 3rem;
		height: 3rem;
		padding: 0;
		border: 1.5px solid #cdd8e0;
		border-radius: 999px;
		background: #fff;
		color: var(--door-navy);
		cursor: pointer;
		transition: transform .15s ease, opacity .2s ease;
	}

	.open-door .giving-doors-mobile-nav button:active {
		transform: scale(.95);
	}

	.open-door .giving-doors-mobile-nav button:disabled {
		opacity: .35;
		cursor: default;
	}

	.open-door .giving-doors-mobile-nav button:focus-visible {
		outline: 3px solid var(--door-yellow);
		outline-offset: 3px;
	}

	.open-door .giving-doors-mobile-nav__count {
		min-width: 4rem;
		text-align: center;
		color: var(--door-navy);
		font: 600 1rem var(--door-head);
	}
}

@keyframes givingDoorsFade {
	from {
		opacity: 0;
		transform: translateX(14px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.open-door *,
	.open-door *::before,
	.open-door *::after {
		transition: none !important;
		animation: none !important;
	}

	.open-door .impact-card__action:hover,
	.open-door .impact-card:hover .impact-card__link ion-icon {
		transform: none;
	}
}

@media print {
	.open-door[data-mobile-slider-bound="true"] .impact-card:not(.is-active) {
		display: block;
	}

	.open-door .giving-doors-mobile-nav:not([hidden]) {
		display: none;
	}

	.open-door .impact-card,
	.open-door .impact-card__action {
		break-inside: avoid;
		transform: none;
		box-shadow: none;
	}

	.open-door .impact-card__action:hover {
		transform: none;
		box-shadow: none;
	}
}
