/* KCC Marine — supplementary styles (front end + editor). Colours come from theme.json presets. */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

/* ---------- Header ---------- */
/* The template-part wrapper is what sticks (a sticky element inside a header-sized wrapper would not). */
.wp-site-blocks > :first-child:has(.kcc-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}
.admin-bar .wp-site-blocks > :first-child:has(.kcc-header) { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > :first-child:has(.kcc-header) { top: 0; } }
.kcc-header {
	position: relative;
	z-index: 1;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* Blur lives on a pseudo-element: a backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.kcc-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(10, 12, 13, 0.82);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	pointer-events: none;
}

.kcc-header .wp-block-site-logo img { max-height: 44px; width: auto; }

.kcc-header .wp-block-site-title { line-height: 1.15; }
@media (min-width: 600px) { .kcc-header .wp-block-site-title { white-space: nowrap; } }
@media (max-width: 599px) { .kcc-header .wp-block-site-title { font-size: 1.05rem !important; max-width: 14rem; } }
.kcc-header .wp-block-navigation { white-space: nowrap; }
.kcc-lang { white-space: nowrap; font-family: var(--wp--preset--font-family--heading); font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--wp--preset--color--muted); }
.kcc-lang a { color: var(--wp--preset--color--muted); }
.kcc-lang a:hover, .kcc-lang .is-current { color: var(--wp--preset--color--white); }

/* Mobile menu overlay */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--white) !important;
	padding: 1.5rem clamp(1.25rem, 4vw, 3rem) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4rem;
	gap: 1.25rem;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 1.75rem !important;
	font-weight: 700;
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close { color: var(--wp--preset--color--white); }

/* Underline indicator for current page */
.kcc-header .wp-block-navigation .current-menu-item > a,
.kcc-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--white);
	box-shadow: inset 0 -2px 0 var(--wp--preset--color--accent);
}

/* ---------- Typography helpers ---------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}
.kcc-lead { color: var(--wp--preset--color--contrast); font-size: var(--wp--preset--font-size--large); line-height: 1.55; }
.kcc-muted { color: var(--wp--preset--color--muted); }
.kcc-placeholder { opacity: 0.9; }

/* ---------- Cards ---------- */
.is-style-card,
.is-style-card-accent {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius);
	transition: border-color var(--wp--custom--transition), transform var(--wp--custom--transition);
	height: 100%;
}
.is-style-card:hover { border-color: rgba(65, 148, 42, 0.55); }
.is-style-card-accent { border-left: 3px solid var(--wp--preset--color--accent); }

/* Card images: consistent crop */
.is-style-card .wp-block-image img,
.kcc-card-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: 2px; }

/* ---------- Roadmap ---------- */
.kcc-roadmap { counter-reset: kcc-step; }
.is-style-roadmap-step {
	position: relative;
	counter-increment: kcc-step;
	border-top: 2px solid var(--wp--preset--color--line);
	padding-top: 1.5rem !important;
	transition: border-color var(--wp--custom--transition);
}
.is-style-roadmap-step::before {
	content: counter(kcc-step, decimal-leading-zero);
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--wp--preset--color--accent);
	margin-bottom: 0.75rem;
}
.is-style-roadmap-step::after {
	content: "";
	position: absolute;
	top: -2px; left: 0;
	width: 2.5rem; height: 2px;
	background: var(--wp--preset--color--accent);
	transition: width 300ms ease;
}
.is-style-roadmap-step:hover::after { width: 100%; }
.is-style-roadmap-step h3,
.is-style-roadmap-step h4 { margin-top: 0; }

