:root {
	--dk-radius-button: 10px;
	--dk-radius-card: 24px;
	--dk-radius-media: 40px;
	--dk-radius-pill: 100px;
	--dk-focus: var(--wp--preset--color--primary);
	--dk-focus-on-dark: #ffffff;
	--dk-shadow-pill: 0 2px 8px rgb(0 0 0 / 12%);
}

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
	outline: 3px solid var(--dk-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

.dk-on-dark :where(a, button, [tabindex]):focus-visible {
	outline-color: var(--dk-focus-on-dark);
}

.wp-block-group[class*="dk-"] > * {
	margin-block: 0;
}

.dk-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--contrast);
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	padding: 14px 28px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

.wp-block-button.is-style-arrow > .wp-block-button__link::after {
	content: "\2192";
	margin-inline-start: 0.5em;
}

.wp-block-button.is-style-light > .wp-block-button__link {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}

.wp-block-button.is-style-light > .wp-block-button__link:hover,
.wp-block-button.is-style-light > .wp-block-button__link:focus {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.wp-block-button.is-style-outline-light > .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--base);
	background: transparent;
	color: var(--wp--preset--color--base);
	font-weight: 700;
	padding: 14px 28px;
}

.wp-block-button.is-style-outline-light > .wp-block-button__link:hover,
.wp-block-button.is-style-outline-light > .wp-block-button__link:focus {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--primary);
}

.wp-site-blocks > header:has(.dk-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}

.dk-header {
	background: var(--wp--preset--color--base);
}

.dk-header__inner {
	position: relative;
	min-height: 96px;
}

.dk-header__logo {
	margin: 0;
}

.dk-header__logo img {
	width: clamp(124px, 14vw, 233px);
	height: auto;
}

@media (min-width: 782px) {
	.dk-header__inner {
		min-height: 128px;
	}
}

@media (max-height: 600px) {
	.wp-site-blocks > header:has(.dk-header) {
		position: static;
	}

	.dk-header__inner {
		min-height: 0;
		padding-block: 8px;
	}
}

.dk-header__nav {
	gap: 28px;
}

.dk-lang-switcher select {
	appearance: none;
	-webkit-appearance: none;
	min-height: 44px;
	padding: 8px 36px 8px 12px;
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 4px;
	background: var(--wp--preset--color--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
	color: var(--wp--preset--color--contrast);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	letter-spacing: 0.025em;
	cursor: pointer;
}

.dk-lang-switcher select:hover {
	border-color: var(--wp--preset--color--primary);
}

.dk-lang-switcher select:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

@media (max-width: 781px) {
	.dk-header__nav {
		gap: 8px;
	}

	.dk-lang-switcher select {
		padding: 6px 30px 6px 8px;
		font-size: 0.75rem;
		letter-spacing: 0;
		background-position: right 8px center;
	}
}

.dk-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 604px;
	padding-block: var(--wp--preset--spacing--70);
	color: var(--wp--preset--color--contrast);
	background-clip: padding-box;
	background-origin: padding-box;
}

.dk-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(196deg, rgb(0 147 66 / 0%) 55%, rgb(0 147 66 / 14%) 100%);
}

.dk-hero::after {
	content: "";
	position: absolute;
	top: calc(-1 * var(--dk-hero-lift, 0px));
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	pointer-events: none;
	background-image: url("images/hero-people.webp");
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: auto 100%;
}

.dk-hero > * {
	position: relative;
	z-index: 3;
}

.dk-hero > .dk-hero__text {
	width: 100%;
}

.dk-hero__text > * {
	max-width: 100%;
}

.dk-ai-badge {
	position: absolute;
	right: var(--wp--preset--spacing--30);
	bottom: var(--wp--preset--spacing--30);
	z-index: 4;
	margin: 0;
}

.dk-ai-badge img {
	width: 50px;
	height: 50px;
}

.dk-hero__lead {
	margin-top: 0;
	font-size: clamp(1.125rem, 2.4vw, 2rem);
	font-weight: 500;
	line-height: 1.3;
}

