/* =============================================================
   SL-WEBSERVICE — FRONTEND CSS
   Komponenten-Layer ergänzend zu theme.json
   ============================================================= */

/* --- Skip-Link (Accessibility) -------------------------------- */
.sl-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 9999;
	padding: 12px 20px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
	text-decoration: none;
	font: 500 0.875rem/1 var(--wp--preset--font-family--sans);
}
.sl-skip-link:focus {
	left: 12px;
	top: 12px;
}

/* --- Body Base ----------------------------------------------- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Selektion */
::selection {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
}

/* Fokus-States (sichtbar, einheitlich) */
:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Italics auf Headlines: Marine-Akzent */
h1 em, h2 em, h3 em {
	color: var(--wp--preset--color--primary);
	font-style: italic;
	font-weight: inherit;
}

/* Links im Fließtext: dezente Underline */
.entry-content a,
.wp-block-post-content a,
p a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 180ms ease, text-decoration-color 180ms ease;
}

/* =============================================================
   HEADER
   ============================================================= */
.sl-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--background);
	transition: box-shadow 240ms ease, backdrop-filter 240ms ease;
}
.sl-site-header.is-scrolled {
	box-shadow: 0 1px 0 var(--wp--preset--color--border);
	backdrop-filter: saturate(140%) blur(8px);
	background: rgba(250, 248, 243, 0.92);
}

.sl-topbar a {
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
	transition: opacity 180ms ease;
}
.sl-topbar a:hover { opacity: 1; }

.sl-header-main {
	transition: padding 240ms ease;
}
.sl-site-header.is-scrolled .sl-header-main {
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: var(--wp--preset--spacing--40);
}

.sl-header-cta .wp-block-button__link {
	white-space: nowrap;
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.wp-block-navigation a {
	transition: color 180ms ease, opacity 180ms ease;
}
.wp-block-navigation .wp-block-navigation-item__content {
	padding: 8px 0;
	position: relative;
}
.wp-block-navigation .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 1.5px;
	background: var(--wp--preset--color--primary);
	transition: right 240ms ease;
}
.wp-block-navigation .wp-block-navigation-item__content:hover::after,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content::after {
	right: 0;
}

/* =============================================================
   BUTTONS — alle Varianten
   ============================================================= */

/* Primary (default aus theme.json) — schon konfiguriert */

/* Sekundär — Outline */
.wp-block-button.is-style-sl-secondary .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1.5px solid var(--wp--preset--color--ink);
}
.wp-block-button.is-style-sl-secondary .wp-block-button__link:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--ink);
}

/* Ghost — nur Underline */
.wp-block-button.is-style-sl-ghost .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: none;
	border-bottom: 1.5px solid currentColor;
	padding: 14px 0 10px;
	border-radius: 0;
}
.wp-block-button.is-style-sl-ghost .wp-block-button__link:hover {
	color: var(--wp--preset--color--accent);
	background: transparent;
}

/* Invertiert — auf dunkel */
.wp-block-button.is-style-sl-inverted .wp-block-button__link {
	background: var(--wp--preset--color--background);
	color: var(--wp--preset--color--ink);
	border: 1.5px solid var(--wp--preset--color--background);
}
.wp-block-button.is-style-sl-inverted .wp-block-button__link:hover {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--accent);
}

/* Mit Hard-Shadow — gezielt einsetzen */
.wp-block-button.is-style-sl-with-shadow .wp-block-button__link {
	box-shadow: 4px 4px 0 var(--wp--preset--color--accent);
	transition: transform 240ms ease, box-shadow 240ms ease,
				background 240ms ease, color 240ms ease, border-color 240ms ease;
}
.wp-block-button.is-style-sl-with-shadow .wp-block-button__link:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--wp--preset--color--accent);
}
.wp-block-button.is-style-sl-with-shadow .wp-block-button__link:active {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--wp--preset--color--accent);
}

/* Kombi: inverted + shadow */
.wp-block-button.is-style-sl-inverted.is-style-sl-with-shadow .wp-block-button__link {
	box-shadow: 4px 4px 0 var(--wp--preset--color--accent-soft);
}
.wp-block-button.is-style-sl-inverted.is-style-sl-with-shadow .wp-block-button__link:hover {
	box-shadow: 6px 6px 0 var(--wp--preset--color--accent-soft);
}

/* =============================================================
   EYEBROWS & LEADS (Block-Styles)
   ============================================================= */
