/* ==========================================================================
   GKF Astra Child – Gestaltung
   Leitidee: Nachschlagewerk. Ruhige Fläche, klare Typohierarchie (Serif für
   Überschriften, Systemschrift für Text), eine Markenfarbe, Hinweise als
   ausgezeichnete Kästen. Keine Webfonts, keine externen Ressourcen.
   ========================================================================== */

:root {
	--gkf-ink: #14212e;
	--gkf-text: #27323d;
	--gkf-muted: #5b6774;
	--gkf-line: #dde3e9;
	--gkf-tint: #f4f6f8;
	--gkf-paper: #fff;
	--gkf-brand: #135c86;
	--gkf-brand-strong: #0d4566;
	--gkf-brand-soft: #e9f2f8;
	--gkf-red: #a3261b;
	--gkf-red-soft: #fbefed;
	--gkf-green: #1d6b45;
	--gkf-green-soft: #ecf6f0;
	--gkf-wrap: 76rem;
	--gkf-gutter: clamp(16px, 4vw, 40px);
	--gkf-text-w: 46rem;
	--gkf-header-h: 4.5rem;
	--gkf-radius: 6px;
	--gkf-serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, Georgia, serif;
	--gkf-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Grundlagen ---------- */

html,
html:root {
	font-size: 100%;
	scroll-padding-top: calc(var(--gkf-header-h) + 1rem + var(--wp-admin--admin-bar--height, 0px));
}

body,
body.ast-separate-container {
	background: var(--gkf-paper);
	color: var(--gkf-text);
	font-family: var(--gkf-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--gkf-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--gkf-brand-strong);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 2px solid var(--gkf-brand);
	outline-offset: 3px;
	border-radius: 2px;
}

h1,
h2,
h3,
h4,
.entry-content :where(h1, h2, h3, h4) {
	color: var(--gkf-ink);
	font-family: var(--gkf-serif);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

h3,
h4,
.entry-content :where(h3, h4) {
	font-family: var(--gkf-sans);
	letter-spacing: 0;
}

/* ---------- Astra-Rahmen neutralisieren ---------- */

.site-content > .ast-container,
.ast-plain-container .site-content > .ast-container {
	display: block;
	max-width: var(--gkf-wrap);
	padding-inline: var(--gkf-gutter);
	margin-inline: auto;
}

.ast-plain-container .site-content .ast-container #primary,
#primary {
	margin: 0;
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
	width: 100%;
}

.ast-plain-container .entry-header,
.ast-article-single,
.ast-plain-container article.ast-article-single {
	margin: 0;
	padding: 0;
	background: none;
}

.entry-header .entry-title {
	font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem);
	margin: 0 0 1.25rem;
	max-width: var(--gkf-text-w);
}

/* ---------- Header ---------- */

.gkf-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--gkf-paper);
	border-bottom: 1px solid var(--gkf-line);
}

.admin-bar .gkf-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.gkf-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 2rem;
	max-width: var(--gkf-wrap);
	min-height: var(--gkf-header-h);
	margin-inline: auto;
	padding-inline: var(--gkf-gutter);
}

.gkf-header__logo {
	flex: 0 0 auto;
	display: block;
	line-height: 0;
}

.gkf-logo {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--gkf-ink);
	line-height: 1;
	text-decoration: none;
}

.gkf-logo:hover {
	color: var(--gkf-ink);
	text-decoration: none;
}

.gkf-logo__mark {
	width: 2.5rem;
	height: 2.5rem;
	flex: none;
	transition: transform 0.25s ease;
}

.gkf-logo:hover .gkf-logo__mark {
	transform: rotate(-12deg);
}