@media (max-width: 781px) {
	.dk-hero {
		min-height: 645px;
		justify-content: flex-start;
		padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--70);
		color: var(--wp--preset--color--base);
		background-image: url("images/hero-mobile.webp") !important;
		background-size: cover !important;
		background-position: center bottom !important;
	}

	.dk-hero::after {
		content: none;
	}

	.dk-hero::before {
		background: linear-gradient(
			to bottom,
			rgb(20 26 38 / 62%) 0%,
			rgb(20 26 38 / 46%) 42%,
			rgb(20 26 38 / 8%) 72%,
			rgb(20 26 38 / 0%) 100%
		);
	}

	.dk-hero :where(h1, p) {
		color: var(--wp--preset--color--base);
	}

	.dk-hero .wp-block-buttons .wp-block-button {
		width: 100%;
	}

	.dk-hero .wp-block-button__link {
		display: block;
		width: 100%;
		text-align: center;
	}

	.dk-hero .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
		background: var(--wp--preset--color--base);
		color: var(--wp--preset--color--primary);
	}

	.dk-hero .wp-block-button.is-style-outline > .wp-block-button__link {
		border-color: var(--wp--preset--color--base);
		color: var(--wp--preset--color--base);
		background: transparent;
	}

	.dk-hero .dk-ai-badge {
		display: none;
	}
}

@media (min-width: 782px) {
	.dk-hero__text > * {
		max-width: min(42rem, 46vw);
	}

	.dk-hero {
		--dk-hero-band: min(34.95vw, 604px);
		--dk-hero-lift: min(5.15vw, 89px);
		border-top: var(--dk-hero-lift) solid transparent;
		min-height: calc(var(--dk-hero-band) + var(--dk-hero-lift));
	}

	.dk-hero::after {
		background-size: min(100%, 1728px) auto;
	}

	.dk-hero::before {
		background:
			linear-gradient(to left, rgb(255 255 255 / 0%) 34%, rgb(255 255 255 / 22%) 100%),
			linear-gradient(196deg, rgb(0 147 66 / 0%) 55%, rgb(0 147 66 / 16%) 100%);
	}
}

:where([id]) {
	scroll-margin-top: 112px;
}

@media (min-width: 782px) {
	:where([id]) {
		scroll-margin-top: 144px;
	}
}

@media (max-height: 600px) {
	:where([id]) {
		scroll-margin-top: 24px;
	}
}

.dk-band {
	background: var(--wp--preset--color--surface);
	padding-block: var(--wp--preset--spacing--70);
}

.dk-band + .dk-band {
	padding-top: 0;
}

.dk-band:has(+ .dk-band) {
	padding-bottom: var(--wp--custom--space--block);
}

.dk-steps__grid {
	display: grid;
	gap: 34px;
	grid-template-columns: 1fr;
}

@media (min-width: 782px) {
	.dk-steps__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 10px;
	}
}

.dk-step {
	display: flex;
	flex-direction: column;
	gap: 21px;
}

.dk-step .wp-block-image {
	margin: 0;
}

.dk-step .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.dk-step > .dk-step__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-inline: 19px 0;
}

@media (min-width: 782px) {
	.dk-step > .dk-step__body {
		padding-inline: 30px 0;
	}
}

