/* ==========================================================================
   Commander – Design „Leitstand“
   ========================================================================== */

:root {
	--c-navy: #141b29;
	--c-navy-2: #1c2536;
	--c-navy-3: #0e1420;
	--c-line-dark: #263044;
	--c-line-dark-2: #2f3a50;
	--c-on-dark: #c3cedb;
	--c-on-dark-muted: #93a3b8;
	--c-sky: #6cb6e0;
	--c-brand: #4598c8;
	--c-accent: #2a74a6;
	--c-accent-hover: #21618b;
	--c-link: #1f6a99;
	--c-link-hover: #174f73;
	--c-ink: #0e1726;
	--c-text: #3b4759;
	--c-muted: #5c6a7e;
	--c-bg: #f4f7fa;
	--c-surface: #ffffff;
	--c-line: #dde5ee;
	--c-tint: #e6f1f8;
	--c-tint-2: #eef4f9;

	--c-font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--c-font-head: "Space Grotesk", "IBM Plex Sans", system-ui, sans-serif;
	--c-font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--c-wrap: 1200px;
	--c-wrap-header: 1200px;
	--c-narrow: 760px;
	--c-gutter: 32px;
	--c-radius: 16px;
	--c-header-h: 80px;
	--c-shadow: 0 12px 32px rgba(20, 27, 41, 0.08);
	--c-shadow-lg: 0 30px 60px rgba(5, 10, 20, 0.28);
	--c-grid: linear-gradient(rgba(108, 182, 224, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 182, 224, 0.055) 1px, transparent 1px);
}

@media (max-width: 1199px) {
	:root {
		--c-header-h: 66px;
	}
}

@media (max-width: 600px) {
	:root {
		--c-gutter: 20px;
	}
}

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

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--c-header-h) + 24px);
}

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

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--c-font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

@media (max-width: 600px) {
	body {
		font-size: 16.5px;
	}
}

img,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

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

a:hover {
	color: var(--c-link-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--c-font-head);
	color: var(--c-ink);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.015em;
	margin: 1.7em 0 0.55em;
	overflow-wrap: break-word;
	hyphens: manual;
}

h1 {
	font-size: clamp(32px, 4.2vw, 52px);
}

h2 {
	font-size: clamp(26px, 2.9vw, 36px);
}

h3 {
	font-size: clamp(20px, 1.7vw, 23px);
	line-height: 1.3;
	letter-spacing: -0.01em;
}

h4 {
	font-size: 19px;
	line-height: 1.35;
}

p {
	margin: 0 0 1.15em;
}

strong,
b {
	font-weight: 600;
	color: inherit;
}

hr {
	border: 0;
	border-top: 1px solid var(--c-line);
	margin: 2.5em 0;
}

::selection {
	background: #cfe5f3;
	color: var(--c-ink);
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 12px 18px;
	background: #fff;
	color: var(--c-ink);
	border-radius: 8px;
	box-shadow: var(--c-shadow);
}

.c-icon {
	flex: none;
	display: block;
}

.c-wrap {
	width: 100%;
	max-width: calc(var(--c-wrap) + 2 * var(--c-gutter));
	margin-inline: auto;
	padding-inline: var(--c-gutter);
}

.c-wrap--header {
	max-width: calc(var(--c-wrap-header) + 2 * var(--c-gutter));
}

.c-wrap--narrow {
	max-width: calc(var(--c-narrow) + 2 * var(--c-gutter));
}

.c-site-main {
	overflow-x: clip;
}

/* Dunkle Flächen mit feinem Raster */
.c-dark {
	background-color: var(--c-navy);
	background-image: var(--c-grid);
	background-size: 48px 48px;
	color: var(--c-on-dark);
}

.c-dark h1,
.c-dark h2,
.c-dark h3,
.c-dark h4 {
	color: #fff;
}

.c-dark a:not(.c-btn):not(.wp-block-button__link) {
	color: var(--c-sky);
}

.c-dark a:not(.c-btn):not(.wp-block-button__link):hover {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.c-btn,
.wp-block-button__link,
.wp-element-button,
.wpcf7-submit,
.c-content input[type="submit"],
.c-comments .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 50px;
	padding: 0.7em 1.45em;
	border: 0;
	border-radius: 12px;
	background: var(--c-accent);
	color: #fff;
	font-family: var(--c-font);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.c-btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.wpcf7-submit:hover,
.c-content input[type="submit"]:hover,
.c-comments .submit:hover {
	background: var(--c-accent-hover);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(42, 116, 166, 0.28);
}

.c-btn--ghost {
	background: transparent;
	color: #fff;
	box-shadow: inset 0 0 0 1px #3a4760;
}

.c-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.06);
	box-shadow: inset 0 0 0 1px #4a5873;
}

.wp-block-buttons {
	gap: 12px;
	margin: 1.6em 0;
}

.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background),
.wp-block-button__link.is-style-outline:not(.has-background) {
	background: transparent;
	color: var(--c-link);
	box-shadow: inset 0 0 0 1.5px currentColor;
	border: 0;
}

.c-dark .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color) {
	color: #fff;
}

.c-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
}

.c-more .c-icon {
	transition: transform 0.2s;
}

.c-more:hover .c-icon {
	transform: translateX(3px);
}

.c-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--c-line-dark-2);
	border-radius: 10px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Infozeile & Header
   -------------------------------------------------------------------------- */

.c-topbar {
	background: var(--c-navy-3);
	color: var(--c-on-dark-muted);
	font-size: 14px;
	line-height: 1.4;
}

.c-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
}

.c-topbar__text,
.c-topbar__contact,
.c-topbar a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.c-topbar__contact {
	gap: 24px;
}

.c-topbar a {
	color: var(--c-on-dark);
	text-decoration: none;
}

.c-topbar a:hover {
	color: #fff;
}

.c-topbar .c-icon {
	color: var(--c-sky);
}

.c-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: var(--c-navy);
	border-bottom: 1px solid var(--c-line-dark);
	transition: box-shadow 0.2s;
}

@media (max-width: 600px) {
	.admin-bar .c-header {
		top: 0;
	}
}

.c-scrolled .c-header {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.c-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--c-header-h);
}