.gkf-logo__text {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.gkf-logo__kicker {
	color: var(--gkf-muted);
	font: 600 0.6875rem/1 var(--gkf-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.gkf-logo__name {
	font: 600 1.3125rem/1 var(--gkf-serif);
	letter-spacing: -0.01em;
}

.gkf-nav {
	flex: 1 1 auto;
}

.gkf-nav__list,
.gkf-nav__sub {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gkf-nav__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.25rem;
}

.gkf-nav__item {
	position: relative;
	display: flex;
	align-items: center;
}

.gkf-nav__link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.5rem 0.7rem;
	border: 0;
	border-radius: var(--gkf-radius);
	background: none;
	color: var(--gkf-ink);
	font: 500 0.9375rem/1.3 var(--gkf-sans);
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}

.gkf-nav__link:hover,
.gkf-nav__link:focus-visible,
.gkf-nav__item.is-open > .gkf-nav__link {
	background: var(--gkf-tint);
	color: var(--gkf-brand);
	text-decoration: none;
}

.gkf-nav__list > .is-current > .gkf-nav__link {
	color: var(--gkf-brand);
	box-shadow: inset 0 -2px 0 var(--gkf-brand);
	border-radius: 0;
}

.gkf-nav__toggle--icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 2rem;
	margin-left: -0.6rem;
	padding: 0;
	border: 0;
	border-radius: var(--gkf-radius);
	background: none;
	color: var(--gkf-muted);
	cursor: pointer;
}

.gkf-nav__toggle--icon:hover {
	color: var(--gkf-brand);
	background: var(--gkf-tint);
}

.gkf-icon {
	width: 1.375rem;
	height: 1.375rem;
	flex: none;
}

.gkf-icon--chevron {
	width: 0.9rem;
	height: 0.9rem;
	transition: transform 0.18s ease;
}

.gkf-nav__item.is-open .gkf-icon--chevron {
	transform: rotate(180deg);
}

.gkf-nav__sub {
	position: absolute;
	top: calc(100% + 0.6rem);
	left: 0;
	min-width: 15rem;
	max-width: min(22rem, calc(100vw - 2rem));
	padding: 0.5rem;
	background: var(--gkf-paper);
	border: 1px solid var(--gkf-line);
	border-radius: 8px;
	box-shadow: 0 12px 32px -12px rgb(20 33 46 / 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}

/* Brücke, damit Hover beim Weg ins Panel nicht abreißt. */
.gkf-nav__sub::before {
	content: "";
	position: absolute;
	inset: -0.7rem 0 auto;
	height: 0.7rem;
}

.gkf-nav__item:nth-last-child(-n + 2) > .gkf-nav__sub {
	left: auto;
	right: 0;
}

.gkf-nav__item.is-open > .gkf-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

@media (hover: hover) and (min-width: 1301px) {
	.gkf-nav__item:hover > .gkf-nav__sub {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition-delay: 0s;
	}
}

.gkf-nav__sub .gkf-nav__item {
	display: block;
}

.gkf-nav__sub .gkf-nav__link {
	display: block;
	width: 100%;
	padding: 0.55rem 0.75rem;
	font-weight: 400;
	white-space: normal;
}

.gkf-nav__sub .is-current > .gkf-nav__link {
	color: var(--gkf-brand);
	font-weight: 600;
}

.gkf-header__actions {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex: none;
}

.gkf-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--gkf-ink);
	cursor: pointer;
}

.gkf-iconbtn:hover,
.gkf-iconbtn[aria-expanded="true"] {
	background: var(--gkf-tint);
	color: var(--gkf-brand);
}

.gkf-menu-toggle {
	display: none;
}

/* Suche überlagert das Menü. */
.gkf-search {
	position: absolute;
	inset: 0 var(--gkf-gutter);
	display: flex;
	align-items: center;
	background: var(--gkf-paper);
}

.gkf-search[hidden] {
	display: none;
}

.gkf-search__form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	padding-left: 1rem;
	border: 1px solid var(--gkf-line);
	border-radius: 999px;
	background: var(--gkf-tint);
	color: var(--gkf-muted);
}

.gkf-search__form:focus-within {
	border-color: var(--gkf-brand);
	box-shadow: 0 0 0 3px var(--gkf-brand-soft);
}

.gkf-search__input,
.gkf-search__input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 2.75rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gkf-ink);
	font: 400 1.0625rem var(--gkf-sans);
	box-shadow: none;
}

.gkf-search__input:focus {
	outline: none;
}

/* ---------- Mobilmenü (bis 1300 px) ---------- */

