/*
Theme Name: Hei-Sa Modern
Theme URI: https://hei-sa-dortmund.de/
Author: Hei-Sa GmbH & Co. KG
Description: Corporate-Theme der Hei-Sa GmbH & Co. KG – Fachhandel und Installation für Heizungs- und Sanitärtechnik in Dortmund. Legt bei der Aktivierung alle Seiten, das Menü und die Startseite automatisch an. Einstellungen unter Design → Customizer → „Hei-Sa Einstellungen“, Inhalte neu laden unter Design → „Hei-Sa Inhalte“.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heisa
*/

/* ==========================================================================
   1. Schriften (lokal, ohne Verbindung zu Google)
   ========================================================================== */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-display: swap;
	font-weight: 100 900;
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

/* ==========================================================================
   2. Designsystem
   ========================================================================== */
:root {
	/* Markenfarben (im Customizer änderbar) */
	--hs-primary: #14294d;          /* Dunkelblau – zentrale Markenfarbe */
	--hs-accent: #4a76a8;           /* Stahlblau – Ergänzung */
	--hs-primary-dark: color-mix(in srgb, var(--hs-primary) 78%, #000);
	--hs-primary-soft: color-mix(in srgb, var(--hs-primary) 6%, #fff);
	--hs-accent-dark: color-mix(in srgb, var(--hs-accent) 80%, var(--hs-primary));
	--hs-accent-soft: color-mix(in srgb, var(--hs-accent) 12%, #fff);
	/* Neutrale Töne */
	--hs-text: #1a2433;
	--hs-muted: #5a6676;
	--hs-line: #e2e7ee;
	--hs-bg: #ffffff;
	--hs-bg-alt: #f3f5f8;           /* Hellgrau */
	/* Form */
	--hs-radius: 14px;
	--hs-radius-sm: 8px;
	--hs-shadow: 0 1px 2px rgba(20, 41, 77, .05), 0 10px 30px rgba(20, 41, 77, .07);
	--hs-shadow-lg: 0 24px 60px rgba(20, 41, 77, .16);
	/* Typografie */
	--hs-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--hs-font-head: "Manrope", var(--hs-font);
	/* Layout */
	--hs-wide: 1200px;
	--hs-header-h: calc(var(--hs-logo-h, 84px) + 22px);
	--hs-section: clamp(64px, 9vw, 120px);
	--hs-ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
	margin: 0;
	font-family: var(--hs-font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--hs-text);
	background: var(--hs-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hs-accent-dark); text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--hs-primary); }

h1, h2, h3, h4 {
	font-family: var(--hs-font-head);
	line-height: 1.12;
	letter-spacing: -0.025em;
	color: var(--hs-primary);
	margin: 0 0 .55em;
	font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.01em; font-weight: 750; }
p { margin: 0 0 1.1em; }
strong { font-weight: 650; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px; background: #fff; border-radius: 8px;
}
:focus-visible { outline: 3px solid var(--hs-accent); outline-offset: 3px; }

.hs-container { max-width: var(--hs-wide); margin-inline: auto; padding-inline: 24px; }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.hs-btn,
.wp-block-button__link,
.hs-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	padding: .95em 1.6em;
	border-radius: 6px;
	border: 2px solid var(--hs-primary);
	background: var(--hs-primary);
	color: #fff;
	font-family: var(--hs-font-head);
	font-weight: 700;
	font-size: .98rem;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--hs-ease), background .2s, border-color .2s, color .2s, box-shadow .25s;
}
.hs-btn:hover,
.wp-block-button__link:hover,
.hs-form button:hover {
	background: var(--hs-accent-dark);
	border-color: var(--hs-accent-dark);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(20, 41, 77, .2);
}
.is-style-outline > .wp-block-button__link,
.hs-btn--ghost {
	background: transparent;
	color: var(--hs-primary);
	border-color: color-mix(in srgb, var(--hs-primary) 30%, transparent);
}
.is-style-outline > .wp-block-button__link:hover,
.hs-btn--ghost:hover { background: var(--hs-primary); border-color: var(--hs-primary); color: #fff; }
.hs-btn svg { width: 1.1em; height: 1.1em; flex: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.8em 0 0; }

/* Textlink mit Pfeil */
.hs-more a, a.hs-more {
	font-family: var(--hs-font-head);
	font-weight: 700;
	color: var(--hs-primary);
	text-decoration: none;
	display: inline-flex; align-items: center; gap: 8px;
}
.hs-more a::after, a.hs-more::after { content: "→"; transition: transform .2s var(--hs-ease); }
.hs-more a:hover::after, a.hs-more:hover::after { transform: translateX(4px); }

/* ==========================================================================
   4. Kopfbereich & Navigation
   ========================================================================== */
.hs-topbar { background: var(--hs-primary); color: rgba(255, 255, 255, .8); font-size: .85rem; }
.hs-topbar .hs-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.hs-topbar a { color: #fff; text-decoration: none; }
.hs-topbar a:hover { color: #fff; text-decoration: underline; }
.hs-topbar__items { display: flex; gap: 24px; flex-wrap: wrap; }
.hs-topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.hs-topbar svg { width: 15px; height: 15px; opacity: .75; }

.hs-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(12px);
	-webkit-backdrop-filter: saturate(160%) blur(12px);
	border-bottom: 1px solid var(--hs-line);
	transition: box-shadow .3s;
}
.admin-bar .hs-header { top: 32px; }
.hs-header.is-scrolled { box-shadow: 0 8px 30px rgba(20, 41, 77, .08); }
.hs-header .hs-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--hs-header-h); }