/* Logo */
.c-brand {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.c-brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.c-brand .custom-logo {
	display: block;
	width: auto;
	max-height: 46px;
	max-width: 240px;
	object-fit: contain;
}

.c-brand__icon {
	display: block;
}

.c-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.c-brand__top {
	font-family: var(--c-font-mono);
	font-size: 10.5px;
	letter-spacing: 0.28em;
	color: var(--c-sky);
}

.c-brand__name {
	margin-top: 5px;
	font-family: var(--c-font-head);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
}

/* Hauptmenü – Desktop */
.c-nav {
	flex: 1;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

.c-menu,
.c-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.c-menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.c-menu li {
	position: relative;
}

.c-menu > li > a {
	display: flex;
	align-items: center;
	gap: 5px;
	min-height: 44px;
	padding: 8px 11px;
	border-radius: 8px;
	color: var(--c-on-dark);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.15s, background-color 0.15s;
}

.c-menu > li > a:hover,
.c-menu > li:focus-within > a,
.c-menu > li:hover > a {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}

.c-menu > .current-menu-item > a,
.c-menu > .current-menu-ancestor > a,
.c-menu > .current_page_parent > a {
	color: #fff;
	box-shadow: inset 0 -2px 0 var(--c-brand);
	border-radius: 8px 8px 0 0;
}

.c-menu > .menu-item-has-children > a::after {
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.75;
}

.c-subtoggle {
	display: none;
}

/* Sprachumschalter (Polylang) */
.c-menu > .lang-item.current-lang {
	display: none;
}

.c-menu > .lang-item {
	margin-left: 6px;
	padding-left: 8px;
	border-left: 1px solid var(--c-line-dark-2);
}

.c-menu > .lang-item ~ .lang-item {
	margin-left: 0;
	padding-left: 0;
	border-left: 0;
}

.c-menu > .lang-item > a {
	padding: 8px;
	gap: 8px;
}

.c-menu .lang-item img {
	display: block;
	width: 20px !important;
	height: auto !important;
	border-radius: 2px;
}

/* Header-Aktionen */
.c-header__actions {
	flex: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

.c-header__cta {
	min-height: 44px;
	padding: 0.5em 1.15em;
	font-size: 15px;
	border-radius: 10px;
}

.c-header__call {
	background: var(--c-accent);
	border-color: var(--c-accent);
}

.c-burger .c-icon--close {
	display: none;
}

.c-nav-open .c-burger .c-icon--menu {
	display: none;
}

.c-nav-open .c-burger .c-icon--close {
	display: block;
}

.c-nav__extra {
	display: none;
}

@media (min-width: 1200px) {
	.c-burger,
	.c-header__call {
		display: none;
	}

	/* Untermenüs */
	.c-menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 20;
		min-width: 250px;
		padding: 8px;
		background: #fff;
		border: 1px solid var(--c-line);
		border-radius: 14px;
		box-shadow: 0 22px 50px rgba(5, 10, 20, 0.22);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
	}

	.c-menu > li > .sub-menu {
		margin-top: 2px;
	}

	.c-menu > li > .sub-menu::before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -10px;
		height: 10px;
	}

	.c-menu li:hover > .sub-menu,
	.c-menu li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.c-menu > li.c-flip > .sub-menu {
		left: auto;
		right: 0;
	}

	.c-menu .sub-menu .sub-menu {
		top: -9px;
		left: auto;
		right: 100%;
		min-width: 320px;
		margin-right: 6px;
	}

	.c-menu .sub-menu .sub-menu::before {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		right: -10px;
		width: 10px;
	}

	.c-menu .sub-menu li.c-flip-right > .sub-menu {
		right: auto;
		left: 100%;
		margin: 0 0 0 6px;
	}

	.c-menu .sub-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 9px 12px;
		border-radius: 8px;
		color: var(--c-ink);
		font-size: 15px;
		line-height: 1.35;
		text-decoration: none;
	}

	.c-menu .sub-menu a:hover,
	.c-menu .sub-menu li:focus-within > a {
		background: var(--c-bg);
		color: var(--c-link);
	}

	.c-menu .sub-menu .current-menu-item > a {
		color: var(--c-link);
		font-weight: 600;
	}

	.c-menu .sub-menu .menu-item-has-children > a::before {
		content: "";
		order: -1;
		width: 14px;
		height: 14px;
		flex: none;
		background: currentColor;
		opacity: 0.6;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 6-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	}

	.c-menu .sub-menu .menu-item-has-children > a {
		justify-content: flex-start;
	}
}

/* Hauptmenü – Smartphone & Tablet */
@media (max-width: 1199px) {
	.c-header__inner {
		gap: 12px;
	}

	.c-topbar,
	.c-header__cta {
		display: none;
	}

	.c-header__actions {
		margin-left: auto;
		gap: 8px;
	}

	.c-brand__icon {
		width: 46px;
		height: 30px;
	}

	.c-brand__top {
		font-size: 9px;
	}

	.c-brand__name {
		font-size: 19px;
		margin-top: 4px;
	}

	.c-brand .custom-logo {
		max-height: 38px;
		max-width: 200px;
	}

	.c-nav {
		position: fixed;
		top: var(--c-nav-top, var(--c-header-h));
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 99;
		flex-direction: column;
		justify-content: flex-start;
		padding: 8px var(--c-gutter) 32px;
		background: var(--c-navy);
		overflow-y: auto;
		overscroll-behavior: contain;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	}

	.c-nav-open {
		overflow: hidden;
	}

	.c-nav-open .c-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.c-menu {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: stretch;
		gap: 0;
		width: 100%;
		max-width: 640px;
		margin-inline: auto;
	}

	.c-menu > li {
		flex: 1 0 100%;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		border-bottom: 1px solid var(--c-line-dark);
	}

	.c-menu > li > a {
		flex: 1;
		min-height: 58px;
		padding: 8px 0;
		border-radius: 0;
		background: none !important;
		box-shadow: none !important;
		color: #fff;
		font-family: var(--c-font-head);
		font-size: 20px;
		white-space: normal;
	}

	.c-menu > .current-menu-item > a {
		color: var(--c-sky);
	}

	.c-menu > .menu-item-has-children > a::after {
		display: none;
	}

	.c-subtoggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: var(--c-sky);
		cursor: pointer;
	}

	.c-subtoggle .c-icon {
		transition: transform 0.2s;
	}

	.is-open > .c-subtoggle .c-icon {
		transform: rotate(180deg);
	}

	.c-menu .sub-menu {
		display: none;
		flex: 1 0 100%;
		padding: 0 0 12px 14px;
	}

	.c-menu .is-open > .sub-menu {
		display: block;
	}

	.c-menu .sub-menu li {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}

	.c-menu .sub-menu a {
		flex: 1;
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 8px 0;
		color: var(--c-on-dark);
		font-size: 16.5px;
		line-height: 1.35;
		text-decoration: none;
	}

	.c-menu .sub-menu a:hover {
		color: #fff;
	}

	.c-menu .sub-menu .sub-menu {
		margin-left: 2px;
		padding-left: 14px;
		border-left: 1px solid var(--c-line-dark-2);
	}

	.c-menu .sub-menu .sub-menu a {
		font-size: 15.5px;
	}

	.c-menu > .lang-item,
	.c-menu > .lang-item ~ .lang-item {
		flex: 0 0 auto;
		margin: 18px 12px 0 0;
		padding: 0;
		border: 0;
	}

	.c-menu > .lang-item > a {
		min-height: 44px;
		padding: 8px 14px;
		border: 1px solid var(--c-line-dark-2);
		border-radius: 10px;
		font-family: var(--c-font);
		font-size: 15px;
	}

	.c-nav__extra {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
		max-width: 640px;
		margin: auto auto 0;
		padding-top: 32px;
	}

	.c-nav__extra .c-btn {
		width: 100%;
	}

	.c-nav__mail {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 44px;
		color: var(--c-on-dark);
		font-size: 15px;
		text-decoration: none;
	}

	.c-nav__mail .c-icon {
		color: var(--c-sky);
	}
}

/* --------------------------------------------------------------------------
   Seitenkopf (dunkel)
   -------------------------------------------------------------------------- */

.c-pagehead {
	padding: clamp(48px, 6vw, 84px) 0 clamp(44px, 5vw, 68px);
}

.c-pagehead__title {
	max-width: 920px;
	margin: 0;
	font-size: clamp(32px, 4.4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.022em;
}

.c-pagehead__text {
	max-width: 680px;
	margin-top: 18px;
	font-size: 18px;
}

.c-pagehead__text p:last-child {
	margin-bottom: 0;
}

.c-eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 0 0 18px;
	font-family: var(--c-font-mono);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-sky);
}

.c-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-brand);
}

.c-dark .c-eyebrow a {
	color: var(--c-sky);
	text-decoration: none;
}

