/* Nur MB-VOLT-Hauptdialog. CCM19 steuert hidden/ccm-show weiterhin selbst. */
#ccm-widget.ccm-modal {
  position: fixed; inset: 0; width: 100%; height: 100%; height: 100dvh;
  font-family: "Open Sans", sans-serif; color: #333;
}
#ccm-widget.ccm-modal .ccm-modal-inner {
  position: absolute; top: 50%; left: 50%; right: auto; bottom: auto;
  transform: translate(-50%, -50%); width: calc(100% - 24px); max-width: 720px;
  height: auto; max-height: calc(100% - 24px); max-height: calc(100dvh - 24px);
  margin: 0; align-items: stretch; overflow: auto; overscroll-behavior: contain;
  background: #fff; border: 1px solid #d5dbe3; border-top: 4px solid #ffd73c;
  border-radius: 12px; box-shadow: 0 12px 48px #001f3f40; transition: none;
}
#ccm-widget .ccm-modal--header {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; gap: 10px;
  align-items: center; padding: 20px 24px 12px; background: #fff; flex: 0 0 auto;
}
#ccm-widget .cnr-mb-volt-logo {
  display: block; grid-column: 1; grid-row: 1 / 3; width: 184px; max-width: 100%;
  height: 64px; object-fit: contain; padding: 10px; margin: 0;
  background: #001f3f; border-radius: 4px;
}
#ccm-widget .ccm-modal--header .ccm--decline-cookies {
  grid-column: 2; grid-row: 1; padding: 10px 12px; min-height: 40px;
  font-size: 13px; line-height: 1.3; border: 1px solid #001f3f; border-radius: 4px;
  background: #fff; color: #001f3f; font-weight: 600;
}
#ccm-widget .ccm-modal--header .ccm-dismiss-button {
  position: static; inset: auto; grid-column: 3; grid-row: 1; margin: 0;
  width: 24px; min-height: 32px; padding: 0; color: #001f3f; background: transparent;
}
#ccm-widget .ccm-widget--language-switch {
  position: static; inset: auto; grid-column: 2 / 4; grid-row: 2;
  justify-self: end; margin: 0;
}
#ccm-widget .ccm-modal--body {
  flex: 0 0 auto; min-height: 0; overflow: visible; padding: 12px 24px 20px;
  background: #fff; border: 0;
}
#ccm-widget .ccm-widget--text {
  flex: 0 0 auto; min-height: 0; margin: 0; overflow: visible;
}
#ccm-widget .ccm-widget--text::after { content: none; }
#ccm-widget .ccm-inner-overflow { max-height: none; overflow: visible; padding: 0; }
#ccm-widget .ccm-widget--title {
  font-family: "Quicksand", sans-serif; font-size: 24px; font-weight: 600;
  line-height: 1.3; margin: 0 0 16px; color: #001f3f;
}
#ccm-widget .ccm-widget--introduction { font-size: 14px; line-height: 1.65; }
#ccm-widget .ccm-widget--buttons {
  display: flex; flex-flow: row wrap; gap: 12px; margin: 24px 0 0;
  align-items: stretch; justify-content: stretch;
}
#ccm-widget .ccm-widget--buttons > .button {
  display: inline-flex; flex: 1 1 180px; width: auto; margin: 0; padding: 14px 18px;
  min-height: 48px; font: 600 14px/1.35 "Open Sans", sans-serif;
  text-decoration: none; border: 1px solid #001f3f; border-radius: 4px;
  background: #fff; color: #001f3f;
}
#ccm-widget .ccm-widget--buttons > .ccm--button-primary {
  background: #001f3f; color: #fff; border-color: #001f3f;
}
#ccm-widget .ccm-modal--footer {
  flex: 0 0 auto; flex-wrap: wrap; gap: 12px; padding: 14px 24px 18px;
  background: #fff; border-top: 1px solid #e0e5eb; font-size: 11px;
}
#ccm-widget .ccm-modal--footer a { color: #001f3f; }
#ccm-widget button:focus-visible, #ccm-widget a:focus-visible, #ccm-widget select:focus-visible {
  outline: 3px solid #001f3f; outline-offset: 3px;
}
@media (max-width: 480px) {
  #ccm-widget .ccm-modal--header { padding: 14px; gap: 8px; }
  #ccm-widget .cnr-mb-volt-logo { width: 108px; height: 48px; padding: 6px; }
  #ccm-widget .ccm-modal--header .ccm--decline-cookies { padding: 8px; font-size: 12px; }
  #ccm-widget .ccm-modal--body { padding: 10px 14px 18px; }
  #ccm-widget .ccm-widget--title { font-size: 21px; }
  #ccm-widget .ccm-widget--buttons { margin-top: 20px; gap: 10px; }
  #ccm-widget .ccm-widget--buttons > .button { flex-basis: 100%; }
  #ccm-widget .ccm-modal--footer { padding: 12px 14px 16px; justify-content: center; }
}