@media (max-width: 1300px) {
	.gkf-header__inner {
		justify-content: space-between;
		gap: 1rem;
	}

	.gkf-menu-toggle {
		display: inline-flex;
	}

	.gkf-nav {
		position: fixed;
		inset: calc(var(--gkf-header-h) + 1px) 0 0;
		display: none;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 1rem var(--gkf-gutter) 3rem;
		background: var(--gkf-paper);
	}

	.admin-bar .gkf-nav {
		top: calc(var(--gkf-header-h) + 1px + var(--wp-admin--admin-bar--height, 46px));
	}

	.is-menu-open .gkf-nav {
		display: block;
	}

	.gkf-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-width: 36rem;
		margin-inline: auto;
	}

	.gkf-nav__list > .gkf-nav__item {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--gkf-line);
	}

	.gkf-nav__list > .gkf-nav__item > .gkf-nav__link {
		flex: 1;
		justify-content: space-between;
		padding: 0.95rem 0.25rem;
		font-size: 1.0625rem;
		border-radius: 0;
		box-shadow: none;
	}

	.gkf-nav__toggle--icon {
		width: 2.75rem;
		height: 2.75rem;
		margin: 0;
	}

	.gkf-nav__sub {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		max-width: none;
		margin: 0 0 0.75rem;
		padding: 0.25rem 0 0.25rem 0.75rem;
		border: 0;
		border-left: 2px solid var(--gkf-line);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.gkf-nav__sub::before {
		display: none;
	}

	.gkf-nav__item.is-open > .gkf-nav__sub {
		display: block;
	}
}

@media (max-width: 380px) {
	.gkf-header .gkf-logo__mark {
		width: 2.125rem;
		height: 2.125rem;
	}

	.gkf-header .gkf-logo__name {
		font-size: 1.125rem;
	}
}

/* ---------- Inhalt ---------- */

.entry-content {
	max-width: var(--gkf-text-w);
	margin-inline: auto;
}

.entry-content > * {
	margin-block: 0 1.25rem;
}

.entry-content h1 {
	font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem);
	margin: 0 0 1.25rem;
}

.entry-content > h1 + p {
	font-size: 1.1875rem;
	line-height: 1.65;
	color: var(--gkf-muted);
}

.entry-content h2 {
	position: relative;
	font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.875rem);
	margin: 3rem 0 1rem;
	padding-top: 1.1rem;
}

.entry-content h2::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2.5rem;
	height: 3px;
	border-radius: 2px;
	background: var(--gkf-brand);
}

.entry-content h3 {
	font-size: 1.1875rem;
	font-weight: 650;
	margin: 2rem 0 0.6rem;
}

.entry-content h4 {
	font-size: 1.0625rem;
	margin: 1.5rem 0 0.5rem;
}

.entry-content :where(ul, ol):not(.gkf-toc__list) {
	padding-left: 1.4rem;
	margin-left: 0;
}

.entry-content li {
	margin-bottom: 0.4rem;
}

.entry-content li::marker {
	color: var(--gkf-brand);
}

/* Häkchen-Liste */
.entry-content ul.gkf-check {
	list-style: none;
	padding-left: 0;
}

.entry-content ul.gkf-check > li {
	position: relative;
	padding-left: 2rem;
}

.entry-content ul.gkf-check > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--gkf-brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23135c86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
}

/* Bilder */
.entry-content .wp-block-image {
	margin-block: 1.75rem;
}

.entry-content .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--gkf-radius);
}

/* Hinweis-Kästen (aus Fusion-Alerts) */
.entry-content .gkf-box {
	position: relative;
	margin-block: 1.75rem;
	padding: 1.1rem 1.4rem 0.2rem;
	border-left: 4px solid var(--gkf-brand);
	border-radius: 0 var(--gkf-radius) var(--gkf-radius) 0;
	background: var(--gkf-brand-soft);
}

.entry-content .gkf-box > * {
	margin-block: 0 0.9rem;
}

.entry-content .gkf-box::before {
	content: "Hinweis";
	display: block;
	margin-bottom: 0.35rem;
	color: var(--gkf-brand-strong);
	font: 700 0.75rem/1.4 var(--gkf-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content .gkf-box--error {
	border-color: var(--gkf-red);
	background: var(--gkf-red-soft);
}

.entry-content .gkf-box--error::before {
	content: "Achtung";
	color: var(--gkf-red);
}

.entry-content .gkf-box--success {
	border-color: var(--gkf-green);
	background: var(--gkf-green-soft);
}

.entry-content .gkf-box--success::before {
	content: "Tipp";
	color: var(--gkf-green);
}

.entry-content .gkf-box--custom,
.entry-content .gkf-box--tagline {
	border-color: var(--gkf-ink);
	background: var(--gkf-tint);
}

.entry-content .gkf-box--custom::before,
.entry-content .gkf-box--tagline::before {
	content: none;
}

.entry-content .gkf-box :where(h2, h3) {
	margin-top: 0;
	padding-top: 0;
}

.entry-content .gkf-box h2::before {
	content: none;
}

/* Karten (aus Fusion-Content-Boxes) */
.entry-content .gkf-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
	gap: 1rem;
	margin-block: 1.75rem;
	padding: 0;
}

.entry-content .gkf-card {
	padding: 1.25rem 1.25rem 0.25rem;
	border: 1px solid var(--gkf-line);
	border-radius: var(--gkf-radius);
}

.entry-content .gkf-card h3 {
	margin-top: 0;
}

/* Tabellen */
.entry-content .wp-block-table {
	overflow-x: auto;
	margin-block: 1.75rem;
}

.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9688rem;
	line-height: 1.5;
}

