/*
Theme Name: Mülheimer Seniorendienste
Theme URI: https://mh-seniorendienste.de
Author: Mülheimer Seniorendienste gGmbH
Description: Block-Theme der Mülheimer Seniorendienste auf Twenty Twenty-Five. Bestätigte v3-Farbwelt: Creme, Papier, Aubergine und Neon; Newsreader und Atkinson Hyperlegible Next.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mhsd
*/

/* =========================================================
   1. Grundlagen
   ========================================================= */
html { scroll-padding-top: 1rem; scroll-padding-bottom: 6rem; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: var(--wp--custom--focus); outline-offset: 3px; border-radius: 4px; }
.wp-block-button__link:focus-visible, .mhsd-btn:focus-visible { outline-offset: 4px; }
p:empty { display: none; }



/* Sprunglink des Cores sichtbar beim Fokus */
.skip-link.screen-reader-text:focus { background: var(--wp--preset--color--neon); color: var(--wp--preset--color--text); font-weight: 700; padding: 0.75rem 1.25rem; left: 1rem; top: 1rem; z-index: 100000; border-radius: var(--wp--custom--radius--small); }

/* Nebentexte, Labels, Platzhalter */
.mhsd-nebentext, .mhsd-nebentext p { color: var(--wp--custom--nebentext); }
.mhsd-grau { color: var(--wp--preset--color--grau); }
.mhsd-label { font-size: var(--wp--preset--font-size--x-small); letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--aubergine); font-weight: 700; margin: 0; }
.mhsd-label--hell { color: var(--wp--preset--color--neon); }
.mhsd-platzhalter { background: var(--wp--preset--color--papier); border-left: 4px solid var(--wp--preset--color--aubergine); padding: 0.75rem 1rem; border-radius: 0 var(--wp--custom--radius--small) var(--wp--custom--radius--small) 0; }

/* =========================================================
   2. Abschnitte und Raster
   ========================================================= */
.mhsd-abschnitt { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.mhsd-abschnitt--kompakt { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--60); }
.mhsd-abschnitt--weiss { background: var(--wp--preset--color--papier-hell); }
.mhsd-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.mhsd-kopf > * { margin: 0; }
.mhsd-kopf__titel { display: flex; flex-direction: column; gap: 0.625rem; }
.mhsd-kopf__titel > * { margin: 0; }
.mhsd-kopf__text { max-width: 720px; font-size: 1.1875rem; color: var(--wp--custom--nebentext); }
.mhsd-kopf__text--schmal { max-width: 420px; font-size: 1.0625rem; }
.mhsd-raster { display: grid; gap: 1.25rem; }
.mhsd-raster > * { margin: 0; }
.mhsd-raster--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mhsd-raster--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mhsd-raster--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 1023px) {
	.mhsd-raster--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mhsd-raster--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.mhsd-raster--2, .mhsd-raster--3 { grid-template-columns: minmax(0, 1fr); }
}
.mhsd-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; margin: 0; }
.mhsd-links a, .mhsd-link { color: var(--wp--preset--color--aubergine); font-weight: 700; text-decoration: none; }
.mhsd-links a:hover, .mhsd-link:hover, .mhsd-links a:focus-visible, .mhsd-link:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }

/* =========================================================
   3. Buttons, Zähler, Chips
   ========================================================= */
.wp-block-button__link, .mhsd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem; min-height: 3.375rem; box-sizing: border-box; text-decoration: none; }
.mhsd-btn { padding: 0.9rem 1.6rem; border-radius: var(--wp--custom--radius--pill); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); border: 2px solid var(--wp--preset--color--aubergine); }
.mhsd-btn:hover, .mhsd-btn:focus-visible { background: var(--wp--preset--color--aubergine-dunkel); border-color: var(--wp--preset--color--aubergine-dunkel); color: var(--wp--preset--color--papier-hell); }
.wp-block-button.is-style-outline .wp-block-button__link, .mhsd-btn--hell { background: var(--wp--preset--color--papier-hell); color: var(--wp--preset--color--aubergine); border-color: var(--wp--preset--color--aubergine); }
.wp-block-button.is-style-outline .wp-block-button__link:hover, .mhsd-btn--hell:hover, .wp-block-button.is-style-outline .wp-block-button__link:focus-visible, .mhsd-btn--hell:focus-visible { background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); }
.mhsd-btn--weiss { background: var(--wp--preset--color--papier-hell); color: var(--wp--preset--color--aubergine); border-color: var(--wp--preset--color--papier-hell); }
.mhsd-btn--weiss:hover, .mhsd-btn--weiss:focus-visible { background: var(--wp--preset--color--creme); color: var(--wp--preset--color--aubergine); border-color: var(--wp--preset--color--creme); }
.mhsd-btn--rahmen-weiss { background: transparent; color: var(--wp--preset--color--papier-hell); border-color: var(--wp--preset--color--papier-hell); }
.mhsd-btn--rahmen-weiss:hover, .mhsd-btn--rahmen-weiss:focus-visible { background: var(--wp--preset--color--papier-hell); color: var(--wp--preset--color--aubergine); }
.mhsd-btn--klein { min-height: 2.75rem; font-size: 1rem; padding: 0.6rem 1.1rem; }
.mhsd-wege { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.mhsd-zaehler { display: inline-flex; align-items: center; min-height: 1.625rem; padding: 0 0.625rem; border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--neon); color: var(--wp--preset--color--text); font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.mhsd-zaehler--weiss { background: var(--wp--preset--color--papier-hell); color: var(--wp--preset--color--aubergine); }
.mhsd-chip { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: var(--wp--custom--radius--pill); border: 2px solid var(--wp--preset--color--aubergine); color: var(--wp--preset--color--aubergine); font-weight: 700; font-size: 0.9375rem; text-decoration: none; background: var(--wp--preset--color--papier-hell); }
.mhsd-chip[aria-pressed="true"], .mhsd-chip--aktiv { background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); }

/* 4. Kopfbereich: ausschließlich assets/reportage.css (Navigation bis 1190 px). */

/* =========================================================
   5. Hero
   ========================================================= */
