/* Allura wird lokal aus /fonts/fonts.css geladen – kein Google Fonts. */

/* =========================================================================
   Mein Zuhause Massivhaus – gemeinsamer Header & Footer ("Site-Chrome")
   Eigenständiges, namespaced CSS (.mz-*) – läuft auf jeder Seite, egal
   welches restliche CSS dort verwendet wird. Visuell an die Hauptseite
   angeglichen (Farben/Schrift aus der Tailwind-Config der Startseite).
   ========================================================================= */

:root {
  /* Master-Navy der Landingpage (Referenz für die gesamte Website) –
     übernommen aus den dunklen Sections von css/styles.css (#1E2F51 → #183054 → #0F172A). */
  --mz-navy-soft:  #1E2F51;
  --mz-navy:       #183054;
  --mz-navy-deep:  #0F172A;
  --mz-navy-glow: radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 48%);
  --mz-navy-gradient: linear-gradient(145deg, var(--mz-navy-soft) 0%, var(--mz-navy) 50%, var(--mz-navy-deep) 100%);

  --mz-primary: var(--mz-navy-deep);
  --mz-primary-container: var(--mz-navy);
  --mz-on-primary: #ffffff;
  --mz-surface: #f8f9fa;
  --mz-secondary: #5f5e5e;
  --mz-outline-variant: #c5c6cf;
  --mz-container-max: 1280px;
}

/* ---- Reset nur für Chrome-Elemente, nicht global ---- */
.mz-header *,
.mz-footer * { box-sizing: border-box; }

.mz-header a,
.mz-footer a { text-decoration: none; }

/* Anker-Sprünge nicht unter den fixen Header rutschen lassen */
html { scroll-padding-top: 96px; }

/* =========================== HEADER (zwei Zustände) ===========================
   1) Default  = transparent über dem dunklen Hero (weiße Schrift, Logo links)
   2) .is-pill = schwebende, zentrierte dunkle Pille (nach dem Hero / ohne Hero)
   ----------------------------------------------------------------------------- */
.mz-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding-top: 0;
  transition: padding-top .35s ease;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Dunkler Top-Scrim für Lesbarkeit der weißen Schrift im transparenten Zustand */
.mz-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity .35s ease;
  z-index: -1;
}
.mz-header.is-pill::before { opacity: 0; }

.mz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--mz-container-max);
  margin: 0 auto;
  height: 80px;
  padding: 0 20px;
  transition: height .35s ease, background .35s ease, border-radius .35s ease,
              box-shadow .35s ease, padding .35s ease;
}
@media (min-width: 900px) {
  .mz-nav { padding: 0 64px; }
}
/* ---- Zwischenbreite 900–1100px (z.B. iPad Pro/Foldable Querformat):
   6 Nav-Links + CTA-Button werden hier eng, ohne dabei zu überlappen.
   Etwas mehr Platz schaffen, ohne Desktop (≥1100px) anzufassen. ---- */
@media (min-width: 900px) and (max-width: 1100px) {
  .mz-nav { padding: 0 24px; }
  .mz-nav__links { gap: 16px; }
}