.entry-content .wp-block-table :where(th, td) {
	padding: 0.7rem 0.85rem;
	border: 0;
	border-bottom: 1px solid var(--gkf-line);
	text-align: left;
	vertical-align: top;
}

.entry-content .wp-block-table thead th,
.entry-content .wp-block-table tr:first-child > th {
	background: var(--gkf-tint);
	color: var(--gkf-ink);
	font-weight: 650;
	border-bottom: 2px solid var(--gkf-ink);
}

.entry-content .wp-block-table tbody tr:nth-child(even) {
	background: #fafbfc;
}

/* Knöpfe */
.entry-content .wp-block-button__link,
.entry-content .wp-element-button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.15rem;
	border-radius: var(--gkf-radius);
	background: var(--gkf-brand);
	color: #fff;
	font: 600 0.9688rem/1.3 var(--gkf-sans);
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.entry-content .wp-block-button__link::after {
	content: "→";
	transition: transform 0.15s ease;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:focus-visible {
	background: var(--gkf-brand-strong);
	color: #fff;
}

.entry-content .wp-block-button__link:hover::after {
	transform: translateX(3px);
}

/* Spalten */
.entry-content .wp-block-columns {
	gap: 2rem;
	margin-block: 2rem;
}

.entry-content .wp-block-column > :first-child {
	margin-top: 0;
}

/* ---------- Inhaltsverzeichnis ---------- */

.gkf-toc {
	margin-block: 0 2rem;
	padding: 0.9rem 1.1rem;
	border: 1px solid var(--gkf-line);
	border-radius: var(--gkf-radius);
	background: var(--gkf-paper);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.gkf-toc__title {
	color: var(--gkf-ink);
	font: 700 0.75rem/1.4 var(--gkf-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.gkf-toc__list {
	margin: 0.75rem 0 0.25rem;
	padding: 0;
	list-style: none;
	counter-reset: gkf-toc;
}

.gkf-toc__list li {
	counter-increment: gkf-toc;
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0.3rem 0;
}

.gkf-toc__list li::before {
	content: counter(gkf-toc, decimal-leading-zero);
	flex: none;
	color: var(--gkf-muted);
	font-variant-numeric: tabular-nums;
	font-size: 0.8125rem;
	padding-top: 0.1em;
}

.gkf-toc__list a {
	color: var(--gkf-text);
	text-decoration: none;
}

.gkf-toc__list a:hover {
	color: var(--gkf-brand);
	text-decoration: underline;
}

@media (min-width: 1100px) {
	.entry-content:has(> .gkf-toc) {
		display: grid;
		grid-template-columns: minmax(0, var(--gkf-text-w)) 15.5rem;
		column-gap: clamp(2.5rem, 5vw, 4.5rem);
		max-width: none;
		justify-content: center;
	}

	.entry-content:has(> .gkf-toc) > * {
		grid-column: 1;
	}

	.entry-content:has(> .gkf-toc) > .gkf-toc {
		grid-column: 2;
		grid-row: 1 / span 400;
		align-self: start;
		position: sticky;
		top: calc(var(--gkf-header-h) + 1.5rem + var(--wp-admin--admin-bar--height, 0px));
		margin: 0.5rem 0 0;
		padding: 0 0 0 1.25rem;
		border: 0;
		border-left: 1px solid var(--gkf-line);
		border-radius: 0;
	}

	.entry-content:has(> .gkf-toc) > .gkf-toc summary {
		pointer-events: none;
		list-style: none;
	}

	.entry-content:has(> .gkf-toc) > .gkf-toc summary::-webkit-details-marker {
		display: none;
	}

}

/* ---------- Startseite ---------- */

.gkf-home .entry-content {
	max-width: 62rem;
}

.gkf-home .entry-content > h1,
.gkf-home .entry-content > h1 + p {
	max-width: var(--gkf-text-w);
}

.gkf-home .entry-content > .wp-block-image:first-of-type img {
	aspect-ratio: 21 / 8;
	object-fit: cover;
}

/* Themenkarten: Spalten mit Knopf */
.gkf-home .wp-block-columns:has(.wp-block-buttons) {
	gap: 1.25rem;
	margin-block: 1.25rem;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) {
	display: flex;
	flex-direction: column;
	padding: 0 0 1.5rem;
	border: 1px solid var(--gkf-line);
	border-radius: 8px;
	overflow: hidden;
	background: var(--gkf-paper);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gkf-home .wp-block-column:has(.wp-block-buttons):hover {
	border-color: #c4ced8;
	box-shadow: 0 10px 28px -16px rgb(20 33 46 / 0.35);
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > * {
	margin-inline: 1.5rem;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > h2 {
	order: 1;
	margin: 1.25rem 1.5rem 0.6rem;
	padding-top: 0;
	font-size: 1.375rem;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > h2::before {
	content: none;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > .wp-block-image {
	order: 0;
	margin: 0;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > .wp-block-image img {
	aspect-ratio: 16 / 7;
	object-fit: cover;
	border-radius: 0;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > p {
	order: 2;
	color: var(--gkf-muted);
	font-size: 1rem;
}

.gkf-home .wp-block-column:has(.wp-block-buttons) > .wp-block-buttons {
	order: 3;
	margin-top: auto;
}

/* ---------- Bewertung ---------- */

.gkf-rating {
	width: 100%;
	margin: 3.5rem 0 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--gkf-line);
	color: var(--gkf-muted);
	font-size: 0.9375rem;
}

.gkf-rating__label {
	margin: 0 0 0.4rem;
	color: var(--gkf-ink);
	font-weight: 600;
}

.gkf-rating .post-ratings img {
	display: inline-block;
	vertical-align: -3px;
}

/* ---------- Footer ---------- */

.gkf-footer {
	background: var(--gkf-ink);
	color: #c3ccd5;
	font-size: 0.9375rem;
	line-height: 1.6;
}

.gkf-footer a {
	color: #e9eef2;
	text-decoration: none;
}

.gkf-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.gkf-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 2.5rem 4rem;
	max-width: var(--gkf-wrap);
	margin-inline: auto;
	padding: 3.5rem var(--gkf-gutter) 2.5rem;
}

.gkf-footer .gkf-footer__brand {
	margin: 0 0 1.1rem;
	color: #fff;
}

.gkf-footer .gkf-footer__brand:hover {
	color: #fff;
	text-decoration: none;
}

.gkf-footer .gkf-logo__kicker {
	color: #9aa6b2;
}

.gkf-footer__note {
	color: #9aa6b2;
	font-size: 0.875rem;
}

.gkf-footer__heading {
	margin: 0 0 1rem;
	color: #fff;
	font: 700 0.75rem/1.4 var(--gkf-sans);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gkf-footer__list,
.gkf-footer__list ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gkf-footer__list--cols {
	columns: 3 12rem;
	column-gap: 2rem;
}

.gkf-footer__list > li {
	break-inside: avoid;
	margin-bottom: 0.9rem;
}

.gkf-footer__list > li > a {
	font-weight: 600;
}

.gkf-footer__list > li > a:not([href]) {
	color: #fff;
}

.gkf-footer__list ul li {
	margin-top: 0.3rem;
}

.gkf-footer__list ul a {
	color: #c3ccd5;
	font-weight: 400;
}

.gkf-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	max-width: var(--gkf-wrap);
	margin-inline: auto;
	padding: 1.25rem var(--gkf-gutter) 1.75rem;
	border-top: 1px solid rgb(255 255 255 / 0.12);
	color: #9aa6b2;
	font-size: 0.875rem;
}

.gkf-footer__bar p {
	margin: 0;
}

.gkf-footer__legal {
	display: flex;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 768px) {
	.gkf-footer__inner {
		grid-template-columns: 1fr;
	}

	.entry-content .wp-block-columns {
		gap: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Astra-Vorgaben zurücksetzen ---------- */

.gkf-header button,
.gkf-header button:hover,
.gkf-header button:focus {
	box-shadow: none;
	border: 0;
	text-transform: none;
	letter-spacing: normal;
}

.gkf-header .gkf-nav__toggle:not(.gkf-nav__toggle--icon),
.gkf-header .gkf-nav__toggle--icon {
	background: none;
}

.gkf-header .gkf-nav__toggle:hover,
.gkf-header .gkf-nav__item.is-open > .gkf-nav__toggle,
.gkf-header .gkf-iconbtn:hover,
.gkf-header .gkf-iconbtn[aria-expanded="true"] {
	background: var(--gkf-tint);
}

.entry-content :where(h1, h2, h3, h4, h5, h6),
.entry-title {
	text-align: left;
}

.entry-content .gkf-toc__list a {
	text-decoration: none;
}

.entry-content .gkf-toc__list a:hover {
	text-decoration: underline;
}

/* ---------- Complianz-Banner in Seitenfarben ---------- */

.cmplz-cookiebanner,
#cmplz-manage-consent .cmplz-manage-consent {
	--cmplz_banner_border_radius: 8px;
	--cmplz_banner_border_color: var(--gkf-line);
	--cmplz_banner_border_width: 1px;
	--cmplz_text_color: var(--gkf-text);
	--cmplz_hyperlink_color: var(--gkf-brand);
	--cmplz_text_font_size: 14px;
	--cmplz_text_line_height: 21px;
	--cmplz_link_font_size: 13px;
	--cmplz_title_font_size: 17px;
	--cmplz_category_body_font_size: 13px;
	--cmplz_button_font_size: 15px;
	--cmplz_button_border_radius: 6px;
	--cmplz_button_accept_background_color: var(--gkf-brand);
	--cmplz_button_accept_border_color: var(--gkf-brand);
	--cmplz_button_accept_text_color: #fff;
	--cmplz_button_deny_background_color: var(--gkf-brand);
	--cmplz_button_deny_border_color: var(--gkf-brand);
	--cmplz_button_deny_text_color: #fff;
	--cmplz_button_settings_background_color: #fff;
	--cmplz_button_settings_border_color: var(--gkf-brand);
	--cmplz_button_settings_text_color: var(--gkf-brand);
	--cmplz_slider_active_color: var(--gkf-brand);
	--cmplz_slider_inactive_color: #8a96a3;
	--cmplz_category_header_always_active_color: var(--gkf-green);
	font-family: var(--gkf-sans);
	box-shadow: 0 16px 40px -20px rgb(20 33 46 / 0.45);
}

.cmplz-cookiebanner .cmplz-title {
	font-family: var(--gkf-serif);
	font-weight: 600;
}

/* ---------- Mobilmenü: ruhige Zustände ohne graue Flächen ---------- */

@media (max-width: 1300px) {
	.gkf-header .gkf-nav__link,
	.gkf-header .gkf-nav__link:hover,
	.gkf-header .gkf-nav__link:focus-visible,
	.gkf-header .gkf-nav__item.is-open > .gkf-nav__link,
	.gkf-header .gkf-nav__toggle,
	.gkf-header .gkf-nav__toggle:hover,
	.gkf-header .gkf-nav__item.is-open > .gkf-nav__toggle {
		background: none;
		border-radius: 0;
	}

	.gkf-header .gkf-nav__list > .gkf-nav__item > .gkf-nav__link:hover,
	.gkf-header .gkf-nav__list > .gkf-nav__item.is-open > .gkf-nav__link,
	.gkf-header .gkf-nav__list > .gkf-nav__item.is-open > .gkf-nav__toggle,
	.gkf-header .gkf-nav__toggle:hover {
		color: var(--gkf-brand);
	}

	.gkf-header .gkf-nav__list > .is-current > .gkf-nav__link {
		color: var(--gkf-brand);
		font-weight: 600;
		box-shadow: none;
	}

	.gkf-header .gkf-nav__sub .gkf-nav__link {
		padding: 0.6rem 0.25rem;
	}

	.gkf-header .gkf-nav__sub .gkf-nav__link:hover {
		color: var(--gkf-brand);
	}

	.gkf-header .gkf-nav__sub .is-current > .gkf-nav__link {
		color: var(--gkf-brand);
		font-weight: 600;
	}

	.gkf-header .gkf-nav__item.is-open > .gkf-nav__sub {
		border-left-color: var(--gkf-brand);
	}
}
