/*
 Theme Name: Meer-Bau Divi Child
 Theme URI: https://meer-bau.com/
 Description: Child theme for the Meer-Bau website built on Divi.
 Author: OpenAI Codex
 Author URI: https://openai.com/
 Template: Divi
 Version: 1.1.7
 Text Domain: meer-bau-divi-child
*/

/**
last edited: 2026-07-20
*/

:root {
  --mb-charcoal: #40403e;
  --mb-charcoal-soft: #585855;
  --mb-yellow: #fbb606;
  --mb-yellow-deep: #d89600;
  --mb-cream: #f7f3ea;
  --mb-sand: #e9e0d0;
  --mb-white: #ffffff;
  --mb-ink: #1f1f1d;
  --mb-border: rgba(64, 64, 62, 0.14);
  --mb-shadow: 0 18px 45px rgba(25, 25, 24, 0.12);
  --mb-radius-lg: 28px;
  --mb-radius-md: 18px;
  --mb-radius-sm: 12px;
  --mb-container: 1920px;
}

body {
	color: var(--mb-ink);
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	font-smooth: grayscale;
	-moz-osx-font-smoothing: grayscale;
}

body,
input,
textarea,
select {
  font-family: "Manrope", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_text h6 {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.01em;
  color: var(--mb-charcoal);
}

.et_pb_text,
.et_pb_text p {
    word-wrap: break-word;
    line-height: unset;
}

#logo {
  content: url("/wp-content/uploads/2026/07/meer-logo-200x86-1.png");
  max-height: 72px;
}

/* =========================================================
   MEER-BAU SERVICE DROPDOWN
   Parent menu class: mb-services-menu
   ========================================================= */

.et_pb_menu .mb-services-menu {
	position: relative;
}

/* Submenu panel */
.et_pb_menu .mb-services-menu > ul.sub-menu {
	display: grid;
	grid-template-columns: repeat(2, minmax(260px, 1fr));
	gap: .65rem;

	width: min(760px, calc(100vw - 2rem));
	padding: 1rem;

	border: 1px solid rgba(47, 49, 46, .12);
	border-top: 3px solid #fbb606;
	border-radius: 0 0 .85rem .85rem;

	background: #f7f7f4;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .16);
}

/* Reset Divi submenu item dimensions */
.et_pb_menu .mb-services-menu > ul.sub-menu > li {
	display: block;
	width: auto;
	margin: 0;
	padding: 0;
}

/* Service link card */
.et_pb_menu .mb-services-menu > ul.sub-menu > li > a {
	display: flex;
	align-items: center;
	gap: .7rem;

	width: 100%;
	min-height: 58px;
	padding: .75rem .85rem;

	border: 1px solid #e4e5df;
	border-radius: .6rem;

	background: #fff;
	color: #4b4e48 !important;

	font-size: .82rem;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;

	transition:
		transform .2s ease,
		border-color .2s ease,
		background-color .2s ease,
		box-shadow .2s ease,
		color .2s ease;
}

/* Icons */
.et_pb_menu .mb-services-menu > ul.sub-menu > li > a i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;

	width: 34px;
	height: 34px;

	border-radius: .5rem;
	background: #fff7df;
	color: #d99d00;

	font-size: .95rem;
	line-height: 1;
}

/* Optional small heading */
.et_pb_menu .mb-services-menu > ul.sub-menu::before {
	content: "Unsere Leistungen";
	grid-column: 1 / -1;
	display: block;
	padding: .1rem .15rem .35rem;

	color: #292b28;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* add a very subtle arrow that appears on hover */
.et_pb_menu .mb-services-menu > ul.sub-menu > li > a::after {
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	margin-left: auto;
	opacity: 0;
	transform: translateX(-6px);
	transition: all .25s ease;
}

.et_pb_menu .mb-services-menu > ul.sub-menu > li > a:hover::after {
	opacity: .45;
	transform: translateX(0);
}

/* Hover */
.et_pb_menu .mb-services-menu > ul.sub-menu > li > a:hover {
	transform: translateY(-2px);
	border-color: #fbb606;
	background: #fffaf0;
	color: #292b28 !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
	opacity: 1;
}

.et_pb_menu .mb-services-menu > ul.sub-menu > li > a:hover i {
	background: #fbb606;
	color: #292b28;
}

/* Keep panel aligned below its parent item */
.et_pb_menu .mb-services-menu > ul.sub-menu {
	left: 50%;
	right: auto;
	transform: translateX(-50%);
}

/* Keyboard focus */
.et_pb_menu .mb-services-menu > ul.sub-menu > li > a:focus-visible {
	outline: 3px solid rgba(251, 182, 6, .35);
	outline-offset: 2px;
}

/* Tablet: one column */
@media (max-width: 1100px) {
	.et_pb_menu .mb-services-menu > ul.sub-menu {
		grid-template-columns: 1fr;
		width: 340px;
	}

	.et_pb_menu .mb-services-menu > ul.sub-menu > li > a {
		white-space: normal;
	}
}

/* MEER Bau Check List */
ul.check {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.check li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 12px;
	line-height: 1.6;
}

ul.check li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--mb-yellow);
	font-weight: 700;
	font-size: 1.2em;
	line-height: 1.4;
}