/* ---- Pille-Zustand ---- */
.mz-header.is-pill { padding-top: 14px; }
@media (max-width: 899px) {
  /* Mobile: dunkle Leiste bündig am oberen Rand angepinnt – kein 14px-Spalt,
     durch den die Seite oben durchscheinen würde. */
  .mz-header.is-pill { padding-top: 0; }
  .mz-header.is-pill .mz-nav {
    background: rgba(15, 23, 42, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
  }
}
@media (min-width: 900px) {
  .mz-header.is-pill .mz-nav {
    justify-content: center;
    gap: 20px;
    max-width: -moz-fit-content;
    max-width: fit-content;
    height: 60px;
    padding: 8px 10px 8px 26px;
    background: rgba(15, 23, 42, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
  }
  .mz-header.is-pill .mz-brand { display: none; }
}

/* ---- Brand (weißes Logo) ---- */
.mz-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
/* Logo-Größe im Hero-Zustand (transparenter Header) – bewusst groß für Präsenz */
.mz-brand__logo {
  height: 72px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: height .35s ease;   /* sanfte Anpassung beim Übergang zur Pille */
}
/* Mobile-Pille: das Logo sitzt auf der dunklen Leiste → etwas kompakter,
   damit es sauber in die Leiste passt (Desktop blendet das Logo in der Pille aus). */
@media (max-width: 899px) {
  .mz-header.is-pill .mz-brand__logo { height: 48px; }
}

/* ---- Desktop-Navigation ---- */
.mz-nav__links {
  display: none;
  align-items: center;
  gap: 24px;
}
@media (min-width: 900px) {
  .mz-nav__links { display: flex; }
}
.mz-nav__links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color .3s ease;
  white-space: nowrap;
}
.mz-nav__links a:hover { color: #ffffff; }
.mz-nav__links a.is-active {
  color: #ffffff;
  font-weight: 600;
  border-bottom: 2px solid #ffffff;
  padding-bottom: 4px;
}

/* ---- Actions (CTA + Burger) ---- */
.mz-nav__actions { display: flex; align-items: center; gap: 12px; }

.mz-cta {
  background: var(--mz-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.mz-cta:hover { background: var(--mz-primary-container); }
.mz-cta:active { transform: scale(.96); }

/* Quiz / Mein-Bauprojekt-CTA – Amber-Akzent als Haupt-Lead-CTA */
.mz-cta--quiz {
  background: #d97706;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(180, 83, 9, 0.28);
}
.mz-cta--quiz:hover {
  background: #b45309;
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.36);
}
@media (max-width: 640px) {
  .mz-nav__actions .mz-cta { display: none; }   /* CTA liegt im Mobile-Menü */
}

/* ---- Burger ---- */
.mz-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.mz-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
@media (min-width: 900px) { .mz-burger { display: none; } }

.mz-header.is-open .mz-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mz-header.is-open .mz-burger span:nth-child(2) { opacity: 0; }
.mz-header.is-open .mz-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile-Menü (Vollbild-Overlay, dunkel) ---- */
.mz-mobile {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 88px 28px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: rgba(15, 23, 42, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.mz-header.is-open .mz-mobile { display: flex; }
@media (min-width: 900px) { .mz-header.is-open .mz-mobile { display: none; } }

/* Inhalts-Wrapper: hält Links zentriert und begrenzt die Breite auf großen Phones */
.mz-mobile__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

/* X-Schließen-Button oben rechts */
.mz-mobile__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.mz-mobile__close:hover { background: rgba(255, 255, 255, 0.16); }
.mz-mobile__close:active { transform: scale(.94); }
.mz-mobile__close svg { width: 22px; height: 22px; }

.mz-mobile a {
  font-size: 19px;
  color: #ffffff;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mz-mobile a.is-active { font-weight: 700; }
.mz-mobile .mz-cta {
  display: block;
  text-align: center;
  margin-top: 22px;
  padding: 16px 26px;
}

/* =========================== NAV-DROPDOWN =========================== */
/* Desktop: Eintrag mit Untermenü (z. B. Leistungen) */
.mz-nav__item--dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.mz-nav__top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mz-caret {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform .25s ease;
}
.mz-nav__item--dropdown:hover .mz-nav__top .mz-caret,
.mz-nav__item--dropdown:focus-within .mz-nav__top .mz-caret { transform: rotate(180deg); }

.mz-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  min-width: 248px;
  margin-top: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(15, 23, 42, 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
/* Unsichtbare Brücke, damit der Hover beim Übergang Link → Panel nicht abreißt */
.mz-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.mz-nav__item--dropdown:hover .mz-dropdown,
.mz-nav__item--dropdown:focus-within .mz-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}
.mz-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.mz-dropdown a:hover,
.mz-dropdown a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Mobile: Untermenü als Accordion */
.mz-mobile__group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.mz-mobile__lead {
  flex: 1;
  border-bottom: none !important;
}
.mz-mobile__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #ffffff;
  padding: 12px;
  cursor: pointer;
}
.mz-mobile__toggle .mz-caret { width: 18px; height: 18px; opacity: 0.9; }
.mz-mobile__group.is-open .mz-mobile__toggle .mz-caret { transform: rotate(180deg); }
.mz-mobile__sub {
  flex-basis: 100%;
  width: 100%;
  display: none;
  flex-direction: column;
  padding: 2px 0 10px 14px;
}
.mz-mobile__group.is-open .mz-mobile__sub { display: flex; }
.mz-mobile__sub a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  padding: 10px 4px;
  border-bottom: none;
}
.mz-mobile__sub a:hover { color: #ffffff; }

/* =========================== FOOTER =========================== */
.mz-footer {
  background: var(--mz-navy-glow), var(--mz-navy-gradient);
  color: var(--mz-on-primary);
  width: 100%;
  padding: 80px 0 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.mz-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--mz-container-max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 900px) {
  .mz-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 24px;
    padding: 0 64px;
  }
}
/* Logo im Footer größer als im Header (mehr Präsenz im Markenblock) */
.mz-footer__brand .mz-brand__logo {
  height: 104px;
  max-width: 320px;
}
.mz-footer__brand .mz-brand__name,
.mz-footer__brand .mz-brand__sub { color: var(--mz-on-primary); }
.mz-footer__brand .mz-brand__sub { color: rgba(255,255,255,0.6); }
.mz-footer__brand .mz-brand__mark { background: rgba(255,255,255,0.12); }
.mz-footer__about {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Allura', cursive;
  font-size: 28px;
  line-height: 1.3;
  max-width: 34ch;
  font-weight: 400;
}
.mz-footer h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--mz-on-primary);
}
.mz-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mz-footer ul a,
.mz-footer ul button,
.mz-footer__contact a { color: rgba(255, 255, 255, 0.7); transition: color .2s ease; font-size: 15px; }
.mz-footer ul a:hover,
.mz-footer__contact a:hover { color: var(--mz-on-primary); }
.mz-footer__contact { color: rgba(255, 255, 255, 0.7); font-size: 15px; line-height: 1.7; }
.mz-footer__contact p { margin: 0 0 14px; }
.mz-footer__social { display: flex; gap: 14px; margin-top: 18px; }
.mz-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  transition: background .2s ease, color .2s ease;
}
.mz-footer__social a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.mz-footer__social svg { width: 19px; height: 19px; }

.mz-footer__bottom {
  max-width: var(--mz-container-max);
  margin: 56px auto 0;
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
@media (min-width: 900px) {
  .mz-footer__bottom { padding: 24px 64px; }
}

/* =========================== EINHEITLICHER HERO ===========================
   Voll­flächiger dunkler Hero für alle Unterseiten – Aufbau angelehnt an den
   Startseiten-Hero. Hintergrundbild je Seite per Inline-Style
   (style="background-image:url('…')") oder Modifier setzen.
   ========================================================================= */
.mz-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0a1228;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Links-betonter dunkler Verlauf für lesbare weiße Schrift */
.mz-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    108deg,
    rgba(10, 18, 40, 0.86) 0%,
    rgba(10, 18, 40, 0.66) 30%,
    rgba(10, 18, 40, 0.32) 56%,
    rgba(10, 18, 40, 0.12) 78%,
    rgba(10, 18, 40, 0.06) 100%
  );
}
/* Weicher Übergang zur hellen Folge-Sektion */
.mz-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: 2;
  background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.9) 100%);
  pointer-events: none;
}
.mz-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--mz-container-max);
  margin: 0 auto;
  padding: 120px 20px 96px;
}
@media (min-width: 900px) {
  .mz-hero__content { padding: 140px 64px 110px; }
}
.mz-hero__inner { max-width: 580px; }