/* ---------- Checklist ---------- */
ul.is-style-checklist { list-style: none; padding-left: 0 !important; }
ul.is-style-checklist li {
	position: relative;
	padding-left: 2.25rem;
	margin-bottom: 0.9rem;
}
ul.is-style-checklist li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.2em;
	width: 1.35rem; height: 1.35rem;
	border-radius: 50%;
	background: rgba(65, 148, 42, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341942A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* ---------- Logo tiles / partner bar ---------- */
.is-style-logo-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 6rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius);
	background: var(--wp--preset--color--surface);
	text-align: center;
}
.is-style-logo-tile img { max-height: 3rem; width: auto; filter: grayscale(1) brightness(1.6); opacity: 0.8; transition: all var(--wp--custom--transition); }
.is-style-logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- Hero ---------- */
.kcc-hero { min-height: min(88vh, 820px) !important; }
.kcc-hero .wp-block-cover__inner-container { width: 100%; }
@media (max-width: 781px) {
	.kcc-hero { min-height: 78vh !important; }
}

/* Thin page banner */
.kcc-banner { min-height: clamp(220px, 32vw, 340px) !important; }

/* ---------- Partner entries (About us) ---------- */
.kcc-partner h3 a,
.kcc-partner h4 a { color: inherit; }
.kcc-partner .kcc-partner-logo {
	min-height: 4.5rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

/* ---------- Footer ---------- */
.kcc-footer a { color: var(--wp--preset--color--contrast); }
.kcc-footer a:hover { color: var(--wp--preset--color--accent); text-decoration: none; }
.kcc-footer .wp-block-navigation { gap: 0.6rem; }

/* ---------- Forms (works for most form plugins) ---------- */
.kcc-form input[type="text"],
.kcc-form input[type="email"],
.kcc-form input[type="tel"],
.kcc-form textarea,
.kcc-form select {
	width: 100%;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius);
	color: var(--wp--preset--color--white);
	padding: 0.85rem 1rem;
	font: inherit;
}
.kcc-form input:focus, .kcc-form textarea:focus { border-color: var(--wp--preset--color--accent); outline: none; }
.kcc-form input[type="submit"], .kcc-form button[type="submit"] {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	border: 0;
	border-radius: var(--wp--custom--radius);
	padding: 0.9rem 1.6rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	cursor: pointer;
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
	.wp-block-buttons { gap: 0.75rem; }
	.wp-block-buttons > .wp-block-button { width: 100%; }
	.wp-block-buttons > .wp-block-button .wp-block-button__link { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Full-width covers: keep content on the same grid as the rest of the page ---------- */
.wp-block-cover.alignfull {
	padding-left: var(--wp--style--root--padding-left, clamp(1.25rem, 4vw, 3rem));
	padding-right: var(--wp--style--root--padding-right, clamp(1.25rem, 4vw, 3rem));
}
.wp-block-cover.alignfull.alignfull > .wp-block-cover__inner-container {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin-left: auto !important;
	margin-right: auto !important;
}
.wp-block-cover.alignfull > .wp-block-cover__inner-container > * { margin-left: 0 !important; }
.wp-block-cover.alignfull > .wp-block-cover__inner-container > .alignwide { max-width: 100%; }

/* ---------- Responsive card grids: at most N columns, wrapping to fewer on smaller screens ---------- */
.kcc-grid.is-layout-grid {
	--g: 2rem;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(var(--min), calc((100% - (var(--n) - 1) * var(--g)) / var(--n)))), 1fr)) !important;
}
.kcc-grid-2 { --n: 2; --min: 19rem; }
.kcc-grid-3 { --n: 3; --min: 13rem; }
.kcc-grid-4 { --n: 4; --min: 13rem; }
.kcc-grid-5 { --n: 5; --min: 10.5rem; }
.kcc-grid-tight { --min: 9rem; }
.kcc-grid-tight .is-style-logo-tile { min-height: 5rem; }

/* Mobile overlay menu: left-aligned items */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
}

