/* MH Dream Trike – Theme-Stylesheet (Designsystem „Asphalt“, dunkel). Wird auch im Editor geladen. */

:root {
	--surface: #191c1b; --surface-raised: #222624; --surface-sunken: #111312;
	--line: #343937; --line-strong: #6b7370;
	--ink: #f1f2ef; --ink-muted: #a9b0ac;
	--brand: #41bc21; --brand-hover: #56cc37; --brand-edge: var(--brand); --lane: var(--brand);
	--on-brand: #0f1110; --brand-text: #5fcb42; --brand-soft: #1e3418; --neutral-soft: #2c312f;
	--amber: #e8a93a; --amber-soft: #3a2c12; --rot: #f07a6a; --rot-soft: #3a1e1a;
	--focus-ring: #8fe070; --overlay: rgba(17, 19, 18, 0.62); --on-photo: #f6f7f4;
	--radius-s: 3px; --radius-m: 6px; --radius-pill: 999px;
	--lane-dash: 14px; --lane-gap: 10px; --lane-stroke: 3px;
	--font-display: "Saira Semi Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--font-text: Barlow, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--abschnitt: clamp(64px, 8vw, 96px);
	color-scheme: dark;
}

html { background: var(--surface-sunken); }
body { -webkit-font-smoothing: antialiased; }
.editor-styles-wrapper { background: var(--surface); color: var(--ink); }
::selection { background: var(--brand); color: var(--on-brand); }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
img { height: auto; }
.mh-num, .has-tabular-nums { font-variant-numeric: tabular-nums lining-nums; }
.screen-reader-text:not(:focus) { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }

/* ---------- Grundbausteine ---------- */
.is-style-overline, .mh-overline {
	margin: 0; font: 600 13px/16px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text);
}
.wp-block-separator.is-style-fahrbahn, hr.mh-lane {
	height: var(--lane-stroke); width: 96px; max-width: 96px; border: 0 !important; margin: 0 !important; opacity: 1;
	background: repeating-linear-gradient(90deg, var(--lane) 0 var(--lane-dash), transparent var(--lane-dash) calc(var(--lane-dash) + var(--lane-gap))) !important;
}
.wp-block-separator:not(.is-style-fahrbahn) { border-top-width: 1px; opacity: 1; }

/* Abschnittstitel: Überzeile, Überschrift, Fahrbahnlinie, Einleitung */
.mh-titel { display: grid; gap: 12px; justify-items: start; max-width: 760px; }
.mh-titel > * { margin-block: 0 !important; }
.mh-titel h1, .mh-titel h2 { text-wrap: balance; }
.mh-titel > p:not(.is-style-overline) { color: var(--ink-muted); font-size: 19px; line-height: 30px; max-width: 68ch; }
.mh-leise, .has-text-leise-color { color: var(--ink-muted); }

/* Abschnitte */
.mh-abschnitt { padding-top: var(--abschnitt); }
.mh-abschnitt > .mh-titel + * { margin-block-start: 32px; }

/* Buttons */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; box-sizing: border-box; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
.wp-block-button.is-style-sekundaer .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.wp-block-button.is-style-sekundaer .wp-block-button__link:hover { background: var(--surface-raised); border-color: var(--ink-muted); color: var(--ink); }
.wp-block-button.is-style-auf-foto .wp-block-button__link { background: transparent; color: var(--on-photo); border-color: var(--on-photo); }
.wp-block-button.is-style-auf-foto .wp-block-button__link:hover { background: rgba(246, 247, 244, 0.1); color: var(--on-photo); }
.wp-block-buttons { gap: 12px; }
.mh-link, .wp-block-paragraph a, p a { text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

/* Bilder: leicht abgerundet */
.wp-block-image img, .wp-block-gallery img, .wp-block-post-featured-image img { border-radius: var(--radius-m); }
.wp-block-image figcaption, .wp-block-gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: left; }
.wp-block-image figcaption strong { color: var(--ink); font-weight: 600; }

