/* Static German homepage. Look and layout come from the original landing page styles
   (index-BWMMFdgc.css); this file adds what the static version needs. */

/* index.html is also the fallback for /admin, /login and business-card routes: hide the homepage there. */
.mb-spa-route .mb-home-static { display: none !important; }
/* Unknown addresses: "page not found" (inserted by mb-home.js), the topic overview and the contact section. */
.mb-notfound-route #inhalt > section:not(.mbh-notfound, #themen, #kontakt) { display: none; }
.mbh-notfound { padding-top: clamp(130px, 16vw, 180px); }
.mbh-notfound h1 { max-width: 18ch; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(34px, 5.6vw, 64px); font-weight: 700; line-height: 1.05; }
.mbh-notfound .lp-lead { margin: 0 0 34px; }
.mbh-notfound .lp-hero-cta { margin-bottom: 30px; }
.mbh-notfound__other { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.mbh-notfound__other a { color: var(--gold); text-decoration: underline; }
.mbh-notfound__other[dir="rtl"] { text-align: left; }
.mb-home-static [hidden] { display: none !important; }

.mbh-skip {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #1c1405;
  background: #f0d98b;
  font-weight: 700;
  transform: translateY(-180%);
}
.mbh-skip:focus { transform: translateY(0); }

/* Top bar */
.mb-home-static .lp-nav { gap: 24px; }
.mbh-logo { display: inline-flex; flex: 0 0 auto; }
/* The logos carry width="640" height="137"; the stylesheet of the original site only sets their height. */
.mb-home-static .lp-nav-logo,
.mb-home-static .lp-footer img.flogo { width: auto; }
.mb-home-static .lp-nav-links { flex: 1 1 auto; justify-content: center; min-width: 0; }
.mbh-primary {
  --mbn-top-color: rgba(244, 241, 232, .86);
  --mbn-top-size: 14px;
  --mbn-top-weight: 600;
  flex-wrap: nowrap;
  gap: 4px 28px;
}
@media (max-width: 1360px) {
  .mb-home-static .lp-nav { gap: 18px; }
  .mbh-primary { gap: 4px 18px; }
}
.mb-home-static .lp-nav-right { flex: 0 0 auto; }
.mb-home-static .mbh-primary > .mbn-top { opacity: 1; }
.mb-home-static main section[id] { scroll-margin-top: 84px; }
.mb-home-static .lp-burger {
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 44px;
  text-align: center;
}
.mb-home-static a.lp-burger { color: var(--gold); font-size: 26px; }
@media (max-width: 1120px) {
  .mb-home-static .lp-nav-links,
  .mb-home-static .lp-nav-right > .lp-btn { display: none; }
  .mb-home-static .lp-burger { display: block; }
}
@media (max-width: 420px) {
  .mb-home-static .lp-nav { gap: 10px; }
  .mb-home-static .lp-nav-right { gap: 8px; }
  .mb-home-static .lp-nav-logo { height: 28px; }
}

/* Mobile menu */
.mbh-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  overflow-y: auto;
  padding: 16px clamp(18px, 5vw, 40px) 40px;
  color: var(--ink);
  background: #050605;
  overscroll-behavior: contain;
}
.mbh-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mbh-menu__top img { width: auto; height: 30px; }
.mbh-menu__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}
.mbh-menu__close:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.mb-home-static .mbh-menu__cta { display: flex; width: 100%; margin-top: 22px; }
.mbh-menu__contact { display: grid; gap: 12px; margin: 24px 0 0; color: var(--sand); font-size: 15px; }
html.mbh-menu-open { overflow: hidden; }

/* FAQ as native disclosure widgets */
.mb-home-static .mbh-q > summary {
  position: relative;
  padding: 24px 40px 24px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.mb-home-static .mbh-q > summary::-webkit-details-marker { display: none; }
.mb-home-static .mbh-q > summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--gold);
  font-size: 24px;
  content: "+";
  transform: translateY(-50%);
  transition: transform .3s ease;
}
.mb-home-static .mbh-q[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.mb-home-static .mbh-q > summary:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 4px; }
.mb-home-static .mbh-q .a { max-height: none; overflow: visible; }

/* The static page shows every block right away instead of animating it in. */
.mb-home-static .lp-hero-bg img { will-change: auto; }

/* The homepage's small headings are h3 (no skipped heading levels under the h2 sections); they keep the
   look of the original h4/h5 headings. */
.mb-home-static .lp-value h3 { margin: 0 0 6px; color: var(--sand); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.mb-home-static .lp-step h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 18px; }
.mb-home-static .lp-aud h3 { margin: 0; font-size: 15px; }
.mb-home-static .lp-bene h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: .02em; }
.mb-home-static .lp-footer h3 { margin: 0 0 16px; color: var(--gold); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
