/* CyberAegis – Gestaltung
   Ein Grund (warmes Schwarz aus dem Logo), eine Schrift (Poppins, lokal), Sand als Akzent.
   Flächen wechseln die Farbe, statt mit Linien oder Schatten getrennt zu werden. */

@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}
@font-face {
	font-family: "Poppins";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}

:root {
	--black: #14110d;
	--black-2: #1e1a15;
	--black-3: #2b261f;
	--on-black: #f1ebdf;
	--on-black-muted: #bcb09a;
	--sand: #e8d7a1;
	--sand-hover: #f1e5bf;
	--bronze: #867557;
	--bronze-ink: #6a5b41;
	--paper: #f2f0eb;
	--paper-2: #e8e5dd;
	--ink: #14110d;
	--ink-muted: #4f483d;
	--error: #8c1d12;

	--font: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--size-display: clamp(2.5rem, 1.3rem + 4.4vw, 5.25rem);
	--size-title: clamp(2rem, 1.3rem + 2.6vw, 3.75rem);
	--size-lead: clamp(1.375rem, 1.1rem + 1vw, 2rem);
	--size-body: 1.125rem;
	--size-small: 0.9375rem;

	--gutter: clamp(20px, 3vw, 32px);
	--max: 1320px;
	--section: clamp(88px, 6rem + 4vw, 176px);
	--header-h: 80px;

	--ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
	-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--size-body);
	line-height: 1.55;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

h1,
h2,
h3,
p,
ul,
dl,
dd {
	margin: 0;
}

h1,
h2,
h3 {
	overflow-wrap: break-word;
	hyphens: auto;
}

a {
	color: inherit;
}

a,
button,
label,
input[type="checkbox"],
select {
	touch-action: manipulation;
}

:focus-visible {
	outline: 2px solid var(--sand);
	outline-offset: 3px;
}

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

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--sand);
	color: var(--ink);
	font-weight: 600;
	transform: translateY(-160%);
}

.skip-link:focus {
	transform: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px; /* taste-skill-ignore: nur für Screenreader */
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Buttons */

.button,
.ca-section .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 14px 28px;
	border: 0;
	border-radius: 0;
	background: var(--sand);
	color: var(--ink);
	font: 600 1rem/1.2 var(--font);
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	transition: background-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}

.button:active,
.ca-section .wp-block-button__link:active {
	transform: scale(0.97);
}

.button--ink,
.ca-section--sand .wp-block-button__link,
.ca-section--paper .wp-block-button__link {
	background: var(--ink);
	color: var(--sand);
}

.button[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Zweiter Button („is-style-outline“): als Textlink mit Pfeil, damit pro Abschnitt
   nur eine Fläche um Aufmerksamkeit wirbt. */
.ca-section .wp-block-button.is-style-outline > .wp-block-button__link {
	gap: 10px;
	padding: 14px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-weight: 500;
}

.ca-section .wp-block-button.is-style-outline > .wp-block-button__link::after {
	content: "→";
	transition: transform 160ms var(--ease-out);
}

.ca-section .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	margin: clamp(32px, 3vw, 48px) 0 0;
}

.ca-section .wp-block-button {
	margin: 0;
}

@media (hover: hover) and (pointer: fine) {
	.button--sand:hover,
	.ca-section .wp-block-button__link:hover {
		background: var(--sand-hover);
	}
	.button--ink:hover,
	.ca-section--sand .wp-block-button__link:hover,
	.ca-section--paper .wp-block-button__link:hover {
		background: var(--black-3);
	}
	.ca-section .wp-block-button.is-style-outline > .wp-block-button__link:hover {
		background: transparent;
		color: var(--accent);
	}
	.ca-section .wp-block-button.is-style-outline > .wp-block-button__link:hover::after {
		transform: translateX(4px);
	}
}

/* Abschnitte
   Jede Fläche setzt ihre Farben als Variablen; die Bausteine darin nutzen nur diese. */