/* Listen */
ul.is-style-striche, ul.is-style-haken { list-style: none; padding-left: 0; display: grid; gap: 10px; }
ul.is-style-striche li, ul.is-style-haken li { display: flex; gap: 12px; }
ul.is-style-striche li::before { content: "–"; color: var(--brand-text); font-weight: 700; flex: none; }
ul.is-style-haken li::before { content: "✓"; color: var(--brand-text); font-weight: 700; flex: none; }
ul.is-style-haken { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

ol.is-style-schritte { list-style: none; padding: 0; margin: 0; counter-reset: schritt; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
ol.is-style-schritte li { counter-increment: schritt; display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); color: var(--ink-muted); font-size: 15px; line-height: 22px; }
ol.is-style-schritte li::before { content: counter(schritt); width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); font: 600 18px/36px var(--font-display); text-align: center; margin-bottom: 4px; }
ol.is-style-schritte li strong { display: block; color: var(--ink); font: 600 19px/24px var(--font-display); }

/* Tabellen */
.wp-block-table table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); padding: 12px 16px 12px 0; text-align: left; vertical-align: baseline; }
.wp-block-table.is-style-preise thead th { font: 600 13px/16px var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.wp-block-table.is-style-preise tbody td:first-child { font-weight: 600; }
.wp-block-table.is-style-preise tbody td:not(:first-child) { font: 600 22px/28px var(--font-display); white-space: nowrap; }
.wp-block-table.is-style-preise em, .mh-contact__place em { display: block; font: 400 13px/18px var(--font-text); font-style: normal; color: var(--ink-muted); white-space: normal; }
.wp-block-table.is-style-daten td:first-child { width: 34%; font-size: 13px; line-height: 18px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 15px; }
.wp-block-table.is-style-daten td:last-child { font-weight: 600; }
.wp-block-table figcaption { font-size: 14px; color: var(--ink-muted); }

/* ---------- Hero und Bildbänder (Cover) ---------- */
.wp-block-cover.mh-hero { min-height: 600px; padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 48px) clamp(48px, 7vw, 88px) !important; color: var(--on-photo); align-items: flex-end; }
.wp-block-cover.mh-hero .wp-block-cover__inner-container { width: 100%; max-width: 1200px; margin: 0 auto; color: var(--on-photo); }
.mh-hero__text { display: grid; gap: 20px; justify-items: start; max-width: 640px; }
.mh-hero__text > * { margin-block: 0 !important; }
.mh-hero__text .is-style-overline { color: var(--on-photo); }
.mh-hero__text h1 { max-width: 13ch; text-wrap: balance; color: var(--on-photo); }
.mh-hero__text p:not(.is-style-overline) { font-size: 19px; line-height: 30px; max-width: 44ch; }
.mh-hero__text .wp-block-buttons { padding-top: 8px; }

.wp-block-cover.mh-fotoband { min-height: 440px; border-radius: var(--radius-m); overflow: hidden; padding: 32px !important; color: var(--on-photo); align-items: flex-end; justify-content: flex-start; }
.wp-block-cover.mh-fotoband .wp-block-cover__inner-container { width: 100%; max-width: 640px; margin: 0; display: grid; gap: 12px; color: var(--on-photo); }
.wp-block-cover.mh-fotoband .wp-block-cover__inner-container > * { margin-block: 0 !important; }
.wp-block-cover.mh-fotoband h2 { font: 700 44px/48px var(--font-display); text-wrap: balance; color: var(--on-photo); }
.wp-block-cover.mh-fotoband p { font-size: 19px; line-height: 30px; }

/* Seitenkopf ohne Foto */
.mh-seitenkopf { padding-top: clamp(56px, 7vw, 88px); }
.mh-seitenkopf h1 { font-size: clamp(36px, 5vw, 56px); }