.c-dark .c-eyebrow a:hover {
	color: #fff;
}

.c-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	margin-top: 20px;
	color: var(--c-on-dark-muted);
	font-size: 15px;
}

.c-meta span + span::before {
	content: "·";
	margin-right: 18px;
	color: var(--c-line-dark-2);
}

/* --------------------------------------------------------------------------
   Seiten & Beiträge: Inhaltsspalte
   -------------------------------------------------------------------------- */

.c-main {
	padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 104px);
}

.c-main--post {
	background: #fff;
}

.c-content {
	width: 100%;
	max-width: calc(var(--c-wrap) + 2 * var(--c-gutter));
	margin-inline: auto;
	padding-inline: var(--c-gutter);
}

.c-content > * {
	max-width: var(--c-narrow);
	margin-left: auto;
	margin-right: auto;
}

.c-content > .alignwide,
.c-content > .c-cards,
.c-content > .c-steps,
.c-content > .c-tiles,
.c-content > .wp-block-columns:not(.alignnarrow),
.c-content > .ti-widget,
.c-content > pre.ti-widget {
	max-width: var(--c-wrap);
}

.c-content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.c-content > :first-child {
	margin-top: 0;
}

.c-content--post {
	font-size: 18px;
	line-height: 1.75;
}

.c-content--post > * {
	max-width: 720px;
}

.c-content--post > .alignwide {
	max-width: 1000px;
}

.c-featured {
	margin: 0 auto 2.2em;
}

.c-featured img {
	display: block;
	width: 100%;
	border-radius: 18px;
}

@media (max-width: 600px) {
	.c-content--post {
		font-size: 17px;
	}
}

/* --------------------------------------------------------------------------
   Startseite & Landingpages: Abschnitte
   -------------------------------------------------------------------------- */

.c-sec {
	padding: clamp(64px, 8vw, 112px) 0;
	background: var(--c-surface);
}

.c-sec--alt {
	background: var(--c-bg);
}

.c-sec.c-dark {
	background-color: var(--c-navy);
}

.c-flow > * {
	max-width: var(--c-narrow);
}

.c-flow > .c-cards,
.c-flow > .c-steps,
.c-flow > .wp-block-columns,
.c-flow > .wp-block-gallery,
.c-flow > .wp-block-table,
.c-flow > .wp-block-media-text,
.c-flow > .alignwide,
.c-flow > .alignfull,
.c-flow > .ti-widget,
.c-flow > pre.ti-widget,
.c-flow > .c-split__form,
.c-flow > .c-linkcards,
.c-flow > .c-tiles {
	max-width: none;
}

.c-flow > :first-child,
.c-split__text > :first-child,
.c-split__media > :first-child,
.c-split__form > :first-child {
	margin-top: 0;
}

.c-flow > :last-child,
.c-split__text > :last-child,
.c-split__media > :last-child,
.c-split__form > :last-child {
	margin-bottom: 0;
}

.c-sec h2 {
	margin: 0 0 0.6em;
	font-size: clamp(28px, 3.4vw, 44px);
	line-height: 1.1;
}

.c-sec h2::before {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin-bottom: 20px;
	border-radius: 2px;
	background: var(--c-brand);
}

.c-sec h2 + p {
	font-size: 18px;
}

/* Text + Bild nebeneinander */
.c-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(36px, 5vw, 80px);
	align-items: center;
}

.c-split__media .wp-block-image,
.c-split__media figure {
	margin: 0;
}

.c-split__media img {
	display: block;
	width: 100% !important;
	height: auto !important;
	border-radius: 20px;
	box-shadow: 0 24px 48px rgba(14, 23, 38, 0.12);
}

.c-split__media figcaption {
	margin-top: 10px;
	font-size: 13.5px;
	color: var(--c-muted);
	text-align: right;
}

@media (max-width: 900px) {
	.c-split {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Einstieg der Startseite */
.c-sec--hero {
	padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
}

.c-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
	gap: clamp(40px, 6vw, 88px);
	align-items: center;
}

.c-hero--single {
	grid-template-columns: minmax(0, 1fr);
}

.c-hero__main > :last-child {
	margin-bottom: 0;
}

.c-hero__title {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 0 0 22px;
	font-family: var(--c-font-mono);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-sky) !important;
}

.c-hero__title::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-brand);
	transform: translateY(-2px);
}

.c-sec--hero .c-hero__main h2 {
	max-width: 760px;
	margin: 0 0 24px;
	font-size: clamp(36px, 5.2vw, 64px);
	line-height: 1.04;
	letter-spacing: -0.028em;
}

.c-sec--hero h2::before {
	display: none;
}

.c-hero__main > p {
	max-width: 640px;
	font-size: 18.5px;
	color: var(--c-on-dark);
}

.c-hero__main .wp-block-buttons {
	margin: 32px 0 0;
}

.c-hero__main .wp-block-button__link {
	min-height: 56px;
	padding-inline: 1.7em;
	font-size: 17px;
}

.c-hero__aside {
	position: relative;
	width: 100%;
	max-width: 400px;
	justify-self: end;
}

.c-hero__photo figure,
.c-hero__photo .wp-block-image {
	margin: 0;
}

.c-hero__photo img {
	display: block;
	width: 100% !important;
	max-width: 330px;
	height: auto !important;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 22px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.c-hero__card {
	position: relative;
	margin: -72px 0 0 48px;
	padding: 22px 24px;
	border-radius: 18px;
	background: #fff;
	color: var(--c-text);
	box-shadow: var(--c-shadow-lg);
	font-size: 15px;
	line-height: 1.6;
}

.c-hero__card > :first-child {
	margin-top: 0;
}

.c-hero__card > :last-child {
	margin-bottom: 0;
}

.c-hero__card h3 {
	margin: 0 0 0.5em;
	color: var(--c-ink) !important;
	font-size: 18px;
	line-height: 1.3;
}

.c-hero__card p {
	margin-bottom: 0.8em;
}

.c-hero__card strong {
	font-weight: 500;
	color: var(--c-text);
}

.c-dark .c-hero__card a:not(.wp-block-button__link) {
	color: var(--c-link);
	font-weight: 600;
}

.c-hero__card .wp-block-image {
	margin: 10px 0 0;
}

.c-hero__card .wp-block-image img {
	width: auto !important;
	max-width: 180px;
	height: auto !important;
}

@media (max-width: 960px) {
	.c-hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-hero__aside {
		justify-self: start;
		max-width: 480px;
	}

	.c-hero__photo img {
		max-width: 260px;
	}

	.c-hero__card {
		margin: -64px 0 0 40px;
	}
}

@media (max-width: 480px) {
	.c-hero__photo img {
		max-width: 170px;
		border-radius: 18px;
	}

	.c-hero__card {
		margin: -48px 0 0 28px;
		padding: 18px 20px;
	}
}

/* Smartphone: kürzerer dunkler Einstieg, Button weiter oben, Foto auf hellem Grund.
   Nur die Darstellung ändert sich – die Reihenfolge im Editor bleibt, wie sie ist. */
@media (max-width: 767px) {
	.c-sec--hero.c-dark {
		padding: 0 0 52px;
		background: var(--c-surface);
		color: var(--c-text);
	}

	.c-sec--hero .c-hero {
		gap: 0;
	}

	.c-hero__main {
		position: relative;
		isolation: isolate;
		display: flex;
		flex-direction: column;
		gap: 16px;
		padding: 32px 0 40px;
		color: var(--c-on-dark);
	}

	.c-hero__main::before {
		content: "";
		position: absolute;
		z-index: -1;
		top: 0;
		bottom: 0;
		left: 50%;
		width: 100vw;
		transform: translateX(-50%);
		background-color: var(--c-navy);
		background-image: var(--c-grid);
		background-size: 40px 40px;
	}

	.c-hero__main > * {
		order: 5;
		margin: 0 !important;
	}

	.c-hero__main > .c-hero__title {
		order: 1;
		font-size: 12px;
		letter-spacing: 0.06em;
	}

	.c-hero__main > h2:first-of-type {
		order: 2;
	}

	.c-hero__main > h2:first-of-type + p {
		order: 3;
	}

	.c-hero__main > .wp-block-buttons {
		order: 4;
		margin: 4px 0 6px !important;
	}

	.c-sec--hero .c-hero__main h2 {
		font-size: clamp(30px, 8.6vw, 38px);
		line-height: 1.08;
	}

	.c-hero__main > p {
		font-size: 16.5px;
		line-height: 1.6;
	}

	.c-hero__main .wp-block-button {
		flex: 1 1 100%;
	}

	.c-hero__main .wp-block-button__link {
		width: 100%;
		min-height: 54px;
		font-size: 16.5px;
	}

	.c-hero .c-checklist {
		gap: 10px;
		font-size: 15.5px;
	}

	.c-hero .c-checklist li {
		padding-left: 36px;
	}

	.c-hero__aside {
		max-width: none;
		padding-top: 36px;
	}

	.c-hero__photo img {
		box-shadow: 0 16px 36px rgba(14, 23, 38, 0.16);
	}

	.c-hero__card {
		border: 1px solid var(--c-line);
		box-shadow: var(--c-shadow);
	}
}

/* Einstieg mit Foto auf Seiten mit der Vorlage „Landingpage (Abschnitte)“ (z. B. „Über mich“) */
.c-hero__h1 {
	max-width: 760px;
	margin: 0 0 26px;
	font-size: clamp(34px, 4.8vw, 60px);
	line-height: 1.05;
	letter-spacing: -0.026em;
	color: #fff;
}

.c-hero__pre {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	font-family: var(--c-font-mono);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-sky);
}