.is-style-sl-eyebrow {
	font-family: var(--wp--preset--font-family--mono) !important;
	font-size: 0.75rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.1em !important;
	text-transform: uppercase !important;
	color: var(--wp--preset--color--muted);
	line-height: 1.4 !important;
}

.is-style-sl-lead {
	font-size: 1.125rem !important;
	line-height: 1.55 !important;
	font-weight: 400 !important;
	color: var(--wp--preset--color--graphite);
}
@media (min-width: 768px) {
	.is-style-sl-lead {
		font-size: 1.25rem !important;
	}
}

/* =============================================================
   CARDS (Block-Styles auf core/group)
   ============================================================= */
.is-style-sl-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}
.is-style-sl-card:hover {
	border-color: var(--wp--preset--color--primary);
	transform: translateY(-2px);
	box-shadow: 0 1px 2px rgba(10,9,8,0.04), 0 12px 24px -12px rgba(10,9,8,0.10);
}
.is-style-sl-card a:not(.wp-block-button__link) {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.is-style-sl-card a:not(.wp-block-button__link):hover {
	color: var(--wp--preset--color--accent);
}

.is-style-sl-card-highlight {
	background: var(--wp--preset--color--surface);
	border: 2px solid var(--wp--preset--color--primary);
	border-radius: 4px;
	position: relative;
	box-shadow: 0 1px 2px rgba(10,9,8,0.04), 0 12px 32px -12px rgba(0,51,153,0.20);
}
.is-style-sl-card-highlight::before {
	content: "";
	position: absolute;
	top: -1px; left: -1px; right: -1px;
	height: 4px;
	background: var(--wp--preset--color--primary);
	border-radius: 4px 4px 0 0;
}

.is-style-sl-card-on-dark {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 4px;
	color: var(--wp--preset--color--background);
}

/* Sektion-Stile */
.is-style-sl-section-soft {
	background: var(--wp--preset--color--soft) !important;
}
.is-style-sl-section-dark {
	background: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--background);
}
.is-style-sl-section-dark :where(h1, h2, h3, h4) {
	color: var(--wp--preset--color--background);
}

/* =============================================================
   BILDER mit Stilen
   ============================================================= */
.is-style-sl-bordered img {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
}

.is-style-sl-framed {
	position: relative;
	padding-top: 32px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 6px;
	overflow: hidden;
}
.is-style-sl-framed::before {
	content: "● ● ●";
	position: absolute;
	top: 10px; left: 16px;
	font-size: 0.5rem;
	letter-spacing: 0.4em;
	color: var(--wp--preset--color--fog);
}
.is-style-sl-framed img {
	display: block;
	width: 100%;
	height: auto;
}

/* =============================================================
   LISTEN — Checkliste, Römisch
   ============================================================= */
.is-style-sl-checklist {
	list-style: none;
	padding-left: 0;
}
.is-style-sl-checklist li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 10px;
	line-height: 1.6;
}
.is-style-sl-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.4em;
	width: 18px;
	height: 18px;
	background: var(--wp--preset--color--primary);
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5 1.4-1.4L9 13.4l7.1-7.1 1.4 1.4z'/></svg>") center/contain no-repeat;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5 1.4-1.4L9 13.4l7.1-7.1 1.4 1.4z'/></svg>") center/contain no-repeat;
}

ol.is-style-sl-roman {
	list-style: none;
	padding-left: 0;
	counter-reset: sl-roman;
}
ol.is-style-sl-roman li {
	position: relative;
	padding-left: 56px;
	margin-bottom: 14px;
	line-height: 1.6;
	counter-increment: sl-roman;
}
ol.is-style-sl-roman li::before {
	content: counter(sl-roman, upper-roman);
	position: absolute;
	left: 0; top: 0;
	font: 500 0.875rem/1 var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--primary);
	letter-spacing: 0.04em;
	padding-top: 0.3em;
}

/* =============================================================
   PROCESS-STEPS (Hover-Highlight)
   ============================================================= */
.sl-process-step {
	transition: background 240ms ease;
}
.sl-process-step:hover {
	background: var(--wp--preset--color--soft);
}

/* =============================================================
   TRUST-BAR
   ============================================================= */
.sl-trust-bar p {
	color: var(--wp--preset--color--graphite);
}

/* =============================================================
   CTA-BAND
   ============================================================= */
.sl-cta-band h2 em {
	color: var(--wp--preset--color--accent-soft);
}

/* =============================================================
   KONTAKT- & PROJEKTANFRAGEFORMULAR
   ============================================================= */