#main-header,
#top-header,
#main-footer {
  display: none;
}

#page-container,
.et_fixed_nav #page-container,
.et_non_fixed_nav.et_transparent_nav #page-container {
  padding-top: 0 !important;
}

#top-menu-nav #top-menu a,
#et-secondary-nav a {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page .entry-title {
  display: none;
}

#main-content,
.et_pb_post,
.container,
#content-area,
#left-area {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  float: none;
}

.center {
	text-align: center;
}
.et_overlay {
	border: none !important;
}
.mfp-image-holder .mfp-close {
    color: red;
	opacity: 1;
	font-weight: 800;
	transition: transform 0.3s ease;
}
.mfp-image-holder .mfp-close:hover,
.mfp-image-holder .mfp-close:active {
    opacity: 0.5;
	transform: translateY(2px);
}

.container:before,
#left-area:before {
  display: none;
}

.mb-homepage {
  background:
    radial-gradient(circle at top right, rgba(251, 182, 6, 0.18), transparent 30%),
    linear-gradient(180deg, #f8f4ec 0%, #ffffff 18%, #ffffff 72%, #f7f3ea 100%);
  color: var(--mb-ink);
}

.mb-homepage * {
  box-sizing: border-box;
}

.mb-homepage img {
  display: block;
  max-width: 100%;
}

.mb-shell {
  width: min(calc(100% - 32px), var(--mb-container));
  margin: 0 auto;
}

.mb-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 234, 0.88);
  border-bottom: 1px solid rgba(64, 64, 62, 0.08);
}

.mb-topbar .mb-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.mb-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--mb-charcoal);
  text-decoration: none;
}

.mb-brand img {
  width: 172px;
  height: auto;
}

.mb-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.mb-brand-copy strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mb-brand-copy span {
  font-size: 0.86rem;
  color: var(--mb-charcoal-soft);
}

.mb-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mb-nav a {
  color: var(--mb-charcoal);
  text-decoration: none;
  font-weight: 700;
}

.mb-btn-menu {
	border-radius: 999px;
	font-weight: 800;
}

.mb-btn-menu a,
.et-menu li>a,
nav>ul>li>a {
	padding-bottom: 0 !important;
}
.et_pb_menu .et-menu>li {
    padding: .8em 1.3em;
}

.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mb-btn:hover {
  transform: translateY(-2px);
}

.mb-btn-primary {
  background: var(--mb-yellow);
  color: var(--mb-charcoal);
  box-shadow: 0 12px 28px rgba(251, 182, 6, 0.25);
}