.ca-section {
	--fg: var(--on-black);
	--muted: var(--on-black-muted);
	--rule: rgba(232, 215, 161, 0.22);
	--accent: var(--sand);
	--panel: var(--black-2);
	padding-block: var(--section);
	background: var(--black);
	color: var(--fg);
}

.ca-section--deep {
	--panel: var(--black-3);
	background: var(--black-2);
}

.ca-section--paper {
	--fg: var(--ink);
	--muted: var(--ink-muted);
	--rule: rgba(20, 17, 13, 0.16);
	--accent: var(--bronze-ink);
	--panel: var(--paper-2);
	background: var(--paper);
}

.ca-section--sand {
	--fg: var(--ink);
	--muted: #4a4234;
	--rule: rgba(20, 17, 13, 0.22);
	--accent: var(--ink);
	--panel: #f1e5bf;
	background: var(--sand);
}

.ca-section > .ca-wrap > :first-child {
	margin-top: 0;
}

/* Kopf eines Abschnitts */

.ca-head {
	max-width: 46rem;
}

.ca-title {
	font-size: var(--size-title);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.ca-intro {
	max-width: 36em;
	margin-top: clamp(20px, 2vw, 28px);
	font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
	color: var(--muted);
}

/* Einstieg */

.ca-hero {
	padding-block: 0;
}

.ca-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	align-items: center;
	gap: clamp(32px, 5vw, 80px);
	min-height: calc(100svh - var(--header-h));
	padding-block: clamp(48px, 7vw, 112px);
}

.ca-hero__title {
	max-width: 11.5em;
	font-size: var(--size-display);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.ca-hero__lead {
	max-width: 30em;
	margin-top: clamp(20px, 2vw, 28px);
	font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.4375rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--sand);
}

.ca-hero__lead + .ca-hero__text {
	margin-top: 16px;
}

.ca-hero__text {
	max-width: 34em;
	margin-top: clamp(24px, 2.5vw, 36px);
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
}

/* Logo in der Überschrift: eigene Zeile, Großbuchstaben des Logos so hoch wie die der Schrift. */
.ca-hero__title-logo {
	display: block;
	height: 1.54em;
	width: auto;
	max-width: 100%;
	margin-top: 0.2em;
}

/* Auf schmalen Bildschirmen etwas kleiner, damit „Endpoint-Schutz mit“ in einer Zeile bleibt. */
.ca-hero--compact .ca-hero__title.ca-hero__title--logo {
	font-size: min(clamp(2.25rem, 1.4rem + 3vw, 4.25rem), 9vw);
}

.ca-hero__note {
	margin-top: 28px;
	font-size: var(--size-small);
	color: var(--muted);
}

.ca-hero__figure {
	display: flex;
	justify-content: center;
	margin: 0;
}

.ca-hero__figure img {
	width: 100%;
	max-width: 520px;
	max-height: calc(100svh - var(--header-h) - 160px);
	object-fit: contain;
}

.ca-hero--compact .ca-hero__inner {
	min-height: 0;
	padding-block: clamp(56px, 7vw, 120px);
}

.ca-hero--compact .ca-hero__title {
	max-width: 13em;
	font-size: clamp(2.25rem, 1.4rem + 3vw, 4.25rem);
	line-height: 1.02;
}

.ca-hero--compact .ca-hero__figure img {
	max-width: 340px;
	max-height: none;
}

/* Wegleiste durch die vier Stufen */

.ca-path {
	background: var(--black-2);
	color: var(--on-black);
}

.ca-path__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 16px 48px;
	padding-block: 20px;
}

.ca-path__label {
	font-size: var(--size-small);
	color: var(--on-black-muted);
}

.ca-path__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	padding: 0;
	counter-reset: none;
}

.ca-path__step > a,
.ca-path__step.is-current {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px;
	border-top: 2px solid rgba(232, 215, 161, 0.18); /* taste-skill-ignore: Markierung der Stufe */
	text-decoration: none;
}