.dk-step__title {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: var(--wp--preset--font-size--large);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.dk-arrow::before {
	content: "\2192";
	display: inline-block;
	margin-inline-end: 12px;
}

.dk-step__text {
	margin: 0;
}

.dk-audience {
	padding-block: var(--wp--preset--spacing--60);
}

.dk-audience__card {
	position: relative;
	overflow: hidden;
	border-radius: var(--dk-radius-media);
	background-color: var(--wp--preset--color--surface);
}

.dk-audience__card .dk-tabs {
	position: static;
}

.dk-audience__card .dk-tabs__list {
	position: absolute;
	top: 26px;
	left: 0;
	right: 0;
	z-index: 3;
}

.dk-audience__panel {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 605px;
	padding: 100px 22px 30px;
	background-size: cover;
	background-position: center top;
	color: var(--wp--preset--color--base);
	text-align: center;
}

@media (max-width: 781px) {
	.dk-audience__panel {
		background-size: 128% auto !important;
		background-position: 50% 82% !important;
	}

	.dk-audience__panel--studierende {
		background-image: url("images/audience-studierende-mobile.webp") !important;
	}

	.dk-audience__panel--lehrende {
		background-image: url("images/audience-lehrende-mobile.webp") !important;
	}

	.dk-audience__panel--verwaltung {
		background-image: url("images/audience-verwaltung-mobile.webp") !important;
	}
}

.dk-audience__panel::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		to bottom,
		rgb(0 93 159 / 0%) 0%,
		rgb(0 93 159 / 0%) 28%,
		rgb(0 93 159 / 88%) 78%,
		rgb(0 93 159 / 96%) 100%
	);
}

@media (min-width: 1024px) {
	.dk-audience__card .dk-tabs__list {
		top: 40px;
	}

	.dk-audience__panel {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		min-height: 700px;
		padding: 130px 40px 60px;
		background-position: center;
		text-align: start;
	}

	.dk-audience__panel::before {
		background: linear-gradient(
			to right,
			rgb(0 93 159 / 0%) 0%,
			rgb(0 93 159 / 0%) 35.23%,
			rgb(0 93 159 / 92%) 94.45%
		);
	}
}

.dk-audience__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 566px;
}

@media (min-width: 1024px) {
	.dk-audience__text {
		margin-inline-start: auto;
		padding-inline-end: 64px;
	}
}

.dk-audience__text :where(h2, h3) {
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--xx-large);
	padding-bottom: 5px;
}

.dk-audience__text p {
	color: var(--wp--preset--color--base);
}

.dk-teasers {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--custom--space--before-band);
}

.dk-teasers__grid {
	display: grid;
	gap: 44px;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.dk-teasers__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
		gap: 59px;
	}
}

.dk-teaser {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: 1fr;
	align-items: center;
}

@media (min-width: 600px) {
	.dk-teaser {
		grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
		gap: 30px;
	}
}

.dk-teaser .wp-block-image {
	margin: 0;
}

.dk-teaser .wp-block-image img {
	width: 100%;
	max-width: 300px;
	height: auto;
}

.dk-teaser__body {
	display: flex;
	flex-direction: column;
	gap: 23px;
	align-items: flex-start;
}

.dk-teaser__body > * {
	margin: 0;
}

@media (max-width: 599px) {
	.dk-teaser__body .wp-block-buttons,
	.dk-teaser__body .wp-block-button,
	.dk-teaser__body .wp-block-button__link {
		width: 100%;
		text-align: center;
	}
}

.dk-about__grid {
	display: grid;
	gap: var(--wp--custom--space--block);
	grid-template-columns: 1fr;
	align-items: center;
}

@media (min-width: 1024px) {
	.dk-about__grid {
		grid-template-columns: 658fr 675fr;
		gap: 82px;
	}
}

.dk-about__col {
	display: flex;
	flex-direction: column;
	gap: 24px;
	align-items: flex-start;
}

.dk-about__col > * {
	margin: 0;
}

.dk-logowall .wp-block-heading + .dk-logowall__grid {
	margin-top: 20px;
}

@media (min-width: 782px) {
	.dk-logowall .wp-block-heading + .dk-logowall__grid {
		margin-top: 40px;
	}
}

.dk-logowall__grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
}

.dk-about .dk-logowall__grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.dk-logo-card {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--base);
	border-radius: var(--dk-radius-card);
	padding: 22px;
	min-height: 104px;
}

@media (min-width: 782px) {
	.dk-logo-card {
		min-height: 160px;
	}
}

.dk-logo-card .wp-block-image {
	margin: 0;
	width: 100%;
}

.dk-logo-card img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 116px;
	object-fit: contain;
}