.mb-btn-secondary {
  background: transparent;
  color: var(--mb-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mb-btn-dark {
  background: var(--mb-charcoal);
  color: var(--mb-white);
}

.mb-section {
  padding: 88px 0;
}

.mb-hero {
  padding: 42px 0 76px;
}

.mb-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.mb-hero-copy {
	padding: 56px;
	background:
	linear-gradient(135deg, rgba(64, 64, 62, 0.98) 0%, rgba(50, 50, 48, 0.95) 100%);
	color: var(--mb-white);
	border-radius: var(--mb-radius-lg);
	box-shadow: var(--mb-shadow);
	background: linear-gradient(180deg, #2f2f2d 0%, #1f1f1d 100%);
	color: var(--mb-white);
}
.mb-eyebrow {
	margin-bottom: 1em;
	display: inline-flex;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(251, 182, 6, 0.14);
	color: var(--mb-yellow);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.mb-image {
	overflow: hidden;
	border-radius: .75em;
	margin-bottom: .75em;
}
img.mb-leistungen {
    display: block;
    width: 100%;
    transition: transform .45s ease;
	border: 1px solid rgba(0, 0, 0, 0.4);
}

/* images effect */
img.mb-leistungen:hover,
img.mb-leistungen:active {
    transform: scale(1.05);
	border: 1px solid rgba(0, 0, 0, 0.7);
}

.et_pb_button:after {
    transition: transform .25s ease;
}
.et_pb_button:after:hover {
    transform: translateX(2px);
}

.mb-hero-copy h1 {
  margin: 20px 0 16px;
  color: var(--mb-white);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.mb-lead {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.mb-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.mb-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.mb-proof-item {
  padding: 16px 18px;
  border-radius: var(--mb-radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.mb-proof-item strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  color: var(--mb-yellow);
}

.mb-proof-item span {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.76);
}

.mb-hero-visual {
  position: relative;
  min-height: 100%;
  border-radius: var(--mb-radius-lg);
  overflow: hidden;
  background: var(--mb-charcoal);
  box-shadow: var(--mb-shadow);
}

.mb-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mb-hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--mb-radius-md);
  background: rgba(255, 255, 255, 0.92);
  color: var(--mb-charcoal);
  font-weight: 700;
}

.mb-hero-note:before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mb-yellow);
  flex: 0 0 auto;
}

.mb-section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.mb-section-head h2 {
  margin: 12px 0;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.mb-section-head p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--mb-charcoal-soft);
}

.mb-services-section .mb-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
a.mb- {
	color: var(--mb-charcoal-soft);
	border-bottom: 1px solid var(--mb-yellow);
	transition: all 0.25s ease;
}
a.mb-:hover {
	color: var(--mb-charcoal);
	border-bottom: 1px solid var(--mb-yellow-deep);
}

.mb-card-container {
	border-radius: var(--mb-radius-md);
	background: var(--mb-white);
	border: 1px solid var(--mb-border);
	box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
	display: flex;
	flex-direction: column;
	height: stretch !important;
	align-self: stretch !important;
}
.mb-card {
	display: flex;
	flex-direction: column;
	padding: 28px;
}

.mb-btn,
.mb-btn-primary {
	margin: auto auto 1rem auto;
}

.mb-card h3 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.mb-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--mb-charcoal-soft);
}


.mb-card-accent {
  width: 54px;
  height: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--mb-yellow);
}

.mb-story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.mb-story-image img {
  border-radius: var(--mb-radius-lg);
  box-shadow: var(--mb-shadow);
}

.mb-story-copy {
  padding: 34px;
  border-radius: var(--mb-radius-lg);
  background: linear-gradient(180deg, #fff 0%, #f7f3ea 100%);
  border: 1px solid var(--mb-border);
}

.mb-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.mb-list-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  height: 38px;
}

.mb-list-item strong {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--mb-yellow);
  color: var(--mb-charcoal);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
}

.mb-list-item > p:empty {
  display: none;
}

.mb-list-item > p:not(:empty) {
  grid-column: 2;
  margin: 0;
  min-width: 0;
  line-height: 1.7;
}

.mb-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mb-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--mb-radius-lg);
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.mb-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.mb-gallery figcaption {
  padding: 18px 20px 22px;
}

.mb-gallery strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--mb-charcoal);
}

.mb-gallery span {
  display: block;
  margin-top: 6px;
  color: var(--mb-charcoal-soft);
  line-height: 1.6;
}

.mb-process {
  background: var(--mb-charcoal);
  color: var(--mb-white);
}

.mb-process .mb-section-head h2,
.mb-process .mb-section-head p {
  color: var(--mb-white);
}

.mb-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mb-process-card {
  padding: 30px;
  border-radius: var(--mb-radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mb-process-card strong {
  display: inline-block;
  margin-bottom: 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  color: var(--mb-yellow);
}

.mb-process-card h3 {
  margin: 0 0 12px;
  color: var(--mb-white);
  font-size: 1.8rem;
  text-transform: uppercase;
}

.mb-process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.mb-cta {
  padding: 52px;
  border-radius: var(--mb-radius-lg);
  background: linear-gradient(135deg, rgba(251, 182, 6, 0.18), rgba(64, 64, 62, 0.08));
  border: 1px solid rgba(64, 64, 62, 0.1);
  text-align: center;
}

.mb-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 4vw, 4rem);
  text-transform: uppercase;
}

.mb-cta p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--mb-charcoal-soft);
  line-height: 1.7;
}

.mb-cta .mb-actions {
  justify-content: center;
}

.mb-site-header img,
.mb-site-footer img,
.mb-page img {
  display: block;
  max-width: 100%;
}

.mb-site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid rgba(64, 64, 62, 0.08);
  background: rgba(247, 243, 234, 0.92);
  backdrop-filter: blur(14px);
}

.mb-site-header .mb-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.mb-site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.mb-site-nav a,
.mb-site-actions a,
.mb-footer-block a {
  text-decoration: none;
}

.mb-site-nav a {
  color: var(--mb-charcoal);
  font-weight: 700;
}

.mb-site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.mb-chip-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid rgba(64, 64, 62, 0.12);
	color: var(--mb-charcoal);
	font-weight: 700;
	background: rgba(255, 255, 255, 0.7);
}

/* 
*  FOOTER
*/