/* Karten-Container — hochwertige weiße Karte auf Cream-Sektion */
.sl-form-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 4px;
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 1px 2px rgba(10,9,8,0.03), 0 8px 24px -16px rgba(10,9,8,0.08);
}

/* Header der Karte */
.sl-form__header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.sl-form__eyebrow {
	margin: 0 0 12px;
	font: 500 0.75rem/1.4 var(--wp--preset--font-family--mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.sl-form__heading {
	margin: 0 0 12px;
	font: 350 clamp(1.5rem, 3vw, 1.875rem)/1.2 var(--wp--preset--font-family--serif);
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
}
.sl-form__intro {
	margin: 0;
	font: 400 0.9375rem/1.5 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--muted);
}
.sl-form__req-marker {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

/* Form-Grundstruktur */
.sl-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Fieldsets als Gruppen ohne Browser-Standard-Rahmen */
.sl-form__fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.sl-form__legend {
	width: 100%;
	padding: 0 0 10px;
	margin: 0 0 8px;
	font: 500 0.75rem/1.4 var(--wp--preset--font-family--mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* Reihen mit zwei Feldern nebeneinander */
.sl-form__row {
	display: flex;
	gap: 20px;
}
.sl-form__row--split > .sl-form__field {
	flex: 1;
	min-width: 0;
}
@media (max-width: 640px) {
	.sl-form__row {
		flex-direction: column;
		gap: 18px;
	}
}

/* Einzelnes Feld */
.sl-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

/* Label */
.sl-form__field label {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font: 500 0.875rem/1 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.005em;
}
.sl-form__req {
	color: var(--wp--preset--color--primary);
	font-weight: 700;
}
.sl-form__opt {
	font: 400 0.6875rem/1 var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--muted);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Inputs, Selects, Textareas */
.sl-form input[type="text"],
.sl-form input[type="email"],
.sl-form input[type="tel"],
.sl-form input[type="url"],
.sl-form select,
.sl-form textarea {
	width: 100%;
	padding: 13px 16px;
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 2px;
	font: 400 1rem/1.4 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--ink);
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
	appearance: none;
	-webkit-appearance: none;
}
.sl-form input:hover,
.sl-form select:hover,
.sl-form textarea:hover {
	border-color: var(--wp--preset--color--muted);
	background: var(--wp--preset--color--surface);
}
.sl-form input:focus,
.sl-form select:focus,
.sl-form textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--surface);
	box-shadow: 0 0 0 3px rgba(1,119,227,0.18);
}
.sl-form input::placeholder,
.sl-form textarea::placeholder {
	color: var(--wp--preset--color--fog);
}
.sl-form textarea {
	min-height: 160px;
	resize: vertical;
	font-family: inherit;
	line-height: 1.55;
}

/* Select-Pfeil (Custom, weil appearance: none) */
.sl-form select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%230A0908' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 44px;
	cursor: pointer;
}

/* Fehler-Zustand */
.sl-form input.has-error,
.sl-form select.has-error,
.sl-form textarea.has-error,
.sl-form input[aria-invalid="true"],
.sl-form select[aria-invalid="true"],
.sl-form textarea[aria-invalid="true"] {
	border-color: #C8302E;
	box-shadow: 0 0 0 3px rgba(200,48,46,0.12);
}
.sl-form__error {
	display: none;
	margin-top: 2px;
	font: 500 0.8125rem/1.4 var(--wp--preset--font-family--sans);
	color: #C8302E;
}
.sl-form__error.is-active {
	display: block;
}
.sl-form__error::before {
	content: "⚠ ";
	margin-right: 4px;
}

/* Hilfetext (klein, unterhalb des Feldes) */
.sl-form__hint-inline {
	font: 400 0.8125rem/1.4 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--muted);
}

/* Honeypot — visuell unsichtbar, im DOM */
.sl-form__honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* DSGVO-Block */
.sl-form__consent {
	background: var(--wp--preset--color--soft);
	border-left: 3px solid var(--wp--preset--color--primary);
	padding: 16px 20px;
	border-radius: 0 4px 4px 0;
}
.sl-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font: 400 0.9375rem/1.5 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--graphite);
	cursor: pointer;
}
.sl-form__checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: var(--wp--preset--color--primary);
	flex-shrink: 0;
	cursor: pointer;
}
.sl-form__consent-text a {
	color: var(--wp--preset--color--primary);
	text-decoration: underline;
}

