.cgm-marketplace {
	--cgm-navy: #063f56;
	--cgm-navy-dark: #032f42;
	--cgm-teal: #5d8d98;
	--cgm-teal-light: #e8f0f2;
	--cgm-orange: #ff8a00;
	--cgm-orange-dark: #e87400;
	--cgm-action: #1668d9;
	--cgm-action-dark: #0d52b5;
	--cgm-ink: #15313c;
	--cgm-muted: #607680;
	--cgm-border: #d9e3e6;
	--cgm-soft: #f5f8f9;
	--cgm-white: #ffffff;
	--cgm-success: #187a58;
	--cgm-error: #b42318;
	--cgm-shadow: 0 18px 50px rgba(6, 63, 86, 0.12);
	color: var(--cgm-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	margin-inline: calc(50% - 50vw);
	width: 100vw;
}

.cgm-listing-status{display:inline-flex;padding:6px 9px;border-radius:999px;background:#fff4df;color:#7a4b00;font-size:12px;font-weight:800}.cgm-provider-dialog{width:min(940px,calc(100% - 28px));max-height:90vh;padding:0;border:0;border-radius:24px;box-shadow:0 28px 90px rgba(4,38,56,.35);overflow:auto;background:#fff;color:#183142}.cgm-provider-dialog::backdrop{background:rgba(4,24,36,.72)}.cgm-provider-gallery{display:grid;grid-template-columns:1.8fr 1fr;grid-template-rows:1fr 1fr;gap:8px;min-height:300px;background:#e8f0f4;padding:8px}.cgm-provider-gallery__main{grid-row:1/3;background:linear-gradient(135deg,rgba(4,53,74,.1),rgba(255,139,0,.18)),url('../images/cgm-hero-road.webp') center/cover}.cgm-provider-gallery>div:not(.cgm-provider-gallery__main){display:flex;flex-direction:column;justify-content:end;padding:22px;background:#fff;border-radius:12px}.cgm-provider-gallery span{font-size:12px;color:#657b88}.cgm-provider-dialog__body{padding:28px}.cgm-provider-dialog__body h2{font-size:34px;margin:6px 0 10px}.cgm-provider-status{padding:12px;border-radius:12px;background:#fff4df;font-weight:700}.cgm-provider-dialog__actions{display:flex;gap:12px;margin-top:22px}.cgm-provider-dialog .cgm-dialog__close{position:absolute!important;right:14px!important;top:14px!important;z-index:20!important;background:#fff!important;color:#173143!important;width:42px!important;height:42px!important;border-radius:999px!important}
@media(max-width:767px){.cgm-search-field>span{gap:14px!important;margin-bottom:6px!important}.cgm-provider-dialog{width:100%;max-height:94vh;margin:auto 0 0;border-radius:22px 22px 0 0}.cgm-provider-gallery{min-height:210px;grid-template-columns:1fr 1fr;grid-template-rows:150px auto}.cgm-provider-gallery__main{grid-column:1/3;grid-row:auto}.cgm-provider-dialog__body{padding:22px 18px}.cgm-provider-dialog__body h2{font-size:28px}.cgm-provider-dialog__actions{flex-direction:column}.cgm-provider-dialog__actions .cgm-button{display:flex!important;width:100%!important;min-height:52px!important;opacity:1!important;visibility:visible!important}}

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

.cgm-marketplace h1,
.cgm-marketplace h2,
.cgm-marketplace h3,
.cgm-marketplace p {
	margin-top: 0;
}

.cgm-marketplace h1,
.cgm-marketplace h2,
.cgm-marketplace h3 {
	color: var(--cgm-navy);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
}

.cgm-marketplace h1 {
	font-size: clamp(2.5rem, 6vw, 4.85rem);
	margin-bottom: 24px;
}

.cgm-marketplace h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 18px;
}

.cgm-marketplace h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.cgm-marketplace a {
	color: var(--cgm-navy);
}

.cgm-shell {
	margin: 0 auto;
	max-width: 1200px;
	padding-inline: 24px;
	width: 100%;
}

.cgm-brandbar {
	background: var(--cgm-white);
	border-bottom: 1px solid #e8eef1;
	position: relative;
	z-index: 4;
}

.cgm-brandbar__inner {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: flex-start;
	min-height: 82px;
}

.cgm-brandbar__brand {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	text-decoration: none !important;
}

.cgm-marketplace .cgm-brandbar__logo {
	display: block;
	height: auto !important;
	max-height: 58px !important;
	max-width: 220px !important;
	object-fit: contain;
	width: auto !important;
}

.cgm-brandbar__fallback {
	color: var(--cgm-navy);
	font-size: 1.55rem;
	font-weight: 900;
}

.cgm-brandbar__fallback strong {
	color: var(--cgm-orange);
}

.cgm-brandbar__tagline {
	color: var(--cgm-muted);
	flex: 1 1 auto;
	font-size: 0.86rem;
	font-weight: 650;
}

.cgm-section {
	padding-block: 88px;
}

.cgm-eyebrow {
	color: var(--cgm-orange-dark);
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 14px;
	text-transform: uppercase;
}

.cgm-section-heading {
	margin-bottom: 42px;
	max-width: 720px;
}

.cgm-section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.cgm-section-heading p,
.cgm-hero__copy > p {
	color: var(--cgm-muted);
	font-size: 1.1rem;
}

.cgm-hero {
	background-image:
		linear-gradient(90deg, rgba(3, 34, 49, 0.76) 0%, rgba(3, 47, 66, 0.56) 45%, rgba(3, 47, 66, 0.22) 100%),
		url("../images/cgm-hero-road.webp");
	background-position: center;
	background-size: cover;
	min-height: 590px;
	overflow: hidden;
	padding-block: 58px 72px;
	position: relative;
}

.cgm-hero::after {
	background: linear-gradient(180deg, rgba(3, 47, 66, 0.03) 58%, rgba(3, 47, 66, 0.22) 100%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.cgm-hero__layout {
	position: relative;
	z-index: 1;
}

.cgm-hero__copy {
	max-width: 760px;
	text-shadow: 0 2px 18px rgba(3, 34, 49, 0.45);
}

.cgm-marketplace .cgm-hero__copy .cgm-eyebrow {
	color: #ffd19a !important;
}

.cgm-marketplace .cgm-hero__copy h1 {
	color: var(--cgm-white) !important;
	font-size: clamp(2.45rem, 5vw, 4.3rem);
	margin-bottom: 16px;
	max-width: 760px;
	text-shadow: 0 3px 22px rgba(3, 34, 49, 0.72);
}

.cgm-marketplace .cgm-hero__copy > p {
	color: rgba(255, 255, 255, 0.96) !important;
	font-size: 1.12rem;
	margin-bottom: 0;
	max-width: 690px;
}

.cgm-trustline {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-top: 30px;
}

.cgm-trustline span {
	align-items: center;
	color: var(--cgm-navy);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 700;
	gap: 6px;
}

.cgm-trustline svg,
.cgm-service-list svg,
.cgm-profile-sidebar li svg {
	color: var(--cgm-success);
	height: 18px;
	width: 18px;
}

.cgm-marketplace svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.cgm-search-panel {
	background: var(--cgm-white);
	border: 1px solid rgba(218, 226, 232, 0.92);
	border-radius: 18px;
	box-shadow: 0 18px 45px rgba(3, 34, 49, 0.22);
	margin-top: 36px;
	overflow: hidden;
}

/* ==========================================================================
 * SERVICE-REITER (Alle / Kfz-Gutachter / Werkstatt)
 * --------------------------------------------------------------------------
 * Es existieren ausschliesslich ZWEI visuelle Zustaende:
 *   ZUSTAND A = inaktiv  -> fuer ALLE Reiter exakt identisch
 *   ZUSTAND B = aktiv    -> ein einziges einheitliches Aktiv-Design
 * Es gibt KEINE kategoriespezifischen Farben. Die Gestaltung haengt nie
 * davon ab, welcher Reiter es ist, sondern nur davon, ob er aktiv ist.
 * ========================================================================== */

.cgm-service-tabs {
	--cgm-tab-bg: #ffffff;
	--cgm-tab-color: #46586a;
	--cgm-tab-border: var(--cgm-border);
	--cgm-tab-active-bg: #f2f7fd;
	--cgm-tab-active-color: var(--cgm-action);
	--cgm-tab-min-height: 64px;
	--cgm-tab-padding-block: 12px;
	--cgm-tab-padding-inline: 8px;
	--cgm-tab-gap: 9px;
	--cgm-tab-icon-size: 20px;
	--cgm-tab-font-size: 0.94rem;

	background: var(--cgm-tab-bg);
	border-bottom: 1px solid var(--cgm-tab-border);
	display: grid;
	/* Immer genau eine Reihe, gleichmaessig verteilt. */
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-inline: 14px;
}

/* ---------- ZUSTAND A: inaktiv – identisch fuer jeden Reiter ---------- */
.cgm-marketplace button.cgm-service-tab,
.cgm-marketplace button.cgm-service-tab:link,
.cgm-marketplace button.cgm-service-tab:visited {
	-webkit-appearance: none;
	align-items: center;
	appearance: none;
	background: var(--cgm-tab-bg) !important;
	background-color: var(--cgm-tab-bg) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--cgm-tab-color) !important;
	cursor: pointer;
	display: flex;
	font: inherit;
	font-size: var(--cgm-tab-font-size);
	font-weight: 700;
	gap: var(--cgm-tab-gap);
	justify-content: center;
	line-height: 1.2;
	min-height: var(--cgm-tab-min-height);
	min-width: 0;
	padding: var(--cgm-tab-padding-block) var(--cgm-tab-padding-inline);
	position: relative;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.cgm-marketplace .cgm-service-tab .cgm-service-tab__icon {
	align-items: center;
	color: currentColor !important;
	display: inline-flex;
	flex: 0 0 var(--cgm-tab-icon-size);
	height: var(--cgm-tab-icon-size);
	justify-content: center;
	width: var(--cgm-tab-icon-size);
}

.cgm-marketplace .cgm-service-tab .cgm-service-tab__icon svg {
	color: currentColor !important;
	height: 100%;
	stroke: currentColor;
	stroke-width: 1.6;
	width: 100%;
}

.cgm-marketplace .cgm-service-tab strong {
	color: currentColor !important;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: 0;
	min-width: 0;
	overflow: visible;
	white-space: nowrap;
}

/* Unterstreichung: im inaktiven Zustand vorhanden, aber unsichtbar –
   dadurch springt die Hoehe beim Wechsel nicht. */
.cgm-service-tab::after {
	background: transparent;
	bottom: -1px;
	content: "";
	height: 3px;
	left: 14px;
	position: absolute;
	right: 14px;
}

/* Hover auf einem INAKTIVEN Reiter darf niemals nach "aktiv" aussehen:
   nur ein minimaler neutraler Grauton, keine Farbaenderung. */
.cgm-marketplace button.cgm-service-tab:hover:not(.is-active) {
	background: #f6f8fa !important;
	background-color: #f6f8fa !important;
	color: var(--cgm-tab-color) !important;
}

/* ---------- ZUSTAND B: aktiv – nur der angeklickte Reiter ---------- */
.cgm-marketplace button.cgm-service-tab.is-active,
.cgm-marketplace button.cgm-service-tab.is-active:hover {
	background: var(--cgm-tab-active-bg) !important;
	background-color: var(--cgm-tab-active-bg) !important;
	color: var(--cgm-tab-active-color) !important;
}

.cgm-service-tab.is-active::after {
	background: var(--cgm-tab-active-color);
}

.cgm-search {
	align-items: stretch;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 20px 22px;
}

.cgm-search-field {
	align-items: center;
	background: #fbfcfd;
	border: 1px solid #aeb9c6;
	border-radius: 12px;
	display: flex;
	gap: 14px;
	min-height: 62px;
	padding: 10px 16px;
}

.cgm-search-field > svg {
	color: #1b2e46;
	flex: 0 0 auto;
	height: 22px;
	width: 22px;
}

.cgm-search-field > span {
	display: grid;
	gap: 5px;
	min-width: 0;
	width: 100%;
}

.cgm-search-field strong {
	color: #182a43;
	display: block;
	font-size: 0.74rem;
	font-weight: 750;
	line-height: 1.25;
	margin: 0;
}

.cgm-search-field input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #182a43;
	font: inherit;
	font-size: 0.98rem;
	min-height: 25px;
	outline: 0;
	padding: 0;
	width: 100%;
}

.cgm-search-field:focus-within {
	border-color: var(--cgm-action);
	box-shadow: 0 0 0 3px rgba(22, 104, 217, 0.14);
}

.cgm-search__submit {
	border-radius: 12px !important;
	min-height: 62px !important;
	min-width: 150px;
	padding-inline: 28px !important;
}

.cgm-search-benefits {
	align-items: center;
	background: #f7faf9;
	border-top: 1px solid #edf1f4;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 30px;
	padding: 13px 22px 14px;
}

.cgm-search-benefits span,
.cgm-search-benefits strong {
	align-items: center;
	color: #405768;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 650;
	gap: 5px;
	margin: 0;
}

.cgm-search-benefits strong {
	color: #17603a;
	font-weight: 750;
}

.cgm-search-benefits svg {
	color: var(--cgm-success);
	height: 16px;
	width: 16px;
}

.cgm-field {
	display: grid;
	gap: 7px;
}

.cgm-field > span {
	color: var(--cgm-navy);
	font-size: 0.83rem;
	font-weight: 750;
}

.cgm-field input,
.cgm-field select,
.cgm-field textarea {
	appearance: none;
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 10px;
	box-shadow: none;
	color: var(--cgm-ink);
	font: inherit;
	min-height: 50px;
	outline: none;
	padding: 12px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	width: 100%;
}

.cgm-field select {
	background-image: linear-gradient(45deg, transparent 50%, var(--cgm-navy) 50%), linear-gradient(135deg, var(--cgm-navy) 50%, transparent 50%);
	background-position: calc(100% - 18px) 21px, calc(100% - 12px) 21px;
	background-repeat: no-repeat;
	background-size: 6px 6px, 6px 6px;
	padding-right: 38px;
}

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

.cgm-field input:focus,
.cgm-field select:focus,
.cgm-field textarea:focus {
	border-color: var(--cgm-teal);
	box-shadow: 0 0 0 4px rgba(93, 141, 152, 0.15);
}

.cgm-search__note {
	color: var(--cgm-muted);
	font-size: 0.8rem;
	margin: -7px 0 0;
	text-align: center;
}

.cgm-marketplace button.cgm-button,
.cgm-marketplace a.cgm-button,
.cgm-marketplace input[type="submit"].cgm-button {
	-webkit-appearance: none !important;
	-webkit-text-fill-color: #ffffff !important;
	align-items: center !important;
	background-color: var(--cgm-action) !important;
	background-image: none !important;
	border: 1px solid var(--cgm-action) !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 25px rgba(22, 104, 217, 0.24) !important;
	box-sizing: border-box !important;
	color: #ffffff !important;
	cursor: pointer !important;
	display: inline-flex !important;
	font-family: inherit !important;
	font-size: 0.93rem !important;
	font-style: normal !important;
	font-weight: 800 !important;
	gap: 8px !important;
	justify-content: center !important;
	letter-spacing: 0 !important;
	line-height: 1.2 !important;
	min-height: 48px !important;
	opacity: 1 !important;
	overflow: visible !important;
	padding: 12px 18px !important;
	text-align: center !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	text-transform: none !important;
	visibility: visible !important;
	white-space: normal !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cgm-marketplace button.cgm-button:hover,
.cgm-marketplace a.cgm-button:hover,
.cgm-marketplace input[type="submit"].cgm-button:hover {
	background-color: var(--cgm-action-dark) !important;
	border-color: var(--cgm-action-dark) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
}

.cgm-button:focus-visible,
.cgm-category-card:focus-visible,
.cgm-service-tab:focus-visible,
.cgm-dialog__close:focus-visible {
	outline: 3px solid rgba(255, 138, 0, 0.4);
	outline-offset: 3px;
}

.cgm-marketplace .cgm-button svg {
	color: inherit !important;
	height: 20px !important;
	opacity: 1 !important;
	stroke: currentColor !important;
	visibility: visible !important;
	width: 20px !important;
}

.cgm-marketplace .cgm-button.cgm-button--primary {
	-webkit-text-fill-color: #ffffff !important;
	background-color: var(--cgm-action) !important;
	border-color: var(--cgm-action) !important;
	box-shadow: 0 10px 25px rgba(22, 104, 217, 0.24) !important;
	color: #ffffff !important;
}

.cgm-marketplace .cgm-button.cgm-button--primary:hover {
	background-color: var(--cgm-action-dark) !important;
	border-color: var(--cgm-action-dark) !important;
	box-shadow: 0 13px 30px rgba(22, 104, 217, 0.3) !important;
}

.cgm-marketplace .cgm-button.cgm-button--secondary {
	-webkit-text-fill-color: var(--cgm-navy) !important;
	background-color: var(--cgm-white) !important;
	border-color: var(--cgm-border) !important;
	box-shadow: none !important;
	color: var(--cgm-navy) !important;
}

.cgm-marketplace .cgm-button.cgm-button--secondary:hover {
	-webkit-text-fill-color: var(--cgm-navy) !important;
	background-color: #f7fafc !important;
	border-color: var(--cgm-teal) !important;
	color: var(--cgm-navy) !important;
}

.cgm-marketplace .cgm-button.cgm-button--block {
	width: 100% !important;
}

.cgm-section--categories {
	background: var(--cgm-white);
}

.cgm-category-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgm-confirmation {
	background: linear-gradient(145deg, #f3f8fa, #ffffff);
	min-height: calc(100vh - 82px);
	padding-block: 76px;
}

.cgm-confirmation__card {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 24px;
	box-shadow: var(--cgm-shadow);
	margin: 0 auto;
	max-width: 760px;
	padding: 54px;
	text-align: center;
}

.cgm-confirmation__icon {
	align-items: center;
	background: #e9f7f1;
	border-radius: 50%;
	color: var(--cgm-success);
	display: flex;
	height: 76px;
	justify-content: center;
	margin: 0 auto 24px;
	width: 76px;
}

.cgm-confirmation__icon svg {
	height: 40px;
	stroke-width: 2.3;
	width: 40px;
}

.cgm-confirmation__card h1 {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	margin-bottom: 16px;
}

.cgm-confirmation__card > p {
	color: var(--cgm-muted);
	margin: 0 auto 30px;
	max-width: 590px;
}

.cgm-confirmation__steps {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(3, 1fr);
	margin-bottom: 30px;
}

.cgm-confirmation__steps span {
	align-items: center;
	background: var(--cgm-soft);
	border-radius: 12px;
	display: flex;
	font-size: 0.78rem;
	font-weight: 700;
	gap: 8px;
	padding: 13px;
	text-align: left;
}

.cgm-confirmation__steps strong {
	align-items: center;
	background: var(--cgm-orange);
	border-radius: 50%;
	display: flex;
	flex: 0 0 26px;
	height: 26px;
	justify-content: center;
}

.cgm-category-card {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 18px;
	color: var(--cgm-ink);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	font: inherit;
	min-height: 286px;
	padding: 26px;
	text-align: left;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cgm-category-card:hover,
.cgm-category-card.is-active {
	border-color: rgba(255, 138, 0, 0.75);
	box-shadow: 0 16px 38px rgba(6, 63, 86, 0.1);
	transform: translateY(-5px);
}

.cgm-category-card__icon {
	align-items: center;
	background: var(--cgm-teal-light);
	border-radius: 14px;
	color: var(--cgm-navy);
	display: inline-flex;
	height: 58px;
	justify-content: center;
	margin-bottom: 24px;
	width: 58px;
}

.cgm-category-card__icon svg {
	height: 31px;
	width: 31px;
}

.cgm-category-card strong {
	color: var(--cgm-navy);
	font-size: 1.25rem;
	margin-bottom: 8px;
}

.cgm-category-card > span:not(.cgm-category-card__icon) {
	color: var(--cgm-muted);
	font-size: 0.9rem;
}

.cgm-category-card em {
	align-items: center;
	color: var(--cgm-orange-dark);
	display: flex;
	font-size: 0.84rem;
	font-style: normal;
	font-weight: 800;
	gap: 6px;
	margin-top: auto;
	padding-top: 22px;
}

.cgm-category-card em svg {
	height: 17px;
	width: 17px;
}

.cgm-section--results {
	background: var(--cgm-soft);
}

.cgm-results-heading {
	align-items: flex-end;
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

.cgm-results-heading h2 {
	margin-bottom: 0;
}

.cgm-reset-link {
	color: var(--cgm-navy) !important;
	font-size: 0.9rem;
	font-weight: 800;
}

.cgm-result-count {
	color: var(--cgm-muted);
	margin-bottom: 28px;
}

.cgm-partner-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgm-partner-card {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(6, 63, 86, 0.06);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cgm-partner-card:hover {
	box-shadow: 0 18px 45px rgba(6, 63, 86, 0.12);
	transform: translateY(-4px);
}

.cgm-partner-card__visual {
	align-items: center;
	background: linear-gradient(135deg, var(--cgm-navy), var(--cgm-teal));
	background-position: center;
	background-size: cover;
	display: flex;
	height: 108px;
	justify-content: center;
	position: relative;
}

.cgm-partner-card__visual::after {
	background: linear-gradient(180deg, rgba(3, 47, 66, 0.02), rgba(3, 47, 66, 0.34));
	content: "";
	inset: 0;
	position: absolute;
}

.cgm-partner-card__visual > span {
	color: rgba(255, 255, 255, 0.92);
	font-size: 2.25rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	z-index: 1;
}

.cgm-partner-card__category,
.cgm-partner-card__score {
	position: absolute;
	z-index: 2;
}

.cgm-partner-card__category {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 999px;
	color: var(--cgm-navy);
	font-size: 0.74rem;
	font-weight: 800;
	left: 12px;
	padding: 6px 9px;
	top: 12px;
}

.cgm-partner-card__score {
	background: var(--cgm-orange);
	border-radius: 12px;
	bottom: 12px;
	color: #182b32;
	display: grid;
	padding: 8px 10px;
	right: 12px;
	text-align: center;
}

.cgm-partner-card__score strong {
	font-size: 1.35rem;
	line-height: 1;
}

.cgm-partner-card__score span {
	font-size: 0.58rem;
	font-weight: 800;
	text-transform: uppercase;
}

.cgm-partner-card__body {
	padding: 18px;
}

.cgm-verified-badge {
	align-items: center;
	background: #e9f7f1;
	border-radius: 999px;
	color: var(--cgm-success);
	display: inline-flex;
	font-size: 0.7rem;
	font-weight: 800;
	gap: 5px;
	margin-bottom: 8px;
	padding: 5px 8px;
}

.cgm-verified-badge svg {
	height: 15px;
	width: 15px;
}

.cgm-partner-card h3 {
	font-size: 1.08rem;
	line-height: 1.28;
	margin-bottom: 6px;
}

.cgm-partner-card h3 a {
	color: var(--cgm-navy);
	text-decoration: none;
}

.cgm-partner-card__location,
.cgm-profile-location {
	align-items: center;
	color: var(--cgm-muted);
	display: flex;
	font-size: 0.79rem;
	gap: 6px;
}

.cgm-partner-card__location svg,
.cgm-profile-location svg {
	color: var(--cgm-teal);
	flex: 0 0 auto;
	height: 16px;
	width: 16px;
}

.cgm-partner-card__facts {
	border-block: 1px solid var(--cgm-border);
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
	margin-block: 14px;
	padding-block: 12px;
}

.cgm-partner-card__facts > div {
	display: grid;
	gap: 2px;
}

.cgm-partner-card__facts > div + div {
	border-left: 1px solid var(--cgm-border);
	padding-left: 10px;
}

.cgm-partner-card__facts span {
	color: var(--cgm-muted);
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
}

.cgm-partner-card__facts strong {
	color: var(--cgm-navy);
	font-size: 0.93rem;
}

.cgm-rating {
	color: var(--cgm-orange-dark) !important;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	line-height: 1.2;
}

.cgm-rating__stars {
	font-size: 0.76rem;
	letter-spacing: 0.02em;
}

.cgm-rating__value {
	font-size: 0.82rem;
}

.cgm-partner-card__facts small {
	color: var(--cgm-muted);
	font-size: 0.68rem;
}

.cgm-partner-card__actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
}

.cgm-partner-card__actions .cgm-button {
	font-size: 0.84rem !important;
	min-height: 42px !important;
	padding: 10px 12px !important;
}

.cgm-empty-state {
	background: var(--cgm-white);
	border: 1px dashed var(--cgm-teal);
	border-radius: 18px;
	margin-top: 28px;
	padding: 52px 24px;
	text-align: center;
}

.cgm-empty-state__icon {
	align-items: center;
	background: var(--cgm-teal-light);
	border-radius: 50%;
	color: var(--cgm-navy);
	display: inline-flex;
	height: 66px;
	justify-content: center;
	margin-bottom: 18px;
	width: 66px;
}

.cgm-empty-state__icon svg {
	height: 32px;
	width: 32px;
}

.cgm-empty-state p {
	color: var(--cgm-muted);
	margin: 0 auto 22px;
	max-width: 580px;
}

.cgm-section--steps {
	background: var(--cgm-white);
}

.cgm-step-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, 1fr);
}

.cgm-step-grid article {
	align-items: flex-start;
	display: grid;
	gap: 16px;
	grid-template-columns: 42px 1fr;
	position: relative;
}

.cgm-step-grid article > span {
	align-items: center;
	background: var(--cgm-orange);
	border-radius: 50%;
	color: #1d3037;
	display: flex;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.cgm-step-grid article > div > svg {
	color: var(--cgm-teal);
	height: 36px;
	margin-bottom: 16px;
	width: 36px;
}

.cgm-step-grid p {
	color: var(--cgm-muted);
	font-size: 0.92rem;
	margin-bottom: 0;
}

.cgm-section--score {
	background: var(--cgm-navy);
	color: rgba(255, 255, 255, 0.84);
}

.cgm-score-panel {
	align-items: center;
	display: grid;
	gap: 80px;
	grid-template-columns: 0.9fr 1.1fr;
}

.cgm-score-demo {
	align-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	display: grid;
	gap: 24px;
	grid-template-columns: 148px 1fr;
	padding: 34px;
}

.cgm-score-ring {
	align-items: center;
	background: conic-gradient(var(--cgm-orange) 0deg 331deg, rgba(255, 255, 255, 0.14) 331deg 360deg);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	height: 148px;
	justify-content: center;
	position: relative;
	width: 148px;
}

.cgm-score-ring::before {
	background: var(--cgm-navy);
	border-radius: 50%;
	content: "";
	inset: 11px;
	position: absolute;
}

.cgm-score-ring strong,
.cgm-score-ring span {
	position: relative;
	z-index: 1;
}

.cgm-score-ring strong {
	color: var(--cgm-white);
	font-size: 2.7rem;
	line-height: 1;
}

.cgm-score-ring span {
	font-size: 0.7rem;
}

.cgm-score-demo h3 {
	color: var(--cgm-white);
	font-size: 1.6rem;
	margin-bottom: 8px;
}

.cgm-score-demo p {
	font-size: 0.87rem;
	margin: 0;
}

.cgm-score-copy h2 {
	color: var(--cgm-white);
}

.cgm-score-copy > p {
	font-size: 1.05rem;
}

.cgm-score-copy ul {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 25px 0 0;
	padding: 0;
}

.cgm-score-copy li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	gap: 12px;
	padding-bottom: 10px;
}

.cgm-score-copy li strong {
	color: var(--cgm-orange);
	min-width: 48px;
}

.cgm-section--ranking {
	background: #eff5f6;
	padding-block: 30px;
}

.cgm-ranking-note {
	align-items: flex-start;
	display: grid;
	gap: 16px;
	grid-template-columns: 40px 1fr;
}

.cgm-ranking-note > div:first-child {
	color: var(--cgm-teal);
}

.cgm-ranking-note svg {
	height: 32px;
	width: 32px;
}

.cgm-ranking-note h2 {
	font-size: 1rem;
	margin-bottom: 5px;
}

.cgm-ranking-note p {
	color: var(--cgm-muted);
	font-size: 0.82rem;
	margin: 0;
}

.cgm-dialog {
	background: var(--cgm-white);
	border: 0;
	border-radius: 22px;
	box-shadow: 0 24px 80px rgba(3, 47, 66, 0.28);
	color: var(--cgm-ink);
	font-family: inherit;
	max-height: min(90vh, 820px);
	max-width: 720px;
	overflow: auto;
	padding: 0;
	width: calc(100% - 32px);
}

.cgm-dialog::backdrop {
	background: rgba(3, 32, 45, 0.76);
	backdrop-filter: blur(4px);
}

.cgm-dialog[open] {
	animation: cgm-dialog-in 0.25s ease both;
}

@keyframes cgm-dialog-in {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.cgm-dialog__header {
	align-items: flex-start;
	background: var(--cgm-soft);
	border-bottom: 1px solid var(--cgm-border);
	display: flex;
	justify-content: space-between;
	padding: 26px 30px;
}

.cgm-dialog__header h2 {
	font-size: 1.7rem;
	margin-bottom: 5px;
}

.cgm-dialog__header p {
	color: var(--cgm-muted);
	font-size: 0.88rem;
	margin-bottom: 0;
}

.cgm-dialog__close {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 50%;
	color: var(--cgm-navy);
	cursor: pointer;
	font-size: 1.7rem;
	height: 40px;
	line-height: 1;
	width: 40px;
}

.cgm-inquiry-form {
	padding: 30px;
}

.cgm-form-grid {
	display: grid;
	gap: 17px;
	grid-template-columns: 1fr 1fr;
}

.cgm-field--wide {
	grid-column: 1 / -1;
}

.cgm-consent {
	align-items: flex-start;
	color: var(--cgm-muted);
	display: flex;
	font-size: 0.76rem;
	gap: 9px;
	margin-block: 20px;
}

.cgm-consent input {
	flex: 0 0 auto;
	margin-top: 3px;
}

.cgm-whatsapp-link {
	display: block;
	font-size: 0.84rem;
	font-weight: 800;
	margin-top: 15px;
	text-align: center;
}

.cgm-honeypot {
	left: -9999px !important;
	opacity: 0 !important;
	position: absolute !important;
}

.cgm-status {
	border-radius: 10px;
	left: 50%;
	max-width: min(680px, calc(100% - 32px));
	padding: 14px 18px;
	position: fixed;
	top: 24px;
	transform: translateX(-50%);
	z-index: 99999;
}

.cgm-status--success {
	background: #e9f7f1;
	border: 1px solid #9dd7c0;
	color: var(--cgm-success);
}

.cgm-status--error {
	background: #fff1f0;
	border: 1px solid #f3b7b2;
	color: var(--cgm-error);
}

.cgm-profile-hero {
	background: linear-gradient(135deg, var(--cgm-soft), var(--cgm-teal-light));
	padding-block: 46px 66px;
}

.cgm-back-link {
	display: inline-block;
	font-size: 0.84rem;
	font-weight: 800;
	margin-bottom: 28px;
}

.cgm-profile-hero__panel {
	align-items: stretch;
	display: grid;
	gap: 44px;
	grid-template-columns: 1fr auto;
}

.cgm-profile-hero__main h1 {
	font-size: clamp(2.4rem, 5vw, 4rem);
}

.cgm-profile-location {
	font-size: 1rem;
	margin-bottom: 20px;
}

.cgm-profile-score {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 18px;
	box-shadow: var(--cgm-shadow);
	display: grid;
	grid-template-columns: repeat(3, minmax(130px, 1fr));
	min-width: 450px;
	padding: 22px;
}

.cgm-profile-score > div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-inline: 18px;
	text-align: center;
}

.cgm-profile-score > div + div {
	border-left: 1px solid var(--cgm-border);
}

.cgm-profile-score span,
.cgm-profile-score small {
	color: var(--cgm-muted);
	font-size: 0.68rem;
}

.cgm-profile-score span {
	font-weight: 800;
	text-transform: uppercase;
}

.cgm-profile-score strong {
	color: var(--cgm-navy);
	font-size: 1.9rem;
	line-height: 1.2;
}

.cgm-profile-content {
	background: var(--cgm-white);
}

.cgm-profile-layout {
	align-items: start;
	display: grid;
	gap: 68px;
	grid-template-columns: minmax(0, 1fr) 340px;
}

.cgm-richtext {
	color: var(--cgm-muted);
	margin-bottom: 42px;
}

.cgm-service-list {
	display: grid;
	gap: 11px;
	grid-template-columns: 1fr 1fr;
	list-style: none;
	margin: 0 0 42px;
	padding: 0;
}

.cgm-service-list li {
	align-items: center;
	background: var(--cgm-soft);
	border-radius: 9px;
	display: flex;
	font-size: 0.9rem;
	gap: 8px;
	padding: 11px 13px;
}

.cgm-review-policy {
	align-items: flex-start;
	background: var(--cgm-teal-light);
	border-radius: 15px;
	display: grid;
	gap: 14px;
	grid-template-columns: 34px 1fr;
	padding: 22px;
}

.cgm-review-policy > svg {
	color: var(--cgm-success);
	height: 32px;
	width: 32px;
}

.cgm-review-policy h3 {
	font-size: 1rem;
	margin-bottom: 5px;
}

.cgm-review-policy p {
	color: var(--cgm-muted);
	font-size: 0.82rem;
	margin: 0;
}

.cgm-profile-sidebar {
	background: var(--cgm-navy);
	border-radius: 18px;
	box-shadow: var(--cgm-shadow);
	color: rgba(255, 255, 255, 0.8);
	padding: 28px;
	position: sticky;
	top: 30px;
}

.cgm-profile-sidebar h2 {
	color: var(--cgm-white);
	font-size: 1.5rem;
}

.cgm-profile-sidebar p {
	font-size: 0.88rem;
}

.cgm-profile-sidebar ul {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}

.cgm-profile-sidebar li {
	align-items: center;
	display: flex;
	font-size: 0.76rem;
	gap: 6px;
}

@media (max-width: 1040px) {
	.cgm-hero__grid,
	.cgm-score-panel {
		gap: 42px;
	}

	.cgm-category-grid,
	.cgm-partner-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cgm-profile-hero__panel {
		grid-template-columns: 1fr;
	}

	.cgm-profile-score {
		min-width: 0;
	}
}

@media (max-width: 820px) {
	.cgm-brandbar__inner {
		min-height: 72px;
	}

	.cgm-brandbar__tagline {
		display: none;
	}

	.cgm-section {
		padding-block: 66px;
	}

	.cgm-hero {
		min-height: 0;
		padding-block: 58px 68px;
	}

	.cgm-hero__grid,
	.cgm-score-panel,
	.cgm-profile-layout {
		grid-template-columns: 1fr;
	}

	.cgm-search {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.cgm-step-grid {
		grid-template-columns: 1fr;
	}

	.cgm-score-demo {
		max-width: 560px;
	}

	.cgm-profile-sidebar {
		position: static;
	}
}

@media (max-width: 620px) {
	.cgm-shell {
		padding-inline: 18px;
	}

	.cgm-marketplace h1 {
		font-size: 2.55rem;
	}

	.cgm-brandbar__inner {
		gap: 10px;
		min-height: 62px;
	}

	.cgm-marketplace .cgm-brandbar__logo {
		max-height: 42px !important;
		max-width: 138px !important;
	}

	.cgm-brandbar__fallback {
		font-size: 1.18rem;
	}

	.cgm-hero {
		background-position: 68% center;
		padding-block: 28px 34px;
	}

	.cgm-marketplace .cgm-hero__copy h1 {
		font-size: 1.92rem;
		line-height: 1.08;
		margin-bottom: 11px;
	}

	.cgm-marketplace .cgm-hero__copy > p {
		font-size: 0.93rem;
		line-height: 1.45;
	}

	.cgm-marketplace .cgm-hero__copy .cgm-eyebrow {
		font-size: 0.66rem;
		margin-bottom: 9px;
	}

	.cgm-search-panel {
		border-radius: 14px;
		box-shadow: 0 14px 34px rgba(3, 34, 49, 0.2);
		margin-top: 24px;
	}

	/* Mobile: weiterhin EINE Reihe, drei gleich breite Spalten,
	   identische Grundgestaltung, nur kompaktere Masse. */
	.cgm-service-tabs {
		--cgm-tab-min-height: 50px;
		--cgm-tab-padding-block: 9px;
		--cgm-tab-padding-inline: 4px;
		--cgm-tab-gap: 6px;
		--cgm-tab-icon-size: 17px;
		--cgm-tab-font-size: 0.79rem;

		grid-template-columns: repeat(3, minmax(0, 1fr));
		overflow: visible;
		padding-inline: 0;
	}

	.cgm-marketplace button.cgm-service-tab {
		border-bottom: 0 !important;
		grid-column: auto;
	}

	.cgm-service-tab::after {
		left: 8px;
		right: 8px;
	}

	.cgm-marketplace h2 {
		font-size: 2rem;
	}

	.cgm-dialog__header,
	.cgm-inquiry-form {
		padding: 22px;
	}

	.cgm-search {
		gap: 12px;
		grid-template-columns: 1fr;
		padding: 16px;
	}

	.cgm-search-field {
		min-height: 60px;
		padding: 10px 14px;
	}

	.cgm-search-field > span {
		gap: 8px;
	}

	.cgm-search__submit {
		border-radius: 12px !important;
		display: inline-flex !important;
		min-height: 54px !important;
		visibility: visible !important;
		width: 100% !important;
	}

	.cgm-search-benefits {
		align-items: center;
		display: flex;
		gap: 8px 14px;
		padding: 12px 16px 14px;
	}

	.cgm-search-benefits span,
	.cgm-search-benefits strong {
		font-size: 0.73rem;
	}

	.cgm-category-grid,
	.cgm-partner-grid,
	.cgm-form-grid,
	.cgm-service-list {
		grid-template-columns: 1fr;
	}

	.cgm-category-card {
		min-height: 250px;
	}

	.cgm-results-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.cgm-score-demo {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.cgm-score-ring {
		margin-inline: auto;
	}

	.cgm-profile-score {
		grid-template-columns: 1fr;
		padding: 8px 20px;
	}

	.cgm-profile-score > div {
		padding-block: 18px;
	}

	.cgm-profile-score > div + div {
		border-left: 0;
		border-top: 1px solid var(--cgm-border);
	}

	.cgm-dialog {
		border-radius: 0;
		height: 100dvh;
		max-height: 100dvh;
		max-width: none;
		width: 100%;
	}

	.cgm-confirmation {
		min-height: calc(100vh - 62px);
		padding-block: 34px;
	}

	.cgm-confirmation__card {
		border-radius: 18px;
		padding: 34px 20px;
	}

	.cgm-confirmation__card h1 {
		font-size: 2rem;
	}

	.cgm-confirmation__steps {
		grid-template-columns: 1fr;
	}

	.cgm-profile-hero {
		padding-block: 34px;
	}

	.cgm-profile-hero__main h1 {
		font-size: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cgm-marketplace *,
	.cgm-marketplace *::before,
	.cgm-marketplace *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}

/* Dienstleister-Navigation und Partner-Anmeldung */
.cgm-brandbar__nav {
	display: flex;
	gap: 6px;
	margin-left: auto;
}

.cgm-brandbar__nav a {
	align-items: center;
	border-radius: 999px;
	color: #264450 !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 750;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	text-decoration: none !important;
}

.cgm-brandbar__nav a:hover,
.cgm-brandbar__nav a.is-active {
	background: #eaf2ff;
	color: #135fca !important;
}

.cgm-partner-portal {
	background: #f5f8f9;
	color: #17313b;
}

.cgm-partner-hero {
	background: linear-gradient(135deg, #073f59 0%, #126986 100%);
	color: #fff;
	padding: 72px 0;
}

.cgm-partner-hero h1,
.cgm-signup__intro h1 {
	color: inherit;
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.04;
	margin: 14px 0 20px;
	max-width: 780px;
}

.cgm-partner-hero h1 {
	color: #f2fbff !important;
}

.cgm-partner-hero p {
	font-size: 1.16rem;
	line-height: 1.65;
	max-width: 720px;
}

.cgm-partner-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 24px;
	margin-top: 28px;
}

.cgm-partner-trust span,
.cgm-signup__checks li {
	align-items: center;
	display: flex;
	font-weight: 700;
	gap: 8px;
}

.cgm-partner-trust svg,
.cgm-signup__checks svg {
	fill: none;
	height: 20px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 20px;
}

.cgm-partner-choice-grid,
.cgm-partner-benefit-grid,
.cgm-partner-process {
	display: grid;
	gap: 20px;
	margin-top: 28px;
}

.cgm-partner-choice-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgm-partner-choice-card {
	background: #fff;
	border: 1px solid #dce6e9;
	border-radius: 22px;
	box-shadow: 0 12px 34px rgba(17, 55, 69, 0.08);
	display: flex;
	flex-direction: column;
	padding: 28px;
}

.cgm-partner-choice-card h3 {
	font-size: 1.35rem;
	margin: 18px 0 8px;
}

.cgm-partner-choice-card p {
	color: #58707a;
	flex: 1;
	line-height: 1.6;
	margin: 0 0 22px;
}

.cgm-partner-icon {
	align-items: center;
	background: #eaf2ff;
	border-radius: 14px;
	color: #1465d8;
	display: inline-flex;
	height: 52px;
	justify-content: center;
	width: 52px;
}

.cgm-partner-icon svg {
	fill: none;
	height: 27px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 27px;
}

.cgm-partner-benefits {
	background: #fff;
}

.cgm-partner-benefit-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cgm-partner-benefit-grid > div {
	background: #f5f8f9;
	border-radius: 18px;
	display: grid;
	gap: 8px;
	padding: 24px;
}

.cgm-partner-benefit-grid strong,
.cgm-partner-process strong {
	font-size: 1.05rem;
}

.cgm-partner-benefit-grid span,
.cgm-partner-process span {
	color: #617780;
	line-height: 1.55;
}

.cgm-partner-process {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cgm-partner-process > div {
	background: #fff;
	border: 1px solid #dce6e9;
	border-radius: 18px;
	display: grid;
	gap: 8px;
	padding: 24px;
}

.cgm-partner-process b {
	align-items: center;
	background: #1465d8;
	border-radius: 50%;
	color: #fff;
	display: flex;
	height: 34px;
	justify-content: center;
	margin-bottom: 6px;
	width: 34px;
}

.cgm-signup {
	background: #f5f8f9;
	padding: 64px 0 88px;
}

.cgm-signup__layout {
	align-items: start;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.cgm-signup__intro {
	background: linear-gradient(145deg, #073f59, #126986);
	border-radius: 24px;
	color: #fff;
	padding: 38px;
	position: sticky;
	top: 24px;
}

.cgm-signup__intro p {
	font-size: 1.06rem;
	line-height: 1.65;
}

.cgm-signup__intro a {
	color: #fff !important;
	font-weight: 750;
}

.cgm-signup__checks {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 28px 0;
	padding: 0;
}

.cgm-partner-form {
	background: #fff;
	border: 1px solid #dce6e9;
	border-radius: 24px;
	box-shadow: 0 16px 48px rgba(17, 55, 69, 0.1);
	padding: 32px;
}

.cgm-partner-form h2 {
	font-size: 1.65rem;
	margin: 0 0 6px;
}

.cgm-partner-form__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 24px;
}

.cgm-partner-form__field {
	display: grid;
	font-weight: 700;
	gap: 8px;
}

.cgm-partner-form__field--wide {
	grid-column: 1 / -1;
}

.cgm-partner-form input,
.cgm-partner-form select,
.cgm-partner-form textarea {
	background: #fff !important;
	border: 1px solid #aabcc3 !important;
	border-radius: 11px !important;
	box-sizing: border-box;
	color: #17313b !important;
	font: inherit;
	min-height: 52px;
	padding: 12px 14px !important;
	width: 100%;
}

.cgm-partner-form textarea {
	min-height: 130px;
	resize: vertical;
}

.cgm-partner-consent {
	align-items: flex-start;
	display: flex;
	font-weight: 600;
	gap: 10px;
	line-height: 1.45;
	margin: 22px 0 14px;
}

.cgm-partner-consent input {
	flex: 0 0 auto;
	height: 20px !important;
	min-height: 0 !important;
	width: 20px !important;
}

.cgm-form-notice {
	background: #eaf8ef;
	border-radius: 12px;
	color: #1a5b34;
	line-height: 1.55;
	margin: 20px 0;
	padding: 14px 16px;
}

.cgm-form-error {
	background: #fff1f0;
	border: 1px solid #e07a73;
	border-radius: 12px;
	color: #922b21;
	font-weight: 700;
	margin-bottom: 20px;
	padding: 14px 16px;
}

.cgm-partner-form .cgm-button,
.cgm-partner-status .cgm-button,
.cgm-partner-choice-card .cgm-button {
	display: inline-flex !important;
	opacity: 1 !important;
	visibility: visible !important;
}

.cgm-partner-form .cgm-button {
	min-height: 56px !important;
	width: 100% !important;
}

.cgm-partner-status {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 16px 48px rgba(17, 55, 69, 0.1);
	margin: 20px auto;
	max-width: 760px;
	padding: 48px;
	text-align: center;
}

.cgm-partner-status .cgm-partner-icon {
	margin: 0 auto;
}

.cgm-partner-status__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 24px;
}

.cgm-honeypot {
	left: -10000px;
	position: absolute;
	top: auto;
}

@media (max-width: 767px) {
	.cgm-brandbar__inner {
		flex-wrap: wrap;
	}

	.cgm-brandbar__tagline {
		display: none;
	}

	.cgm-brandbar__nav {
		display: grid;
		flex: 0 0 100%;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 8px 0 0;
		width: 100%;
	}

	.cgm-brandbar__nav a {
		font-size: 0.82rem;
		min-height: 40px;
		padding: 0 8px;
	}

	.cgm-partner-hero,
	.cgm-signup {
		padding: 38px 0;
	}

	.cgm-partner-hero h1,
	.cgm-signup__intro h1 {
		font-size: 2.25rem;
	}

	.cgm-partner-choice-grid,
	.cgm-partner-benefit-grid,
	.cgm-partner-process,
	.cgm-signup__layout,
	.cgm-partner-form__grid {
		grid-template-columns: 1fr;
	}

	.cgm-partner-form__field--wide {
		grid-column: auto;
	}

	.cgm-signup__intro {
		padding: 28px 22px;
		position: static;
	}

	.cgm-partner-form {
		border-radius: 18px;
		padding: 24px 18px;
	}

	.cgm-partner-status {
		padding: 36px 20px;
	}

	.cgm-partner-status__actions .cgm-button {
		width: 100% !important;
	}
}

/* ==========================================================================
 * 0.4.2 – UI-/Responsive-Korrektur (nur Optik, keine Logikaenderung)
 * 1) Reiter: garantiert eine Reihe, garantiert identischer Inaktiv-Stil.
 * 2) Mobile PLZ-Suche: sichtbar kompakter.
 * Dieser Block steht bewusst am Dateiende, damit er aeltere Regeln
 * (inkl. der minifizierten Bloecke weiter oben) sicher ueberschreibt.
 * ========================================================================== */

/* --- 1) Reiter: keine kategoriespezifische Abweichung, egal welcher --- */
.cgm-marketplace .cgm-service-tabs > .cgm-service-tab:not(.is-active),
.cgm-marketplace .cgm-service-tabs > .cgm-service-tab:not(.is-active) * {
	background-image: none !important;
	border-color: transparent !important;
}

.cgm-marketplace .cgm-service-tabs > .cgm-service-tab:not(.is-active) {
	background-color: var(--cgm-tab-bg) !important;
	color: var(--cgm-tab-color) !important;
}

.cgm-marketplace .cgm-service-tabs > .cgm-service-tab:not(.is-active) .cgm-service-tab__icon,
.cgm-marketplace .cgm-service-tabs > .cgm-service-tab:not(.is-active) .cgm-service-tab__icon svg,
.cgm-marketplace .cgm-service-tabs > .cgm-service-tab:not(.is-active) strong {
	color: var(--cgm-tab-color) !important;
	stroke: currentColor !important;
}

/* --- 2) Mobile: kompaktere PLZ-Suchbox --- */
@media (max-width: 767px) {
	.cgm-marketplace .cgm-search {
		gap: 10px !important;
		grid-template-columns: 1fr !important;
		padding: 12px 14px 14px !important;
	}

	.cgm-marketplace .cgm-search-field {
		align-items: center !important;
		gap: 10px !important;
		min-height: 48px !important;
		padding: 6px 12px !important;
	}

	.cgm-marketplace .cgm-search-field > svg {
		height: 18px !important;
		width: 18px !important;
	}

	.cgm-marketplace .cgm-search-field > span {
		gap: 0 !important;
		margin-bottom: 0 !important;
	}

	.cgm-marketplace .cgm-search-field strong {
		font-size: 0.67rem !important;
		letter-spacing: 0.02em !important;
		line-height: 1.15 !important;
		margin: 0 !important;
	}

	.cgm-marketplace .cgm-search-field input {
		font-size: 0.9rem !important;
		line-height: 1.3 !important;
		min-height: 20px !important;
	}

	.cgm-marketplace .cgm-search__submit {
		min-height: 46px !important;
		min-width: 0 !important;
		padding-block: 0 !important;
		padding-inline: 18px !important;
	}

	.cgm-marketplace .cgm-search-benefits {
		gap: 6px 14px !important;
		padding: 10px 14px 11px !important;
	}
}

/* --- 3) Sehr schmale Geraete (360 px): Reiter bleiben in EINER Reihe --- */
@media (max-width: 420px) {
	.cgm-marketplace .cgm-service-tabs {
		--cgm-tab-min-height: 48px;
		--cgm-tab-padding-block: 8px;
		--cgm-tab-padding-inline: 2px;
		--cgm-tab-gap: 5px;
		--cgm-tab-icon-size: 15px;
		--cgm-tab-font-size: 0.7rem;
	}

	.cgm-marketplace .cgm-service-tab::after {
		left: 5px;
		right: 5px;
	}
}

/* ==========================================================================
 * 0.4.3 – HEADER-KORREKTUR (ausschliesslich Brandbar: Logo + Navigation)
 * Bewusst am Dateiende, damit dieser Block die aelteren Header-Regeln
 * ueberschreibt. Es werden KEINE Such-Reiter-, PLZ-, Such- oder Hero-Regeln
 * angefasst – der freigegebene Suchbereich bleibt unveraendert.
 * ========================================================================== */

/* ---------- 1) Original-Logo: unveraendert, aber deutlich groesser ---------- */
.cgm-marketplace .cgm-brandbar__logo {
	display: block;
	height: auto !important;
	max-height: 76px !important;
	max-width: 320px !important;
	object-fit: contain;
	width: auto !important;
}

.cgm-marketplace .cgm-brandbar__inner {
	align-items: center;
	column-gap: 24px;
	min-height: 100px;
}

/* ---------- 2) Desktop-Navigation: drei gleichwertige Elemente ---------- */
.cgm-marketplace .cgm-brandbar__nav {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	margin-left: auto;
}

.cgm-marketplace .cgm-brandbar__nav a {
	align-items: center;
	background: transparent;
	border: 1px solid #dbe4ea;
	border-radius: 999px;
	box-shadow: none;
	color: #264450 !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 750;
	justify-content: center;
	line-height: 1.15;
	min-height: 46px;
	padding: 0 20px;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.cgm-marketplace .cgm-brandbar__nav a:hover {
	background: #f2f6fa;
	border-color: #c6d4de;
	color: #264450 !important;
}

/* Primaerer/aktiver Navigationspunkt – dezent hervorgehoben, gleiche Metrik */
.cgm-marketplace .cgm-brandbar__nav a.is-active,
.cgm-marketplace .cgm-brandbar__nav a.is-active:hover {
	background: #eaf2ff;
	border-color: #c2daf9;
	color: #135fca !important;
}

/* ---------- 3) Mobile-Header: Logo oben, darunter symmetrische Gruppe ----------
 * Drei vollstaendige Labels passen bei 360 px nicht ohne Kuerzung in eine
 * Reihe (Messwerte siehe Pruefprotokoll), deshalb die ausdruecklich
 * erlaubte Alternative: drei exakt gleich breite Buttons untereinander.
 */
@media (max-width: 767px) {
	.cgm-marketplace .cgm-brandbar__inner {
		align-items: center;
		column-gap: 12px;
		flex-wrap: wrap;
		min-height: 0;
		padding-block: 8px 10px;
		padding-inline: 8px;
		row-gap: 0;
	}

	.cgm-marketplace .cgm-brandbar__brand {
		flex: 0 0 100%;
		justify-content: center;
		margin: 0;
	}

	.cgm-marketplace .cgm-brandbar__logo {
		margin-inline: auto;
		max-height: 58px !important;
		max-width: 76vw !important;
	}

	/* Alle drei Navigationspunkte in EINER Reihe, einzeilig, vollstaendig
	   lesbar. Zum Passen bei 360 px werden ausschliesslich Schriftgroesse,
	   horizontales Padding, Button-Abstand, aeusserer Header-Abstand und
	   Border-Radius reduziert – keine Textkuerzung, kein Umbruch, kein Scroll. */
	.cgm-marketplace .cgm-brandbar__nav {
		display: flex;
		flex: 0 0 100%;
		flex-wrap: nowrap;
		gap: 4px;
		justify-content: center;
		margin: 6px 0 0;
		width: 100%;
	}

	.cgm-marketplace .cgm-brandbar__nav a {
		border-radius: 10px;
		flex: 0 1 auto;
		/* Fluide Groesse: passt sich der Viewportbreite an und bleibt damit
		   auch unterhalb von 360 px und bei breiteren Systemschriften
		   einzeilig und vollstaendig sichtbar. */
		font-size: clamp(0.56rem, 2.85vw, 0.72rem);
		min-height: 40px;
		overflow: visible;
		padding: 0 5px;
		text-overflow: clip;
		white-space: nowrap;
	}
}

/* =========================================================================
   0.4.2 – Zweistufiges Anfrageformular und kompakte Bestätigungsseite
   Mobile First. Bestehende Suche, Hero, Karten und Reiter bleiben unberührt.
   ========================================================================= */
.cgm-steps{display:flex;gap:8px;padding:14px 18px 0}
.cgm-steps__item{flex:1;display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:11px;
	background:var(--cgm-soft);border:1px solid var(--cgm-border);font-size:.78rem;font-weight:750;color:var(--cgm-muted)}
.cgm-steps__item.is-active{background:#e8f0f2;border-color:var(--cgm-teal);color:var(--cgm-navy)}
.cgm-steps__item.is-done{color:var(--cgm-success);border-color:#bfe3d2;background:#eef8f3}
.cgm-steps__num{flex:0 0 22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;
	background:var(--cgm-border);color:var(--cgm-navy);font-size:.72rem;font-weight:800}
.cgm-steps__item.is-active .cgm-steps__num{background:var(--cgm-orange);color:#fff}
.cgm-steps__item.is-done .cgm-steps__num{background:var(--cgm-success);color:#fff}
.cgm-step{padding:16px 18px 20px}
.cgm-step[hidden]{display:none}
.cgm-step__title{font-size:1.02rem;font-weight:800;color:var(--cgm-navy);margin:4px 0 12px}
.cgm-step .cgm-form-grid{display:grid;gap:13px;grid-template-columns:1fr}
.cgm-step .cgm-field--wide{grid-column:1/-1}
.cgm-step__nav{display:grid;gap:9px;margin-top:16px}
.cgm-step__extra{padding:0 18px 18px;text-align:center}
.cgm-marketplace .cgm-button--ghost{background:#fff!important;color:var(--cgm-navy)!important;
	-webkit-text-fill-color:var(--cgm-navy)!important;border:1px solid var(--cgm-border)!important;box-shadow:none!important}
.cgm-marketplace .cgm-button[disabled]{opacity:.65!important;cursor:not-allowed!important}
.cgm-consent{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:11px 0;min-height:46px;
	font-size:.82rem;color:var(--cgm-muted);cursor:pointer}
.cgm-consent input{margin-top:3px;width:20px;height:20px;flex:0 0 20px}
.cgm-partner-chip{display:flex;gap:10px;align-items:center;margin:10px 18px 0;padding:10px 12px;
	border-radius:12px;background:#e8f0f2;border:1px solid #cfe0e4;font-size:.82rem}
.cgm-partner-chip[hidden]{display:none}
.cgm-partner-chip strong{color:var(--cgm-navy);font-weight:800}
.cgm-form-error{margin:14px 18px 0;padding:10px 12px;border-radius:11px;background:#fdf0ef;
	border:1px solid #f3cdc9;color:var(--cgm-error);font-size:.82rem;font-weight:700}
.cgm-form-debug{margin:8px 18px 0;padding:9px 11px;border-radius:10px;background:#fff8e7;
	border:1px solid #efd99b;color:#6d5415;font-size:.72rem;line-height:1.45;overflow-wrap:anywhere}
.cgm-form-debug strong{font-weight:800}

.cgm-confirmation.cgm-confirmation--compact{padding-block:26px;min-height:0}
.cgm-confirmation--compact .cgm-confirmation__card{max-width:560px;padding:24px 20px;border-radius:18px}
.cgm-confirmation--compact .cgm-confirmation__icon{width:52px;height:52px;margin:0 auto 14px}
.cgm-confirmation--compact .cgm-confirmation__icon svg{width:27px;height:27px}
.cgm-confirmation--compact .cgm-confirmation__card h1{font-size:1.32rem;line-height:1.3;margin-bottom:8px}
.cgm-confirmation--compact .cgm-confirmation__card>p{font-size:.9rem;margin:0 auto 10px;max-width:none}
.cgm-confirmation__reassure{display:inline-block;padding:7px 13px;border-radius:999px;background:#eef8f3;
	color:var(--cgm-success);font-size:.83rem;font-weight:800;margin-bottom:18px}
.cgm-confirmation--compact .cgm-confirmation__steps{grid-template-columns:1fr;gap:8px;margin-bottom:18px}
.cgm-confirmation--compact .cgm-confirmation__steps span{padding:11px 12px;font-size:.83rem}
.cgm-confirmation--compact .cgm-confirmation__steps strong{color:#fff}

@media(min-width:768px){
	.cgm-step .cgm-form-grid{grid-template-columns:1fr 1fr}
	.cgm-step__nav{grid-auto-flow:column;justify-content:end}
	.cgm-step__nav .cgm-button{min-width:190px}
	.cgm-confirmation--compact .cgm-confirmation__steps{grid-template-columns:repeat(3,1fr)}
}

/* ==========================================================================
 * 0.6.0 – Neue Bausteine: groessere Service-Icons, Premium-Siegel,
 * Zwischen-CTAs, FAQ, Anwalt-Landingpage und Kunden-Statusabfrage.
 *
 * Der Block steht bewusst am Dateiende und ist rein additiv: bestehende
 * Suche, Hero, Karten, Reiter und das Anfrageformular bleiben unveraendert.
 * ========================================================================== */

/* --- Lange Fachbegriffe duerfen nie horizontal ueberlaufen --- */
.cgm-marketplace h1,
.cgm-marketplace h2,
.cgm-marketplace h3 {
	hyphens: auto;
	overflow-wrap: break-word;
}

/* --- 1) Service-Icons deutlich groesser und optisch mittig --- */
.cgm-marketplace .cgm-service-tabs {
	--cgm-tab-icon-size: 27px;
	--cgm-tab-min-height: 70px;
	--cgm-tab-gap: 10px;
}

.cgm-marketplace .cgm-service-tab .cgm-service-tab__icon svg {
	stroke-width: 1.7;
}

@media (max-width: 767px) {
	/* Mobile: Icon ueber der Beschriftung – dadurch bleiben alle drei Reiter
	   in EINER Reihe und das Icon darf trotzdem 24–26 px gross sein. */
	.cgm-marketplace .cgm-service-tabs {
		--cgm-tab-icon-size: 25px;
		--cgm-tab-min-height: 62px;
		--cgm-tab-gap: 4px;
		--cgm-tab-font-size: 0.74rem;
	}

	.cgm-marketplace button.cgm-service-tab {
		flex-direction: column;
		justify-content: center;
		padding-inline: 2px;
	}
}

@media (max-width: 420px) {
	.cgm-marketplace .cgm-service-tabs {
		--cgm-tab-icon-size: 24px;
		--cgm-tab-min-height: 60px;
		--cgm-tab-gap: 3px;
		--cgm-tab-font-size: 0.68rem;
	}
}

/* --- 2) Premium-Siegel auf der Suchergebnis-Karte --- */
.cgm-partner-card__badges {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 8px;
}

.cgm-partner-card__badges .cgpp-premium-seal {
	flex: 0 0 auto;
}

/* --- 3) Zwischen-CTA und Partner-CTA --- */
.cgm-legal-cta,
.cgm-partner-cta {
	align-items: center;
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 20px;
	box-shadow: 0 14px 38px rgba(6, 63, 86, 0.08);
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) auto;
	padding: 26px 28px;
}

.cgm-partner-cta {
	background: linear-gradient(135deg, #f4f8f9 0%, #ffffff 65%);
}

.cgm-legal-cta h2,
.cgm-partner-cta h2 {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	margin-bottom: 10px;
}

.cgm-legal-cta p,
.cgm-partner-cta p {
	margin: 0;
	max-width: 62ch;
}

.cgm-legal-cta .cgm-button,
.cgm-partner-cta .cgm-button {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.cgm-legal-cta,
	.cgm-partner-cta {
		border-radius: 16px;
		grid-template-columns: 1fr;
		padding: 20px 18px;
	}

	.cgm-legal-cta .cgm-button,
	.cgm-partner-cta .cgm-button {
		justify-content: center;
		white-space: normal;
		width: 100%;
	}
}

/* --- 4) FAQ --- */
.cgm-faq-list {
	display: grid;
	gap: 10px;
	margin-inline: auto;
	max-width: 900px;
}

.cgm-faq-item {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 14px;
	padding: 4px 18px;
}

.cgm-faq-item > summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	list-style: none;
	padding: 14px 0;
}

.cgm-faq-item > summary::-webkit-details-marker {
	display: none;
}

.cgm-faq-item > summary::after {
	border-bottom: 2px solid var(--cgm-teal);
	border-right: 2px solid var(--cgm-teal);
	content: "";
	flex: 0 0 auto;
	height: 9px;
	/* Der um 45° gedrehte Pfeil ragt sonst 2 px über seine Layoutbox hinaus. */
	margin-inline: 2px;
	transform: rotate(45deg);
	transition: transform 0.18s ease;
	width: 9px;
}

.cgm-faq-item[open] > summary::after {
	transform: rotate(-135deg);
}

.cgm-faq-item summary h3 {
	font-size: 1.02rem;
	margin: 0;
}

.cgm-faq-item > p {
	color: var(--cgm-muted);
	margin: 0;
	padding: 0 0 16px;
}

.cgm-faq-item > summary:focus-visible {
	border-radius: 10px;
	outline: 3px solid var(--cgm-action);
	outline-offset: 2px;
}

/* --- 5) Aktenzeichen auf der Bestaetigungsseite --- */
.cgm-reference {
	background: #f2f7fd;
	border: 1px dashed #b9d2f2;
	border-radius: 14px;
	display: block;
	margin: 0 auto 18px;
	max-width: 420px;
	padding: 14px 16px;
	text-align: center;
}

.cgm-reference > span {
	color: var(--cgm-muted);
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgm-reference > strong {
	color: var(--cgm-navy);
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 1.5rem;
	letter-spacing: 0.08em;
	margin: 4px 0 6px;
}

.cgm-reference > small {
	color: var(--cgm-muted);
	display: block;
	font-size: 0.8rem;
}

.cgm-confirmation__actions {
	display: grid;
	gap: 10px;
	margin-inline: auto;
	max-width: 420px;
}

@media (min-width: 768px) {
	.cgm-confirmation__actions {
		grid-auto-flow: column;
		justify-content: center;
		max-width: none;
	}
}

/* --- 6) Anwalt-Landingpage --- */
.cgm-search-panel--slim .cgm-search {
	padding: 18px 20px;
}

.cgm-lawyer-intro {
	align-items: start;
	display: grid;
	gap: 26px;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
}

.cgm-lawyer-disclaimer {
	background: var(--cgm-soft);
	border: 1px solid var(--cgm-border);
	border-left: 4px solid var(--cgm-orange);
	border-radius: 16px;
	padding: 20px;
}

.cgm-lawyer-disclaimer h3 {
	font-size: 1.12rem;
	margin: 12px 0 8px;
}

.cgm-lawyer-disclaimer p {
	color: var(--cgm-muted);
	font-size: 0.92rem;
}

.cgm-lawyer-disclaimer p:last-child {
	margin-bottom: 0;
}

.cgm-check-list {
	display: grid;
	gap: 9px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cgm-check-list li {
	align-items: flex-start;
	display: flex;
	gap: 10px;
}

.cgm-check-list li svg {
	color: var(--cgm-success);
	flex: 0 0 auto;
	height: 20px;
	margin-top: 2px;
	width: 20px;
}

.cgm-trust-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cgm-trust-grid > div {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 16px;
	display: grid;
	gap: 6px;
	padding: 20px;
}

.cgm-trust-grid svg {
	color: var(--cgm-teal);
	height: 26px;
	width: 26px;
}

.cgm-trust-grid strong {
	color: var(--cgm-navy);
	font-size: 1.02rem;
}

.cgm-trust-grid span {
	color: var(--cgm-muted);
	font-size: 0.92rem;
}

.cgm-linkout {
	background: var(--cgm-soft);
	border-radius: 16px;
	padding: 18px 22px;
}

.cgm-linkout p {
	margin: 0;
}

@media (max-width: 900px) {
	.cgm-lawyer-intro {
		grid-template-columns: 1fr;
	}
}

/* --- 7) Kunden-Statusabfrage --- */
.cgm-status-layout {
	align-items: start;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.cgm-statuspage h1 {
	font-size: clamp(2rem, 5vw, 3.2rem);
}

.cgm-status-panel {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 20px;
	box-shadow: 0 16px 40px rgba(6, 63, 86, 0.1);
	padding: 22px;
}

.cgm-status-panel fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.cgm-status-panel legend {
	color: var(--cgm-navy);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.03em;
	margin-bottom: 8px;
	padding: 0;
	text-transform: uppercase;
}

.cgm-status-panel .cgm-field {
	display: block;
}

.cgm-status-panel .cgm-field > span {
	color: var(--cgm-muted);
	display: block;
	font-size: 0.82rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.cgm-status-panel input[type="text"] {
	border: 1px solid var(--cgm-border);
	border-radius: 12px;
	font: inherit;
	min-height: 48px;
	padding: 10px 13px;
	width: 100%;
}

.cgm-status-panel .cgm-form-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}

.cgm-status-or {
	align-items: center;
	color: var(--cgm-muted);
	display: grid;
	font-size: 0.8rem;
	font-weight: 800;
	gap: 10px;
	grid-template-columns: 1fr auto 1fr;
	margin: 16px 0;
	text-transform: uppercase;
}

.cgm-status-or::before,
.cgm-status-or::after {
	background: var(--cgm-border);
	content: "";
	height: 1px;
}

.cgm-status-note {
	color: var(--cgm-muted);
	font-size: 0.8rem;
	margin: 8px 0 0;
}

.cgm-status-panel .cgm-button {
	margin-top: 18px;
}

.cgm-status-result {
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 20px;
	padding: 24px;
}

.cgm-status-result__head {
	align-items: center;
	border-bottom: 1px solid var(--cgm-border);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	justify-content: space-between;
	padding-bottom: 16px;
}

.cgm-status-ref {
	color: var(--cgm-navy);
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 1.3rem;
	letter-spacing: 0.07em;
}

.cgm-status-result__meta {
	color: var(--cgm-muted);
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	font-size: 0.9rem;
}

.cgm-status-current {
	background: var(--cgm-soft);
	border-radius: 16px;
	margin: 18px 0;
	padding: 18px 20px;
}

.cgm-status-current h3 {
	font-size: 1.25rem;
	margin: 4px 0 8px;
}

.cgm-status-current p {
	margin: 0 0 8px;
}

.cgm-status-current small {
	color: var(--cgm-muted);
	font-size: 0.82rem;
}

.cgm-status-due strong {
	color: var(--cgm-navy);
}

.cgm-status-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cgm-status-timeline li {
	border-left: 3px solid var(--cgm-teal);
	margin-bottom: 14px;
	padding: 2px 0 2px 16px;
}

.cgm-status-timeline strong {
	color: var(--cgm-navy);
	display: block;
	font-size: 1rem;
}

.cgm-status-timeline > li > span {
	color: var(--cgm-muted);
	font-size: 0.82rem;
}

.cgm-status-timeline p {
	margin: 6px 0 0;
}

.cgm-status-images {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 10px;
}

.cgm-status-images img {
	border: 1px solid var(--cgm-border);
	border-radius: 12px;
	height: 110px;
	object-fit: cover;
	width: 150px;
}

.cgm-status-hint {
	color: var(--cgm-muted);
	font-size: 0.9rem;
	margin: 4px 0 0;
}

@media (max-width: 900px) {
	.cgm-status-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.cgm-status-panel .cgm-form-grid {
		grid-template-columns: 1fr;
	}

	.cgm-status-images img {
		height: 92px;
		width: 122px;
	}

	.cgm-status-result {
		padding: 18px 16px;
	}
}

/* --- 8) Kein horizontaler Scrollbalken durch die Vollbreiten-Sektionen ---
 * Der Marktplatz ist bewusst „full bleed“ (width:100vw). 100vw enthaelt in
 * klassischen Browsern die Breite des vertikalen Scrollbalkens; dadurch ragt
 * der Bereich um wenige Pixel ueber den sichtbaren Inhaltsbereich hinaus.
 * `overflow-x: clip` schneidet ausschliesslich diesen Ueberstand ab und
 * erzeugt – anders als `hidden` – keinen neuen Scroll-Container, sodass
 * position:sticky und position:fixed des Themes unveraendert funktionieren.
 * Die Regel greift nur auf Seiten, die den Marktplatz tatsaechlich enthalten.
 */
html:has(.cgm-marketplace),
body:has(.cgm-marketplace) {
	overflow-x: clip;
}

/* --- 9) Lange Fachbegriffe in den neuen Hero-Bereichen --- */
.cgm-hero--lawyer h1 {
	font-size: clamp(1.7rem, 4.6vw, 3.4rem);
}

.cgm-hero--lawyer .cgm-hero__copy p {
	max-width: 58ch;
}

/* ==========================================================================
 * 0.6.1 – Korrekturpatch fuer /verkehrsrechtsanwalt/ und /auftragsstatus/
 *
 * Beide Seiten nutzen ausschliesslich den globalen Website-Header. Im
 * Seiteninhalt gibt es kein zusaetzliches Logo, keinen Hero-Block und keine
 * uebergrosse Typografie. Startseite, Anfrageformular, Suche, Karten und
 * Premium-Siegel bleiben unveraendert.
 * ========================================================================== */

/* --- Verbindliche H1-Groessen: Anwalt-Seite (0.6.2: 29/36/46 px) --- */
.cgm-marketplace.cgm-lawyer--compact h1 {
	font-size: 29px;          /* Mobile: maximal 29 px */
	line-height: 1.15;
	margin-bottom: 14px;
}

/* --- Verbindliche H1-Groessen: Statusseite (0.6.2: 28/34/42 px) --- */
.cgm-marketplace.cgm-statuspage--compact h1 {
	font-size: 28px;          /* Mobile: maximal 28 px */
	line-height: 1.15;
	margin-bottom: 12px;
}

@media (min-width: 768px) {
	.cgm-marketplace.cgm-lawyer--compact h1 { font-size: 36px; }      /* Tablet */
	.cgm-marketplace.cgm-statuspage--compact h1 { font-size: 34px; }  /* Tablet */
}

@media (min-width: 1025px) {
	.cgm-marketplace.cgm-lawyer--compact h1 { font-size: 46px; }      /* Desktop */
	.cgm-marketplace.cgm-statuspage--compact h1 { font-size: 42px; }  /* Desktop */
}

/* --- Kompakter Seitenstart ohne Hero --- */
.cgm-marketplace.cgm-lawyer--compact .cgm-section--lead,
.cgm-marketplace.cgm-statuspage--compact .cgm-section--status {
	padding-block: 28px 18px;
}

.cgm-lead {
	max-width: 900px;
}

.cgm-lead__text {
	color: var(--cgm-muted);
	font-size: 1.02rem;
	margin: 0;
	max-width: 68ch;
}

.cgm-lawyer--compact .cgm-section {
	padding-block: 30px;
}

.cgm-lawyer--compact .cgm-section h2 {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	line-height: 1.2;
}

.cgm-lawyer--compact .cgm-section h3 {
	font-size: 1.05rem;
}

.cgm-statuspage--compact .cgm-status-intro p {
	margin-bottom: 14px;
}

/* --- Abschluss-CTA der Anwalt-Seite --- */
.cgm-lawyer-cta {
	align-items: center;
	background: var(--cgm-white);
	border: 1px solid var(--cgm-border);
	border-radius: 20px;
	box-shadow: 0 14px 38px rgba(6, 63, 86, 0.08);
	display: grid;
	gap: 22px;
	grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
	padding: 26px 28px;
}

.cgm-lawyer-cta h2 {
	hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

.cgm-lawyer-cta--unavailable {
	grid-template-columns: minmax(0, 1fr);
}

.cgm-lawyer-cta--unavailable .cgm-lawyer-cta__copy {
	max-width: 760px;
}

.cgm-lawyer-cta--unavailable .cgm-lawyer-cta__actions {
	min-width: 0;
	max-width: 760px;
}

.cgm-lawyer-cta__copy p {
	margin: 0;
	max-width: 62ch;
}

.cgm-lawyer-cta__actions {
	display: grid;
	gap: 10px;
	min-width: 260px;
}

.cgm-lawyer-cta__actions .cgm-button {
	justify-content: center;
	width: 100%;
}

.cgm-lawyer-contact {
	background: var(--cgm-soft);
	border-radius: 14px;
	display: grid;
	gap: 2px;
	margin-top: 16px;
	padding: 14px 16px;
}

.cgm-lawyer-contact > span {
	color: var(--cgm-muted);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cgm-lawyer-contact > strong {
	color: var(--cgm-navy);
	font-size: 1.05rem;
}

.cgm-lawyer-contact > small {
	color: var(--cgm-muted);
	font-size: 0.86rem;
}

.cgm-lawyer-contact > a {
	font-size: 0.88rem;
	font-weight: 700;
	justify-self: start;
	margin-top: 4px;
}

@media (max-width: 767px) {
	.cgm-lawyer-cta {
		border-radius: 16px;
		grid-template-columns: 1fr;
		padding: 20px 18px;
	}

	.cgm-lawyer-cta__actions {
		min-width: 0;
	}
}


/* ==========================================================================
 * 0.6.2 – Eigenstaendiges Seitentemplate von /verkehrsrechtsanwalt/ und
 * /auftragsstatus/. Der kompakte Plugin-Header bleibt der einzige Header;
 * das Theme rendert auf diesen beiden Seiten weder Logo noch Seitentitel.
 * ========================================================================== */
body.cgm-standalone-page {
	background: var(--cgm-white, #ffffff);
	margin: 0;
}

body.cgm-standalone-page .cgm-standalone-main {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Auf diesen Seiten steht der Marktplatz-Block direkt im Body: der
   Vollbreiten-Ausgleich fuer Theme-Container wird dort nicht gebraucht. */
body.cgm-standalone-page .cgm-standalone-main > .cgm-marketplace {
	margin-inline: 0;
	width: 100%;
}

.cgm-admin-hint {
	background: #fff8e7;
	border: 1px solid #efd99b;
	border-radius: 10px;
	color: #6d5415;
	font-size: 0.82rem;
	margin: 10px 0 0;
	padding: 9px 11px;
}

/* 0.6.3 – sichere Anzeige, falls noch kein fester, sendefaehiger Anwalt zugeordnet ist. */
.cgm-lawyer-unavailable {
	background: var(--cgm-soft);
	border: 1px solid var(--cgm-border);
	border-radius: 12px;
	color: var(--cgm-muted);
	font-size: 0.92rem;
	margin: 0;
	padding: 12px 14px;
}