.c-hero__pre::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-brand);
}

.c-sec--pagehero .c-hero__main > p {
	font-size: 18.5px;
}

.c-sec--pagehero .c-hero__main > p:first-of-type:not(.c-quote) {
	font-size: 21px;
	color: #fff;
}

.c-sec--pagehero .c-hero__main > p:first-of-type strong {
	color: #fff;
}

.c-sec--story {
	padding: clamp(48px, 6vw, 80px) 0;
}

.c-sec--story .c-flow > p:not(.c-lead):not(.c-quote):not(.c-note) {
	font-size: 18px;
}

@media (max-width: 767px) {
	/* Der Einstieg mit Foto bleibt auf dem Handy komplett dunkel – er ist kurz. */
	.c-sec--pagehero.c-dark {
		padding: 32px 0 44px;
		background-color: var(--c-navy);
		background-image: var(--c-grid);
		background-size: 40px 40px;
		color: var(--c-on-dark);
	}

	.c-sec--pagehero .c-hero__main {
		padding: 0;
	}

	.c-sec--pagehero .c-hero__main::before {
		display: none;
	}

	.c-sec--pagehero .c-hero__h1 {
		font-size: clamp(30px, 8.6vw, 38px);
		line-height: 1.08;
	}

	.c-sec--pagehero .c-hero__pre {
		margin-bottom: 12px;
		font-size: 12px;
	}

	.c-sec--pagehero .c-hero__main > p:first-of-type:not(.c-quote) {
		font-size: 18px;
	}

	.c-sec--pagehero .c-hero__aside {
		padding-top: 28px;
	}

	.c-sec--pagehero .c-hero__photo img {
		max-width: 200px;
		box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
	}
}

/* Häkchen-Listen (aus ✓-Absätzen) */
.c-checklist {
	display: grid;
	gap: 12px;
	margin: 0 0 1.5em;
	padding: 0;
	list-style: none;
}

.c-checklist li {
	position: relative;
	padding-left: 38px;
	line-height: 1.55;
}

.c-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--c-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6a99' 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 / 14px no-repeat;
}

.c-dark .c-checklist li::before {
	background-color: #1f3347;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236cb6e0' 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");
}

.c-hero .c-checklist {
	margin-top: 28px;
	font-size: 16.5px;
}

.c-checklist strong {
	color: var(--c-ink);
}

.c-dark .c-checklist strong {
	color: #fff;
}

.c-sec--split .c-checklist {
	gap: 0;
}

.c-sec--split .c-checklist li {
	padding-top: 13px;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--c-line);
}

.c-sec--split .c-checklist li::before {
	top: 13px;
}

.c-sec--split .c-checklist li:first-child {
	padding-top: 0;
}

.c-sec--split .c-checklist li:first-child::before {
	top: 0;
}

/* Leistungs-Karten (Medien-und-Text-Blöcke) */
.c-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 12px 0 0;
}

.c-cards > .wp-block-media-text {
	display: flex !important;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 28px;
	grid-template-columns: none !important;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.04);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.c-cards > .wp-block-media-text:hover {
	border-color: #9cc3dd;
	box-shadow: var(--c-shadow);
	transform: translateY(-2px);
}

.c-cards .wp-block-media-text__media {
	flex: none;
	align-self: flex-start !important;
	width: 56px;
	height: 56px;
	margin: 0;
	padding: 8px;
	border-radius: 14px;
	background: var(--c-tint);
}

.c-cards .wp-block-media-text__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
}

.c-cards .wp-block-media-text__content {
	flex: 1;
	padding: 0 !important;
}

.c-cards .wp-block-media-text__content > :first-child {
	margin-top: 0;
}

.c-cards .wp-block-media-text__content > :last-child {
	margin-bottom: 0;
}

.c-cards h3 {
	margin: 0 0 0.5em;
	font-size: 21px;
}

.c-cards p {
	font-size: 15.5px;
	line-height: 1.6;
}

.c-cards p strong {
	color: var(--c-ink);
	font-weight: 600;
}

.c-cards p > a:last-child {
	display: inline-flex;
	margin-top: 12px;
	font-weight: 600;
	text-decoration: none;
}

.c-cards p > a:last-child:hover {
	text-decoration: underline;
}

@media (min-width: 1025px) {
	.c-cards > :last-child:nth-child(3n + 1) {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
	}
}

@media (max-width: 1024px) {
	.c-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.c-cards > :last-child:nth-child(2n + 1) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.c-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-cards > .wp-block-media-text {
		padding: 22px;
	}
}

/* Kachel-Raster aus Spalten-Blöcken „Überschrift + Button | Bild“ (z. B. „Für Unternehmen“) */
.c-tiles {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px;
	margin: 0 auto 2em;
}

.c-tiles > .wp-block-columns,
.c-tiles > .wp-block-columns.has-background {
	position: relative;
	grid-column: span 2;
	display: flex !important;
	flex-direction: column;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden;
	background: #fff !important;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.04);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.c-tiles > .wp-block-columns:hover {
	border-color: #9cc3dd;
	box-shadow: var(--c-shadow);
	transform: translateY(-3px);
}

/* Stärker als die WordPress-Regel „Spalten auf dem Handy untereinander“ (flex-basis: 100%). */
.c-tiles > .wp-block-columns:not(.c-none) > .wp-block-column {
	flex: 0 0 auto !important;
	flex-basis: auto !important;
	width: 100% !important;
	margin: 0 !important;
}