/* Faktenleiste unter dem Hero */
.mh-fakten { background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.mh-fakten__raster { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; padding: 20px 0; }
.mh-fakten__raster > * { margin: 0 !important; }
.mh-fakten__raster > .wp-block-group { display: grid; gap: 2px; }
.mh-fakten__raster > .wp-block-group > * { margin: 0 !important; }
.mh-fakten__raster > .wp-block-group > p:first-child { font: 600 22px/28px var(--font-display); font-variant-numeric: tabular-nums lining-nums; }
.mh-fakten__raster > .wp-block-group > p:last-child { color: var(--ink-muted); font-size: 14px; line-height: 20px; }

/* Bild und Text nebeneinander */
.wp-block-columns.mh-bild-text { gap: 48px; align-items: center !important; }
.wp-block-columns.mh-bild-text .wp-block-image { margin: 0; }
.wp-block-columns.mh-bild-text .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mh-text-spalte { display: grid; gap: 20px; }
.mh-text-spalte > * { margin-block: 0 !important; }

/* Raster von Leistungen (Werkstatt) */
.mh-raster { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.mh-raster > * { margin: 0 !important; }
.mh-raster > .wp-block-group { padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); display: grid; gap: 8px; align-content: start; }
.mh-raster > .wp-block-group > * { margin: 0 !important; }
.mh-raster > .wp-block-group h3 { font-size: 20px; line-height: 26px; }
.mh-raster > .wp-block-group p { color: var(--ink-muted); font-size: 16px; line-height: 25px; }

/* Hinweis- und Aktionsband */
.mh-cta { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); }
.mh-cta > * { margin: 0 !important; }
.mh-cta__text { display: grid; gap: 8px; max-width: 640px; }
.mh-cta__text > * { margin: 0 !important; }
.mh-cta__text h2 { font-size: 26px; line-height: 32px; }
.mh-cta__text p { color: var(--ink-muted); }

/* Gutschein (Ticket mit Abrisskante) */
.mh-voucher { position: relative; display: grid !important; grid-template-columns: 1fr auto; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); }
.mh-voucher > * { margin: 0 !important; }
.mh-voucher__main { padding: 24px; display: grid !important; gap: 8px; align-content: center; }
.mh-voucher__stub { padding: 24px; display: grid !important; gap: 12px; align-content: center; justify-items: start; border-left: 2px dashed var(--line-strong); min-width: 180px; }
.mh-voucher__main > *, .mh-voucher__stub > * { margin: 0 !important; }
.mh-voucher::before, .mh-voucher::after { content: ""; position: absolute; right: calc(180px + 48px - 11px); width: 20px; height: 20px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); }
.mh-voucher::before { top: -11px; clip-path: inset(50% 0 0 0); }
.mh-voucher::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.mh-voucher h3 { font-size: 22px; line-height: 28px; }
.mh-voucher__main p:not(.mh-badge) { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.mh-gutscheine { display: grid !important; gap: 20px; }
.mh-gutscheine > * { margin: 0 !important; }

/* Badges, Preise */
.mh-badge { display: inline-flex; align-items: center; justify-self: start; width: fit-content; height: 22px; padding: 0 8px; border-radius: var(--radius-s); font: 600 12px/20px var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; background: var(--neutral-soft); color: var(--ink); }
.mh-badge--neu { background: var(--brand-soft); color: var(--brand-text); }
.mh-badge--miete { background: var(--surface-sunken); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.mh-badge--reserviert { background: var(--amber-soft); color: var(--amber); }
.mh-badge--verkauft { background: var(--rot-soft); color: var(--rot); }
.mh-price { margin: 0; font: 600 26px/28px var(--font-display); font-variant-numeric: tabular-nums lining-nums; }
.mh-price small, .mh-price-hinweis { display: block; font: 400 13px/18px var(--font-text); color: var(--ink-muted); margin: 0; }
p.mh-price + p.mh-price-hinweis { margin-top: -8px !important; }

/* Kontakt */
.mh-contact { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.mh-contact > * { margin: 0 !important; }
.mh-contact__place { display: grid !important; gap: 8px; align-content: start; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); }
.mh-contact__place > * { margin: 0 !important; }
.mh-contact__place h3 { font: 600 13px/16px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-text); }
.mh-contact__place .mh-adresse { font-weight: 600; }
.mh-contact__place p { font-size: 15px; line-height: 22px; }
.mh-contact__place p:not(.mh-adresse):not(.mh-zeilen) { color: var(--ink-muted); }
.mh-contact__place .mh-zeilen { font-variant-numeric: tabular-nums; line-height: 26px; }
.mh-contact__place .mh-zeilen em { display: inline-block; min-width: 64px; font-size: 15px; }

/* Eindrücke: Fotozeilen und Beiträge */
.wp-block-columns.mh-fotozeile { gap: 16px; margin-bottom: 16px; }
.wp-block-columns.mh-fotozeile .wp-block-image { margin: 0; }
.wp-block-columns.mh-fotozeile .wp-block-image img { width: 100%; }
.mh-beitraege .wp-block-post-template { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mh-beitraege .wp-block-post-template > li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.mh-beitraege .wp-block-post-template > li > * { margin: 0 !important; }
.mh-beitraege .wp-block-post-date { color: var(--ink-muted); font-size: 15px; font-variant-numeric: tabular-nums; }
.mh-beitraege .wp-block-post-title { font: 600 19px/26px var(--font-display); }
.mh-beitraege .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.mh-beitraege .wp-block-post-title a:hover { color: var(--brand-text); }

/* Galerie */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { font-size: 13px; line-height: 18px; text-align: left; padding: 24px 10px 8px; border-radius: 0 0 var(--radius-m) var(--radius-m); }
.mh-galerie-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-galerie-nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); color: var(--ink); font: 600 14px/20px var(--font-text); text-decoration: none; }
.mh-galerie-nav a:hover { border-color: var(--brand); color: var(--brand-text); }
.wp-lightbox-overlay .scrim { background-color: rgba(17, 19, 18, 0.94) !important; }

