/*
Theme Name: PROTECTO
Description: Block-Theme für PROTECTO 2.0.
Author: Dr. Edgar L. Kist
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: protecto
*/

/* Inhalt
   01  Grundlagen: Fokus, Knöpfe, Schrift und Textlinks
   02  Layout: Abschnitte, Raster und Abschnittsrhythmus
   03  Hero und Kontaktabschluss mit Bild
   04  Häufige Fragen
   05  Funktionsseiten, Termine und Formulare
   06  Kopf, Navigation und Fußbereich
   07  Startseite
   08  Beratungsablauf und Prozesskette
   09  Hub-Seiten
   10  Panels, Beratungsprofil und Kennzeichen
   11  Fach- und Blogseiten: Artikelaufbau, Inhaltsverzeichnis, Stand und Autorzeile
   12  Tarifabschluss
   13  Hinweise, Quellen und Zahlenbeispiele
   14  Fach- und Blogseiten: Artikelaufbau, Inhaltsverzeichnis, Stand und Autorzeile (Fortsetzung)
   15  Häufige Fragen (Fortsetzung)
   16  Funktionsseiten, Termine und Formulare (Fortsetzung)
   17  Vertrauensleiste, Kennzahlen, Auswahlkriterien und Unternehmensraster
   18  Panels, Beratungsprofil und Kennzeichen (Fortsetzung)
   19  Häufige Fragen (Fortsetzung)
   20  Grundlagen: Fokus, Knöpfe, Schrift und Textlinks (Fortsetzung)
   21  Hero und Kontaktabschluss mit Bild (Fortsetzung)
   22  Fach- und Blogseiten: Artikelaufbau, Inhaltsverzeichnis, Stand und Autorzeile (Fortsetzung)
   23  Kopf, Navigation und Fußbereich (Fortsetzung)
   24  Startseite (Fortsetzung)
   25  Tabellen
   26  Hinweise, Quellen und Zahlenbeispiele (Fortsetzung)
   27  Option: Links im Fließtext unterstreichen
   28  Zwischen-CTA
   29  Landingpages für Kampagnen
   30  Hinweise, Quellen und Zahlenbeispiele (Fortsetzung)
   31  Beratungsablauf und Prozesskette (Fortsetzung)
   32  Panels, Beratungsprofil und Kennzeichen (Fortsetzung)
   33  Zeitleiste
   34  Layout: Abschnitte, Raster und Abschnittsrhythmus (Fortsetzung)
   35  Funktionsseiten, Termine und Formulare (Fortsetzung)
   36  Hinweisband
   37  Preiskarten (Servicepakete)
   38  Beitragshinweis (am Dateiende)

   Die Reihenfolge ist geprüft: Abschnitte, die doppelt vorkommen (Fortsetzung),
   müssen an ihrer Stelle bleiben, weil spätere Regeln frühere überschreiben.
   Werkzeuge zur Prüfung: tools/css-check im Repository.
   Neue Regeln ans Ende des passenden Abschnitts oder ans Dateiende setzen. */

/* ==========================================================================
   01 · Grundlagen: Fokus, Knöpfe, Schrift und Textlinks
   ========================================================================== */

:where(.wp-site-blocks, .editor-styles-wrapper) :where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--graphite);
	outline-offset: 3px;
}

.wp-block-button:not(.is-style-outline, .is-style-protecto-outline-graphite, .is-style-protecto-outline-white) .wp-block-button__link:not(.has-background):hover {
	background: var(--wp--preset--color--bronze-hover);
}

.wp-block-button:not(.is-style-outline, .is-style-protecto-outline-graphite, .is-style-protecto-outline-white) .wp-block-button__link:not(.has-background):active {
	background: var(--wp--preset--color--bronze-pressed);
}

.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color):not(.has-background):not(.protecto-contact-banner *) {
	color: var(--wp--preset--color--graphite);
}

:root :is(.wp-block-button.is-style-outline > .wp-block-button__link, .wp-block-button > .wp-block-button__link.is-style-outline) {
	border-width: 0;
	box-shadow: inset 0 0 0 1px currentColor;
}

.protecto-content {
	overflow-wrap: anywhere;
}

.protecto-content h1 {
	hyphens: auto;
}

.protecto-content {
	--protecto-section-gutter: clamp(20px, 4vw, 48px);
	--protecto-section-space: clamp(48px, 8vw, 96px);
}

.protecto-eyebrow {
	color: var(--wp--preset--color--bronze);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .065em;
	text-transform: uppercase;
}

.protecto-lead {
	font-size: var(--wp--preset--font-size--lead);
}

.protecto-content h1 {
	font-size: var(--wp--preset--font-size--display-title);
	line-height: 1.1;
}

.protecto-content h2 {
	font-size: var(--wp--preset--font-size--section-title);
	line-height: 1.15;
}

.protecto-content h3 {
	font-size: var(--wp--preset--font-size--subsection-title);
	line-height: 1.25;
}

.protecto-content :is(h2, h3, .wp-block-buttons, li, .protecto-topic, .protecto-evidence) a,
.protecto-action-link > a {
	text-decoration: none;
}

.protecto-content :is(h2, h3, li, .protecto-topic, .protecto-evidence) a:is(:hover, :focus-visible),
.protecto-action-link > a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.protecto-content .wp-block-post-content > p:not(.alignwide, .alignfull) {
	width: min(100%, 75ch);
	margin-inline-start: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
}

.protecto-content :is(.wp-block-post-content, .protecto-panel) h2:not(.protecto-section > h2):not(.protecto-contact-banner h2) {
	font-size: var(--wp--preset--font-size--subsection-title);
	line-height: 1.25;
}

.protecto-content :is(h4, h5, h6) {
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.35;
}

.protecto-eyebrow:empty {
	display: none;
}

.protecto-eyebrow:empty + :is(h2, h3) {
	margin-block-start: 0 !important;
}

.wp-block-button.is-style-protecto-outline-graphite > .wp-block-button__link,
.wp-block-button.is-style-protecto-outline-white > .wp-block-button__link {
	border: 0;
	box-shadow: inset 0 0 0 1px currentColor;
	background: transparent;
}

.wp-block-button.is-style-protecto-outline-graphite > .wp-block-button__link {
	color: var(--wp--preset--color--graphite);
}

/* ==========================================================================
   02 · Layout: Abschnitte, Raster und Abschnittsrhythmus
   ========================================================================== */

.protecto-section {
	padding: var(--protecto-section-space, 48px) var(--protecto-section-gutter, 20px);
}

.protecto-section-light {
	background: var(--wp--preset--color--white);
}

.protecto-section > * {
	max-width: var(--wp--style--global--wide-size, 1180px);
	margin-inline: auto;
}

.protecto-grid-two,
.protecto-grid-three {
	display: grid;
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.protecto-grid-two > *,
.protecto-grid-three > * {
	min-width: 0;
	margin-block-start: 0;
}

.protecto-topic,
.protecto-review {
	padding-block: 16px;
	border-top: 1px solid var(--wp--preset--color--line);
}

@media (min-width: 768px) {

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

	.protecto-grid-three {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
}

.protecto-split {
	align-items: center;
}

@media (min-width: 900px) {

	.protecto-faq-grid {
			grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		}
}

.protecto-grid-balanced {
	align-items: stretch;
}

.protecto-faq-grid {
	align-items: stretch;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content .protecto-section {
	padding-inline: 0;
}

.protecto-grid-three:has(> :nth-child(4):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ==========================================================================
   03 · Hero und Kontaktabschluss mit Bild
   ========================================================================== */

.protecto-hero,
.protecto-contact-banner {
	display: grid;
	position: relative;
	isolation: isolate;
	overflow: clip;
}

.protecto-hero > *,
.protecto-contact-banner > * {
	grid-column: 1;
	margin-block: 0;
}

.protecto-hero > .wp-block-image,
.protecto-contact-banner > .wp-block-image {
	grid-row: 1 / -1;
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0;
	z-index: -2;
}

.protecto-hero > .wp-block-image img,
.protecto-contact-banner > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: right center;
}

/* Bildausschnitt im Editor wählbar: Bild markieren → Stile → „Ausschnitt oben“
   oder „Ausschnitt unten“ (Standard: Mitte). Rechts bleibt immer verankert,
   weil links der Text über dem Verlauf steht. */
.protecto-hero > .wp-block-image.is-style-ausschnitt-oben img,
.protecto-contact-banner > .wp-block-image.is-style-ausschnitt-oben img {
	object-position: right top;
}

.protecto-hero > .wp-block-image.is-style-ausschnitt-unten img,
.protecto-contact-banner > .wp-block-image.is-style-ausschnitt-unten img {
	object-position: right bottom;
}

/* Smartphone: Bild im Hero näher heranholen, wenn rechts viel freie Fläche ist.
   Bild markieren → Erweitert → Zusätzliche CSS-Klasse(n): protecto-mobil-nah.
   Der gewählte Ausschnitt (oben/unten/Mitte) bleibt der Bezugspunkt. */
@media (max-width: 767px) {

	.protecto-hero > .wp-block-image.protecto-mobil-nah {
			overflow: clip;
		}

	.protecto-hero > .wp-block-image.protecto-mobil-nah img {
			transform: scale(1.5);
			transform-origin: right center;
		}

	.protecto-hero > .wp-block-image.protecto-mobil-nah.is-style-ausschnitt-oben img {
			transform-origin: right top;
		}

	.protecto-hero > .wp-block-image.protecto-mobil-nah.is-style-ausschnitt-unten img {
			transform-origin: right bottom;
		}
}

.protecto-hero::before,
.protecto-contact-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, var(--wp--preset--color--warm) 0%, #faf9f6ef 35%, #faf9f600 80%);
}

.protecto-hero-copy {
	width: 100%;
	box-sizing: border-box;
	padding-block: clamp(48px, 8vw, 110px);
	padding-inline: max(var(--protecto-section-gutter, 20px), calc((100% - var(--wp--style--global--wide-size, 1180px)) / 2));
}

.protecto-hero-copy > p {
	max-width: 32rem;
}

.protecto-contact-banner {
	padding: var(--protecto-section-space, 48px) var(--protecto-section-gutter, 20px);
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--graphite);
	gap: 24px;
}

.protecto-contact-banner::before {
	background: linear-gradient(90deg, #202628 0%, #202628dc 45%, #20262820 100%);
}

.protecto-contact-banner > :not(.wp-block-image) {
	max-width: 36rem;
}

.protecto-contact-banner .is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--white);
}