.dk-partners {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
}

.dk-partners p {
	margin: 0;
	font-weight: 700;
}

.dk-partners .wp-block-image {
	margin: 0;
}

.dk-partners img {
	width: 225px;
	max-width: 100%;
	height: auto;
}

@media (max-width: 781px) {
	.dk-partners {
		flex-wrap: nowrap;
		align-items: center;
	}

	.dk-partners img {
		width: 114px;
	}
}

.dk-digitalcheck {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	grid-template-columns: 1fr;
	align-items: center;
	justify-items: center;
	text-align: center;
	background: var(--wp--preset--color--base);
	border-radius: var(--dk-radius-card);
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

@media (min-width: 1024px) {
	.dk-digitalcheck {
		grid-template-columns: 211px 1fr auto;
		gap: 82px;
		justify-items: start;
		text-align: start;
		padding: 16px 40px;
	}
}

.dk-digitalcheck .wp-block-image {
	margin: 0;
}

.dk-digitalcheck .wp-block-image img {
	width: 211px;
	max-width: 100%;
	height: auto;
}

.dk-digitalcheck__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dk-digitalcheck__text > * {
	margin: 0;
}

.dk-digitalcheck__title {
	font-size: clamp(1.375rem, 2.2vw, 1.875rem);
	font-weight: 700;
	line-height: 1.1;
}

.dk-cta {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 406px;
	background-position: 50% 100%;
}

.dk-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			to top,
			rgb(0 147 66 / 26%) 0%,
			rgb(0 147 66 / 0%) 38%
		),
		rgb(0 0 0 / 40%);
}

@media (max-width: 781px) {
	.dk-cta {
		background-size: 318% auto !important;
	}
}

@media (min-width: 782px) {
	.dk-cta {
		min-height: 604px;
	}
}

.dk-cta__text {
	max-width: 44rem;
	margin-inline: auto;
}

@media (max-width: 781px) {
	.dk-cta {
		text-align: start;
	}

	.dk-cta .wp-block-buttons {
		justify-content: stretch;
	}

	.dk-cta .wp-block-button {
		width: 100%;
	}

	.dk-cta .wp-block-button__link {
		display: block;
		width: 100%;
		text-align: center;
	}
}

.dk-footer {
	background: var(--wp--preset--color--base);
	padding-block: 44px;
}

.dk-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--50);
}

.dk-footer .wp-block-site-logo img {
	width: 168px;
	height: auto;
}

.dk-footer .dk-footer__links .dk-menu__list {
	gap: 30px;
}

.dk-footer .dk-footer__links .dk-menu__list a {
	color: var(--wp--preset--color--primary);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: normal;
	text-decoration: none;
}

.dk-footer .dk-footer__links .dk-menu__list a:hover,
.dk-footer .dk-footer__links .dk-menu__list a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 781px) {
	.dk-about__col .wp-block-buttons,
	.dk-about__col .wp-block-button,
	.dk-about__col .wp-block-button__link {
		width: 100%;
	}

	.dk-about__col .wp-block-button__link {
		display: block;
		text-align: center;
	}

	.dk-footer {
		padding-block: 40px;
	}

	.dk-footer__inner {
		gap: 24px;
	}

	.dk-footer .wp-block-site-logo img {
		width: 125px;
	}

	.dk-footer .dk-footer__links {
		flex-basis: 100%;
	}

	.dk-footer .dk-footer__links .dk-menu__list {
		gap: 20px;
	}

	.dk-footer .dk-footer__links .dk-menu__list a {
		font-size: 0.875rem;
	}
}

.dk-ai-note {
	background: var(--wp--preset--color--surface);
	padding-block: 28px;
}

.dk-ai-note__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

@media (min-width: 782px) {
	.dk-ai-note__inner {
		justify-content: center;
	}
}

.dk-ai-note .wp-block-image {
	margin: 0;
}

.dk-ai-note img {
	width: 50px;
	height: 50px;
}

.dk-ai-note p {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-small);
}
