/* holmehr Bauteile. Werte kommen aus theme.json (var(--wp--preset--…)); hier keine eigenen Farben oder Größen.
   Vorlage: docs/design/basis.css. Eckig: kein border-radius an Kästen, Buttons, Bildern. Keine Verläufe, Schatten, Leuchteffekte. */

:root {
	--hm-papier: var(--wp--preset--color--papier);
	--hm-hellgrau: var(--wp--preset--color--hellgrau);
	--hm-nebel: var(--wp--preset--color--nebel);
	--hm-nachtblau: var(--wp--preset--color--nachtblau);
	--hm-schiefer: var(--wp--preset--color--schiefer);
	--hm-schiefer-hell: var(--wp--preset--color--schiefer-hell);
	--hm-auf-dunkel: var(--wp--preset--color--auf-dunkel);
	--hm-gruen: var(--wp--preset--color--gruen);
	--hm-gruen-dunkel: var(--wp--preset--color--gruen-dunkel);
	--hm-linie: var(--wp--preset--color--linie);
	--hm-rahmen: var(--wp--preset--color--rahmen);
	--hm-ziegel: var(--wp--preset--color--ziegel);
	--hm-abschnitt: var(--wp--preset--spacing--abschnitt);
	--hm-ease: var(--wp--custom--ease-out);
	--hm-nav: var(--wp--custom--nav-hoehe);
}

/* ---------- Grundlagen ---------- */
body { -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
p, li { hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3, h4 { hyphens: manual; text-wrap: balance; }
::selection { background: var(--hm-gruen); color: var(--hm-nachtblau); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--hm-schiefer); outline-offset: 3px; }
.has-nachtblau-background-color :where(a, button):focus-visible { outline-color: var(--hm-papier); }
img { height: auto; }

/* Links im Text: fett, Nachtblau, feine graue Linie; beim Darüberfahren Linie grün und kräftiger (Schrift bleibt dunkel). */
:where(.wp-site-blocks) :where(p, li, dd, td) a:where(:not(.wp-element-button)) {
	text-decoration-color: var(--hm-rahmen);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
	transition: text-decoration-color .15s ease;
}
:where(.wp-site-blocks) :where(p, li, dd, td) a:where(:not(.wp-element-button)):hover {
	text-decoration-color: var(--hm-gruen);
	text-decoration-thickness: 2px;
}

/* Einleitung unter Überschriften */
.has-einleitung-font-size { line-height: 1.6; max-width: 720px; }
.has-klein-font-size { color: var(--hm-schiefer-hell); }

/* ---------- Abschnitte (Block-Stile der Gruppe) ---------- */
.wp-block-group[class*="is-style-abschnitt"] {
	padding-top: var(--hm-abschnitt);
	padding-bottom: var(--hm-abschnitt);
	margin-block-start: 0;
	margin-block-end: 0;
}
.is-style-abschnitt, .is-style-abschnitt-papier { background: var(--hm-papier); }
.is-style-abschnitt-hellgrau { background: var(--hm-hellgrau); }
.is-style-abschnitt-nebel { background: var(--hm-nebel); }
.is-style-abschnitt-nachtblau { background: var(--hm-nachtblau); color: var(--hm-auf-dunkel); }
.is-style-abschnitt-nachtblau :where(h1, h2, h3, h4, a:not(.wp-element-button)) { color: var(--hm-papier); }
/* „Automatisch“: Papier und Hellgrau wechseln nach Position auf der Seite (der Seitenkopf zählt als erster). */
.wp-block-post-content > .is-style-abschnitt:nth-child(even) { background: var(--hm-hellgrau); }
/* Abschnitte liegen ohne Abstand untereinander */
.wp-block-post-content > .alignfull { margin-block-start: 0; }

/* Kopf eines Abschnitts: Überschrift (+ Einleitung) links, Link oder Steuerung rechts */
.hm-abschnittskopf { margin-bottom: var(--wp--preset--spacing--60) !important; }
.hm-abschnittskopf .has-einleitung-font-size { margin-top: 16px; }

/* Karte: Fläche je nach Umgebung, eckig */
.wp-block-group.is-style-karte { padding: 32px; background: var(--hm-hellgrau); }
:where(.is-style-abschnitt-hellgrau, .is-style-abschnitt-nebel, .wp-block-post-content > .is-style-abschnitt:nth-child(even)) .wp-block-group.is-style-karte:not(.has-background) { background: var(--hm-papier); }
.wp-block-group.is-style-karte.has-background { padding: 32px; }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link, .hm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; position: relative; isolation: isolate; overflow: hidden; border-radius: 0;
	white-space: nowrap; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform 160ms var(--hm-ease);
}
/* dunkles Grün fährt von links herein (nur mit Maus) */
.wp-block-button:not(.is-style-textlink):not(.is-style-umrandet):not(.is-style-dunkel) .wp-block-button__link::before, .hm-btn::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hm-gruen-dunkel);
	clip-path: inset(0 100% 0 0); transition: clip-path 250ms var(--hm-ease);
}
@media (hover: hover) and (pointer: fine) {
	.wp-block-button:not(.is-style-textlink):not(.is-style-umrandet):not(.is-style-dunkel) .wp-block-button__link:hover, .hm-btn:hover { background: var(--hm-gruen); }
	.wp-block-button:not(.is-style-textlink):not(.is-style-umrandet):not(.is-style-dunkel) .wp-block-button__link:hover::before, .hm-btn:hover::before { clip-path: inset(0); }
}
.wp-block-button__link:active, .hm-btn:active { transform: scale(.97); }
.hm-kopf .wp-block-button__link { min-height: 44px; padding: 14px 22px; font-size: 15px; }

.wp-block-button.is-style-dunkel .wp-block-button__link { background: var(--hm-nachtblau); color: var(--hm-papier); }
.wp-block-button.is-style-dunkel .wp-block-button__link:hover { background: var(--hm-schiefer); }
.wp-block-button.is-style-umrandet .wp-block-button__link { background: transparent; color: var(--hm-nachtblau); box-shadow: inset 0 0 0 2px var(--hm-schiefer); }
.wp-block-button.is-style-umrandet .wp-block-button__link:hover { background: var(--hm-papier); }
.is-style-abschnitt-nachtblau .wp-block-button.is-style-umrandet .wp-block-button__link { color: var(--hm-papier); box-shadow: inset 0 0 0 2px var(--hm-auf-dunkel); }
.is-style-abschnitt-nachtblau .wp-block-button.is-style-umrandet .wp-block-button__link:hover { background: var(--hm-schiefer); }

/* Textlink mit Pfeil: fett, ohne Fläche; Linie und grüner Pfeil beim Darüberfahren */
.wp-block-button.is-style-textlink .wp-block-button__link {
	background: none; padding: 0; min-height: 44px; color: var(--hm-nachtblau); text-underline-offset: 6px;
}
.wp-block-button.is-style-textlink .wp-block-button__link::after { content: "→"; display: inline-block; transition: transform .15s var(--hm-ease), color .15s ease; }
@media (hover: hover) and (pointer: fine) {
	.wp-block-button.is-style-textlink .wp-block-button__link:hover { text-decoration: underline; text-decoration-color: var(--hm-gruen); text-decoration-thickness: 2px; }
	.wp-block-button.is-style-textlink .wp-block-button__link:hover::after { transform: translateX(3px); color: var(--hm-gruen-dunkel); }
}
.is-style-abschnitt-nachtblau .wp-block-button.is-style-textlink .wp-block-button__link { color: var(--hm-papier); }

/* ---------- Bilder ---------- */
.wp-block-image img { border-radius: 0; }
/* Mit Quadrat: ein Quadrat in Leistungsfarbe bündig oben rechts (Farbe über --hm-quadrat, Standard Himmel) */
.wp-block-image.is-style-quadrat { position: relative; }
.wp-block-image.is-style-quadrat::after { content: ""; position: absolute; top: 0; right: 0; width: 18%; aspect-ratio: 1; background: var(--hm-quadrat, var(--wp--preset--color--himmel)); }
/* Masken: Rundungen nur im Inneren */
.wp-block-image.is-style-maske-bogen img { border-radius: 999px 999px 0 0; }
.wp-block-image.is-style-maske-viertel img { border-top-right-radius: 100%; }
.wp-block-image.is-style-maske-halbrund img { border-radius: 0 999px 999px 0; }

/* ---------- Listen ---------- */
.wp-block-list.is-style-linien { list-style: none; padding: 0; border-top: 1px solid var(--hm-linie); }
.wp-block-list.is-style-linien > li { padding: 12px 0; border-bottom: 1px solid var(--hm-linie); margin: 0; }

/* ---------- Brotkrumen ---------- */
.hm-brotkrumen { display: flex; flex-wrap: wrap; gap: 10px; font-size: var(--wp--preset--font-size--klein); margin-bottom: 32px; }
.hm-brotkrumen a { color: var(--hm-schiefer); font-weight: 400; text-decoration: none; }
.hm-brotkrumen a:hover { text-decoration: underline; text-decoration-color: var(--hm-gruen); }
.hm-brotkrumen > * + *::before { content: "/"; margin-right: 10px; color: var(--hm-schiefer); font-weight: 400; }
.hm-brotkrumen [aria-current] { color: var(--hm-nachtblau); font-weight: 700; }

/* ---------- Logo ---------- */
.wp-block-site-logo { line-height: 0; }
.wp-block-site-logo img { height: auto; max-width: 150px; }
@media (max-width: 781px) { .wp-block-site-logo img { max-width: 128px; } }

/* ---------- Kopfzeile ---------- */
.hm-kopf { position: relative; z-index: 50; background: var(--hm-papier); }
.hm-kopf > * { margin-block-start: 0 !important; }
.hm-kopf-leiste { min-height: var(--hm-nav); gap: 36px !important; }
.hm-hauptmenue { margin-left: auto; gap: 32px !important; }
.hm-hauptmenue .wp-block-navigation-item__content { padding: 8px 0; text-decoration: none; }
.hm-hauptmenue .wp-block-navigation-item__content:hover, .hm-mega-link.ist-offen > a { text-decoration: underline; text-decoration-color: var(--hm-gruen); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hm-mega-link > a::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -1px); margin-left: 10px; transition: transform .2s var(--hm-ease); }
.hm-mega-link.ist-offen > a::after { transform: rotate(-135deg) translate(-2px, -2px); }
.hm-kopf-button .wp-block-button__link { min-height: 44px; padding: 14px 22px; font-size: 15px; }
.hm-burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; background: none; border: 0; cursor: pointer; color: var(--hm-nachtblau); }
.hm-burger span, .hm-burger::before, .hm-burger::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .2s var(--hm-ease), opacity .2s ease; }
.hm-burger::before { top: 15px; } .hm-burger span { top: 21px; } .hm-burger::after { top: 27px; }
.hm-kopf.ist-offen .hm-burger::before { transform: translateY(6px) rotate(45deg); }
.hm-kopf.ist-offen .hm-burger span { opacity: 0; }
.hm-kopf.ist-offen .hm-burger::after { transform: translateY(-6px) rotate(-45deg); }
.hm-handy-fuss { display: none; }