.c-tiles .wp-block-column:has(> .wp-block-image) {
	order: -1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 230px;
	min-height: 0;
	overflow: hidden;
	padding: 20px;
	border-bottom: 1px solid var(--c-line);
	background: #fff;
}

/* WordPress umschließt zentrierte Bilder in klassischen Themes mit einem zusätzlichen <div>. */
.c-tiles .wp-block-column > .wp-block-image,
.c-tiles .wp-block-column > .wp-block-image > figure {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0 !important;
}

.c-tiles .wp-block-column > .wp-block-image img {
	display: block;
	width: auto !important;
	max-width: 100%;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
	border-radius: 0;
	transition: transform 0.4s;
}

.c-tiles > .wp-block-columns:hover .wp-block-image img {
	transform: scale(1.04);
}

.c-tiles > .wp-block-columns:not(.c-none) > .wp-block-column:not(:has(> .wp-block-image)) {
	flex: 1 1 auto !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px 24px 24px;
}

.c-tiles .wp-block-column > :first-child {
	margin-top: 0;
}

.c-tiles h2,
.c-tiles h3 {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.c-sec .c-tiles h2::before {
	display: none;
}

.c-tiles .wp-block-column p {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--c-muted);
}

.c-tiles .wp-block-buttons {
	margin: auto 0 0;
	padding-top: 6px;
}

.c-tiles .wp-block-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.c-tiles .wp-block-button::after {
	content: "";
	width: 17px;
	height: 17px;
	background: var(--c-link);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s;
}

.c-tiles > .wp-block-columns:hover .wp-block-button::after {
	transform: translateX(3px);
}

.c-tiles .wp-block-button__link,
.c-tiles .wp-block-button__link:hover {
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none !important;
	box-shadow: none;
	color: var(--c-link) !important;
	font-size: 15.5px;
	font-weight: 600;
	transform: none;
}

/* Die ganze Kachel ist anklickbar */
.c-tiles .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.c-tiles .wp-block-button__link:focus-visible {
	outline: none;
}

.c-tiles > .wp-block-columns:has(.wp-block-button__link:focus-visible) {
	outline: 3px solid var(--c-brand);
	outline-offset: 2px;
}

@media (min-width: 1025px) {
	/* Bei 7, 10 … Kacheln wird die erste zur großen Kachel über die volle Breite. */
	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 1) {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: stretch;
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 1) .wp-block-column:has(> .wp-block-image) {
		order: 2;
		width: 42% !important;
		height: 320px;
		padding: 28px;
		border-bottom: 0;
		border-left: 1px solid var(--c-line);
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 1) .wp-block-column:not(:has(> .wp-block-image)) {
		width: 58% !important;
		justify-content: center;
		padding: 40px 48px;
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 1) h2,
	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 1) h3 {
		margin-bottom: 16px;
		font-size: clamp(28px, 2.6vw, 36px);
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 1) .wp-block-buttons {
		margin-top: 8px;
	}

	/* Bei 8, 11 … Kacheln: die ersten beiden je halbe Breite. */
	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 2),
	.c-tiles > .wp-block-columns:first-child:nth-last-child(3n + 2) + .wp-block-columns {
		grid-column: span 3;
	}
}

@media (max-width: 1024px) {
	.c-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.c-tiles > .wp-block-columns,
	.c-tiles > .wp-block-columns.has-background {
		grid-column: auto;
	}

}

@media (min-width: 641px) and (max-width: 1024px) {
	/* Ungerade Anzahl: die erste Kachel über die volle Breite, der Rest paarweise. */
	.c-tiles > .wp-block-columns:first-child:nth-last-child(odd) {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: stretch;
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(odd) .wp-block-column:has(> .wp-block-image) {
		order: 2;
		width: 42% !important;
		height: 260px;
		border-bottom: 0;
		border-left: 1px solid var(--c-line);
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(odd) .wp-block-column:not(:has(> .wp-block-image)) {
		width: 58% !important;
		justify-content: center;
		padding: 32px;
	}

	.c-tiles > .wp-block-columns:first-child:nth-last-child(odd) h2,
	.c-tiles > .wp-block-columns:first-child:nth-last-child(odd) h3 {
		font-size: 28px;
	}
}

@media (max-width: 640px) {
	.c-tiles {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	/* Handy: kompakte Zeilen – Bild links, Titel und Link rechts. */
	.c-tiles > .wp-block-columns,
	.c-tiles > .wp-block-columns.has-background {
		flex-direction: row;
		align-items: stretch;
	}

	.c-tiles > .wp-block-columns:not(.c-none) > .wp-block-column:has(> .wp-block-image) {
		width: 108px !important;
		height: auto;
		min-height: 108px;
		padding: 12px;
		border-bottom: 0;
		border-right: 1px solid var(--c-line);
	}

	.c-tiles > .wp-block-columns:not(.c-none) > .wp-block-column:not(:has(> .wp-block-image)) {
		width: auto !important;
		justify-content: center;
		padding: 14px 18px;
	}

	.c-tiles .wp-block-column > .wp-block-image img {
		height: auto !important;
		max-height: 84px;
	}

	.c-tiles h2,
	.c-tiles h3 {
		margin-bottom: 6px;
		font-size: 19px;
	}

	.c-tiles .wp-block-buttons {
		padding-top: 2px;
	}
}

/* Spalten mit Bildern als Karten (z. B. „Persönlich · Verständlich · Zuverlässig“) */
.c-sec .wp-block-columns {
	gap: 20px;
	margin: 2em 0 0;
}

.c-sec .wp-block-column:has(> .wp-block-image) {
	display: flex;
	flex-direction: column;
	padding: 0 26px 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
}

.c-sec--alt .wp-block-column:has(> .wp-block-image) {
	border-color: transparent;
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.05);
}

.c-sec .wp-block-column:has(> .wp-block-image) > .wp-block-image {
	order: -1;
	margin: 0 -26px 22px;
}

.c-sec .wp-block-column:has(> .wp-block-image) > .wp-block-image img {
	display: block;
	border-radius: 0;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.c-sec .wp-block-column:has(> .wp-block-image) > h3 {
	margin: 0 0 0.45em;
}

.c-sec .wp-block-column:has(> .wp-block-image) > p {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
}

/* Schritte („01 – …“) */
.c-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 12px 0 0;
}

.c-step {
	padding: 28px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
}

.c-sec--alt .c-step {
	border-color: transparent;
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.05);
}

.c-step__nr {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border: 2px solid var(--c-brand);
	border-radius: 50%;
	font-family: var(--c-font-mono);
	font-size: 15px;
	font-weight: 500;
	color: var(--c-link);
}

.c-step__title {
	margin: 0 0 0.45em;
	font-family: var(--c-font-head);
	font-size: 21px;
	line-height: 1.3;
	color: var(--c-ink);
}

.c-step__title strong {
	font-weight: 600;
}

.c-step__text {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
}

.c-steps + .wp-block-buttons {
	margin-top: 32px;
}

@media (max-width: 860px) {
	.c-steps {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-step {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 18px;
		padding: 22px;
	}

	.c-step__nr {
		grid-row: span 2;
		margin: 0;
	}
}

/* Kontaktbereich (dunkel) mit Formular-Karte */
.c-split--form {
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: start;
}

.c-sec--form .c-split__text > p {
	font-size: 18px;
	color: var(--c-on-dark);
}

.c-split__form {
	padding: clamp(24px, 3.2vw, 40px);
	border-radius: 20px;
	background: #fff;
	color: var(--c-text);
	box-shadow: var(--c-shadow-lg);
}

.c-dark .c-split__form a:not(.c-btn):not(.wp-block-button__link) {
	color: var(--c-link);
}

.c-dark .c-split__form h2,
.c-dark .c-split__form h3,
.c-dark .c-split__form h4 {
	color: var(--c-ink);
}

@media (max-width: 900px) {
	.c-split--form {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Bewertungen (Trustindex) */
.c-sec--reviews .ti-widget {
	margin-top: 8px;
}

pre.ti-widget {
	white-space: normal;
	font-family: inherit;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	overflow: visible;
}

/* Blog-Teaser & Karten */
.c-sec__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 32px;
	margin-bottom: 36px;
}

.c-sec__head h2 {
	margin: 0;
}

.c-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

@media (max-width: 1024px) {
	.c-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.c-posts {
		grid-template-columns: minmax(0, 1fr);
	}
}

.c-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.c-sec--alt .c-card,
.c-main .c-card {
	border-color: transparent;
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.05);
}

.c-card:hover {
	border-color: #9cc3dd;
	box-shadow: var(--c-shadow);
	transform: translateY(-3px);
}

.c-card__img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--c-tint);
}

