/*
 * cooper home – site styles
 * Mirrors the design tokens of the React mockup (src/styles.css).
 * Layout lives in Nectar Blocks; this file only adds the visual system.
 *
 * Sections on the landing page are core/group blocks with
 * .ch-section.ch-section--{anchor}; components use .ch-* classes
 * set in the block "Additional CSS class" field.
 */

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
	--ch-red: #e11b22;            /* brand red (logo); 4.8:1 on white */
	--ch-red-hover: #c4141b;
	--ch-ink: #1a1512;            /* text + dark sections */
	--ch-ink-fg: #f7f5f1;
	--ch-ink-muted: #a8a49f;
	--ch-sand: #faf6f1;           /* page background */
	--ch-sand-2: #efeae2;         /* secondary surface */
	--ch-card: #ffffff;
	--ch-muted: #635c57;          /* muted text, 6.3:1 on sand */
	--ch-blush: #ffe6e3;          /* accent surface */
	--ch-border: #e1ddd7;
	--ch-input: #dbd7d0;
	--ch-radius: 14px;
	--ch-radius-btn: 12px;
	--ch-radius-card: 22px;
	--ch-radius-panel: 26px;
	--ch-shadow-card: 0 1px 2px rgb(26 21 18 / 4%), 0 12px 32px -16px rgb(26 21 18 / 14%);
	--ch-shadow-red: 0 18px 40px -18px rgb(225 27 34 / 55%);
	--ch-container: 1152px;
	--ch-gutter: 24px;
	--ch-section-y: 96px;
	--ch-font-display: "Nunito", ui-sans-serif, system-ui, sans-serif;
	--ch-font-body: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
	--ch-header-h: 72px;
}

@media (max-width: 767px) {
	:root {
		--ch-gutter: 20px;
		--ch-section-y: 64px;
	}
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--ch-header-h) + 8px);
}

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

body,
.container-wrap,
#nectar-content-wrap {
	background-color: var(--ch-sand);
}

body {
	color: var(--ch-ink);
	-webkit-font-smoothing: antialiased;
}

.ch-red { color: var(--ch-red); }

/* ------------------------------------------------------------------ */
/* Header (Nectar header, configured in the Customizer)               */
/* ------------------------------------------------------------------ */
/* Align the header with the page content (max-w 1152 + gutter). */
@media (min-width: 1000px) {
	#nectar-nav #top > .container {
		max-width: var(--ch-container) !important;
		padding-left: var(--ch-gutter) !important;
		padding-right: var(--ch-gutter) !important;
	}
}
#nectar-nav #top nav > ul > li > a .menu-title-text { transition: color .15s ease; }

/* "Partner werden" menu item (Nectar menu option: solid button) – compact like the mockup. */
#nectar-nav #top nav > ul > li.menu-item-2434 { margin-left: 12px; }
/* Horizontal size comes from Nectar (12px transparent borders + :before);
   only the height is made compact here. */
#nectar-nav #top nav > ul > li.menu-item-2434 > a {
	padding-left: 4px !important;
	padding-right: 4px !important;
	margin-right: 0 !important; /* right edge flush with the content width */
}
#nectar-nav #top li.menu-item-2434 > a:before {
	top: 50% !important;
	bottom: auto !important;
	height: 38px !important;
	transform: translateY(-50%) !important;
	border-radius: var(--ch-radius-btn) !important;
	box-shadow: 0 1px 2px rgb(26 21 18 / 12%);
}
#nectar-nav li.menu-item-2434 > a .menu-title-text {
	font-family: var(--ch-font-body);
	font-weight: 700;
	color: #fff !important;
}

/* ------------------------------------------------------------------ */
/* Sections                                                            */
/* ------------------------------------------------------------------ */
.ch-section {
	position: relative;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.ch-section > .nectar-blocks-row > .nectar-blocks-row__inner,
.ch-footer > .nectar-blocks-row__inner {
	max-width: var(--ch-container);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--ch-gutter);
	padding-right: var(--ch-gutter);
	box-sizing: border-box;
}
/* Vertical rhythm: first row opens the section, last row closes it. */
.ch-section > .nectar-blocks-row:first-child > .nectar-blocks-row__inner { padding-top: var(--ch-section-y); }
.ch-section > .nectar-blocks-row:last-child > .nectar-blocks-row__inner { padding-bottom: var(--ch-section-y); }
.ch-section > .nectar-blocks-row + .nectar-blocks-row > .nectar-blocks-row__inner { padding-top: 48px; }