/* Mega-Menü (Template-Teil „Mega-Menü“): Desktop als Fläche unter der Kopfzeile */
.hm-mega { display: none; }
.hm-kopf > .hm-mega { max-width: none !important; margin: 0 !important; }
.hm-kopf.mega-offen .hm-mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--hm-papier); border-top: 1px solid var(--hm-linie); border-bottom: 1px solid var(--hm-linie); padding: 28px 0 32px; animation: hm-mega-auf 200ms var(--hm-ease); }
body.hm-mega-dunkel::after { content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(10, 20, 30, .35); pointer-events: none; }
@keyframes hm-mega-auf { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.hm-mega > * { max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; padding-left: 24px; padding-right: 24px; box-sizing: content-box; }
/* Kompakt: Kachel neben dem Namen, kurze Erklärzeile, Unterpunkte ohne Linien */
.hm-mega-raster { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.hm-mega-raster > * { margin: 0 !important; }
.hm-mega-spalte { display: grid !important; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; align-content: start; }
.hm-mega-spalte > * { margin: 0 !important; }
.hm-mega-kachel { grid-row: 1; align-self: center; }
.hm-mega-kachel img { width: 36px; height: 36px; display: block; }
.hm-mega-titel { grid-row: 1; align-self: center; font-size: 16px; line-height: 1.3; }
.hm-mega-titel a { color: var(--hm-nachtblau); text-decoration: none !important; }
.hm-mega-titel a:hover { text-decoration: underline !important; text-decoration-color: var(--hm-gruen) !important; text-decoration-thickness: 2px !important; }
.hm-mega-erklaerung { grid-column: 1 / -1; font-size: 14px; line-height: 1.45; color: var(--hm-schiefer-hell); margin-top: 10px !important; }
.hm-mega-kurz { display: none; }
.hm-mega-auf { display: none; }
.hm-mega-liste { grid-column: 1 / -1; list-style: none; padding: 0; margin: 12px 0 0 !important; }
.hm-mega-liste li { margin: 0; }
.hm-mega-liste a { display: block; padding: 4px 0; font-size: 15px; font-weight: 400; color: var(--hm-nachtblau); text-decoration: none !important; }
.hm-mega-liste a:hover { text-decoration: underline !important; text-decoration-color: var(--hm-gruen) !important; text-decoration-thickness: 2px !important; }
.hm-mega-team { background: var(--hm-hellgrau); padding: 20px; align-self: start; }
.hm-mega-team > * { margin: 0 !important; }
.hm-mega-team p { font-size: 14px; line-height: 1.5; }
.hm-mega-team p strong { font-size: 15px; color: var(--hm-nachtblau); }
.hm-mega-team p + p { margin-top: 6px !important; }
.hm-mega-teamlink { margin-top: 12px !important; }
.hm-mega-fuss { display: none !important; }
/* Im Editor immer sichtbar, damit es sich bearbeiten lässt */
.editor-styles-wrapper .hm-mega { display: block; position: static; background: var(--hm-papier); padding: 28px 0 32px; }

/* Handy: Burger bleibt an seinem Platz und wird zum X; das Menü (.hm-handypanel, von kopf.js gebaut) schiebt sich von rechts herein */
.hm-handypanel { display: none; }
@media (max-width: 900px) {
	.hm-hauptmenue, .hm-kopf-button { display: none !important; }
	.hm-burger { display: block; }
	.hm-kopf { transition: background-color 280ms var(--hm-ease); }
	.hm-kopf.ist-offen { background: var(--hm-nachtblau); }
	.hm-kopf .wp-block-site-logo img { transition: filter 280ms var(--hm-ease); }
	.hm-kopf.ist-offen .wp-block-site-logo img { filter: brightness(0) invert(1); }
	.hm-kopf.ist-offen .hm-burger { color: var(--hm-papier); }
	.hm-handypanel { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; top: calc(var(--hm-nav) + var(--wp-admin--admin-bar--height, 0px)); z-index: 99; overflow-y: auto; overscroll-behavior: contain;
		background: var(--hm-nachtblau); padding: 8px 24px 32px; transform: translateX(100%); visibility: hidden;
		transition: transform 340ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0s linear 340ms; }
	.hm-kopf.ist-offen .hm-handypanel { transform: none; visibility: visible; transition: transform 340ms cubic-bezier(0.32, 0.72, 0, 1), visibility 0s; }
	.hm-handypanel > * { margin: 0 !important; max-width: none !important; }
	.hm-handypanel .hm-handy-titel { font-size: 24px; font-weight: 700; color: var(--hm-papier); padding: 16px 0 12px; }
	.hm-handypanel .hm-mega-raster { display: grid !important; grid-template-columns: 1fr; gap: 16px; padding: 0 0 20px !important; border-bottom: 1px solid var(--hm-schiefer); }
	.hm-handypanel .hm-mega-raster > * { margin: 0 !important; }
	.hm-handypanel .hm-mega-spalte { display: grid !important; grid-template-columns: 36px 1fr 44px; column-gap: 14px; align-items: center; }
	.hm-handypanel .hm-mega-spalte > * { margin: 0 !important; }
	.hm-handypanel .hm-mega-kachel { grid-row: span 2; }
	.hm-handypanel .hm-mega-kachel img { width: 36px; height: 36px; display: block; }
	.hm-handypanel .hm-mega-titel { font-size: 17px; line-height: 1.3; }
	.hm-handypanel .hm-mega-titel a { color: var(--hm-papier); text-decoration: none; }
	.hm-handypanel .hm-mega-kurz { display: block; font-size: 14px; line-height: 1.4; color: var(--hm-auf-dunkel); }
	.hm-handypanel :is(.hm-mega-erklaerung, .hm-mega-fuss) { display: none !important; }
	.hm-handypanel .hm-mega-auf { display: block; grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; position: relative; background: none; border: 0; cursor: pointer; color: var(--hm-papier); }
	.hm-handypanel .hm-mega-auf::before, .hm-handypanel .hm-mega-auf::after { content: ""; position: absolute; left: 14px; right: 14px; top: 21px; height: 2px; background: currentColor; transition: transform .2s var(--hm-ease); }
	.hm-handypanel .hm-mega-auf::after { transform: rotate(90deg); }
	.hm-handypanel .ist-auf .hm-mega-auf::after { transform: rotate(0); }
	.hm-handypanel .hm-mega-liste { display: none; grid-column: 1 / -1; list-style: none; padding: 0; margin: 8px 0 4px 50px !important; border-top: 1px solid var(--hm-schiefer); }
	.hm-handypanel .ist-auf .hm-mega-liste { display: block; }
	.hm-handypanel .hm-mega-liste li { margin: 0; border-bottom: 1px solid var(--hm-schiefer); }
	.hm-handypanel .hm-mega-liste a { display: block; color: var(--hm-papier); padding: 11px 0; font-size: 16px; font-weight: 400; text-decoration: none; }
	.hm-handypanel .hm-mega-team { display: block; background: none; padding: 4px 0 0 50px; }
	.hm-handypanel .hm-mega-team > * { margin: 0 0 4px !important; }
	.hm-handypanel .hm-mega-team p { color: var(--hm-auf-dunkel); font-size: 14px; }
	.hm-handypanel .hm-mega-team p strong { color: var(--hm-papier); font-size: 15px; }
	.hm-handypanel .hm-mega-team p:nth-child(2) { display: none; }
	.hm-handypanel .hm-mega-team a { color: var(--hm-papier); }
	.hm-handypanel .hm-handy-liste { list-style: none; padding: 0; margin: 0; }
	.hm-handypanel .hm-handy-liste li { border-bottom: 1px solid var(--hm-schiefer); margin: 0; }
	.hm-handypanel .hm-handy-liste a { display: flex; justify-content: space-between; padding: 18px 0; font-size: 24px; font-weight: 700; color: var(--hm-papier); text-decoration: none; }
	.hm-handypanel .hm-handy-liste a::after { content: "›"; }
	.hm-handypanel .hm-handy-fuss { display: block; margin-top: auto !important; padding-top: 32px; text-align: center; }
	.hm-handypanel .hm-handy-fuss > * { margin: 0 0 12px !important; }
	.hm-handypanel .hm-handy-fuss p { color: var(--hm-auf-dunkel); }
	.hm-handypanel .hm-handy-fuss a:not(.wp-element-button) { color: var(--hm-papier); }
	body.hm-menue-offen { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .hm-handypanel, .hm-kopf.ist-offen .hm-handypanel { transition: none; } }

/* ---------- Fußzeile ---------- */
.hm-fuss { position: relative; overflow: hidden; background: var(--hm-nachtblau); color: var(--hm-auf-dunkel); padding-top: 96px; padding-bottom: 40px; font-size: 15px; line-height: 1.5; }
.hm-fuss .hm-raster { position: absolute; inset: 0; opacity: .3; pointer-events: none; margin: 0 !important; max-width: none !important;
	-webkit-mask-image: linear-gradient(to bottom, transparent 10%, #000 85%); mask-image: linear-gradient(to bottom, transparent 10%, #000 85%); }
.hm-fuss .hm-raster [data-muster] { width: max(100%, 960px); display: grid; position: absolute; bottom: 0; left: 0; }
.hm-fuss > *:not(.hm-raster) { position: relative; z-index: 1; }
/* Logo in Papier auf Nachtblau: dieselbe Datei, hell gefärbt */
.hm-fuss .wp-block-site-logo img { filter: brightness(0) invert(1); opacity: .99; }
.hm-fuss-spalten { display: grid !important; grid-template-columns: 1.3fr repeat(6, 1fr); gap: 32px; margin-top: 48px !important; }
.hm-fuss-spalten > * { margin: 0 !important; }
.hm-fuss-spalten p { margin: 0 0 8px; }
.hm-fuss-spalten .hm-fuss-titel { color: var(--hm-papier); font-weight: 700; margin-bottom: 14px; }
.hm-fuss a { color: var(--hm-auf-dunkel); font-weight: 400; text-decoration: none; }
.hm-fuss a:hover { color: var(--hm-gruen); }
.hm-fuss .wp-block-list { list-style: none; padding: 0; margin: 0; }
.hm-fuss .wp-block-list li { margin: 0 0 8px; }
.hm-fuss-unten { margin-top: 72px !important; padding-top: 24px; border-top: 1px solid var(--hm-schiefer); font-size: 14px; }
.hm-fuss-unten p { margin: 0; }
.hm-fuss-unten .hm-rechtliches a + a { margin-left: 24px; }
@media (max-width: 1100px) { .hm-fuss-spalten { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 781px) {
	.hm-fuss-spalten { grid-template-columns: 1fr 1fr; }
	.hm-fuss-unten { flex-direction: column; align-items: flex-start !important; gap: 16px; }
}

/* ---------- Häufige Fragen (Details-Block, Stil „Häufige Frage“) ---------- */
.wp-block-details.is-style-frage { border-top: 1px solid var(--hm-linie); margin: 0 !important; }
.wp-block-details.is-style-frage + .wp-block-details.is-style-frage { border-top: 1px solid var(--hm-linie); }
.wp-block-details.is-style-frage:last-of-type { border-bottom: 1px solid var(--hm-linie); }
.wp-block-details.is-style-frage summary { list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 700; font-size: 19px; color: var(--hm-nachtblau); cursor: pointer; }
.wp-block-details.is-style-frage summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-frage summary::after { content: "+"; flex: none; width: 28px; text-align: center; font-size: 26px; line-height: 1; font-weight: 400; transition: transform .2s var(--hm-ease); }
.wp-block-details.is-style-frage[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-frage > :not(summary) { padding-right: 48px; max-width: 680px; }
.wp-block-details.is-style-frage > :last-child { padding-bottom: 24px; }
.wp-block-details.is-style-frage::details-content { height: 0; overflow: hidden; transition: height 240ms var(--hm-ease), content-visibility 240ms allow-discrete; }
.wp-block-details.is-style-frage[open]::details-content { height: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- Anfrage-Formular ---------- */
.hm-formular { background: var(--hm-papier); padding: 48px; }
.hm-formular fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.hm-formular fieldset + fieldset { margin-top: 48px; }
.hm-formular--schritte fieldset + fieldset { margin-top: 0; }
.hm-formular legend { font-size: var(--wp--preset--font-size--zwischentitel); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--hm-nachtblau); padding: 0; margin-bottom: 4px; }
.hm-formular legend:focus { outline: none; }
.hm-hinweis { font-size: 14px; color: var(--hm-schiefer-hell); margin: 0; }
.hm-stufen { display: none; }
.hm-formular--schritte .hm-stufen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0 0 48px; }
.hm-stufen li { padding-top: 14px; border-top: 4px solid var(--hm-linie); font-size: 15px; font-weight: 700; color: var(--hm-schiefer-hell); margin: 0; }
.hm-stufen li.an { border-color: var(--hm-schiefer); color: var(--hm-nachtblau); }
.hm-wahl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 28px 0 8px; }
.hm-wk { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 16px; min-height: 148px; background: var(--hm-papier); border: 1px solid var(--hm-rahmen); font-weight: 700; font-size: 16px; line-height: 1.35; color: var(--hm-nachtblau); cursor: pointer; transition: border-color .15s ease, transform 160ms var(--hm-ease); }
.hm-wk:active { transform: scale(.97); }
.hm-wk img { width: 48px; height: 48px; }
.hm-wk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hm-wk:has(input:checked) { border: 2px solid var(--hm-schiefer); padding: 15px; }
.hm-wk:has(input:focus-visible) { outline: 3px solid var(--hm-schiefer); outline-offset: 3px; }
.hm-wk--offen { justify-content: flex-end; border-style: dashed; }
.hm-feld { margin: 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.hm-feld label { font-weight: 700; font-size: 16px; color: var(--hm-nachtblau); }
.hm-feld small { font-weight: 400; font-size: 14px; color: var(--hm-schiefer-hell); }
.hm-feld input:not([type=checkbox]), .hm-feld textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--hm-rahmen); border-radius: 0; background: var(--hm-papier); font: inherit; font-size: 16px; color: var(--hm-nachtblau); }
.hm-feld input:hover, .hm-feld textarea:hover { border-color: var(--hm-schiefer); }
.hm-feld [aria-invalid="true"] { border: 2px solid var(--hm-ziegel); }
.hm-feld--haken label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--hm-schiefer); }
.hm-feld--haken input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--hm-schiefer); flex: none; }
.hm-feldfehler, .hm-formular__fehler { color: var(--hm-ziegel); font-size: 14px; font-weight: 700; margin: 8px 0 0; }
.hm-formular__fehler { margin: 0 0 24px; }
.hm-knoepfe { display: flex; align-items: center; gap: 24px; margin-top: 40px; }
.hm-btn { border: 0; padding: 0 32px; background: var(--hm-gruen); color: var(--hm-nachtblau); font: 700 16px/1 var(--wp--preset--font-family--manrope); }
.hm-btn[disabled] { opacity: .6; cursor: wait; }
.hm-zurueck { background: none; border: 0; min-height: 44px; padding: 0; font: 700 16px var(--wp--preset--font-family--manrope); color: var(--hm-schiefer); cursor: pointer; text-decoration: underline; text-decoration-color: var(--hm-rahmen); text-underline-offset: 4px; }
.hm-formular:not(.hm-formular--schritte) .hm-zurueck, .hm-formular:not(.hm-formular--schritte) [data-weiter] { display: none; }
.hm-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hm-formular--danke h3 { margin: 0 0 12px; }
@media (max-width: 1100px) { .hm-wahl { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 781px) {
	.hm-formular { padding: 24px; }
	.hm-wahl { grid-template-columns: 1fr; gap: 8px; }
	.hm-wk { min-height: 0; flex-direction: row; align-items: center; }
	.hm-wk--offen { justify-content: flex-start; }
	.hm-stufen li { font-size: 13px; }
}

/* Anfrage-Abschnitt: Überschrift links, direkter Kontakt rechts */
.hm-direkt { text-align: right; font-size: 16px; }
.hm-direkt a { display: block; font-size: 20px; color: var(--hm-nachtblau); text-decoration: none !important; }
@media (max-width: 781px) { .hm-direkt { text-align: left; } }

/* ---------- Rechtstexte und lange Texte ---------- */
.hm-lesebreite { max-width: 720px; }
.hm-lesebreite h2 { font-size: var(--wp--preset--font-size--zwischentitel); margin-top: 48px; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
	html { scroll-behavior: auto; }
}

/* ---------- Häufige Fragen: Spalten ---------- */
.hm-fragen { gap: 80px; }
.hm-tel a { font-size: 20px; text-decoration: none !important; }
@media (max-width: 781px) { .hm-fragen { gap: 32px; } }

/* ---------- Blog ---------- */
.hm-beitrag .wp-block-post-title { margin-top: 0; }
.hm-beitrag-info { gap: 16px; color: var(--hm-schiefer-hell); }
.hm-beitragsliste { gap: 24px; }
.hm-beitragskarte { height: 100%; display: flex; flex-direction: column; gap: 12px; }
.hm-beitragskarte .wp-block-post-featured-image { margin: -32px -32px 8px; }
.hm-beitragskarte .wp-block-post-title a { color: var(--hm-nachtblau); }
.hm-beitragskarte .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--hm-gruen); text-decoration-thickness: 2px; }
@media (max-width: 781px) { .hm-beitragsliste { grid-template-columns: 1fr !important; } }

