/* MaklerHaus Cookie-Notice — TDDDG-konform (Reject + Accept gleichberechtigt auf 1. Ebene).
   Brand: Navy #232C5E, Grün #2BA53C, Light #f5f8fc. */
.mh-cn {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 9999;
  max-width: 460px;
  margin-left: auto;
  background: #ffffff;
  color: #1a2240;
  border: 1px solid rgba(35, 44, 94, 0.12);
  border-radius: 14px;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 80, 0.28), 0 4px 12px -4px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', system-ui, Segoe UI, Roboto, Arial, sans-serif;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .9, .3, 1);
  pointer-events: none;
}
.mh-cn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mh-cn__inner { padding: 18px 20px 16px; }
.mh-cn__title {
  font-size: 16px;
  font-weight: 700;
  color: #232C5E;
  margin: 0 0 6px;
  letter-spacing: -0.1px;
}
.mh-cn__body {
  font-size: 13.5px;
  line-height: 1.55;
  color: #46506e;
  margin: 0 0 14px;
}
.mh-cn__body a {
  color: #2BA53C;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mh-cn__body a:hover { color: #228933; }
.mh-cn__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mh-cn__btn {
  flex: 1 1 auto;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  user-select: none;
}
.mh-cn__btn--accept {
  background: #2BA53C;
  color: #ffffff;
}
.mh-cn__btn--accept:hover { background: #228933; transform: translateY(-1px); }
.mh-cn__btn--reject {
  background: #ffffff;
  color: #232C5E;
  border-color: rgba(35, 44, 94, 0.25);
}
.mh-cn__btn--reject:hover { background: #f5f8fc; border-color: rgba(35, 44, 94, 0.45); transform: translateY(-1px); }
.mh-cn__btn:focus-visible {
  outline: 2px solid #2BA53C;
  outline-offset: 2px;
}

/* Settings-Trigger im Footer */
.mh-cn-trigger {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.mh-cn-trigger:hover { color: #2BA53C; }

@media (max-width: 480px) {
  .mh-cn { inset: auto 8px 8px 8px; max-width: none; }
  .mh-cn__inner { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mh-cn { transition: opacity .15s ease; transform: none; }
  .mh-cn__btn { transition: none; }
}