.ca-path__step:not(:has(a)):not(.is-current) {
	padding: 12px 16px;
	border-top: 2px solid rgba(232, 215, 161, 0.18); /* taste-skill-ignore: Markierung der Stufe */
}

.ca-path__phase {
	font-size: 0.8125rem;
	color: var(--on-black-muted);
}

.ca-path__name {
	font-size: var(--size-small);
	font-weight: 500;
}

.ca-path__step.is-current {
	border-top-color: var(--sand);
}

.ca-path__step.is-current .ca-path__name {
	color: var(--sand);
}

@media (hover: hover) and (pointer: fine) {
	.ca-path__step > a:hover .ca-path__name {
		color: var(--sand);
	}
}

/* Überschrift links, Punkte rechts */

.ca-split__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 112px);
	align-items: start;
}

.ca-split .ca-head {
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.ca-items {
	display: grid;
}

.ca-item {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 8px 32px;
	padding-block: 28px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-item:last-child {
	border-bottom: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-item__title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.ca-item__text {
	color: var(--muted);
}

/* Kennzahlen */

.ca-stats__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 clamp(24px, 3vw, 48px);
	margin-top: clamp(48px, 5vw, 80px);
}

.ca-stat {
	display: flex;
	flex-direction: column;
	padding-block: 32px 40px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-stat__value {
	font-size: clamp(2.5rem, 1.8rem + 2.2vw, 4rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.ca-stat__label {
	margin-top: 16px;
	max-width: 22em;
}

.ca-stat__source {
	margin-top: auto;
	padding-top: 16px;
	font-size: 0.8125rem;
	color: var(--muted);
}

/* Leistungsmodell in Schritten */

.ca-steps__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 40px);
	margin-top: clamp(48px, 5vw, 80px);
}

.ca-step {
	padding-top: 24px;
	border-top: 2px solid var(--fg); /* taste-skill-ignore: Markierung der Stufe */
}

.ca-step__phase {
	font-size: var(--size-small);
	font-weight: 500;
	color: var(--accent);
}

.ca-step__title {
	margin-top: 8px;
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.ca-step__title a {
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-decoration-color: var(--rule);
	text-underline-offset: 5px;
	transition: text-decoration-color 160ms var(--ease-out);
}

.ca-step__text {
	margin-top: 12px;
	color: var(--muted);
}

@media (hover: hover) and (pointer: fine) {
	.ca-step__title a:hover {
		text-decoration-color: currentColor;
	}
}

/* Angebot und Abgrenzung */

.ca-offer__inner {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(40px, 6vw, 112px);
	align-items: start;
}

.ca-checks,
.ca-dashes {
	list-style: none;
	padding: 0;
}

.ca-checks {
	display: grid;
	margin-top: clamp(32px, 3vw, 48px);
}

.ca-checks li {
	position: relative;
	padding: 16px 0 16px 36px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
	font-size: 1.125rem;
}

.ca-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.35em;
	width: 16px;
	height: 2px;
	background: var(--accent);
}

.ca-dashes {
	display: grid;
	gap: 8px;
}

.ca-dashes li {
	position: relative;
	padding-left: 24px;
}

.ca-dashes li::before {
	content: "–";
	position: absolute;
	left: 0;
	color: var(--accent);
}

.ca-aside {
	padding: clamp(28px, 3vw, 40px);
	background: var(--panel);
}

.ca-aside__title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

.ca-aside .ca-dashes {
	margin-top: 20px;
	color: var(--muted);
}

.ca-aside__text {
	margin-top: 24px;
	font-size: var(--size-small);
	color: var(--muted);
}

/* Warum Aegis */

.ca-about__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 112px);
	align-items: start;
}

.ca-about__lead {
	max-width: 24em;
	margin-top: clamp(24px, 2.5vw, 36px);
	font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
	font-weight: 500;
	line-height: 1.4;
	color: var(--accent);
}

.ca-about__text {
	max-width: 32em;
	margin-top: 20px;
	color: var(--muted);
}

.ca-about__list-title {
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.015em;
}

.ca-about__list .ca-checks {
	margin-top: 24px;
}

/* Abschluss (Sandfläche) */

.ca-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	gap: 32px 64px;
}

