/* ============================================================
   MOTAVIO FOOTER + CONSENT FINAL V1
   ============================================================ */


/* ============================================================
   FOOTER
   ============================================================ */

html body.mv-public footer.mv-footer-clean {
  --fc-bg: #05070A;
  --fc-bg-soft: #0C1116;
  --fc-heading: #FFFFFF;
  --fc-text: #C0CCD4;
  --fc-muted: #7E909D;
  --fc-line: #202B33;

  --fc-accent: #E2B449;
  --fc-accent-high: #F1C85E;
  --fc-contrast: #071019;

  position: relative !important;

  width: 100% !important;
  max-width: none !important;

  min-height: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  overflow: hidden !important;

  border: 0 !important;
  border-top: 1px solid var(--fc-line) !important;
  border-radius: 0 !important;

  color: var(--fc-text) !important;
  background: var(--fc-bg) !important;

  box-shadow: none !important;
  transform: none !important;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
}


html[data-mv-theme="light"]
body.mv-public
footer.mv-footer-clean,

html[data-theme="light"]
body.mv-public
footer.mv-footer-clean {
  --fc-accent: #168FE6;
  --fc-accent-high: #2DA2F3;
  --fc-contrast: #FFFFFF;
}


html body.mv-public
footer.mv-footer-clean *,
html body.mv-public
footer.mv-footer-clean *::before,
html body.mv-public
footer.mv-footer-clean *::after {
  box-sizing: border-box;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__container {
  width:
    min(
      1180px,
      calc(100% - 48px)
    ) !important;

  max-width: 1180px !important;

  margin-left: auto !important;
  margin-right: auto !important;

  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Kein CTA-Hero mehr – Footer beginnt direkt mit Inhalt. */

html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__grid {
  padding:
    54px 0
    46px !important;

  display: grid !important;

  grid-template-columns:
    minmax(230px, 1.5fr)
    repeat(
      4,
      minmax(125px, 1fr)
    ) !important;

  gap:
    36px
    40px !important;

  align-items: start !important;

  border-bottom:
    1px solid
    var(--fc-line) !important;
}


/* ============================================================
   LOGO
   ============================================================ */

html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__brand {
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__logo-link {
  position: static !important;

  width: 205px !important;
  height: 52px !important;

  min-width: 205px !important;
  min-height: 52px !important;

  max-width: 205px !important;
  max-height: 52px !important;

  margin:
    0 0
    19px !important;

  padding: 0 !important;

  display: flex !important;

  align-items: center !important;
  justify-content: flex-start !important;

  overflow: hidden !important;

  border: 0 !important;
  border-radius: 0 !important;

  color: transparent !important;
  background: transparent !important;

  box-shadow: none !important;
  transform: none !important;

  text-decoration: none !important;
}


html body.mv-public
footer.mv-footer-clean
img.mv-footer-clean__logo {
  position: static !important;

  width: 205px !important;
  height: 52px !important;

  min-width: 0 !important;
  min-height: 0 !important;

  max-width: 205px !important;
  max-height: 52px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  object-fit: contain !important;
  object-position: left center !important;

  overflow: hidden !important;

  border: 0 !important;
  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;
  transform: none !important;

  clip: auto !important;
  clip-path: none !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__brand p {
  max-width: 310px !important;

  margin: 0 !important;
  padding: 0 !important;

  color: var(--fc-text) !important;

  font-size: 12.5px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__tags {
  margin-top: 17px !important;

  display: flex !important;
  flex-wrap: wrap !important;

  gap: 7px !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__tags span {
  min-height: 27px !important;

  padding:
    0 9px !important;

  display: inline-flex !important;

  align-items: center !important;

  border:
    1px solid
    var(--fc-line) !important;

  border-radius: 999px !important;

  color: var(--fc-muted) !important;
  background: var(--fc-bg-soft) !important;

  font-size: 9px !important;
  line-height: 1 !important;
  font-weight: 750 !important;

  white-space: nowrap !important;
}


/* ============================================================
   FOOTER-SPALTEN
   ============================================================ */

html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__column {
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;

  flex-direction: column !important;

  align-items: flex-start !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__column h3 {
  margin:
    0 0
    18px !important;

  padding: 0 !important;

  color: var(--fc-muted) !important;

  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 750 !important;
  letter-spacing: 0.01em !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__column a {
  width: auto !important;
  height: auto !important;

  max-width: 100% !important;

  margin:
    0 0
    13px !important;

  padding: 0 !important;

  display: inline-flex !important;

  align-items: center !important;

  border: 0 !important;
  border-radius: 0 !important;

  color: var(--fc-heading) !important;
  background: transparent !important;

  box-shadow: none !important;

  font-size: 12.5px !important;
  line-height: 1.42 !important;
  font-weight: 580 !important;

  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;

  transform: none !important;

  transition:
    color 0.16s ease,
    transform 0.16s ease !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__column a:hover {
  color: var(--fc-accent) !important;

  transform:
    translateX(2px) !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__empty {
  max-width: 180px !important;

  color: var(--fc-muted) !important;

  font-size: 11.5px !important;
  line-height: 1.5 !important;
}


/* ============================================================
   UNTERE ZEILE
   ============================================================ */

html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__bottom {
  min-height: 70px !important;

  padding:
    19px 0
    21px !important;

  display: flex !important;

  align-items: center !important;

  justify-content: space-between !important;

  gap: 22px !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__copyright {
  margin: 0 !important;
  padding: 0 !important;

  color: var(--fc-muted) !important;

  font-size: 10.5px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__privacy {
  display: flex !important;

  align-items: center !important;

  flex-wrap: wrap !important;

  gap: 17px !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__privacy a,

html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__privacy button {
  appearance: none !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  display: inline-flex !important;

  border: 0 !important;
  border-radius: 0 !important;

  color: var(--fc-text) !important;
  background: transparent !important;

  box-shadow: none !important;

  font-family: inherit !important;
  font-size: 10.5px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;

  text-decoration: none !important;

  cursor: pointer !important;
}


html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__privacy a:hover,

html body.mv-public
footer.mv-footer-clean
.mv-footer-clean__privacy button:hover {
  color: var(--fc-accent) !important;
}


/* ============================================================
   FOOTER RESPONSIVE
   ============================================================ */

@media(max-width: 1020px) {

  html body.mv-public
  footer.mv-footer-clean
  .mv-footer-clean__grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      ) !important;

    gap:
      38px
      52px !important;
  }


  html body.mv-public
  footer.mv-footer-clean
  .mv-footer-clean__brand {
    grid-column:
      1 / -1 !important;

    max-width: 540px !important;
  }

}


@media(max-width: 640px) {

  html body.mv-public
  footer.mv-footer-clean
  .mv-footer-clean__container {
    width:
      calc(100% - 30px) !important;
  }


  html body.mv-public
  footer.mv-footer-clean
  .mv-footer-clean__grid {
    padding:
      42px 0
      38px !important;

    grid-template-columns:
      minmax(0, 1fr) !important;

    gap: 31px !important;
  }


  html body.mv-public
  footer.mv-footer-clean
  .mv-footer-clean__brand {
    grid-column: auto !important;
  }


  html body.mv-public
  footer.mv-footer-clean
  .mv-footer-clean__bottom {
    padding:
      23px 0
      27px !important;

    flex-direction: column !important;

    align-items: flex-start !important;
  }

}


/* ============================================================
   CONSENT-MANAGER
   ============================================================ */

:root {
  --cm-page: #030A11;
  --cm-card: #081722;
  --cm-card-soft: #0B1D2A;

  --cm-heading: #F5F7FA;
  --cm-text: #AFC0CB;
  --cm-line: #193447;

  --cm-accent: #E2B449;
  --cm-accent-high: #F1C85E;
  --cm-contrast: #071019;

  --cm-shadow:
    0 30px 110px
    rgba(0, 0, 0, 0.58);
}


html[data-mv-theme="light"],
html[data-theme="light"] {
  --cm-page: #F6FAFD;
  --cm-card: #FFFFFF;
  --cm-card-soft: #EEF6FB;

  --cm-heading: #071A2C;
  --cm-text: #526A7D;
  --cm-line: #D8E5EE;

  --cm-accent: #168FE6;
  --cm-accent-high: #2DA2F3;
  --cm-contrast: #FFFFFF;

  --cm-shadow:
    0 30px 100px
    rgba(7, 26, 44, 0.25);
}


/* Vor der ersten Entscheidung ist die normale Seite gesperrt. */

html.mv-consent-lock,
html.mv-consent-lock body {
  overflow: hidden !important;
}


html.mv-consent-lock
body
>
*:not(#mv-consent-root) {
  pointer-events: none !important;
  user-select: none !important;
}


html.mv-consent-lock body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 2147482000;

  background:
    rgba(2, 8, 14, 0.84);

  backdrop-filter:
    blur(8px);

  -webkit-backdrop-filter:
    blur(8px);
}


#mv-consent-root {
  position: relative;

  z-index: 2147483000;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}


.mv-consent-overlay {
  position: fixed;
  inset: 0;

  z-index: 2147483000;

  padding: 22px;

  display: grid;

  place-items: center;

  background:
    rgba(2, 8, 14, 0.78);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);
}


.mv-consent-overlay[hidden] {
  display: none !important;
}


.mv-consent-dialog {
  width:
    min(
      760px,
      100%
    );

  max-height:
    min(
      90vh,
      820px
    );

  overflow: auto;

  border:
    1px solid
    var(--cm-line);

  border-radius: 25px;

  color: var(--cm-heading);
  background: var(--cm-card);

  box-shadow: var(--cm-shadow);
}


.mv-consent-head {
  padding:
    29px 31px
    22px;

  display: grid;

  grid-template-columns:
    52px
    minmax(0, 1fr);

  gap: 17px;

  align-items: center;

  border-bottom:
    1px solid
    var(--cm-line);
}


.mv-consent-mark {
  width: 52px;
  height: 52px;

  display: grid;

  place-items: center;

  border-radius: 15px;

  color: var(--cm-contrast);

  background:
    linear-gradient(
      145deg,
      var(--cm-accent-high),
      var(--cm-accent)
    );

  font-size: 23px;
  font-weight: 950;
}


.mv-consent-head small {
  display: block;

  margin-bottom: 6px;

  color: var(--cm-accent);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
}


.mv-consent-head h2 {
  margin: 0;

  color: var(--cm-heading) !important;

  font-size:
    clamp(
      27px,
      4vw,
      37px
    ) !important;

  line-height: 1.06 !important;
  font-weight: 820 !important;
  letter-spacing: -0.038em !important;
}


.mv-consent-body {
  padding:
    25px 31px
    30px;
}


.mv-consent-copy {
  margin: 0;

  color: var(--cm-text) !important;

  font-size: 14.5px;
  line-height: 1.65;
}


.mv-consent-copy strong {
  color: var(--cm-heading);
}


.mv-consent-legal {
  margin-top: 14px;

  display: flex;
  flex-wrap: wrap;

  gap:
    9px
    18px;
}


.mv-consent-legal a {
  color: var(--cm-accent) !important;

  font-size: 12px;
  font-weight: 800;

  text-decoration: none !important;
}


.mv-consent-info {
  margin-top: 20px;

  padding:
    13px 15px;

  border:
    1px solid
    var(--cm-line);

  border-radius: 13px;

  color: var(--cm-text);
  background: var(--cm-card-soft);

  font-size: 12px;
  line-height: 1.55;
}


.mv-consent-actions {
  margin-top: 23px;

  display: grid;

  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  gap: 10px;
}


.mv-consent-button {
  appearance: none;

  min-height: 50px;

  padding:
    0 14px;

  border:
    1px solid
    var(--cm-line);

  border-radius: 12px;

  color: var(--cm-heading);
  background: var(--cm-card-soft);

  font:
    850 12.5px/1
    Inter,
    system-ui,
    sans-serif;

  cursor: pointer;
}


.mv-consent-button:hover {
  border-color: var(--cm-accent);

  transform: translateY(-1px);
}


.mv-consent-button.primary {
  color: var(--cm-contrast);

  border-color: transparent;

  background:
    linear-gradient(
      180deg,
      var(--cm-accent-high),
      var(--cm-accent)
    );

  box-shadow:
    0 14px 32px
    color-mix(
      in srgb,
      var(--cm-accent) 23%,
      transparent
    );
}


.mv-consent-button.necessary {
  color: var(--cm-accent);

  border-color: var(--cm-accent);

  background: transparent;
}


.mv-consent-settings {
  margin-top: 23px;

  padding-top: 21px;

  border-top:
    1px solid
    var(--cm-line);
}


.mv-consent-settings[hidden] {
  display: none !important;
}


.mv-consent-settings h3 {
  margin:
    0 0
    7px;

  color: var(--cm-heading) !important;

  font-size: 20px !important;
}


.mv-consent-settings
>
p {
  margin:
    0 0
    15px;

  color: var(--cm-text) !important;

  font-size: 12.5px;
  line-height: 1.55;
}


.mv-consent-category {
  padding:
    14px 15px;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  gap: 14px;

  align-items: center;

  border:
    1px solid
    var(--cm-line);

  border-radius: 13px;

  background: var(--cm-card-soft);
}


.mv-consent-category
+
.mv-consent-category {
  margin-top: 9px;
}


.mv-consent-category b {
  display: block;

  color: var(--cm-heading);

  font-size: 13.5px;
}


.mv-consent-category span {
  display: block;

  margin-top: 5px;

  color: var(--cm-text);

  font-size: 11.5px;
  line-height: 1.45;
}


.mv-consent-switch {
  position: relative;

  width: 50px;
  height: 29px;

  display: inline-block;
}


.mv-consent-switch input {
  position: absolute;

  opacity: 0;

  pointer-events: none;
}


.mv-consent-switch i {
  position: absolute;
  inset: 0;

  border:
    1px solid
    var(--cm-line);

  border-radius: 999px;

  background: var(--cm-card);

  transition: 0.16s;
}


.mv-consent-switch i::after {
  content: "";

  position: absolute;

  top: 4px;
  left: 4px;

  width: 19px;
  height: 19px;

  border-radius: 50%;

  background: var(--cm-text);

  transition: 0.16s;
}


.mv-consent-switch
input:checked
+
i {
  border-color: var(--cm-accent);

  background: var(--cm-accent);
}


.mv-consent-switch
input:checked
+
i::after {
  left: 25px;

  background: var(--cm-contrast);
}


.mv-consent-settings-actions {
  margin-top: 15px;

  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 10px;
}


@media(max-width: 680px) {

  .mv-consent-overlay {
    padding: 10px;

    place-items:
      end center;
  }


  .mv-consent-dialog {
    max-height: 94vh;

    border-radius:
      21px 21px
      0 0;
  }


  .mv-consent-head {
    padding:
      22px 19px
      17px;

    grid-template-columns:
      44px
      minmax(0, 1fr);
  }


  .mv-consent-mark {
    width: 44px;
    height: 44px;
  }


  .mv-consent-body {
    padding:
      20px 19px
      24px;
  }


  .mv-consent-actions,
  .mv-consent-settings-actions {
    grid-template-columns:
      1fr;
  }

}


@media(prefers-reduced-motion: reduce) {

  footer.mv-footer-clean *,
  #mv-consent-root * {
    transition: none !important;
    animation: none !important;
  }

}