/* ---------- News ---------- */
.kcc-terms { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.kcc-terms a { color: var(--wp--preset--color--accent); }
.kcc-terms .wp-block-post-terms__separator { color: var(--wp--preset--color--muted); }
.kcc-news-card .wp-block-post-featured-image { margin: 0; }
.kcc-news-card .wp-block-post-featured-image img { border-radius: 2px; }
.kcc-news-card .wp-block-post-title a { color: var(--wp--preset--color--white); }
.kcc-news-card .wp-block-post-title a:hover { color: var(--wp--preset--color--accent); text-decoration: none; }
.kcc-news-card .wp-block-post-excerpt__excerpt { margin: 0; }
.wp-block-query-pagination a { color: var(--wp--preset--color--contrast); }
.wp-block-query-pagination .current { color: var(--wp--preset--color--accent); }
.kcc-back a { color: var(--wp--preset--color--muted); }

/* Category filter pills */
.kcc-filter .kcc-pill,
.kcc-filter .kcc-pills { margin: 0; }
.kcc-filter ul.kcc-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0 !important; }
.kcc-filter .kcc-pill a,
.kcc-filter .kcc-pills a {
	display: inline-block;
	padding: 0.45rem 1rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 999px;
	color: var(--wp--preset--color--contrast);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}
.kcc-filter .kcc-pill a:hover,
.kcc-filter .kcc-pills a:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--white); }
.kcc-filter .kcc-pill.is-active a,
.kcc-filter .kcc-pills .current-cat a { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--base); }

/* Article body readability */
.single-post .wp-block-post-content { font-size: 1.0625rem; line-height: 1.75; }
.single-post .wp-block-post-content h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2.5rem; }
.single-post .wp-block-post-content h3 { font-size: var(--wp--preset--font-size--large); margin-top: 2rem; }

/* Header: switch to the hamburger menu below 1100px so six menu items + the logo never wrap */
@media (min-width: 600px) and (max-width: 1099px) {
	.kcc-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.kcc-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}

/* ---------- Logo ----------
   The logo keeps its original colours and sits on a white slanted panel that runs
   from the top to the bottom of the header bar, with a thin parallel stripe beside it. */
.kcc-header { overflow: clip; }
.kcc-logo { margin: 0; line-height: 0; }
.kcc-logo a {
	--kcc-slant: -22deg;
	--kcc-pad: 18px;
	position: relative;
	display: inline-block;
	isolation: isolate;
}
.kcc-logo img { position: relative; height: 44px; width: auto; display: block; }
.kcc-header .kcc-logo a::before,
.kcc-header .kcc-logo a::after {
	content: "";
	position: absolute;
	top: -60px;
	bottom: -60px;
	background: #fff;
	transform: skewX(var(--kcc-slant));
	z-index: -1;
	pointer-events: none;
}
.kcc-header .kcc-logo a::before { left: -100vw; right: calc(-1 * var(--kcc-pad)); } /* runs to the left edge of the screen */
.kcc-header .kcc-logo a::after { left: calc(100% + var(--kcc-pad) + 8px); width: 9px; }
.kcc-footer-name { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.375rem; letter-spacing: 0.02em; color: var(--wp--preset--color--white); margin: 0; }
@media (max-width: 599px) {
	.kcc-logo img { height: 36px; }
	.kcc-header .kcc-logo a { --kcc-pad: 14px; }
}