.hs-brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.hs-header .hs-brand img, .hs-header .hs-brand .custom-logo { height: var(--hs-logo-h, 84px); max-height: none; width: auto; transition: height .3s var(--hs-ease); }
.hs-header.is-scrolled .hs-brand img { height: calc(var(--hs-logo-h, 84px) * .8); }
.hs-brand__text { font-family: var(--hs-font-head); font-weight: 800; font-size: 1.35rem; color: var(--hs-primary); line-height: 1.1; }
.hs-brand__text small { display: block; font-size: .72rem; font-weight: 600; color: var(--hs-muted); }

.hs-nav { display: flex; align-items: center; gap: 6px; }
.hs-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.hs-nav li a {
	position: relative;
	display: block;
	padding: 10px 14px;
	color: var(--hs-text);
	font-family: var(--hs-font-head);
	font-weight: 650;
	font-size: .96rem;
	text-decoration: none;
	transition: color .2s;
}
.hs-nav li a::after {
	content: "";
	position: absolute; left: 14px; right: 14px; bottom: 4px;
	height: 2px; background: var(--hs-accent);
	transform: scaleX(0); transform-origin: left;
	transition: transform .3s var(--hs-ease);
}
.hs-nav li a:hover { color: var(--hs-primary); }
.hs-nav li a:hover::after,
.hs-nav li.current-menu-item > a::after,
.hs-nav li.current_page_item > a::after { transform: scaleX(1); }
.hs-nav li.current-menu-item > a, .hs-nav li.current_page_item > a { color: var(--hs-primary); }
.hs-nav .hs-btn { margin-left: 12px; padding: .75em 1.25em; }
.hs-btn__mob { display: none; }
@media (max-width: 960px) { .hs-btn--phone .hs-btn__desk { display: none; } .hs-btn--phone .hs-btn__mob { display: inline; } }

.hs-menu-toggle {
	display: none; width: 46px; height: 46px; border-radius: 8px;
	border: 1px solid var(--hs-line); background: #fff; cursor: pointer;
	align-items: center; justify-content: center;
}
.hs-menu-toggle span, .hs-menu-toggle span::before, .hs-menu-toggle span::after {
	display: block; width: 20px; height: 2px; background: var(--hs-primary);
	border-radius: 2px; position: relative; transition: transform .25s var(--hs-ease), background .2s;
}
.hs-menu-toggle span::before, .hs-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.hs-menu-toggle span::before { top: -6px; }
.hs-menu-toggle span::after { top: 6px; }
.hs-menu-open .hs-menu-toggle span { background: transparent; }
.hs-menu-open .hs-menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.hs-menu-open .hs-menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   5. Seitenkopf der Unterseiten
   ========================================================================== */
