/* KFZ Meisterbetrieb Cenk – Theme-Styles (eine Datei, Design-Tokens oben).
   Schrift und Grundfarben kommen aus theme.json. */

:root {
	--bg: #0e1014;
	--surface: #151922;
	--surface-2: #1b2029;
	--line: rgba(255, 255, 255, .1);
	--line-strong: rgba(255, 255, 255, .22);
	--text: #f4f5f7;
	--muted: #b4bbc6;
	--accent: #d62828;
	--accent-hover: #e63b3b;
	--accent-text: #ff8080;
	--light: #f1efea;
	--ink: #1a1d23;
	--ink-muted: #4a525e;
	--ink-accent: #b81f1f;
	--radius: 16px;
	--radius-sm: 10px;
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 72px;
	--shadow: 0 24px 60px rgba(0, 0, 0, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { height: auto; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 3px solid #ffb3b3; outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.cx-skip { position: fixed; z-index: 1000; top: -120px; left: 16px; padding: 12px 18px; border-radius: var(--radius-sm); background: #fff; color: #111; font-weight: 700; text-decoration: none; }
.cx-skip:focus { top: 12px; }
.cx-icon { flex: none; vertical-align: -.2em; }
.cx-main { display: block; }
.cx-main > section, .cx-main > header { position: relative; }
.cx-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Layout ---------- */
.cx-wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.cx-wrap--narrow { width: min(100% - var(--gutter) * 2, 820px); }
.cx-wrap--form { width: min(100% - var(--gutter) * 2, 860px); }
.cx-center { text-align: center; }
.cx-section { padding-block: clamp(64px, 9vw, 120px); }
.cx-section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.cx-section--light { background: var(--light); color: var(--ink); }
.cx-section--light .cx-lead, .cx-section--light p { color: var(--ink-muted); }
.cx-section--light h2, .cx-section--light h3 { color: var(--ink); }
.cx-section--light .cx-eyebrow { color: var(--ink-accent); }
.cx-section--light .cx-link { color: var(--ink-accent); }
.cx-section--light :focus-visible { outline-color: var(--ink-accent); }
.cx-section__foot { margin: clamp(28px, 4vw, 44px) 0 0; color: var(--muted); }
.cx-heading { max-width: 720px; margin: 0 0 clamp(32px, 5vw, 56px); }
.cx-center .cx-heading, .cx-heading.cx-center { margin-inline: auto; }
.cx-heading h2, .cx-section h2 { margin: 0; text-wrap: balance; }
.cx-heading .cx-lead { margin-top: 18px; }
.cx-eyebrow { margin: 0 0 14px; color: var(--accent-text); font-size: .8rem; font-weight: 650; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.cx-lead { max-width: 62ch; margin: 18px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.65; }
.cx-prose p, .cx-prose li { color: #d3d8df; }
.cx-prose > * + * { margin-top: 1.1em; }
.cx-prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.cx-prose ul { padding-left: 1.2em; }
.cx-prose li + li { margin-top: .4em; }
.cx-prose .cx-lead { color: var(--muted); }
.cx-h3 { margin: 0 0 18px; font-size: 1.35rem; }
.cx-note { margin-top: 1.4em; padding: 14px 18px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface-2); color: var(--muted); font-size: .92rem; line-height: 1.6; }
.cx-todo { padding: .05em .35em; border-radius: 4px; background: #ffe58a; color: #3a2d00; }
.cx-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-text); font-weight: 600; text-decoration: none; padding-block: 6px; }
.cx-link:hover { text-decoration: underline; }
.cx-link .cx-icon { transition: transform .25s var(--ease); }
.cx-link:hover .cx-icon { transform: translateX(4px); }
.is-placeholder { opacity: .55; border-style: dashed !important; cursor: not-allowed; }

/* ---------- Buttons ---------- */
.cx-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent); color: #fff; font: inherit; font-size: .98rem; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.cx-btn:hover, .wp-block-button__link:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214, 40, 40, .3); color: #fff; }
.cx-btn:active { transform: none; }
.cx-btn .cx-icon { transition: transform .25s var(--ease); }
.cx-btn:hover .cx-icon { transform: translateX(3px); }
.cx-btn--ghost { border-color: var(--line-strong); background: transparent; color: var(--text); }
.cx-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); box-shadow: none; }
.cx-btn--ghost .cx-icon { transition: none; }
.cx-btn--ghost:hover .cx-icon { transform: none; }
.cx-btn--sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
.cx-btn[disabled] { opacity: .6; pointer-events: none; }
.cx-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.cx-actions--center { justify-content: center; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
.cx-header { position: relative; border-bottom: 1px solid var(--line); }
/* Unschärfe auf Pseudo-Element: ein backdrop-filter am Header würde das Handy-Menü (position: fixed) einsperren. */
.cx-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 16, 20, .84); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.cx-header__inner { width: min(100% - var(--gutter) * 2, var(--wrap)); min-height: var(--header-h); margin-inline: auto; gap: 18px; }
.cx-brand { margin: 0; flex: none; line-height: 1; }
.cx-brand a { display: inline-flex; flex-direction: column; gap: 4px; color: #fff; text-decoration: none; }
.cx-brand__small { color: var(--muted); font-size: .66rem; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; }
.cx-brand__name { font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; }
.cx-brand__dot { color: var(--accent); }
.cx-nav { flex: 1 1 auto; justify-content: flex-end; }
.cx-nav .wp-block-navigation__container { gap: 4px; }
.cx-nav .wp-block-navigation-item__content { padding: 10px 14px; border-radius: 8px; color: #dfe3e9; font-size: .95rem; font-weight: 550; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.cx-nav .wp-block-navigation-item__content:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.cx-nav .current-menu-item > .wp-block-navigation-item__content, .cx-nav [aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.cx-header__actions { display: flex; flex: none; align-items: center; gap: 10px; }
.cx-nav .wp-block-navigation__responsive-container-open, .cx-nav .wp-block-navigation__responsive-container-close { color: #fff; }

/* eigener Umschaltpunkt für die Navigation (WordPress schaltet erst bei 600px um) */
@media (max-width: 1080px) {
	.cx-header .cx-nav .wp-block-navigation__responsive-container-open { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
	.cx-header .cx-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
	.cx-header .cx-nav { flex: 0 0 auto; margin-left: auto; }
}
@media (min-width: 1081px) {
	.cx-header .cx-nav .wp-block-navigation__responsive-container-open { display: none; }
	.cx-header .cx-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: block; position: static; background: none; }
}
.cx-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 24px var(--gutter); background-color: var(--bg) !important; color: var(--text) !important; }
.cx-nav .is-menu-open .wp-block-navigation-item__content, .cx-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: #fff !important; }
.cx-nav .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
.cx-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.cx-nav .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 18px 0; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.25rem; font-weight: 600; box-shadow: none; }
@media (max-width: 640px) {
	.cx-header__phone-text { display: none; }
	.cx-header__phone { padding-inline: 12px; }
	.cx-brand__name { font-size: 1.35rem; }
	.cx-header__inner { gap: 10px; }
}

@media (max-width: 400px) {
	.cx-header__inner { gap: 6px; }
	.cx-header__actions { gap: 6px; }
	.cx-header__actions .cx-btn--sm { padding-inline: 12px; }
	.cx-brand__name { font-size: 1.2rem; }
	.cx-brand__small { font-size: .58rem; letter-spacing: .16em; }
}

/* ---------- Hero ---------- */
.cx-hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, 86svh, 860px); overflow: clip; isolation: isolate; background: var(--bg); }
.cx-hero__media { position: absolute; inset: 0; z-index: -2; }
.cx-hero__picture, .cx-hero__img { display: block; width: 100%; height: 100%; }
.cx-hero__img { object-fit: cover; object-position: 72% center; }
.cx-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 16, 20, .94) 0%, rgba(14, 16, 20, .74) 36%, rgba(14, 16, 20, .12) 72%, rgba(14, 16, 20, 0) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(14, 16, 20, 0) 26%); }
.cx-hero__inner { padding-block: clamp(72px, 12vh, 140px); }
.cx-hero__copy { max-width: 640px; }
.cx-hero h1 { margin: 0; text-wrap: balance; }
.cx-hero .cx-lead { color: #dde1e8; }
.cx-hero__note { margin: 22px 0 0; color: #c3c9d3; font-size: .9rem; }
.cx-hero__badge { position: absolute; right: var(--gutter); bottom: 20px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(14, 16, 20, .72); color: #d9dee6; font-size: .75rem; letter-spacing: .04em; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (max-width: 760px) {
	.cx-hero { align-items: flex-end; min-height: max(620px, 88svh); }
	.cx-hero__img { object-position: 80% 40%; }
	.cx-hero__shade { background: linear-gradient(180deg, rgba(14, 16, 20, .45) 0%, rgba(14, 16, 20, .55) 34%, rgba(14, 16, 20, .96) 78%, var(--bg) 100%); }
	.cx-hero__inner { padding-block: 56px 72px; }
	.cx-hero .cx-actions .cx-btn { flex: 1 1 100%; }
}

/* ---------- Vertrauensleiste ---------- */
.cx-trust { border-block: 1px solid var(--line); background: var(--surface); }
.cx-trust__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 8px 24px; margin-block: 0; padding: 18px 0; list-style: none; }
.cx-trust__list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; color: #dde1e8; font-size: .95rem; font-weight: 550; }
.cx-trust__list .cx-icon { color: var(--accent-text); }

/* ---------- Karten ---------- */
.cx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.cx-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.cx-card:hover, .cx-card:focus-within { transform: translateY(-4px); border-color: rgba(255, 128, 128, .5); box-shadow: var(--shadow); }
.cx-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 6px; border-radius: 14px; background: rgba(214, 40, 40, .14); color: var(--accent-text); }
.cx-card__title { margin: 0; }
.cx-card__title a { color: #fff; text-decoration: none; }
.cx-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.cx-card p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.cx-card__more { margin-top: auto; padding-top: 10px; color: var(--accent-text); font-size: .92rem; font-weight: 600; }
.cx-card__more .cx-icon { transition: transform .25s var(--ease); }
.cx-card:hover .cx-card__more .cx-icon { transform: translateX(4px); }

/* ---------- Schritte ---------- */
.cx-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.cx-steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cx-steps h3 { margin: 18px 0 8px; }
.cx-steps p { margin: 0; color: var(--muted); line-height: 1.65; }
.cx-steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 750; }
.cx-section--light .cx-steps li { border-color: rgba(26, 29, 35, .12); background: #fff; }
.cx-section--light .cx-steps p { color: var(--ink-muted); }
.cx-section--surface .cx-steps li { background: var(--surface-2); }

/* ---------- Chips ---------- */
.cx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cx-chips li { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255, 255, 255, .04); color: #e6e9ee; font-size: .95rem; font-weight: 550; }

/* ---------- Split-Layout ---------- */
.cx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.cx-split--reverse .cx-split__body { order: 0; }
.cx-split--text { align-items: start; grid-template-columns: 5fr 7fr; }
.cx-split__media { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.cx-split__media img { display: block; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.cx-split__media figcaption { position: absolute; left: 14px; bottom: 14px; padding: 5px 12px; border-radius: 999px; background: rgba(14, 16, 20, .75); color: #d9dee6; font-size: .75rem; }
.cx-split__body h2 { margin: 0 0 20px; }
.cx-split__body p { color: var(--muted); }
.cx-quote { color: #fff !important; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); font-weight: 550; line-height: 1.45; letter-spacing: -.01em; }
@media (max-width: 860px) {
	.cx-split, .cx-split--text { grid-template-columns: 1fr; }
}

/* ---------- Einsatzgebiet-Teaser ---------- */
.cx-area { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(ellipse at 50% 50%, rgba(214, 40, 40, .2), transparent 62%), #12151b; }
.cx-area__rings { position: absolute; inset: -20%; background: radial-gradient(circle, #ff8080 0 4px, transparent 5px), repeating-radial-gradient(circle, rgba(255, 255, 255, .08) 0 1px, transparent 1px 56px); opacity: .9; mask-image: radial-gradient(circle, #000 25%, transparent 72%); -webkit-mask-image: radial-gradient(circle, #000 25%, transparent 72%); }
.cx-area__card { position: relative; width: min(100% - 40px, 340px); padding: 24px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(14, 16, 20, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cx-area__card span { color: var(--accent-text); font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.cx-area__card strong { display: block; margin: 6px 0 8px; font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.15; }
.cx-area__card p { margin: 0 0 8px; color: var(--muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.cx-faq { display: grid; gap: 12px; }
.cx-faq details, .cx-prose details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.cx-faq summary, .cx-prose summary { position: relative; display: block; padding: 20px 56px 20px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.cx-faq summary::-webkit-details-marker, .cx-prose summary::-webkit-details-marker { display: none; }
.cx-faq summary::after, .cx-prose summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent-text); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .25s var(--ease); }
.cx-faq details[open] summary::after, .cx-prose details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cx-faq details p, .cx-prose details p { margin: 0; padding: 0 22px 22px; color: var(--muted); }
.cx-faq details[open], .cx-prose details[open] { border-color: var(--line-strong); }

/* ---------- Abschluss-Band & Bewertungen ---------- */
.cx-cta { border-top: 1px solid var(--line); background: radial-gradient(ellipse at 85% 0%, rgba(214, 40, 40, .28), transparent 55%), var(--surface); padding-block: clamp(56px, 8vw, 96px); }
.cx-cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cx-cta h2 { margin: 0 0 12px; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.7rem); }
.cx-cta p { margin: 0; color: var(--muted); max-width: 52ch; }
.cx-cta .cx-actions { margin: 0; justify-content: flex-end; }
.cx-reviews { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cx-reviews h2 { margin: 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
@media (max-width: 860px) {
	.cx-cta__inner { grid-template-columns: 1fr; }
	.cx-cta .cx-actions { justify-content: flex-start; }
}

/* ---------- Unterseiten-Kopf ---------- */
.cx-pagehero { padding-block: clamp(56px, 9vw, 112px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 88% -10%, rgba(214, 40, 40, .26), transparent 55%), linear-gradient(180deg, var(--surface), var(--bg)); }
.cx-pagehero h1 { margin: 0; max-width: 18ch; text-wrap: balance; }
.cx-pagehero .cx-lead { max-width: 60ch; }
.cx-pagehero--thanks { text-align: center; }
.cx-pagehero--thanks h1, .cx-pagehero--thanks .cx-lead { margin-inline: auto; }
.cx-pagehero--thanks .cx-actions { justify-content: center; }
.cx-bigicon { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 20px; border-radius: 50%; background: rgba(214, 40, 40, .16); color: var(--accent-text); }
.wp-block-group.cx-pagehero { padding-inline: var(--gutter); }
.cx-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .88rem; }
.cx-crumbs a { color: var(--muted); }
.cx-crumbs a:hover { color: #fff; }
.cx-crumbs [aria-current] { color: #fff; }
.cx-main > .cx-section.cx-prose { padding-inline: var(--gutter); }
.cx-contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cx-contact__info { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
@media (max-width: 900px) { .cx-contact { grid-template-columns: 1fr; } }
.cx-area-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.cx-area-layout__copy p { color: var(--muted); }
@media (max-width: 900px) { .cx-area-layout { grid-template-columns: 1fr; } }

/* ---------- Kontaktliste, Social ---------- */
.cx-contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cx-contact-list li { display: flex; align-items: flex-start; gap: 12px; color: #dde1e8; line-height: 1.55; }
.cx-contact-list .cx-icon { margin-top: 2px; color: var(--accent-text); }
.cx-contact-list a { color: inherit; text-decoration-color: var(--line-strong); }
.cx-contact-list a:hover { color: #fff; text-decoration-color: currentColor; }
.cx-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.cx-social__link { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; color: #e6e9ee; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
a.cx-social__link:hover { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-2px); }

/* ---------- Footer ---------- */
.cx-footer { border-top: 1px solid var(--line); background: #0a0c10; }
.cx-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(48px, 7vw, 80px) 40px; }
.cx-footer__brand { margin: 0 0 12px; font-size: 1.3rem; font-weight: 750; letter-spacing: -.03em; }
.cx-footer__title { margin: 0 0 16px; color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.cx-footer p { color: var(--muted); font-size: .95rem; }
.cx-footer ul { margin: 0; padding: 0; list-style: none; }
.cx-footer .cx-footer__col ul:not(.cx-contact-list):not(.cx-social) li + li { margin-top: 8px; }
.cx-footer__col a:not(.cx-link) { color: #dde1e8; text-decoration: none; }
.cx-footer__col a:not(.cx-link):hover { color: #fff; text-decoration: underline; }
.cx-footer__legal { border-top: 1px solid var(--line); }
.cx-footer__legal-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.cx-footer__legal p { margin: 0; font-size: .88rem; }
.cx-footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.cx-footer__legal a { padding-block: 8px; color: #dde1e8; font-size: .9rem; display: inline-block; }
@media (max-width: 960px) { .cx-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cx-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Schnellkontakt-Leiste (nur Handy) ---------- */
.cx-mbar { display: none; }
@media (max-width: 781px) {
	.cx-mbar { position: fixed; z-index: 60; inset: auto 0 0; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); background: rgba(10, 12, 16, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
	.cx-mbar__item { display: flex; flex: 1 1 0; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: #fff; font-size: .95rem; font-weight: 650; text-decoration: none; }
	.cx-mbar__item--call, .cx-mbar__item--cta { border-color: var(--accent); background: var(--accent); }
	.cx-mbar__item--call + .cx-mbar__item--cta, .cx-mbar__item--cta:not(:only-child) { border-color: var(--line-strong); background: transparent; }
	.cx-mbar__item--cta:only-child { border-color: var(--accent); background: var(--accent); }
	.cx-footer { padding-bottom: 76px; }
}

/* ---------- Formular ---------- */
.cx-form { display: grid; gap: 28px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cx-fieldset { margin: 0; padding: 0; border: 0; }
.cx-fieldset legend { margin-bottom: 14px; padding: 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.cx-fieldset--choice { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-fieldset--choice legend { flex: 0 0 100%; }
.cx-choice { position: relative; flex: 1 1 220px; }
.cx-choice input { position: absolute; opacity: 0; inset: 0; }
.cx-choice span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.cx-choice span::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--line-strong); border-radius: 50%; transition: border-color .2s, background-color .2s; }
.cx-choice input:checked + span { border-color: var(--accent); background: rgba(214, 40, 40, .12); }
.cx-choice input:checked + span::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
.cx-choice input:focus-visible + span { outline: 3px solid #ffb3b3; outline-offset: 3px; }
.cx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.cx-field, .cx-field-group { min-width: 0; }
.cx-field-group[hidden] { display: none; }
.cx-field-group > .cx-field { height: 100%; }
.cx-field--wide { grid-column: 1 / -1; }
.cx-field label:not(.cx-check) { display: block; margin-bottom: 8px; font-size: .95rem; font-weight: 600; }
.cx-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .cx-field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.cx-field textarea { min-height: 150px; resize: vertical; }
.cx-field input:hover, .cx-field textarea:hover { border-color: rgba(255, 255, 255, .4); }
.cx-field input:focus, .cx-field textarea:focus { border-color: #ffb3b3; box-shadow: 0 0 0 3px rgba(255, 128, 128, .25); outline: none; }
.cx-field input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); background: var(--bg); color: var(--muted); font: inherit; }
.cx-field input[type="file"]::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--surface-2); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.cx-field__hint { margin: 8px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.cx-fieldset > .cx-field__hint { margin: -4px 0 18px; }
.cx-field__error { margin: 8px 0 0; color: #ff9d9d; font-size: .9rem; font-weight: 600; }
.cx-field__error[hidden] { display: none; }
.cx-field.has-error input, .cx-field.has-error textarea { border-color: #ff7070; }
.cx-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; line-height: 1.55; }
.cx-check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); }
.cx-check span { font-size: .95rem; color: #dde1e8; }
.cx-alert { padding: 18px 20px; border: 1px solid #ff7070; border-radius: var(--radius-sm); background: rgba(214, 40, 40, .12); }
.cx-alert p { margin: 6px 0 0; }
.cx-alert ul { margin: 8px 0 0; padding-left: 1.2em; }
.cx-alert a { color: #ffd0d0; }
@media (max-width: 640px) {
	.cx-grid { grid-template-columns: 1fr; }
	.cx-form .cx-btn { width: 100%; }
}

/* ---------- Einsatzgebiet-Karte ---------- */
.kfz-map-shell { position: relative; width: 100%; min-width: 0; aspect-ratio: 1.15; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 18px; background: #14171c; box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.kfz-live-map { position: absolute; inset: 0; z-index: 1; display: none; width: 100%; height: 100%; background: #14171c; }
.kfz-map-shell.is-loaded .kfz-live-map { display: block; }
.kfz-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(22px, 4vw, 42px); overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 75% 40%, rgba(214, 40, 40, .16), transparent 48%), linear-gradient(145deg, #20242c, #14171c); }
.kfz-map-placeholder::before { content: ""; position: absolute; z-index: -1; top: 50%; right: -14%; width: min(74%, 440px); aspect-ratio: 1; transform: translateY(-50%); border: 1px solid rgba(240, 75, 75, .55); border-radius: 50%; background: radial-gradient(circle, #f04b4b 0 5px, transparent 6px), radial-gradient(circle, rgba(214, 40, 40, .26) 0 100%, transparent 100%), repeating-radial-gradient(circle, rgba(255, 255, 255, .09) 0 1px, transparent 1px 46px); box-shadow: 0 0 70px rgba(214, 40, 40, .3); }
.kfz-map-shell.is-loaded .kfz-map-placeholder { display: none; }
.kfz-map-eyebrow { margin-bottom: 14px; color: var(--accent-text); font-size: .75rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.kfz-map-placeholder strong { display: block; max-width: 440px; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 750; letter-spacing: -.035em; line-height: 1.1; }
.kfz-map-placeholder p { max-width: 380px; margin: 12px 0 20px; color: #c9ced7; font-size: .95rem; line-height: 1.6; }
.kfz-map-load { min-height: 48px; padding: 12px 22px; border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--accent); color: #fff; font: inherit; font-weight: 650; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.kfz-map-load:hover { background: var(--accent-hover); transform: translateY(-2px); }
.kfz-map-load[disabled] { opacity: .7; cursor: progress; transform: none; }
.kfz-map-placeholder small { max-width: 400px; margin-top: 14px; color: #b9c0cb; font-size: .8rem; line-height: 1.55; }
.kfz-map-placeholder small a { color: var(--accent-text); }
@media (max-width: 640px) { .kfz-map-shell { aspect-ratio: .95; } }

.kfz-map-shell .leaflet-container { width: 100%; height: 100%; background: #14171c; color: #fff; font: inherit; }
.kfz-map-shell .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.62) contrast(.85) saturate(.2); }
.kfz-map-shell .leaflet-area-pane { opacity: .34; }
.kfz-map-shell .leaflet-pane > svg, .kfz-map-shell .leaflet-pane > canvas { max-width: none !important; max-height: none !important; }
.kfz-map-shell .leaflet-area-line-pane path, .kfz-map-shell .leaflet-area-pane path { filter: drop-shadow(0 0 12px rgba(240, 75, 75, .6)); }
.kfz-map-shell .leaflet-control-zoom { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.kfz-map-shell .leaflet-control-zoom a { width: 44px; height: 44px; border: 0; background: rgba(23, 26, 32, .94); color: #fff; font-size: 22px; line-height: 44px; }
.kfz-map-shell .leaflet-control-zoom a + a { border-top: 1px solid rgba(255, 255, 255, .14); }
.kfz-map-shell .leaflet-control-zoom a:hover, .kfz-map-shell .leaflet-control-zoom a:focus-visible { background: var(--accent); color: #fff; }
.kfz-map-shell .leaflet-container .leaflet-control-attribution { background: rgba(17, 19, 24, .88); color: #c3c8d1; font-size: 10.5px; }
.kfz-map-shell .leaflet-container .leaflet-control-attribution a { color: #f4a0a0; }
.kfz-map-shell .leaflet-popup-content-wrapper { border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: #1b1f26; color: #fff; box-shadow: 0 14px 36px rgba(0, 0, 0, .5); }
.kfz-map-shell .leaflet-popup-tip { background: #1b1f26; }
.kfz-map-shell .leaflet-popup-close-button { color: #aeb5c0; }
.kfz-map-shell .kfz-map-popup { font-size: .9rem; line-height: 1.5; }
.kfz-map-shell .kfz-map-popup strong { display: block; }
.kfz-map-shell .kfz-map-popup span { color: #c7ccd4; }
.kfz-map-pin { background: none; border: 0; }
.kfz-map-pin-dot { position: absolute; inset: 7px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 4px 16px rgba(0, 0, 0, .55); }
.kfz-map-pin-pulse { position: absolute; inset: 0; border-radius: 50%; background: rgba(240, 75, 75, .5); animation: kfz-pin-pulse 2.6s ease-out infinite; }
@keyframes kfz-pin-pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }
.kfz-map-legend { max-width: min(260px, 70vw); padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; background: rgba(17, 19, 24, .88); box-shadow: 0 10px 28px rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kfz-map-legend strong { display: block; margin-bottom: 3px; color: var(--accent-text); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.kfz-map-legend span { color: #e3e7ed; font-size: .86rem; line-height: 1.4; }

/* ---------- Bewegung ---------- */
.cx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.cx-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.cx-reveal { opacity: 1; transform: none; }
	.kfz-map-pin-pulse { animation: none; opacity: .35; transform: scale(1.6); }
}
@media print {
	header.wp-block-template-part, .cx-mbar, .cx-footer__col nav, .cx-hero__media { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ---------- Lebendigkeit (Animationen, Bildplätze, Nach-oben) ---------- */
.cx-reveal { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: no-preference) {

	.cx-hero__img { transform-origin: 70% 50%; animation: cx-kenburns 26s ease-out both; }
	.cx-hero__copy > * { animation: cx-rise .9s var(--ease) both; }
	.cx-hero__copy > :nth-child(1) { animation-delay: .1s; }
	.cx-hero__copy > :nth-child(2) { animation-delay: .22s; }
	.cx-hero__copy > :nth-child(3) { animation-delay: .34s; }
	.cx-hero__copy > :nth-child(4) { animation-delay: .46s; }
	.cx-hero__copy > :nth-child(5) { animation-delay: .58s; }
	.cx-pagehero .cx-wrap > * { animation: cx-rise .8s var(--ease) both; }
	.cx-pagehero .cx-wrap > :nth-child(2) { animation-delay: .1s; }
	.cx-pagehero .cx-wrap > :nth-child(3) { animation-delay: .2s; }
	.cx-area__rings { animation: cx-ring 9s ease-in-out infinite alternate; }
	.kfz-map-shell .leaflet-area-pane path { transform-box: fill-box; transform-origin: center; animation: cx-grow 1.4s var(--ease) both; }
	.cx-card__icon { transition: transform .35s var(--ease), background-color .25s; }
	.cx-card:hover .cx-card__icon { transform: rotate(-8deg) scale(1.1); background: rgba(214, 40, 40, .26); }
	.cx-social__link .cx-icon, .cx-contact-list .cx-icon { transition: transform .25s var(--ease); }
	.cx-contact-list li:hover .cx-icon { transform: scale(1.15); }
}
@keyframes cx-kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes cx-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes cx-ring { from { transform: scale(.94); opacity: .75; } to { transform: scale(1.06); opacity: 1; } }
@keyframes cx-grow { from { transform: scale(.05); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* Karten mit echtem Bild (assets/images/content/leistung-<slug>.webp) */
.cx-card--media { padding-top: 0; overflow: hidden; }
.cx-card--media .cx-card__icon { display: none; }
.cx-card__media { display: block; margin: 0 -28px 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.cx-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.cx-card--media:hover .cx-card__media img, .cx-card--media:focus-within .cx-card__media img { transform: scale(1.06); }

/* Schritte: Verbindungslinie (nur breite Ansicht) */
@media (min-width: 1000px) {
	.cx-steps { position: relative; }
	.cx-steps li { position: relative; z-index: 1; }
	.cx-steps::before, .cx-steps::after { content: ""; position: absolute; z-index: 0; top: 50px; left: 50px; right: 50px; height: 2px; border-radius: 2px; }
	.cx-steps::before { background: var(--line-strong); }
	.cx-steps::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
	.cx-steps.is-drawn::after { transform: scaleX(1); }
}
@media (min-width: 1000px) and (prefers-reduced-motion: reduce) { .cx-steps::after { transform: scaleX(1); transition: none; } }
html:not(.js-ready) .cx-steps::after { transform: scaleX(1); }

/* Nach oben + Handy-Leiste */
.cx-totop { position: fixed; z-index: 55; right: 16px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(21, 25, 34, .92); color: #fff; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease), background-color .2s, bottom .3s var(--ease); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cx-totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.cx-totop:hover { background: var(--accent); border-color: var(--accent); }
.cx-mbar { transition: transform .3s var(--ease); }
.cx-mbar.is-hidden { transform: translateY(115%); }
@media (max-width: 781px) {
	.cx-totop { bottom: 84px; }
	.cx-mbar-hidden .cx-totop { bottom: 20px; }
}
@media print { .cx-totop { display: none !important; } }
.cx-area__card .cx-count { color: #fff; font-size: inherit; font-weight: 700; letter-spacing: normal; text-transform: none; font-variant-numeric: tabular-nums; }

/* ---------- Bilder: Symbolbild-Chip, Galerie, Vorher/Nachher, Leistungs-Kopf ---------- */
.cx-chip-symbol { position: absolute; z-index: 2; right: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(14, 16, 20, .72); color: #e3e7ed; font-size: .68rem; font-weight: 600; letter-spacing: .04em; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cx-card__media, .cx-split__media, .cx-pagehero__media { position: relative; }
.cx-section__foot a { margin-left: 8px; }

.cx-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cx-gallery__link { position: relative; display: block; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); color: #fff; text-decoration: none; }
.cx-gallery__link img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.cx-gallery__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 12, 16, .9)); pointer-events: none; }
.cx-gallery__cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; font-size: .85rem; line-height: 1.4; }
.cx-gallery__cap strong { font-size: 1rem; }
.cx-gallery__cap span { color: #d1d6de; }
.cx-gallery__link .cx-chip-symbol { top: 10px; right: 10px; bottom: auto; }
.cx-gallery__link:hover img, .cx-gallery__link:focus-visible img { transform: scale(1.06); }
@media (max-width: 1000px) { .cx-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cx-gallery { gap: 12px; } .cx-gallery__cap span { display: none; } }

.cx-lightbox { width: min(96vw, 1100px); max-width: none; max-height: 92vh; margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: #0a0c10; color: #fff; overflow: hidden; }
.cx-lightbox::backdrop { background: rgba(5, 6, 8, .86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cx-lightbox img { display: block; width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.cx-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; font-weight: 600; }
.cx-lightbox__btn { min-width: 44px; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; color: #fff; font: inherit; font-size: 1.1rem; cursor: pointer; }
.cx-lightbox__btn:hover { background: var(--accent); border-color: var(--accent); }
.cx-lightbox__nav { display: flex; gap: 8px; }

.cx-compare { margin: 0; }
.cx-compare__title { margin-bottom: 14px; font-size: 1.15rem; font-weight: 700; }
.cx-compare__stage { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #000; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.cx-compare__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cx-compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cx-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .5); pointer-events: none; }
.cx-compare__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.2rem; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
.cx-compare__tag { position: absolute; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(14, 16, 20, .78); font-size: .78rem; font-weight: 650; letter-spacing: .04em; }
.cx-compare__tag--l { left: 12px; } .cx-compare__tag--r { right: 12px; }
.cx-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cx-compare__stage:focus-within { outline: 3px solid #ffb3b3; outline-offset: 3px; }

.cx-pagehero--media .cx-pagehero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cx-pagehero--media h1 { max-width: none; }
.cx-pagehero__media { margin: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); }
.cx-pagehero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 900px) { .cx-pagehero--media .cx-pagehero__grid { grid-template-columns: 1fr; } .cx-pagehero__media { order: -1; } }

/* ---------- Kontaktseite & Formular: UX-Korrekturen ---------- */
.cx-field input:not([type="checkbox"]):not([type="radio"]), .cx-field textarea, .cx-field select { box-sizing: border-box; max-width: 100%; }
.cx-field input[type="file"] { box-sizing: border-box; }
.cx-form, .cx-form * { min-width: 0; }
.cx-contact__form > .cx-h3 { margin-bottom: 14px; }
.cx-contact__info { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; padding: clamp(22px, 3vw, 32px); }
.cx-contact__info > * { margin: 0; }
.cx-contact__info .cx-note { margin: 0; }
.cx-contact-list { gap: 16px; }
.cx-contact-list li { align-items: center; font-size: 1rem; }
.cx-contact-list .cx-icon { margin-top: 0; width: 20px; height: 20px; }
.cx-contact-list li.is-placeholder { opacity: .55; }
.cx-choice span { padding: 12px 14px; font-size: .97rem; line-height: 1.3; }
.cx-next { padding-top: 22px; border-top: 1px solid var(--line); }
.cx-next__title { margin: 0 0 16px; font-size: 1.05rem; }
.cx-next__list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.cx-next__list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; }
.cx-next__list li > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(214, 40, 40, .18); color: var(--accent-text); font-size: .9rem; font-weight: 700; }
.cx-next__list strong { display: block; line-height: 1.35; }
.cx-next__list p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
@media (max-width: 900px) { .cx-contact__info { position: static; } .cx-next { display: none; } }
.cx-check[hidden] { display: none; }

/* ---------- Globale Feinkorrekturen (Tap-Ziele, Lesbarkeit) ---------- */
.cx-link, .cx-crumbs a, .cx-contact-list a, .cx-footer__col a:not(.cx-link), .cx-footer__legal a { min-height: 44px; display: inline-flex; align-items: center; }
.cx-footer__col ul:not(.cx-contact-list):not(.cx-social) li + li { margin-top: 0; }
.cx-crumbs { gap: 0 8px; align-items: center; }
.cx-check a { padding-block: 6px; }
.cx-chip-symbol { font-size: .75rem; }
.cx-brand__small { font-size: max(.62rem, 10px); }
@media (max-width: 400px) { .cx-brand__small { font-size: .62rem; } }

/* ---------- Leistungskarten kompakt: Bild als Hintergrund, von dunkel (Text) nach hell verblendet ---------- */
.cx-cards:has(.cx-card--media) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.cx-card--media { isolation: isolate; justify-content: center; gap: 6px; min-height: 164px; padding: 22px 26px; border-radius: var(--radius); }
.cx-card--media .cx-card__media { position: absolute; inset: 0; z-index: -2; margin: 0; aspect-ratio: auto; border-radius: 0; }
.cx-card--media .cx-card__media img { object-position: 78% center; }
.cx-card--media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 16, .97) 0%, rgba(10, 12, 16, .9) 34%, rgba(10, 12, 16, .55) 62%, rgba(10, 12, 16, .08) 100%); pointer-events: none; }
.cx-card--media .cx-card__title { max-width: 72%; font-size: 1.2rem; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.cx-card--media p { max-width: 62%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #d3d8df; font-size: .9rem; line-height: 1.5; }
.cx-card--media .cx-card__more { margin-top: 2px; padding-top: 0; }
.cx-card--media .cx-chip-symbol { right: 8px; bottom: 8px; padding: 2px 8px; font-size: .68rem; }
.cx-card--media:hover::before, .cx-card--media:focus-within::before { background: linear-gradient(90deg, rgba(10, 12, 16, .97) 0%, rgba(10, 12, 16, .86) 34%, rgba(10, 12, 16, .4) 64%, rgba(10, 12, 16, 0) 100%); }
.cx-card--media::before { transition: opacity .3s; }

@media (max-width: 640px) {
	.cx-cards:has(.cx-card--media) { grid-template-columns: 1fr; gap: 10px; }
	.cx-card--media { min-height: 96px; padding: 14px 52px 14px 18px; }
	.cx-card--media .cx-card__title { max-width: none; font-size: 1.05rem; }
	.cx-card--media p { max-width: 78%; font-size: .85rem; -webkit-line-clamp: 2; }
	.cx-card--media .cx-card__more { position: absolute; right: 16px; top: 50%; margin: 0; padding: 0; transform: translateY(-50%); font-size: 0; }
	.cx-card--media .cx-card__more .cx-icon { width: 22px; height: 22px; }
	.cx-card--media .cx-chip-symbol { display: none; }
	.cx-card--media::before { background: linear-gradient(90deg, rgba(10, 12, 16, .97) 0%, rgba(10, 12, 16, .88) 45%, rgba(10, 12, 16, .3) 100%); }
}
.cx-card--media { padding-block: 18px; min-height: 150px; }
.cx-card--media p { max-width: 68%; }
@media (max-width: 640px) {
	.cx-card--media { min-height: 92px; padding: 14px 52px 14px 18px; }
	.cx-card--media p { max-width: 80%; }
}
/* Handy: 2 Spalten, nur Titel – spart viel Scrollen */
@media (max-width: 640px) {
	.cx-cards:has(.cx-card--media) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cx-card--media { min-height: 108px; padding: 14px 14px 14px 14px; justify-content: flex-end; }
	.cx-card--media p, .cx-card--media .cx-card__icon { display: none; }
	.cx-card--media .cx-card__title { max-width: 100%; font-size: 1rem; line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; }
	.cx-card--media .cx-card__more { top: 12px; right: 12px; transform: none; }
	.cx-card--media .cx-card__more .cx-icon { width: 18px; height: 18px; }
	.cx-card--media::before { background: linear-gradient(0deg, rgba(10, 12, 16, .95) 0%, rgba(10, 12, 16, .7) 45%, rgba(10, 12, 16, .1) 100%); }
	.cx-card--media .cx-card__media img { object-position: center; }
}

/* Desktop: Pfeil oben rechts statt Textzeile -> flachere Karten */
@media (min-width: 641px) {
	.cx-card--media .cx-card__more { position: absolute; top: 14px; right: 16px; margin: 0; padding: 0; font-size: 0; }
	.cx-card--media .cx-card__more .cx-icon { width: 20px; height: 20px; }
	.cx-card--media { min-height: 140px; }
}

/* Leistungs-Kacheln: Tablet 2 Spalten, Desktop 3 */
@media (min-width:641px){.cx-cards:has(.cx-card--media){grid-template-columns:repeat(2,1fr)}}
@media (min-width:1000px){.cx-cards:has(.cx-card--media){grid-template-columns:repeat(3,1fr)}}

/* FAQ + Hinweis: Abstände, Ausrichtung, Fokus */
.cx-note{box-sizing:border-box}
.cx-prose h2:has(+ details){margin-bottom:.9em}
.cx-prose details + details{margin-top:10px}
.cx-prose details,.cx-faq details{transition:border-color .2s var(--ease),background-color .2s var(--ease)}
.cx-prose summary:hover,.cx-faq summary:hover{color:#fff}
.cx-prose details:hover,.cx-faq details:hover{border-color:var(--line-strong)}
.cx-prose summary:focus-visible,.cx-faq summary:focus-visible{outline:2px solid var(--accent-text);outline-offset:-2px;border-radius:var(--radius-sm)}
.cx-prose details[open] summary,.cx-faq details[open] summary{padding-bottom:12px}
.cx-prose details p,.cx-faq details p{line-height:1.65}
.cx-prose .cx-note{margin-top:2.2em}

/* Leistungsseiten-Hero: Bild vollflächig, gedimmt, Text links lesbar */
.cx-pagehero--media{position:relative;isolation:isolate;overflow:hidden;background:var(--bg)}
.cx-pagehero--media .cx-pagehero__grid{display:block}
.cx-pagehero--media .cx-pagehero__copy{position:relative;z-index:1;max-width:min(620px,100%)}
.cx-pagehero--media .cx-pagehero__media{position:absolute;inset:0;z-index:-2;margin:0;border:0;border-radius:0;box-shadow:none;order:0}
.cx-pagehero--media .cx-pagehero__media img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:75% center}
.cx-pagehero--media .cx-chip-symbol{right:max(var(--gutter),calc((100vw - var(--wrap, 1180px)) / 2));bottom:14px}
.cx-pagehero--media::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(10,12,16,.97) 0%,rgba(10,12,16,.88) 38%,rgba(10,12,16,.5) 68%,rgba(10,12,16,.15) 100%)}
@media (max-width:900px){
.cx-pagehero--media{padding-block:48px 36px}
.cx-pagehero--media::before{background:linear-gradient(180deg,rgba(10,12,16,.55) 0%,rgba(10,12,16,.82) 100%)}
.cx-pagehero--media .cx-pagehero__media img{object-position:center}
}

/* Logo */
.cx-brand__logo{display:block;width:auto;height:46px;max-width:none}
.cx-brand--footer{margin:0 0 16px}
.cx-brand--footer .cx-brand__logo{height:auto;width:min(210px,70%)}
@media (max-width:640px){.cx-brand__logo{height:38px}}
@media (max-width:400px){.cx-brand__logo{height:34px}}

/* Hero-Slides */
.cx-slides{display:grid}
.cx-slide{grid-area:1/1;visibility:hidden;opacity:0;transform:translateY(14px);transition:opacity .3s ease,transform .3s ease,visibility 0s .3s}
.cx-slide.is-active{visibility:visible;opacity:1;transform:none;transition:opacity .5s var(--ease) .3s,transform .5s var(--ease) .3s,visibility 0s}
.cx-slide__title{margin:0;font-size:clamp(2.4rem,1.4rem + 4vw,4.6rem);font-weight:800;line-height:1.05;letter-spacing:-.035em;text-wrap:balance}
.cx-hero .cx-slide h1{margin:0}
.cx-slides__ctrl{display:flex;align-items:center;gap:6px;margin-top:22px}
.cx-slides__dot{position:relative;width:44px;height:44px;padding:0;border:0;background:none;cursor:pointer}
.cx-slides__dot::before{content:"";position:absolute;left:6px;right:6px;top:50%;height:4px;margin-top:-2px;border-radius:4px;background:rgba(255,255,255,.28);transition:background-color .2s}
.cx-slides__dot::after{content:"";position:absolute;left:6px;top:50%;height:4px;margin-top:-2px;width:0;border-radius:4px;background:var(--accent-text)}
.cx-slides__dot:hover::before{background:rgba(255,255,255,.5)}
.cx-slides__dot[aria-current="true"]::before{background:rgba(255,255,255,.28)}
.cx-slides__dot[aria-current="true"]::after{width:calc(100% - 12px)}
.cx-slides.is-playing .cx-slides__dot[aria-current="true"]::after{width:0;animation:cx-slidebar var(--cx-slide-ms,7000ms) linear forwards}
.cx-slides__dot:focus-visible{outline:2px solid #fff;outline-offset:-4px;border-radius:6px}
.cx-slides__pause{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-left:4px;padding:0;border:1px solid var(--line-strong);border-radius:50%;background:rgba(14,16,20,.5);color:#fff;font-size:.8rem;cursor:pointer}
.cx-slides__pause:hover{background:rgba(255,255,255,.12)}
.cx-slides__pause:focus-visible{outline:2px solid #fff;outline-offset:2px}
@keyframes cx-slidebar{from{width:0}to{width:calc(100% - 12px)}}
@media (prefers-reduced-motion:reduce){.cx-slide{transition:none;transform:none}.cx-slides.is-playing .cx-slides__dot[aria-current="true"]::after{animation:none;width:calc(100% - 12px)}}

/* Textrhythmus: Überschrift → Liste/Absatz, Listen zu Folgeabsatz */
.cx-prose h2 + :is(ul,ol,p,details){margin-top:.75em !important}
.cx-prose :is(ul,ol) + :is(p,ul,ol){margin-top:1.1em}
.cx-prose h2:first-child{margin-top:0}

/* Nutzen-Sektion */
.cx-benefits__list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px;margin:0;padding:0;list-style:none}
.cx-benefit{padding:24px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface)}
.cx-benefit__icon{display:inline-grid;place-items:center;width:46px;height:46px;margin-bottom:16px;border-radius:12px;background:rgba(214,40,40,.14);color:var(--accent-text)}
.cx-benefit h3{margin:0 0 8px;font-size:1.1rem}
.cx-benefit p{margin:0;color:var(--muted);font-size:.95rem;line-height:1.6}
.cx-compare-ways{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:28px}
.cx-way{padding:24px 26px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.02)}
.cx-way--mobile{border-color:rgba(214,40,40,.55);background:linear-gradient(135deg,rgba(214,40,40,.12),rgba(214,40,40,.02))}
.cx-way__title{margin:0 0 14px;font-weight:700;font-size:1.05rem;color:#fff}
.cx-way ol{margin:0;padding:0;list-style:none;counter-reset:w}
.cx-way li{position:relative;padding:7px 0 7px 34px;color:var(--muted);counter-increment:w}
.cx-way li::before{content:counter(w);position:absolute;left:0;top:7px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(255,255,255,.08);color:#dde1e8;font-size:.75rem;font-weight:700}
.cx-way--mobile li{color:#e6e9ee}
.cx-way--mobile li::before{background:var(--accent);color:#fff}
@media (max-width:640px){
.cx-compare-ways{grid-template-columns:1fr}
.cx-benefits__list{grid-template-columns:1fr 1fr;gap:10px}
.cx-benefit{padding:16px}
.cx-benefit__icon{width:38px;height:38px;margin-bottom:10px}
.cx-benefit h3{font-size:.98rem}
.cx-benefit p{font-size:.88rem}
}
@media (max-width:380px){.cx-benefits__list{grid-template-columns:1fr}}

/* Footer: Akkordeon auf dem Handy */
.cx-footer__acc > summary{list-style:none;cursor:default}
.cx-footer__acc > summary::-webkit-details-marker{display:none}
@media (min-width:641px){.cx-footer__acc > summary{pointer-events:none}}
@media (max-width:640px){
.cx-footer__grid{gap:0;padding-block:36px 20px}
.cx-footer__col--brand{padding-bottom:20px}
.cx-footer__col--brand > p:not(.cx-brand){display:none}
.cx-footer__col--brand .cx-social{margin-top:6px}
.cx-footer__acc{border-top:1px solid var(--line)}
.cx-footer__acc > summary{position:relative;display:flex;align-items:center;min-height:52px;cursor:pointer}
.cx-footer__acc > summary .cx-footer__title{margin:0}
.cx-footer__acc > summary::after{content:"+";position:absolute;right:2px;color:var(--accent-text);font-size:1.4rem;line-height:1;transition:transform .2s var(--ease)}
.cx-footer__acc[open] > summary::after{transform:rotate(45deg)}
.cx-footer__acc ul{padding-bottom:12px}
.cx-footer__acc a{min-height:40px}
#kontakt{border-top:1px solid var(--line);padding-top:18px}
#kontakt .cx-contact-list{gap:6px}
.cx-footer__legal-inner{justify-content:center;text-align:center;padding-block:12px}
}
@media (max-width:640px){
.cx-benefits__list{grid-template-columns:1fr;gap:8px}
.cx-benefit{display:grid;grid-template-columns:38px 1fr;column-gap:14px;align-items:start;padding:14px 16px}
.cx-benefit__icon{grid-row:span 2;margin:0}
.cx-benefit h3{margin:0 0 2px}
.cx-compare-ways{grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}
.cx-way{padding:14px 12px}
.cx-way__title{font-size:.88rem;margin-bottom:8px}
.cx-way li{padding:4px 0 4px 24px;font-size:.82rem;line-height:1.4}
.cx-way li::before{width:17px;height:17px;top:5px;font-size:.65rem}
}
[hidden]{display:none !important}
@media (max-width:640px){
.cx-brand--footer .cx-brand__logo{width:160px}
.cx-footer__legal-inner{flex-direction:column;gap:0}
.cx-footer__legal ul{justify-content:center;gap:0 22px}
.cx-footer__legal a{min-height:40px;padding-block:4px}
}

/* Abstands-Rhythmus Startseite */
.cx-section{padding-block:clamp(56px,8vw,100px)}
.cx-heading{margin-bottom:clamp(28px,4vw,48px)}
/* Zwei aufeinanderfolgende Sektionen mit gleichem Hintergrund: kein doppelter Leerraum, dafür Trennlinie */
.cx-section--surface + .cx-section--surface,
.cx-section:not(.cx-section--surface,.cx-section--light) + .cx-section:not(.cx-section--surface,.cx-section--light){padding-top:0}
.cx-section--surface + .cx-section--surface > .cx-wrap,
.cx-section:not(.cx-section--surface,.cx-section--light) + .cx-section:not(.cx-section--surface,.cx-section--light) > .cx-wrap{border-top:1px solid var(--line);padding-top:clamp(48px,6vw,80px)}
.cx-split__body > .cx-quote{margin-block:20px 0}
.cx-split__body > p + p{margin-top:14px}
@media (max-width:640px){
.cx-trust__list{grid-template-columns:1fr 1fr;gap:4px 14px;padding:14px 0}
.cx-trust__list li{gap:8px;font-size:.85rem;line-height:1.35;align-items:flex-start}
.cx-trust__list .cx-icon{flex:none;width:20px;height:20px}
}
@media (min-width:641px){.cx-benefits__list{grid-template-columns:repeat(2,1fr)}}
@media (min-width:1100px){.cx-benefits__list{grid-template-columns:repeat(4,1fr)}}

/* Einsatzgebiet-Kachel: schematische Umgebungskarte */
.cx-amap{display:block;min-height:0;margin:0;padding:0;place-items:initial;background:radial-gradient(ellipse at 50% 42%,rgba(214,40,40,.10),transparent 60%),#10131a}
.cx-amap__svg{display:block;width:100%;height:auto;aspect-ratio:1;max-height:520px;margin-inline:auto}
.cx-amap__grid line{stroke:rgba(255,255,255,.045);stroke-width:1}
.cx-amap__outer{fill:none;stroke:rgba(255,255,255,.22);stroke-width:1.2;stroke-dasharray:3 6}
.cx-amap__ring{fill:none;stroke:var(--accent-text);stroke-width:2}
.cx-amap__label{fill:var(--accent-text);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cx-amap__label.is-out{fill:rgba(255,255,255,.45)}
.cx-amap__town circle{fill:#dde1e8}
.cx-amap__town text{fill:#c8ced8;font-size:11.5px;font-weight:550}
.cx-amap__town.is-out circle{fill:rgba(255,255,255,.4)}
.cx-amap__town.is-out text{fill:rgba(255,255,255,.5)}
.cx-amap__home{fill:var(--accent);stroke:#fff;stroke-width:2.5}
.cx-amap__pulse{fill:var(--accent);opacity:.5;transform-origin:200px 200px}
.cx-amap__home-label{fill:#fff;font-size:13px;font-weight:800}
.cx-amap__north path{fill:rgba(255,255,255,.5)}
.cx-amap__north text{fill:rgba(255,255,255,.5);font-size:10px;font-weight:700}
.cx-amap__bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;padding:16px 20px;border-top:1px solid var(--line);background:rgba(14,16,20,.6)}
.cx-amap__kicker{display:block;color:var(--accent-text);font-size:.72rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase}
.cx-amap__bar strong{display:block;font-size:1.15rem;letter-spacing:-.02em}
.cx-amap__legend{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:.85rem}
.cx-amap__legend > span{display:flex;align-items:center;gap:8px}
.cx-amap__legend i{display:inline-block;width:22px;height:0;border-top:2px solid var(--accent-text)}
.cx-amap__legend i.is-out{border-top:2px dashed rgba(255,255,255,.4)}
.cx-amap__legend .cx-count{color:#fff;font-weight:700}
.cx-amap__note{margin:0;padding:0 20px 14px;background:rgba(14,16,20,.6);color:rgba(255,255,255,.4);font-size:.75rem}
.cx-linkrow{display:flex;flex-wrap:wrap;gap:4px 24px}
@media (prefers-reduced-motion:no-preference){
.js-ready .cx-amap .cx-amap__ring{stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset 1.6s var(--ease) .2s}
.js-ready .cx-amap.is-visible .cx-amap__ring{stroke-dashoffset:0}
.js-ready .cx-amap .cx-amap__town{opacity:0;transition:opacity .5s ease 1s}
.js-ready .cx-amap.is-visible .cx-amap__town{opacity:1}
.cx-amap__pulse{animation:cx-amap-pulse 2.4s ease-out infinite}
@keyframes cx-amap-pulse{0%{transform:scale(1);opacity:.55}100%{transform:scale(3.4);opacity:0}}
}
@media (max-width:640px){
.cx-amap__bar{padding:14px 16px}
.cx-amap__town text{font-size:13px}
}

/* Header: Leistungen-Dropdown */
.cx-nav .wp-block-navigation-submenu{position:relative}
.cx-nav .wp-block-navigation__submenu-icon{width:14px;height:14px;margin-left:-8px;margin-right:6px;color:#dfe3e9}
.cx-nav .wp-block-navigation__submenu-icon svg{stroke:currentColor;transition:transform .2s var(--ease)}
.cx-nav .wp-block-navigation-submenu:hover > .wp-block-navigation__submenu-icon svg,.cx-nav .wp-block-navigation-submenu:focus-within > .wp-block-navigation__submenu-icon svg{transform:rotate(180deg)}
@media (min-width:1081px){
.cx-nav .wp-block-navigation__submenu-container{min-width:260px !important;padding:8px !important;border:1px solid var(--line-strong) !important;border-radius:12px;background:#12151b !important;color:var(--text) !important;box-shadow:0 18px 40px rgba(0,0,0,.45);top:calc(100% + 6px) !important;left:0}
.cx-nav .wp-block-navigation__submenu-container::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px}
.cx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content{display:block;width:100%;padding:10px 14px !important;border-radius:8px;color:#dfe3e9;box-shadow:none !important;font-size:.93rem}
.cx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover{background:rgba(255,255,255,.07);color:#fff}
.cx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child .wp-block-navigation-item__content{color:var(--accent-text);font-weight:650}
.cx-nav .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child{border-bottom:1px solid var(--line);margin-bottom:4px;padding-bottom:4px}
}
/* Handy-Menü: Unterpunkte eingerückt und kompakt */
.cx-nav .is-menu-open .wp-block-navigation__submenu-container{padding:0 0 8px 14px !important;border:0 !important;background:transparent !important;gap:0}
.cx-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:10px 0 !important;border-bottom:0 !important;font-size:1rem !important;font-weight:500 !important;color:#c8ced8 !important}
.cx-nav .is-menu-open .wp-block-navigation__submenu-icon{display:none}
@media (min-width:1081px){.cx-nav .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container{left:0 !important;right:auto !important}}
@media (max-width:1080px){
.cx-nav .is-menu-open .wp-block-navigation-submenu{display:block !important;width:100%}
.cx-nav .is-menu-open .wp-block-navigation__submenu-container{display:grid !important;grid-template-columns:1fr 1fr;gap:0 16px !important;width:100% !important;margin:0 !important;padding:2px 0 12px !important;align-items:start !important;border-bottom:1px solid var(--line) !important}
.cx-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item{width:auto !important;align-items:flex-start !important}
.cx-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child{display:none !important}
.cx-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content{padding:9px 0 !important;font-size:.98rem !important;text-align:left}
.cx-nav .is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content{border-bottom:0 !important;padding-bottom:6px !important}
}

/* Header-Dropdown: Hover-Fläche umfasst Text und Pfeil, Panel bündig darunter */
@media (min-width:1081px){
.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu{align-items:center;border-radius:8px;transition:background-color .15s ease}
.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu:hover,.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu:focus-within{background:rgba(255,255,255,.08)}
.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation-item__content,.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation-item__content:hover{background:transparent !important;padding-right:6px !important}
.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon{margin:0 14px 0 0;width:14px;height:14px}
.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-container{top:100% !important;margin-top:6px;min-width:240px !important;width:max-content}
.cx-nav .wp-block-navigation__container > .wp-block-navigation-submenu > .wp-block-navigation__submenu-container::before{top:-8px;height:8px}
}