.protecto-contact-banner :focus-visible {
	outline-color: var(--wp--preset--color--white);
}

@media (max-width: 767px) {

	.protecto-hero > .wp-block-image {
			position: relative;
			grid-row: 2;
			z-index: auto;
			aspect-ratio: 4 / 3;
		}

	.protecto-hero::before {
			content: none;
		}

	.protecto-contact-banner::before {
			background: linear-gradient(90deg, #202628f5, #202628bd);
		}
}

.protecto-contact-banner {
	min-height: 280px;
	box-sizing: border-box;
	align-content: center;
}

.protecto-contact-banner > .wp-block-image {
	grid-row: auto;
	max-width: none;
	margin: 0;
}

.protecto-contact-banner h2 {
	color: inherit;
}

.protecto-content .protecto-hero-copy > h1 {
	max-width: min(100%, 40rem);
	hyphens: none;
}

@media (min-width: 700px) {

	.protecto-hero::before {
			background: linear-gradient(90deg, var(--wp--preset--color--warm) 0%, #faf9f6ef 44%, #faf9f600 83%);
		}
}

.protecto-contact-banner-simple::before {
	content: none;
}

/* ==========================================================================
   04 · Häufige Fragen
   ========================================================================== */

:is(.protecto-section .wp-block-details, .protecto-faq .wp-block-details, .protecto-faq-item) {
	padding-block: 12px;
	border-bottom: 1px solid var(--wp--preset--color--line);
}

:is(.protecto-section .wp-block-details, .protecto-faq .wp-block-details, .protecto-faq-item) > summary {
	font-weight: 600;
	cursor: pointer;
}

.protecto-faq-item > summary > :is(h2, h3, h4, h5, h6, p) {
	display: inline;
	margin: 0;
	font: inherit;
}

/* ==========================================================================
   05 · Funktionsseiten, Termine und Formulare
   ========================================================================== */

.wpforms-container .wpforms-form {
	--wpforms-button-background-color: var(--wp--preset--color--bronze);
	--wpforms-button-text-color: var(--wp--preset--color--white);
	--wpforms-button-border-radius: 8px;
	--wpforms-field-border-radius: 8px;
	--wpforms-field-border-color: var(--wp--preset--color--muted);
}

.wpforms-container .wpforms-form button[type="submit"] {
	min-height: 48px;
	border-radius: 8px;
	background: var(--wp--preset--color--bronze);
	color: var(--wp--preset--color--white);
}

.wpforms-container .wpforms-form button[type="submit"]:hover {
	background: var(--wp--preset--color--bronze-hover);
}

.wpforms-container .wpforms-form button[type="submit"]:active {
	background: var(--wp--preset--color--bronze-pressed);
}

.wpforms-container .wpforms-form :is(input, select, textarea, button):focus-visible {
	outline: 2px solid var(--wp--preset--color--graphite);
	outline-offset: 3px;
}

.protecto-service-page {
	padding-block: clamp(40px, 6vw, 88px);
}

.protecto-service-page .wp-block-post-content {
	margin-top: clamp(32px, 5vw, 64px);
}

.protecto-service-page .protecto-cal-placeholder {
	padding: clamp(20px, 4vw, 40px);
	background: var(--wp--preset--color--sand);
	border-radius: 12px;
}

.protecto-service-page .protecto-cal-placeholder :is(strong, span) {
	display: block;
	margin-block-end: 12px;
}

.protecto-service-page .protecto-cal-placeholder button,
.wpforms-container .wpforms-form button[type="submit"] {
	text-transform: none;
	letter-spacing: normal;
}

.protecto-service-page .protecto-cal-placeholder button {
	background: var(--wp--preset--color--bronze);
	color: var(--wp--preset--color--white);
	border: 0;
	border-radius: 8px;
	min-height: 48px;
	padding: 12px 20px;
	cursor: pointer;
}

.protecto-termin :is(.wp-block-post-title, .wp-block-post-content, .protecto-lead),
.protecto-booking-inline {
	text-align: start;
}

.protecto-content .wp-block-post-content > .protecto-booking-inline {
	max-width: none;
}

/* ==========================================================================
   06 · Kopf, Navigation und Fußbereich
   ========================================================================== */

.protecto-header .wp-block-navigation a,
.protecto-footer .wp-block-navigation a {
	text-decoration: none;
}

.protecto-header .wp-block-navigation a[href]:hover,
.protecto-footer .wp-block-navigation a:is(:hover, :focus-visible),
.protecto-footer a[href^="https://wa.me/"]:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--bronze);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.protecto-brand img {
	display: block;
	width: 168px;
	height: auto;
	/* Reserves the logo height before the file has loaded (SVG 914 × 183). */
	aspect-ratio: 914 / 183;
}

.protecto-header .protecto-brand img {
	width: 248px;
}

.protecto-service .wp-block-navigation {
	flex-wrap: wrap;
}

@media (max-width: 699px) {

	.protecto-service .wp-block-navigation {
			gap: var(--wp--preset--spacing--12);
		}
}

.protecto-footer {
	padding-block: var(--wp--preset--spacing--48);
}

.protecto-footer .protecto-footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--24);
}

.protecto-footer-grid > * {
	margin-block-start: 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.protecto-footer-grid h2 {
	font-size: 1rem;
}

@media (max-width: 900px) {

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

@media (max-width: 599px) {

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

.protecto-main-nav > .wp-block-navigation {
	--navigation-layout-justification-setting: space-between;
	font-size: 1rem;
	font-weight: 600;
}

.protecto-main-nav .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--16);
}

.protecto-main-nav .wp-block-navigation__submenu-container {
	font-size: .9375rem;
}

.protecto-menu-group-title {
	font-weight: 700;
}

.protecto-menu-group-title > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--graphite);
	cursor: default;
}

@media (min-width: 1024px) {

	.protecto-main-nav .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
			flex-wrap: nowrap;
			width: 100%;
			justify-content: space-between;
		}

	.protecto-header .protecto-main-nav .wp-block-navigation .has-child:is(.protecto-audience-menu, .protecto-insurance-menu) > .wp-block-navigation__submenu-container {
			right: 0;
			left: auto;
			box-sizing: border-box;
		}

	.protecto-header .protecto-main-nav .wp-block-navigation .has-child:is(.protecto-audience-menu, .protecto-insurance-menu):is(:hover, :focus-within, :has(> button[aria-expanded="true"])) > .wp-block-navigation__submenu-container {
			display: block;
			column-count: 2;
			column-gap: 16px;
			padding: 12px;
			width: min(40rem, 60vw);
			min-width: 0;
		}

	.protecto-main-nav :is(.protecto-audience-menu, .protecto-insurance-menu) > ul > li {
			display: block;
			width: auto;
			break-inside: avoid;
			overflow-wrap: anywhere;
		}

	.protecto-main-nav :is(.protecto-audience-menu, .protecto-insurance-menu) > ul > li.protecto-menu-group-title ~ li.protecto-menu-group-title {
			break-before: column;
		}
}

@media (min-width: 600px) and (max-width: 1023px) {

	.protecto-main-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
			display: flex;
		}

	.protecto-main-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
			display: none;
		}
}

.protecto-service {
	min-height: 40px;
	padding-block: 6px;
	font-size: .8125rem;
	line-height: 1.4;
}

.protecto-service > p {
	margin: 0;
}

.protecto-service .wp-block-navigation__container {
	gap: 4px 16px;
}

.protecto-header .protecto-brand {
	margin-block: 0;
}

@media (max-width: 699px) {

	.protecto-service > p {
			display: none;
		}

	.protecto-service .wp-block-navigation {
			width: 100%;
			justify-content: center;
			margin-inline: auto;
		}

	.protecto-service .wp-block-navigation__container {
			justify-content: center;
		}

	.protecto-header .wp-block-buttons {
			display: none;
		}

	.protecto-header .protecto-brand img {
			width: min(202px, 58vw);
		}
}

@media (min-width: 1024px) {

	.protecto-main-nav :is(.protecto-mobile-contact, .protecto-mobile-service) {
			display: none;
		}
}

@media (max-width: 699px) {

	.protecto-header {
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto;
			align-items: center;
			gap: 0;
		}

	.protecto-header > :first-child {
			grid-column: 1 / -1;
		}

	.protecto-header > :is(.protecto-brand-row, .protecto-main-nav) {
			margin-block: 0;
			padding-block: 12px;
		}

	.protecto-header > .protecto-brand-row {
			margin-inline: 20px 0;
		}

	.protecto-header > .protecto-main-nav {
			margin-inline: 0 20px;
		}
}

.protecto-footer .protecto-footer-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block-start: 20px;
	border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	font-size: .875rem;
}

.protecto-footer-legal > p {
	margin: 0;
}

.protecto-footer-legal .wp-block-navigation__container {
	gap: 6px 16px;
}

