:root {
    --mehring-red: #e2001a;
    --mehring-ink: #101214;
    --mehring-body: #3d4247;
    --mehring-dark: #16181b;
    --mehring-hero: #34383d;
    --mehring-line: #e8e8ea;
    --mehring-soft: #f5f5f6;
    --mehring-muted: #8a9097;
    --mehring-wrap: 1320px;
}

body.mehring-design {
    background: #fff;
    color: var(--mehring-body);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.mehring-design *,
.mehring-design *::before,
.mehring-design *::after { box-sizing: border-box; }

.mehring-wrap,
.mehring-design .et_pb_row {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--mehring-wrap);
    width: calc(100% - 64px);
}

.mehring-design h1,
.mehring-design h2,
.mehring-design h3,
.mehring-design h4 {
    color: var(--mehring-ink);
    font-family: Inter, Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

/* Global header */
.mehring-header {
    background: #fff;
    border-bottom: 1px solid var(--mehring-line);
    position: relative;
    z-index: 999;
}

.mehring-header__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 102px;
}

.mehring-logo { display: grid; text-decoration: none; }
.mehring-logo__word {
    color: var(--mehring-ink);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.05;
}
.mehring-logo__claim {
    color: var(--mehring-red);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-top: 5px;
    text-transform: uppercase;
}