/* =================== Startseite =================== */

/* Raster */
.hm-raster2, .hm-raster3, .hm-raster4 { display: grid !important; gap: 24px; }
.hm-raster2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hm-raster3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hm-raster4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
:is(.hm-raster2, .hm-raster3, .hm-raster4) > * { margin: 0 !important; }
@media (max-width: 1100px) { .hm-raster4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hm-raster3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) { .hm-raster2, .hm-raster3, .hm-raster4 { grid-template-columns: 1fr; gap: 16px; } }

/* Karten: Inhalt untereinander, Fuß unten */
.wp-block-group.is-style-karte { display: flex; flex-direction: column; gap: 12px; position: relative; transition: transform .18s var(--hm-ease); }
.wp-block-group.is-style-karte > * { margin: 0 !important; }
.wp-block-group.is-style-karte p { font-size: 16px; }
@media (max-width: 781px) { .wp-block-group.is-style-karte, .wp-block-group.is-style-karte.has-background { padding: 24px; } }
/* ganze Karte klickbar: der Link im Fuß deckt die Karte ab */
.hm-ganz-klickbar .wp-block-button__link::before { content: ""; position: absolute; inset: 0; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
	.hm-ganz-klickbar:hover { transform: translateY(-2px); }
	.hm-ganz-klickbar:hover .wp-block-button__link::after { transform: translateX(3px); color: var(--hm-gruen-dunkel); }
}
.hm-ganz-klickbar:has(.wp-block-button__link:focus-visible) { outline: 3px solid var(--hm-schiefer); outline-offset: 3px; }
.hm-ganz-klickbar .wp-block-button__link:focus-visible { outline: none; }
.hm-kartenfuss { margin-top: auto !important; padding-top: 16px; align-items: center; }
.hm-kartenfuss p { margin: 0; color: var(--hm-schiefer-hell); font-size: 15px !important; }
.hm-kartenfuss .wp-block-button__link { font-size: 15px; min-height: 0; }

/* Icons */
.wp-block-image.hm-icon { margin: 0 0 4px; }
.wp-block-image.hm-icon img { width: 56px; height: 56px; }
.wp-block-image.hm-icon--gross img { width: 72px; height: 72px; margin: -8px 0 4px -8px; }
.wp-block-image.hm-icon--schritt img { width: 48px; height: 48px; }