@media (max-width: 900px) {

	.protecto-footer .protecto-footer-grid > .wp-block-group,
		.protecto-footer .protecto-footer-grid > .wp-block-group > *,
		.protecto-footer .protecto-footer-legal > * {
			margin-inline: 0 !important;
		}
}

@media (max-width: 599px) {

	.protecto-footer .protecto-footer-legal {
			flex-direction: column;
			align-items: flex-start;
		}

	.protecto-footer-legal .wp-block-navigation__container {
			justify-content: flex-start;
		}
}

.protecto-mobile-toggle {
	display: none;
}

@media (max-width: 1023px) {

	.protecto-main-nav .is-menu-open {
			z-index: 100000;
		}

	.protecto-main-nav .is-menu-open .wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
			width: 100%;
			gap: 0;
		}

	.protecto-main-nav .is-menu-open .wp-block-navigation__responsive-container-content > ul > li {
			width: 100%;
			border-block-end: 1px solid var(--wp--preset--color--line, #ddd9d2);
		}

	.protecto-main-nav .is-menu-open .wp-block-navigation-item__content {
			display: flex;
			align-items: center;
			min-height: 44px;
		}

	.protecto-main-nav .is-menu-open :is(.protecto-mobile-contact, .protecto-mobile-service) a {
			color: var(--wp--preset--color--bronze);
		}

	.protecto-main-nav .is-menu-open li.protecto-mobile-disclosure {
			display: grid;
			grid-template-columns: minmax(0, 1fr) auto;
			align-items: center;
		}

	.protecto-main-nav .is-menu-open .protecto-mobile-disclosure > .wp-block-navigation__submenu-container {
			grid-column: 1 / -1;
			padding: 0 0 8px 16px;
		}

	.protecto-main-nav .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open .protecto-mobile-toggle[aria-expanded="false"] + .wp-block-navigation__submenu-container {
			display: none;
		}

	.protecto-main-nav .is-menu-open .protecto-mobile-toggle {
			display: grid;
			place-items: center;
			width: 44px;
			height: 44px;
			border: 0;
			background: transparent;
			color: inherit;
			cursor: pointer;
		}

	.protecto-mobile-toggle::after {
			content: "";
			width: 8px;
			height: 8px;
			border: solid currentColor;
			border-width: 0 2px 2px 0;
			transform: rotate(45deg);
		}

	.protecto-mobile-toggle[aria-expanded="true"]::after {
			transform: rotate(225deg);
		}
}

.protecto-menu-group-title > .wp-block-navigation-item__content:is(:hover, :focus-visible) {
	color: var(--wp--preset--color--graphite);
	text-decoration: none;
}

@media (max-width: 699px) {

	.protecto-header > .protecto-brand-row {
			justify-self: start;
			justify-content: flex-start;
		}

	.protecto-header .protecto-brand {
			margin-inline: 0;
		}
}

.protecto-footer .protecto-footer-grid {
	align-items: start;
}

.protecto-footer-grid h2 {
	margin-block-start: 4px;
}

.protecto-footer-grid .wp-block-navigation__container {
	gap: .35rem;
}

.protecto-footer-grid .wp-block-navigation a {
	font-size: .875rem;
	line-height: 1.5;
}

.protecto-footer-grid a:is([href^="tel:"], [href^="mailto:"], [href^="https://wa.me/"])::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	margin-inline-end: .5em;
	vertical-align: -.15em;
	background: var(--wp--preset--color--bronze);
	mask: var(--protecto-contact-icon) center / contain no-repeat;
}

.protecto-footer-grid a[href^="tel:"] { --protecto-contact-icon: url("assets/icons/phone.svg"); }

.protecto-footer-grid a[href^="mailto:"] { --protecto-contact-icon: url("assets/icons/mail.svg"); }

.protecto-footer-grid a[href^="https://wa.me/"] { --protecto-contact-icon: url("assets/icons/message-circle.svg"); }

@media (min-width: 1024px) {

	.protecto-header .protecto-main-nav .wp-block-navigation__container > .has-child:not(.protecto-audience-menu, .protecto-insurance-menu) > .wp-block-navigation__submenu-container {
			box-sizing: border-box;
			width: max-content;
			min-width: min(22rem, calc(100vw - 40px));
			max-width: min(34rem, calc(100vw - 40px));
		}

	.protecto-header .protecto-main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
			white-space: normal;
			overflow-wrap: normal;
			hyphens: none;
		}
}

/* ==========================================================================
   07 · Startseite
   ========================================================================== */

.protecto-startseite section#weitere-themen,
.protecto-startseite section#weitere-themen + .protecto-section {
	margin-block-start: 0;
}

.protecto-startseite section#weitere-themen {
	padding-block-end: clamp(20px, 3vw, 36px);
}

.protecto-startseite section#weitere-themen + .protecto-section {
	padding-block-start: clamp(20px, 3vw, 36px);
}

.protecto-startseite #wissen .wp-block-image img {
	width: 100%;
	max-width: 24rem;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

@media (max-width: 699px) {

	.protecto-startseite #lebenssituation > .protecto-lead {
			font-size: inherit;
			line-height: inherit;
		}

	.protecto-startseite #lebenssituation .protecto-grid-three {
			gap: 24px;
		}

	.protecto-startseite #lebenssituation .protecto-grid-three > * {
			padding-block-start: 18px;
			border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
		}
}

.protecto-startseite .protecto-contact-banner {
	padding-inline: max(var(--protecto-section-gutter), calc((100% - var(--wp--style--global--wide-size, 1180px)) / 2));
}

.protecto-startseite .wp-block-post-content > .protecto-evidence,
.protecto-startseite .wp-block-post-content > .protecto-evidence + .protecto-section {
	margin-block-start: 0;
}

.protecto-startseite .wp-block-post-content > :is(.protecto-section, .protecto-contact-banner) {
	margin-block-start: 0 !important;
}

@media (max-width: 699px) {

	.wp-site-blocks > .protecto-startseite {
			margin-block-start: 0 !important;
		}
}

/* ==========================================================================
   08 · Beratungsablauf und Prozesskette
   ========================================================================== */

.protecto-process {
	padding: clamp(20px, 3vw, 32px);
	background: var(--wp--preset--color--sand);
}

.protecto-process > ol {
	padding-inline-start: 2em;
}

.protecto-process > ol > li {
	padding-inline-start: .375em;
	margin-block-end: 1em;
}

.protecto-process > ol > li::marker {
	color: var(--wp--preset--color--bronze);
	font-weight: 700;
}

.protecto-steps {
	list-style-type: decimal-leading-zero;
	padding-inline-start: 2em;
}

.protecto-steps > li {
	border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	padding-block: .6em;
	padding-inline-start: .4em;
}

.protecto-steps > li::marker {
	color: var(--wp--preset--color--bronze);
	font-weight: 700;
}

.protecto-steps-icons > li::before {
	content: "";
	display: block;
	inline-size: 1.5rem;
	block-size: 1.5rem;
	margin-block-end: .35rem;
	background: var(--wp--preset--color--bronze);
	mask: var(--protecto-step-icon, linear-gradient(transparent, transparent)) center / contain no-repeat;
}

.protecto-step-dialog { --protecto-step-icon: url("assets/icons/prozess-dialog.svg"); }

.protecto-step-analyse { --protecto-step-icon: url("assets/icons/prozess-analyse.svg"); }

.protecto-step-vergleich { --protecto-step-icon: url("assets/icons/prozess-vergleich.svg"); }

.protecto-step-entscheidung { --protecto-step-icon: url("assets/icons/prozess-entscheidung.svg"); }

.protecto-step-begleitung { --protecto-step-icon: url("assets/icons/prozess-begleitung.svg"); }

@media (min-width: 960px) {

	.protecto-steps-icons {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
			column-gap: 2.125rem;
		}
}

/* ==========================================================================
   09 · Hub-Seiten
   ========================================================================== */

.protecto-hub-heading {
	padding-block: clamp(32px, 6vw, 80px);
}

.protecto-hub-heading > h1 {
	margin-block: 0;
}

.protecto-hub > .wp-block-post-content {
	margin-block-start: clamp(24px, 5vw, 64px);
}

.protecto-hub-heading {
	position: relative;
	isolation: isolate;
}

.protecto-hub-heading > .protecto-hub-media {
	position: absolute;
	inset: 0;
	z-index: -1;
	max-width: none;
	margin: 0;
}

.protecto-hub-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.protecto-hub-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--wp--preset--color--sand) 20%, #f2eee7f5 60%, #f2eee780);
}

@media (max-width: 699px) {

	.protecto-hub-media::after {
			background: #f2eee7ed;
		}
}

.protecto-hub .wp-block-column:has(h3.kachel-link) {
	padding-block: 16px;
	border-block-start: 1px solid var(--wp--preset--color--line);
	background: transparent !important;
}

.protecto-hub .wp-block-column:has(h3.kachel-link) .has-shadow-dark {
	padding: 0 !important;
	box-shadow: none;
}

.protecto-hub .wp-block-column:has(h3.kachel-link) p.kachel-link {
	display: none;
}

.protecto-hub .protecto-hub-heading > h1 {
	max-width: var(--wp--style--global--wide-size, 1180px);
}

.protecto-hub > .wp-block-post-content > p:not(.alignwide, .alignfull) {
	margin-inline-start: 0 !important;
}

.protecto-hub > .wp-block-post-content > p:not(.alignwide, .alignfull) {
	width: 100%;
	max-width: none;
}