/* Actions / Submit */
.sl-form__actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--border);
}
.sl-form__submit {
	position: relative;
	min-width: 180px;
	padding: 14px 28px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	border: 1.5px solid var(--wp--preset--color--primary);
	border-radius: 2px;
	font: 600 0.9375rem/1 var(--wp--preset--font-family--sans);
	letter-spacing: -0.005em;
	cursor: pointer;
	transition: background 240ms ease, border-color 240ms ease, transform 120ms ease, box-shadow 240ms ease;
	box-shadow: 4px 4px 0 var(--wp--preset--color--accent);
}
.sl-form__submit:hover:not(:disabled) {
	background: var(--wp--preset--color--primary-deep);
	border-color: var(--wp--preset--color--primary-deep);
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--wp--preset--color--accent);
}
.sl-form__submit:active:not(:disabled) {
	transform: translate(2px, 2px);
	box-shadow: 2px 2px 0 var(--wp--preset--color--accent);
}
.sl-form__submit:disabled {
	opacity: 0.7;
	cursor: wait;
	box-shadow: none;
	transform: none;
}
.sl-form__hint {
	flex: 1;
	min-width: 0;
	font: 400 0.8125rem/1.4 var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.04em;
	margin: 0;
}

/* Statusmeldung */
.sl-form__status:not(:empty) {
	padding: 16px 20px;
	border-radius: 2px;
	font: 500 0.9375rem/1.5 var(--wp--preset--font-family--sans);
	margin-bottom: 8px;
}
.sl-form__status:not(:empty):focus {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}
.sl-form__status.is-success {
	background: rgba(26,139,92,0.08);
	border-left: 3px solid #1A8B5C;
	color: #0A4A2E;
}
.sl-form__status.is-success::before {
	content: "✓ ";
	font-weight: 700;
	margin-right: 4px;
}
.sl-form__status.is-error {
	background: rgba(200,48,46,0.08);
	border-left: 3px solid #C8302E;
	color: #6E1413;
}
.sl-form__status.is-error::before {
	content: "⚠ ";
	margin-right: 4px;
}

/* Mobile-Anpassungen */
@media (max-width: 540px) {
	.sl-form-card {
		padding: 24px 20px;
	}
	.sl-form__heading {
		font-size: 1.375rem;
	}
	.sl-form__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}
	.sl-form__submit {
		width: 100%;
	}
	.sl-form__hint {
		text-align: center;
	}
}

/* =============================================================
   PLUGIN-FORMULAR-VARIANTE
   Beim Einsatz von Contact Form 7 / Fluent Forms / WPForms innerhalb
   der .sl-form-card-Karte erbt das Plugin-Markup das Theme-Styling.
   ============================================================= */
.sl-form-card--plugin label,
.sl-form-card--plugin .wpcf7-form-control-wrap label,
.sl-form-card--plugin .ff_el_input--label label,
.sl-form-card--plugin .wpforms-field-label {
	display: block;
	margin-bottom: 8px;
	font: 500 0.875rem/1 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--ink);
	letter-spacing: -0.005em;
}

.sl-form-card--plugin input[type="text"],
.sl-form-card--plugin input[type="email"],
.sl-form-card--plugin input[type="tel"],
.sl-form-card--plugin input[type="url"],
.sl-form-card--plugin select,
.sl-form-card--plugin textarea {
	width: 100%;
	padding: 13px 16px;
	background: var(--wp--preset--color--background);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 2px;
	font: 400 1rem/1.4 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--ink);
	transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.sl-form-card--plugin input:focus,
.sl-form-card--plugin select:focus,
.sl-form-card--plugin textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--surface);
	box-shadow: 0 0 0 3px rgba(1,119,227,0.18);
}
.sl-form-card--plugin textarea {
	min-height: 160px;
	resize: vertical;
}

.sl-form-card--plugin input[type="submit"],
.sl-form-card--plugin button[type="submit"],
.sl-form-card--plugin .wpforms-submit,
.sl-form-card--plugin .ff-btn-submit {
	padding: 14px 28px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	border: 1.5px solid var(--wp--preset--color--primary);
	border-radius: 2px;
	font: 600 0.9375rem/1 var(--wp--preset--font-family--sans);
	letter-spacing: -0.005em;
	cursor: pointer;
	transition: background 240ms ease, border-color 240ms ease, transform 120ms ease, box-shadow 240ms ease;
	box-shadow: 4px 4px 0 var(--wp--preset--color--accent);
}
.sl-form-card--plugin input[type="submit"]:hover,
.sl-form-card--plugin button[type="submit"]:hover,
.sl-form-card--plugin .wpforms-submit:hover,
.sl-form-card--plugin .ff-btn-submit:hover {
	background: var(--wp--preset--color--primary-deep);
	border-color: var(--wp--preset--color--primary-deep);
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--wp--preset--color--accent);
}

