/*
Theme Name: Elementra Child Theme
Template: elementra
Theme URI: https://elementra.themerex.net/
Description: Elementra Child Theme
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/**
 * Local variable fonts.
 *
 * These files replace the theme's remote Google Fonts stylesheet. Keeping
 * separate Latin and Latin Extended subsets lets browsers download only the
 * characters needed on the current page.
 */
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("fonts/dm-sans-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("fonts/dm-sans-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "DM Sans";
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url("fonts/dm-sans-italic-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "DM Sans";
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url("fonts/dm-sans-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/hanken-grotesk-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/hanken-grotesk-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/hanken-grotesk-italic-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Hanken Grotesk";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("fonts/hanken-grotesk-italic-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Allura";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/allura-normal-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Allura";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/allura-normal-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.error404 .page_content_wrap {
	background: #f2ecdc;
}

.maler-schneider-archive-heading {
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 clamp(2.5rem, 5vw, 4.5rem);
	padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
	border-top: 6px solid #8b292f;
	background: #f2ecdc;
	text-align: center;
}

.maler-schneider-archive-heading__eyebrow {
	margin: 0 0 0.75rem;
	color: #8b292f;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.maler-schneider-archive-heading h1 {
	margin: 0;
	font-size: clamp(2.25rem, 6vw, 4.5rem);
	line-height: 1.08;
}

.maler-schneider-archive-heading > p:last-child {
	max-width: 660px;
	margin: 1.25rem auto 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.65;
}

body.post-type-archive-stellenangebote .posts_container.columns_wrap {
	width: 100% !important;
	margin-right: 0 !important;
}

/**
 * Managed reference and Caparol advisory pages.
 */
.maler-schneider-content-page {
	--maler-burgundy: #8b292f;
	--maler-burgundy-dark: #672027;
	--maler-cream: #f3ede2;
	--maler-ink: #292321;
	--maler-muted: #6e6560;
	--maler-line: rgba(41, 35, 33, 0.14);
	background: #fff;
	color: var(--maler-ink);
	overflow: clip;
}

.maler-schneider-content-page *,
.maler-schneider-resource-links * {
	box-sizing: border-box;
}

.maler-schneider-content-page__hero {
	position: relative;
	padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7rem);
	background:
		radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.13), transparent 27rem),
		linear-gradient(135deg, #5d1c22 0%, var(--maler-burgundy) 58%, #a53d43 100%);
	color: #fff;
}

.maler-schneider-content-page__hero::after {
	position: absolute;
	right: clamp(1rem, 8vw, 8rem);
	bottom: -2.25rem;
	width: clamp(5rem, 12vw, 9rem);
	height: 4.5rem;
	background: var(--maler-cream);
	content: "";
	transform: skewX(-24deg);
}

.maler-schneider-content-page__inner,
.maler-content-wrap,
.maler-schneider-resource-links__inner {
	width: min(1180px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.maler-content-wrap--narrow {
	width: min(820px, calc(100% - 48px));
}

.maler-schneider-content-page__eyebrow,
.maler-content-kicker,
.maler-schneider-resource-links__inner > p {
	margin: 0 0 0.85rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.maler-schneider-content-page__eyebrow {
	color: #f4ddd3;
}

.maler-schneider-content-page__hero h1 {
	max-width: 940px;
	margin: 0;
	color: #fff;
	font-size: clamp(2.45rem, 6vw, 5rem);
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.maler-schneider-content-page__lead {
	max-width: 780px;
	margin: 1.5rem 0 0;
	color: #fff;
	font-size: clamp(1.05rem, 2vw, 1.32rem);
	line-height: 1.65;
}

.maler-content-section {
	padding: clamp(4.25rem, 8vw, 7rem) 0;
	scroll-margin-top: 7rem;
}

.maler-content-section--intro {
	padding-top: clamp(5.5rem, 9vw, 8rem);
}

.maler-content-section--tint {
	background: var(--maler-cream);
}

.maler-content-section--dark {
	background: var(--maler-ink);
	color: #f7f2eb;
}

.maler-content-section--cta {
	background:
		radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.12), transparent 20rem),
		var(--maler-burgundy);
	color: #fff;
	text-align: center;
}

.maler-content-kicker {
	color: var(--maler-burgundy);
}

.maler-content-section--dark .maler-content-kicker,
.maler-content-section--cta .maler-content-kicker {
	color: #e6c7bd;
}

.maler-schneider-content-page__body h2,
.maler-schneider-resource-links h2 {
	margin: 0 0 1.25rem;
	color: var(--maler-ink);
	font-size: clamp(2rem, 4vw, 3.35rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.maler-schneider-content-page__body h3 {
	margin: 0 0 0.8rem;
	color: var(--maler-ink);
	font-size: clamp(1.2rem, 2vw, 1.55rem);
	line-height: 1.25;
}

.maler-content-section--dark h2,
.maler-content-section--cta h2 {
	color: #fff;
}

.maler-schneider-content-page__body p,
.maler-schneider-content-page__body li,
.maler-schneider-resource-links span {
	font-size: 1rem;
	line-height: 1.75;
}

.maler-schneider-content-page__body p {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

.maler-content-intro {
	font-size: clamp(1.08rem, 2vw, 1.3rem) !important;
	line-height: 1.7 !important;
}

.maler-content-note,
.maler-source-note {
	padding: 1rem 1.15rem;
	border-left: 4px solid var(--maler-burgundy);
	background: rgba(139, 41, 47, 0.07);
}

.maler-content-split {
	display: grid;
	align-items: center;
	gap: clamp(2.5rem, 7vw, 6rem);
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.maler-content-feature-image,
.maler-project-card {
	margin: 0;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 18px 50px rgba(41, 35, 33, 0.12);
}

.maler-content-feature-image {
	transform: rotate(1.5deg);
}

.maler-content-feature-image img,
.maler-project-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	background: #ded8cf;
	object-fit: cover;
}

.maler-content-feature-image figcaption,
.maler-project-card figcaption {
	padding: 1.25rem 1.35rem 1.4rem;
	color: var(--maler-ink);
	font-size: 0.92rem;
	line-height: 1.6;
}

.maler-project-card figcaption strong,
.maler-project-card figcaption span {
	display: block;
}

.maler-project-card figcaption strong {
	margin-bottom: 0.35rem;
	font-size: 1.12rem;
}

.maler-project-grid,
.maler-reference-grid,
.maler-link-grid {
	display: grid;
	gap: clamp(1.2rem, 3vw, 2rem);
	margin-top: 2.5rem;
}

.maler-project-grid,
.maler-project-grid--pair {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.maler-reference-card {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--maler-line);
	background: #fff;
}

.maler-reference-card__number {
	display: block;
	margin-bottom: 1.25rem;
	color: var(--maler-burgundy);
	font-size: 2rem;
	font-weight: 800;
}

.maler-reference-card a,
.maler-source-note a {
	color: var(--maler-burgundy);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

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

.maler-link-card {
	position: relative;
	display: flex;
	min-height: 150px;
	align-items: flex-start;
	flex-direction: column;
	justify-content: center;
	padding: 1.5rem 3.5rem 1.5rem 1.5rem;
	border: 1px solid var(--maler-line);
	background: #fff;
	color: var(--maler-ink);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.maler-link-card::after {
	position: absolute;
	right: 1.4rem;
	color: var(--maler-burgundy);
	content: "→";
	font-size: 1.5rem;
}

.maler-link-card strong,
.maler-link-card span {
	display: block;
}

.maler-link-card strong {
	margin-bottom: 0.35rem;
	font-size: 1.15rem;
}

.maler-link-card span {
	color: var(--maler-muted);
	line-height: 1.6;
}

.maler-link-card:hover,
.maler-link-card:focus-visible {
	border-color: var(--maler-burgundy);
	box-shadow: 0 16px 36px rgba(41, 35, 33, 0.1);
	color: var(--maler-ink);
	transform: translateY(-3px);
}

.maler-check-list {
	display: grid;
	gap: 0.65rem;
	margin: 1.75rem 0 2rem;
	padding: 0;
	list-style: none;
}

.maler-check-list li {
	position: relative;
	padding-left: 2rem;
}

.maler-check-list li::before {
	position: absolute;
	top: 0.1rem;
	left: 0;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: var(--maler-burgundy);
	color: #fff;
	content: "✓";
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.35rem;
	text-align: center;
}

.maler-content-button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.4rem;
	border: 2px solid var(--maler-burgundy);
	background: var(--maler-burgundy);
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.maler-content-button:hover,
.maler-content-button:focus-visible {
	border-color: var(--maler-burgundy-dark);
	background: var(--maler-burgundy-dark);
	color: #fff;
	transform: translateY(-2px);
}

.maler-content-section--cta .maler-content-button {
	border-color: #fff;
	background: #fff;
	color: var(--maler-burgundy);
}

.maler-content-section--cta .maler-content-button:hover,
.maler-content-section--cta .maler-content-button:focus-visible {
	background: var(--maler-cream);
	color: var(--maler-burgundy-dark);
}

.maler-process-list {
	display: grid;
	gap: 1px;
	margin: 2.5rem 0 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.15);
	counter-reset: maler-process;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	list-style: none;
}

.maler-process-list li {
	position: relative;
	min-height: 220px;
	padding: 4.2rem 1.25rem 1.5rem;
	background: var(--maler-ink);
	counter-increment: maler-process;
}

.maler-process-list li::before {
	position: absolute;
	top: 1.15rem;
	left: 1.25rem;
	color: #e6c7bd;
	content: "0" counter(maler-process);
	font-size: 1.5rem;
	font-weight: 800;
}

.maler-process-list strong,
.maler-process-list span {
	display: block;
}

.maler-process-list strong {
	margin-bottom: 0.6rem;
	color: #fff;
	font-size: 1.1rem;
}

.maler-process-list span {
	color: #ded6d1;
	font-size: 0.92rem;
	line-height: 1.6;
}

.maler-faq-list {
	margin-top: 2.25rem;
	border-top: 1px solid var(--maler-line);
}

.maler-faq-list details {
	border-bottom: 1px solid var(--maler-line);
}

.maler-faq-list summary {
	position: relative;
	padding: 1.4rem 3rem 1.4rem 0;
	color: var(--maler-ink);
	cursor: pointer;
	font-size: 1.08rem;
	font-weight: 800;
	line-height: 1.45;
	list-style: none;
}

.maler-faq-list summary::-webkit-details-marker {
	display: none;
}

.maler-faq-list summary::after {
	position: absolute;
	top: 1.05rem;
	right: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--maler-cream);
	color: var(--maler-burgundy);
	content: "+";
	font-size: 1.3rem;
	line-height: 2rem;
	text-align: center;
}

.maler-faq-list details[open] summary::after {
	content: "–";
}

.maler-faq-list details p {
	padding: 0 3rem 1.25rem 0;
}

/**
 * Contextual links injected on established pages.
 */
.maler-schneider-resource-links {
	--maler-burgundy: #8b292f;
	--maler-ink: #292321;
	--maler-muted: #6e6560;
	padding: clamp(3.75rem, 7vw, 6rem) 0;
	background: #f3ede2;
}

.maler-schneider-resource-links__inner > p {
	color: var(--maler-burgundy);
}

.maler-schneider-resource-links h2 {
	max-width: 760px;
}

.maler-schneider-resource-links__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.maler-schneider-resource-links__card {
	position: relative;
	display: grid;
	min-height: 155px;
	align-content: center;
	padding: 1.4rem 3.5rem 1.4rem 1.4rem;
	border: 1px solid rgba(41, 35, 33, 0.14);
	background: #fff;
	color: var(--maler-ink);
	text-decoration: none;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.maler-schneider-resource-links__card strong {
	margin-bottom: 0.4rem;
	font-size: 1.15rem;
}

.maler-schneider-resource-links__card span {
	color: var(--maler-muted);
	line-height: 1.55;
}

.maler-schneider-resource-links__card b {
	position: absolute;
	top: 50%;
	right: 1.35rem;
	color: var(--maler-burgundy);
	font-size: 1.5rem;
	transform: translateY(-50%);
}

.maler-schneider-resource-links__card:hover,
.maler-schneider-resource-links__card:focus-visible {
	border-color: var(--maler-burgundy);
	box-shadow: 0 16px 36px rgba(41, 35, 33, 0.1);
	color: var(--maler-ink);
	transform: translateY(-3px);
}

/**
 * Search-intent guidance for established service pages.
 */
.maler-search-section {
	--maler-burgundy: #8b292f;
	--maler-burgundy-dark: #672027;
	--maler-cream: #f3ede2;
	--maler-ink: #292321;
	--maler-muted: #6e6560;
	padding: clamp(4.5rem, 8vw, 7rem) 0;
	border-top: 1px solid rgba(41, 35, 33, 0.1);
	background: #fff;
	color: var(--maler-ink);
}

.maler-search-section *,
.maler-search-section *::before,
.maler-search-section *::after {
	box-sizing: border-box;
}

.maler-search-section__inner {
	width: min(1180px, calc(100% - 48px));
	margin-right: auto;
	margin-left: auto;
}

.maler-search-section__kicker {
	margin: 0 0 0.85rem;
	color: var(--maler-burgundy);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}

.maler-search-section h2 {
	max-width: 900px;
	margin: 0 0 1.25rem;
	color: var(--maler-ink);
	font-size: clamp(2rem, 4vw, 3.35rem);
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.maler-search-section h3 {
	margin: 0 0 0.75rem;
	color: var(--maler-ink);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.3;
}

.maler-search-section p,
.maler-search-section li,
.maler-search-section a {
	font-size: 1rem;
	line-height: 1.7;
}

.maler-search-section__lead {
	max-width: 900px;
	margin: 0;
	color: var(--maler-muted);
	font-size: clamp(1.05rem, 2vw, 1.22rem) !important;
}

.maler-search-section__grid {
	display: grid;
	gap: 1.25rem;
	margin-top: 2.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.maler-search-section__card {
	padding: clamp(1.4rem, 3vw, 2rem);
	border-top: 4px solid var(--maler-burgundy);
	background: var(--maler-cream);
}

.maler-search-section__card p {
	margin: 0;
	color: var(--maler-muted);
}

.maler-search-section__split {
	display: grid;
	gap: clamp(2rem, 5vw, 4.5rem);
	margin-top: 1.25rem;
	padding: clamp(1.75rem, 4vw, 3rem);
	background: var(--maler-ink);
	color: #f7f2eb;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maler-search-section__split h3 {
	color: #fff;
}

.maler-search-section__split p {
	margin: 0;
	color: #ded6d1;
}

.maler-search-section__checklist {
	display: grid;
	gap: 0.7rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.maler-search-section__checklist li {
	position: relative;
	padding-left: 1.8rem;
	color: #ded6d1;
}

.maler-search-section__checklist li::before {
	position: absolute;
	top: 0.15rem;
	left: 0;
	color: #e6c7bd;
	content: "✓";
	font-weight: 800;
}

.maler-search-section__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.maler-search-section__actions a {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1rem;
	border: 1px solid #fff;
	background: #fff;
	color: var(--maler-burgundy);
	font-weight: 800;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.maler-search-section__actions a:hover,
.maler-search-section__actions a:focus-visible {
	border-color: var(--maler-cream);
	background: var(--maler-cream);
	color: var(--maler-burgundy-dark);
	transform: translateY(-2px);
}

@media (max-width: 900px) {
	.maler-search-section__grid,
	.maler-search-section__split {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.maler-search-section {
		padding: 4rem 0;
	}

	.maler-search-section__inner {
		width: min(100% - 32px, 1180px);
	}

	.maler-search-section__split {
		padding: 1.5rem;
	}

	.maler-search-section__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.maler-search-section__actions a {
		width: 100%;
	}
}

@media (max-width: 900px) {
	.maler-content-split {
		grid-template-columns: 1fr;
	}

	.maler-content-feature-image {
		width: min(520px, 100%);
		transform: none;
	}

	.maler-project-grid--three,
	.maler-reference-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maler-process-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.maler-process-list li {
		min-height: 180px;
	}
}

@media (max-width: 600px) {
	.maler-schneider-content-page__inner,
	.maler-content-wrap,
	.maler-content-wrap--narrow,
	.maler-schneider-resource-links__inner {
		width: min(100% - 32px, 1180px);
	}

	.maler-schneider-content-page__hero {
		padding-top: 4.5rem;
		padding-bottom: 4.75rem;
	}

	.maler-schneider-content-page__hero::after {
		display: none;
	}

	.maler-content-section,
	.maler-content-section--intro {
		padding: 4rem 0;
	}

	.maler-project-grid,
	.maler-project-grid--pair,
	.maler-project-grid--three,
	.maler-reference-grid,
	.maler-link-grid,
	.maler-process-list {
		grid-template-columns: 1fr;
	}

	.maler-process-list li {
		min-height: 0;
	}

	.maler-content-button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.maler-link-card,
	.maler-content-button,
	.maler-schneider-resource-links__card,
	.maler-search-section__actions a {
		transition: none;
	}
}

.maler-schneider-404 {
	box-sizing: border-box;
	display: grid;
	min-height: 58vh;
	padding: clamp(4rem, 8vw, 8rem) 1.25rem;
	place-items: center;
	text-align: center;
}

.maler-schneider-404__card {
	box-sizing: border-box;
	width: min(100%, 760px);
	padding: clamp(2.5rem, 6vw, 5rem);
	border-top: 6px solid #8b292f;
	background: #fff;
	box-shadow: 0 20px 55px rgba(42, 35, 31, 0.12);
}

.maler-schneider-404__code {
	margin: 0 0 1rem;
	color: #8b292f;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.maler-schneider-404 h1 {
	margin: 0;
	font-size: clamp(2.25rem, 6vw, 4.5rem);
	line-height: 1.08;
}

.maler-schneider-404__text {
	max-width: 620px;
	margin: 1.5rem auto 0;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.7;
}

.maler-schneider-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem;
	justify-content: center;
	margin-top: 2.25rem;
}

.maler-schneider-404__button {
	box-sizing: border-box;
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 0.875rem 1.5rem;
	border: 2px solid #8b292f;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.maler-schneider-404__button:hover,
.maler-schneider-404__button:focus-visible {
	transform: translateY(-2px);
}

.maler-schneider-404__button--primary {
	background: #8b292f;
	color: #fff;
}

.maler-schneider-404__button--primary:hover,
.maler-schneider-404__button--primary:focus-visible {
	background: #6f2025;
	color: #fff;
}

.maler-schneider-404__button--secondary {
	background: transparent;
	color: #8b292f;
}

.maler-schneider-404__button--secondary:hover,
.maler-schneider-404__button--secondary:focus-visible {
	background: #8b292f;
	color: #fff;
}

/*
 * The original comparison cards overlapped and used red crosses even after
 * their copy was changed to neutral selection criteria. Keep the two-column
 * emphasis without obscuring text or suggesting criticism of competitors.
 */
.compare-wrapper {
	gap: clamp(1rem, 2.2vw, 2rem) !important;
	align-items: stretch;
}

.compare-wrapper .compare-card.neutral,
.compare-wrapper .compare-card.positive {
	box-sizing: border-box;
	height: 100%;
	margin: 0 !important;
	padding: clamp(1.75rem, 3vw, 2.75rem) !important;
	transform: none !important;
}

.compare-wrapper .compare-card.neutral {
	z-index: 1;
}

.compare-wrapper .compare-card.neutral li::before {
	position: absolute;
	left: 0;
	color: #8b292f;
	content: "✓";
	font-weight: 700;
}

.compare-wrapper .compare-card.neutral::after {
	position: absolute;
	inset: 0;
	border: 2px solid rgba(139, 41, 47, 0.16);
	border-radius: 16px;
	content: "";
	pointer-events: none;
}

@media (max-width: 600px) {
	body.post-type-archive-stellenangebote .posts_container > .column-1_2 {
		width: 100% !important;
		padding-right: 0 !important;
	}

	body.post-type-archive-stellenangebote .post_header,
	body.post-type-archive-stellenangebote .post_meta {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	.maler-schneider-404 {
		min-height: 52vh;
		padding: 3rem 1rem;
	}

	.maler-schneider-404__card {
		padding: 2.5rem 1.25rem;
	}

	.maler-schneider-404__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.maler-schneider-404__button {
		width: 100%;
	}
}
