/* MH Händlersuche – eigenes Stylesheet, unabhängig vom Tailwind-Build des Themes. */
.mhhs {
	--mhhs-ink: #171717;
	--mhhs-text: #404040;
	--mhhs-muted: #525252;
	--mhhs-line: #e5e5e5;
	--mhhs-soft: #f5f5f5;
	--mhhs-accent: #4338ca;
	flex: 1;
	background: #fff;
	color: var(--mhhs-ink);
}
.mhhs a { color: var(--mhhs-ink); }
.mhhs a:hover { color: var(--mhhs-accent); }
.mhhs p { margin: 0; }
.mhhs-wrap { max-width: 1152px; margin: 0 auto; padding: 48px 16px 72px; box-sizing: border-box; }
.mhhs-wrap--detail { padding-top: 28px; }
.mhhs-preview-note { display: inline-block; margin-bottom: 20px !important; padding: 6px 12px; font-size: 13px; background: #fef3c7; color: #78350f; border-radius: 8px; }

/* Kopf */
.mhhs-eyebrow, .mhhs-label { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mhhs-accent); }
.mhhs-label { font-size: 11px; }
.mhhs-h1 { margin: 8px 0 0; font-size: 36px; line-height: 1.15; font-weight: 700; }
.mhhs-intro { margin-top: 12px !important; max-width: 680px; font-size: 18px; line-height: 1.55; color: var(--mhhs-text); }