/* Textseiten (Impressum, Datenschutz, Mietbedingungen, Beiträge) */
.mh-textseite h2 { font-size: 24px; line-height: 30px; margin-top: 40px; }
.mh-textseite h3 { font-size: 19px; line-height: 26px; margin-top: 28px; }
.mh-textseite p, .mh-textseite li { color: #d9ddd8; }

/* ---------- Kopfzeile ---------- */
.mh-kopf { position: relative; z-index: 20; }
.mh-kopf__innen { gap: 32px; min-height: 50px; }
.mh-kopf .wp-block-site-logo img { height: 50px; width: auto; border-radius: 0; }
.mh-kopf .wp-block-site-logo { flex: none; line-height: 0; }
.mh-kopf .wp-block-navigation { flex: 1 1 auto; }
.mh-kopf .wp-block-navigation__container { gap: 24px; }
.mh-kopf .wp-block-navigation-item__content { padding: 8px 0 !important; border-bottom: var(--lane-stroke) solid transparent; color: var(--ink); text-decoration: none; font: 600 15px/20px var(--font-text); }
.mh-kopf .wp-block-navigation-item__content:hover { color: var(--brand-text); }
.mh-kopf .current-menu-item > .wp-block-navigation-item__content, .mh-kopf .wp-block-navigation-item__content[aria-current="page"] { border-bottom-color: var(--lane); }
.mh-kopf__aktionen { gap: 16px; flex: none; }
.mh-kopf__telefon { margin: 0; display: grid; text-align: right; }
.mh-kopf__telefon > * { margin: 0 !important; }
.mh-kopf__telefon p:first-child { color: var(--ink-muted); font-size: 12px; line-height: 14px; }
.mh-kopf__telefon p:last-child { font: 600 15px/20px var(--font-text); font-variant-numeric: tabular-nums; }
.mh-kopf__telefon a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.mh-kopf__telefon a:hover { color: var(--brand-text); }
.mh-kopf .wp-block-button__link { min-height: 40px; padding: 8px 20px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 24px clamp(16px, 4vw, 48px) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 4px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font: 600 24px/32px var(--font-display) !important; padding: 10px 0 !important; }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }

/* ---------- Fußzeile ---------- */
.mh-fuss { margin-top: var(--abschnitt); }
.mh-fuss__raster { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 48px 0 32px; }
.mh-fuss__raster > * { margin: 0 !important; }
.mh-fuss__raster > .wp-block-group { display: grid; gap: 12px; align-content: start; }
.mh-fuss__raster > .wp-block-group > * { margin: 0 !important; }
.mh-fuss h2 { font: 600 13px/16px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.mh-fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mh-fuss a { color: var(--ink); text-decoration: none; }
.mh-fuss a:hover { color: var(--brand-text); }
.mh-fuss .wp-block-image img { border-radius: 0; }
.mh-fuss__text { color: var(--ink-muted); font-size: 15px; line-height: 22px; max-width: 34ch; }
.mh-fuss__recht { display: flex !important; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0 24px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
.mh-fuss__recht > * { margin: 0 !important; }
.mh-fuss__partner { display: flex !important; align-items: center; gap: 10px; }
.mh-fuss__partner > * { margin: 0 !important; }
.mh-fuss__partner img { height: 22px; width: auto; }

/* ---------- Bausteine aus dem Plugin (Fahrzeuge, Formulare, Videos) ---------- */
.mh-fahrzeuge { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.mh-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; color: var(--ink); text-decoration: none; }
.mh-card:hover { border-color: var(--line-strong); }
.mh-card__media { position: relative; aspect-ratio: 4 / 3; background: var(--surface-sunken); overflow: hidden; }
.mh-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; transition: transform .3s ease; }
.mh-card:hover .mh-card__media img { transform: scale(1.02); }
.mh-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 8px; }
.mh-card__body { display: grid; gap: 12px; padding: 24px; align-content: start; }
.mh-card__title { margin: 0; font: 600 22px/28px var(--font-display); }
.mh-card__title a { color: inherit; text-decoration: none; }
.mh-card__title a::after { content: ""; position: absolute; inset: 0; }
.mh-card { position: relative; }
.mh-card__meta { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.mh-card__specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.mh-card__specs div { padding: 12px 0; }
.mh-card__specs div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.mh-card__specs dt { color: var(--ink-muted); font-size: 12px; line-height: 16px; text-transform: uppercase; letter-spacing: 0.06em; }
.mh-card__specs dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.mh-card__foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mh-card__foot .mh-btn { position: relative; z-index: 1; }
.mh-card--verkauft .mh-card__media img { filter: grayscale(1); opacity: .7; }

.mh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: var(--radius-m); border: 1.5px solid transparent; background: transparent; color: var(--ink); font: 600 15px/20px var(--font-text); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; box-sizing: border-box; }
.mh-btn--primary { background: var(--brand); border-color: var(--brand-edge); color: var(--on-brand); }
.mh-btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.mh-btn--secondary { border-color: var(--line-strong); color: var(--ink); }
.mh-btn--secondary:hover { background: var(--surface-raised); border-color: var(--ink-muted); color: var(--ink); }
.mh-btn--small { min-height: 36px; padding: 0 16px; font-size: 14px; }
.mh-btn:disabled { opacity: .6; cursor: progress; }

.mh-filter { display: grid; gap: 16px; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); margin-bottom: 32px; }
.mh-filter__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; }
.mh-segment { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.mh-chip { min-height: 36px; padding: 0 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--line-strong); background: transparent; color: var(--ink); font: 600 14px/20px var(--font-text); cursor: pointer; }
.mh-chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand-edge); color: var(--on-brand); }
.mh-chip .mh-num { opacity: .75; margin-left: 4px; }
.mh-filter__count { margin: 0 0 0 auto; color: var(--ink-muted); font-size: 14px; }
.mh-filter__count strong { color: var(--ink); }
.mh-filter .mh-field { min-width: 180px; }
.mh-leer { display: grid; gap: 12px; justify-items: start; padding: 32px; border: 1px dashed var(--line-strong); border-radius: var(--radius-m); margin-bottom: 24px; }
.mh-leer p { margin: 0; }