.c-card__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.c-card:hover .c-card__img img {
	transform: scale(1.03);
}

.c-card__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--c-navy);
	background-image: var(--c-grid);
	background-size: 32px 32px;
}

.c-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 24px;
}

.c-card__meta {
	font-family: var(--c-font-mono);
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-link);
}

.c-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
}

.c-card__title a {
	color: var(--c-ink);
	text-decoration: none;
}

.c-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.c-card__excerpt {
	margin: 0;
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--c-muted);
}

.c-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 4px;
	font-size: 15px;
	font-weight: 600;
	color: var(--c-link);
}

/* Blätter-Navigation */
.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	background: #fff;
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--c-accent);
	color: #fff;
}

a.page-numbers:hover {
	background: var(--c-tint);
}

/* Vor/zurück unter Beiträgen */
.c-postnav {
	max-width: calc(720px + 2 * var(--c-gutter));
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 56px;
}

.c-postnav__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 22px;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	color: var(--c-ink);
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.c-postnav__link:hover {
	border-color: #9cc3dd;
	box-shadow: var(--c-shadow);
	color: var(--c-ink);
}

.c-postnav__link--next {
	grid-column: 2;
	text-align: right;
}

.c-postnav__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--c-font-mono);
	font-size: 12.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-link);
}

.c-postnav__link--next .c-postnav__label {
	justify-content: flex-end;
}

.c-postnav__title {
	font-family: var(--c-font-head);
	font-weight: 600;
	font-size: 17px;
	line-height: 1.35;
}

@media (max-width: 640px) {
	.c-postnav {
		grid-template-columns: minmax(0, 1fr);
	}

	.c-postnav__link--next {
		grid-column: auto;
	}
}

/* Leerer Zustand, Suche */
.c-empty {
	padding: 24px 0;
}

.c-search {
	display: flex;
	gap: 10px;
	max-width: 560px;
	margin: 0 0 24px;
}

.c-search__field {
	flex: 1;
	min-width: 0;
	min-height: 50px;
	padding: 10px 16px;
	border: 1px solid #c9d5e2;
	border-radius: 12px;
	background: #fff;
	color: var(--c-ink);
	font: inherit;
}

@media (max-width: 480px) {
	.c-search__submit span {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Blöcke im Inhalt
   -------------------------------------------------------------------------- */

.wp-block-image img {
	border-radius: 14px;
}

.wp-block-image figcaption,
.wp-element-caption {
	margin-top: 10px;
	font-size: 14px;
	color: var(--c-muted);
}

.c-dark .wp-element-caption {
	color: var(--c-on-dark-muted);
}

.wp-block-list,
.c-content ul:not([class]),
.c-content ol:not([class]) {
	padding-left: 1.3em;
}

.c-content li + li,
.wp-block-list li + li {
	margin-top: 0.35em;
}

.c-content li::marker,
.wp-block-list li::marker {
	color: var(--c-brand);
}

.wp-block-quote {
	position: relative;
	margin: 2em auto;
	padding: 28px 32px 28px 72px;
	border: 0;
	border-radius: var(--c-radius);
	background: var(--c-tint-2);
	color: var(--c-ink);
	font-size: 1.08em;
}

.wp-block-quote::before {
	content: "„";
	position: absolute;
	left: 24px;
	top: 6px;
	font-family: var(--c-font-head);
	font-size: 64px;
	line-height: 1;
	color: var(--c-brand);
}

.wp-block-quote p:last-of-type {
	margin-bottom: 0;
}

.wp-block-quote cite {
	display: block;
	margin-top: 10px;
	font-size: 15px;
	font-style: normal;
	color: var(--c-muted);
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--c-line);
	margin: 2.6em auto;
}

.wp-block-separator.is-style-dots::before {
	color: var(--c-brand);
}

/* Spalten mit Hintergrund (z. B. Seite „Für Unternehmen“) */
.wp-block-columns.has-background {
	padding: clamp(24px, 4vw, 48px) !important;
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.05);
}

.c-content > .wp-block-columns.has-background {
	margin-bottom: 24px;
}

.wp-block-columns.has-background h2 {
	margin-top: 0;
}

.wp-block-columns.has-background .wp-block-buttons {
	margin-bottom: 0;
}

.c-content > .wp-block-columns.has-background + .wp-block-columns.has-background {
	margin-top: 0;
}

/* Medien & Text außerhalb von Kartenreihen */
.wp-block-media-text {
	margin: 2em 0;
}

/* Tabellen als Karten */
.wp-block-table {
	margin: 1.6em 0 2em;
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border: 1px solid var(--c-line);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--c-radius);
	background: #fff;
	font-size: 16px;
	line-height: 1.55;
	overflow: hidden;
}

.wp-block-table thead {
	border: 0;
}

.wp-block-table th {
	padding: 14px 20px;
	border: 0;
	border-bottom: 1px solid var(--c-line);
	background: var(--c-tint-2);
	font-family: var(--c-font-mono);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.07em;
	line-height: 1.4;
	text-align: left;
	text-transform: uppercase;
	color: var(--c-link);
	vertical-align: bottom;
}

.wp-block-table td {
	padding: 16px 20px;
	border: 0;
	border-bottom: 1px solid var(--c-line);
	text-align: left;
	vertical-align: top;
}

.wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}

.wp-block-table tbody tr {
	transition: background-color 0.15s;
}

.wp-block-table tbody tr:hover {
	background: #fafcfe;
}

.wp-block-table td:first-child {
	color: var(--c-ink);
}

.wp-block-table td strong {
	color: var(--c-ink);
}

.wp-block-table td.c-price {
	font-family: var(--c-font-head);
	font-size: 17.5px;
	font-weight: 600;
	color: var(--c-ink);
	white-space: nowrap;
}

.wp-block-table td.c-na {
	color: #9aa7b8;
}

.c-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px;
	border-radius: 999px;
	background: #e2f3e9;
	color: #1b6b3d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
}

.c-table--stack table.has-fixed-layout,
.c-table--stack table {
	table-layout: auto;
}

.c-table--stack th:first-child {
	width: 22%;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: var(--c-bg);
}

.wp-block-table figcaption {
	text-align: left;
}

.c-flow > .wp-block-table:not(.c-table--stack) {
	max-width: var(--c-narrow);
}

