:root {
  --hm-navy: #172331;
  --hm-navy-soft: #243548;
  --hm-gold: #b49764;
  --hm-cream: #ebe7df;
  --hm-white: #ffffff;
  --hm-text: #263544;
}

.hm-newsletter-footer,
.hm-newsletter-flyout {
  font-family: inherit;
}

.hm-newsletter-footer *,
.hm-newsletter-footer *::before,
.hm-newsletter-footer *::after,
.hm-newsletter-flyout *,
.hm-newsletter-flyout *::before,
.hm-newsletter-flyout *::after {
  box-sizing: border-box;
}

/* Footer: Hauptdarstellung */
.hm-newsletter-footer {
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 16px 20px;
  background: var(--hm-cream);
  border-left: 3px solid var(--hm-gold);
  box-shadow: 0 5px 16px rgba(20, 34, 47, .07);
}

.hm-newsletter-footer__eyebrow,
.hm-newsletter-flyout__eyebrow {
  margin: 0 0 4px;
  color: #987b48;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hm-newsletter-footer h2 {
  margin: 0 0 4px;
  color: #122131;
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.15;
}

.hm-newsletter-footer__intro > p:last-child {
  margin: 0;
  color: #344251;
  font-size: 13px;
  line-height: 1.45;
}

.hm-newsletter-form {
  min-width: 0;
}

.hm-newsletter-form__row {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.hm-newsletter-form__row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #c7cdd2;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  background: var(--hm-white);
  color: var(--hm-navy);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.hm-newsletter-form__row input[type="email"]:focus {
  border-color: var(--hm-gold);
  box-shadow: inset 0 0 0 1px var(--hm-gold);
}

.hm-newsletter-form__row button {
  flex: 0 0 auto;
  height: 40px;
  margin: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 0 2px 2px 0;
  background: var(--hm-navy);
  color: var(--hm-white);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}

.hm-newsletter-form__row button:hover,
.hm-newsletter-form__row button:focus {
  background: var(--hm-navy-soft);
}

.hm-newsletter-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 6px 0 0;
  color: #455360;
  font-size: 10px;
  line-height: 1.35;
}

.hm-newsletter-form__consent input {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
}

.hm-newsletter-form__consent a {
  color: #172331;
  font-weight: 600;
  text-decoration: underline;
}

.hm-newsletter-form__captcha {
  width: 240px;
  height: 52px;
  min-width: 240px;
  min-height: 52px;
  margin-top: 6px;
  overflow: hidden;
}

.hm-newsletter-form__captcha .cf-turnstile {
  width: 300px;
  min-width: 300px;
  transform: scale(.8);
  transform-origin: left top;
}

.hm-newsletter-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Schwebender, nicht blockierender Newsletter-Hinweis */
.hm-newsletter-flyout {
  position: fixed;
  right: 0;
  bottom: 118px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.hm-newsletter-flyout__trigger,
.hm-newsletter-flyout__panel {
  pointer-events: auto;
}

.hm-newsletter-flyout__trigger {
  display: inline-flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  width: 46px;
  min-height: 132px;
  padding: 12px 8px;
  border: 1px solid rgba(180, 151, 100, .55);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: var(--hm-navy);
  color: var(--hm-white);
  box-shadow: 0 10px 28px rgba(12, 25, 38, .24);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .18s ease;
}

.hm-newsletter-flyout.is-trigger-visible .hm-newsletter-flyout__trigger {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hm-newsletter-flyout__trigger:hover,
.hm-newsletter-flyout__trigger:focus-visible {
  background: var(--hm-navy-soft);
}


.hm-newsletter-flyout__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
}

.hm-newsletter-flyout__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: #d6c39e;
}