.ca-cta .ca-title {
	max-width: 14em;
}

.ca-cta .wp-block-buttons {
	margin-top: 0;
	justify-content: flex-end;
}

/* Leistungen untereinander */

.ca-service {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 24px clamp(40px, 6vw, 112px);
	padding-block: clamp(40px, 4vw, 64px);
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-service:first-child {
	border-top: 0;
	padding-top: 0;
}

.ca-service:last-child {
	padding-bottom: 0;
}

.ca-service__phase {
	font-size: var(--size-small);
	font-weight: 500;
	color: var(--accent);
}

.ca-service__title {
	margin-top: 8px;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.ca-service__text {
	font-size: 1.1875rem;
}

.ca-service__for {
	margin-top: 12px;
	font-size: var(--size-small);
	font-weight: 500;
	color: var(--accent);
}

.ca-service__body .ca-dashes {
	margin-top: 20px;
	color: var(--muted);
}

.ca-service__meta {
	margin-top: 20px;
	font-size: var(--size-small);
	font-weight: 500;
}

.ca-service__body .wp-block-buttons {
	margin-top: 8px;
}

.ca-service__subtitle {
	margin-top: 12px;
	font-size: 1.0625rem;
	color: var(--muted);
}

/* Häufige Fragen */

.ca-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 112px);
	align-items: start;
}

.ca-faq .ca-head {
	position: sticky;
	top: calc(var(--header-h) + 40px);
}

.ca-faq__item {
	padding-block: 24px 28px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-faq__item:last-child {
	border-bottom: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-faq__question {
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.ca-faq__answer {
	margin-top: 10px;
	max-width: 38em;
	color: var(--muted);
}

/* Abbildung */

.ca-figure__image {
	margin: clamp(40px, 4vw, 64px) 0 0;
}

.ca-figure__image img {
	width: 100%;
	height: auto;
}

/* Drei Textspalten */

.ca-columns__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 3vw, 48px);
	margin-top: clamp(48px, 5vw, 80px);
}

.ca-column {
	padding-top: 24px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-column__title {
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

.ca-column__text {
	margin-top: 12px;
	color: var(--muted);
}

.ca-columns--four .ca-columns__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Rahmendaten */

.ca-facts__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 clamp(24px, 3vw, 40px);
	margin-top: clamp(40px, 4vw, 64px);
}

.ca-fact {
	padding-top: 20px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
}

.ca-fact__label {
	font-size: var(--size-small);
	color: var(--muted);
}

.ca-fact__value {
	margin-top: 6px;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
}

.ca-note {
	max-width: 46rem;
	margin-top: clamp(40px, 4vw, 56px);
	font-size: var(--size-small);
	color: var(--muted);
}

/* Themenfelder */

.ca-topics__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 112px);
	align-items: start;
}

.ca-topics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 32px;
	list-style: none;
	padding: 0;
}

.ca-topics li {
	padding-block: 18px;
	border-top: 1px solid var(--rule); /* taste-skill-ignore: Zeilen einer tabellenartigen Liste */
	font-size: 1.125rem;
	font-weight: 500;
}

/* Kopf einfacher Seiten */

.ca-pagehead {
	padding-block: clamp(56px, 7vw, 120px) clamp(40px, 5vw, 72px);
}