@media (min-width: 760px) {

	.protecto-hub-heading:has(> .protecto-hub-media) {
			min-block-size: clamp(220px, 24vw, 365px);
			align-content: center;
		}

	.protecto-hub-media::after {
			background: linear-gradient(90deg, var(--wp--preset--color--sand) 24%, #f2eee7ed 45%, #f2eee700 80%);
		}
}

.protecto-hub-heading {
	display: grid;
	place-items: center;
	text-align: center;
}

.protecto-hub-heading > h1 {
	width: 100%;
}

.protecto-hub-heading:has(> .protecto-hub-media) > h1 {
	color: var(--wp--preset--color--white);
	text-shadow: 0 1px 8px #0004;
}

.protecto-hub .protecto-hub-media::after {
	background: #20262866;
}

.protecto-hub .wp-block-post-content :is(p, li, h2, h3) {
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: normal;
}

@media (max-width: 699px) {

	.protecto-hub-heading > h1 {
			font-size: clamp(1.375rem, 5.5vw, 2.375rem);
			line-height: 1.15;
			hyphens: auto;
			overflow-wrap: anywhere;
			word-break: normal;
			text-wrap: balance;
			min-width: 0;
		}

	.protecto-hub-heading:has(> .protecto-hub-media) {
			min-block-size: 180px;
			box-sizing: border-box;
			align-content: center;
		}
}

/* ==========================================================================
   10 · Panels, Beratungsprofil und Kennzeichen
   ========================================================================== */

.protecto-panel {
	padding: clamp(16px, 3vw, 28px);
	background: var(--wp--preset--color--sand);
}

.protecto-panel > :first-child {
	margin-block-start: 0;
}

.protecto-person {
	display: grid;
	grid-template-columns: minmax(72px, 108px) minmax(0, 1fr);
	align-items: center;
	gap: 16px;
}

.protecto-person > * {
	margin-block: 0;
}

.protecto-person img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 50% 10%;
}

.protecto-person p {
	margin-block: .25em;
}

/* ==========================================================================
   11 · Fach- und Blogseiten: Artikelaufbau, Inhaltsverzeichnis, Stand und Autorzeile
   ========================================================================== */

.protecto-article {
	padding-block-end: clamp(48px, 8vw, 96px);
}

.protecto-article-heading {
	padding-block: clamp(32px, 6vw, 72px);
}

.protecto-article-heading h1 {
	line-height: 1.12;
	max-width: 26ch;
}

.protecto-article-lead {
	color: var(--wp--preset--color--graphite);
	max-width: 65ch;
	font-size: var(--wp--preset--font-size--lead);
}

.protecto-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: .9rem;
}

.protecto-breadcrumb li + li {
	border-inline-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	padding-inline-start: 16px;
}

.protecto-article-layout {
	display: grid;
	gap: 24px;
}

.protecto-article-content {
	min-width: 0;
}

.protecto-article-sidebar {
	border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	padding-block-start: 12px;
	min-width: 0;
}

.protecto-toc-disclosure summary {
	font-weight: 700;
	cursor: pointer;
}

.protecto-toc-disclosure .wp-block-rank-math-toc-block > :is(h2, h3) {
	display: none;
}

.protecto-toc-disclosure nav :is(ol, ul) {
	list-style: none;
	padding-inline-start: 0;
}

.protecto-toc-disclosure nav li + li {
	margin-block-start: .6em;
}

.protecto-toc-disclosure nav a {
	color: var(--wp--preset--color--bronze);
}

.wp-block-post-content > .protecto-toc-disclosure {
	border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	padding-block-start: 12px;
}

@media (min-width: 900px) {

	.protecto-article-layout {
			grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
			gap: clamp(24px, 4vw, 64px);
			align-items: start;
		}
}

.protecto-without-breadcrumbs main :is(.protecto-breadcrumb, .wp-block-bcn-breadcrumb-trail, .rank-math-breadcrumb),
.protecto-content:has(.protecto-breadcrumb) :is(.wp-block-bcn-breadcrumb-trail, .rank-math-breadcrumb) {
	display: none;
}

.protecto-article-layout > .wp-block-post-content {
	min-width: 0;
	margin: 0;
}

/* ==========================================================================
   12 · Tarifabschluss
   ========================================================================== */

.protecto-tarif-option {
	min-width: 0;
	border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	padding-block-start: 16px;
}

.protecto-content .protecto-tarif-option h3::before {
	content: "";
	display: inline-block;
	inline-size: .85em;
	block-size: .85em;
	margin-inline-end: .45em;
	background: var(--wp--preset--color--bronze);
	mask: url("assets/icons/arrow-right.svg") center / contain no-repeat;
}

.wp-block-columns:has(> .protecto-tarif-option) {
	align-items: stretch !important;
}

.wp-block-columns > .protecto-tarif-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.protecto-tarif-option > p + .wp-block-buttons:last-child {
	margin-block-start: auto;
	padding-block-start: 16px;
}

.protecto-panel:has(> .wp-block-columns > .protecto-tarif-option) > .wp-block-buttons {
	padding-block-start: 20px;
	border-block-start: 1px solid var(--wp--preset--color--line);
}

/* ==========================================================================
   13 · Hinweise, Quellen und Zahlenbeispiele
   ========================================================================== */

.protecto-article-note,
.protecto-function-vergleich :is(.protecto-tool-hinweis, .protecto-rechner-placeholder) {
	padding: clamp(16px, 3vw, 32px);
	border-inline-start: 3px solid var(--wp--preset--color--bronze);
	background: var(--wp--preset--color--sand);
}

.protecto-article-note > :first-child {
	margin-block-start: 0;
}

.protecto-article-note > :last-child {
	margin-block-end: 0;
}

.protecto-article-note__source,
.protecto-content .protecto-source-quote cite {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
}