.mhsd-hero { position: relative; padding-top: 0.5rem; }
.mhsd-hero > * { margin: 0; }
.mhsd-hero__bild { margin: 0; }
.mhsd-hero__bild img { width: 100%; height: clamp(260px, 44vw, 620px); object-fit: cover; border-radius: var(--wp--custom--radius--large); }
.mhsd-hero__hinweis { position: absolute; right: 1.5rem; top: 2rem; margin: 0; background: rgba(255, 255, 255, 0.92); border-radius: 12px; padding: 0.625rem 0.875rem; font-size: 0.875rem; color: var(--wp--preset--color--text); display: flex; align-items: center; gap: 0.5rem; }
.mhsd-hero__hinweis::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--wp--preset--color--neon); border: 1px solid var(--wp--preset--color--text); }
.mhsd-hero__karte { background: var(--wp--preset--color--creme); border-radius: var(--wp--custom--radius--tafel); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--wp--custom--schatten); display: flex; flex-direction: column; gap: 1.125rem; }
.mhsd-hero__karte > * { margin: 0; }
.mhsd-hero__karte h1 { color: var(--wp--preset--color--aubergine); }
.mhsd-hero__text { font-size: 1.1875rem; color: #3a3a3a; }
@media (min-width: 1024px) {
	.mhsd-hero { padding-bottom: 4.5rem; }
	.mhsd-hero__karte { position: absolute; left: 3rem; bottom: 1.5rem; width: min(580px, 55%); }
}
@media (max-width: 1023px) {
	.mhsd-hero__karte { margin: -3rem 0.75rem 0; position: relative; }
	.mhsd-hero__hinweis { display: none; }
	.mhsd-wege { flex-direction: column; align-items: stretch; }
	.mhsd-wege .wp-block-button__link, .mhsd-wege .mhsd-btn { width: 100%; }
}

/* =========================================================
   6. Karten, Kacheln, Hinweisboxen
   ========================================================= */
.mhsd-karte, .is-style-karte { background: var(--wp--preset--color--papier-hell); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--medium); padding: 1.625rem; position: relative; display: flex; flex-direction: column; gap: 0.625rem; box-sizing: border-box; }
.mhsd-karte > *, .is-style-karte > * { margin: 0; }
.mhsd-karte h3, .mhsd-karte__titel { font-size: 1.5rem; color: var(--wp--preset--color--text); }
.mhsd-karte__text { font-size: 1.0625rem; color: var(--wp--custom--nebentext); }
.mhsd-karte--mint { background: var(--wp--preset--color--papier); border-color: var(--wp--preset--color--papier); }
.mhsd-karte--mint .mhsd-karte__text { color: var(--wp--preset--color--text); }
.mhsd-karte--link:hover, .mhsd-karte--link:focus-within { border-color: var(--wp--preset--color--aubergine); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.mhsd-karte--link .mhsd-karte__titel a { color: inherit; text-decoration: none; }
.mhsd-karte--link .mhsd-karte__titel a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mhsd-karte--link .mhsd-karte__titel a:focus-visible { outline: none; }
.mhsd-karte--link:focus-within { outline: var(--wp--custom--focus); outline-offset: 3px; }
.mhsd-icon { display: block; width: 30px; height: 30px; color: var(--wp--preset--color--aubergine); }
.mhsd-icon svg { width: 100%; height: 100%; display: block; }
.mhsd-karte--mint .mhsd-icon { color: var(--wp--preset--color--aubergine); }
.mhsd-karte--kompakt { padding: 1rem 1.125rem; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 0.25rem 0.875rem; align-items: center; }
.mhsd-hinweis, .is-style-hinweis { background: var(--wp--preset--color--papier-hell); border-left: 4px solid var(--wp--preset--color--aubergine); border-radius: var(--wp--custom--radius--medium); padding: 1.75rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.mhsd-hinweis > *, .is-style-hinweis > * { margin: 0; }
.mhsd-hinweis__inhalt { display: flex; flex-direction: column; gap: 0.5rem; }
.mhsd-hinweis__inhalt > * { margin: 0; }
.mhsd-hinweis__titel { font-weight: 700; color: var(--wp--preset--color--aubergine); font-size: 1.25rem; }
.mhsd-hinweis__quelle { font-size: 1rem; color: #3a3a3a; }
.mhsd-kompass { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 1.0625rem; list-style: none; padding: 0; margin: 0; }
.mhsd-kompass li { margin: 0; }
@media (max-width: 781px) {
	.mhsd-hinweis, .is-style-hinweis { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
	.mhsd-kompass { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.375rem 0.75rem; font-size: 0.9375rem; }
}

/* Fototafeln (Cover-Block) */
.mhsd-tafel.wp-block-cover { min-height: 380px; border-radius: var(--wp--custom--radius--tafel); overflow: hidden; padding: 0; isolation: isolate; }
.mhsd-tafel .wp-block-cover__inner-container { width: 100%; padding: 4rem 1.75rem 1.75rem; background: var(--wp--preset--gradient--textplatte); display: flex; flex-direction: column; gap: 0.5rem; }
.mhsd-tafel .wp-block-cover__inner-container > * { margin: 0; max-width: none; }
.mhsd-tafel h3 { color: var(--wp--preset--color--papier-hell); font-size: 2rem; }
.mhsd-tafel p { color: #f1ece4; font-size: 1.0625rem; }
.mhsd-tafel__cta a, .mhsd-tafel__link { color: var(--wp--preset--color--neon); font-weight: 700; text-decoration: none; }
.mhsd-tafel__cta a::after, .mhsd-tafel__link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.mhsd-tafel__cta a:hover, .mhsd-tafel__cta a:focus-visible, .mhsd-tafel__link:hover, .mhsd-tafel__link:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.mhsd-tafel:focus-within { outline: var(--wp--custom--focus); outline-offset: 3px; }
.mhsd-tafel__cta a:focus-visible, .mhsd-tafel__link:focus-visible { outline: none; }
.mhsd-tafel .mhsd-tafel__marke { align-self: flex-start; background: rgba(255, 255, 255, 0.94); color: var(--wp--preset--color--text); font-size: 0.875rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: var(--wp--custom--radius--pill); margin: 0 0 0.25rem; }
@media (max-width: 599px) {
	.mhsd-tafel.wp-block-cover { min-height: 250px; }
	.mhsd-tafel .wp-block-cover__inner-container { padding: 3rem 1.125rem 1.125rem; }
	.mhsd-tafel h3 { font-size: 1.625rem; }
	.mhsd-tafel p { font-size: 0.9375rem; }
}

/* =========================================================
   7. Kundenmanagement und Formular
   ========================================================= */
.mhsd-km { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; background: var(--wp--preset--color--papier-hell); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--large); padding: 2.25rem; }
.mhsd-km__text { display: flex; flex-direction: column; gap: 1rem; }
.mhsd-km__text > * { margin: 0; }
.mhsd-km__bild { margin: 0; }
.mhsd-km__bild img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--wp--custom--radius--medium); }
.mhsd-km__titel { font-size: clamp(1.75rem, 3vw, 2.375rem); }
.mhsd-km__nummer { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.mhsd-km__nummer a, .mhsd-nummer { font-family: var(--wp--preset--font-family--newsreader); font-size: clamp(2rem, 4vw, 2.75rem); color: var(--wp--preset--color--aubergine); text-decoration: none; font-weight: 400; line-height: 1.1; }
.mhsd-km__nummer a:hover, .mhsd-km__nummer a:focus-visible { text-decoration: underline; text-underline-offset: 0.15em; }
.mhsd-formular { background: var(--wp--preset--color--creme); border-radius: var(--wp--custom--radius--medium); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.875rem; }
.mhsd-formular > * { margin: 0; }
.mhsd-formular h3 { font-size: 1.625rem; }
.mhsd-formular__felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.875rem; }
.mhsd-formular__felder--eins { grid-template-columns: minmax(0, 1fr); }
.mhsd-formular__feld { min-width: 0; }
.mhsd-formular .mhsd-feldfehler { display: block; color: #8b1730; font-weight: 700; margin: 0.375rem 0 0; }
.mhsd-formular .mhsd-feldfehler[hidden] { display: none; }
.mhsd-formular :is(input, select)[aria-invalid="true"] { border: 2px solid #8b1730; }
.mhsd-formular label, .mhsd-feld { display: flex; flex-direction: column; gap: 0.375rem; font-size: 1.0625rem; font-weight: 700; }
.mhsd-formular input:not([type="checkbox"]):not([type="radio"]), .mhsd-formular select, .mhsd-formular textarea { border: 1px solid #8f838e; border-radius: var(--wp--custom--radius--small); min-height: 52px; padding: 0.5rem 0.875rem; font: inherit; font-weight: 400; color: var(--wp--preset--color--text); background: var(--wp--preset--color--papier-hell); width: 100%; box-sizing: border-box; }
.mhsd-formular textarea { min-height: 6rem; }
.mhsd-formular select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.875rem center; padding-right: 2.5rem; }
.mhsd-formular__hinweis, .mhsd-formular__datenschutz, .mhsd-formular__reaktionszeit { color: #4f4f4f; font-size: 1rem; }
.mhsd-formular .mhsd-btn { align-self: flex-start; }
.mhsd-formular__fehler { background: #fde8e8; border-left: 4px solid #9a1b1b; padding: 0.75rem 1rem; border-radius: 0 var(--wp--custom--radius--small) var(--wp--custom--radius--small) 0; font-weight: 700; }
.mhsd-formular__erfolg { background: var(--wp--preset--color--papier); border-left: 4px solid var(--wp--preset--color--aubergine); padding: 0.75rem 1rem; border-radius: 0 var(--wp--custom--radius--small) var(--wp--custom--radius--small) 0; }
.mhsd-honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mhsd-pflicht { color: var(--wp--preset--color--aubergine); }
@media (max-width: 1023px) {
	.mhsd-km { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; gap: 1.5rem; }
	.mhsd-km__bild img { height: 240px; }
}
@media (max-width: 599px) {
	.mhsd-formular { padding: 1.25rem; }
	.mhsd-formular__felder { grid-template-columns: minmax(0, 1fr); }
	.mhsd-formular .mhsd-btn { align-self: stretch; }
}

/* =========================================================
   8. Standorte
   ========================================================= */
.mhsd-standort { display: flex; flex-direction: column; gap: 0.5rem; position: relative; }
.mhsd-standort > * { margin: 0; }
.mhsd-standort img { width: 100%; height: 170px; object-fit: cover; border-radius: 16px; }
.mhsd-standort__name { font-weight: 700; }
.mhsd-standort__name a { color: var(--wp--preset--color--text); font-weight: 700; text-decoration: none; }
.mhsd-standort__name a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.mhsd-standort__name a:focus-visible { outline: none; }
.mhsd-standort:focus-within { outline: var(--wp--custom--focus); outline-offset: 3px; border-radius: 16px; }
.mhsd-standort:hover .mhsd-standort__name a { color: var(--wp--preset--color--aubergine); text-decoration: underline; text-underline-offset: 0.2em; }
.mhsd-standort__info { font-size: 1rem; color: #4f4f4f; }
.mhsd-standort__bild { margin: 0; }
.mhsd-standort__bild img { display: block; }
.mhsd-standort--kueche .mhsd-standort__bild img { object-position: 50% 35%; }
.mhsd-standort--kongresszentrum .mhsd-standort__bild img { object-position: 50% 38%; }
.mhsd-standort__bild figcaption { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.45; color: #4f4f4f; }
.mhsd-standort__platzhalter { width: 100%; height: 170px; border-radius: 16px; background: var(--wp--preset--color--papier); display: flex; align-items: center; justify-content: center; color: var(--wp--preset--color--aubergine); font-weight: 700; text-align: center; padding: 1rem; box-sizing: border-box; margin: 0; }
.mhsd-standort__platzhalter--angebot { background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); font-size: 1.125rem; letter-spacing: 0.02em; }
@media (max-width: 599px) {
	.mhsd-standort img, .mhsd-standort__platzhalter { height: 110px; }
	:is(.mhsd-standort--kueche, .mhsd-standort--kongresszentrum) .mhsd-standort__bild img { height: auto; aspect-ratio: 3 / 2; }
	.mhsd-standort__info { font-size: 0.875rem; }
}

/* =========================================================
   9. Angehörige, Vertrauen, Karriere-Band
   ========================================================= */
.mhsd-zweispalt { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2.5rem; align-items: end; margin-bottom: 1.75rem; }
.mhsd-zweispalt > * { margin: 0; }
.mhsd-zweispalt__bild img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--wp--custom--radius--tafel); }
.mhsd-vertrauen { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 3.5rem; align-items: center; }
.mhsd-vertrauen > * { margin: 0; }
.mhsd-vertrauen__bild img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--wp--custom--radius--tafel); }
.mhsd-vertrauen__text { display: flex; flex-direction: column; gap: 1.375rem; }
.mhsd-vertrauen__text > * { margin: 0; }
.mhsd-kennzahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.mhsd-kennzahlen li { display: flex; flex-direction: column; gap: 0.25rem; margin: 0; }
.mhsd-kennzahl { font-family: var(--wp--preset--font-family--newsreader); font-size: 2.875rem; color: var(--wp--preset--color--aubergine); line-height: 1.05; }
.mhsd-kennzahl__text { font-size: 1.0625rem; color: var(--wp--custom--nebentext); }
.mhsd-karriere.wp-block-cover { min-height: 460px; border-radius: var(--wp--custom--radius--tafel); overflow: hidden; padding: 0; }
.mhsd-karriere .wp-block-cover__inner-container { width: 100%; max-width: none; padding: 3rem; display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mhsd-karriere .wp-block-cover__inner-container > * { margin: 0; max-width: 660px; }
.mhsd-karriere h2 { color: var(--wp--preset--color--papier-hell); font-size: clamp(1.875rem, 3.5vw, 2.875rem); }
.mhsd-karriere p { color: var(--wp--preset--color--creme); font-size: 1.125rem; }
.mhsd-karriere__kopf { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 1023px) {
	.mhsd-zweispalt { grid-template-columns: minmax(0, 1fr); }
	.mhsd-zweispalt__bild { order: -1; }
	.mhsd-vertrauen { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
	.mhsd-vertrauen__bild img { height: 260px; }
}
@media (max-width: 599px) {
	.mhsd-kennzahlen { grid-template-columns: minmax(0, 1fr); }
	.mhsd-karriere.wp-block-cover { min-height: 320px; }
	.mhsd-karriere .wp-block-cover__inner-container { padding: 1.5rem 1.25rem; }
	.mhsd-karriere .mhsd-wege .mhsd-btn { width: 100%; }
}

/* =========================================================
   10. Fußbereich und mobile Kontaktleiste
   ========================================================= */
.mhsd-footer { background: var(--wp--preset--color--papier-hell); padding-top: 3rem; padding-bottom: 1.5rem; font-size: 1.0625rem; }
.mhsd-footer .wp-block-columns { gap: 2rem; }
.mhsd-footer p { margin: 0; }
.mhsd-footer__logo img { height: 46px; width: auto; }
.mhsd-footer__nummer a { font-size: 1.375rem; font-weight: 700; color: var(--wp--preset--color--aubergine); text-decoration: none; }
.mhsd-footer__nummer a:hover, .mhsd-footer__nummer a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.mhsd-footer__spalte { display: flex; flex-direction: column; gap: 0.5rem; }
.mhsd-footer__spalte > * { margin: 0; }
.mhsd-footer__spalte ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.mhsd-footer__spalte a { color: var(--wp--preset--color--logo-blau); }
.mhsd-footer__rechtliches { border-top: 1px solid var(--wp--preset--color--linie); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 1rem; color: #4f4f4f; }
.mhsd-footer__rechtliches p { margin: 0; }
.mhsd-footer__rechtliches a { color: #4f4f4f; }
.mhsd-footer__rechtliches a:hover, .mhsd-footer__rechtliches a:focus-visible { color: var(--wp--preset--color--aubergine); }
.mhsd-footer__links { display: flex; gap: 1.125rem; flex-wrap: wrap; }
.mhsd-kontaktleiste { display: none; }
.mhsd-kontaktleiste > * { margin: 0; }
@media (max-width: 781px) {
	body { padding-bottom: 5.5rem; }
	.mhsd-kontaktleiste { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; padding: 0.625rem 0.75rem calc(0.625rem + env(safe-area-inset-bottom)); margin: 0; background: var(--wp--preset--color--papier-hell); border-top: 1px solid var(--wp--preset--color--linie); box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08); }
	.mhsd-kontaktleiste .mhsd-btn { width: 100%; min-height: 3.25rem; padding-left: 0.75rem; padding-right: 0.75rem; }
	.admin-bar .mhsd-kontaktleiste { z-index: 90; }
}

/* =========================================================
   11. Seiten, Text, FAQ, Bausteine
   ========================================================= */
.mhsd-seitenkopf { padding-top: var(--wp--preset--spacing--60); padding-bottom: var(--wp--preset--spacing--40); }
.mhsd-seitenkopf > * { margin: 0; }
.mhsd-seitenkopf .wp-block-post-title { max-width: 46rem; }
.mhsd-text > *:not(.alignwide):not(.alignfull) { max-width: 46rem; }
.wp-block-post-content > * + * { margin-top: 1.25rem; }
.wp-block-post-content h2 { margin-top: 2.5rem; }
.wp-block-post-content h3 { margin-top: 2rem; }
.wp-block-details { border-top: 1px solid var(--wp--preset--color--linie); padding: 1rem 0; margin: 0; }
.wp-block-details:last-child { border-bottom: 1px solid var(--wp--preset--color--linie); }
.wp-block-details summary { font-weight: 700; font-size: 1.125rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.75rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--wp--preset--color--aubergine); background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23811f7c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; }
.wp-block-details[open] summary::after { background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23811f7c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.wp-block-details > *:not(summary) { margin-top: 0.75rem; }
.mhsd-entscheidung { border-top: 6px solid var(--wp--preset--color--papier); }
.mhsd-entscheidung .mhsd-entscheidung__titel { font-size: 1.5rem; }
.mhsd-entscheidung dl { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 0.5rem 0.875rem; margin: 0; font-size: 1rem; }
.mhsd-entscheidung dt { color: var(--wp--preset--color--grau); }
.mhsd-entscheidung dd { margin: 0; }
.mhsd-schritte { counter-reset: schritt; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.mhsd-schritte li { position: relative; padding-left: 3.25rem; min-height: 2.5rem; }
.mhsd-schritte li::before { counter-increment: schritt; content: counter(schritt); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); font-weight: 400; display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--newsreader); font-size: 1.25rem; }
.mhsd-person { display: flex; gap: 0.875rem; align-items: center; }
.mhsd-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.mhsd-person__rolle { color: var(--wp--custom--nebentext); font-size: 0.9375rem; }
.mhsd-stand { font-size: 0.9375rem; color: #4f4f4f; }
.mhsd-tabelle table { border-collapse: collapse; width: 100%; }
.mhsd-tabelle th, .mhsd-tabelle td { border-bottom: 1px solid var(--wp--preset--color--linie); padding: 0.625rem 0.75rem; text-align: left; vertical-align: top; }
.mhsd-tabelle th { background: var(--wp--preset--color--papier-hell); font-weight: 700; }
.mhsd-tabelle td.zahl, .mhsd-tabelle th.zahl { text-align: right; font-variant-numeric: tabular-nums; }
.mhsd-404 { display: flex; flex-direction: column; gap: 1.25rem; padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.mhsd-404 > * { margin: 0; max-width: 46rem; }

/* Editor */
.editor-styles-wrapper { background: var(--wp--preset--color--creme); }
.editor-styles-wrapper .mhsd-hero__karte { position: relative; margin-top: -3rem; left: 0; }

/* Listen aus Query-Loops */
.wp-block-post-template.mhsd-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.wp-block-post-template.mhsd-liste > li { margin: 0; }
.mhsd-liste .wp-block-post-title { font-size: 1.5rem; margin: 0; }
.mhsd-liste .wp-block-post-title a { color: var(--wp--preset--color--aubergine); text-decoration: none; }
.mhsd-liste .wp-block-post-title a:hover, .mhsd-liste .wp-block-post-title a:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; }
.mhsd-liste .wp-block-post-date { font-size: 0.9375rem; color: var(--wp--preset--color--grau); }
.mhsd-liste .wp-block-post-excerpt__excerpt { margin: 0; color: var(--wp--custom--nebentext); }
.mhsd-liste .wp-block-post-excerpt__more-text { margin-top: 0.5rem; }
.wp-block-query-pagination { margin-top: 1.5rem; }
.wp-block-search__button { border-radius: var(--wp--custom--radius--pill); background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); border: 2px solid var(--wp--preset--color--aubergine); font-weight: 700; padding: 0.6rem 1.25rem; min-height: 3rem; }
.wp-block-search__input { border: 1px solid #8f838e; border-radius: var(--wp--custom--radius--small); min-height: 52px; padding: 0.5rem 0.875rem; font: inherit; }

/* =========================================================
   12. Stellenmarkt, Faktenblock, Kostenkompass (Blöcke aus mhsd-core)
   ========================================================= */
.mhsd-stellen__kopf { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.mhsd-stellen__kopf > * { margin: 0; }
.mhsd-stellen__titel { font-size: var(--wp--preset--font-size--x-large); }
.mhsd-stellen__filter { display: flex; flex-direction: column; gap: 0.5rem; }
.mhsd-stellen__filterlabel { font-size: 0.875rem; font-weight: 700; color: var(--wp--custom--nebentext); }
.mhsd-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mhsd-chip__zahl { margin-left: 0.375rem; font-weight: 400; opacity: 0.85; }
.mhsd-stellen__liste { list-style: none; padding: 0; margin: 0; }
.mhsd-stellen__liste > li { margin: 0; }
.mhsd-stelle-karte__kopf { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.mhsd-stelle { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
.mhsd-stelle__inhalt { display: flex; flex-direction: column; gap: 1.75rem; }
.mhsd-stelle__fakten, .mhsd-fakten__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 0; padding: 1.125rem 0; border-top: 1px solid var(--wp--preset--color--linie); border-bottom: 1px solid var(--wp--preset--color--linie); }
.mhsd-fakten__liste { grid-template-columns: minmax(0, 1fr); border: 0; padding: 0; gap: 0.75rem; }
.mhsd-stelle__fakten dt, .mhsd-fakten__liste dt { font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--wp--preset--color--grau); font-weight: 700; }
.mhsd-stelle__fakten dd, .mhsd-fakten__liste dd { margin: 0.125rem 0 0; font-weight: 700; }
.mhsd-fakten__liste dd { font-weight: 400; }
.mhsd-stelle__abschnitte section + section { margin-top: 1.5rem; }
.mhsd-stelle__abschnitte h2 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.mhsd-stelle__abschnitte ul { padding-left: 1.25rem; }
.mhsd-stelle__ort { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.25rem; align-items: center; background: var(--wp--preset--color--papier-hell); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--medium); overflow: hidden; }
.mhsd-stelle__ort img { width: 100%; height: 100%; object-fit: cover; }
.mhsd-stelle__ort > div { padding: 1rem 1.25rem 1rem 0; display: flex; flex-direction: column; gap: 0.375rem; }
.mhsd-stelle__ort p { margin: 0; }
.mhsd-stelle__seite { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 1rem; }
.mhsd-stelle__seite > * { margin: 0; }
.mhsd-bewerben { background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); border-radius: var(--wp--custom--radius--medium); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mhsd-bewerben p { margin: 0; color: #f1e6f0; font-size: 0.9375rem; }
.mhsd-bewerben strong { font-size: 1.25rem; }
.mhsd-bewerben .mhsd-btn { align-self: flex-start; }
.mhsd-bewerben__hinweis { font-size: 0.875rem; }
.mhsd-schritte--klein { gap: 0.5rem; font-size: 0.9375rem; margin-top: 0.75rem; }
.mhsd-schritte--klein li { padding-left: 2.5rem; min-height: 2rem; }
.mhsd-schritte--klein li::before { width: 1.75rem; height: 1.75rem; font-size: 1rem; }
.mhsd-standortliste { list-style: none; padding: 0; margin: 0; }
.mhsd-standortliste + .mhsd-standortliste { margin-top: 1.5rem; }
.mhsd-kurzantwort { margin-top: 1rem; }
.mhsd-block-vorschau { pointer-events: none; }
@media (max-width: 1023px) {
	.mhsd-stelle { grid-template-columns: minmax(0, 1fr); }
	.mhsd-stelle__seite { position: static; }
	.mhsd-stelle__ort { grid-template-columns: minmax(0, 1fr); }
	.mhsd-stelle__ort img { height: 180px; }
	.mhsd-stelle__ort > div { padding: 0 1.25rem 1.25rem; }
}

/* Hinweis auf unfertigen Seiten (nur außerhalb der Produktion) */
.mhsd-unfertig { background: #fff4d6; border-left: 4px solid #b26a00; padding: 0.875rem 1.125rem; border-radius: 0 var(--wp--custom--radius--small) var(--wp--custom--radius--small) 0; margin-bottom: 1.5rem; max-width: 46rem; }

/* Sofortkontakt-Leiste (Spartenseiten) */
.mhsd-sofortkontakt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; background: var(--wp--preset--color--papier-hell); border: 1px solid var(--wp--preset--color--linie); border-radius: var(--wp--custom--radius--medium); padding: 1rem 1.25rem; margin: 0.5rem 0 1.5rem; }
.mhsd-sofortkontakt p { margin: 0; }
.mhsd-sofortkontakt__text { color: var(--wp--custom--nebentext); }
.mhsd-sofortkontakt__nummer a { font-family: var(--wp--preset--font-family--newsreader); font-size: 1.75rem; font-weight: 400; color: var(--wp--preset--color--aubergine); text-decoration: none; }
.mhsd-sofortkontakt__nummer a:hover, .mhsd-sofortkontakt__nummer a:focus-visible { text-decoration: underline; text-underline-offset: 0.15em; }
.mhsd-sofortkontakt__zeit { color: var(--wp--custom--nebentext); margin-left: 0.5rem; }
.mhsd-sofortkontakt__alternative { margin-left: auto; }
.mhsd-rueckruf-block { margin: 1.5rem 0; }
.mhsd-rueckruf-block .mhsd-formular { max-width: 46rem; }
.mhsd-text .mhsd-hinweis { max-width: none; }
.mhsd-text > .alignwide { max-width: var(--wp--style--global--wide-size); }
@media (max-width: 599px) { .mhsd-sofortkontakt__alternative { margin-left: 0; width: 100%; } .mhsd-sofortkontakt__alternative .mhsd-btn { width: 100%; } }

/* Entgelte, Quellen, Brotkrumen */
.mhsd-entgelt { margin: 1.25rem 0; }
.mhsd-entgelt h3 { margin: 0 0 0.5rem; }
.mhsd-tabelle { overflow-x: auto; max-width: 100%; min-width: 0; overscroll-behavior-x: contain; }
.mhsd-tabelle table { min-width: 34rem; }
.mhsd-tabelle:focus-visible { outline-offset: -3px; }
.mhsd-quellen { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--wp--preset--color--linie); }
.mhsd-quellen h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.mhsd-quellen ul { padding-left: 1.25rem; color: var(--wp--custom--nebentext); font-size: 1rem; }
.yoast-breadcrumbs { font-size: 0.9375rem; color: var(--wp--custom--nebentext); margin: 0 0 0.75rem; }
.yoast-breadcrumbs a { color: var(--wp--custom--nebentext); }
.yoast-breadcrumbs a:hover, .yoast-breadcrumbs a:focus-visible { color: var(--wp--preset--color--aubergine); }
.yoast-breadcrumbs .breadcrumb_last { font-weight: 700; color: var(--wp--preset--color--text); }
.mhsd-brotkrumen { font-size: 0.9375rem; margin: 0 0 0.75rem; }
.mhsd-brotkrumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.mhsd-brotkrumen li { margin: 0; color: var(--wp--custom--nebentext); }
.mhsd-brotkrumen li + li::before { content: "›"; margin: 0 0.5rem; color: var(--wp--preset--color--grau); }
.mhsd-brotkrumen a { color: var(--wp--custom--nebentext); }
.mhsd-brotkrumen a:hover, .mhsd-brotkrumen a:focus-visible { color: var(--wp--preset--color--aubergine); }
.mhsd-brotkrumen [aria-current] { font-weight: 700; color: var(--wp--preset--color--text); }

/* Reflow 320 px: Entscheidungskarte einspaltig, lange Wörter umbrechen */
.mhsd-entscheidung dd, .mhsd-karte, .mhsd-fakten__liste dd, .mhsd-stelle__fakten dd { overflow-wrap: anywhere; }
@media (max-width: 479px) {
	.mhsd-entscheidung dl { grid-template-columns: minmax(0, 1fr); gap: 0.125rem 0; }
	.mhsd-entscheidung dt { margin-top: 0.625rem; }
	.mhsd-entscheidung dt:first-child { margin-top: 0; }
}

/* Instagram */
.mhsd-instagram { margin-top: var(--wp--preset--spacing--60); }

/* 13. Markenakzente (Vergleichsgutachten Manus 15.09.2026): Neon als Signal mit Aufgabe, nie als Fläche für Kosten, Formulare oder Fließtext */
.mhsd-welt-karriere .mhsd-label:not(.mhsd-label--hell):not(.mhsd-karte .mhsd-label):not(.mhsd-stelle-karte .mhsd-label)::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.5em; background: var(--wp--preset--color--neon); border-radius: 2px; vertical-align: 0.05em; }
.mhsd-claim { display: inline-block; margin-left: 0.5rem; padding: 0.15em 0.6em; background: var(--wp--preset--color--neon); color: var(--wp--preset--color--text); border-radius: var(--wp--custom--radius--pill); letter-spacing: 0.02em; text-transform: none; font-size: 0.875rem; }
.mhsd-kennzahl { display: inline-block; padding: 0 0.2em; background: linear-gradient(transparent 60%, var(--wp--preset--color--neon) 60%, var(--wp--preset--color--neon) 92%, transparent 92%); white-space: nowrap; }
/* Karriere-Modus: Neon trägt Überschrift, Filter und Stellenzähler; Pflege- und Kostenstrecken bleiben ruhig */
.mhsd-welt-karriere h1.wp-block-post-title { text-decoration: underline; text-decoration-color: var(--wp--preset--color--neon); text-decoration-thickness: 0.28em; text-underline-offset: 0.06em; text-decoration-skip-ink: none; }
.mhsd-welt-karriere .mhsd-chip[aria-pressed="true"], .mhsd-welt-karriere .mhsd-chip--aktiv { background: var(--wp--preset--color--neon); color: var(--wp--preset--color--text); border-color: var(--wp--preset--color--neon); }
.mhsd-welt-karriere .mhsd-stellen__titel { display: inline-block; padding: 0 0.2em; background: linear-gradient(transparent 62%, var(--wp--preset--color--neon) 62%, var(--wp--preset--color--neon) 94%, transparent 94%); }
.mhsd-welt-karriere .mhsd-zaehler { background: var(--wp--preset--color--neon); color: var(--wp--preset--color--text); }

/* 14. Karriere-Welt (Beschluss 15.09.2026 abends, „eine Marke, zwei Intensitäten“): großer menschlicher Einstieg, Neon als Kampagnenfläche nur hier */
.mhsd-karriere-einstieg { margin-top: 0; }
.mhsd-karriere-hero.wp-block-cover { min-height: 560px; }
.mhsd-karriere-hero .wp-block-cover__inner-container { padding: 3.5rem 3rem; gap: 1.25rem; }
.mhsd-karriere-hero p.mhsd-karriere-hero__claim { display: inline-block; font-family: var(--wp--preset--font-family--newsreader); font-size: clamp(2rem, 5vw, 4rem); line-height: 1; color: var(--wp--preset--color--text); background: var(--wp--preset--color--neon); padding: 0.15em 0.45em; border-radius: 0.15em; margin-bottom: 0.5rem; }
.mhsd-karriere-hero h2 { font-size: clamp(2.125rem, 4.2vw, 3.5rem); max-width: 720px; }
.mhsd-karriere-hero p { max-width: 640px; }
.mhsd-beweise { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.75rem 1.5rem; }
.mhsd-beweise li { border-top: 3px solid var(--wp--preset--color--neon); padding-top: 0.625rem; font-size: 0.9375rem; color: var(--wp--preset--color--text); }
.mhsd-beweise strong { display: block; color: var(--wp--preset--color--aubergine); font-family: var(--wp--preset--font-family--newsreader); font-size: 1.5rem; line-height: 1.1; margin-bottom: 0.2rem; }
@media (max-width: 767px) {
	.mhsd-karriere-hero.wp-block-cover { min-height: 440px; }
	.mhsd-karriere-hero .wp-block-cover__inner-container { padding: 1.5rem 1.25rem; }
}

/* 15. Die v3-Palette gilt gemeinsam; Sparten sind über Namen und Inhalte erkennbar. */
.mhsd-standort__platzhalter--leer { aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--wp--preset--color--creme), var(--wp--preset--color--papier)); border-radius: 12px; }

/* 16. Bewerbung per WhatsApp (PitchYou, Beschluss 42 vom 15.09.2026): WhatsApp-Grün nur für diesen einen Weg, dunkle Schrift wegen Kontrast */
.mhsd-btn--whatsapp { display: inline-flex; align-items: center; gap: 0.5rem; background: #25d366; border-color: #25d366; color: #0b1f16; }
.mhsd-btn--whatsapp:hover, .mhsd-btn--whatsapp:focus-visible { background: #1ebe5d; border-color: #1ebe5d; color: #0b1f16; }
.mhsd-btn--whatsapp .mhsd-whatsapp__icon { width: 1.25em; height: 1.25em; flex: none; }
.mhsd-btn--gross { font-size: 1.125rem; padding: 0.9rem 1.5rem; }
.mhsd-whatsapp-zeile { margin: 1rem 0; }
.mhsd-whatsapp { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem 2.5rem; align-items: center; background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); border-radius: var(--wp--custom--radius--tafel); padding: clamp(1.5rem, 3vw, 2.5rem); margin: var(--wp--preset--spacing--50) 0; }
.mhsd-whatsapp h2, .mhsd-whatsapp h3 { color: var(--wp--preset--color--papier-hell); margin: 0.25rem 0 0.75rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.mhsd-whatsapp p { color: var(--wp--preset--color--papier-hell); margin: 0 0 0.75rem; }
.mhsd-whatsapp a { color: var(--wp--preset--color--papier-hell); text-decoration: underline; text-underline-offset: 0.15em; }
.mhsd-whatsapp .mhsd-schritte { margin: 0.75rem 0 1rem; }
.mhsd-whatsapp .mhsd-schritte li { color: var(--wp--preset--color--papier-hell); }
.mhsd-whatsapp .mhsd-schritte li::before { background: var(--wp--preset--color--neon); color: var(--wp--preset--color--text); }
.mhsd-whatsapp__hinweis { font-size: 0.9375rem; opacity: 0.95; }
.mhsd-whatsapp__aktion { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.mhsd-whatsapp__aktion .mhsd-btn { text-decoration: none; }
.mhsd-whatsapp__alt { font-size: 0.9375rem; }
.mhsd-whatsapp .mhsd-label--hell::before { display: none; }
@media (max-width: 767px) { .mhsd-whatsapp { grid-template-columns: minmax(0, 1fr); } .mhsd-whatsapp__aktion .mhsd-btn { width: 100%; justify-content: center; } }
.mhsd-bewerben__oder { margin: 1rem 0 0.5rem; font-size: 0.9375rem; }
.mhsd-stellen__whatsapp { margin-right: 0.75rem; }
.mhsd-whatsapp .mhsd-btn--whatsapp, .mhsd-whatsapp .mhsd-btn--whatsapp span { color: #0b1f16; text-decoration: none; }

/* 17. Bewegung: zentral in assets/bewegung.css und inc/bewegung.php. */

/* 18. Ältere redaktionelle Bildbausteine. */
@media (min-width: 960px) and (max-width: 1279px) {
	.mhsd-hero { padding-bottom: 0; }
	.mhsd-hero__bild img { height: clamp(380px, 40vw, 500px); object-position: center 32%; }
	.mhsd-hero__karte { position: relative; left: auto; bottom: auto; width: min(760px, calc(100% - 3rem)); margin: -3rem auto 0; }
	.mhsd-wege { flex-direction: row; align-items: center; }
	.mhsd-wege .mhsd-btn { width: auto; }
}
@media (min-width: 1280px) {
	.mhsd-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; padding-bottom: 1rem; }
	.mhsd-hero__bild { grid-column: 2; grid-row: 1; display: flex; margin: 0; }
	.mhsd-hero__bild img { height: 100%; min-height: 440px; max-height: 600px; object-fit: cover; object-position: center 40%; }
	.mhsd-hero__karte { grid-column: 1; grid-row: 1; position: relative; left: auto; bottom: auto; width: auto; margin: 2rem -3rem 2rem 0; z-index: 1; align-self: center; }
	.mhsd-hero__hinweis { right: 1.5rem; top: 1.5rem; }
}
@media (max-width: 599px) {
	.mhsd-hero__bild img { height: clamp(200px, 56vw, 300px); }
	.mhsd-hero__karte { padding: 1.125rem 1rem; gap: 0.75rem; }
	.mhsd-hero__karte h1 { font-size: 1.9rem; }
	.mhsd-hero__text { font-size: 1.0625rem; }
}

/* 19. Stimmen aus dem Team, Ansprechperson, kununu-Siegel */
.mhsd-stimmen { margin: var(--wp--preset--spacing--50) 0; }
.mhsd-stimme { list-style: none; background: var(--wp--preset--color--papier-hell); border-radius: var(--wp--custom--radius--tafel); padding: 1.5rem; border-top: 4px solid var(--wp--preset--color--neon); display: flex; flex-direction: column; gap: 0.75rem; }
.mhsd-stimme__zitat { margin: 0; padding: 0; border: 0; }
.mhsd-stimme__zitat p { margin: 0; font-family: var(--wp--preset--font-family--newsreader); font-size: 1.25rem; line-height: 1.45; color: var(--wp--preset--color--text); }
.mhsd-stimme__wer { margin: 0; font-size: 0.9375rem; color: var(--wp--preset--color--grau); }
.mhsd-stimme__wer strong { color: var(--wp--preset--color--aubergine); }
.mhsd-stimme__generiert { margin: 0; align-self: flex-start; background: #fff1c2; color: #5a4300; border-radius: 6px; padding: 0.2em 0.6em; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; }
.mhsd-ansprechperson { display: flex; flex-direction: column; gap: 0.75rem; margin: var(--wp--preset--spacing--40) 0; color: var(--wp--preset--color--text); }
.mhsd-ansprechperson p { margin: 0; }
.mhsd-ansprechperson__kopf { display: flex; align-items: center; gap: 1rem; }
.mhsd-ansprechperson__kopf > div { min-width: 0; }
.mhsd-ansprechperson__foto, .mhsd-ansprechperson__initialen { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.mhsd-ansprechperson__initialen { display: inline-flex; align-items: center; justify-content: center; background: var(--wp--preset--color--aubergine); color: var(--wp--preset--color--papier-hell); font-weight: 700; font-size: 1.25rem; }
.mhsd-ansprechperson__name strong { color: var(--wp--preset--color--aubergine); font-size: 1.125rem; }
.mhsd-ansprechperson__kontakt a { font-weight: 700; }
.mhsd-beweise__siegel { display: flex; align-items: center; gap: 0.75rem; }
.mhsd-beweise__siegel img { width: 56px; height: auto; flex: none; }
.mhsd-beweise__siegel strong { margin-bottom: 0; }
.mhsd-kontaktleiste .mhsd-btn--whatsapp { gap: 0.4rem; }
/* Logo: Core setzt bei Standardgröße 120 px Breite; wir steuern über die Höhe */
.mhsd-logo.wp-block-site-logo.is-default-size img, .mhsd-logo.wp-block-site-logo img { width: auto; height: 64px; max-width: none; }
@media (max-width: 959px) { .mhsd-logo.wp-block-site-logo.is-default-size img, .mhsd-logo.wp-block-site-logo img { height: 52px; } }
@media (max-width: 599px) { .mhsd-logo.wp-block-site-logo.is-default-size img, .mhsd-logo.wp-block-site-logo img { height: 44px; } }
/* Mobil: kurzer Einstiegsabsatz (Gutachten Astra), Desktop: ausführlicher Satz */
.mhsd-hero__text--kurz { display: none; }
@media (max-width: 599px) { .mhsd-hero__text { display: none; } .mhsd-hero__text--kurz { display: block; } }

/* 20. Benefits, Karrieregeschichten, Stellensuche (Gutachten Astra, Runde 2) */
.mhsd-benefits { margin: var(--wp--preset--spacing--50) 0; }
.mhsd-benefits__titel, .mhsd-geschichten__titel { margin-bottom: 1rem; }
.mhsd-benefit { list-style: none; }
.mhsd-benefit--band { background: var(--wp--preset--color--papier-hell); border-radius: var(--wp--custom--radius--tafel); padding: 1.25rem 1.5rem; border-left: 5px solid var(--wp--preset--color--neon); }
.mhsd-benefit--band h3 { font-size: 1.25rem; color: var(--wp--preset--color--aubergine); margin: 0 0 0.375rem; }
.mhsd-benefit--band p { margin: 0; font-size: 0.9375rem; }
.mhsd-benefits__gruppe { margin-top: var(--wp--preset--spacing--50); }
.mhsd-benefit__bedingung { margin: 0.5rem 0 0; font-size: 0.9375rem; color: var(--wp--preset--color--grau); }
.mhsd-benefits-kompakt ul { margin: 0.5rem 0 0.75rem 1.1rem; padding: 0; }
.mhsd-benefits-kompakt li { margin: 0 0 0.25rem; }
.mhsd-geschichten { margin: var(--wp--preset--spacing--50) 0; }
.mhsd-geschichte { border-top: 5px solid var(--wp--preset--color--aubergine); }
.mhsd-geschichte .mhsd-stand { margin-top: 0.5rem; }
.mhsd-stellen__suche { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; align-items: end; margin: 0 0 1rem; }
.mhsd-stellen__suche label { display: flex; flex-direction: column; gap: 0.25rem; font-weight: 700; flex: 1 1 260px; }
.mhsd-stellen__suche input[type="search"] { min-height: 2.75rem; padding: 0.5rem 0.875rem; border: 2px solid var(--wp--preset--color--linie); border-radius: 12px; font: inherit; width: 100%; background: var(--wp--preset--color--papier-hell); }
.mhsd-stellen__suche input[type="search"]:focus-visible { outline: var(--wp--custom--focus); outline-offset: 2px; border-color: var(--wp--preset--color--aubergine); }

/* 21. Gutachten Agentur 16.09.2026: weniger Vorlage, mehr Haus (Aubergine sparsam, Label ohne Marker, Ocker für Tagespflege, Handschrift, Reportage, Zitat-Band, Hero ohne verdecktes Gesicht) */
.mhsd-hero__direkt { margin: 0; font-size: 0.9375rem; color: var(--wp--custom--nebentext); }
.mhsd-hero__direkt a { color: var(--wp--preset--color--logo-blau); }
.mhsd-karriere-hero__wege-text { margin: 0.25rem 0 0; color: var(--wp--preset--color--creme); font-size: 1.0625rem; }
.mhsd-karriere-hero__wege-text a { color: var(--wp--preset--color--papier-hell); text-decoration: underline; text-underline-offset: 0.15em; }
.mhsd-handschrift, .mhsd-bildunterschrift--handschrift { font-family: var(--wp--preset--font-family--atkinson); font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.2; color: var(--wp--preset--color--aubergine); text-align: left; margin-top: 0.5rem; }
.mhsd-reportage__foto .wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--wp--custom--radius--tafel); }
.mhsd-reportage__text { max-width: 46rem; margin-top: var(--wp--preset--spacing--40); }
.mhsd-reportage__satz { font-family: var(--wp--preset--font-family--newsreader); font-size: 1.5rem; line-height: 1.3; margin: 0; }
.mhsd-reportage__person { margin: 0.5rem 0 0; font-size: var(--wp--preset--font-size--small); color: var(--wp--custom--nebentext); }
.mhsd-zitatband { display: grid; gap: var(--wp--preset--spacing--50); align-items: center; margin-top: var(--wp--preset--spacing--60); }
@media (min-width: 960px) { .mhsd-zitatband { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
.mhsd-zitatband__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--wp--custom--radius--tafel); }
.mhsd-zitatband__text { display: flex; flex-direction: column; gap: var(--wp--preset--spacing--40); }
.mhsd-zitatband__stimme { margin: 0; }
.mhsd-zitatband__zitat { margin: 0; padding: 0; border: 0; font-family: var(--wp--preset--font-family--newsreader); font-size: 1.75rem; line-height: 1.35; }
.mhsd-zitatband__zitat p { margin: 0; }
.mhsd-zitatband__wer { margin-top: 0.75rem; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--custom--nebentext); letter-spacing: 0.02em; }
#rueckruf-kompakt, #rueckruf { scroll-margin-top: 6rem; }
.mhsd-vertrauen__satz { font-family: var(--wp--preset--font-family--newsreader); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.4; color: var(--wp--preset--color--text); margin: 0; }
.mhsd-vertrauen__satz strong { color: var(--wp--preset--color--aubergine); font-weight: 400; }

/* Suchfelder bleiben auch in der schmalen Fehlerseiten-Spalte bedienbar. */
.wp-block-search { min-width: 0; max-width: 100%; }
.wp-block-search__input { min-width: 0; }

/* Compatibility for restored pre-v3 block revisions; not part of the editor palette. */
:root{--wp--preset--color--salbei-dunkel:var(--wp--preset--color--aubergine);--wp--preset--color--salbei-linie:var(--wp--preset--color--aubergine);--wp--preset--color--salbei:var(--wp--preset--color--papier);--wp--preset--color--mint:var(--wp--preset--color--papier);--wp--preset--color--creme-dunkel:var(--wp--preset--color--papier);--wp--preset--color--off-white:var(--wp--preset--color--papier-hell);--wp--preset--color--weiss:var(--wp--preset--color--papier-hell);}
.has-salbei-dunkel-color{color:var(--wp--preset--color--aubergine)!important}
.has-salbei-dunkel-background-color{background-color:var(--wp--preset--color--aubergine)!important}
.has-salbei-dunkel-border-color{border-color:var(--wp--preset--color--aubergine)!important}
.has-salbei-linie-color{color:var(--wp--preset--color--aubergine)!important}
.has-salbei-linie-background-color{background-color:var(--wp--preset--color--aubergine)!important}
.has-salbei-linie-border-color{border-color:var(--wp--preset--color--aubergine)!important}
.has-salbei-color{color:var(--wp--preset--color--papier)!important}
.has-salbei-background-color{background-color:var(--wp--preset--color--papier)!important}
.has-salbei-border-color{border-color:var(--wp--preset--color--papier)!important}
.has-mint-color{color:var(--wp--preset--color--papier)!important}
.has-mint-background-color{background-color:var(--wp--preset--color--papier)!important}
.has-mint-border-color{border-color:var(--wp--preset--color--papier)!important}
.has-creme-dunkel-color{color:var(--wp--preset--color--papier)!important}
.has-creme-dunkel-background-color{background-color:var(--wp--preset--color--papier)!important}
.has-creme-dunkel-border-color{border-color:var(--wp--preset--color--papier)!important}
.has-off-white-color{color:var(--wp--preset--color--papier-hell)!important}
.has-off-white-background-color{background-color:var(--wp--preset--color--papier-hell)!important}
.has-off-white-border-color{border-color:var(--wp--preset--color--papier-hell)!important}
.has-weiss-color{color:var(--wp--preset--color--papier-hell)!important}
.has-weiss-background-color{background-color:var(--wp--preset--color--papier-hell)!important}
.has-weiss-border-color{border-color:var(--wp--preset--color--papier-hell)!important}