/* Hero mit Kachelband */
.hm-hero { position: relative; overflow: hidden; min-height: calc(100svh - var(--hm-nav)); display: flex; flex-direction: column; justify-content: center; padding-top: 32px !important; padding-bottom: 96px !important; }
.hm-hero > .hm-hero-inhalt { position: relative; z-index: 1; width: 100%; }
.hm-hero :is(h1, h2.has-seitentitel-font-size) { max-width: 720px; margin: 0 0 28px; }
.hm-hero .has-einleitung-font-size { max-width: 620px; margin: 0 0 40px; }
.hm-hero .has-klein-font-size { margin-top: 16px; }
.hm-aktionen { gap: 32px; align-items: center; }
.hm-lauf { position: absolute; inset: 0; opacity: .3; pointer-events: none; margin: 0 !important; max-width: none !important; --t: calc(100vw / 12);
	-webkit-mask-image: radial-gradient(ellipse 48% 62% at 28% 45%, transparent 30%, #000 78%), linear-gradient(to bottom, transparent 0, #000 18%, #000 55%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: radial-gradient(ellipse 48% 62% at 28% 45%, transparent 30%, #000 78%), linear-gradient(to bottom, transparent 0, #000 18%, #000 55%, transparent 100%); mask-composite: intersect; }
.hm-reihe { height: var(--t); overflow: hidden; }
.hm-spur { display: flex; width: max-content; animation: hm-links 240s linear infinite; }
.hm-reihe:nth-child(even) .hm-spur { animation-name: hm-rechts; }
.hm-spur > [data-muster] { width: calc(16 * var(--t)); display: grid; }
@keyframes hm-links { to { transform: translateX(-50%); } }
@keyframes hm-rechts { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.hm-hero.pausiert .hm-spur { animation-play-state: paused; }
.hm-pause { position: absolute; right: 24px; bottom: 24px; z-index: 2; width: 44px; height: 44px; background: var(--hm-papier); border: 1px solid var(--hm-linie); color: var(--hm-schiefer); font: 700 13px var(--wp--preset--font-family--manrope); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .hm-spur { animation: none; } .hm-pause { display: none; } }
@media (max-width: 781px) {
	.hm-hero { min-height: 88svh; justify-content: flex-start; }
	.hm-lauf { --t: calc(100vw / 5); -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 52%, #000 78%, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, transparent 52%, #000 78%, #000 90%, transparent 100%); }
}

/* Kundenlogos */
.hm-logos { padding-top: 72px !important; padding-bottom: 72px !important; }
.hm-zeile { margin-bottom: 24px !important; align-items: baseline; }
.hm-zeile p { margin: 0; color: var(--hm-nachtblau); }
.hm-logokacheln { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hm-logokachel { aspect-ratio: 1; display: grid !important; place-items: center; text-align: center; padding: 16px; margin: 0 !important; }
.hm-logokachel p { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.3; }
.hm-logokachel img { max-width: 80%; max-height: 60%; object-fit: contain; margin: auto; }
.hm-logokachel--leer { border: 1px dashed var(--hm-rahmen); }
.hm-logokachel--leer p { font-weight: 400; font-size: 14px; color: var(--hm-schiefer-hell); }
@media (max-width: 781px) { .hm-logokacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .hm-logokachel p { font-size: 13px; } .hm-zeile { flex-direction: column; gap: 8px; } }

/* Situationen */
.hm-situation { min-height: 340px; }
@media (max-width: 781px) { .hm-situation { min-height: 0; } }

/* Leistungen */
.hm-leistung { padding: 40px !important; gap: 0 !important; }
.hm-leistung h3 { margin-top: 4px !important; }
.hm-leistung > p { font-size: 17px !important; margin: 12px 0 24px !important; max-width: 460px; }
.hm-leistung .wp-block-buttons { margin-top: auto !important; padding-top: 28px; }
.hm-om { --hm-tief: var(--wp--preset--color--tiefblau); } .hm-web { --hm-tief: var(--wp--preset--color--moos); }
.hm-mg { --hm-tief: var(--wp--preset--color--pflaume); } .hm-ki { --hm-tief: var(--wp--preset--color--erde); }
.hm-pfeilliste.is-style-linien { border-top-color: color-mix(in srgb, var(--hm-tief, var(--hm-schiefer)) 25%, transparent); }
.hm-pfeilliste.is-style-linien > li { padding: 0; border-bottom-color: color-mix(in srgb, var(--hm-tief, var(--hm-schiefer)) 25%, transparent); }
.hm-pfeilliste a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 16px; color: var(--hm-nachtblau); text-decoration: none !important; }
.hm-pfeilliste a::after { content: "→"; transition: transform .15s var(--hm-ease), color .15s ease; }
@media (hover: hover) and (pointer: fine) { .hm-pfeilliste a:hover::after { transform: translateX(3px); color: var(--hm-gruen-dunkel); } .hm-pfeilliste a:hover { text-decoration: underline !important; text-decoration-color: var(--hm-gruen) !important; text-decoration-thickness: 2px !important; } }
.hm-unterzeile { margin-top: 40px !important; padding-top: 32px; border-top: 1px solid var(--hm-linie); align-items: center; gap: 24px; }
.hm-unterzeile p { margin: 0; }
@media (max-width: 781px) { .hm-leistung { padding: 24px !important; } }

/* Fallbeispiele */
.hm-fall { gap: 56px !important; align-items: center !important; margin: 0 !important; }
.hm-fall-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-fall-titel { font-size: 32px !important; letter-spacing: -.02em; margin: 0 !important; }
.hm-tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 28px !important; }
.hm-tags li { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 4px 10px 4px 4px; background: var(--hm-hellgrau); font-size: 14px; font-weight: 700; color: var(--hm-nachtblau); }
.hm-tags li::before { content: ""; width: 16px; height: 16px; background: var(--hm-tief); }
.is-style-abschnitt-hellgrau .hm-tags li, .wp-block-post-content > .is-style-abschnitt:nth-child(even) .hm-tags li { background: var(--hm-papier); }
.hm-fakt { padding: 16px 0; border-top: 1px solid var(--hm-linie); margin: 0 !important; }
.hm-fakt p { margin: 0; font-size: 16px; }
.hm-fakt .hm-fakt-titel { font-size: 14px; color: var(--hm-nachtblau); }
.hm-fakt--ergebnis p:not(.hm-fakt-titel):not(.has-klein-font-size) { font-size: 22px; font-weight: 700; color: var(--hm-nachtblau); line-height: 1.35; letter-spacing: -.01em; }
.hm-fall .wp-block-buttons { margin-top: 24px; }
.hm-karussell > * + * { margin-top: var(--wp--preset--spacing--70) !important; }
@media (max-width: 781px) { .hm-fall { gap: 32px !important; } .hm-fall-titel { font-size: 26px !important; } }

/* Karussell (assets/js/karussell.js): eine Folie sichtbar, Pfeile oben rechts, Striche unten */
.hm-karussell.ist-aktiv > * { margin-top: 0 !important; }
.hm-karussell.ist-aktiv { display: grid !important; }
.hm-karussell.ist-aktiv > :not(.hm-steuer) { grid-area: 1 / 1; }
.hm-karussell.ist-aktiv > .hm-steuer { grid-area: 2 / 1; }
.hm-karussell.ist-aktiv > :not(.ist-sichtbar):not(.hm-steuer) { visibility: hidden; }
/* Folien oben ausrichten: Bild und Text stehen bei jeder Folie an derselben Stelle (die Höhe richtet sich nach der längsten Folie) */
.hm-karussell.ist-aktiv > :not(.hm-steuer) { align-self: start; }
.hm-karussell.ist-aktiv > .hm-fall { align-items: flex-start !important; align-content: flex-start; }
.hm-karussell.ist-aktiv > .ist-sichtbar { animation: hm-einblenden 400ms var(--hm-ease); }
@keyframes hm-einblenden { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: none; } }
.hm-steuer { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 700; color: var(--hm-nachtblau); }
.hm-steuer span { white-space: nowrap; min-width: 3.5em; text-align: center; }
.hm-steuer button { width: 48px; height: 48px; border: 1px solid var(--hm-rahmen); background: transparent; font: 700 18px var(--wp--preset--font-family--manrope); color: var(--hm-schiefer); cursor: pointer; transition: border-color .15s ease, transform 160ms var(--hm-ease); }
.hm-steuer button:hover { border-color: var(--hm-schiefer); }
.hm-steuer button:active { transform: scale(.97); }
.hm-punkte { display: flex; gap: 8px; margin-top: 40px; }
.hm-punkte button { width: 32px; height: 20px; padding: 8px 0; border: 0; background: none; cursor: pointer; }
.hm-punkte button::before { content: ""; display: block; height: 4px; background: var(--hm-linie); }
.hm-punkte button[aria-current="true"]::before { background: var(--hm-schiefer); }
.hm-abschnittskopf:has(> .hm-steuer) { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 32px; }
@media (max-width: 781px) { .hm-abschnittskopf:has(> .hm-steuer) { flex-direction: column; align-items: flex-start; } }

/* Agentur */
.hm-zwei { gap: 80px !important; }
.hm-leitsatz { font-size: 24px; line-height: 1.5; font-weight: 700; color: var(--hm-nachtblau); letter-spacing: -.01em; }
@media (max-width: 781px) { .hm-zwei { gap: 24px !important; } .hm-leitsatz { font-size: 20px; } }

/* Ablauf: Linie über den vier Schritten */
.hm-schritt { min-height: 280px; }
.hm-mit-linie { position: relative; margin-top: 28px !important; }
.hm-mit-linie::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 2px; background: var(--hm-schiefer); }
.hm-ablauf-fuss { margin-top: 48px !important; gap: 28px; align-items: center; }
.hm-ablauf-fuss p { margin: 0; }
@media (max-width: 781px) { .hm-schritt { min-height: 0; } .hm-ablauf-fuss { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* Kundenstimme und Ansprechpartner */
.hm-stimmen { display: grid !important; grid-template-columns: 7fr 5fr; gap: 24px; }
.hm-stimmen > * { margin: 0 !important; min-width: 0; }
.hm-zitate { position: relative; }
.hm-zitat { background: var(--hm-papier); padding: 48px 56px; display: flex !important; flex-direction: column; height: 100%; }
.hm-zitat > * { margin: 0 !important; }
.hm-zitattext { font-size: clamp(19px, 1.2vw + 6px, 23px) !important; line-height: 1.4; font-weight: 700; color: var(--hm-nachtblau); letter-spacing: -.01em; hyphens: manual; }
.hm-wer { margin-top: auto !important; padding-top: 32px; font-size: 16px; color: var(--hm-schiefer-hell); }
.hm-wer strong { color: var(--hm-nachtblau); }
.hm-zitate.ist-aktiv .hm-steuer { position: absolute; right: 56px; bottom: 48px; }
.hm-zitate.ist-aktiv > .ist-sichtbar { height: 100%; }
.hm-zitate .hm-punkte { display: none; }
.hm-person { background: var(--hm-papier); padding: 32px; display: flex !important; flex-direction: column; }
.hm-person > * { margin: 0 !important; }
.hm-person .wp-block-image.is-style-portrait { width: 160px; margin-bottom: 24px !important; }
.hm-rolle { font-size: 16px; color: var(--hm-schiefer-hell); margin-top: 4px !important; }
.hm-kontaktdaten { font-size: 16px; margin: 16px 0 !important; line-height: 1.9; }
.hm-kontaktdaten span { display: inline-block; min-width: 72px; color: var(--hm-schiefer-hell); }
.hm-kontaktdaten a { text-decoration: none !important; white-space: nowrap; }
.hm-person .wp-block-buttons { margin-top: auto !important; }
@media (max-width: 1100px) { .hm-stimmen { grid-template-columns: 1fr; } }
@media (max-width: 781px) {
	.hm-zitat { padding: 32px 24px; }
	.hm-zitate.ist-aktiv .hm-steuer { position: static; margin: 0; padding: 0 24px 24px; }
	.hm-zitate.ist-aktiv { background: var(--hm-papier); }
	.hm-person { padding: 24px; }
	.hm-person .wp-block-image.is-style-portrait { width: 120px; }
}

/* Porträt, Form E: freigestellt vor Halbkreis und Viertelkreis (Bild-Stil „Porträt“) */
.wp-block-image.is-style-portrait { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--hm-nebel); margin: 0; }
.wp-block-image.is-style-portrait::before { content: ""; position: absolute; left: -10%; bottom: 0; width: 120%; aspect-ratio: 2; background: var(--hm-portrait-flaeche, var(--wp--preset--color--himmel)); border-radius: 999px 999px 0 0; }
.wp-block-image.is-style-portrait::after { content: ""; position: absolute; right: 0; top: 0; width: 38%; aspect-ratio: 1; background: var(--hm-portrait-tief, var(--wp--preset--color--tiefblau)); border-bottom-left-radius: 100%; }
.wp-block-image.is-style-portrait img { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; width: 100%; height: 88%; object-fit: contain; object-position: bottom; }

/* SEO-Textblock */
.hm-seo-raster { display: grid !important; grid-template-columns: 1fr 1fr; gap: 48px 80px; margin-top: 56px !important; }
.hm-seo-raster > * { margin: 0 !important; }
.hm-seo-raster h3 { font-size: 21px; margin: 0 0 12px; }
.hm-seo-raster p { font-size: 16px; margin: 0; }
@media (max-width: 781px) { .hm-seo-raster { grid-template-columns: 1fr; gap: 40px; } }

/* Korrekturen nach Vorschau */
.hm-zitate + .hm-punkte { display: none; }
/* Einleitung und Lesetext: links im Inhaltsrahmen, aber höchstens 720 px breit */
/* Lesebreite links bündig mit dem Inhaltsrahmen: Breite begrenzen, linken Rand wie der Rahmen (100 % = Breite des Abschnitts) */
.is-layout-constrained > .has-einleitung-font-size, .is-layout-constrained > .hm-lesebreite, .is-layout-constrained > .hm-weitere { max-width: min(720px, 100%) !important; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; margin-right: auto !important; padding-right: 0; }
.hm-kopftext > * { margin: 0; }
.hm-kopftext > * + * { margin-top: 16px !important; }
.hm-kopftext h2 { margin: 0; }
@media (max-width: 1100px) { .hm-zitat, .hm-zitate.ist-aktiv > .ist-sichtbar { height: auto; } .hm-zitate.ist-aktiv { background: var(--hm-papier); } .hm-zitate.ist-aktiv .hm-steuer { position: static; padding: 0 56px 40px; } }
@media (max-width: 781px) { .hm-zitate.ist-aktiv .hm-steuer { padding: 0 24px 24px; } .hm-wer { padding-top: 24px; } }

/* Links, die erst beim Darüberfahren unterstrichen werden: Linie sofort grün (kein Übergang von Grau/Blau) */
:is(.hm-pfeilliste, .hm-mega-liste, .hm-mega-titel, .hm-hauptmenue, .hm-fuss, .hm-brotkrumen, .hm-kontaktdaten, .hm-tel, .hm-direkt) a,
.wp-block-button.is-style-textlink .wp-block-button__link { text-decoration-color: var(--hm-gruen) !important; transition: color .15s ease, transform .15s var(--hm-ease); }
.hm-unterzeile { display: block !important; }

/* =================== Weitere Seiten =================== */

/* Leistungsfarben: Fläche (--hm-lf) und tiefe Farbe (--hm-lt) je Bereich */
.hm-farbe-om { --hm-lf: var(--wp--preset--color--himmel); --hm-lt: var(--wp--preset--color--tiefblau); }
.hm-farbe-web { --hm-lf: var(--wp--preset--color--gruen-hell); --hm-lt: var(--wp--preset--color--moos); }
.hm-farbe-mg { --hm-lf: var(--wp--preset--color--flieder); --hm-lt: var(--wp--preset--color--pflaume); }
.hm-farbe-ki { --hm-lf: var(--wp--preset--color--sand); --hm-lt: var(--wp--preset--color--erde); }

/* Kacheln als Grafik */
.hm-kachelfeld { line-height: 0; margin: 0 !important; }
.hm-kachel { width: 100%; height: 100%; display: block; }

/* Hero der Leistungsseite: Fläche in Leistungsfarbe, Kachelband nur in dieser Farbe */
.hm-lhero { position: relative; overflow: hidden; padding-top: 56px !important; padding-bottom: 88px !important; }
.hm-lhero > :not(.hm-lauf) { position: relative; z-index: 1; }
.hm-lauf--leistung { opacity: .16; -webkit-mask-image: radial-gradient(ellipse 46% 80% at 30% 50%, transparent 35%, #000 80%); mask-image: radial-gradient(ellipse 46% 80% at 30% 50%, transparent 35%, #000 80%); }
.hm-lhero-spalten { gap: 64px !important; align-items: center !important; }
.hm-lhero :is(h1, h2.has-seitentitel-font-size) { margin-bottom: 24px; }
.hm-lhero .has-einleitung-font-size { max-width: 600px; }
.hm-lhero .has-klein-font-size { color: var(--hm-schiefer); margin-top: 14px; }
.hm-blick { background: var(--hm-papier); padding: 32px; }
.hm-blick > * { margin: 0 !important; }
.hm-blick-titel { font-size: 19px; color: var(--hm-nachtblau); padding-bottom: 16px; border-bottom: 3px solid var(--hm-lt); }
.hm-blick-zeile, .hm-steck-zeile { padding: 16px 0; border-bottom: 1px solid var(--hm-linie); }
.hm-blick-zeile:last-child { border-bottom: 0; padding-bottom: 0; }
.hm-blick-zeile > *, .hm-steck-zeile > * { margin: 0 !important; }
.hm-blick-frage { font-size: 14px; color: var(--hm-schiefer-hell); }
.hm-blick-wert { font-weight: 700; color: var(--hm-nachtblau); font-size: 17px; line-height: 1.45; }
@media (max-width: 781px) { .hm-lhero { padding-top: 32px !important; padding-bottom: 56px !important; } .hm-lhero-spalten { gap: 32px !important; } .hm-blick { padding: 24px; }
	.hm-lauf--leistung { -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 40%, #000 90%); mask-image: linear-gradient(to bottom, transparent 0, transparent 40%, #000 90%); } }

/* Was gehört dazu? */
.hm-dazu { gap: 80px !important; }
.hm-dazu h2 { margin-bottom: 28px; }
.hm-dazu .wp-block-column > p { max-width: 640px; }
.hm-kurz { background: var(--hm-hellgrau); padding: 32px; border-top: 4px solid var(--hm-lt); }
.hm-kurz > * { margin: 0 !important; }
.hm-kurz h3 { font-size: 19px; margin-bottom: 8px !important; }
.hm-kurz-zeile { padding: 18px 0; border-bottom: 1px solid var(--hm-linie); }
.hm-kurz-zeile:last-child { border-bottom: 0; padding-bottom: 0; }
.hm-kurz-zeile > * { margin: 0 !important; }
.hm-kurz-wort { color: var(--hm-schiefer-hell); font-size: 16px; }
.hm-kurz-wort strong { color: var(--hm-nachtblau); }
.hm-kurz-zeile p:not(.hm-kurz-wort) { font-size: 15px; margin-top: 4px !important; }
@media (max-width: 781px) { .hm-dazu { gap: 32px !important; } .hm-kurz { padding: 24px; } }

/* Unterleistungen als Zeilen */
.hm-zeilen { border-top: 1px solid var(--hm-linie); }
.hm-zeilen > * { margin: 0 !important; }
.hm-unterzeile-link { position: relative; display: grid !important; grid-template-columns: 56px 4fr 6fr auto; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--hm-linie); transition: background .18s var(--hm-ease); }
.hm-unterzeile-link > * { margin: 0 !important; }
.hm-unterzeile-link .hm-kachelfeld { width: 56px; height: 56px; }
.hm-zeile-titel > * { margin: 0 !important; }
.hm-teile { font-size: 14px; color: var(--hm-schiefer-hell); margin-top: 4px !important; }
.hm-zeile-text { font-size: 16px; }
@media (hover: hover) and (pointer: fine) { .hm-unterzeile-link:hover { background: var(--hm-papier); } .hm-unterzeile-link.hm-ganz-klickbar:hover { transform: none; } }
.hm-hinweis { margin-top: 32px !important; }
@media (max-width: 781px) { .hm-unterzeile-link { grid-template-columns: 1fr; gap: 8px; } .hm-unterzeile-link .hm-kachelfeld { display: none; } }

/* Situationen: Situation und Antwort */
.hm-sitliste { border-top: 2px solid var(--hm-nachtblau); }
.hm-sitliste > * { margin: 0 !important; }
.hm-sitkopf, .hm-sitzeile { display: grid !important; grid-template-columns: 5fr 7fr; gap: 64px; }
.hm-sitkopf { padding: 14px 0; border-bottom: 1px solid var(--hm-linie); }
.hm-sitkopf p { margin: 0; font-size: 14px; font-weight: 700; color: var(--hm-schiefer-hell); }
.hm-sitzeile { padding: 32px 0; border-bottom: 1px solid var(--hm-linie); align-items: start; }
.hm-sitzeile > * { margin: 0 !important; }
.hm-sit-zitat { font-size: 21px; font-weight: 700; color: var(--hm-nachtblau); line-height: 1.4; letter-spacing: -.01em; hyphens: manual; }
.hm-antwort { display: grid !important; grid-template-columns: 40px 1fr; gap: 20px; }
.hm-antwort > * { margin: 0 !important; }
.hm-antwort .hm-kachelfeld { width: 40px; height: 40px; }
.hm-antwort-text > * { margin: 0 !important; }
.hm-antwort-text p:first-child { color: var(--hm-nachtblau); margin-bottom: 4px !important; }
.hm-antwort-text p + p { font-size: 16px; }
@media (max-width: 781px) { .hm-sitkopf { display: none !important; } .hm-sitzeile { grid-template-columns: 1fr; gap: 16px; padding: 24px 0; } .hm-sit-zitat { font-size: 18px; } }

/* Weitere Leistungen */
.hm-weitere { --hm-messe: 640px; }
.hm-weitere a { justify-content: flex-start !important; align-items: center; gap: 16px !important; padding: 16px 0 !important; }
.hm-weitere a::after { margin-left: auto; }
.hm-listicon { width: 32px; height: 32px; display: inline-block; vertical-align: middle; }

/* Seiten-Hero mit Kachel-Wand (Über uns, Referenzen, Fallbeispiel) */
.hm-seitenhero { gap: 72px !important; align-items: center !important; }
.hm-seitenhero h1, .hm-seitenhero h2.has-seitentitel-font-size { margin-bottom: 24px; }
.hm-wand { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.hm-wand > * { margin: 0 !important; aspect-ratio: 1; min-width: 0; overflow: hidden; }
.hm-wand .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.hm-wand > .hm-wand-gross { grid-column: span 2; grid-row: span 2; }
.hm-wand > .hm-wand-gross, .hm-wand > .wp-block-image { aspect-ratio: auto; }
.hm-wand--fall > .hm-wand-gross { grid-column: 1 / 3; grid-row: 1 / 3; }
@media (max-width: 781px) { .hm-seitenhero { gap: 32px !important; } }

/* Über uns */
.hm-saetze { border-top: 2px solid var(--hm-nachtblau); }
.hm-saetze > * { margin: 0 !important; }
.hm-satz { display: grid !important; grid-template-columns: 40px 5fr 7fr; gap: 24px 32px; padding: 32px 0; border-bottom: 1px solid var(--hm-linie); align-items: start; }
.hm-satz > * { margin: 0 !important; }
.hm-satz .hm-kachelfeld { width: 40px; height: 40px; }
.hm-satz p { font-size: 16px; }
.hm-leitzitat { font-size: var(--wp--preset--font-size--zitat); font-weight: 700; color: var(--hm-nachtblau); line-height: 1.35; letter-spacing: -.01em; margin-top: 24px !important; margin-bottom: 40px !important; }
.hm-zweispaltig { gap: 48px !important; }
.hm-kachelstreifen { display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 56px; line-height: 0; }
@media (max-width: 781px) { .hm-satz { grid-template-columns: 40px 1fr; } .hm-satz p { grid-column: 1 / -1; } .hm-kachelstreifen { grid-template-columns: repeat(6, 1fr); } .hm-kachelstreifen svg:nth-child(n+7) { display: none; } }

/* Kundenstimme auf Papier oder Hellgrau: Karten heben sich ab */
:is(.is-style-abschnitt, .is-style-abschnitt-papier) .hm-zitat, :is(.is-style-abschnitt, .is-style-abschnitt-papier) .hm-person { background: var(--hm-hellgrau); }
.wp-block-post-content > .is-style-abschnitt:nth-child(even) :is(.hm-zitat, .hm-person) { background: var(--hm-papier); }
.hm-kontaktkarte .wp-block-image.hm-icon img { width: 48px; height: 48px; }
.hm-kontaktkarte h3 { margin-top: 12px !important; }

/* Referenzen: Fallbeispiel-Blöcke, Text und Bild mit Kachelstreifen, Seiten wechseln */
.hm-fallb-liste > * + * { margin-top: 24px !important; }
.hm-fallb { display: grid !important; grid-template-columns: 5fr 7fr; align-items: center; background: var(--hm-papier); }
.hm-fallb > * { margin: 0 !important; min-width: 0; }
.hm-fallb--wechsel { grid-template-columns: 7fr 5fr; }
.hm-fallb--wechsel .hm-fallb-text { order: 2; }
.hm-fallb-text { padding: 24px 48px; }
.hm-fallb-text > * { margin: 0 !important; }
.hm-fallb-text h3 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 12px !important; }
.hm-fallb-text .hm-tags { margin: 20px 0 28px !important; }
.hm-bildstreifen { display: grid !important; grid-template-columns: 6fr 1fr; aspect-ratio: 7 / 4; overflow: hidden; }
.hm-bildstreifen > * { margin: 0 !important; min-width: 0; min-height: 0; }
.hm-bildstreifen .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.hm-streifen4 { display: grid; grid-template-rows: repeat(4, 1fr); height: 100%; line-height: 0; }
.hm-streifen4 svg { width: 100%; height: 100%; }
.hm-fallb .hm-tags li { background: var(--hm-hellgrau); }
.wp-block-post-content > .is-style-abschnitt:nth-child(odd) .hm-fallb { background: var(--hm-hellgrau); }
.wp-block-post-content > .is-style-abschnitt:nth-child(odd) .hm-fallb .hm-tags li { background: var(--hm-papier); }
.hm-logoreihe { display: grid !important; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--hm-linie); border-bottom: 1px solid var(--hm-linie); }
.hm-logoreihe > * { margin: 0 !important; height: 120px; display: grid !important; place-items: center; padding: 16px; text-align: center; border-right: 1px solid var(--hm-linie); }
.hm-logoreihe p { margin: 0; font-weight: 700; color: var(--hm-nachtblau); }
.hm-logoreihe img { max-height: 64px; width: auto; }
@media (max-width: 781px) {
	.hm-fallb, .hm-fallb--wechsel { grid-template-columns: 1fr; }
	.hm-fallb-text, .hm-fallb--wechsel .hm-fallb-text { order: 2; padding: 24px; }
	.hm-fallb-text h3 { font-size: 26px; }
	.hm-logoreihe { grid-template-columns: repeat(2, 1fr); }
}

/* Fallbeispiel-Seite */
.hm-steckbrief { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 32px !important; border-top: 1px solid var(--hm-linie); }
.hm-steckbrief > * { margin: 0 !important; }
.hm-block + .hm-block { margin-top: 72px !important; }
.hm-block-spalten { gap: 56px !important; align-items: center !important; }
.hm-block--rechts > .wp-block-column:first-child { order: 2; }
.hm-block .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hm-leist { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--hm-schiefer-hell); }
.hm-punktliste { list-style: none; padding: 0; margin: 16px 0 24px; }
.hm-punktliste li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--hm-linie); font-weight: 700; color: var(--hm-nachtblau); font-size: 16px; margin: 0; }
.hm-punktliste li::before { content: ""; width: 10px; height: 10px; margin-top: 8px; background: var(--hm-lt, var(--hm-schiefer)); flex: none; }
.hm-grosszitat { margin-top: 40px !important; height: auto; }
.hm-ausserdem { margin-top: 32px !important; }
@media (max-width: 781px) { .hm-steckbrief { grid-template-columns: 1fr; } .hm-block--rechts > .wp-block-column:first-child { order: 0; } .hm-block + .hm-block { margin-top: 48px !important; } }

/* Kontaktseite */
.hm-kontakt { padding-top: 56px !important; }
.hm-kontakt-spalten { gap: 64px !important; }
.hm-wege { border-top: 1px solid var(--hm-rahmen); padding-top: 16px; }
.hm-ap { display: flex !important; align-items: center; gap: 20px; margin-top: 32px !important; }
.hm-ap > * { margin: 0 !important; }
.hm-ap .wp-block-image.is-style-portrait { width: 120px; flex: none; }
.hm-ap-text { font-size: 16px; color: var(--hm-schiefer-hell); }
.hm-ap-text strong { color: var(--hm-nachtblau); font-size: 18px; }
@media (max-width: 781px) { .hm-kontakt-spalten { gap: 32px !important; } }

/* Rechtstexte */
.hm-recht { padding-top: 56px !important; }
.hm-recht-spalten { gap: 64px !important; margin-top: 40px !important; }
.hm-toc { list-style: none; padding: 0 0 0 16px; border-left: 1px solid var(--hm-linie); position: sticky; top: 32px; }
.hm-toc li { margin: 0; }
.hm-toc a { display: block; padding: 6px 0; font-size: 15px; font-weight: 400; color: var(--hm-schiefer); text-decoration: none !important; }
.hm-toc a:hover { color: var(--hm-nachtblau); text-decoration: underline !important; text-decoration-color: var(--hm-gruen) !important; }
.hm-rechtstext { max-width: 720px; }
.hm-rechtstext h2 { font-size: var(--wp--preset--font-size--zwischentitel); margin-top: 48px; scroll-margin-top: 32px; }
.hm-rechtstext h2:first-child { margin-top: 0; }
@media (max-width: 781px) { .hm-toc { position: static; } .hm-recht-spalten { gap: 24px !important; } }

.hm-rechtstext, .hm-rechtstext p { overflow-wrap: break-word; hyphens: auto; }
.is-layout-constrained > .hm-weitere { max-width: min(640px, 100%) !important; }

/* Lange Wörter in Überschriften am Handy trennen (z. B. „Datenschutzerklärung“) */
@media (max-width: 781px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; } }