/* ==========================================================================
   14 · Fach- und Blogseiten: Artikelaufbau, Inhaltsverzeichnis, Stand und Autorzeile (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-hub > .protecto-article-layout,
.protecto-service-page > .protecto-article-layout {
	margin-block-start: clamp(24px, 5vw, 64px);
}

.protecto-article-sidebar nav li {
	list-style: none;
}

@media (min-width: 900px) {

	.protecto-article-sidebar {
			position: sticky;
			top: 24px;
			max-height: calc(100vh - 48px);
			overflow: auto;
			scrollbar-width: thin;
		}

	.admin-bar .protecto-article-sidebar {
			top: 56px;
			max-height: calc(100vh - 80px);
		}
}

.protecto-post-preview .wp-block-post-featured-image {
	max-inline-size: 24rem;
	margin-inline-start: 0;
}

@media (min-width: 768px) {

	.protecto-post-preview .wp-block-post-template.is-layout-grid > li:last-child:nth-child(odd) {
			grid-column: 1 / -1;
		}

	.protecto-post-preview .wp-block-post-template.is-layout-grid > li:last-child:nth-child(odd):has(> .wp-block-post-featured-image) {
			display: grid;
			grid-template-columns: minmax(0, 24rem) minmax(0, 1fr);
			align-content: start;
			gap: 12px clamp(20px, 4vw, 48px);
		}

	.protecto-post-preview .wp-block-post-template.is-layout-grid > li:last-child:nth-child(odd) > .wp-block-post-featured-image {
			grid-row: 1 / span 2;
			width: 100%;
		}

	.protecto-post-preview .wp-block-post-template.is-layout-grid > li:last-child:nth-child(odd):has(> .wp-block-post-featured-image) > * {
			margin-block: 0;
		}
}

.protecto-post-preview .wp-block-post-template.is-layout-grid > li:last-child:nth-child(odd):not(:has(> .wp-block-post-featured-image)) > .wp-block-post-excerpt {
	max-inline-size: 65ch;
}

.protecto-blog-post .protecto-article-heading h1 {
	max-width: none;
	text-wrap: balance;
}

.protecto-blog-post .protecto-article-lead {
	max-width: none;
}

.protecto-blog-cover img {
	display: block;
	inline-size: 100%;
	max-block-size: 28rem;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: 12px;
}

@media (min-width: 768px) {

	.protecto-topic-grid > .protecto-topic:last-child:nth-child(odd) {
			grid-column: 1 / -1;
		}
}

.protecto-blog-topics {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	width: auto;
	max-width: var(--wp--style--global--content-size);
	padding-block: 1rem;
	border-block: 1px solid var(--wp--preset--color--line);
	font-family: var(--wp--preset--font-family--manrope);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.65;
}

.protecto-blog-topics label {
	font: inherit;
	color: var(--wp--preset--color--graphite);
}

.protecto-blog-topics select {
	box-sizing: border-box;
	width: 22rem;
	max-width: 100%;
	min-height: 44px;
	flex: 0 1 22rem;
	padding: .6rem 2.25rem .6rem .8rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 8px;
	background: var(--wp--preset--color--warm);
	color: var(--wp--preset--color--graphite);
	font: inherit;
}

.protecto-blog-topics button {
	padding: 12px 20px;
	border: 0;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--graphite);
	background: transparent;
	color: var(--wp--preset--color--graphite);
	font: inherit;
	cursor: pointer;
}

.protecto-blog-topics button:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--graphite);
}

@media (max-width: 699px) {

	.protecto-blog-topics {
			flex-direction: column;
			align-items: flex-start;
		}

	.protecto-blog-topics > :is(label, select, button) {
			align-self: flex-start;
			margin-inline: 0 !important;
			text-align: left;
		}

	.protecto-blog-topics select {
			flex: none;
			width: 100%;
			max-width: 22rem;
		}

	.protecto-blog-topics button {
			flex: none;
			width: auto;
		}
}

/* ==========================================================================
   15 · Häufige Fragen (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-faq-item[open] > .rank-math-answer,
#rank-math-faq .protecto-faq-item[open] > .rank-math-answer {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.protecto-faq details details,
.protecto-faq-grid details details {
	border-block-end: 0;
}

/* ==========================================================================
   16 · Funktionsseiten, Termine und Formulare (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-termin .wp-block-post-content {
	margin-block-start: clamp(24px, 4vw, 48px);
}

.protecto-booking-inline [role="status"]:empty {
	margin: 0;
}

.protecto-booking-inline iframe {
	max-inline-size: 100%;
}

.protecto-content iframe[id="protecto-financeads-bausparen-iframe"] {
	width: 100%;
	height: clamp(540px, 75vh, 760px);
	border: 0;
}

.protecto-content:is(.protecto-function-formular, .protecto-kontakt) .wp-block-post-content .wpforms-container {
	width: 100%;
	max-width: none;
	margin-inline: 0 !important;
}

.protecto-content:is(.protecto-function-formular, .protecto-kontakt) .wpforms-form {
	--wpforms-label-size-font-size: 1.0625rem;
	--wpforms-label-size-line-height: 1.5;
	--wpforms-label-size-sublabel-font-size: .9375rem;
	--wpforms-field-size-font-size: 1.0625rem;
}

.protecto-content:is(.protecto-function-formular, .protecto-kontakt) .wpforms-form .protecto-formular-zwischenueberschrift {
	font-size: clamp(1.25rem, 1.8vw, 1.375rem);
}

.protecto-content:is(.protecto-function-formular, .protecto-kontakt) .wp-block-post-content > .wpforms-container + * {
	margin-block-start: clamp(40px, 5vw, 64px);
}

.protecto-function-bestaetigung > :is(.protecto-article-heading, .wp-block-post-content) {
	max-width: var(--wp--style--global--wide-size, 1180px);
}

.protecto-function-bestaetigung .protecto-article-heading > *,
.protecto-function-bestaetigung .wp-block-post-content > :not(.alignwide, .alignfull) {
	max-width: 48rem;
	margin-inline-start: 0 !important;
}

.protecto-function-formular .wpforms-confirmation-container-full,
.protecto-kontakt .wpforms-confirmation-container-full {
	background: var(--wp--preset--color--sand);
	color: var(--wp--preset--color--graphite);
	border: 1px solid var(--wp--preset--color--line);
	border-inline-start: 3px solid var(--wp--preset--color--bronze);
	padding: clamp(16px, 3vw, 24px);
}

.protecto-kontakt .wp-block-post-content p:has(> a[href^="mailto:"]) > a:not([href^="mailto:"]):has(> img.wp-image-690) {
	display: none;
}

.protecto-kontakt .wp-block-post-content a[href^="mailto:"]::before {
	content: "";
	display: inline-block;
	inline-size: 1em;
	block-size: 1em;
	margin-inline-end: .45em;
	vertical-align: -.1em;
	background: var(--wp--preset--color--bronze);
	mask: url("assets/icons/mail.svg") center / contain no-repeat;
}

.protecto-content:is(.protecto-function-vergleich, .protecto-function-service, .protecto-function-formular, .protecto-kontakt) .wp-block-post-content > p:not(.alignwide, .alignfull) {
	width: auto;
	max-width: none;
	margin-inline-start: 0 !important;
}

.protecto-function-vergleich .protecto-tool-hinweis-small {
	display: block;
	margin-block-start: .5em;
}

.protecto-function-vergleich iframe {
	max-inline-size: 100%;
}

.protecto-function .protecto-article-heading {
	border-block-end: 1px solid var(--wp--preset--color--line);
	padding-block-end: clamp(24px, 4vw, 48px);
}

.protecto-function .wp-block-post-content {
	margin-block-start: clamp(24px, 4vw, 48px);
}

.protecto-function-rechtliches .wp-block-post-content {
	line-height: 1.7;
}

.protecto-calculator-load-status:empty {
	margin: 0;
}

.protecto-advice-section .wp-block-image img {
	inline-size: 100%;
	max-block-size: 28rem;
	object-fit: cover;
}

.protecto-function-service .protecto-advice-section {
	padding-block: clamp(28px, 4vw, 48px);
}

.protecto-function-service .protecto-advice-section .protecto-grid-two {
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {

	.protecto-function-service .protecto-advice-section .protecto-grid-two {
			grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		}
}

.protecto-function-service .protecto-advice-section .wp-block-image img {
	max-block-size: 21rem;
	object-position: center top;
}

/* ==========================================================================
   17 · Vertrauensleiste, Kennzahlen, Auswahlkriterien und Unternehmensraster
   ========================================================================== */

.protecto-evidence {
	padding: 16px var(--protecto-section-gutter, 20px);
	background: var(--wp--preset--color--sand);
}

.protecto-evidence {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
}

.protecto-evidence p {
	margin: 0;
}

.protecto-business-grid {
	align-items: stretch;
}

.protecto-business-grid figure,
.protecto-business-grid .wp-block-image img {
	margin: 0;
	width: 100%;
}

@media (min-width: 768px) {

	.protecto-business-grid .wp-block-image img {
			height: 100%;
			object-fit: cover;
		}
}

.protecto-statistics {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	align-items: start;
	gap: clamp(20px, 3vw, 36px);
	border-block: 1px solid var(--wp--preset--color--line);
	padding-block: clamp(24px, 4vw, 40px);
}

.protecto-statistics__value {
	color: var(--wp--preset--color--bronze);
	font-size: var(--wp--preset--font-size--section-title);
	font-weight: 700;
	margin-block: 0 .5rem;
}

.protecto-statistics > .wp-block-group {
	margin-block: 0 !important;
	min-width: 0;
}

.protecto-statistics > .wp-block-group > :first-child {
	margin-block-start: 0;
	line-height: 1.15;
}

@media (min-width: 768px) {

	.protecto-grid-three > .protecto-topic:has(> h3:first-child + p:last-child) {
			display: grid;
			grid-row: span 2;
			grid-template-rows: subgrid;
			row-gap: .5em;
			align-content: start;
		}

	.protecto-grid-three > .protecto-topic:has(> h3:first-child + p:last-child) > * {
			margin-block: 0;
		}
}