/* Handy: breite Tabellen werden zu Karten, schmale bleiben Tabellen */
@media (max-width: 700px) {
	.c-table--stack {
		overflow: visible;
	}

	.c-table--stack table,
	.c-table--stack tbody,
	.c-table--stack tr,
	.c-table--stack td {
		display: block;
		width: 100% !important;
	}

	.c-table--stack thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.c-table--stack tr {
		padding: 16px 18px;
		border-bottom: 1px solid var(--c-line);
	}

	.c-table--stack tbody tr:last-child {
		border-bottom: 0;
	}

	.c-table--stack td {
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
		gap: 12px;
		padding: 5px 0;
		border: 0;
		font-size: 15.5px;
	}

	.c-table--stack td::before {
		content: attr(data-label);
		padding-top: 3px;
		font-family: var(--c-font-mono);
		font-size: 11.5px;
		letter-spacing: 0.06em;
		line-height: 1.4;
		text-transform: uppercase;
		color: var(--c-muted);
	}

	.c-table--stack td:first-child {
		display: block;
		padding: 0 0 6px;
		font-family: var(--c-font-head);
		font-size: 18px;
		color: var(--c-ink);
	}

	.c-table--stack td:first-child::before,
	.c-table--stack td:not([data-label])::before {
		display: none;
	}

	.c-table--stack td:not([data-label]) {
		display: block;
	}

	.c-table--stack td.c-na {
		display: none;
	}

	.c-table--stack td.c-price {
		font-size: 17px;
		white-space: normal;
	}

	.wp-block-table:not(.c-table--stack) th,
	.wp-block-table:not(.c-table--stack) td {
		padding: 12px 14px;
		font-size: 15px;
		overflow-wrap: break-word;
		-webkit-hyphens: auto;
		hyphens: auto;
	}

	.wp-block-table:not(.c-table--stack) th {
		font-size: 11.5px;
		-webkit-hyphens: manual;
		hyphens: manual;
	}

	.wp-block-table:not(.c-table--stack) td.c-price {
		font-size: 16px;
	}

	/* Preistabelle (Klasse aus dem bisherigen Zusatz-CSS): Preisspalte breit genug */
	.wp-block-table.preistabelle:not(.c-table--stack) th:nth-child(2),
	.wp-block-table.preistabelle:not(.c-table--stack) td:nth-child(2) {
		width: 100px !important;
		min-width: 100px !important;
		overflow-wrap: normal !important;
		word-break: keep-all !important;
		-webkit-hyphens: manual !important;
		hyphens: manual !important;
	}
}

/* Abschnitts-Layout: nummerierte Überschriften, Begriffslisten, Hinweise */
.c-h-nr {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 20px;
	border: 2px solid var(--c-brand);
	border-radius: 50%;
	font-family: var(--c-font-mono);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--c-link);
}

.c-dark .c-h-nr {
	color: var(--c-sky);
}

.c-sec h2:has(.c-h-nr)::before {
	display: none;
}

.c-sec p.c-label {
	margin: 2.2em 0 0.8em;
	font-family: var(--c-font-head);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--c-ink);
}

.c-sec p.c-label strong {
	font-weight: 600;
}

.c-sec h2 + p.c-label,
.c-sec h2 + .wp-block-table {
	margin-top: 1.2em;
}

.c-sec p.c-note {
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--c-tint-2);
	color: var(--c-text);
	font-size: 15.5px;
	line-height: 1.6;
}

.c-sec--alt p.c-note {
	background: #fff;
}

.c-sec p.c-note em {
	font-style: normal;
}

.c-dark p.c-note {
	padding: 0;
	background: none;
	color: var(--c-on-dark-muted);
	font-size: 14px;
}

.c-facts {
	margin: 1.8em 0;
	border-top: 1px solid var(--c-line);
}

.c-facts p {
	position: relative;
	margin: 0;
	padding: 16px 0 16px 236px;
	border-bottom: 1px solid var(--c-line);
	font-size: 16px;
	line-height: 1.6;
}

.c-facts p > strong:first-child {
	position: absolute;
	top: 16px;
	left: 0;
	width: 212px;
	font-family: var(--c-font-head);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--c-ink);
}

.c-facts p strong {
	color: var(--c-ink);
}

@media (max-width: 700px) {
	.c-facts p {
		padding-left: 0;
	}

	.c-facts p > strong:first-child {
		position: static;
		display: block;
		width: auto;
		margin-bottom: 4px;
	}
}

/* Reiner Textabschnitt: Überschrift links, Text rechts */
.c-sec--text {
	padding: clamp(56px, 7vw, 96px) 0;
}

.c-textsec {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 80px);
	align-items: start;
}

.c-textsec__head h2 {
	margin: 0;
	font-size: clamp(26px, 2.6vw, 34px);
	line-height: 1.15;
}

@media (min-width: 901px) {
	.c-textsec__head {
		position: sticky;
		top: calc(var(--c-header-h) + var(--wp-admin--admin-bar--height, 0px) + 32px);
	}
}

.c-textsec__body {
	padding-top: 6px;
}

.c-textsec__body > :first-child {
	margin-top: 0;
}

.c-textsec__body > :last-child {
	margin-bottom: 0;
}

.c-textsec__body > p {
	font-size: 17.5px;
}

@media (max-width: 900px) {
	.c-textsec {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.c-textsec__body > p {
		font-size: 17px;
	}
}

/* Zitat (kursiver Absatz mit Anführungszeichen) */
.c-sec p.c-quote {
	margin: 1.6em 0;
	font-size: 16.5px;
	line-height: 1.6;
	color: var(--c-muted);
}

.c-sec p.c-quote em {
	font-style: normal;
}

.c-sec p.c-quote > em:first-child {
	display: block;
	margin-bottom: 8px;
	font-family: var(--c-font-head);
	font-size: clamp(21px, 2.2vw, 26px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--c-ink);
}

.c-sec p.c-quote > em:first-child + br {
	display: none;
}

.c-dark p.c-quote {
	color: var(--c-on-dark-muted);
}

.c-dark p.c-quote > em:first-child {
	color: #fff;
}

.c-hero__main > p.c-quote {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line-dark-2);
}

/* Kernaussage (vollständig fetter Absatz) */
.c-sec p.c-lead {
	margin: 1.8em 0 0;
	padding: 22px 26px;
	border-radius: var(--c-radius);
	background: var(--c-tint-2);
	font-family: var(--c-font-head);
	font-size: clamp(19px, 1.9vw, 22px);
	font-weight: 500;
	line-height: 1.45;
	color: var(--c-ink);
}

.c-sec--alt p.c-lead {
	background: #fff;
}

.c-sec p.c-lead strong {
	font-weight: 600;
}

/* Kacheln aus Link-Listen („IT-Service – …“) */
.c-linkcards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 1.6em 0;
	padding: 0 !important;
	list-style: none;
}

.c-linkcards li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 !important;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.c-linkcards li::marker {
	content: "";
}

.c-sec--alt .c-linkcards li {
	border-color: transparent;
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.05);
}

.c-linkcards li:hover {
	border-color: #9cc3dd;
	box-shadow: var(--c-shadow);
	transform: translateY(-2px);
}

.c-linkcards__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--c-font-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--c-ink);
	text-decoration: none;
}

.c-linkcards__title:hover {
	color: var(--c-link);
}

.c-linkcards__title .c-icon {
	color: var(--c-link);
	transition: transform 0.2s;
}

.c-linkcards li:hover .c-linkcards__title .c-icon {
	transform: translateX(3px);
}