.mehring-nav { align-items: center; display: flex; gap: 28px; }
.mehring-nav__list {
    align-items: center;
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.mehring-nav__list a {
    color: var(--mehring-ink);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
}
.mehring-nav__list a:hover,
.mehring-nav__list .current-menu-item > a { color: var(--mehring-red); }
.mehring-header__cta,
.mehring-design .mehring-button-primary,
.mehring-design .et_pb_button.mehring-button-primary {
    background: var(--mehring-red);
    border: 1px solid var(--mehring-red);
    border-radius: 2px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 13px 22px;
    text-transform: uppercase;
}
.mehring-menu-toggle { display: none; }

/* Divi hero – assign CSS class `mehring-hero` to the section or Hero module. */
.mehring-design .mehring-hero {
    background: linear-gradient(115deg, #232629 0%, #3a4046 55%, #2b3035 100%) !important;
    color: #fff;
    min-height: 650px;
    padding: 90px 0 !important;
}
.mehring-design .mehring-hero .et_pb_row,
.mehring-design .mehring-hero.et_pb_fullwidth_section .et_pb_module {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--mehring-wrap);
    width: calc(100% - 64px);
}
.mehring-design .mehring-hero .et_pb_fullwidth_header_container,
.mehring-design .mehring-hero .et_pb_fullwidth_header_subhead,
.mehring-design .mehring-hero .header-content { text-align: left; }
.mehring-design .mehring-hero h1,
.mehring-design .mehring-hero .et_pb_module_header {
    color: #fff !important;
    font-size: clamp(44px, 5.1vw, 66px) !important;
    font-weight: 800 !important;
    letter-spacing: -.04em !important;
    line-height: 1.1 !important;
    max-width: 760px;
}
.mehring-design .mehring-hero .et_pb_fullwidth_header_subhead {
    color: #c3c9ce !important;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .2em;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.mehring-design .mehring-hero .et_pb_header_content_wrapper,
.mehring-design .mehring-hero p {
    color: #d5dade !important;
    font-size: 19px !important;
    font-weight: 300;
    line-height: 1.65;
    max-width: 700px;
}
.mehring-design .mehring-hero .et_pb_button {
    border-radius: 2px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .07em;
    margin-top: 24px;
    padding: 15px 32px !important;
    text-transform: uppercase;
}
.mehring-design .mehring-hero .et_pb_button_one {
    background: var(--mehring-red) !important;
    border-color: var(--mehring-red) !important;
}
.mehring-design .mehring-hero .et_pb_button_two {
    background: transparent !important;
    border-color: #fff !important;
}

/* Trust strip – assign `mehring-trust` to a four-column section. */
.mehring-design .mehring-trust {
    background: var(--mehring-dark) !important;
    color: #fff;
    padding: 24px 0 !important;
}
.mehring-design .mehring-trust .et_pb_row {
    align-items: center;
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
}
.mehring-design .mehring-trust .et_pb_column { margin: 0 !important; width: auto !important; }
.mehring-design .mehring-trust .et_pb_module,
.mehring-design .mehring-trust p {
    color: #dfe3e6 !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    margin: 0;
    text-transform: uppercase;
}

/* Standard content patterns. */
.mehring-design .mehring-section { padding: 110px 0 !important; }
.mehring-design .mehring-section-soft { background: var(--mehring-soft) !important; }
.mehring-design .mehring-eyebrow {
    color: var(--mehring-red) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    letter-spacing: .18em;
    text-transform: uppercase;
}
.mehring-design .mehring-title h2,
.mehring-design h2.mehring-title {
    font-size: clamp(34px, 4vw, 48px) !important;
    font-weight: 800 !important;
}
.mehring-design .mehring-placeholder {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(150deg, #e6e7e9, #d0d4d7) !important;
    color: var(--mehring-muted);
    display: flex;
    justify-content: center;
}
.mehring-design .mehring-card {
    background: #fff;
    border: 1px solid var(--mehring-line);
    height: 100%;
}
.mehring-design .mehring-card .et_pb_text_inner { padding: 38px 40px; }

/* Global footer */
.mehring-footer { background: var(--mehring-ink); color: #c2c7cc; padding: 58px 0 30px; }
.mehring-footer__grid {
    display: grid;
    gap: 42px;
    grid-template-columns: 2fr 1fr 1fr 1fr;
}
.mehring-footer__brand { display: grid; gap: 8px; }
.mehring-footer__brand strong { color: #fff; font-size: 22px; font-weight: 800; }
.mehring-footer__brand > span {
    color: var(--mehring-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.mehring-footer__brand p { max-width: 360px; }
.mehring-footer h2 {
    color: #fff;
    font-size: 13px;
    letter-spacing: .1em;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.mehring-footer ul { list-style: none; margin: 0; padding: 0; }
.mehring-footer a { color: #9aa0a5; text-decoration: none; }
.mehring-footer a:hover { color: #fff; }
.mehring-footer__base {
    align-items: center;
    border-top: 1px solid #2a2f34;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: center;
    margin-top: 40px;
    padding-top: 22px;
    text-align: center;
}

@media (max-width: 1100px) {
    .mehring-nav__list { gap: 18px; }
    .mehring-nav { gap: 18px; }
    .mehring-logo__claim { max-width: 300px; }
}

@media (max-width: 980px) {
    .mehring-wrap,
    .mehring-design .et_pb_row,
    .mehring-design .mehring-hero .et_pb_row { width: calc(100% - 40px); }
    .mehring-header__inner { min-height: 82px; }
    .mehring-nav__list { display: none; }
    .mehring-header__cta { display: none; }
    .mehring-menu-toggle { display: block; }
    .mehring-header__inner { position: relative; }
    .mehring-nav.is-open {
        background: #fff;
        border-top: 1px solid var(--mehring-line);
        box-shadow: 0 18px 30px rgba(16, 18, 20, .08);
        display: block;
        left: -20px;
        padding: 20px;
        position: absolute;
        right: -20px;
        top: 100%;
    }
    .mehring-nav.is-open .mehring-nav__list { align-items: flex-start; display: flex; flex-direction: column; }
    .mehring-nav.is-open .mehring-header__cta { display: inline-block; margin-top: 20px; }
    .mehring-design .mehring-hero { min-height: 560px; padding: 70px 0 !important; }
    .mehring-design .mehring-trust .et_pb_row { grid-template-columns: 1fr 1fr; }
    .mehring-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
    .mehring-logo__word { font-size: 22px; }
    .mehring-logo__claim { font-size: 8.5px; }
    .mehring-design .mehring-hero h1 { font-size: 40px !important; }
    .mehring-design .mehring-hero p { font-size: 17px !important; }
    .mehring-design .mehring-trust .et_pb_row,
    .mehring-footer__grid { grid-template-columns: 1fr; }
    .mehring-footer__base { flex-direction: column; }
}

/* Mehring solutions overview */
.mehring-section {
    background: #fff !important;
    padding: 88px 0 !important;
}

.mehring-section::before,
.mehring-section-soft::before {
    color: #c60020;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.4;
    margin: 0 auto 34px;
    text-transform: uppercase;
    width: min(1080px, 90%);
}

.mehring-section::before { content: "Zwei Lösungen. Ein Anspruch."; }

.mehring-placeholder {
    align-items: flex-end;
    background: #dedede !important;
    color: #4c4d50 !important;
    display: flex !important;
    font-weight: 800;
    letter-spacing: .04em;
    margin-bottom: 0 !important;
    min-height: 210px;
    padding: 24px !important;
}

.mehring-placeholder .et_pb_text_inner p { margin: 0; }

.mehring-card {
    background: #fff !important;
    border: 1px solid #e2e2e2;
    border-top: 0;
    box-shadow: none !important;
    margin-top: 0 !important;
    padding: 30px 32px 34px !important;
}

.mehring-card .et_pb_main_blurb_image { display: none !important; }

.mehring-card .et_pb_module_header {
    color: #252629;
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.mehring-card .et_pb_blurb_description {
    color: #58595c;
    font-size: 16px;
    line-height: 1.65;
}

.mehring-section-soft {
    background: #f2f2f0 !important;
    padding: 88px 0 !important;
}

.mehring-section-soft::before {
    color: #252629;
    content: "Einblicke in die Produktwelt.";
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.025em;
    line-height: 1.1;
    text-transform: none;
}

.mehring-section-soft .et_pb_row { gap: 22px; }
.mehring-section-soft .et_pb_column { background: #d8d8d8; min-height: 250px; }

.mehring-section-soft .et_pb_tooltip {
    align-items: flex-end;
    background: #d8d8d8 !important;
    box-shadow: none !important;
    display: flex !important;
    height: 250px !important;
    inset: auto !important;
    opacity: 1 !important;
    padding: 24px !important;
    pointer-events: auto !important;
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    width: 100% !important;
}

.mehring-section-soft .et_pb_tooltip_inner {
    color: #4c4d50 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.mehring-section-soft .et_pb_tooltip_inner p:first-child {
    color: #777;
    font-size: 11px;
    letter-spacing: .16em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .mehring-section,
    .mehring-section-soft { padding: 62px 0 !important; }
    .mehring-section-soft .et_pb_row { gap: 18px; }
}

/* Exact layout alignment: solutions overview */
.page-id-8 .mehring-hero {
    background: #2b2d30 !important;
    min-height: 0 !important;
    padding: 54px 0 58px !important;
}

.page-id-8 .mehring-hero .et_pb_row {
    max-width: 1260px !important;
    width: calc(100% - 48px) !important;
}

.page-id-8 .mehring-hero .et_pb_fullwidth_header {
    background: transparent !important;
    min-height: 0 !important;
    padding: 0 !important;
}

.page-id-8 .mehring-hero .et_pb_fullwidth_header_container,
.page-id-8 .mehring-hero .header-content-container,
.page-id-8 .mehring-hero .header-content {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.page-id-8 .mehring-hero .header-content::before {
    color: #c9c9ca;
    content: "Start / Lösungen";
    display: block;
    font-size: 13px;
    margin-bottom: 25px;
    text-decoration: underline;
}

.page-id-8 .mehring-hero h1 {
    font-size: clamp(38px, 4vw, 48px) !important;
    line-height: 1.08 !important;
    margin-bottom: 22px !important;
}

.page-id-8 .mehring-hero .et_pb_fullwidth_header_subhead,
.page-id-8 .mehring-hero .et_pb_button { display: none !important; }

.page-id-8 .mehring-hero .et_pb_header_content_wrapper,
.page-id-8 .mehring-hero .et_pb_header_content_wrapper p {
    color: #e2e2e3 !important;
    font-size: 17px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
}

.page-id-8 .mehring-section {
    padding: 60px 0 62px !important;
}

.page-id-8 .mehring-section::before { display: none; }

.page-id-8 .mehring-section .et_pb_row {
    gap: 24px;
    max-width: 1260px !important;
    width: calc(100% - 48px) !important;
}

.page-id-8 .mehring-section .et_pb_column {
    background: #f7f7f7;
    border: 1px solid #dedede;
    border-radius: 5px;
    overflow: hidden;
}

.page-id-8 .mehring-placeholder {
    align-items: center;
    background: #dcdfe2 !important;
    color: #7a7d80 !important;
    display: flex !important;
    font-size: 14px;
    font-weight: 400;
    justify-content: center;
    letter-spacing: 0;
    min-height: 250px;
    padding: 0 20px !important;
    width: 100% !important;
}

.page-id-8 .mehring-placeholder .et_pb_text_inner p::before { content: "Vorschau: "; }

.page-id-8 .mehring-card {
    border: 0;
    margin: 0 !important;
    max-width: none !important;
    min-height: 270px;
    padding: 32px 32px 34px !important;
    width: 100% !important;
}

.page-id-8 .mehring-card .et_pb_module_header {
    display: block !important;
    font-size: 25px !important;
    margin-bottom: 20px !important;
}

.page-id-8 .mehring-card .et_pb_blurb_description {
    color: #404245;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}

.page-id-8 .mehring-card::after {
    background: #ce001f;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    font-weight: 800;
    margin-top: 30px;
    padding: 15px 20px;
}

.page-id-8 .mehring-section .et_pb_column:first-child .mehring-card::after {
    content: "Fristenbriefkästen ansehen";
}

.page-id-8 .mehring-section .et_pb_column:last-child .mehring-card::after {
    content: "XXL-Briefkästen ansehen";
}

.page-id-8 .mehring-section-soft {
    padding: 62px 0 72px !important;
}

.page-id-8 .mehring-section-soft::before,
.page-id-8 .mehring-section-soft::after {
    max-width: 1260px;
    width: calc(100% - 48px);
}

.page-id-8 .mehring-section-soft::before {
    font-size: 36px;
    margin-bottom: 14px;
}

.page-id-8 .mehring-section-soft::after {
    color: #505255;
    content: "Neutrale Vorschauflächen für Material, Einsatzort und Formensprache.";
    display: block;
    font-size: 16px;
    margin: 0 auto 38px;
}

.page-id-8 .mehring-section-soft .et_pb_row {
    max-width: 1260px !important;
    width: calc(100% - 48px) !important;
}

@media (max-width: 767px) {
    .page-id-8 .mehring-hero { padding: 42px 0 46px !important; }
    .page-id-8 .mehring-hero .et_pb_row,
    .page-id-8 .mehring-section .et_pb_row,
    .page-id-8 .mehring-section-soft .et_pb_row,
    .page-id-8 .mehring-section-soft::before,
    .page-id-8 .mehring-section-soft::after { width: calc(100% - 36px) !important; }
    .page-id-8 .mehring-section { padding: 42px 0 48px !important; }
    .page-id-8 .mehring-placeholder { min-height: 210px; }
    .page-id-8 .mehring-card { min-height: 0; }
}

/* =======================================================================
   Startseite – Umsetzung Website-Vorschau V6
   Alle Klassen mit Praefix mh-; im Divi-Builder unter
   Erweitert -> CSS-ID & Klassen gesetzt.
   ======================================================================= */

/* -- Grundraster: Divi-Sektionen/Zeilen auf das Entwurfsmass bringen ---- */
.mehring-design .mh-manu.et_pb_section { padding: 0 !important; }
.mehring-design [class*="mh-"].et_pb_section > .et_pb_row {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}
.mehring-design [class*="mh-"].et_pb_section .et_pb_module { margin-bottom: 0 !important; }
.mehring-design [class*="mh-"].et_pb_section .et_pb_column {
    flex: 0 1 auto;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}
.mehring-design [class*="mh-"].et_pb_section .et_pb_text_inner > *:last-child { margin-bottom: 0; }

.mehring-design .mh-dot { color: var(--mehring-red); }

.mehring-design .mh-eyebrow {
    color: var(--mehring-red);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 18px;
    text-transform: uppercase;
}
.mehring-design .mh-title {
    color: var(--mehring-ink);
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin-bottom: 20px;
}
.mehring-design .mh-intro {
    color: var(--mehring-body);
    font-size: 18px;
    max-width: 680px;
}

/* -- Buttons ------------------------------------------------------------ */
.mehring-design .mh-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.mehring-design .mh-btn {
    background: var(--mehring-red);
    border: 1px solid var(--mehring-red);
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 17px 34px;
    text-transform: uppercase;
    transition: .2s;
}
.mehring-design .mh-btn:hover { background: #c60017; border-color: #c60017; color: #fff; }
.mehring-design .mh-btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.mehring-design .mh-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--mehring-ink); }
.mehring-design .mh-btn--dark { background: var(--mehring-ink); border-color: var(--mehring-ink); }
.mehring-design .mh-btn--dark:hover { background: var(--mehring-red); border-color: var(--mehring-red); }

/* -- Platzhalterflaechen (spaeter durch Bilder ersetzen) ---------------- */
.mehring-design .mh-ph {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: linear-gradient(150deg, #e6e7e9, #d0d4d7);
    color: #9aa0a5;
    display: flex;
    font-size: 13px;
    justify-content: center;
    line-height: 1.6;
    text-align: center;
}
.mehring-design .mh-ph .et_pb_text_inner { padding: 20px; }
.mehring-design .mh-ph p { margin: 0; }
.mehring-design .mh-ph--dark {
    background: linear-gradient(160deg, #26292c, #3d444b);
    color: #8d939a;
}
.mehring-design .mh-ph--43 { aspect-ratio: 4 / 3; }
.mehring-design .mh-ph--16x10 { aspect-ratio: 16 / 10; }

/* -- 1 Hero ------------------------------------------------------------- */
.mehring-design .mh-hero.et_pb_section {
    background: linear-gradient(115deg, #232629 0%, #3a4046 55%, #2b3035 100%) !important;
    color: #fff;
    padding: 90px 0 !important;
}
.mehring-design .mh-hero .et_pb_row { align-items: center; min-height: 440px; }
.mehring-design .mh-hero__eyebrow {
    color: #c3c9ce;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.mehring-design .mh-hero__title {
    color: #fff;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin-bottom: 26px;
    max-width: 900px;
}
.mehring-design .mh-hero__lead {
    color: #d5dade;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.65;
    max-width: 660px;
}
.mehring-design .mh-hero__actions { margin-top: 38px !important; }

/* -- 2 Vertrauensleiste ------------------------------------------------- */
.mehring-design .mh-trust.et_pb_section { background: var(--mehring-dark) !important; padding: 26px 0 !important; }
.mehring-design .mh-trust .et_pb_row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    justify-content: space-between;
}
.mehring-design .mh-trust__item {
    align-items: center;
    color: #dfe3e6;
    display: flex;
    font-size: 13px;
    font-weight: 600;
    gap: 14px;
    letter-spacing: .1em;
    margin: 0;
    text-transform: uppercase;
}
.mehring-design .mh-trust__item svg { flex: none; }

/* -- 3 Zwei Loesungen --------------------------------------------------- */
.mehring-design .mh-solutions.et_pb_section { padding: 110px 0 !important; }
.mehring-design .mh-duo, .mehring-design .mh-pts,
.mehring-design .mh-chgrid, .mehring-design .mh-ppgrid,
.mehring-design .mh-refgrid, .mehring-design .mh-steps { display: grid; }
.mehring-design .mh-duo {
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    margin-top: 56px !important;
}
.mehring-design .mh-duo .et_pb_column { border: 1px solid var(--mehring-line); }
.mehring-design .mh-card .et_pb_text_inner { padding: 42px 44px; }
.mehring-design .mh-card__cond {
    color: var(--mehring-muted);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}
.mehring-design .mh-card__title {
    color: var(--mehring-ink);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
}
.mehring-design .mh-card__prod {
    color: var(--mehring-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.mehring-design .mh-card__prod a { color: var(--mehring-red); }
.mehring-design .mh-checks { list-style: none; margin: 0 0 30px; padding: 0; }
.mehring-design .mh-checks li {
    border-top: 1px solid var(--mehring-line);
    font-size: 14.5px;
    padding: 9px 0 9px 26px;
    position: relative;
}
.mehring-design .mh-checks li:first-child { border-top: 0; }
.mehring-design .mh-checks li::before {
    color: var(--mehring-red);
    content: "\2713";
    font-weight: 800;
    left: 0;
    position: absolute;
}
.mehring-design .mh-pts {
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 56px !important;
}
.mehring-design .mh-pt {
    border-top: 2px solid var(--mehring-red);
    font-size: 14.5px;
    padding-top: 20px;
}
.mehring-design .mh-pt b {
    color: var(--mehring-ink);
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* -- 4 Die Aufgaben ----------------------------------------------------- */
.mehring-design .mh-tasks.et_pb_section { background: var(--mehring-soft) !important; padding: 110px 0 !important; }
.mehring-design .mh-chgrid {
    gap: 30px 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 56px !important;
}
.mehring-design .mh-chgrid + .mh-chgrid { margin-top: 30px !important; }
.mehring-design .mh-ch {
    border-top: 2px solid var(--mehring-ink);
    font-size: 16px;
    padding-top: 22px;
}
.mehring-design .mh-ch b {
    color: var(--mehring-ink);
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* -- 5 Sonderanfertigungen ---------------------------------------------- */
.mehring-design .mh-custom.et_pb_section { padding: 110px 0 !important; }

/* -- 6 Entwicklung & Fertigung ------------------------------------------ */
.mehring-design .mh-manu.et_pb_section { background: var(--mehring-dark) !important; }
.mehring-design .mh-manu .et_pb_row {
    align-items: stretch;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    max-width: none !important;
    width: 100% !important;
}
.mehring-design .mh-manu .mh-ph { aspect-ratio: auto; height: 100%; min-height: 560px; }
.mehring-design .mh-manu__body .et_pb_text_inner { padding: 110px clamp(32px, 5vw, 90px); }
.mehring-design .mh-manu__body .mh-title { color: #fff; font-size: clamp(30px, 3.4vw, 44px); }
.mehring-design .mh-manu__lead {
    color: #c7ccd1;
    font-size: 17px;
    margin-bottom: 46px;
    max-width: 540px;
}
.mehring-design .mh-chain { display: flex; flex-wrap: wrap; }
.mehring-design .mh-chain span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-right: 34px;
    padding: 12px 0;
    position: relative;
    text-transform: uppercase;
}
.mehring-design .mh-chain span:not(:last-child)::after {
    color: var(--mehring-red);
    content: "\2192";
    font-weight: 800;
    position: absolute;
    right: -26px;
}

/* -- 7 Warum MEHRING ---------------------------------------------------- */
.mehring-design .mh-why.et_pb_section { background: var(--mehring-soft) !important; padding: 110px 0 !important; }
.mehring-design .mh-ppgrid {
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 56px !important;
}
.mehring-design .mh-ppgrid + .mh-ppgrid { margin-top: 26px !important; }
.mehring-design .mh-pp {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--mehring-line);
    color: var(--mehring-ink);
    display: flex;
    font-size: 14.5px;
    font-weight: 600;
    gap: 12px;
    height: 100%;
    padding: 26px 24px;
}
.mehring-design .mh-pp::before {
    color: var(--mehring-red);
    content: "\2713";
    font-size: 16px;
    font-weight: 800;
}

/* -- 8 Fuer Architekten & Planer ---------------------------------------- */
.mehring-design .mh-arch.et_pb_section { background: var(--mehring-dark) !important; padding: 110px 0 !important; }
.mehring-design .mh-arch .et_pb_row {
    align-items: center;
    display: grid;
    gap: 70px;
    grid-template-columns: 1.05fr .95fr;
}
.mehring-design .mh-arch .mh-title { color: #fff; font-size: clamp(32px, 3.6vw, 48px); }
.mehring-design .mh-arch__lead {
    color: #c7ccd1;
    font-size: 17px;
    margin: 20px 0 40px;
    max-width: 540px;
}
.mehring-design .mh-arch__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.mehring-design .mh-arch__btns a {
    border: 1px solid #4a5157;
    border-radius: 2px;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 13px 22px;
    transition: .2s;
}
.mehring-design .mh-arch__btns a:hover { background: var(--mehring-red); border-color: var(--mehring-red); }

/* -- 9 Referenzen ------------------------------------------------------- */
.mehring-design .mh-refs.et_pb_section { padding: 110px 0 !important; }
.mehring-design .mh-refhead {
    align-items: flex-end;
    display: flex;
    gap: 30px;
    justify-content: space-between;
}
.mehring-design .mh-refhead .mh-title { margin-bottom: 0; }
.mehring-design .mh-morelink {
    color: var(--mehring-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.mehring-design .mh-refgrid {
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 54px !important;
}
.mehring-design .mh-refgrid .et_pb_column { background: #fff; border: 1px solid var(--mehring-line); }
.mehring-design .mh-ref .et_pb_text_inner { padding: 28px 26px; }
.mehring-design .mh-ref__kat {
    color: var(--mehring-red);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.mehring-design .mh-ref__title {
    color: var(--mehring-ink);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.mehring-design .mh-ref__text { font-size: 14px; }
.mehring-design .mh-ref__text b { color: var(--mehring-ink); font-weight: 600; }

/* -- 10 Prozess --------------------------------------------------------- */
.mehring-design .mh-process.et_pb_section { background: var(--mehring-soft) !important; padding: 110px 0 !important; }
.mehring-design .mh-steps {
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-top: 56px !important;
}
.mehring-design .mh-step { border-top: 2px solid var(--mehring-ink); padding-top: 22px; }
.mehring-design .mh-step__n {
    color: var(--mehring-red);
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}
.mehring-design .mh-step h4 {
    color: var(--mehring-ink);
    font-size: 16.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.mehring-design .mh-step p { font-size: 13.5px; }

/* -- 11 Abschluss ------------------------------------------------------- */
.mehring-design .mh-final.et_pb_section {
    background: var(--mehring-dark) !important;
    padding: 150px 0 !important;
    text-align: center;
}
.mehring-design .mh-final__title {
    color: #fff;
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.12;
    margin-bottom: 24px;
}
.mehring-design .mh-final__lead {
    color: #c7ccd1;
    font-size: 19px;
    line-height: 1.7;
    margin: 0 auto 46px;
    max-width: 680px;
}
.mehring-design .mh-final .mh-btns { justify-content: center; }

/* -- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
    .mehring-design .mh-hero.et_pb_section { padding: 70px 0 !important; }
    .mehring-design .mh-solutions.et_pb_section,
    .mehring-design .mh-tasks.et_pb_section,
    .mehring-design .mh-custom.et_pb_section,
    .mehring-design .mh-why.et_pb_section,
    .mehring-design .mh-arch.et_pb_section,
    .mehring-design .mh-refs.et_pb_section,
    .mehring-design .mh-process.et_pb_section { padding: 70px 0 !important; }
    .mehring-design .mh-final.et_pb_section { padding: 90px 0 !important; }
    .mehring-design .mh-manu .et_pb_row,
    .mehring-design .mh-arch .et_pb_row { grid-template-columns: 1fr; gap: 0; }
    .mehring-design .mh-manu .mh-ph { min-height: 320px; }
    .mehring-design .mh-manu__body .et_pb_text_inner { padding: 60px 32px; }
    .mehring-design .mh-arch .et_pb_row { gap: 40px; }
    .mehring-design .mh-duo { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .mehring-design .mh-refhead { align-items: flex-start; flex-direction: column; gap: 16px; }
    .mehring-design .mh-card .et_pb_text_inner { padding: 32px 26px; }
    .mehring-design .mh-btns .mh-btn { width: 100%; text-align: center; }
}

/* -- Feinschliff Startseite --------------------------------------------- */
.mehring-design .mh-refhead { width: 100%; }

.mehring-design .mh-ppgrid .et_pb_column { display: flex; }
.mehring-design .mh-ppgrid .et_pb_text,
.mehring-design .mh-ppgrid .et_pb_text_inner { display: flex; width: 100%; }
.mehring-design .mh-ppgrid .mh-pp { width: 100%; }

.mehring-design .mh-final .et_pb_text,
.mehring-design .mh-final .et_pb_text_inner { text-align: center !important; }


/* =======================================================================
   Unterseiten – Umsetzung der Vorschau-Entwuerfe (Praefix mhs-)
   Gemeinsames System fuer Fristenbriefkaesten, XXL, Konfigurator,
   Unternehmen, Referenzen, Downloads und Kontakt.
   ======================================================================= */

/* -- Grundraster -------------------------------------------------------- */
.mehring-design [class*="mhs-"].et_pb_section > .et_pb_row {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    padding: 0 !important;
}
.mehring-design [class*="mhs-"].et_pb_section .et_pb_module { margin-bottom: 0 !important; }
.mehring-design [class*="mhs-"].et_pb_section .et_pb_column {
    flex: 0 1 auto;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}
.mehring-design [class*="mhs-"].et_pb_section .et_pb_text_inner > *:last-child { margin-bottom: 0; }
.mehring-design [class*="mhs-"].et_pb_section .et_pb_row + .et_pb_row { margin-top: 26px !important; }

.mehring-design .mhs-dot { color: var(--mehring-red); }

.mehring-design .mhs-lead {
    color: var(--mehring-red);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .18em;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.mehring-design .mhs-title {
    color: var(--mehring-ink);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.14;
    margin-bottom: 18px;
}
.mehring-design .mhs-intro {
    color: var(--mehring-body);
    font-size: 18px;
    max-width: 720px;
}
.mehring-design [class*="mhs-"] h3,
.mehring-design [class*="mhs-"] h4 { color: var(--mehring-ink); font-weight: 700; line-height: 1.14; }

/* -- Buttons ------------------------------------------------------------ */
.mehring-design .mhs-btns { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.mehring-design .mhs-btn {
    background: var(--mehring-red);
    border: 1px solid var(--mehring-red);
    border-radius: 2px;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 16px 32px;
    text-transform: uppercase;
    transition: .2s;
}
.mehring-design .mhs-btn:hover { background: #c60017; border-color: #c60017; color: #fff; }
.mehring-design .mhs-btn.mhs-ghost { background: transparent; border-color: #fff; color: #fff; }
.mehring-design .mhs-btn.mhs-ghost:hover { background: #fff; color: var(--mehring-ink); }
.mehring-design .mhs-btn.mhs-dark { background: var(--mehring-ink); border-color: var(--mehring-ink); }
.mehring-design .mhs-btn.mhs-dark:hover { background: var(--mehring-red); border-color: var(--mehring-red); }
.mehring-design .mhs-btn.mhs-line {
    background: #fff;
    border: 1.5px solid var(--mehring-ink);
    color: var(--mehring-ink);
}
.mehring-design .mhs-btn.mhs-line:hover { background: var(--mehring-ink); color: #fff; }

/* -- Bildplatzhalter ---------------------------------------------------- */
.mehring-design .mhs-ph {
    align-items: center;
    aspect-ratio: 16 / 10;
    background: linear-gradient(150deg, #e6e7e9, #d0d4d7);
    color: #9aa0a5;
    display: flex;
    font-size: 13px;
    justify-content: center;
    line-height: 1.6;
    text-align: center;
}
.mehring-design .mhs-ph .et_pb_text_inner { padding: 16px; }
.mehring-design .mhs-ph p { margin: 0; }
.mehring-design .mhs-ph--dark { background: linear-gradient(160deg, #26292c, #3d444b); color: #8d939a; }

/* -- Seitenkopf --------------------------------------------------------- */
.mehring-design .mhs-hero.et_pb_section {
    background: linear-gradient(115deg, #232629 0%, #3a4046 55%, #2b3035 100%) !important;
    color: #fff;
    padding: 60px 0 56px !important;
}
.mehring-design .mhs-hero .mhs-crumb {
    color: #aab0b6;
    font-size: 12.5px;
    letter-spacing: .03em;
    margin-bottom: 16px;
}
.mehring-design .mhs-hero .mhs-crumb a:hover { color: #fff; }
.mehring-design .mhs-hero h1 {
    color: #fff;
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.14;
    margin-bottom: 16px;
}
.mehring-design .mhs-hero p { color: #d5dade; font-size: 18px; font-weight: 300; max-width: 720px; }

/* -- Inhaltsabschnitte -------------------------------------------------- */
.mehring-design .mhs-section.et_pb_section { padding: 78px 0 !important; }
.mehring-design .mhs-section-soft.et_pb_section { background: var(--mehring-soft) !important; }
.mehring-design .mhs-final.et_pb_section {
    background: var(--mehring-dark) !important;
    padding: 100px 0 !important;
    text-align: center;
}
.mehring-design .mhs-final .et_pb_text,
.mehring-design .mhs-final .et_pb_text_inner { text-align: center !important; }
.mehring-design .mhs-final h2 {
    color: #fff;
    font-size: clamp(30px, 3.6vw, 44px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.mehring-design .mhs-final p {
    color: #c7ccd1;
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 38px;
    max-width: 640px;
}
.mehring-design .mhs-final .mhs-btns { justify-content: center; }

/* -- Raster: zweispaltig ------------------------------------------------ */
.mehring-design .mhs-two,
.mehring-design .mhs-contactcols,
.mehring-design .mhs-manu__row,
.mehring-design .mhs-svc,
.mehring-design .mhs-duo,
.mehring-design .mhs-pp,
.mehring-design .mhs-pts,
.mehring-design .mhs-grid3,
.mehring-design .mhs-modelgrid,
.mehring-design .mhs-steps { display: grid; }

.mehring-design .mhs-two { align-items: start; gap: 60px; grid-template-columns: 1.15fr .85fr; }
.mehring-design .mhs-contactcols { align-items: start; gap: 56px; grid-template-columns: 1.25fr .75fr; }

/* -- Box mit Kurzdaten -------------------------------------------------- */
.mehring-design .mhs-box {
    background: var(--mehring-soft);
    border-radius: 3px;
}
.mehring-design .mhs-box .et_pb_text_inner { padding: 32px 34px; }
.mehring-design table.mhs-spectable {
    border: 0 !important;
    border-collapse: collapse;
    margin-top: 6px;
    width: 100%;
}
.mehring-design .mhs-spectable tr,
.mehring-design .mhs-spectable td { border-left: 0; border-right: 0; }
.mehring-design .mhs-spectable td {
    border-top: 1px solid var(--mehring-line);
    font-size: 15px;
    padding: 13px 0;
    vertical-align: top;
}
.mehring-design .mhs-spectable tr:first-child td { border-top: 0; }
.mehring-design .mhs-spectable td:first-child { color: var(--mehring-muted); width: 46%; }
.mehring-design .mhs-spectable td:last-child { color: var(--mehring-ink); font-weight: 600; }

/* -- Modellraster ------------------------------------------------------- */
.mehring-design .mhs-modelgrid { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mehring-design .mhs-model {
    border: 1px solid var(--mehring-line);
    height: 100%;
}
.mehring-design .mhs-model .et_pb_text_inner { padding: 26px 24px; }
.mehring-design .mhs-tag {
    color: var(--mehring-red);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.mehring-design .mhs-model h4 { font-size: 19px; margin-bottom: 14px; }
.mehring-design .mhs-model ul { list-style: none; margin: 0; padding: 0; }
.mehring-design .mhs-model li {
    border-top: 1px solid var(--mehring-line);
    font-size: 13.5px;
    padding: 7px 0 7px 20px;
    position: relative;
}
.mehring-design .mhs-model li:first-child { border-top: 0; }
.mehring-design .mhs-model li::before {
    color: var(--mehring-red);
    content: "\2013";
    font-weight: 800;
    left: 0;
    position: absolute;
}

/* -- Merkmale (Haken) und Kurzpunkte ------------------------------------ */
.mehring-design .mhs-pp { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.mehring-design .mhs-pp .et_pb_column { display: flex; }
.mehring-design .mhs-pp .et_pb_text,
.mehring-design .mhs-pp .et_pb_text_inner { display: flex; width: 100%; }
.mehring-design .mhs-pp .et_pb_text_inner {
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--mehring-line);
    color: var(--mehring-ink);
    font-size: 14.5px;
    font-weight: 600;
    gap: 12px;
    padding: 24px 22px;
}
.mehring-design .mhs-pp .et_pb_text_inner::before {
    color: var(--mehring-red);
    content: "\2713";
    font-size: 16px;
    font-weight: 800;
}
.mehring-design .mhs-pp p { margin: 0; }

.mehring-design .mhs-pts { gap: 26px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mehring-design .mhs-pt {
    border-top: 2px solid var(--mehring-red);
    font-size: 14.5px;
    padding-top: 20px;
}
.mehring-design .mhs-pt b {
    color: var(--mehring-ink);
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

/* -- Kartenraster (Bauformen, Referenzen, Lösungswege) ------------------ */
.mehring-design .mhs-grid3 { gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mehring-design .mhs-duo { gap: 26px; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.mehring-design .mhs-grid3 .et_pb_column,
.mehring-design .mhs-duo .et_pb_column { background: #fff; border: 1px solid var(--mehring-line); }
.mehring-design .mhs-duo .mhs-ph { aspect-ratio: 16 / 9; }
.mehring-design .mhs-cardbody .et_pb_text_inner { padding: 24px 24px; }
.mehring-design .mhs-duo .mhs-cardbody .et_pb_text_inner { padding: 38px 40px; }
.mehring-design .mhs-kat {
    color: var(--mehring-red);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.mehring-design .mhs-cardbody h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.mehring-design .mhs-cardbody h4 { font-size: 18px; margin-bottom: 8px; }
.mehring-design .mhs-cardbody p { font-size: 14px; }
.mehring-design .mhs-sub { color: var(--mehring-body); font-size: 15px; margin-bottom: 20px; }
.mehring-design .mhs-cardbody ul { list-style: none; margin: 0 0 26px; padding: 0; }
.mehring-design .mhs-cardbody li {
    border-top: 1px solid var(--mehring-line);
    font-size: 14px;
    padding: 8px 0 8px 24px;
    position: relative;
}
.mehring-design .mhs-cardbody li:first-child { border-top: 0; }
.mehring-design .mhs-cardbody li::before {
    color: var(--mehring-red);
    content: "\2713";
    font-weight: 800;
    left: 0;
    position: absolute;
}

/* -- Dunkler Split (Fertigung) ------------------------------------------ */
.mehring-design .mhs-manu.et_pb_section { background: var(--mehring-dark) !important; padding: 0 !important; }
.mehring-design .mhs-manu .et_pb_row {
    align-items: stretch;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    max-width: none !important;
    width: 100% !important;
}
.mehring-design .mhs-manu .mhs-ph { aspect-ratio: auto; height: 100%; min-height: 440px; }
.mehring-design .mhs-manu .et_pb_column:last-child { padding: 84px clamp(30px, 4.5vw, 74px) !important; }
.mehring-design .mhs-manu h2 {
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.mehring-design .mhs-manu .mhs-title { color: #fff; }
.mehring-design .mhs-manu p { color: #c7ccd1; font-size: 17px; max-width: 560px; }
.mehring-design .mhs-manu .et_pb_text + .et_pb_text { margin-top: 20px !important; }
.mehring-design .mhs-chain { display: flex; flex-wrap: wrap; margin-top: 16px; }
.mehring-design .mhs-chain div {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-right: 34px;
    padding: 12px 0;
    position: relative;
    text-transform: uppercase;
}
.mehring-design .mhs-chain div:not(:last-child)::after {
    color: var(--mehring-red);
    content: "\2192";
    font-weight: 800;
    position: absolute;
    right: -26px;
}

/* -- Servicekarten ------------------------------------------------------ */
.mehring-design .mhs-svc { gap: 26px; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.mehring-design .mhs-svccard { border: 1px solid var(--mehring-line); height: 100%; }
.mehring-design .mhs-svccard .et_pb_text_inner { padding: 38px 40px; }
.mehring-design .mhs-n {
    color: var(--mehring-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    margin-bottom: 14px;
    text-transform: uppercase;
}
.mehring-design .mhs-svccard h3 { font-size: 22px; margin-bottom: 12px; }
.mehring-design .mhs-svccard p { font-size: 15px; }

/* -- Ablaufschritte ----------------------------------------------------- */
.mehring-design .mhs-steps { gap: 22px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mehring-design .mhs-step { border-top: 2px solid var(--mehring-ink); padding-top: 22px; }
.mehring-design .mhs-step .mhs-n { color: var(--mehring-red); font-size: 13px; letter-spacing: 0; margin-bottom: 10px; }
.mehring-design .mhs-step h4 { font-size: 16px; margin-bottom: 8px; }
.mehring-design .mhs-step p { font-size: 13.5px; }

/* -- Downloadliste ------------------------------------------------------ */
.mehring-design .mhs-dl { border-top: 1px solid var(--mehring-line); margin-top: 44px !important; }
.mehring-design .mhs-dlrow {
    align-items: center;
    border-bottom: 1px solid var(--mehring-line);
    display: flex;
    gap: 24px;
    padding: 22px 0;
}
.mehring-design .mhs-dlrow .mhs-ic {
    align-items: center;
    border: 1px solid var(--mehring-line);
    color: var(--mehring-red);
    display: flex;
    flex: none;
    font-size: 12px;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}
.mehring-design .mhs-dlrow .mhs-t { flex: 1; }
.mehring-design .mhs-dlrow h4 { font-size: 17.5px; margin-bottom: 3px; }
.mehring-design .mhs-dlrow p { font-size: 14px; margin: 0; }
.mehring-design .mhs-dlrow .mhs-meta {
    color: var(--mehring-muted);
    font-size: 11.5px;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}
.mehring-design .mhs-dlrow .mhs-act {
    color: var(--mehring-red);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* -- Hinweisbox --------------------------------------------------------- */
.mehring-design .mhs-note {
    background: #fdeef0;
    border-radius: 3px;
    color: #a11220;
    font-size: 14px;
    margin-top: 36px !important;
}
.mehring-design .mhs-note .et_pb_text_inner { padding: 18px 22px; }
.mehring-design .mhs-note p { margin: 0; }

/* -- Kontakt: Formular und Infospalte ----------------------------------- */
/* .mhs-form traegt jetzt das Divi-Kontaktformular – Rasterung siehe unten */
.mehring-design .mhs-field { display: flex; flex-direction: column; gap: 7px; }
.mehring-design .mhs-field.mhs-full { grid-column: 1 / -1; }
.mehring-design .mhs-field label { color: var(--mehring-ink); font-size: 13px; font-weight: 600; }
.mehring-design .mhs-field input,
.mehring-design .mhs-field select,
.mehring-design .mhs-field textarea {
    background: #fff;
    border: 1px solid var(--mehring-line);
    border-radius: 2px;
    color: var(--mehring-ink);
    font: inherit;
    font-size: 15px;
    padding: 13px 14px;
}
.mehring-design .mhs-field textarea { min-height: 140px; resize: vertical; }
.mehring-design .mhs-infoblock h4 {
    color: var(--mehring-ink);
    font-size: 13px;
    letter-spacing: .1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.mehring-design .mhs-infoblock p { font-size: 15px; margin-bottom: 24px; }

/* -- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
    .mehring-design .mhs-section.et_pb_section { padding: 56px 0 !important; }
    .mehring-design .mhs-hero.et_pb_section { padding: 44px 0 42px !important; }
    .mehring-design .mhs-final.et_pb_section { padding: 70px 0 !important; }
    .mehring-design .mhs-two,
    .mehring-design .mhs-contactcols,
    .mehring-design .mhs-manu .et_pb_row,
    .mehring-design .mhs-form { grid-template-columns: 1fr; }
    .mehring-design .mhs-two { gap: 40px; }
    .mehring-design .mhs-manu .mhs-ph { min-height: 300px; }
    .mehring-design .mhs-manu .et_pb_column:last-child { padding: 52px 30px !important; }
    .mehring-design .mhs-duo { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .mehring-design .mhs-dlrow { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
    .mehring-design .mhs-dlrow .mhs-t { flex: 1 0 100%; order: 1; }
    .mehring-design .mhs-btns .mhs-btn { text-align: center; width: 100%; }
}

/* -- Links in Unterseiten-Abschnitten erben die Textfarbe --------------- */
.mehring-design [class*="mhs-"] a:not(.mhs-btn):not(.mhs-act) { color: inherit; }
.mehring-design [class*="mhs-"] a:not(.mhs-btn):not(.mhs-act):hover { color: var(--mehring-red); }
.mehring-design .mhs-hero a:not(.mhs-btn):hover,
.mehring-design .mhs-manu a:not(.mhs-btn):hover,
.mehring-design .mhs-final a:not(.mhs-btn):hover { color: #fff; }
.mehring-design .mhs-crumb a { text-decoration: underline; }

/* =======================================================================
   Abstandskorrektur: Divi-5-Sektionen und -Spalten sind Flexboxen mit
   60px Gap. Der Gap wird abgeschaltet, alle Abstaende kommen aus diesem
   Stylesheet – so entsprechen sie den Entwuerfen.
   ======================================================================= */
.mehring-design [class*="mh-"].et_pb_section,
.mehring-design [class*="mh-"].et_pb_section .et_pb_column,
.mehring-design [class*="mhs-"].et_pb_section,
.mehring-design [class*="mhs-"].et_pb_section .et_pb_column { row-gap: 0 !important; }

.mehring-design .mhs-crumb { margin-bottom: 16px !important; }
.mehring-design .mhs-lead { margin-bottom: 16px !important; }
.mehring-design .mhs-title { margin-bottom: 18px !important; }

.mehring-design [class*="mhs-"].et_pb_section .et_pb_row + .et_pb_row { margin-top: 50px !important; }
.mehring-design .mhs-pp + .mhs-pp,
.mehring-design .mhs-modelgrid + .mhs-modelgrid,
.mehring-design .mhs-steps + .mhs-steps { margin-top: 22px !important; }
.mehring-design .mhs-grid3 + .mhs-grid3 { margin-top: 24px !important; }
.mehring-design .mhs-pts + .mhs-pts,
.mehring-design .mhs-svc + .mhs-svc,
.mehring-design .mhs-duo + .mhs-duo { margin-top: 26px !important; }

/* Modul- und Zeilenabstaende auf Entwurfsmass (Spezifitaet der Grundregeln schlagen) */
.mehring-design [class*="mhs-"].et_pb_section .mhs-crumb { margin-bottom: 16px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-lead { margin-bottom: 16px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-title { margin-bottom: 18px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-note { margin-top: 36px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-dl { margin-top: 44px !important; }

.mehring-design [class*="mhs-"].et_pb_section .mhs-pp + .mhs-pp,
.mehring-design [class*="mhs-"].et_pb_section .mhs-modelgrid + .mhs-modelgrid,
.mehring-design [class*="mhs-"].et_pb_section .mhs-steps + .mhs-steps { margin-top: 22px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-grid3 + .mhs-grid3 { margin-top: 24px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-pts + .mhs-pts,
.mehring-design [class*="mhs-"].et_pb_section .mhs-svc + .mhs-svc,
.mehring-design [class*="mhs-"].et_pb_section .mhs-duo + .mhs-duo { margin-top: 26px !important; }

/* Startseite: Zeilenabstaende auf Entwurfsmass V6 */
.mehring-design [class*="mh-"].et_pb_section .mh-duo,
.mehring-design [class*="mh-"].et_pb_section .mh-pts,
.mehring-design [class*="mh-"].et_pb_section .mh-chgrid,
.mehring-design [class*="mh-"].et_pb_section .mh-ppgrid,
.mehring-design [class*="mh-"].et_pb_section .mh-steps { margin-top: 56px !important; }
.mehring-design [class*="mh-"].et_pb_section .mh-refgrid { margin-top: 54px !important; }
.mehring-design [class*="mh-"].et_pb_section .mh-chgrid + .mh-chgrid { margin-top: 30px !important; }
.mehring-design [class*="mh-"].et_pb_section .mh-ppgrid + .mh-ppgrid { margin-top: 26px !important; }

/* Prozesskette liegt als Modul vor – Flexlayout im Modulinhalt setzen */
.mehring-design .mhs-chain .et_pb_text_inner { display: flex; flex-wrap: wrap; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-chain { margin-top: 16px !important; }

/* =======================================================================
   WPForms im Entwurfsdesign
   Die Formulare werden per Shortcode in ein Divi-Textmodul mit der Klasse
   mhs-form eingebunden, z. B. [wpforms id="111"].
   ======================================================================= */
.mehring-design .wpforms-container { margin: 0 !important; max-width: none; }
.mehring-design .wpforms-form {
    column-gap: 18px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 0;
}
.mehring-design .wpforms-form .wpforms-field { margin-bottom: 20px !important; }
.mehring-design .wpforms-form .wpforms-field {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 !important;
}
/* Halbbreite Felder in mehrspaltigen Formularen */
.mehring-design .wpforms-form .wpforms-field.mhs-halb {
    flex: 0 0 calc(50% - 9px);
    max-width: calc(50% - 9px);
}

.mehring-design .wpforms-field-label {
    color: var(--mehring-ink) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 7px !important;
}
.mehring-design .wpforms-required-label { color: var(--mehring-red) !important; }
.mehring-design .wpforms-field-description {
    color: var(--mehring-muted);
    font-size: 13px;
    margin-top: 6px;
}

.mehring-design .wpforms-field input[type="text"],
.mehring-design .wpforms-field input[type="email"],
.mehring-design .wpforms-field input[type="tel"],
.mehring-design .wpforms-field input[type="url"],
.mehring-design .wpforms-field input[type="number"],
.mehring-design .wpforms-field select,
.mehring-design .wpforms-field textarea {
    background: #fff !important;
    border: 1px solid var(--mehring-line) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    color: var(--mehring-ink) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    max-width: none !important;
    padding: 13px 14px !important;
    width: 100% !important;
}
.mehring-design .wpforms-field textarea { min-height: 140px !important; resize: vertical; }
.mehring-design .wpforms-field input:focus,
.mehring-design .wpforms-field select:focus,
.mehring-design .wpforms-field textarea:focus {
    border-color: var(--mehring-red) !important;
    outline: none !important;
}

/* Datenschutz-Einwilligung */
.mehring-design .wpforms-field-checkbox ul { list-style: none; margin: 0; padding: 0; }
.mehring-design .wpforms-field-checkbox li { display: flex; gap: 10px; align-items: flex-start; }
.mehring-design .wpforms-field-checkbox input[type="checkbox"] {
    accent-color: var(--mehring-red);
    flex: none;
    margin-top: 3px;
    width: 17px;
    height: 17px;
}
.mehring-design .wpforms-field-checkbox label {
    color: var(--mehring-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.55;
}

/* Absendebutton */
.mehring-design .wpforms-submit-container { flex: 0 0 100%; padding: 0 !important; }
.mehring-design button.wpforms-submit,
.mehring-design .wpforms-container button[type="submit"] {
    background: var(--mehring-red) !important;
    border: 1px solid var(--mehring-red) !important;
    border-radius: 2px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    padding: 16px 32px !important;
    text-transform: uppercase !important;
    transition: .2s;
}
.mehring-design button.wpforms-submit:hover,
.mehring-design .wpforms-container button[type="submit"]:hover {
    background: #c60017 !important;
    border-color: #c60017 !important;
}

/* Meldungen */
.mehring-design .wpforms-confirmation-container-full,
.mehring-design div.wpforms-confirmation-container-full {
    background: var(--mehring-soft) !important;
    border: 1px solid var(--mehring-line) !important;
    border-left: 3px solid var(--mehring-red) !important;
    color: var(--mehring-ink) !important;
    padding: 22px 24px !important;
}
.mehring-design .wpforms-error { color: var(--mehring-red) !important; font-size: 13px !important; }
.mehring-design .wpforms-field input.wpforms-error,
.mehring-design .wpforms-field textarea.wpforms-error,
.mehring-design .wpforms-field select.wpforms-error { border-color: var(--mehring-red) !important; }

@media (max-width: 640px) {
    .mehring-design .wpforms-form .wpforms-field.mhs-halb { flex: 0 0 100%; max-width: 100%; }
}

/* =======================================================================
   Briefkasten-Konfigurator (Praefix mk-)
   Markup: <div class="mk" data-form="114"></div>, Logik in assets/js/mehring-menu.js
   ======================================================================= */
.mehring-design .mk {
    align-items: start;
    display: grid;
    gap: 44px;
    grid-template-columns: .92fr 1.08fr;
}
.mehring-design .mk__preview {
    background: var(--mehring-soft);
    border-radius: 8px;
    padding: 28px;
    position: sticky;
    top: 20px;
}
.mehring-design .mk__stage {
    align-items: center;
    background: #fff;
    border: 1px solid var(--mehring-line);
    border-radius: 6px;
    display: flex;
    height: 340px;
    justify-content: center;
    padding: 16px;
}
.mehring-design .mk__stage svg,
.mehring-design .mk__stage img {
    display: block;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}
.mehring-design .mk__caption {
    color: var(--mehring-muted);
    font-size: 13px;
    margin: 16px 0 0;
    text-align: center;
}
.mehring-design .mk__summary { font-size: 14px; margin-top: 22px; }
.mehring-design .mk__summary-title {
    color: var(--mehring-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.mehring-design .mk__row {
    border-top: 1px solid var(--mehring-line);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 7px 0;
}
.mehring-design .mk__row:first-of-type { border-top: 0; }
.mehring-design .mk__row span:first-child { color: var(--mehring-muted); }
.mehring-design .mk__row span:last-child { color: var(--mehring-ink); font-weight: 600; text-align: right; }

.mehring-design .mk__stepbar { display: flex; gap: 6px; margin-bottom: 26px; }
.mehring-design .mk__step {
    border-top: 2px solid var(--mehring-line);
    color: var(--mehring-muted);
    flex: 1;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .04em;
    padding-top: 8px;
    text-align: center;
    text-transform: uppercase;
}
.mehring-design .mk__step.is-active { border-color: var(--mehring-red); color: var(--mehring-ink); }
.mehring-design .mk__step.is-done { border-color: var(--mehring-red); color: var(--mehring-red); }

.mehring-design .mk__steptitle {
    color: var(--mehring-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.mehring-design .mk__h2 {
    color: var(--mehring-ink);
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 24px;
}

.mehring-design .mk__opts { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.mehring-design .mk__opt {
    align-items: center;
    background: #fff;
    border: 1px solid var(--mehring-line);
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    font: inherit;
    gap: 14px;
    padding: 18px 20px;
    text-align: left;
    transition: .15s;
    width: 100%;
}
.mehring-design .mk__opt:hover { border-color: var(--mehring-muted); }
.mehring-design .mk__opt.is-selected {
    border-color: var(--mehring-red);
    box-shadow: inset 0 0 0 1px var(--mehring-red);
}
.mehring-design .mk__opt-tx { display: block; }
.mehring-design .mk__opt-name {
    color: var(--mehring-ink);
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}
.mehring-design .mk__opt-meta { color: var(--mehring-muted); display: block; font-size: 12.5px; }
.mehring-design .mk__swatch {
    border: 1px solid #ccc;
    border-radius: 50%;
    flex: none;
    height: 30px;
    width: 30px;
}
.mehring-design .mk__hinweis {
    background: #fdeef0;
    border-radius: 3px;
    color: #a11220;
    font-size: 13.5px;
    padding: 14px 16px;
}

.mehring-design .mk__nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; }
.mehring-design .mk__btn {
    background: #fff;
    border: 1px solid var(--mehring-ink);
    border-radius: 2px;
    color: var(--mehring-ink);
    cursor: pointer;
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 14px 28px;
    text-transform: uppercase;
}
.mehring-design .mk__btn--primary {
    background: var(--mehring-red);
    border-color: var(--mehring-red);
    color: #fff;
}
.mehring-design .mk__btn:disabled { cursor: not-allowed; opacity: .35; }

.mehring-design .mk__recap {
    background: var(--mehring-soft);
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 22px;
    padding: 20px 22px;
}
.mehring-design .mk__recap b { color: var(--mehring-ink); }

@media (max-width: 980px) {
    .mehring-design .mk { grid-template-columns: 1fr; gap: 32px; }
    .mehring-design .mk__preview { position: static; }
    .mehring-design .mk__opts { grid-template-columns: 1fr; }
    .mehring-design .mk__step { font-size: 0; padding-top: 6px; }
}

/* Feinschliff Konfigurator und lange Auswahltexte */
.mehring-design .wpforms-field select {
    height: auto !important;
    line-height: 1.35 !important;
    text-overflow: ellipsis;
}
.mehring-design .mk__step {
    font-size: 9.5px;
    letter-spacing: 0;
    line-height: 1.3;
}
.mehring-design .mk__preview .mk__stage { height: 300px; }
.mehring-design #mk-anfrage { margin-top: 34px; }
.mehring-design #mk-anfrage .mk__h2 { margin-bottom: 20px; }

/* Schrittleiste auf schmalen Bildschirmen: umbrechen statt die Seite zu verbreitern */
@media (max-width: 980px) {
    .mehring-design .mk__stepbar {
        flex-wrap: wrap;
        gap: 6px 4px;
        max-width: 100%;
    }
    .mehring-design .mk__step {
        flex: 0 0 calc(25% - 3px);
        font-size: 9px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .mehring-design .mk,
    .mehring-design .mk__panel,
    .mehring-design .mk__preview { max-width: 100%; min-width: 0; }
}

/* WPForms-Spamschutzfelder (1px hoch, aria-hidden) sollen keinen Abstand erzeugen */
.mehring-design .wpforms-form .wpforms-field:has(> label[aria-hidden="true"]) {
    margin-bottom: 0 !important;
}

/* =======================================================================
   Rechtstexte (Impressum, Datenschutz) – auf Lesbarkeit ausgelegt
   ======================================================================= */
.mehring-design .mhs-legal { max-width: 820px; }
.mehring-design .mhs-legal .et_pb_text_inner > *:first-child { margin-top: 0; }
.mehring-design .mhs-legal h2 {
    color: var(--mehring-ink);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
    margin: 46px 0 14px;
}
.mehring-design .mhs-legal h3 {
    color: var(--mehring-ink);
    font-size: 19px;
    font-weight: 700;
    margin: 30px 0 10px;
}
.mehring-design .mhs-legal h4 {
    color: var(--mehring-ink);
    font-size: 16px;
    font-weight: 700;
    margin: 22px 0 8px;
}
.mehring-design .mhs-legal p { font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.mehring-design .mhs-legal ul,
.mehring-design .mhs-legal ol { margin: 0 0 16px 20px; }
.mehring-design .mhs-legal li { font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.mehring-design .mhs-legal a { color: var(--mehring-red); text-decoration: underline; }
.mehring-design .mhs-legal a:hover { color: var(--mehring-ink); }
.mehring-design .mhs-legal strong { color: var(--mehring-ink); font-weight: 600; }

/* Bildflächen mit echtem Bild: Verlauf weg, Motiv vollständig zeigen */
.mehring-design .mhs-ph--bild,
.mehring-design .mh-ph--bild {
    background: #fff !important;
    padding: 0 !important;
}
.mehring-design .mhs-ph--bild .et_pb_text_inner,
.mehring-design .mh-ph--bild .et_pb_text_inner {
    height: 100%;
    padding: 0 !important;
    width: 100%;
}
.mehring-design .mhs-ph--bild img,
.mehring-design .mh-ph--bild img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

/* Service-Blöcke auf der Kontaktseite (Wartung, Reparatur) */
.mehring-design [class*="mhs-"].et_pb_section .mhs-servicebox { margin-top: 26px !important; }
.mehring-design .mhs-servicetel {
    align-items: flex-start;
    border-left: 3px solid var(--mehring-red);
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 14px 18px;
    background: #fff;
}
.mehring-design .mhs-section-soft .mhs-servicetel { background: #fff; }
.mehring-design .mhs-servicetel span {
    color: var(--mehring-red);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.mehring-design .mhs-servicetel a {
    color: var(--mehring-ink) !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
    text-decoration: none;
}
.mehring-design .mhs-servicetel a:hover { color: var(--mehring-red) !important; }
.mehring-design .mhs-note-inline {
    background: #fdeef0;
    border-radius: 3px;
    color: #a11220;
    font-size: 13.5px;
    margin-top: 14px;
    padding: 12px 16px;
}

/* Ausstattungsraster (Regendächer, Hinweisschilder) */
.mehring-design .mhs-ausstattung {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.mehring-design [class*="mhs-"].et_pb_section .mhs-ausstattung { margin-top: 26px !important; }
.mehring-design .mhs-ausstattung .et_pb_column {
    background: #fff;
    border: 1px solid var(--mehring-line);
}
.mehring-design .mhs-ausstattung .mhs-ph { aspect-ratio: 4 / 3; }
.mehring-design .mhs-ausstattung .mhs-cardbody .et_pb_text_inner { padding: 16px 18px 20px; }
.mehring-design .mhs-ausstattung .mhs-ref__title { font-size: 15.5px; margin-bottom: 0; }
.mehring-design .mhs-ausstattung .mhs-kat { font-size: 10.5px; margin-bottom: 5px; }
.mehring-design .mhs-untertitel {
    color: var(--mehring-ink);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}
.mehring-design [class*="mhs-"].et_pb_section .mhs-untertitel { margin-top: 0; }

/* Hochformatiges Bild (z. B. Steuergerät) */
.mehring-design .mhs-ph--hoch { aspect-ratio: 3 / 4; }
.mehring-design .mhs-two .mhs-ph--hoch { max-width: 420px; }

/* Hakenliste ausserhalb von Karten (z. B. Merkmale der Steuerung) */
.mehring-design .mhs-checks { list-style: none; margin: 18px 0 0; padding: 0; max-width: 720px; }
.mehring-design .mhs-checks li {
    border-top: 1px solid var(--mehring-line);
    font-size: 15px;
    padding: 10px 0 10px 26px;
    position: relative;
}
.mehring-design .mhs-checks li:first-child { border-top: 0; }
.mehring-design .mhs-checks li::before {
    color: var(--mehring-red);
    content: "\2713";
    font-weight: 800;
    left: 0;
    position: absolute;
}
.mehring-design .mhs-steuerung .mhs-intro,
.mehring-design .mhs-steuerung p { max-width: 720px; }

/* Steuerungsbereich als eigener weißer Block auf hellem Grund */
.mehring-design [class*="mhs-"].et_pb_section .mhs-steuerbox {
    align-items: center;
    background: #fff;
    border: 1px solid var(--mehring-line);
    border-radius: 4px;
    gap: 48px;
    padding: 48px 52px !important;
}
.mehring-design .mhs-steuerbox .mhs-ph { aspect-ratio: 4 / 3; }
.mehring-design .mhs-steuerbox .mhs-checks { margin-top: 20px; }

@media (max-width: 980px) {
    .mehring-design [class*="mhs-"].et_pb_section .mhs-steuerbox { gap: 32px; padding: 32px 26px; }
}

/* Technische Daten je Modell – aufklappbar */
.mehring-design .mhs-subtitle {
    color: var(--mehring-ink);
    font-size: clamp(22px, 2.2vw, 29px);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.18;
}
.mehring-design [class*="mhs-"].et_pb_section .mhs-subtitle { margin-bottom: 14px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-techwrap { margin-top: 14px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-techwrap:first-of-type { margin-top: 30px !important; }

.mehring-design .mhs-tech {
    background: #fff;
    border: 1px solid var(--mehring-line);
    border-radius: 4px;
}
.mehring-design .mhs-tech > summary {
    align-items: baseline;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 18px;
    list-style: none;
    padding: 22px 62px 22px 26px;
    position: relative;
}
.mehring-design .mhs-tech > summary::-webkit-details-marker { display: none; }
.mehring-design .mhs-tech > summary::after {
    border-bottom: 2px solid var(--mehring-red);
    border-right: 2px solid var(--mehring-red);
    content: "";
    height: 9px;
    position: absolute;
    right: 28px;
    top: 26px;
    transform: rotate(45deg);
    transition: transform .2s ease, top .2s ease;
    width: 9px;
}
.mehring-design .mhs-tech[open] > summary::after { top: 30px; transform: rotate(-135deg); }
.mehring-design .mhs-tech[open] > summary { border-bottom: 1px solid var(--mehring-line); }
.mehring-design .mhs-tech-name {
    color: var(--mehring-ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
}
.mehring-design .mhs-tech-meta { color: var(--mehring-muted); font-size: 14px; }

.mehring-design .mhs-tech-body {
    display: grid;
    gap: 30px 52px;
    grid-template-columns: 1fr 1fr;
    padding: 30px 26px 34px;
}
.mehring-design .mhs-tech-wide { grid-column: 1 / -1; }
.mehring-design .mhs-tech-body h5 {
    color: var(--mehring-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.mehring-design .mhs-tech-body h5.mhs-tech-sub { margin-top: 28px; }
.mehring-design .mhs-tech-body p { color: var(--mehring-body); font-size: 16px; margin: 0 0 10px; }
.mehring-design .mhs-tech-body p:last-child { margin-bottom: 0; }
.mehring-design .mhs-tech-body ul { list-style: none; margin: 0; padding: 0; }
.mehring-design .mhs-tech-body li {
    color: var(--mehring-body);
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}
.mehring-design .mhs-tech-body li::before {
    background: var(--mehring-red);
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    top: 9px;
    width: 5px;
}
.mehring-design .mhs-tech-mass {
    border-bottom: 1px solid var(--mehring-line);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    justify-content: space-between;
    padding: 9px 0;
}
.mehring-design .mhs-tech-mass span { color: var(--mehring-muted); font-size: 14px; }
.mehring-design .mhs-tech-mass strong { color: var(--mehring-ink); font-size: 15px; font-weight: 600; }

@media (max-width: 780px) {
    .mehring-design .mhs-tech-body { gap: 26px; grid-template-columns: 1fr; padding: 24px 20px 28px; }
    .mehring-design .mhs-tech > summary { padding: 18px 52px 18px 20px; }
}

/* Bauformen-Abschnitt auf der Loesungen-Seite */
.mehring-design .mhs-bauformen.et_pb_section { border-top: 1px solid var(--mehring-line); }
.mehring-design [class*="mhs-"].et_pb_section .mhs-bauformen-note { margin-top: 30px !important; }
.mehring-design .mhs-bauformen .mhs-btns { margin-top: 22px !important; }

/* Ghost-Button auch auf hellen Sektionen lesbar */
.mehring-design .mhs-section .mhs-btn.mhs-ghost {
    border-color: #cfd3d7;
    color: var(--mehring-ink);
}
.mehring-design .mhs-section .mhs-btn.mhs-ghost:hover { border-color: var(--mehring-ink); }

/* Feiner Zusatzhinweis ohne Warnfarbe */
.mehring-design .mhs-fine { color: var(--mehring-muted); font-size: 14px; margin: 0; }

/* Kompakte Uebersicht der Montagevarianten auf der Loesungen-Seite */
.mehring-design [class*="mhs-"].et_pb_section .mhs-bfstrip { margin-top: 34px !important; }
.mehring-design [class*="mhs-"].et_pb_section .mhs-bfnote { margin-top: 26px !important; }
.mehring-design .mhs-bf {
    display: grid;
    gap: 20px 16px;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    margin: 0;
    padding: 0;
}
.mehring-design .mhs-bf li { margin: 0; padding: 0; }
.mehring-design .mhs-bf a { color: inherit; display: block; text-decoration: none; }
.mehring-design .mhs-bf img {
    background: var(--mehring-soft);
    border: 1px solid var(--mehring-line);
    border-radius: 3px;
    display: block;
    height: auto;
    transition: border-color .2s ease;
    width: 100%;
}
.mehring-design .mhs-bf a:hover img { border-color: #c3c7cc; }
.mehring-design .mhs-bf-k {
    color: var(--mehring-red);
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-top: 12px;
    text-transform: uppercase;
}
.mehring-design .mhs-bf-t {
    color: var(--mehring-ink);
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 3px;
}
@media (max-width: 1100px) { .mehring-design .mhs-bf { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .mehring-design .mhs-bf { grid-template-columns: repeat(2, 1fr); } }

/* Original-Wortmarke im Header */
.mehring-design .mehring-logo__img,
.mehring-logo__img {
    display: block;
    height: 34px;
    width: auto;
}
@media (max-width: 900px) {
    .mehring-logo__img { height: 28px; }
}

/* Reiteransicht der Anfrageformulare */
.mehring-design .mhs-tabs__nav {
    border-bottom: 1px solid var(--mehring-line);
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 30px;
}
.mehring-design .mhs-tabs__btn {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--mehring-muted);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: -1px;
    padding: 14px 20px 13px;
    text-transform: uppercase;
    transition: color .15s ease, border-color .15s ease;
}
.mehring-design .mhs-tabs__btn:first-child { padding-left: 0; }
.mehring-design .mhs-tabs__btn:hover { color: var(--mehring-ink); }
.mehring-design .mhs-tabs__btn.is-active {
    border-bottom-color: var(--mehring-red);
    color: var(--mehring-ink);
}
.mehring-design .mhs-tabs__btn:focus-visible { outline: 2px solid var(--mehring-red); outline-offset: 2px; }
.mehring-design .mhs-tabs__panel[hidden] { display: none; }
.mehring-design .mhs-tabs__intro p { color: var(--mehring-body); margin: 0 0 12px; }
.mehring-design .mhs-tabs__intro .mhs-btns { margin-top: 22px; }
.mehring-design .mhs-tabs__panel .mhs-form { margin-top: 26px; }
@media (max-width: 620px) {
    .mehring-design .mhs-tabs__nav { gap: 0 4px; }
    .mehring-design .mhs-tabs__btn { font-size: 12px; padding: 12px 12px 11px; }
    .mehring-design .mhs-tabs__btn:first-child { padding-left: 0; }
}

/* Weiße Wortmarke im Footer */
.mehring-footer__brand .mehring-logo__img { height: 30px; margin-bottom: 12px; }

/* Schlussabschnitt: Spalte mittig statt linksbündig */
.mehring-design .mh-final.et_pb_section > .et_pb_row,
.mehring-design .mhs-final.et_pb_section > .et_pb_row { justify-content: center; }
.mehring-design .mh-final .et_pb_column,
.mehring-design .mhs-final .et_pb_column { align-items: center; }

/* Luft zwischen Text und Schaltflächen */
.mehring-design .mh-final.et_pb_section .mh-btns,
.mehring-design .mhs-final.et_pb_section .mhs-btns { margin-top: 20px !important; }

/* Fußzeile: Menülinks und Claim in Weiß */
.mehring-footer a { color: #fff; }
.mehring-footer a:hover { color: var(--mehring-red); }
.mehring-footer__brand > span { color: #fff; }

/* Barrierefreiheit: Kontraste auf WCAG-AA anheben */
:root { --mehring-muted-aa: #6b7178; --mehring-red-on-dark: #ff4d5e; }
.mehring-design .mh-card__cond { color: var(--mehring-muted-aa); }
.mehring-design .mehring-trust .mh-eyebrow, .mehring-design .mh-trust .mh-eyebrow, .mehring-design .mh-manu .mh-eyebrow, .mehring-design .mh-arch .mh-eyebrow, .mehring-design .mh-final .mh-eyebrow, .mehring-design .mh-hero .mh-eyebrow, .mehring-design .mhs-hero .mh-eyebrow, .mehring-design .mhs-manu .mh-eyebrow, .mehring-design .mhs-final .mh-eyebrow { color: var(--mehring-red-on-dark); }

/* Skiplink: nur bei Tastaturfokus sichtbar */
.mh-skiplink { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: 12px 20px; background: #fff; color: #16181b; font-weight: 700; text-decoration: none; }
.mh-skiplink:focus { left: 16px; top: 16px; outline: 3px solid #e2001a; outline-offset: 2px; }
#mh-main:focus { outline: none; }

/* Ueberschriften-Hierarchie: mh-step nutzt jetzt h3 statt h4 */
.mehring-design .mh-step h3 { color: var(--mehring-ink); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