/* ==========================================================================
   18 · Panels, Beratungsprofil und Kennzeichen (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-section:has(.protecto-profile-labels) {
	background: var(--wp--preset--color--sand);
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content .protecto-section:has(:is(.protecto-profile-labels, .protecto-review)) {
	padding: clamp(24px, 4vw, 48px);
}

:is(.protecto-section, .protecto-panel):has(.protecto-profile-labels) .protecto-profile-labels > li {
	background: var(--wp--preset--color--warm);
}

.protecto-profile-labels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.protecto-profile-labels > li {
	padding: 5px 10px;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	background: var(--wp--preset--color--sand);
	font-size: .875rem;
}

/* ==========================================================================
   19 · Häufige Fragen (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

:is(.protecto-faq, .protecto-faq-grid) .wp-block-details + .wp-block-details {
	margin-block-start: 0;
}

:is(.wp-block-rank-math-faq-block, #rank-math-faq, .rank-math-block, .protecto-faq, .protecto-faq-grid, .protecto-faq-item, .wp-block-details, .wp-block-separator, hr) + .protecto-autorzeile,
:has(> :is(.wp-block-rank-math-faq-block, #rank-math-faq, .rank-math-block, .protecto-faq, .protecto-faq-grid, .wp-block-details):last-child) + .protecto-autorzeile {
	padding-block-start: 0;
	border-block-start: 0;
}

/* ==========================================================================
   20 · Grundlagen: Fokus, Knöpfe, Schrift und Textlinks (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.wp-block-button.is-style-protecto-outline-white > .wp-block-button__link {
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-protecto-outline-white > .wp-block-button__link:focus-visible {
	outline-color: var(--wp--preset--color--white);
}

.protecto-content :is(p, li, cite, figcaption) a[href]:not(.protecto-contact-banner a, .wp-element-button, .wp-block-navigation-item__content, .has-text-color, .wp-block-post-title a) {
	color: var(--wp--preset--color--bronze);
	text-decoration: none;
}

.protecto-content :is(p, li, cite, figcaption) a[href]:not(.protecto-contact-banner a, .wp-element-button, .wp-block-navigation-item__content, .wp-block-post-title a):is(:hover, :focus-visible),
.protecto-content .wp-block-post-title a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: .18em;
}

.protecto-content .wp-block-post-title a {
	text-decoration: none;
}

.wp-site-blocks {
	container-type: inline-size;
}

.protecto-content {
	--protecto-content-section-gap: clamp(32px, 4vw, 48px);
}

.protecto-content :is(p, li, h2, h3, h4, h5, h6, dt, dd, td, th, figcaption) {
	hyphens: auto;
	overflow-wrap: anywhere;
	word-break: normal;
}

.protecto-content :is(.wp-block-button__link, .protecto-eyebrow) {
	hyphens: none;
}

.wp-block-button__link {
	text-wrap: balance;
}

@media (max-width: 599px) {

	.wp-block-button__link {
			padding-inline: 16px;
		}
}

.protecto-content h1.wp-block-post-title {
	text-wrap: balance;
}

/* ==========================================================================
   21 · Hero und Kontaktabschluss mit Bild (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-hub .wp-block-post-content .protecto-contact-banner {
	width: 100cqw;
	max-width: none;
	margin-inline: calc((100% - 100cqw) / 2) !important;
	padding-inline: max(var(--protecto-section-gutter, 20px), calc((100cqw - var(--wp--style--global--wide-size, 1180px)) / 2));
}

:is(.protecto-hub, .protecto-startseite):has(> .wp-block-post-content > .protecto-contact-banner:last-child),
:is(.protecto-hub, .protecto-startseite):has(> .wp-block-post-content > .wp-block-group:last-child .protecto-contact-banner:last-child) {
	padding-block-end: 0 !important;
}

.wp-site-blocks > :is(.protecto-hub, .protecto-startseite) + footer:has(.protecto-footer) {
	margin-block-start: 0;
}

.protecto-contact-banner > :not(.wp-block-image) {
	max-width: 44rem;
	min-width: 0;
}

.protecto-content > .protecto-contact-banner {
	box-sizing: border-box;
	inline-size: 100cqw;
	max-inline-size: none;
	margin-inline: calc((100% - 100cqw) / 2) !important;
	margin-block: var(--protecto-content-section-gap) 0 !important;
	padding-inline: max(var(--protecto-section-gutter, 20px), calc((100cqw - var(--wp--style--global--wide-size, 1180px)) / 2));
}

.protecto-content.protecto-has-closing-banner {
	padding-block-end: 0 !important;
	margin-block-end: 0 !important;
}

.wp-site-blocks > .protecto-has-closing-banner + footer {
	margin-block-start: 0 !important;
}

/* ==========================================================================
   22 · Fach- und Blogseiten: Artikelaufbau, Inhaltsverzeichnis, Stand und Autorzeile (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-function-rechtliches .protecto-article-sidebar,
.protecto-function-rechtliches .wp-block-post-content > .protecto-toc-disclosure {
	border-block-start: 0;
	padding-block-start: 0;
}

.protecto-fachseite .protecto-article-heading h1,
.protecto-fachseite .protecto-article-lead {
	max-width: none;
	inline-size: 100%;
}

.protecto-function-service .protecto-article-heading :is(h1, .protecto-article-lead) {
	max-width: none;
	inline-size: 100%;
}

.protecto-function-service .protecto-toc-disclosure {
	margin-inline: 0;
	max-width: none;
}

.protecto-toc-disclosure :is(ol, ul) {
	list-style: none;
	padding-inline-start: 0;
}

.protecto-toc-disclosure > .wp-block-rank-math-toc-block > :is(h2, h3, h4) {
	display: none;
}

.protecto-function-service .wp-block-post-content > .protecto-toc-disclosure {
	border-block-start: 0;
	padding-block-start: 0;
}

.protecto-article-heading > .protecto-stand,
.protecto-blog-post .protecto-article-heading > .wp-block-post-date {
	margin-block: 8px 0;
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
}

.wp-block-post-date .protecto-stand {
	color: inherit;
	font-size: inherit;
}

.protecto-autorzeile {
	max-width: none;
	margin-block-start: clamp(32px, 5vw, 48px);
	padding-block-start: 12px;
	border-block-start: 1px solid var(--wp--preset--color--line, #ddd9d2);
	color: var(--wp--preset--color--muted);
	font-size: .9rem;
}

.protecto-autorzeile a {
	color: var(--wp--preset--color--bronze);
}

/* ==========================================================================
   23 · Kopf, Navigation und Fußbereich (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

@media (max-width: 699px) {

	.protecto-header > :is(.protecto-brand-row, .protecto-main-nav) {
			padding-block: 20px 16px;
			margin-inline: 0 !important;
			min-width: 0;
		}

	.protecto-header {
			grid-template-columns: 44px minmax(0, 1fr) 44px;
		}

	.protecto-header > .protecto-brand-row {
			grid-column: 2;
			grid-row: 2;
			justify-self: center;
			justify-content: center;
			width: 100%;
		}

	.protecto-header > .protecto-main-nav {
			grid-column: 3;
			grid-row: 2;
			justify-self: end;
			width: 44px;
			display: flex;
			justify-content: flex-end;
		}
}

/* ==========================================================================
   24 · Startseite (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

@media (max-width: 767px) {

	.protecto-startseite .protecto-hero-copy {
			min-width: 0;
			max-width: 100%;
			padding: 32px var(--protecto-section-gutter, 20px) 40px;
			overflow-wrap: anywhere;
		}

	.protecto-startseite .protecto-hero-copy > :is(h1, p, .wp-block-buttons) {
			min-width: 0;
			max-width: 100%;
		}

	.protecto-startseite .protecto-hero-copy h1 {
			font-size: clamp(1.75rem, 7vw, 2.625rem);
			line-height: 1.12;
		}

	.protecto-startseite .protecto-hero-copy .wp-block-button__link {
			box-sizing: border-box;
			max-width: 100%;
			white-space: normal;
		}
}

/* ==========================================================================
   25 · Tabellen
   ========================================================================== */

.protecto-content .wp-block-table {
	overflow-x: auto;
}