.hs-pagehead {
	position: relative; overflow: hidden; color: #fff;
	background:
		url("assets/img/bg-pipes-small.svg") right bottom / auto 100% no-repeat,
		linear-gradient(120deg, var(--hs-primary) 0%, color-mix(in srgb, var(--hs-primary) 70%, var(--hs-accent)) 100%);
	padding: clamp(64px, 9vw, 112px) 0 clamp(52px, 7vw, 88px);
}
.hs-pagehead h1 { color: #fff; margin: 0; font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.hs-breadcrumb { font-size: .88rem; margin-bottom: 12px; color: rgba(255, 255, 255, .7); }
.hs-breadcrumb a { color: #fff; text-decoration: none; }
.hs-breadcrumb a:hover { text-decoration: underline; }

/* ==========================================================================
   6. Inhaltsbereich & Sektionen
   ========================================================================== */
.hs-main { display: block; }
.entry-content { padding-bottom: var(--hs-section); }
.home .entry-content, .entry-content:has(> .alignfull:last-child) { padding-bottom: 0; }
.entry-content > :first-child:not(.alignfull) { margin-top: var(--hs-section); }
.entry-content > .alignfull { margin-top: 0; margin-bottom: 0; }
.entry-content > .alignfull + :not(.alignfull) { margin-top: var(--hs-section); }
.entry-content > :not(.alignfull) + .alignfull { margin-top: var(--hs-section); }

.hs-section, .hs-section-alt, .hs-hero, .hs-cta, .hs-dark {
	padding-top: var(--hs-section);
	padding-bottom: var(--hs-section);
}
.hs-section-alt { background: var(--hs-bg-alt); }
.hs-dark { background: var(--hs-primary); color: rgba(255, 255, 255, .85); }
.hs-dark h2, .hs-dark h3 { color: #fff; }

.hs-eyebrow {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--hs-font-head);
	font-size: .8rem !important;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hs-accent);
	margin-bottom: 14px !important;
}
.hs-eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }
.hs-lead { font-size: 1.15rem; color: var(--hs-muted); }
.hs-center { text-align: center; }
.hs-center .hs-eyebrow { justify-content: center; }
.hs-center .wp-block-buttons { justify-content: center; }

