/* Startseite 2026 – Abschnitte aus dem Entwurf, alles unter .mbh gekapselt */
.mbh{background:var(--bg);color:var(--fg);font-family:var(--font-body);font-weight:300;font-size:17px;line-height:1.7;box-sizing:border-box}
.mbh *,.mbh *:before,.mbh *:after{box-sizing:border-box}
.mbh img{max-width:100%}
.mbh{
  --bg: #F8F9F9;
  --surface: #FFFFFF;
  --fg: #1E272C;
  --muted: #566168;
  --line: #DCE0E2;
  --accent: #E30F19;
  --accent-fg: #FFFFFF;
  --sell: #C90D17;
  --band: #2B353B;
  --band-fg: #F2F4F5;
  --hero-a: #2B353B;
  --hero-b: #4B575F;
  --hero-fg: #F4F6F5;
  --t1: #E2D2CF; --t2: #D9D2C3; --t3: #C3CCD6; --t4: #CFD8CC; --t5: #D6C9C4;
  --font-display: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
}
.mbh{
  background: var(--bg); color: var(--fg);
  font-family: var(--font-body); font-weight: 300; font-size: 17px; line-height: 1.7;
  padding-inline: 0;
}
.mbh a{ color: inherit; text-decoration: none; }
.mbh a:focus-visible,.mbh summary:focus-visible,.mbh button:focus-visible,.mbh input:focus-visible,.mbh select:focus-visible{ outline: 2px solid var(--accent); outline-offset: 3px; }
.mbh .wrap{ max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mbh h1,.mbh h2,.mbh h3{ font-family: var(--font-display); font-weight: 300; line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
.mbh h2{ font-size: clamp(32px, 4.2vw, 51.2px); }
.mbh h3{ font-size: 25.6px; font-weight: 400; }
.mbh p{ margin: 0; }
.mbh .eyebrow{ font-size: 11.52px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400; color: var(--muted); }
.mbh .section{ padding-block: clamp(56px, 9vw, 112px); }
.mbh .section-head{ display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; max-width: 760px; }
.mbh .btn{ display: inline-block; padding: 14px 30px; border: 1px solid currentColor; font-size: 11.84px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 400; transition: background .2s, color .2s; cursor: pointer; background: none; font-family: inherit; color: inherit; }
.mbh .btn:hover{ background: var(--fg); color: var(--bg); border-color: var(--fg); }
.mbh .btn.solid{ background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.mbh .btn.solid:hover{ opacity: .88; background: var(--accent); color: var(--accent-fg); }
.mbh .link{ font-size: 11.84px; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 400; }
.mbh .topbar{ background: var(--band); color: var(--band-fg); font-size: 12.48px; letter-spacing: 0.04em; }
.mbh .topbar .wrap{ display: flex; flex-wrap: wrap; gap: 6px 28px; padding-block: 9px; justify-content: space-between; align-items: center; }
.mbh .offices{ display: flex; flex-wrap: wrap; gap: 4px 22px; }
.mbh .offices span{ opacity: .65; margin-right: 6px; }
.mbh .lang{ display: flex; gap: 16px; }
.mbh .lang a{ opacity: .75; }
.mbh .lang a:hover{ opacity: 1; }
.mbh header.site{ background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.mbh header.site .wrap{ display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.mbh .logo{ font-family: var(--font-display); font-size: 27.2px; font-weight: 400; letter-spacing: 0.02em; line-height: 1; white-space: nowrap; }
.mbh .logo img{ display: block; height: 64px; width: auto; max-width: 100%; }
.mbh .logo small{ display: block; font-family: var(--font-body); font-size: 9.6px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-top: 6px; font-weight: 400; }
.mbh .menu summary{ list-style: none; cursor: pointer; font-size: 11.84px; letter-spacing: 0.2em; text-transform: uppercase; padding: 10px 0; }
.mbh .menu summary::-webkit-details-marker{ display: none; }
.mbh .menu nav{ display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px max(20px, env(safe-area-inset-left, 0px)) 20px; }
.mbh .menu nav a{ padding: 10px 0; font-size: 13.12px; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
@media (min-width: 960px){.mbh .menu summary{ display: none; }
.mbh .menu nav{ position: static; flex-direction: row; gap: 30px; border: 0; padding: 0; background: none; }
.mbh .menu nav a{ padding: 6px 0; border: 0; font-size: 11.84px; position: relative; }
.mbh .menu nav a::after{ content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s; }
.mbh .menu nav a:hover::after{ right: 0; }}
.mbh .hero{ background: linear-gradient(180deg, rgba(24,32,37,.62) 0%, rgba(24,32,37,.34) 45%, rgba(24,32,37,.74) 100%), url("../images/mb/mb-hero-2026.jpg?v=2") 62% center / cover no-repeat, var(--hero-a); color: var(--hero-fg); position: relative; overflow: hidden; }
.mbh .hero h1,.mbh .hero p.lead{ text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.mbh .hero .wrap{ position: relative; z-index: 1; padding-block: clamp(64px, 10vw, 128px) clamp(48px, 7vw, 84px); }
.mbh .hero .eyebrow{ color: rgba(244,246,245,.75); display: flex; align-items: center; gap: 14px; }
.mbh .hero .eyebrow::before{ content: ""; width: 44px; height: 3px; background: #E30F19; flex: none; }
.mbh .hero h1{ font-size: clamp(44.8px, 8vw, 102.4px); margin: 18px 0 20px; max-width: 14ch; }
.mbh .hero h1 em{ font-style: italic; font-weight: 300; }
.mbh .hero p.lead{ max-width: 52ch; color: rgba(244,246,245,.85); font-size: 16.8px; }
.mbh .search{ margin-top: 44px; background: rgba(255,255,255,.96); color: #14181B; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; box-shadow: 0 24px 60px rgba(0,0,0,.28); }
.mbh .search label{ display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-right: 1px solid #DEE1E0; border-bottom: 1px solid #DEE1E0; font-size: 10.56px; letter-spacing: 0.2em; text-transform: uppercase; color: #5C656B; }
.mbh .search select,.mbh .search input{ border: 0; background: transparent; font: inherit; font-size: 16px; letter-spacing: 0; text-transform: none; color: #14181B; padding: 4px 0; min-width: 0; width: 100%; }
.mbh .search button{ border: 0; background: #14181B; color: #fff; padding: 20px; font: inherit; font-size: 11.84px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.mbh .search button:hover{ background: #E30F19; }
.mbh .search select{ accent-color: #5B666D; }
.mbh .search ::selection{ background: #D9DDDF; color: #14181B; }
@supports (appearance: base-select){
  .search select, .search select::picker(select) { appearance: base-select; }
  .search select::picker(select) { background: #fff; border: 1px solid #DCE0E2; padding: 6px; box-shadow: 0 12px 32px rgba(0,0,0,.18); }
  .search select option { padding: 10px 12px; color: #14181B; background: #fff; }
  .search select option:hover, .search select option:focus-visible { background: #E9ECED; }
  .search select option:checked { background: #D9DDDF; }
  .search select option::checkmark { color: #5B666D; }
}
.mbh .hero-links{ display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 26px; }
.mbh .hero-links a{ font-size: 11.84px; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 3px; }
.mbh .hero-links a:hover{ border-color: #fff; }
.mbh .search-note{ margin-top: 14px; font-size: 13.12px; color: rgba(244,246,245,.7); max-width: 70ch; }
.mbh .intro{ display: grid; gap: 40px; grid-template-columns: 1fr; }
.mbh .intro .body{ display: grid; gap: 18px; color: var(--muted); max-width: 62ch; }
.mbh .news{ margin-top: 56px; border-top: 1px solid var(--line); }
.mbh .news a{ display: flex; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mbh .news .tag{ font-size: 10.56px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); min-width: 54px; font-weight: 500; }
.mbh .news a:hover span.t{ text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 900px){.mbh .intro{ grid-template-columns: 1fr 1fr; gap: 80px; }}
.mbh .tiles{ display: grid; gap: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mbh .tile{ position: relative; aspect-ratio: 4 / 5; max-width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; overflow: hidden; color: #14181B; transition: transform .3s; }
.mbh .tile::before{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(255,255,255,.25)); }
.mbh .tile:hover{ transform: translateY(-4px); }
.mbh .tile > *{ position: relative; }
.mbh .tile .k{ font-size: 10.24px; letter-spacing: 0.22em; text-transform: uppercase; opacity: .7; margin-bottom: 6px; }
.mbh .tile .n{ font-family: var(--font-display); font-size: 27.2px; line-height: 1.1; }
.mbh .tile .go{ font-size: 10.88px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 12px; opacity: 0; transition: opacity .25s; }
.mbh .tile:hover .go,.mbh .tile:focus-visible .go{ opacity: 1; }
@media (hover: none){.mbh .tile .go{ opacity: .8; }}
.mbh .tile.photo{ color: #fff; }
.mbh .tile.photo::before{ z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.72)); }
.mbh .tile.photo > .k,.mbh .tile.photo > .n,.mbh .tile.photo > .go{ position: relative; z-index: 2; color: #fff; }
.mbh .tile img{ position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; max-width: 100%; object-fit: cover; transition: transform .6s; }
.mbh .tile:hover img{ transform: scale(1.05); }
.mbh .tile.photo .k{ opacity: .85; }
.mbh .t1{ background: var(--t1); }
.mbh .t2{ background: var(--t2); }
.mbh .t3{ background: var(--t3); }
.mbh .t4{ background: var(--t4); }
.mbh .t5{ background: var(--t5); }
.mbh .tile.wide{ grid-column: 1 / -1; aspect-ratio: auto; min-height: clamp(240px, 30vw, 400px); padding: clamp(20px, 3vw, 44px); }
.mbh .tile.wide .n{ font-size: clamp(27.2px, 3.4vw, 44.8px); max-width: 26ch; }
.mbh .tile.wide .k{ font-size: 11.52px; }
.mbh .tile.wide .go{ opacity: 1; }
@media (max-width: 999px){.mbh .tiles{ grid-template-columns: 1fr 1fr; }
.mbh .tile:not(.wide){ aspect-ratio: 1 / 1; }}
@media (max-width: 520px){.mbh .tile{ padding: 16px; }
.mbh .tile .n{ font-size: 20.8px; }
.mbh .tile.wide{ min-height: 260px; }}
.mbh .stats{ background: var(--band); color: var(--band-fg); }
.mbh .stats .wrap{ padding-block: clamp(56px, 8vw, 96px); }
.mbh .stats .grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; margin-top: 44px; }
@media (min-width: 700px){.mbh .stats .grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }}
@media (min-width: 1100px){.mbh .stats .grid{ grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 28px; }}
.mbh .stat{ border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.mbh .stat b{ display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(36.8px, 4.4vw, 54.4px); line-height: 1; font-variant-numeric: tabular-nums; }
.mbh .stat span{ display: block; margin-top: 10px; font-size: 12.8px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .72; }
.mbh .stats .eyebrow{ color: rgba(242,243,241,.6); }
.mbh .stats h2{ margin-top: 14px; max-width: 18ch; }
.mbh .types{ display: grid; gap: 0; border-top: 1px solid var(--line); }
.mbh .type{ display: grid; gap: 14px 40px; padding: 34px 0; border-bottom: 1px solid var(--line); grid-template-columns: 1fr; }
.mbh .type img{ display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 560 / 250; object-fit: cover; }
.mbh .type h3{ display: flex; align-items: baseline; gap: 14px; }
.mbh .type p{ color: var(--muted); max-width: 70ch; }
.mbh .type .link{ align-self: start; justify-self: start; }
@media (min-width: 900px){.mbh .type{ grid-template-columns: 320px 0.8fr 1.5fr auto; align-items: start; }
.mbh .type h3{ padding-top: 6px; }
.mbh .type p{ padding-top: 6px; }}
.mbh .pillars{ display: grid; gap: 40px 48px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mbh .pillar{ display: flex; flex-direction: column; gap: 14px; }
.mbh .pillar p{ color: var(--muted); }
.mbh .pillar .rule{ width: 44px; height: 1px; background: var(--accent); }
.mbh .pillar img{ display: block; width: 180px; height: 180px; max-width: 100%; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.mbh .author{ display: flex; gap: 22px; align-items: flex-start; margin-top: 64px; padding: 30px; background: var(--surface); border: 1px solid var(--line); }
.mbh .author .ini{ flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; }
.mbh .author p{ color: var(--muted); font-size: 15.04px; }
.mbh .author b{ font-weight: 500; color: var(--fg); display: block; margin-bottom: 4px; letter-spacing: 0.04em; }
@media (max-width: 560px){.mbh .author{ flex-direction: column; padding: 22px; }}
.mbh .guide{ display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.mbh .guide a{ display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .25s; min-width: 0; }
.mbh .guide a:hover{ border-color: var(--accent); transform: translateY(-3px); }
.mbh .guide a{ overflow: hidden; }
.mbh .guide img{ display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 8px; aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.mbh .guide p{ color: var(--muted); font-size: 15.04px; flex: 1; }
.mbh .dl{ display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.mbh .dl > div{ display: flex; flex-direction: column; gap: 16px; padding: 34px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.mbh .dl p{ color: var(--muted); font-size: 15.36px; }
.mbh .dl > div{ overflow: hidden; }
.mbh .cover{ display: grid; place-items: center; height: 280px; padding: 24px; margin: -34px -34px 4px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mbh .cover img{ display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.mbh .dl .link{ align-self: flex-start; margin-top: auto; }
.mbh .sell{ background: var(--sell); color: #fff; }
.mbh .sell .wrap{ padding-block: clamp(64px, 9vw, 110px); display: grid; gap: 28px; max-width: 880px; }
.mbh .sell p{ color: rgba(244,246,245,.85); max-width: 60ch; }
.mbh .sell .eyebrow{ color: rgba(244,246,245,.65); }
.mbh .sell .btn:hover{ background: #fff; color: #14181B; border-color: #fff; }
.mbh .quotes{ display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.mbh blockquote{ margin: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 22px; border-top: 1px solid var(--fg); min-width: 0; }
.mbh blockquote p{ font-family: var(--font-display); font-size: 21.12px; line-height: 1.4; font-weight: 300; }
.mbh blockquote footer{ font-size: 11.84px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.mbh .award{ margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mbh .award p{ color: var(--muted); max-width: 70ch; font-size: 15.04px; }
.mbh .faq{ max-width: 860px; border-top: 1px solid var(--line); }
.mbh .faq details{ border-bottom: 1px solid var(--line); }
.mbh .faq summary{ list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font-family: var(--font-display); font-size: 23.2px; line-height: 1.25; position: relative; }
.mbh .faq summary::-webkit-details-marker{ display: none; }
.mbh .faq summary::after{ content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); font-size: 22.4px; font-weight: 300; transition: transform .2s; }
.mbh .faq details[open] summary::after{ transform: translateY(-50%) rotate(45deg); }
.mbh .faq details p{ padding: 0 0 24px; color: var(--muted); max-width: 70ch; }
.mbh .locations{ display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.mbh .loc{ border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.mbh .loc b{ font-family: var(--font-display); font-weight: 400; font-size: 25.6px; }
.mbh .loc span{ font-variant-numeric: tabular-nums; color: var(--muted); user-select: all; }
.mbh footer.site{ background: var(--band); color: var(--band-fg); font-size: 14.4px; }
.mbh footer.site .wrap{ padding-block: 64px 36px; display: grid; gap: 44px; }
.mbh .fgrid{ display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mbh .fgrid h4{ margin: 0 0 14px; font-size: 10.88px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 400; opacity: .6; }
.mbh .fgrid ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mbh .fgrid a{ opacity: .85; }
.mbh .fgrid a:hover{ opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.mbh .regions{ columns: 2; column-gap: 24px; }
.mbh .regions li{ break-inside: avoid; margin-bottom: 6px; }
.mbh .fbase{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); opacity: .8; font-size: 13.12px; }
.mbh .fbase nav{ display: flex; flex-wrap: wrap; gap: 8px 22px; }
.mbh .social{ display: flex; gap: 22px; margin-top: 4px; }
.mbh .themebtn{ border: 1px solid rgba(255,255,255,.35); background: none; color: inherit; font: inherit; font-size: 11.2px; letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 16px; cursor: pointer; }
.mbh h1,.mbh h2,.mbh h3{font-family:var(--font-display)!important;font-weight:300!important;color:inherit;line-height:1.1;letter-spacing:-.01em;margin:0}
.mbh h2{font-size:clamp(32px,4.2vw,51px)!important}
.mbh h3{font-size:26px!important;font-weight:400!important}
.mbh p,.mbh li,.mbh div,.mbh span,.mbh a,.mbh summary,.mbh blockquote{font-family:var(--font-body)}
.mbh a{color:inherit;text-decoration:none}
.mbh .btn{border-radius:0;font-size:12px;letter-spacing:.2em;padding:14px 30px}
.mbh .btn.solid{background:var(--accent)!important;color:#fff!important;border-color:var(--accent)!important}

.mbh .news a{align-items:center}
.mbh .news .tag{min-width:124px}
.mbh .news .tag img{display:block;width:108px;height:auto;max-width:none}

/* Links: wie im Entwurf – keine Unterstreichung/Durchstreichung, keine Linkfarbe; nur .link mit feiner Linie */
html body .site-wrapper .mbh a:not(.btn):not(.tile),html body .site-wrapper .mbh a:not(.btn):not(.tile):hover,html body .site-wrapper .mbh a:not(.btn):not(.tile):visited,html body .site-wrapper .mbh a:not(.btn):not(.tile):focus,
body.mbh a:not(.btn):not(.tile),body.mbh a:not(.btn):not(.tile):hover,body.mbh a:not(.btn):not(.tile):visited{color:inherit!important;text-decoration:none!important;text-decoration-line:none!important}
html body .site-wrapper .mbh a.tile,body.mbh a.tile{text-decoration:none!important}
html body .site-wrapper .mbh a.link,body.mbh a.link{border-bottom:1px solid currentColor;padding-bottom:3px}
html body .site-wrapper .mbh a.btn.solid,body.mbh a.btn.solid{color:#fff!important;text-decoration:none!important}
html body .site-wrapper .mbh .news a:hover .t,body.mbh .news a:hover .t{text-decoration:underline!important;text-underline-offset:4px}
html body .site-wrapper .mbh del,html body .site-wrapper .mbh s,body.mbh del,body.mbh s{text-decoration:none}

/* Broken-Link-Checker-Markierung (rot/durchgestrichen) im Startseiten-Design ausblenden */
html body .site-wrapper .mbh a.broken_link,html body .site-wrapper .mbh a.broken_link:hover,body.mbh a.broken_link,
html body .site-wrapper .mbh a.broken_link_link,html body .site-wrapper .mbh a[class*="broken"]{
  text-decoration:none!important;text-decoration-line:none!important;color:inherit!important}

/* Überschriften und Links in Grau (wie Entwurf); roter Rahmen beim Überfahren des ganzen Blocks */
html body .site-wrapper .mbh :is(h2,h3),body.mbh :is(h2,h3){color:#1E272C}
html body .site-wrapper .mbh .guide a h3,html body .site-wrapper .mbh .dl h3,html body .site-wrapper .mbh .type h3,html body .site-wrapper .mbh .pillar h3,
body.mbh .guide a h3,body.mbh .dl h3,body.mbh .type h3,body.mbh .pillar h3{color:#1E272C}
html body .site-wrapper .mbh .guide a p,html body .site-wrapper .mbh .dl p,body.mbh .guide a p,body.mbh .dl p{color:#566168!important}
html body .site-wrapper .mbh .link,html body .site-wrapper .mbh a.link,body.mbh .link,body.mbh a.link{color:#566168!important;border-bottom:1px solid #566168!important;text-decoration:none!important}
html body .site-wrapper .mbh .guide a:hover .link,html body .site-wrapper .mbh .dl > div:hover .link,body.mbh .guide a:hover .link,body.mbh .dl > div:hover .link{color:#1E272C!important;border-bottom-color:#1E272C!important}
.mbh .guide a,.mbh .dl > div{transition:border-color .2s,transform .25s,box-shadow .25s}
.mbh .guide a:hover,.mbh .dl > div:hover{border-color:var(--accent)!important;transform:translateY(-3px)}
.mbh .guide a:hover{box-shadow:0 14px 34px rgba(30,39,44,.08)}

/* Immobilie der Woche: festes Seitenverhältnis 1140 x 450 – jedes Foto wird passend zugeschnitten */
@media (min-width:900px){
  .mbh .tile.wide{ aspect-ratio:1140 / 450 !important; min-height:0 !important; }
}
.mbh .tile.wide img{ object-fit:cover; object-position:center; }

/* Kachelfotos: auch eingefügte Medienbibliothek-Bilder (Klassen/Maße von WordPress) füllen die Kachel immer aus */
html body .site-wrapper .mbh .tile.photo > img,html body .site-wrapper .mbh .tile.photo img{
  position:absolute!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important;
  max-width:100%!important;margin:0!important;float:none!important;object-fit:cover!important;object-position:center!important;border:0!important}
html body .site-wrapper .mbh .tile.photo > p:has(> img){position:static!important;margin:0!important}
html body .site-wrapper .mbh .tile.photo > .k,html body .site-wrapper .mbh .tile.photo > .n,html body .site-wrapper .mbh .tile.photo > .go{position:relative;z-index:2}

/* Überschriften in dunklen/roten Bändern: weiß; Schriftart bleibt bei Farbwechsel im Editor erhalten */
html body .site-wrapper .mbh .stats :is(h1,h2,h3,h4),html body .site-wrapper .mbh .sell :is(h1,h2,h3,h4),
body.mbh .stats :is(h1,h2,h3,h4),body.mbh .sell :is(h1,h2,h3,h4){color:#fff}
html body .site-wrapper .mbh :is(h1,h2,h3,h4) :is(span,strong,em,b,font,a),body.mbh :is(h1,h2,h3,h4) :is(span,strong,em,b,font,a){
  font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;letter-spacing:inherit!important}

/* Roter Balken: Button weiß eingerahmt (wie im Entwurf) */
html body .site-wrapper .mbh .sell a.btn,body.mbh .sell a.btn{
  display:inline-block;background:transparent!important;color:#fff!important;border:1px solid #fff!important;border-radius:0;
  padding:14px 30px;font-size:12px;letter-spacing:.2em;text-transform:uppercase;text-decoration:none!important;transition:background .2s,color .2s}
html body .site-wrapper .mbh .sell a.btn:hover,body.mbh .sell a.btn:hover{background:#fff!important;color:#14181B!important;border-color:#fff!important}

/* ===== Startseiten-Suche: Suchleiste in 2 Zeilen (Desktop) ===== */
@media (min-width:992px){
html body #homepage-listing-search-wrapper #homepage-listing-search{max-width:1380px;margin-left:auto;margin-right:auto;padding:30px 34px 32px}
html body #homepage-listing-search > .row{margin:0;display:block}
html body #homepage-listing-search > .row{display:flex!important;align-items:center}
html body #homepage-listing-search > .row > .col-md-5{display:block!important;float:none;flex:0 0 30%;width:30%;max-width:30%;padding:0 10px 0 0!important}
html body #homepage-listing-search > .row > .col-md-7{float:none;flex:1 1 0;width:70%!important;max-width:70%;padding:0 0 0 24px;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:20px 14px;align-items:end}
html body #homepage-listing-search > .row > .col-md-7 > .row{display:contents;margin:0}
html body #homepage-listing-search .row:before,html body #homepage-listing-search .row:after,html body #homepage-listing-search > .row > .col-md-7:before,html body #homepage-listing-search > .row > .col-md-7:after{display:none!important;content:none!important}
html body #homepage-listing-search > .row > .col-md-7 > .row > [class*="col-"]{float:none;width:auto;padding:0;min-width:0}
/* Zeile 1: Objektnummer | Kaufen/Mieten | Ort | Typ | Ausstattung */
html body #homepage-listing-search .col-md-7 > .row:first-child > .col-md-8{grid-column:span 2}
html body #homepage-listing-search .col-md-7 > .row:first-child > .col-md-4{grid-column:span 2}
html body #homepage-listing-search .col-md-7 > .row:first-child > .hidden-md{display:none!important}
html body #homepage-listing-search .col-md-7 > .row:nth-child(2) > .col-md-4{grid-column:span 2}
/* Zeile 2: Preis | Schlafzimmer | Badezimmer | Buttons */
html body #homepage-listing-search .col-md-7 > .row:nth-child(2) > .col-md-12{grid-column:span 3}
html body #homepage-listing-search .col-md-7 > .row:nth-child(2) > .col-md-6{grid-column:span 2}
html body #homepage-listing-search .col-md-7 > .row:nth-child(2) > .hide{display:none!important}
html body #homepage-listing-search .col-md-7 > .search-action{grid-column:span 3;padding:0;margin:0;border:0;background:transparent}
html body #homepage-listing-search .col-md-7 > .search-action > .row{margin:0;display:block}
html body #homepage-listing-search .col-md-7 > .search-action .col-md-4{float:none;width:100%;padding:0;display:flex;flex-direction:column;gap:10px}
html body #homepage-listing-search .col-md-7 > .search-action .col-md-4 .btn{width:100%}
html body #homepage-listing-search .col-md-7 > .search-action .col-md-8{display:none!important}
html body #homepage-listing-search .col-md-7 > .search-action .btn{margin:0!important;height:46px;padding:0 14px;border-radius:0;font-family:var(--mb-body);font-weight:400;font-size:13px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
/* Felder einheitlich */
html body #homepage-listing-search .facet-label{margin:0 0 8px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:400;color:var(--mb-muted)}
html body #homepage-listing-search .fs-wrap,html body #homepage-listing-search .fs-label-wrap{width:100%;max-width:100%}
html body #homepage-listing-search .fs-label-wrap{height:46px;display:flex;align-items:center}
html body #homepage-listing-search .fs-label{font-family:var(--mb-body);font-weight:300;font-size:15px;line-height:44px}
html body #homepage-listing-search .reference-search{position:relative;margin:0}
html body #homepage-listing-search .reference-search input[type=text]{width:100%;height:46px;padding:0 44px 0 14px;font-family:var(--mb-body);font-weight:300;font-size:15px;box-shadow:none}
html body #homepage-listing-search .reference-search button{position:absolute;right:0;top:0;width:44px;height:46px;border:0!important;background:transparent!important;padding:0!important}
html body #homepage-listing-search .facetwp-facet{margin:0}
html body #homepage-listing-search .facetwp-type-slider,html body #homepage-listing-search .facetwp-facet-price{padding-top:6px}
}

/* Pulldowns statt Schieberegler (Desktop) */
.mb-sel{display:none}
@media (min-width:992px){
html body #homepage-listing-search .mb-sel{display:block}
html body #homepage-listing-search .facetwp-facet-bedrooms,html body #homepage-listing-search .facetwp-facet-bathrooms,html body #homepage-listing-search .facetwp-facet-price,
html body #homepage-listing-search .facet-label[data-for="bedrooms"],html body #homepage-listing-search .facet-label[data-for="bathrooms"],html body #homepage-listing-search .facet-label[data-for="price"]{display:none!important}
html body #homepage-listing-search .mb-sel .facet-label{display:block!important;margin:0 0 8px}
html body #homepage-listing-search .mb-sel select{width:100%;height:46px;padding:0 38px 0 14px;border:1px solid var(--mb-line);border-radius:0;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23566168' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 14px center;-webkit-appearance:none;appearance:none;font-family:var(--mb-body);font-weight:300;font-size:15px;color:var(--mb-fg);cursor:pointer}
html body #homepage-listing-search .mb-sel select:focus{outline:0;border-color:var(--mb-accent)}
}

/* Anordnung: Zeile 1 = Ref, Status, Ort, Typ; Zeile 2 = Suchkriterien, Preis, Schlafzimmer, Badezimmer; Buttons rechts */
@media (min-width:992px){
html body #homepage-listing-search > .row > .col-md-7{grid-template-columns:repeat(5,minmax(0,1fr))}
html body #homepage-listing-search .col-md-7 > .row > [class*="col-"]{grid-column:auto!important}
html body #homepage-listing-search .col-md-7 > .search-action{grid-column:5!important;grid-row:1 / span 2;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start;padding-top:27px}
html body #homepage-listing-search .col-md-7 > .search-action > .row,html body #homepage-listing-search .col-md-7 > .search-action .col-md-4{height:100%;display:flex;flex-direction:column;gap:47px}
html body #homepage-listing-search .col-md-7 > .search-action .col-md-4 .btn{width:100%}
}

/* Status: nur ausblenden, wenn das Pulldown aufgebaut wurde; sonst bleibt das Originalfeld sichtbar */
@media (min-width:992px){
html body #homepage-listing-search .mb-sel[data-for="status"] + .facetwp-facet-status{display:none!important}
html body #homepage-listing-search .facet-label[data-for="status"]:has(+ .mb-sel[data-for="status"]){display:none!important}
html body #homepage-listing-search .facetwp-facet-status{min-height:46px}
}

/* Buttons unter den zwei Zeilen */
@media (min-width:992px){
html body #homepage-listing-search > .row > .col-md-7{grid-template-columns:repeat(4,minmax(0,1fr))}
html body #homepage-listing-search .col-md-7 > .search-action{grid-column:1 / -1!important;grid-row:3;align-self:auto;display:block;padding:6px 0 0;height:auto}
html body #homepage-listing-search .col-md-7 > .search-action > .row,html body #homepage-listing-search .col-md-7 > .search-action .col-md-4{height:auto;display:flex;flex-direction:row;flex-wrap:wrap;gap:14px;justify-content:flex-start;align-items:center}
html body #homepage-listing-search .col-md-7 > .search-action .col-md-4 .btn{width:auto;min-width:230px;padding:0 28px}
}

/* Status: Original-Feld und doppelte Beschriftung ausblenden, sobald das Pulldown da ist */
@media (min-width:992px){
html body #homepage-listing-search .mb-sel[data-for="status"] ~ .facetwp-facet-status,
html body #homepage-listing-search .mb-sel[data-for="status"] ~ .facet-label[data-for="status"],
html body #homepage-listing-search .mb-hide-orig{display:none!important}
}

/* Status-Original sicher ausblenden; Buttons unter Schlafzimmer/Badezimmer */
@media (min-width:992px){
html body #homepage-listing-search:has(.mb-sel[data-for="status"]) .facetwp-facet-status,
html body #homepage-listing-search:has(.mb-sel[data-for="status"]) .facet-label[data-for="status"]{display:none!important}
html body #homepage-listing-search .col-md-7 > .search-action{grid-column:3 / 5!important;grid-row:3}
html body #homepage-listing-search .col-md-7 > .search-action > .row,html body #homepage-listing-search .col-md-7 > .search-action .col-md-4{flex-wrap:nowrap;gap:14px;justify-content:stretch;width:100%}
html body #homepage-listing-search .col-md-7 > .search-action .col-md-4 .btn{flex:1 1 0;width:auto;min-width:0;padding:0 8px;font-size:12.5px;letter-spacing:.05em;overflow:hidden;text-overflow:clip}
}

/* Buttons: volle Zeile, rechte Hälfte (= unter Schlafzimmer + Badezimmer) */
@media (min-width:992px){
html body #homepage-listing-search .col-md-7 > .search-action{grid-column:1 / -1!important;grid-row:3!important;justify-self:end;width:calc(50% - 7px);max-width:100%;margin:0!important;float:none}
}

/* News: Überschrift „News“ in Standard-Überschriftschrift, 3 Spalten statt 3 Zeilen */
.mbh .news .tag img{display:none!important}
html body .mbh .news .tag{display:block;min-width:0;font-family:var(--font-display,"Cormorant","Cormorant Garamond",Georgia,serif)!important;font-size:30px!important;line-height:1.1;letter-spacing:0!important;text-transform:none!important;font-weight:400!important;color:var(--fg,#1E272C)!important}
html body .mbh .news .tag:before{content:"News"}
html[lang^="es"] body .mbh .news .tag:before{content:"Noticias"}
html body .mbh .news a{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:26px 28px 26px 0;border-bottom:0}
html body .mbh .news a .t{font-family:var(--font-body,"Jost",sans-serif);font-weight:300;font-size:17px;line-height:1.5;color:var(--muted,#566168)}
@media (min-width:900px){
html body .mbh .news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 36px;border-top:1px solid var(--line)}
html body .mbh .news a{border-top:0}
}
@media (max-width:899px){html body .mbh .news a{border-bottom:1px solid var(--line);padding-right:0}}

/* feine rote Linie unter „News“ */
html body .mbh .news .tag:after{content:"";display:block;width:48px;height:1px;background:var(--accent,#E30F19);margin-top:12px}
html body .mbh .news .tag{display:inline-block;align-self:flex-start;width:auto}
html body .mbh .news .tag:after{width:100%}

/* ---------- Immobilientypen als Karten (3 Spalten, 2 Reihen) ---------- */
html body .mbh .types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;border-top:0}
html body .mbh .types .type{display:flex;flex-direction:column;gap:0;padding:0;border:1px solid var(--line);background:#fff;min-width:0;transition:border-color .2s,box-shadow .25s,transform .25s}
html body .mbh .types .type:hover{border-color:var(--accent);box-shadow:0 14px 34px rgba(30,39,44,.10);transform:translateY(-3px)}
html body .mbh .types .type img{width:100%;height:auto;aspect-ratio:560/320;object-fit:cover;margin:0}
html body .mbh .types .type h3{display:block;margin:0;padding:24px 26px 0;font-size:2.6rem;line-height:1.15}
html body .mbh .types .type p{margin:0;padding:12px 26px 0;max-width:none;flex:1 1 auto}
html body .mbh .types .type .link{align-self:flex-start;justify-self:auto;margin:20px 26px 26px}
@media (max-width:980px){html body .mbh .types{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:620px){html body .mbh .types{grid-template-columns:1fr}}

/* Buttons: Text exakt mittig (Zeilenhöhe + Buchstabenabstand ausgleichen) */
html body .mbh .btn,html body .mbh a.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1;height:auto;min-height:48px;padding:0 calc(30px - .2em) 0 30px;box-sizing:border-box}

/* News-Block: hellgrauer Balken über die volle Breite */
html body .mbh .news{background:#F4F6F7;box-shadow:0 0 0 100vmax #F4F6F7;clip-path:inset(0 -100vmax);border-top:0;margin-top:56px;padding:18px 0 14px}

/* Buttons: Text vertikal exakt mittig (Versal-Höhe statt Zeilenhöhe) */
html body .mbh .btn,html body .mbh a.btn,html body .mbh button.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;line-height:1;min-height:50px;height:auto;padding:3px calc(30px - .2em) 0 30px;box-sizing:border-box}
@supports (text-box: trim-both cap alphabetic){
html body .mbh .btn,html body .mbh a.btn,html body .mbh button.btn{display:inline-block;min-height:0;padding:19px calc(30px - .2em) 19px 30px;line-height:1;text-box:trim-both cap alphabetic}
}

/* ---------- Suchbox kompakter: weniger Leerraum oben/unten, mehr Hintergrundbild sichtbar ---------- */
html body #homepage-listing-search-wrapper #homepage-listing-search{padding:16px 22px 18px}
html body #homepage-listing-search .facet-label{margin-bottom:4px}
html body #homepage-listing-search .facetwp-facet,html body #homepage-listing-search .form-group{margin-bottom:0}
@media (min-width:992px){
  html body #homepage-listing-search-wrapper #homepage-listing-search{padding:14px 30px 16px}
  html body #homepage-listing-search > .row > .col-md-7{gap:12px 14px}
}
@media (max-width:991px){
  html body #homepage-listing-search-wrapper #homepage-listing-search{padding:14px 16px 16px}
}
/* Suchbox noch flacher */
html body #homepage-listing-search-wrapper #homepage-listing-search{padding:8px 20px 10px}
html body #homepage-listing-search > .row,html body #homepage-listing-search > .row > .col-md-5,html body #homepage-listing-search > .row > .col-md-7{margin-top:0!important;margin-bottom:0!important}
@media (min-width:992px){
  html body #homepage-listing-search-wrapper #homepage-listing-search{padding:6px 28px 8px}
  html body #homepage-listing-search > .row > .col-md-7{gap:8px 14px}
}
@media (max-width:991px){
  html body #homepage-listing-search-wrapper #homepage-listing-search{padding:8px 14px 10px}
}

/* Robust gegen Editor-Eingriffe beim Bildtausch (TinyMCE/WordPress setzt <p>, <br>, <figure>, Links, Klassen, Größen) */
.mbh .tile > p,.mbh .tile > figure,.mbh .tile > .wp-caption,.mbh .tile > .wp-caption > p{display:contents!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important}
.mbh .tile > br,.mbh .tile > p > br,.mbh .tile > p:empty{display:none!important}
.mbh .tile img,.mbh .tile img[class*="wp-image"],.mbh .tile img[class*="size-"],.mbh .tile img[class*="align"]{position:absolute!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important;max-width:100%!important;min-width:100%!important;margin:0!important;padding:0!important;float:none!important;object-fit:cover!important;border:0!important;display:block!important}
.mbh .tile > a:has(> img){position:absolute!important;inset:0!important;z-index:0!important;display:block!important}
.mbh .tile > .wp-caption-text,.mbh .tile > figcaption{display:none!important}
.mbh .tile > .k,.mbh .tile > .n,.mbh .tile > .go{position:relative!important;z-index:2!important}

/* „Immobilie der Woche“ als eigener Block über dem Kachel-Raster */
.mbh .featured{margin:0 0 16px;display:block}
.mbh .featured > .tile.wide{display:flex}

/* Robuste Bilder in Download-Karten (Katalog/Zeitschrift/Buch) und Ratgeber-Karten:
   funktioniert auch, wenn der Editor Bilder in <p>, <a>, <figure> verpackt oder Größen/Klassen setzt */
html body .mbh .dl .cover,html body.mbh .dl .cover{display:flex!important;align-items:center;justify-content:center;height:280px!important;overflow:hidden;box-sizing:border-box}
html body .mbh .dl .cover > *,html body.mbh .dl .cover > *,
html body .mbh .dl .cover p,html body.mbh .dl .cover p,
html body .mbh .dl .cover a,html body.mbh .dl .cover a,
html body .mbh .dl .cover figure,html body.mbh .dl .cover figure,
html body .mbh .dl .cover .wp-caption,html body.mbh .dl .cover .wp-caption{display:contents!important;margin:0!important;padding:0!important;width:auto!important;max-width:none!important}
html body .mbh .dl .cover img,html body.mbh .dl .cover img{display:block!important;float:none!important;position:static!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:232px!important;min-width:0!important;margin:0 auto!important;padding:0!important;object-fit:contain;box-shadow:0 10px 30px rgba(0,0,0,.18)}
html body .mbh .dl .cover br,html body.mbh .dl .cover br,html body .mbh .dl .cover figcaption,html body.mbh .dl .cover figcaption,html body .mbh .dl .cover .wp-caption-text,html body.mbh .dl .cover .wp-caption-text{display:none!important}
html body .mbh .dl > div > p:empty,html body.mbh .dl > div > p:empty,html body .mbh .dl > br,html body.mbh .dl > br{display:none!important}
html body .mbh .guide a img,html body.mbh .guide a img{display:block!important;float:none!important;width:calc(100% + 56px)!important;max-width:none!important;height:auto!important;aspect-ratio:3/2;object-fit:cover;margin:-28px -28px 8px!important}

/* Panorama-Bild („Immobilie der Woche“ ohne Textfelder) als normales Bild, nicht als Kachel */
html body .mbh a.tile.wide:not(:has(.n)),html body.mbh a.tile.wide:not(:has(.n)){display:block!important;position:static!important;aspect-ratio:auto!important;min-height:0!important;padding:0!important;overflow:visible!important;transform:none!important;margin:0 0 24px!important;background:none!important;border:0!important;box-shadow:none!important}
html body .mbh a.tile.wide:not(:has(.n))::before,html body.mbh a.tile.wide:not(:has(.n))::before{display:none!important}
html body .mbh a.tile.wide:not(:has(.n)) img,html body.mbh a.tile.wide:not(:has(.n)) img{position:static!important;inset:auto!important;display:block!important;float:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;aspect-ratio:1140 / 450!important;margin:0!important;padding:0!important;object-fit:cover!important;object-position:center!important;transform:none!important;transition:none!important}
html body .mbh a.tile.wide:not(:has(.n)):hover,html body.mbh a.tile.wide:not(:has(.n)):hover{transform:none!important}
html body .mbh a.tile.wide:not(:has(.n)):hover img,html body.mbh a.tile.wide:not(:has(.n)):hover img{transform:none!important}

/* EN/ES: nur der Katalog – Zeitschrift (Mallorcas Traumimmobilien) und Buch (deutschsprachig) ausblenden */
html:is([lang^="en"],[lang^="es"]) .mbh .dl > div:not(:has(a[href*="homepages" i])),
html:is([lang^="en"],[lang^="es"]) body.mbh .dl > div:not(:has(a[href*="homepages" i])){display:none!important}