:is(.protecto-content, .editor-styles-wrapper) .wp-block-table.is-style-protecto-table {
	max-inline-size: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

:is(.protecto-content, .editor-styles-wrapper) .wp-block-table.is-style-protecto-table table {
	inline-size: 100%;
	min-inline-size: 34rem;
	border-collapse: collapse;
	font-size: inherit;
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table :is(th, td) {
	padding: 14px 16px;
	border: 0;
	border-block-end: 1px solid var(--wp--preset--color--line, #ddd9d2);
	text-align: start;
	vertical-align: top;
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table thead {
	background: var(--wp--preset--color--sand, #f2eee7);
	color: var(--wp--preset--color--graphite, #202628);
	border-block-end: 2px solid var(--wp--preset--color--bronze, #88540b);
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table tbody tr:nth-child(even) {
	background: color-mix(in srgb, var(--wp--preset--color--sand, #f2eee7) 40%, transparent);
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table .has-text-align-right {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table .has-text-align-center {
	text-align: center;
}

.protecto-table-source {
	font-size: .875em;
	color: var(--wp--preset--color--graphite-muted, #5d6465);
}

.protecto-table-source:empty {
	display: none;
}

.wp-block-table.is-style-protecto-table:focus-visible {
	outline: 2px solid var(--wp--preset--color--bronze, #88540b);
	outline-offset: 3px;
}

:is(.protecto-content .wp-block-post-content, .editor-styles-wrapper) .protecto-table-section h2,
:is(.protecto-content .wp-block-post-content, .editor-styles-wrapper) .wp-block-table h2 {
	font-size: var(--wp--preset--font-size--subsection-title);
	line-height: 1.25;
}

:is(.protecto-content .wp-block-post-content, .editor-styles-wrapper) .protecto-table-section h3,
:is(.protecto-content .wp-block-post-content, .editor-styles-wrapper) .wp-block-table h3 {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.3;
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table :is(th, td:first-child) {
	hyphens: manual;
	overflow-wrap: normal;
}

:is(.protecto-content, .editor-styles-wrapper) .is-style-protecto-table td:first-child {
	min-inline-size: 8.5rem;
	font-weight: 600;
}

:is(.protecto-content, .editor-styles-wrapper) .wp-block-table :is(td, th) {
	overflow-wrap: break-word;
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   26 · Hinweise, Quellen und Zahlenbeispiele (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-content .protecto-source-quote {
	padding: clamp(16px, 3vw, 32px);
	border-inline-start: 3px solid var(--wp--preset--color--bronze);
	margin-inline: 0;
}

:is(.protecto-content, .editor-styles-wrapper) :is(
	.protecto-source,
	.protecto-article-note__source,
	.protecto-table-source,
	.protecto-source-quote cite
) {
	display: block;
	font-size: .875rem;
	line-height: 1.5;
	font-weight: 400;
	font-style: normal;
	color: var(--wp--preset--color--muted, #5d6465);
	margin-block: 12px 0;
}

:is(.protecto-content, .editor-styles-wrapper) :is(
	.protecto-source,
	.protecto-article-note__source,
	.protecto-table-source,
	.protecto-source-quote cite
):empty {
	display: none;
	margin: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-article-note.protecto-note-compact {
	padding: 16px 20px;
	border-inline-start-width: 2px;
	background: var(--wp--preset--color--sand);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.55;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-note-compact > :not(.protecto-article-note__source) {
	margin-block: 8px 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-note-compact > :first-child {
	margin-block-start: 0;
}

/* ==========================================================================
   27 · Option: Links im Fließtext unterstreichen
   ========================================================================== */

.protecto-underline-links :is(.protecto-article, .protecto-hub) .wp-block-post-content :is(p, cite, figcaption):not(.protecto-action-link) a[href]:not(.protecto-contact-banner a, .wp-element-button, .wp-block-navigation-item__content, .has-text-color),
.protecto-underline-links .protecto-content .protecto-article-note__source a[href] {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

.protecto-underline-links :is(.protecto-article, .protecto-hub) .wp-block-post-content :is(p, cite, figcaption):not(.protecto-action-link) a[href]:not(.protecto-contact-banner a, .wp-element-button, .wp-block-navigation-item__content, .has-text-color):is(:hover, :focus-visible),
.protecto-underline-links .protecto-content .protecto-article-note__source a[href]:is(:hover, :focus-visible) {
	text-decoration-thickness: 2px;
}

/* ==========================================================================
   28 · Zwischen-CTA
   ========================================================================== */

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline {
	margin-block: var(--wp--preset--spacing--48, 48px);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline > p {
	margin-block: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline > .wp-block-buttons {
	margin-block-start: 20px;
	gap: 12px;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline {
	border-inline-start: 4px solid var(--wp--preset--color--bronze);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline .protecto-person {
	grid-template-columns: 88px minmax(0, 1fr);
	align-items: start;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline .protecto-person img {
	border-radius: 8px;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline > .wp-block-buttons {
	margin-block-start: 20px;
	padding-inline-start: 104px;
}

@media (max-width: 599px) {

	:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline > .wp-block-buttons {
			padding-inline-start: 0;
		}
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline .protecto-cta-inline__by {
	margin-block-end: .35em;
	font-size: .875rem;
	color: var(--wp--preset--color--muted);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-inline.protecto-cta-compact {
	margin-block: 48px;
	padding: 0;
	border: 0;
	overflow: hidden;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact > .protecto-person {
	display: grid;
	grid-template-columns: minmax(150px, 30%) minmax(0, 1fr);
	align-items: stretch;
	gap: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person > figure {
	margin: 0;
	min-block-size: 100%;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	min-block-size: 220px;
	aspect-ratio: auto;
	border-radius: 0;
	object-fit: cover;
	object-position: 50% 25%;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person > .wp-block-group {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(20px, 3vw, 32px);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-cta-inline__by {
	margin: 0 0 8px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-cta-inline__by a {
	color: inherit;
	text-decoration: none;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-cta-inline__by a:is(:hover, :focus-visible) {
	text-decoration: underline;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person p {
	margin-block: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person p.protecto-cta-inline__lead {
	margin-block-end: 6px;
	font-size: var(--wp--preset--font-size--subsection-title, 1.25rem);
	line-height: 1.3;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person > .wp-block-group > p:not([class]) {
	max-inline-size: 62ch;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .wp-block-buttons {
	margin-block-start: 20px;
	gap: 12px;
}

@media (max-width: 599px) {

	:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact > .protecto-person {
			grid-template-columns: 1fr;
		}

	:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact .protecto-person img {
			min-block-size: 0;
			aspect-ratio: 16 / 9;
		}
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-cta-compact > .protecto-person:not(:has(> figure)) {
	grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   29 · Landingpages für Kampagnen
   ========================================================================== */

.protecto-landing-header .protecto-brand-row {
	align-items: center;
	gap: 16px;
	padding-block: 16px;
}

.protecto-content.protecto-landingpage {
	padding-block-start: 0;
}

.protecto-landingpage > .wp-block-post-content {
	margin-block-start: 0;
}

.protecto-landing-header .protecto-brand {
	margin-block: 0;
}

.protecto-landing-header .protecto-brand img {
	width: 248px;
}

.protecto-landing-header .wp-block-buttons {
	flex-shrink: 0;
}

.protecto-landing-header .protecto-landing-phone {
	margin: 0;
	margin-inline-start: auto;
	font-weight: 600;
}

.protecto-landing-header .protecto-landing-phone a {
	color: inherit;
	text-decoration: none;
}

.protecto-landing-hero {
	padding-block: clamp(24px, 4vw, 48px) clamp(32px, 6vw, 72px);
}

.protecto-landing-hero > .protecto-grid-two {
	align-items: start;
	gap: clamp(24px, 4vw, 56px);
}

.protecto-landing-hero h1 {
	margin-block-start: 0;
}

.protecto-landing-form {
	scroll-margin-top: 24px;
}

.protecto-landing-form > h2 {
	margin-block-start: 0;
	font-size: var(--wp--preset--font-size--subsection-title);
}

.protecto-landing-form .protecto-landing-privacy {
	font-size: .875rem;
	color: var(--wp--preset--color--muted, #5d6465);
}

@media (max-width: 767px) {

	.protecto-landing-header .protecto-brand {
		margin-block: 0;
	}

	.protecto-landing-header .protecto-brand img {
		width: 248px;
	}

	.protecto-landing-header .protecto-landing-phone {
			display: none;
		}
}

/* ==========================================================================
   30 · Hinweise, Quellen und Zahlenbeispiele (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

:is(.protecto-content, .editor-styles-wrapper) .protecto-article-note.protecto-example {
	padding: 20px 24px;
	border-inline-start-width: 2px;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example > h3 {
	margin-block: 4px 12px;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table {
	margin-block: 12px;
	background: var(--wp--preset--color--white, #fff);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table thead {
	background: var(--wp--preset--color--white, #fff);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table tbody tr:nth-child(even) {
	background: transparent;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table:not(.is-style-protecto-table) :is(table, th, td) {
	border: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table:not(.is-style-protecto-table) table {
	inline-size: 100%;
	border-collapse: collapse;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table:not(.is-style-protecto-table) :is(th, td) {
	padding: 12px 16px;
	border-block-end: 1px solid var(--wp--preset--color--line, #ddd9d2);
	text-align: start;
	vertical-align: top;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example .wp-block-table:not(.is-style-protecto-table) thead {
	border-block-end: 2px solid var(--wp--preset--color--bronze, #88540b);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-example > p:not(.protecto-eyebrow, .protecto-article-note__source) {
	font-size: .95rem;
}

/* ==========================================================================
   31 · Beratungsablauf und Prozesskette (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-steps.protecto-steps-icons {
	list-style: none;
	padding-inline-start: 0;
	counter-reset: protecto-step;
}

.protecto-steps.protecto-steps-icons > li {
	position: relative;
	counter-increment: protecto-step;
	padding-block-start: calc(.6em + 2.1rem);
	padding-inline-start: 0;
}

.protecto-steps.protecto-steps-icons > li::before {
	position: absolute;
	inset-block-start: .7em;
	inset-inline-end: 0;
	margin: 0;
}

.protecto-steps.protecto-steps-icons > li::after {
	content: counter(protecto-step, decimal-leading-zero);
	position: absolute;
	inset-block-start: .7em;
	inset-inline-start: 0;
	line-height: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--bronze);
}

.protecto-steps.protecto-steps-icons > li > strong {
	hyphens: manual;
}

.protecto-process-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px 24px;
	margin-block-start: 32px;
	padding-block-start: 16px;
	border-top: 1px solid var(--wp--preset--color--line);
}

.protecto-process-footer > * {
	margin-block: 0;
}

.protecto-process-footer .protecto-review-line {
	font-size: .9375rem;
	color: var(--wp--preset--color--muted);
}

.protecto-process-footer .protecto-action-link {
	font-size: .9375rem;
	font-weight: 400;
	color: var(--wp--preset--color--muted);
}

.protecto-process-footer .protecto-action-link > a {
	font-weight: 400;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

.protecto-process-footer .protecto-action-link > a::after {
	content: none;
}

.protecto-process-footer .protecto-action-link > a:is(:hover, :focus-visible) {
	text-decoration-thickness: 2px;
}

/* ==========================================================================
   32 · Panels, Beratungsprofil und Kennzeichen (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-advice-section > .protecto-grid-two.protecto-split {
	gap: 0;
	background: var(--wp--preset--color--sand);
	overflow: hidden;
}

.protecto-advice-section > .protecto-grid-two.protecto-split > .wp-block-image {
	margin: 0;
}

.protecto-advice-section > .protecto-grid-two.protecto-split > .wp-block-image img {
	display: block;
	border-radius: 0;
}

.protecto-advice-section > .protecto-grid-two.protecto-split > :not(.wp-block-image) {
	padding: clamp(24px, 3vw, 40px);
}

@media (min-width: 768px) {

	.protecto-advice-section > .protecto-grid-two.protecto-split {
			grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
			align-items: stretch;
		}

	.protecto-advice-section > .protecto-grid-two.protecto-split > .wp-block-image {
			position: relative;
			min-block-size: 20rem;
		}

	.protecto-advice-section > .protecto-grid-two.protecto-split > .wp-block-image img {
			position: absolute;
			inset: 0;
			inline-size: 100%;
			block-size: 100%;
			max-block-size: none;
			object-position: 50% 25%;
		}

	.protecto-advice-section > .protecto-grid-two.protecto-split > :not(.wp-block-image) {
			align-self: center;
		}
}

/* ==========================================================================
   33 · Zeitleiste
   ========================================================================== */

.protecto-timeline {
	display: grid;
	gap: 12px;
	margin-block: 32px;
	padding: 0;
}

.protecto-timeline > .protecto-timeline__step {
	position: relative;
	margin: 0;
	padding: 16px 18px;
	border-block-start: 4px solid var(--wp--preset--color--bronze);
	background: var(--wp--preset--color--sand);
}

.protecto-timeline > .protecto-timeline__step:is(.is-gap, .is-style-protecto-timeline-gap) {
	border-block-start: 4px dashed var(--wp--preset--color--muted);
	border-inline: 1px dashed var(--wp--preset--color--line);
	border-block-end: 1px dashed var(--wp--preset--color--line);
	background: transparent;
}

.protecto-timeline__step > * {
	margin-block: 0;
}

.protecto-timeline__step > * + * {
	margin-block-start: 6px;
}

.protecto-timeline__step p.protecto-timeline__time {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
}

.protecto-timeline__step:is(.is-gap, .is-style-protecto-timeline-gap) p.protecto-timeline__time {
	color: var(--wp--preset--color--muted);
}

.protecto-timeline__step p {
	font-size: .95rem;
	line-height: 1.5;
}

.protecto-timeline__step p.protecto-timeline__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	hyphens: manual;
}

@media (min-width: 900px) {

	.protecto-timeline {
			grid-auto-flow: column;
			grid-auto-columns: minmax(0, 1fr);
		}
}

/* ==========================================================================
   34 · Layout: Abschnitte, Raster und Abschnittsrhythmus (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

@media (max-width: 599px) {

	.protecto-grid-three:has(> :nth-child(4):last-child),
		.protecto-statistics {
			grid-template-columns: minmax(0, 1fr);
		}
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content :is(
	.protecto-section,
	.protecto-faq,
	.wp-block-group:has(> h2),
	.wp-block-columns:has(> .wp-block-column > h2)
):not(.protecto-panel, .protecto-article-note, .protecto-contact-banner) {
	margin-block: var(--protecto-content-section-gap) 0 !important;
	padding-block: var(--protecto-section-inner-padding, 0px) !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content > h2:not(.protecto-eyebrow + h2),
.protecto-content:not(.protecto-startseite) .wp-block-post-content :is(.wp-block-group, section) > h2:not(.protecto-contact-banner h2, .protecto-panel h2, .protecto-article-note h2, .protecto-eyebrow + h2) {
	margin-block-start: var(--protecto-content-section-gap) !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content :is(
	.protecto-section,
	.protecto-faq,
	.wp-block-group:has(> h2),
	.wp-block-columns:has(> .wp-block-column > h2)
):not(.protecto-panel, .protecto-article-note, .protecto-contact-banner) > :first-child,
.protecto-content:not(.protecto-startseite) .wp-block-post-content > h2:first-child {
	margin-block-start: 0 !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content :is(
	.protecto-section,
	.protecto-faq,
	.wp-block-group:has(> h2),
	.wp-block-columns:has(> .wp-block-column > h2)
):not(.protecto-panel, .protecto-article-note, .protecto-contact-banner):first-child {
	margin-block-start: 0 !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content :is(
	.protecto-section,
	.protecto-faq,
	.wp-block-group:has(> h2),
	.wp-block-columns:has(> .wp-block-column > h2)
):not(.protecto-panel, .protecto-article-note, .protecto-contact-banner) > :last-child {
	margin-block-end: 0 !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content .protecto-eyebrow + h2 {
	margin-block-start: var(--wp--style--block-gap, 18px) !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content .protecto-eyebrow:empty + h2 {
	margin-block-start: 0 !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content > .wp-block-group:has(> h3):not(.protecto-article-note, .protecto-panel, .protecto-topic),
.protecto-content:not(.protecto-startseite) .wp-block-post-content > .protecto-contact-banner {
	margin-block-start: var(--protecto-content-section-gap) !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content .protecto-eyebrow + :is(h2, h3) {
	margin-block-start: 10px !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content .protecto-eyebrow:empty + :is(h2, h3) {
	margin-block-start: 0 !important;
}

.protecto-content:not(.protecto-startseite) .wp-block-post-content :is(section, div).protecto-section:has(.protecto-profile-labels) {
	--protecto-section-inner-padding: clamp(24px, 4vw, 48px);
}

:is(.protecto-content:not(.protecto-startseite) .wp-block-post-content, .editor-styles-wrapper) .protecto-section:has(.protecto-review) {
	--protecto-section-inner-padding: clamp(24px, 4vw, 48px);
	box-sizing: border-box;
}

.protecto-content.protecto-fachseite .wp-block-post-content > :is(.wp-block-group, section) > h2:not(.protecto-panel h2, .protecto-article-note h2, .protecto-contact-banner h2) {
	font-size: var(--wp--preset--font-size--section-title);
	line-height: 1.15;
}

.editor-styles-wrapper .is-root-container > .wp-block-group > h2 {
	font-size: var(--wp--preset--font-size--section-title);
	line-height: 1.15;
}

.protecto-content :is(.protecto-timeline, .protecto-steps, .wp-block-columns, .protecto-grid-two, .protecto-panel, .protecto-article-note) :is(p, li, h3, h4) {
	hyphens: auto;
	-webkit-hyphens: auto;
	overflow-wrap: break-word;
}

@media (min-width: 700px) {

	.protecto-content .wp-block-post-content :is(h2, h3, h4):not(:is(.wp-block-column, .protecto-topic, .protecto-panel, .protecto-grid-two, .protecto-grid-three, .protecto-grid-four, .protecto-tarif, .protecto-contact-banner, .protecto-article-note) *) {
			hyphens: manual;
			overflow-wrap: break-word;
			text-wrap: balance;
		}
}

/* ==========================================================================
   35 · Funktionsseiten, Termine und Formulare (Fortsetzung)
   ==========================================================================
   Steht hier, weil diese Regeln weiter oben stehende Regeln mit gleicher
   Spezifität überschreiben; ein Verschieben würde die Darstellung ändern. */

.protecto-function .protecto-article-heading :is(h1, .protecto-article-lead) {
	max-width: none;
	inline-size: 100%;
}

.protecto-termin .wp-block-post-content > :is(p, ul, ol):not(.alignwide, .alignfull) {
	width: auto;
	max-width: none;
	margin-inline-start: 0 !important;
}

.protecto-termin .wp-block-post-content > p.protecto-lead {
	font-size: inherit;
}

.wpforms-container .wpforms-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="file"]), select, textarea):focus,
.wpforms-container .wpforms-form :is(input:not([type="checkbox"], [type="radio"], [type="submit"], [type="file"]), select, textarea):focus-visible {
	outline: none;
	border-color: var(--wp--preset--color--bronze) !important;
	box-shadow: 0 0 0 1px var(--wp--preset--color--bronze) !important;
}

/* ==========================================================================
   36 · Hinweisband
   ========================================================================== */

.protecto-content .protecto-promo {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(16px, 3vw, 40px);
	box-sizing: border-box;
	width: min(var(--wp--style--global--wide-size, 1180px), calc(100% - 2 * var(--protecto-section-gutter, 24px)));
	max-width: none;
	margin: clamp(32px, 5vw, 56px) auto !important;
	padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 40px);
	background: var(--wp--preset--color--graphite);
	color: var(--wp--preset--color--white);
	border-radius: 12px;
}

.protecto-promo__text > * {
	margin: 0;
	max-width: 62ch;
}

.protecto-promo__text > * + * {
	margin-block-start: 8px;
}

.protecto-promo p {
	color: rgba(255, 255, 255, .86);
}

.protecto-promo p.protecto-promo__badge {
	color: var(--wp--preset--color--sand);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .065em;
	text-transform: uppercase;
}

.protecto-promo p.protecto-promo__title {
	margin-block-start: 6px;
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--subsection-title);
	font-weight: 700;
	line-height: 1.2;
}

.protecto-promo .protecto-promo__action {
	margin: 0;
}

@media (max-width: 781px) {

	.protecto-content .protecto-promo {
			grid-template-columns: 1fr;
		}
}

:is(.protecto-fachseite, .protecto-hub) .protecto-promo {
	width: auto;
	margin-inline: 0 !important;
}

/* ==========================================================================
   37 · Preiskarten (Servicepakete)
   ========================================================================== */

:is(.protecto-content, .editor-styles-wrapper) .protecto-pricing {
	display: grid;
	gap: 20px;
	margin-block: 32px;
}

@media (min-width: 900px) {

	:is(.protecto-content, .editor-styles-wrapper) .protecto-pricing {
			grid-template-columns: repeat(3, minmax(0, 1fr));
			align-items: stretch;
		}
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(20px, 2.5vw, 28px);
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-card > * {
	margin-block: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-card.is-featured {
	border: 2px solid var(--wp--preset--color--bronze);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-badge {
	position: absolute;
	inset-block-start: -13px;
	inset-inline-end: 20px;
	padding: 3px 12px;
	border-radius: 999px;
	background: var(--wp--preset--color--bronze);
	color: var(--wp--preset--color--white);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-tagline {
	color: var(--wp--preset--color--muted);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-box {
	padding: 16px 18px;
	border-radius: 8px;
	background: var(--wp--preset--color--sand);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-box > * {
	margin-block: 0;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-label {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-amount {
	font-size: .9375rem;
	color: var(--wp--preset--color--muted);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-amount strong {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.2;
	color: var(--wp--preset--color--graphite);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-alt {
	font-size: .875rem;
	color: var(--wp--preset--color--muted);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-features {
	margin: 0;
	padding: 0;
	list-style: none;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-features li {
	position: relative;
	padding-inline-start: 1.6em;
	margin-block: .35em;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-features li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 0;
	font-weight: 700;
	color: var(--wp--preset--color--bronze);
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-features li.is-intro {
	padding-inline-start: 0;
	font-weight: 600;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-features li.is-intro::before {
	content: none;
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-facts {
	display: grid;
	gap: 16px 32px;
	margin-block: 24px 8px;
}

@media (min-width: 900px) {

	:is(.protecto-content, .editor-styles-wrapper) .protecto-price-facts {
			grid-template-columns: repeat(3, minmax(0, 1fr));
		}
}

:is(.protecto-content, .editor-styles-wrapper) .protecto-price-facts > * > * {
	margin-block: 0 4px;
}

/* Preiskarten und Eckdaten beginnen auf gleicher Höhe (kein Blockabstand zwischen den Spalten). */
:is(.protecto-content, .editor-styles-wrapper) :is(.protecto-pricing, .protecto-price-facts) > * {
	margin-block: 0;
}

/* ==========================================================================
   38 · Beitragshinweis
   ========================================================================== */

/* Beitragshinweis: dezente Kachel mit Verweis auf einen aktuellen Blogbeitrag (Vorlage „PROTECTO Beitragshinweis“). */
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint {
	max-inline-size: 44rem;
	margin-block: 28px;
	padding: 16px 20px 16px 18px;
	border: 1px solid var(--wp--preset--color--line);
	border-inline-start: 3px solid var(--wp--preset--color--bronze);
	border-radius: 8px;
	background: var(--wp--preset--color--white);
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint > * {
	margin-block: 0;
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint > * + * {
	margin-block-start: 6px;
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint__meta {
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--bronze);
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint__title {
	font-weight: 700;
	line-height: 1.35;
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint__title a {
	text-decoration: none;
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint__title a::after {
	content: " →";
	color: var(--wp--preset--color--bronze);
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint__title a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: 3px;
}
:is(.protecto-content, .editor-styles-wrapper) .protecto-post-hint > p:not([class]) {
	font-size: .9375rem;
	color: var(--wp--preset--color--muted);
}