/* ---------- Startbereich ---------- */
.hs-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		url("assets/img/bg-hero.svg") right -420px center / auto 115% no-repeat,
		radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--hs-accent) 35%, transparent), transparent 60%),
		var(--hs-hero-image, none) center / cover no-repeat,
		var(--hs-primary);
	padding-top: clamp(64px, 9vw, 128px);
	padding-bottom: clamp(64px, 9vw, 128px);
}
.hs-hero h1 { color: #fff; }
.hs-hero p { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 560px; }
.hs-hero .hs-eyebrow { color: color-mix(in srgb, var(--hs-accent) 55%, #fff); }
.hs-hero .wp-block-button__link { background: #fff; color: var(--hs-primary); border-color: #fff; }
.hs-hero .wp-block-button__link:hover { background: var(--hs-accent); border-color: var(--hs-accent); color: #fff; }
.hs-hero .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hs-hero .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--hs-primary); border-color: #fff; }
.hs-hero-grid { gap: clamp(32px, 5vw, 72px) !important; align-items: center !important; }
@media (min-width: 782px) {
	.hs-hero-grid > .wp-block-column:first-child { flex: 0 0 54% !important; }
	.hs-hero-grid > .wp-block-column:last-child { flex: 1 1 0 !important; }
}

.hs-hero-media img,
.hs-media-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-position: 72% center;
	object-fit: cover;
	border-radius: var(--hs-radius);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.hs-hero-media { margin: 0; }
.hs-media-placeholder {
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 32px;
	background:
		url("assets/img/bg-pipes-small.svg") center 30% / 140% auto no-repeat,
		linear-gradient(160deg, color-mix(in srgb, var(--hs-accent) 70%, var(--hs-primary)), var(--hs-primary-dark));
	color: #fff;
	font-family: var(--hs-font-head);
	border: 1px solid rgba(255, 255, 255, .12);
}
.hs-media-placeholder strong { font-size: 1.5rem; line-height: 1.2; font-weight: 800; }
.hs-media-placeholder small { display: block; opacity: .7; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px; }

ul.hs-facts {
	list-style: none; padding: 0; margin: 2.4em 0 0;
	display: flex; flex-wrap: wrap; gap: 12px 28px;
	font-weight: 550; font-size: .95rem;
}
ul.hs-facts li { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
ul.hs-facts li::before {
	content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
	background: var(--hs-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Zwei Geschäftsbereiche ---------- */
.hs-pillars { gap: 28px !important; margin-top: 2.6em; }
.hs-pillars > .wp-block-column {
	position: relative;
	background: #fff;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: clamp(28px, 4vw, 48px);
	box-shadow: var(--hs-shadow);
	overflow: hidden;
	transition: transform .35s var(--hs-ease), box-shadow .35s var(--hs-ease);
}
.hs-pillars > .wp-block-column::before {
	content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
	background: linear-gradient(90deg, var(--hs-primary), var(--hs-accent));
}
.hs-pillars > .wp-block-column:hover { transform: translateY(-4px); box-shadow: var(--hs-shadow-lg); }
.hs-pillars h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.hs-pillars .wp-block-image { margin: calc(-1 * clamp(28px, 4vw, 48px)) calc(-1 * clamp(28px, 4vw, 48px)) 28px; }
.hs-pillars .wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hs-pillars > .wp-block-column::after {
	content: ""; position: absolute;
	top: clamp(28px, 4vw, 48px); right: clamp(28px, 4vw, 48px);
	width: 56px; height: 56px; border-radius: 12px;
	background: var(--hs-icon, none) center / 28px no-repeat, linear-gradient(135deg, var(--hs-primary), color-mix(in srgb, var(--hs-primary) 60%, var(--hs-accent)));
	box-shadow: 0 10px 24px rgba(20, 41, 77, .22);
}
.hs-pillars .hs-eyebrow, .hs-pillars h3 { padding-right: 72px; }
.hs-center .hs-pillars { text-align: left; }
.hs-pillars .hs-eyebrow { justify-content: flex-start !important; }

/* ---------- Leistungskarten mit Icons ---------- */
.hs-cards { gap: 24px !important; margin-top: 2.4em; }
.hs-cards + .hs-cards { margin-top: 24px; }
.hs-cards > .wp-block-column {
	background: #fff;
	border: 1px solid var(--hs-line);
	border-radius: var(--hs-radius);
	padding: 32px 28px;
	transition: transform .35s var(--hs-ease), box-shadow .35s var(--hs-ease), border-color .35s;
}
.hs-cards > .wp-block-column:hover { transform: translateY(-4px); box-shadow: var(--hs-shadow-lg); border-color: transparent; }
.hs-cards > .wp-block-column > :last-child { margin-bottom: 0; }
.hs-cards h3::before {
	content: ""; display: block;
	width: 52px; height: 52px; margin-bottom: 18px; border-radius: 12px;
	background: var(--hs-accent-soft) var(--hs-icon, none) center / 26px no-repeat;
	transition: background-color .3s;
}
.hs-center .hs-cards { text-align: left; }
.hs-center .hs-cards .hs-eyebrow { justify-content: flex-start; }
.hs-center .wp-block-gallery { text-align: left; }

/* Icons (stahlblau auf hell / weiß auf dunkel) */
.hs-ic-flame  { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c2.5 3 5 5.5 5 9a5 5 0 0 1-10 0c0-2 1-3.5 2-4.5.3 1.5 1 2.5 2 3 0-3 .5-5 1-7.5z'/%3E%3C/svg%3E"); }
.hs-ic-pump   { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='10' cy='12' r='4'/%3E%3Cpath d='M10 8v8M6 12h8M17 8v.01M17 12v.01M17 16v.01'/%3E%3C/svg%3E"); }
.hs-ic-bath   { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z'/%3E%3Cpath d='M6 12V6a2 2 0 0 1 4 0M7 19l-1 2M17 19l1 2'/%3E%3C/svg%3E"); }
.hs-ic-access { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='4.5' r='1.6'/%3E%3Cpath d='M11 7v6h5l2 5M11 10h4'/%3E%3Cpath d='M8.5 11a5 5 0 1 0 6.5 6.5'/%3E%3C/svg%3E"); }
.hs-ic-wrench { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.2L3.5 17.3a1.8 1.8 0 0 0 2.6 2.6l5.8-5.8a4 4 0 0 0 5.2-5.4l-2.4 2.4-2.3-.5-.5-2.3z'/%3E%3C/svg%3E"); }
.hs-ic-energy { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='m13 11-3 4h4l-3 4'/%3E%3C/svg%3E"); }
.hs-ic-shop   { --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l1.5-5h15L21 9'/%3E%3Cpath d='M3 9h18v2a3 3 0 0 1-6 0 3 3 0 0 1-6 0 3 3 0 0 1-6 0z'/%3E%3Cpath d='M5 13v7h14v-7M10 20v-4h4v4'/%3E%3C/svg%3E"); }
.hs-ic-install{ --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h6a3 3 0 0 1 3 3v10M12 14h9M7 5v6M17 11v6'/%3E%3C/svg%3E"); }

/* ---------- Häkchen-Listen ---------- */
ul.hs-checklist { list-style: none; padding: 0; margin: 1.2em 0 0; }
ul.hs-checklist li { position: relative; padding-left: 32px; margin-bottom: .6em; }
ul.hs-checklist li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
	background: var(--hs-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a76a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Bild + Text ---------- */
.hs-split { gap: clamp(36px, 6vw, 88px) !important; align-items: center !important; }
.hs-split .wp-block-image { margin: 0; }
.hs-split .wp-block-image img,
.hs-photo img {
	width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
	border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-lg);
}
.hs-owners { position: relative; }
.hs-owners img { aspect-ratio: 5 / 4 !important; }

/* Inhaber-Bild mit Namenszeile */
.hs-owners-figure { position: relative; margin: 0; }
.hs-owners-figure figcaption,
.hs-owners figcaption {
	position: absolute; left: 20px; bottom: 20px;
	background: rgba(255, 255, 255, .95);
	border-radius: 8px;
	padding: 12px 16px;
	font-family: var(--hs-font-head);
	font-weight: 750;
	color: var(--hs-primary);
	font-size: .95rem;
	box-shadow: var(--hs-shadow);
	margin: 0;
}
.hs-owners-figure figcaption small, .hs-owners figcaption small { display: block; font-weight: 600; color: var(--hs-muted); font-size: .78rem; }

/* Platzhalter, solange noch kein Foto eingesetzt ist */
.hs-photo-placeholder {
	aspect-ratio: 4 / 3;
	border-radius: var(--hs-radius);
	background:
		url("assets/img/bg-pipes-small.svg") center 35% / 150% auto no-repeat,
		linear-gradient(150deg, color-mix(in srgb, var(--hs-accent) 75%, var(--hs-primary)), var(--hs-primary));
	box-shadow: var(--hs-shadow-lg);
	display: flex; align-items: flex-end;
	padding: 28px;
	color: #fff;
	font-family: var(--hs-font-head);
	font-weight: 800;
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	line-height: 1.2;
}
.hs-photo-placeholder small { display: block; font-size: .75rem; font-weight: 700; opacity: .7; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }

/* ---------- Qualifikationen / Unternehmensdaten ---------- */
ul.hs-qualis {
	list-style: none; margin: 0; padding: 12px 32px;
	background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius);
	box-shadow: var(--hs-shadow-lg);
}
ul.hs-qualis li {
	display: grid; grid-template-columns: 1fr; gap: 2px;
	padding: 18px 0 18px 56px; position: relative;
	border-bottom: 1px solid var(--hs-line);
	color: var(--hs-muted); font-size: .95rem;
}
ul.hs-qualis li:last-child { border-bottom: 0; }
ul.hs-qualis li::before {
	content: ""; position: absolute; left: 0; top: 20px; width: 40px; height: 40px; border-radius: 10px;
	background: var(--hs-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
ul.hs-qualis strong { display: block; font-family: var(--hs-font-head); font-size: 1.05rem; font-weight: 750; color: var(--hs-primary); }

/* ---------- Zeitleiste ---------- */
ul.hs-steps {
	list-style: none; padding: 0; margin: 2.6em 0 0;
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
	position: relative;
}
ul.hs-steps::before {
	content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px;
	background: linear-gradient(90deg, var(--hs-accent), color-mix(in srgb, var(--hs-accent) 20%, transparent));
}
ul.hs-steps li { position: relative; padding-top: 40px; color: var(--hs-muted); font-size: .96rem; }
ul.hs-steps li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: #fff; border: 5px solid var(--hs-accent);
}
ul.hs-steps strong { display: block; font-family: var(--hs-font-head); font-size: 1.45rem; font-weight: 800; color: var(--hs-primary); margin-bottom: 4px; letter-spacing: -0.02em; }
.hs-dark ul.hs-steps li { color: rgba(255, 255, 255, .78); }
.hs-dark ul.hs-steps strong { color: #fff; }
.hs-dark ul.hs-steps li::before { background: var(--hs-primary); }

/* ---------- Partnerlogos (einheitlich in Graustufen) ---------- */
ul.hs-brands {
	list-style: none; padding: 0; margin: 2.4em 0 0;
	display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
ul.hs-brands li {
	display: flex; align-items: center; justify-content: center;
	min-height: 104px; padding: 18px;
	background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius-sm);
	font-family: var(--hs-font-head); font-weight: 750; color: var(--hs-primary);
	transition: border-color .3s, box-shadow .3s;
}
ul.hs-brands li:hover { border-color: color-mix(in srgb, var(--hs-accent) 40%, transparent); box-shadow: var(--hs-shadow); }
ul.hs-brands img {
	max-height: 52px; max-width: 100%; width: auto; height: auto; object-fit: contain;
	filter: grayscale(1) contrast(1.1); opacity: .8; transition: opacity .3s;
}
ul.hs-brands li:hover img { opacity: 1; }

/* ---------- Galerie ---------- */
.wp-block-gallery.has-nested-images {
	margin-top: 2em;
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px !important;
}
.wp-block-gallery.has-nested-images.columns-2 { grid-template-columns: repeat(2, 1fr); }
.wp-block-gallery.has-nested-images.columns-4 { grid-template-columns: repeat(4, 1fr); }
.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: 100% !important; margin: 0 !important; }
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, 1fr) !important; } }
.wp-block-gallery.has-nested-images figure.wp-block-image { border-radius: var(--hs-radius-sm); overflow: hidden; }
.wp-block-gallery.has-nested-images figure.wp-block-image img {
	border-radius: var(--hs-radius-sm);
	transition: transform .6s var(--hs-ease), filter .4s;
}
.wp-block-gallery.has-nested-images figure.wp-block-image:hover img { transform: scale(1.05); filter: brightness(1.04); }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: linear-gradient(0deg, rgba(20, 41, 77, .85), transparent);
	font-family: var(--hs-font-head); font-weight: 600; font-size: .85rem;
}
.wp-lightbox-overlay .scrim { background-color: rgba(10, 20, 38, .92) !important; }

/* ---------- CTA-Band ---------- */
.hs-cta {
	text-align: center; color: #fff;
	background:
		url("assets/img/bg-waves.svg") center / 100% 100% no-repeat,
		linear-gradient(120deg, var(--hs-primary) 0%, color-mix(in srgb, var(--hs-primary) 55%, var(--hs-accent)) 100%);
}
.hs-cta h2 { color: #fff; }
.hs-cta p { color: rgba(255, 255, 255, .85); font-size: 1.12rem; }
.hs-cta .wp-block-buttons { justify-content: center; }
.hs-cta .wp-block-button__link { background: #fff; color: var(--hs-primary); border-color: #fff; }
.hs-cta .wp-block-button__link:hover { background: var(--hs-accent); border-color: var(--hs-accent); color: #fff; }
.hs-cta .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.hs-cta .is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--hs-primary); }

/* ---------- Stellenanzeige ---------- */
.hs-job {
	border: 1px solid var(--hs-line); border-radius: var(--hs-radius);
	padding: clamp(28px, 4vw, 52px); background: #fff; box-shadow: var(--hs-shadow);
	border-top: 4px solid var(--hs-primary);
}
.hs-job h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.hs-job h3 { font-size: 1.1rem; }

/* ---------- Bewerbung ---------- */
.hs-application { background: #fff; border: 1px solid var(--hs-line); border-radius: var(--hs-radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--hs-shadow); }
#bewerbung { scroll-margin-top: calc(var(--hs-header-h) + 20px); }
.hs-apply-ways { align-items: flex-start !important; }

/* ---------- Rechtstexte ---------- */
.hs-legal h2 { font-size: 1.7rem; margin-top: 1.6em; }
.hs-legal h3 { font-size: 1.12rem; margin-top: 1.4em; }
.hs-note { background: var(--hs-accent-soft); border-left: 4px solid var(--hs-accent); padding: 14px 18px; border-radius: 6px; font-size: .95rem; }

/* ==========================================================================
   7. Kontakt & Formular
   ========================================================================== */
.hs-contact-card { background: var(--hs-primary); color: rgba(255, 255, 255, .85); border-radius: var(--hs-radius); padding: 36px; box-shadow: var(--hs-shadow-lg); }
.hs-contact-card h3 { color: #fff; }
.hs-contact-card a { color: #fff; text-decoration: none; }
.hs-contact-card a:hover { text-decoration: underline; }
.hs-contact-list { list-style: none; padding: 0; margin: 0; }
.hs-contact-list li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hs-contact-list li:last-child { border-bottom: 0; }
.hs-contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: color-mix(in srgb, var(--hs-accent) 60%, #fff); }
.hs-contact-list small { display: block; font-size: .76rem; opacity: .65; text-transform: uppercase; letter-spacing: .1em; }

.hs-form { display: grid; gap: 16px; }
.hs-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--hs-primary); }
.hs-form input[type="text"], .hs-form input[type="email"], .hs-form input[type="tel"], .hs-form select, .hs-form textarea {
	width: 100%; padding: 13px 15px; border: 1.5px solid var(--hs-line); border-radius: var(--hs-radius-sm);
	font: inherit; font-size: 1rem; background: #fff; color: var(--hs-text);
	transition: border-color .2s, box-shadow .2s;
}
.hs-form textarea { min-height: 150px; resize: vertical; }
.hs-form input:focus, .hs-form select:focus, .hs-form textarea:focus { outline: none; border-color: var(--hs-accent); box-shadow: 0 0 0 4px var(--hs-accent-soft); }
.hs-form__consent { display: flex !important; gap: 10px; align-items: flex-start; font-size: .9rem !important; font-weight: 400 !important; color: var(--hs-muted) !important; }
.hs-form__consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--hs-primary); }
.hs-form__hp { position: absolute !important; left: -9999px !important; }
.hs-form button { justify-self: start; }
.hs-alert { padding: 14px 18px; border-radius: var(--hs-radius-sm); font-weight: 600; margin-bottom: 18px; }
.hs-alert--ok { background: var(--hs-accent-soft); color: var(--hs-primary); border-left: 4px solid var(--hs-accent); }
.hs-alert--err { background: #fdecec; color: #a02020; }

/* ==========================================================================
   8. Fußbereich
   ========================================================================== */
.hs-footer { background: var(--hs-primary-dark); color: rgba(255, 255, 255, .7); font-size: .94rem; padding-top: 80px; }
.hs-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.hs-footer a:hover { color: #fff; text-decoration: underline; }
.hs-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 60px; }
.hs-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.hs-footer ul { list-style: none; padding: 0; margin: 0; }
.hs-footer li { margin-bottom: 10px; }
.hs-footer .custom-logo { background: #fff; padding: 12px 16px; border-radius: 8px; height: 92px; max-height: none; width: auto; }
.hs-footer__about { margin-top: 20px; max-width: 320px; }
.hs-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .85rem; }
.hs-footer__bottom .hs-container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.hs-footer__bottom ul { display: flex; gap: 22px; }
.hs-footer__bottom li { margin: 0; }
.hs-hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }

.hs-mobilebar { display: none; }

/* ==========================================================================
   9. Dezente Animationen (nur mit JavaScript, respektiert „weniger Bewegung“)
   ========================================================================== */
.hs-js .hs-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--hs-ease), transform .8s var(--hs-ease); }
.hs-js .hs-reveal.is-visible { opacity: 1; transform: none; }
.hs-js .hs-hero .hs-hero-grid > * { animation: hs-rise .9s var(--hs-ease) both; }
.hs-js .hs-hero .hs-hero-grid > *:nth-child(2) { animation-delay: .15s; }
@keyframes hs-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   10. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.hs-nav li a { padding: 10px 10px; font-size: .92rem; }
	.hs-nav li a::after { left: 10px; right: 10px; }
	.hs-nav .hs-btn { display: none; }
}

@media (max-width: 960px) {
	:root { --hs-header-h: 78px; }
	.hs-header .hs-brand img, .hs-header .hs-brand .custom-logo { height: 60px; }
	.hs-header.is-scrolled .hs-brand img { height: 52px; }
	.hs-menu-toggle { display: inline-flex; }
	.hs-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.hs-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		height: calc(100vh - var(--hs-header-h)); height: calc(100dvh - var(--hs-header-h));
		background: #fff; border-top: 1px solid var(--hs-line);
		flex-direction: column; align-items: stretch;
		padding: 16px 24px 120px; overflow-y: auto;
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .25s var(--hs-ease), transform .25s var(--hs-ease), visibility .25s;
		z-index: 40;
	}
	.hs-menu-open .hs-nav { visibility: visible; opacity: 1; transform: none; }
	.hs-nav ul { flex-direction: column; gap: 0; }
	.hs-nav li a { padding: 16px 4px; font-size: 1.12rem; border-bottom: 1px solid var(--hs-line); }
	.hs-nav li a::after { display: none; }
	.hs-nav .hs-btn { display: inline-flex; margin: 24px 0 0; }
	.hs-footer__grid { grid-template-columns: 1fr 1fr; }
	ul.hs-brands { grid-template-columns: repeat(3, 1fr); }
	ul.hs-steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
	ul.hs-steps::before { display: none; }
}

@media (max-width: 781px) {
	body { font-size: 16px; }
	.hs-topbar__item--address { display: none; }
	.hs-form__row { grid-template-columns: 1fr; }
	.hs-hero { background-position: right -300px bottom -60px, 0 0, center, 0 0; background-size: auto 60%, auto, cover, auto; }
	.hs-hero-media img, .hs-hero .hs-media-placeholder { aspect-ratio: 4 / 3; }
	.hs-pagehead { background-size: auto 60%, auto; }
	.hs-mobilebar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
		position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
		padding: 8px; border-radius: 12px;
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 10px 40px rgba(20, 41, 77, .25);
	}
	.hs-mobilebar .hs-btn { padding: .85em 1em; }
	.hs-mobilebar .hs-btn--alt { background: var(--hs-accent); border-color: var(--hs-accent); }
	.hs-footer { padding-bottom: 84px; }
}

@media (max-width: 600px) {
	.hs-topbar .hs-container { justify-content: center; }
	.hs-topbar__item--hours { display: none; }
	.hs-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	ul.hs-brands { grid-template-columns: repeat(2, 1fr); }
	ul.hs-steps { grid-template-columns: 1fr; }
	.admin-bar .hs-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	.hs-js .hs-reveal { opacity: 1; transform: none; }
}