.mz-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 22px;
}
.mz-hero__eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
}
.mz-hero__headline {
  font-family: "Inter", sans-serif;
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 22px;
  font-weight: 700;
}
.mz-hero__sub {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 36px;
  max-width: 52ch;
}
.mz-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.mz-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--mz-primary);
  padding: 15px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid #ffffff;
  transition: transform .1s ease, background .2s ease, color .2s ease;
}
.mz-hero__btn:hover { background: rgba(255, 255, 255, 0.9); }
.mz-hero__btn:active { transform: scale(.97); }
.mz-hero__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.mz-hero__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

@media (max-width: 640px) {
  .mz-hero { min-height: 88vh; }
  .mz-hero__actions .mz-hero__btn { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================================
   Seitenweite Fade-In / Fade-Out Scroll-Animationen (.mz-reveal)
   -------------------------------------------------------------------------
   Wird von site-chrome.js automatisch auf Inhaltsblöcke angewendet.
   Eigenständiges System, das die seiten-lokalen .reveal-Systeme nicht
   berührt. Reversibel: Blöcke blenden beim Rausscrollen sanft wieder aus.
   ========================================================================= */
html.mz-reveal-on .mz-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--mz-reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.mz-reveal-on .mz-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.mz-reveal-on .mz-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------------- WhatsApp Floating-Bubble ---------------- */
.mz-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1002; /* über Header/Pille (1001), unter dem Kontakt-Modal */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mz-wa:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}
.mz-wa svg {
  width: 34px;
  height: 34px;
  display: block;
}
@media (max-width: 600px) {
  .mz-wa {
    right: 14px;
    /* iPhone Safe-Area (Home-Indicator) + Basisabstand, damit der Button
       nicht zu dicht am unteren Bildschirmrand/Wischbalken klebt */
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }
  .mz-wa svg {
    width: 27px;
    height: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mz-wa {
    transition: none;
  }
}

/* =============================================
   MZ-TRUST – Gemeinsamer Trust-Strip (alle Unterseiten)
   ============================================= */
.mz-trust {
  position: relative;
  z-index: 5;
  padding: 0 20px;
  margin-top: -48px;
}

.mz-trust__card {
  max-width: 1080px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(24, 48, 84, 0.13);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 26px 40px;
  border: 1px solid rgba(24, 48, 84, 0.12);
}

.mz-trust__item {
  display: grid;
  grid-template-rows: 48px 24px;
  justify-items: center;
  text-align: center;
  padding: 0 20px;
}

.mz-trust__item + .mz-trust__item {
  border-left: 1px solid rgba(24, 48, 84, 0.10);
}

.mz-trust__value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 900;
  color: var(--mz-navy, #183054);
  line-height: 1;
  letter-spacing: -0.03em;
  font-family: "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
}

.mz-trust__value--text {
  font-size: clamp(20px, 1.7vw, 26px);
  letter-spacing: -0.025em;
}

.mz-trust__label {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(15, 23, 42, 0.58);
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 899px) {
  .mz-trust { margin-top: -32px; padding: 0 12px; }
  .mz-trust__card {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 12px;
  }
  .mz-trust__item {
    grid-template-rows: auto auto;
    gap: 6px;
    padding: 16px 12px;
    border-left: none !important;
  }
  .mz-trust__item:nth-child(2),
  .mz-trust__item:nth-child(4) {
    border-left: 1px solid rgba(24, 48, 84, 0.10) !important;
  }
  .mz-trust__item:nth-child(1),
  .mz-trust__item:nth-child(2) {
    border-bottom: 1px solid rgba(24, 48, 84, 0.10);
    padding-bottom: 20px;
  }
  .mz-trust__item:nth-child(3),
  .mz-trust__item:nth-child(4) {
    padding-top: 20px;
  }
  .mz-trust__value { font-size: 26px; height: auto; }
  .mz-trust__value--text { font-size: 18px; }
  .mz-trust__label { height: auto; white-space: normal; font-size: 12px; }
}

/* =========================================================================
   Shared orange quiz CTA — applied to hero primary buttons on all Unterseiten.
   Loads after page-specific CSS so wins on equal specificity without !important.
   ========================================================================= */
.mz-quiz-hero-btn {
  background: #d97706;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(180, 83, 9, 0.26);
}
.mz-quiz-hero-btn:hover {
  background: #b45309;
  box-shadow: 0 5px 16px rgba(180, 83, 9, 0.32);
}

/* =========================================================================
   Shared "Empfohlener Einstieg" badge — used in next-step CTA sections
   across all pages. The parent card needs position: relative (set per page).
   ========================================================================= */
.mz-recommended-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5.5px 13px 5.5px 10px;
  background: #d97706;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(180, 83, 9, 0.30);
  z-index: 1;
}
.mz-recommended-badge .material-symbols-outlined {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.85);
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 20;
}