/* Suchformular */
.mhhs-form { margin-top: 28px; max-width: 520px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.mhhs-field { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.mhhs-field label { font-size: 13px; font-weight: 700; color: var(--mhhs-text); }
.mhhs-field input { width: 100%; max-width: 100%; height: 48px; box-sizing: border-box; padding: 0 14px; font-size: 16px; border: 1px solid #a3a3a3; border-radius: 10px; color: var(--mhhs-ink); background: #fff; }
.mhhs-field input:focus { outline: 2px solid var(--mhhs-accent); outline-offset: 1px; }

/* Buttons und Links */
.mhhs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; box-sizing: border-box; padding: 0 24px; font-size: 15px; font-weight: 600; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; }
.mhhs a.mhhs-btn--dark, .mhhs-btn--dark { background: var(--mhhs-ink); color: #fff; }
.mhhs a.mhhs-btn--dark:hover, .mhhs-btn--dark:hover { background: #404040; color: #fff; }
.mhhs-btn--outline { background: #fff; color: var(--mhhs-ink); border: 1px solid var(--mhhs-ink); }
.mhhs a.mhhs-btn--outline:hover { background: var(--mhhs-soft); color: var(--mhhs-ink); }
.mhhs-btn--search { height: 48px; padding: 0 28px; font-size: 16px; }
.mhhs-btn--big { min-height: 48px; font-size: 16px; }
.mhhs-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; }
.mhhs-ico { display: inline-block; flex: none; }

/* Ergebnisse */
.mhhs-results { max-width: 760px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--mhhs-ink); }
.mhhs-results--empty { border-top: 0; padding-top: 0; margin-top: 12px; }
.mhhs-results--empty .mhhs-col { max-width: 520px; } /* Händler-Box so breit wie die Suche */
.mhhs-col { max-width: 760px; }
.mhhs-headline { font-size: 18px; font-weight: 700; line-height: 1.35; }
.mhhs-note { margin-top: 6px !important; font-size: 14px; line-height: 1.5; color: var(--mhhs-muted); }
.mhhs-info { margin-top: 12px; padding: 14px 16px; background: var(--mhhs-soft); border-radius: 12px; display: flex; gap: 12px; align-items: flex-start; color: var(--mhhs-accent); }
.mhhs-info p { font-size: 15px; line-height: 1.5; color: #262626; }
.mhhs-choices { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.mhhs-premium-list { margin-top: 8px; }

/* Premium-Eintrag */
.mhhs-premium { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 28px 0; border-bottom: 1px solid var(--mhhs-ink); }
.mhhs-premium-body { flex: 1 1 320px; min-width: 0; }
.mhhs-namerow { margin-top: 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.mhhs-name { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; }
.mhhs-name a { text-decoration: none; }
.mhhs-km { font-size: 15px; color: var(--mhhs-muted); white-space: nowrap; }
.mhhs-text { margin-top: 10px !important; font-size: 16px; line-height: 1.55; color: var(--mhhs-text); }
.mhhs-meta { margin-top: 12px !important; font-size: 14px; line-height: 1.6; color: var(--mhhs-muted); }
.mhhs-meta a { color: var(--mhhs-text); text-decoration: none; }
.mhhs-meta .mhhs-addr-line, .mhhs-meta .mhhs-tel { font-weight: 600; color: #262626; }
.mhhs-brands-short { display: none; }
.mhhs-actions { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Logo */
.mhhs-logo { width: 108px; height: 60px; flex: none; display: flex; align-items: center; justify-content: flex-start; }
.mhhs-logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0; }
.mhhs-logo--dunkel { background: var(--mhhs-ink); padding: 8px 12px; border-radius: 10px; box-sizing: border-box; justify-content: center; }
.mhhs-logo--gross { width: 144px; height: 78px; }

/* Basis-Zeilen */
.mhhs-listlabel { margin-top: 28px !important; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mhhs-muted); }
.mhhs-rows { margin-top: 6px; border-top: 1px solid var(--mhhs-line); }
.mhhs-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mhhs-line); }
.mhhs-row-main { min-width: 0; }
.mhhs-row-name { font-size: 16px; font-weight: 700; }
.mhhs-row-addr { margin-top: 3px !important; font-size: 14px; color: var(--mhhs-muted); }
.mhhs-row-tel { display: inline-block; margin-top: 3px; padding: 2px 0; font-size: 14px; font-weight: 600; text-decoration: none; }
.mhhs-row-km { flex: none; font-size: 15px; font-weight: 700; white-space: nowrap; }

/* Händler-Kasten */
.mhhs-box { margin-top: 32px; padding: 22px; background: var(--mhhs-soft); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.mhhs-box-text { flex: 1 1 320px; }
.mhhs-box-title { font-size: 16px; font-weight: 700; }
.mhhs-box-text p + p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--mhhs-text); }
.mhhs-small { margin-top: 16px !important; font-size: 13px; color: var(--mhhs-muted); }
.mhhs-source { margin-top: 28px !important; font-size: 12px; color: var(--mhhs-muted); }
.mhhs-source a { color: var(--mhhs-muted); }

/* Detailseite */
.mhhs-crumbs { font-size: 14px; color: var(--mhhs-muted); display: flex; gap: 8px; flex-wrap: wrap; }
.mhhs-crumbs a { color: var(--mhhs-text); }
.mhhs-hero { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: stretch; }
.mhhs-photo { flex: 1 1 520px; min-width: 0; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--mhhs-line); }
.mhhs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.mhhs-hero-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.mhhs-hero--ohnefoto .mhhs-hero-info { flex-basis: 100%; }
.mhhs-hero-info .mhhs-label { margin-top: 20px; font-size: 12px; }
.mhhs-h1--detail { margin-top: 6px; font-size: 38px; line-height: 1.12; }
.mhhs-addr { margin-top: 12px !important; font-size: 17px; line-height: 1.5; color: var(--mhhs-text); }
.mhhs-tel-big { margin-top: 4px; font-size: 17px; font-weight: 700; text-decoration: none; }
.mhhs-mail { margin-top: 4px; font-size: 16px; }
.mhhs-hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.mhhs-hero-actions .mhhs-btn--outline { border-color: #a3a3a3; }
.mhhs-only-mobile { display: none !important; }
.mhhs-detail-body { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mhhs-ink); display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.mhhs-detail-main { flex: 999 1 560px; min-width: 0; }
.mhhs-detail-aside { flex: 1 1 300px; min-width: 0; }
.mhhs-h2 { margin: 36px 0 0; font-size: 22px; font-weight: 700; }
.mhhs-detail-main > .mhhs-h2:first-child { margin-top: 0; }
.mhhs-h2--tight { margin-top: 4px; }
.mhhs-portrait { margin-top: 12px !important; max-width: 680px; font-size: 18px; line-height: 1.65; color: #262626; }
/* Häufige Fragen auf der Startansicht – gleiche Optik wie der Ratgeber-Block der Kategorieseiten (functions.php, .mhg) */
.mhhs .mhg { margin: 40px 0 0; background: #f5f5f5; border-radius: 4px; padding: 40px 16px 24px; color: #171717; }
.mhhs .mhg-faq { display: grid; grid-template-columns: 1fr; gap: 44px; padding: 0 8px 16px; }
.mhhs .mhg-q { display: flex; flex-direction: column; text-decoration: none; color: #171717; }
.mhhs a.mhg-q:hover { color: #171717; }
.mhhs .mhg-meta { font-size: 15px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.mhhs .mhg-meta span span { color: #737373; margin-left: 10px; }
.mhhs .mhg-q h2 { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -.03em; margin: 0; max-width: 560px; }
.mhhs .mhg-q p { margin: 20px 0 0; font-size: 16px; line-height: 1.6; color: #525252; max-width: 620px; }
.mhhs a.mhg-q:hover h2, .mhhs a.mhg-q:hover .mhg-more b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mhhs .mhg-more { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: #171717; }
.mhhs .mhg-more i { width: 22px; height: 22px; border-radius: 50%; background: #e5e5e5; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 12px; color: #404040; }
.mhhs .mhg-more b { font-weight: 500; }
@media (min-width: 768px) {
	.mhhs .mhg { padding: 56px 24px 40px; margin-top: 48px; }
	.mhhs .mhg-faq { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; row-gap: 64px; padding: 0 12px 16px; }
	.mhhs .mhg-q h2 { font-size: 30px; }
	.mhhs .mhg-q p { margin-top: 36px; }
}
.mhhs-people { margin: 12px 0 0; padding: 0; list-style: none; max-width: 680px; border-top: 1px solid var(--mhhs-line); }
.mhhs-people li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--mhhs-line); font-size: 16px; }
.mhhs-people-name { font-weight: 600; }
.mhhs-people-role { color: var(--mhhs-muted); }
.mhhs-services { margin: 12px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; max-width: 680px; }
.mhhs-services li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--mhhs-line); font-size: 16px; }
.mhhs-services svg { color: var(--mhhs-accent); flex: none; }
.mhhs-pills { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.mhhs-pill { display: inline-flex; align-items: center; min-height: 40px; box-sizing: border-box; padding: 0 16px; font-size: 15px; font-weight: 600; border: 1px solid #d4d4d4; border-radius: 999px; text-decoration: none; }
.mhhs-pill--plain { font-weight: 400; color: var(--mhhs-text); background: var(--mhhs-soft); border-color: transparent; }
.mhhs-hours { padding: 22px; background: #fafafa; border: 1px solid var(--mhhs-line); border-radius: 14px; }
.mhhs-hours-termin { margin-top: 10px !important; font-size: 17px; line-height: 1.45; font-weight: 600; }
.mhhs-hours dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; font-size: 16px; }
.mhhs-hours dt { padding: 8px 0; border-bottom: 1px solid var(--mhhs-line); color: var(--mhhs-text); }
.mhhs-hours dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--mhhs-line); text-align: right; font-weight: 600; }
.mhhs-hours .mhhs-btn { margin-top: 14px; }
.mhhs-related { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--mhhs-ink); }
.mhhs-related-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mhhs-rel { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.mhhs-rel-media { display: block; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; background: var(--mhhs-line); }
.mhhs-rel-media img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.mhhs-rel-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mhhs-rel-meta { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mhhs-muted); }
.mhhs-rel-title { font-size: 17px; line-height: 1.3; font-weight: 700; }
.mhhs-detail-foot { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--mhhs-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--mhhs-muted); }
.mhhs-detail-foot > a { font-weight: 600; }

/* Handy */
@media (max-width: 640px) {
	.mhhs-wrap { padding: 28px 16px 48px; }
	.mhhs-wrap--detail { padding-top: 16px; }
	.mhhs-h1 { font-size: 30px; margin-top: 6px; }
	.mhhs-intro { font-size: 16px; margin-top: 10px !important; }
	.mhhs-form { margin-top: 20px; flex-direction: column; align-items: stretch; }
	.mhhs-field { flex: none; }
	.mhhs-field input { width: 100%; }
	.mhhs-btn--search { height: 50px; }
	.mhhs-results { margin-top: 32px; padding-top: 18px; }
	.mhhs-results--empty { margin-top: 4px; padding-top: 0; }
	.mhhs-headline { font-size: 17px; }
	.mhhs-premium { gap: 14px; }
	.mhhs-logo { width: 84px; height: 46px; }
	.mhhs-name { font-size: 20px; }
	.mhhs-km { font-size: 14px; }
	.mhhs-text { font-size: 15px; }
	.mhhs-sep { display: none; }
	.mhhs-meta .mhhs-tel { display: block; }
	.mhhs-brands-full { display: none; }
	.mhhs-brands-short { display: inline; }
	.mhhs-actions { gap: 20px; }
	.mhhs-row-km { font-size: 14px; }
	.mhhs-box { padding: 18px; }
	.mhhs-logo--gross { width: 116px; height: 62px; }
	.mhhs-h1--detail { font-size: 28px; }
	.mhhs-addr { font-size: 16px; }
	.mhhs-tel-big { display: none; }
	.mhhs-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
	.mhhs-hero-actions .mhhs-btn--dark { grid-column: 1 / -1; }
	.mhhs-only-mobile { display: inline-flex !important; }
	.mhhs-detail-body { margin-top: 32px; padding-top: 18px; }
	.mhhs-h2 { font-size: 20px; margin-top: 30px; }
	.mhhs-portrait { font-size: 17px; line-height: 1.6; }
	.mhhs-services { grid-template-columns: 1fr; }
	.mhhs-related-grid { grid-template-columns: 1fr; gap: 0; }
	.mhhs-rel { flex-direction: row; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--mhhs-line); }
	.mhhs-rel-media { width: 96px; flex: none; border-radius: 8px; }
	.mhhs-rel-text { flex: 1; gap: 3px; }
	.mhhs-rel-meta { font-size: 11px; }
	.mhhs-rel-title { font-size: 15px; }
}