.ca-pagehead__title {
	max-width: 14em;
	font-size: var(--size-title);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.ca-pagehead__text {
	max-width: 36em;
	margin-top: 24px;
	font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
	color: var(--muted);
}

/* Schmale Bildschirme */

@media (max-width: 1100px) {
	.ca-columns--four .ca-columns__grid,
	.ca-steps__grid,
	.ca-facts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ca-path__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.ca-hero__inner,
	.ca-split__inner,
	.ca-faq__inner,
	.ca-about__inner,
	.ca-offer__inner,
	.ca-service,
	.ca-topics__inner,
	.ca-cta__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.ca-hero__inner,
	.ca-hero--compact .ca-hero__inner {
		min-height: 0;
		gap: 40px;
		padding-block: 48px 64px;
	}

	.ca-hero__figure {
		order: -1;
		justify-content: flex-start;
	}

	.ca-hero__figure img,
	.ca-hero--compact .ca-hero__figure img {
		width: auto;
		max-width: none;
		height: clamp(120px, 26vw, 220px);
		max-height: none;
	}

	.ca-split .ca-head,
	.ca-faq .ca-head {
		position: static;
	}

	.ca-stats__grid,
	.ca-columns__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ca-cta .wp-block-buttons {
		justify-content: flex-start;
	}

	.ca-path__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ca-item,
	.ca-stats__grid,
	.ca-columns__grid,
	.ca-columns--four .ca-columns__grid,
	.ca-steps__grid,
	.ca-facts__grid,
	.ca-topics {
		grid-template-columns: minmax(0, 1fr);
	}

	.ca-stat {
		padding-block: 24px 28px;
	}

	.ca-section .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	.ca-section .wp-block-button__link {
		width: 100%;
	}

	.ca-section .wp-block-button.is-style-outline > .wp-block-button__link {
		justify-content: flex-start;
	}

	.ca-path__inner {
		gap: 8px;
		padding-block: 16px;
	}

	.ca-path__step > a,
	.ca-path__step.is-current,
	.ca-path__step:not(:has(a)):not(.is-current) {
		padding: 10px 12px 10px 0;
	}
}
/* Handy: auf das Wesentliche gekürzt. Abschnitte steuern das über die Option „mobile“ (ca-m-*). */
@media (max-width: 600px) {
	:root {
		--section: 64px;
	}

	/* Das Zeichen steht schon in der Kopfzeile; Einleitungen und Zusatzhinweise im Einstieg entfallen. */
	.ca-hero__figure,
	.ca-hero__note,
	.ca-hero__lead + .ca-hero__text {
		display: none;
	}

	.ca-m-hide {
		display: none;
	}

	.ca-m-brief .ca-item__text,
	.ca-m-brief .ca-column__text,
	.ca-m-brief .ca-service__for,
	.ca-m-brief .ca-service .ca-dashes,
	.ca-m-brief .ca-note,
	.ca-m-brief.ca-stats .ca-intro,
	.ca-m-brief .ca-stat:nth-child(n + 3) {
		display: none;
	}

	.ca-m-brief .ca-item {
		gap: 0;
		padding-block: 18px;
	}

	.ca-m-short .ca-faq__item:nth-child(n + 4) {
		display: none;
	}

	.ca-m-short .ca-faq__item:nth-child(3) {
		border-bottom: 1px solid var(--rule); /* taste-skill-ignore: Abschluss der gekürzten Liste */
	}

	.site-footer__text {
		display: none;
	}
}

/* Kopfzeile */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--black);
	color: var(--on-black);
	padding-top: env(safe-area-inset-top, 0px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: var(--on-black);
	text-decoration: none;
}

.brand__symbol {
	width: auto;
	height: 48px;
	flex: none;
}

/* Der senkrechte Strich zwischen Zeichen und Schrift stammt aus dem Logo. */
.brand__text {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	padding-left: 14px;
	border-left: 2px solid var(--bronze);
}

.brand__name {
	margin: 0;
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--sand);
}

.brand__claim {
	margin-top: 6px;
	font-size: 0.5625rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.268em;
	margin-right: -0.268em;
	text-transform: uppercase;
	color: var(--on-black-muted);
	white-space: nowrap;
}

.nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav__list {
	display: flex;
	gap: 32px;
	list-style: none;
	padding: 0;
}

.nav__list a {
	display: inline-block;
	padding-block: 8px;
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--on-black);
}