.mh-field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.mh-field label, .mh-field legend { font: 600 14px/18px var(--font-text); color: var(--ink); padding: 0; }
.mh-field input, .mh-field select, .mh-field textarea { font: 400 16px/22px var(--font-text); color: var(--ink); background: var(--surface-sunken); border: 1.5px solid var(--line-strong); border-radius: var(--radius-s); padding: 10px 12px; min-height: 44px; box-sizing: border-box; width: 100%; }
.mh-field input[type="date"] { color-scheme: dark; }
.mh-field textarea { min-height: 112px; resize: vertical; }
.mh-field input:focus-visible, .mh-field select:focus-visible, .mh-field textarea:focus-visible { border-color: var(--focus-ring); }
.mh-field .mh-hint { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.mh-formular { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 24px; padding: 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); margin-top: 32px; }
.mh-formular .mh-feld--breit, .mh-formular .mh-formular__ende, .mh-formular fieldset, .mh-formular .mh-optionen { grid-column: 1 / -1; }
.mh-formular fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.mh-formular fieldset legend { width: 100%; margin-bottom: 6px; }
.mh-check { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; cursor: pointer; }
.mh-check input { width: 20px; height: 20px; accent-color: var(--brand); margin: 0; }
.mh-optionen { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.mh-formular__ende { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.mh-formular__ende p { margin: 0; color: var(--ink-muted); font-size: 13px; line-height: 18px; max-width: 52ch; }
.mh-summe { display: grid; gap: 2px; }
.mh-summe__label { font-size: 13px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mh-summe__detail { font-size: 13px; line-height: 18px; color: var(--ink-muted); max-width: 52ch; }
.mh-falle { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mh-meldung { display: grid; gap: 4px; padding: 16px 20px; border-radius: var(--radius-m); margin-top: 24px; }
.mh-meldung strong { font-weight: 600; }
.mh-meldung--ok { background: var(--brand-soft); border: 1px solid var(--brand); }
.mh-meldung--fehler { background: var(--rot-soft); border: 1px solid var(--rot); }

/* Fahrzeugdetail */
.mh-brotkrumen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-muted); padding-top: 24px; }
.mh-brotkrumen a { color: var(--brand-text); font-weight: 600; }
.mh-fz { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 24px; }
.mh-fz__galerie { display: grid; gap: 12px; }
.mh-fz__hauptbild { margin: 0; aspect-ratio: 4 / 3; background: var(--surface-sunken); border-radius: var(--radius-m); overflow: hidden; }
.mh-fz__hauptbild img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.mh-fz__daumen { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.mh-fz__daumen button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-s); background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; }
.mh-fz__daumen button[aria-current="true"] { border-color: var(--brand); }
.mh-fz__daumen img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }
.mh-fz__info { display: grid; gap: 16px; align-content: start; }
.mh-fz__info > * { margin: 0; }
.mh-fz__info h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.mh-fz__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.mh-fz__aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
.mh-fz__ort { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.mh-fz__daten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.mh-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 32px 0 0; border-top: 1px solid var(--line); }
.mh-specs > div { display: grid; gap: 2px; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.mh-specs dt { font-size: 13px; line-height: 18px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.mh-specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.mh-fz__beschreibung { margin-top: 32px; }
.mh-fz__beschreibung > * { max-width: 68ch; }

/* Videos mit Zwei-Klick-Lösung */
.mh-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.mh-video { display: grid; grid-template-rows: auto 1fr; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.mh-video__media { position: relative; aspect-ratio: 16 / 9; background: var(--surface-sunken); }
.mh-video__media > img, .mh-video__media > video, .mh-video__media > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; border-radius: 0; }
.mh-video__start { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: linear-gradient(0deg, rgba(17,19,18,.55), rgba(17,19,18,.15)); color: var(--on-photo); cursor: pointer; }
.mh-video__start svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.mh-video__start:hover svg { transform: scale(1.06); }
.mh-video__quelle { position: absolute; left: 12px; top: 12px; z-index: 1; }
.mh-video__body { display: grid; gap: 6px; padding: 20px; align-content: start; }
.mh-video__body h3 { margin: 0; font: 600 20px/26px var(--font-display); }
.mh-video__body p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 20px; }
.mh-video__hinweis { font-size: 12px !important; line-height: 16px !important; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1080px) {
	.mh-kopf__aktionen .wp-block-buttons { display: none; }
	.mh-kopf__innen { gap: 20px; }
	.mh-kopf .wp-block-navigation__container { gap: 18px; }
}
@media (max-width: 900px) {
	.mh-fz, .mh-fz__daten { grid-template-columns: 1fr; gap: 32px; }
	.mh-kopf__telefon p:first-child { display: none; }
}
@media (max-width: 720px) {
	.mh-kopf .wp-block-site-logo img { height: 40px; }
	.mh-kopf__innen { gap: 12px; }
	.mh-voucher { grid-template-columns: 1fr; }
	.mh-voucher__stub { border-left: 0; border-top: 2px dashed var(--line-strong); min-width: 0; }
	.mh-voucher::before, .mh-voucher::after { display: none; }
	.wp-block-cover.mh-fotoband h2 { font-size: 32px; line-height: 36px; }
	.wp-block-cover.mh-hero { min-height: 520px; }
	.mh-beitraege .wp-block-post-template > li { grid-template-columns: 1fr; gap: 2px; }
	.mh-filter__count { margin-left: 0; width: 100%; }
	.wp-block-table.is-style-preise tbody td:not(:first-child) { font-size: 19px; white-space: normal; }
	.wp-block-table.is-style-daten td:first-child { width: 40%; }
	.mh-cta { padding: 24px; }
}
@media (max-width: 420px) {
	.mh-kopf__telefon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.mh-card__media img, .mh-btn, .wp-block-button__link { transition: none; }
}

/* ---------- Ergänzungen für Seitenbausteine ---------- */
.mh-main { margin-top: 0; }
.mh-stapel > * + * { margin-block-start: 32px !important; }
.mh-stapel > .wp-block-buttons, .mh-stapel > p { margin-block-start: 24px !important; }
.mh-liste-abstand { padding-top: 32px; }
.mh-adresse-gross { font-weight: 600; font-size: 19px; line-height: 28px; }
.wp-block-columns.mh-zwei { gap: 48px; }
.wp-block-columns.mh-zwei > .wp-block-column > .mh-titel + * { margin-top: 32px; }
.mh-mietkarten { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mh-mietkarten > * { margin: 0 !important; }
.mh-mietkarte { display: grid !important; grid-template-rows: auto 1fr; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.mh-mietkarte > * { margin: 0 !important; }
.mh-mietkarte .wp-block-image img { border-radius: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mh-mietkarte__body { display: grid !important; gap: 10px; padding: 24px; align-content: start; }
.mh-mietkarte__body > * { margin: 0 !important; }
.mh-mietkarte__body .wp-block-buttons { margin-top: 6px !important; }
.mh-fuss__logo img { height: 64px; width: auto; }
.mh-fuss__rewaco img { height: 22px; width: auto; }
.mh-fuss__partner .wp-block-image { margin: 0; line-height: 0; }
.mh-beitragsliste .wp-block-post-template { gap: 32px 24px; }
.mh-beitragsliste .wp-block-post-template > li > * { margin-block: 0 0 8px; }
.mh-beitragsliste .wp-block-post-title { font-size: 21px; line-height: 27px; }
.mh-beitragsliste .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.mh-beitragsliste .wp-block-post-title a:hover { color: var(--brand-text); }
.mh-beitragsliste .wp-block-post-excerpt { color: var(--ink-muted); font-size: 15px; line-height: 22px; }
.mh-beitragsliste .wp-block-post-featured-image img { border-radius: var(--radius-m); }
.mh-beitragsliste .wp-block-query-pagination { margin-top: 32px; }
.mh-textseite .wp-block-post-featured-image { margin-top: 32px; }
.wp-block-post-date.is-style-overline a { color: inherit; text-decoration: none; }
.mh-hero .wp-block-buttons .wp-block-button__link { min-height: 48px; }
[hidden] { display: none !important; }
.mh-mehr { margin-top: 16px; }
.mh-mehr summary { cursor: pointer; color: var(--brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; list-style: none; }
.mh-mehr summary::-webkit-details-marker { display: none; }
.mh-mehr[open] summary { margin-bottom: 12px; }
/* Galerie: gleichmäßiges Raster im Format 4:3 */
.wp-block-gallery.has-nested-images.is-cropped { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px !important; }
.wp-block-gallery.has-nested-images.is-cropped.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wp-block-gallery.has-nested-images.is-cropped.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; }
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .wp-block-gallery.has-nested-images.is-cropped { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; } }
/* Kopfzeile: Tablet ohne Aktionen, Handy mit Telefonnummer neben dem Menüknopf */
@media (max-width: 960px) and (min-width: 600px) { .mh-kopf__aktionen { display: none !important; } }
@media (max-width: 760px) and (min-width: 600px) { .mh-kopf .wp-block-navigation__container { gap: 14px; } .mh-kopf .wp-block-navigation-item__content { font-size: 14px !important; } }
@media (max-width: 599px) {
	.mh-kopf .wp-block-navigation { order: 3; flex: 0 0 auto; }
	.mh-kopf__aktionen { margin-left: auto; }
	.mh-kopf__telefon { display: grid; }
	.mh-kopf__telefon p:first-child { display: none; }
}
@media (max-width: 340px) { .mh-kopf__telefon { display: none !important; } }
.wp-block-table.is-style-preise thead th { white-space: nowrap; }
@media (max-width: 720px) { .wp-block-table.is-style-preise thead th { letter-spacing: 0.04em; font-size: 12px; } .wp-block-table td, .wp-block-table th { padding-right: 10px; } }
@media (max-width: 599px) { .mh-kopf__innen { justify-content: flex-start !important; } .mh-kopf__aktionen { margin-left: auto !important; } }

/* Runde 3 (16.11.2026): Bild-Hero füllt den Bildschirm unter der Kopfzeile; Startseite mit Kennzahlen noch im ersten Bild */
:root { --mh-kopf-h: 75px; }
.wp-block-cover.mh-hero { min-height: calc(100vh - var(--mh-kopf-h)) !important; }
@supports (height: 100svh) { .wp-block-cover.mh-hero { min-height: calc(100svh - var(--mh-kopf-h)) !important; } }
.mh-start-oben { display: flex; flex-direction: column; min-height: calc(100vh - var(--mh-kopf-h)); }
@supports (height: 100svh) { .mh-start-oben { min-height: calc(100svh - var(--mh-kopf-h)); } }
.mh-start-oben > * { margin-block: 0 !important; }
.mh-start-oben > .wp-block-cover.mh-hero { flex: 1 1 auto; min-height: 420px !important; }

/* Handy und kleines Tablet: Startbild füllt den ersten Bildschirm allein, die drei Kennzahlen folgen darunter (Jonas 16.11.) */
@media (max-width: 767px) {
	.mh-start-oben { display: block; min-height: 0 !important; }
	.mh-start-oben > .wp-block-cover.mh-hero { min-height: calc(100vh - var(--mh-kopf-h)) !important; }
	@supports (height: 100svh) { .mh-start-oben > .wp-block-cover.mh-hero { min-height: calc(100svh - var(--mh-kopf-h)) !important; } }
}

/* Hinweis zur Einwilligung (Statistik), beide Knöpfe gleich gewichtet */
.mh-consent { position: fixed; z-index: 1000; right: 16px; bottom: 16px; left: 16px; max-width: 560px; margin-left: auto; box-sizing: border-box; display: grid; gap: 12px; padding: 20px 20px 18px; background: var(--surface-raised); color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-m); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }
.mh-consent[hidden] { display: none !important; }
.mh-consent p { margin: 0; font-size: 15px; line-height: 22px; }
.mh-consent .mh-consent__titel { font: 600 19px/24px var(--font-display); }
.mh-consent a { color: var(--brand-text, #5fcb42); }
.mh-consent__knoepfe { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.mh-consent__knoepfe .mh-btn { flex: 1 1 140px; }