/* Plugin-Erfolgs- / Fehlermeldungen einheitlich gestalten */
.sl-form-card--plugin .wpcf7-response-output,
.sl-form-card--plugin .ff-message-success,
.sl-form-card--plugin .wpforms-confirmation-container {
	padding: 16px 20px !important;
	border-radius: 2px !important;
	border: 0 !important;
	border-left: 3px solid #1A8B5C !important;
	background: rgba(26,139,92,0.08) !important;
	color: #0A4A2E !important;
	font: 500 0.9375rem/1.5 var(--wp--preset--font-family--sans) !important;
}
.sl-form-card--plugin .wpcf7-not-valid-tip,
.sl-form-card--plugin .ff-el-form-check-input + .error,
.sl-form-card--plugin .wpforms-error {
	color: #C8302E !important;
	font: 500 0.8125rem/1.4 var(--wp--preset--font-family--sans) !important;
	margin-top: 4px;
}

/* =============================================================
   PROJECT / LEISTUNG CARDS — Bilder runden
   ============================================================= */
.is-style-sl-card .wp-block-post-featured-image {
	margin: calc(var(--wp--preset--spacing--60) * -1) calc(var(--wp--preset--spacing--60) * -1) 0;
}
.is-style-sl-card .wp-block-post-featured-image a,
.is-style-sl-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
}
.is-style-sl-card .wp-block-post-featured-image img {
	border-radius: 4px 4px 0 0;
	transition: transform 480ms ease;
}
.is-style-sl-card:hover .wp-block-post-featured-image img {
	transform: scale(1.02);
}
.is-style-sl-card .wp-block-post-title a {
	color: var(--wp--preset--color--ink);
}
.is-style-sl-card .wp-block-post-title a:hover {
	color: var(--wp--preset--color--primary);
}

/* =============================================================
   QUERY-PAGINATION
   ============================================================= */
.wp-block-query-pagination {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.875rem;
	letter-spacing: 0.04em;
}
.wp-block-query-pagination a,
.wp-block-query-pagination span {
	padding: 10px 14px;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 2px;
	transition: border-color 180ms ease, background 180ms ease;
}
.wp-block-query-pagination a:hover {
	border-color: var(--wp--preset--color--primary);
}
.wp-block-query-pagination .current {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--background);
	border-color: var(--wp--preset--color--ink);
}

/* =============================================================
   SEARCH
   ============================================================= */
.wp-block-search__input {
	padding: 12px 16px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 2px;
	font-family: inherit;
}
.wp-block-search__input:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(1,119,227,0.18);
}
.wp-block-search__button {
	padding: 12px 22px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--background);
	border: 1.5px solid var(--wp--preset--color--primary);
	border-radius: 2px;
	font-weight: 600;
	cursor: pointer;
}

/* =============================================================
   DETAILS-BLOCK — FAQ-Akkordeon
   ============================================================= */
.wp-block-details {
	cursor: pointer;
}
.wp-block-details summary {
	cursor: pointer;
	padding-right: 32px;
	position: relative;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.0625rem;
	color: var(--wp--preset--color--ink);
	list-style: none;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	position: absolute;
	right: 0; top: 50%;
	transform: translateY(-50%);
	font: 300 1.5rem/1 var(--wp--preset--font-family--sans);
	color: var(--wp--preset--color--primary);
	transition: transform 240ms ease;
}
.wp-block-details[open] summary::after {
	content: "−";
}

/* =============================================================
   REVEAL ANIMATION (sehr dezent)
   ============================================================= */
.sl-reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 600ms ease, transform 600ms ease;
}
.sl-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* =============================================================
   PREFERS-REDUCED-MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.sl-reveal {
		opacity: 1;
		transform: none;
	}
}

/* =============================================================
   MOBILE — generelle Anpassungen
   ============================================================= */
@media (max-width: 768px) {
	.wp-block-columns {
		gap: var(--wp--preset--spacing--50) !important;
	}
	.sl-header-cta { display: none; }
	.sl-process-step .wp-block-columns {
		gap: var(--wp--preset--spacing--40) !important;
	}
}

/* Mobile-Navigation-Modal: bessere Lesbarkeit */
.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: 80px;
}
.wp-block-navigation__responsive-container .wp-block-navigation__container {
	gap: 24px !important;
}
.wp-block-navigation__responsive-container .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 2rem;
	font-weight: 350;
	letter-spacing: -0.02em;
}