.ch-section--produkt,
.ch-section--loesung,
.ch-section--integration { background: var(--ch-sand); }
.ch-section--fuer-wen { background: var(--ch-ink); color: var(--ch-ink-fg); }
.ch-section--faq { background: var(--ch-sand); border-top: 1px solid var(--ch-border); }
.ch-section--kontakt { background: var(--ch-sand-2); }

/* Footnote marker (e.g. "Strom*") and the footnote strip above the footer */
.ch-section sup,
.ch-footnote sup {
	font-size: .7em;
	line-height: 0;
	vertical-align: super;
	margin-left: 1px;
}
.ch-footnote {
	margin: 0 !important;
	padding: 0 var(--ch-gutter) 40px;
	background: var(--ch-sand-2);
}
.ch-footnote > p {
	max-width: calc(var(--ch-container) - 2 * var(--ch-gutter));
	margin: 0 auto !important;
	padding-top: 20px;
	border-top: 1px solid var(--ch-border);
	font-size: 13px;
	line-height: 1.5;
	color: var(--ch-muted);
}

/* Section head: eyebrow, h2, lead */
.ch-eyebrow {
	margin: 0 !important;
	font-family: var(--ch-font-display) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: .14em !important;
	line-height: 1.4 !important;
	text-transform: uppercase;
	color: var(--ch-red) !important;
}
.ch-section-head .nectar-blocks-column,
.ch-faq .nectar-blocks-column:first-child,
.ch-contact .nectar-blocks-column:first-child { max-width: 672px; }
.ch-section h2 { margin: 12px 0 0 !important; }
.ch-lead {
	margin: 20px 0 0 !important;
	max-width: 640px;
	font-size: 18px !important;
	line-height: 1.6 !important;
	color: var(--ch-muted) !important;
}
.ch-section--fuer-wen h2,
.ch-section--fuer-wen h3 { color: var(--ch-ink-fg); }