.nav__list .current-menu-item > a,
.nav__list a[aria-current="page"] {
	color: var(--sand);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}

@media (hover: hover) and (pointer: fine) {
	.nav__list a:hover {
		color: var(--sand);
	}
}

.nav-toggle {
	display: none;
	justify-content: center;
	min-width: 112px;
	min-height: 44px;
	padding: 10px 16px;
	border: 0;
	border-radius: 0;
	background: var(--black-3);
	color: var(--on-black);
	font: 500 1rem/1 var(--font);
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: inline;
}

/* Kleinere Laptops: Menü enger setzen, damit alle Punkte in eine Zeile passen. */
@media (max-width: 1300px) {
	.nav {
		gap: 28px;
	}

	.nav__list {
		gap: 22px;
	}
}

@media (max-width: 1180px) {
	:root {
		--header-h: 68px;
	}

	.brand__symbol {
		height: 40px;
	}

	.brand {
		gap: 12px;
	}

	.brand__text {
		padding-left: 12px;
	}

	.brand__name {
		font-size: 1.125rem;
	}

	.brand__claim {
		margin-top: 5px;
		font-size: 0.5rem;
		letter-spacing: 0.235em;
		margin-right: -0.235em;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
	}

	.nav {
		position: fixed;
		inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 32px;
		padding: 32px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
		background: var(--black);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.nav.is-open {
		display: flex;
	}

	.nav__list {
		flex-direction: column;
		gap: 4px;
	}

	.nav__list a {
		display: block;
		padding-block: 12px;
		font-size: 1.75rem;
		font-weight: 600;
		letter-spacing: -0.02em;
	}

	.nav__cta {
		align-self: flex-start;
	}
}

/* Kontakt */

.contact__inner {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(40px, 6vw, 112px);
	align-items: start;
}

.contact__name {
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.025em;
}

.contact__role {
	margin-top: 8px;
	color: var(--muted);
}

.contact__details {
	display: grid;
	gap: 8px;
	margin-top: 32px;
	list-style: none;
	padding: 0;
	font-size: 1.1875rem;
	font-weight: 500;
}

.contact__details a {
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.contact__text {
	max-width: 30em;
	margin-top: 28px;
}

.form {
	display: grid;
	gap: 24px;
}

.form__required {
	font-size: var(--size-small);
	color: var(--ink-muted);
}

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

.field label {
	display: block;
	margin-bottom: 8px;
	font-weight: 500;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 2px solid transparent;
	border-radius: 0;
	background: #fbf7ea;
	color: var(--ink);
	font: 400 1rem/1.5 var(--font);
	font-size: max(16px, 1rem);
	transition: border-color 140ms var(--ease-out);
}

.field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2314110d' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	cursor: pointer;
}

.field textarea {
	min-height: 160px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ink);
}

.field [aria-invalid="true"] {
	border-color: var(--error);
}

.field__error {
	margin-top: 8px;
	font-size: var(--size-small);
	font-weight: 500;
	color: var(--error);
}

.field__error::before {
	content: "! ";
	font-weight: 600;
}

.field--hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px; /* taste-skill-ignore: Spam-Falle, unsichtbar */
	overflow: hidden;
}

.field--check {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0 14px;
	align-items: start;
}

.field--check input {
	width: 24px;
	height: 24px;
	margin: 2px 0 0;
	accent-color: var(--ink);
}

.field--check label {
	margin: 0;
	font-weight: 400;
	font-size: var(--size-small);
	line-height: 1.5;
}

.field--check label a {
	font-weight: 500;
	text-underline-offset: 3px;
}

.field--check .field__error {
	grid-column: 2;
}

.form__submit {
	justify-self: start;
}

.form-status {
	margin-bottom: 24px;
	padding: 20px 24px;
	font-weight: 500;
}

.form-status:focus {
	outline: none;
}

.form-status--ok {
	background: var(--ink);
	color: var(--sand);
	font-size: 1.25rem;
}