.mb-footer-block {
	padding: 1rem;
	border-radius: var(--mb-radius-md);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	width: stretch;
}
.mb-footer-block .et_pb_text .et_pb_text_inner,
.mb-footer-block .et_pb_text_inner,
.mb-footer-block p,
.mb-footer-copy .et_pb_text_inner p {
	font-size: 0.8rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
}
.mb-footer-block a {
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.mb-footer-block a:hover {
	color: color: rgba(255, 255, 255, 0.8);
	border-bottom: 1px solid var(--mb-yellow-deep);
}
.mb-footer-block .post-views {
    color: rgba(255, 255, 255, 0.1);
	font-size: smaller;
    margin-top: .5rem;
}
.mb-footer-block i.fa-solid,
.mb-footer-block i.fa-regular,
.mb-footer-block i.fa-classic,
.mb-footer-block i.fa-brands {
	margin-right: .4rem;
}

.mb-project-card,
.mb-fact-card,
.mb-contact-card,
.mb-reference-stage,
.mb-legal-box {
  border-radius: var(--mb-radius-lg);
  background: var(--mb-white);
  border: 1px solid var(--mb-border);
  box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06);
}

.mb-project-card,
.mb-reference-stage {
  overflow: hidden;
}

.mb-project-card {
  display: block;
  color: inherit;
}

.mb-project-card img,
.mb-reference-stage img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.mb-project-card span,
.mb-reference-stage span {
  display: block;
  padding: 18px 24px 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mb-yellow-deep);
}

.mb-project-card strong,
.mb-reference-stage p,
.mb-fact-card strong,
.mb-contact-card strong {
  display: block;
}

.mb-project-card strong {
  padding: 10px 24px 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--mb-charcoal);
}

.mb-fact-card,
.mb-contact-card,
.mb-legal-box {
  padding: 28px;
}

.mb-fact-card strong,
.mb-contact-card strong {
  margin-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--mb-charcoal);
}

.mb-fact-card p,
.mb-contact-card p,
.mb-contact-card span,
.mb-contact-card a,
.mb-reference-stage p,
.mb-legal-box p {
  margin: 0;
  line-height: 1.75;
  color: var(--mb-charcoal-soft);
}

.mb-contact-card a {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--mb-charcoal);
}

.mb-copy-list {
  margin: 18px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
}

.mb-copy-list li {
  line-height: 1.7;
  color: var(--mb-charcoal-soft);
}

.mb-reference-stage p {
  padding: 14px 24px 24px;
}

.mb-list-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mb-legal-box {
  max-width: 760px;
}

@media (max-width: 980px) {
  .mb-hero-grid,
  .mb-story-grid,
  .mb-footer-box,
  .mb-services,
  .mb-gallery,
  .mb-process-grid,
  .mb-page-hero-grid,
  .mb-footer-grid,
  .mb-service-grid,
  .mb-project-grid,
  .mb-fact-grid,
  .mb-contact-grid,
  .mb-reference-flow,
  .mb-list-wide {
    grid-template-columns: 1fr;
  }

  .mb-topbar .mb-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .mb-site-header .mb-shell {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .mb-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .mb-site-nav,
  .mb-site-actions {
    justify-content: flex-start;
  }

  .mb-hero-copy,
  .mb-cta,
  .mb-page-panel {
    padding: 34px 24px;
  }

  .mb-proof {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) {
	#mb-leistungen .et_pb_row {
		margin: 0 auto;
	}
	#mb-leistungen .mb-leistungen-row {
		padding-left: 2em;
		padding-right: 2em;
	}
}
@media (max-width: 640px) {
	.mb-shell {
	/*	width: min(calc(100% - 8px), var(--mb-container)); narrower margin */
		width: fit-content;
	}

	.et_pb_section {
		padding: 20px 0 !important;
	}

	#mb-leistungen .et_pb_section.mb-shell {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#mb-leistungen .et_pb_row {
		padding: 0 1em;
		width: fit-content;
		margin-left: .75em;
		margin-right: .75em;
	}

	#mb-leistungen #mb-leistungen-top.et_pb_row {
		padding: 0 .75em;
		margin: 0;
	}

	#mb-cta .et_pb_row	{
		margin: 0 .75em;
		width: fit-content;
		padding-left: 1em;
		padding-right: 1em;
	}

  .mb-nav {
    gap: 12px;
  }

  .mb-nav a {
    font-size: 0.95rem;
  }

  .mb-site-nav {
    gap: 12px;
  }

  .mb-section {
    padding: 48px 0;
  }

  .mb-hero {
    padding-top: 24px;
  }

  .mb-page-intro {
    padding-top: 48px;
  }

  .mb-hero-copy h1 {
    font-size: 2.8rem;
  }
}