/* Auswahl im Formular: so viele Spalten, wie mit mindestens 150 px Platz haben (Kontaktseite: schmalere Spalte) */
/* Höchstens drei Kacheln je Reihe, jede mindestens 200 px breit; bei wenig Platz zwei oder eine */
.hm-wahl { grid-template-columns: repeat(auto-fill, minmax(max(200px, calc((100% - 32px) / 3)), 1fr)); }
.hm-wk { padding: 20px; gap: 20px; min-height: 0; }
.hm-wk:has(input:checked) { padding: 19px; }
.hm-wk { hyphens: manual; }
@media (max-width: 781px) { .hm-wahl { grid-template-columns: 1fr; } }

/* Leistungsumfang: Bausteine als Reiter (assets/js/seite.js); ohne JavaScript und am Handy untereinander */
.hm-umfang { background: var(--hm-papier); }
.hm-umfang > * { margin: 0 !important; }
.hm-baustein { padding: 40px 48px; border-bottom: 1px solid var(--hm-linie); }
.hm-baustein > * { margin: 0 !important; }
.hm-baustein h3 { margin-bottom: 12px !important; }
.hm-baustein > p { max-width: 560px; }
.hm-baustein .hm-punktliste { margin: 20px 0 24px !important; }
.hm-umfang-nav { display: none; }
@media (min-width: 782px) {
	.hm-umfang.ist-aktiv { display: grid !important; grid-template-columns: 5fr 7fr; align-items: start; }
	.hm-umfang.ist-aktiv .hm-umfang-nav { display: block; grid-row: 1 / span 20; border-right: 1px solid var(--hm-linie); align-self: stretch; }
	.hm-umfang.ist-aktiv > .hm-baustein { grid-column: 2; grid-row: 1; border: 0; }
	.hm-umfang.ist-aktiv > .hm-baustein:not(.ist-gewaehlt) { display: none; }
	.hm-umfang.ist-aktiv > .hm-baustein.ist-gewaehlt { animation: hm-einblenden 300ms var(--hm-ease); }
	.hm-umfang-nav button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: none; border: 0; border-bottom: 1px solid var(--hm-linie); font: 700 17px/1.3 var(--wp--preset--font-family--manrope); color: var(--hm-nachtblau); text-align: left; cursor: pointer; transition: background .15s ease; }
	.hm-umfang-nav button:last-child { border-bottom: 0; }
	.hm-umfang-nav button i { width: 20px; height: 20px; flex: none; background: var(--hm-lt, var(--hm-schiefer)); clip-path: circle(100% at 0 100%); }
	.hm-umfang-nav button .pf { margin-left: auto; transition: transform .15s var(--hm-ease); }
	.hm-umfang-nav button:hover .pf { transform: translateX(3px); }
	.hm-umfang-nav button[aria-selected="true"] { background: var(--hm-lf, var(--hm-hellgrau)); }
}
@media (max-width: 781px) { .hm-baustein { padding: 24px; } }
.wp-block-post-content > .is-style-abschnitt:nth-child(odd) .hm-umfang { background: var(--hm-hellgrau); }