/* ---------- Plain pages (privacy policy, legal texts) ---------- */
.page-template-default .wp-block-post-content > h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--wp--preset--color--line); }
.page-template-default .wp-block-post-content > h3 { font-size: var(--wp--preset--font-size--large); margin-top: var(--wp--preset--spacing--40); color: var(--wp--preset--color--white); }
.page-template-default .wp-block-post-content > p,
.page-template-default .wp-block-post-content > ul { color: var(--wp--preset--color--contrast); }
.page-template-default .wp-block-post-content > ul li { margin-bottom: 0.4rem; }
.page-template-default .wp-block-post-content > p a, .page-template-default .wp-block-post-content > ul a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Products (typographic cards, no photos) ---------- */
.kcc-product-cat { scroll-margin-top: 90px; }
.kcc-tagline { font-style: italic; margin-top: 0.25rem; }
.kcc-product { display: flex; flex-direction: column; border-top: 2px solid var(--wp--preset--color--accent) !important; }
.kcc-product > .kcc-product-body, .kcc-product { gap: var(--wp--preset--spacing--10); }
.kcc-product-body { display: flex; flex-direction: column; flex: 1; }
.kcc-product .kcc-product-links { margin-top: auto !important; padding-top: var(--wp--preset--spacing--20); display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.kcc-product-links a, .kcc-brand-link a { white-space: nowrap; }
.kcc-brand-link a { color: var(--wp--preset--color--muted); border-bottom: 1px solid var(--wp--preset--color--line); }
.kcc-brand-link a:hover { color: var(--wp--preset--color--white); text-decoration: none; border-color: var(--wp--preset--color--accent); }
@media (max-width: 599px) {
	.kcc-product .wp-block-heading { font-size: 1rem !important; }
	.kcc-product .has-small-font-size { font-size: 0.8125rem !important; }
}

/* ---------- Systems list ---------- */
.kcc-system-row { border-top: 1px solid var(--wp--preset--color--line); scroll-margin-top: 90px; margin: 0 !important; }
.kcc-system-row:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.kcc-label { font-family: var(--wp--preset--font-family--heading); font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-bottom: 0.6rem !important; }
.kcc-chip { margin: 0; }
.kcc-chip a { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font-size: 0.8125rem; font-weight: 500; text-decoration: none; }
.kcc-chip a:hover { border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--white); text-decoration: none; }

