/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Meinhardt site – motion layer and structural CSS for native Bricks pages (content/typography/colours live in Bricks global classes).
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      2.0.0
 Text Domain:  bricks
*/

/* ------------------------------------------------------------------
   Content, colours, typography, spacing and layout live in Bricks
   global classes (mh-*), the "Meinhardt" palette and global variables.
   This file adds only: font file, context tokens, header/menu states,
   icons, hero layering + scroll states, form skin, action bar, reveals.
   ------------------------------------------------------------------ */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-variable.woff2") format("woff2-variations"), url("assets/fonts/archivo-variable.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

/* Width-matched stand-in shown until Archivo has loaded, so text wraps the same before and after the swap (no layout shift on slow connections).
   Named "Arial Narrow" on purpose: that is the first fallback in every Bricks font stack, so no Bricks data has to change.
   Values measured with qa/font-metrics.mjs (bold, narrow = headlines at 84 %; bold, normal = buttons; regular, normal = body text).
   Regular + narrow is rare and derived from the other three. Local fonts only, no requests. */
@font-face { font-family: "Arial Narrow"; font-weight: 600 900; font-stretch: 62% 90%; font-style: normal; size-adjust: 77%; ascent-override: 114%; descent-override: 27%; line-gap-override: 0%;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Roboto Bold"), local("Roboto-Bold"); }
@font-face { font-family: "Arial Narrow"; font-weight: 600 900; font-stretch: 91% 125%; font-style: normal; size-adjust: 94%; ascent-override: 94%; descent-override: 22%; line-gap-override: 0%;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Liberation Sans Bold"), local("Roboto Bold"), local("Roboto-Bold"); }
@font-face { font-family: "Arial Narrow"; font-weight: 100 599; font-stretch: 62% 90%; font-style: normal; size-adjust: 81%; ascent-override: 109%; descent-override: 26%; line-gap-override: 0%;
	src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Roboto"), local("Roboto-Regular"); }
@font-face { font-family: "Arial Narrow"; font-weight: 100 599; font-stretch: 91% 125%; font-style: normal; size-adjust: 98.5%; ascent-override: 89%; descent-override: 21%; line-gap-override: 0%;
	src: local("Arial"), local("ArialMT"), local("Helvetica"), local("Liberation Sans"), local("Roboto"), local("Roboto-Regular"); }

:root {
	--mh-header-h: 72px;
	--mh-gutter: clamp(20px, 4.2vw, 64px);
	--mh-blade-slope: 24.23deg; /* atan(0.45): rising logo-arrow lean */
	--mh-ease: cubic-bezier(.2, .7, .1, 1);
	--mh-graphite: #0d0f11;
	/* context tokens (paper) */
	--mh-muted: var(--mh-steel, #5E6670);
	--mh-line: rgba(0, 0, 0, .14);
	--mh-line-strong: rgba(0, 0, 0, .55);
	--mh-hover-tint: rgba(0, 0, 0, .04);
}
@media (min-width: 992px) { :root { --mh-header-h: 88px; } }

/* dark contexts */
.mh-dark, .mh-sec--dark, .mh-footer, #brx-header {
	--mh-muted: var(--mh-fog, #B4BAC0);
	--mh-line: rgba(255, 255, 255, .18);
	--mh-line-strong: rgba(255, 255, 255, .5);
	--mh-hover-tint: rgba(255, 255, 255, .07);
}

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mh-header-h) + 16px); }
body { background: var(--mh-paper, #fff); color: var(--mh-ink, #000); font-family: "Archivo", "Arial Narrow", Arial, sans-serif; font-size: 17px; line-height: 1.55; }
.mh-burger { display: inline-flex; align-items: center; justify-content: center; }
:focus-visible { outline: 2px solid var(--mh-green, #00A686); outline-offset: 3px; }
.brxe-text p, .brxe-text-basic { margin: 0; }
.mh-quote blockquote { margin: 0; }
.mh-note { font-size: var(--mh-fs-small); color: var(--mh-muted); margin-top: .8em; }

/* ---------- Icons (one line set: 1.75px stroke, round caps, currentColor) ---------- */
.mh-ico-phone::before, .mh-ico-camera::before {
	content: ""; width: 1.15em; height: 1.15em; flex: 0 0 auto; background: currentColor;
	-webkit-mask: var(--mh-ico) center / contain no-repeat; mask: var(--mh-ico) center / contain no-repeat;
}
.mh-ico-phone { --mh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.mh-ico-camera { --mh-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.brxe-text-link.mh-ico-phone { display: inline-flex; align-items: center; gap: 10px; }

/* ---------- Buttons: micro-interactions ---------- */
.mh-btn { -webkit-tap-highlight-color: transparent; transition: background-color .25s var(--mh-ease), color .25s var(--mh-ease), border-color .25s var(--mh-ease), transform .2s var(--mh-ease); }
.mh-btn:active { transform: scale(.97); }

/* ---------- Header (Bricks header template: absolute + sticky) ---------- */
#brx-header { color: var(--mh-paper, #fff); }
#brx-header.brx-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
html:not(.mh-js) #brx-header.brx-sticky { position: absolute; }
#brx-header { transition: background-color .35s var(--mh-ease), box-shadow .35s var(--mh-ease); }
#brx-header.mh-scrolled, #brx-header.scrolling { background-color: var(--mh-ink, #000); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.mh-logo img, .mh-nav__logo img, img.mh-nav__logo, .mh-footer__logo img, img.mh-footer__logo { display: block; width: 100%; height: auto; border-radius: 0; }

/* nav: desktop row */
.mh-nav .brx-nav-nested-items { gap: clamp(14px, 1.8vw, 30px); align-items: center; }
.mh-nav .mh-nav__link, .mh-nav .brx-submenu-toggle > * { color: var(--mh-paper, #fff); text-decoration: none; font-weight: 600; }
.mh-nav a.mh-nav__link:hover, .mh-nav a[aria-current="page"], .mh-nav .brx-submenu-toggle:hover > * { color: var(--mh-green, #00A686); }
.mh-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px; }
.mh-nav .brx-submenu-toggle button { color: inherit; }
.mh-nav .brx-dropdown-content { background: var(--mh-ink, #000); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--mh-radius, 2px); padding: 8px 0; min-width: 280px; }
.mh-nav .brx-dropdown-content .mh-nav__link { display: block; padding: 10px 18px; font-weight: 500; }
.mh-nav__phone, .mh-nav__cta, .mh-nav__logo, .mh-nav .brx-toggle-div { display: none !important; }
.mh-burger { color: var(--mh-paper, #fff); width: 44px; height: 44px; }

/* nav: mobile overlay (Bricks adds .brx-open on the nav) */
@media (max-width: 991px) {
	.mh-nav { margin-left: 4px !important; order: 3; flex: 0 0 auto; }
	.mh-header__actions { margin-left: auto !important; order: 2; }
	.mh-nav.brx-open .brx-nav-nested-items {
		background: var(--mh-ink, #000) !important; padding: calc(var(--mh-header-h) + 16px) var(--mh-gutter) 40px !important;
		display: flex; flex-direction: column; align-items: flex-start !important; justify-content: flex-start !important; gap: 4px; overflow-y: auto;
	}
	.mh-nav.brx-open .brx-nav-nested-items > li { width: 100%; justify-content: flex-start !important; }
	.mh-nav.brx-open .mh-nav__link, .mh-nav.brx-open .brx-submenu-toggle > span, .mh-nav.brx-open .brx-submenu-toggle > a {
		font-size: clamp(26px, 19px + 2vw, 36px); font-weight: 800; font-stretch: 84%; letter-spacing: -0.02em; padding: 10px 0; line-height: 1.1;
	}
	.mh-nav.brx-open .brx-dropdown-content { border: 0; padding: 0 0 8px 0; min-width: 0; background: transparent; position: static; }
	.mh-nav.brx-open .brx-dropdown-content .mh-nav__link { font-size: 18px; font-weight: 600; font-stretch: 96%; padding: 8px 0 8px 2px; color: var(--mh-fog, #B4BAC0); }
	.mh-nav.brx-open .mh-nav__phone { display: inline-flex !important; margin-top: 20px; font-size: 20px; color: var(--mh-green, #00A686); font-stretch: 96%; }
	.mh-nav.brx-open .brx-toggle-div { display: inline-flex !important; position: absolute; top: 14px; right: var(--mh-gutter); color: var(--mh-paper, #fff); width: 44px; height: 44px; }
}
@media (min-width: 992px) { .mh-burger { display: none !important; } }

/* ---------- Start hero: static base (no JS, reduced motion, builder) ---------- */
.mh-hero { position: relative; isolation: isolate; }
.mh-stage { position: relative; overflow: hidden; }
.mh-poster, .mh-scene, .mh-vignette, .mh-blade { pointer-events: none; }
.mh-poster { position: absolute; left: 0; top: 0; width: 100%; height: 100svh; z-index: 0; margin: 0; }
.mh-poster img, .mh-poster picture { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.mh-scene { position: absolute; inset: 0 0 auto 0; height: 100svh; z-index: 1; opacity: 0; transition: opacity .9s ease; }
.mh-scene::before { content: ""; position: absolute; inset: 0; opacity: calc(.2 + .8 * var(--mh-lit, 1)); will-change: opacity;
	background: radial-gradient(42% 40% at 68% 44%, rgba(0, 166, 134, .42) 0%, rgba(0, 166, 134, .12) 55%, rgba(0, 166, 134, 0) 100%); }
@media (max-width: 991px) { .mh-scene::before { background: radial-gradient(80% 30% at 50% 68%, rgba(0, 166, 134, .42) 0%, rgba(0, 166, 134, .12) 55%, rgba(0, 166, 134, 0) 100%); } }
.mh-scene canvas { display: block; position: relative; width: 100%; height: 100%; }
.mh-hero.mh-scene-ready .mh-scene.is-live { opacity: 1; }
.mh-poster { transition: opacity .9s ease; }
.mh-hero.mh-scene-live .mh-poster { opacity: 0; }
/* skeleton state while the 3D scene loads: soft light sweep over the poster (Unslop #19) */
.mh-hero.mh-scene-loading .mh-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .05) 50%, transparent 60%) 0 0 / 250% 100%; animation: mh-sheen 1.6s linear infinite; }
@keyframes mh-sheen { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.mh-vignette { position: absolute; inset: 0 0 auto 0; height: 100svh; z-index: 2;
	background:
		linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.18) 34%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%),
		linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 60%); }
/* phones: the car sits in the lower third and fills the width, so the scrim only protects the copy above it */
@media (max-width: 767px) { .mh-vignette { background: linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,.25) 57%, rgba(0,0,0,0) 66%, rgba(0,0,0,0) 90%, rgba(0,0,0,.35) 100%); } }
.mh-blade { display: none; }
.mh-state { display: none; }
.mh-hero__inner { position: relative; z-index: 3; }
.mh-progress, .mh-scrollhint { display: none; }

/* Kinetic headline words (created by JS only) */
.mh-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.mh-w__i { display: inline-block; will-change: transform; }
.mh-w--accent .mh-w__i { color: transparent; -webkit-text-stroke: 1.5px currentColor; -webkit-text-stroke-color: var(--mh-paper, #fff); transition: color .5s var(--mh-ease), -webkit-text-stroke-color .5s var(--mh-ease); }
.mh-w--accent.is-lit .mh-w__i { color: var(--mh-green, #00A686); -webkit-text-stroke-color: var(--mh-green, #00A686); }

/* ---------- Motion mode (html.mh-motion): short sticky polish scene, then normal content ---------- */
.mh-motion .mh-hero { height: var(--mh-scroll-len, 200svh); }
.mh-motion .mh-stage { position: sticky; top: 0; height: 100svh; min-height: 0; }
.mh-motion .mh-hero__inner { height: 100%; min-height: 0; }
.mh-motion .mh-blade { display: block; position: absolute; z-index: 2; left: 0; top: -20%; height: 140%; width: 2px;
	transform: translate3d(var(--mh-blade-x, -150vw), 0, 0) rotate(var(--mh-blade-slope)); transform-origin: 50% 50%;
	background: linear-gradient(180deg, transparent 0%, var(--mh-green, #00A686) 18%, #b8fff0 50%, var(--mh-green, #00A686) 82%, transparent 100%);
	box-shadow: 0 0 18px 2px rgba(0, 166, 134, .75), 0 0 60px 8px rgba(0, 166, 134, .28);
	transition: opacity .3s ease; will-change: transform; }
.mh-motion .mh-blade::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 38vw;
	background: linear-gradient(90deg, rgba(0, 166, 134, 0) 0%, rgba(0, 166, 134, .05) 70%, rgba(184, 255, 240, .16) 100%); }
.mh-motion .mh-blade::after { content: ""; position: absolute; left: 50%; top: 17%; width: 14px; height: 14px;
	border-top: 2px solid var(--mh-green, #00A686); border-left: 2px solid var(--mh-green, #00A686); transform: translate(-50%, 0) rotate(45deg); }
/* Vorher / Nachher: only meaningful while the live scene shows both states; hero.js positions them */
.mh-motion .mh-hero.mh-scene-live .mh-state { display: block; position: absolute; left: 0; top: 0; z-index: 3; opacity: 0; white-space: nowrap; pointer-events: none; transition: opacity .3s ease; will-change: transform, opacity; text-shadow: 0 1px 12px rgba(0, 0, 0, .9); }
.mh-motion .mh-progress { display: block; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 2px; background: var(--mh-green, #00A686); transform-origin: 0 50%; transform: scaleX(0); }
.mh-motion .mh-scrollhint { display: flex; position: absolute; z-index: 4; right: var(--mh-gutter); bottom: clamp(20px, 4vh, 40px); align-items: center; gap: 10px; transition: opacity .4s ease; }
.mh-motion .mh-scrollhint::after { content: ""; width: 1px; height: 36px; background: linear-gradient(180deg, currentColor, transparent); animation: mh-hint 1.8s var(--mh-ease) infinite; transform-origin: 50% 0; }
.mh-motion .mh-hero[data-mh-scrolled] .mh-scrollhint { opacity: 0; }
@keyframes mh-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 767px) {
	.mh-motion .mh-hero { height: var(--mh-scroll-len-sm, 180svh); }
	.mh-motion .mh-facts { display: none; }
	.mh-motion .mh-scrollhint { display: none; }
}

/* ---------- Page hero (subpages) ---------- */
.mh-phero__media { min-height: 100%; }
.mh-phero__media .brxe-image, .mh-phero__media picture { display: block; width: 100%; height: 100%; }
@media (min-width: 992px) { .mh-phero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 35%); } }
.mh-phero:not(:has(.mh-phero__media)) .mh-phero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }

/* ---------- Tiles / index ---------- */
.mh-tile__media .brxe-image, .mh-tile__media picture { display: block; width: 100%; height: 100%; }
.mh-media-wide .brxe-image, .mh-media-wide picture { display: block; width: 100%; height: 100%; }
.mh-svc__side > .mh-tile--row { flex: 1 1 0; }
.mh-index__row .mh-arrow { justify-self: end; white-space: nowrap; }
@media (max-width: 767px) { .mh-index__row .mh-arrow { justify-self: start; margin-top: 6px; } }

/* ---------- Steps: rising staircase (logo arrow), desktop only ---------- */
@media (min-width: 992px) {
	.mh-steps > .mh-step:nth-child(2) { margin-bottom: clamp(24px, 3vw, 48px); }
	.mh-steps > .mh-step:nth-child(3) { margin-bottom: clamp(48px, 6vw, 96px); }
	.mh-steps > .mh-step:nth-child(4) { margin-bottom: clamp(72px, 9vw, 144px); border-top-color: var(--mh-green, #00A686); }
}

/* ---------- FAQ: plus → minus ---------- */
.mh-faq .accordion-title-wrapper { cursor: pointer; }
.mh-faq .accordion-title-wrapper::after { content: ""; flex: 0 0 auto; width: 18px; height: 18px; background:
	linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transition: transform .35s var(--mh-ease); }
.mh-faq .brx-open > .accordion-title-wrapper::after { transform: rotate(45deg); }
.mh-faq .accordion-title-wrapper:hover .mh-faq__q { color: var(--mh-green-deep, #007A63); }

/* ---------- Form skin (native Bricks form) ---------- */
.mh-form { --mh-field-bg: var(--mh-paper, #fff); width: 100%; }
.mh-form .form-group { padding-bottom: 18px; }
.mh-form label, .mh-form .form-group > label { font-size: var(--mh-fs-small); font-weight: 650; color: var(--mh-ink, #000); margin-bottom: 6px; display: block; }
.mh-form input:not([type="checkbox"]):not([type="file"]), .mh-form textarea {
	background: var(--mh-field-bg); border: 1px solid rgba(0, 0, 0, .45); border-radius: var(--mh-radius, 2px);
	padding: 14px 14px; font: inherit; font-size: 17px; color: var(--mh-ink, #000); min-height: 52px; width: 100%; transition: border-color .2s var(--mh-ease), box-shadow .2s var(--mh-ease);
}
.mh-form textarea { min-height: 110px; }
.mh-form input:focus, .mh-form textarea:focus { outline: none; border-color: var(--mh-ink, #000); box-shadow: 0 0 0 3px rgba(0, 166, 134, .35); }
.mh-form .form-group.checkbox-wrapper, .mh-form .options-wrapper { font-size: var(--mh-fs-small); line-height: 1.5; }
.mh-form .options-wrapper label { font-weight: 400; display: inline; }
.mh-form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--mh-green-deep, #007A63); margin-right: 10px; vertical-align: -4px; }
.mh-form .required { color: var(--mh-green-deep, #007A63); }
/* camera viewfinder upload (the most important click of the page) */
.mh-form .form-group.file { position: relative; }
.mh-form .form-group.file .choose-files {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 168px;
	padding: 28px 20px; cursor: pointer; text-align: center; font-size: 18px; font-weight: 700; color: var(--mh-ink, #000);
	background:
		linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) left top / 28px 2px no-repeat, linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) left top / 2px 28px no-repeat,
		linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) right top / 28px 2px no-repeat, linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) right top / 2px 28px no-repeat,
		linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) left bottom / 28px 2px no-repeat, linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) left bottom / 2px 28px no-repeat,
		linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) right bottom / 28px 2px no-repeat, linear-gradient(var(--mh-ink, #000), var(--mh-ink, #000)) right bottom / 2px 28px no-repeat,
		var(--mh-paper, #fff);
	border: 0; border-radius: 0; transition: background-color .25s var(--mh-ease);
}
.mh-form .form-group.file .choose-files::before { content: ""; width: 44px; height: 44px; background: var(--mh-green-deep, #007A63);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.mh-form .form-group.file .choose-files::after { content: "Bis zu 4 Bilder, je max. 10 MB. Direkt mit der Handykamera möglich."; font-size: var(--mh-fs-small); font-weight: 400; line-height: 1.45; max-width: 26em; color: var(--mh-steel, #5E6670); }
.mh-form .form-group.file .choose-files:hover { background-color: #f7f9f9; }
.mh-form .form-group.file input[type="file"]:focus-visible + .choose-files { outline: 2px solid var(--mh-green, #00A686); outline-offset: 3px; }
.mh-form .file-result { font-size: var(--mh-fs-small); }
.mh-form .submit-button-wrapper { margin-top: 6px; }
.mh-form button[type="submit"], .mh-form .bricks-button {
	background: var(--mh-green, #00A686); color: var(--mh-ink, #000); border: 1px solid var(--mh-green, #00A686); border-radius: var(--mh-radius, 2px);
	font: inherit; font-size: 17px; font-weight: 700; padding: 16px 28px; min-height: 52px; cursor: pointer; transition: background-color .25s var(--mh-ease), color .25s var(--mh-ease), transform .2s var(--mh-ease);
}
.mh-form button[type="submit"]:hover { background: var(--mh-ink, #000); color: var(--mh-paper, #fff); border-color: var(--mh-ink, #000); }
.mh-form button[type="submit"]:active { transform: scale(.97); }
@media (max-width: 767px) { .mh-form .submit-button-wrapper { width: 100%; } .mh-form button[type="submit"] { width: 100%; justify-content: center; } }
.mh-form .message.success { animation: mh-slide-in .5s var(--mh-ease) both; }
@keyframes mh-slide-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.mh-footer h2.mh-footer__title { font-size: var(--mh-fs-small); line-height: 1.4; }
.mh-footer__bottom .mh-row { flex-direction: row !important; width: auto !important; gap: 20px; }
.mh-credits { flex-basis: 100%; }

/* ---------- Mobile action bar ---------- */
.mh-actionbar { display: none; }
@media (max-width: 767px) {
	.mh-actionbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-shadow: 0 -1px 0 rgba(0, 0, 0, .12);
		padding-bottom: max(8px, env(safe-area-inset-bottom)) !important; transform: translateY(110%); visibility: hidden; transition: transform .35s var(--mh-ease), visibility 0s linear .35s; }
	.mh-actionbar.is-on { transform: none; visibility: visible; transition: transform .35s var(--mh-ease), visibility 0s; }
	.mh-actionbar .mh-btn--line { color: var(--mh-ink, #000); --mh-line-strong: rgba(0, 0, 0, .55); }
	.mh-actionbar .mh-btn { min-height: 52px; }
}

/* ---------- Light scroll reveals (JS adds .mh-rv only to elements below the fold) ---------- */
.mh-rv { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .6s var(--mh-ease), transform .7s var(--mh-ease); }
.mh-rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.mh-scene, .mh-btn, #brx-header, .mh-actionbar, .mh-tile__media img, .mh-faq .accordion-title-wrapper::after { transition: none !important; }
	.mh-rv { opacity: 1 !important; transform: none !important; }
	.mh-hero.mh-scene-loading .mh-stage::after { animation: none; display: none; }
}

/* form details: sentence-case labels, gutter between Name | Telefon */
.mh-form label { text-transform: none !important; letter-spacing: 0 !important; }
.mh-form .form-group:nth-child(3) { padding-right: 8px; }
.mh-form .form-group:nth-child(4) { padding-left: 8px; }
@media (max-width: 478px) { .mh-form .form-group:nth-child(3), .mh-form .form-group:nth-child(4) { width: 100% !important; padding-left: 0; padding-right: 0; } }
.mh-faq .accordion-title-wrapper { flex-wrap: nowrap !important; }
.mh-faq .accordion-title-wrapper .mh-faq__q { flex: 1 1 auto; min-width: 0; }
.mh-form .form-group.file .choose-files { white-space: normal; }
.mh-form .label, .mh-form [id^="label-"] { text-transform: none !important; letter-spacing: 0 !important; font-size: var(--mh-fs-small); font-weight: 650; }
/* mobile menu close button: Bricks hides its <li>; place it where the burger sits */
@media (max-width: 991px) {
	.mh-nav.brx-open .brx-nav-nested-items > li:has(> .brx-toggle-div) { display: block !important; position: absolute; top: calc((var(--mh-header-h) - 44px) / 2); right: var(--mh-gutter); width: 44px !important; height: 44px; padding: 0; }
	.mh-nav.brx-open .brx-toggle-div { position: static !important; width: 44px; height: 44px; }
}
/* mobile menu: the overlay covers the header bar, so it carries its own logo in the same spot */
@media (max-width: 991px) {
	.mh-nav.brx-open .brx-nav-nested-items > li:has(> .mh-nav__logo) { display: block !important; position: absolute; top: calc((var(--mh-header-h) - 54px) / 2); left: var(--mh-gutter); width: auto !important; padding: 0; }
	.mh-nav.brx-open .mh-nav__logo { display: block !important; }
}
@media (max-width: 767px) { .mh-nav.brx-open .brx-nav-nested-items > li:has(> .mh-nav__logo) { top: calc((var(--mh-header-h) - 39px) / 2); } .mh-nav.brx-open .mh-nav__cta { width: 100% !important; } }
/* numbers: tabular figures everywhere digits are displayed as data (Unslop #18) */
.mh-btn, .mh-big-phone, .mh-year, .mh-num, .mh-nav__phone, .mh-fact, .mh-footer, .mh-contact, .mh-pair, .mh-legal { font-variant-numeric: tabular-nums; }
/* headings never leave orphans; paragraphs wrap prettily (Unslop #16) */
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
@media (max-width: 991px) { .mh-motion .mh-scrollhint { display: none; } }
@media (max-width: 991px) { .mh-nav.brx-open .mh-nav__cta { display: inline-flex !important; margin-top: 28px; font-size: 17px !important; font-weight: 650 !important; font-stretch: 96% !important; letter-spacing: 0 !important; padding: 16px 22px !important; color: var(--mh-ink, #000) !important; } }
/* long German compounds never overflow narrow columns */
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 4 4; }

/* Legal drafts: placeholders inside rich text (span.mh-placeholder) – Bricks only emits global-class CSS for classes
   attached to elements, so the highlight for inline spans lives here. */
.mh-placeholder { background: #fff3c4; color: var(--mh-ink, #000); padding: 0 .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