/* Weitere Leistungen auf Unterseiten: zwei Spalten */
.hm-weitere-spalten { gap: 64px !important; }
.hm-weitere-spalten h3 { font-size: 17px; padding-bottom: 14px; border-bottom: 2px solid var(--hm-nachtblau); margin-bottom: 0; }
.hm-weitere-spalten h3 + .wp-block-list { border-top: 0; margin-top: 0; }
.hm-weitere-spalten .wp-block-list + h3 { margin-top: 40px; }
.hm-weitere-spalten .hm-pfeilliste a { gap: 16px; justify-content: flex-start; }
.hm-weitere-spalten .hm-pfeilliste a::after { margin-left: auto; }


/* Kopfzeile bleibt beim Scrollen oben stehen */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.hm-kopf { border-bottom: 1px solid transparent; transition: border-color .2s ease, background-color 280ms var(--hm-ease); }
.hm-kopf.ist-gescrollt { border-bottom-color: var(--hm-linie); }

/* Keine Lücken zwischen Kopfzeile, Inhalt und Fußzeile */
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
main.wp-block-group > .wp-block-post-content, main.wp-block-group > * { margin-block-start: 0; }
.wp-block-post-content > :last-child { margin-block-end: 0 !important; }

/* Überschriften: Theme-Größen auch dann, wenn ein Plugin (z. B. Elementor) eigene setzt */
body .wp-site-blocks h1:not([class*="-font-size"]), .editor-styles-wrapper h1:not([class*="-font-size"]) { font-size: var(--wp--preset--font-size--seitentitel); line-height: 1.06; }
body .wp-site-blocks h2:not([class*="-font-size"]), .editor-styles-wrapper h2:not([class*="-font-size"]) { font-size: var(--wp--preset--font-size--abschnittstitel); line-height: 1.12; }
body .wp-site-blocks h3:not([class*="-font-size"]), .editor-styles-wrapper h3:not([class*="-font-size"]) { font-size: var(--wp--preset--font-size--zwischentitel); line-height: 1.3; }
body .wp-site-blocks :is(h1, h2, h3, h4), .editor-styles-wrapper :is(h1, h2, h3, h4) { font-family: var(--wp--preset--font-family--manrope); font-weight: 700; color: var(--hm-nachtblau); letter-spacing: -.02em; }
body .wp-site-blocks .is-style-abschnitt-nachtblau :is(h1, h2, h3, h4) { color: var(--hm-papier); }
body .wp-site-blocks .has-seitentitel-font-size { line-height: 1.06; }

/* =================== Bewegung (assets/js/bewegung.js) ===================
   Versteckt ist nur, was [data-zeigen] trägt und noch nicht .da ist; ohne JavaScript bleibt alles sichtbar.
   Übergänge nur auf dem Weg ins Sichtbare; Kurven aus theme.json. */
.wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wort > span { display: inline-block; }
.bewegt [data-zeigen="woerter"]:not(.da) .wort > span { transform: translateY(110%); }
.bewegt [data-zeigen="woerter"].da .wort > span { transition: transform 800ms var(--hm-ease); transition-delay: calc(var(--w, 0) * 40ms); }
.bewegt [data-zeigen="text"].da, .bewegt [data-zeigen="karte"].da { transition: opacity 600ms var(--hm-ease), transform 600ms var(--hm-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.bewegt [data-zeigen="text"]:not(.da) { opacity: 0; transform: translateY(20px); }
.bewegt [data-zeigen="karte"]:not(.da) { opacity: 0; transform: translateY(24px) scale(.98); }
.bewegt [data-zeigen="bild"].da { transition: clip-path 900ms var(--wp--custom--ease-in-out), transform 1400ms var(--hm-ease); }
.bewegt [data-zeigen="bild"]:not(.da) { clip-path: inset(0 0 100% 0); transform: scale(1.08); }
.hm-mit-linie::before { transform-origin: left; }
.bewegt .hm-mit-linie.da::before { transition: transform 1400ms var(--wp--custom--ease-in-out); }
.bewegt .hm-mit-linie[data-linie]:not(.da)::before { transform: scaleX(0); }
.bewegt .hm-mit-linie > [data-zeigen="karte"].da { transition-delay: calc(var(--i, 0) * 260ms + 150ms); }
/* Bewegung reduzieren: nur kurz einblenden */
.ruhig [data-zeigen] { transform: none !important; clip-path: none !important; transition: opacity 200ms ease !important; transition-delay: 0ms !important; }
.ruhig .wort > span { transform: none !important; }
.ruhig .hm-mit-linie::before { transform: none !important; }
/* Neigen per Feder: will-change nur, wo es gebraucht wird */
.hm-leistung, .hm-fall-bild, .hm-fallb { will-change: transform; }

.hm-mega p, .hm-mega li { hyphens: manual; }

/* Spalten aus „Design > Menüs“ fügen sich ins Raster der Fußzeile ein */
.hm-fuss-menue { display: contents; }
.hm-fuss-menue > .wp-block-group > * { margin: 0; }
.hm-fuss-titel a { color: var(--hm-papier); font-weight: 700; }
.hm-fuss-menue .hm-fuss-titel { margin-bottom: 14px; }
.hm-fuss-menue .wp-block-list li { margin: 0 0 8px; }

/* Hauptmenü aus „Design > Menüs“ (inc/hauptmenue.php) */
.hm-hauptmenue { margin-left: auto; }
.hm-hauptmenue .wp-block-navigation__container { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.hm-hauptmenue .wp-block-navigation-item { margin: 0; }
.hm-hauptmenue .wp-block-navigation-item__content { display: inline-block; padding: 8px 0; font-size: 16px; font-weight: 700; color: var(--hm-nachtblau); text-decoration: none; }
.hm-hauptmenue [aria-current="page"] { text-decoration: underline; text-decoration-color: var(--hm-gruen); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.hm-kopf-leiste > p:empty { display: none; }

/* =================== Blog-Übersicht (Variante A) =================== */
.hm-blogkopf { padding-top: 56px !important; padding-bottom: 64px !important; }
.hm-blogkopf h1 { margin-bottom: 20px; }
.hm-blogbereich { padding-top: 72px !important; }
/* Filter nach Thema */
.hm-blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px !important; }
.hm-blog-filter a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1px solid var(--hm-rahmen); background: var(--hm-papier); font-size: 14px; font-weight: 700; color: var(--hm-schiefer); text-decoration: none !important; transition: border-color .15s ease; }
.hm-blog-filter a:hover { border-color: var(--hm-schiefer); }
.hm-blog-filter a[aria-current] { border: 2px solid var(--hm-schiefer); padding: 0 15px; color: var(--hm-nachtblau); }
.hm-blog-filter i { width: 12px; height: 12px; background: var(--hm-tief); }
/* Karten */
.hm-blogliste { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; }
.hm-blogliste > li { position: relative; display: flex; flex-direction: column; margin: 0; background: var(--hm-papier); transition: transform .18s var(--hm-ease); }
.hm-blogliste > li::after { content: ""; position: absolute; top: 0; right: 0; width: 32px; height: 32px; background: var(--hm-tief, var(--hm-schiefer)); transform: scale(0); transform-origin: top right; transition: transform .18s var(--hm-ease); pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .hm-blogliste > li:hover { transform: translateY(-2px); } .hm-blogliste > li:hover::after { transform: scale(1); } }
.hm-blogliste > li:has(a:focus-visible) { outline: 3px solid var(--hm-schiefer); outline-offset: 3px; }
.hm-blogbild { margin: 0 !important; }
.hm-blogbild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.hm-blogkarte-text { display: flex !important; flex-direction: column; gap: 10px; padding: 24px; flex: 1; }
.hm-blogkarte-text > * { margin: 0 !important; }
.hm-blog-titel { font-size: 21px !important; line-height: 1.3; letter-spacing: -.01em; }
.hm-blog-titel a { color: var(--hm-nachtblau); text-decoration: none !important; }
.hm-blog-titel a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.hm-blog-titel a:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) { .hm-blogliste > li:hover .hm-blog-titel a { text-decoration: underline !important; text-decoration-color: var(--hm-gruen) !important; text-decoration-thickness: 2px !important; } }
.hm-blog-thema { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0; }
.hm-blog-thema .wp-block-post-terms__separator { display: none; }
.hm-blog-thema a { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; background: var(--hm-hellgrau); font-size: 14px; font-weight: 700; color: var(--hm-nachtblau); text-decoration: none !important; }
.hm-blog-thema a::before { content: ""; width: 16px; height: 16px; background: var(--hm-tief, var(--hm-schiefer)); }
.hm-blog-auszug p, .hm-blog-auszug { font-size: 15px; margin: 0; }
.hm-blog-auszug .wp-block-post-excerpt__more-text { display: none; }
.hm-lesezeit { display: block; margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--hm-schiefer-hell); }
.hm-blogkarte-text > :last-child { margin-top: auto !important; }
/* Neuester Beitrag groß (nur auf der ersten Seite) */
body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; }
body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child .hm-blogbild img { aspect-ratio: 4 / 3; height: 100%; }
body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child .hm-blogkarte-text { padding: 48px; justify-content: center; gap: 14px; }
body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child .hm-blog-titel { font-size: 34px !important; line-height: 1.2; letter-spacing: -.02em; }
body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child .hm-blogkarte-text > :last-child { margin-top: 0 !important; }
/* Seitenwechsel */
.hm-blog-seiten { margin-top: 48px !important; gap: 8px; font-weight: 700; }
.hm-blog-seiten a, .hm-blog-seiten .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; color: var(--hm-schiefer); text-decoration: none !important; }
.hm-blog-seiten .page-numbers.current { color: var(--hm-nachtblau); border-bottom: 3px solid var(--hm-schiefer); }
.hm-blog-seiten .wp-block-query-pagination-next, .hm-blog-seiten .wp-block-query-pagination-previous { border: 1px solid var(--hm-schiefer); padding: 0 24px; min-height: 52px; }
.hm-blog-seiten .wp-block-query-pagination-next:hover, .hm-blog-seiten .wp-block-query-pagination-previous:hover { background: var(--hm-papier); }
@media (max-width: 1100px) { .hm-blogliste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 781px) {
	.hm-blogkopf { padding-top: 32px !important; padding-bottom: 40px !important; }
	.hm-blogbereich { padding-top: 48px !important; }
	.hm-blogliste { grid-template-columns: 1fr; }
	body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child { grid-template-columns: 1fr; }
	body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child .hm-blogkarte-text { padding: 24px; }
	body:not(.paged) .hm-blogliste:not(.hm-weiterlesen) > li:first-child .hm-blog-titel { font-size: 24px !important; }
	.hm-blog-filter { flex-wrap: nowrap; overflow-x: auto; }
	.hm-blog-filter a { flex: none; }
}

/* =================== Blogbeitrag (Variante B) =================== */
body[class*="hm-farbe-"] { --hm-tief: var(--hm-lt); }
.hm-beitragskopf { padding-top: 56px !important; padding-bottom: 56px !important; }
.hm-beitragstitel { font-size: clamp(34px, 2.6vw + 18px, 56px) !important; line-height: 1.1; max-width: 900px; margin: 0 0 24px; }
.hm-beitragseinleitung, .hm-beitragseinleitung p { font-size: var(--wp--preset--font-size--einleitung); line-height: 1.6; max-width: 720px; margin: 0; }
.hm-beitragseinleitung .wp-block-post-excerpt__more-text { display: none; }
.is-layout-constrained > .hm-beitragseinleitung { max-width: min(720px, 100%) !important; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; margin-right: auto !important; }
.hm-beitragsmeta { margin-top: 32px !important; gap: 12px 24px; align-items: center; font-size: 15px; }
.hm-beitragsmeta > * { margin: 0 !important; }
.hm-beitragsmeta > * + *:not(.hm-blog-thema) { padding-left: 24px; border-left: 1px solid var(--hm-linie); }
.hm-beitragsmeta .hm-blog-thema a { background: var(--hm-lf, var(--hm-hellgrau)); }
.hm-autor { gap: 12px !important; align-items: center; }
.hm-autor .wp-block-image.is-style-portrait { width: 48px; margin: 0; }
.hm-autor-name { font-size: 14px; line-height: 1.3; color: var(--hm-schiefer-hell); margin: 0; }
.hm-autor-name strong { color: var(--hm-nachtblau); font-size: 15px; }
.hm-beitragsdatum, .hm-beitragsmeta .hm-lesezeit { padding-top: 0; color: var(--hm-schiefer); }
.hm-titelbild { margin-top: 48px !important; }
.hm-titelbild img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }
.hm-beitragsbereich { padding-top: 0 !important; }
.hm-beitragsraster { display: grid !important; grid-template-columns: 3fr 8fr; gap: 64px; align-items: start; }
.hm-beitragsraster > * { margin: 0 !important; min-width: 0; }
.hm-ohne-inhalt .hm-beitragsraster { grid-template-columns: 1fr; }
.hm-toc-beitrag { position: sticky; top: calc(var(--hm-nav) + 32px + var(--wp-admin--admin-bar--height, 0px)); border-left: 1px solid var(--hm-linie); }
.hm-toc-titel { font-size: 14px; font-weight: 700; color: var(--hm-nachtblau); padding: 0 0 12px 16px; margin: 0; }
.hm-toc-beitrag ol { list-style: none; padding: 0; margin: 0; }
.hm-toc-beitrag li { margin: 0; }
.hm-toc-beitrag a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 3px solid transparent; font-size: 15px; font-weight: 400; color: var(--hm-schiefer); text-decoration: none !important; }
.hm-toc-beitrag a:hover { color: var(--hm-nachtblau); }
.hm-toc-beitrag a.an { border-left-color: var(--hm-lt, var(--hm-schiefer)); font-weight: 700; color: var(--hm-nachtblau); }
.hm-beitragstext { max-width: 720px; }
.hm-beitragstext .wp-block-post-content > * + * { margin-top: 16px; }
.hm-beitragstext h2 { font-size: 30px !important; line-height: 1.2; margin: 64px 0 16px !important; scroll-margin-top: calc(var(--hm-nav) + 24px); }
.hm-beitragstext h3 { font-size: 21px !important; margin: 32px 0 8px !important; }
.hm-beitragstext .wp-block-image { margin: 40px 0 !important; }
.hm-beitragstext .wp-block-image figcaption { font-size: 14px; color: var(--hm-schiefer-hell); margin-top: 8px; }
/* Bausteine im Text */
.hm-kurzfassung { background: var(--hm-hellgrau); border-top: 4px solid var(--hm-lt, var(--hm-schiefer)); padding: 28px 32px; margin: 0 0 8px !important; }
.hm-kurzfassung > * { margin: 0 !important; }
.hm-beitragstext .hm-kurzfassung h2, .hm-kurzfassung-titel { font-size: 19px !important; letter-spacing: 0; margin: 0 0 12px !important; }
.wp-block-list.is-style-quadrate { list-style: none; padding: 0; margin: 16px 0; }
.wp-block-list.is-style-quadrate > li { position: relative; padding: 6px 0 6px 24px; margin: 0; }
.wp-block-list.is-style-quadrate > li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 10px; background: var(--hm-lt, var(--hm-schiefer)); }
.hm-praxis { display: grid !important; grid-template-columns: 40px 1fr; gap: 20px; background: var(--hm-lf, var(--hm-hellgrau)); padding: 28px 32px; margin: 32px 0 !important; }
.hm-praxis > * { margin: 0 !important; }
.hm-praxis-kachel img { width: 40px; height: 40px; }
.hm-praxis-titel { color: var(--hm-nachtblau); margin: 0 0 6px !important; }
.hm-praxis p { margin: 0; }
.hm-autorkasten { display: grid !important; grid-template-columns: 120px 1fr; gap: 28px; align-items: center; background: var(--hm-hellgrau); padding: 32px; margin-top: 64px !important; }
.hm-autorkasten > * { margin: 0 !important; }
.hm-autorkasten .wp-block-image.is-style-portrait { width: 120px; margin: 0; }
.hm-autorkasten p { font-size: 16px; margin: 4px 0 8px; }
.hm-autorkasten-name strong { font-size: 19px; color: var(--hm-nachtblau); }
@media (max-width: 781px) {
	.hm-beitragskopf { padding-top: 32px !important; padding-bottom: 40px !important; }
	.hm-beitragsmeta > * + *:not(.hm-blog-thema) { padding-left: 0; border-left: 0; }
	.hm-titelbild img { aspect-ratio: 4 / 3; }
	.hm-beitragsraster { grid-template-columns: 1fr; gap: 32px; }
	.hm-toc-beitrag { position: static; }
	.hm-beitragstext h2 { font-size: 24px !important; margin-top: 48px !important; }
	.hm-autorkasten { grid-template-columns: 88px 1fr; padding: 24px; gap: 20px; }
	.hm-autorkasten .wp-block-image.is-style-portrait { width: 88px; }
	.hm-praxis, .hm-kurzfassung { padding: 24px; }
}
.is-layout-constrained > .hm-beitragstitel { max-width: min(900px, 100%) !important; margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important; margin-right: auto !important; }
.is-layout-constrained > .hm-weiterlesen { max-width: var(--wp--style--global--content-size) !important; margin-left: auto !important; margin-right: auto !important; }