/* Links to manufacturer product pages inside a system's scope list */
.kcc-system-row .is-style-checklist a { color: var(--wp--preset--color--white); text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.kcc-system-row .is-style-checklist a:hover { color: var(--wp--preset--color--accent); }
.kcc-system-row .kcc-extra-link a { color: var(--wp--preset--color--white); text-decoration: underline; text-decoration-color: var(--wp--preset--color--accent); text-underline-offset: 4px; }
.kcc-system-row .kcc-extra-link a:hover { color: var(--wp--preset--color--accent); }
.kcc-system-row .kcc-extra-link + p { margin-top: 0.5rem !important; }

/* Green horizon glow behind a page intro (Solutions) */
.kcc-horizon { background: #07080a url(../images/horizon-glow.jpg) center bottom / max(100%, 1800px) auto no-repeat; padding-bottom: max(var(--wp--preset--spacing--70), 8rem) !important; }

/* About us – photo banner: taller, ships on the right, text on dark water bottom-left */
.kcc-banner.kcc-hero-photo { min-height: clamp(380px, 42vw, 600px) !important; }
.kcc-hero-photo .wp-block-cover__image-background { object-position: 65% 40%; }
.kcc-hero-photo .wp-block-cover__background {
  opacity: 1 !important;
  background: linear-gradient(180deg, rgba(10,12,13,.15) 0%, rgba(10,12,13,0) 35%, rgba(10,12,13,.55) 70%, #0A0C0D 100%),
              linear-gradient(90deg, rgba(10,12,13,.55) 0%, rgba(10,12,13,0) 55%) !important;
}
.kcc-hero-photo h1 { max-width: 16ch; }
@media (max-width: 781px) { .kcc-hero-photo .wp-block-cover__image-background { object-position: 8% 40%; } }

/* Partner logos – one light tone on the dark background */
.kcc-logo-mono { display: block; width: auto; max-width: 100%; filter: brightness(0) invert(1); opacity: .72; transition: opacity var(--wp--custom--transition); }
.kcc-logo-text { font-family: var(--wp--preset--font-family--heading); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--wp--preset--color--contrast); opacity: .72; transition: opacity var(--wp--custom--transition); }
.kcc-partner-logo { min-height: 4rem; display: flex; align-items: center; margin-bottom: .5rem !important; }
.kcc-partner-logo .kcc-logo-mono { max-height: 2.6rem; max-width: 220px; }
.kcc-partner-logo .kcc-logo-text { font-size: 1.5rem; opacity: 1; }
.kcc-partner-link { margin-top: auto !important; }
.kcc-partner { display: flex; flex-direction: column; }
.kcc-logo-cell { margin: 0 !important; }
.kcc-logo-cell a { display: flex; align-items: center; justify-content: center; height: 6.5rem; padding: 1.25rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius); background: var(--wp--preset--color--base); text-decoration: none !important; transition: border-color var(--wp--custom--transition); }
.kcc-logo-cell a:hover { border-color: var(--wp--preset--color--accent); }
.kcc-logo-cell a:hover .kcc-logo-mono, .kcc-logo-cell a:hover .kcc-logo-text { opacity: 1; }
.kcc-logo-cell .kcc-logo-mono { max-height: 2.6rem; max-width: 85%; }
.kcc-logo-cell .kcc-logo-text { font-size: .95rem; text-align: center; }
.kcc-partner-logo .kcc-logo-zoellner { max-height: 1.7rem; }
.kcc-partner-logo .kcc-logo-anschuetz { max-height: 2.9rem; }
.kcc-logo-cell .kcc-logo-dnh, .kcc-logo-cell .kcc-logo-sm-electrics { max-height: 3.4rem; }
.kcc-teaser h3 a { color: var(--wp--preset--color--white); text-decoration: none; }
.kcc-teaser h3 a::after { content: ""; position: absolute; inset: 0; }
.kcc-teaser { position: relative; transition: border-color var(--wp--custom--transition); }
.kcc-teaser:hover h3 a { color: var(--wp--preset--color--accent); }
.kcc-footer a[href^="tel:"], .kcc-footer a[href^="mailto:"] { color: inherit; }
.kcc-legal { font-size: .75rem !important; line-height: 1.6; }
.kcc-note { border-left: 3px solid var(--wp--preset--color--accent); padding: .75rem 1.1rem; background: rgba(65,148,42,.08); color: var(--wp--preset--color--contrast); max-width: 46rem; margin-top: 1.75rem !important; }
.kcc-note strong { color: var(--wp--preset--color--white); }
.kcc-logo-cell .kcc-logo-box { display: flex; align-items: center; justify-content: center; height: 8rem; padding: 1.5rem; border: 1px solid var(--wp--preset--color--line); border-radius: var(--wp--custom--radius); background: var(--wp--preset--color--surface); }
.kcc-service-logos .kcc-logo-mono { max-height: 3.2rem; opacity: .9; }
.kcc-service-logos .kcc-logo-zoellner { max-height: 2.1rem; }
.is-style-card-accent a[href^="tel:"], .is-style-card-accent a[href^="mailto:"] { color: inherit; text-decoration: none; }
.is-style-card-accent a[href^="tel:"]:hover, .is-style-card-accent a[href^="mailto:"]:hover { color: var(--wp--preset--color--accent); }
.kcc-contact-big a { color: var(--wp--preset--color--white); text-decoration: none; }
.kcc-contact-big a:hover { color: var(--wp--preset--color--accent); }

/* reCAPTCHA v3 – badge hidden, Google-approved text notice under the form */
.grecaptcha-badge { visibility: hidden !important; }
.kcc-recaptcha-note { margin-top: var(--wp--preset--spacing--30); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.kcc-recaptcha-note a { color: inherit; text-decoration: underline; }

/* ---------- Logo hover: per-brand highlight (B0 white, B1 brand colour, B2 brand colour + white glow) ---------- */
.kcc-lw { position: relative; display: inline-block; line-height: 0; max-width: 100%; transition: filter var(--wp--custom--transition); }
.kcc-lw img { transition: opacity var(--wp--custom--transition), filter var(--wp--custom--transition); }
.kcc-lw::after { content: ""; position: absolute; inset: 0; background: var(--kb, #fff); -webkit-mask: var(--km) center / contain no-repeat; mask: var(--km) center / contain no-repeat; opacity: 0; transition: opacity var(--wp--custom--transition); pointer-events: none; }
.kcc-logo-cell a, .kcc-partner, .kcc-logo-box { transition: border-color var(--wp--custom--transition), box-shadow var(--wp--custom--transition); }
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover { border-color: var(--kg, var(--wp--preset--color--accent)) !important; box-shadow: 0 0 18px -4px var(--kg, var(--wp--preset--color--accent)); }
.kcc-lw-anschuetz { --km: url(../images/logos/anschuetz.png); --kb: #E30613; }
.kcc-logo-cell a:has(.kcc-lw-anschuetz), .kcc-partner:has(.kcc-lw-anschuetz), .kcc-logo-box:has(.kcc-lw-anschuetz) { --kg: #E30613; }
.kcc-lw-zenitel { --km: url(../images/logos/zenitel.png); --kb: #F2B800; }
.kcc-logo-cell a:has(.kcc-lw-zenitel), .kcc-partner:has(.kcc-lw-zenitel), .kcc-logo-box:has(.kcc-lw-zenitel) { --kg: #F2B800; }
.kcc-lw-zoellner { --km: url(../images/logos/zoellner.png); --kb: #EAF6FF; }
.kcc-logo-cell a:has(.kcc-lw-zoellner), .kcc-partner:has(.kcc-lw-zoellner), .kcc-logo-box:has(.kcc-lw-zoellner) { --kg: #EAF6FF; }
.kcc-lw-e2s { --km: url(../images/logos/e2s.png); --kb: #E02010; }
.kcc-logo-cell a:has(.kcc-lw-e2s), .kcc-partner:has(.kcc-lw-e2s), .kcc-logo-box:has(.kcc-lw-e2s) { --kg: #E02010; }
.kcc-lw-cassens-plath { --km: url(../images/logos/cassens-plath.png); --kb: #B09060; }
.kcc-logo-cell a:has(.kcc-lw-cassens-plath), .kcc-partner:has(.kcc-lw-cassens-plath), .kcc-logo-box:has(.kcc-lw-cassens-plath) { --kg: #B09060; }
.kcc-lw-4c-innovation { --km: url(../images/logos/4c-innovation.png); --kb: #B0A070; }
.kcc-logo-cell a:has(.kcc-lw-4c-innovation), .kcc-partner:has(.kcc-lw-4c-innovation), .kcc-logo-box:has(.kcc-lw-4c-innovation) { --kg: #B0A070; }
.kcc-lw-sm-electrics { --km: url(../images/logos/sm-electrics.png); --kb: #E06000; }
.kcc-logo-cell a:has(.kcc-lw-sm-electrics), .kcc-partner:has(.kcc-lw-sm-electrics), .kcc-logo-box:has(.kcc-lw-sm-electrics) { --kg: #E06000; }
.kcc-lw-lopolight { --km: url(../images/logos/lopolight.png); --kb: #E0105A; }
.kcc-logo-cell a:has(.kcc-lw-lopolight), .kcc-partner:has(.kcc-lw-lopolight), .kcc-logo-box:has(.kcc-lw-lopolight) { --kg: #E0105A; }
.kcc-lw-wiska { --km: url(../images/logos/wiska.png); --kb: #D7000F; }
.kcc-logo-cell a:has(.kcc-lw-wiska), .kcc-partner:has(.kcc-lw-wiska), .kcc-logo-box:has(.kcc-lw-wiska) { --kg: #D7000F; }
.kcc-lw-cisco { --km: url(../images/logos/cisco.png); --kb: #049FD9; }
.kcc-logo-cell a:has(.kcc-lw-cisco), .kcc-partner:has(.kcc-lw-cisco), .kcc-logo-box:has(.kcc-lw-cisco) { --kg: #049FD9; }
.kcc-lw-jotron { --km: url(../images/logos/jotron.png); --kb: #00205B; }
.kcc-logo-cell a:has(.kcc-lw-jotron), .kcc-partner:has(.kcc-lw-jotron), .kcc-logo-box:has(.kcc-lw-jotron) { --kg: rgba(255,255,255,.6); }
.kcc-lw-cobham { --km: url(../images/logos/cobham.png); --kb: #111111; }
.kcc-logo-cell a:has(.kcc-lw-cobham), .kcc-partner:has(.kcc-lw-cobham), .kcc-logo-box:has(.kcc-lw-cobham) { --kg: rgba(255,255,255,.6); }
.kcc-lw-marsig { --km: url(../images/logos/marsig.png); --kb: #000090; }
.kcc-logo-cell a:has(.kcc-lw-marsig), .kcc-partner:has(.kcc-lw-marsig), .kcc-logo-box:has(.kcc-lw-marsig) { --kg: rgba(255,255,255,.6); }
.kcc-lw-dnh { --km: url(../images/logos/dnh.png); --kb: #0050A0; }
.kcc-logo-cell a:has(.kcc-lw-dnh), .kcc-partner:has(.kcc-lw-dnh), .kcc-logo-box:has(.kcc-lw-dnh) { --kg: rgba(255,255,255,.6); }
.kcc-lw-motorola { --km: url(../images/logos/motorola.png); --kb: #ffffff; }
.kcc-logo-cell a:has(.kcc-lw-motorola), .kcc-partner:has(.kcc-lw-motorola), .kcc-logo-box:has(.kcc-lw-motorola) { --kg: rgba(255,255,255,.6); }
.kcc-lw-scan-antenna { --km: url(../images/logos/scan-antenna.png); --kb: #ffffff; }
.kcc-logo-cell a:has(.kcc-lw-scan-antenna), .kcc-partner:has(.kcc-lw-scan-antenna), .kcc-logo-box:has(.kcc-lw-scan-antenna) { --kg: rgba(255,255,255,.6); }
.kcc-lw-lancom { --km: url(../images/logos/lancom.png); --kb: #ffffff; }
.kcc-logo-cell a:has(.kcc-lw-lancom), .kcc-partner:has(.kcc-lw-lancom), .kcc-logo-box:has(.kcc-lw-lancom) { --kg: rgba(255,255,255,.6); }
.kcc-lw-seas { --km: url(../images/logos/seas.png); --kb: #ffffff; }
.kcc-logo-cell a:has(.kcc-lw-seas), .kcc-partner:has(.kcc-lw-seas), .kcc-logo-box:has(.kcc-lw-seas) { --kg: rgba(255,255,255,.6); }
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-anschuetz img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-zenitel img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-zoellner img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-e2s img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cassens-plath img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-4c-innovation img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-sm-electrics img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-lopolight img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-wiska img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cisco img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-jotron img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cobham img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-marsig img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-dnh img { opacity: 0 !important; }
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-anschuetz::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-zenitel::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-zoellner::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-e2s::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cassens-plath::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-4c-innovation::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-sm-electrics::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-lopolight::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-wiska::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cisco::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-jotron::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cobham::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-marsig::after,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-dnh::after { opacity: 1; }
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-jotron,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-cobham,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-marsig,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-dnh { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 6px rgba(255,255,255,.55)); }
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-motorola img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-scan-antenna img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-lancom img,
:is(.kcc-logo-cell a, .kcc-partner, .kcc-logo-box):hover .kcc-lw-seas img { opacity: 1 !important; filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,.45)); }

/* ---------- Roadmap: arrows between steps, ship at the end ---------- */
@media (min-width: 782px) {
	.kcc-roadmap { column-gap: 0 !important; }
	.kcc-roadmap .is-style-roadmap-step {
		border-top: 0;
		padding-top: calc(1.5rem + 11px) !important;
		padding-right: 2.25rem !important;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3135' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") right 5px top 0 / 24px 24px no-repeat, linear-gradient(var(--wp--preset--color--line), var(--wp--preset--color--line)) left 0 top 11px / calc(100% - 22px) 2px no-repeat;
		transition: background-position var(--wp--custom--transition);
	}
	.kcc-roadmap .is-style-roadmap-step::after { top: 11px; }
	.kcc-roadmap .is-style-roadmap-step:hover::after { width: calc(100% - 22px); }
	.kcc-roadmap .is-style-roadmap-step:hover { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2341942A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") right 0 top 0 / 24px 24px no-repeat, linear-gradient(var(--wp--preset--color--line), var(--wp--preset--color--line)) left 0 top 11px / calc(100% - 22px) 2px no-repeat; }
	.kcc-roadmap .is-style-roadmap-step:last-child { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26'%3E%3Cpath fill='%232A3135' d='M17 4h3v4h4.5l2 5H31v-2.2h2V13h5.2l-3.6 7.2c-.3.5-.8.8-1.4.8H6.6c-.6 0-1.1-.3-1.4-.7L1.5 13H12V8h5V4zm-3 6v3h3.6v-3H14zm5.4 0v3h3.4l-1.2-3h-2.2z'/%3E%3C/svg%3E") right 5px top -2px / 40px 26px no-repeat, linear-gradient(var(--wp--preset--color--line), var(--wp--preset--color--line)) left 0 top 11px / calc(100% - 22px) 2px no-repeat; }
	.kcc-roadmap .is-style-roadmap-step:last-child:hover { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26'%3E%3Cpath fill='%2341942A' d='M17 4h3v4h4.5l2 5H31v-2.2h2V13h5.2l-3.6 7.2c-.3.5-.8.8-1.4.8H6.6c-.6 0-1.1-.3-1.4-.7L1.5 13H12V8h5V4zm-3 6v3h3.6v-3H14zm5.4 0v3h3.4l-1.2-3h-2.2z'/%3E%3C/svg%3E") right 0 top -2px / 40px 26px no-repeat, linear-gradient(var(--wp--preset--color--line), var(--wp--preset--color--line)) left 0 top 11px / calc(100% - 22px) 2px no-repeat; }
}

/* ---------- Logo sizing (fixed box per logo: no shift on hover, optically balanced) ---------- */
.kcc-lw { display: block; max-width: 100%; flex: 0 0 auto; transform: translateZ(0); backface-visibility: hidden; }
.kcc-lw img.kcc-logo-mono { display: block; width: 100%; height: auto; max-width: none !important; max-height: none !important; }
.kcc-logo-cell a { height: 7.5rem; padding: 1rem; }
.kcc-logo-cell .kcc-lw-4c-innovation { width: 104px; }
.kcc-logo-cell .kcc-lw-cassens-plath { width: 135px; }
.kcc-logo-cell .kcc-lw-cisco { width: 114px; }
.kcc-logo-cell .kcc-lw-cobham { width: 135px; }
.kcc-logo-cell .kcc-lw-dnh { width: 82px; }
.kcc-logo-cell .kcc-lw-e2s { width: 114px; }
.kcc-logo-cell .kcc-lw-jotron { width: 136px; }
.kcc-logo-cell .kcc-lw-lancom { width: 165px; }
.kcc-logo-cell .kcc-lw-lopolight { width: 190px; }
.kcc-logo-cell .kcc-lw-marsig { width: 163px; }
.kcc-logo-cell .kcc-lw-motorola { width: 172px; }
.kcc-logo-cell .kcc-lw-scan-antenna { width: 136px; }
.kcc-logo-cell .kcc-lw-seas { width: 169px; }
.kcc-logo-cell .kcc-lw-sm-electrics { width: 124px; }
.kcc-logo-cell .kcc-lw-wiska { width: 141px; }
.kcc-partner-logo .kcc-lw-anschuetz { width: 185px; }
.kcc-partner-logo .kcc-lw-zenitel { width: 155px; }
.kcc-partner-logo .kcc-lw-zoellner { width: 134px; }
.kcc-service-logos .kcc-lw-anschuetz { width: 205px; }
.kcc-service-logos .kcc-lw-zenitel { width: 188px; }
.kcc-service-logos .kcc-lw-zoellner { width: 169px; }