/* ------------------------------------------------------------------ */
/* Buttons (Nectar button blocks inside a .ch-buttons group)          */
/* ------------------------------------------------------------------ */
.ch-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}
.ch-buttons > * { margin: 0 !important; }
.ch-buttons .nectar-blocks-button .nectar-blocks-button__inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 28px !important;
	border: 1px solid transparent;
	border-radius: var(--ch-radius-btn);
	background: var(--ch-red) !important;
	color: #fff !important;
	font-family: var(--ch-font-body);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none;
	box-shadow: 0 1px 2px rgb(26 21 18 / 10%);
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.ch-buttons .nectar-blocks-button__text { color: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
.ch-buttons .ch-btn-primary .nectar-blocks-button__inner:after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor !important;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ch-buttons .nectar-blocks-button__inner:hover { background: var(--ch-red-hover) !important; }
.ch-buttons .nectar-blocks-button__inner:focus-visible { outline: 2px solid var(--ch-ink); outline-offset: 2px; }
.ch-hero .ch-btn-primary .nectar-blocks-button__inner { box-shadow: var(--ch-shadow-red); }

.ch-buttons .ch-btn-outline .nectar-blocks-button__inner {
	background: var(--ch-sand) !important;
	border-color: var(--ch-input);
	color: var(--ch-ink) !important;
}
.ch-buttons .ch-btn-outline .nectar-blocks-button__inner:hover { background: var(--ch-blush) !important; color: #9f0c18 !important; }

/* On the red partner card */
.ch-audience-primary .ch-btn-primary .nectar-blocks-button__inner { background: var(--ch-sand-2) !important; color: var(--ch-ink) !important; }
.ch-audience-primary .ch-btn-primary .nectar-blocks-button__inner:hover { background: #fff !important; }
.ch-audience-primary .ch-btn-outline .nectar-blocks-button__inner,
.ch-landlord .ch-btn-outline .nectar-blocks-button__inner {
	background: transparent !important;
	border-color: transparent;
	box-shadow: none;
	padding-left: 12px !important;
	padding-right: 12px !important;
	color: #fff !important;
}
.ch-audience-primary .ch-btn-outline .nectar-blocks-button__inner:hover { background: transparent !important; text-decoration: underline; text-underline-offset: 4px; }

/* On the dark landlord card */
.ch-audience-secondary .ch-btn-outline .nectar-blocks-button__inner {
	background: transparent !important;
	border-color: rgb(247 245 241 / 30%);
	color: var(--ch-ink-fg) !important;
	box-shadow: none;
	font-size: 14px;
}
.ch-audience-secondary .ch-btn-outline .nectar-blocks-button__inner:hover { background: rgb(247 245 241 / 10%) !important; color: var(--ch-ink-fg) !important; }

/* Text link inside the landlord box (contact section) */
.ch-landlord .ch-buttons { margin-top: 12px; }
.ch-landlord .ch-btn-outline .nectar-blocks-button__inner {
	min-height: 0;
	padding: 0 !important;
	color: var(--ch-red) !important;
	font-size: 14px;
}
.ch-landlord .ch-btn-outline .nectar-blocks-button__inner:hover { background: transparent !important; color: var(--ch-red-hover) !important; text-decoration: underline; }

.ch-audience-secondary .ch-btn-outline .nectar-blocks-button__inner:after,
.ch-landlord .ch-btn-outline .nectar-blocks-button__inner:after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ------------------------------------------------------------------ */
/* Cards & icons                                                       */
/* ------------------------------------------------------------------ */
.ch-card {
	background: var(--ch-card);
	border-radius: var(--ch-radius-card);
	padding: 28px !important;
	box-shadow: var(--ch-shadow-card);
	box-sizing: border-box;
}
.ch-card h3 { margin: 0 !important; font-size: 20px !important; line-height: 1.25 !important; }
.ch-card h3 + p { margin: 8px 0 0 !important; color: var(--ch-muted); font-size: 16px; line-height: 1.6; }
.ch-card-icon { display: flex; align-items: center; gap: 12px; margin: 0 0 12px !important; }
.ch-card-icon .nectar-blocks-icon { color: var(--ch-red); line-height: 0; }
.ch-card-icon svg { width: 24px; height: 24px; display: block; }
.ch-number {
	margin: 0 !important;
	font-family: var(--ch-font-display);
	font-size: 14px !important;
	font-weight: 900 !important;
	color: var(--ch-red) !important;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.ch-hero > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 48px;
}
.ch-section--produkt > .ch-hero > .nectar-blocks-row__inner { padding-top: 88px; padding-bottom: 96px; }
.ch-hero h1 { margin: 0 !important; max-width: 580px; }
.ch-hero .ch-lead { margin-top: 24px !important; max-width: 560px; }
.ch-usps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 32px;
	max-width: 480px;
	margin-top: 40px !important;
}
.ch-usp > * { margin: 0 !important; }
.ch-usp h3 { font-size: 20px !important; font-weight: 900 !important; line-height: 1.2 !important; hyphens: auto; overflow-wrap: break-word; }
.ch-usp p { margin-top: 4px !important; font-size: 14px; line-height: 1.45; color: var(--ch-muted); }

.ch-hero-image { position: relative; }
.ch-hero-image:before {
	content: "";
	position: absolute;
	inset: 32px;
	border-radius: 999px;
	background: rgb(225 27 34 / 15%);
	filter: blur(64px);
	pointer-events: none;
}
.ch-hero-image img {
	position: relative;
	display: block;
	width: 100%;
	max-width: 448px;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 25px 25px rgb(0 0 0 / 15%));
}

/* Pillars strip below hero */
.ch-pillars { background: var(--ch-card); border-top: 1px solid var(--ch-border); border-bottom: 1px solid var(--ch-border); }
.ch-section > .ch-pillars > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.ch-pillars .ch-card {
	display: grid;
	grid-template-columns: 24px 1fr;
	column-gap: 16px;
	align-content: start;
	padding: 32px 24px !important;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}
.ch-pillars .ch-card:first-child { padding-left: 0 !important; }
.ch-pillars .ch-card-icon { grid-row: 1 / span 2; align-self: start; margin: 0 !important; }
.ch-pillars .ch-card h3 { grid-column: 2; font-size: 16px !important; font-family: var(--ch-font-body); font-weight: 700 !important; letter-spacing: 0; }
.ch-pillars .ch-card h3 + p { grid-column: 2; margin-top: 2px !important; font-size: 14px; line-height: 1.5; }

/* ------------------------------------------------------------------ */
/* Problem                                                             */
/* ------------------------------------------------------------------ */
.ch-grid2 > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}
.ch-grid2 .ch-card { padding: 28px !important; }
.ch-grid2 .ch-card-icon { margin-bottom: 8px !important; }