.form-status--error {
	background: #f7ecd0;
	color: var(--error);
}

.form-status ul {
	margin-top: 8px;
	padding-left: 1.2em;
}
@media (max-width: 900px) {
	.contact__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

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

	.form__submit {
		justify-self: stretch;
	}
}

/* Fußzeile */

.site-footer {
	background: var(--black);
	color: var(--on-black);
	padding-block: clamp(56px, 6vw, 96px) calc(32px + env(safe-area-inset-bottom, 0px));
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
	gap: 40px clamp(32px, 4vw, 64px);
	align-items: start;
}

.site-footer__text {
	max-width: 26em;
	margin-top: 24px;
	font-size: var(--size-small);
	color: var(--on-black-muted);
}

.footer-nav__title {
	font-size: var(--size-small);
	font-weight: 500;
	color: var(--on-black-muted);
}

.footer-nav__list {
	display: grid;
	margin-top: 12px;
	list-style: none;
	padding: 0;
}

.footer-nav__list a {
	display: inline-block;
	padding-block: 6px;
	font-weight: 500;
	text-decoration: none;
}

.footer-nav__list a[aria-current="page"] {
	color: var(--sand);
}

@media (hover: hover) and (pointer: fine) {
	.footer-nav__list a:hover {
		color: var(--sand);
	}
}

.site-footer__bottom {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	margin-top: clamp(16px, 3vw, 40px);
	padding-top: 24px;
	border-top: 1px solid rgba(232, 215, 161, 0.12); /* taste-skill-ignore: trennt Copyright vom Menü */
	font-size: var(--size-small);
	color: var(--on-black-muted);
}

.site-footer__claim {
	color: var(--sand);
}

@media (max-width: 900px) {
	.site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

/* Inhaltsseiten (Impressum, Datenschutz, Beiträge) */

.page-head {
	background: var(--black);
	color: var(--on-black);
	padding-block: clamp(56px, 7vw, 120px) clamp(40px, 5vw, 72px);
}

.page-head__title {
	max-width: 18em;
	font-size: var(--size-title);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.prose,
.post-list {
	max-width: 46rem;
	padding-block: clamp(48px, 6vw, 96px) var(--section);
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 2em;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.prose h3 {
	margin-top: 1.75em;
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.3;
}

.prose h4 {
	margin-top: 1.5em;
	font-size: 1.125rem;
	font-weight: 600;
}

.prose a {
	color: var(--bronze-ink);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.35em;
}

.prose strong {
	font-weight: 600;
}

.prose img {
	height: auto;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--size-small);
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--paper-2); /* taste-skill-ignore: echte Tabelle */
	text-align: left;
}

.prose blockquote {
	margin-inline: 0;
	padding-left: 24px;
	border-left: 4px solid var(--bronze);
	font-size: 1.25rem;
}

.post-meta {
	font-size: var(--size-small);
	color: var(--ink-muted);
}

.post-list {
	display: grid;
	gap: 56px;
}

.post-teaser__title {
	margin-top: 6px;
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.post-teaser__title a {
	text-decoration: none;
}

.post-teaser__excerpt {
	margin-top: 12px;
}


/* Bewegung: einmaliges, gestaffeltes Einblenden des Einstiegs.
   Inhalte sind auch ohne Animation sichtbar (fill-mode backwards). */

@media (prefers-reduced-motion: no-preference) {
	.ca-hero__copy > * {
		animation: rise 700ms var(--ease-out) backwards;
	}

	.ca-hero__copy > :nth-child(2) {
		animation-delay: 80ms;
	}

	.ca-hero__copy > :nth-child(n + 3) {
		animation-delay: 160ms;
	}

	.ca-hero__figure img {
		animation: settle 1100ms var(--ease-out) 120ms backwards;
	}

	.form-status {
		animation: rise-small 320ms var(--ease-out);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
}

@keyframes rise-small {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

@keyframes settle {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
}