.c-linkcards__title::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 14px;
}

.c-linkcards__text {
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--c-muted);
}

@media (max-width: 1024px) {
	.c-linkcards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.c-linkcards {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}

	.c-linkcards li {
		padding: 18px 20px;
	}
}

/* Kompakte Einleitung vor dem ersten Abschnitt (z. B. Preisliste) */
.c-sec--intro {
	padding: 28px 0 26px;
	border-bottom: 1px solid var(--c-line);
	font-size: 15px;
	line-height: 1.6;
}

.c-sec--intro .c-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 32px;
}

.c-sec--intro .c-flow > * {
	margin: 0;
	max-width: none;
}

.c-sec--intro p.c-note {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--c-tint);
	color: var(--c-link);
	font-size: 14px;
}

/* Code */
pre.wp-block-code,
pre.wp-block-preformatted,
.wp-block-code {
	padding: 16px 18px;
	overflow-x: auto;
	border: 1px solid #d6e0ea;
	border-left: 4px solid var(--c-brand);
	border-radius: 8px;
	background: #f4f7fa;
	color: #1f2d3d;
	font-family: var(--c-font-mono);
	font-size: 14.5px;
	line-height: 1.6;
}

pre code,
.wp-block-code code {
	padding: 0;
	background: none;
	color: inherit;
	font-family: inherit;
}

p code,
li code,
td code {
	padding: 2px 6px;
	border-radius: 4px;
	background: #eef2f7;
	color: var(--c-link);
	font-family: var(--c-font-mono);
	font-size: 0.88em;
}

/* Neueste Beiträge / Query-Loop-Blöcke im Inhalt */
.wp-block-latest-posts.wp-block-latest-posts__list {
	padding: 0;
	list-style: none;
}

.wp-block-latest-posts__list:not(.is-grid) li {
	padding: 16px 0;
	border-bottom: 1px solid var(--c-line);
}

.wp-block-latest-posts__post-title {
	font-family: var(--c-font-head);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--c-ink);
	text-decoration: none;
}

.wp-block-latest-posts__post-title:hover {
	color: var(--c-link);
}

.wp-block-latest-posts.is-grid li {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
}

.wp-block-post-template.is-layout-grid > .wp-block-post {
	padding: 22px;
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: var(--c-radius);
}

/* Formulare (Contact Form 7) */
.wpcf7 form > p {
	margin: 0;
}

.wpcf7 .hidden-fields-container {
	display: none;
}

.wpcf7 fieldset {
	margin: 0;
	padding: 0;
	border: 0;
}

.wpcf7-form br {
	display: none;
}

.wpcf7 label {
	display: block;
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--c-ink);
}

.wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea,
.c-comments input[type="text"],
.c-comments input[type="email"],
.c-comments input[type="url"],
.c-comments textarea {
	width: 100%;
	min-height: 50px;
	padding: 11px 14px;
	border: 1px solid #c9d5e2;
	border-radius: 10px;
	background: #f8fafc;
	color: var(--c-ink);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.wpcf7 textarea,
.c-comments textarea {
	height: 150px;
	resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus,
.c-comments input:focus,
.c-comments textarea:focus,
.c-search__field:focus {
	outline: none;
	border-color: var(--c-brand);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(69, 152, 200, 0.18);
}

.wpcf7 form > p:first-of-type:has(> label:nth-of-type(4)) {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
}

.wpcf7 form > p:first-of-type:has(> label:nth-of-type(4)) > label:has(select),
.wpcf7 form > p:first-of-type:has(> label:nth-of-type(4)) > label:has(textarea),
.wpcf7 form > p:first-of-type:has(> label:nth-of-type(4)) > :not(label) {
	grid-column: 1 / -1;
}

@media (max-width: 560px) {
	.wpcf7 form > p:first-of-type:has(> label:nth-of-type(4)) {
		grid-template-columns: minmax(0, 1fr);
	}
}

.wpcf7-acceptance .wpcf7-list-item {
	margin: 4px 0 0;
}

.wpcf7-acceptance label,
.wpcf7-checkbox label,
.wpcf7-radio label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	font-weight: 400;
	font-size: 15px;
	color: var(--c-text);
}

.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex: none;
	accent-color: var(--c-accent);
}

.wpcf7 .cf7-cf-turnstile {
	margin: 16px 0 0 !important;
}

.wpcf7-submit {
	width: 100%;
	margin-top: 18px;
	min-height: 54px;
	font-size: 17px;
}

.wpcf7-spinner {
	position: absolute;
}

.wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 14px;
	font-weight: 500;
	color: #b42318;
}

.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 15px;
}

/* Formular als Karte auf normalen Seiten */
.c-content > .wpcf7,
.c-content > .wp-block-contact-form-7-contact-form-selector {
	padding: clamp(22px, 3vw, 36px);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(20, 27, 41, 0.05), var(--c-shadow);
}

/* Kommentare */
.c-comments {
	max-width: 720px;
	margin: 56px auto 0;
}

.c-comments__list {
	padding: 0;
	list-style: none;
}

.c-comments .comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--c-line);
}

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

.c-footer {
	background: var(--c-navy-3);
	color: var(--c-on-dark-muted);
	font-size: 15.5px;
}

.c-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 40px 64px;
	padding-top: 64px;
	padding-bottom: 48px;
}

.c-footer__brand {
	flex: 2 1 320px;
}

.c-footer__brand p {
	max-width: 380px;
	margin: 18px 0 0;
}

.c-footer__contact {
	flex: 1 1 240px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.c-footer__label {
	margin: 0 0 4px;
	font-family: var(--c-font-mono);
	font-size: 12.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-sky);
}

.c-footer a {
	color: var(--c-on-dark);
	text-decoration: none;
}

.c-footer a:hover {
	color: #fff;
}

.c-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 32px;
}

.c-footer__contact .c-icon {
	color: var(--c-sky);
}

.c-footer__cta {
	flex: 0 0 auto;
	align-self: center;
}

.c-footer .c-footer__cta .c-btn {
	color: #fff;
}

.c-footer__bottom {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-top: 22px;
	padding-bottom: 26px;
	font-size: 14px;
}

.c-footer__bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--c-gutter);
	right: var(--c-gutter);
	border-top: 1px solid #222c3d;
}

.c-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.c-footer__menu a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
}

/* --------------------------------------------------------------------------
   Übernommene Helfer aus dem bisherigen Zusatz-CSS
   -------------------------------------------------------------------------- */

html[lang^="de"] .lang-en {
	display: none !important;
}

html[lang^="en"] .lang-de {
	display: none !important;
}

.more-it-link a {
	display: block;
	padding: 12px 20px;
	border: 2px solid var(--c-brand);
	border-radius: 10px;
	color: var(--c-link);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: 0.2s ease;
}

.more-it-link a:hover {
	background: var(--c-accent);
	border-color: var(--c-accent);
	color: #fff;
}

.social-icons-custom {
	display: flex;
	align-items: center;
	gap: 3px;
}

.social-icons-custom a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.social-icons-custom img {
	width: 18px;
	height: 18px;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons-custom a:hover img {
	opacity: 0.7;
	transform: scale(1.1);
}

/* WordPress-Standardklassen */
.alignleft {
	float: left;
	margin: 0.3em 1.6em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.6em;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.wp-caption-text {
	font-size: 14px;
	color: var(--c-muted);
}

.sticky .c-card__meta::after {
	content: " · ★";
}

.c-content:not(.c-content--post) > .c-table--stack {
	max-width: var(--c-wrap);
}