.hm-newsletter-flyout__panel {
  position: absolute;
  right: 58px;
  bottom: 0;
  width: min(370px, calc(100vw - 80px));
  max-height: calc(100vh - 135px);
  padding: 23px 22px 20px;
  overflow-y: auto;
  border-top: 3px solid var(--hm-gold);
  border-radius: 3px;
  background: var(--hm-white);
  box-shadow: 0 18px 48px rgba(12, 25, 38, .26);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(.985);
  transform-origin: right bottom;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.hm-newsletter-flyout.is-open .hm-newsletter-flyout__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.hm-newsletter-flyout__close {
  position: absolute;
  top: 8px;
  right: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #596674;
  cursor: pointer;
  font: inherit;
  font-size: 24px;
  line-height: 1;
}

.hm-newsletter-flyout__close:hover,
.hm-newsletter-flyout__close:focus-visible {
  background: #f0f2f4;
  color: var(--hm-navy);
}

.hm-newsletter-flyout h2 {
  margin: 0 34px 7px 0;
  color: var(--hm-navy);
  font-size: 24px;
  line-height: 1.15;
}

.hm-newsletter-flyout__text {
  margin: 0 0 15px;
  color: #344251;
  font-size: 13px;
  line-height: 1.5;
}

.hm-newsletter-form--compact .hm-newsletter-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.hm-newsletter-form--compact .hm-newsletter-form__row input[type="email"],
.hm-newsletter-form--compact .hm-newsletter-form__row button {
  width: 100%;
  border-radius: 2px;
}

.hm-newsletter-form--compact .hm-newsletter-form__row input[type="email"] {
  border-right: 1px solid #c7cdd2;
}

.hm-newsletter-form--compact .hm-newsletter-form__captcha {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .hm-newsletter-footer {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 620px) {
  .hm-newsletter-footer {
    padding: 20px 16px;
  }

  .hm-newsletter-footer .hm-newsletter-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hm-newsletter-footer .hm-newsletter-form__row input[type="email"],
  .hm-newsletter-footer .hm-newsletter-form__row button {
    width: 100%;
    border-radius: 2px;
  }

  .hm-newsletter-footer .hm-newsletter-form__row input[type="email"] {
    border-right: 1px solid #c7cdd2;
  }

  .hm-newsletter-flyout {
    right: 18px;
    bottom: 18px;
  }

  .hm-newsletter-flyout__panel {
    position: fixed;
    right: 14px;
    bottom: 76px;
    width: calc(100vw - 28px);
    max-height: calc(100vh - 100px);
  }

  .hm-newsletter-flyout__label {
    display: none;
  }

  .hm-newsletter-flyout__trigger {
    width: 46px;
    min-height: 46px;
    padding: 0;
    justify-content: center;
  }

  .hm-newsletter-flyout__icon {
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-newsletter-flyout__trigger,
  .hm-newsletter-flyout__panel {
    transition: none;
  }
}

/* Version 1.4: eigener Newsletter-Trigger auf Mobilgeräten */
@media (max-width: 620px) {
  .hm-newsletter-flyout {
    right: auto;
    left: 16px;
    bottom: 18px;
    align-items: flex-start;
  }

  .hm-newsletter-flyout__panel {
    right: 14px;
    left: 14px;
    bottom: 76px;
    width: auto;
    transform-origin: left bottom;
  }

  .hm-newsletter-flyout__label {
    display: inline;
  }

  .hm-newsletter-flyout__trigger {
    width: auto;
    min-height: 42px;
    padding: 0 13px 0 9px;
    justify-content: flex-start;
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: .02em;
  }

  .hm-newsletter-flyout__icon {
    width: 27px;
    height: 27px;
  }
}


/* Version 1.5: seitliche Desktop-Lasche, kompaktes Mobile-Footerformular */
@media (min-width: 621px) {
  .hm-newsletter-flyout__trigger {
    transform: translateX(0) translateY(14px);
  }

  .hm-newsletter-flyout.is-trigger-visible .hm-newsletter-flyout__trigger {
    transform: translateX(0) translateY(0);
  }
}

@media (max-width: 620px) {
  .hm-newsletter-footer {
    gap: 10px;
    padding: 15px 14px;
  }

  .hm-newsletter-footer__eyebrow {
    margin-bottom: 3px;
    font-size: 9px;
  }

  .hm-newsletter-footer h2 {
    margin-bottom: 3px;
    font-size: 20px;
  }

  .hm-newsletter-footer__intro > p:last-child {
    font-size: 12px;
    line-height: 1.35;
  }

  .hm-newsletter-form__row input[type="email"],
  .hm-newsletter-form__row button {
    height: 40px;
  }

  .hm-newsletter-form__consent {
    margin-top: 6px;
    font-size: 9px;
  }

  .hm-newsletter-form__captcha {
    margin-top: 7px;
  }

  .hm-newsletter-flyout {
    right: auto;
    left: 16px;
    bottom: 18px;
    align-items: flex-start;
  }

  .hm-newsletter-flyout__trigger {
    flex-direction: row;
    width: auto;
    min-height: 42px;
    padding: 0 13px 0 9px;
    border-right: 1px solid rgba(180, 151, 100, .55);
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: .02em;
  }

  .hm-newsletter-flyout__label {
    writing-mode: horizontal-tb;
    transform: none;
    text-transform: none;
  }

  .hm-newsletter-flyout__panel {
    right: 14px;
    left: 14px;
    bottom: 76px;
    width: auto;
    max-height: calc(100vh - 100px);
    transform-origin: left bottom;
  }
}


/* Version 1.6: Gestaltung passend zum Kontakt-Dock */
@media (min-width: 621px) {
  .hm-newsletter-flyout {
    right: 0;
    top: calc(50% + 178px);
    bottom: auto;
    transform: translateY(-50%);
    align-items: flex-end;
    gap: 10px;
  }

  .hm-newsletter-flyout__trigger {
    position: relative;
    width: 46px;
    height: 148px;
    min-height: 148px;
    padding: 0;
    gap: 10px;
    justify-content: center;
    background: rgba(26, 31, 41, 0.97);
    border: 1px solid rgba(175, 153, 110, 0.32);
    border-right: 0;
    border-radius: 16px 0 0 16px;
    box-shadow: -10px 14px 28px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(0) translateY(14px);
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease,
      background 0.25s ease,
      border-color 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .hm-newsletter-flyout__trigger::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 14px;
    bottom: 14px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(
      to bottom,
      rgba(175, 153, 110, 0),
      rgba(175, 153, 110, 0.85),
      rgba(175, 153, 110, 0)
    );
  }

  .hm-newsletter-flyout.is-trigger-visible .hm-newsletter-flyout__trigger {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hm-newsletter-flyout__trigger:hover,
  .hm-newsletter-flyout__trigger:focus-visible {
    transform: translateY(0) translateX(-3px);
    background: rgba(31, 36, 46, 0.99);
    border-color: rgba(175, 153, 110, 0.55);
    box-shadow: -14px 16px 30px rgba(0, 0, 0, 0.24);
    outline: none;
  }

  .hm-newsletter-flyout__trigger:focus-visible {
    box-shadow:
      0 0 0 3px rgba(175, 153, 110, 0.16),
      -14px 16px 30px rgba(0, 0, 0, 0.24);
  }

  .hm-newsletter-flyout__icon {
    position: relative;
    z-index: 2;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: #af996e;
  }

  .hm-newsletter-flyout__icon svg {
    width: 14px;
    height: 14px;
  }

  .hm-newsletter-flyout__label {
    position: relative;
    z-index: 2;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #f7f4ee;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
  }

  .hm-newsletter-flyout__panel {
    right: 60px;
    bottom: 0;
  }
}

/* Mobil: kompakter Pill-Button in der Farbwelt des Kontakt-Docks */
@media (max-width: 620px) {
  .hm-newsletter-footer {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    margin-right: auto;
    margin-left: auto;
    padding: 15px 14px;
  }

  .hm-newsletter-flyout {
    top: auto;
    right: auto;
    bottom: 81px;
    left: 14px;
    transform: none;
  }

  .hm-newsletter-flyout__trigger {
    flex-direction: row;
    width: auto;
    min-width: 138px;
    height: 46px;
    min-height: 46px;
    padding: 0 15px 0 11px;
    justify-content: flex-start;
    gap: 9px;
    border: 1px solid rgba(175, 153, 110, 0.35);
    border-radius: 16px;
    background: rgba(26, 31, 41, 0.97);
    color: #f7f4ee;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .hm-newsletter-flyout__trigger:hover,
  .hm-newsletter-flyout__trigger:focus-visible {
    transform: translateY(-2px);
    background: rgba(31, 36, 46, 0.99);
    border-color: rgba(175, 153, 110, 0.55);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    outline: none;
  }

  .hm-newsletter-flyout__label {
    display: inline;
    writing-mode: horizontal-tb;
    transform: none;
    color: #f7f4ee;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
  }

  .hm-newsletter-flyout__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: #af996e;
  }

  .hm-newsletter-flyout__icon svg {
    width: 15px;
    height: 15px;
  }

  .hm-newsletter-flyout__panel {
    right: 14px;
    bottom: 142px;
    left: 14px;
    width: auto;
    max-height: calc(100vh - 170px);
  }
}

/* Version 1.8: Abstand, Dock-Typografie und stabiler Aktivzustand */
@media (max-width: 900px) {
  .hm-newsletter-footer {
    width: auto !important;
    max-width: none !important;
    margin-right: 16px !important;
    margin-left: 16px !important;
  }
}

@media (min-width: 621px) {
  .hm-newsletter-flyout__trigger,
  .hm-newsletter-flyout__label {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
  }

  /* Das Formular bleibt unabhängig von der mittigen Seitenlasche unten rechts. */
  .hm-newsletter-flyout__panel {
    position: fixed;
    right: 62px;
    bottom: 24px;
    top: auto;
    transform-origin: right bottom;
  }
}

/* Theme-Regeln dürfen den geöffneten/geklickten Dock nicht weiß färben. */
.hm-newsletter-flyout__trigger,
.hm-newsletter-flyout__trigger:visited,
.hm-newsletter-flyout__trigger:active,
.hm-newsletter-flyout__trigger:focus,
.hm-newsletter-flyout__trigger:focus-visible,
.hm-newsletter-flyout.is-open .hm-newsletter-flyout__trigger {
  background: rgba(26, 31, 41, 0.97) !important;
  color: #f7f4ee !important;
  border-color: rgba(175, 153, 110, 0.42) !important;
}

.hm-newsletter-flyout__trigger:hover,
.hm-newsletter-flyout.is-open .hm-newsletter-flyout__trigger:hover {
  background: rgba(31, 36, 46, 0.99) !important;
  color: #ffffff !important;
  border-color: rgba(175, 153, 110, 0.62) !important;
}

.hm-newsletter-flyout__trigger:active,
.hm-newsletter-flyout.is-open .hm-newsletter-flyout__trigger {
  box-shadow:
    0 0 0 3px rgba(175, 153, 110, 0.13),
    -12px 15px 29px rgba(0, 0, 0, 0.22);
}

.hm-newsletter-flyout__trigger .hm-newsletter-flyout__label {
  color: #f7f4ee !important;
}

.hm-newsletter-flyout__trigger .hm-newsletter-flyout__icon {
  color: #af996e !important;
}

@media (max-width: 620px) {
  .hm-newsletter-footer {
    margin-right: 14px !important;
    margin-left: 14px !important;
  }

  .hm-newsletter-flyout__trigger:active,
  .hm-newsletter-flyout.is-open .hm-newsletter-flyout__trigger {
    box-shadow:
      0 0 0 3px rgba(175, 153, 110, 0.13),
      0 12px 24px rgba(0, 0, 0, 0.22);
  }
}

/* Version 1.9: Mobile Ausloeser fest am unteren Fensterrand */
@media (max-width: 620px) {
  .hm-newsletter-flyout {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    left: 14px !important;
    transform: none !important;
  }

  .hm-newsletter-flyout__panel {
    position: fixed !important;
    right: 14px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    left: 14px !important;
    width: auto !important;
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Version 2.0: robuste Footer-Aussenraender und exakt angeglichene Dock-Typografie */
@media (max-width: 900px) {
  .hm-newsletter-footer {
    box-sizing: border-box !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (max-width: 620px) {
  .hm-newsletter-footer {
    width: calc(100% - 28px) !important;
    max-width: calc(100% - 28px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

@media (min-width: 621px) {
  .hm-newsletter-flyout__trigger {
    width: 46px !important;
    height: 148px !important;
    min-height: 148px !important;
    gap: 10px !important;
  }

  .hm-newsletter-flyout__label {
    font-family: "Source Sans 3", sans-serif !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-synthesis: none;
    letter-spacing: 0.12em !important;
    line-height: 1 !important;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
  }

  .hm-newsletter-flyout__icon {
    font-size: 13px !important;
    line-height: 1 !important;
  }
}


/* Version 2.2: ruhigere Footerflaeche, bessere Lesbarkeit und kompaktere Abstaende */
.hm-newsletter-footer {
  background: #ebe7df !important;
  padding: 16px 20px !important;
  gap: 20px !important;
  border-left-color: #a98b57 !important;
  box-shadow: 0 5px 16px rgba(20, 34, 47, 0.07) !important;
}

.hm-newsletter-footer__eyebrow {
  color: #927442 !important;
  margin-bottom: 4px !important;
}

.hm-newsletter-footer h2 {
  color: #122131 !important;
  margin-bottom: 4px !important;
}

.hm-newsletter-footer__intro > p:last-child {
  color: #344251 !important;
}

.hm-newsletter-footer .hm-newsletter-form__consent {
  color: #455360 !important;
  margin-top: 6px !important;
}

.hm-newsletter-footer .hm-newsletter-form__consent a {
  color: #172331 !important;
  font-weight: 600 !important;
}

.hm-newsletter-footer .hm-newsletter-form__captcha {
  margin-top: 6px !important;
}

@media (max-width: 900px) {
  .hm-newsletter-footer {
    gap: 12px !important;
    padding: 14px 16px !important;
  }
}

@media (max-width: 620px) {
  .hm-newsletter-footer {
    gap: 8px !important;
    padding: 12px 12px !important;
  }

  .hm-newsletter-footer__eyebrow {
    margin-bottom: 2px !important;
  }

  .hm-newsletter-footer h2 {
    margin-bottom: 2px !important;
    font-size: 19px !important;
    line-height: 1.12 !important;
  }

  .hm-newsletter-footer__intro > p:last-child {
    font-size: 11.5px !important;
    line-height: 1.3 !important;
  }

  .hm-newsletter-footer .hm-newsletter-form__row {
    gap: 6px !important;
  }

  .hm-newsletter-footer .hm-newsletter-form__row input[type="email"],
  .hm-newsletter-footer .hm-newsletter-form__row button {
    height: 38px !important;
  }

  .hm-newsletter-footer .hm-newsletter-form__consent {
    margin-top: 5px !important;
    font-size: 9px !important;
    line-height: 1.28 !important;
  }

  .hm-newsletter-footer .hm-newsletter-form__captcha {
    margin-top: 5px !important;
  }
}

/* Version 2.3: konfigurierbare, ruhigere Footerfarben */
.hm-newsletter-footer {
  background: var(--hm-footer-bg, #d9d4cb) !important;
  border-left-color: var(--hm-gold, #b49764) !important;
  box-shadow: none;
}

.hm-newsletter-footer h2 {
  color: var(--hm-heading, #122131) !important;
}

.hm-newsletter-footer__intro > p:last-child,
.hm-newsletter-footer__intro p:not(.hm-newsletter-footer__eyebrow) {
  color: var(--hm-body-text, #263544) !important;
  opacity: 1 !important;
}

.hm-newsletter-footer__eyebrow {
  color: var(--hm-gold, #b49764) !important;
}

.hm-newsletter-footer .hm-newsletter-form__consent,
.hm-newsletter-footer .hm-newsletter-form__consent span {
  color: var(--hm-muted-text, #455360) !important;
  opacity: 1 !important;
}

.hm-newsletter-footer .hm-newsletter-form__consent a {
  color: var(--hm-heading, #122131) !important;
}

.hm-newsletter-footer .hm-newsletter-form__row button {
  background: var(--hm-button-bg, #172331) !important;
  color: var(--hm-button-text, #ffffff) !important;
}

.hm-newsletter-footer .hm-newsletter-form__row button:hover,
.hm-newsletter-footer .hm-newsletter-form__row button:focus-visible {
  filter: brightness(1.12);
}

@media (min-width: 901px) {
  .hm-newsletter-footer {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}


/* Version 2.5: Popup wirklich am Viewport statt am Dock verankern.
 * Ein transformierter Vorfahr wird zum Bezugssystem fuer position: fixed.
 * Daher wird die Desktop-Lasche ohne transform an derselben visuellen
 * Position gehalten; das Panel kann sich so am Browserfenster ausrichten. */
@media (min-width: 621px) {
  .hm-newsletter-flyout {
    top: calc(50% + 104px) !important;
    bottom: auto !important;
    transform: none !important;
  }

  .hm-newsletter-flyout__panel {
    position: fixed !important;
    top: auto !important;
    right: 96px !important;
    bottom: 24px !important;
    left: auto !important;
    margin: 0 !important;
    transform-origin: right bottom !important;
  }
}


/* Version 2.6: Panel vollstaendig vom Dock entkoppelt */
.hm-newsletter-flyout__panel {
  position: fixed !important;
  z-index: 99991 !important;
}

.hm-newsletter-flyout__panel.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

@media (min-width: 621px) {
  body > .hm-newsletter-flyout__panel {
    top: auto !important;
    right: 96px !important;
    bottom: 24px !important;
    left: auto !important;
    width: min(370px, calc(100vw - 100px)) !important;
    margin: 0 !important;
    transform-origin: right bottom !important;
  }
}

@media (max-width: 620px) {
  body > .hm-newsletter-flyout__panel {
    top: auto !important;
    right: 14px !important;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
    left: 14px !important;
    width: auto !important;
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    transform-origin: left bottom !important;
  }
}


/* Version 2.8: Popup-Typografie nach dem Verschieben unter <body> wiederherstellen.
 * Das Panel ist seit Version 2.6 kein Kind von .hm-newsletter-flyout mehr.
 * Deshalb muessen alle typografischen Regeln direkt am Panel ansetzen. */
body > .hm-newsletter-flyout__panel {
  font-family: inherit !important;
  padding: 23px 22px 20px !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-flyout__eyebrow {
  margin: 0 0 4px !important;
  color: #987b48 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body > .hm-newsletter-flyout__panel h2 {
  margin: 0 34px 7px 0 !important;
  color: var(--hm-navy, #172331) !important;
  font-family: inherit !important;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-flyout__text {
  margin: 0 0 15px !important;
  color: #344251 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-form--compact .hm-newsletter-form__row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-form--compact .hm-newsletter-form__row input[type="email"],
body > .hm-newsletter-flyout__panel .hm-newsletter-form--compact .hm-newsletter-form__row button {
  width: 100% !important;
  height: 40px !important;
  border-radius: 2px !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-form--compact .hm-newsletter-form__row input[type="email"] {
  border-right: 1px solid #c7cdd2 !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-form__consent {
  margin-top: 6px !important;
  color: #455360 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
}

body > .hm-newsletter-flyout__panel .hm-newsletter-form__captcha {
  margin-top: 10px !important;
}

@media (max-width: 620px) {
  body > .hm-newsletter-flyout__panel {
    padding: 20px 18px 18px !important;
  }

  body > .hm-newsletter-flyout__panel h2 {
    font-size: 24px !important;
  }
}