/* Leistungen: Variante vier nebeneinander (Pattern „Leistungen (vier nebeneinander)“) */
.hm-leistungen-reihe .hm-leistung { padding: 28px !important; display: flex !important; flex-direction: column; }
.hm-leistungen-reihe .hm-leistung h3 { font-size: 20px !important; letter-spacing: -.015em; }
.hm-leistungen-reihe .hm-leistung, .hm-leistungen-reihe .hm-leistung * { hyphens: manual !important; }
.hm-leistungen-reihe .wp-block-button.is-style-textlink .wp-block-button__link { display: block; white-space: normal; text-align: left; font-size: 15px; line-height: 1.45; padding: 12px 0; min-height: 0; }
.hm-leistungen-reihe .wp-block-button.is-style-textlink .wp-block-button__link::after { content: "\00a0→"; display: inline; }
.hm-leistungen-reihe .hm-leistung > p { font-size: 15px !important; line-height: 1.6; margin: 10px 0 20px !important; }
.hm-leistungen-reihe .hm-pfeilliste a { font-size: 15px; padding: 9px 0; }
.hm-leistungen-reihe .hm-leistung .wp-block-buttons { padding-top: 20px; }
@media (max-width: 781px) { .hm-leistungen-reihe .hm-leistung { padding: 24px !important; } }

/* Fallbeispiel (Spalten) im Inhaltsrahmen zentrieren; .hm-fall setzt sonst margin: 0 */
.is-layout-constrained > .hm-fall { margin-left: auto !important; margin-right: auto !important; }

/* Vorher-nachher-Vergleich (assets/js/seite.js). Ohne JavaScript: Bilder untereinander. */
.hm-vergleich > figure { margin: 0 0 16px !important; }
.hm-vergleich img { display: block; width: 100%; height: auto; }
.hm-vergleich.bereit { position: relative; display: grid !important; overflow: hidden; border: 1px solid var(--hm-linie); user-select: none; touch-action: pan-y; }
.hm-vergleich.bereit > figure { grid-area: 1 / 1; margin: 0 !important; }
.hm-vergleich.bereit > figure:last-of-type { clip-path: inset(0 0 0 var(--pos, 50%)); }
.hm-vergleich-linie { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: var(--hm-nachtblau); pointer-events: none; }
.hm-vergleich-linie::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); display: grid; place-items: center; background: var(--hm-nachtblau); color: var(--hm-papier); font: 700 18px/1 var(--wp--preset--font-family--manrope); }
.hm-vergleich-schild { position: absolute; top: 12px; padding: 6px 10px; background: var(--hm-nachtblau); color: var(--hm-papier); font: 700 13px/1 var(--wp--preset--font-family--manrope); pointer-events: none; }
.hm-vergleich-schild--vorher { left: 12px; }
.hm-vergleich-schild--nachher { right: 12px; background: var(--hm-papier); color: var(--hm-nachtblau); }
.hm-vergleich-regler { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.hm-vergleich.bereit:has(.hm-vergleich-regler:focus-visible) { outline: 3px solid var(--hm-schiefer); outline-offset: 3px; }
.hm-vergleich-hinweis { margin-top: 16px !important; font-size: 14px; color: var(--hm-schiefer-hell); }

/* Handy-Menü hell wie das Desktop-Menü (Papier, Schrift Nachtblau); Raster mit festen Plätzen (0.17.2) */
@media (max-width: 900px) {
	.hm-kopf.ist-offen { background: var(--hm-papier); }
	.hm-kopf.ist-offen .wp-block-site-logo img { filter: none; }
	.hm-kopf.ist-offen .hm-burger { color: var(--hm-nachtblau); }
	.hm-handypanel { background: var(--hm-papier); border-top: 1px solid var(--hm-linie); }
	.hm-handypanel .hm-handy-titel { color: var(--hm-nachtblau); }
	.hm-handypanel .hm-mega-raster { border-bottom-color: var(--hm-linie); }
	.hm-handypanel .hm-mega-spalte { grid-template-columns: 36px minmax(0, 1fr) 44px; grid-template-rows: auto auto; }
	.hm-handypanel .hm-mega-spalte > * { display: none; }
	.hm-handypanel .hm-mega-spalte > .hm-mega-kachel { display: block; grid-column: 1; grid-row: 1 / span 2; align-self: center; }
	.hm-handypanel .hm-mega-spalte > .hm-mega-titel { display: block; grid-column: 2; grid-row: 1; hyphens: manual; }
	.hm-handypanel .hm-mega-spalte > .hm-mega-kurz { display: block; grid-column: 2; grid-row: 2; hyphens: manual; color: var(--hm-schiefer); }
	.hm-handypanel .hm-mega-spalte > .hm-mega-auf { display: block; grid-column: 3; grid-row: 1 / span 2; color: var(--hm-nachtblau); }
	.hm-handypanel .hm-mega-spalte > .hm-mega-liste { grid-column: 1 / -1; grid-row: 3; border-top-color: var(--hm-linie); }
	.hm-handypanel .ist-auf > .hm-mega-liste { display: block; }
	.hm-handypanel .hm-mega-titel a, .hm-handypanel .hm-mega-liste a, .hm-handypanel .hm-handy-liste a { color: var(--hm-nachtblau); }
	.hm-handypanel .hm-mega-liste li, .hm-handypanel .hm-handy-liste li { border-bottom-color: var(--hm-linie); }
	.hm-handypanel .hm-mega-team p { color: var(--hm-schiefer); }
	.hm-handypanel .hm-mega-team p strong, .hm-handypanel .hm-mega-team a { color: var(--hm-nachtblau); }
	.hm-handypanel .hm-handy-fuss p { color: var(--hm-schiefer); }
	.hm-handypanel .hm-handy-fuss a:not(.wp-element-button) { color: var(--hm-nachtblau); }
}
/* Logo-Kachel mit echtem Logo: helle Fläche mit feinem Rand, Logo mittig */
.hm-logokachel--bild { border: 1px solid var(--hm-linie); }
.hm-logokachel--bild { position: relative; display: flex !important; align-items: center; justify-content: center; }
.hm-logokachel--bild figure, .hm-logokachel--bild .wp-block-image { position: static !important; margin: 0 !important; width: 100%; height: auto !important; display: flex !important; align-items: center; justify-content: center; }
.hm-logokachel--bild img { max-width: 86% !important; max-height: none; width: auto; height: auto !important; margin: 0 auto !important; display: block; }
/* Kundenlogo im Kopf der Fallbeispiel-Seite */
.hm-fall-logo { margin: 24px 0 0 !important; }
.hm-fall-logo img { display: block; height: 40px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 781px) { .hm-fall-logo img { height: 32px; } }

/* Tabellen im Beitrag */
.hm-beitragstext .wp-block-table { margin: 32px 0; overflow-x: auto; }
.hm-beitragstext .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 16px; }
.hm-beitragstext .wp-block-table th, .hm-beitragstext .wp-block-table td { border: 0; border-bottom: 1px solid var(--hm-linie); padding: 12px 16px 12px 0; text-align: left; vertical-align: top; }
.hm-beitragstext .wp-block-table thead { border: 0; }
.hm-beitragstext .wp-block-table thead th { font-weight: 700; color: var(--hm-nachtblau); border-bottom: 2px solid var(--hm-nachtblau); }

/* Logo-Kacheln: beliebig viele, feste Breite (6 je Reihe, Handy 3), Logo verlinkt */
.hm-logokacheln { display: flex !important; flex-wrap: wrap; gap: 16px; }
.hm-logokacheln > .hm-logokachel { flex: 0 0 calc((100% - 5 * 16px) / 6); box-sizing: border-box; }
.hm-logokachel--bild a { display: flex !important; justify-content: center; width: 100%; }
.hm-logokachel--bild a::after { content: ""; position: absolute; inset: 0; } /* ganze Kachel klickbar */
.hm-logokachel--bild:has(a) { transition: border-color .2s var(--hm-ease); }
.hm-logokachel--bild:has(a:hover), .hm-logokachel--bild:has(a:focus-visible) { border-color: var(--hm-nachtblau); }
@media (max-width: 781px) { .hm-logokacheln { gap: 8px; } .hm-logokacheln > .hm-logokachel { flex-basis: calc((100% - 2 * 8px) / 3); } }

/* Leistungskarten: Einzelleistungen am Handy eingeklappt (seite.js) */
.hm-aufklapp { display: none; }
@media (max-width: 781px) {
	.hm-aufklapp { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 14px 0; margin: 0; background: none; border: 0; border-top: 1px solid color-mix(in srgb, var(--hm-tief, var(--hm-schiefer)) 25%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--hm-tief, var(--hm-schiefer)) 25%, transparent); font: 700 16px/1.4 var(--wp--preset--font-family--manrope); color: var(--hm-nachtblau); text-align: left; cursor: pointer; }
	.hm-aufklapp::after { content: "+"; flex: none; width: 24px; text-align: center; font-size: 24px; line-height: 1; font-weight: 400; transition: transform .2s var(--hm-ease); }
	.hm-aufklapp[aria-expanded="true"]::after { transform: rotate(45deg); }
	.hm-aufklapp:focus-visible { outline: 2px solid var(--hm-nachtblau); outline-offset: 2px; }
	.hm-leistung.ist-zu > .hm-pfeilliste { display: none; }
	.hm-leistung:not(.ist-zu) > .hm-aufklapp { border-bottom: 0; }
	.hm-leistung:not(.ist-zu) > .hm-pfeilliste.is-style-linien { border-top: 0; }
}