.ch-table {
	margin: 0 !important;
	overflow: hidden;
	border-radius: var(--ch-radius-card);
	background: var(--ch-card);
	box-shadow: var(--ch-shadow-card);
}
.ch-table table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 0; }
.ch-table th,
.ch-table td {
	padding: 16px 24px;
	border: 0;
	text-align: left;
	vertical-align: top;
	font-size: 14px;
	line-height: 1.5;
}
.ch-table thead th {
	padding-top: 12px;
	padding-bottom: 12px;
	background: var(--ch-ink);
	color: var(--ch-ink-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.ch-table thead th:last-child { color: var(--ch-ink-fg); }
.ch-table tbody tr + tr td { border-top: 1px solid var(--ch-border); }
.ch-table td:first-child { font-weight: 700; color: var(--ch-ink); }
.ch-table td:nth-child(2) { color: var(--ch-muted); }
.ch-table td:last-child { color: var(--ch-red); font-weight: 700; }

/* ------------------------------------------------------------------ */
/* Für wen (dark)                                                      */
/* ------------------------------------------------------------------ */
.ch-audience-cards > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: 1.5fr 1fr;
	gap: 24px;
}
.ch-section--fuer-wen > .ch-audience-cards > .nectar-blocks-row__inner { padding-top: 48px; }
.ch-audience-primary,
.ch-audience-secondary {
	display: flex;
	flex-direction: column;
	padding: 40px !important;
	border-radius: var(--ch-radius-panel);
	box-sizing: border-box;
}
.ch-audience-primary { background: var(--ch-red); color: #fff; box-shadow: var(--ch-shadow-red); }
.ch-audience-secondary { border: 1px solid rgb(247 245 241 / 15%); color: var(--ch-ink-fg); }
.ch-audience-primary > *,
.ch-audience-secondary > * { margin: 0 !important; }
.ch-audience-cards .nectar-blocks-icon { line-height: 0; }
.ch-audience-cards .nectar-blocks-icon svg { width: 32px; height: 32px; }
.ch-audience-primary > .nectar-blocks-icon { color: #fff; }
.ch-audience-secondary > .nectar-blocks-icon { color: var(--ch-red); }
.ch-audience-cards .ch-eyebrow { margin-top: 24px !important; }
.ch-audience-primary .ch-eyebrow { color: rgb(255 255 255 / 85%) !important; }
.ch-audience-secondary .ch-eyebrow { color: var(--ch-ink-muted) !important; }
.ch-audience-cards h3 {
	margin-top: 8px !important;
	font-size: 30px !important;
	font-weight: 900 !important;
	line-height: 1.15 !important;
	color: inherit !important;
}
.ch-audience-secondary h3 { font-size: 24px !important; }
.ch-audience-cards h3 + p { margin-top: 16px !important; max-width: 520px; line-height: 1.6; }
.ch-audience-primary h3 + p { color: rgb(255 255 255 / 92%); }
.ch-audience-secondary h3 + p { color: var(--ch-ink-muted); }
.ch-audience-primary > .ch-buttons { margin-top: 32px !important; }
.ch-audience-secondary > .ch-buttons { margin-top: auto !important; padding-top: 32px; }

.ch-checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 16px;
	margin-top: 24px !important;
}
.ch-check { display: flex; align-items: flex-start; gap: 8px; margin: 0 !important; }
.ch-check > * { margin: 0 !important; }
.ch-check .nectar-blocks-icon { color: #fff; line-height: 0; flex: 0 0 16px; transform: translateY(3px); }
.ch-check .nectar-blocks-icon svg { width: 16px !important; height: 16px !important; }
.ch-check p { font-size: 14px; line-height: 1.45; color: #fff; }

/* ------------------------------------------------------------------ */
/* Integration                                                         */
/* ------------------------------------------------------------------ */
.ch-steps > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.ch-steps .ch-card { padding: 0 !important; background: transparent; box-shadow: none; border-radius: 0; }
.ch-steps .ch-card-icon { margin-bottom: 16px !important; }
.ch-steps .ch-number {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--ch-red);
	color: #fff !important;
	font-size: 16px !important;
}
.ch-steps .ch-card-icon .nectar-blocks-icon { color: var(--ch-muted); }
.ch-steps .ch-card-icon svg { width: 20px; height: 20px; }
.ch-steps .ch-card h3 { font-size: 16px !important; }
.ch-steps .ch-card h3 + p { margin-top: 4px !important; font-size: 14px; }

/* Feature cards: 3 per row, an incomplete last row is centred. */
.ch-grid3 > .nectar-blocks-row__inner {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
.ch-section > .ch-grid3 > .nectar-blocks-row__inner { padding-top: 64px; }
.ch-grid3 .ch-card {
	flex: 0 0 calc((100% - 40px) / 3);
	max-width: calc((100% - 40px) / 3);
	padding: 24px !important;
}
.ch-grid3 .ch-card-icon { margin-bottom: 16px !important; }
.ch-grid3 .ch-card h3 { font-size: 18px !important; }
.ch-grid3 .ch-card h3 + p { font-size: 14px; }

/* Callout */
.ch-callout {
	display: grid !important;
	grid-template-columns: 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 32px;
	padding: 40px !important;
	border-radius: var(--ch-radius-panel);
	background: var(--ch-blush);
	box-sizing: border-box;
}
.ch-callout > * { margin: 0 !important; }
.ch-callout h3 { grid-column: 1; font-size: 24px !important; font-weight: 900 !important; line-height: 1.2 !important; align-self: end; }
.ch-callout h3 + p { grid-column: 1; margin-top: 4px !important; color: var(--ch-muted); align-self: start; }
.ch-callout .ch-buttons { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; }

/* ------------------------------------------------------------------ */
/* FAQ                                                                 */
/* ------------------------------------------------------------------ */
.ch-faq > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: 1fr 1.6fr;
	gap: 48px;
	align-items: start;
}
.ch-faq .ch-lead { font-size: 16px !important; }
.ch-faq .wp-block-details {
	margin: 0 !important;
	padding: 0;
	border-bottom: 1px solid var(--ch-border);
}
.ch-faq .wp-block-details summary {
	position: relative;
	display: block;
	list-style: none;
	cursor: pointer;
	padding: 18px 36px 18px 0;
	font-family: var(--ch-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.45;
	color: var(--ch-ink);
}
.ch-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.ch-faq .wp-block-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.ch-faq .wp-block-details summary:focus-visible { outline: 2px solid var(--ch-ink); outline-offset: 2px; border-radius: 4px; }
.ch-faq .wp-block-details summary:after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background: var(--ch-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .2s ease;
}
.ch-faq .wp-block-details[open] summary:after { transform: rotate(180deg); }
.ch-faq .wp-block-details p { margin: 0 !important; padding: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--ch-muted); }

/* ------------------------------------------------------------------ */
/* Kontakt                                                             */
/* ------------------------------------------------------------------ */
.ch-contact > .nectar-blocks-row__inner {
	display: grid !important;
	grid-template-columns: 1fr 1.3fr;
	gap: 48px;
	align-items: start;
}
.ch-contact .nectar-blocks-column:first-child > p:not(.ch-eyebrow):not(.ch-lead) { margin: 32px 0 0 !important; font-size: 14px; }
.ch-contact .nectar-blocks-column:first-child > p a { color: var(--ch-red); text-decoration: underline; }
.ch-landlord {
	margin-top: 40px !important;
	padding: 24px;
	border: 1px solid var(--ch-border);
	border-radius: var(--ch-radius-card);
	background: var(--ch-card);
}
.ch-landlord > * { margin: 0 !important; }
.ch-landlord h3 { font-family: var(--ch-font-body); font-size: 16px !important; font-weight: 700 !important; letter-spacing: 0; }
.ch-landlord h3 + p { margin-top: 4px !important; font-size: 14px; color: var(--ch-muted); }

/* Gravity Forms (Orbital theme) inside the form card */
.ch-form {
	padding: 32px !important;
	border-radius: var(--ch-radius-card);
	background: var(--ch-card);
	box-shadow: var(--ch-shadow-card);
	box-sizing: border-box;
}
.ch-form .gform_wrapper.gform-theme {
	--gf-color-primary: var(--ch-red);
	--gf-color-primary-rgb: 225, 27, 34;
	--gf-color-primary-contrast: #fff;
	--gf-color-primary-darker: var(--ch-red-hover);
	--gf-color-primary-lighter: #f04a50;
	--gf-color-in-ctrl: #fff;
	--gf-color-in-ctrl-contrast: var(--ch-ink);
	--gf-color-in-ctrl-dark: var(--ch-muted);
	--gf-color-in-ctrl-primary: var(--ch-ink);
	--gf-ctrl-border-color: var(--ch-input);
	--gf-color-out-ctrl-dark: var(--ch-ink);
	--gf-color-out-ctrl-dark-darker: var(--ch-ink);
	--gf-color-out-ctrl-light-darker: var(--ch-muted);
	--gf-color-danger: #b4141b;
	--gf-radius: 10px;
	--gf-ctrl-size: 42px;
	--gf-font-family-base: var(--ch-font-body);
	--gf-font-family-primary: var(--ch-font-body);
	--gf-font-family-secondary: var(--ch-font-body);
	--gf-font-family-tertiary: var(--ch-font-body);
	--gf-ctrl-label-font-family-primary: var(--ch-font-body);
	--gf-ctrl-label-font-size-primary: 14px;
	--gf-ctrl-label-font-weight-primary: 600;
	--gf-ctrl-label-color-primary: var(--ch-ink);
	--gf-ctrl-font-size: 15px;
	--gf-form-gap-y: 20px;
	--gf-form-gap-x: 16px;
	--gf-ctrl-btn-radius: var(--ch-radius-btn);
	--gf-ctrl-btn-font-family: var(--ch-font-body);
	--gf-ctrl-btn-font-size: 15px;
	--gf-ctrl-btn-font-weight: 700;
	--gf-ctrl-btn-padding-x: 28px;
	--gf-ctrl-btn-size: 44px;
	--gf-ctrl-btn-bg-color-primary: var(--ch-red);
	--gf-ctrl-btn-bg-color-hover-primary: var(--ch-red-hover);
	--gf-ctrl-btn-bg-color-focus-primary: var(--ch-red-hover);
	--gf-ctrl-btn-color-primary: #fff;
	--gf-ctrl-btn-shadow: 0 1px 2px rgb(26 21 18 / 10%);
	--gf-ctrl-outline-color-focus: var(--ch-ink);
	--gf-ctrl-label-color-req: var(--ch-red);
}
.ch-form .gform_wrapper .gfield_label,
.ch-form .gform_wrapper legend.gfield_label { margin-top: 0 !important; }
.ch-form .gform_wrapper .gfield_required_text { font-size: 0; }
.ch-form .gform_wrapper .gfield_required_text:after { content: "*"; font-size: 14px; color: var(--ch-ink); }

/* Radio fields as chips */
.ch-form .gfield--type-radio .gfield_label { margin-bottom: 8px; }
.ch-form .gfield--type-radio .gfield_radio {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 8px !important;
}
.ch-form .gfield--type-radio .gchoice {
	position: relative;
	display: block !important;
	margin: 0 !important;
}
.ch-form .gfield--type-radio .gchoice input[type="radio"] {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	opacity: 0;
	cursor: pointer;
}
.ch-form .gfield--type-radio .gchoice label {
	display: inline-block !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 8px 16px;
	border: 1px solid var(--ch-input);
	border-radius: 999px;
	background: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ch-ink);
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.ch-form .gfield--type-radio .gchoice:hover label { border-color: var(--ch-red); }
.ch-form .gfield--type-radio .gchoice input:checked + label { border-color: var(--ch-red); background: var(--ch-red); color: #fff; }
.ch-form .gfield--type-radio .gchoice input:focus-visible + label { outline: 2px solid var(--ch-ink); outline-offset: 2px; }

.ch-form .gfield--type-html { font-size: 12px; line-height: 1.5; color: var(--ch-muted); }
.ch-form .gfield--type-html a { color: inherit; text-decoration: underline; }
.ch-form .gform_footer { margin-top: 8px !important; padding-top: 0 !important; }
.ch-form .gform_wrapper.gform-theme .gform_footer input[type="submit"],
.ch-form .gform_wrapper.gform-theme .gform_footer button {
	min-height: 44px;
	padding: 10px 28px !important;
	border: 0 !important;
	border-radius: var(--ch-radius-btn) !important;
	background: var(--ch-red) !important;
	color: #fff !important;
	font-family: var(--ch-font-body) !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	box-shadow: 0 1px 2px rgb(26 21 18 / 10%);
	cursor: pointer;
}
.ch-form .gform_wrapper.gform-theme .gform_footer input[type="submit"]:hover { background: var(--ch-red-hover) !important; }
.ch-form .gform_wrapper.gform-theme .gform_footer input[type="submit"]:focus-visible { outline: 2px solid var(--ch-ink) !important; outline-offset: 2px; }
.ch-form .gform_wrapper.gform-theme .gfield textarea { min-block-size: 120px; height: 120px; }
.ch-form .gform_confirmation_message {
	padding: 8px 0;
	font-family: var(--ch-font-display);
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--ch-ink);
}
.ch-form .gform_confirmation_message:before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
	background: var(--ch-red);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ch-form .gform_confirmation_message small { display: block; margin-top: 8px; font-family: var(--ch-font-body); font-size: 16px; font-weight: 400; color: var(--ch-muted); }

/* ------------------------------------------------------------------ */
/* Footer (Nectar global section "Footer", ID 12)                     */
/* ------------------------------------------------------------------ */
.ch-footer { background: var(--ch-ink); color: var(--ch-ink-muted); }
.ch-footer > .nectar-blocks-row__inner {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}
.ch-footer p { margin: 0 !important; font-size: 14px; line-height: 1.6; color: var(--ch-ink-muted); }
.ch-footer a { color: var(--ch-ink-muted); text-decoration: none; transition: color .15s ease; }
.ch-footer a:hover,
.ch-footer a:focus-visible { color: var(--ch-ink-fg); }
.ch-footer .nectar-blocks-column { flex: 0 1 auto !important; width: auto !important; max-width: 100%; }
.ch-footer .nectar-blocks-column:last-child p { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1023px) {
	.ch-grid3 .ch-card { flex-basis: calc((100% - 20px) / 2); max-width: calc((100% - 20px) / 2); }
	.ch-steps > .nectar-blocks-row__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
	.ch-audience-cards > .nectar-blocks-row__inner { grid-template-columns: 1fr; }
	.ch-faq > .nectar-blocks-row__inner,
	.ch-contact > .nectar-blocks-row__inner { grid-template-columns: 1fr; gap: 40px; }
	.ch-callout { grid-template-columns: 1fr; }
	.ch-callout .ch-buttons { grid-column: 1; grid-row: auto; margin-top: 24px !important; }
}

@media (max-width: 899px) {
	.ch-hero > .nectar-blocks-row__inner { grid-template-columns: 1fr; gap: 40px; }
	.ch-section--produkt > .ch-hero > .nectar-blocks-row__inner { padding-top: 48px; padding-bottom: 56px; }
	.ch-hero-image img { max-width: 360px; }
}

@media (max-width: 767px) {
	.ch-section > .ch-pillars > .nectar-blocks-row__inner { grid-template-columns: 1fr; }
	.ch-pillars .ch-card { padding: 20px 0 !important; }
	.ch-pillars .ch-card + .ch-card { border-top: 1px solid var(--ch-border); }
	.ch-grid2 > .nectar-blocks-row__inner { grid-template-columns: 1fr; }
	.ch-grid3 .ch-card { flex-basis: 100%; max-width: 100%; }
	.ch-steps > .nectar-blocks-row__inner { grid-template-columns: 1fr; }
	.ch-checks { grid-template-columns: 1fr; }
	.ch-audience-primary,
	.ch-audience-secondary,
	.ch-callout { padding: 28px !important; }
	.ch-audience-cards h3 { font-size: 26px !important; }
	.ch-form { padding: 24px !important; }

	/* Comparison table becomes stacked cards */
	.ch-table table,
	.ch-table tbody,
	.ch-table tr,
	.ch-table td { display: block; width: 100%; box-sizing: border-box; }
	.ch-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.ch-table tbody tr { padding: 16px 20px; }
	.ch-table tbody tr + tr { border-top: 1px solid var(--ch-border); }
	.ch-table tbody tr + tr td { border-top: 0; }
	.ch-table td { padding: 2px 0; }
	.ch-table td:first-child { font-size: 16px; padding-bottom: 6px; }
	.ch-table td:nth-child(2):before { content: "Häufig heute: "; font-weight: 700; color: var(--ch-ink); }
	.ch-table td:last-child:before { content: "Mit cooper home: "; color: var(--ch-ink); }

	.ch-footer > .nectar-blocks-row__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
	.ch-usps { gap: 16px 20px; }
	.ch-usp h3 { font-size: 17px !important; }
	.ch-buttons .nectar-blocks-button { flex: 1 1 auto; }
	.ch-buttons .nectar-blocks-button .nectar-blocks-button__inner { width: 100%; }
	.ch-audience-primary .ch-btn-outline,
	.ch-landlord .ch-btn-outline { flex: 0 0 auto; }
}
